refactor(x/auth): spin out go.mod (#18351)
This commit is contained in:
@@ -63,7 +63,7 @@ The `auth` codec must have all custom account types registered to marshal them.
|
||||
An example custom account definition:
|
||||
|
||||
```go
|
||||
import authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
|
||||
import authtypes "cosmossdk.io/x/auth/types"
|
||||
|
||||
// Register the module account type with the auth module codec so it can decode module accounts stored in a genesis file
|
||||
func init() {
|
||||
|
||||
@@ -228,7 +228,7 @@ package main
|
||||
import (
|
||||
// Each go package which registers a module must be imported just for side-effects
|
||||
// so that module implementations are registered.
|
||||
_ "github.com/cosmos/cosmos-sdk/x/auth/module"
|
||||
_ "cosmossdk.io/x/auth/module"
|
||||
_ "cosmossdk.io/x/bank/module"
|
||||
_ "cosmossdk.io/x/staking/module"
|
||||
"github.com/cosmos/cosmos-sdk/core/app"
|
||||
|
||||
Reference in New Issue
Block a user