-
Notifications
You must be signed in to change notification settings - Fork 39
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
feat(compliance): add spec compliance for EREP-10 and STO-040/041 #516
Conversation
Codecov ReportAttention:
Additional details and impacted files
... and 9 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more.
|
75581be
to
b47f3e5
Compare
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.
There is a lot of complexity and a large amount of edge cases here. Would be worth writing tests on the uo_pool object with different combinations of deposits, reorgs of both UOs and deposits, dropped UOs etc.
In general I'm concerned that a bug here could lead us to unfairly block a paymaster and require a restart of Rundler to unstick. We probably need more visibility into these balances as well as some sort of kill switch. Metrics aren't ideal since this is high dimensional. Maybe we consider adding an admin API.
Yes, there is a lot of random complexity that is hard to make sure everything is captured. I agree we should have an admin endpoint to reset the balance/ call from the onchain state |
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.
Lets go! Thanks for working through this, so many edge cases to discover and work out.
🚀
Closes #452 #448 #480
Proposed Changes