mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-04 10:21:40 +00:00
refactor/internal (#1216)
* refactor: update import paths in gateway handlers * refactor: remove obsolete devtools Makefile and README * build: optimize build process for improved efficiency * refactor: remove obsolete pkl files related to Matrix and Sonr network configurations * refactor: move embed code to x/dwn/types
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
package appmodule
|
||||
|
||||
import (
|
||||
"cosmossdk.io/core/event"
|
||||
"cosmossdk.io/core/gas"
|
||||
"cosmossdk.io/core/header"
|
||||
"cosmossdk.io/core/store"
|
||||
|
||||
"github.com/onsonr/sonr/internal/chain/branch"
|
||||
"github.com/onsonr/sonr/internal/chain/log"
|
||||
"github.com/onsonr/sonr/internal/chain/router"
|
||||
"github.com/onsonr/sonr/internal/chain/transaction"
|
||||
)
|
||||
|
||||
// Environment is used to get all services to their respective module.
|
||||
// Contract: All fields of environment are always populated by runtime.
|
||||
type Environment struct {
|
||||
Logger log.Logger
|
||||
|
||||
BranchService branch.Service
|
||||
EventService event.Service
|
||||
GasService gas.Service
|
||||
HeaderService header.Service
|
||||
QueryRouterService router.Service
|
||||
MsgRouterService router.Service
|
||||
TransactionService transaction.Service
|
||||
|
||||
KVStoreService store.KVStoreService
|
||||
MemStoreService store.MemoryStoreService
|
||||
}
|
||||
Reference in New Issue
Block a user