0

I'm trying to call the setName method of nicks pallet: enter image description here

However, when I run click "Signed" I get the error on the right, which is:

system:ExtrinsicFailed
[{"Module":{"index":"10","error":"0x01000000"}},{"weight":"50,000,000","class":"Normal","paysFee":"Yes"}]

Of note is that this error isn't specific to setName or nicks pallet, as if I try it with other pallets too then I get the same error.

Any idea how to fix it?

2
  • 1
    What node are you running? Where did you get the runtime config from? Maybe the name is too long or too short. Jul 26, 2022 at 8:21
  • 2
    You have to look up the index and error in your runtime to see what it is. To understand how to interpret errors, take a look here: wiki.polkadot.network/docs/maintain-errors
    – Bruno
    Jul 26, 2022 at 17:22

1 Answer 1

1

Managed to sort it out thanks to Bruno. When I checked the "PolkadotJS Apps Explorer" I found that the name I was setting was too short (the minimum character length is 8 characters or something). When I made the nickname longer then it worked fine.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.