Skip to content

Commit

Permalink
bump current code storage version for automation time and bump spec a…
Browse files Browse the repository at this point in the history
…nd transaction version (#132)

* bump current code storage version for automation time and bump spec and transaction version

* remove log

* adjust changelog

* fix date on 278

* fix date on 279

* whoops, back down to 279

Co-authored-by: Justin Zhou <[email protected]>
  • Loading branch information
justinzhou93 and Justin Zhou committed Apr 26, 2022
1 parent f59d765 commit deaa174
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ 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]
- switched scheduled time slots from minutes to hours. Migration used to clear all tasks in existing maps and queues.

## [279] - 2022-04-29
- Change scheduled time slots from minutes to hours. Migration used to clear all tasks in existing maps and queues.
- Change max tasks in a given slot to 256 per hour.
- Added recurring tasks feature to schedule up to 24 recurring executions for a single task.

## [1.2.8] - 2022-04-05
- Updated to substrate 0.9.18
Expand Down
2 changes: 1 addition & 1 deletion pallets/automation-time/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ pub use weights::WeightInfo;

// NOTE: this is the current storage version for the code.
// On migration, you will need to increment this.
const CURRENT_CODE_STORAGE_VERSION: StorageVersion = StorageVersion::new(1);
const CURRENT_CODE_STORAGE_VERSION: StorageVersion = StorageVersion::new(2);

#[frame_support::pallet]
pub mod pallet {
Expand Down
4 changes: 2 additions & 2 deletions runtime/neumann/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("neumann"),
impl_name: create_runtime_str!("neumann"),
authoring_version: 1,
spec_version: 278,
spec_version: 279,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 5,
transaction_version: 6,
state_version: 0,
};

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

Expand Down

0 comments on commit deaa174

Please sign in to comment.