Merge branch 'master' into feature/update-go-version-sharding

This commit is contained in:
Abdul Rabbani
2022-05-31 13:02:06 -04:00
4 changed files with 70 additions and 44 deletions
+6 -1
View File
@@ -314,7 +314,7 @@ func (d *Database) AncientRange(kind string, start, count, maxBytes uint64) ([][
}
// ReadAncients applies the provided AncientReader function
func (d *Database) ReadAncients(fn func(ethdb.AncientReader) error) (err error) {
func (d *Database) ReadAncients(fn func(ethdb.AncientReaderOp) error) (err error) {
return errNotSupported
}
@@ -347,3 +347,8 @@ func (d *Database) MigrateTable(string, func([]byte) ([]byte, error)) error {
func (d *Database) NewSnapshot() (ethdb.Snapshot, error) {
return nil, errNotSupported
}
// AncientDatadir returns an error as we don't have a backing chain freezer.
func (d *Database) AncientDatadir() (string, error) {
return "", errNotSupported
}