chore(rln-relay): update args to contract (#1724)

* chore(rln-relay): update args to contract

* fix(rln-relay): update membership contract code

* fix: bytecode
This commit is contained in:
Aaryamann Challani 2023-05-11 19:30:26 +05:30 committed by GitHub
parent b9e0763e6b
commit b277ce1013
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -28,8 +28,8 @@ logScope:
# membership contract interface
contract(RlnContract):
proc register(pubkey: Uint256) {.payable.} # external payable
proc MemberRegistered(pubkey: Uint256, index: Uint256) {.event.}
proc register(idCommitment: Uint256) {.payable.} # external payable
proc MemberRegistered(idCommitment: Uint256, index: Uint256) {.event.}
proc MEMBERSHIP_DEPOSIT(): Uint256
# TODO the following are to be supported
# proc registerBatch(pubkeys: seq[Uint256]) # external payable