-
Notifications
You must be signed in to change notification settings - Fork 3
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
fix:remediations chainlight 001, 002, 004 #20
Conversation
@@ -47,7 +47,8 @@ contract BiconomySponsorshipPaymaster is | |||
// Offset in PaymasterAndData to get to PAYMASTER_ID_OFFSET | |||
uint256 private constant PAYMASTER_ID_OFFSET = PAYMASTER_DATA_OFFSET; |
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.
Just out of curiosity, any specific reason to do that?
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.
just for readability
PAYMASTER_DATA_OFFSET is always fixed.
PAYMASTER_ID_OFFSET depends on design how our paymasterandData is structured.
Co-authored-by: filmakarov <[email protected]>
can we also check CI build issue in this PR itself. |
The build issue for me was resolved with downgrading yarn to 1.2.xx
why do we must use via-IR? |
1 similar comment
The build issue for me was resolved with downgrading yarn to 1.2.xx
why do we must use via-IR? |
check getHash. stack too deep. |
getHash can be fixed.
this can be packed in one bytes however, there are further stack too deep errors in the token paymaster So, the best way to handle is would be this
|
will use --ir-minimum then. |
I will fix this in another PR to revamp test cases. |
closing in favour of #24 |
No description provided.