diff --git a/app/app.go b/app/app.go index 5bd014ccd..e48cebbc6 100644 --- a/app/app.go +++ b/app/app.go @@ -3,12 +3,13 @@ package app import ( "encoding/json" "fmt" - "github.com/NibiruChain/nibiru/x/sudo/keeper" "io" "net/http" "os" "path/filepath" + "github.com/NibiruChain/nibiru/x/sudo/keeper" + sudotypes "github.com/NibiruChain/nibiru/x/sudo/types" "github.com/CosmWasm/wasmd/x/wasm" @@ -272,8 +273,8 @@ type NibiruApp struct { SpotKeeper spotkeeper.Keeper OracleKeeper oraclekeeper.Keeper StablecoinKeeper stablecoinkeeper.Keeper - InflationKeeper inflationkeeper.Keeper - SudoKeeper keeper.Keeper + InflationKeeper inflationkeeper.Keeper + SudoKeeper keeper.Keeper // WASM keepers WasmKeeper wasm.Keeper diff --git a/app/keepers.go b/app/keepers.go index d2bad077e..a47ef1388 100644 --- a/app/keepers.go +++ b/app/keepers.go @@ -1,9 +1,10 @@ package app import ( - "github.com/NibiruChain/nibiru/x/sudo/keeper" "path/filepath" + "github.com/NibiruChain/nibiru/x/sudo/keeper" + sudotypes "github.com/NibiruChain/nibiru/x/sudo/types" _ "github.com/cosmos/cosmos-sdk/client/docs/statik" diff --git a/x/sudo/keeper/querier.go b/x/sudo/keeper/querier.go index 9e398a5ce..d0ebcc623 100644 --- a/x/sudo/keeper/querier.go +++ b/x/sudo/keeper/querier.go @@ -2,6 +2,7 @@ package keeper import ( "context" + "github.com/NibiruChain/nibiru/x/sudo/types" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/sudo/keeper/sudo.go b/x/sudo/keeper/sudo.go index 16b6bbb08..6ec43f288 100644 --- a/x/sudo/keeper/sudo.go +++ b/x/sudo/keeper/sudo.go @@ -9,6 +9,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/NibiruChain/collections" + "github.com/NibiruChain/nibiru/x/common/set" sudotypes "github.com/NibiruChain/nibiru/x/sudo/types" ) diff --git a/x/sudo/keeper/sudo_test.go b/x/sudo/keeper/sudo_test.go index 9b7fda56f..2bdce8357 100644 --- a/x/sudo/keeper/sudo_test.go +++ b/x/sudo/keeper/sudo_test.go @@ -1,10 +1,11 @@ package keeper_test import ( - "github.com/NibiruChain/nibiru/x/sudo/keeper" "testing" "time" + "github.com/NibiruChain/nibiru/x/sudo/keeper" + "github.com/NibiruChain/nibiru/x/sudo/types" tmproto "github.com/cometbft/cometbft/proto/tendermint/types" diff --git a/x/sudo/module.go b/x/sudo/module.go index fa3700731..0ea4b631b 100644 --- a/x/sudo/module.go +++ b/x/sudo/module.go @@ -4,6 +4,7 @@ import ( "context" "encoding/json" "fmt" + sudokeeper "github.com/NibiruChain/nibiru/x/sudo/keeper" "github.com/NibiruChain/nibiru/x/sudo/types" diff --git a/x/wasm/binding/exec.go b/x/wasm/binding/exec.go index 1ced0f2d6..3bd78fb3f 100644 --- a/x/wasm/binding/exec.go +++ b/x/wasm/binding/exec.go @@ -2,6 +2,7 @@ package binding import ( "encoding/json" + "github.com/NibiruChain/nibiru/x/sudo/keeper" sdkerrors "cosmossdk.io/errors" diff --git a/x/wasm/binding/wasm.go b/x/wasm/binding/wasm.go index 59b25820f..46bc065b6 100644 --- a/x/wasm/binding/wasm.go +++ b/x/wasm/binding/wasm.go @@ -3,6 +3,7 @@ package binding import ( "github.com/CosmWasm/wasmd/x/wasm" wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" + "github.com/NibiruChain/nibiru/x/sudo/keeper" oraclekeeper "github.com/NibiruChain/nibiru/x/oracle/keeper"