-
Notifications
You must be signed in to change notification settings - Fork 35
Chore(entropy) add error page #524
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, added some more descriptions. Some of these errors are irrelevant to the users, but I'm fine keeping them here since it's just a reference.
pages/entropy/error-codes.mdx
Outdated
| 0xb8be1a8d | IncorrectRevelation() | Revelation does not match commitment. | | ||
| 0xb463ce7a | InvalidUpgradeMagic() | Governance message is invalid. | | ||
| 0x82b42900 | Unauthorized() | `msg.sender` is not allowed to invoke this method. | | ||
| 0x92555c0e | BlockhashUnavailable() | Blockhash is 0. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If entropy request was made using the useBlockhash
flag and the reveal method is called too late, the blockhash is not available anymore and the request can not be fulfilled.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's too verbose. That should be added in a troublshooting page.
No description provided.