Unanswered Questions
969 questions with no upvoted or accepted answers
14
votes
0
answers
94
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
232
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
104
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
1
answer
126
views
Pallet session: What is the purpose of the `proof` argument on the `set_keys` extrinsic?
The set_keys extrinsic in pallet_session has a second argument proof, which seems to be intended as an ownership proof of the keys.
Looking at the body, there is a call to ownership_proof_is_valid.
...
7
votes
0
answers
195
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 ...
7
votes
0
answers
96
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 ...
6
votes
0
answers
73
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
77
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
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
2
answers
167
views
How we can go live as solochain?
I want to release our chain as solochain. Do we have any checklist or something which help thought the process so that we cannot miss any step or configuration?
Any help would be appreciable.
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
155
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
92
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
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 ...
5
votes
0
answers
38
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 ...