2

Screenshot

I've added pallet-nft and pallet-uniques in Relay Chain. All the things are working fine but when I'm signing the transaction in the pallet-uniques fn create(collection,admin), it is showing me this error:

1002: Verification Error: Runtime error: Execution failed: Execution aborted due to trap: wasm trap: wasm unreachable instruction executed WASM backtrace: 0: 0x547257 - !rust_begin_unwind 1: 0x54ee - !core::panicking::panic_fmt::hca80ede79c2b9c5b 2: 0x29ff1c - !TaggedTransactionQueue_validate_transaction : RuntimeApi, Execution failed: Execution aborted due to trap: wasm trap: wasm unreachable instruction executed\nWASM backtrace:\n\n 0: 0x547257 - !rust_begin_unwind\n 1: 0x54ee

5
  • Could you paste the entire error message in as text too, it will be useful for searches in the future.
    – Simson
    Jun 13 at 6:29
  • 1002: Verification Error: Runtime error: Execution failed: Execution aborted due to trap: wasm trap: wasm unreachable instruction executed WASM backtrace: 0: 0x547257 - <unknown>!rust_begin_unwind 1: 0x54ee - <unknown>!core::panicking::panic_fmt::hca80ede79c2b9c5b 2: 0x29ff1c - <unknown>!TaggedTransactionQueue_validate_transaction : RuntimeApi, Execution failed: Execution aborted due to trap: wasm trap: wasm unreachable instruction executed\nWASM backtrace:\n\n 0: 0x547257 - <unknown>!rust_begin_unwind\n 1: 0x54ee - Jun 13 at 6:39
  • Edit the the post and put it in the question
    – Simson
    Jun 13 at 8:15
  • Try refreshing polkadot-js. Do you have added the pallets through a runtime upgrade?
    – bkchr
    Jun 13 at 14:34
  • No i've added locally before starting the chain Jun 19 at 5:51

1 Answer 1

0

You probably need to specify custom types.json in polkadot.js.org. These links might be helpful:

  1. https://polkadot.js.org/docs/api/start/types.extend/
  2. https://stackoverflow.com/questions/68487857/how-to-generate-types-json-in-substrate

Also, try to clear the browser cache.

Your Answer

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

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