Skip to content
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

[faucet] can have duplicate entries in whitelist #330

Open
brenzi opened this issue Jun 21, 2023 · 0 comments
Open

[faucet] can have duplicate entries in whitelist #330

brenzi opened this issue Jun 21, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@brenzi
Copy link
Member

brenzi commented Jun 21, 2023

not sure if this is a problem, but we can add a cid multiple times:

./target/release/encointer-client-notee create-faucet //Alice Testfaucet2 100000000000000 1000000000000 sqm1v79dF6b sqm1v79dF6b

yielding

encointerFaucet.faucets: Option<EncointerPrimitivesFaucet>
[
  [
    [
      5Fy41AupevjQeURN1vVYyqJCjqXLvqPHCUhoRerqEEfVQQLt
    ]
    {
      name: Testfaucet2
      purposeId: 3
      whitelist: [
        {
          geohash: sqm1v
          digest: 0xf08c911c
        }
        {
          geohash: sqm1v
          digest: 0xf08c911c
        }
      ]
      dripAmount: 1,000,000,000,000
      creator: 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY
    }
  ]
]

@brenzi brenzi added the bug Something isn't working label Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant