From b34f569733ddab5fb166478ffd250570ba58d066 Mon Sep 17 00:00:00 2001 From: James Date: Mon, 25 Aug 2025 14:45:43 -0400 Subject: [PATCH 1/2] fix: set test deploy height to a non-zero number --- crates/constants/src/chains/test_utils.rs | 2 +- crates/zenith/src/trevm.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/constants/src/chains/test_utils.rs b/crates/constants/src/chains/test_utils.rs index e37d0f85..aeba80ed 100644 --- a/crates/constants/src/chains/test_utils.rs +++ b/crates/constants/src/chains/test_utils.rs @@ -18,7 +18,7 @@ pub const HOST_NAME: &str = "Test Host"; /// Test chain id for the host chain. pub const HOST_CHAIN_ID: u64 = 1; /// Test deployment height. -pub const DEPLOY_HEIGHT: u64 = 0; +pub const DEPLOY_HEIGHT: u64 = 100; /// Test address for the host zenith. pub const HOST_ZENITH: Address = Address::repeat_byte(0x11); /// Test address for the host orders. diff --git a/crates/zenith/src/trevm.rs b/crates/zenith/src/trevm.rs index c99345e7..6ef382f4 100644 --- a/crates/zenith/src/trevm.rs +++ b/crates/zenith/src/trevm.rs @@ -40,7 +40,7 @@ mod test { fn roundtrip(expected: &T) { let enc = JournalEncode::encoded(expected); assert_eq!(enc.len(), expected.serialized_size(), "{}", core::any::type_name::()); - let dec = T::decode(&mut enc.as_slice()).expect("decoding failed"); + let dec = T::decode(&mut enc.as_ref()).expect("decoding failed"); assert_eq!(&dec, expected); } From 7075b580a2990b04d30c88e8d288cfb82b89f361 Mon Sep 17 00:00:00 2001 From: James Date: Mon, 25 Aug 2025 14:46:38 -0400 Subject: [PATCH 2/2] chore: bump version --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 24eda9dc..e84b5119 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["crates/*"] resolver = "2" [workspace.package] -version = "0.9.2" +version = "0.9.3" edition = "2021" rust-version = "1.81" authors = ["init4"]