diff --git a/CHANGELOG.md b/CHANGELOG.md index aca7a16998..53f7d6b45b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ More expansive patch notes and explanations may be found in the specific [pathfi The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## Unreleased + +### Fixed + +- Missing versioned constants for 0.14.3 causing some `starknet_traceBlockTransactions` calls to fail. + ## [0.22.6] - 2026-06-18 ### Added diff --git a/crates/executor/src/execution_state.rs b/crates/executor/src/execution_state.rs index f0b198c868..a51b64e0e9 100644 --- a/crates/executor/src/execution_state.rs +++ b/crates/executor/src/execution_state.rs @@ -43,6 +43,8 @@ mod versions { pub(super) const STARKNET_VERSION_0_14_1: StarknetVersion = StarknetVersion::new(0, 14, 1, 0); pub(super) const STARKNET_VERSION_0_14_2: StarknetVersion = StarknetVersion::new(0, 14, 2, 0); + + pub(super) const STARKNET_VERSION_0_14_3: StarknetVersion = StarknetVersion::new(0, 14, 3, 0); } #[derive(Clone, Debug)] @@ -63,7 +65,7 @@ impl VersionedConstantsMap { } pub fn latest_version() -> StarknetVersion { - versions::STARKNET_VERSION_0_14_2 + versions::STARKNET_VERSION_0_14_3 } fn fill_default(data: &mut BTreeMap>) { @@ -129,6 +131,12 @@ impl VersionedConstantsMap { VersionedConstants::get(&starknet_api::block::StarknetVersion::V0_14_2) .expect("Failed to get versioned constants for 0.14.2"), ); + Self::insert_default( + data, + &STARKNET_VERSION_0_14_3, + VersionedConstants::get(&starknet_api::block::StarknetVersion::V0_14_3) + .expect("Failed to get versioned constants for 0.14.3"), + ); } fn insert_default(