refactor(core,x/**): simplify core service api and embed environment in keepers (#20071)
This commit is contained in:
@@ -3,7 +3,7 @@ package store
|
||||
// DatabaseService provides access to the underlying database for CRUD operations of non-consensus data.
|
||||
// WARNING: using this api will make your module unprovable for fraud and validity proofs
|
||||
type DatabaseService interface {
|
||||
GetDatabase() NonConsensusStore
|
||||
Database() NonConsensusStore
|
||||
}
|
||||
|
||||
// NonConsensusStore is a simple key-value store that is used to store non-consensus data.
|
||||
|
||||
Reference in New Issue
Block a user