Unanswered Questions
49 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
62
views
Is there any good way to keep an intermediate state for an operation between several transactions/blocks in a BABE/GRANDPA-based chain?
I know that the best practices suggest designing transactions (pallet calls) in a way that executes the operation atomically and doesn't keep any intermediate states. This guarantees, that in case a ...
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 ...
3
votes
0
answers
32
views
ink dapp asking to sign transactions everytime i reload
so i am building a dapp with ink
it has messages to get data and put data
and on FE when i logged in with the polkadot-js extension wallet
everytime i reload the page it asks me to sign the ...
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
51
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
0
answers
46
views
Proof-of-Work Substrate Chain with Multiple Validators
I'm working on a Proof-of-Work (POW) substrate chain. Assuming we have four validators, all of which have enabled on-chain workers (OCW), is it accurate to state that each validator's OCW fetches data ...
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
0
answers
68
views
Transactions in a one-way synhronized node
Assume you submit a transaction to a Full Node which is configured incorrectly such that it can forward transactions but does not receive back results, e.g. it is working one-way Full Node x-> ...
2
votes
0
answers
41
views
How do pallet and consensus model/algorithm/infrastructure work together?
Hi guys I am new to blockchain and susbtrate, so these questions would be stupid to you...But I really need some help here...
How does substrate ensure anything has been done inside the pallet will ...
1
vote
0
answers
30
views
How to solve this invalid block issue after sending a Transaction?
I'm experiencing a strange issue: occasionally, I get an invalid block error after trying to submit an extrinsic in my node. I created a script that runs 300 transfer transactions sequentially, ...
1
vote
0
answers
49
views
Invalid transaction & Transaction has a bad signature
I'm trying to adjust my implementation to the recent runtime changes
CheckMetadataHash. I added the mode in the transaction and both the metadatahash and the mode parameter in the payload that is sign ...