Unanswered Questions

647 questions with no upvoted or accepted answers
14 votes
0 answers
77 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
177 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 ...
10 votes
0 answers
134 views

How `parity-bridges-common` is intended to be used for development?

So there is a repo parity-bridges-common that contains "Useful Bridge Building Tools" and is currently under development. This repo uses XCMv3 branches of polkadot and substrate (which is ...
7 votes
0 answers
75 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
49 views

`check-blocks` command not re-executing the block

I am confused about the behavior of the check-block command. I was expecting it to re-execute the block, but it seems like this is not the case. For example, the following command: ➜ ~ RUST_LOG=...
6 votes
0 answers
54 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. ...
6 votes
0 answers
62 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
47 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 ...
6 votes
0 answers
49 views

How to achieve instant finality with substrate?

Ideally, I would like to build a chain with Substrate but using Tendermint as the consensus engine. The problem is that it's a lot of work to implement it correctly. But what if I use AURA (round ...
6 votes
1 answer
56 views

decl_runtime_api behaving in a weird way

In the project we are currently working on, we declared some runtime apis in our custom pallet, we tried to update the dependencies from 0.9.28 to 0.9.42 but the build fails with the following error: ...
6 votes
0 answers
106 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
153 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
47 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 ...
5 votes
0 answers
27 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
0 answers
63 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?

15 30 50 per page
1
2 3 4 5
44