Co-authored-by: Marko <marko@baricevic.me> Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
co-authored by
Marko
Julien Robert
parent
f1135816b6
commit
7d5ab19311
@@ -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 "cosmossdk.io/x/auth/types"
|
||||
import authtypes "github.com/cosmos/cosmos-sdk/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() {
|
||||
|
||||
@@ -226,7 +226,7 @@ package main
|
||||
import (
|
||||
// Each go package which registers a module must be imported just for side-effects
|
||||
// so that module implementations are registered.
|
||||
_ "cosmossdk.io/x/auth/module"
|
||||
_ "github.com/cosmos/cosmos-sdk/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