refactor: revert auth extraction (backport #21507) (#21529)

Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
mergify[bot]
2024-09-03 22:21:22 +00:00
committed by GitHub
co-authored by Marko Julien Robert
parent f1135816b6
commit 7d5ab19311
326 changed files with 837 additions and 1852 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 "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() {
+1 -1
View File
@@ -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"