-
Notifications
You must be signed in to change notification settings - Fork 7
Validate ABI function name and signatures #177
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
…t exception and make it easier to diagnose a common issue where users were providing an ABI in the wrong format
|
nice work.. I think even better.. just port the code https://github.com/0xsequence/ethkit/blob/master/ethcoder/events_parser.go#L38 to C# .. as you will see, its just string manipulation. I propose name the function, then, you can handle any input and it will just work, it wont error for users :) its 350 LOC |
andygruening
left a comment
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.
Looks good to me, works fine for the "redeem" function ABI.
so that we throw an argument exception and make it easier to diagnose a common issue where users were providing an ABI in the wrong format