-
Notifications
You must be signed in to change notification settings - Fork 25
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: update ValidationDataView with ValidationFlags #207
feat: update ValidationDataView with ValidationFlags #207
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Summary by OctaneNew ContractsNo new contracts were added in this PR. Updated Contracts
🔗 Commit Hash: cf43884 |
9e224f1
to
e3b058b
Compare
e3b058b
to
cf43884
Compare
// | ||
// Validation flags layout: | ||
|
||
type ValidationFlags is uint8; |
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.
Moved this type from ValidationConfigLib
into IModularAccount
. I think it's slightly more consistent for all our UDVTs (like HookConfig
) to be in the interfaces and not the libraries.
This comment was marked as resolved.
This comment was marked as resolved.
This makes sense; it simplifies things, given that we already encoded those flags. No strong opinions either way. This does move some decoding efforts to the client side right? |
@nikita-quantstamp Correct. It does make the interface a bit more forward compatible and accommodating to additional flags in the future (or custom flags if an account wants to keep track of additional attributes). Also, |
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.
LGTM, I like the forward compatability approach for future flags
fixes erc6900/resources#53