PINT icon indicating copy to clipboard operation
PINT copied to clipboard

Gather the parachain constants for different runtimes

Open clearloop opened this issue 4 years ago • 1 comments

Issue summary

Gather the parachain constants in one crate, for example:

pub struct ParaChain {
    id: usize, 
    name: Vec<u8>,
    weights: RuntimeCallWeights,
}

Maybe we can place it in primitives/parachain or runtime/common, this is necessary for our cross-chain transactions, and we can use these to make the error info more detailed for cross-chain transactions.

These types should be done by polkadot team, not sure if there already has some repo or crate provide this.

Other information and links

clearloop avatar Jul 27 '21 05:07 clearloop

This makes sense, however, this would require that all come with RuntimeCallWeights and since support for staking/proxy will be very specific we can keep this separate.

mattsse avatar Jul 27 '21 08:07 mattsse