Skip to content

Commit

Permalink
core, beacon, ethdb: fix typos (#29748)
Browse files Browse the repository at this point in the history
* core, beacon, ethdb: fix typos

* revert file that can't be changed
  • Loading branch information
hteevoli committed May 10, 2024
1 parent 603fd89 commit 47af69c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion beacon/light/sync/head_sync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func TestValidatedHead(t *testing.T) {
ts.ServerEvent(EvNewOptimisticUpdate, testServer3, testOptUpdate4)
// finality should be requested from both servers
ts.Run(4, testServer1, ReqFinality{}, testServer3, ReqFinality{})
// future period annonced heads should be queued
// future period announced heads should be queued
ht.ExpValidated(t, 4, nil)

chain.SetNextSyncPeriod(2)
Expand Down
2 changes: 1 addition & 1 deletion core/state/state_object.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func (s *stateObject) GetState(key common.Hash) common.Hash {
}

// getState retrieves a value associated with the given storage key, along with
// it's original value.
// its original value.
func (s *stateObject) getState(key common.Hash) (common.Hash, common.Hash) {
origin := s.GetCommittedState(key)
value, dirty := s.dirtyStorage[key]
Expand Down
2 changes: 1 addition & 1 deletion core/vm/instructions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ func BenchmarkOpKeccak256(bench *testing.B) {
}
}

func TestCreate2Addreses(t *testing.T) {
func TestCreate2Addresses(t *testing.T) {
type testcase struct {
origin string
salt string
Expand Down
2 changes: 1 addition & 1 deletion ethdb/dbtest/testsuite.go
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ func TestDatabaseSuite(t *testing.T, New func() ethdb.KeyValueStore) {
}
})

t.Run("OperatonsAfterClose", func(t *testing.T) {
t.Run("OperationsAfterClose", func(t *testing.T) {
db := New()
db.Put([]byte("key"), []byte("value"))
db.Close()
Expand Down

0 comments on commit 47af69c

Please sign in to comment.