chore(core/store): Batch interface alias (#21262)

This commit is contained in:
cool-developer
2024-08-12 20:40:28 +00:00
committed by GitHub
parent 76e1fa30fb
commit df3b035dd8
+1 -1
View File
@@ -35,7 +35,7 @@ type KVStore interface {
//
// As with KVStore, given keys and values should be considered read-only, and must not be modified after
// passing them to the batch.
type Batch interface {
type Batch = interface {
// Set sets a key/value pair.
// CONTRACT: key, value readonly []byte
Set(key, value []byte) error