-
Notifications
You must be signed in to change notification settings - Fork 378
Use Polkadot Constants instead of Hardcoding #868
Use Polkadot Constants instead of Hardcoding #868
Conversation
@apopiak please review |
There was a problem hiding this 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.
Co-authored-by: Alexander Popiak <[email protected]>
@Doordashcon i think you need to update your rust compiler to make the rustfmt match up here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
bot merge |
Got a notification by @gilescope about a tip? |
This PR resolves #860
polkadot companion: paritytech/polkadot#4561
polkadot address: 12zsKEDVcHpKEWb99iFt3xrTCQQXZMu477nJQsTBBrof5k2h