Skip to content

Conversation

@ffranr
Copy link
Contributor

@ffranr ffranr commented Jul 19, 2024

This pull request includes two changes to the ChainPorter states to improve clarity and better reflect their functionality.

Changes:

  1. Rename SendStateLogCommit to SendStateStorePreBroadcast:

    • The state SendStateLogCommit has been renamed to SendStateStorePreBroadcast.
    • This change clarifies that the state's functionality is to store data before broadcasting.
  2. Rename SendStateReceiverProofTransfer to SendStateTransferProofs:

    • The state SendStateReceiverProofTransfer has been renamed to SendStateTransferProofs.
    • This change indicates that in this state, the ChainPorter may transfer multiple proofs, improving understanding of its purpose.

These changes enhance code readability and maintainability by providing more descriptive state names.

ffranr added 2 commits July 19, 2024 11:18
Renamed the `ChainPorter` state `SendStateLogCommit` to
`SendStateStorePreBroadcast` for better clarity on the state's
functionality
Renamed the `ChainPorter` state `SendStateReceiverProofTransfer` to
`SendStateTransferProofs` for better clarity.

This change makes it clear that in that state the `ChainPorter` may
transfer multiple proofs.
@ffranr ffranr self-assigned this Jul 19, 2024
@ffranr ffranr requested review from GeorgeTsagk and guggero July 19, 2024 10:24
@ffranr ffranr added the proofs label Jul 19, 2024
Copy link
Member

@GeorgeTsagk GeorgeTsagk left a comment

Choose a reason for hiding this comment

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

Ty 🫡
lgtm

Copy link
Contributor

@guggero guggero left a comment

Choose a reason for hiding this comment

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

LGTM 🎉

@guggero guggero merged commit 4a11fd1 into main Jul 19, 2024
@guggero guggero deleted the rename-chain-porter-states branch July 19, 2024 11:30
@dstadulis dstadulis added this to the v0.4.1 milestone Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

5 participants