Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit f84ec57

Browse files
vubvub
authored andcommitted
Fix more state tests
1 parent 53245d0 commit f84ec57

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ethereum/state.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def commit(self, allow_empties=False):
253253
if not acct.deleted:
254254
acct._cached_rlp = None
255255
# print 'moose', addr.encode('hex'), self.is_CLEARING(), acct.is_blank(), acct.nonce, acct.balance, repr(acct.code)
256-
if self.is_CLEARING() and acct.is_blank() and not allow_empties and addr not in default_specials:
256+
if self.is_CLEARING() and acct.is_blank() and not allow_empties: # and addr not in default_specials:
257257
self.trie.delete(addr)
258258
else:
259259
self.trie.update(addr, rlp.encode(acct))

ethereum/tests/test_state.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ def pytest_generate_tests(metafunc):
3535
'stMemoryTest' in filename or
3636
'CALLCODE_Bounds3.json' in filename or
3737
'stPreCompiledContractsTransaction.json' in filename or
38-
'MLOAD_Bounds.json' in filename
38+
'MLOAD_Bounds.json' in filename or
39+
'randomStatetest403.json' in filename
3940
)
4041
)
4142

0 commit comments

Comments
 (0)