diff --git a/packages/rs-drive-abci/src/execution/platform_events/protocol_upgrade/perform_events_on_first_block_of_protocol_change/v0/mod.rs b/packages/rs-drive-abci/src/execution/platform_events/protocol_upgrade/perform_events_on_first_block_of_protocol_change/v0/mod.rs index 1ee22fbcb2e..cd15441d2e6 100644 --- a/packages/rs-drive-abci/src/execution/platform_events/protocol_upgrade/perform_events_on_first_block_of_protocol_change/v0/mod.rs +++ b/packages/rs-drive-abci/src/execution/platform_events/protocol_upgrade/perform_events_on_first_block_of_protocol_change/v0/mod.rs @@ -2368,7 +2368,11 @@ mod tests { #[test] fn test_transition_from_version_10_triggers_11_and_12() { let platform_version = PlatformVersion::latest(); + // A chain born at 10, as the events replayed below assume: a chain born at the latest + // version already holds contracts that only later versions register, which the version + // 12 schema cleanup would strip of keywords it does not know yet. let platform = TestPlatformBuilder::new() + .with_initial_protocol_version(10) .build_with_mock_rpc() .set_genesis_state();