diff options
author | gary rong <garyrong0905@gmail.com> | 2017-04-05 06:44:16 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-04-05 06:44:16 +0800 |
commit | 49437a02c981199c62048fae00c6b80976f6e6b9 (patch) | |
tree | 5c3244fe0cd41774a2ed9bc776e348192abe1492 /core/state/statedb_test.go | |
parent | b319f027a0be232a9cb307336b0349b36737c7f1 (diff) | |
download | go-tangerine-49437a02c981199c62048fae00c6b80976f6e6b9.tar.gz go-tangerine-49437a02c981199c62048fae00c6b80976f6e6b9.tar.zst go-tangerine-49437a02c981199c62048fae00c6b80976f6e6b9.zip |
core/state: make TestSnapshotRandom work again (#3816)
In `touch` operation, only `touched` filed has been changed. Therefore
in the related undo function, only `touched` field should be reverted.
In addition, whether remove this obj from dirty map should depend on
prevDirty flag.
Diffstat (limited to 'core/state/statedb_test.go')
-rw-r--r-- | core/state/statedb_test.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/state/statedb_test.go b/core/state/statedb_test.go index 597de3be5..72b638f97 100644 --- a/core/state/statedb_test.go +++ b/core/state/statedb_test.go @@ -116,7 +116,6 @@ func TestIntermediateLeaks(t *testing.T) { } func TestSnapshotRandom(t *testing.T) { - t.Skip("@fjl fix me please") config := &quick.Config{MaxCount: 1000} err := quick.Check((*snapshotTest).run, config) if cerr, ok := err.(*quick.CheckError); ok { |