Skip to content

Commit ae70744

Browse files
authored
core/rawdb: remove unused transition status state accessors (#30433)
1 parent 0dd7e82 commit ae70744

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

core/rawdb/accessors_metadata.go

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -174,16 +174,3 @@ func UpdateUncleanShutdownMarker(db ethdb.KeyValueStore) {
174174
log.Warn("Failed to write unclean-shutdown marker", "err", err)
175175
}
176176
}
177-
178-
// ReadTransitionStatus retrieves the eth2 transition status from the database
179-
func ReadTransitionStatus(db ethdb.KeyValueReader) []byte {
180-
data, _ := db.Get(transitionStatusKey)
181-
return data
182-
}
183-
184-
// WriteTransitionStatus stores the eth2 transition status to the database
185-
func WriteTransitionStatus(db ethdb.KeyValueWriter, data []byte) {
186-
if err := db.Put(transitionStatusKey, data); err != nil {
187-
log.Crit("Failed to store the eth2 transition status", "err", err)
188-
}
189-
}

0 commit comments

Comments
 (0)