-
Notifications
You must be signed in to change notification settings - Fork 57
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
chore(rlnv2): contract interface changes #2770
Conversation
37073d8
to
c67a659
Compare
You can find the image built from this PR at
Built from 4b22da1 |
You can find the image built from this PR at
Built from 4b22da1 |
a9f0a9b
to
6298267
Compare
cc: reviewers, please note the base branch is #2759 |
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 although I don't understand it 100%
@rymnc - will that contract change require a membership migration from the old contract to the new one?
let leaf = rateCommitment.toLeaf().get() | ||
await g.registerBatch(@[leaf]) | ||
except CatchableError: | ||
raise newException(ValueError, getCurrentExceptionMsg()) |
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.
raise newException(ValueError, getCurrentExceptionMsg()) | |
raise newException(ValueError, "exception reraised in atomicBatch: " & getCurrentExceptionMsg()) |
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.
as @alrevuelta mentioned in thread, we will ask operators to re-register memberships to the new contract
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, thanks so much! Added a couple questions :))
Thanks for this @rymnc! |
153e0e0
to
cec881b
Compare
* chore(rlnv2): contract interface changes * fix: tests * fix: remove stuint[32]
Description
This PR implements the contract interface changes as shown in https://github.com/waku-org/waku-rlnv2-contract
All tests have been altered for the same
Changes