-
Notifications
You must be signed in to change notification settings - Fork 0
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: add pausable functionality to Core and Prover #84
Conversation
02ff795
to
13367cc
Compare
13367cc
to
31a4b49
Compare
bytes32[] calldata merkleProof | ||
) external view override returns (bool, address) { | ||
// Only return true if we have a stored batch at this height | ||
BatchData memory batch = _batches[batchHeight]; |
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.
Is batchHeight
the height the batch was posted or the batchNumber
? Paranoid thought we can't ever have multiple batches per a height right?
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.
Or did I forget and those are the same thing :x
Motivation
Add support for pausing the SedaCoreV1 and Secp256k1Prover contracts.
Explanation of Changes
PausableUpgradeable
contractwhenNotPaused
modifiersTesting