From 1a6856cfe80e45cc0c8c845c12d92e8755b73707 Mon Sep 17 00:00:00 2001 From: kylezs Date: Fri, 13 Dec 2024 15:47:28 +0100 Subject: [PATCH] chore: bump old CFE version to 1.7.5 (#5500) * chore: bump old CFE version to 1.7.5 * fix: bump pallet version --------- Co-authored-by: Ramiz Siddiqui --- engine-runner-bin/Cargo.toml | 4 ++-- engine-runner-bin/src/main.rs | 2 +- engine-upgrade-utils/src/lib.rs | 2 +- state-chain/pallets/cf-ingress-egress/src/lib.rs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/engine-runner-bin/Cargo.toml b/engine-runner-bin/Cargo.toml index b658296ee9..445f64b454 100644 --- a/engine-runner-bin/Cargo.toml +++ b/engine-runner-bin/Cargo.toml @@ -31,10 +31,10 @@ assets = [ # The old version gets put into target/release/deps by the package github actions workflow. # It downloads the correct version from the releases page. [ - "target/release/libchainflip_engine_v1_7_2.so", + "target/release/libchainflip_engine_v1_7_5.so", # This is the path where the engine dylib is searched for on linux. # As set in the build.rs file. - "usr/lib/chainflip-engine/libchainflip_engine_v1_7_2.so", + "usr/lib/chainflip-engine/libchainflip_engine_v1_7_5.so", "755", ], ] diff --git a/engine-runner-bin/src/main.rs b/engine-runner-bin/src/main.rs index 309722ede9..1cedfab11b 100644 --- a/engine-runner-bin/src/main.rs +++ b/engine-runner-bin/src/main.rs @@ -3,7 +3,7 @@ use engine_upgrade_utils::{CStrArray, NEW_VERSION, OLD_VERSION}; // Declare the entrypoints into each version of the engine mod old { - #[engine_proc_macros::link_engine_library_version("1.7.2")] + #[engine_proc_macros::link_engine_library_version("1.7.5")] extern "C" { pub fn cfe_entrypoint( c_args: engine_upgrade_utils::CStrArray, diff --git a/engine-upgrade-utils/src/lib.rs b/engine-upgrade-utils/src/lib.rs index 77bf8dc682..295f5bb05b 100644 --- a/engine-upgrade-utils/src/lib.rs +++ b/engine-upgrade-utils/src/lib.rs @@ -10,7 +10,7 @@ pub mod build_helpers; // rest of the places the version needs changing on build using the build scripts in each of the // relevant crates. // Should also check that the compatibility function below `args_compatible_with_old` is correct. -pub const OLD_VERSION: &str = "1.7.2"; +pub const OLD_VERSION: &str = "1.7.5"; pub const NEW_VERSION: &str = "1.8.0"; pub const ENGINE_LIB_PREFIX: &str = "chainflip_engine_v"; diff --git a/state-chain/pallets/cf-ingress-egress/src/lib.rs b/state-chain/pallets/cf-ingress-egress/src/lib.rs index a813c2eefe..c459da5d12 100644 --- a/state-chain/pallets/cf-ingress-egress/src/lib.rs +++ b/state-chain/pallets/cf-ingress-egress/src/lib.rs @@ -244,7 +244,7 @@ impl CrossChainMessage { } } -pub const PALLET_VERSION: StorageVersion = StorageVersion::new(16); +pub const PALLET_VERSION: StorageVersion = StorageVersion::new(17); impl_pallet_safe_mode! { PalletSafeMode;