consensus/ethash/consensus_etc_test.go — Version Comparison
|
v1.16.8 |
v1.17.3 |
| Branch |
etc/v1.16.8-full-node |
etc/v1.17.3-full-node |
| Delta |
+399 -0 |
+398 -0 |
Diff between branches
diff --git a/consensus/ethash/consensus_etc_test.go b/consensus/ethash/consensus_etc_test.go
index f05a01fc2..3e774894d 100644
--- a/consensus/ethash/consensus_etc_test.go
+++ b/consensus/ethash/consensus_etc_test.go
@@ -25,8 +25,8 @@ import (
"github.com/ethereum/go-ethereum/core/stateless"
"github.com/ethereum/go-ethereum/core/tracing"
"github.com/ethereum/go-ethereum/core/types"
+ "github.com/ethereum/go-ethereum/core/types/bal"
"github.com/ethereum/go-ethereum/params"
- "github.com/ethereum/go-ethereum/trie/utils"
"github.com/holiman/uint256"
)
@@ -238,25 +238,24 @@ func (m *mockStateDB) GetTransientState(common.Address, common.Hash) common.Hash
return common.Hash{}
}
func (m *mockStateDB) SetTransientState(common.Address, common.Hash, common.Hash) {}
-func (m *mockStateDB) SelfDestruct(common.Address) uint256.Int { return uint256.Int{} }
+func (m *mockStateDB) SelfDestruct(common.Address) {}
func (m *mockStateDB) HasSelfDestructed(common.Address) bool { return false }
-func (m *mockStateDB) SelfDestruct6780(common.Address) (uint256.Int, bool) {
- return uint256.Int{}, false
-}
-func (m *mockStateDB) Exist(common.Address) bool { return false }
-func (m *mockStateDB) Empty(common.Address) bool { return true }
-func (m *mockStateDB) AddressInAccessList(common.Address) bool { return false }
-func (m *mockStateDB) SlotInAccessList(common.Address, common.Hash) (bool, bool) { return false, false }
-func (m *mockStateDB) AddAddressToAccessList(common.Address) {}
-func (m *mockStateDB) AddSlotToAccessList(common.Address, common.Hash) {}
-func (m *mockStateDB) RevertToSnapshot(int) {}
-func (m *mockStateDB) Snapshot() int { return 0 }
-func (m *mockStateDB) AddLog(*types.Log) {}
-func (m *mockStateDB) AddPreimage(common.Hash, []byte) {}
-func (m *mockStateDB) PointCache() *utils.PointCache { return nil }
-func (m *mockStateDB) Witness() *stateless.Witness { return nil }
-func (m *mockStateDB) AccessEvents() *state.AccessEvents { return nil }
-func (m *mockStateDB) Finalise(bool) {}
+func (m *mockStateDB) Exist(common.Address) bool { return false }
+func (m *mockStateDB) Touch(common.Address) {}
+func (m *mockStateDB) IsNewContract(common.Address) bool { return false }
+func (m *mockStateDB) Empty(common.Address) bool { return true }
+func (m *mockStateDB) AddressInAccessList(common.Address) bool { return false }
+func (m *mockStateDB) SlotInAccessList(common.Address, common.Hash) (bool, bool) { return false, false }
+func (m *mockStateDB) AddAddressToAccessList(common.Address) {}
+func (m *mockStateDB) AddSlotToAccessList(common.Address, common.Hash) {}
+func (m *mockStateDB) RevertToSnapshot(int) {}
+func (m *mockStateDB) Snapshot() int { return 0 }
+func (m *mockStateDB) AddLog(*types.Log) {}
+func (m *mockStateDB) AddPreimage(common.Hash, []byte) {}
+func (m *mockStateDB) Witness() *stateless.Witness { return nil }
+func (m *mockStateDB) AccessEvents() *state.AccessEvents { return nil }
+func (m *mockStateDB) Finalise(bool) *bal.StateAccessList { return nil }
+func (m *mockStateDB) LogsForBurnAccounts() []*types.Log { return nil }
func (m *mockStateDB) Prepare(rules params.Rules, sender, coinbase common.Address, dest *common.Address, precompiles []common.Address, txAccesses types.AccessList) {
}
← Back to Version Comparison