mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-16 01:45:40 +00:00
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
|
# membership contract interface
|
||||||
contract(RlnContract):
|
contract(RlnContract):
|
||||||
proc register(pubkey: Uint256) {.payable.} # external payable
|
proc register(idCommitment: Uint256) {.payable.} # external payable
|
||||||
proc MemberRegistered(pubkey: Uint256, index: Uint256) {.event.}
|
proc MemberRegistered(idCommitment: Uint256, index: Uint256) {.event.}
|
||||||
proc MEMBERSHIP_DEPOSIT(): Uint256
|
proc MEMBERSHIP_DEPOSIT(): Uint256
|
||||||
# TODO the following are to be supported
|
# TODO the following are to be supported
|
||||||
# proc registerBatch(pubkeys: seq[Uint256]) # external payable
|
# proc registerBatch(pubkeys: seq[Uint256]) # external payable
|
||||||
|
Loading…
x
Reference in New Issue
Block a user