Skip to content

Commit

Permalink
Remove redundant method from the Database interface (#8657)
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriel Fukushima <[email protected]>
  • Loading branch information
gfukushima authored Oct 3, 2024
1 parent 4b204e4 commit 7d40ea4
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ protected SafeFuture<?> doStart() {
config);
database = dbFactory.createDatabase();

database.migrate();

final SettableLabelledGauge pruningTimingsLabelledGauge =
SettableLabelledGauge.create(
serviceConfig.getMetricsSystem(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,6 @@ default Stream<SlotAndBlockRootAndBlobIndex> streamBlobSidecarKeys(final UInt64

long getNonCanonicalBlobSidecarColumnCount();

void migrate();

Optional<Checkpoint> getAnchor();

Optional<Checkpoint> getJustifiedCheckpoint();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -369,9 +369,6 @@ public long getNonCanonicalBlobSidecarColumnCount() {
return dao.getNonCanonicalBlobSidecarColumnCount();
}

@Override
public void migrate() {}

@Override
public void deleteHotBlocks(final Set<Bytes32> blockRootsToDelete) {
try (final HotUpdater updater = hotUpdater()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,6 @@ public long getNonCanonicalBlobSidecarColumnCount() {
return 0L;
}

@Override
public void migrate() {}

@Override
public Optional<Checkpoint> getAnchor() {
return Optional.empty();
Expand Down

0 comments on commit 7d40ea4

Please sign in to comment.