Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configurable finalization #51

Merged
merged 1 commit into from
Jun 27, 2024
Merged

Conversation

teddyknox
Copy link
Contributor

No description provided.

@teddyknox teddyknox requested a review from epociask June 26, 2024 22:43
@teddyknox
Copy link
Contributor Author

Will move out of draft when this code merges: Layr-Labs/eigenda#620

@teddyknox teddyknox force-pushed the add-configurable-finalization branch 2 times, most recently from d342174 to 53d95c3 Compare June 26, 2024 23:00
@teddyknox teddyknox marked this pull request as ready for review June 26, 2024 23:00
@teddyknox teddyknox force-pushed the add-configurable-finalization branch from 53d95c3 to 7a7356b Compare June 27, 2024 02:36
defer cancel()

done := false
for !done {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Waiting here

Copy link
Collaborator

@epociask epociask left a comment

Choose a reason for hiding this comment

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

just one knit - otherwise LGTM

ethConfirmationDepth uint64
manager *binding.ContractEigenDAServiceManagerCaller
finalizedBlockClient *FinalizedBlockClient
ethClient *ethclient.Client
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this client used anywhere in this struct?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

On line 119 yeah

blockHeader, err := cv.ethClient.BlockByNumber(context.Background(), nil)

@teddyknox teddyknox merged commit 602f21b into main Jun 27, 2024
5 checks passed
@teddyknox teddyknox deleted the add-configurable-finalization branch June 27, 2024 03:29
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