You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 4, 2024. It is now read-only.
Most of the functions from statedb.go perform a no-operation (no-op) when an error is encountered. The problem is, that these functions don't have any context of whether previous calls failed or not. For example, both GetCodeHash and GetNonce require the account to exist before returning the value.
Solution:
Introduce a stateErr error field on the Keeper and return early on every StateDB method if there is a previous error registered.