-
Notifications
You must be signed in to change notification settings - Fork 10
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
Function signature doesn't get verified #263
Comments
Some validation is done by https://github.com/api3dao/api3-dao-dashboard/blob/main/src/logic/proposals/encoding/encoding.ts#L80 and it does catch some bugs (e.g. unfortunately it doesn't validate spaces properly... |
How does that work? When I run |
You're right - that catches only basic validation errors like |
You're right, and that's essentially the workaround they propose in the ethers.js issue. I'm still keeping this issue open in case a function signature verification function gets implemented in ethers v6 that can catch things like |
We now do a decent bit of validation |
The dashboard doesn't verify function signatures and allows proposals with invalid function signatures to be created (https://api3.eth.link/#/history/secondary-13)
There is no utility function for verifying signatures in ethers v5, but there is a workaround, see ethers-io/ethers.js#1101 (Edit: we already implement the workaround)
The text was updated successfully, but these errors were encountered: