Skip to content

persist replay state and move CommitDiff types to fiber-types#1174

Open
jjyr wants to merge 3 commits intodevelopfrom
fix-persist-pending-replay-last-was-revoke
Open

persist replay state and move CommitDiff types to fiber-types#1174
jjyr wants to merge 3 commits intodevelopfrom
fix-persist-pending-replay-last-was-revoke

Conversation

@jjyr
Copy link
Collaborator

@jjyr jjyr commented Mar 6, 2026

Summary

  • persist pending_replay_updates and last_was_revoke in ChannelActorData main serialization format
  • keep non-serializable runtime-only fields in ChannelActorState wrapper
  • move CommitDiff, CommitmentSignedTemplate, and ReplayOrderHint into fiber-types

Validation

  • cargo fmt --all
  • cargo check -p fnn --locked
  • cargo nextest run -p fnn test_commit_diff_roundtrip_v2 test_validate_commit_diff_for_replay test_channel_actor_state_store test_store_sample_channel_actor_state test_channel_actor_state_samples_roundtrip test_serde_channel_actor_state_ciborium --no-fail-fast
  • cargo clippy --all-targets --all-features -p fnn -p fiber-bin -- -D warnings

@jjyr jjyr force-pushed the fix-persist-pending-replay-last-was-revoke branch from 0b04192 to d7f53b5 Compare March 6, 2026 05:48
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