Skip to content

Commit

Permalink
chore: bump spec_version
Browse files Browse the repository at this point in the history
  • Loading branch information
wischli committed Jul 18, 2024
1 parent d7ab181 commit 8a4617e
Show file tree
Hide file tree
Showing 9 changed files with 61 additions and 86 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

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

94 changes: 47 additions & 47 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,48 +1,48 @@
[workspace]
resolver = "2"
members = [
"node",
"libs/mocks",
"libs/primitives",
"libs/test-utils",
"libs/traits",
"libs/types",
"libs/utils",
"pallets/anchors",
"pallets/anchors-v2",
"pallets/bridge",
"pallets/block-rewards",
"pallets/collator-allowlist",
"pallets/ethereum-transaction",
"pallets/fees",
"pallets/foreign-investments",
"pallets/interest-accrual",
"pallets/investments",
"pallets/keystore",
"pallets/liquidity-pools",
"pallets/liquidity-pools-gateway",
"pallets/liquidity-pools-gateway/axelar-gateway-precompile",
"pallets/liquidity-pools-gateway/routers",
"pallets/liquidity-rewards",
"pallets/loans",
"pallets/oracle-feed",
"pallets/oracle-collection",
"pallets/order-book",
"pallets/permissions",
"pallets/pool-fees",
"pallets/pool-system",
"pallets/pool-registry",
"pallets/restricted-tokens",
"pallets/restricted-xtokens",
"pallets/rewards",
"pallets/token-mux",
"pallets/transfer-allowlist",
"runtime/altair",
"runtime/centrifuge",
"runtime/development",
"runtime/common",
"runtime/integration-tests",
"runtime/integration-tests/procedural",
"node",
"libs/mocks",
"libs/primitives",
"libs/test-utils",
"libs/traits",
"libs/types",
"libs/utils",
"pallets/anchors",
"pallets/anchors-v2",
"pallets/bridge",
"pallets/block-rewards",
"pallets/collator-allowlist",
"pallets/ethereum-transaction",
"pallets/fees",
"pallets/foreign-investments",
"pallets/interest-accrual",
"pallets/investments",
"pallets/keystore",
"pallets/liquidity-pools",
"pallets/liquidity-pools-gateway",
"pallets/liquidity-pools-gateway/axelar-gateway-precompile",
"pallets/liquidity-pools-gateway/routers",
"pallets/liquidity-rewards",
"pallets/loans",
"pallets/oracle-feed",
"pallets/oracle-collection",
"pallets/order-book",
"pallets/permissions",
"pallets/pool-fees",
"pallets/pool-system",
"pallets/pool-registry",
"pallets/restricted-tokens",
"pallets/restricted-xtokens",
"pallets/rewards",
"pallets/token-mux",
"pallets/transfer-allowlist",
"runtime/altair",
"runtime/centrifuge",
"runtime/development",
"runtime/common",
"runtime/integration-tests",
"runtime/integration-tests/procedural",
]

[workspace.package]
Expand All @@ -52,7 +52,7 @@ license = "LGPL-3.0"
homepage = "https://centrifuge.io/"
repository = "https://github.com/centrifuge/centrifuge-chain"
documentation = "https://reference.centrifuge.io/centrifuge_chain/index.html"
version = "0.13.0"
version = "0.13.1"

[workspace.dependencies]
hex-literal = { version = "0.4.1" }
Expand Down Expand Up @@ -175,7 +175,7 @@ frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", defau
frame-executive = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.7.2" }
frame-metadata-hash-extension = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.7.2" }
frame-support = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, features = [
"tuples-96",
"tuples-96",
], branch = "release-polkadot-v1.7.2" } # Check when tuples-96 can be removed
frame-system = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.7.2" }
frame-system-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.7.2" }
Expand Down Expand Up @@ -286,14 +286,14 @@ pallet-remarks = { git = "https://github.com/foss3/runtime-pallet-library", bran
# Moonbeam fork of polkadot-evm/frontier
fp-rpc = { git = "https://github.com/moonbeam-foundation/frontier", default-features = false, branch = "moonbeam-polkadot-v1.7.2" }
fp-self-contained = { git = "https://github.com/moonbeam-foundation/frontier", default-features = false, branch = "moonbeam-polkadot-v1.7.2", features = [
"serde",
"serde",
] }
pallet-base-fee = { git = "https://github.com/moonbeam-foundation/frontier", default-features = false, branch = "moonbeam-polkadot-v1.7.2" }
pallet-ethereum = { git = "https://github.com/moonbeam-foundation/frontier", default-features = false, branch = "moonbeam-polkadot-v1.7.2", features = [
"forbid-evm-reentrancy",
"forbid-evm-reentrancy",
] }
pallet-evm = { git = "https://github.com/moonbeam-foundation/frontier", default-features = false, branch = "moonbeam-polkadot-v1.7.2", features = [
"forbid-evm-reentrancy",
"forbid-evm-reentrancy",
] }
pallet-evm-chain-id = { git = "https://github.com/moonbeam-foundation/frontier", default-features = false, branch = "moonbeam-polkadot-v1.7.2" }
pallet-evm-precompile-blake2 = { git = "https://github.com/moonbeam-foundation/frontier", default-features = false, branch = "moonbeam-polkadot-v1.7.2" }
Expand Down
4 changes: 2 additions & 2 deletions runtime/altair/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("altair"),
impl_name: create_runtime_str!("altair"),
authoring_version: 1,
spec_version: 1300,
spec_version: 1301,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 2,
Expand Down Expand Up @@ -2059,7 +2059,7 @@ pub type Executive = frame_executive::Executive<
frame_system::ChainContext<Runtime>,
Runtime,
AllPalletsWithSystem,
migrations::UpgradeAltair1300,
migrations::UpgradeAltair1301,
>;

// Frame Order in this block dictates the index of each one in the metadata
Expand Down
2 changes: 1 addition & 1 deletion runtime/altair/src/migrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@

/// The migration set for Altair @ Kusama.
/// It includes all the migrations that have to be applied on that chain.
pub type UpgradeAltair1300 = ();
pub type UpgradeAltair1301 = ();
4 changes: 2 additions & 2 deletions runtime/centrifuge/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("centrifuge"),
impl_name: create_runtime_str!("centrifuge"),
authoring_version: 1,
spec_version: 1300,
spec_version: 1301,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 2,
Expand Down Expand Up @@ -2070,7 +2070,7 @@ pub type Executive = frame_executive::Executive<
frame_system::ChainContext<Runtime>,
Runtime,
AllPalletsWithSystem,
migrations::UpgradeCentrifuge1300,
migrations::UpgradeCentrifuge1301,
>;

// Frame Order in this block dictates the index of each one in the metadata
Expand Down
2 changes: 1 addition & 1 deletion runtime/centrifuge/src/migrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@

/// The migration set for Centrifuge @ Polkadot.
/// It includes all the migrations that have to be applied on that chain.
pub type UpgradeCentrifuge1300 = ();
pub type UpgradeCentrifuge1301 = ();
4 changes: 2 additions & 2 deletions runtime/development/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("centrifuge-devel"),
impl_name: create_runtime_str!("centrifuge-devel"),
authoring_version: 1,
spec_version: 1300,
spec_version: 1301,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 2,
Expand Down Expand Up @@ -2159,7 +2159,7 @@ pub type Executive = frame_executive::Executive<
frame_system::ChainContext<Runtime>,
Runtime,
AllPalletsWithSystem,
crate::migrations::UpgradeDevelopment1300,
crate::migrations::UpgradeDevelopment1301,
>;

// Frame Order in this block dictates the index of each one in the metadata
Expand Down
27 changes: 1 addition & 26 deletions runtime/development/src/migrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,4 @@
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

use cfg_primitives::AccountId;
use sp_core::parameter_types;
use sp_std::{vec, vec::Vec};

parameter_types! {
// Alice
pub InitialTcMembers: Vec<AccountId> = vec![AccountId::new(hex_literal::hex!("d43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d"))];
}

/// The migration set for Development & Demo.
/// It includes all the migrations that have to be applied on that chain.
pub type UpgradeDevelopment1300 = (
// Initialize OpenGov Technical Committee with Alice
runtime_common::migrations::technical_comittee::InitMigration<crate::Runtime, InitialTcMembers>,
runtime_common::migrations::increase_storage_version::Migration<crate::Referenda, 0, 1>,
runtime_common::migrations::increase_storage_version::Migration<
crate::TechnicalCommittee,
0,
4,
>,
runtime_common::migrations::increase_storage_version::Migration<
crate::TechnicalCommitteeMembership,
0,
4,
>,
);
pub type UpgradeDevelopment1301 = ();
2 changes: 1 addition & 1 deletion scripts/js/runtime-upgrade-remote/perform-upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fi
# && \. "$NVM_DIR/nvm.sh"' >> ~/.zshrc && source ~/.zshrc && nvm install node

# Define the tag and calculate the short git hash
TAG="v0.13.0"
TAG="v0.13.1"
GIT_HASH=$(git rev-parse --short=7 $TAG)

# Download the WASM file from Google Cloud Storage
Expand Down

0 comments on commit 8a4617e

Please sign in to comment.