diff --git a/.gitignore b/.gitignore index e5039bfa..45d9d21a 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ dist/ scripts/testnet/config.sh scripts/testnet/nodes +scripts/testnet/artifacts diff --git a/app/app.go b/app/app.go index a99afcd5..32b1fcd3 100644 --- a/app/app.go +++ b/app/app.go @@ -127,11 +127,8 @@ const ( Name = "seda-chain" ) -// this line is used by starport scaffolding # stargate/wasm/app/enabledProposals - func getGovProposalHandlers() []govclient.ProposalHandler { var govProposalHandlers []govclient.ProposalHandler - // this line is used by starport scaffolding # stargate/app/govProposalHandlers govProposalHandlers = append(govProposalHandlers, paramsclient.ProposalHandler, @@ -139,7 +136,6 @@ func getGovProposalHandlers() []govclient.ProposalHandler { upgradeclient.LegacyCancelProposalHandler, ibcclientclient.UpdateClientProposalHandler, ibcclientclient.UpgradeProposalHandler, - // this line is used by starport scaffolding # stargate/app/govProposalHandler ) return govProposalHandlers @@ -178,7 +174,6 @@ var ( consensus.AppModuleBasic{}, wasmstorage.AppModuleBasic{}, wasm.AppModuleBasic{}, - // this line is used by starport scaffolding # stargate/app/moduleBasic ) // module account permissions @@ -192,7 +187,6 @@ var ( govtypes.ModuleName: {authtypes.Burner}, ibctransfertypes.ModuleName: {authtypes.Minter, authtypes.Burner}, wasmtypes.ModuleName: {authtypes.Burner}, - // this line is used by starport scaffolding # stargate/app/maccPerms } ) @@ -259,7 +253,6 @@ type App struct { ScopedWasmKeeper capabilitykeeper.ScopedKeeper WasmStorageKeeper wasmstoragekeeper.Keeper - // this line is used by starport scaffolding # stargate/app/keeperDeclaration // mm is the module manager mm *module.Manager @@ -306,7 +299,6 @@ func NewApp( feegrant.StoreKey, evidencetypes.StoreKey, ibctransfertypes.StoreKey, icahosttypes.StoreKey, capabilitytypes.StoreKey, group.StoreKey, icacontrollertypes.StoreKey, consensusparamtypes.StoreKey, wasmstoragetypes.StoreKey, wasmtypes.StoreKey, - // this line is used by starport scaffolding # stargate/app/storeKey ) tkeys := sdk.NewTransientStoreKeys(paramstypes.TStoreKey) memKeys := sdk.NewMemoryStoreKeys(capabilitytypes.MemStoreKey) @@ -347,7 +339,6 @@ func NewApp( scopedTransferKeeper := app.CapabilityKeeper.ScopeToModule(ibctransfertypes.ModuleName) scopedICAHostKeeper := app.CapabilityKeeper.ScopeToModule(icahosttypes.SubModuleName) scopedWasmKeeper := app.CapabilityKeeper.ScopeToModule(wasmtypes.ModuleName) - // this line is used by starport scaffolding # stargate/app/scopedKeeper // add keepers app.AccountKeeper = authkeeper.NewAccountKeeper( @@ -573,8 +564,6 @@ func NewApp( ) wasmStorageModule := wasmstorage.NewAppModule(appCodec, app.WasmStorageKeeper, app.AccountKeeper, app.BankKeeper) - // this line is used by starport scaffolding # stargate/app/keeperDefinition - /**** IBC Routing ****/ // Sealing prevents other modules from creating scoped sub-keepers @@ -584,7 +573,6 @@ func NewApp( ibcRouter := ibcporttypes.NewRouter() ibcRouter.AddRoute(icahosttypes.SubModuleName, icaHostIBCModule). AddRoute(ibctransfertypes.ModuleName, transferIBCModule) - // this line is used by starport scaffolding # ibc/app/router app.IBCKeeper.SetRouter(ibcRouter) /**** Module Hooks ****/ @@ -631,8 +619,6 @@ func NewApp( transferModule, icaModule, wasmStorageModule, - // this line is used by starport scaffolding # stargate/app/appModule - crisis.NewAppModule(app.CrisisKeeper, skipGenesisInvariants, nil), // always be last to make sure that it checks for all invariants and not only part of them ) @@ -665,7 +651,6 @@ func NewApp( vestingtypes.ModuleName, consensusparamtypes.ModuleName, wasmstoragetypes.ModuleName, - // this line is used by starport scaffolding # stargate/app/beginBlockers ) app.mm.SetOrderEndBlockers( @@ -692,7 +677,6 @@ func NewApp( vestingtypes.ModuleName, consensusparamtypes.ModuleName, wasmstoragetypes.ModuleName, - // this line is used by starport scaffolding # stargate/app/endBlockers ) // NOTE: The genutils module must occur after staking so that pools are @@ -724,7 +708,6 @@ func NewApp( consensusparamtypes.ModuleName, wasmstoragetypes.ModuleName, wasmtypes.ModuleName, - // this line is used by starport scaffolding # stargate/app/initGenesis } app.mm.SetOrderInitGenesis(genesisModuleOrder...) app.mm.SetOrderExportGenesis(genesisModuleOrder...) @@ -788,7 +771,6 @@ func NewApp( app.ScopedIBCKeeper = scopedIBCKeeper app.ScopedTransferKeeper = scopedTransferKeeper app.ScopedWasmKeeper = scopedWasmKeeper - // this line is used by starport scaffolding # stargate/app/beforeInitReturn return app } @@ -947,9 +929,6 @@ func initParamsKeeper(appCodec codec.BinaryCodec, legacyAmino *codec.LegacyAmino paramsKeeper.Subspace(ibcexported.ModuleName) paramsKeeper.Subspace(icacontrollertypes.SubModuleName) paramsKeeper.Subspace(icahosttypes.SubModuleName) - - // this line is used by starport scaffolding # stargate/app/paramSubspace - return paramsKeeper } diff --git a/app/simulation_test.go b/app/simulation_test.go index fdd91ee8..709a4b49 100644 --- a/app/simulation_test.go +++ b/app/simulation_test.go @@ -70,7 +70,7 @@ func BenchmarkSimulation(b *testing.B) { simcli.FlagEnabledValue = true config := simcli.NewConfigFromFlags() - config.ChainID = "mars-simapp" + config.ChainID = "seda-simapp" db, dir, logger, _, err := simtestutil.SetupSimulation( config, "leveldb-bApp-sim", @@ -220,7 +220,7 @@ func TestAppStateDeterminism(t *testing.T) { func TestAppImportExport(t *testing.T) { config := simcli.NewConfigFromFlags() - config.ChainID = "mars-simapp-import" + config.ChainID = "seda-simapp-import" db, dir, logger, skip, err := simtestutil.SetupSimulation( config, @@ -374,7 +374,7 @@ func TestAppImportExport(t *testing.T) { func TestAppSimulationAfterImport(t *testing.T) { config := simcli.NewConfigFromFlags() - config.ChainID = "mars-simapp-after-import" + config.ChainID = "seda-simapp-after-import" db, dir, logger, skip, err := simtestutil.SetupSimulation( config, diff --git a/cmd/seda-chaind/cmd/root.go b/cmd/seda-chaind/cmd/root.go index 3f88d359..79ee15cd 100644 --- a/cmd/seda-chaind/cmd/root.go +++ b/cmd/seda-chaind/cmd/root.go @@ -111,7 +111,6 @@ func initRootCmd( tmcli.NewCompletionCmd(rootCmd, true), debug.Cmd(), config.Cmd(), - // this line is used by starport scaffolding # root/commands ) a := appCreator{ @@ -190,7 +189,6 @@ func txCommand() *cobra.Command { func addModuleInitFlags(startCmd *cobra.Command) { crisis.AddModuleInitFlags(startCmd) - // this line is used by starport scaffolding # root/arguments } func overwriteFlagDefaults(c *cobra.Command, defaults map[string]string) { diff --git a/x/wasm-storage/types/codec.go b/x/wasm-storage/types/codec.go index 844157a8..b70e2a44 100644 --- a/x/wasm-storage/types/codec.go +++ b/x/wasm-storage/types/codec.go @@ -3,17 +3,13 @@ package types import ( "github.com/cosmos/cosmos-sdk/codec" cdctypes "github.com/cosmos/cosmos-sdk/codec/types" - // this line is used by starport scaffolding # 1 "github.com/cosmos/cosmos-sdk/types/msgservice" ) func RegisterCodec(cdc *codec.LegacyAmino) { - // this line is used by starport scaffolding # 2 } func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { - // this line is used by starport scaffolding # 3 - msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) }