Skip to content

l2geth: add VerifiedIndex to DB and API#520

Merged
gakonst merged 2 commits intomasterfrom
l2geth/verified-index
Apr 21, 2021
Merged

l2geth: add VerifiedIndex to DB and API#520
gakonst merged 2 commits intomasterfrom
l2geth/verified-index

Conversation

@tynes
Copy link
Copy Markdown
Contributor

@tynes tynes commented Apr 20, 2021

Description
Adds the changes from #477 that add in the VerifiedIndex to leveldb as well as to the rollup_getInfo API. It also adds higher level functions on top of SyncService.{GetLatestIndex,GetLatestEnqueueIndex} that abstract away the possibility of a nil value being returned called SyncService.{GetNextEnqueueIndex,GetNextIndex}.

Additional context
An additional PR will build on top of this one that refactors the SyncService. As of this PR, certain methods are not yet consumed but that is intentional as to bucket together a set of related changes.

Addresses:

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 20, 2021

🦋 Changeset detected

Latest commit: f867599

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@eth-optimism/l2geth Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@tynes tynes added A-geth C-feature Category: features labels Apr 20, 2021
@tynes tynes requested a review from gakonst April 21, 2021 00:57
Copy link
Copy Markdown
Contributor

@gakonst gakonst left a comment

Choose a reason for hiding this comment

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

LGTM

@gakonst gakonst merged commit ba2e043 into master Apr 21, 2021
@gakonst gakonst deleted the l2geth/verified-index branch April 21, 2021 12:25
InoMurko referenced this pull request in omgnetwork/optimism May 25, 2021
* l2geth: add verified index to db and api

* l2geth: add patch changeset
theochap pushed a commit that referenced this pull request Dec 10, 2025
* feat: version bumps

* fix: lints
theochap pushed a commit that referenced this pull request Jan 15, 2026
### Description

Contains release artifacts for `0.15.7`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-feature Category: features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants