Skip to main content

Unanswered Questions

969 questions with no upvoted or accepted answers
5 votes
1 answer
97 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
98 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?
5 votes
1 answer
52 views

How to use @polkadot/react-components? version issue

I have tried to use @polkadot/react-componentsin React project Here, AddressInfo component component is from @polkadot/react-components When I try to use this component, I got this issue I'd really ...
5 votes
0 answers
42 views

Benchmarks not getting skipped with Err(BenchmarkError::Skip)

I am using the pallet_xcm_benchmarks, in the config for pallet_xcm_benchmarks::generic, I have used impl pallet_xcm_benchmarks::generic::Config for Runtime { fn worst_case_asset_exchange() -> ...
5 votes
2 answers
206 views

How to implement `into_rpc` method in jsonrpsee's rpc macro

I'm trying to add custom RPC to Substrate node template. As explained in the jsonrpsee's proc_macro doc here, I define BalancesApi trait where #[rpc(server)] attribute added, and implement ...
5 votes
0 answers
121 views

Query node information from PeerId only

How do I get Listen addresses of a node (and possibly other info like agent, protocols etc..) given that I only have node's PeerId? Is there any existing solutions available for this? Simple enter ...
5 votes
0 answers
38 views

eip-681 equivalent for Polkadot to generate qrcodes

I'm developing an app and there I have the possibility to generate qrcodes to ask for payments in multiple blockchains using multiple tokens. For EVM blockchains I do have the eip681 to guide me (...
5 votes
0 answers
49 views

Adhering to size limit of a block

We do track weight during block creation/block import, but weight only cares about execution time and with 2D weights also about storage proof size. We do keep track of size in propose here but only ...
5 votes
0 answers
204 views

How to check if a pallet can be compiled to no-std/WASM?

How to check if a pallet can be compiled to no-std/WASM? I ran: cargo build --no-default-features --target wasm32-unknown-unknown But this didn't work. IIUC, we need some ENV to build the pallet to ...
5 votes
0 answers
63 views

How to configure XCMP queue drop threshold?

The XCMP queue drops messages if they exceed the limit: if (count as u32) < drop_threshold { status[i].message_metadata.push((sent_at, format)); } else { debug_assert!( false, ...
5 votes
0 answers
62 views

How to use sp_tracing?

When I walk through the sp_tracing documents, it's an overview and does not show us how to use it I have some questions about sp_tracing: How to use it? What command that we run it? (Debug Mode?) ...
5 votes
0 answers
103 views

How can we expose a runtime constant?

I have a situation where I have a constant defined in my runtime (but not in any pallet) which I want to expose with the runtime itself in some way. Specifically, there is a constant used as a ...
5 votes
2 answers
83 views

How to determine if a parachain runtime migration is too big?

I want to write runtime storage migration for our parachain. This time it will scan large storage maps with more than 10k entries. This may results in very large PoV block size. I'm wondering what the ...
5 votes
1 answer
388 views

Parachain not syncing with peers

An instance is already running a parachain collator node and is producing block. Is collating: yes [Relaychain] 🏷 Local node identity is: 12D3KooWLhkaoFSGV2JfXea1BGTEAv2R5PE4v2b1nHZMo1ZGtXDG [...
5 votes
0 answers
35 views

Multisig pallet mispricing bug?

In the pallet_multisig, there are two storage maps Multisigs for the multisigs and Calls for the actual call in a multisig. The pallet has two distinct pricing components for its bloat deposit: // One ...

15 30 50 per page
1
2
3 4 5
65