refactor(x/auth): spin out go.mod (#18351)

This commit is contained in:
Emmanuel T Odeke
2023-11-07 11:42:58 +00:00
committed by GitHub
parent c1b391631c
commit 05261cc46e
294 changed files with 2390 additions and 774 deletions
@@ -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() {
+1 -1
View File
@@ -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"