Skip to content

Conversation

MujkicA
Copy link
Contributor

@MujkicA MujkicA commented Sep 23, 2024

This PR deprecates the use of contract events to detect a successful block submission to the FuelChainState contract in favour of tracking the confirmations of the actual transaction. This is mainly done to avoid problems with potential L1 reorgs.

When run, the block_committer service will either create a new submission, update existing submissions or idle until the submission criteria is met.
The criteria for submitting a new block is that the last submission was finished (the corresponding tx succeeded or failed) and that the next epoch for posting was reached.

@MujkicA MujkicA self-assigned this Sep 23, 2024
@MujkicA MujkicA marked this pull request as ready for review October 4, 2024 16:17
hal3e
hal3e previously approved these changes Oct 4, 2024
Copy link
Contributor

@hal3e hal3e left a comment

Choose a reason for hiding this comment

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

LGTM left a small nit

Co-authored-by: hal3e <git@hal3e.io>
Copy link

@digorithm digorithm left a comment

Choose a reason for hiding this comment

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

LGTM -- excellent work!

@digorithm digorithm merged commit 0096691 into master Oct 4, 2024
9 checks passed
@digorithm digorithm deleted the feat/tx-manager-experimental branch October 4, 2024 21:41
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.

3 participants