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

feat(taiko-client): soft block driver APIs #18273

Open
wants to merge 88 commits into
base: main
Choose a base branch
from

Conversation

davidtaikocha
Copy link
Member

@davidtaikocha davidtaikocha commented Oct 21, 2024

Based on the latest design.

API preview: https://taikoxyz.github.io/taiko-mono/

taiko-geth changes: taikoxyz/taiko-geth#342

@davidtaikocha
Copy link
Member Author

#18273 (comment)

added

@dantaik dantaik changed the title feat(taiko-client): preconfirmation driver APIs feat(taiko-client): soft block driver APIs Oct 23, 2024
return fmt.Errorf("failed to fetch last verified block hash: %w", err)
}

fc := &engine.ForkchoiceStateV1{
Copy link
Contributor

@mask-pp mask-pp Nov 11, 2024

Choose a reason for hiding this comment

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

We can only remove softblocks when calling this API, so the SafeBlockHash and FinalizedBlockHash aren't changed and there is no need to set them. Besides the SafeBlockHash is not right, it should be equal to canonicalHeadL1Origin.L2BlockHash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants