diff --git a/core/primitives/src/runtime/config_store.rs b/core/primitives/src/runtime/config_store.rs index 1d27209dfa6..34e9d4e5f2c 100644 --- a/core/primitives/src/runtime/config_store.rs +++ b/core/primitives/src/runtime/config_store.rs @@ -36,6 +36,7 @@ static CONFIG_DIFFS: &[(ProtocolVersion, &str)] = &[ (61, include_config!("61.yaml")), (62, include_config!("62.yaml")), (63, include_config!("63.yaml")), + #[cfg(not(feature = "sandbox"))] (64, include_config!("64.yaml")), (129, include_config!("129.yaml")), ]; diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index 29a9e6ef6c3..44ce520d62a 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -135,7 +135,12 @@ nightly_protocol = [ "node-runtime/nightly_protocol", "testlib/nightly_protocol", ] -sandbox = ["near-chain/sandbox", "node-runtime/sandbox", "near-client/sandbox"] +sandbox = [ + "near-chain/sandbox", + "node-runtime/sandbox", + "near-client/sandbox", + "near-primitives/sandbox", +] no_cache = ["nearcore/no_cache"] calimero_zero_storage = [] new_epoch_sync = ["nearcore/new_epoch_sync"] diff --git a/runtime/runtime/Cargo.toml b/runtime/runtime/Cargo.toml index 58e79b8abc3..9a935ae1580 100644 --- a/runtime/runtime/Cargo.toml +++ b/runtime/runtime/Cargo.toml @@ -57,7 +57,7 @@ no_cache = [ "near-store/no_cache", ] -sandbox = ["near-vm-runner/sandbox"] +sandbox = ["near-vm-runner/sandbox", "near-primitives/sandbox"] [dev-dependencies] assert_matches.workspace = true diff --git a/tools/state-viewer/Cargo.toml b/tools/state-viewer/Cargo.toml index d376fb2da79..a6d1068138a 100644 --- a/tools/state-viewer/Cargo.toml +++ b/tools/state-viewer/Cargo.toml @@ -55,6 +55,7 @@ sandbox = [ "node-runtime/sandbox", "near-chain/sandbox", "near-client/sandbox", + "near-primitives/sandbox", ] nightly = [ "nightly_protocol",