Skip to content

Commit 16f2f71

Browse files
authored
all: typos in comments (#30779)
fixes some typos
1 parent 2cd25fd commit 16f2f71

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

build/ci.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ func buildFlags(env build.Environment, staticLinking bool, buildTags []string) (
256256
// See https://sourceware.org/binutils/docs-2.23.1/ld/Options.html#Options
257257
// regarding the options --build-id=none and --strip-all. It is needed for
258258
// reproducible builds; removing references to temporary files in C-land, and
259-
// making build-id reproducably absent.
259+
// making build-id reproducibly absent.
260260
extld := []string{"-Wl,-z,stack-size=0x800000,--build-id=none,--strip-all"}
261261
if staticLinking {
262262
extld = append(extld, "-static")

core/verkle_witness_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,7 @@ func TestProcessVerkleSelfDestructInSameTxWithSelfBeneficiaryAndPrefundedAccount
10331033
)
10341034
// Prefund the account, at an address that the contract will be deployed at,
10351035
// before it selfdestrucs. We can therefore check that the account itseld is
1036-
// NOT destroyed, which is what the currrent version of the spec requires.
1036+
// NOT destroyed, which is what the current version of the spec requires.
10371037
// TODO(gballet) revisit after the spec has been modified.
10381038
gspec.Alloc[contract] = types.Account{
10391039
Balance: big.NewInt(100),

core/vm/eof.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ func (meta *functionMetadata) checkInputs(stackMin int) error {
9696
}
9797

9898
// checkStackMax checks the if current maximum stack combined with the
99-
// functin max stack will result in a stack overflow, and if so returns an error.
99+
// function max stack will result in a stack overflow, and if so returns an error.
100100
func (meta *functionMetadata) checkStackMax(stackMax int) error {
101101
newMaxStack := stackMax + int(meta.maxStackHeight) - int(meta.inputs)
102102
if newMaxStack > int(params.StackLimit) {

trie/utils/verkle.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ func StorageIndex(storageKey []byte) (*uint256.Int, byte) {
217217
// The first MAIN_STORAGE_OFFSET group will see its
218218
// first 64 slots unreachable. This is either a typo in the
219219
// spec or intended to conserve the 256-u256
220-
// aligment. If we decide to ever access these 64
220+
// alignment. If we decide to ever access these 64
221221
// slots, uncomment this.
222222
// // Get the new offset since we now know that we are above 64.
223223
// pos.Sub(&pos, codeStorageDelta)

0 commit comments

Comments
 (0)