Skip to content

Commit

Permalink
chore: bump old engine version
Browse files Browse the repository at this point in the history
  • Loading branch information
kylezs committed Nov 20, 2024
1 parent a639c68 commit 688ab87
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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 by the package github actions workflow.
# It downloads the correct version from the releases page.
[
"target/release/libchainflip_engine_v1_7_0.so",
"target/release/libchainflip_engine_v1_7_1.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_0.so",
"usr/lib/chainflip-engine/libchainflip_engine_v1_7_1.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 @@ -2,7 +2,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.0")]
#[engine_proc_macros::link_engine_library_version("1.7.1")]
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.0";
pub const OLD_VERSION: &str = "1.7.1";
pub const NEW_VERSION: &str = "1.8.0";

pub const ENGINE_LIB_PREFIX: &str = "chainflip_engine_v";
Expand Down

0 comments on commit 688ab87

Please sign in to comment.