Skip to content

Commit 49a3533

Browse files
hteevolijorgemmsilva
authored andcommitted
core, beacon, ethdb: fix typos (ethereum#29748)
* core, beacon, ethdb: fix typos * revert file that can't be changed
1 parent c404532 commit 49a3533

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

beacon/light/sync/head_sync_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func TestValidatedHead(t *testing.T) {
9191
ts.ServerEvent(EvNewOptimisticUpdate, testServer3, testOptUpdate4)
9292
// finality should be requested from both servers
9393
ts.Run(4, testServer1, ReqFinality{}, testServer3, ReqFinality{})
94-
// future period annonced heads should be queued
94+
// future period announced heads should be queued
9595
ht.ExpValidated(t, 4, nil)
9696

9797
chain.SetNextSyncPeriod(2)

core/state/state_object.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ func (s *stateObject) GetState(key common.Hash) common.Hash {
146146
}
147147

148148
// getState retrieves a value associated with the given storage key, along with
149-
// it's original value.
149+
// its original value.
150150
func (s *stateObject) getState(key common.Hash) (common.Hash, common.Hash) {
151151
origin := s.GetCommittedState(key)
152152
value, dirty := s.dirtyStorage[key]

core/vm/instructions_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ func BenchmarkOpKeccak256(bench *testing.B) {
643643
}
644644
}
645645

646-
func TestCreate2Addreses(t *testing.T) {
646+
func TestCreate2Addresses(t *testing.T) {
647647
type testcase struct {
648648
origin string
649649
salt string

ethdb/dbtest/testsuite.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ func TestDatabaseSuite(t *testing.T, New func() ethdb.KeyValueStore) {
381381
}
382382
})
383383

384-
t.Run("OperatonsAfterClose", func(t *testing.T) {
384+
t.Run("OperationsAfterClose", func(t *testing.T) {
385385
db := New()
386386
db.Put([]byte("key"), []byte("value"))
387387
db.Close()

0 commit comments

Comments
 (0)