Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Use Polkadot Constants instead of Hardcoding #868

Merged
merged 25 commits into from
Jan 13, 2022

Conversation

Doordashcon
Copy link
Contributor

@Doordashcon Doordashcon commented Dec 18, 2021

This PR resolves #860
polkadot companion: paritytech/polkadot#4561

polkadot address: 12zsKEDVcHpKEWb99iFt3xrTCQQXZMu477nJQsTBBrof5k2h

@Doordashcon Doordashcon marked this pull request as draft December 18, 2021 18:08
@Doordashcon Doordashcon marked this pull request as draft December 18, 2021 18:08
@Doordashcon Doordashcon marked this pull request as draft December 18, 2021 18:08
@Doordashcon Doordashcon marked this pull request as ready for review December 18, 2021 19:49
@Doordashcon Doordashcon marked this pull request as draft December 20, 2021 15:54
@Doordashcon Doordashcon marked this pull request as ready for review December 21, 2021 00:36
@bkchr bkchr requested a review from apopiak December 22, 2021 10:50
@Doordashcon
Copy link
Contributor Author

@apopiak please review

Copy link
Contributor

@apopiak apopiak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution!

I don't agree with your particular approach here:
We want to keep the constants.rs modules in the runtimes, we just want to define the values by using the relay chain constants instead of them being hard-coded.
So I would ask you to re-add the removed modules.
Neither the client code (chain_spec.rs) nor the runtime lib.rs files should need to change.

@apopiak apopiak added A0-pleasereview B0-silent Changes should not be mentioned in any release notes T7-system_parachains This PR/Issue is related to System Parachains. labels Jan 10, 2022
@apopiak
Copy link
Contributor

apopiak commented Jan 10, 2022

Cool, ready to be merged, I'd say.
@bkchr @KiChjang can we get a review?

@shawntabrizi
Copy link
Member

@Doordashcon i think you need to update your rust compiler to make the rustfmt match up here

Copy link
Contributor

@gilescope gilescope left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gilescope
Copy link
Contributor

bot merge

@paritytech-processbot paritytech-processbot bot merged commit 2d9123d into paritytech:master Jan 13, 2022
@Doordashcon Doordashcon deleted the ddc-PCH-T1 branch January 13, 2022 13:40
@Doordashcon
Copy link
Contributor Author

Doordashcon commented Jan 13, 2022

Got a notification by @gilescope about a tip?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
B0-silent Changes should not be mentioned in any release notes T7-system_parachains This PR/Issue is related to System Parachains.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use Polkadot Constants instead of Hardcoding
6 participants