Skip to main content

Questions tagged [error]

Questions relating to troubleshooting specific errors.

Filter by
Sorted by
Tagged with
0 votes
1 answer
245 views

Extracting error from system.ExtrinsicFailed

I have a call to an extrinsic (in a Typescript/RxJS client) that is failing but I want to be able to catch the error that the extrinsic is throwing and not just that it failed. const chainEvents: ...
Robert La Ferla's user avatar
2 votes
1 answer
128 views

@polkadot/api suppress output messages

I have an issue regarding displaying errors. For errors, the logger @polkadot/api uses will write to console even when the error is caught and handled. I am handling and displaying the messages a ...
Dario Tsvetanoff's user avatar
0 votes
0 answers
41 views

Error Connecting to Substrate Connection to websocket 'ws://127.0.0.1:9944/' failed substrate-frontend-template [duplicate]

Description of bug I was trying to follow this tutorial https://docs.substrate.io/tutorials/get-started/build-local-blockchain/#install-the-front-end-template but after doing yarn start I get the ...
bamblam's user avatar
5 votes
0 answers
78 views

Connection closed with error KeepAliveTimeout [closed]

I'm developing my own client using libp2p to connect to a substrate-based parachain (in this case I'm testing with moonbeam/moonriver). However, my client gets disconnected after a while with this ...
Rdl's user avatar
  • 51
1 vote
1 answer
177 views

Upgrading to `polkadot-v0.9.30` throws "no function or associated item named `benchmarks`"

After upgrading a Cumulus based node to use polkadot-v0.9.30, and running clippy: cargo +nightly clippy --all --features runtime-benchmarks The following errors are thrown: error[E0599]: no ...
Peter - R0GUE's user avatar
0 votes
1 answer
38 views

Are Periodic Grandpa Voter Errors To Be Expected?

We have been losing anywhere from one to three nodes at a time with Grandpa Voter Errors at random block numbers ranging from 1600 to over 183K. Thus far we have not found any configuration in the ...
KathrynColleen's user avatar
8 votes
6 answers
13k views

How do I fix a failed build error [E0635]: unknown feature 'proc_macro_span_shrink'?

Following the instructions at (https://bruno.id/preparation-for-the-substrate-workshop/) until I received a build error, executing the instructions under the 'Error' heading, I received the following ...
Brian's user avatar
  • 83
2 votes
1 answer
529 views

How to deal with the RpcError: 1010?

When i submit a WND staking chill and staking unbond transaction,the console appears the err, How to deal with the RpcError: 1010? 2022-10-14 23:16:49 error: RPC-CORE: submitExtrinsic(extrinsic: ...
Rose's user avatar
  • 305
1 vote
1 answer
73 views

lookup error description from an error id in tx

I'd like to know if there is a dedicated function or if someone knows where to find a good portion of code (nodejs) in order to get details about a tx error code ? I found out that the error ...
Arno's user avatar
  • 11
1 vote
0 answers
65 views

Another Benchmarking Wasm error [closed]

I asked a similar question a month ago here, and the answer/explanation was found in a failing cargo t -p pallet-nft --features runtime-benchmarks command. This time, the building part works, the ...
Kazunobu Ndong's user avatar
0 votes
1 answer
92 views

Error while adding orml_tokens. 'Orml_tokens` does not have the std feature enabled

Why I have this Error? Tokens: orml_tokens::{Pallet, Storage, Event<T>, Config<T>} = 50, this error originates in the macro construct_runtime (in Nightly builds, run with -Z macro-...
rust.dev's user avatar
  • 519
0 votes
2 answers
76 views

Ink! playground contract flipper not building due to errors

i know that this is a duplicate, but problem must be resolved... So, there are 2 "solutions": Contract flipper build fails error[E0158] when testing default contract from flipper But not a ...
Nikola Bozin's user avatar
0 votes
1 answer
33 views

Build error for orml_xtokens

I have recently upgraded our blockchain to use polkadot-v0.9.26 but when I am building the code I get the following error: cannot find macro `vec` in this scope --> /home/aibrayanov/.cargo/git/...
chexware's user avatar
  • 325
3 votes
0 answers
53 views

How to solve the error secp256k1-sys v0.4.2? [duplicate]

I'm adding a pallet2 to pallet1's runtime cargo.toml then I'm getting this error. Thanks in advance!! Compiling secp256k1-sys v0.4.2 error: the wasm32-unknown-unknown target is not supported by ...
Deepak Chaudhary's user avatar
2 votes
1 answer
143 views

XCM error. OverweightEnqueued event instead of opening HRMP channel

What is the reason of OverweightEnqueued event? There is the place of code where event OverweightEnqueued produced...
rust.dev's user avatar
  • 519
1 vote
1 answer
89 views

Benchmarking Wasm error

I am trying to do benchmarking for my pallet,but I get the following error: Error executing and verifying runtime benchmark: Execution aborted due to trap: wasm trap: wasm `unreachable` instruction ...
Kazunobu Ndong's user avatar
0 votes
1 answer
65 views

Clean node template doesn't produce blocks due to "No route to host" error [closed]

Substrate node template (version polkadot-v0.9.26) could not find any peers including itself (as I understood) and does not produce any blocks. I did not add any lines of code. Logs: 2022-08-06 16:42:...
Bob Satikin's user avatar
0 votes
1 answer
74 views

How to use an Error define in one pallet in another pallet

I have a substrate pallet A and it has following Errors Defined #[pallet::error] pub enum Error<T> { /// Not a coffee InvalidCoffee, } trait implementation in Pallet ...
Kalanamith's user avatar
1 vote
1 answer
102 views

How to Add Vesting pallet

# Clone the repo git clone https://github.com/substrate-developer-hub/substrate-node-template cd substrate-node-template cargo build --release Add scheduler-pallet Add this line in runtime cargo.toml ...
Mr_Amit's user avatar
  • 21
4 votes
1 answer
212 views

Cyclic deps in substrate?

Out of curiosity, I'm running $ rust-analyzer analysis-stats . in my substrate repo root directory. I'm getting reports about ~30 cyclic dependencies, similar to [ERROR project_model::workspace] ...
tobben's user avatar
  • 43
1 vote
1 answer
110 views

Use macros in a custom pallet tutorial doesn't compile

I tried to follow this tutorial but I have the following problem: This is my pallets/template/src/lib.rs file on github And this is the pallets/template/Cargo.toml file on github The terminal error ...
viac92's user avatar
  • 107
2 votes
2 answers
487 views

Error: failed to instantiate a new WASM module instance: Insufficient resources: cannot create a memf"

I am using Ubuntu 20.04 on windows 10 wsl and when I run the command in my terminals: ./target/release/node-template \ --base-path /tmp/alice \ --chain local \ --alice \ --port 30333 \ --ws-port 9945 \...
Prashant Mishra's user avatar
4 votes
1 answer
101 views

Balance transfer fails when sending to the AccountIndex

I wanted to try out AccountIndex feature on Westend: https://wiki.polkadot.network/docs/learn-accounts#indices and claimed an index: https://westend.subscan.io/extrinsic/11590551-2 When I try to do ...
DrW3RK's user avatar
  • 956
3 votes
3 answers
923 views

Error: 'tikv-jemalloc-sys' fails to build after upgrading substrate-based chain on WSL2

After upgrading our chain and its relevant dependencies to polkadot-v0.9.22 I am getting the following build error for 'tikv-jemalloc-sys v0.4.3+5.2.1-patched.2' I have also tried to add parity-util-...
chexware's user avatar
  • 325
3 votes
1 answer
80 views

Exported method `TryRuntime_on_runtime_upgrade` is not found

cargo run --features try-runtime try-runtime \ --execution Native \ --chain dev \ on-runtime-upgrade \ live \ --uri ws://xxxxxxxx I implemented try-runtime according to the ...
junyuan wei's user avatar
2 votes
1 answer
315 views

Node that was not modified fails to build

I had a fully functioning node that was built about 4 day ago and I was using it. Today I've decided to rebuild it with cargo build -r and for some reason if failed to build with absolutely weird ...
CREESTL's user avatar
  • 484
1 vote
1 answer
197 views

Pre-dispatch Error

I took a look at the check-weight SignedExtention to see what happens when a block is full. It appears that it returns an error InvalidTransaction::ExhaustsResources. It think it puts it back into the ...
Yatusabes's user avatar
  • 776
2 votes
1 answer
127 views

False positive Errors on Jetbrains IDEs

I’m currently using VSCode to develop a chain based on Substrate, and want to switch to CLion or IntelliJ IDEA, but after setting up these IDEs, the inspection reports more than 90 errors in my ...
Sailor SnoW's user avatar
0 votes
1 answer
112 views

Guide or Best practice for parachain Runtime Upgrade(Exception handle or rollback)!

The forkless runtime upgrade is an excellent feature! I have searched many documents on runtime upgrade, but no guide found for handling upgrade exceptions or rollback. The most exception often ...
Bart Yang's user avatar
1 vote
1 answer
172 views

Substrate Node v3.0 getrandom Compilation error

The error described below is produced when attempting to compile the node upgraded to v3. The Cargo.toml files indeed specify the js feature; the issue occurs when compiling packages within Cargo.lock,...
Raid Ateir's user avatar
1 vote
1 answer
60 views

(FIXED) Substrate forkless upgrade tutorial: pallet_scheduler has breaking changes [closed]

(This question was originally asked here: https://stackoverflow.com/questions/72056703/substrate-forkless-upgrade-tutorial-pallet-scheduler-has-breaking-changes) I am following the Substrate forkless ...
Iker's user avatar
  • 1,356
3 votes
1 answer
103 views

Cannot find TryInto (compilation error) after it was pruned from prelude

This Substrate PR removed TryInto from the sp_std's prelude: https://github.com/paritytech/substrate/pull/11136 While attempting to update to v0.9.19, which includes this PR, I am encountering this ...
notlesh's user avatar
  • 123
2 votes
1 answer
46 views

What does this validator error mean? "Validator with index 0 is disabled and should not be attempting to author blocks."

So this happened when I created a new validator and injected their session keys into my node. Then I proceeded to call forceNewEra from the staking module as sudo, and I am greeted with this : ...
Purple_Turtle's user avatar
1 vote
3 answers
286 views

0x02000000 Being Returned in Extrinsic Receipt and Failing Error Module Indexing

When submitting a stake request through the Python substrate-interface library, the extrinsic receipt comes back with the following parameters: ({'Module': {'index': 6, 'error': '0x02000000'}}, {'...
kayolord's user avatar
3 votes
1 answer
138 views

Runtime upgrade error: system.FailedToExtractRuntimeVersion

Our goal is to migrate pallet code to the newer Substrate version and keep the block history (since ~ august 2020). Old Substrate ver. (10.02.2021) -> New Substrate ver. (14.01.2022) For such ...
vovacha's user avatar
  • 148
1 vote
1 answer
39 views

ERROR: balances.transferKeepAlive -32602: Invalid params: UnknownVersion

I am having this issue of an error when transacting on my custom Setheum substrate Node. ERROR: balances.transferKeepAlive -32602: Invalid params: UnknownVersion.. Does it have anything to do with ...
Muhammad-Jibril B.A.'s user avatar
2 votes
1 answer
103 views

Collator panicked at 'Storage root must match that calculated.'

We have a few collators for the Kintsugi parachain actively syncing and producing blocks when they suddenly fall-over due to the following error: Apr 02 21:06:00 ubuntu-s-2vcpu-4gb-amd-fra1-01 ...
Gregory Hill's user avatar
0 votes
2 answers
374 views

Thread 'tokio-runtime-worker' panicked at 'Storage root must match that calculated

I am trying to upgrade the Substrate network from Substrate commit 88c64e06471cc12aa9b25290f24d5566bcb5dd82 from Sept 2021 to a recent version in Substrate branch polkadot-v0.9.17 from Feb 2022. When ...
Gautham J's user avatar
  • 116
3 votes
1 answer
153 views

Runtime panic when peering with node:

I require some insight into how to troubleshoot the following runtime error which only occurs when I try to peer with my running node. Using substrate v3.0.0 monthly-10-2021 I should also add that if ...
Purple_Turtle's user avatar
1 vote
1 answer
28 views

NewContractNotFunded Error after submitting a smart contract on BereSheet

I'm trying to upload the flipper contract to Beresheet (Edgeware testnet) but after submitting, I got this contract.NewContractNotFunded error and the extrinsic failed. I search the error on Google ...
Minh Mốc's user avatar
  • 1,009

1
2