-
Notifications
You must be signed in to change notification settings - Fork 766
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
New runtime spec_version
format + backport of the bump to 1.4.0
#2468
Changes from 9 commits
2fe5ad2
8016605
99f85ad
ba5172e
83c1198
afaa4aa
b982696
5bdc074
004b5af
2683201
99cb0a8
9e3461f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -230,7 +230,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { | |
spec_name: create_runtime_str!("penpal-parachain"), | ||
impl_name: create_runtime_str!("penpal-parachain"), | ||
authoring_version: 1, | ||
spec_version: 10000, | ||
spec_version: 1, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. and here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a test runtime, that should never require a spec version bump. |
||
impl_version: 0, | ||
apis: RUNTIME_API_VERSIONS, | ||
transaction_version: 1, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -105,7 +105,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { | |
// `spec_version`, and `authoring_version` are the same between Wasm and native. | ||
// This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use | ||
// the compatible custom types. | ||
spec_version: 100, | ||
spec_version: 1, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the comment says it should be 100. will this also be an issue for other runtime that you set version to 1? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I should read documents 🙈 POLKADOTJSS!!!!!! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. FML
bkchr marked this conversation as resolved.
Show resolved
Hide resolved
|
||
impl_version: 1, | ||
apis: RUNTIME_API_VERSIONS, | ||
transaction_version: 1, | ||
|
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.
you're saying this won't be a problem 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.
This is more like a template runtime.