-
Notifications
You must be signed in to change notification settings - Fork 549
Open
Description
Is your feature request related to a problem? Please describe.
On state not found error, when the error looks like this:
Error response handling JsonRpc Id:439 Method:eth_call | Code: -32002 Message: No state available for block 0xe7b1e5b5b5c730816ef2b9627a85c227f6924f27504f1b36cc7328bff79ecc6e
Unfortunately it does not say which block number is this, making debugging harder.
Describe the solution you'd like
Also print out the block number. There is a helper ToString
method, ToString(Short)
something like that for BlockHeader
.
Check all occurrence of HasStateForBlock
, that is where it usually make the error message. Bonus point for making a util for this.
Additional context
Taiko alethia issue.
Copilot
Metadata
Metadata
Assignees
Labels
No labels