Skip to content

fix: restore test assertions weakened during LargeSmt revert#1830

Merged
mmagician merged 1 commit intommagician-claude/update-base-to-betafrom
mmagician-claude/fix-pr-review
Mar 24, 2026
Merged

fix: restore test assertions weakened during LargeSmt revert#1830
mmagician merged 1 commit intommagician-claude/update-base-to-betafrom
mmagician-claude/fix-pr-review

Conversation

@mmagician
Copy link
Contributor

Summary

  • Restores 5 test assertions in crates/store/src/db/tests.rs that were weakened during the LargeSmt revert (concrete assert_eq! replaced with let _ and vague comments)
  • Fixes clone_on_copy clippy lint in account_state_forest/mod.rs (vault_key.clone() -> *vault_key)

Addresses self-review comments on #1784.

Test plan

  • All 3 affected tests pass: account_state_forest_shared_roots_not_deleted_prematurely, account_state_forest_retains_latest_after_100_blocks_and_pruning, account_state_forest_preserves_mixed_slots_independently
  • Clippy clean

🤖 Generated with Claude Code

Reverts 5 test changes in db/tests.rs that were leftovers from the
LargeSmt revert - they replaced concrete assertions with vague comments
and unused variables. Also fixes clone_on_copy clippy lint.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@mmagician mmagician added the no changelog This PR does not require an entry in the `CHANGELOG.md` file label Mar 24, 2026
@mmagician mmagician marked this pull request as ready for review March 24, 2026 09:40
Copy link
Contributor Author

@mmagician mmagician left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mmagician mmagician merged commit 1f1f599 into mmagician-claude/update-base-to-beta Mar 24, 2026
11 of 12 checks passed
@mmagician mmagician deleted the mmagician-claude/fix-pr-review branch March 24, 2026 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no changelog This PR does not require an entry in the `CHANGELOG.md` file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants