Unanswered Questions
758 questions with no upvoted or accepted answers
14 votes
0 answers
100 views
Outbound network traffic linearly growing with offchain protocol and recommendations for handling traffic growth
Issue We are experiencing a behaviour on our standalone/parachain node where the Network Bps on our cloud provider linearly increases throughout the lifecycle of our protocol. The increase continues ...
12 votes
0 answers
248 views
How to receive P2P messages using sc-network-gossip
Overview I'm interested to understand how to use sc-network-gossip's GossipEngine to receive P2P messages, not just gossip messages. The motivation is that I would like to send specific peers specific ...
9 votes
0 answers
108 views
What are the size limits of contract storage in ink?
Whilst reading the docs for ink I came across this warning: CAUTION If any type exhibiting Packed layout gets large enough (an ever-growing Vec might be a prime candidate for this), it will break ...
8 votes
0 answers
103 views
Why do clients have to hardcode the extra types in the registry?
Context: I'm experimenting with an H160-address based substrate and I'm doing it from scratch (it's not a moon* or frontier template fork). It's reasonably trivial to make changes to the substrate ...
7 votes
0 answers
215 views
How to generate a Moonbeam Unified Account using Subkey?
In the Moonbeam Unified documentation here, it says that Moonbeam natively supports "Ethereum-style address (H160 format), which is 40+2 hex-characters long, in a Substrate based chain" and ...
6 votes
0 answers
76 views
No block produced/validated on parachain for almost a day
We upgraded our testnet Shibuya yesterday, for which we have our own validator network, and block production stalled for almost a whole day. The block on which it was stuck was the one where the ...
6 votes
0 answers
82 views
Decompose complex types in JS
My overall goal is to build a generic extrinsic builder, just like the extrinsic tab from polkadot-js/apps. This code is very old and very hard to decipher unfortunately and I couldn't find any doc ...
6 votes
0 answers
241 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 ...
6 votes
1 answer
246 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 ...
5 votes
0 answers
164 views
Genesis Sync and History: Are Archive Nodes Indispensable?
I've been exploring the intricacies of node types in Polkadot and other Substrate-based networks and came across a scenario that has left me curious. I understand that full nodes and archive nodes ...
5 votes
0 answers
99 views
"Not Requested Block Data" synching a parachain node
I am facing an issue with syncing new nodes to the bootnodes of my parachain on Kusama. The bootnodes were synced using the following commands: For fast sync: binary --chain <parachainchain> -- ...
5 votes
0 answers
63 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 ...
5 votes
0 answers
41 views
Cross-contract call failed with TransferFailed
After instantiating a contract using the CreateBuilder as shown here. If I then try to call the contract using CallBuilder as shown here and use #[ink(message, payable)] in the callee message of the ...
5 votes
1 answer
112 views
How many collators can a parachain have?
I think this should be split into 2 questions: How many total collators can a parachain have ? How many collators can collate at the same block height ? I suspect those number would be approximative ...
5 votes
0 answers
102 views
I want to use Parity SCALE codec in Solidity? Is there any implementation of scale codec to decode bytes?
I want to decode bytes on the Solidity side that was decoded with scale codec. Is the any implementation of scale codec (decode) on the Solidity side?