From 146ca519ab4e97fc52df370852840a30a4fb294e Mon Sep 17 00:00:00 2001 From: Brice Dobry <232827048+brice-stacks@users.noreply.github.com> Date: Wed, 12 Nov 2025 11:42:09 -0500 Subject: [PATCH 1/3] fix: emit receipt for `costs-4` deploy --- stackslib/src/clarity_vm/clarity.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stackslib/src/clarity_vm/clarity.rs b/stackslib/src/clarity_vm/clarity.rs index cc8427062f6..79e14c40d30 100644 --- a/stackslib/src/clarity_vm/clarity.rs +++ b/stackslib/src/clarity_vm/clarity.rs @@ -1918,7 +1918,7 @@ impl<'a, 'b> ClarityBlockConnection<'a, 'b> { } info!("Epoch 3.3 initialized"); - (old_cost_tracker, Ok(vec![])) + (old_cost_tracker, Ok(vec![costs_4_initialization_receipt])) }) } From aa1ba68366df477d974d61c36790712b8f791b64 Mon Sep 17 00:00:00 2001 From: Brice Dobry <232827048+brice-stacks@users.noreply.github.com> Date: Mon, 17 Nov 2025 10:57:14 -0500 Subject: [PATCH 2/3] docs: added changelog about missing `costs-4` receipt --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9de7f060d7a..124842f98be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,10 @@ and this project adheres to the versioning scheme outlined in the [README.md](RE - Added `result_hex` and `post_condition_aborted` to the block replay RPC endpoint - Added `--epoch ` flag to `clarity-cli` commands to specify the epoch context for evaluation. +### Fixed + +- Added the missing receipt for the `costs-4` contract which was deployed on epoch 3.3 activation. This effects users of the event feed from the node, e.g. the Hiro API. Users of this event feed may want to revert their chain back to before the 3.3 activation, then run it again to receive this previously missing event. + ## [3.3.0.0.1] - Add indexes to `nakamoto_block_headers` to fix a performance regression. Node may take a few minutes to restart during the upgrade while the new indexes are created. From 177f412fa38f237c7699054dcd741d6c97e56bc7 Mon Sep 17 00:00:00 2001 From: Brice <232827048+brice-stacks@users.noreply.github.com> Date: Mon, 17 Nov 2025 11:16:56 -0500 Subject: [PATCH 3/3] Update CHANGELOG.md Co-authored-by: Adriano <228035176+adriano-stacks@users.noreply.github.com> --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 124842f98be..50d170fffd2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,7 @@ and this project adheres to the versioning scheme outlined in the [README.md](RE ### Fixed -- Added the missing receipt for the `costs-4` contract which was deployed on epoch 3.3 activation. This effects users of the event feed from the node, e.g. the Hiro API. Users of this event feed may want to revert their chain back to before the 3.3 activation, then run it again to receive this previously missing event. +- Correctly produce the receipt for the `costs-4` contract, which was deployed on epoch 3.3 activation. Users who consume node events and want to fill in the missing receipt (e.g. the Hiro API) will need to revert their chainstate to before the 3.3 activation and then resume sync to receive the previously missing event. ## [3.3.0.0.1]