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

Remove redundant migrate method from the Database interface #8657

Merged
merged 2 commits into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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