Unanswered Questions
50 questions with no upvoted or accepted answers
6
votes
0
answers
215
views
Subxt call to custom pallet method returning `wasm 'unreachable'` - (`TaggedTransactionQueue_validate_transaction`)
So I am trying to submit extrinsics to a running parachain node using subxt, but encounter a Codec error.
The parachain is based on the substrate-parachain-template, the relay chain is compiled ...
6
votes
0
answers
234
views
How to use the default Substrate CLI rpc-cors values without using rpc-cors=all for a Collator node and connect from Polkadot.js Apps
I want to be able to connect a collator node using https://polkadot.js.org/apps that is based on the substrate-parachain-template using branch 'polkadot-v0.9.18' and is being run as a parachain in ...
5
votes
0
answers
55
views
How to properly use backed-up DBs for parachain recovery?
We are currently backing up our parachain DB on a daily base: /path/to/db/full/, I thought it can be used for recovery when the DB gets accidentally deleted/corrupted. But it seems that once the ...
4
votes
1
answer
146
views
Parathread not producing block on Rococo registered using CoreTime
I am trying to list a parathread on Rococo using core time. I have followed all instructions mentioned here. I followed below steps:
I registered a ParaId and onboarded Parathread as usual but didn't ...
4
votes
1
answer
63
views
Error- Connecting Parachain to Relay Chain: Unsupported or Invalid BabeApi Version
I have already run a relay chain on two ports, but when I try to connect my parachain to the relay chain, I encounter the following error. I have attached a screenshot of the error to this message.
I ...
3
votes
0
answers
37
views
the function or associated item `offchain_worker` exists for struct
i wanna add a new pallet in substrate runtime.rs
this is the contract of the file :
#![cfg_attr(not(feature = "std"), no_std)]
/// Edit this file to define custom logic or remove it if it ...
3
votes
0
answers
44
views
How to execute/apply extra logic when xcm call delivered and deposit is succeed? or register callback?
I want to execute extra logic when xcm call deliver and deposit succeed.
I can pass extra parameters in beneficiary MultiLocation with a description what todo next.
I have a MultiLocation
...
2
votes
0
answers
50
views
Parachain doesn't produce blocks(collation wasn't advertised to any validator)
I'm currently engaged with the Polkadot relay chain version 1.1.0, and I've encountered an issue in the parachain where block production is not occurring. My configuration involves two validators in ...
2
votes
2
answers
927
views
1002: Verification Error: Runtime error: Execution failed: Execution aborted due to trap: wasm trap: wasm `unreachable`
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 ...
2
votes
0
answers
48
views
fill assetId in local substrate into dex pallet
I'm trying to create a decentralized exchange (dEX) in Substrate and I have a function called create_exchange that has two parameters: asset_id and liquidity_token_id. I'm having trouble filling the ...
2
votes
1
answer
62
views
Unable to open messaging channel in Substrate Tutorial
chain-spec.rs
In Open Message Passing Channels guide, use the parachain-template.js parachain_id of 1000, 1001 respectively.
Add sudo pallet to runtime/lib.js.
impl pallet_sudo::Config for Runtime {
...
2
votes
1
answer
331
views
Transfer Assets with XCM
We have successfully created the HRMP channel between two parachains and a relay chain.We want to transfer assets from one parachain(p1) to another parachain(P2), the channel is created from P1 to P2 (...
2
votes
0
answers
22
views
Has anyone made a barebones rococo relay chain?
I am curious if anyone made a rococo relay chain using node-template? Similar to this (https://github.com/buraktabn/relay-chain) but using rococo instead of kusama.
1
vote
0
answers
8
views
How to properly execute a runtime upgrade in a Relay Chain
I'm trying to make a runtime upgrade in a local Relay Chain, but the chain stalls and stop producing blocks after the migrations.
I'm using the polkadot-v1.5.0 as base, and trying to upgrade to the ...
1
vote
1
answer
30
views
How to run substrate-parachain-template as parachain testnet?
everyone.
Could you please help me on deploying my substrate-parachain-template as testnet?
https://docs.substrate.io/test/set-up-a-test-network/
I am following this reference. But I receive this ...