Skip to content

Commit db8a78b

Browse files
authored
fix: use the const (#115)
* fix: use the const * chore: bump version
1 parent 5d95851 commit db8a78b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ members = ["crates/*"]
33
resolver = "2"
44

55
[workspace.package]
6-
version = "0.9.3"
6+
version = "0.9.4"
77
edition = "2021"
88
rust-version = "1.81"
99
authors = ["init4"]

crates/constants/src/chains/test_utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ pub const TX_CACHE_URL: &str = "localhost:8080/txcache";
7979
/// Host config
8080
pub const HOST: HostConstants = HostConstants::new(
8181
HOST_CHAIN_ID,
82-
0,
82+
DEPLOY_HEIGHT,
8383
HOST_ZENITH,
8484
HOST_ORDERS,
8585
HOST_PASSAGE,

crates/test-utils/tests/extract.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fn extraction() {
1616
ru_block.add_simple_send(&TEST_SIGNERS[0], TEST_USERS[1], U256::from(GWEI_TO_WEI), 0);
1717

1818
let hbs = HostBlockSpec::test()
19-
.with_block_number(1)
19+
.with_block_number(TEST_SYS.host_deploy_height() + 1)
2020
.enter(TEST_USERS[0], (GWEI_TO_WEI * 4) as usize)
2121
.enter(TEST_USERS[1], (GWEI_TO_WEI * 2) as usize)
2222
.enter_token(TEST_USERS[2], 10_000_000, HOST_USDC)

0 commit comments

Comments
 (0)