diff --git a/core/state/adapter.go b/core/state/adapter.go index 9b299eb6b..f4f97cf66 100644 --- a/core/state/adapter.go +++ b/core/state/adapter.go @@ -81,6 +81,7 @@ type StateDbInterface interface { SetPrehashedCode(addr common.Address, hash common.Hash, code []byte) GetSubstatePostAlloc() substate.SubstateAlloc + BeginBlock(number uint64) EndBlock(number uint64) } diff --git a/core/state/statedb.go b/core/state/statedb.go index 61b651275..87b54db60 100644 --- a/core/state/statedb.go +++ b/core/state/statedb.go @@ -1129,6 +1129,10 @@ func (s *LegacyStateDB) GetSubstatePostAlloc() substate.SubstateAlloc { return s.SubstatePostAlloc } +func (s *LegacyStateDB) BeginBlock(number uint64) { + // not used by LegacyStateDB +} + func (s *LegacyStateDB) EndBlock(number uint64) { // not used by LegacyStateDB }