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

Add necessary parameters to errors in smart contracts #338

Closed
thedevbirb opened this issue Oct 29, 2024 · 1 comment
Closed

Add necessary parameters to errors in smart contracts #338

thedevbirb opened this issue Oct 29, 2024 · 1 comment
Labels
C: smart-contracts Component: smart contracts
Milestone

Comments

@thedevbirb
Copy link
Contributor

Currently some errors in BoltValidatorsV1 like ValidatorDoesNotExist or ValidatorAlreadyExists do not take any argument which makes hard to debug which validator public key is actually not correct, especially in batch calls like getProposerStatuses

Ideally all similar errors should be parametric.

@thedevbirb
Copy link
Contributor Author

Closed by #336

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: smart-contracts Component: smart contracts
Projects
None yet
Development

No branches or pull requests

1 participant