You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Was running through the example in this repo's README and his this error:
file:///home/johnny/Code/entropy/testing-sdk/node_modules/@entropyxyz/sdk/dist/index.js:440
const [sig, proof] = sigsAndProofs[Math.floor(Math.random() * sigsAndProofs.length)];
^
TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
at #verifyAndPick (file:///home/johnny/Code/entropy/testing-sdk/node_modules/@entropyxyz/sdk/dist/index.js:440:26)
at SignatureRequestManager.sign (file:///home/johnny/Code/entropy/testing-sdk/node_modules/@entropyxyz/sdk/dist/index.js:330:48)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async SignatureRequestManager.signWithAdaptersInOrder (file:///home/johnny/Code/entropy/testing-sdk/node_modules/@entropyxyz/sdk/dist/index.js:292:23)
at async Entropy.signWithAdaptersInOrder (file:///home/johnny/Code/entropy/testing-sdk/node_modules/@entropyxyz/sdk/dist/index.js:844:12)
at async basicExample (file:///home/johnny/Code/entropy/testing-sdk/basic_example.mjs:24:27)
Node.js v20.18.1
The text was updated successfully, but these errors were encountered:
johnnymatthews
changed the title
undefined sigsAndProofs error in the README example.
Hitting an undefined is not iterable with sigsAndProofs error in the README example.
Jan 21, 2025
Did a bit more digging. I'm pretty sure this error is popping up because the account I used was already registered to the program I was using. I tried running the example again but with a completely new account, and didn't get this error.
I'll leave it to you @frankiebee if you wanna debug this a bit further. Otherwise, I'm happy for you to close it.
Was running through the example in this repo's
README
and his this error:The text was updated successfully, but these errors were encountered: