Skip to content

Commit

Permalink
Merge pull request #78 from Cerebellum-Network/hotfix/fix-contracts-d…
Browse files Browse the repository at this point in the history
…isappearance

Fix contracts disappearing
  • Loading branch information
MRamanenkau authored Aug 14, 2023
2 parents 4f6f939 + 7f9bcb5 commit 5f1e8d3
Show file tree
Hide file tree
Showing 21 changed files with 54 additions and 46 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- ...

## [4.8.1]

### Added

- [C,D] Contract migration

## [4.8.0]

### Added
Expand Down
32 changes: 16 additions & 16 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ path = "src/main.rs"
[package]
name = "cere"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
version = "4.8.0"
version = "4.8.1"
edition = "2021"
build = "build.rs"

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN PB_REL="https://github.com/protocolbuffers/protobuf/releases" && \
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y && \
export PATH=$PATH:$HOME/.cargo/bin && \
scripts/init.sh && \
cargo build --$PROFILE
cargo build --locked --$PROFILE

# ===== SECOND STAGE ======
FROM phusion/baseimage:0.11
Expand Down
2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cere-cli"
version = "4.8.0"
version = "4.8.1"
edition = "2021"

[package.metadata.wasm-pack.profile.release]
Expand Down
2 changes: 1 addition & 1 deletion node/client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cere-client"
version = "4.8.0"
version = "4.8.1"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion node/service/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cere-service"
version = "4.8.0"
version = "4.8.1"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion pallets/chainbridge/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-chainbridge"
version = "4.8.0"
version = "4.8.1"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
license = "Unlicense"
Expand Down
2 changes: 1 addition & 1 deletion pallets/ddc-metrics-offchain-worker/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-ddc-metrics-offchain-worker"
version = "4.8.0"
version = "4.8.1"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
license = "Unlicense"
Expand Down
2 changes: 1 addition & 1 deletion pallets/ddc-staking/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-ddc-staking"
version = "4.8.0"
version = "4.8.1"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion pallets/ddc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ homepage = 'https://www.cere.network/'
license = 'Unlicense'
name = 'pallet-cere-ddc'
repository = 'https://github.com/Cerebellum-Network/ddc-pallet'
version = '4.8.0'
version = '4.8.1'
readme = 'README.md'

[package.metadata.docs.rs]
Expand Down
2 changes: 1 addition & 1 deletion pallets/erc20/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-erc20"
version = "4.8.0"
version = "4.8.1"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
license = "Unlicense"
Expand Down
2 changes: 1 addition & 1 deletion pallets/erc721/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-erc721"
version = "4.8.0"
version = "4.8.1"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
license = "Unlicense"
Expand Down
2 changes: 1 addition & 1 deletion rpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cere-rpc"
version = "4.8.0"
version = "4.8.1"
edition = "2021"

[dependencies]
Expand Down
14 changes: 7 additions & 7 deletions runtime/cere-dev/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cere-dev-runtime"
version = "4.8.0"
version = "4.8.1"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
build = "build.rs"
Expand Down Expand Up @@ -96,12 +96,12 @@ pallet-transaction-storage = { version = "4.0.0-dev", default-features = false,
pallet-vesting = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.30" }
cere-runtime-common = { path = "../common", default-features = false }
cere-dev-runtime-constants = { path = "./constants", default-features = false }
pallet-ddc-staking = { version = "4.8.0", default-features = false, path = "../../pallets/ddc-staking" }
pallet-chainbridge = { version = "4.8.0", default-features = false, path = "../../pallets/chainbridge" }
pallet-cere-ddc = { version = "4.8.0", default-features = false, path = "../../pallets/ddc" }
pallet-erc721 = { version = "4.8.0", default-features = false, path = "../../pallets/erc721" }
pallet-erc20 = { version = "4.8.0", default-features = false, path = "../../pallets/erc20" }
pallet-ddc-metrics-offchain-worker = { version = "4.8.0", default-features = false, path = "../../pallets/ddc-metrics-offchain-worker" }
pallet-ddc-staking = { version = "4.8.1", default-features = false, path = "../../pallets/ddc-staking" }
pallet-chainbridge = { version = "4.8.1", default-features = false, path = "../../pallets/chainbridge" }
pallet-cere-ddc = { version = "4.8.1", default-features = false, path = "../../pallets/ddc" }
pallet-erc721 = { version = "4.8.1", default-features = false, path = "../../pallets/erc721" }
pallet-erc20 = { version = "4.8.1", default-features = false, path = "../../pallets/erc20" }
pallet-ddc-metrics-offchain-worker = { version = "4.8.1", default-features = false, path = "../../pallets/ddc-metrics-offchain-worker" }

[build-dependencies]
substrate-wasm-builder = { version = "5.0.0-dev", git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.30" }
Expand Down
2 changes: 1 addition & 1 deletion runtime/cere-dev/constants/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cere-dev-runtime-constants"
version = "4.8.0"
version = "4.8.1"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"

Expand Down
3 changes: 2 additions & 1 deletion runtime/cere-dev/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,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: 48000,
spec_version: 48001,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 5,
Expand Down Expand Up @@ -1444,6 +1444,7 @@ pub type Executive = frame_executive::Executive<
StakingMigrationV11OldPallet,
>,
pallet_staking::migrations::v12::MigrateToV12<Runtime>,
pallet_contracts::Migration<Runtime>,
),
>;

Expand Down
12 changes: 6 additions & 6 deletions runtime/cere/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cere-runtime"
version = "4.8.0"
version = "4.8.1"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"
build = "build.rs"
Expand Down Expand Up @@ -96,11 +96,11 @@ pallet-transaction-storage = { version = "4.0.0-dev", default-features = false,
pallet-vesting = { version = "4.0.0-dev", default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.30" }
cere-runtime-common = { path = "../common", default-features = false }
cere-runtime-constants = { path = "./constants", default-features = false }
pallet-chainbridge = { version = "4.8.0", default-features = false, path = "../../pallets/chainbridge" }
pallet-cere-ddc = { version = "4.8.0", default-features = false, path = "../../pallets/ddc" }
pallet-erc721 = { version = "4.8.0", default-features = false, path = "../../pallets/erc721" }
pallet-erc20 = { version = "4.8.0", default-features = false, path = "../../pallets/erc20" }
pallet-ddc-metrics-offchain-worker = { version = "4.8.0", default-features = false, path = "../../pallets/ddc-metrics-offchain-worker" }
pallet-chainbridge = { version = "4.8.1", default-features = false, path = "../../pallets/chainbridge" }
pallet-cere-ddc = { version = "4.8.1", default-features = false, path = "../../pallets/ddc" }
pallet-erc721 = { version = "4.8.1", default-features = false, path = "../../pallets/erc721" }
pallet-erc20 = { version = "4.8.1", default-features = false, path = "../../pallets/erc20" }
pallet-ddc-metrics-offchain-worker = { version = "4.8.1", default-features = false, path = "../../pallets/ddc-metrics-offchain-worker" }

[build-dependencies]
substrate-wasm-builder = { version = "5.0.0-dev", git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.30" }
Expand Down
2 changes: 1 addition & 1 deletion runtime/cere/constants/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cere-runtime-constants"
version = "4.8.0"
version = "4.8.1"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"

Expand Down
3 changes: 2 additions & 1 deletion runtime/cere/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,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: 48000,
spec_version: 48001,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 5,
Expand Down Expand Up @@ -1423,6 +1423,7 @@ pub type Executive = frame_executive::Executive<
StakingMigrationV11OldPallet,
>,
pallet_staking::migrations::v12::MigrateToV12<Runtime>,
pallet_contracts::Migration<Runtime>,
),
>;

Expand Down
2 changes: 1 addition & 1 deletion runtime/common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cere-runtime-common"
version = "4.8.0"
version = "4.8.1"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"

Expand Down

0 comments on commit 5f1e8d3

Please sign in to comment.