Skip to content

Commit 45b88ab

Browse files
authored
all: fix typos (ethereum#29288)
1 parent 6f929a0 commit 45b88ab

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Diff for: Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ COPY --from=builder /go-ethereum/build/bin/geth /usr/local/bin/
2525
EXPOSE 8545 8546 30303 30303/udp
2626
ENTRYPOINT ["geth"]
2727

28-
# Add some metadata labels to help programatic image consumption
28+
# Add some metadata labels to help programmatic image consumption
2929
ARG COMMIT=""
3030
ARG VERSION=""
3131
ARG BUILDNUM=""

Diff for: Dockerfile.alltools

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ COPY --from=builder /go-ethereum/build/bin/* /usr/local/bin/
2424

2525
EXPOSE 8545 8546 30303 30303/udp
2626

27-
# Add some metadata labels to help programatic image consumption
27+
# Add some metadata labels to help programmatic image consumption
2828
ARG COMMIT=""
2929
ARG VERSION=""
3030
ARG BUILDNUM=""

Diff for: core/rawdb/freezer_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ func TestFreezerReadonlyValidate(t *testing.T) {
276276
}
277277
require.NoError(t, f.Close())
278278

279-
// Re-openening as readonly should fail when validating
279+
// Re-opening as readonly should fail when validating
280280
// table lengths.
281281
_, err = NewFreezer(dir, "", true, 2049, tables)
282282
if err == nil {

Diff for: core/txpool/validation.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import (
3333

3434
var (
3535
// blobTxMinBlobGasPrice is the big.Int version of the configured protocol
36-
// parameter to avoid constucting a new big integer for every transaction.
36+
// parameter to avoid constructing a new big integer for every transaction.
3737
blobTxMinBlobGasPrice = big.NewInt(params.BlobTxMinBlobGasprice)
3838
)
3939

Diff for: signer/fourbyte/abi.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func parseCallData(calldata []byte, unescapedAbidata string) (*decodedCallData,
9898
if len(argdata)%32 != 0 {
9999
return nil, fmt.Errorf("invalid call data; length should be a multiple of 32 bytes (was %d)", len(argdata))
100100
}
101-
// Validate the called method and upack the call data accordingly
101+
// Validate the called method and unpack the call data accordingly
102102
abispec, err := abi.JSON(strings.NewReader(unescapedAbidata))
103103
if err != nil {
104104
return nil, fmt.Errorf("invalid method signature (%q): %v", unescapedAbidata, err)

0 commit comments

Comments
 (0)