Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Dec 11, 2024
1 parent a136455 commit c26534a
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions baseapp/txexecutor.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,7 @@ type stmMultiStoreWrapper struct {
types.MultiStore
}

var _ blockstm.MultiStore = stmMultiStoreWrapper{}

func (ms stmMultiStoreWrapper) GetStore(key types.StoreKey) types.Store {
return ms.MultiStore.GetStore(key)
}

func (ms stmMultiStoreWrapper) GetKVStore(key types.StoreKey) types.KVStore {
return ms.MultiStore.GetKVStore(key)
}

func (ms stmMultiStoreWrapper) GetObjKVStore(key types.StoreKey) types.ObjKVStore {
return ms.MultiStore.GetObjKVStore(key)
}
var _ types.MultiStore = stmMultiStoreWrapper{}

type msWrapper struct {
blockstm.MultiStore
Expand All @@ -45,18 +33,6 @@ func (ms msWrapper) getCacheWrapper(key types.StoreKey) types.CacheWrapper {
return ms.GetStore(key)
}

func (ms msWrapper) GetStore(key types.StoreKey) types.Store {
return ms.MultiStore.GetStore(key)
}

func (ms msWrapper) GetKVStore(key types.StoreKey) types.KVStore {
return ms.MultiStore.GetKVStore(key)
}

func (ms msWrapper) GetObjKVStore(key types.StoreKey) types.ObjKVStore {
return ms.MultiStore.GetObjKVStore(key)
}

func (ms msWrapper) CacheMultiStore() types.CacheMultiStore {
return cachemulti.NewFromParent(ms.getCacheWrapper, nil, nil)
}
Expand Down

0 comments on commit c26534a

Please sign in to comment.