Skip to content

Restore accumulator-root Move unit tests#1089

Merged
0xaslan merged 15 commits into
mainfrom
at/restore-accumulator-unit-tests
Jun 26, 2026
Merged

Restore accumulator-root Move unit tests#1089
0xaslan merged 15 commits into
mainfrom
at/restore-accumulator-unit-tests

Conversation

@0xaslan

@0xaslan 0xaslan commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Bump Account/Predict-related Move.lock framework revisions to the current Sui 1.74-compatible framework.
  • Restore empty-root accumulator helpers and revive Account/Predict accumulator-root Move tests, removing all .move.disabled test files.
  • Add test-only support for split Block Scholes feed bundles and PLP valuation/wrong-vault coverage while documenting the remaining nonzero accumulator settlement gap.

Key decisions

  • Tests use sui::accumulator::create_for_testing for empty roots only.
  • Nonzero address-balance settlement barrier flows remain out of scope because package-local Move unit tests still cannot populate the system settlement barrier.
  • Restored tests were adjusted to current pricing/feed, same-timestamp, finite-range, and floor-share behavior instead of reintroducing old assumptions.

Test plan

  • sui move test --path packages/account --gas-limit 100000000000 (11 passed)
  • sui move test --path packages/predict --gas-limit 100000000000 (312 passed)
  • find packages -name '*.disabled' -print (empty)

@0xaslan 0xaslan merged commit c926710 into main Jun 26, 2026
6 checks passed
@0xaslan 0xaslan deleted the at/restore-accumulator-unit-tests branch June 26, 2026 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants