Skip to content

bug: [RLN] member not found in contract after successful registration #2764

Open

Description

Problem

After registering a IdentityCredential, asking the contract whether that member is registered returns "no".

To reproduce

It's easier to understand by having a look at the test case tests/node/test_wakunode_relay_rln:664, named "Key Management and Integrity".
In the lines 690 and 691, two IdentityCredentials are successfully registered. Later, on lines 719 to 722, there are two sets of different calls to memberExists. The difference lies in the way the contract objets are retrieved, but they should be equivalent. All those 4 calls return a 0, meaning no member was found.

Expected behavior

The calls to memberExists should return the idCommiment.

nwaku version/commit hash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingeffort/hoursEstimated to be completed in a few hours

    Type

    No type

    Projects

    • Status

      To Do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions