Skip to content
New issue

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

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

Already on GitHub? # to your account

[MGX-355] Node improvements & cleanups #424

Merged
merged 21 commits into from
Feb 25, 2023
Merged

Conversation

mateuszaaa
Copy link
Member

@mateuszaaa mateuszaaa commented Feb 14, 2023

  • improve sed cmd so its compatible with any docker image hardcoded
  • Rename chainspecs: - 'kusama-mainnet' -> 'kusama' - 'local' -> 'kusama-local' - 'public-testnet' -> 'rococo' - 'mangata-rocococ-local-testnet' -> 'rococo-local'
  • set alice as sudo in kusama-local chainspec
  • assign corrent runtime name of the chainspec
  • set Alice as sudo for rococo-local
  • use new versioning convention that matches version from Github releases
  • automatically build docker image that supports both mangata and kusama
  • release single docker image for kusama & rococo
  • Update readme file
  • provide feelock palet genesis configuration
  • update rococo & kusama chainspecs with genesis feelock configuration

@mateuszaaa mateuszaaa force-pushed the feature/node-setup-cleanup branch from 9f2962b to 0fbc046 Compare February 14, 2023 08:21
@mateuszaaa mateuszaaa changed the base branch from main to develop February 14, 2023 09:50
tenequm
tenequm previously approved these changes Feb 14, 2023
Copy link
Contributor

@tenequm tenequm left a comment

Choose a reason for hiding this comment

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

😎

README.md Outdated Show resolved Hide resolved
Comment on lines +69 to +72
cd ./launch
yarn install
yarn gen
yarn up
Copy link
Contributor

Choose a reason for hiding this comment

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

can someone validate these steps? recently i had to call instead of the yarn gen
node_modules/.bin/parachain-launch generate

Copy link
Contributor

Choose a reason for hiding this comment

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

I've tried it multiple times before and it was working fine.
That's how it is also being invoked in our pipeline.

node/src/chain_spec/mangata_kusama.rs Show resolved Hide resolved
@@ -175,10 +175,10 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("mangata-parachain"),
impl_name: create_runtime_str!("mangata-parachain"),
authoring_version: 15,
spec_version: 15,
spec_version: 2800,
Copy link
Contributor

Choose a reason for hiding this comment

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

why such number ? v28.00 ?

Copy link
Member Author

Choose a reason for hiding this comment

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

yep, more like 0.28.0, i expect 0.28.3 -> 0283

@mateuszaaa mateuszaaa force-pushed the feature/node-setup-cleanup branch from 00769bb to c85ee3b Compare February 14, 2023 12:50
@mateuszaaa mateuszaaa force-pushed the feature/node-setup-cleanup branch from f1ffcb4 to beb42e4 Compare February 14, 2023 13:01
@mateuszaaa mateuszaaa force-pushed the feature/node-setup-cleanup branch from bcd6927 to 9298a00 Compare February 15, 2023 04:45
@mateuszaaa mateuszaaa force-pushed the feature/node-setup-cleanup branch from 9298a00 to 6b8cc48 Compare February 15, 2023 05:21
@iStrike7 iStrike7 self-requested a review February 25, 2023 05:54
iStrike7
iStrike7 previously approved these changes Feb 25, 2023
Copy link
Contributor

@tenequm tenequm left a comment

Choose a reason for hiding this comment

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

🚀🚀🚀
That's very good, that we do this renaming on such early stage!

@mateuszaaa mateuszaaa merged commit d088525 into develop Feb 25, 2023
@mateuszaaa mateuszaaa deleted the feature/node-setup-cleanup branch February 25, 2023 10:28
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants