Skip to content

refactor: optimize async finality&commit&atomic - #115

Merged
AshinGau merged 1 commit into
Galxe:mainfrom
AshinGau:refactor/async-finality-commit-atomic
Jul 27, 2026
Merged

refactor: optimize async finality&commit&atomic#115
AshinGau merged 1 commit into
Galxe:mainfrom
AshinGau:refactor/async-finality-commit-atomic

Conversation

@AshinGau

@AshinGau AshinGau commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Replaces the legacy async-commit and static-hint paths with a coordinated pipeline for speculative execution, validation finality, and ordered commits.
  • Publishes finality as a contiguous validated prefix, handles validation rewinds, and commits state, nonce updates, deferred beneficiary rewards, and outcomes in block order.
  • Replays only the uncommitted suffix after nonce mismatches or recoverable scheduler aborts, while preserving the committed prefix on fatal errors.
  • Refactors scheduler cursor, dependency, wait, fallback, metrics, and state/bundle handling; updates the public API and documentation; and adds focused concurrency and error-path tests.

Tests

  • cargo fmt --all -- --check
  • cargo test --lib

@AshinGau
AshinGau merged commit c1d30df into Galxe:main Jul 27, 2026
2 checks passed
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.

1 participant