Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ABC: AccountDatabaseAPI's state_root made writable.
AccountDB (from eth/db/account.py) has a setter for the `state_root` property, and `BaseState` (from eth/vm/state.py) forcibly sets the state root in its revert() function. This helps silence `mypy` error: eth/vm/state.py:170: error: Property "state_root" defined in "AccountDatabaseAPI" is read-only
- Loading branch information