accounts/abi/bind/backends: removed the second config check from TestNewSimulatedBackend (ref - https://github.com/ethereum/go-ethereum/pull/31097)

This commit is contained in:
Pratik Patil 2025-05-13 15:12:47 +05:30
parent 113dd09e13
commit 8bd8b33fcb
No known key found for this signature in database
GPG key ID: AFDCA496554874B3

View file

@ -147,10 +147,6 @@ func TestNewSimulatedBackend(t *testing.T) {
t.Errorf("expected sim config to equal params.AllEthashProtocolChanges, got %v", sim.config) t.Errorf("expected sim config to equal params.AllEthashProtocolChanges, got %v", sim.config)
} }
if sim.blockchain.Config() != params.AllEthashProtocolChanges {
t.Errorf("expected sim blockchain config to equal params.AllEthashProtocolChanges, got %v", sim.config)
}
stateDB, _ := sim.blockchain.State() stateDB, _ := sim.blockchain.State()
bal := stateDB.GetBalance(testAddr) bal := stateDB.GetBalance(testAddr)