Skip to main content

Questions tagged [error]

Questions relating to troubleshooting specific errors.

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

error[E0277]: the trait bound `xcm::v3::SendError: PalletError` is not satisfied

I'm attempting to utilize the XCM error within the context of my pallet's error handling, but I'm facing this problem. The error which i'm using #[pallet::error] pub enum Error<T, I = ()> { ...
0 votes
1 answer
63 views

Dockerized Substrate Chain Error

I am trying to build out a Docker container for a Substrate node chain, but I keep getting these errors that I am unable to rectify. here is the Dockerfile # Use the official Rust image as the base ...
0 votes
1 answer
17 views

no method named `as_fd` found for struct `Async` in the current scope

I am compiling my node with the substrate release branch as polkadot-v0.9.22 and I get the following errors. What is this error and how do I even fix this? error[E0599]: no method named `as_fd` found ...
0 votes
1 answer
253 views

error[E0277]: the trait bound is not satisfied for Deserialize<'_>` and Serialize<'_>`

Hi I am currently upgrading our runtime to Polkadot 1.0 but when I try to build it get the following errors error[E0277]: the trait bound `MintingRateInfo: Deserialize<'_>` is not satisfied ...
1 vote
1 answer
39 views

Is it true that the entire substrate docs points to an archived repo?

The substrate docs are supposed to guide users through the substrate SDK via tutorials. These tutorials use exclusively (to my knowledge) the substrate node template repository. However, all the ...
2 votes
2 answers
480 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 \...
0 votes
0 answers
22 views

Error parsing spec file: expected value at line 186 column 5 (rococo-local) [closed]

I'm trying to build raw from a plain chainspec. But all the time there is a complaint about line 186, where the quotes are located. Docker Image version: v1.4.0' Maybe it depends on the version of ...
0 votes
0 answers
242 views

could not compile `proc-macro2` (lib) due to 3 previous errors [closed]

I run cargo install contracts-node --git https://github.com/paritytech/substrate-contracts-node.git --tag v0.23.0 --force --locked and then got an error, version of the proc-macro2 library is ...
0 votes
1 answer
46 views

getting error while building substrate blockchain?

I have cloned polkadot-sdk version 1.1.0. When I try to build binary it is throwing error. Can you please tell why I am getting error as I have not changed anything in codebase yet. rust versions ...
2 votes
0 answers
54 views

XCM transfer of ROC from parachain to Rococo does not update balance on Rococo

I am currently successfully able to transfer ROC from Rococo to a parachain using a Reserve Asset Transfer. However when I want to transfer some of the ROC from our parachain back to Rococo but when I ...
0 votes
0 answers
21 views

Metamask / Nano Ledger>

Metamask/ Nano Ledger: failed to execute requestDevide on HID. Must be handing a user gesture to show a permission request Hello, 2 years without problems, until yesterday I did: Reset Chrome settings....
3 votes
2 answers
122 views

XCM Reserve Transfer Between AssetHub (Rococo) is Unroutable

I am testing transferring ROC between AssetHub and a Parachain. The HRMP channels are already open but when I submit try the following XCM Message: I get this error: [ { type: "...
1 vote
0 answers
20 views

"ContractTrapped" Error even with successful cross-contract call

let result_call = ink::env::call::build_call::<Environment>() .call(self.escrow_address) .gas_limit(0) .transferred_value(0) ...
5 votes
1 answer
159 views

How to solve this error: associated type `BlockNumber` not found for `T`?

I have substrate node template with babe and i want to integrate orml-currencies. I'm using this in cargo.toml: orml-currencies = { default-features = false, git = "https://github.com/open-web3-...
1 vote
0 answers
60 views

Parachain stuck at authoring runtime upgrade block

Our testnet parachain is stuck exactly at the block in which the runtime upgrade is authored. It was authorized and enacted via parachainSystem as recommended. The upgrade neither includes any ...
1 vote
1 answer
56 views

Why is this cross-contract call misbehaving?

#[ink(message)] pub fn create_new_better_payment( &mut self, _value: Balance, _arbiter_provider: AccountId, _deadline: u64, //...
4 votes
1 answer
43 views

Why can't I use structs with data on my pallet error?

I have this code that will not compile : #[pallet::error] pub enum Error<T> { SomeErr{ account : T::AccountId } } This will not compile with the error : AccountId associated type not found. ...
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 ...
2 votes
2 answers
62 views

Ink Smart Contract call Error

I am deploying an ink! smart contract to a local network, but when I tried to call any function from it i have this error: > { Err: { Module: { index: '8', error: '0x02000000' } } } Does anyone ...
0 votes
0 answers
26 views

batchall.sign throws TypeError: Cannot read properties of undefined (reading 'specVersion')

Trying to form a batchAll command that carries out 2 activities: Deposit 1 GLMR from wallet1 to wallet2 Cancel tokens' delegation revoke When I try to sign the batch with wallet1 (batchAllExtrinsic....
2 votes
2 answers
2k views

how to resolve? error[E0422]: cannot find struct, variant or union type `LineColumn` in crate `proc_macro`

error[E0422]: cannot find struct, variant or union type `LineColumn` in crate `proc_macro` --> /home/wangchao/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/proc-macro2-1.0.56/src/...
5 votes
1 answer
40 views

ModuleError, BadState

Setup I'm currently integrating staking functionality into my pallet. Here is a snipped of the relevant part: let who = ensure_signed(origin.clone())?; let required_stake = T::RequiredStake::get(); ...
0 votes
0 answers
33 views

when running a validating nodes, firewall setting is essential?

when running a nodes, firewall is essential? i used this command sudo ufw allow 3033/tpc but it`s result is "ERROR: Bad port" what`s the problem? can i just done "sudo ufw enable" ...
6 votes
3 answers
165 views

Error WeightNotComputable - XCM Transaction

I am getting the XCM error of WeightNotComputable. What could be the cause of this? Here is the XCM code which fails.
3 votes
1 answer
278 views

Build fails: protoc failed: bitswap.v1.2.0.proto: No such file or directory

When building a Substrate-project, I receive the following error: protoc failed: bitswap.v1.2.0.proto: No such file or directory
3 votes
0 answers
74 views

Transaction fails when using Polkadot extension

We have a customized substrate chain currently running and we are facing some signature issues (repo). This chain has custom types, custom header and an additional extension to check a parameter ...
4 votes
1 answer
187 views

Parachain to Parachain XCM transfer 1010 bad signature error

Our team (Fearless Wallet) has recently faced an issue while trying making XCM transfers between parachains on Mobile clients. The odd thing is that the same extrinsic on Polkadot JS dApp works fine ...
5 votes
0 answers
76 views

Connection closed with error KeepAliveTimeout

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 ...
3 votes
1 answer
199 views

Getting OutOfGas Error when trying to call smart contract

I am running tests of my !ink smart contracts using @727-ventures/typechain-polkadot module. But when I am running tests, sometimes getting OutOfGas Error. The strange thing is that not all cases are ...
5 votes
2 answers
869 views

smart contract function call error

I am deploying flipper ink! smart contract to shibuya, but when I tried to read the value using get() I am getting this error: { Err: { Module: { index: 70 error: 0x02000000 } } } I also tried ...
3 votes
1 answer
83 views

Error: "Did not find the benchmarking metadata" after building runtime for benchmarking

After upgrading our chain to polkadot 0.9.38 I managed to build the benchmarking using cargo build --release --features runtime-benchmarks but when I try to benchmark any pallet after the build I ...
5 votes
1 answer
61 views

__construct_runtime_integrity_test fails after upgrading to polkadot 0.9.38

After upgrading our chain to polkadot version 0.9.38 and run SKIP_WASM_BUILD= cargo test --all I get the following test error '__construct_runtime_integrity_test::runtime_integrity_tests' panicked at ...
3 votes
1 answer
81 views

Problem deploying smart contract on rococo

I have been following the public documentation of polkadot API to deploy contract: https://polkadot.js.org/docs/api-contract/start/code but I'm getting error Uncaught (in promise) TypeError: code.tx....
3 votes
1 answer
82 views

babe-worker failed after upgrade to 0.9.42

After upgrading to 0.9.42, we have ERROR tokio-runtime-worker sc_service::task_manager: Essential task babe-worker failed. Shutting down service. error starting the node using cargo run -- --dev. ...
1 vote
2 answers
196 views

Can't get extrinsic error from balances.sendTransfer extrinsic in polkadotJSAPI

I am doing error handling in an app using polkadotJSAPI 7.13.1 There are two ways to fetch info if an extrinsic succeeds or fails, the first one is via dispatchError in signAndSend like so ...
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 ...
3 votes
1 answer
89 views

error[E0405]: cannot find trait `Signature` in crate `signature`

I am currently upgrading our chain to polkadot-v0.9.38 but when I run the build I get the following error: error[E0405]: cannot find trait `Signature` in crate `signature` --> /home/albrayanov/....
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 ...
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 ...
2 votes
1 answer
78 views

Polkadot-JS not calling my contract properly

I used PolkadotJS to call a contract, when i did, it logged the status "in block", Turns out it never makes any state change. I used contracts-ui it worked, but with JS? Never. What can be ...
1 vote
2 answers
124 views

Token(CannotCreate) error on transferring asset to PalletId account

I'm new to Substrate and I'm creating a pallet in which the user can create contests by depositing a certain amount of assets. My idea is to send that amount to the PalletId account, but I'm having an ...
2 votes
1 answer
83 views

Polkadot multisig - LiquidityRestrictions error to initiate a call from an account with < 20 DOT

The Polkadot account 1vSN9CPVLXJWsY3JbdRU9KjAFFAx88yvEVpU1ayjnhSephy is a proxy, controlled by a multisig (13oHAjv9gNbdVKFk6uosaiyRAm2ybC48VnJ47Ss8F8pY7NgR). All attempts to initiate an extrinsic with ...
4 votes
2 answers
57 views

DispatchError::Other(_) always being mapped to DispatchError::Other("")

I'm trying to pass some custom error messages to the frame_system::note_applied_extrinsic() but it seems to be ignoring my message and always using an empty string "". Adding this test to ...
2 votes
1 answer
522 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: ...
0 votes
1 answer
152 views

Error "StorageDepositLimitExhausted" occurs when trying to mint

Error "StorageDepositLimitExhausted" occurs when trying to mint But I don't know why this error happens The code is here #![cfg_attr(not(feature = "std"), no_std)] #![feature(...
3 votes
1 answer
57 views

Substrate Node wont restart

We are running a substrate node in testing/development and the server ran out of disk space. We cleared up space by deleting the log files and now the node wont start. Service(Client(RuntimeApiError(...
2 votes
0 answers
191 views

hyper::Error(Parse(Method))

The log output is as follows: 2023-03-06 06:12:54 ✨ Imported #2 (0xbbb2…9e44) 2023-03-06 06:12:54 Accepting new connection 1/6 2023-03-06 06:12:55 HTTP serve connection failed hyper::Error(Parse(...
6 votes
1 answer
387 views

Parachain missed blocks due to relay wrong announcement?

On February 20, 2023 around 22:08 UTC, Shiden block production has been hurt and almost stopped during 40 minutes.A lot of collators were missing blocks for no apparent reason. Examples of blocks that ...
1 vote
1 answer
66 views

Off-chain worker. Error submitting a transaction to the pool: InvalidTransaction::ExhaustsResources [duplicate]

Error submitting a transaction to the pool: Transaction pool error: Invalid transaction validity: InvalidTransaction::ExhaustsResources It works fine in standalone but in parachain it fails. Off chain ...
0 votes
1 answer
354 views

1010: Invalid Transaction: Transaction would exhaust the block limits

How to specify limit weight for extrinsic?