Expands app/ layer to match production Cosmos chains (Xion pattern): - app/params/: EncodingConfig, proto setup, simulation weights for all 10 modules - app/keepers/: keeper init order docs, module account perms, wasm config - app/genesis/: default genesis state, validation, WASM contract importer - app/test_helpers.go: Setup(), SetupWithGenesisAccounts(), test context - app/app_test.go: 6 app-level integration tests - app/vulnerability_test.go: 5 security validation tests - app/encoding.go: convenience wrapper Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
18 lines
547 B
Go
18 lines
547 B
Go
package params
|
|
|
|
import (
|
|
"github.com/cosmos/cosmos-sdk/client"
|
|
"github.com/cosmos/cosmos-sdk/codec"
|
|
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
|
|
)
|
|
|
|
// EncodingConfig specifies the concrete encoding types to use for ClawChain.
|
|
// This is provided for compatibility with modules that require an encoding
|
|
// configuration outside the depinject framework.
|
|
type EncodingConfig struct {
|
|
InterfaceRegistry codectypes.InterfaceRegistry
|
|
Codec codec.Codec
|
|
TxConfig client.TxConfig
|
|
Amino *codec.LegacyAmino
|
|
}
|