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

Validate parameters on RPC requests #10

Open
andreabadesso opened this issue Aug 2, 2024 · 0 comments
Open

Validate parameters on RPC requests #10

andreabadesso opened this issue Aug 2, 2024 · 0 comments

Comments

@andreabadesso
Copy link
Collaborator

Currently, we are expecting that the dApp is sending the parameters correctly for each RPC call.

If they're sent incorrectly, the lib will throw a generic error

We should validate the parameters properly, returning a known error, defined in the RPC protocol

@andreabadesso andreabadesso changed the title We should validate parameters on RPC requests Validate parameters on RPC requests Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant