core, core/state: batch-based state sync
This commit is contained in:
@ -89,8 +89,7 @@ func TestNull(t *testing.T) {
|
||||
//value := common.FromHex("0x823140710bf13990e4500136726d8b55")
|
||||
var value common.Hash
|
||||
state.SetState(address, common.Hash{}, value)
|
||||
state.SyncIntermediate()
|
||||
state.Sync()
|
||||
state.Commit()
|
||||
value = state.GetState(address, common.Hash{})
|
||||
if !common.EmptyHash(value) {
|
||||
t.Errorf("expected empty hash. got %x", value)
|
||||
|
Reference in New Issue
Block a user