Skip to content

Commit dd1b787

Browse files
authored
Merge pull request #6679 from brice-stacks/fix/costs-4-receipt
fix: emit receipt for `costs-4` deploy
2 parents 697fe43 + 177f412 commit dd1b787

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ and this project adheres to the versioning scheme outlined in the [README.md](RE
1313
- Added `result_hex` and `post_condition_aborted` to the block replay RPC endpoint
1414
- Added `--epoch <epoch_number>` flag to `clarity-cli` commands to specify the epoch context for evaluation.
1515

16+
### Fixed
17+
18+
- 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.
19+
1620
## [3.3.0.0.1]
1721

1822
- 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.

stackslib/src/clarity_vm/clarity.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1918,7 +1918,7 @@ impl<'a, 'b> ClarityBlockConnection<'a, 'b> {
19181918
}
19191919

19201920
info!("Epoch 3.3 initialized");
1921-
(old_cost_tracker, Ok(vec![]))
1921+
(old_cost_tracker, Ok(vec![costs_4_initialization_receipt]))
19221922
})
19231923
}
19241924

0 commit comments

Comments
 (0)