-
Notifications
You must be signed in to change notification settings - Fork 310
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!: staking library #11559
feat!: staking library #11559
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
f3e264f
to
f4e5f8d
Compare
|
||
bytes32 private constant STAKING_SLOT = keccak256("aztec.core.staking.storage"); | ||
|
||
function initialize( |
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.
A little strange this is ordered differently to the initialize args order
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 but now needs rebase
Fixes #11519. Minor oddities can be encountered, if the events are in the library, they won't be part of the rollup contract since the library is external. Therefore events and structs are kept in the interface for simple access.