-
Notifications
You must be signed in to change notification settings - Fork 386
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
Improve AuthorizerAdaptorEntrypoint docs #2003
Conversation
pkg/liquidity-mining/contracts/admin/AuthorizerAdaptorEntrypoint.sol
Outdated
Show resolved
Hide resolved
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.
Technically the new error message could be separate, but it is related. We have other tests for invalid data that check for "Transaction reverted without a reason"; could call it INVALID_DATA and use it for those cases too. Or say INVALID_CALLDATA / MALFORMED_CALLDATA to differentiate between explicit calldata and general encoded data.
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! Just a few minor comments / questions.
pkg/liquidity-mining/contracts/admin/AuthorizerAdaptorEntrypoint.sol
Outdated
Show resolved
Hide resolved
Co-authored-by: EndymionJkb <[email protected]>
* Add AuthorizerAdaptor docs and warnings * Small test adjustment * Adjust authorizer comments * Clarify action ids matching * Minor adaptor comment update * Adjust entrypoint comments * Apply suggestions from code review Co-authored-by: EndymionJkb <[email protected]> Co-authored-by: EndymionJkb <[email protected]>
Description
This goes into much more detail as to what the issue is and how the fix works in all components involved, so that a reader that stumbles on any of them will get sufficient context to understand the full picture.
Type of change
Checklist:
master
, or there's a description of how to merge