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

Enhancement on Substrate Node Template #8473

Merged
merged 31 commits into from
Mar 29, 2021
Merged

Enhancement on Substrate Node Template #8473

merged 31 commits into from
Mar 29, 2021

Conversation

jimmychu0807
Copy link
Contributor

@jimmychu0807 jimmychu0807 commented Mar 28, 2021

  • Updated Substrate Node Template version to 3.0.0
  • spec_version in runtime is set to 100
  • Added a documentation on how to release Substrate Node Template
  • Misc minor enhancement
  • Copying documentations that are currently in Substrate Node Template back to here (upstream)
  • The node-template-release.sh script is directly using the path passed in instead of forcing to use a relative path.

Signed-off-by: Jimmy Chu <jimmychu0807@gmail.com>
Signed-off-by: Jimmy Chu <jimmychu0807@gmail.com>
…ubstrate-node-template

Signed-off-by: Jimmy Chu <jimmychu0807@gmail.com>
Signed-off-by: Jimmy Chu <jimmychu0807@gmail.com>
Signed-off-by: Jimmy Chu <jimmychu0807@gmail.com>
Signed-off-by: Jimmy Chu <jimmychu0807@gmail.com>
Signed-off-by: Jimmy Chu <jimmychu0807@gmail.com>
Signed-off-by: Jimmy Chu <jimmychu0807@gmail.com>
Signed-off-by: Jimmy Chu <jimmychu0807@gmail.com>
@jimmychu0807 jimmychu0807 requested a review from a team as a code owner March 28, 2021 05:38
@github-actions github-actions bot added the A0-please_review Pull request needs code review. label Mar 28, 2021
@kianenigma kianenigma added B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D2-notlive 💤 PR contains changes in a runtime directory that is not deployed to a chain that requires an audit. labels Mar 28, 2021
Copy link
Contributor

@kianenigma kianenigma left a comment

Choose a reason for hiding this comment

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

Looks overall good to me.

Jimmy Chu and others added 4 commits March 29, 2021 11:17
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
Signed-off-by: Jimmy Chu <jimmychu0807@gmail.com>
Signed-off-by: Jimmy Chu <jimmychu0807@gmail.com>
Signed-off-by: Jimmy Chu <jimmychu0807@gmail.com>
Signed-off-by: Jimmy Chu <jimmychu0807@gmail.com>
@jimmychu0807
Copy link
Contributor Author

thanks @kianenigma for the review. Addressed all of your concerns, and about docker script I will deal with it in a separate issue.

Signed-off-by: Jimmy Chu <jimmychu0807@gmail.com>
The node template here should works with latest Substrate, even though these features may not have been released in crate.io

Signed-off-by: Jimmy Chu <jimmychu0807@gmail.com>
…strate to published packages

Signed-off-by: Jimmy Chu <jimmychu0807@gmail.com>
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.

awesome that you're documenting the release process!

docs/node-template-release.md Outdated Show resolved Hide resolved
docs/node-template-release.md Outdated Show resolved Hide resolved
docs/node-template-release.md Outdated Show resolved Hide resolved
Comment on lines +50 to +51
P.S: This step can be automated if we update `node-template-release` package in
`.maintain/node-template-release`.
Copy link
Contributor

Choose a reason for hiding this comment

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

this sounds like a todo?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is. But given there are 626 issues in Substrate repo already, I don't want to add another one that is kind of low priority.

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think it makes sense not to create issues and have things in code, but 🤷

docs/node-template-release.md Outdated Show resolved Hide resolved
docs/node-template-release.md Outdated Show resolved Hide resolved
Jimmy Chu and others added 6 commits March 29, 2021 19:04
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
Signed-off-by: Jimmy Chu <jimmychu0807@gmail.com>
@jimmychu0807
Copy link
Contributor Author

@apopiak thanks for the review 🙏

Signed-off-by: Jimmy Chu <jimmychu0807@gmail.com>
Copy link
Contributor

@s3krit s3krit left a comment

Choose a reason for hiding this comment

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

Awesome to see we're documenting this more. I'll need to look into this a lot more to think about how we can better improve the automation for releasing node-template in the future, but in the meantime this is a really good change. Glad to see it's being documented :)

Signed-off-by: Jimmy Chu <jimmychu0807@gmail.com>
Signed-off-by: Jimmy Chu <jimmychu0807@gmail.com>
Signed-off-by: Jimmy Chu <jimmychu0807@gmail.com>
@jimmychu0807 jimmychu0807 merged commit 9768df2 into master Mar 29, 2021
@jimmychu0807 jimmychu0807 deleted the jc/node-tpl-work branch March 29, 2021 23:47
[*]
indent_style=space
indent_size=2
tab_width=2
Copy link
Member

Choose a reason for hiding this comment

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

did we want to commit this file?

ordian added a commit that referenced this pull request Mar 31, 2021
* master: (84 commits)
  Duplicate logging to stdout (#8495)
  Fix sync restart (#8497)
  client: fix justifications migration (#8489)
  helper macro to create storage types on the fly (#8456)
  Make `BlockImport` and `Verifier` async (#8472)
  Get rid of `test-helpers` feature in sc-consensus-babe (#8486)
  Enhancement on Substrate Node Template (#8473)
  Add Social Network (#8065)
  Prepare UI tests for Rust 1.51 & new CI image (#8474)
  Benchmarking pallet-example (#8301)
  Use pathbuf for remote externalities (#8480)
  Bring back the on_finalize weight of staking. (#8463)
  Implement `fungible::*` for Balances (#8454)
  make types within `generate_solution_type` macro explicit (#8447)
  [pallet-staking] Refund unused weight for `payout_stakers` (#8458)
  Use `async_trait` in sc-consensus-slots (#8461)
  Repot frame_support::traits; introduce some new currency stuff (#8435)
  Fix &mut self -> &self in add_known_address (#8468)
  Add NetworkService::add_known_address (#8467)
  Fix companion check (#8464)
  ...
hirschenberger pushed a commit to hirschenberger/substrate that referenced this pull request Apr 14, 2021
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D2-notlive 💤 PR contains changes in a runtime directory that is not deployed to a chain that requires an audit.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants