diff --git a/crates/iota-benchmark/tests/simtest.rs b/crates/iota-benchmark/tests/simtest.rs index 44fd754e58a..d59d8a0b66f 100644 --- a/crates/iota-benchmark/tests/simtest.rs +++ b/crates/iota-benchmark/tests/simtest.rs @@ -668,7 +668,8 @@ mod test { } async fn test_protocol_upgrade_compatibility_impl() { - let max_ver = ProtocolVersion::MAX_ALLOWED.as_u64(); + // TODO: Remove the `+ 1` after we have Protocol version 2 + let max_ver = ProtocolVersion::MAX.as_u64() + 1; let manifest = iota_framework_snapshot::load_bytecode_snapshot_manifest(); let Some((&starting_version, _)) = manifest.range(..max_ver).last() else {