Skip to content

Commit

Permalink
Bump runtime spec version to 281 (#145)
Browse files Browse the repository at this point in the history
* Update parachain-staking

* Add CollatorRegistration config

* Bump runtime versions

* Bump transaction version

* Update changelog

* Add unreleased to changelog
  • Loading branch information
nvengal committed May 17, 2022
1 parent 956f808 commit b460792
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [1.3.0] - 2022-05-17
- Moving Turing xcm configs to their own file.
- Allow foreign tokens to get stored on-chain
- Enable cross chain token transfers
- Lower existential deposit from .1 to .01
- Adding Karura tokens
- Ensure CollatorRegistration before joining candidate pool
- Update to substrate 0.9.19

## [279] - 2022-04-29
- Change scheduled time slots from minutes to hours. Migration used to clear all tasks in existing maps and queues.
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions runtime/neumann/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,10 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("neumann"),
impl_name: create_runtime_str!("neumann"),
authoring_version: 1,
spec_version: 280,
spec_version: 281,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 7,
transaction_version: 8,
state_version: 0,
};

Expand Down Expand Up @@ -553,6 +553,8 @@ impl parachain_staking::Config for Runtime {
type OnCollatorPayout = ();
/// Handler to notify the runtime when a new round begins
type OnNewRound = ();
/// Whether a given collator has completed required registration to be selected as block author
type CollatorRegistration = Session;
type WeightInfo = parachain_staking::weights::SubstrateWeight<Runtime>;
}

Expand Down
6 changes: 4 additions & 2 deletions runtime/turing/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("turing"),
impl_name: create_runtime_str!("turing"),
authoring_version: 1,
spec_version: 280,
spec_version: 281,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 7,
transaction_version: 8,
state_version: 0,
};

Expand Down Expand Up @@ -565,6 +565,8 @@ impl parachain_staking::Config for Runtime {
type OnCollatorPayout = ();
/// Handler to notify the runtime when a new round begins
type OnNewRound = ();
/// Whether a given collator has completed required registration to be selected as block author
type CollatorRegistration = Session;
type WeightInfo = parachain_staking::weights::SubstrateWeight<Runtime>;
}

Expand Down

0 comments on commit b460792

Please sign in to comment.