Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gather the parachain constants for different runtimes #236

Open
clearloop opened this issue Jul 27, 2021 · 1 comment
Open

Gather the parachain constants for different runtimes #236

clearloop opened this issue Jul 27, 2021 · 1 comment
Labels
chore Maintenance related work p3 Medium Priority

Comments

@clearloop
Copy link
Contributor

clearloop commented Jul 27, 2021

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 clearloop added the needs triage Issue needs to be triaged label Jul 27, 2021
@clearloop clearloop changed the title Gather the parachain constants for different runtime Gather the parachain constants for different runtimes Jul 27, 2021
@mattsse
Copy link
Contributor

mattsse commented Jul 27, 2021

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.

@clearloop clearloop self-assigned this Jul 28, 2021
@dutterbutter dutterbutter added chore Maintenance related work p3 Medium Priority and removed needs triage Issue needs to be triaged labels Jul 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Maintenance related work p3 Medium Priority
Projects
None yet
Development

No branches or pull requests

3 participants