Skip to content

Commit

Permalink
chore: bump asset-balances to match release (#5305)
Browse files Browse the repository at this point in the history
* chore: bump asset-balances to match release

* chore: use 1.6.7 dylib
  • Loading branch information
kylezs authored Oct 1, 2024
1 parent 36ff9dc commit 820c5f9
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 by the package github actions workflow.
# It downloads the correct version from the releases page.
[
"target/release/libchainflip_engine_v1_6_3.so",
"target/release/libchainflip_engine_v1_6_7.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_6_3.so",
"usr/lib/chainflip-engine/libchainflip_engine_v1_6_7.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.6.3")]
#[engine_proc_macros::link_engine_library_version("1.6.7")]
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.6.3";
pub const OLD_VERSION: &str = "1.6.7";
pub const NEW_VERSION: &str = "1.7.0";

pub const ENGINE_LIB_PREFIX: &str = "chainflip_engine_v";
Expand Down
2 changes: 1 addition & 1 deletion state-chain/pallets/cf-asset-balances/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ mod mock;
#[cfg(test)]
mod tests;

pub const PALLET_VERSION: StorageVersion = StorageVersion::new(0);
pub const PALLET_VERSION: StorageVersion = StorageVersion::new(1);

pub const REFUND_FEE_MULTIPLE: AssetAmount = 100;

Expand Down

0 comments on commit 820c5f9

Please sign in to comment.