mirror of https://github.com/waku-org/nwaku.git
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:
parent
b9e0763e6b
commit
b277ce1013
File diff suppressed because one or more lines are too long
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue