Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error message for large block timestamps #435

Open
fvictorio opened this issue May 6, 2024 · 0 comments · May be fixed by #494
Open

Improve error message for large block timestamps #435

fvictorio opened this issue May 6, 2024 · 0 comments · May be fixed by #494
Assignees

Comments

@fvictorio
Copy link
Member

fvictorio commented May 6, 2024

See #399

Instead of

data did not match any variant of untagged enum U64OrUsize at line 1 column 110

We should show a better error, something like Timestamp used for {method} is too large. Received {value}; the maximum value is {max_value}. (actual message tbd).

The affected methods are:

  • evm_setNextBlockTimestamp
  • evm_mine
  • evm_increaseTime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

2 participants