Skip to content

Commit

Permalink
chore: bump old CFE version to 1.7.5 (#5500)
Browse files Browse the repository at this point in the history
* chore: bump old CFE version to 1.7.5

* fix: bump pallet version

---------

Co-authored-by: Ramiz Siddiqui <ramiz@chainflip.io>
  • Loading branch information
kylezs and ramizhasan111 authored Dec 13, 2024
1 parent f969c92 commit 1a6856c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions engine-runner-bin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
],
]
Expand Down
2 changes: 1 addition & 1 deletion engine-runner-bin/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion engine-upgrade-utils/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion state-chain/pallets/cf-ingress-egress/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ impl<C: Chain> CrossChainMessage<C> {
}
}

pub const PALLET_VERSION: StorageVersion = StorageVersion::new(16);
pub const PALLET_VERSION: StorageVersion = StorageVersion::new(17);

impl_pallet_safe_mode! {
PalletSafeMode<I>;
Expand Down

0 comments on commit 1a6856c

Please sign in to comment.