We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b93b9ca commit 38ff32dCopy full SHA for 38ff32d
tests/json-fixtures/test_state.py
@@ -355,6 +355,11 @@ def test_state_fixtures(fixture, fixture_vm_class):
355
state.account_db.touch_account(vm.block.header.coinbase)
356
state.account_db.persist()
357
vm.block = vm.block.copy(header=vm.block.header.copy(state_root=state.state_root))
358
+ elif state.account_db.account_is_empty(vm.block.header.coinbase):
359
+ state.account_db.delete_account(vm.block.header.coinbase)
360
+ state.account_db.persist()
361
+ vm.block = vm.block.copy(header=vm.block.header.copy(state_root=state.state_root))
362
+
363
block = vm.block
364
365
if not transaction_error:
0 commit comments