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

[NIT-2484] snap-sync consensus 0.2: start reading parent chain from the right block #2296

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

amsanghi
Copy link
Contributor

No description provided.

@cla-bot cla-bot bot added the s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA. label May 13, 2024
@amsanghi amsanghi requested a review from tsahee May 13, 2024 16:00
@amsanghi amsanghi marked this pull request as ready for review May 13, 2024 16:00
arbnode/node.go Outdated Show resolved Hide resolved
staker/rollup_watcher.go Outdated Show resolved Hide resolved
staker/rollup_watcher.go Outdated Show resolved Hide resolved
staker/rollup_watcher.go Outdated Show resolved Hide resolved
arbnode/node.go Outdated Show resolved Hide resolved
@amsanghi amsanghi requested a review from tsahee May 29, 2024 12:08
Base automatically changed from snap_sync to master June 4, 2024 01:11
arbnode/node.go Outdated
@@ -739,6 +756,51 @@ func createNodeImpl(
}, nil
}

func FindBlockContainingBatchCount(ctx context.Context, bridgeAddress common.Address, l1Client arbutil.L1Interface, parentChainAssertionBlock uint64, batchCount uint64) (uint64, error) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we need to get Both batchCount and DelayedMessageNumber and use the lowest block that's before both

@CLAassistant
Copy link

CLAassistant commented Nov 26, 2024

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants