Skip to content

Commit

Permalink
Runtime upgrade to 200 (#9)
Browse files Browse the repository at this point in the history
* add justfile try-runtime

* update spec_version to 200

* bump versions
  • Loading branch information
sigoden authored Sep 15, 2021
1 parent a2c39ef commit 56e3967
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 19 deletions.
18 changes: 9 additions & 9 deletions Cargo.lock

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

9 changes: 9 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,12 @@ run +args='--dev --tmp':
--unsafe-rpc-external \
--rpc-cors all \
--unsafe-ws-external

try-runtime block *args:
cargo run \
--features=try-runtime \
try-runtime \
--block-at {{block}} \
{{args}} \
on-runtime-upgrade \
live
2 changes: 1 addition & 1 deletion node/cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "deer-cli"
version = "0.1.0"
version = "0.2.0"
description = "Official Rust implementation of the Deer protocol"
build = "build.rs"
edition = "2018"
Expand Down
2 changes: 1 addition & 1 deletion node/executor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "deer-executor"
version = "0.1.0"
version = "0.2.0"
description = "Official Rust implementation of the Deer protocol"
edition = "2018"
license = "Apache 2.0"
Expand Down
2 changes: 1 addition & 1 deletion node/inspect/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "deer-inspect"
version = "0.1.0"
version = "0.2.0"
edition = "2018"
license = "Apache 2.0"
homepage = "https://deernetwork.org"
Expand Down
2 changes: 1 addition & 1 deletion node/primitives/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "deer-primitives"
version = "0.1.0"
version = "0.2.0"
edition = "2018"
license = "Apache 2.0"
homepage = "https://deernetwork.org"
Expand Down
2 changes: 1 addition & 1 deletion node/rpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "deer-rpc"
version = "0.1.0"
version = "0.2.0"
edition = "2018"
license = "Apache 2.0"
homepage = "https://deernetwork.org"
Expand Down
2 changes: 1 addition & 1 deletion node/runtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "deer-runtime"
version = "0.1.0"
version = "0.2.0"
edition = "2018"
build = "build.rs"
license = "Apache 2.0"
Expand Down
2 changes: 1 addition & 1 deletion node/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// and set impl_version to 0. If only runtime
// implementation changes and behavior does not, then leave spec_version as
// is and increment impl_version.
spec_version: 110,
spec_version: 200,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand Down
2 changes: 1 addition & 1 deletion pallets/nft-order/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-nft-order"
version = "0.1.0"
version = "0.2.0"
edition = "2018"
license = "Apache 2.0"

Expand Down
2 changes: 1 addition & 1 deletion pallets/nft/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-nft"
version = "0.1.0"
version = "0.2.0"
edition = "2018"
license = "Apache 2.0"

Expand Down
2 changes: 1 addition & 1 deletion pallets/storage/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-storage"
version = "0.1.0"
version = "0.2.0"
edition = "2018"
license = "Apache 2.0"

Expand Down

0 comments on commit 56e3967

Please sign in to comment.