From 8d18e9c26a19aa2e8f35033c55591df079ce93f4 Mon Sep 17 00:00:00 2001 From: GnaD13 Date: Mon, 25 Sep 2023 17:05:38 +0700 Subject: [PATCH 01/24] composable --- Makefile | 10 +- app/ante/ante.go | 6 +- app/ante/ibc_ante.go | 2 +- app/app.go | 98 +++++++++---------- app/coins.go | 2 +- app/export.go | 4 +- app/fork.go | 2 +- app/helpers/test_helpers.go | 38 +++---- app/ibctesting/chain.go | 26 ++--- app/ibctesting/simapp/app.go | 20 ++-- app/ibctesting/simapp/encoding.go | 2 +- app/ibctesting/simapp/sim_test.go | 2 +- app/keepers/keepers.go | 36 +++---- app/keepers/keys.go | 10 +- app/test_access.go | 8 +- app/test_helpers.go | 22 ++--- app/upgrades/centauri/upgrade.go | 8 +- app/upgrades/composable/constants.go | 6 ++ app/upgrades/composable/upgrade.go | 52 ++++++++++ app/upgrades/reward/constants.go | 2 +- app/upgrades/reward/upgrade.go | 4 +- app/upgrades/types.go | 2 +- app/upgrades/v4/constants.go | 8 +- app/upgrades/v4/upgrade.go | 6 +- app/upgrades/v4_5/constants.go | 4 +- app/upgrades/v4_5/fork.go | 2 +- app/upgrades/v4_5_1/constants.go | 2 +- app/upgrades/v4_5_1/fork.go | 4 +- app/upgrades/v5/constants.go | 6 +- app/upgrades/v5/upgrade.go | 6 +- app/upgrades/v5_1_0/constants.go | 2 +- app/upgrades/v5_1_0/fork.go | 6 +- bech32-migration/auth/auth.go | 2 +- bech32-migration/gov/gov.go | 2 +- bech32-migration/slashing/slashing.go | 2 +- bech32-migration/staking/staking.go | 2 +- cmd/centaurid/cmd/bech32_convert.go | 10 +- cmd/centaurid/cmd/genaccounts.go | 4 +- cmd/centaurid/cmd/root.go | 14 +-- cmd/centaurid/config/config.go | 6 +- cmd/centaurid/main.go | 6 +- custom/bank/bank_test.go | 2 +- custom/bank/keeper/keeper.go | 4 +- custom/bank/module.go | 2 +- go.mod | 3 +- go.sum | 2 + .../mint/v1beta1/genesis.proto | 4 +- .../mint/v1beta1/mint.proto | 2 +- .../mint/v1beta1/query.proto | 4 +- .../mint/v1beta1/tx.proto | 4 +- .../ratelimit/v1beta1/epoch.proto | 2 +- .../ratelimit/v1beta1/genesis.proto | 8 +- .../ratelimit/v1beta1/params.proto | 2 +- .../ratelimit/v1beta1/query.proto | 14 +-- .../ratelimit/v1beta1/ratelimit.proto | 2 +- .../ratelimit/v1beta1/tx.proto | 2 +- .../transfermiddleware/v1beta1/genesis.proto | 6 +- .../v1beta1/parachain_token_info.proto | 8 +- .../transfermiddleware/v1beta1/params.proto | 2 +- .../transfermiddleware/v1beta1/query.proto | 6 +- .../transfermiddleware/v1beta1/tx.proto | 2 +- .../txboundary/v1beta1/boundary.proto | 2 +- .../txboundary/v1beta1/genesis.proto | 4 +- .../txboundary/v1beta1/query.proto | 4 +- .../txboundary/v1beta1/tx.proto | 8 +- tests/interchaintest/basic_cosmos_test.go | 14 +-- tests/interchaintest/chain_start_test.go | 14 +-- tests/interchaintest/ibc_transfer_test.go | 2 +- x/ibc-hooks/client/cli/query.go | 4 +- x/ibc-hooks/keeper/keeper.go | 2 +- x/ibc-hooks/module.go | 4 +- x/ibc-hooks/relay_test.go | 4 +- x/ibc-hooks/wasm_hook.go | 4 +- x/mint/abci.go | 4 +- x/mint/client/cli/query.go | 2 +- x/mint/client/cli/tx.go | 2 +- x/mint/keeper/genesis.go | 2 +- x/mint/keeper/grpc_query.go | 2 +- x/mint/keeper/keeper.go | 2 +- x/mint/keeper/msg_server.go | 2 +- x/mint/module.go | 8 +- x/mint/simulation/decoder.go | 2 +- x/mint/simulation/decoder_test.go | 8 +- x/mint/simulation/genesis.go | 2 +- x/mint/simulation/genesis_test.go | 4 +- x/mint/simulation/proposals.go | 2 +- x/mint/simulation/proposals_test.go | 4 +- x/mint/types/codec.go | 8 +- x/ratelimit/client/cli/query.go | 2 +- x/ratelimit/client/cli/tx.go | 2 +- x/ratelimit/ibc_middleware.go | 2 +- x/ratelimit/keeper/abci.go | 2 +- x/ratelimit/keeper/epoch.go | 2 +- x/ratelimit/keeper/genesis.go | 2 +- x/ratelimit/keeper/grpc_query.go | 2 +- x/ratelimit/keeper/keeper.go | 4 +- x/ratelimit/keeper/msg_server.go | 2 +- x/ratelimit/keeper/packet.go | 2 +- x/ratelimit/keeper/rate_limit.go | 2 +- x/ratelimit/module.go | 6 +- x/ratelimit/relay_test.go | 4 +- x/ratelimit/types/codec.go | 8 +- x/transfermiddleware/client/cli/cli.go | 2 +- x/transfermiddleware/client/cli/tx.go | 2 +- x/transfermiddleware/ibc_ante_test.go | 2 +- x/transfermiddleware/ibc_middleware.go | 2 +- x/transfermiddleware/keeper/abci.go | 2 +- x/transfermiddleware/keeper/genesis.go | 2 +- x/transfermiddleware/keeper/genesis_test.go | 10 +- x/transfermiddleware/keeper/grpc_query.go | 2 +- x/transfermiddleware/keeper/ics4wrapper.go | 2 +- x/transfermiddleware/keeper/keeper.go | 2 +- x/transfermiddleware/keeper/msg_server.go | 2 +- x/transfermiddleware/keeper/params.go | 2 +- x/transfermiddleware/keeper/relay.go | 2 +- x/transfermiddleware/module.go | 6 +- x/transfermiddleware/pfm_test.go | 2 +- x/transfermiddleware/relay_test.go | 2 +- x/transfermiddleware/types/codec.go | 6 +- x/transfermiddleware/types/info_test.go | 2 +- x/tx-boundary/ante/antetest/ante_test.go | 4 +- .../ante/antetest/ante_test_setup.go | 8 +- x/tx-boundary/ante/decorate.go | 2 +- x/tx-boundary/client/cli/query.go | 2 +- x/tx-boundary/client/cli/tx.go | 2 +- x/tx-boundary/keeper/genensis.go | 2 +- x/tx-boundary/keeper/grpc_query.go | 2 +- x/tx-boundary/keeper/keeper.go | 2 +- x/tx-boundary/keeper/keeper_test.go | 10 +- x/tx-boundary/module.go | 6 +- 130 files changed, 426 insertions(+), 365 deletions(-) create mode 100644 app/upgrades/composable/constants.go create mode 100644 app/upgrades/composable/upgrade.go rename proto/{centauri => composable}/mint/v1beta1/genesis.proto (88%) rename proto/{centauri => composable}/mint/v1beta1/mint.proto (98%) rename proto/{centauri => composable}/mint/v1beta1/query.proto (96%) rename proto/{centauri => composable}/mint/v1beta1/tx.proto (96%) rename proto/{centauri => composable}/ratelimit/v1beta1/epoch.proto (98%) rename proto/{centauri => composable}/ratelimit/v1beta1/genesis.proto (78%) rename proto/{centauri => composable}/ratelimit/v1beta1/params.proto (83%) rename proto/{centauri => composable}/ratelimit/v1beta1/query.proto (78%) rename proto/{centauri => composable}/ratelimit/v1beta1/ratelimit.proto (97%) rename proto/{centauri => composable}/ratelimit/v1beta1/tx.proto (98%) rename proto/{centauri => composable}/transfermiddleware/v1beta1/genesis.proto (65%) rename proto/{centauri => composable}/transfermiddleware/v1beta1/parachain_token_info.proto (81%) rename proto/{centauri => composable}/transfermiddleware/v1beta1/params.proto (89%) rename proto/{centauri => composable}/transfermiddleware/v1beta1/query.proto (88%) rename proto/{centauri => composable}/transfermiddleware/v1beta1/tx.proto (97%) rename proto/{centauri => composable}/txboundary/v1beta1/boundary.proto (93%) rename proto/{centauri => composable}/txboundary/v1beta1/genesis.proto (83%) rename proto/{centauri => composable}/txboundary/v1beta1/query.proto (94%) rename proto/{centauri => composable}/txboundary/v1beta1/tx.proto (89%) diff --git a/Makefile b/Makefile index 0cecb6827..64b811dca 100644 --- a/Makefile +++ b/Makefile @@ -58,8 +58,8 @@ comma := , build_tags_comma_sep := $(subst $(whitespace),$(comma),$(build_tags)) # process linker flags -ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=centauri \ - -X github.com/cosmos/cosmos-sdk/version.AppName=centaurid \ +ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=composable \ + -X github.com/cosmos/cosmos-sdk/version.AppName=composabled \ -X github.com/cosmos/cosmos-sdk/version.Version=$(VERSION) \ -X github.com/cosmos/cosmos-sdk/version.Commit=$(COMMIT) \ -X "github.com/cosmos/cosmos-sdk/version.BuildTags=$(build_tags_comma_sep)" @@ -86,13 +86,13 @@ endif all: install install: go.sum - go install -mod=readonly $(BUILD_FLAGS) ./cmd/centaurid + go install -mod=readonly $(BUILD_FLAGS) ./cmd/composabled build: - go build $(BUILD_FLAGS) -o bin/centaurid ./cmd/centaurid + go build $(BUILD_FLAGS) -o bin/composabled ./cmd/composabled docker-build-debug: - @DOCKER_BUILDKIT=1 docker build -t centauri:debug -f Dockerfile . + @DOCKER_BUILDKIT=1 docker build -t composable:debug -f Dockerfile . lint: @find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -name '*.pb.go' -not -name '*.gw.go' | xargs go run mvdan.cc/gofumpt -w . diff --git a/app/ante/ante.go b/app/ante/ante.go index 65e8e47de..58d2c6a5f 100644 --- a/app/ante/ante.go +++ b/app/ante/ante.go @@ -10,9 +10,9 @@ import ( ante "github.com/cosmos/cosmos-sdk/x/auth/ante" "github.com/cosmos/cosmos-sdk/x/auth/signing" - tfmwKeeper "github.com/notional-labs/centauri/v5/x/transfermiddleware/keeper" - txBoundaryAnte "github.com/notional-labs/centauri/v5/x/tx-boundary/ante" - txBoundaryKeeper "github.com/notional-labs/centauri/v5/x/tx-boundary/keeper" + tfmwKeeper "github.com/notional-labs/composable/v5/x/transfermiddleware/keeper" + txBoundaryAnte "github.com/notional-labs/composable/v5/x/tx-boundary/ante" + txBoundaryKeeper "github.com/notional-labs/composable/v5/x/tx-boundary/keeper" ) // Link to default ante handler used by cosmos sdk: diff --git a/app/ante/ibc_ante.go b/app/ante/ibc_ante.go index 15642a58f..f889c13fb 100644 --- a/app/ante/ibc_ante.go +++ b/app/ante/ibc_ante.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/authz" clienttypes "github.com/cosmos/ibc-go/v7/modules/core/02-client/types" - tfmwKeeper "github.com/notional-labs/centauri/v5/x/transfermiddleware/keeper" + tfmwKeeper "github.com/notional-labs/composable/v5/x/transfermiddleware/keeper" ) type IBCPermissionDecorator struct { diff --git a/app/app.go b/app/app.go index 2e06ecf03..00da88a0d 100644 --- a/app/app.go +++ b/app/app.go @@ -32,9 +32,9 @@ import ( vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" "github.com/cosmos/cosmos-sdk/x/bank" - "github.com/notional-labs/centauri/v5/app/keepers" - v4 "github.com/notional-labs/centauri/v5/app/upgrades/v4" - v5 "github.com/notional-labs/centauri/v5/app/upgrades/v5" + "github.com/notional-labs/composable/v5/app/keepers" + v4 "github.com/notional-labs/composable/v5/app/upgrades/v4" + v5 "github.com/notional-labs/composable/v5/app/upgrades/v5" // bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" @@ -92,41 +92,41 @@ import ( alliancemoduleclient "github.com/terra-money/alliance/x/alliance/client" alliancemoduletypes "github.com/terra-money/alliance/x/alliance/types" - custombankmodule "github.com/notional-labs/centauri/v5/custom/bank" + custombankmodule "github.com/notional-labs/composable/v5/custom/bank" - "github.com/notional-labs/centauri/v5/app/ante" - transfermiddleware "github.com/notional-labs/centauri/v5/x/transfermiddleware" - transfermiddlewaretypes "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" + "github.com/notional-labs/composable/v5/app/ante" + transfermiddleware "github.com/notional-labs/composable/v5/x/transfermiddleware" + transfermiddlewaretypes "github.com/notional-labs/composable/v5/x/transfermiddleware/types" - txBoundary "github.com/notional-labs/centauri/v5/x/tx-boundary" - txBoundaryTypes "github.com/notional-labs/centauri/v5/x/tx-boundary/types" + txBoundary "github.com/notional-labs/composable/v5/x/tx-boundary" + txBoundaryTypes "github.com/notional-labs/composable/v5/x/tx-boundary/types" - ratelimitmodule "github.com/notional-labs/centauri/v5/x/ratelimit" - ratelimitmoduletypes "github.com/notional-labs/centauri/v5/x/ratelimit/types" + ratelimitmodule "github.com/notional-labs/composable/v5/x/ratelimit" + ratelimitmoduletypes "github.com/notional-labs/composable/v5/x/ratelimit/types" consensusparamtypes "github.com/cosmos/cosmos-sdk/x/consensus/types" - "github.com/notional-labs/centauri/v5/x/mint" - minttypes "github.com/notional-labs/centauri/v5/x/mint/types" + "github.com/notional-labs/composable/v5/x/mint" + minttypes "github.com/notional-labs/composable/v5/x/mint/types" ibctestingtypes "github.com/cosmos/ibc-go/v7/testing/types" - ibc_hooks "github.com/notional-labs/centauri/v5/x/ibc-hooks" - ibchookstypes "github.com/notional-labs/centauri/v5/x/ibc-hooks/types" + ibc_hooks "github.com/notional-labs/composable/v5/x/ibc-hooks" + ibchookstypes "github.com/notional-labs/composable/v5/x/ibc-hooks/types" "github.com/CosmWasm/wasmd/x/wasm" wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" - v4_5 "github.com/notional-labs/centauri/v5/app/upgrades/v4_5" - v4_5_1 "github.com/notional-labs/centauri/v5/app/upgrades/v4_5_1" - v5_1_0 "github.com/notional-labs/centauri/v5/app/upgrades/v5_1_0" + v4_5 "github.com/notional-labs/composable/v5/app/upgrades/v4_5" + v4_5_1 "github.com/notional-labs/composable/v5/app/upgrades/v4_5_1" + v5_1_0 "github.com/notional-labs/composable/v5/app/upgrades/v5_1_0" - upgrades "github.com/notional-labs/centauri/v5/app/upgrades" + upgrades "github.com/notional-labs/composable/v5/app/upgrades" ) const ( - Name = "centauri" + Name = "composable" dirName = "banksy" ForkHeight = 244008 ) @@ -241,7 +241,7 @@ var ( } ) -var _ servertypes.Application = (*CentauriApp)(nil) +var _ servertypes.Application = (*ComposableApp)(nil) func init() { userHomeDir, err := os.UserHomeDir() @@ -254,10 +254,10 @@ func init() { sdk.DefaultPowerReduction = PowerReduction } -// CentauriApp extends an ABCI application, but with most of its parameters exported. +// ComposableApp extends an ABCI application, but with most of its parameters exported. // They are exported for convenience in creating helper functions, as object // capabilities aren't needed for testing. -type CentauriApp struct { +type ComposableApp struct { *baseapp.BaseApp keepers.AppKeepers @@ -274,7 +274,7 @@ type CentauriApp struct { // RUN GOSEC // New returns a reference to an initialized blockchain app -func NewCentauriApp( +func NewComposableApp( logger log.Logger, db dbm.DB, traceStore io.Writer, @@ -287,7 +287,7 @@ func NewCentauriApp( appOpts servertypes.AppOptions, wasmOpts []wasm.Option, baseAppOptions ...func(*baseapp.BaseApp), -) *CentauriApp { +) *ComposableApp { appCodec := encodingConfig.Marshaler cdc := encodingConfig.Amino interfaceRegistry := encodingConfig.InterfaceRegistry @@ -297,7 +297,7 @@ func NewCentauriApp( bApp.SetInterfaceRegistry(interfaceRegistry) bApp.SetTxEncoder(encodingConfig.TxConfig.TxEncoder()) - app := &CentauriApp{ + app := &ComposableApp{ BaseApp: bApp, AppKeepers: keepers.AppKeepers{}, cdc: cdc, @@ -559,50 +559,50 @@ func NewCentauriApp( } // Name returns the name of the App -func (app *CentauriApp) Name() string { return app.BaseApp.Name() } +func (app *ComposableApp) Name() string { return app.BaseApp.Name() } // GetBaseApp returns the base app of the application -func (app *CentauriApp) GetBaseApp() *baseapp.BaseApp { return app.BaseApp } +func (app *ComposableApp) GetBaseApp() *baseapp.BaseApp { return app.BaseApp } // GetStakingKeeper implements the TestingApp interface. -func (app *CentauriApp) GetStakingKeeper() ibctestingtypes.StakingKeeper { +func (app *ComposableApp) GetStakingKeeper() ibctestingtypes.StakingKeeper { return app.StakingKeeper } // GetIBCKeeper implements the TestingApp interface. -func (app *CentauriApp) GetTransferKeeper() *ibctransferkeeper.Keeper { +func (app *ComposableApp) GetTransferKeeper() *ibctransferkeeper.Keeper { return &app.TransferKeeper } // GetIBCKeeper implements the TestingApp interface. -func (app *CentauriApp) GetIBCKeeper() *ibckeeper.Keeper { +func (app *ComposableApp) GetIBCKeeper() *ibckeeper.Keeper { return app.IBCKeeper } // GetScopedIBCKeeper implements the TestingApp interface. -func (app *CentauriApp) GetScopedIBCKeeper() capabilitykeeper.ScopedKeeper { +func (app *ComposableApp) GetScopedIBCKeeper() capabilitykeeper.ScopedKeeper { return app.ScopedIBCKeeper } // GetTxConfig implements the TestingApp interface. -func (app *CentauriApp) GetTxConfig() client.TxConfig { +func (app *ComposableApp) GetTxConfig() client.TxConfig { cfg := MakeEncodingConfig() return cfg.TxConfig } // BeginBlocker application updates every begin block -func (app *CentauriApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock { +func (app *ComposableApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock { BeginBlockForks(ctx, app) return app.mm.BeginBlock(ctx, req) } // EndBlocker application updates every end block -func (app *CentauriApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock { +func (app *ComposableApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock { return app.mm.EndBlock(ctx, req) } // InitChainer application update at chain initialization -func (app *CentauriApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain { +func (app *ComposableApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain { var genesisState GenesisState if err := tmjson.Unmarshal(req.AppStateBytes, &genesisState); err != nil { panic(err) @@ -612,12 +612,12 @@ func (app *CentauriApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) } // LoadHeight loads a particular height -func (app *CentauriApp) LoadHeight(height int64) error { +func (app *ComposableApp) LoadHeight(height int64) error { return app.LoadVersion(height) } // ModuleAccountAddrs returns all the app's module account addresses. -func (app *CentauriApp) ModuleAccountAddrs() map[string]bool { +func (app *ComposableApp) ModuleAccountAddrs() map[string]bool { modAccAddrs := make(map[string]bool) // DO NOT REMOVE: StringMapKeys fixes non-deterministic map iteration for acc := range maccPerms { @@ -631,7 +631,7 @@ func (app *CentauriApp) ModuleAccountAddrs() map[string]bool { // // NOTE: This is solely to be used for testing purposes as it may be desirable // for modules to register their own custom testing types. -func (app *CentauriApp) LegacyAmino() *codec.LegacyAmino { +func (app *ComposableApp) LegacyAmino() *codec.LegacyAmino { return app.cdc } @@ -639,18 +639,18 @@ func (app *CentauriApp) LegacyAmino() *codec.LegacyAmino { // // NOTE: This is solely to be used for testing purposes as it may be desirable // for modules to register their own custom testing types. -func (app *CentauriApp) AppCodec() codec.Codec { +func (app *ComposableApp) AppCodec() codec.Codec { return app.appCodec } // InterfaceRegistry returns an InterfaceRegistry -func (app *CentauriApp) InterfaceRegistry() types.InterfaceRegistry { +func (app *ComposableApp) InterfaceRegistry() types.InterfaceRegistry { return app.interfaceRegistry } // RegisterAPIRoutes registers all application module routes with the provided // API server. -func (app *CentauriApp) RegisterAPIRoutes(apiSvr *api.Server, _ config.APIConfig) { +func (app *ComposableApp) RegisterAPIRoutes(apiSvr *api.Server, _ config.APIConfig) { clientCtx := apiSvr.ClientCtx // Register new tx routes from grpc-gateway. authtx.RegisterGRPCGatewayRoutes(clientCtx, apiSvr.GRPCGatewayRouter) @@ -663,17 +663,17 @@ func (app *CentauriApp) RegisterAPIRoutes(apiSvr *api.Server, _ config.APIConfig } // RegisterTxService implements the Application.RegisterTxService method. -func (app *CentauriApp) RegisterTxService(clientCtx client.Context) { +func (app *ComposableApp) RegisterTxService(clientCtx client.Context) { authtx.RegisterTxService(app.BaseApp.GRPCQueryRouter(), clientCtx, app.BaseApp.Simulate, app.interfaceRegistry) } // RegisterTendermintService implements the Application.RegisterTendermintService method. -func (app *CentauriApp) RegisterTendermintService(clientCtx client.Context) { +func (app *ComposableApp) RegisterTendermintService(clientCtx client.Context) { tmservice.RegisterTendermintService(clientCtx, app.BaseApp.GRPCQueryRouter(), app.interfaceRegistry, app.Query) } // RegisterNodeService registers the node gRPC Query service. -func (app *CentauriApp) RegisterNodeService(clientCtx client.Context) { +func (app *ComposableApp) RegisterNodeService(clientCtx client.Context) { nodeservice.RegisterNodeService(clientCtx, app.GRPCQueryRouter()) } @@ -687,12 +687,12 @@ func GetMaccPerms() map[string][]string { } // SimulationManager implements the SimulationApp interface -func (app *CentauriApp) SimulationManager() *module.SimulationManager { +func (app *ComposableApp) SimulationManager() *module.SimulationManager { return app.sm } // configure store loader that checks if version == upgradeHeight and applies store upgrades -func (app *CentauriApp) setupUpgradeStoreLoaders() { +func (app *ComposableApp) setupUpgradeStoreLoaders() { upgradeInfo, err := app.UpgradeKeeper.ReadUpgradeInfoFromDisk() if err != nil { panic(fmt.Sprintf("failed to read upgrade info from disk %s", err)) @@ -716,13 +716,13 @@ func (app *CentauriApp) setupUpgradeStoreLoaders() { } } -func (app *CentauriApp) customPreUpgradeHandler(_ upgradetypes.Plan) { +func (app *ComposableApp) customPreUpgradeHandler(_ upgradetypes.Plan) { // switch upgradeInfo.Name { // default: // } } -func (app *CentauriApp) setupUpgradeHandlers() { +func (app *ComposableApp) setupUpgradeHandlers() { for _, upgrade := range Upgrades { app.UpgradeKeeper.SetUpgradeHandler( upgrade.UpgradeName, diff --git a/app/coins.go b/app/coins.go index fd6807a96..ce91ace8a 100644 --- a/app/coins.go +++ b/app/coins.go @@ -6,7 +6,7 @@ import ( sdkmath "cosmossdk.io/math" ) -// BaseDenomUnit defines the base denomination unit for Centauri. +// BaseDenomUnit defines the base denomination unit for Composable. // 1 pica = 1x10^{BaseDenomUnit} ppica var BaseDenomUnit = 12 diff --git a/app/export.go b/app/export.go index f7bcc245f..282f4ff5f 100644 --- a/app/export.go +++ b/app/export.go @@ -15,7 +15,7 @@ import ( // ExportAppStateAndValidators exports the state of the application for a genesis // file. -func (app *CentauriApp) ExportAppStateAndValidators( +func (app *ComposableApp) ExportAppStateAndValidators( forZeroHeight bool, jailAllowedAddrs []string, ) (servertypes.ExportedApp, error) { // as if they could withdraw from the start of the next block @@ -51,7 +51,7 @@ func (app *CentauriApp) ExportAppStateAndValidators( // NOTE zero height genesis is a temporary feature which will be deprecated // // in favour of export at a block height -func (app *CentauriApp) prepForZeroHeightGenesis(ctx sdk.Context, jailAllowedAddrs []string) { +func (app *ComposableApp) prepForZeroHeightGenesis(ctx sdk.Context, jailAllowedAddrs []string) { applyAllowedAddrs := false // check if there is a allowed address list diff --git a/app/fork.go b/app/fork.go index 551862c27..c2e0ec0ec 100644 --- a/app/fork.go +++ b/app/fork.go @@ -5,7 +5,7 @@ import ( ) // BeginBlockForks is intended to be ran in a chain upgrade. -func BeginBlockForks(ctx sdk.Context, app *CentauriApp) { +func BeginBlockForks(ctx sdk.Context, app *ComposableApp) { for _, fork := range Forks { if ctx.BlockHeight() == fork.UpgradeHeight { fork.BeginForkLogic(ctx, &app.AppKeepers) diff --git a/app/helpers/test_helpers.go b/app/helpers/test_helpers.go index bcaf04129..c65c1ae20 100644 --- a/app/helpers/test_helpers.go +++ b/app/helpers/test_helpers.go @@ -27,7 +27,7 @@ import ( "github.com/cosmos/ibc-go/v7/testing/mock" "github.com/stretchr/testify/require" - centauri "github.com/notional-labs/centauri/v5/app" + composable "github.com/notional-labs/composable/v5/app" ) // SimAppChainID hardcoded chainID for simulation @@ -58,7 +58,7 @@ type EmptyAppOptions struct{} func (EmptyAppOptions) Get(_ string) interface{} { return nil } -func NewContextForApp(app centauri.CentauriApp) sdk.Context { +func NewContextForApp(app composable.ComposableApp) sdk.Context { ctx := app.BaseApp.NewContext(false, tmproto.Header{ ChainID: fmt.Sprintf("test-chain-%s", tmrand.Str(4)), Height: 1, @@ -66,7 +66,7 @@ func NewContextForApp(app centauri.CentauriApp) sdk.Context { return ctx } -func Setup(t *testing.T, isCheckTx bool, invCheckPeriod uint) *centauri.CentauriApp { +func Setup(t *testing.T, isCheckTx bool, invCheckPeriod uint) *composable.ComposableApp { t.Helper() app, genesisState := setup(!isCheckTx, invCheckPeriod) if !isCheckTx { @@ -87,34 +87,34 @@ func Setup(t *testing.T, isCheckTx bool, invCheckPeriod uint) *centauri.Centauri return app } -func setup(withGenesis bool, invCheckPeriod uint, opts ...wasm.Option) (*centauri.CentauriApp, centauri.GenesisState) { +func setup(withGenesis bool, invCheckPeriod uint, opts ...wasm.Option) (*composable.ComposableApp, composable.GenesisState) { db := dbm.NewMemDB() - encCdc := centauri.MakeEncodingConfig() - app := centauri.NewCentauriApp( + encCdc := composable.MakeEncodingConfig() + app := composable.NewComposableApp( log.NewNopLogger(), db, nil, true, wasmtypes.EnableAllProposals, map[int64]bool{}, - centauri.DefaultNodeHome, + composable.DefaultNodeHome, invCheckPeriod, encCdc, EmptyAppOptions{}, opts, ) if withGenesis { - return app, centauri.NewDefaultGenesisState() + return app, composable.NewDefaultGenesisState() } - return app, centauri.GenesisState{} + return app, composable.GenesisState{} } -// SetupWithGenesisValSet initializes a new CentauriApp with a validator set and genesis accounts +// SetupWithGenesisValSet initializes a new ComposableApp with a validator set and genesis accounts // that also act as delegators. For simplicity, each validator is bonded with a delegation -// of one consensus engine unit (10^6) in the default token of the CentauriApp from first genesis -// account. A Nop logger is set in CentauriApp. -func SetupWithGenesisValSet(t *testing.T, valSet *tmtypes.ValidatorSet, genAccs []authtypes.GenesisAccount, chainID string, balances ...banktypes.Balance) *centauri.CentauriApp { +// of one consensus engine unit (10^6) in the default token of the ComposableApp from first genesis +// account. A Nop logger is set in ComposableApp. +func SetupWithGenesisValSet(t *testing.T, valSet *tmtypes.ValidatorSet, genAccs []authtypes.GenesisAccount, chainID string, balances ...banktypes.Balance) *composable.ComposableApp { t.Helper() app, genesisState := setup(true, 5) genesisState, err := simtestutil.GenesisStateWithValSet(app.AppCodec(), genesisState, valSet, genAccs, balances...) @@ -151,7 +151,7 @@ func SetupWithGenesisValSet(t *testing.T, valSet *tmtypes.ValidatorSet, genAccs return app } -func SetupCentauriAppWithValSet(t *testing.T) *centauri.CentauriApp { +func SetupComposableAppWithValSet(t *testing.T) *composable.ComposableApp { t.Helper() // generate validator private/public key privVal := mock.NewPV() @@ -173,11 +173,11 @@ func SetupCentauriAppWithValSet(t *testing.T) *centauri.CentauriApp { Coins: sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, amount)), } - centauriApp := SetupWithGenesisValSet(t, valSet, []authtypes.GenesisAccount{acc}, "notional", balance) - return centauriApp + composableApp := SetupWithGenesisValSet(t, valSet, []authtypes.GenesisAccount{acc}, "notional", balance) + return composableApp } -func SetupCentauriAppWithValSetWithGenAccout(t *testing.T) (*centauri.CentauriApp, sdk.AccAddress, []stakingtypes.Validator) { +func SetupComposableAppWithValSetWithGenAccout(t *testing.T) (*composable.ComposableApp, sdk.AccAddress, []stakingtypes.Validator) { t.Helper() // generate validator private/public key privVal := mock.NewPV() @@ -219,7 +219,7 @@ func SetupCentauriAppWithValSetWithGenAccout(t *testing.T) (*centauri.CentauriAp } validators = append(validators, validator) } - centauriApp := SetupWithGenesisValSet(t, valSet, []authtypes.GenesisAccount{acc}, "notional", balance) + composableApp := SetupWithGenesisValSet(t, valSet, []authtypes.GenesisAccount{acc}, "notional", balance) - return centauriApp, acc.GetAddress(), validators + return composableApp, acc.GetAddress(), validators } diff --git a/app/ibctesting/chain.go b/app/ibctesting/chain.go index 46795c96b..85e0ddebd 100644 --- a/app/ibctesting/chain.go +++ b/app/ibctesting/chain.go @@ -8,7 +8,7 @@ import ( "testing" "time" - ratelimitmodulekeeper "github.com/notional-labs/centauri/v5/x/ratelimit/keeper" + ratelimitmodulekeeper "github.com/notional-labs/composable/v5/x/ratelimit/keeper" "cosmossdk.io/errors" abci "github.com/cometbft/cometbft/abci/types" @@ -54,9 +54,9 @@ import ( "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" - centauri "github.com/notional-labs/centauri/v5/app" - "github.com/notional-labs/centauri/v5/app/ibctesting/simapp" - routerKeeper "github.com/notional-labs/centauri/v5/x/transfermiddleware/keeper" + composable "github.com/notional-labs/composable/v5/app" + "github.com/notional-labs/composable/v5/app/ibctesting/simapp" + routerKeeper "github.com/notional-labs/composable/v5/x/transfermiddleware/keeper" ) // TestChain is a testing struct that wraps a simapp with the last TM Header, the current ABCI @@ -125,7 +125,7 @@ func NewTestChain(t *testing.T, coord *Coordinator, chainID string) *TestChain { Coins: sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, amount)), } - app := NewTestingAppDecorator(t, centauri.SetupWithGenesisValSet(t, coord.CurrentTime.UTC(), valSet, []authtypes.GenesisAccount{acc}, balance)) + app := NewTestingAppDecorator(t, composable.SetupWithGenesisValSet(t, coord.CurrentTime.UTC(), valSet, []authtypes.GenesisAccount{acc}, balance)) // create current header and call begin block header := tmproto.Header{ @@ -281,7 +281,7 @@ func (chain *TestChain) SendMsgs(msgs ...sdk.Msg) (*sdk.Result, error) { // ensure the chain has the latest time chain.Coordinator.UpdateTimeForChain(chain) - _, r, err := centauri.SignAndDeliver( + _, r, err := composable.SignAndDeliver( chain.t, chain.TxConfig, chain.App.GetBaseApp(), @@ -316,7 +316,7 @@ func (chain *TestChain) SendMsgsWithExpPass(expPass bool, msgs ...sdk.Msg) (*sdk // ensure the chain has the latest time chain.Coordinator.UpdateTimeForChain(chain) - _, r, err := centauri.SignAndDeliver( + _, r, err := composable.SignAndDeliver( chain.t, chain.TxConfig, chain.App.GetBaseApp(), @@ -635,7 +635,7 @@ func (chain *TestChain) GetBankKeeper() bankkeeper.Keeper { return chain.GetTestSupport().BankKeeper() } -func (chain TestChain) GetTestSupport() *centauri.TestSupport { +func (chain TestChain) GetTestSupport() *composable.TestSupport { return chain.App.(*TestingAppDecorator).TestSupport() } @@ -709,13 +709,13 @@ func submitLegacyProposal(t *testing.T, ctx sdk.Context, content v1beta1.Content var _ ibctesting.TestingApp = TestingAppDecorator{} type TestingAppDecorator struct { - *centauri.CentauriApp + *composable.ComposableApp t *testing.T } -func NewTestingAppDecorator(t *testing.T, centauri *centauri.CentauriApp) *TestingAppDecorator { +func NewTestingAppDecorator(t *testing.T, composable *composable.ComposableApp) *TestingAppDecorator { t.Helper() - return &TestingAppDecorator{CentauriApp: centauri, t: t} + return &TestingAppDecorator{ComposableApp: composable, t: t} } func (a TestingAppDecorator) GetBaseApp() *baseapp.BaseApp { @@ -750,8 +750,8 @@ func (a TestingAppDecorator) GetTxConfig() client.TxConfig { return a.TestSupport().GetTxConfig() } -func (a TestingAppDecorator) TestSupport() *centauri.TestSupport { - return centauri.NewTestSupport(a.t, a.CentauriApp) +func (a TestingAppDecorator) TestSupport() *composable.TestSupport { + return composable.NewTestSupport(a.t, a.ComposableApp) } func (a TestingAppDecorator) GetWasmdKeeper() wasm.Keeper { diff --git a/app/ibctesting/simapp/app.go b/app/ibctesting/simapp/app.go index bf55f3330..14a31dc26 100644 --- a/app/ibctesting/simapp/app.go +++ b/app/ibctesting/simapp/app.go @@ -90,9 +90,9 @@ import ( "github.com/gorilla/mux" // TODO: mint module not complete yet, - "github.com/notional-labs/centauri/v5/x/mint" - mintkeeper "github.com/notional-labs/centauri/v5/x/mint/keeper" - minttypes "github.com/notional-labs/centauri/v5/x/mint/types" + "github.com/notional-labs/composable/v5/x/mint" + mintkeeper "github.com/notional-labs/composable/v5/x/mint/keeper" + minttypes "github.com/notional-labs/composable/v5/x/mint/types" "github.com/rakyll/statik/fs" "github.com/spf13/cast" @@ -124,13 +124,13 @@ import ( ibcmock "github.com/cosmos/ibc-go/v7/testing/mock" ibctestingtypes "github.com/cosmos/ibc-go/v7/testing/types" - simappparams "github.com/notional-labs/centauri/v5/app/ibctesting/simapp/params" - simappupgrades "github.com/notional-labs/centauri/v5/app/ibctesting/simapp/upgrades" - v6 "github.com/notional-labs/centauri/v5/app/ibctesting/simapp/upgrades/v6" - v7 "github.com/notional-labs/centauri/v5/app/ibctesting/simapp/upgrades/v7" - transfermiddleware "github.com/notional-labs/centauri/v5/x/transfermiddleware" - transfermiddlewarekeeper "github.com/notional-labs/centauri/v5/x/transfermiddleware/keeper" - transfermiddlewaretypes "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" + simappparams "github.com/notional-labs/composable/v5/app/ibctesting/simapp/params" + simappupgrades "github.com/notional-labs/composable/v5/app/ibctesting/simapp/upgrades" + v6 "github.com/notional-labs/composable/v5/app/ibctesting/simapp/upgrades/v6" + v7 "github.com/notional-labs/composable/v5/app/ibctesting/simapp/upgrades/v7" + transfermiddleware "github.com/notional-labs/composable/v5/x/transfermiddleware" + transfermiddlewarekeeper "github.com/notional-labs/composable/v5/x/transfermiddleware/keeper" + transfermiddlewaretypes "github.com/notional-labs/composable/v5/x/transfermiddleware/types" ) const appName = "SimApp" diff --git a/app/ibctesting/simapp/encoding.go b/app/ibctesting/simapp/encoding.go index 5fb6d8696..e0a0b4796 100644 --- a/app/ibctesting/simapp/encoding.go +++ b/app/ibctesting/simapp/encoding.go @@ -3,7 +3,7 @@ package simapp import ( "github.com/cosmos/cosmos-sdk/std" - simappparams "github.com/notional-labs/centauri/v5/app/ibctesting/simapp/params" + simappparams "github.com/notional-labs/composable/v5/app/ibctesting/simapp/params" ) // MakeTestEncodingConfig creates an EncodingConfig for testing. This function diff --git a/app/ibctesting/simapp/sim_test.go b/app/ibctesting/simapp/sim_test.go index 29d982f02..b6b9f4f06 100644 --- a/app/ibctesting/simapp/sim_test.go +++ b/app/ibctesting/simapp/sim_test.go @@ -30,7 +30,7 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/stretchr/testify/require" - minttypes "github.com/notional-labs/centauri/v5/x/mint/types" + minttypes "github.com/notional-labs/composable/v5/x/mint/types" ibctransfertypes "github.com/cosmos/ibc-go/v7/modules/apps/transfer/types" ibcexported "github.com/cosmos/ibc-go/v7/modules/core/exported" diff --git a/app/keepers/keepers.go b/app/keepers/keepers.go index d342fc81e..7fd2be54e 100644 --- a/app/keepers/keepers.go +++ b/app/keepers/keepers.go @@ -66,7 +66,7 @@ import ( icqkeeper "github.com/strangelove-ventures/async-icq/v7/keeper" icqtypes "github.com/strangelove-ventures/async-icq/v7/types" - custombankkeeper "github.com/notional-labs/centauri/v5/custom/bank/keeper" + custombankkeeper "github.com/notional-labs/composable/v5/custom/bank/keeper" "github.com/strangelove-ventures/packet-forward-middleware/v7/router" routerkeeper "github.com/strangelove-ventures/packet-forward-middleware/v7/router/keeper" @@ -76,22 +76,22 @@ import ( alliancemodulekeeper "github.com/terra-money/alliance/x/alliance/keeper" alliancemoduletypes "github.com/terra-money/alliance/x/alliance/types" - transfermiddleware "github.com/notional-labs/centauri/v5/x/transfermiddleware" - transfermiddlewarekeeper "github.com/notional-labs/centauri/v5/x/transfermiddleware/keeper" - transfermiddlewaretypes "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" + transfermiddleware "github.com/notional-labs/composable/v5/x/transfermiddleware" + transfermiddlewarekeeper "github.com/notional-labs/composable/v5/x/transfermiddleware/keeper" + transfermiddlewaretypes "github.com/notional-labs/composable/v5/x/transfermiddleware/types" - txBoundaryKeeper "github.com/notional-labs/centauri/v5/x/tx-boundary/keeper" - txBoundaryTypes "github.com/notional-labs/centauri/v5/x/tx-boundary/types" + txBoundaryKeeper "github.com/notional-labs/composable/v5/x/tx-boundary/keeper" + txBoundaryTypes "github.com/notional-labs/composable/v5/x/tx-boundary/types" - ratelimitmodule "github.com/notional-labs/centauri/v5/x/ratelimit" - ratelimitmodulekeeper "github.com/notional-labs/centauri/v5/x/ratelimit/keeper" - ratelimitmoduletypes "github.com/notional-labs/centauri/v5/x/ratelimit/types" + ratelimitmodule "github.com/notional-labs/composable/v5/x/ratelimit" + ratelimitmodulekeeper "github.com/notional-labs/composable/v5/x/ratelimit/keeper" + ratelimitmoduletypes "github.com/notional-labs/composable/v5/x/ratelimit/types" consensusparamkeeper "github.com/cosmos/cosmos-sdk/x/consensus/keeper" consensusparamtypes "github.com/cosmos/cosmos-sdk/x/consensus/types" - mintkeeper "github.com/notional-labs/centauri/v5/x/mint/keeper" - minttypes "github.com/notional-labs/centauri/v5/x/mint/types" + mintkeeper "github.com/notional-labs/composable/v5/x/mint/keeper" + minttypes "github.com/notional-labs/composable/v5/x/mint/types" "github.com/CosmWasm/wasmd/x/wasm" servertypes "github.com/cosmos/cosmos-sdk/server/types" @@ -99,14 +99,14 @@ import ( wasm08Keeper "github.com/cosmos/ibc-go/v7/modules/light-clients/08-wasm/keeper" wasmtypes "github.com/cosmos/ibc-go/v7/modules/light-clients/08-wasm/types" - ibc_hooks "github.com/notional-labs/centauri/v5/x/ibc-hooks" - ibchookskeeper "github.com/notional-labs/centauri/v5/x/ibc-hooks/keeper" - ibchookstypes "github.com/notional-labs/centauri/v5/x/ibc-hooks/types" + ibc_hooks "github.com/notional-labs/composable/v5/x/ibc-hooks" + ibchookskeeper "github.com/notional-labs/composable/v5/x/ibc-hooks/keeper" + ibchookstypes "github.com/notional-labs/composable/v5/x/ibc-hooks/types" ) const ( - AccountAddressPrefix = "centauri" - authorityAddress = "centauri10556m38z4x6pqalr9rl5ytf3cff8q46nk85k9m" + AccountAddressPrefix = "composable" + // authorityAddress = "centauri10556m38z4x6pqalr9rl5ytf3cff8q46nk85k9m" ) type AppKeepers struct { @@ -259,8 +259,8 @@ func (appKeepers *AppKeepers) InitNormalKeepers( ) appKeepers.IBCHooksKeeper = &hooksKeeper - centauriPrefix := sdk.GetConfig().GetBech32AccountAddrPrefix() - wasmHooks := ibc_hooks.NewWasmHooks(&hooksKeeper, nil, centauriPrefix) // The contract keeper needs to be set later + composablePrefix := sdk.GetConfig().GetBech32AccountAddrPrefix() + wasmHooks := ibc_hooks.NewWasmHooks(&hooksKeeper, nil, composablePrefix) // The contract keeper needs to be set later appKeepers.Ics20WasmHooks = &wasmHooks appKeepers.HooksICS4Wrapper = ibc_hooks.NewICS4Middleware( appKeepers.IBCKeeper.ChannelKeeper, diff --git a/app/keepers/keys.go b/app/keepers/keys.go index ee2accf49..3235cc6de 100644 --- a/app/keepers/keys.go +++ b/app/keepers/keys.go @@ -27,16 +27,16 @@ import ( routertypes "github.com/strangelove-ventures/packet-forward-middleware/v7/router/types" alliancemoduletypes "github.com/terra-money/alliance/x/alliance/types" - ibchookstypes "github.com/notional-labs/centauri/v5/x/ibc-hooks/types" - ratelimitmoduletypes "github.com/notional-labs/centauri/v5/x/ratelimit/types" - transfermiddlewaretypes "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" - txBoundaryTypes "github.com/notional-labs/centauri/v5/x/tx-boundary/types" + ibchookstypes "github.com/notional-labs/composable/v5/x/ibc-hooks/types" + ratelimitmoduletypes "github.com/notional-labs/composable/v5/x/ratelimit/types" + transfermiddlewaretypes "github.com/notional-labs/composable/v5/x/transfermiddleware/types" + txBoundaryTypes "github.com/notional-labs/composable/v5/x/tx-boundary/types" consensusparamtypes "github.com/cosmos/cosmos-sdk/x/consensus/types" storetypes "github.com/cosmos/cosmos-sdk/store/types" - minttypes "github.com/notional-labs/centauri/v5/x/mint/types" + minttypes "github.com/notional-labs/composable/v5/x/mint/types" "github.com/CosmWasm/wasmd/x/wasm" wasm08types "github.com/cosmos/ibc-go/v7/modules/light-clients/08-wasm/types" diff --git a/app/test_access.go b/app/test_access.go index b7ba6dcc3..6ab4deac9 100644 --- a/app/test_access.go +++ b/app/test_access.go @@ -16,16 +16,16 @@ import ( ibckeeper "github.com/cosmos/ibc-go/v7/modules/core/keeper" wasm08 "github.com/cosmos/ibc-go/v7/modules/light-clients/08-wasm/keeper" - ratelimitkeeper "github.com/notional-labs/centauri/v5/x/ratelimit/keeper" - tfmdKeeper "github.com/notional-labs/centauri/v5/x/transfermiddleware/keeper" + ratelimitkeeper "github.com/notional-labs/composable/v5/x/ratelimit/keeper" + tfmdKeeper "github.com/notional-labs/composable/v5/x/transfermiddleware/keeper" ) type TestSupport struct { tb testing.TB - app *CentauriApp + app *ComposableApp } -func NewTestSupport(tb testing.TB, app *CentauriApp) *TestSupport { +func NewTestSupport(tb testing.TB, app *ComposableApp) *TestSupport { tb.Helper() return &TestSupport{tb: tb, app: app} } diff --git a/app/test_helpers.go b/app/test_helpers.go index 1e4521a00..5b95e90ef 100644 --- a/app/test_helpers.go +++ b/app/test_helpers.go @@ -36,7 +36,7 @@ import ( banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - minttypes "github.com/notional-labs/centauri/v5/x/mint/types" + minttypes "github.com/notional-labs/composable/v5/x/mint/types" "github.com/CosmWasm/wasmd/x/wasm" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" @@ -61,7 +61,7 @@ var DefaultConsensusParams = &tmproto.ConsensusParams{ }, } -func setup(tb testing.TB, withGenesis bool, invCheckPeriod uint) (*CentauriApp, GenesisState) { +func setup(tb testing.TB, withGenesis bool, invCheckPeriod uint) (*ComposableApp, GenesisState) { tb.Helper() nodeHome := tb.TempDir() snapshotDir := filepath.Join(nodeHome, "data", "snapshots") @@ -74,7 +74,7 @@ func setup(tb testing.TB, withGenesis bool, invCheckPeriod uint) (*CentauriApp, })} var wasmOpts []wasm.Option db := dbm.NewMemDB() - app := NewCentauriApp( + app := NewComposableApp( log.NewNopLogger(), db, nil, true, wasmtypes.EnableAllProposals, @@ -101,7 +101,7 @@ func SetupWithGenesisValSet( valSet *tmtypes.ValidatorSet, genAccs []authtypes.GenesisAccount, balances ...banktypes.Balance, -) *CentauriApp { +) *ComposableApp { t.Helper() app, genesisState := setup(t, true, 5) // set genesis accounts @@ -181,7 +181,7 @@ func SetupWithGenesisValSet( } // SetupWithEmptyStore setup a wasmd app instance with empty DB -func SetupWithEmptyStore(tb testing.TB) *CentauriApp { +func SetupWithEmptyStore(tb testing.TB) *ComposableApp { tb.Helper() app, _ := setup(tb, false, 0) return app @@ -229,7 +229,7 @@ func createIncrementalAccounts(accNum int) []sdk.AccAddress { } // AddTestAddrsFromPubKeys adds the addresses into the WasmApp providing only the public keys. -func AddTestAddrsFromPubKeys(app *CentauriApp, ctx sdk.Context, pubKeys []cryptotypes.PubKey, accAmt sdkmath.Int) { +func AddTestAddrsFromPubKeys(app *ComposableApp, ctx sdk.Context, pubKeys []cryptotypes.PubKey, accAmt sdkmath.Int) { initCoins := sdk.NewCoins(sdk.NewCoin(app.StakingKeeper.BondDenom(ctx), accAmt)) for _, pk := range pubKeys { @@ -239,17 +239,17 @@ func AddTestAddrsFromPubKeys(app *CentauriApp, ctx sdk.Context, pubKeys []crypto // AddTestAddrs constructs and returns accNum amount of accounts with an // initial balance of accAmt in random order -func AddTestAddrs(app *CentauriApp, ctx sdk.Context, accNum int, accAmt sdkmath.Int) []sdk.AccAddress { +func AddTestAddrs(app *ComposableApp, ctx sdk.Context, accNum int, accAmt sdkmath.Int) []sdk.AccAddress { return addTestAddrs(app, ctx, accNum, accAmt, createRandomAccounts) } // AddTestAddrs constructs and returns accNum amount of accounts with an // initial balance of accAmt in random order -func AddTestAddrsIncremental(app *CentauriApp, ctx sdk.Context, accNum int, accAmt sdkmath.Int) []sdk.AccAddress { +func AddTestAddrsIncremental(app *ComposableApp, ctx sdk.Context, accNum int, accAmt sdkmath.Int) []sdk.AccAddress { return addTestAddrs(app, ctx, accNum, accAmt, createIncrementalAccounts) } -func addTestAddrs(app *CentauriApp, ctx sdk.Context, accNum int, accAmt sdkmath.Int, strategy GenerateAccountStrategy) []sdk.AccAddress { +func addTestAddrs(app *ComposableApp, ctx sdk.Context, accNum int, accAmt sdkmath.Int, strategy GenerateAccountStrategy) []sdk.AccAddress { testAddrs := strategy(accNum) initCoins := sdk.NewCoins(sdk.NewCoin(app.StakingKeeper.BondDenom(ctx), accAmt)) @@ -262,7 +262,7 @@ func addTestAddrs(app *CentauriApp, ctx sdk.Context, accNum int, accAmt sdkmath. return testAddrs } -func initAccountWithCoins(app *CentauriApp, ctx sdk.Context, addr sdk.AccAddress, coins sdk.Coins) { +func initAccountWithCoins(app *ComposableApp, ctx sdk.Context, addr sdk.AccAddress, coins sdk.Coins) { err := app.BankKeeper.MintCoins(ctx, minttypes.ModuleName, coins) if err != nil { panic(err) @@ -307,7 +307,7 @@ func TestAddr(addr, bech string) (sdk.AccAddress, error) { } // CheckBalance checks the balance of an account. -func CheckBalance(t *testing.T, app *CentauriApp, addr sdk.AccAddress, balances sdk.Coins) { +func CheckBalance(t *testing.T, app *ComposableApp, addr sdk.AccAddress, balances sdk.Coins) { t.Helper() ctxCheck := app.BaseApp.NewContext(true, tmproto.Header{}) require.True(t, balances.IsEqual(app.BankKeeper.GetAllBalances(ctxCheck, addr))) diff --git a/app/upgrades/centauri/upgrade.go b/app/upgrades/centauri/upgrade.go index c83658368..0870c679e 100644 --- a/app/upgrades/centauri/upgrade.go +++ b/app/upgrades/centauri/upgrade.go @@ -16,10 +16,10 @@ import ( govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper" - bech32authmigration "github.com/notional-labs/centauri/v5/bech32-migration/auth" - bech32govmigration "github.com/notional-labs/centauri/v5/bech32-migration/gov" - bech32slashingmigration "github.com/notional-labs/centauri/v5/bech32-migration/slashing" - bech32stakingmigration "github.com/notional-labs/centauri/v5/bech32-migration/staking" + bech32authmigration "github.com/notional-labs/composable/v5/bech32-migration/auth" + bech32govmigration "github.com/notional-labs/composable/v5/bech32-migration/gov" + bech32slashingmigration "github.com/notional-labs/composable/v5/bech32-migration/slashing" + bech32stakingmigration "github.com/notional-labs/composable/v5/bech32-migration/staking" ) func CreateUpgradeHandler( diff --git a/app/upgrades/composable/constants.go b/app/upgrades/composable/constants.go new file mode 100644 index 000000000..adde1aeb4 --- /dev/null +++ b/app/upgrades/composable/constants.go @@ -0,0 +1,6 @@ +package composable + +const ( + // UpgradeName defines the on-chain upgrade name for the composable upgrade. + UpgradeName = "composable" +) diff --git a/app/upgrades/composable/upgrade.go b/app/upgrades/composable/upgrade.go new file mode 100644 index 000000000..1cd12048d --- /dev/null +++ b/app/upgrades/composable/upgrade.go @@ -0,0 +1,52 @@ +package composable + +import ( + "cosmossdk.io/math" + "github.com/cosmos/cosmos-sdk/codec" + storetypes "github.com/cosmos/cosmos-sdk/store/types" + sdk "github.com/cosmos/cosmos-sdk/types" + + "github.com/cosmos/cosmos-sdk/types/module" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + slashingkeeper "github.com/cosmos/cosmos-sdk/x/slashing/keeper" + slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" + stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + + govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper" + + bech32authmigration "github.com/notional-labs/composable/v5/bech32-migration/auth" + bech32govmigration "github.com/notional-labs/composable/v5/bech32-migration/gov" + bech32slashingmigration "github.com/notional-labs/composable/v5/bech32-migration/slashing" + bech32stakingmigration "github.com/notional-labs/composable/v5/bech32-migration/staking" +) + +func CreateUpgradeHandler( + mm *module.Manager, + configurator module.Configurator, + keys map[string]*storetypes.KVStoreKey, codec codec.Codec, + slashingKeeper *slashingkeeper.Keeper, + govkeeper *govkeeper.Keeper, +) upgradetypes.UpgradeHandler { + return func(ctx sdk.Context, plan upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) { + // Migration prefix + ctx.Logger().Info("First step: Migrate addresses stored in bech32 form to use new prefix") + bech32stakingmigration.MigrateAddressBech32(ctx, keys[stakingtypes.StoreKey], codec) + bech32slashingmigration.MigrateAddressBech32(ctx, keys[slashingtypes.StoreKey], codec) + bech32govmigration.MigrateAddressBech32(ctx, keys[govtypes.StoreKey], codec) + bech32authmigration.MigrateAddressBech32(ctx, keys[authtypes.StoreKey], codec) + + // Slashing params change + newParamsSet := slashingKeeper.GetParams(ctx) + newParamsSet.SlashFractionDowntime = math.LegacyNewDecWithPrec(1, 5) + slashingKeeper.SetParams(ctx, newParamsSet) + + // Gov params change: minium deposit + newGovParamsSet := govkeeper.GetParams(ctx) + newGovParamsSet.MinInitialDepositRatio = sdk.NewDecWithPrec(1, 2).String() // this is 1% + govkeeper.SetParams(ctx, newGovParamsSet) + + return mm.RunMigrations(ctx, configurator, vm) + } +} diff --git a/app/upgrades/reward/constants.go b/app/upgrades/reward/constants.go index 6d0837541..18a12fb9e 100644 --- a/app/upgrades/reward/constants.go +++ b/app/upgrades/reward/constants.go @@ -1,6 +1,6 @@ package v4 const ( - // UpgradeName defines the on-chain upgrade name for the Centauri upgrade. + // UpgradeName defines the on-chain upgrade name for the composable upgrade. UpgradeName = "reward" ) diff --git a/app/upgrades/reward/upgrade.go b/app/upgrades/reward/upgrade.go index 991d2eb3a..95b69a853 100644 --- a/app/upgrades/reward/upgrade.go +++ b/app/upgrades/reward/upgrade.go @@ -5,8 +5,8 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - mintkeeper "github.com/notional-labs/centauri/v5/x/mint/keeper" - tfmwkeeper "github.com/notional-labs/centauri/v5/x/transfermiddleware/keeper" + mintkeeper "github.com/notional-labs/composable/v5/x/mint/keeper" + tfmwkeeper "github.com/notional-labs/composable/v5/x/transfermiddleware/keeper" ) var listAllowedRelayAddress = []string{ diff --git a/app/upgrades/types.go b/app/upgrades/types.go index fb35080de..38335d8bb 100644 --- a/app/upgrades/types.go +++ b/app/upgrades/types.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - "github.com/notional-labs/centauri/v5/app/keepers" + "github.com/notional-labs/composable/v5/app/keepers" ) // BaseAppParamManager defines an interrace that BaseApp is expected to fullfil diff --git a/app/upgrades/v4/constants.go b/app/upgrades/v4/constants.go index e6e7a7360..f7b1d9b58 100644 --- a/app/upgrades/v4/constants.go +++ b/app/upgrades/v4/constants.go @@ -5,13 +5,13 @@ import ( store "github.com/cosmos/cosmos-sdk/store/types" icahosttypes "github.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/host/types" - "github.com/notional-labs/centauri/v5/app/upgrades" - ibchookstypes "github.com/notional-labs/centauri/v5/x/ibc-hooks/types" - ratelimitmoduletypes "github.com/notional-labs/centauri/v5/x/ratelimit/types" + "github.com/notional-labs/composable/v5/app/upgrades" + ibchookstypes "github.com/notional-labs/composable/v5/x/ibc-hooks/types" + ratelimitmoduletypes "github.com/notional-labs/composable/v5/x/ratelimit/types" ) const ( - // UpgradeName defines the on-chain upgrade name for the Centauri upgrade. + // UpgradeName defines the on-chain upgrade name for the composable upgrade. UpgradeName = "v4" ) diff --git a/app/upgrades/v4/upgrade.go b/app/upgrades/v4/upgrade.go index eb614ffba..b6bd5d629 100644 --- a/app/upgrades/v4/upgrade.go +++ b/app/upgrades/v4/upgrade.go @@ -6,9 +6,9 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - "github.com/notional-labs/centauri/v5/app/keepers" - "github.com/notional-labs/centauri/v5/app/upgrades" - tfmdtypes "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" + "github.com/notional-labs/composable/v5/app/keepers" + "github.com/notional-labs/composable/v5/app/upgrades" + tfmdtypes "github.com/notional-labs/composable/v5/x/transfermiddleware/types" ) func CreateUpgradeHandler( diff --git a/app/upgrades/v4_5/constants.go b/app/upgrades/v4_5/constants.go index ef7b9665d..96541284e 100644 --- a/app/upgrades/v4_5/constants.go +++ b/app/upgrades/v4_5/constants.go @@ -1,9 +1,9 @@ package v45 -import "github.com/notional-labs/centauri/v5/app/upgrades" +import "github.com/notional-labs/composable/v5/app/upgrades" const ( - // UpgradeName defines the on-chain upgrade name for the Centauri upgrade. + // UpgradeName defines the on-chain upgrade name for the composable upgrade. UpgradeName = "v4_5" UpgradeHeight = 967554 ) diff --git a/app/upgrades/v4_5/fork.go b/app/upgrades/v4_5/fork.go index d1d9b6d5f..270c4cea1 100644 --- a/app/upgrades/v4_5/fork.go +++ b/app/upgrades/v4_5/fork.go @@ -12,7 +12,7 @@ import ( icahosttypes "github.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/host/types" ibctransfertypes "github.com/cosmos/ibc-go/v7/modules/apps/transfer/types" - "github.com/notional-labs/centauri/v5/app/keepers" + "github.com/notional-labs/composable/v5/app/keepers" ) func RunForkLogic(ctx sdk.Context, appKeepers *keepers.AppKeepers) { diff --git a/app/upgrades/v4_5_1/constants.go b/app/upgrades/v4_5_1/constants.go index bae8d3337..d6033e057 100644 --- a/app/upgrades/v4_5_1/constants.go +++ b/app/upgrades/v4_5_1/constants.go @@ -1,6 +1,6 @@ package v4_5_1 -import "github.com/notional-labs/centauri/v5/app/upgrades" +import "github.com/notional-labs/composable/v5/app/upgrades" const ( // UpgradeName defines the on-chain upgrade name for the Composable v5 upgrade. diff --git a/app/upgrades/v4_5_1/fork.go b/app/upgrades/v4_5_1/fork.go index f0b85d60e..aead97f12 100644 --- a/app/upgrades/v4_5_1/fork.go +++ b/app/upgrades/v4_5_1/fork.go @@ -3,8 +3,8 @@ package v4_5_1 import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/notional-labs/centauri/v5/app/keepers" - rateLimitKeeper "github.com/notional-labs/centauri/v5/x/ratelimit/keeper" + "github.com/notional-labs/composable/v5/app/keepers" + rateLimitKeeper "github.com/notional-labs/composable/v5/x/ratelimit/keeper" ) func RunForkLogic(ctx sdk.Context, keepers *keepers.AppKeepers) { diff --git a/app/upgrades/v5/constants.go b/app/upgrades/v5/constants.go index 87d595774..5211ff836 100644 --- a/app/upgrades/v5/constants.go +++ b/app/upgrades/v5/constants.go @@ -2,12 +2,12 @@ package v5 import ( store "github.com/cosmos/cosmos-sdk/store/types" - "github.com/notional-labs/centauri/v5/app/upgrades" - txboundary "github.com/notional-labs/centauri/v5/x/tx-boundary/types" + "github.com/notional-labs/composable/v5/app/upgrades" + txboundary "github.com/notional-labs/composable/v5/x/tx-boundary/types" ) const ( - // UpgradeName defines the on-chain upgrade name for the Centauri upgrade. + // UpgradeName defines the on-chain upgrade name for the composable upgrade. UpgradeName = "v5" ) diff --git a/app/upgrades/v5/upgrade.go b/app/upgrades/v5/upgrade.go index 93da70da2..da22ebc6c 100644 --- a/app/upgrades/v5/upgrade.go +++ b/app/upgrades/v5/upgrade.go @@ -5,9 +5,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - "github.com/notional-labs/centauri/v5/app/keepers" - "github.com/notional-labs/centauri/v5/app/upgrades" - "github.com/notional-labs/centauri/v5/x/ratelimit/types" + "github.com/notional-labs/composable/v5/app/keepers" + "github.com/notional-labs/composable/v5/app/upgrades" + "github.com/notional-labs/composable/v5/x/ratelimit/types" ) const ( diff --git a/app/upgrades/v5_1_0/constants.go b/app/upgrades/v5_1_0/constants.go index 72ae72bfc..8e7cd6cb4 100644 --- a/app/upgrades/v5_1_0/constants.go +++ b/app/upgrades/v5_1_0/constants.go @@ -1,6 +1,6 @@ package v5_1_0 -import "github.com/notional-labs/centauri/v5/app/upgrades" +import "github.com/notional-labs/composable/v5/app/upgrades" const ( // UpgradeName defines the on-chain upgrade name for the Composable v5 upgrade. diff --git a/app/upgrades/v5_1_0/fork.go b/app/upgrades/v5_1_0/fork.go index 01b051706..92bf25088 100644 --- a/app/upgrades/v5_1_0/fork.go +++ b/app/upgrades/v5_1_0/fork.go @@ -4,9 +4,9 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/notional-labs/centauri/v5/app/keepers" - rateLimitKeeper "github.com/notional-labs/centauri/v5/x/ratelimit/keeper" - "github.com/notional-labs/centauri/v5/x/ratelimit/types" + "github.com/notional-labs/composable/v5/app/keepers" + rateLimitKeeper "github.com/notional-labs/composable/v5/x/ratelimit/keeper" + "github.com/notional-labs/composable/v5/x/ratelimit/types" ) const uosmo = "ibc/47BD209179859CDE4A2806763D7189B6E6FE13A17880FE2B42DE1E6C1E329E23" diff --git a/bech32-migration/auth/auth.go b/bech32-migration/auth/auth.go index ae1cd868f..cb1ceb48f 100644 --- a/bech32-migration/auth/auth.go +++ b/bech32-migration/auth/auth.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/auth/types" vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" - "github.com/notional-labs/centauri/v5/bech32-migration/utils" + "github.com/notional-labs/composable/v5/bech32-migration/utils" ) func MigrateAddressBech32(ctx sdk.Context, storeKey storetypes.StoreKey, cdc codec.BinaryCodec) { diff --git a/bech32-migration/gov/gov.go b/bech32-migration/gov/gov.go index 40f222a6f..782cc6c3b 100644 --- a/bech32-migration/gov/gov.go +++ b/bech32-migration/gov/gov.go @@ -9,7 +9,7 @@ import ( v1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" - "github.com/notional-labs/centauri/v5/bech32-migration/utils" + "github.com/notional-labs/composable/v5/bech32-migration/utils" ) func MigrateAddressBech32(ctx sdk.Context, storeKey storetypes.StoreKey, cdc codec.BinaryCodec) { diff --git a/bech32-migration/slashing/slashing.go b/bech32-migration/slashing/slashing.go index 4964c5474..638bc66d1 100644 --- a/bech32-migration/slashing/slashing.go +++ b/bech32-migration/slashing/slashing.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/slashing/types" - "github.com/notional-labs/centauri/v5/bech32-migration/utils" + "github.com/notional-labs/composable/v5/bech32-migration/utils" ) func MigrateAddressBech32(ctx sdk.Context, storeKey storetypes.StoreKey, cdc codec.BinaryCodec) { diff --git a/bech32-migration/staking/staking.go b/bech32-migration/staking/staking.go index 47147152a..9a3ce9db4 100644 --- a/bech32-migration/staking/staking.go +++ b/bech32-migration/staking/staking.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/notional-labs/centauri/v5/bech32-migration/utils" + "github.com/notional-labs/composable/v5/bech32-migration/utils" ) func MigrateAddressBech32(ctx sdk.Context, storeKey storetypes.StoreKey, cdc codec.BinaryCodec) { diff --git a/cmd/centaurid/cmd/bech32_convert.go b/cmd/centaurid/cmd/bech32_convert.go index 35c4e9599..04c918916 100644 --- a/cmd/centaurid/cmd/bech32_convert.go +++ b/cmd/centaurid/cmd/bech32_convert.go @@ -12,13 +12,13 @@ var flagBech32Prefix = "prefix" func AddBech32ConvertCommand() *cobra.Command { cmd := &cobra.Command{ Use: "bech32-convert [address]", - Short: "Convert any bech32 string to the centauri prefix", - Long: `Convert any bech32 string to the centauri prefix + Short: "Convert any bech32 string to the composable prefix", + Long: `Convert any bech32 string to the composable prefix Example: - centaurid debug bech32-convert akash1a6zlyvpnksx8wr6wz8wemur2xe8zyh0ytz6d88 + composabled debug bech32-convert akash1a6zlyvpnksx8wr6wz8wemur2xe8zyh0ytz6d88 - centaurid debug bech32-convert stride1673f0t8p893rqyqe420mgwwz92ac4qv6synvx2 --prefix osmo + composabled debug bech32-convert stride1673f0t8p893rqyqe420mgwwz92ac4qv6synvx2 --prefix osmo `, Args: cobra.ExactArgs(1), RunE: func(cmd *cobra.Command, args []string) error { @@ -43,7 +43,7 @@ Example: }, } - cmd.Flags().StringP(flagBech32Prefix, "p", "centauri", "Bech32 Prefix to encode to") + cmd.Flags().StringP(flagBech32Prefix, "p", "composable", "Bech32 Prefix to encode to") return cmd } diff --git a/cmd/centaurid/cmd/genaccounts.go b/cmd/centaurid/cmd/genaccounts.go index 37a68d1ec..c86769cd7 100644 --- a/cmd/centaurid/cmd/genaccounts.go +++ b/cmd/centaurid/cmd/genaccounts.go @@ -8,7 +8,7 @@ import ( "github.com/spf13/cobra" - "github.com/notional-labs/centauri/v5/bech32-migration/utils" + "github.com/notional-labs/composable/v5/bech32-migration/utils" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" @@ -201,7 +201,7 @@ contain valid denominations. Accounts may optionally be supplied with vesting pa func CovertPrefixAddr() *cobra.Command { cmd := &cobra.Command{ Use: "convert [address]", - Short: "Convert prefix from banksy to centauri", + Short: "Convert prefix from centauri to composable", Args: cobra.ExactArgs(1), RunE: func(cmd *cobra.Command, args []string) error { newAddr := utils.ConvertAccAddr(args[0]) diff --git a/cmd/centaurid/cmd/root.go b/cmd/centaurid/cmd/root.go index 159891d1b..bf02cc68f 100644 --- a/cmd/centaurid/cmd/root.go +++ b/cmd/centaurid/cmd/root.go @@ -33,8 +33,8 @@ import ( genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" - "github.com/notional-labs/centauri/v5/app" - // "github.com/notional-labs/centauri/v5/app/params" + "github.com/notional-labs/composable/v5/app" + // "github.com/notional-labs/composable/v5/app/params" // this line is used by starport scaffolding # stargate/root/import ) @@ -56,7 +56,7 @@ func NewRootCmd() (*cobra.Command, app.EncodingConfig) { rootCmd := &cobra.Command{ Use: app.Name + "d", - Short: "Centauri App", + Short: "Composable App", PersistentPreRunE: func(cmd *cobra.Command, _ []string) error { // set the default command outputs cmd.SetOut(cmd.OutOrStdout()) @@ -270,7 +270,7 @@ func (a appCreator) newApp(logger log.Logger, db dbm.DB, traceStore io.Writer, a baseappOptions := server.DefaultBaseappOptions(appOpts) var emptyWasmOpts []wasm.Option - newApp := app.NewCentauriApp( + newApp := app.NewComposableApp( logger, db, traceStore, true, app.GetEnabledProposals(), skipUpgradeHeights, @@ -291,7 +291,7 @@ func (a appCreator) appExport( logger log.Logger, db dbm.DB, traceStore io.Writer, height int64, forZeroHeight bool, jailAllowedAddrs []string, appOpts servertypes.AppOptions, _ []string, ) (servertypes.ExportedApp, error) { - var anApp *app.CentauriApp + var anApp *app.ComposableApp homePath, ok := appOpts.Get(flags.FlagHome).(string) if !ok || homePath == "" { @@ -300,7 +300,7 @@ func (a appCreator) appExport( var emptyWasmOpts []wasm.Option if height != -1 { - anApp = app.NewCentauriApp( + anApp = app.NewComposableApp( logger, db, traceStore, @@ -318,7 +318,7 @@ func (a appCreator) appExport( return servertypes.ExportedApp{}, err } } else { - anApp = app.NewCentauriApp( + anApp = app.NewComposableApp( logger, db, traceStore, diff --git a/cmd/centaurid/config/config.go b/cmd/centaurid/config/config.go index 38aaf57d3..64a26cc06 100644 --- a/cmd/centaurid/config/config.go +++ b/cmd/centaurid/config/config.go @@ -11,7 +11,7 @@ import ( const ( // Bech32Prefix defines the Bech32 prefix used for EthAccounts - Bech32Prefix = "centauri" + Bech32Prefix = "composable" // Bech32PrefixAccAddr defines the Bech32 prefix of an account's address Bech32PrefixAccAddr = Bech32Prefix @@ -40,8 +40,8 @@ func SetupConfig() { SetAddressPrefixes(config) config.Seal() - version.AppName = "centauri" - version.Name = "centaurid" + version.AppName = "composable" + version.Name = "composabled" } // SetBech32Prefixes sets the global prefixes to be used when serializing addresses and public keys to Bech32 strings. diff --git a/cmd/centaurid/main.go b/cmd/centaurid/main.go index 5c9cb1894..aaef9ee6c 100644 --- a/cmd/centaurid/main.go +++ b/cmd/centaurid/main.go @@ -5,9 +5,9 @@ import ( svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" - "github.com/notional-labs/centauri/v5/app" - cmd "github.com/notional-labs/centauri/v5/cmd/centaurid/cmd" - cmdcfg "github.com/notional-labs/centauri/v5/cmd/centaurid/config" + "github.com/notional-labs/composable/v5/app" + cmd "github.com/notional-labs/composable/v5/cmd/centaurid/cmd" + cmdcfg "github.com/notional-labs/composable/v5/cmd/centaurid/config" ) func main() { diff --git a/custom/bank/bank_test.go b/custom/bank/bank_test.go index 65d833901..f1655a4ac 100644 --- a/custom/bank/bank_test.go +++ b/custom/bank/bank_test.go @@ -9,7 +9,7 @@ import ( clienttypes "github.com/cosmos/ibc-go/v7/modules/core/02-client/types" "github.com/stretchr/testify/suite" - customibctesting "github.com/notional-labs/centauri/v5/app/ibctesting" + customibctesting "github.com/notional-labs/composable/v5/app/ibctesting" ) type CustomBankTestSuite struct { diff --git a/custom/bank/keeper/keeper.go b/custom/bank/keeper/keeper.go index a71599d8c..c32696127 100644 --- a/custom/bank/keeper/keeper.go +++ b/custom/bank/keeper/keeper.go @@ -13,9 +13,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - banktypes "github.com/notional-labs/centauri/v5/custom/bank/types" + banktypes "github.com/notional-labs/composable/v5/custom/bank/types" - transfermiddlewarekeeper "github.com/notional-labs/centauri/v5/x/transfermiddleware/keeper" + transfermiddlewarekeeper "github.com/notional-labs/composable/v5/x/transfermiddleware/keeper" alliancekeeper "github.com/terra-money/alliance/x/alliance/keeper" alliancetypes "github.com/terra-money/alliance/x/alliance/types" diff --git a/custom/bank/module.go b/custom/bank/module.go index e55cda7ca..e9d5fe02c 100644 --- a/custom/bank/module.go +++ b/custom/bank/module.go @@ -10,7 +10,7 @@ import ( bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" "github.com/cosmos/cosmos-sdk/x/bank/types" - custombankkeeper "github.com/notional-labs/centauri/v5/custom/bank/keeper" + custombankkeeper "github.com/notional-labs/composable/v5/custom/bank/keeper" ) // AppModule wraps around the bank module and the bank keeper to return the right total supply ignoring bonded tokens diff --git a/go.mod b/go.mod index 205c5c581..e3057e107 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/notional-labs/centauri/v5 +module github.com/notional-labs/composable/v5 go 1.19 @@ -123,6 +123,7 @@ require ( github.com/quasilyte/gogrep v0.0.0-20220828223005-86e4605de09f // indirect github.com/quasilyte/regex/syntax v0.0.0-20200407221936-30656e2c4a95 // indirect github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 // indirect + github.com/regen-network/cosmos-proto v0.3.1 // indirect github.com/ryancurrah/gomodguard v1.2.4 // indirect github.com/ryanrolds/sqlclosecheck v0.3.0 // indirect github.com/sanposhiho/wastedassign/v2 v2.0.6 // indirect diff --git a/go.sum b/go.sum index 8738e523b..3753f94e1 100644 --- a/go.sum +++ b/go.sum @@ -1090,6 +1090,8 @@ github.com/rakyll/statik v0.1.7/go.mod h1:AlZONWzMtEnMs7W4e/1LURLiI49pIMmp6V9Ung github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 h1:N/ElC8H3+5XpJzTSTfLsJV/mx9Q9g7kxmchpfZyxgzM= github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= +github.com/regen-network/cosmos-proto v0.3.1 h1:rV7iM4SSFAagvy8RiyhiACbWEGotmqzywPxOvwMdxcg= +github.com/regen-network/cosmos-proto v0.3.1/go.mod h1:jO0sVX6a1B36nmE8C9xBFXpNwWejXC7QqCOnH3O0+YM= github.com/regen-network/gocuke v0.6.2 h1:pHviZ0kKAq2U2hN2q3smKNxct6hS0mGByFMHGnWA97M= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= diff --git a/proto/centauri/mint/v1beta1/genesis.proto b/proto/composable/mint/v1beta1/genesis.proto similarity index 88% rename from proto/centauri/mint/v1beta1/genesis.proto rename to proto/composable/mint/v1beta1/genesis.proto index a30271a06..aa04d3153 100644 --- a/proto/centauri/mint/v1beta1/genesis.proto +++ b/proto/composable/mint/v1beta1/genesis.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package centauri.mint.v1beta1; +package composable.mint.v1beta1; import "gogoproto/gogo.proto"; -import "centauri/mint/v1beta1/mint.proto"; +import "composable/mint/v1beta1/mint.proto"; import "cosmos/base/v1beta1/coin.proto"; option go_package = "x/mint/types"; diff --git a/proto/centauri/mint/v1beta1/mint.proto b/proto/composable/mint/v1beta1/mint.proto similarity index 98% rename from proto/centauri/mint/v1beta1/mint.proto rename to proto/composable/mint/v1beta1/mint.proto index fb898d8c3..56971fdeb 100644 --- a/proto/centauri/mint/v1beta1/mint.proto +++ b/proto/composable/mint/v1beta1/mint.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package centauri.mint.v1beta1; +package composable.mint.v1beta1; option go_package = "x/mint/types"; diff --git a/proto/centauri/mint/v1beta1/query.proto b/proto/composable/mint/v1beta1/query.proto similarity index 96% rename from proto/centauri/mint/v1beta1/query.proto rename to proto/composable/mint/v1beta1/query.proto index f07d158d1..772e4404b 100644 --- a/proto/centauri/mint/v1beta1/query.proto +++ b/proto/composable/mint/v1beta1/query.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package centauri.mint.v1beta1; +package composable.mint.v1beta1; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; -import "centauri/mint/v1beta1/mint.proto"; +import "composable/mint/v1beta1/mint.proto"; option go_package = "x/mint/types"; diff --git a/proto/centauri/mint/v1beta1/tx.proto b/proto/composable/mint/v1beta1/tx.proto similarity index 96% rename from proto/centauri/mint/v1beta1/tx.proto rename to proto/composable/mint/v1beta1/tx.proto index 429a06d73..584302a96 100644 --- a/proto/centauri/mint/v1beta1/tx.proto +++ b/proto/composable/mint/v1beta1/tx.proto @@ -1,11 +1,11 @@ syntax = "proto3"; -package centauri.mint.v1beta1; +package composable.mint.v1beta1; import "cosmos/msg/v1/msg.proto"; import "amino/amino.proto"; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; -import "centauri/mint/v1beta1/mint.proto"; +import "composable/mint/v1beta1/mint.proto"; import "cosmos/base/v1beta1/coin.proto"; option go_package = "x/mint/types"; diff --git a/proto/centauri/ratelimit/v1beta1/epoch.proto b/proto/composable/ratelimit/v1beta1/epoch.proto similarity index 98% rename from proto/centauri/ratelimit/v1beta1/epoch.proto rename to proto/composable/ratelimit/v1beta1/epoch.proto index 8f0bf2669..6664b71a5 100644 --- a/proto/centauri/ratelimit/v1beta1/epoch.proto +++ b/proto/composable/ratelimit/v1beta1/epoch.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package centauri.ratelimit.v1beta1; +package composable.ratelimit.v1beta1; import "gogoproto/gogo.proto"; import "google/protobuf/duration.proto"; diff --git a/proto/centauri/ratelimit/v1beta1/genesis.proto b/proto/composable/ratelimit/v1beta1/genesis.proto similarity index 78% rename from proto/centauri/ratelimit/v1beta1/genesis.proto rename to proto/composable/ratelimit/v1beta1/genesis.proto index 091dcb855..38556b102 100644 --- a/proto/centauri/ratelimit/v1beta1/genesis.proto +++ b/proto/composable/ratelimit/v1beta1/genesis.proto @@ -1,10 +1,10 @@ syntax = "proto3"; -package centauri.ratelimit.v1beta1; +package composable.ratelimit.v1beta1; import "gogoproto/gogo.proto"; -import "centauri/ratelimit/v1beta1/params.proto"; -import "centauri/ratelimit/v1beta1/ratelimit.proto"; -import "centauri/ratelimit/v1beta1/epoch.proto"; +import "composable/ratelimit/v1beta1/params.proto"; +import "composable/ratelimit/v1beta1/ratelimit.proto"; +import "composable/ratelimit/v1beta1/epoch.proto"; option go_package = "x/ratelimit/types"; diff --git a/proto/centauri/ratelimit/v1beta1/params.proto b/proto/composable/ratelimit/v1beta1/params.proto similarity index 83% rename from proto/centauri/ratelimit/v1beta1/params.proto rename to proto/composable/ratelimit/v1beta1/params.proto index 22186f8ac..e994aa9e3 100644 --- a/proto/centauri/ratelimit/v1beta1/params.proto +++ b/proto/composable/ratelimit/v1beta1/params.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package centauri.ratelimit.v1beta1; +package composable.ratelimit.v1beta1; option go_package = "x/ratelimit/types"; diff --git a/proto/centauri/ratelimit/v1beta1/query.proto b/proto/composable/ratelimit/v1beta1/query.proto similarity index 78% rename from proto/centauri/ratelimit/v1beta1/query.proto rename to proto/composable/ratelimit/v1beta1/query.proto index af1f24bfd..8a2ced733 100644 --- a/proto/centauri/ratelimit/v1beta1/query.proto +++ b/proto/composable/ratelimit/v1beta1/query.proto @@ -1,7 +1,7 @@ syntax = "proto3"; -package centauri.ratelimit.v1beta1; +package composable.ratelimit.v1beta1; -import "centauri/ratelimit/v1beta1/ratelimit.proto"; +import "composable/ratelimit/v1beta1/ratelimit.proto"; import "google/api/annotations.proto"; import "gogoproto/gogo.proto"; @@ -11,24 +11,24 @@ option go_package = "x/ratelimit/types"; service Query { rpc AllRateLimits(QueryAllRateLimitsRequest) returns (QueryAllRateLimitsResponse) { - option (google.api.http).get = "/centauri/ratelimit/ratelimits"; + option (google.api.http).get = "/composable/ratelimit/ratelimits"; } rpc RateLimit(QueryRateLimitRequest) returns (QueryRateLimitResponse) { option (google.api.http).get = - "/centauri/ratelimit/ratelimit/{channel_id}/by_denom"; + "/composable/ratelimit/ratelimit/{channel_id}/by_denom"; } rpc RateLimitsByChainID(QueryRateLimitsByChainIDRequest) returns (QueryRateLimitsByChainIDResponse) { - option (google.api.http).get = "/centauri/ratelimit/ratelimits/{chain_id}"; + option (google.api.http).get = "/composable/ratelimit/ratelimits/{chain_id}"; } rpc RateLimitsByChannelID(QueryRateLimitsByChannelIDRequest) returns (QueryRateLimitsByChannelIDResponse) { option (google.api.http).get = - "/centauri/ratelimit/ratelimits/{channel_id}"; + "/composable/ratelimit/ratelimits/{channel_id}"; } rpc AllWhitelistedAddresses(QueryAllWhitelistedAddressesRequest) returns (QueryAllWhitelistedAddressesResponse) { - option (google.api.http).get = "/centauri/ratelimit/whitelisted_addresses"; + option (google.api.http).get = "/composable/ratelimit/whitelisted_addresses"; } } diff --git a/proto/centauri/ratelimit/v1beta1/ratelimit.proto b/proto/composable/ratelimit/v1beta1/ratelimit.proto similarity index 97% rename from proto/centauri/ratelimit/v1beta1/ratelimit.proto rename to proto/composable/ratelimit/v1beta1/ratelimit.proto index e7228fe0b..4fd38113b 100644 --- a/proto/centauri/ratelimit/v1beta1/ratelimit.proto +++ b/proto/composable/ratelimit/v1beta1/ratelimit.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package centauri.ratelimit.v1beta1; +package composable.ratelimit.v1beta1; import "gogoproto/gogo.proto"; diff --git a/proto/centauri/ratelimit/v1beta1/tx.proto b/proto/composable/ratelimit/v1beta1/tx.proto similarity index 98% rename from proto/centauri/ratelimit/v1beta1/tx.proto rename to proto/composable/ratelimit/v1beta1/tx.proto index ab20cfd53..b0d1f316a 100755 --- a/proto/centauri/ratelimit/v1beta1/tx.proto +++ b/proto/composable/ratelimit/v1beta1/tx.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package centauri.ratelimit.v1beta1; +package composable.ratelimit.v1beta1; import "gogoproto/gogo.proto"; import "cosmos/msg/v1/msg.proto"; diff --git a/proto/centauri/transfermiddleware/v1beta1/genesis.proto b/proto/composable/transfermiddleware/v1beta1/genesis.proto similarity index 65% rename from proto/centauri/transfermiddleware/v1beta1/genesis.proto rename to proto/composable/transfermiddleware/v1beta1/genesis.proto index ebd341cac..82d25ddc0 100644 --- a/proto/centauri/transfermiddleware/v1beta1/genesis.proto +++ b/proto/composable/transfermiddleware/v1beta1/genesis.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package centauri.transfermiddleware.v1beta1; +package composable.transfermiddleware.v1beta1; import "gogoproto/gogo.proto"; -import "centauri/transfermiddleware/v1beta1/params.proto"; -import "centauri/transfermiddleware/v1beta1/parachain_token_info.proto"; +import "composable/transfermiddleware/v1beta1/params.proto"; +import "composable/transfermiddleware/v1beta1/parachain_token_info.proto"; option go_package = "x/transfermiddleware/types"; diff --git a/proto/centauri/transfermiddleware/v1beta1/parachain_token_info.proto b/proto/composable/transfermiddleware/v1beta1/parachain_token_info.proto similarity index 81% rename from proto/centauri/transfermiddleware/v1beta1/parachain_token_info.proto rename to proto/composable/transfermiddleware/v1beta1/parachain_token_info.proto index f570c3f9b..94a89386a 100644 --- a/proto/centauri/transfermiddleware/v1beta1/parachain_token_info.proto +++ b/proto/composable/transfermiddleware/v1beta1/parachain_token_info.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package centauri.transfermiddleware.v1beta1; +package composable.transfermiddleware.v1beta1; import "gogoproto/gogo.proto"; import "google/protobuf/timestamp.proto"; @@ -12,16 +12,16 @@ message ParachainIBCTokenInfo { // ibc_denom is the denomination of the ibced token transferred from the // dotsama chain. string ibc_denom = 1 [ (gogoproto.moretags) = "yaml:\"ibc_denom\"" ]; - // channel_id is source channel in IBC connection from centauri chain + // channel_id is source channel in IBC connection from composable chain string channel_id = 2 [ (gogoproto.moretags) = "yaml:\"channel_id\"" ]; - // native denom is new native minted denom in centauri chain. + // native denom is new native minted denom in composable chain. string native_denom = 3 [ (gogoproto.moretags) = "yaml:\"native_denom\"" ]; // asset id is the id of the asset on Picasso string asset_id = 4 [ (gogoproto.moretags) = "yaml:\"asset_id\"" ]; } message RemoveParachainIBCTokenInfo { - // native denom is new native minted denom in centauri chain. + // native denom is new native minted denom in composable chain. string native_denom = 1 [ (gogoproto.moretags) = "yaml:\"native_denom\"" ]; // // remove_time is the time at which the parachain token info will be removed. diff --git a/proto/centauri/transfermiddleware/v1beta1/params.proto b/proto/composable/transfermiddleware/v1beta1/params.proto similarity index 89% rename from proto/centauri/transfermiddleware/v1beta1/params.proto rename to proto/composable/transfermiddleware/v1beta1/params.proto index d93818302..74460f6ad 100644 --- a/proto/centauri/transfermiddleware/v1beta1/params.proto +++ b/proto/composable/transfermiddleware/v1beta1/params.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package centauri.transfermiddleware.v1beta1; +package composable.transfermiddleware.v1beta1; import "gogoproto/gogo.proto"; import "google/protobuf/duration.proto"; diff --git a/proto/centauri/transfermiddleware/v1beta1/query.proto b/proto/composable/transfermiddleware/v1beta1/query.proto similarity index 88% rename from proto/centauri/transfermiddleware/v1beta1/query.proto rename to proto/composable/transfermiddleware/v1beta1/query.proto index fc12b0249..39b6bfabc 100644 --- a/proto/centauri/transfermiddleware/v1beta1/query.proto +++ b/proto/composable/transfermiddleware/v1beta1/query.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package centauri.transfermiddleware.v1beta1; +package composable.transfermiddleware.v1beta1; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; @@ -11,11 +11,11 @@ service Query { // ParaTokenInfo queries all token info of a native denom. rpc ParaTokenInfo(QueryParaTokenInfoRequest) returns (QueryParaTokenInfoResponse) { - option (google.api.http).get = "/centauri/paratokeninfo"; + option (google.api.http).get = "/composable/paratokeninfo"; } rpc EscrowAddress(QueryEscrowAddressRequest) returns (QueryEscrowAddressResponse) { - option (google.api.http).get = "/centauri/escrowaddress"; + option (google.api.http).get = "/composable/escrowaddress"; } } diff --git a/proto/centauri/transfermiddleware/v1beta1/tx.proto b/proto/composable/transfermiddleware/v1beta1/tx.proto similarity index 97% rename from proto/centauri/transfermiddleware/v1beta1/tx.proto rename to proto/composable/transfermiddleware/v1beta1/tx.proto index a11e679c9..56c5e48dc 100644 --- a/proto/centauri/transfermiddleware/v1beta1/tx.proto +++ b/proto/composable/transfermiddleware/v1beta1/tx.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package centauri.transfermiddleware.v1beta1; +package composable.transfermiddleware.v1beta1; import "gogoproto/gogo.proto"; import "cosmos/msg/v1/msg.proto"; diff --git a/proto/centauri/txboundary/v1beta1/boundary.proto b/proto/composable/txboundary/v1beta1/boundary.proto similarity index 93% rename from proto/centauri/txboundary/v1beta1/boundary.proto rename to proto/composable/txboundary/v1beta1/boundary.proto index b1352c068..4cfdd24a3 100644 --- a/proto/centauri/txboundary/v1beta1/boundary.proto +++ b/proto/composable/txboundary/v1beta1/boundary.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package centauri.txboundary.v1beta1; +package composable.txboundary.v1beta1; import "gogoproto/gogo.proto"; import "google/protobuf/duration.proto"; diff --git a/proto/centauri/txboundary/v1beta1/genesis.proto b/proto/composable/txboundary/v1beta1/genesis.proto similarity index 83% rename from proto/centauri/txboundary/v1beta1/genesis.proto rename to proto/composable/txboundary/v1beta1/genesis.proto index 93f9b6e85..7bf283102 100644 --- a/proto/centauri/txboundary/v1beta1/genesis.proto +++ b/proto/composable/txboundary/v1beta1/genesis.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package centauri.txboundary.v1beta1; +package composable.txboundary.v1beta1; import "gogoproto/gogo.proto"; -import "centauri/txboundary/v1beta1/boundary.proto"; +import "composable/txboundary/v1beta1/boundary.proto"; option go_package = "x/tx-boundary/types"; diff --git a/proto/centauri/txboundary/v1beta1/query.proto b/proto/composable/txboundary/v1beta1/query.proto similarity index 94% rename from proto/centauri/txboundary/v1beta1/query.proto rename to proto/composable/txboundary/v1beta1/query.proto index 33579368f..86eeca7fd 100644 --- a/proto/centauri/txboundary/v1beta1/query.proto +++ b/proto/composable/txboundary/v1beta1/query.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package centauri.txboundary.v1beta1; +package composable.txboundary.v1beta1; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; -import "centauri/txboundary/v1beta1/boundary.proto"; +import "composable/txboundary/v1beta1/boundary.proto"; option go_package = "x/tx-boundary/types"; diff --git a/proto/centauri/txboundary/v1beta1/tx.proto b/proto/composable/txboundary/v1beta1/tx.proto similarity index 89% rename from proto/centauri/txboundary/v1beta1/tx.proto rename to proto/composable/txboundary/v1beta1/tx.proto index e131c5f74..8a205bfb1 100644 --- a/proto/centauri/txboundary/v1beta1/tx.proto +++ b/proto/composable/txboundary/v1beta1/tx.proto @@ -1,11 +1,11 @@ syntax = "proto3"; -package centauri.txboundary.v1beta1; +package composable.txboundary.v1beta1; import "cosmos/msg/v1/msg.proto"; import "amino/amino.proto"; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; -import "centauri/txboundary/v1beta1/boundary.proto"; +import "composable/txboundary/v1beta1/boundary.proto"; import "cosmos/base/v1beta1/coin.proto"; option go_package = "x/tx-boundary/types"; @@ -24,7 +24,7 @@ service Msg { // Since: cosmos-sdk 0.47 message MsgUpdateDelegateBoundary { option (cosmos.msg.v1.signer) = "authority"; - option (amino.name) = "centauri/x/txboundary/MsgUpdateDelegateBoundary"; + option (amino.name) = "composable/x/txboundary/MsgUpdateDelegateBoundary"; // authority is the address that controls the module (defaults to x/gov unless // overwritten). @@ -48,7 +48,7 @@ service Msg { // Since: cosmos-sdk 0.47 message MsgUpdateRedelegateBoundary { option (cosmos.msg.v1.signer) = "authority"; - option (amino.name) = "centauri/x/txboundary/MsgUpdateDelegateBoundary"; + option (amino.name) = "composable/x/txboundary/MsgUpdateDelegateBoundary"; // authority is the address that controls the module (defaults to x/gov unless // overwritten). diff --git a/tests/interchaintest/basic_cosmos_test.go b/tests/interchaintest/basic_cosmos_test.go index 1e6db8367..1a16f29d9 100644 --- a/tests/interchaintest/basic_cosmos_test.go +++ b/tests/interchaintest/basic_cosmos_test.go @@ -11,8 +11,8 @@ import ( "go.uber.org/zap/zaptest" ) -// TestStartCentauri is a basic test to assert that spinning up a Centauri network with 1 validator works properly. -func TestBasicCentauri(t *testing.T) { +// TestStartComposable is a basic test to assert that spinning up a Composable network with 1 validator works properly. +func TestBasicComposable(t *testing.T) { if testing.Short() { t.Skip() } @@ -21,14 +21,14 @@ func TestBasicCentauri(t *testing.T) { ctx := context.Background() - // Create chain factory with Centauri + // Create chain factory with Composable numVals := 3 numFullNodes := 3 cf := interchaintest.NewBuiltinChainFactory(zaptest.NewLogger(t), []*interchaintest.ChainSpec{ { - Name: "centauri", - ChainConfig: centauriConfig, + Name: "composable", + ChainConfig: composableConfig, NumValidators: &numVals, NumFullNodes: &numFullNodes, }, @@ -38,13 +38,13 @@ func TestBasicCentauri(t *testing.T) { chains, err := cf.Chains(t.Name()) require.NoError(t, err) - centauri := chains[0].(*cosmos.CosmosChain) + composable := chains[0].(*cosmos.CosmosChain) // Relayer Factory client, network := interchaintest.DockerSetup(t) // Create a new Interchain object which describes the chains, relayers, and IBC connections we want to use - ic := interchaintest.NewInterchain().AddChain(centauri) + ic := interchaintest.NewInterchain().AddChain(composable) rep := testreporter.NewNopReporter() eRep := rep.RelayerExecReporter(t) diff --git a/tests/interchaintest/chain_start_test.go b/tests/interchaintest/chain_start_test.go index c74b1708e..df415f5a8 100644 --- a/tests/interchaintest/chain_start_test.go +++ b/tests/interchaintest/chain_start_test.go @@ -11,8 +11,8 @@ import ( "go.uber.org/zap/zaptest" ) -// TestStartcentauri is a basic test to assert that spinning up a centauri network with 1 validator works properly. -func TestStartCentauri(t *testing.T) { +// TestStartComposable is a basic test to assert that spinning up a composable network with 1 validator works properly. +func TestStartComposable(t *testing.T) { if testing.Short() { t.Skip() } @@ -21,14 +21,14 @@ func TestStartCentauri(t *testing.T) { ctx := context.Background() - // Create chain factory with Centauri + // Create chain factory with Composable numVals := 1 numFullNodes := 1 cf := interchaintest.NewBuiltinChainFactory(zaptest.NewLogger(t), []*interchaintest.ChainSpec{ { - Name: "centauri", - ChainConfig: centauriConfig, + Name: "composable", + ChainConfig: composableConfig, NumValidators: &numVals, NumFullNodes: &numFullNodes, }, @@ -38,13 +38,13 @@ func TestStartCentauri(t *testing.T) { chains, err := cf.Chains(t.Name()) require.NoError(t, err) - centauri := chains[0].(*cosmos.CosmosChain) + composable := chains[0].(*cosmos.CosmosChain) // Relayer Factory client, network := interchaintest.DockerSetup(t) // Create a new Interchain object which describes the chains, relayers, and IBC connections we want to use - ic := interchaintest.NewInterchain().AddChain(centauri) + ic := interchaintest.NewInterchain().AddChain(composable) rep := testreporter.NewNopReporter() eRep := rep.RelayerExecReporter(t) diff --git a/tests/interchaintest/ibc_transfer_test.go b/tests/interchaintest/ibc_transfer_test.go index 8e56f2fb3..d8691a7dd 100644 --- a/tests/interchaintest/ibc_transfer_test.go +++ b/tests/interchaintest/ibc_transfer_test.go @@ -29,7 +29,7 @@ import ( // * create client, connection, and channel in relayer // * start relayer // * send transfer over ibc -func TestCentauriPicassoIBCTransfer(t *testing.T) { +func TestComposablePicassoIBCTransfer(t *testing.T) { if testing.Short() { t.Skip() } diff --git a/x/ibc-hooks/client/cli/query.go b/x/ibc-hooks/client/cli/query.go index d50b33721..d6d2399bb 100644 --- a/x/ibc-hooks/client/cli/query.go +++ b/x/ibc-hooks/client/cli/query.go @@ -9,9 +9,9 @@ import ( "github.com/cosmos/cosmos-sdk/version" "github.com/spf13/cobra" - "github.com/notional-labs/centauri/v5/x/ibc-hooks/keeper" + "github.com/notional-labs/composable/v5/x/ibc-hooks/keeper" - "github.com/notional-labs/centauri/v5/x/ibc-hooks/types" + "github.com/notional-labs/composable/v5/x/ibc-hooks/types" ) func indexRunCmd(cmd *cobra.Command, _ []string) error { diff --git a/x/ibc-hooks/keeper/keeper.go b/x/ibc-hooks/keeper/keeper.go index ce62455b2..610d41361 100644 --- a/x/ibc-hooks/keeper/keeper.go +++ b/x/ibc-hooks/keeper/keeper.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/address" - "github.com/notional-labs/centauri/v5/x/ibc-hooks/types" + "github.com/notional-labs/composable/v5/x/ibc-hooks/types" ) type ( diff --git a/x/ibc-hooks/module.go b/x/ibc-hooks/module.go index 3ccf43cc5..686e41cd9 100644 --- a/x/ibc-hooks/module.go +++ b/x/ibc-hooks/module.go @@ -10,8 +10,8 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" - "github.com/notional-labs/centauri/v5/x/ibc-hooks/client/cli" - "github.com/notional-labs/centauri/v5/x/ibc-hooks/types" + "github.com/notional-labs/composable/v5/x/ibc-hooks/client/cli" + "github.com/notional-labs/composable/v5/x/ibc-hooks/types" cdctypes "github.com/cosmos/cosmos-sdk/codec/types" diff --git a/x/ibc-hooks/relay_test.go b/x/ibc-hooks/relay_test.go index a76b2c2dc..940e22377 100644 --- a/x/ibc-hooks/relay_test.go +++ b/x/ibc-hooks/relay_test.go @@ -10,8 +10,8 @@ import ( clienttypes "github.com/cosmos/ibc-go/v7/modules/core/02-client/types" "github.com/stretchr/testify/suite" - customibctesting "github.com/notional-labs/centauri/v5/app/ibctesting" - ibchookskeeper "github.com/notional-labs/centauri/v5/x/ibc-hooks/keeper" + customibctesting "github.com/notional-labs/composable/v5/app/ibctesting" + ibchookskeeper "github.com/notional-labs/composable/v5/x/ibc-hooks/keeper" ) // TODO: use testsuite here. diff --git a/x/ibc-hooks/wasm_hook.go b/x/ibc-hooks/wasm_hook.go index a69a3b5bb..d0f8e5539 100644 --- a/x/ibc-hooks/wasm_hook.go +++ b/x/ibc-hooks/wasm_hook.go @@ -11,8 +11,8 @@ import ( channeltypes "github.com/cosmos/ibc-go/v7/modules/core/04-channel/types" ibcexported "github.com/cosmos/ibc-go/v7/modules/core/exported" - "github.com/notional-labs/centauri/v5/x/ibc-hooks/keeper" - "github.com/notional-labs/centauri/v5/x/ibc-hooks/types" + "github.com/notional-labs/composable/v5/x/ibc-hooks/keeper" + "github.com/notional-labs/composable/v5/x/ibc-hooks/types" errorsmod "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/mint/abci.go b/x/mint/abci.go index fa4579202..aaf997f05 100644 --- a/x/mint/abci.go +++ b/x/mint/abci.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/notional-labs/centauri/v5/x/mint/keeper" - "github.com/notional-labs/centauri/v5/x/mint/types" + "github.com/notional-labs/composable/v5/x/mint/keeper" + "github.com/notional-labs/composable/v5/x/mint/types" ) // BeginBlocker mints new tokens for the previous block. diff --git a/x/mint/client/cli/query.go b/x/mint/client/cli/query.go index e8ea5154a..7dc45b357 100644 --- a/x/mint/client/cli/query.go +++ b/x/mint/client/cli/query.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/notional-labs/centauri/v5/x/mint/types" + "github.com/notional-labs/composable/v5/x/mint/types" ) // GetQueryCmd returns the cli query commands for the minting module. diff --git a/x/mint/client/cli/tx.go b/x/mint/client/cli/tx.go index 1c89d5367..c43282314 100644 --- a/x/mint/client/cli/tx.go +++ b/x/mint/client/cli/tx.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/spf13/cobra" - "github.com/notional-labs/centauri/v5/x/mint/types" + "github.com/notional-labs/composable/v5/x/mint/types" ) // GetTxCmd returns the tx commands for mint diff --git a/x/mint/keeper/genesis.go b/x/mint/keeper/genesis.go index c81cd6e8f..ef75f172f 100644 --- a/x/mint/keeper/genesis.go +++ b/x/mint/keeper/genesis.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/notional-labs/centauri/v5/x/mint/types" + "github.com/notional-labs/composable/v5/x/mint/types" ) // InitGenesis new mint genesis diff --git a/x/mint/keeper/grpc_query.go b/x/mint/keeper/grpc_query.go index 0ce76b45c..a529c76bb 100644 --- a/x/mint/keeper/grpc_query.go +++ b/x/mint/keeper/grpc_query.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/notional-labs/centauri/v5/x/mint/types" + "github.com/notional-labs/composable/v5/x/mint/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/mint/keeper/keeper.go b/x/mint/keeper/keeper.go index cd9e95606..861ff1c95 100644 --- a/x/mint/keeper/keeper.go +++ b/x/mint/keeper/keeper.go @@ -10,7 +10,7 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/notional-labs/centauri/v5/x/mint/types" + "github.com/notional-labs/composable/v5/x/mint/types" ) // Keeper of the mint store diff --git a/x/mint/keeper/msg_server.go b/x/mint/keeper/msg_server.go index 89a6c2876..ca3ffb00b 100644 --- a/x/mint/keeper/msg_server.go +++ b/x/mint/keeper/msg_server.go @@ -8,7 +8,7 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/notional-labs/centauri/v5/x/mint/types" + "github.com/notional-labs/composable/v5/x/mint/types" ) var _ types.MsgServer = msgServer{} diff --git a/x/mint/module.go b/x/mint/module.go index 1769e9d05..b96e38e28 100644 --- a/x/mint/module.go +++ b/x/mint/module.go @@ -16,10 +16,10 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/notional-labs/centauri/v5/x/mint/client/cli" - "github.com/notional-labs/centauri/v5/x/mint/keeper" - "github.com/notional-labs/centauri/v5/x/mint/simulation" - "github.com/notional-labs/centauri/v5/x/mint/types" + "github.com/notional-labs/composable/v5/x/mint/client/cli" + "github.com/notional-labs/composable/v5/x/mint/keeper" + "github.com/notional-labs/composable/v5/x/mint/simulation" + "github.com/notional-labs/composable/v5/x/mint/types" ) var ( diff --git a/x/mint/simulation/decoder.go b/x/mint/simulation/decoder.go index 14f17c7db..2bceab372 100644 --- a/x/mint/simulation/decoder.go +++ b/x/mint/simulation/decoder.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/notional-labs/centauri/v5/x/mint/types" + "github.com/notional-labs/composable/v5/x/mint/types" ) // NewDecodeStore returns a decoder function closure that unmarshals the KVPair's diff --git a/x/mint/simulation/decoder_test.go b/x/mint/simulation/decoder_test.go index f8d51a8c8..116d9b694 100644 --- a/x/mint/simulation/decoder_test.go +++ b/x/mint/simulation/decoder_test.go @@ -10,8 +10,8 @@ import ( "github.com/cosmos/cosmos-sdk/types/kv" "github.com/cosmos/cosmos-sdk/types/module/testutil" - "github.com/notional-labs/centauri/v5/x/mint/simulation" - centauriminttypes "github.com/notional-labs/centauri/v5/x/mint/types" + "github.com/notional-labs/composable/v5/x/mint/simulation" + composableminttypes "github.com/notional-labs/composable/v5/x/mint/types" ) func TestDecodeStore(t *testing.T) { @@ -20,7 +20,7 @@ func TestDecodeStore(t *testing.T) { kvPairs := kv.Pairs{ Pairs: []kv.Pair{ - {Key: centauriminttypes.MinterKey, Value: cdc.MustMarshal(¢auriminttypes.Minter{Inflation: sdk.NewDec(13), AnnualProvisions: sdk.NewDec(1)})}, + {Key: composableminttypes.MinterKey, Value: cdc.MustMarshal(&composableminttypes.Minter{Inflation: sdk.NewDec(13), AnnualProvisions: sdk.NewDec(1)})}, {Key: []byte{0x99}, Value: []byte{0x99}}, }, } @@ -29,7 +29,7 @@ func TestDecodeStore(t *testing.T) { name string expectedLog string }{ - {"Minter", fmt.Sprintf("%v\n%v", centauriminttypes.Minter{Inflation: sdk.NewDec(13), AnnualProvisions: sdk.NewDec(1)}, centauriminttypes.Minter{Inflation: sdk.NewDec(13), AnnualProvisions: sdk.NewDec(1)})}, + {"Minter", fmt.Sprintf("%v\n%v", composableminttypes.Minter{Inflation: sdk.NewDec(13), AnnualProvisions: sdk.NewDec(1)}, composableminttypes.Minter{Inflation: sdk.NewDec(13), AnnualProvisions: sdk.NewDec(1)})}, {"other", ""}, } for i, tt := range tests { diff --git a/x/mint/simulation/genesis.go b/x/mint/simulation/genesis.go index 8aba1bcc2..eadedce53 100644 --- a/x/mint/simulation/genesis.go +++ b/x/mint/simulation/genesis.go @@ -9,7 +9,7 @@ import ( simtypes "github.com/cosmos/cosmos-sdk/types/simulation" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/notional-labs/centauri/v5/x/mint/types" + "github.com/notional-labs/composable/v5/x/mint/types" ) // Simulation parameter constants diff --git a/x/mint/simulation/genesis_test.go b/x/mint/simulation/genesis_test.go index 984c38581..f25e7d2d5 100644 --- a/x/mint/simulation/genesis_test.go +++ b/x/mint/simulation/genesis_test.go @@ -14,8 +14,8 @@ import ( simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/mint" - "github.com/notional-labs/centauri/v5/x/mint/simulation" - "github.com/notional-labs/centauri/v5/x/mint/types" + "github.com/notional-labs/composable/v5/x/mint/simulation" + "github.com/notional-labs/composable/v5/x/mint/types" ) // TestRandomizedGenState tests the normal scenario of applying RandomizedGenState. diff --git a/x/mint/simulation/proposals.go b/x/mint/simulation/proposals.go index d98b8d360..77fc5b846 100644 --- a/x/mint/simulation/proposals.go +++ b/x/mint/simulation/proposals.go @@ -8,7 +8,7 @@ import ( simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/notional-labs/centauri/v5/x/mint/types" + "github.com/notional-labs/composable/v5/x/mint/types" ) // Simulation operation weights constants diff --git a/x/mint/simulation/proposals_test.go b/x/mint/simulation/proposals_test.go index 56d62c167..761f1588f 100644 --- a/x/mint/simulation/proposals_test.go +++ b/x/mint/simulation/proposals_test.go @@ -11,8 +11,8 @@ import ( "github.com/cosmos/cosmos-sdk/types/address" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/notional-labs/centauri/v5/x/mint/simulation" - "github.com/notional-labs/centauri/v5/x/mint/types" + "github.com/notional-labs/composable/v5/x/mint/simulation" + "github.com/notional-labs/composable/v5/x/mint/types" ) func TestProposalMsgs(t *testing.T) { diff --git a/x/mint/types/codec.go b/x/mint/types/codec.go index bfb5e25f6..5032b1376 100644 --- a/x/mint/types/codec.go +++ b/x/mint/types/codec.go @@ -27,10 +27,10 @@ func init() { // RegisterLegacyAminoCodec registers concrete types on the LegacyAmino codec func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { - cdc.RegisterConcrete(Params{}, "centauri/x/mintParams", nil) - legacy.RegisterAminoMsg(cdc, &MsgUpdateParams{}, "centauri/MsgUpdateParams") - cdc.RegisterConcrete(&MsgFundModuleAccount{}, "centauri/FundModuleAccount", nil) - cdc.RegisterConcrete(&MsgAddAccountToFundModuleSet{}, "centauri/MsgAddAccountToFundModuleSet", nil) + cdc.RegisterConcrete(Params{}, "composable/x/mintParams", nil) + legacy.RegisterAminoMsg(cdc, &MsgUpdateParams{}, "composable/MsgUpdateParams") + cdc.RegisterConcrete(&MsgFundModuleAccount{}, "composable/FundModuleAccount", nil) + cdc.RegisterConcrete(&MsgAddAccountToFundModuleSet{}, "composable/MsgAddAccountToFundModuleSet", nil) } // RegisterInterfaces registers the interfaces types with the interface registry. diff --git a/x/ratelimit/client/cli/query.go b/x/ratelimit/client/cli/query.go index 863873fcd..d9c54a391 100644 --- a/x/ratelimit/client/cli/query.go +++ b/x/ratelimit/client/cli/query.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/notional-labs/centauri/v5/x/ratelimit/types" + "github.com/notional-labs/composable/v5/x/ratelimit/types" ) // GetQueryCmd returns the cli query commands for this module. diff --git a/x/ratelimit/client/cli/tx.go b/x/ratelimit/client/cli/tx.go index f4bdde62b..aefd542fb 100644 --- a/x/ratelimit/client/cli/tx.go +++ b/x/ratelimit/client/cli/tx.go @@ -5,7 +5,7 @@ import ( "github.com/spf13/cobra" - "github.com/notional-labs/centauri/v5/x/ratelimit/types" + "github.com/notional-labs/composable/v5/x/ratelimit/types" ) // GetTxCmd returns the tx commands for router diff --git a/x/ratelimit/ibc_middleware.go b/x/ratelimit/ibc_middleware.go index 9e3d6904f..0a8c3888d 100644 --- a/x/ratelimit/ibc_middleware.go +++ b/x/ratelimit/ibc_middleware.go @@ -3,7 +3,7 @@ package ratelimit import ( "fmt" - "github.com/notional-labs/centauri/v5/x/ratelimit/keeper" + "github.com/notional-labs/composable/v5/x/ratelimit/keeper" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/ratelimit/keeper/abci.go b/x/ratelimit/keeper/abci.go index 2f097721a..f607d64d5 100644 --- a/x/ratelimit/keeper/abci.go +++ b/x/ratelimit/keeper/abci.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/notional-labs/centauri/v5/x/ratelimit/types" + "github.com/notional-labs/composable/v5/x/ratelimit/types" ) // BeginBlocker of epochs module. diff --git a/x/ratelimit/keeper/epoch.go b/x/ratelimit/keeper/epoch.go index bb993ce56..05309f183 100644 --- a/x/ratelimit/keeper/epoch.go +++ b/x/ratelimit/keeper/epoch.go @@ -6,7 +6,7 @@ import ( "github.com/gogo/protobuf/proto" - "github.com/notional-labs/centauri/v5/x/ratelimit/types" + "github.com/notional-labs/composable/v5/x/ratelimit/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/ratelimit/keeper/genesis.go b/x/ratelimit/keeper/genesis.go index 1f50a23ad..2646ebf7d 100644 --- a/x/ratelimit/keeper/genesis.go +++ b/x/ratelimit/keeper/genesis.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/notional-labs/centauri/v5/x/ratelimit/types" + "github.com/notional-labs/composable/v5/x/ratelimit/types" ) func (k Keeper) InitGenesis(ctx sdk.Context, genState types.GenesisState) { diff --git a/x/ratelimit/keeper/grpc_query.go b/x/ratelimit/keeper/grpc_query.go index 87ff085c6..e991b9264 100644 --- a/x/ratelimit/keeper/grpc_query.go +++ b/x/ratelimit/keeper/grpc_query.go @@ -8,7 +8,7 @@ import ( transfertypes "github.com/cosmos/ibc-go/v7/modules/apps/transfer/types" ibctmtypes "github.com/cosmos/ibc-go/v7/modules/light-clients/07-tendermint" - "github.com/notional-labs/centauri/v5/x/ratelimit/types" + "github.com/notional-labs/composable/v5/x/ratelimit/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/ratelimit/keeper/keeper.go b/x/ratelimit/keeper/keeper.go index d2b8cc24b..f039f5915 100644 --- a/x/ratelimit/keeper/keeper.go +++ b/x/ratelimit/keeper/keeper.go @@ -10,8 +10,8 @@ import ( paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" porttypes "github.com/cosmos/ibc-go/v7/modules/core/05-port/types" - "github.com/notional-labs/centauri/v5/x/ratelimit/types" - tfmwkeeper "github.com/notional-labs/centauri/v5/x/transfermiddleware/keeper" + "github.com/notional-labs/composable/v5/x/ratelimit/types" + tfmwkeeper "github.com/notional-labs/composable/v5/x/transfermiddleware/keeper" ) type Keeper struct { diff --git a/x/ratelimit/keeper/msg_server.go b/x/ratelimit/keeper/msg_server.go index 3ea6ce7d9..6d73a0486 100644 --- a/x/ratelimit/keeper/msg_server.go +++ b/x/ratelimit/keeper/msg_server.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/notional-labs/centauri/v5/x/ratelimit/types" + "github.com/notional-labs/composable/v5/x/ratelimit/types" ) var _ types.MsgServer = msgServer{} diff --git a/x/ratelimit/keeper/packet.go b/x/ratelimit/keeper/packet.go index a023960b8..1be8a843e 100644 --- a/x/ratelimit/keeper/packet.go +++ b/x/ratelimit/keeper/packet.go @@ -14,7 +14,7 @@ import ( channeltypes "github.com/cosmos/ibc-go/v7/modules/core/04-channel/types" ibcexported "github.com/cosmos/ibc-go/v7/modules/core/exported" - "github.com/notional-labs/centauri/v5/x/ratelimit/types" + "github.com/notional-labs/composable/v5/x/ratelimit/types" ) type RateLimitedPacketInfo struct { diff --git a/x/ratelimit/keeper/rate_limit.go b/x/ratelimit/keeper/rate_limit.go index 184c8bb10..9897052cd 100644 --- a/x/ratelimit/keeper/rate_limit.go +++ b/x/ratelimit/keeper/rate_limit.go @@ -11,7 +11,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/notional-labs/centauri/v5/x/ratelimit/types" + "github.com/notional-labs/composable/v5/x/ratelimit/types" ) // Get the rate limit byte key built from the denom and channelID diff --git a/x/ratelimit/module.go b/x/ratelimit/module.go index e523d8f91..6af708f3e 100644 --- a/x/ratelimit/module.go +++ b/x/ratelimit/module.go @@ -16,9 +16,9 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" - "github.com/notional-labs/centauri/v5/x/ratelimit/client/cli" - "github.com/notional-labs/centauri/v5/x/ratelimit/keeper" - "github.com/notional-labs/centauri/v5/x/ratelimit/types" + "github.com/notional-labs/composable/v5/x/ratelimit/client/cli" + "github.com/notional-labs/composable/v5/x/ratelimit/keeper" + "github.com/notional-labs/composable/v5/x/ratelimit/types" ) var ( diff --git a/x/ratelimit/relay_test.go b/x/ratelimit/relay_test.go index ca821bb30..4d44dfe17 100644 --- a/x/ratelimit/relay_test.go +++ b/x/ratelimit/relay_test.go @@ -8,8 +8,8 @@ import ( clienttypes "github.com/cosmos/ibc-go/v7/modules/core/02-client/types" "github.com/stretchr/testify/suite" - customibctesting "github.com/notional-labs/centauri/v5/app/ibctesting" - ratelimittypes "github.com/notional-labs/centauri/v5/x/ratelimit/types" + customibctesting "github.com/notional-labs/composable/v5/app/ibctesting" + ratelimittypes "github.com/notional-labs/composable/v5/x/ratelimit/types" ) type RateLimitTestSuite struct { diff --git a/x/ratelimit/types/codec.go b/x/ratelimit/types/codec.go index 9902cbe95..a9d5d4676 100644 --- a/x/ratelimit/types/codec.go +++ b/x/ratelimit/types/codec.go @@ -16,10 +16,10 @@ import ( // RegisterLegacyAminoCodec registers the account interfaces and concrete types on the // provided LegacyAmino codec. These types are used for Amino JSON serialization func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { - legacy.RegisterAminoMsg(cdc, &MsgAddRateLimit{}, "centauri/MsgAddRateLimit") - legacy.RegisterAminoMsg(cdc, &MsgUpdateRateLimit{}, "centauri/MsgUpdateRateLimit") - legacy.RegisterAminoMsg(cdc, &MsgRemoveRateLimit{}, "centauri/MsgRemoveRateLimit") - legacy.RegisterAminoMsg(cdc, &MsgResetRateLimit{}, "centauri/MsgResetRateLimit") + legacy.RegisterAminoMsg(cdc, &MsgAddRateLimit{}, "composable/MsgAddRateLimit") + legacy.RegisterAminoMsg(cdc, &MsgUpdateRateLimit{}, "composable/MsgUpdateRateLimit") + legacy.RegisterAminoMsg(cdc, &MsgRemoveRateLimit{}, "composable/MsgRemoveRateLimit") + legacy.RegisterAminoMsg(cdc, &MsgResetRateLimit{}, "composable/MsgResetRateLimit") } func RegisterInterfaces(registry codectypes.InterfaceRegistry) { diff --git a/x/transfermiddleware/client/cli/cli.go b/x/transfermiddleware/client/cli/cli.go index 6e4aec095..0b4cac32c 100644 --- a/x/transfermiddleware/client/cli/cli.go +++ b/x/transfermiddleware/client/cli/cli.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/version" "github.com/spf13/cobra" - "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" + "github.com/notional-labs/composable/v5/x/transfermiddleware/types" ) // GetQueryCmd returns the query commands for router diff --git a/x/transfermiddleware/client/cli/tx.go b/x/transfermiddleware/client/cli/tx.go index 65757d25d..776a57d0a 100644 --- a/x/transfermiddleware/client/cli/tx.go +++ b/x/transfermiddleware/client/cli/tx.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/version" "github.com/spf13/cobra" - "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" + "github.com/notional-labs/composable/v5/x/transfermiddleware/types" ) // GetTxCmd returns the tx commands for router diff --git a/x/transfermiddleware/ibc_ante_test.go b/x/transfermiddleware/ibc_ante_test.go index 5eb3fcd6e..a1e9f9602 100644 --- a/x/transfermiddleware/ibc_ante_test.go +++ b/x/transfermiddleware/ibc_ante_test.go @@ -12,7 +12,7 @@ import ( wasmtypes "github.com/cosmos/ibc-go/v7/modules/light-clients/08-wasm/types" "github.com/stretchr/testify/suite" - customibctesting "github.com/notional-labs/centauri/v5/app/ibctesting" + customibctesting "github.com/notional-labs/composable/v5/app/ibctesting" ) var govAuthorityAddress = "centauri10556m38z4x6pqalr9rl5ytf3cff8q46nk85k9m" diff --git a/x/transfermiddleware/ibc_middleware.go b/x/transfermiddleware/ibc_middleware.go index cc00c0c5d..0bd932ea4 100644 --- a/x/transfermiddleware/ibc_middleware.go +++ b/x/transfermiddleware/ibc_middleware.go @@ -11,7 +11,7 @@ import ( porttypes "github.com/cosmos/ibc-go/v7/modules/core/05-port/types" ibcexported "github.com/cosmos/ibc-go/v7/modules/core/exported" - "github.com/notional-labs/centauri/v5/x/transfermiddleware/keeper" + "github.com/notional-labs/composable/v5/x/transfermiddleware/keeper" ) var _ porttypes.Middleware = &IBCMiddleware{} diff --git a/x/transfermiddleware/keeper/abci.go b/x/transfermiddleware/keeper/abci.go index 4712e28ce..7322aa28d 100644 --- a/x/transfermiddleware/keeper/abci.go +++ b/x/transfermiddleware/keeper/abci.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" + "github.com/notional-labs/composable/v5/x/transfermiddleware/types" ) // BeginBlocker of epochs module. diff --git a/x/transfermiddleware/keeper/genesis.go b/x/transfermiddleware/keeper/genesis.go index 0004a28d4..0584b804b 100644 --- a/x/transfermiddleware/keeper/genesis.go +++ b/x/transfermiddleware/keeper/genesis.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" + "github.com/notional-labs/composable/v5/x/transfermiddleware/types" ) // TODO: add init genesis logic diff --git a/x/transfermiddleware/keeper/genesis_test.go b/x/transfermiddleware/keeper/genesis_test.go index 0084b58bd..ccfdc0f57 100644 --- a/x/transfermiddleware/keeper/genesis_test.go +++ b/x/transfermiddleware/keeper/genesis_test.go @@ -5,12 +5,12 @@ import ( "github.com/stretchr/testify/require" - helpers "github.com/notional-labs/centauri/v5/app/helpers" - "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" + helpers "github.com/notional-labs/composable/v5/app/helpers" + "github.com/notional-labs/composable/v5/x/transfermiddleware/types" ) func TestTFMInitGenesis(t *testing.T) { - app := helpers.SetupCentauriAppWithValSet(t) + app := helpers.SetupComposableAppWithValSet(t) ctx := helpers.NewContextForApp(*app) tokenInfos := make([]types.ParachainIBCTokenInfo, 1) @@ -34,7 +34,7 @@ func TestTFMInitGenesis(t *testing.T) { } func TestTFMExportGenesis(t *testing.T) { - app := helpers.SetupCentauriAppWithValSet(t) + app := helpers.SetupComposableAppWithValSet(t) ctx := helpers.NewContextForApp(*app) err := app.TransferMiddlewareKeeper.AddParachainIBCInfo(ctx, "ibc-test", "channel-0", "pica", "1") @@ -55,7 +55,7 @@ func TestTFMExportGenesis(t *testing.T) { } func TestIterateParaTokenInfos(t *testing.T) { - app := helpers.SetupCentauriAppWithValSet(t) + app := helpers.SetupComposableAppWithValSet(t) ctx := helpers.NewContextForApp(*app) err := app.TransferMiddlewareKeeper.AddParachainIBCInfo(ctx, "ibc-test", "channel-0", "pica", "1") diff --git a/x/transfermiddleware/keeper/grpc_query.go b/x/transfermiddleware/keeper/grpc_query.go index cb654fa02..19a69c1b9 100644 --- a/x/transfermiddleware/keeper/grpc_query.go +++ b/x/transfermiddleware/keeper/grpc_query.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" transfertypes "github.com/cosmos/ibc-go/v7/modules/apps/transfer/types" - "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" + "github.com/notional-labs/composable/v5/x/transfermiddleware/types" ) func (k Keeper) ParaTokenInfo(c context.Context, req *types.QueryParaTokenInfoRequest) (*types.QueryParaTokenInfoResponse, error) { diff --git a/x/transfermiddleware/keeper/ics4wrapper.go b/x/transfermiddleware/keeper/ics4wrapper.go index 703ff20c5..c6fc75cc4 100644 --- a/x/transfermiddleware/keeper/ics4wrapper.go +++ b/x/transfermiddleware/keeper/ics4wrapper.go @@ -12,7 +12,7 @@ import ( channeltypes "github.com/cosmos/ibc-go/v7/modules/core/04-channel/types" ibcexported "github.com/cosmos/ibc-go/v7/modules/core/exported" - "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" + "github.com/notional-labs/composable/v5/x/transfermiddleware/types" ) func (keeper Keeper) hasParachainIBCTokenInfo(ctx sdk.Context, nativeDenom string) bool { diff --git a/x/transfermiddleware/keeper/keeper.go b/x/transfermiddleware/keeper/keeper.go index e28c11a17..f5d8df9c5 100644 --- a/x/transfermiddleware/keeper/keeper.go +++ b/x/transfermiddleware/keeper/keeper.go @@ -14,7 +14,7 @@ import ( porttypes "github.com/cosmos/ibc-go/v7/modules/core/05-port/types" "github.com/cosmos/ibc-go/v7/modules/core/exported" - "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" + "github.com/notional-labs/composable/v5/x/transfermiddleware/types" ) type Keeper struct { diff --git a/x/transfermiddleware/keeper/msg_server.go b/x/transfermiddleware/keeper/msg_server.go index dba2d76d7..986fbf5f7 100644 --- a/x/transfermiddleware/keeper/msg_server.go +++ b/x/transfermiddleware/keeper/msg_server.go @@ -9,7 +9,7 @@ import ( "cosmossdk.io/errors" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" + "github.com/notional-labs/composable/v5/x/transfermiddleware/types" ) var _ types.MsgServer = msgServer{} diff --git a/x/transfermiddleware/keeper/params.go b/x/transfermiddleware/keeper/params.go index 890882030..7c0538b7f 100644 --- a/x/transfermiddleware/keeper/params.go +++ b/x/transfermiddleware/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" + "github.com/notional-labs/composable/v5/x/transfermiddleware/types" ) func (k Keeper) GetParams(ctx sdk.Context) (params types.Params) { diff --git a/x/transfermiddleware/keeper/relay.go b/x/transfermiddleware/keeper/relay.go index ecaedbd79..27f1832e4 100644 --- a/x/transfermiddleware/keeper/relay.go +++ b/x/transfermiddleware/keeper/relay.go @@ -6,7 +6,7 @@ import ( transfertypes "github.com/cosmos/ibc-go/v7/modules/apps/transfer/types" channeltypes "github.com/cosmos/ibc-go/v7/modules/core/04-channel/types" - "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" + "github.com/notional-labs/composable/v5/x/transfermiddleware/types" ) func (k Keeper) OnRecvPacket(ctx sdk.Context, packet channeltypes.Packet, data transfertypes.FungibleTokenPacketData) error { diff --git a/x/transfermiddleware/module.go b/x/transfermiddleware/module.go index a0421ce3f..16a92a584 100644 --- a/x/transfermiddleware/module.go +++ b/x/transfermiddleware/module.go @@ -16,9 +16,9 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" - "github.com/notional-labs/centauri/v5/x/transfermiddleware/client/cli" - "github.com/notional-labs/centauri/v5/x/transfermiddleware/keeper" - "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" + "github.com/notional-labs/composable/v5/x/transfermiddleware/client/cli" + "github.com/notional-labs/composable/v5/x/transfermiddleware/keeper" + "github.com/notional-labs/composable/v5/x/transfermiddleware/types" ) var ( diff --git a/x/transfermiddleware/pfm_test.go b/x/transfermiddleware/pfm_test.go index 1cef4d519..f8bf27b81 100644 --- a/x/transfermiddleware/pfm_test.go +++ b/x/transfermiddleware/pfm_test.go @@ -13,7 +13,7 @@ import ( clienttypes "github.com/cosmos/ibc-go/v7/modules/core/02-client/types" "github.com/stretchr/testify/suite" - customibctesting "github.com/notional-labs/centauri/v5/app/ibctesting" + customibctesting "github.com/notional-labs/composable/v5/app/ibctesting" ) type PacketMetadata struct { diff --git a/x/transfermiddleware/relay_test.go b/x/transfermiddleware/relay_test.go index 5753e4bdf..87abaf2dd 100644 --- a/x/transfermiddleware/relay_test.go +++ b/x/transfermiddleware/relay_test.go @@ -10,7 +10,7 @@ import ( clienttypes "github.com/cosmos/ibc-go/v7/modules/core/02-client/types" "github.com/stretchr/testify/suite" - customibctesting "github.com/notional-labs/centauri/v5/app/ibctesting" + customibctesting "github.com/notional-labs/composable/v5/app/ibctesting" ) // TODO: use testsuite here. diff --git a/x/transfermiddleware/types/codec.go b/x/transfermiddleware/types/codec.go index 9f32f7abe..523049256 100644 --- a/x/transfermiddleware/types/codec.go +++ b/x/transfermiddleware/types/codec.go @@ -16,9 +16,9 @@ import ( // RegisterLegacyAminoCodec registers the account interfaces and concrete types on the // provided LegacyAmino codec. These types are used for Amino JSON serialization func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { - legacy.RegisterAminoMsg(cdc, &MsgAddParachainIBCTokenInfo{}, "centauri/MsgAddParachainInfo") - legacy.RegisterAminoMsg(cdc, &MsgRemoveParachainIBCTokenInfo{}, "centauri/MsgRemoveParachainInfo") - legacy.RegisterAminoMsg(cdc, &MsgAddRlyAddress{}, "centauri/MsgAddRlyAddress") + legacy.RegisterAminoMsg(cdc, &MsgAddParachainIBCTokenInfo{}, "composable/MsgAddParachainInfo") + legacy.RegisterAminoMsg(cdc, &MsgRemoveParachainIBCTokenInfo{}, "composable/MsgRemoveParachainInfo") + legacy.RegisterAminoMsg(cdc, &MsgAddRlyAddress{}, "composable/MsgAddRlyAddress") } func RegisterInterfaces(registry codectypes.InterfaceRegistry) { diff --git a/x/transfermiddleware/types/info_test.go b/x/transfermiddleware/types/info_test.go index aa19f53f3..078fec2ac 100644 --- a/x/transfermiddleware/types/info_test.go +++ b/x/transfermiddleware/types/info_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" + "github.com/notional-labs/composable/v5/x/transfermiddleware/types" ) func TestValidateBasic(t *testing.T) { diff --git a/x/tx-boundary/ante/antetest/ante_test.go b/x/tx-boundary/ante/antetest/ante_test.go index 1e52f0a60..1f8b2af45 100644 --- a/x/tx-boundary/ante/antetest/ante_test.go +++ b/x/tx-boundary/ante/antetest/ante_test.go @@ -9,8 +9,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/authz" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - txboundaryAnte "github.com/notional-labs/centauri/v5/x/tx-boundary/ante" - "github.com/notional-labs/centauri/v5/x/tx-boundary/types" + txboundaryAnte "github.com/notional-labs/composable/v5/x/tx-boundary/ante" + "github.com/notional-labs/composable/v5/x/tx-boundary/types" "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" ) diff --git a/x/tx-boundary/ante/antetest/ante_test_setup.go b/x/tx-boundary/ante/antetest/ante_test_setup.go index 96da98aba..3c300a645 100644 --- a/x/tx-boundary/ante/antetest/ante_test_setup.go +++ b/x/tx-boundary/ante/antetest/ante_test_setup.go @@ -17,8 +17,8 @@ import ( xauthsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/cosmos/ibc-go/v7/testing/mock" - "github.com/notional-labs/centauri/v5/app" - "github.com/notional-labs/centauri/v5/app/helpers" + "github.com/notional-labs/composable/v5/app" + "github.com/notional-labs/composable/v5/app/helpers" "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" ) @@ -30,7 +30,7 @@ type AnteTestSuite struct { ctx sdk.Context // querier sdk.Querier - app *app.CentauriApp + app *app.ComposableApp clientCtx client.Context txBuilder client.TxBuilder delegator sdk.AccAddress @@ -39,7 +39,7 @@ type AnteTestSuite struct { } func (suite *AnteTestSuite) SetupTest() { - suite.app, suite.delegator, suite.validators = helpers.SetupCentauriAppWithValSetWithGenAccout(suite.T()) + suite.app, suite.delegator, suite.validators = helpers.SetupComposableAppWithValSetWithGenAccout(suite.T()) suite.ctx = suite.app.BaseApp.NewContext(false, tmproto.Header{Height: 1, ChainID: "centauri-1", Time: time.Now().UTC()}) app.FundAccount(suite.app.BankKeeper, suite.ctx, suite.delegator, BaseBalance) diff --git a/x/tx-boundary/ante/decorate.go b/x/tx-boundary/ante/decorate.go index 9f2e6ca8b..4dac2f05d 100644 --- a/x/tx-boundary/ante/decorate.go +++ b/x/tx-boundary/ante/decorate.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/authz" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - txBoundaryKeeper "github.com/notional-labs/centauri/v5/x/tx-boundary/keeper" + txBoundaryKeeper "github.com/notional-labs/composable/v5/x/tx-boundary/keeper" ) type StakingPermissionDecorator struct { diff --git a/x/tx-boundary/client/cli/query.go b/x/tx-boundary/client/cli/query.go index 4054769b3..99f8e8093 100644 --- a/x/tx-boundary/client/cli/query.go +++ b/x/tx-boundary/client/cli/query.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/notional-labs/centauri/v5/x/tx-boundary/types" + "github.com/notional-labs/composable/v5/x/tx-boundary/types" ) // GetQueryCmd returns the cli query commands for the tx-boundary module. diff --git a/x/tx-boundary/client/cli/tx.go b/x/tx-boundary/client/cli/tx.go index 9321401d1..8a703ab1c 100644 --- a/x/tx-boundary/client/cli/tx.go +++ b/x/tx-boundary/client/cli/tx.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/notional-labs/centauri/v5/x/tx-boundary/types" + "github.com/notional-labs/composable/v5/x/tx-boundary/types" "github.com/spf13/cobra" ) diff --git a/x/tx-boundary/keeper/genensis.go b/x/tx-boundary/keeper/genensis.go index 5050809b3..7111aad3d 100644 --- a/x/tx-boundary/keeper/genensis.go +++ b/x/tx-boundary/keeper/genensis.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/notional-labs/centauri/v5/x/tx-boundary/types" + "github.com/notional-labs/composable/v5/x/tx-boundary/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/tx-boundary/keeper/grpc_query.go b/x/tx-boundary/keeper/grpc_query.go index b10906bc1..530e8796e 100644 --- a/x/tx-boundary/keeper/grpc_query.go +++ b/x/tx-boundary/keeper/grpc_query.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/notional-labs/centauri/v5/x/tx-boundary/types" + "github.com/notional-labs/composable/v5/x/tx-boundary/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/tx-boundary/keeper/keeper.go b/x/tx-boundary/keeper/keeper.go index 989ae7f83..ca3e0a7a6 100644 --- a/x/tx-boundary/keeper/keeper.go +++ b/x/tx-boundary/keeper/keeper.go @@ -9,7 +9,7 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/notional-labs/centauri/v5/x/tx-boundary/types" + "github.com/notional-labs/composable/v5/x/tx-boundary/types" ) // Keeper struct diff --git a/x/tx-boundary/keeper/keeper_test.go b/x/tx-boundary/keeper/keeper_test.go index d51f5660e..504f9474f 100644 --- a/x/tx-boundary/keeper/keeper_test.go +++ b/x/tx-boundary/keeper/keeper_test.go @@ -8,9 +8,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/suite" - "github.com/notional-labs/centauri/v5/app" - "github.com/notional-labs/centauri/v5/app/helpers" - "github.com/notional-labs/centauri/v5/x/tx-boundary/types" + "github.com/notional-labs/composable/v5/app" + "github.com/notional-labs/composable/v5/app/helpers" + "github.com/notional-labs/composable/v5/x/tx-boundary/types" ) type KeeperTestSuite struct { @@ -18,11 +18,11 @@ type KeeperTestSuite struct { ctx sdk.Context // querier sdk.Querier - app *app.CentauriApp + app *app.ComposableApp } func (suite *KeeperTestSuite) SetupTest() { - suite.app = helpers.SetupCentauriAppWithValSet(suite.T()) + suite.app = helpers.SetupComposableAppWithValSet(suite.T()) suite.ctx = suite.app.BaseApp.NewContext(false, tmproto.Header{Height: 1, ChainID: "centauri-1", Time: time.Now().UTC()}) } diff --git a/x/tx-boundary/module.go b/x/tx-boundary/module.go index 4b59cb327..c98eaf0f5 100644 --- a/x/tx-boundary/module.go +++ b/x/tx-boundary/module.go @@ -15,9 +15,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/notional-labs/centauri/v5/x/tx-boundary/client/cli" - "github.com/notional-labs/centauri/v5/x/tx-boundary/keeper" - "github.com/notional-labs/centauri/v5/x/tx-boundary/types" + "github.com/notional-labs/composable/v5/x/tx-boundary/client/cli" + "github.com/notional-labs/composable/v5/x/tx-boundary/keeper" + "github.com/notional-labs/composable/v5/x/tx-boundary/types" ) var ( From c1187229914ef7240a1c18624af1eb919f69db81 Mon Sep 17 00:00:00 2001 From: GnaD13 Date: Mon, 25 Sep 2023 17:07:21 +0700 Subject: [PATCH 02/24] cmd --- cmd/{centaurid => composabled}/cmd/bech32_convert.go | 0 cmd/{centaurid => composabled}/cmd/genaccounts.go | 0 cmd/{centaurid => composabled}/cmd/root.go | 0 cmd/{centaurid => composabled}/config/config.go | 0 cmd/{centaurid => composabled}/main.go | 0 5 files changed, 0 insertions(+), 0 deletions(-) rename cmd/{centaurid => composabled}/cmd/bech32_convert.go (100%) rename cmd/{centaurid => composabled}/cmd/genaccounts.go (100%) rename cmd/{centaurid => composabled}/cmd/root.go (100%) rename cmd/{centaurid => composabled}/config/config.go (100%) rename cmd/{centaurid => composabled}/main.go (100%) diff --git a/cmd/centaurid/cmd/bech32_convert.go b/cmd/composabled/cmd/bech32_convert.go similarity index 100% rename from cmd/centaurid/cmd/bech32_convert.go rename to cmd/composabled/cmd/bech32_convert.go diff --git a/cmd/centaurid/cmd/genaccounts.go b/cmd/composabled/cmd/genaccounts.go similarity index 100% rename from cmd/centaurid/cmd/genaccounts.go rename to cmd/composabled/cmd/genaccounts.go diff --git a/cmd/centaurid/cmd/root.go b/cmd/composabled/cmd/root.go similarity index 100% rename from cmd/centaurid/cmd/root.go rename to cmd/composabled/cmd/root.go diff --git a/cmd/centaurid/config/config.go b/cmd/composabled/config/config.go similarity index 100% rename from cmd/centaurid/config/config.go rename to cmd/composabled/config/config.go diff --git a/cmd/centaurid/main.go b/cmd/composabled/main.go similarity index 100% rename from cmd/centaurid/main.go rename to cmd/composabled/main.go From cf09a95f48844f548c0987ad30cec1951e9d9cb7 Mon Sep 17 00:00:00 2001 From: GnaD13 Date: Mon, 25 Sep 2023 17:13:52 +0700 Subject: [PATCH 03/24] proto --- cmd/composabled/main.go | 4 +- go.sum | 5 + scripts/protocgen.sh | 2 +- x/mint/types/genesis.pb.go | 50 ++-- x/mint/types/mint.pb.go | 72 +++--- x/mint/types/query.pb.go | 114 ++++----- x/mint/types/query.pb.gw.go | 2 +- x/mint/types/tx.pb.go | 128 +++++----- x/ratelimit/types/epoch.pb.go | 66 ++--- x/ratelimit/types/genesis.pb.go | 64 ++--- x/ratelimit/types/params.pb.go | 32 +-- x/ratelimit/types/query.pb.go | 194 +++++++-------- x/ratelimit/types/query.pb.gw.go | 20 +- x/ratelimit/types/ratelimit.pb.go | 121 ++++----- x/ratelimit/types/tx.pb.go | 232 +++++++++--------- x/transfermiddleware/types/genesis.pb.go | 45 ++-- .../types/parachain_token_info.pb.go | 92 +++---- x/transfermiddleware/types/params.pb.go | 43 ++-- x/transfermiddleware/types/query.pb.go | 136 +++++----- x/transfermiddleware/types/query.pb.gw.go | 6 +- x/transfermiddleware/types/tx.pb.go | 132 +++++----- x/tx-boundary/types/boundary.pb.go | 56 ++--- x/tx-boundary/types/genesis.pb.go | 44 ++-- x/tx-boundary/types/query.pb.go | 84 +++---- x/tx-boundary/types/query.pb.gw.go | 2 +- x/tx-boundary/types/tx.pb.go | 92 +++---- 26 files changed, 928 insertions(+), 910 deletions(-) diff --git a/cmd/composabled/main.go b/cmd/composabled/main.go index aaef9ee6c..b7983fac2 100644 --- a/cmd/composabled/main.go +++ b/cmd/composabled/main.go @@ -6,8 +6,8 @@ import ( svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" "github.com/notional-labs/composable/v5/app" - cmd "github.com/notional-labs/composable/v5/cmd/centaurid/cmd" - cmdcfg "github.com/notional-labs/composable/v5/cmd/centaurid/config" + cmd "github.com/notional-labs/composable/v5/cmd/composabled/cmd" + cmdcfg "github.com/notional-labs/composable/v5/cmd/composabled/config" ) func main() { diff --git a/go.sum b/go.sum index 3753f94e1..aaacdf0c0 100644 --- a/go.sum +++ b/go.sum @@ -277,6 +277,7 @@ github.com/aws/aws-sdk-go v1.44.203 h1:pcsP805b9acL3wUqa4JR2vg1k2wnItkDYNvfmcy6F github.com/aws/aws-sdk-go v1.44.203/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g= github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= +github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= @@ -361,6 +362,7 @@ github.com/containerd/continuity v0.3.0 h1:nisirsYROK15TAMVukJOUyGJjz4BNQJBVsNvA github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk= github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= +github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= @@ -409,6 +411,7 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/decred/dcrd/crypto/blake256 v1.0.0 h1:/8DMNYp9SGi5f0w7uCm6d6M4OU2rGFK09Y2A4Xv7EE0= +github.com/decred/dcrd/crypto/blake256 v1.0.0/go.mod h1:sQl2p6Y26YV+ZOcSTP6thNdn47hh8kt6rqSlvmrXFAc= github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 h1:HbphB4TFFXpv7MNrT52FGrrgVXF1owhMVTHFZIlnvd4= github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0/go.mod h1:DZGJHZMqrU4JJqFAWUS2UO1+lbSKsdiOoYi9Zzey7Fc= github.com/denis-tingaikin/go-header v0.4.3 h1:tEaZKAlqql6SKCY++utLmkPLd6K8IBM20Ha7UVm+mtU= @@ -749,6 +752,7 @@ github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+l github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= +github.com/hashicorp/go-rootcerts v1.0.2/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8= github.com/hashicorp/go-safetemp v1.0.0 h1:2HR189eFNrjHQyENnQMMpCiBAsRxzbTMIgBhEyExpmo= github.com/hashicorp/go-safetemp v1.0.0/go.mod h1:oaerMy3BhqiTbVye6QuFhFtIceqFoDHxNAB65b+Rj1I= github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= @@ -1283,6 +1287,7 @@ go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= go.uber.org/atomic v1.10.0 h1:9qC72Qh0+3MqyJbAn8YU5xVq1frD8bn3JtD2oXtafVQ= go.uber.org/atomic v1.10.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0= go.uber.org/goleak v1.1.11 h1:wy28qYRKZgnJTxGxvye5/wgWr1EKjmUDGYox5mGlRlI= +go.uber.org/goleak v1.1.11/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= go.uber.org/multierr v1.8.0 h1:dg6GjLku4EH+249NNmoIciG9N/jURbDG+pFlTkhzIC8= diff --git a/scripts/protocgen.sh b/scripts/protocgen.sh index c305d51a0..dc5973e54 100644 --- a/scripts/protocgen.sh +++ b/scripts/protocgen.sh @@ -10,7 +10,7 @@ go get github.com/regen-network/cosmos-proto/protoc-gen-gocosmos 2>/dev/null echo "Generating gogo proto code" cd proto -proto_dirs=$(find ./centauri -path -prune -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq) +proto_dirs=$(find ./composable -path -prune -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq) for dir in $proto_dirs; do for file in $(find "${dir}" -maxdepth 1 -name '*.proto'); do if grep go_package $file &>/dev/null; then diff --git a/x/mint/types/genesis.pb.go b/x/mint/types/genesis.pb.go index 4c2486d24..ca1ef196c 100644 --- a/x/mint/types/genesis.pb.go +++ b/x/mint/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: centauri/mint/v1beta1/genesis.proto +// source: composable/mint/v1beta1/genesis.proto package types @@ -37,7 +37,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} } func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_dc8b577617211e57, []int{0} + return fileDescriptor_e0d194becbc68041, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -88,34 +88,34 @@ func (m *GenesisState) GetIncentivesSupply() types.Coin { } func init() { - proto.RegisterType((*GenesisState)(nil), "centauri.mint.v1beta1.GenesisState") + proto.RegisterType((*GenesisState)(nil), "composable.mint.v1beta1.GenesisState") } func init() { - proto.RegisterFile("centauri/mint/v1beta1/genesis.proto", fileDescriptor_dc8b577617211e57) + proto.RegisterFile("composable/mint/v1beta1/genesis.proto", fileDescriptor_e0d194becbc68041) } -var fileDescriptor_dc8b577617211e57 = []byte{ - // 296 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x3f, 0x4e, 0xc3, 0x30, - 0x14, 0x87, 0xe3, 0x82, 0x3a, 0x84, 0x0e, 0x10, 0x81, 0x14, 0x2a, 0xe1, 0x56, 0x20, 0x01, 0x0b, - 0xb6, 0x0a, 0x23, 0x5b, 0x18, 0x98, 0x90, 0x50, 0xbb, 0xb1, 0x20, 0x27, 0x58, 0xc1, 0x82, 0xd8, - 0x56, 0x9e, 0x53, 0xe8, 0xc8, 0x0d, 0x38, 0x07, 0x27, 0xe9, 0xd8, 0x91, 0x09, 0x50, 0x72, 0x11, - 0x64, 0x3b, 0x2d, 0x4b, 0xc5, 0x64, 0x4b, 0xef, 0xfb, 0x7e, 0xef, 0x4f, 0x78, 0x94, 0x71, 0x69, - 0x58, 0x55, 0x0a, 0x5a, 0x08, 0x69, 0xe8, 0x74, 0x94, 0x72, 0xc3, 0x46, 0x34, 0xe7, 0x92, 0x83, - 0x00, 0xa2, 0x4b, 0x65, 0x54, 0xb4, 0xb7, 0x84, 0x88, 0x85, 0x48, 0x0b, 0xf5, 0x77, 0x73, 0x95, - 0x2b, 0x47, 0x50, 0xfb, 0xf3, 0x70, 0x7f, 0xb8, 0x3e, 0xd1, 0x99, 0x9e, 0xc0, 0x99, 0x82, 0x42, - 0x01, 0x4d, 0x19, 0xf0, 0x55, 0x3d, 0x53, 0x42, 0xfa, 0xfa, 0xe1, 0x5b, 0x27, 0xec, 0x5d, 0xfb, - 0x01, 0x26, 0x86, 0x19, 0x1e, 0x5d, 0x86, 0x5d, 0xab, 0xf3, 0x32, 0x46, 0x43, 0x74, 0xba, 0x75, - 0x7e, 0x40, 0xd6, 0x0e, 0x44, 0x6e, 0x1c, 0x94, 0x6c, 0xce, 0xbf, 0x06, 0xc1, 0xb8, 0x55, 0xac, - 0xac, 0x59, 0xc9, 0x0a, 0x88, 0x3b, 0xff, 0xca, 0xb7, 0x0e, 0x5a, 0xca, 0x5e, 0x89, 0x5e, 0xc2, - 0x1d, 0x21, 0x2d, 0x2f, 0xa6, 0x1c, 0xee, 0xa1, 0xd2, 0xfa, 0x79, 0x16, 0x6f, 0xb8, 0x9c, 0x7d, - 0xe2, 0xd7, 0x20, 0x76, 0x8d, 0x55, 0xca, 0x95, 0x12, 0x32, 0xa1, 0x36, 0xe3, 0xe3, 0x7b, 0x70, - 0x92, 0x0b, 0xf3, 0x58, 0xa5, 0x24, 0x53, 0x05, 0x6d, 0x77, 0xf6, 0xcf, 0x19, 0x3c, 0x3c, 0x51, - 0x33, 0xd3, 0x1c, 0x9c, 0x30, 0xde, 0xfe, 0x6b, 0x32, 0x71, 0x3d, 0x92, 0xe3, 0x79, 0x8d, 0xd1, - 0xa2, 0xc6, 0xe8, 0xa7, 0xc6, 0xe8, 0xbd, 0xc1, 0xc1, 0xa2, 0xc1, 0xc1, 0x67, 0x83, 0x83, 0xbb, - 0xde, 0xab, 0x3f, 0xac, 0xd3, 0xd3, 0xae, 0x3b, 0xd9, 0xc5, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, - 0x7c, 0x38, 0xd2, 0x82, 0xc8, 0x01, 0x00, 0x00, +var fileDescriptor_e0d194becbc68041 = []byte{ + // 297 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xbb, 0x4e, 0xc3, 0x30, + 0x14, 0x86, 0x93, 0x82, 0x3a, 0x84, 0x0e, 0x10, 0x21, 0x11, 0x3a, 0x38, 0xa8, 0x12, 0x97, 0x05, + 0x5b, 0x85, 0x99, 0x25, 0x0c, 0x4c, 0x48, 0xa8, 0xdd, 0x58, 0x90, 0x1d, 0xac, 0x60, 0xd1, 0xd8, + 0x56, 0x8e, 0x5b, 0xe8, 0x03, 0xb0, 0xf3, 0x1c, 0x3c, 0x49, 0xc7, 0x8e, 0x4c, 0x80, 0x92, 0x17, + 0x41, 0xb6, 0x43, 0x3b, 0x55, 0x4c, 0xb6, 0x74, 0xbe, 0xef, 0x3f, 0x97, 0xe8, 0x38, 0x57, 0xa5, + 0x56, 0x40, 0xd9, 0x84, 0x93, 0x52, 0x48, 0x43, 0x66, 0x43, 0xc6, 0x0d, 0x1d, 0x92, 0x82, 0x4b, + 0x0e, 0x02, 0xb0, 0xae, 0x94, 0x51, 0xf1, 0xc1, 0x1a, 0xc3, 0x16, 0xc3, 0x2d, 0xd6, 0xdf, 0x2f, + 0x54, 0xa1, 0x1c, 0x43, 0xec, 0xcf, 0xe3, 0xfd, 0xc1, 0xa6, 0x54, 0xe7, 0x7a, 0x06, 0xe5, 0x0a, + 0x4a, 0x05, 0x84, 0x51, 0xe0, 0xab, 0x7a, 0xae, 0x84, 0xf4, 0xf5, 0xc1, 0x5b, 0x27, 0xea, 0xdd, + 0xf8, 0x21, 0xc6, 0x86, 0x1a, 0x1e, 0x5f, 0x45, 0x5d, 0xab, 0xf3, 0x2a, 0x09, 0x8f, 0xc2, 0xb3, + 0x9d, 0x8b, 0x14, 0x6f, 0x18, 0x0a, 0xdf, 0x3a, 0x2c, 0xdb, 0x5e, 0x7c, 0xa5, 0xc1, 0xa8, 0x95, + 0xac, 0xae, 0x69, 0x45, 0x4b, 0x48, 0x3a, 0xff, 0xe8, 0x77, 0x0e, 0xfb, 0xd3, 0xbd, 0x14, 0xbf, + 0x44, 0x7b, 0x42, 0xe6, 0x5c, 0x1a, 0x31, 0xe3, 0xf0, 0x00, 0x53, 0xad, 0x27, 0xf3, 0x64, 0xcb, + 0x25, 0x1d, 0x62, 0xbf, 0x0a, 0xb6, 0xab, 0xac, 0x52, 0xae, 0x95, 0x90, 0x19, 0xb1, 0x19, 0x1f, + 0xdf, 0xe9, 0x69, 0x21, 0xcc, 0xd3, 0x94, 0xd9, 0x96, 0xa4, 0xdd, 0xdb, 0x3f, 0xe7, 0xf0, 0xf8, + 0x4c, 0xcc, 0x5c, 0x73, 0x70, 0xc2, 0x68, 0x77, 0xdd, 0x64, 0xec, 0x7a, 0x64, 0x27, 0x8b, 0x1a, + 0x85, 0xcb, 0x1a, 0x85, 0x3f, 0x35, 0x0a, 0xdf, 0x1b, 0x14, 0x2c, 0x1b, 0x14, 0x7c, 0x36, 0x28, + 0xb8, 0xef, 0xbd, 0xfa, 0xe3, 0x3a, 0x9d, 0x75, 0xdd, 0xd9, 0x2e, 0x7f, 0x03, 0x00, 0x00, 0xff, + 0xff, 0x0b, 0x15, 0x2b, 0x2e, 0xd2, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/mint/types/mint.pb.go b/x/mint/types/mint.pb.go index 729d1ade0..cebfddc2f 100644 --- a/x/mint/types/mint.pb.go +++ b/x/mint/types/mint.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: centauri/mint/v1beta1/mint.proto +// source: composable/mint/v1beta1/mint.proto package types @@ -37,7 +37,7 @@ func (m *Minter) Reset() { *m = Minter{} } func (m *Minter) String() string { return proto.CompactTextString(m) } func (*Minter) ProtoMessage() {} func (*Minter) Descriptor() ([]byte, []int) { - return fileDescriptor_6112c5a3a9c60a07, []int{0} + return fileDescriptor_eddbd7b6ac49f431, []int{0} } func (m *Minter) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -85,7 +85,7 @@ type Params struct { func (m *Params) Reset() { *m = Params{} } func (*Params) ProtoMessage() {} func (*Params) Descriptor() ([]byte, []int) { - return fileDescriptor_6112c5a3a9c60a07, []int{1} + return fileDescriptor_eddbd7b6ac49f431, []int{1} } func (m *Params) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -129,41 +129,43 @@ func (m *Params) GetBlocksPerYear() uint64 { } func init() { - proto.RegisterType((*Minter)(nil), "centauri.mint.v1beta1.Minter") - proto.RegisterType((*Params)(nil), "centauri.mint.v1beta1.Params") + proto.RegisterType((*Minter)(nil), "composable.mint.v1beta1.Minter") + proto.RegisterType((*Params)(nil), "composable.mint.v1beta1.Params") } -func init() { proto.RegisterFile("centauri/mint/v1beta1/mint.proto", fileDescriptor_6112c5a3a9c60a07) } +func init() { + proto.RegisterFile("composable/mint/v1beta1/mint.proto", fileDescriptor_eddbd7b6ac49f431) +} -var fileDescriptor_6112c5a3a9c60a07 = []byte{ - // 418 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x93, 0x31, 0x6f, 0xd3, 0x40, - 0x18, 0x86, 0x6d, 0x1a, 0x05, 0xe5, 0x00, 0x05, 0x0e, 0x2a, 0x85, 0x4a, 0x38, 0x51, 0x87, 0xa8, - 0x4b, 0x6d, 0x55, 0x6c, 0x88, 0x29, 0x64, 0xe9, 0x80, 0x14, 0x59, 0x2c, 0x54, 0x42, 0xa7, 0xb3, - 0xfd, 0xe1, 0x9e, 0xe2, 0xfb, 0xce, 0xba, 0xbb, 0x54, 0xe9, 0xbf, 0x60, 0x64, 0xe4, 0x47, 0xf0, - 0x23, 0xba, 0x51, 0x31, 0x21, 0x86, 0x0a, 0x25, 0x7f, 0x83, 0x01, 0x9d, 0xcf, 0xa4, 0x11, 0x1b, - 0x6a, 0x26, 0xfb, 0xde, 0xef, 0x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, 0x7b, 0xba, 0x41, 0xa7, 0xdc, - 0xc2, 0x9b, 0x06, 0x4c, 0x3f, 0x90, 0x07, 0xa5, 0xe2, 0x15, 0xcb, 0x14, 0x16, 0x50, 0x0c, 0xf6, - 0x76, 0x90, 0x43, 0x1c, 0x70, 0xd2, 0xf0, 0xe8, 0x98, 0xf4, 0xb3, 0x4a, 0xe5, 0x73, 0xc3, 0x6a, - 0xd0, 0xec, 0x12, 0xb8, 0x1e, 0x74, 0x46, 0xe1, 0x51, 0x27, 0x7d, 0xe4, 0xe5, 0x19, 0xe8, 0xf7, - 0xc0, 0x35, 0x15, 0x84, 0x4a, 0xbe, 0x64, 0x56, 0xcd, 0x01, 0x6f, 0xad, 0xdd, 0xff, 0x6e, 0x73, - 0x8a, 0x76, 0xab, 0xcd, 0x29, 0xda, 0xb4, 0x2f, 0xf9, 0xf2, 0x9d, 0xc3, 0x6e, 0x47, 0x09, 0xfc, - 0x37, 0xea, 0xfe, 0x1d, 0xa3, 0xdc, 0xe2, 0x7d, 0x29, 0x70, 0x3b, 0xea, 0x55, 0xe7, 0xf3, 0x97, - 0x61, 0x30, 0x19, 0x5f, 0xad, 0xa2, 0xf0, 0x7a, 0x15, 0x85, 0xbf, 0x56, 0x51, 0xf8, 0x69, 0x1d, - 0x05, 0xd7, 0xeb, 0x28, 0xf8, 0xb1, 0x8e, 0x82, 0xb3, 0x87, 0x4b, 0xff, 0x37, 0x35, 0xc0, 0xac, - 0xdb, 0x7c, 0xff, 0x2f, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x1b, 0x8e, 0xbd, 0xb4, 0x6b, 0x03, - 0x00, 0x00, +var fileDescriptor_eddbd7b6ac49f431 = []byte{ + // 419 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x93, 0x41, 0x8b, 0xd3, 0x40, + 0x18, 0x86, 0x13, 0xb7, 0x54, 0x3a, 0x2a, 0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e, 0xac, 0xa3, 0xe0, 0xfc, 0xfe, 0xc2, 0xff, 0x4f, 0x0d, 0x30, + 0xeb, 0x36, 0xdf, 0xff, 0xcb, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xe9, 0x16, 0x9b, 0x29, 0x6f, + 0x03, 0x00, 0x00, } func (m *Minter) Marshal() (dAtA []byte, err error) { diff --git a/x/mint/types/query.pb.go b/x/mint/types/query.pb.go index 83e8810e7..f263fd872 100644 --- a/x/mint/types/query.pb.go +++ b/x/mint/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: centauri/mint/v1beta1/query.proto +// source: composable/mint/v1beta1/query.proto package types @@ -38,7 +38,7 @@ func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} } func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) } func (*QueryParamsRequest) ProtoMessage() {} func (*QueryParamsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9f2a7e41e863c9e, []int{0} + return fileDescriptor_2530c578222e85a6, []int{0} } func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -77,7 +77,7 @@ func (m *QueryParamsResponse) Reset() { *m = QueryParamsResponse{} } func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) } func (*QueryParamsResponse) ProtoMessage() {} func (*QueryParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9f2a7e41e863c9e, []int{1} + return fileDescriptor_2530c578222e85a6, []int{1} } func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -121,7 +121,7 @@ func (m *QueryInflationRequest) Reset() { *m = QueryInflationRequest{} } func (m *QueryInflationRequest) String() string { return proto.CompactTextString(m) } func (*QueryInflationRequest) ProtoMessage() {} func (*QueryInflationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9f2a7e41e863c9e, []int{2} + return fileDescriptor_2530c578222e85a6, []int{2} } func (m *QueryInflationRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -161,7 +161,7 @@ func (m *QueryInflationResponse) Reset() { *m = QueryInflationResponse{} func (m *QueryInflationResponse) String() string { return proto.CompactTextString(m) } func (*QueryInflationResponse) ProtoMessage() {} func (*QueryInflationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9f2a7e41e863c9e, []int{3} + return fileDescriptor_2530c578222e85a6, []int{3} } func (m *QueryInflationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -199,7 +199,7 @@ func (m *QueryAnnualProvisionsRequest) Reset() { *m = QueryAnnualProvisi func (m *QueryAnnualProvisionsRequest) String() string { return proto.CompactTextString(m) } func (*QueryAnnualProvisionsRequest) ProtoMessage() {} func (*QueryAnnualProvisionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9f2a7e41e863c9e, []int{4} + return fileDescriptor_2530c578222e85a6, []int{4} } func (m *QueryAnnualProvisionsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -239,7 +239,7 @@ func (m *QueryAnnualProvisionsResponse) Reset() { *m = QueryAnnualProvis func (m *QueryAnnualProvisionsResponse) String() string { return proto.CompactTextString(m) } func (*QueryAnnualProvisionsResponse) ProtoMessage() {} func (*QueryAnnualProvisionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9f2a7e41e863c9e, []int{5} + return fileDescriptor_2530c578222e85a6, []int{5} } func (m *QueryAnnualProvisionsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -269,47 +269,49 @@ func (m *QueryAnnualProvisionsResponse) XXX_DiscardUnknown() { var xxx_messageInfo_QueryAnnualProvisionsResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*QueryParamsRequest)(nil), "centauri.mint.v1beta1.QueryParamsRequest") - proto.RegisterType((*QueryParamsResponse)(nil), "centauri.mint.v1beta1.QueryParamsResponse") - proto.RegisterType((*QueryInflationRequest)(nil), "centauri.mint.v1beta1.QueryInflationRequest") - proto.RegisterType((*QueryInflationResponse)(nil), "centauri.mint.v1beta1.QueryInflationResponse") - proto.RegisterType((*QueryAnnualProvisionsRequest)(nil), "centauri.mint.v1beta1.QueryAnnualProvisionsRequest") - proto.RegisterType((*QueryAnnualProvisionsResponse)(nil), "centauri.mint.v1beta1.QueryAnnualProvisionsResponse") -} - -func init() { proto.RegisterFile("centauri/mint/v1beta1/query.proto", fileDescriptor_e9f2a7e41e863c9e) } - -var fileDescriptor_e9f2a7e41e863c9e = []byte{ - // 450 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0x4f, 0x6f, 0xd3, 0x30, - 0x18, 0xc6, 0x63, 0xfe, 0x54, 0x9a, 0xd9, 0x61, 0x98, 0x0d, 0x50, 0x58, 0xbd, 0x12, 0xa4, 0x68, - 0x20, 0x66, 0x6b, 0x1b, 0x37, 0x4e, 0x54, 0x5c, 0x90, 0x38, 0x8c, 0x1c, 0xe1, 0x80, 0xdc, 0xe0, - 0x85, 0x88, 0xc6, 0xce, 0x62, 0x67, 0x62, 0x12, 0x27, 0xc4, 0x07, 0xa8, 0xc4, 0xe7, 0xe0, 0x7b, - 0xf4, 0x58, 0xc4, 0x05, 0x71, 0xa8, 0x50, 0xcb, 0x07, 0x41, 0x71, 0x9c, 0xa2, 0xa6, 0x69, 0x55, - 0x76, 0x4a, 0xe4, 0xf7, 0x79, 0xdf, 0xe7, 0x17, 0x3f, 0x6f, 0xe0, 0xfd, 0x90, 0x0b, 0xcd, 0xf2, - 0x2c, 0xa6, 0x49, 0x2c, 0x34, 0x3d, 0x3f, 0xec, 0x71, 0xcd, 0x0e, 0xe9, 0x59, 0xce, 0xb3, 0x0b, - 0x92, 0x66, 0x52, 0x4b, 0xb4, 0x53, 0x49, 0x48, 0x21, 0x21, 0x56, 0xe2, 0x6e, 0x47, 0x32, 0x92, - 0x46, 0x41, 0x8b, 0xb7,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47, 0x5f, 0x00, 0x6c, 0x95, 0x37, - 0x88, 0x1e, 0x2e, 0xb9, 0xe0, 0xc5, 0xc8, 0xdc, 0x47, 0xeb, 0x48, 0xcb, 0x0f, 0xf1, 0x1e, 0x7c, - 0xfe, 0xf1, 0xe7, 0xeb, 0x95, 0x36, 0xba, 0x57, 0x31, 0xce, 0x6d, 0x47, 0x99, 0x17, 0x1a, 0x00, - 0xb8, 0x31, 0x8b, 0x04, 0x3d, 0x5e, 0x35, 0xbe, 0x1e, 0xa9, 0x7b, 0xb0, 0xa6, 0xda, 0xf2, 0xf8, - 0x86, 0xa7, 0x83, 0x70, 0x23, 0xcf, 0x2c, 0x41, 0xf4, 0x0d, 0xc0, 0xad, 0x7a, 0x3a, 0xe8, 0x78, - 0x95, 0xd7, 0x92, 0xac, 0xdd, 0x27, 0xff, 0xd7, 0x64, 0x39, 0x89, 0xe1, 0xdc, 0x47, 0x7e, 0x23, - 0xe7, 0xc2, 0x6e, 0x74, 0xfd, 0xe1, 0x04, 0x83, 0xd1, 0x04, 0x83, 0xdf, 0x13, 0x0c, 0x06, 0x53, - 0xec, 0x8c, 0xa6, 0xd8, 0xf9, 0x39, 0xc5, 0xce, 0xeb, 0xcd, 0x8f, 0x65, 0xaf, 0xd9, 0x88, 0x5e, - 0xcb, 0xfc, 0x8b, 0xc7, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x5f, 0x3c, 0x0c, 0xa2, 0x1d, 0x04, - 0x00, 0x00, + proto.RegisterType((*QueryParamsRequest)(nil), "composable.mint.v1beta1.QueryParamsRequest") + proto.RegisterType((*QueryParamsResponse)(nil), "composable.mint.v1beta1.QueryParamsResponse") + proto.RegisterType((*QueryInflationRequest)(nil), "composable.mint.v1beta1.QueryInflationRequest") + proto.RegisterType((*QueryInflationResponse)(nil), "composable.mint.v1beta1.QueryInflationResponse") + proto.RegisterType((*QueryAnnualProvisionsRequest)(nil), "composable.mint.v1beta1.QueryAnnualProvisionsRequest") + proto.RegisterType((*QueryAnnualProvisionsResponse)(nil), "composable.mint.v1beta1.QueryAnnualProvisionsResponse") +} + +func init() { + proto.RegisterFile("composable/mint/v1beta1/query.proto", fileDescriptor_2530c578222e85a6) +} + +var fileDescriptor_2530c578222e85a6 = []byte{ + // 451 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4e, 0xce, 0xcf, 0x2d, + 0xc8, 0x2f, 0x4e, 0x4c, 0xca, 0x49, 0xd5, 0xcf, 0xcd, 0xcc, 0x2b, 0xd1, 0x2f, 0x33, 0x4c, 0x4a, + 0x2d, 0x49, 0x34, 0xd4, 0x2f, 0x2c, 0x4d, 0x2d, 0xaa, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, + 0x12, 0x47, 0x28, 0xd2, 0x03, 0x29, 0xd2, 0x83, 0x2a, 0x92, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, + 0xab, 0xd1, 0x07, 0xb1, 0x20, 0xca, 0xa5, 0x64, 0xd2, 0xf3, 0xf3, 0xd3, 0x73, 0x52, 0xf5, 0x13, + 0x0b, 0x32, 0xf5, 0x13, 0xf3, 0xf2, 0xf2, 0x4b, 0x12, 0x4b, 0x32, 0xf3, 0xf3, 0x8a, 0xa1, 0xb2, + 0x4a, 0xb8, 0x6c, 0x04, 0x9b, 0x0c, 0x56, 0xa3, 0x24, 0xc2, 0x25, 0x14, 0x08, 0xb2, 0x3f, 0x20, + 0xb1, 0x28, 0x31, 0xb7, 0x38, 0x28, 0xb5, 0xb0, 0x34, 0xb5, 0xb8, 0x44, 0x29, 0x84, 0x4b, 0x18, + 0x45, 0xb4, 0xb8, 0x20, 0x3f, 0xaf, 0x38, 0x55, 0xc8, 0x96, 0x8b, 0xad, 0x00, 0x2c, 0x22, 0xc1, + 0xa8, 0xc0, 0xa8, 0xc1, 0x6d, 0x24, 0xaf, 0x87, 0xc3, 0xb9, 0x7a, 0x10, 0x8d, 0x4e, 0x2c, 0x27, + 0xee, 0xc9, 0x33, 0x04, 0x41, 0x35, 0x29, 0x89, 0x73, 0x89, 0x82, 0x4d, 0xf5, 0xcc, 0x4b, 0xcb, + 0x01, 0x3b, 0x14, 0x66, 0x5d, 0x1a, 0x97, 0x18, 0xba, 0x04, 0xd4, 0x46, 0x1f, 0x2e, 0xce, 0x4c, + 0x98, 0x20, 0xd8, 0x52, 0x1e, 0x27, 0x3d, 0x90, 0x99, 0xb7, 0xee, 0xc9, 0xab, 0xa5, 0x67, 0x96, + 0x64, 0x94, 0x26, 0x81, 0x9c, 0xa0, 0x9f, 0x9c, 0x5f, 0x9c, 0x9b, 0x5f, 0x0c, 0xa5, 0x74, 0x8b, + 0x53, 0xb2, 0xf5, 0x4b, 0x2a, 0x0b, 0x52, 0x8b, 0xf5, 0x5c, 0x52, 0x93, 0x83, 0x10, 0x06, 0x28, + 0xc9, 0x71, 0xc9, 0x80, 0xed, 0x71, 0xcc, 0xcb, 0x2b, 0x4d, 0xcc, 0x09, 0x28, 0xca, 0x2f, 0xcb, + 0x2c, 0x06, 0x85, 0x17, 0xcc, 0x1d, 0x35, 0x5c, 0xb2, 0x38, 0xe4, 0xa1, 0xce, 0x89, 0xe6, 0x12, + 0x4c, 0x04, 0xcb, 0xc5, 0x17, 0xc0, 0x25, 0xc9, 0x74, 0x96, 0x40, 0x22, 0x9a, 0x25, 0x46, 0x77, + 0x99, 0xb9, 0x58, 0xc1, 0xd6, 0x0b, 0x75, 0x30, 0x72, 0xb1, 0x41, 0x42, 0x50, 0x48, 0x1b, 0x67, + 0x10, 0x63, 0x46, 0x9b, 0x94, 0x0e, 0x71, 0x8a, 0x21, 0x9e, 0x51, 0x52, 0x6e, 0xba, 0xfc, 0x64, + 0x32, 0x93, 0xac, 0x90, 0x34, 0xcc, 0x9d, 0x28, 0x69, 0x04, 0x12, 0x67, 0x42, 0x53, 0x18, 0xb9, + 0x38, 0xe1, 0xd1, 0x22, 0xa4, 0x87, 0xdf, 0x02, 0xf4, 0x88, 0x95, 0xd2, 0x27, 0x5a, 0x3d, 0xd4, + 0x4d, 0x6a, 0x60, 0x37, 0x29, 0x08, 0xc9, 0x61, 0x75, 0x13, 0x3c, 0x26, 0x85, 0x36, 0x32, 0x72, + 0x09, 0xa0, 0xc7, 0x92, 0x90, 0x29, 0x7e, 0xdb, 0x70, 0xc4, 0xba, 0x94, 0x19, 0xa9, 0xda, 0xa0, + 0x6e, 0xd5, 0x03, 0xbb, 0x55, 0x43, 0x48, 0x0d, 0xab, 0x5b, 0x31, 0xd2, 0x89, 0x93, 0xda, 0x89, + 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, + 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0xf1, 0x54, 0x40, 0xf4, 0x82, 0x53, 0x47, + 0x12, 0x1b, 0x38, 0x67, 0x1a, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x64, 0x17, 0xda, 0xda, 0x31, + 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -342,7 +344,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { out := new(QueryParamsResponse) - err := c.cc.Invoke(ctx, "/centauri.mint.v1beta1.Query/Params", in, out, opts...) + err := c.cc.Invoke(ctx, "/composable.mint.v1beta1.Query/Params", in, out, opts...) if err != nil { return nil, err } @@ -351,7 +353,7 @@ func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts . func (c *queryClient) Inflation(ctx context.Context, in *QueryInflationRequest, opts ...grpc.CallOption) (*QueryInflationResponse, error) { out := new(QueryInflationResponse) - err := c.cc.Invoke(ctx, "/centauri.mint.v1beta1.Query/Inflation", in, out, opts...) + err := c.cc.Invoke(ctx, "/composable.mint.v1beta1.Query/Inflation", in, out, opts...) if err != nil { return nil, err } @@ -360,7 +362,7 @@ func (c *queryClient) Inflation(ctx context.Context, in *QueryInflationRequest, func (c *queryClient) AnnualProvisions(ctx context.Context, in *QueryAnnualProvisionsRequest, opts ...grpc.CallOption) (*QueryAnnualProvisionsResponse, error) { out := new(QueryAnnualProvisionsResponse) - err := c.cc.Invoke(ctx, "/centauri.mint.v1beta1.Query/AnnualProvisions", in, out, opts...) + err := c.cc.Invoke(ctx, "/composable.mint.v1beta1.Query/AnnualProvisions", in, out, opts...) if err != nil { return nil, err } @@ -405,7 +407,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/centauri.mint.v1beta1.Query/Params", + FullMethod: "/composable.mint.v1beta1.Query/Params", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) @@ -423,7 +425,7 @@ func _Query_Inflation_Handler(srv interface{}, ctx context.Context, dec func(int } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/centauri.mint.v1beta1.Query/Inflation", + FullMethod: "/composable.mint.v1beta1.Query/Inflation", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Inflation(ctx, req.(*QueryInflationRequest)) @@ -441,7 +443,7 @@ func _Query_AnnualProvisions_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/centauri.mint.v1beta1.Query/AnnualProvisions", + FullMethod: "/composable.mint.v1beta1.Query/AnnualProvisions", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).AnnualProvisions(ctx, req.(*QueryAnnualProvisionsRequest)) @@ -450,7 +452,7 @@ func _Query_AnnualProvisions_Handler(srv interface{}, ctx context.Context, dec f } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "centauri.mint.v1beta1.Query", + ServiceName: "composable.mint.v1beta1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -467,7 +469,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "centauri/mint/v1beta1/query.proto", + Metadata: "composable/mint/v1beta1/query.proto", } func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/mint/types/query.pb.gw.go b/x/mint/types/query.pb.gw.go index 74c57d6fb..1aa46aec0 100644 --- a/x/mint/types/query.pb.gw.go +++ b/x/mint/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: centauri/mint/v1beta1/query.proto +// source: composable/mint/v1beta1/query.proto /* Package types is a reverse proxy. diff --git a/x/mint/types/tx.pb.go b/x/mint/types/tx.pb.go index ac75494ea..7dc75f8ec 100644 --- a/x/mint/types/tx.pb.go +++ b/x/mint/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: centauri/mint/v1beta1/tx.proto +// source: composable/mint/v1beta1/tx.proto package types @@ -50,7 +50,7 @@ func (m *MsgUpdateParams) Reset() { *m = MsgUpdateParams{} } func (m *MsgUpdateParams) String() string { return proto.CompactTextString(m) } func (*MsgUpdateParams) ProtoMessage() {} func (*MsgUpdateParams) Descriptor() ([]byte, []int) { - return fileDescriptor_80c8af29bb20a4d0, []int{0} + return fileDescriptor_0ffc1eea72e250ff, []int{0} } func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -104,7 +104,7 @@ func (m *MsgUpdateParamsResponse) Reset() { *m = MsgUpdateParamsResponse func (m *MsgUpdateParamsResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateParamsResponse) ProtoMessage() {} func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_80c8af29bb20a4d0, []int{1} + return fileDescriptor_0ffc1eea72e250ff, []int{1} } func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -142,7 +142,7 @@ func (m *MsgFundModuleAccount) Reset() { *m = MsgFundModuleAccount{} } func (m *MsgFundModuleAccount) String() string { return proto.CompactTextString(m) } func (*MsgFundModuleAccount) ProtoMessage() {} func (*MsgFundModuleAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_80c8af29bb20a4d0, []int{2} + return fileDescriptor_0ffc1eea72e250ff, []int{2} } func (m *MsgFundModuleAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -192,7 +192,7 @@ func (m *MsgFundModuleAccountResponse) Reset() { *m = MsgFundModuleAccou func (m *MsgFundModuleAccountResponse) String() string { return proto.CompactTextString(m) } func (*MsgFundModuleAccountResponse) ProtoMessage() {} func (*MsgFundModuleAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_80c8af29bb20a4d0, []int{3} + return fileDescriptor_0ffc1eea72e250ff, []int{3} } func (m *MsgFundModuleAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -233,7 +233,7 @@ func (m *MsgAddAccountToFundModuleSet) Reset() { *m = MsgAddAccountToFun func (m *MsgAddAccountToFundModuleSet) String() string { return proto.CompactTextString(m) } func (*MsgAddAccountToFundModuleSet) ProtoMessage() {} func (*MsgAddAccountToFundModuleSet) Descriptor() ([]byte, []int) { - return fileDescriptor_80c8af29bb20a4d0, []int{4} + return fileDescriptor_0ffc1eea72e250ff, []int{4} } func (m *MsgAddAccountToFundModuleSet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -283,7 +283,7 @@ func (m *MsgAddAccountToFundModuleSetResponse) Reset() { *m = MsgAddAcco func (m *MsgAddAccountToFundModuleSetResponse) String() string { return proto.CompactTextString(m) } func (*MsgAddAccountToFundModuleSetResponse) ProtoMessage() {} func (*MsgAddAccountToFundModuleSetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_80c8af29bb20a4d0, []int{5} + return fileDescriptor_0ffc1eea72e250ff, []int{5} } func (m *MsgAddAccountToFundModuleSetResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -313,55 +313,55 @@ func (m *MsgAddAccountToFundModuleSetResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgAddAccountToFundModuleSetResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*MsgUpdateParams)(nil), "centauri.mint.v1beta1.MsgUpdateParams") - proto.RegisterType((*MsgUpdateParamsResponse)(nil), "centauri.mint.v1beta1.MsgUpdateParamsResponse") - proto.RegisterType((*MsgFundModuleAccount)(nil), "centauri.mint.v1beta1.MsgFundModuleAccount") - proto.RegisterType((*MsgFundModuleAccountResponse)(nil), "centauri.mint.v1beta1.MsgFundModuleAccountResponse") - proto.RegisterType((*MsgAddAccountToFundModuleSet)(nil), "centauri.mint.v1beta1.MsgAddAccountToFundModuleSet") - proto.RegisterType((*MsgAddAccountToFundModuleSetResponse)(nil), "centauri.mint.v1beta1.MsgAddAccountToFundModuleSetResponse") -} - -func init() { proto.RegisterFile("centauri/mint/v1beta1/tx.proto", fileDescriptor_80c8af29bb20a4d0) } - -var fileDescriptor_80c8af29bb20a4d0 = []byte{ - // 580 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xbf, 0x6f, 0xd3, 0x40, - 0x14, 0xce, 0xa5, 0xa2, 0x52, 0x2e, 0x81, 0x52, 0x2b, 0xd0, 0xc4, 0x02, 0x3b, 0x58, 0x28, 0x8a, - 0x82, 0x6a, 0x2b, 0xa9, 0xc4, 0x50, 0x16, 0x92, 0x4a, 0x6c, 0x91, 0x90, 0x0b, 0x0b, 0x4b, 0x75, - 0xb1, 0xaf, 0xae, 0x45, 0xec, 0x8b, 0x7c, 0xe7, 0xd2, 0x6c, 0x88, 0x11, 0x09, 0x89, 0x8d, 0x7f, - 0x01, 0xb1,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fe, - 0xdc, 0xdb, 0x01, 0xdc, 0x42, 0xbd, 0x1e, 0x79, 0x85, 0xed, 0x74, 0x20, 0xd9, 0x38, 0x53, 0x9e, - 0x8d, 0xd4, 0xdb, 0x22, 0xf3, 0x32, 0x41, 0x33, 0x6f, 0x88, 0x88, 0x98, 0x97, 0x56, 0x85, 0xf7, - 0xaf, 0x12, 0x96, 0x38, 0x68, 0xfe, 0xca, 0xc2, 0x8d, 0x0e, 0x75, 0xa4, 0x63, 0x58, 0xb8, 0x74, - 0xe8, 0xaa, 0x6b, 0x0e, 0xcb, 0xc2, 0x6e, 0x65, 0xfd, 0xef, 0x78, 0x49, 0x3f, 0x29, 0x84, 0xdb, - 0xcb, 0xfb, 0x7f, 0xb0, 0xbe, 0xc8, 0x12, 0x59, 0xde, 0xfb, 0x07, 0x72, 0xda, 0xf6, 0x1d, 0x80, - 0xe5, 0xf5, 0x5b, 0xba, 0xa2, 0xe4, 0xda, 0x24, 0xf9, 0xd1, 0x7f, 0x24, 0x25, 0x7a, 0xe4, 0x6b, - 0xaf, 0xa3, 0x8b, 0xd6, 0xae, 0x9e, 0x8f, 0x15, 0x70, 0x31, 0x56, 0xc0, 0xcf, 0xb1, 0x02, 0xde, - 0x4f, 0x94, 0xcc, 0xc5, 0x44, 0xc9, 0x7c, 0x9f, 0x28, 0x99, 0x17, 0x05, 0x71, 0xbd, 0xe2, 0x53, - 0xd9, 0xdd, 0x8c, 0xbf, 0x0e, 0x7b, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xcd, 0xee, 0x30, 0xe9, - 0xf5, 0x04, 0x00, 0x00, + proto.RegisterType((*MsgUpdateParams)(nil), "composable.mint.v1beta1.MsgUpdateParams") + proto.RegisterType((*MsgUpdateParamsResponse)(nil), "composable.mint.v1beta1.MsgUpdateParamsResponse") + proto.RegisterType((*MsgFundModuleAccount)(nil), "composable.mint.v1beta1.MsgFundModuleAccount") + proto.RegisterType((*MsgFundModuleAccountResponse)(nil), "composable.mint.v1beta1.MsgFundModuleAccountResponse") + proto.RegisterType((*MsgAddAccountToFundModuleSet)(nil), "composable.mint.v1beta1.MsgAddAccountToFundModuleSet") + proto.RegisterType((*MsgAddAccountToFundModuleSetResponse)(nil), "composable.mint.v1beta1.MsgAddAccountToFundModuleSetResponse") +} + +func init() { proto.RegisterFile("composable/mint/v1beta1/tx.proto", fileDescriptor_0ffc1eea72e250ff) } + +var fileDescriptor_0ffc1eea72e250ff = []byte{ + // 586 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x41, 0x8f, 0xd2, 0x40, + 0x14, 0x66, 0x96, 0x48, 0xc2, 0x80, 0xae, 0xdb, 0x10, 0x81, 0xc6, 0xb4, 0xd8, 0x98, 0x0d, 0x21, + 0xa1, 0x15, 0x8c, 0x1e, 0x36, 0xf1, 0x00, 0x9b, 0x78, 0x23, 0x31, 0x5d, 0xbd, 0x78, 0xd9, 0x0c, + 0xed, 0xd8, 0xad, 0xd2, 0x4e, 0xd3, 0x99, 0xae, 0xcb, 0xcd, 0x78, 0x31, 0xf1, 0xa4, 0x27, 0xff, + 0x82, 0xf1, 0x22, 0x07, 0xff, 0x80, 0xb7, 0x3d, 0x6e, 0x3c, 0x79, 0x42, 0x03, 0x07, 0xee, 0xfc, + 0x02, 0xd3, 0xce, 0x00, 0x2e, 0x58, 0xa2, 0x5e, 0x98, 0xe1, 0xbd, 0xef, 0xbd, 0xf7, 0x7d, 0xef, + 0xbd, 0x29, 0xac, 0x59, 0xc4, 0x0b, 0x08, 0x45, 0xfd, 0x01, 0x36, 0x3c, 0xd7, 0x67, 0xc6, 0x69, + 0xab, 0x8f, 0x19, 0x6a, 0x19, 0xec, 0x4c, 0x0f, 0x42, 0xc2, 0x88, 0x54, 0x5e, 0x21, 0xf4, 0x18, + 0xa1, 0x0b, 0x84, 0x5c, 0xb6, 0x08, 0xf5, 0x08, 0x35, 0x3c, 0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 0xee, 0x40, 0x73, 0x5b, 0x9a, 0x0d, 0xb8, 0x7c, 0xef, + 0x9f, 0xe0, 0xcb, 0xd2, 0xef, 0x01, 0xac, 0xa6, 0x4f, 0x6b, 0x6b, 0xd2, 0xd4, 0x30, 0xf9, 0xc1, + 0x7f, 0x85, 0x2d, 0x38, 0xc9, 0x57, 0x5e, 0xc5, 0x8f, 0xae, 0xbb, 0x7f, 0x3e, 0x51, 0xc0, 0xc5, + 0x44, 0x01, 0x3f, 0x27, 0x0a, 0x78, 0x37, 0x55, 0x32, 0x17, 0x53, 0x25, 0xf3, 0x7d, 0xaa, 0x64, + 0x9e, 0x16, 0xc5, 0x53, 0x4b, 0x36, 0xb4, 0x9f, 0x4b, 0xbe, 0x15, 0x77, 0x7f, 0x05, 0x00, 0x00, + 0xff, 0xff, 0x79, 0xbf, 0xed, 0xe6, 0x09, 0x05, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -391,7 +391,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) { out := new(MsgUpdateParamsResponse) - err := c.cc.Invoke(ctx, "/centauri.mint.v1beta1.Msg/UpdateParams", in, out, opts...) + err := c.cc.Invoke(ctx, "/composable.mint.v1beta1.Msg/UpdateParams", in, out, opts...) if err != nil { return nil, err } @@ -400,7 +400,7 @@ func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts func (c *msgClient) FundModuleAccount(ctx context.Context, in *MsgFundModuleAccount, opts ...grpc.CallOption) (*MsgFundModuleAccountResponse, error) { out := new(MsgFundModuleAccountResponse) - err := c.cc.Invoke(ctx, "/centauri.mint.v1beta1.Msg/FundModuleAccount", in, out, opts...) + err := c.cc.Invoke(ctx, "/composable.mint.v1beta1.Msg/FundModuleAccount", in, out, opts...) if err != nil { return nil, err } @@ -409,7 +409,7 @@ func (c *msgClient) FundModuleAccount(ctx context.Context, in *MsgFundModuleAcco func (c *msgClient) AddAccountToFundModuleSet(ctx context.Context, in *MsgAddAccountToFundModuleSet, opts ...grpc.CallOption) (*MsgAddAccountToFundModuleSetResponse, error) { out := new(MsgAddAccountToFundModuleSetResponse) - err := c.cc.Invoke(ctx, "/centauri.mint.v1beta1.Msg/AddAccountToFundModuleSet", in, out, opts...) + err := c.cc.Invoke(ctx, "/composable.mint.v1beta1.Msg/AddAccountToFundModuleSet", in, out, opts...) if err != nil { return nil, err } @@ -451,7 +451,7 @@ func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(in } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/centauri.mint.v1beta1.Msg/UpdateParams", + FullMethod: "/composable.mint.v1beta1.Msg/UpdateParams", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams)) @@ -469,7 +469,7 @@ func _Msg_FundModuleAccount_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/centauri.mint.v1beta1.Msg/FundModuleAccount", + FullMethod: "/composable.mint.v1beta1.Msg/FundModuleAccount", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).FundModuleAccount(ctx, req.(*MsgFundModuleAccount)) @@ -487,7 +487,7 @@ func _Msg_AddAccountToFundModuleSet_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/centauri.mint.v1beta1.Msg/AddAccountToFundModuleSet", + FullMethod: "/composable.mint.v1beta1.Msg/AddAccountToFundModuleSet", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).AddAccountToFundModuleSet(ctx, req.(*MsgAddAccountToFundModuleSet)) @@ -496,7 +496,7 @@ func _Msg_AddAccountToFundModuleSet_Handler(srv interface{}, ctx context.Context } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "centauri.mint.v1beta1.Msg", + ServiceName: "composable.mint.v1beta1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -513,7 +513,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "centauri/mint/v1beta1/tx.proto", + Metadata: "composable/mint/v1beta1/tx.proto", } func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) { diff --git a/x/ratelimit/types/epoch.pb.go b/x/ratelimit/types/epoch.pb.go index 78b7d7016..39675f23b 100644 --- a/x/ratelimit/types/epoch.pb.go +++ b/x/ratelimit/types/epoch.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: centauri/ratelimit/v1beta1/epoch.proto +// source: composable/ratelimit/v1beta1/epoch.proto package types @@ -75,7 +75,7 @@ func (m *EpochInfo) Reset() { *m = EpochInfo{} } func (m *EpochInfo) String() string { return proto.CompactTextString(m) } func (*EpochInfo) ProtoMessage() {} func (*EpochInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2d9490a2e433bc10, []int{0} + return fileDescriptor_2f8a94b10659295d, []int{0} } func (m *EpochInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -154,42 +154,42 @@ func (m *EpochInfo) GetCurrentEpochStartHeight() int64 { } func init() { - proto.RegisterType((*EpochInfo)(nil), "centauri.ratelimit.v1beta1.EpochInfo") + proto.RegisterType((*EpochInfo)(nil), "composable.ratelimit.v1beta1.EpochInfo") } func init() { - proto.RegisterFile("centauri/ratelimit/v1beta1/epoch.proto", fileDescriptor_2d9490a2e433bc10) + proto.RegisterFile("composable/ratelimit/v1beta1/epoch.proto", fileDescriptor_2f8a94b10659295d) } -var fileDescriptor_2d9490a2e433bc10 = []byte{ - // 425 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x41, 0x8f, 0x93, 0x40, -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ce, 0x37, 0x14, - 0xfd, 0xd8, 0x50, 0xb4, 0xde, 0x52, 0xe3, 0x7c, 0x4b, 0x8d, 0x6f, 0x5b, 0x6a, 0x7c, 0x3c, 0xfa, - 0xdc, 0x7b, 0xc0, 0xb0, 0x2a, 0xd9, 0x72, 0x7a, 0xa8, 0xb6, 0x7f, 0xfa, 0x2b, 0x00, 0x00, 0xff, - 0xff, 0xe8, 0xa1, 0x47, 0xfe, 0xe3, 0x02, 0x00, 0x00, +var fileDescriptor_2f8a94b10659295d = []byte{ + // 427 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x31, 0x8f, 0x94, 0x40, + 0x14, 0xc7, 0x77, 0xbc, 0xf5, 0x64, 0x47, 0x8d, 0xde, 0xe4, 0x54, 0x24, 0x3a, 0x10, 0x6c, 0x48, + 0xce, 0x40, 0x56, 0xad, 0xb4, 0x5b, 0x35, 0x51, 0x4b, 0xce, 0xc2, 0xd8, 0x6c, 0x80, 0x9d, 0x85, + 0x49, 0x80, 0x21, 0xf0, 0x30, 0x6e, 0xe7, 0x47, 0xd8, 0xd2, 0x8f, 0x74, 0xe5, 0x95, 0x56, 0x68, + 0x76, 0x3b, 0xcb, 0xfb, 0x04, 0x86, 0x19, 0xd8, 0x43, 0x57, 0x63, 0x07, 0xef, 0xff, 0x7b, 0xff, + 0xff, 0x7b, 0x2f, 0x83, 0x9d, 0x48, 0x64, 0x85, 0xa8, 0x82, 0x30, 0x65, 0x5e, 0x19, 0x00, 0x4b, + 0x79, 0xc6, 0xc1, 0xfb, 0x34, 0x0d, 0x19, 0x04, 0x53, 0x8f, 0x15, 0x22, 0x4a, 0xdc, 0xa2, 0x14, + 0x20, 0xc8, 0x83, 0x4b, 0xd2, 0xdd, 0x91, 0x6e, 0x47, 0x1a, 0xc7, 0xb1, 0x88, 0x85, 0x04, 0xbd, + 0xf6, 0x4b, 0xf5, 0x18, 0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, 0xe5, 0x5f, 0x4e, 0xea, + 0x0a, 0x77, 0x86, 0xc9, 0xa7, 0xbb, 0x8b, 0x3c, 0xc3, 0x77, 0x15, 0x1f, 0x89, 0x3a, 0x07, 0x9e, + 0xc7, 0xaa, 0x91, 0x2d, 0xf4, 0x43, 0x0b, 0x39, 0x9a, 0x7f, 0x2c, 0xd5, 0x97, 0x9d, 0x78, 0xaa, + 0x34, 0xf2, 0x02, 0x1b, 0x7f, 0x4b, 0x4b, 0x18, 0x8f, 0x13, 0xd0, 0x35, 0xb9, 0xea, 0xbd, 0xbd, + 0xc0, 0x37, 0x52, 0x7e, 0x37, 0xd6, 0xae, 0xdd, 0xd6, 0x66, 0x27, 0x67, 0x1b, 0x8a, 0xce, 0x37, + 0x14, 0xfd, 0xd8, 0x50, 0xb4, 0xde, 0xd2, 0xd1, 0xf9, 0x96, 0x8e, 0xbe, 0x6d, 0xe9, 0xe8, 0xe3, + 0xd1, 0xe7, 0xc1, 0x13, 0x86, 0x55, 0xc1, 0xaa, 0xf0, 0x50, 0x6e, 0xff, 0xf4, 0x57, 0x00, 0x00, + 0x00, 0xff, 0xff, 0xbf, 0x1b, 0xa4, 0x70, 0xe7, 0x02, 0x00, 0x00, } func (m *EpochInfo) Marshal() (dAtA []byte, err error) { diff --git a/x/ratelimit/types/genesis.pb.go b/x/ratelimit/types/genesis.pb.go index 23b08cf9a..d288c9f59 100644 --- a/x/ratelimit/types/genesis.pb.go +++ b/x/ratelimit/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: centauri/ratelimit/v1beta1/genesis.proto +// source: composable/ratelimit/v1beta1/genesis.proto package types @@ -36,7 +36,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} } func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_9b6ba3f85e177adf, []int{0} + return fileDescriptor_206604392405a216, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -101,41 +101,41 @@ func (m *GenesisState) GetEpochs() []EpochInfo { } func init() { - proto.RegisterType((*GenesisState)(nil), "centauri.ratelimit.v1beta1.GenesisState") + proto.RegisterType((*GenesisState)(nil), "composable.ratelimit.v1beta1.GenesisState") } func init() { - proto.RegisterFile("centauri/ratelimit/v1beta1/genesis.proto", fileDescriptor_9b6ba3f85e177adf) + proto.RegisterFile("composable/ratelimit/v1beta1/genesis.proto", fileDescriptor_206604392405a216) } -var fileDescriptor_9b6ba3f85e177adf = []byte{ - // 401 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x3f, 0xeb, 0xd3, 0x40, - 0x18, 0xc7, 0x13, 0x53, 0x0b, 0x5e, 0x75, 0x30, 0x28, 0xc6, 0x0c, 0x69, 0x08, 0xfe, 0x09, 0x0a, - 0x09, 0xad, 0x9b, 0x9b, 0x11, 0x11, 0x41, 0x4a, 0x4d, 0x07, 0xc1, 0x25, 0x5c, 0x92, 0xc7, 0xf4, - 0xb0, 0xb9, 0xc4, 0xbb, 0xab, 0xb5, 0xef, 0xc2, 0xd1, 0x97, 0xd4, 0xb1, 0xa3, 0x53, 0x91, 0xf6, - 0x1d, 0x08, 0xee, 0x92, 0xdc, 0xd5, 0x76, 0xf8, 0x35, 0xbf, 0xed, 0x38, 0x3e, 0xdf, 0xcf, 0x97, - 0xe7, 0xee, 0x41, 0x7e, 0x06, 0x54, 0xe0, 0x25, 0x23, 0x21, 0xc3, 0x02, 0x16, 0xa4, 0x24, 0x22, - 0xfc, 0x36, 0x4a, 0x41, 0xe0, 0x51, 0x58, 0x00, 0x05, 0x4e, 0x78, 0x50, 0xb3, 0x4a, 0x54, 0xa6, - 0x7d, 0x24, 0x83, 0xff, 0x64, 0xa0, 0x48, 0xfb, 0x5e, 0x51, 0x15, 0x55, 0x8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0xb2, 0x4c, 0x81, 0x71, 0xab, 0xe7, 0x1a, 0xfe, 0xad, 0xd8, 0x55, 0xec, 0x0c, 0x68, - 0x3e, 0x6d, 0xc9, 0x99, 0x02, 0x27, 0x92, 0x33, 0x5f, 0xa3, 0x7e, 0xfb, 0x83, 0xdc, 0xba, 0x79, - 0xfd, 0x4b, 0xbe, 0x69, 0xc8, 0x77, 0xf4, 0x73, 0x15, 0xf5, 0x9a, 0x49, 0x62, 0x15, 0x8d, 0x9e, - 0x6f, 0xf6, 0x8e, 0xbe, 0xdd, 0x3b, 0xfa, 0xef, 0xbd, 0xa3, 0xff, 0x38, 0x38, 0xda, 0xf6, 0xe0, - 0x68, 0xbf, 0x0e, 0x8e, 0xf6, 0xe9, 0xee, 0xf7, 0xb3, 0x95, 0x11, 0xeb, 0x1a, 0x78, 0xda, 0x6f, - 0x77, 0xe5, 0xc5, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf4, 0xbb, 0xa3, 0x8c, 0x06, 0x03, 0x00, - 0x00, +var fileDescriptor_206604392405a216 = []byte{ + // 405 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xcf, 0xaa, 0xd3, 0x40, + 0x14, 0xc6, 0x13, 0x73, 0x2d, 0x38, 0xd5, 0x85, 0x41, 0x31, 0x06, 0xc9, 0x0d, 0xe1, 0x82, 0xf1, + 0x0f, 0x09, 0xf7, 0xea, 0xca, 0x9d, 0x81, 0x22, 0x82, 0x94, 0x92, 0x2c, 0x04, 0x37, 0x61, 0x92, + 0x1c, 0xd3, 0x60, 0x33, 0x33, 0xce, 0x4c, 0xad, 0x7d, 0x0b, 0xd7, 0x3e, 0x51, 0x97, 0x5d, 0xba, + 0x2a, 0xd2, 0xbe, 0x81, 0x7b, 0x41, 0x92, 0x19, 0x6d, 0x17, 0x1a, 0xdc, 0x85, 0xf0, 0xfb, 0x7e, + 0xdf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, 0x1e, 0xe3, 0x2f, 0x55, 0x7a, 0x86, 0x1b, 0x9e, + 0x84, 0x7a, 0x02, 0x5f, 0x4d, 0xf0, 0xcf, 0x92, 0x20, 0xbd, 0xb7, 0xfa, 0xab, 0x41, 0xd8, 0x53, + 0x74, 0xc1, 0x80, 0x54, 0x0d, 0xa9, 0x73, 0x01, 0xa4, 0xca, 0x19, 0x2e, 0x3f, 0x80, 0xcc, 0x05, + 0x7c, 0x5c, 0x02, 0x29, 0x21, 0x27, 0xcb, 0xb6, 0x00, 0x2e, 0x9c, 0x33, 0xdf, 0x0a, 0x6f, 0xa4, + 0xbe, 0x66, 0x33, 0x20, 0xd5, 0xac, 0x27, 0x33, 0x0d, 0x4e, 0x15, 0x67, 0x4f, 0xd0, 0xa8, 0xff, + 0x8f, 0xc2, 0xb9, 0xfe, 0x3f, 0x5f, 0x73, 0xd2, 0xb1, 0xaf, 0xc9, 0x7b, 0x9a, 0x9c, 0x75, 0xbb, + 0xa4, 0x3a, 0x9c, 0x3c, 0xd9, 0xec, 0x3d, 0x73, 0xbb, 0xf7, 0xcc, 0xef, 0x7b, 0xcf, 0xfc, 0x72, + 0xf0, 0x8c, 0xed, 0xc1, 0x33, 0xbe, 0x1d, 0x3c, 0xe3, 0xdd, 0xed, 0xcf, 0x27, 0xa7, 0x23, 0xd7, + 0x0c, 0x44, 0x31, 0xea, 0x6f, 0xe6, 0xd9, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd1, 0x7f, 0x1e, + 0xe5, 0x18, 0x03, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/ratelimit/types/params.pb.go b/x/ratelimit/types/params.pb.go index bc9bf28dc..27b53cda5 100644 --- a/x/ratelimit/types/params.pb.go +++ b/x/ratelimit/types/params.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: centauri/ratelimit/v1beta1/params.proto +// source: composable/ratelimit/v1beta1/params.proto package types @@ -32,7 +32,7 @@ func (m *Params) Reset() { *m = Params{} } func (m *Params) String() string { return proto.CompactTextString(m) } func (*Params) ProtoMessage() {} func (*Params) Descriptor() ([]byte, []int) { - return fileDescriptor_1b21f4042f9a3cfb, []int{0} + return fileDescriptor_8e1f65684a3119e6, []int{0} } func (m *Params) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -62,25 +62,25 @@ func (m *Params) XXX_DiscardUnknown() { var xxx_messageInfo_Params proto.InternalMessageInfo func init() { - proto.RegisterType((*Params)(nil), "centauri.ratelimit.v1beta1.Params") + proto.RegisterType((*Params)(nil), "composable.ratelimit.v1beta1.Params") } func init() { - proto.RegisterFile("centauri/ratelimit/v1beta1/params.proto", fileDescriptor_1b21f4042f9a3cfb) + proto.RegisterFile("composable/ratelimit/v1beta1/params.proto", fileDescriptor_8e1f65684a3119e6) } -var fileDescriptor_1b21f4042f9a3cfb = []byte{ - // 152 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4f, 0x4e, 0xcd, 0x2b, - 0x49, 0x2c, 0x2d, 0xca, 0xd4, 0x2f, 0x4a, 0x2c, 0x49, 0xcd, 0xc9, 0xcc, 0xcd, 0x2c, 0xd1, 0x2f, - 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x2f, 0x48, 0x2c, 0x4a, 0xcc, 0x2d, 0xd6, 0x2b, 0x28, - 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x82, 0x29, 0xd4, 0x83, 0x2b, 0xd4, 0x83, 0x2a, 0x94, 0x12, 0x49, - 0xcf, 0x4f, 0xcf, 0x07, 0x2b, 0xd3, 0x07, 0xb1, 0x20, 0x3a, 0xa4, 0x24, 0x93, 0xf3, 0x8b, 0x73, - 0xf3, 0x8b, 0xe3, 0x21, 0x12, 0x10, 0x0e, 0x44, 0x4a, 0x89, 0x83, 0x8b, 0x2d, 0x00, 0x6c, 0xb8, - 0x93, 0xf6, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, - 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x09, 0x56, 0x20, 0x39, - 0xa9, 0xa4, 0xb2, 0x20, 0xb5, 0x38, 0x89, 0x0d, 0xac, 0xdb, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, - 0x91, 0xb5, 0x1b, 0x71, 0xb5, 0x00, 0x00, 0x00, +var fileDescriptor_8e1f65684a3119e6 = []byte{ + // 154 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4c, 0xce, 0xcf, 0x2d, + 0xc8, 0x2f, 0x4e, 0x4c, 0xca, 0x49, 0xd5, 0x2f, 0x4a, 0x2c, 0x49, 0xcd, 0xc9, 0xcc, 0xcd, 0x2c, + 0xd1, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x2f, 0x48, 0x2c, 0x4a, 0xcc, 0x2d, 0xd6, + 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x41, 0x28, 0xd5, 0x83, 0x2b, 0xd5, 0x83, 0x2a, 0x95, + 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0x2b, 0xd4, 0x07, 0xb1, 0x20, 0x7a, 0xa4, 0x24, 0x93, 0xf3, + 0x8b, 0x73, 0xf3, 0x8b, 0xe3, 0x21, 0x12, 0x10, 0x0e, 0x44, 0x4a, 0x89, 0x83, 0x8b, 0x2d, 0x00, + 0x6c, 0xbc, 0x93, 0xf6, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, + 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x09, 0x56, + 0x20, 0x39, 0xaa, 0xa4, 0xb2, 0x20, 0xb5, 0x38, 0x89, 0x0d, 0xac, 0xdb, 0x18, 0x10, 0x00, 0x00, + 0xff, 0xff, 0xaf, 0x9b, 0x6c, 0xa9, 0xb9, 0x00, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { diff --git a/x/ratelimit/types/query.pb.go b/x/ratelimit/types/query.pb.go index e78b01bde..b10f63af5 100644 --- a/x/ratelimit/types/query.pb.go +++ b/x/ratelimit/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: centauri/ratelimit/v1beta1/query.proto +// source: composable/ratelimit/v1beta1/query.proto package types @@ -36,7 +36,7 @@ func (m *QueryAllRateLimitsRequest) Reset() { *m = QueryAllRateLimitsReq func (m *QueryAllRateLimitsRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllRateLimitsRequest) ProtoMessage() {} func (*QueryAllRateLimitsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b0fc123b957ea496, []int{0} + return fileDescriptor_dcd0dc17fb77b132, []int{0} } func (m *QueryAllRateLimitsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -73,7 +73,7 @@ func (m *QueryAllRateLimitsResponse) Reset() { *m = QueryAllRateLimitsRe func (m *QueryAllRateLimitsResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllRateLimitsResponse) ProtoMessage() {} func (*QueryAllRateLimitsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b0fc123b957ea496, []int{1} + return fileDescriptor_dcd0dc17fb77b132, []int{1} } func (m *QueryAllRateLimitsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -111,14 +111,14 @@ func (m *QueryAllRateLimitsResponse) GetRateLimits() []RateLimit { type QueryRateLimitRequest struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` - ChannelID string `protobuf:"bytes,2,opt,name=channel_id,json=channelID,proto3" json:"channel_id,omitempty"` + ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` } func (m *QueryRateLimitRequest) Reset() { *m = QueryRateLimitRequest{} } func (m *QueryRateLimitRequest) String() string { return proto.CompactTextString(m) } func (*QueryRateLimitRequest) ProtoMessage() {} func (*QueryRateLimitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b0fc123b957ea496, []int{2} + return fileDescriptor_dcd0dc17fb77b132, []int{2} } func (m *QueryRateLimitRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -154,9 +154,9 @@ func (m *QueryRateLimitRequest) GetDenom() string { return "" } -func (m *QueryRateLimitRequest) GetChannelID() string { +func (m *QueryRateLimitRequest) GetChannelId() string { if m != nil { - return m.ChannelID + return m.ChannelId } return "" } @@ -169,7 +169,7 @@ func (m *QueryRateLimitResponse) Reset() { *m = QueryRateLimitResponse{} func (m *QueryRateLimitResponse) String() string { return proto.CompactTextString(m) } func (*QueryRateLimitResponse) ProtoMessage() {} func (*QueryRateLimitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b0fc123b957ea496, []int{3} + return fileDescriptor_dcd0dc17fb77b132, []int{3} } func (m *QueryRateLimitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -213,7 +213,7 @@ func (m *QueryRateLimitsByChainIDRequest) Reset() { *m = QueryRateLimits func (m *QueryRateLimitsByChainIDRequest) String() string { return proto.CompactTextString(m) } func (*QueryRateLimitsByChainIDRequest) ProtoMessage() {} func (*QueryRateLimitsByChainIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b0fc123b957ea496, []int{4} + return fileDescriptor_dcd0dc17fb77b132, []int{4} } func (m *QueryRateLimitsByChainIDRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -257,7 +257,7 @@ func (m *QueryRateLimitsByChainIDResponse) Reset() { *m = QueryRateLimit func (m *QueryRateLimitsByChainIDResponse) String() string { return proto.CompactTextString(m) } func (*QueryRateLimitsByChainIDResponse) ProtoMessage() {} func (*QueryRateLimitsByChainIDResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b0fc123b957ea496, []int{5} + return fileDescriptor_dcd0dc17fb77b132, []int{5} } func (m *QueryRateLimitsByChainIDResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -294,14 +294,14 @@ func (m *QueryRateLimitsByChainIDResponse) GetRateLimits() []RateLimit { } type QueryRateLimitsByChannelIDRequest struct { - ChannelID string `protobuf:"bytes,1,opt,name=channel_id,json=channelID,proto3" json:"channel_id,omitempty"` + ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` } func (m *QueryRateLimitsByChannelIDRequest) Reset() { *m = QueryRateLimitsByChannelIDRequest{} } func (m *QueryRateLimitsByChannelIDRequest) String() string { return proto.CompactTextString(m) } func (*QueryRateLimitsByChannelIDRequest) ProtoMessage() {} func (*QueryRateLimitsByChannelIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b0fc123b957ea496, []int{6} + return fileDescriptor_dcd0dc17fb77b132, []int{6} } func (m *QueryRateLimitsByChannelIDRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -330,9 +330,9 @@ func (m *QueryRateLimitsByChannelIDRequest) XXX_DiscardUnknown() { var xxx_messageInfo_QueryRateLimitsByChannelIDRequest proto.InternalMessageInfo -func (m *QueryRateLimitsByChannelIDRequest) GetChannelID() string { +func (m *QueryRateLimitsByChannelIDRequest) GetChannelId() string { if m != nil { - return m.ChannelID + return m.ChannelId } return "" } @@ -345,7 +345,7 @@ func (m *QueryRateLimitsByChannelIDResponse) Reset() { *m = QueryRateLim func (m *QueryRateLimitsByChannelIDResponse) String() string { return proto.CompactTextString(m) } func (*QueryRateLimitsByChannelIDResponse) ProtoMessage() {} func (*QueryRateLimitsByChannelIDResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b0fc123b957ea496, []int{7} + return fileDescriptor_dcd0dc17fb77b132, []int{7} } func (m *QueryRateLimitsByChannelIDResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -388,7 +388,7 @@ func (m *QueryAllWhitelistedAddressesRequest) Reset() { *m = QueryAllWhi func (m *QueryAllWhitelistedAddressesRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllWhitelistedAddressesRequest) ProtoMessage() {} func (*QueryAllWhitelistedAddressesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b0fc123b957ea496, []int{8} + return fileDescriptor_dcd0dc17fb77b132, []int{8} } func (m *QueryAllWhitelistedAddressesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -425,7 +425,7 @@ func (m *QueryAllWhitelistedAddressesResponse) Reset() { *m = QueryAllWh func (m *QueryAllWhitelistedAddressesResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllWhitelistedAddressesResponse) ProtoMessage() {} func (*QueryAllWhitelistedAddressesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b0fc123b957ea496, []int{9} + return fileDescriptor_dcd0dc17fb77b132, []int{9} } func (m *QueryAllWhitelistedAddressesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -462,63 +462,63 @@ func (m *QueryAllWhitelistedAddressesResponse) GetAddressPairs() []WhitelistedAd } func init() { - proto.RegisterType((*QueryAllRateLimitsRequest)(nil), "centauri.ratelimit.v1beta1.QueryAllRateLimitsRequest") - proto.RegisterType((*QueryAllRateLimitsResponse)(nil), "centauri.ratelimit.v1beta1.QueryAllRateLimitsResponse") - proto.RegisterType((*QueryRateLimitRequest)(nil), "centauri.ratelimit.v1beta1.QueryRateLimitRequest") - proto.RegisterType((*QueryRateLimitResponse)(nil), "centauri.ratelimit.v1beta1.QueryRateLimitResponse") - proto.RegisterType((*QueryRateLimitsByChainIDRequest)(nil), "centauri.ratelimit.v1beta1.QueryRateLimitsByChainIDRequest") - proto.RegisterType((*QueryRateLimitsByChainIDResponse)(nil), "centauri.ratelimit.v1beta1.QueryRateLimitsByChainIDResponse") - proto.RegisterType((*QueryRateLimitsByChannelIDRequest)(nil), "centauri.ratelimit.v1beta1.QueryRateLimitsByChannelIDRequest") - proto.RegisterType((*QueryRateLimitsByChannelIDResponse)(nil), "centauri.ratelimit.v1beta1.QueryRateLimitsByChannelIDResponse") - proto.RegisterType((*QueryAllWhitelistedAddressesRequest)(nil), "centauri.ratelimit.v1beta1.QueryAllWhitelistedAddressesRequest") - proto.RegisterType((*QueryAllWhitelistedAddressesResponse)(nil), "centauri.ratelimit.v1beta1.QueryAllWhitelistedAddressesResponse") + proto.RegisterType((*QueryAllRateLimitsRequest)(nil), "composable.ratelimit.v1beta1.QueryAllRateLimitsRequest") + proto.RegisterType((*QueryAllRateLimitsResponse)(nil), "composable.ratelimit.v1beta1.QueryAllRateLimitsResponse") + proto.RegisterType((*QueryRateLimitRequest)(nil), "composable.ratelimit.v1beta1.QueryRateLimitRequest") + proto.RegisterType((*QueryRateLimitResponse)(nil), "composable.ratelimit.v1beta1.QueryRateLimitResponse") + proto.RegisterType((*QueryRateLimitsByChainIDRequest)(nil), "composable.ratelimit.v1beta1.QueryRateLimitsByChainIDRequest") + proto.RegisterType((*QueryRateLimitsByChainIDResponse)(nil), "composable.ratelimit.v1beta1.QueryRateLimitsByChainIDResponse") + proto.RegisterType((*QueryRateLimitsByChannelIDRequest)(nil), "composable.ratelimit.v1beta1.QueryRateLimitsByChannelIDRequest") + proto.RegisterType((*QueryRateLimitsByChannelIDResponse)(nil), "composable.ratelimit.v1beta1.QueryRateLimitsByChannelIDResponse") + proto.RegisterType((*QueryAllWhitelistedAddressesRequest)(nil), "composable.ratelimit.v1beta1.QueryAllWhitelistedAddressesRequest") + proto.RegisterType((*QueryAllWhitelistedAddressesResponse)(nil), "composable.ratelimit.v1beta1.QueryAllWhitelistedAddressesResponse") } func init() { - proto.RegisterFile("centauri/ratelimit/v1beta1/query.proto", fileDescriptor_b0fc123b957ea496) -} - -var fileDescriptor_b0fc123b957ea496 = []byte{ - // 613 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x95, 0x4f, 0x6f, 0xd3, 0x30, - 0x18, 0xc6, 0xeb, 0xc1, 0x18, 0x7d, 0xc7, 0x0e, 0x98, 0x0d, 0xb6, 0x00, 0x59, 0x09, 0x6c, 0x1a, - 0x54, 0x34, 0x6a, 0xab, 0x71, 0xd9, 0xf8, 0xb3, 0xb2, 0x4b, 0xa5, 0x1e, 0xa0, 0x17, 0x24, 0x24, - 0xa8, 0xdc, 0xc6, 0x6a, 0x83, 0xba, 0x38, 0x8b, 0x5d, 0xa0, 0x42, 0xbb, 0x20, 0x71, 0x47, 0xe2, - 0x3b, 0x70, 0xe5, 0x43, 0x70, 0xa9, 0xc4, 0x81, 0x49, 0x5c, 0x38, 0x21, 0xd4, 0xf2, 0x41, 0x50, - 0x1c, 0x27, 0xa5, 0x5d, 0x1b, 0xda, 0x4a, 0xbb, 0x39, 0xf6, 0xfb, 0x3c, 0xfe, 0xbd, 0x8e, 0x9f, - 0x04, 0x36, 0x6b, 0xd4, 0x11, 0xa4, 0xe5, 0xd9, 0xa6, 0x47, 0x04, 0x6d, 0xda, 0x07, 0xb6, 0x30, - 0x5f, 0x67, 0xab, 0x54, 0x90, 0xac, 0x79, 0xd8, 0xa2, 0x5e, 0x3b, 0xe3, 0x7a, 0x4c, 0x30, 0xac, - 0x85, 0x75, 0x99, 0xa8, 0x2e, 0xa3, 0xea, 0xb4, 0x3b, 0x31, 0x1e, 0xfd, 0x6a, 0xe9, 0xa3, 0x5d, - 0xab, 0x33, 0x56, 0x6f, 0x52, 0x93, 0xb8, 0xb6, 0x49, 0x1c, 0x87, 0x09, 0x22, 0x6c, 0xe6, 0x70, - 0xb5, 0xba, 0x5c, 0x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65, 0x2f, - 0x77, 0x71, 0x7a, 0x82, 0x5e, 0xc2, 0x97, 0x83, 0xbf, 0x23, 0xb8, 0x32, 0x26, 0x7b, 0xf8, 0xe1, - 0x24, 0x37, 0x38, 0x26, 0xdd, 0xda, 0xa3, 0xd9, 0x0d, 0x26, 0x79, 0x3f, 0x6f, 0xfa, 0xca, 0x0a, - 0x09, 0xa5, 0x85, 0x74, 0xa7, 0xab, 0xa3, 0xe3, 0xae, 0x8e, 0x7e, 0x77, 0x75, 0xf4, 0xb1, 0xa7, - 0x27, 0x8e, 0x7b, 0x7a, 0xe2, 0x67, 0x4f, 0x4f, 0x3c, 0xbf, 0xf8, 0xf6, 0x1f, 0xb1, 0x68, 0xbb, - 0x94, 0x57, 0xcf, 0xc9, 0x9f, 0x69, 0xfe, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x21, 0x22, 0x2b, - 0xa5, 0xf2, 0x07, 0x00, 0x00, + proto.RegisterFile("composable/ratelimit/v1beta1/query.proto", fileDescriptor_dcd0dc17fb77b132) +} + +var fileDescriptor_dcd0dc17fb77b132 = []byte{ + // 616 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x95, 0xc1, 0x6e, 0xd3, 0x4c, + 0x10, 0xc7, 0xb3, 0xfd, 0xbe, 0x52, 0x32, 0xa5, 0x07, 0x96, 0x16, 0x52, 0x53, 0xdc, 0x60, 0x40, + 0x44, 0x2a, 0x8d, 0xd5, 0xa6, 0x55, 0x39, 0x50, 0x20, 0x01, 0x21, 0x45, 0xaa, 0x10, 0xe4, 0x82, + 0xc4, 0xc5, 0x6c, 0xe2, 0x55, 0x62, 0xc9, 0xf1, 0xba, 0xde, 0x2d, 0x10, 0xa1, 0x5e, 0xb8, 0x70, + 0x45, 0xe2, 0x35, 0xb8, 0xf2, 0x0e, 0xe5, 0x56, 0x84, 0x90, 0x38, 0x21, 0x94, 0x20, 0x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x9f, 0x10, 0x64, 0x23, 0x01, 0x5c, + 0x4a, 0x91, 0x71, 0x78, 0x5e, 0x95, 0x8d, 0xc9, 0x82, 0x42, 0xc4, 0x6d, 0x89, 0xb8, 0x85, 0x37, + 0x8f, 0x41, 0xd4, 0xdf, 0xc4, 0xd7, 0x73, 0x5f, 0xaf, 0x77, 0x8c, 0xe0, 0x39, 0xf8, 0x8c, 0xe0, + 0xc2, 0x88, 0x59, 0xc2, 0xdb, 0x93, 0xc0, 0x1c, 0x99, 0x60, 0xe5, 0xee, 0x49, 0xc3, 0xc3, 0xaa, + 0x4a, 0xb2, 0xaa, 0x55, 0xbc, 0x72, 0x5c, 0xe3, 0x65, 0x59, 0xf2, 0xa5, 0xd8, 0xc7, 0x5f, 0x10, + 0x2c, 0x8c, 0x9c, 0x2f, 0x7c, 0x6f, 0x72, 0x9c, 0x81, 0xe9, 0x56, 0xee, 0x9f, 0x5c, 0x20, 0xac, + 0x68, 0x53, 0x56, 0xa4, 0xe3, 0xd5, 0x54, 0x15, 0xf5, 0x0f, 0x0a, 0x7f, 0x43, 0x70, 0x69, 0xcc, + 0x54, 0xe2, 0x72, 0xba, 0x7b, 0x9d, 0x30, 0xf9, 0x4a, 0xe5, 0x5f, 0x24, 0xd2, 0x9d, 0xd5, 0xab, + 0x38, 0xd6, 0x20, 0xfd, 0xe0, 0xca, 0xca, 0x41, 0x57, 0x45, 0x87, 0x5d, 0x15, 0xfd, 0xec, 0xaa, + 0xe8, 0x7d, 0x4f, 0xcd, 0x1c, 0xf6, 0xd4, 0xcc, 0xf7, 0x9e, 0x9a, 0x79, 0x7e, 0xfe, 0xf5, 0x5f, + 0xc1, 0xa2, 0xe3, 0x52, 0x5e, 0x3f, 0x23, 0x7f, 0xba, 0xa5, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, + 0x17, 0xb4, 0x11, 0x82, 0x20, 0x08, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -550,7 +550,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) AllRateLimits(ctx context.Context, in *QueryAllRateLimitsRequest, opts ...grpc.CallOption) (*QueryAllRateLimitsResponse, error) { out := new(QueryAllRateLimitsResponse) - err := c.cc.Invoke(ctx, "/centauri.ratelimit.v1beta1.Query/AllRateLimits", in, out, opts...) + err := c.cc.Invoke(ctx, "/composable.ratelimit.v1beta1.Query/AllRateLimits", in, out, opts...) if err != nil { return nil, err } @@ -559,7 +559,7 @@ func (c *queryClient) AllRateLimits(ctx context.Context, in *QueryAllRateLimitsR func (c *queryClient) RateLimit(ctx context.Context, in *QueryRateLimitRequest, opts ...grpc.CallOption) (*QueryRateLimitResponse, error) { out := new(QueryRateLimitResponse) - err := c.cc.Invoke(ctx, "/centauri.ratelimit.v1beta1.Query/RateLimit", in, out, opts...) + err := c.cc.Invoke(ctx, "/composable.ratelimit.v1beta1.Query/RateLimit", in, out, opts...) if err != nil { return nil, err } @@ -568,7 +568,7 @@ func (c *queryClient) RateLimit(ctx context.Context, in *QueryRateLimitRequest, func (c *queryClient) RateLimitsByChainID(ctx context.Context, in *QueryRateLimitsByChainIDRequest, opts ...grpc.CallOption) (*QueryRateLimitsByChainIDResponse, error) { out := new(QueryRateLimitsByChainIDResponse) - err := c.cc.Invoke(ctx, "/centauri.ratelimit.v1beta1.Query/RateLimitsByChainID", in, out, opts...) + err := c.cc.Invoke(ctx, "/composable.ratelimit.v1beta1.Query/RateLimitsByChainID", in, out, opts...) if err != nil { return nil, err } @@ -577,7 +577,7 @@ func (c *queryClient) RateLimitsByChainID(ctx context.Context, in *QueryRateLimi func (c *queryClient) RateLimitsByChannelID(ctx context.Context, in *QueryRateLimitsByChannelIDRequest, opts ...grpc.CallOption) (*QueryRateLimitsByChannelIDResponse, error) { out := new(QueryRateLimitsByChannelIDResponse) - err := c.cc.Invoke(ctx, "/centauri.ratelimit.v1beta1.Query/RateLimitsByChannelID", in, out, opts...) + err := c.cc.Invoke(ctx, "/composable.ratelimit.v1beta1.Query/RateLimitsByChannelID", in, out, opts...) if err != nil { return nil, err } @@ -586,7 +586,7 @@ func (c *queryClient) RateLimitsByChannelID(ctx context.Context, in *QueryRateLi func (c *queryClient) AllWhitelistedAddresses(ctx context.Context, in *QueryAllWhitelistedAddressesRequest, opts ...grpc.CallOption) (*QueryAllWhitelistedAddressesResponse, error) { out := new(QueryAllWhitelistedAddressesResponse) - err := c.cc.Invoke(ctx, "/centauri.ratelimit.v1beta1.Query/AllWhitelistedAddresses", in, out, opts...) + err := c.cc.Invoke(ctx, "/composable.ratelimit.v1beta1.Query/AllWhitelistedAddresses", in, out, opts...) if err != nil { return nil, err } @@ -636,7 +636,7 @@ func _Query_AllRateLimits_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/centauri.ratelimit.v1beta1.Query/AllRateLimits", + FullMethod: "/composable.ratelimit.v1beta1.Query/AllRateLimits", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).AllRateLimits(ctx, req.(*QueryAllRateLimitsRequest)) @@ -654,7 +654,7 @@ func _Query_RateLimit_Handler(srv interface{}, ctx context.Context, dec func(int } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/centauri.ratelimit.v1beta1.Query/RateLimit", + FullMethod: "/composable.ratelimit.v1beta1.Query/RateLimit", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RateLimit(ctx, req.(*QueryRateLimitRequest)) @@ -672,7 +672,7 @@ func _Query_RateLimitsByChainID_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/centauri.ratelimit.v1beta1.Query/RateLimitsByChainID", + FullMethod: "/composable.ratelimit.v1beta1.Query/RateLimitsByChainID", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RateLimitsByChainID(ctx, req.(*QueryRateLimitsByChainIDRequest)) @@ -690,7 +690,7 @@ func _Query_RateLimitsByChannelID_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/centauri.ratelimit.v1beta1.Query/RateLimitsByChannelID", + FullMethod: "/composable.ratelimit.v1beta1.Query/RateLimitsByChannelID", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RateLimitsByChannelID(ctx, req.(*QueryRateLimitsByChannelIDRequest)) @@ -708,7 +708,7 @@ func _Query_AllWhitelistedAddresses_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/centauri.ratelimit.v1beta1.Query/AllWhitelistedAddresses", + FullMethod: "/composable.ratelimit.v1beta1.Query/AllWhitelistedAddresses", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).AllWhitelistedAddresses(ctx, req.(*QueryAllWhitelistedAddressesRequest)) @@ -717,7 +717,7 @@ func _Query_AllWhitelistedAddresses_Handler(srv interface{}, ctx context.Context } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "centauri.ratelimit.v1beta1.Query", + ServiceName: "composable.ratelimit.v1beta1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -742,7 +742,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "centauri/ratelimit/v1beta1/query.proto", + Metadata: "composable/ratelimit/v1beta1/query.proto", } func (m *QueryAllRateLimitsRequest) Marshal() (dAtA []byte, err error) { @@ -825,10 +825,10 @@ func (m *QueryRateLimitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if len(m.ChannelID) > 0 { - i -= len(m.ChannelID) - copy(dAtA[i:], m.ChannelID) - i = encodeVarintQuery(dAtA, i, uint64(len(m.ChannelID))) + if len(m.ChannelId) > 0 { + i -= len(m.ChannelId) + copy(dAtA[i:], m.ChannelId) + i = encodeVarintQuery(dAtA, i, uint64(len(m.ChannelId))) i-- dAtA[i] = 0x12 } @@ -964,10 +964,10 @@ func (m *QueryRateLimitsByChannelIDRequest) MarshalToSizedBuffer(dAtA []byte) (i _ = i var l int _ = l - if len(m.ChannelID) > 0 { - i -= len(m.ChannelID) - copy(dAtA[i:], m.ChannelID) - i = encodeVarintQuery(dAtA, i, uint64(len(m.ChannelID))) + if len(m.ChannelId) > 0 { + i -= len(m.ChannelId) + copy(dAtA[i:], m.ChannelId) + i = encodeVarintQuery(dAtA, i, uint64(len(m.ChannelId))) i-- dAtA[i] = 0xa } @@ -1116,7 +1116,7 @@ func (m *QueryRateLimitRequest) Size() (n int) { if l > 0 { n += 1 + l + sovQuery(uint64(l)) } - l = len(m.ChannelID) + l = len(m.ChannelId) if l > 0 { n += 1 + l + sovQuery(uint64(l)) } @@ -1170,7 +1170,7 @@ func (m *QueryRateLimitsByChannelIDRequest) Size() (n int) { } var l int _ = l - l = len(m.ChannelID) + l = len(m.ChannelId) if l > 0 { n += 1 + l + sovQuery(uint64(l)) } @@ -1419,7 +1419,7 @@ func (m *QueryRateLimitRequest) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChannelID", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChannelId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -1447,7 +1447,7 @@ func (m *QueryRateLimitRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ChannelID = string(dAtA[iNdEx:postIndex]) + m.ChannelId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -1753,7 +1753,7 @@ func (m *QueryRateLimitsByChannelIDRequest) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChannelID", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChannelId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -1781,7 +1781,7 @@ func (m *QueryRateLimitsByChannelIDRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ChannelID = string(dAtA[iNdEx:postIndex]) + m.ChannelId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex diff --git a/x/ratelimit/types/query.pb.gw.go b/x/ratelimit/types/query.pb.gw.go index bad710f6f..b8eefc164 100644 --- a/x/ratelimit/types/query.pb.gw.go +++ b/x/ratelimit/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: centauri/ratelimit/v1beta1/query.proto +// source: composable/ratelimit/v1beta1/query.proto /* Package types is a reverse proxy. @@ -71,7 +71,7 @@ func request_Query_RateLimit_0(ctx context.Context, marshaler runtime.Marshaler, return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "channel_id") } - protoReq.ChannelID, err = runtime.String(val) + protoReq.ChannelId, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "channel_id", err) @@ -105,7 +105,7 @@ func local_request_Query_RateLimit_0(ctx context.Context, marshaler runtime.Mars return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "channel_id") } - protoReq.ChannelID, err = runtime.String(val) + protoReq.ChannelId, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "channel_id", err) @@ -193,7 +193,7 @@ func request_Query_RateLimitsByChannelID_0(ctx context.Context, marshaler runtim return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "channel_id") } - protoReq.ChannelID, err = runtime.String(val) + protoReq.ChannelId, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "channel_id", err) @@ -220,7 +220,7 @@ func local_request_Query_RateLimitsByChannelID_0(ctx context.Context, marshaler return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "channel_id") } - protoReq.ChannelID, err = runtime.String(val) + protoReq.ChannelId, err = runtime.String(val) if err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "channel_id", err) @@ -515,15 +515,15 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } var ( - pattern_Query_AllRateLimits_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"centauri", "ratelimit", "ratelimits"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_AllRateLimits_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"composable", "ratelimit", "ratelimits"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_RateLimit_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3}, []string{"centauri", "ratelimit", "channel_id", "by_denom"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_RateLimit_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3}, []string{"composable", "ratelimit", "channel_id", "by_denom"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_RateLimitsByChainID_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"centauri", "ratelimit", "ratelimits", "chain_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_RateLimitsByChainID_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"composable", "ratelimit", "ratelimits", "chain_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_RateLimitsByChannelID_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"centauri", "ratelimit", "ratelimits", "channel_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_RateLimitsByChannelID_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"composable", "ratelimit", "ratelimits", "channel_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_AllWhitelistedAddresses_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"centauri", "ratelimit", "whitelisted_addresses"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_AllWhitelistedAddresses_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"composable", "ratelimit", "whitelisted_addresses"}, "", runtime.AssumeColonVerbOpt(false))) ) var ( diff --git a/x/ratelimit/types/ratelimit.pb.go b/x/ratelimit/types/ratelimit.pb.go index 605f5b4ef..7c80b3819 100644 --- a/x/ratelimit/types/ratelimit.pb.go +++ b/x/ratelimit/types/ratelimit.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: centauri/ratelimit/v1beta1/ratelimit.proto +// source: composable/ratelimit/v1beta1/ratelimit.proto package types @@ -46,19 +46,19 @@ func (x PacketDirection) String() string { } func (PacketDirection) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_825b72046a6cedeb, []int{0} + return fileDescriptor_0232bb247554c4df, []int{0} } type Path struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` - ChannelID string `protobuf:"bytes,2,opt,name=channel_id,json=channelID,proto3" json:"channel_id,omitempty"` + ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` } func (m *Path) Reset() { *m = Path{} } func (m *Path) String() string { return proto.CompactTextString(m) } func (*Path) ProtoMessage() {} func (*Path) Descriptor() ([]byte, []int) { - return fileDescriptor_825b72046a6cedeb, []int{0} + return fileDescriptor_0232bb247554c4df, []int{0} } func (m *Path) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -94,9 +94,9 @@ func (m *Path) GetDenom() string { return "" } -func (m *Path) GetChannelID() string { +func (m *Path) GetChannelId() string { if m != nil { - return m.ChannelID + return m.ChannelId } return "" } @@ -111,7 +111,7 @@ func (m *Quota) Reset() { *m = Quota{} } func (m *Quota) String() string { return proto.CompactTextString(m) } func (*Quota) ProtoMessage() {} func (*Quota) Descriptor() ([]byte, []int) { - return fileDescriptor_825b72046a6cedeb, []int{1} + return fileDescriptor_0232bb247554c4df, []int{1} } func (m *Quota) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -157,7 +157,7 @@ func (m *Flow) Reset() { *m = Flow{} } func (m *Flow) String() string { return proto.CompactTextString(m) } func (*Flow) ProtoMessage() {} func (*Flow) Descriptor() ([]byte, []int) { - return fileDescriptor_825b72046a6cedeb, []int{2} + return fileDescriptor_0232bb247554c4df, []int{2} } func (m *Flow) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -197,7 +197,7 @@ func (m *RateLimit) Reset() { *m = RateLimit{} } func (m *RateLimit) String() string { return proto.CompactTextString(m) } func (*RateLimit) ProtoMessage() {} func (*RateLimit) Descriptor() ([]byte, []int) { - return fileDescriptor_825b72046a6cedeb, []int{3} + return fileDescriptor_0232bb247554c4df, []int{3} } func (m *RateLimit) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -256,7 +256,7 @@ func (m *WhitelistedAddressPair) Reset() { *m = WhitelistedAddressPair{} func (m *WhitelistedAddressPair) String() string { return proto.CompactTextString(m) } func (*WhitelistedAddressPair) ProtoMessage() {} func (*WhitelistedAddressPair) Descriptor() ([]byte, []int) { - return fileDescriptor_825b72046a6cedeb, []int{4} + return fileDescriptor_0232bb247554c4df, []int{4} } func (m *WhitelistedAddressPair) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -300,54 +300,55 @@ func (m *WhitelistedAddressPair) GetReceiver() string { } func init() { - proto.RegisterEnum("centauri.ratelimit.v1beta1.PacketDirection", PacketDirection_name, PacketDirection_value) - proto.RegisterType((*Path)(nil), "centauri.ratelimit.v1beta1.Path") - proto.RegisterType((*Quota)(nil), "centauri.ratelimit.v1beta1.Quota") - proto.RegisterType((*Flow)(nil), "centauri.ratelimit.v1beta1.Flow") - proto.RegisterType((*RateLimit)(nil), "centauri.ratelimit.v1beta1.RateLimit") - proto.RegisterType((*WhitelistedAddressPair)(nil), "centauri.ratelimit.v1beta1.WhitelistedAddressPair") + proto.RegisterEnum("composable.ratelimit.v1beta1.PacketDirection", PacketDirection_name, PacketDirection_value) + proto.RegisterType((*Path)(nil), "composable.ratelimit.v1beta1.Path") + proto.RegisterType((*Quota)(nil), "composable.ratelimit.v1beta1.Quota") + proto.RegisterType((*Flow)(nil), "composable.ratelimit.v1beta1.Flow") + proto.RegisterType((*RateLimit)(nil), "composable.ratelimit.v1beta1.RateLimit") + proto.RegisterType((*WhitelistedAddressPair)(nil), "composable.ratelimit.v1beta1.WhitelistedAddressPair") } func init() { - proto.RegisterFile("centauri/ratelimit/v1beta1/ratelimit.proto", fileDescriptor_825b72046a6cedeb) + proto.RegisterFile("composable/ratelimit/v1beta1/ratelimit.proto", fileDescriptor_0232bb247554c4df) } -var fileDescriptor_825b72046a6cedeb = []byte{ - // 544 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xd1, 0x6a, 0x13, 0x4d, - 0x14, 0xde, 0x6d, 0x37, 0xf9, 0xff, 0x4c, 0x6c, 0x1b, 0x87, 0x5a, 0x42, 0xc0, 0x6d, 0x0c, 0x28, - 0xa5, 0xe2, 0x86, 0x56, 0x41, 0xc4, 0xab, 0xb4, 0x4d, 0x69, 0xb1, 0x48, 0xdc, 0x48, 0x15, 0x6f, - 0x96, 0xc9, 0xce, 0x31, 0x3b, 0x34, 0x3b, 0x13, 0x67, 0x67, 0xd3, 0xf8, 0x06, 0x5e, 0x0a, 0x3e, - 0x82, 0x2f, 0xd3, 0xcb, 0x5e, 0x8a, 0x17, 0x45, 0x92, 0x6b, 0xdf, 0x41, 0x66, 0x76, 0xd3, 0x16, - 0x41, 0xc5, 0x78, 0x95, 0x9c, 0x33, 0xdf, 0xf9, 0xe6, 0x7c, 0x67, 0xbe, 0xb3, 0x68, 0x33, 0x04, - 0xae, 0x48, 0x2a, 0x59, 0x53, 0x12, 0x05, 0x03, 0x16, 0x33, 0xd5, 0x1c, 0x6d, 0xf5, 0x40, 0x91, - 0xad, 0xab, 0x8c, 0x37, 0x94, 0x42, 0x09, 0x5c, 0x9b, 0x61, 0xbd, 0xab, 0x93, 0x1c, 0x5b, 0x5b, - 0xed, 0x8b, 0xbe, 0x30, 0xb0, 0xa6, 0xfe, 0x97, 0x55, 0x34, 0x9e, 0x22, 0xa7, 0x43, 0x54, 0x84, - 0x57, 0x51, 0x81, 0x02, 0x17, 0x71, 0xd5, 0xae, 0xdb, 0x1b, 0x25, 0x3f, 0x0b, 0xf0, 0x6d, 0x84, - 0xc2, 0x88, 0x70, 0x0e, 0x83, 0x80, 0xd1, 0xea, 0x82, 0x39, 0x2a, 0xe5, 0x99, 0x43, 0xda, 0x98, - 0xd8, 0xa8, 0xf0, 0x22, 0x15, 0x8a, 0xe0, 0xd7, 0xa8, 0x12, 0x93, 0x71, 0x30, 0x04, 0xa9, 0x3b, - 0x08, 0x12, 0xe0, 0x34, 0x63, 0xda, 0xf1, 0xce, 0x2e, 0xd6, 0xad, 0xaf, 0x17, 0xeb, 0xf7, 0xfa, - 0x4c, 0x45, 0x69, 0xcf, 0x0b, 0x45, 0xdc, 0x0c, 0x45, 0x12, 0x8b, 0x24, 0xff, 0x79, 0x90, 0xd0, - 0x93, 0xa6, 0x7a, 0x3f, 0x84, 0xc4, 0x3b, 0xe4, 0xca, 0x5f, 0x8e, 0xc9, 0xb8, 0x93, 0xd1, 0x74, - 0x81, 0xd3, 0x9f, 0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0x21, 0x49, 0x3a, 0x84, 0x49, 0xbc, - 0x86, 0x8a, 0xda, 0xee, 0x20, 0xf3, 0xd5, 0xc9, 0x23, 0x5c, 0x43, 0xff, 0x4b, 0x08, 0x81, 0x8d, - 0x40, 0xe6, 0x9b, 0x73, 0x19, 0x6f, 0x3e, 0x41, 0x2b, 0x1d, 0x12, 0x9e, 0x80, 0xda, 0x63, 0x12, - 0x42, 0xed, 0x35, 0xbc, 0x82, 0xca, 0x9d, 0xd6, 0xee, 0xb3, 0xf6, 0xcb, 0xa0, 0xdb, 0x7e, 0xbe, - 0x57, 0xb1, 0xae, 0x25, 0xfc, 0xf6, 0xee, 0x71, 0xc5, 0xae, 0x39, 0x1f, 0x3e, 0xbb, 0xd6, 0xce, - 0xfd, 0xb3, 0x89, 0x6b, 0x9f, 0x4f, 0x5c, 0xfb, 0xdb, 0xc4, 0xb5, 0x3f, 0x4e, 0x5d, 0xeb, 0x7c, - 0xea, 0x5a, 0x5f, 0xa6, 0xae, 0xf5, 0xe6, 0xe6, 0xf8, 0xda, 0x17, 0xc2, 0xa8, 0xe9, 0x15, 0xcd, - 0x92, 0x3f, 0xfc, 0x11, 0x00, 0x00, 0xff, 0xff, 0x51, 0xff, 0x42, 0x9e, 0x44, 0x04, 0x00, 0x00, +var fileDescriptor_0232bb247554c4df = []byte{ + // 546 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xcf, 0x6f, 0xd3, 0x30, + 0x14, 0x4e, 0xb6, 0xac, 0x50, 0x97, 0x6d, 0xc5, 0x1a, 0x53, 0x55, 0x41, 0x36, 0x05, 0x81, 0x26, + 0x7e, 0xa4, 0xda, 0x90, 0x90, 0x26, 0x4e, 0xdd, 0xd6, 0x69, 0x13, 0x13, 0x2a, 0x29, 0x1a, 0x88, + 0x4b, 0xe4, 0x26, 0x8f, 0xc6, 0x5a, 0x62, 0x17, 0xc7, 0xe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0x33, 0xa4, 0x12, 0xc2, 0x66, 0x18, 0x0a, 0x48, 0xd3, 0x36, 0xa1, + 0x02, 0xaf, 0xa2, 0x92, 0x32, 0x3d, 0x88, 0x62, 0x80, 0x8a, 0x08, 0xd7, 0xd1, 0x4d, 0x01, 0x01, + 0xd0, 0x01, 0x88, 0x62, 0x7e, 0x2e, 0xe3, 0x47, 0xdb, 0x68, 0xb9, 0x4d, 0x82, 0x13, 0x90, 0x7b, + 0x54, 0x40, 0xa0, 0x1c, 0x87, 0x97, 0x51, 0xa5, 0xdd, 0xdc, 0x7d, 0xd9, 0x7a, 0xe3, 0x77, 0x5a, + 0xaf, 0xf6, 0xaa, 0xc6, 0x95, 0x84, 0xd7, 0xda, 0x3d, 0xae, 0x9a, 0x75, 0xeb, 0xf3, 0x37, 0xdb, + 0xd8, 0x79, 0x7c, 0x36, 0xb2, 0xcd, 0xf3, 0x91, 0x6d, 0xfe, 0x1c, 0xd9, 0xe6, 0x97, 0xb1, 0x6d, + 0x9c, 0x8f, 0x6d, 0xe3, 0xfb, 0xd8, 0x36, 0xde, 0xdf, 0x1e, 0x5e, 0x79, 0x29, 0xb4, 0x9a, 0x6e, + 0x49, 0x8f, 0xfa, 0xb3, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x5c, 0x2e, 0xf4, 0x54, 0x4e, 0x04, + 0x00, 0x00, } func (m *Path) Marshal() (dAtA []byte, err error) { @@ -370,10 +371,10 @@ func (m *Path) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if len(m.ChannelID) > 0 { - i -= len(m.ChannelID) - copy(dAtA[i:], m.ChannelID) - i = encodeVarintRatelimit(dAtA, i, uint64(len(m.ChannelID))) + if len(m.ChannelId) > 0 { + i -= len(m.ChannelId) + copy(dAtA[i:], m.ChannelId) + i = encodeVarintRatelimit(dAtA, i, uint64(len(m.ChannelId))) i-- dAtA[i] = 0x12 } @@ -615,7 +616,7 @@ func (m *Path) Size() (n int) { if l > 0 { n += 1 + l + sovRatelimit(uint64(l)) } - l = len(m.ChannelID) + l = len(m.ChannelId) if l > 0 { n += 1 + l + sovRatelimit(uint64(l)) } @@ -762,7 +763,7 @@ func (m *Path) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChannelID", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChannelId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -790,7 +791,7 @@ func (m *Path) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ChannelID = string(dAtA[iNdEx:postIndex]) + m.ChannelId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex diff --git a/x/ratelimit/types/tx.pb.go b/x/ratelimit/types/tx.pb.go index c4e7f9920..68086bf26 100644 --- a/x/ratelimit/types/tx.pb.go +++ b/x/ratelimit/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: centauri/ratelimit/v1beta1/tx.proto +// source: composable/ratelimit/v1beta1/tx.proto package types @@ -33,20 +33,26 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type MsgAddRateLimit struct { // authority is the address that controls the module (defaults to x/gov unless // overwritten). - Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty" yaml:"authority"` - Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` - ChannelID string `protobuf:"bytes,3,opt,name=channel_id,json=channelID,proto3" json:"channel_id,omitempty"` - MaxPercentSend github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=max_percent_send,json=maxPercentSend,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"max_percent_send"` - MaxPercentRecv github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=max_percent_recv,json=maxPercentRecv,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"max_percent_recv"` + Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty" yaml:"authority"` + // denom of the token that is limited + Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` + // The channel that is limited when transferr ICS 20 packet of denom + ChannelId string `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` + // Max rate limit send + MaxPercentSend github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=max_percent_send,json=maxPercentSend,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"max_percent_send"` + // Max rate limit receive + MaxPercentRecv github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=max_percent_recv,json=maxPercentRecv,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"max_percent_recv"` + // Min amount of rate limit (allow transfer max(min-amout, rate-limit)) MinRateLimitAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,6,opt,name=min_rate_limit_amount,json=minRateLimitAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"min_rate_limit_amount"` - DurationHours uint64 `protobuf:"varint,7,opt,name=duration_hours,json=durationHours,proto3" json:"duration_hours,omitempty"` + // Duration of rate limit. The rate limit will reset when reach the duration. + DurationHours uint64 `protobuf:"varint,7,opt,name=duration_hours,json=durationHours,proto3" json:"duration_hours,omitempty"` } func (m *MsgAddRateLimit) Reset() { *m = MsgAddRateLimit{} } func (m *MsgAddRateLimit) String() string { return proto.CompactTextString(m) } func (*MsgAddRateLimit) ProtoMessage() {} func (*MsgAddRateLimit) Descriptor() ([]byte, []int) { - return fileDescriptor_6b20911f56917b5f, []int{0} + return fileDescriptor_7c4a582edd75a41c, []int{0} } func (m *MsgAddRateLimit) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -89,9 +95,9 @@ func (m *MsgAddRateLimit) GetDenom() string { return "" } -func (m *MsgAddRateLimit) GetChannelID() string { +func (m *MsgAddRateLimit) GetChannelId() string { if m != nil { - return m.ChannelID + return m.ChannelId } return "" } @@ -110,7 +116,7 @@ func (m *MsgAddRateLimitResponse) Reset() { *m = MsgAddRateLimitResponse func (m *MsgAddRateLimitResponse) String() string { return proto.CompactTextString(m) } func (*MsgAddRateLimitResponse) ProtoMessage() {} func (*MsgAddRateLimitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6b20911f56917b5f, []int{1} + return fileDescriptor_7c4a582edd75a41c, []int{1} } func (m *MsgAddRateLimitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -144,7 +150,7 @@ type MsgUpdateRateLimit struct { // overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty" yaml:"authority"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` - ChannelID string `protobuf:"bytes,3,opt,name=channel_id,json=channelID,proto3" json:"channel_id,omitempty"` + ChannelId string `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` MaxPercentSend github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=max_percent_send,json=maxPercentSend,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"max_percent_send"` MaxPercentRecv github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=max_percent_recv,json=maxPercentRecv,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"max_percent_recv"` MinRateLimitAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,6,opt,name=min_rate_limit_amount,json=minRateLimitAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"min_rate_limit_amount"` @@ -155,7 +161,7 @@ func (m *MsgUpdateRateLimit) Reset() { *m = MsgUpdateRateLimit{} } func (m *MsgUpdateRateLimit) String() string { return proto.CompactTextString(m) } func (*MsgUpdateRateLimit) ProtoMessage() {} func (*MsgUpdateRateLimit) Descriptor() ([]byte, []int) { - return fileDescriptor_6b20911f56917b5f, []int{2} + return fileDescriptor_7c4a582edd75a41c, []int{2} } func (m *MsgUpdateRateLimit) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -198,9 +204,9 @@ func (m *MsgUpdateRateLimit) GetDenom() string { return "" } -func (m *MsgUpdateRateLimit) GetChannelID() string { +func (m *MsgUpdateRateLimit) GetChannelId() string { if m != nil { - return m.ChannelID + return m.ChannelId } return "" } @@ -219,7 +225,7 @@ func (m *MsgUpdateRateLimitResponse) Reset() { *m = MsgUpdateRateLimitRe func (m *MsgUpdateRateLimitResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateRateLimitResponse) ProtoMessage() {} func (*MsgUpdateRateLimitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6b20911f56917b5f, []int{3} + return fileDescriptor_7c4a582edd75a41c, []int{3} } func (m *MsgUpdateRateLimitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -253,14 +259,14 @@ type MsgRemoveRateLimit struct { // overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty" yaml:"authority"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` - ChannelID string `protobuf:"bytes,3,opt,name=channel_id,json=channelID,proto3" json:"channel_id,omitempty"` + ChannelId string `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` } func (m *MsgRemoveRateLimit) Reset() { *m = MsgRemoveRateLimit{} } func (m *MsgRemoveRateLimit) String() string { return proto.CompactTextString(m) } func (*MsgRemoveRateLimit) ProtoMessage() {} func (*MsgRemoveRateLimit) Descriptor() ([]byte, []int) { - return fileDescriptor_6b20911f56917b5f, []int{4} + return fileDescriptor_7c4a582edd75a41c, []int{4} } func (m *MsgRemoveRateLimit) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -303,9 +309,9 @@ func (m *MsgRemoveRateLimit) GetDenom() string { return "" } -func (m *MsgRemoveRateLimit) GetChannelID() string { +func (m *MsgRemoveRateLimit) GetChannelId() string { if m != nil { - return m.ChannelID + return m.ChannelId } return "" } @@ -317,7 +323,7 @@ func (m *MsgRemoveRateLimitResponse) Reset() { *m = MsgRemoveRateLimitRe func (m *MsgRemoveRateLimitResponse) String() string { return proto.CompactTextString(m) } func (*MsgRemoveRateLimitResponse) ProtoMessage() {} func (*MsgRemoveRateLimitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6b20911f56917b5f, []int{5} + return fileDescriptor_7c4a582edd75a41c, []int{5} } func (m *MsgRemoveRateLimitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -351,14 +357,14 @@ type MsgResetRateLimit struct { // overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty" yaml:"authority"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` - ChannelID string `protobuf:"bytes,3,opt,name=channel_id,json=channelID,proto3" json:"channel_id,omitempty"` + ChannelId string `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` } func (m *MsgResetRateLimit) Reset() { *m = MsgResetRateLimit{} } func (m *MsgResetRateLimit) String() string { return proto.CompactTextString(m) } func (*MsgResetRateLimit) ProtoMessage() {} func (*MsgResetRateLimit) Descriptor() ([]byte, []int) { - return fileDescriptor_6b20911f56917b5f, []int{6} + return fileDescriptor_7c4a582edd75a41c, []int{6} } func (m *MsgResetRateLimit) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -401,9 +407,9 @@ func (m *MsgResetRateLimit) GetDenom() string { return "" } -func (m *MsgResetRateLimit) GetChannelID() string { +func (m *MsgResetRateLimit) GetChannelId() string { if m != nil { - return m.ChannelID + return m.ChannelId } return "" } @@ -415,7 +421,7 @@ func (m *MsgResetRateLimitResponse) Reset() { *m = MsgResetRateLimitResp func (m *MsgResetRateLimitResponse) String() string { return proto.CompactTextString(m) } func (*MsgResetRateLimitResponse) ProtoMessage() {} func (*MsgResetRateLimitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6b20911f56917b5f, []int{7} + return fileDescriptor_7c4a582edd75a41c, []int{7} } func (m *MsgResetRateLimitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -445,58 +451,58 @@ func (m *MsgResetRateLimitResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgResetRateLimitResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*MsgAddRateLimit)(nil), "centauri.ratelimit.v1beta1.MsgAddRateLimit") - proto.RegisterType((*MsgAddRateLimitResponse)(nil), "centauri.ratelimit.v1beta1.MsgAddRateLimitResponse") - proto.RegisterType((*MsgUpdateRateLimit)(nil), "centauri.ratelimit.v1beta1.MsgUpdateRateLimit") - proto.RegisterType((*MsgUpdateRateLimitResponse)(nil), "centauri.ratelimit.v1beta1.MsgUpdateRateLimitResponse") - proto.RegisterType((*MsgRemoveRateLimit)(nil), "centauri.ratelimit.v1beta1.MsgRemoveRateLimit") - proto.RegisterType((*MsgRemoveRateLimitResponse)(nil), "centauri.ratelimit.v1beta1.MsgRemoveRateLimitResponse") - proto.RegisterType((*MsgResetRateLimit)(nil), "centauri.ratelimit.v1beta1.MsgResetRateLimit") - proto.RegisterType((*MsgResetRateLimitResponse)(nil), "centauri.ratelimit.v1beta1.MsgResetRateLimitResponse") + proto.RegisterType((*MsgAddRateLimit)(nil), "composable.ratelimit.v1beta1.MsgAddRateLimit") + proto.RegisterType((*MsgAddRateLimitResponse)(nil), "composable.ratelimit.v1beta1.MsgAddRateLimitResponse") + proto.RegisterType((*MsgUpdateRateLimit)(nil), "composable.ratelimit.v1beta1.MsgUpdateRateLimit") + proto.RegisterType((*MsgUpdateRateLimitResponse)(nil), "composable.ratelimit.v1beta1.MsgUpdateRateLimitResponse") + proto.RegisterType((*MsgRemoveRateLimit)(nil), "composable.ratelimit.v1beta1.MsgRemoveRateLimit") + proto.RegisterType((*MsgRemoveRateLimitResponse)(nil), "composable.ratelimit.v1beta1.MsgRemoveRateLimitResponse") + proto.RegisterType((*MsgResetRateLimit)(nil), "composable.ratelimit.v1beta1.MsgResetRateLimit") + proto.RegisterType((*MsgResetRateLimitResponse)(nil), "composable.ratelimit.v1beta1.MsgResetRateLimitResponse") } func init() { - proto.RegisterFile("centauri/ratelimit/v1beta1/tx.proto", fileDescriptor_6b20911f56917b5f) -} - -var fileDescriptor_6b20911f56917b5f = []byte{ - // 561 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x95, 0x4d, 0x8b, 0x13, 0x31, - 0x1c, 0xc6, 0x3b, 0xb6, 0xbb, 0xd2, 0x80, 0x75, 0x37, 0x54, 0x3b, 0x3b, 0xea, 0x74, 0xa9, 0x28, - 0x8b, 0xcb, 0xce, 0xd0, 0x5d, 0xf4, 0xb0, 0xb7, 0xee, 0xc9, 0x05, 0x0b, 0x32, 0x2a, 0x88, 0x97, - 0x21, 0x9d, 0xc4, 0xe9, 0x60, 0x93, 0x94, 0x24, 0x53, 0xda, 0x8b, 0xa0, 0x17, 0x2f, 0x0a, 0x7e, - 0x14, 0x3f, 0x46, 0xc1, 0xcb, 0x1e, 0xc5, 0x43, 0x91, 0xf6, 0xe0, 0xdd, 0x4f, 0x20, 0x93, 0xe9, - 0xcb, 0xda, 0x52, 0x4a, 0xf5, 0xa0, 0xc2, 0x9e, 0x32, 0x93, 0xff, 0x33, 0x4f, 0x9e, 0xe4, 0x97, - 0x4c, 0xc0, 0xed, 0x80, 0x30, 0x85, 0x62, 0x11, 0xb9, 0x02, 0x29, 0xd2, 0x8a, 0x68, 0xa4, 0xdc, - 0x4e, 0xb5, 0x41, 0x14, 0xaa, 0xba, 0xaa, 0xeb, 0xb4, 0x05, 0x57, 0x1c, 0x5a, 0x13, 0x91, 0x33, - 0x15, 0x39, 0x63, 0x91, 0x55, 0x0c, 0x79, 0xc8, 0xb5, 0xcc, 0x4d, 0x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a6, 0x2b, 0x5f, 0xd3, 0x4e, 0xf0, 0x0e, 0x28, 0xe0, 0x58, 0x20, 0x15, 0x71, 0xe6, - 0x37, 0x79, 0x2c, 0xa4, 0x79, 0x79, 0xd7, 0xd8, 0xcb, 0x79, 0x57, 0x26, 0xbd, 0x0f, 0x93, 0xce, - 0xe3, 0xc2, 0xdb, 0xef, 0x9f, 0xee, 0xcd, 0x10, 0x54, 0x76, 0x40, 0x69, 0x8e, 0xa4, 0x47, 0x64, - 0x9b, 0x33, 0x49, 0x2a, 0x9f, 0xb3, 0x00, 0xd6, 0x65, 0xf8, 0xac, 0x8d, 0x91, 0x22, 0x17, 0xa0, - 0xff, 0x73, 0xd0, 0x37, 0x81, 0xb5, 0x08, 0x73, 0xca, 0xfa, 0x83, 0xa1, 0x59, 0x7b, 0x84, 0xf2, - 0xce, 0x5f, 0x60, 0xbd, 0x24, 0xed, 0x5c, 0x9c, 0x69, 0xda, 0xf7, 0x06, 0xd8, 0xd6, 0x65, 0x49, - 0xd4, 0x3f, 0x10, 0xf6, 0x06, 0xd8, 0x59, 0x48, 0x33, 0xc9, 0x7a, 0xf8, 0x2e, 0x07, 0xb2, 0x75, - 0x19, 0xc2, 0x2e, 0x28, 0xd6, 0x30, 0x7e, 0x2a, 0x10, 0x93, 0x2f, 0x89, 0x98, 0xa5, 0xde, 0x77, - 0x96, 0xff, 0x97, 0x9d, 0xb9, 0xa3, 0x69, 0x1d, 0xad, 0x21, 0x9e, 0x24, 0x80, 0x6f, 0x0c, 0x50, - 0x4a, 0xb9, 0x2f, 0x8e, 0xee, 0xac, 0x30, 0x9c, 0xdb, 0x2f, 0xd6, 0x83, 0xf5, 0xf4, 0xbf, 0x64, - 0x48, 0x69, 0xae, 0x9f, 0x61, 0x6e, 0x17, 0xac, 0xcc, 0xb0, 0x64, 0xd7, 0xc0, 0xd7, 0xe0, 0xba, - 0x66, 0xb4, 0x98, 0xe0, 0x60, 0xa5, 0xe3, 0x79, 0xb4, 0xd6, 0xfd, 0xb5, 0xe4, 0x93, 0xf1, 0x4f, - 0xf6, 0xfb, 0x43, 0xdb, 0x38, 0x1b, 0xda, 0xc6, 0xb7, 0xa1, 0x6d, 0x7c, 0x1c, 0xd9, 0x99, 0xb3, - 0x91, 0x9d, 0xf9, 0x32, 0xb2, 0x33, 0x2f, 0xb6, 0xbb, 0xe7, 0x2e, 0x6e, 0x7d, 0xfa, 0x1b, 0x9b, - 0xfa, 0xa6, 0x3d, 0xfa, 0x19, 0x00, 0x00, 0xff, 0xff, 0x62, 0x2e, 0x80, 0x93, 0xdb, 0x07, 0x00, - 0x00, + proto.RegisterFile("composable/ratelimit/v1beta1/tx.proto", fileDescriptor_7c4a582edd75a41c) +} + +var fileDescriptor_7c4a582edd75a41c = []byte{ + // 567 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x95, 0x4f, 0x6b, 0x13, 0x41, + 0x18, 0xc6, 0x33, 0x26, 0xad, 0x64, 0xc0, 0xd8, 0x0e, 0xd1, 0x6c, 0xd7, 0xba, 0x29, 0x81, 0x4a, + 0x51, 0xba, 0x6b, 0x2a, 0xa2, 0xf4, 0x96, 0x9e, 0x2c, 0x18, 0x90, 0x55, 0x41, 0xbc, 0x2c, 0x93, + 0x9d, 0x71, 0xb3, 0x98, 0x99, 0x59, 0x76, 0x26, 0x21, 0x01, 0x4f, 0x05, 0x6f, 0x0a, 0x1e, 0xfd, + 0x18, 0x7e, 0x8c, 0x80, 0x97, 0x1e, 0xc5, 0x43, 0x90, 0xe4, 0xe0, 0xdd, 0x4f, 0x20, 0x3b, 0x9b, + 0x3f, 0x35, 0xa1, 0xda, 0xd4, 0x83, 0x0a, 0x9e, 0x26, 0x99, 0xf7, 0x99, 0x67, 0x7f, 0x3b, 0xcf, + 0xbb, 0x33, 0x70, 0xdb, 0x17, 0x2c, 0x12, 0x12, 0x37, 0x5a, 0xd4, 0x89, 0xb1, 0xa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 0x2d, 0xe7, 0xba, 0xc6, 0xbc, + 0xbf, 0xec, 0x8a, 0x1f, 0x38, 0xd2, 0x54, 0xcf, 0xc3, 0x31, 0xd7, 0x0f, 0x67, 0xe0, 0x38, 0xa5, + 0x83, 0xd0, 0x11, 0x80, 0x57, 0x75, 0x60, 0x8b, 0x18, 0xce, 0x19, 0x4c, 0x4f, 0x26, 0x6d, 0xde, + 0x5b, 0x72, 0xc1, 0x04, 0xe2, 0xe0, 0x56, 0x7f, 0x68, 0x81, 0xe3, 0xa1, 0x05, 0xbe, 0x0c, 0x2d, + 0xf0, 0x6e, 0x64, 0x65, 0x8e, 0x47, 0x56, 0xe6, 0xd3, 0xc8, 0xca, 0x3c, 0x5f, 0xef, 0x9e, 0xb8, + 0xcb, 0xf5, 0x71, 0xd0, 0x58, 0xd5, 0x57, 0xef, 0x9d, 0xef, 0x01, 0x00, 0x00, 0xff, 0xff, 0x91, + 0xa1, 0x1b, 0xc2, 0xf0, 0x07, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -527,7 +533,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { func (c *msgClient) AddTransferRateLimit(ctx context.Context, in *MsgAddRateLimit, opts ...grpc.CallOption) (*MsgAddRateLimitResponse, error) { out := new(MsgAddRateLimitResponse) - err := c.cc.Invoke(ctx, "/centauri.ratelimit.v1beta1.Msg/AddTransferRateLimit", in, out, opts...) + err := c.cc.Invoke(ctx, "/composable.ratelimit.v1beta1.Msg/AddTransferRateLimit", in, out, opts...) if err != nil { return nil, err } @@ -536,7 +542,7 @@ func (c *msgClient) AddTransferRateLimit(ctx context.Context, in *MsgAddRateLimi func (c *msgClient) UpdateTransferRateLimit(ctx context.Context, in *MsgUpdateRateLimit, opts ...grpc.CallOption) (*MsgUpdateRateLimitResponse, error) { out := new(MsgUpdateRateLimitResponse) - err := c.cc.Invoke(ctx, "/centauri.ratelimit.v1beta1.Msg/UpdateTransferRateLimit", in, out, opts...) + err := c.cc.Invoke(ctx, "/composable.ratelimit.v1beta1.Msg/UpdateTransferRateLimit", in, out, opts...) if err != nil { return nil, err } @@ -545,7 +551,7 @@ func (c *msgClient) UpdateTransferRateLimit(ctx context.Context, in *MsgUpdateRa func (c *msgClient) RemoveTransferRateLimit(ctx context.Context, in *MsgRemoveRateLimit, opts ...grpc.CallOption) (*MsgRemoveRateLimitResponse, error) { out := new(MsgRemoveRateLimitResponse) - err := c.cc.Invoke(ctx, "/centauri.ratelimit.v1beta1.Msg/RemoveTransferRateLimit", in, out, opts...) + err := c.cc.Invoke(ctx, "/composable.ratelimit.v1beta1.Msg/RemoveTransferRateLimit", in, out, opts...) if err != nil { return nil, err } @@ -554,7 +560,7 @@ func (c *msgClient) RemoveTransferRateLimit(ctx context.Context, in *MsgRemoveRa func (c *msgClient) ResetTransferRateLimit(ctx context.Context, in *MsgResetRateLimit, opts ...grpc.CallOption) (*MsgResetRateLimitResponse, error) { out := new(MsgResetRateLimitResponse) - err := c.cc.Invoke(ctx, "/centauri.ratelimit.v1beta1.Msg/ResetTransferRateLimit", in, out, opts...) + err := c.cc.Invoke(ctx, "/composable.ratelimit.v1beta1.Msg/ResetTransferRateLimit", in, out, opts...) if err != nil { return nil, err } @@ -600,7 +606,7 @@ func _Msg_AddTransferRateLimit_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/centauri.ratelimit.v1beta1.Msg/AddTransferRateLimit", + FullMethod: "/composable.ratelimit.v1beta1.Msg/AddTransferRateLimit", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).AddTransferRateLimit(ctx, req.(*MsgAddRateLimit)) @@ -618,7 +624,7 @@ func _Msg_UpdateTransferRateLimit_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/centauri.ratelimit.v1beta1.Msg/UpdateTransferRateLimit", + FullMethod: "/composable.ratelimit.v1beta1.Msg/UpdateTransferRateLimit", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).UpdateTransferRateLimit(ctx, req.(*MsgUpdateRateLimit)) @@ -636,7 +642,7 @@ func _Msg_RemoveTransferRateLimit_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/centauri.ratelimit.v1beta1.Msg/RemoveTransferRateLimit", + FullMethod: "/composable.ratelimit.v1beta1.Msg/RemoveTransferRateLimit", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).RemoveTransferRateLimit(ctx, req.(*MsgRemoveRateLimit)) @@ -654,7 +660,7 @@ func _Msg_ResetTransferRateLimit_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/centauri.ratelimit.v1beta1.Msg/ResetTransferRateLimit", + FullMethod: "/composable.ratelimit.v1beta1.Msg/ResetTransferRateLimit", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ResetTransferRateLimit(ctx, req.(*MsgResetRateLimit)) @@ -663,7 +669,7 @@ func _Msg_ResetTransferRateLimit_Handler(srv interface{}, ctx context.Context, d } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "centauri.ratelimit.v1beta1.Msg", + ServiceName: "composable.ratelimit.v1beta1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -684,7 +690,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "centauri/ratelimit/v1beta1/tx.proto", + Metadata: "composable/ratelimit/v1beta1/tx.proto", } func (m *MsgAddRateLimit) Marshal() (dAtA []byte, err error) { @@ -742,10 +748,10 @@ func (m *MsgAddRateLimit) MarshalToSizedBuffer(dAtA []byte) (int, error) { } i-- dAtA[i] = 0x22 - if len(m.ChannelID) > 0 { - i -= len(m.ChannelID) - copy(dAtA[i:], m.ChannelID) - i = encodeVarintTx(dAtA, i, uint64(len(m.ChannelID))) + if len(m.ChannelId) > 0 { + i -= len(m.ChannelId) + copy(dAtA[i:], m.ChannelId) + i = encodeVarintTx(dAtA, i, uint64(len(m.ChannelId))) i-- dAtA[i] = 0x1a } @@ -844,10 +850,10 @@ func (m *MsgUpdateRateLimit) MarshalToSizedBuffer(dAtA []byte) (int, error) { } i-- dAtA[i] = 0x22 - if len(m.ChannelID) > 0 { - i -= len(m.ChannelID) - copy(dAtA[i:], m.ChannelID) - i = encodeVarintTx(dAtA, i, uint64(len(m.ChannelID))) + if len(m.ChannelId) > 0 { + i -= len(m.ChannelId) + copy(dAtA[i:], m.ChannelId) + i = encodeVarintTx(dAtA, i, uint64(len(m.ChannelId))) i-- dAtA[i] = 0x1a } @@ -911,10 +917,10 @@ func (m *MsgRemoveRateLimit) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if len(m.ChannelID) > 0 { - i -= len(m.ChannelID) - copy(dAtA[i:], m.ChannelID) - i = encodeVarintTx(dAtA, i, uint64(len(m.ChannelID))) + if len(m.ChannelId) > 0 { + i -= len(m.ChannelId) + copy(dAtA[i:], m.ChannelId) + i = encodeVarintTx(dAtA, i, uint64(len(m.ChannelId))) i-- dAtA[i] = 0x1a } @@ -978,10 +984,10 @@ func (m *MsgResetRateLimit) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if len(m.ChannelID) > 0 { - i -= len(m.ChannelID) - copy(dAtA[i:], m.ChannelID) - i = encodeVarintTx(dAtA, i, uint64(len(m.ChannelID))) + if len(m.ChannelId) > 0 { + i -= len(m.ChannelId) + copy(dAtA[i:], m.ChannelId) + i = encodeVarintTx(dAtA, i, uint64(len(m.ChannelId))) i-- dAtA[i] = 0x1a } @@ -1050,7 +1056,7 @@ func (m *MsgAddRateLimit) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.ChannelID) + l = len(m.ChannelId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } @@ -1089,7 +1095,7 @@ func (m *MsgUpdateRateLimit) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.ChannelID) + l = len(m.ChannelId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } @@ -1128,7 +1134,7 @@ func (m *MsgRemoveRateLimit) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.ChannelID) + l = len(m.ChannelId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } @@ -1158,7 +1164,7 @@ func (m *MsgResetRateLimit) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.ChannelID) + l = len(m.ChannelId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } @@ -1275,7 +1281,7 @@ func (m *MsgAddRateLimit) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChannelID", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChannelId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -1303,7 +1309,7 @@ func (m *MsgAddRateLimit) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ChannelID = string(dAtA[iNdEx:postIndex]) + m.ChannelId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { @@ -1592,7 +1598,7 @@ func (m *MsgUpdateRateLimit) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChannelID", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChannelId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -1620,7 +1626,7 @@ func (m *MsgUpdateRateLimit) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ChannelID = string(dAtA[iNdEx:postIndex]) + m.ChannelId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { @@ -1909,7 +1915,7 @@ func (m *MsgRemoveRateLimit) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChannelID", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChannelId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -1937,7 +1943,7 @@ func (m *MsgRemoveRateLimit) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ChannelID = string(dAtA[iNdEx:postIndex]) + m.ChannelId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -2105,7 +2111,7 @@ func (m *MsgResetRateLimit) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChannelID", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChannelId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -2133,7 +2139,7 @@ func (m *MsgResetRateLimit) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ChannelID = string(dAtA[iNdEx:postIndex]) + m.ChannelId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex diff --git a/x/transfermiddleware/types/genesis.pb.go b/x/transfermiddleware/types/genesis.pb.go index 15a12add3..696a92b18 100644 --- a/x/transfermiddleware/types/genesis.pb.go +++ b/x/transfermiddleware/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: centauri/transfermiddleware/v1beta1/genesis.proto +// source: composable/transfermiddleware/v1beta1/genesis.proto package types @@ -34,7 +34,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} } func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_bba390f1246595d3, []int{0} + return fileDescriptor_a9aae52ba7c9ee39, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -78,31 +78,32 @@ func (m *GenesisState) GetParams() Params { } func init() { - proto.RegisterType((*GenesisState)(nil), "centauri.transfermiddleware.v1beta1.GenesisState") + proto.RegisterType((*GenesisState)(nil), "composable.transfermiddleware.v1beta1.GenesisState") } func init() { - proto.RegisterFile("centauri/transfermiddleware/v1beta1/genesis.proto", fileDescriptor_bba390f1246595d3) + proto.RegisterFile("composable/transfermiddleware/v1beta1/genesis.proto", fileDescriptor_a9aae52ba7c9ee39) } -var fileDescriptor_bba390f1246595d3 = []byte{ - // 256 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4c, 0x4e, 0xcd, 0x2b, - 0x49, 0x2c, 0x2d, 0xca, 0xd4, 0x2f, 0x29, 0x4a, 0xcc, 0x2b, 0x4e, 0x4b, 0x2d, 0xca, 0xcd, 0x4c, - 0x49, 0xc9, 0x49, 0x2d, 0x4f, 0x2c, 0x4a, 0xd5, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, - 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x52, 0x86, - 0x69, 0xd1, 0xc3, 0xd4, 0xa2, 0x07, 0xd5, 0x22, 0x25, 0x92, 0x9e, 0x9f, 0x9e, 0x0f, 0x56, 0xaf, - 0x0f, 0x62, 0x41, 0xb4, 0x4a, 0x19, 0x10, 0x63, 0x5b, 0x41, 0x62, 0x51, 0x62, 0x2e, 0xd4, 0x32, - 0x29, 0x3b, 0x62, 0x75, 0x24, 0x67, 0x24, 0x66, 0xe6, 0xc5, 0x97, 0xe4, 0x67, 0xa7, 0xe6, 0xc5, - 0x67, 0xe6, 0xa5, 0x41, 0x6d, 0x54, 0xda, 0xc3, 0xc8, 0xc5, 0xe3, 0x0e, 0x71, 0x7e, 0x70, 0x49, - 0x62, 0x49, 0xaa, 0x50, 0x22, 0x17, 0x37, 0x42, 0x51, 0xb1, 0x04, 0xa3, 0x02, 0xb3, 0x06, 0xb7, - 0x91, 0x95, 0x1e, 0x11, 0x7e, 0xd2, 0x0b, 0x80, 0x59, 0xe3, 0xe9, 0xe4, 0x1c, 0x02, 0x32, 0xc3, - 0x33, 0x2f, 0x2d, 0xdf, 0x89, 0xe5, 0xc4, 0x3d, 0x79, 0x86, 0x20, 0xae, 0x12, 0x98, 0x40, 0xb1, - 0x90, 0x27, 0x17, 0x1b, 0xc4, 0x0f, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0xdc, 0x46, 0xda, 0x44, 0x9b, - 0x9e, 0x5b, 0x0c, 0x35, 0x0e, 0x6a, 0x80, 0x93, 0xc9, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, - 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, - 0xcb, 0x31, 0x44, 0x49, 0x55, 0x60, 0x0b, 0x91, 0x92, 0xca, 0x82, 0xd4, 0xe2, 0x24, 0x36, 0xb0, - 0xdf, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0xaf, 0xbd, 0x63, 0x88, 0xdd, 0x01, 0x00, 0x00, +var fileDescriptor_a9aae52ba7c9ee39 = []byte{ + // 258 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4e, 0xce, 0xcf, 0x2d, + 0xc8, 0x2f, 0x4e, 0x4c, 0xca, 0x49, 0xd5, 0x2f, 0x29, 0x4a, 0xcc, 0x2b, 0x4e, 0x4b, 0x2d, 0xca, + 0xcd, 0x4c, 0x49, 0xc9, 0x49, 0x2d, 0x4f, 0x2c, 0x4a, 0xd5, 0x2f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xcb, 0x31, 0x44, 0x49, 0x55, 0x60, 0x0b, 0x95, 0x92, 0xca, 0x82, 0xd4, 0xe2, 0x24, + 0x36, 0xb0, 0xff, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0xf2, 0xb2, 0x4a, 0xf8, 0xe9, 0x01, + 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/transfermiddleware/types/parachain_token_info.pb.go b/x/transfermiddleware/types/parachain_token_info.pb.go index 9f492749f..ab991c68c 100644 --- a/x/transfermiddleware/types/parachain_token_info.pb.go +++ b/x/transfermiddleware/types/parachain_token_info.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: centauri/transfermiddleware/v1beta1/parachain_token_info.proto +// source: composable/transfermiddleware/v1beta1/parachain_token_info.proto package types @@ -33,9 +33,9 @@ type ParachainIBCTokenInfo struct { // ibc_denom is the denomination of the ibced token transferred from the // dotsama chain. IbcDenom string `protobuf:"bytes,1,opt,name=ibc_denom,json=ibcDenom,proto3" json:"ibc_denom,omitempty" yaml:"ibc_denom"` - // channel_id is source channel in IBC connection from centauri chain - ChannelID string `protobuf:"bytes,2,opt,name=channel_id,json=channelID,proto3" json:"channel_id,omitempty" yaml:"channel_id"` - // native denom is new native minted denom in centauri chain. + // channel_id is source channel in IBC connection from composable chain + ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty" yaml:"channel_id"` + // native denom is new native minted denom in composable chain. NativeDenom string `protobuf:"bytes,3,opt,name=native_denom,json=nativeDenom,proto3" json:"native_denom,omitempty" yaml:"native_denom"` // asset id is the id of the asset on Picasso AssetId string `protobuf:"bytes,4,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty" yaml:"asset_id"` @@ -45,7 +45,7 @@ func (m *ParachainIBCTokenInfo) Reset() { *m = ParachainIBCTokenInfo{} } func (m *ParachainIBCTokenInfo) String() string { return proto.CompactTextString(m) } func (*ParachainIBCTokenInfo) ProtoMessage() {} func (*ParachainIBCTokenInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_b9cc8ea0d211210f, []int{0} + return fileDescriptor_b056b58fc55452d7, []int{0} } func (m *ParachainIBCTokenInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -81,9 +81,9 @@ func (m *ParachainIBCTokenInfo) GetIbcDenom() string { return "" } -func (m *ParachainIBCTokenInfo) GetChannelID() string { +func (m *ParachainIBCTokenInfo) GetChannelId() string { if m != nil { - return m.ChannelID + return m.ChannelId } return "" } @@ -103,7 +103,7 @@ func (m *ParachainIBCTokenInfo) GetAssetId() string { } type RemoveParachainIBCTokenInfo struct { - // native denom is new native minted denom in centauri chain. + // native denom is new native minted denom in composable chain. NativeDenom string `protobuf:"bytes,1,opt,name=native_denom,json=nativeDenom,proto3" json:"native_denom,omitempty" yaml:"native_denom"` // remove_time is the time at which the parachain token info will be removed. RemoveTime time.Time `protobuf:"bytes,2,opt,name=remove_time,json=removeTime,proto3,stdtime" json:"remove_time" yaml:"start_time"` @@ -113,7 +113,7 @@ func (m *RemoveParachainIBCTokenInfo) Reset() { *m = RemoveParachainIBCT func (m *RemoveParachainIBCTokenInfo) String() string { return proto.CompactTextString(m) } func (*RemoveParachainIBCTokenInfo) ProtoMessage() {} func (*RemoveParachainIBCTokenInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_b9cc8ea0d211210f, []int{1} + return fileDescriptor_b056b58fc55452d7, []int{1} } func (m *RemoveParachainIBCTokenInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -157,41 +157,41 @@ func (m *RemoveParachainIBCTokenInfo) GetRemoveTime() time.Time { } func init() { - proto.RegisterType((*ParachainIBCTokenInfo)(nil), "centauri.transfermiddleware.v1beta1.ParachainIBCTokenInfo") - proto.RegisterType((*RemoveParachainIBCTokenInfo)(nil), "centauri.transfermiddleware.v1beta1.RemoveParachainIBCTokenInfo") + proto.RegisterType((*ParachainIBCTokenInfo)(nil), "composable.transfermiddleware.v1beta1.ParachainIBCTokenInfo") + proto.RegisterType((*RemoveParachainIBCTokenInfo)(nil), "composable.transfermiddleware.v1beta1.RemoveParachainIBCTokenInfo") } func init() { - proto.RegisterFile("centauri/transfermiddleware/v1beta1/parachain_token_info.proto", fileDescriptor_b9cc8ea0d211210f) + proto.RegisterFile("composable/transfermiddleware/v1beta1/parachain_token_info.proto", fileDescriptor_b056b58fc55452d7) } -var fileDescriptor_b9cc8ea0d211210f = []byte{ - // 392 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0xbf, 0xae, 0xd3, 0x30, - 0x14, 0xc6, 0x63, 0x40, 0x70, 0xeb, 0x22, 0x01, 0xb9, 0xad, 0xa8, 0x82, 0x48, 0x90, 0x59, 0x98, - 0x12, 0x15, 0x3a, 0x75, 0x60, 0x08, 0x2c, 0xd9, 0x50, 0xd4, 0xa9, 0x4b, 0xe4, 0x24, 0x4e, 0x6a, - 0x91, 0xd8, 0x91, 0xe3, 0x16, 0xfa, 0x16, 0x7d, 0x19, 0xde, 0xa1, 0x63, 0x47, 0xa6, 0x80, 0xda, - 0x95, 0x29, 0x4f, 0x80, 0x62, 0x37, 0x14, 0x41, 0x97, 0xbb, 0x9d, 0xa3, 0xef, 0xfc, 0xfc, 0x9d, - 0x3f, 0x86, 0xef, 0x13, 0xc2, 0x24, 0x5e, 0x0b, 0xea, 0x49, 0x81, 0x59, 0x9d, 0x11, 0x51, 0xd2, - 0x34, 0x2d, 0xc8, 0x17, 0x2c, 0x88, 0xb7, 0x99, 0xc6, 0x44, 0xe2, 0xa9, 0x57, 0x61, 0x81, 0x93, - 0x15, 0xa6, 0x2c, 0x92, 0xfc, 0x33, 0x61, 0x11, 0x65, 0x19, 0x77, 0x2b, 0xc1, 0x25, 0x37, 0x5f, - 0xf7, 0xbc, 0xfb, 0x3f, 0xef, 0x9e, 0x79, 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bf, 0x80, 0xbb, - 0xe8, 0x2f, 0xe0, 0xbf, 0xdc, 0x37, 0x8e, 0x71, 0x59, 0x4f, 0x2d, 0xb1, 0x90, 0x8a, 0x45, 0xbb, - 0x1f, 0x0e, 0x08, 0xa1, 0x7e, 0xad, 0xab, 0xf7, 0x67, 0xfb, 0xa3, 0x0d, 0x0e, 0x47, 0x1b, 0xfc, - 0x3c, 0xda, 0x60, 0x77, 0xb2, 0x8d, 0xc3, 0xc9, 0x36, 0xbe, 0x9f, 0x6c, 0x63, 0x69, 0x7d, 0xbd, - 0xf6, 0xab, 0xe4, 0xb6, 0x22, 0x75, 0xfc, 0x50, 0x99, 0xbe, 0xfb, 0x1d, 0x00, 0x00, 0xff, 0xff, - 0xd7, 0x2a, 0x55, 0xb9, 0x81, 0x02, 0x00, 0x00, +var fileDescriptor_b056b58fc55452d7 = []byte{ + // 397 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0xb1, 0x8e, 0xd3, 0x30, + 0x18, 0xc7, 0x63, 0x40, 0xd0, 0xba, 0x48, 0x40, 0xda, 0x8a, 0x2a, 0x88, 0x04, 0x59, 0x42, 0x62, + 0x4a, 0x54, 0xe8, 0xd4, 0x09, 0x05, 0x96, 0x6c, 0x28, 0xea, 0xd4, 0x25, 0x72, 0x12, 0x27, 0xb5, + 0x48, 0xec, 0x28, 0x31, 0x85, 0xbe, 0x45, 0x5f, 0x86, 0x77, 0xe8, 0xd8, 0x91, 0x29, 0x9c, 0xda, + 0xf5, 0xa6, 0x3c, 0xc1, 0x29, 0x76, 0x73, 0x3d, 0xdd, 0x75, 0xb9, 0xed, 0xfb, 0xf4, 0xf7, 0xef, + 0xff, 0xb7, 0xbf, 0xcf, 0xf0, 0x6b, 0xc4, 0xf3, 0x82, 0x57, 0x38, 0xcc, 0x88, 0x23, 0x4a, 0xcc, + 0xaa, 0x84, 0x94, 0x39, 0x8d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75, 0x0a, 0xf2, 0x5f, 0xc8, 0xd2, + 0x8b, 0xd1, 0x5f, 0x00, 0xdf, 0xf9, 0x24, 0xe7, 0x6b, 0x72, 0xf9, 0xd1, 0xf7, 0xef, 0x02, 0x1e, + 0x71, 0x97, 0x25, 0x1c, 0x94, 0xd2, 0x3a, 0x68, 0x87, 0x2c, 0x9f, 0x3f, 0xf8, 0x6c, 0xd8, 0x6a, + 0x03, 0x76, 0xb7, 0x01, 0x7b, 0xd1, 0x6d, 0xc0, 0x7d, 0xbf, 0xab, 0x2d, 0xed, 0x3c, 0x9e, 0x4a, + 0xe0, 0x52, 0x48, 0x16, 0x6d, 0xff, 0x5b, 0xc0, 0x87, 0xca, 0xad, 0x3d, 0xef, 0xce, 0x76, 0x07, + 0x13, 0xec, 0x0f, 0x26, 0xb8, 0x3a, 0x98, 0x60, 0x7b, 0x34, 0xb5, 0xfd, 0xd1, 0xd4, 0xfe, 0x1d, + 0x4d, 0x6d, 0x69, 0xfc, 0xb9, 0xf4, 0xaf, 0xc4, 0xa6, 0x20, 0x55, 0xf8, 0x5c, 0x86, 0x7e, 0xb9, + 0x09, 0x00, 0x00, 0xff, 0xff, 0xcb, 0xc4, 0xf1, 0xfa, 0x85, 0x02, 0x00, 0x00, } func (m *ParachainIBCTokenInfo) Marshal() (dAtA []byte, err error) { @@ -228,10 +228,10 @@ func (m *ParachainIBCTokenInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x1a } - if len(m.ChannelID) > 0 { - i -= len(m.ChannelID) - copy(dAtA[i:], m.ChannelID) - i = encodeVarintParachainTokenInfo(dAtA, i, uint64(len(m.ChannelID))) + if len(m.ChannelId) > 0 { + i -= len(m.ChannelId) + copy(dAtA[i:], m.ChannelId) + i = encodeVarintParachainTokenInfo(dAtA, i, uint64(len(m.ChannelId))) i-- dAtA[i] = 0x12 } @@ -304,7 +304,7 @@ func (m *ParachainIBCTokenInfo) Size() (n int) { if l > 0 { n += 1 + l + sovParachainTokenInfo(uint64(l)) } - l = len(m.ChannelID) + l = len(m.ChannelId) if l > 0 { n += 1 + l + sovParachainTokenInfo(uint64(l)) } @@ -403,7 +403,7 @@ func (m *ParachainIBCTokenInfo) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChannelID", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChannelId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -431,7 +431,7 @@ func (m *ParachainIBCTokenInfo) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ChannelID = string(dAtA[iNdEx:postIndex]) + m.ChannelId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { diff --git a/x/transfermiddleware/types/params.pb.go b/x/transfermiddleware/types/params.pb.go index bac319c24..9caf4e4a0 100644 --- a/x/transfermiddleware/types/params.pb.go +++ b/x/transfermiddleware/types/params.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: centauri/transfermiddleware/v1beta1/params.proto +// source: composable/transfermiddleware/v1beta1/params.proto package types @@ -36,7 +36,7 @@ func (m *Params) Reset() { *m = Params{} } func (m *Params) String() string { return proto.CompactTextString(m) } func (*Params) ProtoMessage() {} func (*Params) Descriptor() ([]byte, []int) { - return fileDescriptor_1f53976bc1ed34da, []int{0} + return fileDescriptor_98f93cfd11a323e1, []int{0} } func (m *Params) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -73,30 +73,31 @@ func (m *Params) GetDuration() time.Duration { } func init() { - proto.RegisterType((*Params)(nil), "centauri.transfermiddleware.v1beta1.Params") + proto.RegisterType((*Params)(nil), "composable.transfermiddleware.v1beta1.Params") } func init() { - proto.RegisterFile("centauri/transfermiddleware/v1beta1/params.proto", fileDescriptor_1f53976bc1ed34da) + proto.RegisterFile("composable/transfermiddleware/v1beta1/params.proto", fileDescriptor_98f93cfd11a323e1) } -var fileDescriptor_1f53976bc1ed34da = []byte{ - // 239 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x48, 0x4e, 0xcd, 0x2b, - 0x49, 0x2c, 0x2d, 0xca, 0xd4, 0x2f, 0x29, 0x4a, 0xcc, 0x2b, 0x4e, 0x4b, 0x2d, 0xca, 0xcd, 0x4c, - 0x49, 0xc9, 0x49, 0x2d, 0x4f, 0x2c, 0x4a, 0xd5, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, - 0x2f, 0x48, 0x2c, 0x4a, 0xcc, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x52, 0x86, 0xe9, - 0xd0, 0xc3, 0xd4, 0xa1, 0x07, 0xd5, 0x21, 0x25, 0x92, 0x9e, 0x9f, 0x9e, 0x0f, 0x56, 0xaf, 0x0f, - 0x62, 0x41, 0xb4, 0x4a, 0xc9, 0xa5, 0xe7, 0xe7, 0xa7, 0xe7, 0xa4, 0xea, 0x83, 0x79, 0x49, 0xa5, - 0x69, 0xfa, 0x29, 0xa5, 0x45, 0x89, 0x25, 0x99, 0xf9, 0x79, 0x10, 0x79, 0xa5, 0x22, 0x2e, 0xb6, - 0x00, 0xb0, 0x55, 0x42, 0x19, 0x5c, 0x1c, 0x30, 0x39, 0x09, 0x46, 0x05, 0x46, 0x0d, 0x6e, 0x23, - 0x49, 0x3d, 0x88, 0x66, 0x3d, 0x98, 0x66, 0x3d, 0x17, 0xa8, 0x02, 0x27, 0xc3, 0x13, 0xf7, 0xe4, - 0x19, 0x5e, 0xdd, 0x93, 0x17, 0x82, 0x69, 0xd1, 0xc9, 0xcf, 0xcd, 0x2c, 0x49, 0xcd, 0x2d, 0x28, - 0xa9, 0xfc, 0x74, 0x4f, 0x9e, 0xbf, 0x32, 0x31, 0x37, 0xc7, 0x4a, 0x09, 0x26, 0xa7, 0x34, 0xe3, - 0xbe, 0x3c, 0x63, 0x10, 0xdc, 0x74, 0x27, 0x93, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, - 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, - 0x63, 0x88, 0x92, 0xaa, 0xc0, 0x16, 0x26, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0x60, 0x57, - 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xa1, 0x85, 0xdf, 0xf3, 0x3f, 0x01, 0x00, 0x00, +var fileDescriptor_98f93cfd11a323e1 = []byte{ + // 241 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4a, 0xce, 0xcf, 0x2d, + 0xc8, 0x2f, 0x4e, 0x4c, 0xca, 0x49, 0xd5, 0x2f, 0x29, 0x4a, 0xcc, 0x2b, 0x4e, 0x4b, 0x2d, 0xca, + 0xcd, 0x4c, 0x49, 0xc9, 0x49, 0x2d, 0x4f, 0x2c, 0x4a, 0xd5, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, + 0x34, 0xd4, 0x2f, 0x48, 0x2c, 0x4a, 0xcc, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x52, + 0x45, 0xe8, 0xd1, 0xc3, 0xd4, 0xa3, 0x07, 0xd5, 0x23, 0x25, 0x92, 0x9e, 0x9f, 0x9e, 0x0f, 0xd6, + 0xa1, 0x0f, 0x62, 0x41, 0x34, 0x4b, 0xc9, 0xa5, 0xe7, 0xe7, 0xa7, 0xe7, 0xa4, 0xea, 0x83, 0x79, + 0x49, 0xa5, 0x69, 0xfa, 0x29, 0xa5, 0x45, 0x89, 0x25, 0x99, 0xf9, 0x79, 0x10, 0x79, 0xa5, 0x22, + 0x2e, 0xb6, 0x00, 0xb0, 0x65, 0x42, 0x19, 0x5c, 0x1c, 0x30, 0x39, 0x09, 0x46, 0x05, 0x46, 0x0d, + 0x6e, 0x23, 0x49, 0x3d, 0x88, 0x66, 0x3d, 0x98, 0x66, 0x3d, 0x17, 0xa8, 0x02, 0x27, 0xc3, 0x13, + 0xf7, 0xe4, 0x19, 0x5e, 0xdd, 0x93, 0x17, 0x82, 0x69, 0xd1, 0xc9, 0xcf, 0xcd, 0x2c, 0x49, 0xcd, + 0x2d, 0x28, 0xa9, 0xfc, 0x74, 0x4f, 0x9e, 0xbf, 0x32, 0x31, 0x37, 0xc7, 0x4a, 0x09, 0x26, 0xa7, + 0x34, 0xe3, 0xbe, 0x3c, 0x63, 0x10, 0xdc, 0x74, 0x27, 0x93, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, + 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, + 0x3c, 0x96, 0x63, 0x88, 0x92, 0xaa, 0xc0, 0x16, 0x2a, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, + 0x60, 0x57, 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x11, 0xa6, 0xc1, 0x38, 0x43, 0x01, 0x00, + 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { diff --git a/x/transfermiddleware/types/query.pb.go b/x/transfermiddleware/types/query.pb.go index baea27af5..924478358 100644 --- a/x/transfermiddleware/types/query.pb.go +++ b/x/transfermiddleware/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: centauri/transfermiddleware/v1beta1/query.proto +// source: composable/transfermiddleware/v1beta1/query.proto package types @@ -31,14 +31,14 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // message QueryEscrowAddressRequest type QueryEscrowAddressRequest struct { - ChannelID string `protobuf:"bytes,1,opt,name=channel_id,json=channelID,proto3" json:"channel_id,omitempty" yaml:"channel_id"` + ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty" yaml:"channel_id"` } func (m *QueryEscrowAddressRequest) Reset() { *m = QueryEscrowAddressRequest{} } func (m *QueryEscrowAddressRequest) String() string { return proto.CompactTextString(m) } func (*QueryEscrowAddressRequest) ProtoMessage() {} func (*QueryEscrowAddressRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cc2bc06232cb63aa, []int{0} + return fileDescriptor_241820e1315881d1, []int{0} } func (m *QueryEscrowAddressRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -67,9 +67,9 @@ func (m *QueryEscrowAddressRequest) XXX_DiscardUnknown() { var xxx_messageInfo_QueryEscrowAddressRequest proto.InternalMessageInfo -func (m *QueryEscrowAddressRequest) GetChannelID() string { +func (m *QueryEscrowAddressRequest) GetChannelId() string { if m != nil { - return m.ChannelID + return m.ChannelId } return "" } @@ -83,7 +83,7 @@ func (m *QueryEscrowAddressResponse) Reset() { *m = QueryEscrowAddressRe func (m *QueryEscrowAddressResponse) String() string { return proto.CompactTextString(m) } func (*QueryEscrowAddressResponse) ProtoMessage() {} func (*QueryEscrowAddressResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cc2bc06232cb63aa, []int{1} + return fileDescriptor_241820e1315881d1, []int{1} } func (m *QueryEscrowAddressResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -129,7 +129,7 @@ func (m *QueryParaTokenInfoRequest) Reset() { *m = QueryParaTokenInfoReq func (m *QueryParaTokenInfoRequest) String() string { return proto.CompactTextString(m) } func (*QueryParaTokenInfoRequest) ProtoMessage() {} func (*QueryParaTokenInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cc2bc06232cb63aa, []int{2} + return fileDescriptor_241820e1315881d1, []int{2} } func (m *QueryParaTokenInfoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -169,7 +169,7 @@ func (m *QueryParaTokenInfoRequest) GetNativeDenom() string { // RPC method. type QueryParaTokenInfoResponse struct { IbcDenom string `protobuf:"bytes,1,opt,name=ibc_denom,json=ibcDenom,proto3" json:"ibc_denom,omitempty" yaml:"ibc_denom"` - ChannelID string `protobuf:"bytes,2,opt,name=channel_id,json=channelID,proto3" json:"channel_id,omitempty" yaml:"channel_id"` + ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty" yaml:"channel_id"` NativeDenom string `protobuf:"bytes,3,opt,name=native_denom,json=nativeDenom,proto3" json:"native_denom,omitempty" yaml:"native_denom"` AssetId string `protobuf:"bytes,4,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty" yaml:"asset_id"` } @@ -178,7 +178,7 @@ func (m *QueryParaTokenInfoResponse) Reset() { *m = QueryParaTokenInfoRe func (m *QueryParaTokenInfoResponse) String() string { return proto.CompactTextString(m) } func (*QueryParaTokenInfoResponse) ProtoMessage() {} func (*QueryParaTokenInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cc2bc06232cb63aa, []int{3} + return fileDescriptor_241820e1315881d1, []int{3} } func (m *QueryParaTokenInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -214,9 +214,9 @@ func (m *QueryParaTokenInfoResponse) GetIbcDenom() string { return "" } -func (m *QueryParaTokenInfoResponse) GetChannelID() string { +func (m *QueryParaTokenInfoResponse) GetChannelId() string { if m != nil { - return m.ChannelID + return m.ChannelId } return "" } @@ -236,48 +236,48 @@ func (m *QueryParaTokenInfoResponse) GetAssetId() string { } func init() { - proto.RegisterType((*QueryEscrowAddressRequest)(nil), "centauri.transfermiddleware.v1beta1.QueryEscrowAddressRequest") - proto.RegisterType((*QueryEscrowAddressResponse)(nil), "centauri.transfermiddleware.v1beta1.QueryEscrowAddressResponse") - proto.RegisterType((*QueryParaTokenInfoRequest)(nil), "centauri.transfermiddleware.v1beta1.QueryParaTokenInfoRequest") - proto.RegisterType((*QueryParaTokenInfoResponse)(nil), "centauri.transfermiddleware.v1beta1.QueryParaTokenInfoResponse") + proto.RegisterType((*QueryEscrowAddressRequest)(nil), "composable.transfermiddleware.v1beta1.QueryEscrowAddressRequest") + proto.RegisterType((*QueryEscrowAddressResponse)(nil), "composable.transfermiddleware.v1beta1.QueryEscrowAddressResponse") + proto.RegisterType((*QueryParaTokenInfoRequest)(nil), "composable.transfermiddleware.v1beta1.QueryParaTokenInfoRequest") + proto.RegisterType((*QueryParaTokenInfoResponse)(nil), "composable.transfermiddleware.v1beta1.QueryParaTokenInfoResponse") } func init() { - proto.RegisterFile("centauri/transfermiddleware/v1beta1/query.proto", fileDescriptor_cc2bc06232cb63aa) + proto.RegisterFile("composable/transfermiddleware/v1beta1/query.proto", fileDescriptor_241820e1315881d1) } -var fileDescriptor_cc2bc06232cb63aa = []byte{ - // 472 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xcb, 0x6e, 0xd3, 0x40, - 0x14, 0x8d, 0xc3, 0xab, 0x19, 0x28, 0x0f, 0xb7, 0x55, 0x89, 0x85, 0x6c, 0x34, 0x6c, 0x58, 0xd9, - 0x0a, 0x74, 0xd5, 0x05, 0x8f, 0x0a, 0x16, 0xd9, 0x51, 0x0b, 0x09, 0x89, 0x05, 0xd1, 0x8d, 0x7d, - 0x1b, 0x46, 0x24, 0x33, 0xee, 0xcc, 0xa4, 0x25, 0x5b, 0xbe, 0x00, 0x89, 0x2f, 0xe1, 0x2f, 0x58, - 0x56, 0x62, 0xc3, 0xca, 0x42, 0x09, 0x7b, 0x84, 0xbf, 0x00, 0xd9, 0x33, 0xa1, 0x4d, 0x6b, 0xa4, - 0xb4, 0xbb, 0xb9, 0x3a, 0x73, 0xce, 0x9c, 0x7b, 0x7d, 0xae, 0x49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d5, 0x6a, 0x5d, 0x1f, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, - 0x9f, 0xa5, 0xa0, 0xee, 0x3a, 0x04, 0x00, 0x00, +var fileDescriptor_241820e1315881d1 = []byte{ + // 476 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x94, 0x4f, 0x6f, 0xd3, 0x30, + 0x18, 0xc6, 0x9b, 0xf2, 0x6f, 0x35, 0x8c, 0x3f, 0xd9, 0x26, 0x68, 0x40, 0x09, 0x58, 0x42, 0xe2, + 0x94, 0xa8, 0xb0, 0xd3, 0x4e, 0xdb, 0x04, 0x87, 0xde, 0x58, 0x84, 0x84, 0xc4, 0x81, 0xea, 0x4d, + 0xf2, 0xae, 0x44, 0xa4, 0x76, 0x66, 0x7b, 0x1b, 0xbd, 0xf2, 0x09, 0x90, 0xf8, 0x30, 0x7c, 0x05, + 0x8e, 0x93, 0xb8, 0x70, 0x8a, 0x50, 0xcb, 0x17, 0x20, 0x57, 0x2e, 0x28, 0xb1, 0xc7, 0xda, 0x2d, + 0x48, 0xad, 0xb8, 0xd9, 0x7a, 0xfa, 0xfc, 0xfc, 0xbc, 0xee, 0xe3, 0x90, 0x5e, 0xcc, 0x47, 0x39, + 0x97, 0x10, 0x65, 0x18, 0x28, 0x01, 0x4c, 0xee, 0xa3, 0x18, 0xa5, 0x49, 0x92, 0xe1, 0x31, 0x08, + 0x0c, 0x8e, 0x7a, 0x11, 0x2a, 0xe8, 0x05, 0x07, 0x87, 0x28, 0xc6, 0x7e, 0x2e, 0xb8, 0xe2, 0xf6, + 0xe3, 0x33, 0x8b, 0x7f, 0xd1, 0xe2, 0x1b, 0x8b, 0xb3, 0x3e, 0xe4, 0x43, 0x5e, 0x3b, 0x82, 0x6a, + 0xa5, 0xcd, 0xce, 0x83, 0x21, 0xe7, 0xc3, 0x0c, 0x03, 0xc8, 0xd3, 0x00, 0x18, 0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xe5, 0xda, 0xb7, 0x56, 0x16, 0xde, 0x2d, 0xed, 0x3b, 0x55, 0x68, 0x78, 0xad, + 0x5e, 0xf6, 0x93, 0xa7, 0xbf, 0xdb, 0xe4, 0x4a, 0x3d, 0xb3, 0xfd, 0xc5, 0x22, 0xab, 0x73, 0x83, + 0xdb, 0xdb, 0xfe, 0x42, 0xbd, 0xf3, 0xff, 0xf9, 0x6f, 0x38, 0x3b, 0xff, 0x41, 0xd0, 0xb7, 0x4e, + 0x1f, 0x7d, 0xfc, 0xf6, 0xf3, 0x73, 0xfb, 0xbe, 0xdd, 0x0d, 0x66, 0xde, 0x4d, 0x0e, 0x02, 0x54, + 0xf5, 0xd3, 0xb4, 0xca, 0x59, 0x25, 0x9f, 0x2b, 0xdb, 0x72, 0xc9, 0x9b, 0xaa, 0xbf, 0x5c, 0xf2, + 0xc6, 0xa6, 0x37, 0x27, 0xd7, 0x55, 0x36, 0xd5, 0xde, 0xdd, 0xfc, 0x3a, 0x71, 0xad, 0x93, 0x89, + 0x6b, 0xfd, 0x98, 0xb8, 0xd6, 0xa7, 0xa9, 0xdb, 0x3a, 0x99, 0xba, 0xad, 0xef, 0x53, 0xb7, 0xf5, + 0xc6, 0xf9, 0xd0, 0xf4, 0x71, 0x50, 0xe3, 0x1c, 0x65, 0x74, 0xb5, 0x7e, 0xba, 0xcf, 0xfe, 0x04, + 0x00, 0x00, 0xff, 0xff, 0xa2, 0xcb, 0xed, 0xe0, 0x4a, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -307,7 +307,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) ParaTokenInfo(ctx context.Context, in *QueryParaTokenInfoRequest, opts ...grpc.CallOption) (*QueryParaTokenInfoResponse, error) { out := new(QueryParaTokenInfoResponse) - err := c.cc.Invoke(ctx, "/centauri.transfermiddleware.v1beta1.Query/ParaTokenInfo", in, out, opts...) + err := c.cc.Invoke(ctx, "/composable.transfermiddleware.v1beta1.Query/ParaTokenInfo", in, out, opts...) if err != nil { return nil, err } @@ -316,7 +316,7 @@ func (c *queryClient) ParaTokenInfo(ctx context.Context, in *QueryParaTokenInfoR func (c *queryClient) EscrowAddress(ctx context.Context, in *QueryEscrowAddressRequest, opts ...grpc.CallOption) (*QueryEscrowAddressResponse, error) { out := new(QueryEscrowAddressResponse) - err := c.cc.Invoke(ctx, "/centauri.transfermiddleware.v1beta1.Query/EscrowAddress", in, out, opts...) + err := c.cc.Invoke(ctx, "/composable.transfermiddleware.v1beta1.Query/EscrowAddress", in, out, opts...) if err != nil { return nil, err } @@ -355,7 +355,7 @@ func _Query_ParaTokenInfo_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/centauri.transfermiddleware.v1beta1.Query/ParaTokenInfo", + FullMethod: "/composable.transfermiddleware.v1beta1.Query/ParaTokenInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ParaTokenInfo(ctx, req.(*QueryParaTokenInfoRequest)) @@ -373,7 +373,7 @@ func _Query_EscrowAddress_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/centauri.transfermiddleware.v1beta1.Query/EscrowAddress", + FullMethod: "/composable.transfermiddleware.v1beta1.Query/EscrowAddress", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).EscrowAddress(ctx, req.(*QueryEscrowAddressRequest)) @@ -382,7 +382,7 @@ func _Query_EscrowAddress_Handler(srv interface{}, ctx context.Context, dec func } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "centauri.transfermiddleware.v1beta1.Query", + ServiceName: "composable.transfermiddleware.v1beta1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -395,7 +395,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "centauri/transfermiddleware/v1beta1/query.proto", + Metadata: "composable/transfermiddleware/v1beta1/query.proto", } func (m *QueryEscrowAddressRequest) Marshal() (dAtA []byte, err error) { @@ -418,10 +418,10 @@ func (m *QueryEscrowAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, erro _ = i var l int _ = l - if len(m.ChannelID) > 0 { - i -= len(m.ChannelID) - copy(dAtA[i:], m.ChannelID) - i = encodeVarintQuery(dAtA, i, uint64(len(m.ChannelID))) + if len(m.ChannelId) > 0 { + i -= len(m.ChannelId) + copy(dAtA[i:], m.ChannelId) + i = encodeVarintQuery(dAtA, i, uint64(len(m.ChannelId))) i-- dAtA[i] = 0xa } @@ -522,10 +522,10 @@ func (m *QueryParaTokenInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, err i-- dAtA[i] = 0x1a } - if len(m.ChannelID) > 0 { - i -= len(m.ChannelID) - copy(dAtA[i:], m.ChannelID) - i = encodeVarintQuery(dAtA, i, uint64(len(m.ChannelID))) + if len(m.ChannelId) > 0 { + i -= len(m.ChannelId) + copy(dAtA[i:], m.ChannelId) + i = encodeVarintQuery(dAtA, i, uint64(len(m.ChannelId))) i-- dAtA[i] = 0x12 } @@ -556,7 +556,7 @@ func (m *QueryEscrowAddressRequest) Size() (n int) { } var l int _ = l - l = len(m.ChannelID) + l = len(m.ChannelId) if l > 0 { n += 1 + l + sovQuery(uint64(l)) } @@ -599,7 +599,7 @@ func (m *QueryParaTokenInfoResponse) Size() (n int) { if l > 0 { n += 1 + l + sovQuery(uint64(l)) } - l = len(m.ChannelID) + l = len(m.ChannelId) if l > 0 { n += 1 + l + sovQuery(uint64(l)) } @@ -651,7 +651,7 @@ func (m *QueryEscrowAddressRequest) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChannelID", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChannelId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -679,7 +679,7 @@ func (m *QueryEscrowAddressRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ChannelID = string(dAtA[iNdEx:postIndex]) + m.ChannelId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -929,7 +929,7 @@ func (m *QueryParaTokenInfoResponse) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChannelID", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChannelId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -957,7 +957,7 @@ func (m *QueryParaTokenInfoResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ChannelID = string(dAtA[iNdEx:postIndex]) + m.ChannelId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { diff --git a/x/transfermiddleware/types/query.pb.gw.go b/x/transfermiddleware/types/query.pb.gw.go index 68f42e5c7..a92ba0568 100644 --- a/x/transfermiddleware/types/query.pb.gw.go +++ b/x/transfermiddleware/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: centauri/transfermiddleware/v1beta1/query.proto +// source: composable/transfermiddleware/v1beta1/query.proto /* Package types is a reverse proxy. @@ -242,9 +242,9 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } var ( - pattern_Query_ParaTokenInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"centauri", "paratokeninfo"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_ParaTokenInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"composable", "paratokeninfo"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_EscrowAddress_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"centauri", "escrowaddress"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_EscrowAddress_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"composable", "escrowaddress"}, "", runtime.AssumeColonVerbOpt(false))) ) var ( diff --git a/x/transfermiddleware/types/tx.pb.go b/x/transfermiddleware/types/tx.pb.go index dd5426258..33b7a6ef5 100644 --- a/x/transfermiddleware/types/tx.pb.go +++ b/x/transfermiddleware/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: centauri/transfermiddleware/v1beta1/tx.proto +// source: composable/transfermiddleware/v1beta1/tx.proto package types @@ -34,7 +34,7 @@ type MsgAddParachainIBCTokenInfo struct { // authority is the address that controls the module (defaults to x/gov unless // overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty" yaml:"authority"` - ChannelID string `protobuf:"bytes,2,opt,name=channel_id,json=channelID,proto3" json:"channel_id,omitempty" yaml:"channel_id"` + ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty" yaml:"channel_id"` IbcDenom string `protobuf:"bytes,3,opt,name=ibc_denom,json=ibcDenom,proto3" json:"ibc_denom,omitempty" yaml:"ibc_denom"` NativeDenom string `protobuf:"bytes,4,opt,name=native_denom,json=nativeDenom,proto3" json:"native_denom,omitempty" yaml:"native_denom"` AssetId string `protobuf:"bytes,5,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty" yaml:"asset_id"` @@ -44,7 +44,7 @@ func (m *MsgAddParachainIBCTokenInfo) Reset() { *m = MsgAddParachainIBCT func (m *MsgAddParachainIBCTokenInfo) String() string { return proto.CompactTextString(m) } func (*MsgAddParachainIBCTokenInfo) ProtoMessage() {} func (*MsgAddParachainIBCTokenInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2768943d6d1340b4, []int{0} + return fileDescriptor_925cc3e4d71d1dc8, []int{0} } func (m *MsgAddParachainIBCTokenInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -80,9 +80,9 @@ func (m *MsgAddParachainIBCTokenInfo) GetAuthority() string { return "" } -func (m *MsgAddParachainIBCTokenInfo) GetChannelID() string { +func (m *MsgAddParachainIBCTokenInfo) GetChannelId() string { if m != nil { - return m.ChannelID + return m.ChannelId } return "" } @@ -115,7 +115,7 @@ func (m *MsgAddParachainIBCTokenInfoResponse) Reset() { *m = MsgAddParac func (m *MsgAddParachainIBCTokenInfoResponse) String() string { return proto.CompactTextString(m) } func (*MsgAddParachainIBCTokenInfoResponse) ProtoMessage() {} func (*MsgAddParachainIBCTokenInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2768943d6d1340b4, []int{1} + return fileDescriptor_925cc3e4d71d1dc8, []int{1} } func (m *MsgAddParachainIBCTokenInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -157,7 +157,7 @@ func (m *MsgRemoveParachainIBCTokenInfo) Reset() { *m = MsgRemoveParacha func (m *MsgRemoveParachainIBCTokenInfo) String() string { return proto.CompactTextString(m) } func (*MsgRemoveParachainIBCTokenInfo) ProtoMessage() {} func (*MsgRemoveParachainIBCTokenInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2768943d6d1340b4, []int{2} + return fileDescriptor_925cc3e4d71d1dc8, []int{2} } func (m *MsgRemoveParachainIBCTokenInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -209,7 +209,7 @@ func (m *MsgRemoveParachainIBCTokenInfoResponse) Reset() { func (m *MsgRemoveParachainIBCTokenInfoResponse) String() string { return proto.CompactTextString(m) } func (*MsgRemoveParachainIBCTokenInfoResponse) ProtoMessage() {} func (*MsgRemoveParachainIBCTokenInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2768943d6d1340b4, []int{3} + return fileDescriptor_925cc3e4d71d1dc8, []int{3} } func (m *MsgRemoveParachainIBCTokenInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -250,7 +250,7 @@ func (m *MsgAddRlyAddress) Reset() { *m = MsgAddRlyAddress{} } func (m *MsgAddRlyAddress) String() string { return proto.CompactTextString(m) } func (*MsgAddRlyAddress) ProtoMessage() {} func (*MsgAddRlyAddress) Descriptor() ([]byte, []int) { - return fileDescriptor_2768943d6d1340b4, []int{4} + return fileDescriptor_925cc3e4d71d1dc8, []int{4} } func (m *MsgAddRlyAddress) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -300,7 +300,7 @@ func (m *MsgAddRlyAddressResponse) Reset() { *m = MsgAddRlyAddressRespon func (m *MsgAddRlyAddressResponse) String() string { return proto.CompactTextString(m) } func (*MsgAddRlyAddressResponse) ProtoMessage() {} func (*MsgAddRlyAddressResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2768943d6d1340b4, []int{5} + return fileDescriptor_925cc3e4d71d1dc8, []int{5} } func (m *MsgAddRlyAddressResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -330,53 +330,53 @@ func (m *MsgAddRlyAddressResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgAddRlyAddressResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*MsgAddParachainIBCTokenInfo)(nil), "centauri.transfermiddleware.v1beta1.MsgAddParachainIBCTokenInfo") - proto.RegisterType((*MsgAddParachainIBCTokenInfoResponse)(nil), "centauri.transfermiddleware.v1beta1.MsgAddParachainIBCTokenInfoResponse") - proto.RegisterType((*MsgRemoveParachainIBCTokenInfo)(nil), "centauri.transfermiddleware.v1beta1.MsgRemoveParachainIBCTokenInfo") - proto.RegisterType((*MsgRemoveParachainIBCTokenInfoResponse)(nil), "centauri.transfermiddleware.v1beta1.MsgRemoveParachainIBCTokenInfoResponse") - proto.RegisterType((*MsgAddRlyAddress)(nil), "centauri.transfermiddleware.v1beta1.MsgAddRlyAddress") - proto.RegisterType((*MsgAddRlyAddressResponse)(nil), "centauri.transfermiddleware.v1beta1.MsgAddRlyAddressResponse") + proto.RegisterType((*MsgAddParachainIBCTokenInfo)(nil), "composable.transfermiddleware.v1beta1.MsgAddParachainIBCTokenInfo") + proto.RegisterType((*MsgAddParachainIBCTokenInfoResponse)(nil), "composable.transfermiddleware.v1beta1.MsgAddParachainIBCTokenInfoResponse") + proto.RegisterType((*MsgRemoveParachainIBCTokenInfo)(nil), "composable.transfermiddleware.v1beta1.MsgRemoveParachainIBCTokenInfo") + proto.RegisterType((*MsgRemoveParachainIBCTokenInfoResponse)(nil), "composable.transfermiddleware.v1beta1.MsgRemoveParachainIBCTokenInfoResponse") + proto.RegisterType((*MsgAddRlyAddress)(nil), "composable.transfermiddleware.v1beta1.MsgAddRlyAddress") + proto.RegisterType((*MsgAddRlyAddressResponse)(nil), "composable.transfermiddleware.v1beta1.MsgAddRlyAddressResponse") } func init() { - proto.RegisterFile("centauri/transfermiddleware/v1beta1/tx.proto", fileDescriptor_2768943d6d1340b4) + proto.RegisterFile("composable/transfermiddleware/v1beta1/tx.proto", fileDescriptor_925cc3e4d71d1dc8) } -var fileDescriptor_2768943d6d1340b4 = []byte{ +var fileDescriptor_925cc3e4d71d1dc8 = []byte{ // 528 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0x4f, 0x6f, 0xd3, 0x4e, - 0x10, 0xcd, 0x26, 0xbf, 0x1f, 0x34, 0x5b, 0xfe, 0x14, 0xb7, 0xd0, 0xc8, 0x95, 0x1c, 0xb4, 0x15, - 0xa8, 0x42, 0xc8, 0x56, 0x4a, 0x11, 0x52, 0x24, 0x24, 0x9a, 0x72, 0x20, 0x42, 0x91, 0x90, 0xc5, - 0x89, 0x4b, 0xb4, 0xf1, 0x6e, 0x1d, 0x0b, 0x7b, 0x37, 0xda, 0xdd, 0x86, 0xfa, 0x8a, 0xc4, 0x19, - 0xbe, 0x00, 0x57, 0xae, 0x70, 0xe2, 0x33, 0x70, 0xec, 0x91, 0x93, 0x85, 0x92, 0x03, 0x9c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50, 0xb7, 0x99, 0x3f, 0x64, 0x1c, 0x5b, 0x1e, 0x35, 0xa2, 0x10, 0x07, 0xfc, 0x98, + 0x86, 0xbe, 0x4b, 0x88, 0x47, 0xdf, 0xe0, 0x90, 0x1a, 0xa3, 0x96, 0x45, 0x23, 0xdc, 0x32, 0xa2, + 0x13, 0x7d, 0x18, 0xb2, 0x88, 0x49, 0xbb, 0x65, 0xbd, 0xbe, 0x5c, 0xaf, 0xe7, 0xf5, 0xca, 0x96, + 0xc3, 0x1c, 0x96, 0x11, 0xc6, 0x74, 0x25, 0x60, 0x65, 0xdb, 0x66, 0xdc, 0x67, 0xdc, 0xf0, 0xb9, + 0x63, 0x8c, 0x5a, 0xd3, 0x1f, 0x21, 0xa0, 0xaf, 0x75, 0xb8, 0xd3, 0xe3, 0xce, 0x11, 0x21, 0xcf, + 0x71, 0x88, 0xed, 0x01, 0x76, 0x83, 0x6e, 0xe7, 0xf1, 0x0b, 0xf6, 0x8a, 0x06, 0xdd, 0xe0, 0x98, + 0x49, 0xfb, 0xb0, 0x89, 0x5f, 0x47, 0x03, 0x16, 0xba, 0x51, 0x2c, 0x83, 0xbb, 0x60, 0xaf, 0xd9, + 0xd9, 0x4a, 0x13, 0x6d, 0x23, 0xc6, 0xbe, 0xd7, 0x46, 0x85, 0x84, 0xcc, 0xb2, 0x4c, 0x3a, 0x80, + 0xd0, 0x1e, 0xe0, 0x20, 0xa0, 0x5e, 0xdf, 0x25, 0x72, 0x3d, 0x83, 0x6e, 0xa7, 0x89, 0x76, 0x4b, + 0x40, 0xa5, 0x86, 0xcc, 0x66, 0xbe, 0xe9, 0x12, 0xa9, 0x05, 0x9b, 0xae, 0x65, 0xf7, 0x09, 0x0d, + 0x98, 0x2f, 0x37, 0x16, 0x4f, 0x2a, 0x24, 0x64, 0xae, 0xb9, 0x96, 0xfd, 0x64, 0xba, 0x94, 0xda, + 0xf0, 0x5a, 0x80, 0x23, 0x77, 0x44, 0x73, 0xea, 0x52, 0x46, 0x6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0xf3, + 0x56, 0x1c, 0xfe, 0xd7, 0x4c, 0x4a, 0x50, 0x79, 0x74, 0x4e, 0x70, 0xe6, 0xa5, 0x73, 0xf0, 0x6d, + 0xac, 0x82, 0xd3, 0xb1, 0x0a, 0x7e, 0x8c, 0x55, 0xf0, 0x61, 0xa2, 0xd6, 0x4e, 0x27, 0x6a, 0xed, + 0xfb, 0x44, 0xad, 0xbd, 0x54, 0x4e, 0xfe, 0xf6, 0xca, 0x46, 0xf1, 0x90, 0x72, 0xeb, 0x4a, 0xf6, + 0x16, 0x3e, 0xfc, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xdf, 0xfc, 0x30, 0x03, 0x93, 0x05, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -406,7 +406,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { func (c *msgClient) AddParachainIBCTokenInfo(ctx context.Context, in *MsgAddParachainIBCTokenInfo, opts ...grpc.CallOption) (*MsgAddParachainIBCTokenInfoResponse, error) { out := new(MsgAddParachainIBCTokenInfoResponse) - err := c.cc.Invoke(ctx, "/centauri.transfermiddleware.v1beta1.Msg/AddParachainIBCTokenInfo", in, out, opts...) + err := c.cc.Invoke(ctx, "/composable.transfermiddleware.v1beta1.Msg/AddParachainIBCTokenInfo", in, out, opts...) if err != nil { return nil, err } @@ -415,7 +415,7 @@ func (c *msgClient) AddParachainIBCTokenInfo(ctx context.Context, in *MsgAddPara func (c *msgClient) RemoveParachainIBCTokenInfo(ctx context.Context, in *MsgRemoveParachainIBCTokenInfo, opts ...grpc.CallOption) (*MsgRemoveParachainIBCTokenInfoResponse, error) { out := new(MsgRemoveParachainIBCTokenInfoResponse) - err := c.cc.Invoke(ctx, "/centauri.transfermiddleware.v1beta1.Msg/RemoveParachainIBCTokenInfo", in, out, opts...) + err := c.cc.Invoke(ctx, "/composable.transfermiddleware.v1beta1.Msg/RemoveParachainIBCTokenInfo", in, out, opts...) if err != nil { return nil, err } @@ -424,7 +424,7 @@ func (c *msgClient) RemoveParachainIBCTokenInfo(ctx context.Context, in *MsgRemo func (c *msgClient) AddRlyAddress(ctx context.Context, in *MsgAddRlyAddress, opts ...grpc.CallOption) (*MsgAddRlyAddressResponse, error) { out := new(MsgAddRlyAddressResponse) - err := c.cc.Invoke(ctx, "/centauri.transfermiddleware.v1beta1.Msg/AddRlyAddress", in, out, opts...) + err := c.cc.Invoke(ctx, "/composable.transfermiddleware.v1beta1.Msg/AddRlyAddress", in, out, opts...) if err != nil { return nil, err } @@ -466,7 +466,7 @@ func _Msg_AddParachainIBCTokenInfo_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/centauri.transfermiddleware.v1beta1.Msg/AddParachainIBCTokenInfo", + FullMethod: "/composable.transfermiddleware.v1beta1.Msg/AddParachainIBCTokenInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).AddParachainIBCTokenInfo(ctx, req.(*MsgAddParachainIBCTokenInfo)) @@ -484,7 +484,7 @@ func _Msg_RemoveParachainIBCTokenInfo_Handler(srv interface{}, ctx context.Conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/centauri.transfermiddleware.v1beta1.Msg/RemoveParachainIBCTokenInfo", + FullMethod: "/composable.transfermiddleware.v1beta1.Msg/RemoveParachainIBCTokenInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).RemoveParachainIBCTokenInfo(ctx, req.(*MsgRemoveParachainIBCTokenInfo)) @@ -502,7 +502,7 @@ func _Msg_AddRlyAddress_Handler(srv interface{}, ctx context.Context, dec func(i } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/centauri.transfermiddleware.v1beta1.Msg/AddRlyAddress", + FullMethod: "/composable.transfermiddleware.v1beta1.Msg/AddRlyAddress", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).AddRlyAddress(ctx, req.(*MsgAddRlyAddress)) @@ -511,7 +511,7 @@ func _Msg_AddRlyAddress_Handler(srv interface{}, ctx context.Context, dec func(i } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "centauri.transfermiddleware.v1beta1.Msg", + ServiceName: "composable.transfermiddleware.v1beta1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -528,7 +528,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "centauri/transfermiddleware/v1beta1/tx.proto", + Metadata: "composable/transfermiddleware/v1beta1/tx.proto", } func (m *MsgAddParachainIBCTokenInfo) Marshal() (dAtA []byte, err error) { @@ -572,10 +572,10 @@ func (m *MsgAddParachainIBCTokenInfo) MarshalToSizedBuffer(dAtA []byte) (int, er i-- dAtA[i] = 0x1a } - if len(m.ChannelID) > 0 { - i -= len(m.ChannelID) - copy(dAtA[i:], m.ChannelID) - i = encodeVarintTx(dAtA, i, uint64(len(m.ChannelID))) + if len(m.ChannelId) > 0 { + i -= len(m.ChannelId) + copy(dAtA[i:], m.ChannelId) + i = encodeVarintTx(dAtA, i, uint64(len(m.ChannelId))) i-- dAtA[i] = 0x12 } @@ -753,7 +753,7 @@ func (m *MsgAddParachainIBCTokenInfo) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.ChannelID) + l = len(m.ChannelId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } @@ -902,7 +902,7 @@ func (m *MsgAddParachainIBCTokenInfo) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChannelID", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChannelId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -930,7 +930,7 @@ func (m *MsgAddParachainIBCTokenInfo) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ChannelID = string(dAtA[iNdEx:postIndex]) + m.ChannelId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { diff --git a/x/tx-boundary/types/boundary.pb.go b/x/tx-boundary/types/boundary.pb.go index 8bce1b9f3..c66625ae8 100644 --- a/x/tx-boundary/types/boundary.pb.go +++ b/x/tx-boundary/types/boundary.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: centauri/txboundary/v1beta1/boundary.proto +// source: composable/txboundary/v1beta1/boundary.proto package types @@ -35,7 +35,7 @@ func (m *Boundary) Reset() { *m = Boundary{} } func (m *Boundary) String() string { return proto.CompactTextString(m) } func (*Boundary) ProtoMessage() {} func (*Boundary) Descriptor() ([]byte, []int) { - return fileDescriptor_668b8d6584310f2c, []int{0} + return fileDescriptor_e14e1db4aab5f12b, []int{0} } func (m *Boundary) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -89,7 +89,7 @@ func (m *LimitPerAddr) Reset() { *m = LimitPerAddr{} } func (m *LimitPerAddr) String() string { return proto.CompactTextString(m) } func (*LimitPerAddr) ProtoMessage() {} func (*LimitPerAddr) Descriptor() ([]byte, []int) { - return fileDescriptor_668b8d6584310f2c, []int{1} + return fileDescriptor_e14e1db4aab5f12b, []int{1} } func (m *LimitPerAddr) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -140,36 +140,36 @@ func (m *LimitPerAddr) GetLatestUpdateBlock() int64 { } func init() { - proto.RegisterType((*Boundary)(nil), "centauri.txboundary.v1beta1.Boundary") - proto.RegisterType((*LimitPerAddr)(nil), "centauri.txboundary.v1beta1.LimitPerAddr") + proto.RegisterType((*Boundary)(nil), "composable.txboundary.v1beta1.Boundary") + proto.RegisterType((*LimitPerAddr)(nil), "composable.txboundary.v1beta1.LimitPerAddr") } func init() { - proto.RegisterFile("centauri/txboundary/v1beta1/boundary.proto", fileDescriptor_668b8d6584310f2c) + proto.RegisterFile("composable/txboundary/v1beta1/boundary.proto", fileDescriptor_e14e1db4aab5f12b) } -var fileDescriptor_668b8d6584310f2c = []byte{ - // 315 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x91, 0x4f, 0x4b, 0xc3, 0x30, - 0x18, 0xc6, 0x17, 0x27, 0x3a, 0x82, 0x7f, 0x3b, 0x85, 0x39, 0x21, 0x8e, 0x81, 0x30, 0x85, 0x35, - 0x4c, 0x3f, 0x81, 0xf3, 0xe0, 0xc5, 0xc3, 0x18, 0x78, 0xd0, 0x4b, 0x49, 0x97, 0xd7, 0x52, 0xec, - 0x9a, 0x92, 0xbe, 0x91, 0xee, 0x5b, 0xec, 0x63, 0x79, 0xdc, 0xd1, 0xa3, 0x6c, 0x5f, 0x44, 0x9a, - 0xac, 0x9b, 0x78, 0xcb, 0xfb, 0xfc, 0x7e, 0x2f, 0x4f, 0x48, 0xe8, 0xed, 0x04, 0x52, 0x14, 0x46, - 0xc7, 0x1c, 0x8b, 0x50, 0x99, 0x54, 0x0a, 0x3d, 0xe3, 0x9f, 0x83, 0x10, 0x50, 0x0c, 0x78, 0x15, - 0xf8, 0x99, 0x56, 0xa8, 0xbc, 0xcb, 0xca, 0xf5, 0xb7, 0xae, 0xbf, 0x76, 0xdb, 0x67, 0x91, 0x8a, - 0x94, 0xf5, 0x78, 0x79, 0x72, 0x2b, 0x6d, 0x16, 0x29, 0x15, 0x25, 0xc0, 0xed, 0x14, 0x9a, 0x77, - 0x2e, 0x8d, 0x16, 0x18, 0xab, 0x74, 0xcd, 0xaf, 0xfe, 0x73, 0x8c, 0xa7, 0x90, 0xa3, 0x98, 0x66, - 0x4e, 0xe8, 0xbe, 0xd2, 0xc6, 0x70, 0x5d, 0xe5, 0x5d, 0xd0, 0x06, 0x16, 0x41, 0x12, 0x4f, 0x63, - 0x6c, 0x91, 0x0e, 0xe9, 0xed, 0x8e, 0xf7, 0xb1, 0x78, 0x2e, 0x47, 0xef, 0x8e, 0x9e, 0x87, 0x89, - 0x9a, 0x7c, 0xe4, 0x41, 0x06, 0x3a, 0x88, 0x20, 0x05, 0x57, 0xd3, 0xda, 0xb1, 0x5e, 0xd3, 0xc1, - 0x11, 0xe8, 0xa7, 0x0d, 0xea, 0xce, 0x09, 0x3d, 0xb0, 0xdb, 0x23, 0xd0, 0x0f, 0x52, 0x6a, 0xef, - 0x9a, 0x1e, 0x49, 0x48, 0x20, 0x12, 0x08, 0xc1, 0x44, 0x99, 0xb4, 0x6a, 0x39, 0xac, 0xd2, 0xc7, - 0x32, 0xf4, 0x6e, 0xe8, 0x89, 0x86, 0x04, 0xe4, 0x5f, 0xd1, 0xd5, 0x1c, 0x6f, 0x73, 0xa7, 0xfa, - 0xb4, 0x99, 0x08, 0x84, 0x1c, 0x03, 0x93, 0xc9, 0xd2, 0xb6, 0xf7, 0x68, 0xd5, 0x3b, 0xa4, 0x57, - 0x1f, 0x9f, 0x3a, 0xf4, 0x62, 0xc9, 0xb0, 0x04, 0xc3, 0xfe, 0xd7, 0x92, 0x91, 0xc5, 0x92, 0x91, - 0x9f, 0x25, 0x23, 0xf3, 0x15, 0xab, 0x2d, 0x56, 0xac, 0xf6, 0xbd, 0x62, 0xb5, 0xb7, 0x66, 0xc1, - 0xb1, 0xe8, 0x6f, 0x7e, 0x08, 0x67, 0x19, 0xe4, 0xe1, 0x9e, 0x7d, 0xa3, 0xfb, 0xdf, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x22, 0x22, 0xfc, 0xbe, 0xc5, 0x01, 0x00, 0x00, +var fileDescriptor_e14e1db4aab5f12b = []byte{ + // 316 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x91, 0xcb, 0x4a, 0x03, 0x31, + 0x14, 0x86, 0x1b, 0x2b, 0x5a, 0x82, 0xd7, 0xa9, 0x42, 0x2d, 0x18, 0x4b, 0x41, 0xa8, 0x60, 0x27, + 0x54, 0x9f, 0xc0, 0xba, 0x70, 0xe3, 0xa2, 0x14, 0x5c, 0xe8, 0x66, 0xc8, 0x34, 0xc7, 0x61, 0x30, + 0x33, 0x19, 0x32, 0x67, 0x64, 0xfa, 0x16, 0x7d, 0x2c, 0x97, 0x5d, 0xba, 0x94, 0xf6, 0x45, 0x64, + 0x92, 0x5e, 0xc4, 0x5d, 0xce, 0xff, 0x7d, 0x87, 0x3f, 0x24, 0xf4, 0x76, 0xa2, 0x93, 0x4c, 0xe7, + 0x22, 0x54, 0xc0, 0xb1, 0x0c, 0x75, 0x91, 0x4a, 0x61, 0xa6, 0xfc, 0x73, 0x10, 0x02, 0x8a, 0x01, + 0x5f, 0x07, 0x7e, 0x66, 0x34, 0x6a, 0xef, 0x72, 0x6b, 0xfb, 0x5b, 0xdb, 0x5f, 0xd9, 0xed, 0xb3, + 0x48, 0x47, 0xda, 0x9a, 0xbc, 0x3a, 0xb9, 0xa5, 0x36, 0x8b, 0xb4, 0x8e, 0x14, 0x70, 0x3b, 0x85, + 0xc5, 0x3b, 0x97, 0x85, 0x11, 0x18, 0xeb, 0x74, 0xc5, 0xaf, 0xfe, 0x73, 0x8c, 0x13, 0xc8, 0x51, + 0x24, 0x99, 0x13, 0xba, 0xaf, 0xb4, 0x31, 0x5c, 0x55, 0x79, 0x17, 0xb4, 0x81, 0x65, 0xa0, 0xe2, + 0x24, 0xc6, 0x16, 0xe9, 0x90, 0xde, 0xee, 0x78, 0x1f, 0xcb, 0xe7, 0x6a, 0xf4, 0xee, 0xe8, 0x79, + 0xa8, 0xf4, 0xe4, 0x23, 0x0f, 0x32, 0x30, 0x41, 0x04, 0x29, 0xb8, 0x9a, 0xd6, 0x8e, 0xf5, 0x9a, + 0x0e, 0x8e, 0xc0, 0x3c, 0x6d, 0x50, 0x77, 0x46, 0xe8, 0x81, 0xdd, 0x1e, 0x81, 0x79, 0x90, 0xd2, + 0x78, 0xd7, 0xf4, 0x48, 0x82, 0x82, 0x48, 0x20, 0x04, 0x13, 0x5d, 0xa4, 0xeb, 0x96, 0xc3, 0x75, + 0xfa, 0x58, 0x85, 0xde, 0x0d, 0x3d, 0x31, 0xa0, 0x40, 0xfe, 0x15, 0x5d, 0xcd, 0xf1, 0x36, 0x77, + 0xaa, 0x4f, 0x9b, 0x4a, 0x20, 0xe4, 0x18, 0x14, 0x99, 0xac, 0x6c, 0x7b, 0x8f, 0x56, 0xbd, 0x43, + 0x7a, 0xf5, 0xf1, 0xa9, 0x43, 0x2f, 0x96, 0x0c, 0x2b, 0x30, 0xec, 0x7f, 0x2d, 0x18, 0x99, 0x2f, + 0x18, 0xf9, 0x59, 0x30, 0x32, 0x5b, 0xb2, 0xda, 0x7c, 0xc9, 0x6a, 0xdf, 0x4b, 0x56, 0x7b, 0x6b, + 0x96, 0x1c, 0xcb, 0xfe, 0xe6, 0x8f, 0x70, 0x9a, 0x41, 0x1e, 0xee, 0xd9, 0x37, 0xba, 0xff, 0x0d, + 0x00, 0x00, 0xff, 0xff, 0x1e, 0xb8, 0xc4, 0xdf, 0xc9, 0x01, 0x00, 0x00, } func (m *Boundary) Marshal() (dAtA []byte, err error) { diff --git a/x/tx-boundary/types/genesis.pb.go b/x/tx-boundary/types/genesis.pb.go index 1b5ebc1c4..5dd49f555 100644 --- a/x/tx-boundary/types/genesis.pb.go +++ b/x/tx-boundary/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: centauri/txboundary/v1beta1/genesis.proto +// source: composable/txboundary/v1beta1/genesis.proto package types @@ -34,7 +34,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} } func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_bce53872d9978801, []int{0} + return fileDescriptor_c1ab2ed0b2bac76a, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -78,31 +78,31 @@ func (m *GenesisState) GetRedelegateBoundary() Boundary { } func init() { - proto.RegisterType((*GenesisState)(nil), "centauri.txboundary.v1beta1.GenesisState") + proto.RegisterType((*GenesisState)(nil), "composable.txboundary.v1beta1.GenesisState") } func init() { - proto.RegisterFile("centauri/txboundary/v1beta1/genesis.proto", fileDescriptor_bce53872d9978801) + proto.RegisterFile("composable/txboundary/v1beta1/genesis.proto", fileDescriptor_c1ab2ed0b2bac76a) } -var fileDescriptor_bce53872d9978801 = []byte{ - // 241 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4c, 0x4e, 0xcd, 0x2b, - 0x49, 0x2c, 0x2d, 0xca, 0xd4, 0x2f, 0xa9, 0x48, 0xca, 0x2f, 0xcd, 0x4b, 0x49, 0x2c, 0xaa, 0xd4, - 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, - 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x86, 0x29, 0xd5, 0x43, 0x28, 0xd5, 0x83, 0x2a, 0x95, - 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0xab, 0xd3, 0x07, 0xb1, 0x20, 0x5a, 0xa4, 0xb4, 0xf0, 0x99, - 0x0e, 0x37, 0x03, 0xac, 0x56, 0xa9, 0x81, 0x89, 0x8b, 0xc7, 0x1d, 0x62, 0x61, 0x70, 0x49, 0x62, - 0x49, 0xaa, 0x50, 0x09, 0x97, 0x60, 0x4a, 0x6a, 0x4e, 0x6a, 0x7a, 0x62, 0x49, 0x6a, 0x3c, 0x4c, - 0xad, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0xb7, 0x91, 0xaa, 0x1e, 0x1e, 0xb7, 0xe8, 0x39, 0x41, 0x05, - 0x9c, 0x14, 0x4e, 0xdc, 0x93, 0x67, 0xf8, 0x74, 0x4f, 0x5e, 0xa2, 0x32, 0x31, 0x37, 0xc7, 0x4a, - 0x09, 0xc3, 0x34, 0xa5, 0x20, 0x01, 0x98, 0x18, 0x4c, 0x8f, 0x50, 0x15, 0x97, 0x70, 0x51, 0x2a, - 0xa6, 0xbd, 0x4c, 0xa4, 0xd8, 0xab, 0x04, 0xb5, 0x57, 0x0a, 0x62, 0x2f, 0x16, 0xf3, 0x94, 0x82, - 0x84, 0x10, 0xa2, 0x70, 0x7d, 0xba, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, 0xe0, - 0x91, 0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, - 0x25, 0x5c, 0xa1, 0x5f, 0x52, 0xa1, 0x0b, 0x0f, 0xc2, 0x92, 0xca, 0x82, 0xd4, 0xe2, 0x24, 0x36, - 0x70, 0xc0, 0x19, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x26, 0x2f, 0x29, 0x14, 0xc4, 0x01, 0x00, - 0x00, +var fileDescriptor_c1ab2ed0b2bac76a = []byte{ + // 243 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4e, 0xce, 0xcf, 0x2d, + 0xc8, 0x2f, 0x4e, 0x4c, 0xca, 0x49, 0xd5, 0x2f, 0xa9, 0x48, 0xca, 0x2f, 0xcd, 0x4b, 0x49, 0x2c, + 0xaa, 0xd4, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, + 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x45, 0x28, 0xd6, 0x43, 0x28, 0xd6, 0x83, + 0x2a, 0x96, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0xab, 0xd4, 0x07, 0xb1, 0x20, 0x9a, 0xa4, 0x74, + 0xf0, 0xdb, 0x00, 0x37, 0x05, 0xac, 0x5a, 0xa9, 0x85, 0x89, 0x8b, 0xc7, 0x1d, 0x62, 0x69, 0x70, + 0x49, 0x62, 0x49, 0xaa, 0x50, 0x19, 0x97, 0x60, 0x4a, 0x6a, 0x4e, 0x6a, 0x7a, 0x62, 0x49, 0x6a, + 0x3c, 0x4c, 0xad, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0xb7, 0x91, 0xba, 0x1e, 0x5e, 0xf7, 0xe8, 0x39, + 0x41, 0x05, 0x9c, 0x14, 0x4e, 0xdc, 0x93, 0x67, 0xf8, 0x74, 0x4f, 0x5e, 0xa2, 0x32, 0x31, 0x37, + 0xc7, 0x4a, 0x09, 0xc3, 0x3c, 0xa5, 0x20, 0x01, 0x98, 0x18, 0x4c, 0x8f, 0x50, 0x0d, 0x97, 0x70, + 0x51, 0x2a, 0xa6, 0xcd, 0x4c, 0xa4, 0xd9, 0xac, 0x04, 0xb5, 0x59, 0x0a, 0x62, 0x33, 0x16, 0x13, + 0x95, 0x82, 0x84, 0x10, 0xa2, 0x70, 0x7d, 0xba, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, + 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, + 0xc7, 0x10, 0x25, 0x5c, 0xa1, 0x5f, 0x52, 0xa1, 0x0b, 0x0f, 0xc6, 0x92, 0xca, 0x82, 0xd4, 0xe2, + 0x24, 0x36, 0x70, 0xe0, 0x19, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xbb, 0xbf, 0x49, 0xcc, 0xce, + 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/tx-boundary/types/query.pb.go b/x/tx-boundary/types/query.pb.go index 462aaf6d0..d55e50cee 100644 --- a/x/tx-boundary/types/query.pb.go +++ b/x/tx-boundary/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: centauri/txboundary/v1beta1/query.proto +// source: composable/txboundary/v1beta1/query.proto package types @@ -37,7 +37,7 @@ func (m *QueryDelegateBoundaryRequest) Reset() { *m = QueryDelegateBound func (m *QueryDelegateBoundaryRequest) String() string { return proto.CompactTextString(m) } func (*QueryDelegateBoundaryRequest) ProtoMessage() {} func (*QueryDelegateBoundaryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9eb43e8f98660cf8, []int{0} + return fileDescriptor_822e9740fb1ae211, []int{0} } func (m *QueryDelegateBoundaryRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -76,7 +76,7 @@ func (m *QueryDelegateBoundaryResponse) Reset() { *m = QueryDelegateBoun func (m *QueryDelegateBoundaryResponse) String() string { return proto.CompactTextString(m) } func (*QueryDelegateBoundaryResponse) ProtoMessage() {} func (*QueryDelegateBoundaryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9eb43e8f98660cf8, []int{1} + return fileDescriptor_822e9740fb1ae211, []int{1} } func (m *QueryDelegateBoundaryResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -120,7 +120,7 @@ func (m *QueryRedelegateBoundaryRequest) Reset() { *m = QueryRedelegateB func (m *QueryRedelegateBoundaryRequest) String() string { return proto.CompactTextString(m) } func (*QueryRedelegateBoundaryRequest) ProtoMessage() {} func (*QueryRedelegateBoundaryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9eb43e8f98660cf8, []int{2} + return fileDescriptor_822e9740fb1ae211, []int{2} } func (m *QueryRedelegateBoundaryRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -160,7 +160,7 @@ func (m *QueryRedelegateBoundaryResponse) Reset() { *m = QueryRedelegate func (m *QueryRedelegateBoundaryResponse) String() string { return proto.CompactTextString(m) } func (*QueryRedelegateBoundaryResponse) ProtoMessage() {} func (*QueryRedelegateBoundaryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9eb43e8f98660cf8, []int{3} + return fileDescriptor_822e9740fb1ae211, []int{3} } func (m *QueryRedelegateBoundaryResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -197,40 +197,40 @@ func (m *QueryRedelegateBoundaryResponse) GetBoundary() Boundary { } func init() { - proto.RegisterType((*QueryDelegateBoundaryRequest)(nil), "centauri.txboundary.v1beta1.QueryDelegateBoundaryRequest") - proto.RegisterType((*QueryDelegateBoundaryResponse)(nil), "centauri.txboundary.v1beta1.QueryDelegateBoundaryResponse") - proto.RegisterType((*QueryRedelegateBoundaryRequest)(nil), "centauri.txboundary.v1beta1.QueryRedelegateBoundaryRequest") - proto.RegisterType((*QueryRedelegateBoundaryResponse)(nil), "centauri.txboundary.v1beta1.QueryRedelegateBoundaryResponse") + proto.RegisterType((*QueryDelegateBoundaryRequest)(nil), "composable.txboundary.v1beta1.QueryDelegateBoundaryRequest") + proto.RegisterType((*QueryDelegateBoundaryResponse)(nil), "composable.txboundary.v1beta1.QueryDelegateBoundaryResponse") + proto.RegisterType((*QueryRedelegateBoundaryRequest)(nil), "composable.txboundary.v1beta1.QueryRedelegateBoundaryRequest") + proto.RegisterType((*QueryRedelegateBoundaryResponse)(nil), "composable.txboundary.v1beta1.QueryRedelegateBoundaryResponse") } func init() { - proto.RegisterFile("centauri/txboundary/v1beta1/query.proto", fileDescriptor_9eb43e8f98660cf8) -} - -var fileDescriptor_9eb43e8f98660cf8 = []byte{ - // 340 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x52, 0x3d, 0x4b, 0xc3, 0x40, - 0x18, 0xce, 0xf9, 0x85, 0x9c, 0x8b, 0x9c, 0x0e, 0x12, 0xeb, 0xb5, 0x04, 0x44, 0x51, 0x92, 0xa3, - 0x2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0xe3, 0x9f, 0xdb, 0x54, 0x1e, 0x17, 0xe9, 0x72, 0x14, 0xc6, - 0x9e, 0x09, 0x5d, 0x9f, 0x5d, 0xcf, 0x8e, 0x73, 0x5d, 0xf3, 0x2e, 0x6a, 0x9e, 0xcc, 0x23, 0x9d, - 0xce, 0xb3, 0xaa, 0xf7, 0xaf, 0x9f, 0x4f, 0x0b, 0x36, 0x3b, 0x14, 0x4d, 0x54, 0xb7, 0xa8, 0x7e, - 0x7b, 0xe0, 0xe4, 0x36, 0x09, 0xc0, 0x5e, 0x08, 0x65, 0x3f, 0x4f, 0xc6, 0x4e, 0xff, 0xee, 0x91, - 0xf9, 0x14, 0xe6, 0xd9, 0x7c, 0xe2, 0x78, 0xc6, 0x51, 0x34, 0x43, 0x30, 0x3b, 0x67, 0x46, 0x00, - 0xb3, 0x43, 0x6a, 0xf6, 0x60, 0xc4, 0xc9, 0x70, 0xc4, 0xc9, 0xc7, 0x88, 0x93, 0x87, 0x31, 0x37, - 0x86, 0x63, 0x6e, 0xbc, 0x8d, 0xb9, 0x71, 0xb5, 0xd1, 0x13, 0xba, 0x67, 0xa7, 0x1e, 0xba, 0xef, - 0x83, 0x6a, 0xac, 0x44, 0x7f, 0x78, 0xf5, 0x2b, 0x00, 0x00, 0xff, 0xff, 0x5c, 0xd6, 0xca, 0x4a, - 0x89, 0x03, 0x00, 0x00, + proto.RegisterFile("composable/txboundary/v1beta1/query.proto", fileDescriptor_822e9740fb1ae211) +} + +var fileDescriptor_822e9740fb1ae211 = []byte{ + // 344 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x52, 0x3d, 0x4b, 0xfb, 0x40, + 0x18, 0xcf, 0xfd, 0x5f, 0x44, 0xce, 0x45, 0x4e, 0x07, 0x09, 0xed, 0xb5, 0x64, 0x51, 0xd1, 0xe4, + 0x68, 0x8b, 0x93, 0x2f, 0x43, 0x71, 0x71, 0x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x2f, + 0xfd, 0x1f, 0xdb, 0xb1, 0x47, 0x42, 0x37, 0x97, 0x17, 0x60, 0xc7, 0xdf, 0xe8, 0xe6, 0xed, 0x6a, + 0x9e, 0xac, 0x46, 0x9e, 0x95, 0xb4, 0x6a, 0xb7, 0xcf, 0xef, 0xf7, 0x7f, 0x6c, 0x76, 0x20, 0x9a, + 0xa8, 0x3a, 0xa8, 0xbe, 0x7a, 0xe8, 0x74, 0xa1, 0xf4, 0xc0, 0x9e, 0x08, 0x65, 0x9f, 0x87, 0x63, + 0xa7, 0x3f, 0x49, 0x92, 0xf9, 0x24, 0xe6, 0xd9, 0xaa, 0xf4, 0xa4, 0xca, 0x51, 0x5c, 0x45, 0x30, + 0x3b, 0xa7, 0x4a, 0x04, 0xcb, 0x65, 0xea, 0xf6, 0x70, 0xcc, 0xc9, 0x68, 0xcc, 0xc9, 0xdb, 0x98, + 0x93, 0xbb, 0x09, 0x37, 0x46, 0x13, 0x6e, 0xbc, 0x4c, 0xb8, 0x71, 0xb5, 0xd5, 0x17, 0xba, 0x6f, + 0xcf, 0x35, 0xf4, 0x20, 0x04, 0xe5, 0xae, 0xc5, 0x7f, 0x7b, 0xed, 0x23, 0x00, 0x00, 0xff, 0xff, + 0x6d, 0x4e, 0xd5, 0x97, 0x9b, 0x03, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -261,7 +261,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) DelegateBoundary(ctx context.Context, in *QueryDelegateBoundaryRequest, opts ...grpc.CallOption) (*QueryDelegateBoundaryResponse, error) { out := new(QueryDelegateBoundaryResponse) - err := c.cc.Invoke(ctx, "/centauri.txboundary.v1beta1.Query/DelegateBoundary", in, out, opts...) + err := c.cc.Invoke(ctx, "/composable.txboundary.v1beta1.Query/DelegateBoundary", in, out, opts...) if err != nil { return nil, err } @@ -270,7 +270,7 @@ func (c *queryClient) DelegateBoundary(ctx context.Context, in *QueryDelegateBou func (c *queryClient) RedelegateBoundary(ctx context.Context, in *QueryRedelegateBoundaryRequest, opts ...grpc.CallOption) (*QueryRedelegateBoundaryResponse, error) { out := new(QueryRedelegateBoundaryResponse) - err := c.cc.Invoke(ctx, "/centauri.txboundary.v1beta1.Query/RedelegateBoundary", in, out, opts...) + err := c.cc.Invoke(ctx, "/composable.txboundary.v1beta1.Query/RedelegateBoundary", in, out, opts...) if err != nil { return nil, err } @@ -310,7 +310,7 @@ func _Query_DelegateBoundary_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/centauri.txboundary.v1beta1.Query/DelegateBoundary", + FullMethod: "/composable.txboundary.v1beta1.Query/DelegateBoundary", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).DelegateBoundary(ctx, req.(*QueryDelegateBoundaryRequest)) @@ -328,7 +328,7 @@ func _Query_RedelegateBoundary_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/centauri.txboundary.v1beta1.Query/RedelegateBoundary", + FullMethod: "/composable.txboundary.v1beta1.Query/RedelegateBoundary", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RedelegateBoundary(ctx, req.(*QueryRedelegateBoundaryRequest)) @@ -337,7 +337,7 @@ func _Query_RedelegateBoundary_Handler(srv interface{}, ctx context.Context, dec } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "centauri.txboundary.v1beta1.Query", + ServiceName: "composable.txboundary.v1beta1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -350,7 +350,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "centauri/txboundary/v1beta1/query.proto", + Metadata: "composable/txboundary/v1beta1/query.proto", } func (m *QueryDelegateBoundaryRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/tx-boundary/types/query.pb.gw.go b/x/tx-boundary/types/query.pb.gw.go index 54a830aea..689b9131f 100644 --- a/x/tx-boundary/types/query.pb.gw.go +++ b/x/tx-boundary/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: centauri/txboundary/v1beta1/query.proto +// source: composable/txboundary/v1beta1/query.proto /* Package types is a reverse proxy. diff --git a/x/tx-boundary/types/tx.pb.go b/x/tx-boundary/types/tx.pb.go index e96348dd7..9c0d0f131 100644 --- a/x/tx-boundary/types/tx.pb.go +++ b/x/tx-boundary/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: centauri/txboundary/v1beta1/tx.proto +// source: composable/txboundary/v1beta1/tx.proto package types @@ -49,7 +49,7 @@ func (m *MsgUpdateDelegateBoundary) Reset() { *m = MsgUpdateDelegateBoun func (m *MsgUpdateDelegateBoundary) String() string { return proto.CompactTextString(m) } func (*MsgUpdateDelegateBoundary) ProtoMessage() {} func (*MsgUpdateDelegateBoundary) Descriptor() ([]byte, []int) { - return fileDescriptor_148586c432693946, []int{0} + return fileDescriptor_1ffb37c7b5b6c2ca, []int{0} } func (m *MsgUpdateDelegateBoundary) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -103,7 +103,7 @@ func (m *MsgUpdateDelegateBoundaryResponse) Reset() { *m = MsgUpdateDele func (m *MsgUpdateDelegateBoundaryResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateDelegateBoundaryResponse) ProtoMessage() {} func (*MsgUpdateDelegateBoundaryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_148586c432693946, []int{1} + return fileDescriptor_1ffb37c7b5b6c2ca, []int{1} } func (m *MsgUpdateDelegateBoundaryResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -149,7 +149,7 @@ func (m *MsgUpdateRedelegateBoundary) Reset() { *m = MsgUpdateRedelegate func (m *MsgUpdateRedelegateBoundary) String() string { return proto.CompactTextString(m) } func (*MsgUpdateRedelegateBoundary) ProtoMessage() {} func (*MsgUpdateRedelegateBoundary) Descriptor() ([]byte, []int) { - return fileDescriptor_148586c432693946, []int{2} + return fileDescriptor_1ffb37c7b5b6c2ca, []int{2} } func (m *MsgUpdateRedelegateBoundary) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -203,7 +203,7 @@ func (m *MsgUpdateRedelegateBoundaryResponse) Reset() { *m = MsgUpdateRe func (m *MsgUpdateRedelegateBoundaryResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateRedelegateBoundaryResponse) ProtoMessage() {} func (*MsgUpdateRedelegateBoundaryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_148586c432693946, []int{3} + return fileDescriptor_1ffb37c7b5b6c2ca, []int{3} } func (m *MsgUpdateRedelegateBoundaryResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -233,44 +233,44 @@ func (m *MsgUpdateRedelegateBoundaryResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgUpdateRedelegateBoundaryResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*MsgUpdateDelegateBoundary)(nil), "centauri.txboundary.v1beta1.MsgUpdateDelegateBoundary") - proto.RegisterType((*MsgUpdateDelegateBoundaryResponse)(nil), "centauri.txboundary.v1beta1.MsgUpdateDelegateBoundaryResponse") - proto.RegisterType((*MsgUpdateRedelegateBoundary)(nil), "centauri.txboundary.v1beta1.MsgUpdateRedelegateBoundary") - proto.RegisterType((*MsgUpdateRedelegateBoundaryResponse)(nil), "centauri.txboundary.v1beta1.MsgUpdateRedelegateBoundaryResponse") + proto.RegisterType((*MsgUpdateDelegateBoundary)(nil), "composable.txboundary.v1beta1.MsgUpdateDelegateBoundary") + proto.RegisterType((*MsgUpdateDelegateBoundaryResponse)(nil), "composable.txboundary.v1beta1.MsgUpdateDelegateBoundaryResponse") + proto.RegisterType((*MsgUpdateRedelegateBoundary)(nil), "composable.txboundary.v1beta1.MsgUpdateRedelegateBoundary") + proto.RegisterType((*MsgUpdateRedelegateBoundaryResponse)(nil), "composable.txboundary.v1beta1.MsgUpdateRedelegateBoundaryResponse") } func init() { - proto.RegisterFile("centauri/txboundary/v1beta1/tx.proto", fileDescriptor_148586c432693946) -} - -var fileDescriptor_148586c432693946 = []byte{ - // 407 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x49, 0x4e, 0xcd, 0x2b, - 0x49, 0x2c, 0x2d, 0xca, 0xd4, 0x2f, 0xa9, 0x48, 0xca, 0x2f, 0xcd, 0x4b, 0x49, 0x2c, 0xaa, 0xd4, - 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, - 0x17, 0x92, 0x86, 0xa9, 0xd2, 0x43, 0xa8, 0xd2, 0x83, 0xaa, 0x92, 0x12, 0x4f, 0xce, 0x2f, 0xce, - 0xcd, 0x2f, 0xd6, 0xcf, 0x2d, 0x4e, 0xd7, 0x2f, 0x33, 0x04, 0x51, 0x10, 0x5d, 0x52, 0x82, 0x89, - 0xb9, 0x99, 0x79, 0xf9, 0xfa, 0x60, 0x12, 0x2a, 0x24, 0x92, 0x9e, 0x9f, 0x9e, 0x0f, 0x66, 0xea, - 0x83, 0x58, 0x50, 0x51, 0x49, 0x88, 0x09, 0xf1, 0x10, 0x09, 0x08, 0x07, 0x2a, 0xa5, 0x85, 0xcf, - 0x7d, 0x70, 0xa7, 0x40, 0xd4, 0xca, 0x41, 0x1d, 0x92, 0x94, 0x58, 0x9c, 0x0a, 0x57, 0x93, 0x9c, - 0x9f, 0x99, 0x07, 0x91, 0x57, 0x7a, 0xca, 0xc8, 0x25, 0xe9, 0x5b, 0x9c, 0x1e, 0x5a, 0x90, 0x92, - 0x58, 0x92, 0xea, 0x92, 0x9a, 0x93, 0x9a, 0x9e, 0x58, 0x92, 0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8, 0xd5, 0x09, 0x73, 0x98, 0x14, 0x6b, 0x03, 0x28, 0xbe, 0x9c, 0x74, 0x4f, 0x3c, 0x92, - 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, - 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0x4a, 0x18, 0x14, 0x47, 0xba, 0xf0, 0x48, 0x2a, 0xa9, - 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, 0x67, 0x47, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x2e, - 0x6a, 0x87, 0xa9, 0x7c, 0x04, 0x00, 0x00, + proto.RegisterFile("composable/txboundary/v1beta1/tx.proto", fileDescriptor_1ffb37c7b5b6c2ca) +} + +var fileDescriptor_1ffb37c7b5b6c2ca = []byte{ + // 410 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4b, 0xce, 0xcf, 0x2d, + 0xc8, 0x2f, 0x4e, 0x4c, 0xca, 0x49, 0xd5, 0x2f, 0xa9, 0x48, 0xca, 0x2f, 0xcd, 0x4b, 0x49, 0x2c, + 0xaa, 0xd4, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, + 0x2f, 0xc9, 0x17, 0x92, 0x45, 0xa8, 0xd3, 0x43, 0xa8, 0xd3, 0x83, 0xaa, 0x93, 0x12, 0x4f, 0xce, + 0x2f, 0xce, 0xcd, 0x2f, 0xd6, 0xcf, 0x2d, 0x4e, 0xd7, 0x2f, 0x33, 0x04, 0x51, 0x10, 0x7d, 0x52, + 0x82, 0x89, 0xb9, 0x99, 0x79, 0xf9, 0xfa, 0x60, 0x12, 0x2a, 0x24, 0x92, 0x9e, 0x9f, 0x9e, 0x0f, + 0x66, 0xea, 0x83, 0x58, 0x50, 0x51, 0x49, 0x88, 0x09, 0xf1, 0x10, 0x09, 0x08, 0x07, 0x2a, 0xa5, + 0x83, 0xdf, 0x8d, 0x70, 0xc7, 0x40, 0x54, 0xcb, 0x41, 0x9d, 0x92, 0x94, 0x58, 0x9c, 0x0a, 0x57, + 0x93, 0x9c, 0x9f, 0x99, 0x07, 0x91, 0x57, 0x7a, 0xc9, 0xc8, 0x25, 0xe9, 0x5b, 0x9c, 0x1e, 0x5a, + 0x90, 0x92, 0x58, 0x92, 0xea, 0x92, 0x9a, 0x93, 0x9a, 0x9e, 0x58, 0x92, 0xea, 0x04, 0x35, 0x43, + 0xc8, 0x8c, 0x8b, 0x33, 0xb1, 0xb4, 0x24, 0x23, 0xbf, 0x28, 0xb3, 0xa4, 0x52, 0x82, 0x51, 0x81, + 0x51, 0x83, 0xd3, 0x49, 0xe2, 0xd2, 0x16, 0x5d, 0x11, 0xa8, 0x83, 0x1c, 0x53, 0x52, 0x8a, 0x52, + 0x8b, 0x8b, 0x83, 0x4b, 0x8a, 0x32, 0xf3, 0xd2, 0x83, 0x10, 0x4a, 0x85, 0xfc, 0xb8, 0x38, 0x60, + 0xee, 0x90, 0x60, 0x52, 0x60, 0xd4, 0xe0, 0x36, 0x52, 0xd7, 0xc3, 0x1b, 0x64, 0x7a, 0x30, 0x2b, + 0x9d, 0x38, 0x4f, 0xdc, 0x93, 0x67, 0x58, 0xf1, 0x7c, 0x83, 0x16, 0x63, 0x10, 0xdc, 0x0c, 0x2b, + 0x97, 0xa6, 0xe7, 0x1b, 0xb4, 0x10, 0xe6, 0x77, 0x3d, 0xdf, 0xa0, 0x65, 0x88, 0x14, 0x0c, 0x15, + 0xc8, 0x01, 0x81, 0xd3, 0x37, 0x4a, 0xca, 0x5c, 0x8a, 0x38, 0x25, 0x83, 0x52, 0x8b, 0x0b, 0xf2, + 0xf3, 0x8a, 0x53, 0x95, 0x5e, 0x33, 0x72, 0x49, 0xc3, 0x55, 0x05, 0xa5, 0xa6, 0x0c, 0xef, 0x20, + 0x51, 0xe5, 0x52, 0xc6, 0xe3, 0x59, 0x58, 0xa0, 0x18, 0x1d, 0x60, 0xe2, 0x62, 0xf6, 0x2d, 0x4e, + 0x17, 0x9a, 0xc2, 0xc8, 0x25, 0x86, 0x23, 0xa9, 0x58, 0x10, 0xf0, 0x0d, 0x4e, 0x37, 0x48, 0x39, + 0x90, 0xab, 0x13, 0xe6, 0x3c, 0xa1, 0x59, 0x8c, 0x5c, 0x12, 0x38, 0x23, 0xcc, 0x8a, 0x58, 0xe3, + 0x31, 0xf5, 0x4a, 0x39, 0x91, 0xaf, 0x17, 0xe6, 0x38, 0x29, 0xd6, 0x06, 0x50, 0xcc, 0x39, 0xe9, + 0x9e, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, + 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x30, 0x28, 0xae, 0x74, 0xe1, + 0x91, 0x55, 0x52, 0x59, 0x90, 0x5a, 0x9c, 0xc4, 0x06, 0xce, 0x9e, 0xc6, 0x80, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xd8, 0x22, 0xe6, 0x27, 0x92, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -299,7 +299,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { func (c *msgClient) UpdateDelegateBoundary(ctx context.Context, in *MsgUpdateDelegateBoundary, opts ...grpc.CallOption) (*MsgUpdateDelegateBoundaryResponse, error) { out := new(MsgUpdateDelegateBoundaryResponse) - err := c.cc.Invoke(ctx, "/centauri.txboundary.v1beta1.Msg/UpdateDelegateBoundary", in, out, opts...) + err := c.cc.Invoke(ctx, "/composable.txboundary.v1beta1.Msg/UpdateDelegateBoundary", in, out, opts...) if err != nil { return nil, err } @@ -308,7 +308,7 @@ func (c *msgClient) UpdateDelegateBoundary(ctx context.Context, in *MsgUpdateDel func (c *msgClient) UpdateRedelegateBoundary(ctx context.Context, in *MsgUpdateRedelegateBoundary, opts ...grpc.CallOption) (*MsgUpdateRedelegateBoundaryResponse, error) { out := new(MsgUpdateRedelegateBoundaryResponse) - err := c.cc.Invoke(ctx, "/centauri.txboundary.v1beta1.Msg/UpdateRedelegateBoundary", in, out, opts...) + err := c.cc.Invoke(ctx, "/composable.txboundary.v1beta1.Msg/UpdateRedelegateBoundary", in, out, opts...) if err != nil { return nil, err } @@ -346,7 +346,7 @@ func _Msg_UpdateDelegateBoundary_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/centauri.txboundary.v1beta1.Msg/UpdateDelegateBoundary", + FullMethod: "/composable.txboundary.v1beta1.Msg/UpdateDelegateBoundary", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).UpdateDelegateBoundary(ctx, req.(*MsgUpdateDelegateBoundary)) @@ -364,7 +364,7 @@ func _Msg_UpdateRedelegateBoundary_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/centauri.txboundary.v1beta1.Msg/UpdateRedelegateBoundary", + FullMethod: "/composable.txboundary.v1beta1.Msg/UpdateRedelegateBoundary", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).UpdateRedelegateBoundary(ctx, req.(*MsgUpdateRedelegateBoundary)) @@ -373,7 +373,7 @@ func _Msg_UpdateRedelegateBoundary_Handler(srv interface{}, ctx context.Context, } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "centauri.txboundary.v1beta1.Msg", + ServiceName: "composable.txboundary.v1beta1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -386,7 +386,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "centauri/txboundary/v1beta1/tx.proto", + Metadata: "composable/txboundary/v1beta1/tx.proto", } func (m *MsgUpdateDelegateBoundary) Marshal() (dAtA []byte, err error) { From a124c83150f628e8f5c6cde831ccf81003feab39 Mon Sep 17 00:00:00 2001 From: GnaD13 Date: Mon, 25 Sep 2023 17:23:15 +0700 Subject: [PATCH 04/24] nit --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index e3057e107..65889cf92 100644 --- a/go.mod +++ b/go.mod @@ -323,7 +323,7 @@ replace ( // ibc-go with wasm client github.com/cosmos/ibc-go/v7 => github.com/notional-labs/ibc-go/v7 v7.0.1-wasm-client.0.20230724144435-2b77d4a1ce70 - github.com/strangelove-ventures/packet-forward-middleware/v7 => github.com/notional-labs/packet-forward-middleware/v7 v7.0.0-20230828115741-8f5f501461be + github.com/strangelove-ventures/packet-forward-middleware/v7 => github.com/notional-labs/packet-forward-middleware/v7 v7.0.0-20230925101950-dfce13ebda33 github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 github.com/terra-money/alliance => github.com/notional-labs/alliance v1.0.1-0.20230523105704-66dba9499c01 From 9069b41e5a6c65fb518d0b52959080f67d8f989f Mon Sep 17 00:00:00 2001 From: GnaD13 Date: Mon, 25 Sep 2023 17:33:33 +0700 Subject: [PATCH 05/24] cmd --- .../cmd/bech32_convert.go | 0 .../cmd/genaccounts.go | 0 cmd/{composabled => centaurid}/cmd/root.go | 0 .../config/config.go | 0 cmd/{composabled => centaurid}/main.go | 0 go.sum | 9 +- .../composable/ratelimit/v1beta1/query.proto | 2 +- .../ratelimit/v1beta1/ratelimit.proto | 2 +- proto/composable/ratelimit/v1beta1/tx.proto | 8 +- .../v1beta1/parachain_token_info.proto | 5 +- .../transfermiddleware/v1beta1/tx.proto | 5 +- x/ratelimit/types/query.pb.go | 101 ++++++------ x/ratelimit/types/ratelimit.pb.go | 90 +++++----- x/ratelimit/types/tx.pb.go | 155 +++++++++--------- .../types/parachain_token_info.pb.go | 73 +++++---- x/transfermiddleware/types/tx.pb.go | 89 +++++----- 16 files changed, 272 insertions(+), 267 deletions(-) rename cmd/{composabled => centaurid}/cmd/bech32_convert.go (100%) rename cmd/{composabled => centaurid}/cmd/genaccounts.go (100%) rename cmd/{composabled => centaurid}/cmd/root.go (100%) rename cmd/{composabled => centaurid}/config/config.go (100%) rename cmd/{composabled => centaurid}/main.go (100%) diff --git a/cmd/composabled/cmd/bech32_convert.go b/cmd/centaurid/cmd/bech32_convert.go similarity index 100% rename from cmd/composabled/cmd/bech32_convert.go rename to cmd/centaurid/cmd/bech32_convert.go diff --git a/cmd/composabled/cmd/genaccounts.go b/cmd/centaurid/cmd/genaccounts.go similarity index 100% rename from cmd/composabled/cmd/genaccounts.go rename to cmd/centaurid/cmd/genaccounts.go diff --git a/cmd/composabled/cmd/root.go b/cmd/centaurid/cmd/root.go similarity index 100% rename from cmd/composabled/cmd/root.go rename to cmd/centaurid/cmd/root.go diff --git a/cmd/composabled/config/config.go b/cmd/centaurid/config/config.go similarity index 100% rename from cmd/composabled/config/config.go rename to cmd/centaurid/config/config.go diff --git a/cmd/composabled/main.go b/cmd/centaurid/main.go similarity index 100% rename from cmd/composabled/main.go rename to cmd/centaurid/main.go diff --git a/go.sum b/go.sum index aaacdf0c0..acb3d5227 100644 --- a/go.sum +++ b/go.sum @@ -277,7 +277,6 @@ github.com/aws/aws-sdk-go v1.44.203 h1:pcsP805b9acL3wUqa4JR2vg1k2wnItkDYNvfmcy6F github.com/aws/aws-sdk-go v1.44.203/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g= github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= -github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= @@ -362,7 +361,6 @@ github.com/containerd/continuity v0.3.0 h1:nisirsYROK15TAMVukJOUyGJjz4BNQJBVsNvA github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk= github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= -github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= @@ -411,7 +409,6 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/decred/dcrd/crypto/blake256 v1.0.0 h1:/8DMNYp9SGi5f0w7uCm6d6M4OU2rGFK09Y2A4Xv7EE0= -github.com/decred/dcrd/crypto/blake256 v1.0.0/go.mod h1:sQl2p6Y26YV+ZOcSTP6thNdn47hh8kt6rqSlvmrXFAc= github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 h1:HbphB4TFFXpv7MNrT52FGrrgVXF1owhMVTHFZIlnvd4= github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0/go.mod h1:DZGJHZMqrU4JJqFAWUS2UO1+lbSKsdiOoYi9Zzey7Fc= github.com/denis-tingaikin/go-header v0.4.3 h1:tEaZKAlqql6SKCY++utLmkPLd6K8IBM20Ha7UVm+mtU= @@ -752,7 +749,6 @@ github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+l github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= -github.com/hashicorp/go-rootcerts v1.0.2/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8= github.com/hashicorp/go-safetemp v1.0.0 h1:2HR189eFNrjHQyENnQMMpCiBAsRxzbTMIgBhEyExpmo= github.com/hashicorp/go-safetemp v1.0.0/go.mod h1:oaerMy3BhqiTbVye6QuFhFtIceqFoDHxNAB65b+Rj1I= github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= @@ -971,8 +967,8 @@ github.com/notional-labs/alliance v1.0.1-0.20230523105704-66dba9499c01 h1:koCsoc github.com/notional-labs/alliance v1.0.1-0.20230523105704-66dba9499c01/go.mod h1:GFQ8TsXDMTpu7kif0Dwddz6rxazy0ZJQHfN38ZmAodI= github.com/notional-labs/ibc-go/v7 v7.0.1-wasm-client.0.20230724144435-2b77d4a1ce70 h1:oZTUDZzUBp8D2h3uZfPQmZGVksrROqubHDASvFB/+u0= github.com/notional-labs/ibc-go/v7 v7.0.1-wasm-client.0.20230724144435-2b77d4a1ce70/go.mod h1:ISHo/Qitjtvj2svGmttaZv03zVXmS+uqvUyF9kFqlI0= -github.com/notional-labs/packet-forward-middleware/v7 v7.0.0-20230828115741-8f5f501461be h1:fCcfI4QG6WsnTvmwG6BC/jLpTHOg0v4aOrBWDXVmohE= -github.com/notional-labs/packet-forward-middleware/v7 v7.0.0-20230828115741-8f5f501461be/go.mod h1:+Urw3FnxiiB7qs3CQaMWlgfntFkbebHlYNYt2y8JI/I= +github.com/notional-labs/packet-forward-middleware/v7 v7.0.0-20230925101950-dfce13ebda33 h1:SOBQMDbtfsUCBxQFeE0JiWr57ksPUWWrZ5vod67jLbo= +github.com/notional-labs/packet-forward-middleware/v7 v7.0.0-20230925101950-dfce13ebda33/go.mod h1:8SsRO5P50jFNSuJdqQ13bRvvNsqHpFz+wz6CAx9mOSQ= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= github.com/oklog/oklog v0.3.2/go.mod h1:FCV+B7mhrz4o+ueLpx+KqkyXRGMWOYEvfiXtdGtbWGs= @@ -1287,7 +1283,6 @@ go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= go.uber.org/atomic v1.10.0 h1:9qC72Qh0+3MqyJbAn8YU5xVq1frD8bn3JtD2oXtafVQ= go.uber.org/atomic v1.10.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0= go.uber.org/goleak v1.1.11 h1:wy28qYRKZgnJTxGxvye5/wgWr1EKjmUDGYox5mGlRlI= -go.uber.org/goleak v1.1.11/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= go.uber.org/multierr v1.8.0 h1:dg6GjLku4EH+249NNmoIciG9N/jURbDG+pFlTkhzIC8= diff --git a/proto/composable/ratelimit/v1beta1/query.proto b/proto/composable/ratelimit/v1beta1/query.proto index 8a2ced733..bf0d8a882 100644 --- a/proto/composable/ratelimit/v1beta1/query.proto +++ b/proto/composable/ratelimit/v1beta1/query.proto @@ -39,7 +39,7 @@ message QueryAllRateLimitsResponse { message QueryRateLimitRequest { string denom = 1; - string channel_id = 2; + string channel_id = 2 [ (gogoproto.customname) = "ChannelID" ]; } message QueryRateLimitResponse { RateLimit rate_limit = 1; } diff --git a/proto/composable/ratelimit/v1beta1/ratelimit.proto b/proto/composable/ratelimit/v1beta1/ratelimit.proto index 4fd38113b..f5bc45035 100644 --- a/proto/composable/ratelimit/v1beta1/ratelimit.proto +++ b/proto/composable/ratelimit/v1beta1/ratelimit.proto @@ -14,7 +14,7 @@ enum PacketDirection { message Path { string denom = 1; - string channel_id = 2; + string channel_id = 2 [ (gogoproto.customname) = "ChannelID" ]; } message Quota { diff --git a/proto/composable/ratelimit/v1beta1/tx.proto b/proto/composable/ratelimit/v1beta1/tx.proto index b0d1f316a..249806064 100755 --- a/proto/composable/ratelimit/v1beta1/tx.proto +++ b/proto/composable/ratelimit/v1beta1/tx.proto @@ -23,7 +23,7 @@ message MsgAddRateLimit { // denom of the token that is limited string denom = 2; // The channel that is limited when transferr ICS 20 packet of denom - string channel_id = 3; + string channel_id = 3 [ (gogoproto.customname) = "ChannelID" ]; // Max rate limit send string max_percent_send = 4 [ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", @@ -52,7 +52,7 @@ message MsgUpdateRateLimit { // overwritten). string authority = 1 [ (gogoproto.moretags) = "yaml:\"authority\"" ]; string denom = 2; - string channel_id = 3; + string channel_id = 3 [ (gogoproto.customname) = "ChannelID" ]; string max_percent_send = 4 [ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false @@ -76,7 +76,7 @@ message MsgRemoveRateLimit { // authority is the address that controls the module (defaults to x/gov unless // overwritten). string authority = 1 [ (gogoproto.moretags) = "yaml:\"authority\"" ]; - string denom = 2; + string denom = 2 [ (gogoproto.customname) = "ChannelID" ]; string channel_id = 3; } @@ -88,7 +88,7 @@ message MsgResetRateLimit { // authority is the address that controls the module (defaults to x/gov unless // overwritten). string authority = 1 [ (gogoproto.moretags) = "yaml:\"authority\"" ]; - string denom = 2; + string denom = 2 [ (gogoproto.customname) = "ChannelID" ]; string channel_id = 3; } diff --git a/proto/composable/transfermiddleware/v1beta1/parachain_token_info.proto b/proto/composable/transfermiddleware/v1beta1/parachain_token_info.proto index 94a89386a..02b41d736 100644 --- a/proto/composable/transfermiddleware/v1beta1/parachain_token_info.proto +++ b/proto/composable/transfermiddleware/v1beta1/parachain_token_info.proto @@ -13,7 +13,10 @@ message ParachainIBCTokenInfo { // dotsama chain. string ibc_denom = 1 [ (gogoproto.moretags) = "yaml:\"ibc_denom\"" ]; // channel_id is source channel in IBC connection from composable chain - string channel_id = 2 [ (gogoproto.moretags) = "yaml:\"channel_id\"" ]; + string channel_id = 2 [ + (gogoproto.moretags) = "yaml:\"channel_id\"", + (gogoproto.customname) = "ChannelID" + ]; // native denom is new native minted denom in composable chain. string native_denom = 3 [ (gogoproto.moretags) = "yaml:\"native_denom\"" ]; // asset id is the id of the asset on Picasso diff --git a/proto/composable/transfermiddleware/v1beta1/tx.proto b/proto/composable/transfermiddleware/v1beta1/tx.proto index 56c5e48dc..7e9090146 100644 --- a/proto/composable/transfermiddleware/v1beta1/tx.proto +++ b/proto/composable/transfermiddleware/v1beta1/tx.proto @@ -22,7 +22,10 @@ message MsgAddParachainIBCTokenInfo { // authority is the address that controls the module (defaults to x/gov unless // overwritten). string authority = 1 [ (gogoproto.moretags) = "yaml:\"authority\"" ]; - string channel_id = 2 [ (gogoproto.moretags) = "yaml:\"channel_id\"" ]; + string channel_id = 2 [ + (gogoproto.moretags) = "yaml:\"channel_id\"", + (gogoproto.customname) = "ChannelID" + ]; string ibc_denom = 3 [ (gogoproto.moretags) = "yaml:\"ibc_denom\"" ]; string native_denom = 4 [ (gogoproto.moretags) = "yaml:\"native_denom\"" ]; string asset_id = 5 [ (gogoproto.moretags) = "yaml:\"asset_id\"" ]; diff --git a/x/ratelimit/types/query.pb.go b/x/ratelimit/types/query.pb.go index b10f63af5..6952dd839 100644 --- a/x/ratelimit/types/query.pb.go +++ b/x/ratelimit/types/query.pb.go @@ -111,7 +111,7 @@ func (m *QueryAllRateLimitsResponse) GetRateLimits() []RateLimit { type QueryRateLimitRequest struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` - ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` + ChannelID string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` } func (m *QueryRateLimitRequest) Reset() { *m = QueryRateLimitRequest{} } @@ -154,9 +154,9 @@ func (m *QueryRateLimitRequest) GetDenom() string { return "" } -func (m *QueryRateLimitRequest) GetChannelId() string { +func (m *QueryRateLimitRequest) GetChannelID() string { if m != nil { - return m.ChannelId + return m.ChannelID } return "" } @@ -479,46 +479,47 @@ func init() { } var fileDescriptor_dcd0dc17fb77b132 = []byte{ - // 616 bytes of a gzipped FileDescriptorProto - 0x1f, 0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 0x9d, 0x30, 0xf9, 0x4a, 0xe5, 0x5f, 0x24, 0xd2, 0x9d, 0xd5, 0xab, - 0x38, 0xd6, 0x20, 0xfd, 0xe0, 0xca, 0xca, 0x41, 0x57, 0x45, 0x87, 0x5d, 0x15, 0xfd, 0xec, 0xaa, - 0xe8, 0x7d, 0x4f, 0xcd, 0x1c, 0xf6, 0xd4, 0xcc, 0xf7, 0x9e, 0x9a, 0x79, 0x7e, 0xfe, 0xf5, 0x5f, - 0xc1, 0xa2, 0xe3, 0x52, 0x5e, 0x3f, 0x23, 0x7f, 0xba, 0xa5, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, - 0x17, 0xb4, 0x11, 0x82, 0x20, 0x08, 0x00, 0x00, + // 630 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x95, 0xcf, 0x6e, 0xd3, 0x40, + 0x10, 0xc6, 0xb3, 0x85, 0x52, 0x32, 0xa5, 0x07, 0x96, 0x16, 0x5a, 0x53, 0xdc, 0x60, 0x40, 0x44, + 0x6a, 0x1b, 0xab, 0xff, 0x54, 0x0e, 0x14, 0xa8, 0x5b, 0x21, 0x45, 0x42, 0x08, 0x7c, 0x41, 0x82, + 0x83, 0xd9, 0xd4, 0xab, 0xc4, 0x92, 0xe3, 0x75, 0xbd, 0x2e, 0x10, 0xa1, 0x5e, 0xb8, 0x70, 0x45, + 0xe2, 0x35, 0xb8, 0xf2, 0x0e, 0xe5, 0x56, 0x84, 0x90, 0x38, 0x55, 0x28, 0x41, 0x3c, 0x07, 0xf2, + 0x7a, 0x63, 0x37, 0x6d, 0xe2, 0x26, 0x45, 0xbd, 0x6d, 0x76, 0x67, 0xbe, 0xf9, 0x7d, 0xe3, 0x9d, + 0x0d, 0x14, 0xb7, 0x58, 0xdd, 0x67, 0x9c, 0x54, 0x5c, 0xaa, 0x07, 0x24, 0xa4, 0xae, 0x53, 0x77, + 0x42, 0xfd, 0xcd, 0x42, 0x85, 0x86, 0x64, 0x41, 0xdf, 0xde, 0xa1, 0x41, 0xa3, 0xe4, 0x07, 0x2c, + 0x64, 0x78, 0x3a, 0x8d, 0x2c, 0x25, 0x91, 0x25, 0x19, 0xa9, 0xcc, 0x65, 0xea, 0xa4, 0xf1, 0x42, + 0x4b, 0x99, 0xae, 0x32, 0x56, 0x75, 0xa9, 0x4e, 0x7c, 0x47, 0x27, 0x9e, 0xc7, 0x42, 0x12, 0x3a, + 0xcc, 0xe3, 0xf2, 0x74, 0xbc, 0xca, 0xaa, 0x4c, 0x2c, 0xf5, 0x68, 0x15, 0xef, 0x6a, 0xd7, 0x61, + 0xea, 0x79, 0x84, 0xb3, 0xee, 0xba, 0x26, 0x09, 0xe9, 0x93, 0x48, 0x8e, 0x9b, 0x74, 0x7b, 0x87, + 0xf2, 0x50, 0x73, 0x41, 0xe9, 0x76, 0xc8, 0x7d, 0xe6, 0x71, 0x8a, 0x9f, 0xc2, 0x68, 0x44, 0x60, + 0x09, 0x04, 0x3e, 0x89, 0x0a, 0xe7, 0x8a, 0xa3, 0x8b, 0x77, 0x4b, 0x59, 0x86, 0x4a, 0x89, 0x8c, + 0x71, 0x7e, 0xef, 0x60, 0x26, 0x67, 0x42, 0x90, 0xe8, 0x6a, 0xaf, 0x60, 0x42, 0x54, 0x4b, 0x62, + 0x24, 0x06, 0x1e, 0x87, 0x61, 0x9b, 0x7a, 0xac, 0x3e, 0x89, 0x0a, 0xa8, 0x98, 0x37, 0xe3, 0x1f, + 0x78, 0x0e, 0x60, 0xab, 0x46, 0x3c, 0x8f, 0xba, 0x96, 0x63, 0x4f, 0x0e, 0x45, 0x47, 0xc6, 0x58, + 0xf3, 0x60, 0x26, 0xbf, 0x11, 0xef, 0x96, 0x37, 0xcd, 0xbc, 0x0c, 0x28, 0xdb, 0xda, 0x6b, 0xb8, + 0x7a, 0x54, 0x5c, 0xda, 0x78, 0x0c, 0x90, 0xda, 0x10, 0x25, 0xfa,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x9f, 0x5e, 0xcf, 0x5d, 0xbd, 0xd2, 0xb0, 0xe2, 0xd7, 0xe1, 0x1b, 0x82, 0x2b, 0x5d, + 0x66, 0x09, 0xaf, 0x0d, 0x02, 0x73, 0x6c, 0x82, 0x95, 0x07, 0xa7, 0x4d, 0x97, 0xae, 0x96, 0x84, + 0xab, 0x79, 0x3c, 0x7b, 0x52, 0xe3, 0x85, 0x2d, 0xf1, 0x52, 0xec, 0xe2, 0xef, 0x08, 0x26, 0xba, + 0xce, 0x17, 0x7e, 0x38, 0x38, 0x4e, 0xc7, 0x74, 0x2b, 0x8f, 0x4e, 0x2f, 0x20, 0x1d, 0xad, 0x08, + 0x47, 0x3a, 0x9e, 0xef, 0xcb, 0x51, 0xfb, 0x43, 0xe1, 0x9f, 0x08, 0xae, 0xf5, 0x98, 0x4a, 0xbc, + 0xde, 0xdf, 0xbd, 0xce, 0x98, 0x7c, 0xc5, 0xf8, 0x1f, 0x89, 0xfe, 0xbe, 0xd5, 0xdb, 0x34, 0xd7, + 0x22, 0xed, 0x64, 0x63, 0x76, 0xaf, 0xa9, 0xa2, 0xfd, 0xa6, 0x8a, 0x7e, 0x37, 0x55, 0xf4, 0xa9, + 0xa5, 0xe6, 0xf6, 0x5b, 0x6a, 0xee, 0x57, 0x4b, 0xcd, 0xbd, 0xbc, 0xfc, 0xee, 0x50, 0x72, 0xd8, + 0xf0, 0x29, 0xaf, 0x5c, 0x10, 0xff, 0xc1, 0x4b, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xd4, 0x4b, + 0x56, 0x89, 0x2f, 0x08, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -825,10 +826,10 @@ func (m *QueryRateLimitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if len(m.ChannelId) > 0 { - i -= len(m.ChannelId) - copy(dAtA[i:], m.ChannelId) - i = encodeVarintQuery(dAtA, i, uint64(len(m.ChannelId))) + if len(m.ChannelID) > 0 { + i -= len(m.ChannelID) + copy(dAtA[i:], m.ChannelID) + i = encodeVarintQuery(dAtA, i, uint64(len(m.ChannelID))) i-- dAtA[i] = 0x12 } @@ -1116,7 +1117,7 @@ func (m *QueryRateLimitRequest) Size() (n int) { if l > 0 { n += 1 + l + sovQuery(uint64(l)) } - l = len(m.ChannelId) + l = len(m.ChannelID) if l > 0 { n += 1 + l + sovQuery(uint64(l)) } @@ -1419,7 +1420,7 @@ func (m *QueryRateLimitRequest) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChannelId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChannelID", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -1447,7 +1448,7 @@ func (m *QueryRateLimitRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ChannelId = string(dAtA[iNdEx:postIndex]) + m.ChannelID = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex diff --git a/x/ratelimit/types/ratelimit.pb.go b/x/ratelimit/types/ratelimit.pb.go index 7c80b3819..5c69f9925 100644 --- a/x/ratelimit/types/ratelimit.pb.go +++ b/x/ratelimit/types/ratelimit.pb.go @@ -51,7 +51,7 @@ func (PacketDirection) EnumDescriptor() ([]byte, []int) { type Path struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` - ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` + ChannelID string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` } func (m *Path) Reset() { *m = Path{} } @@ -94,9 +94,9 @@ func (m *Path) GetDenom() string { return "" } -func (m *Path) GetChannelId() string { +func (m *Path) GetChannelID() string { if m != nil { - return m.ChannelId + return m.ChannelID } return "" } @@ -313,42 +313,42 @@ func init() { } var fileDescriptor_0232bb247554c4df = []byte{ - // 546 bytes of a gzipped FileDescriptorProto + // 556 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xcf, 0x6f, 0xd3, 0x30, - 0x14, 0x4e, 0xb6, 0xac, 0x50, 0x97, 0x6d, 0xc5, 0x1a, 0x53, 0x55, 0x41, 0x36, 0x05, 0x81, 0x26, - 0x7e, 0xa4, 0xda, 0x90, 0x90, 0x26, 0x4e, 0xdd, 0xd6, 0x69, 0x13, 0x13, 0x2a, 0x29, 0x1a, 0x88, - 0x4b, 0xe4, 0x26, 0x8f, 0xc6, 0x5a, 0x62, 0x17, 0xc7, 0xe9, 0xca, 0x7f, 0xc0, 0x91, 0x2b, 0x67, - 0xfe, 0x99, 0x1d, 0x77, 0x44, 0x1c, 0x26, 0xd4, 0x9e, 0xf9, 0x1f, 0x90, 0x9d, 0x74, 0x9d, 0x38, - 0x4c, 0x50, 0x4e, 0xc9, 0x7b, 0xfe, 0xde, 0x67, 0x7f, 0xcf, 0xdf, 0x33, 0x7a, 0x12, 0xf0, 0xa4, - 0xcf, 0x53, 0xd2, 0x8d, 0xa1, 0x21, 0x88, 0x84, 0x98, 0x26, 0x54, 0x36, 0x06, 0x9b, 0x5d, 0x90, - 0x64, 0x73, 0x9a, 0x71, 0xfb, 0x82, 0x4b, 0x8e, 0xef, 0x4e, 0xd1, 0xee, 0x74, 0xad, 0x40, 0xd7, - 0x57, 0x7a, 0xbc, 0xc7, 0x35, 0xb0, 0xa1, 0xfe, 0xf2, 0x1a, 0xe7, 0x05, 0xb2, 0xda, 0x44, 0x46, - 0x78, 0x05, 0x2d, 0x84, 0xc0, 0x78, 0x52, 0x33, 0xd7, 0xcd, 0x8d, 0xb2, 0x97, 0x07, 0xf8, 0x1e, - 0x42, 0x41, 0x44, 0x18, 0x83, 0xd8, 0xa7, 0x61, 0x6d, 0x4e, 0x2f, 0x95, 0x8b, 0xcc, 0x61, 0xe8, - 0x8c, 0x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Marshal() (dAtA []byte, err error) { @@ -371,10 +371,10 @@ func (m *Path) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if len(m.ChannelId) > 0 { - i -= len(m.ChannelId) - copy(dAtA[i:], m.ChannelId) - i = encodeVarintRatelimit(dAtA, i, uint64(len(m.ChannelId))) + if len(m.ChannelID) > 0 { + i -= len(m.ChannelID) + copy(dAtA[i:], m.ChannelID) + i = encodeVarintRatelimit(dAtA, i, uint64(len(m.ChannelID))) i-- dAtA[i] = 0x12 } @@ -616,7 +616,7 @@ func (m *Path) Size() (n int) { if l > 0 { n += 1 + l + sovRatelimit(uint64(l)) } - l = len(m.ChannelId) + l = len(m.ChannelID) if l > 0 { n += 1 + l + sovRatelimit(uint64(l)) } @@ -763,7 +763,7 @@ func (m *Path) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChannelId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChannelID", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -791,7 +791,7 @@ func (m *Path) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ChannelId = string(dAtA[iNdEx:postIndex]) + m.ChannelID = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex diff --git a/x/ratelimit/types/tx.pb.go b/x/ratelimit/types/tx.pb.go index 68086bf26..1996360a2 100644 --- a/x/ratelimit/types/tx.pb.go +++ b/x/ratelimit/types/tx.pb.go @@ -37,7 +37,7 @@ type MsgAddRateLimit struct { // denom of the token that is limited Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` // The channel that is limited when transferr ICS 20 packet of denom - ChannelId string `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` + ChannelID string `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` // Max rate limit send MaxPercentSend github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=max_percent_send,json=maxPercentSend,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"max_percent_send"` // Max rate limit receive @@ -95,9 +95,9 @@ func (m *MsgAddRateLimit) GetDenom() string { return "" } -func (m *MsgAddRateLimit) GetChannelId() string { +func (m *MsgAddRateLimit) GetChannelID() string { if m != nil { - return m.ChannelId + return m.ChannelID } return "" } @@ -150,7 +150,7 @@ type MsgUpdateRateLimit struct { // overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty" yaml:"authority"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` - ChannelId string `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` + ChannelID string `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` MaxPercentSend github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=max_percent_send,json=maxPercentSend,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"max_percent_send"` MaxPercentRecv github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=max_percent_recv,json=maxPercentRecv,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"max_percent_recv"` MinRateLimitAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,6,opt,name=min_rate_limit_amount,json=minRateLimitAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"min_rate_limit_amount"` @@ -204,9 +204,9 @@ func (m *MsgUpdateRateLimit) GetDenom() string { return "" } -func (m *MsgUpdateRateLimit) GetChannelId() string { +func (m *MsgUpdateRateLimit) GetChannelID() string { if m != nil { - return m.ChannelId + return m.ChannelID } return "" } @@ -258,7 +258,7 @@ type MsgRemoveRateLimit struct { // authority is the address that controls the module (defaults to x/gov unless // overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty" yaml:"authority"` - Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` + ChannelID string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` ChannelId string `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` } @@ -302,9 +302,9 @@ func (m *MsgRemoveRateLimit) GetAuthority() string { return "" } -func (m *MsgRemoveRateLimit) GetDenom() string { +func (m *MsgRemoveRateLimit) GetChannelID() string { if m != nil { - return m.Denom + return m.ChannelID } return "" } @@ -356,7 +356,7 @@ type MsgResetRateLimit struct { // authority is the address that controls the module (defaults to x/gov unless // overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty" yaml:"authority"` - Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` + ChannelID string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` ChannelId string `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` } @@ -400,9 +400,9 @@ func (m *MsgResetRateLimit) GetAuthority() string { return "" } -func (m *MsgResetRateLimit) GetDenom() string { +func (m *MsgResetRateLimit) GetChannelID() string { if m != nil { - return m.Denom + return m.ChannelID } return "" } @@ -466,43 +466,44 @@ func init() { } var fileDescriptor_7c4a582edd75a41c = []byte{ - // 567 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x95, 0x4f, 0x6b, 0x13, 0x41, - 0x18, 0xc6, 0x33, 0x26, 0xad, 0x64, 0xc0, 0xd8, 0x0e, 0xd1, 0x6c, 0xd7, 0xba, 0x29, 0x81, 0x4a, - 0x51, 0xba, 0x6b, 0x2a, 0xa2, 0xf4, 0x96, 0x9e, 0x2c, 0x18, 0x90, 0x55, 0x41, 0xbc, 0x2c, 0x93, - 0x9d, 0x71, 0xb3, 0x98, 0x99, 0x59, 0x76, 0x26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xbf, 0x00, 0xf6, 0x1a, 0xdc, 0x58, 0xa0, 0x99, 0xb0, 0xee, 0xbd, - 0xcf, 0xc1, 0x6c, 0x5d, 0x06, 0xe8, 0x15, 0x2c, 0xd6, 0x08, 0x79, 0x12, 0x63, 0x2e, 0x5f, 0xd0, - 0x78, 0x46, 0xbd, 0x6b, 0xff, 0xec, 0x64, 0xb6, 0xe7, 0x3e, 0x4e, 0xf3, 0xee, 0x52, 0xf2, 0x09, - 0x05, 0x7a, 0x0d, 0x60, 0x29, 0xcd, 0x7e, 0x91, 0xe0, 0xf6, 0x2f, 0x2d, 0xe7, 0xba, 0xc6, 0xbc, - 0xbf, 0xec, 0x8a, 0x1f, 0x38, 0xd2, 0x54, 0xcf, 0xc3, 0x31, 0xd7, 0x0f, 0x67, 0xe0, 0x38, 0xa5, - 0x83, 0xd0, 0x11, 0x80, 0x57, 0x75, 0x60, 0x8b, 0x18, 0xce, 0x19, 0x4c, 0x4f, 0x26, 0x6d, 0xde, - 0x5b, 0x72, 0xc1, 0x04, 0xe2, 0xe0, 0x56, 0x7f, 0x68, 0x81, 0xe3, 0xa1, 0x05, 0xbe, 0x0c, 0x2d, - 0xf0, 0x6e, 0x64, 0x65, 0x8e, 0x47, 0x56, 0xe6, 0xd3, 0xc8, 0xca, 0x3c, 0x5f, 0xef, 0x9e, 0xb8, - 0xcb, 0xf5, 0x71, 0xd0, 0x58, 0xd5, 0x57, 0xef, 0x9d, 0xef, 0x01, 0x00, 0x00, 0xff, 0xff, 0x91, - 0xa1, 0x1b, 0xc2, 0xf0, 0x07, 0x00, 0x00, + // 592 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x96, 0x4f, 0x6b, 0x13, 0x4f, + 0x18, 0xc7, 0xb3, 0xbf, 0xa4, 0xfd, 0x91, 0x81, 0xc6, 0x76, 0x88, 0x66, 0xbb, 0xd6, 0x4d, 0x89, + 0x54, 0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x42, 0xbd, 0x15, 0xff, 0x81, 0xb7, 0x01, 0x70, 0x5a, 0x88, + 0x31, 0xd2, 0xb6, 0x3d, 0xac, 0x66, 0x23, 0xab, 0x95, 0xe1, 0xa0, 0x9c, 0x7f, 0x18, 0xef, 0xd6, + 0x1f, 0x59, 0xf9, 0xb1, 0xa0, 0x8e, 0xe1, 0x4b, 0xb0, 0x4a, 0x51, 0xcf, 0xf6, 0x49, 0xe0, 0x10, + 0x26, 0x6d, 0x41, 0x18, 0x56, 0x73, 0x51, 0x8f, 0x71, 0x38, 0x28, 0x67, 0x8e, 0x07, 0xe5, 0x1b, + 0xae, 0x27, 0x5b, 0x9d, 0xa6, 0xe1, 0x70, 0x6a, 0x8e, 0x4f, 0x14, 0x2f, 0x3b, 0x02, 0xbf, 0x31, + 0x65, 0xdf, 0x27, 0xc2, 0xa8, 0x33, 0x69, 0x15, 0x28, 0xea, 0x3d, 0x8d, 0x6d, 0x9e, 0x11, 0x96, + 0x72, 0x0e, 0x88, 0xd3, 0x55, 0x97, 0x2e, 0xea, 0x6c, 0x11, 0xa7, 0x0b, 0x11, 0xb8, 0x4c, 0x3d, + 0x66, 0x87, 0x1c, 0xec, 0x08, 0x84, 0x8d, 0x28, 0xef, 0x30, 0xa9, 0x2e, 0x9f, 0xcb, 0x1e, 0x52, + 0x8f, 0x4d, 0x41, 0xd4, 0x22, 0x27, 0xb8, 0x05, 0x0a, 0xb8, 0x13, 0x20, 0xe9, 0x71, 0x66, 0xb7, + 0x78, 0x27, 0x10, 0xea, 0xff, 0x9b, 0xca, 0x76, 0xce, 0x5a, 0x99, 0xec, 0x3e, 0x0e, 0x37, 0xf7, + 0x0a, 0x07, 0xdf, 0x3f, 0xdf, 0x9c, 0x11, 0xa9, 0xac, 0x83, 0x52, 0x02, 0xac, 0x45, 0x84, 0xcf, + 0x99, 0x20, 0x95, 0xe3, 0x2c, 0x80, 0x0d, 0xe1, 0xbe, 0xf0, 0x31, 0x92, 0xe4, 0x1f, 0xf7,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, 0x00, 0x00, 0xff, 0xff, 0xd8, 0xd9, 0x7b, 0x52, 0x2c, 0x08, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -748,10 +749,10 @@ func (m *MsgAddRateLimit) MarshalToSizedBuffer(dAtA []byte) (int, error) { } i-- dAtA[i] = 0x22 - if len(m.ChannelId) > 0 { - i -= len(m.ChannelId) - copy(dAtA[i:], m.ChannelId) - i = encodeVarintTx(dAtA, i, uint64(len(m.ChannelId))) + if len(m.ChannelID) > 0 { + i -= len(m.ChannelID) + copy(dAtA[i:], m.ChannelID) + i = encodeVarintTx(dAtA, i, uint64(len(m.ChannelID))) i-- dAtA[i] = 0x1a } @@ -850,10 +851,10 @@ func (m *MsgUpdateRateLimit) MarshalToSizedBuffer(dAtA []byte) (int, error) { } i-- dAtA[i] = 0x22 - if len(m.ChannelId) > 0 { - i -= len(m.ChannelId) - copy(dAtA[i:], m.ChannelId) - i = encodeVarintTx(dAtA, i, uint64(len(m.ChannelId))) + if len(m.ChannelID) > 0 { + i -= len(m.ChannelID) + copy(dAtA[i:], m.ChannelID) + i = encodeVarintTx(dAtA, i, uint64(len(m.ChannelID))) i-- dAtA[i] = 0x1a } @@ -924,10 +925,10 @@ func (m *MsgRemoveRateLimit) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x1a } - if len(m.Denom) > 0 { - i -= len(m.Denom) - copy(dAtA[i:], m.Denom) - i = encodeVarintTx(dAtA, i, uint64(len(m.Denom))) + if len(m.ChannelID) > 0 { + i -= len(m.ChannelID) + copy(dAtA[i:], m.ChannelID) + i = encodeVarintTx(dAtA, i, uint64(len(m.ChannelID))) i-- dAtA[i] = 0x12 } @@ -991,10 +992,10 @@ func (m *MsgResetRateLimit) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x1a } - if len(m.Denom) > 0 { - i -= len(m.Denom) - copy(dAtA[i:], m.Denom) - i = encodeVarintTx(dAtA, i, uint64(len(m.Denom))) + if len(m.ChannelID) > 0 { + i -= len(m.ChannelID) + copy(dAtA[i:], m.ChannelID) + i = encodeVarintTx(dAtA, i, uint64(len(m.ChannelID))) i-- dAtA[i] = 0x12 } @@ -1056,7 +1057,7 @@ func (m *MsgAddRateLimit) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.ChannelId) + l = len(m.ChannelID) if l > 0 { n += 1 + l + sovTx(uint64(l)) } @@ -1095,7 +1096,7 @@ func (m *MsgUpdateRateLimit) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.ChannelId) + l = len(m.ChannelID) if l > 0 { n += 1 + l + sovTx(uint64(l)) } @@ -1130,7 +1131,7 @@ func (m *MsgRemoveRateLimit) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.Denom) + l = len(m.ChannelID) if l > 0 { n += 1 + l + sovTx(uint64(l)) } @@ -1160,7 +1161,7 @@ func (m *MsgResetRateLimit) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.Denom) + l = len(m.ChannelID) if l > 0 { n += 1 + l + sovTx(uint64(l)) } @@ -1281,7 +1282,7 @@ func (m *MsgAddRateLimit) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChannelId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChannelID", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -1309,7 +1310,7 @@ func (m *MsgAddRateLimit) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ChannelId = string(dAtA[iNdEx:postIndex]) + m.ChannelID = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { @@ -1598,7 +1599,7 @@ func (m *MsgUpdateRateLimit) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChannelId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChannelID", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -1626,7 +1627,7 @@ func (m *MsgUpdateRateLimit) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ChannelId = string(dAtA[iNdEx:postIndex]) + m.ChannelID = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { @@ -1883,7 +1884,7 @@ func (m *MsgRemoveRateLimit) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Denom", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChannelID", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -1911,7 +1912,7 @@ func (m *MsgRemoveRateLimit) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Denom = string(dAtA[iNdEx:postIndex]) + m.ChannelID = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -2079,7 +2080,7 @@ func (m *MsgResetRateLimit) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Denom", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChannelID", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -2107,7 +2108,7 @@ func (m *MsgResetRateLimit) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Denom = string(dAtA[iNdEx:postIndex]) + m.ChannelID = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { diff --git a/x/transfermiddleware/types/parachain_token_info.pb.go b/x/transfermiddleware/types/parachain_token_info.pb.go index ab991c68c..ea33c7e44 100644 --- a/x/transfermiddleware/types/parachain_token_info.pb.go +++ b/x/transfermiddleware/types/parachain_token_info.pb.go @@ -34,7 +34,7 @@ type ParachainIBCTokenInfo struct { // dotsama chain. IbcDenom string `protobuf:"bytes,1,opt,name=ibc_denom,json=ibcDenom,proto3" json:"ibc_denom,omitempty" yaml:"ibc_denom"` // channel_id is source channel in IBC connection from composable chain - ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty" yaml:"channel_id"` + ChannelID string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty" yaml:"channel_id"` // native denom is new native minted denom in composable chain. NativeDenom string `protobuf:"bytes,3,opt,name=native_denom,json=nativeDenom,proto3" json:"native_denom,omitempty" yaml:"native_denom"` // asset id is the id of the asset on Picasso @@ -81,9 +81,9 @@ func (m *ParachainIBCTokenInfo) GetIbcDenom() string { return "" } -func (m *ParachainIBCTokenInfo) GetChannelId() string { +func (m *ParachainIBCTokenInfo) GetChannelID() string { if m != nil { - return m.ChannelId + return m.ChannelID } return "" } @@ -166,32 +166,33 @@ func init() { } var fileDescriptor_b056b58fc55452d7 = []byte{ - // 397 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0xb1, 0x8e, 0xd3, 0x30, - 0x18, 0xc7, 0x63, 0x40, 0xd0, 0xba, 0x48, 0x40, 0xda, 0x8a, 0x2a, 0x88, 0x04, 0x59, 0x42, 0x62, - 0x4a, 0x54, 0xe8, 0xd4, 0x09, 0x05, 0x96, 0x6c, 0x28, 0xea, 0xd4, 0x25, 0x72, 0x12, 0x27, 0xb5, - 0x48, 0xec, 0x28, 0x31, 0x85, 0xbe, 0x45, 0x5f, 0x86, 0x77, 0xe8, 0xd8, 0x91, 0x29, 0x9c, 0xda, - 0xf5, 0xa6, 0x3c, 0xc1, 0x29, 0x76, 0x73, 0x3d, 0xdd, 0x75, 0xb9, 0xed, 0xfb, 0xf4, 0xf7, 0xef, - 0xff, 0xb7, 0xbf, 0xcf, 0xf0, 0x6b, 0xc4, 0xf3, 0x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 0x88, - 0x68, 0xf3, 0x9e, 0x49, 0x6e, 0xd8, 0xd4, 0xd6, 0x2b, 0xc5, 0x75, 0x0a, 0xf2, 0x5f, 0xc8, 0xd2, - 0x8b, 0xd1, 0x5f, 0x00, 0xdf, 0xf9, 0x24, 0xe7, 0x6b, 0x72, 0xf9, 0xd1, 0xf7, 0xef, 0x02, 0x1e, - 0x71, 0x97, 0x25, 0x1c, 0x94, 0xd2, 0x3a, 0x68, 0x87, 0x2c, 0x9f, 0x3f, 0xf8, 0x6c, 0xd8, 0x6a, - 0x03, 0x76, 0xb7, 0x01, 0x7b, 0xd1, 0x6d, 0xc0, 0x7d, 0xbf, 0xab, 0x2d, 0xed, 0x3c, 0x9e, 0x4a, - 0xe0, 0x52, 0x48, 0x16, 0x6d, 0xff, 0x5b, 0xc0, 0x87, 0xca, 0xad, 0x3d, 0xef, 0xce, 0x76, 0x07, - 0x13, 0xec, 0x0f, 0x26, 0xb8, 0x3a, 0x98, 0x60, 0x7b, 0x34, 0xb5, 0xfd, 0xd1, 0xd4, 0xfe, 0x1d, - 0x4d, 0x6d, 0x69, 0xfc, 0xb9, 0xf4, 0xaf, 0xc4, 0xa6, 0x20, 0x55, 0xf8, 0x5c, 0x86, 0x7e, 0xb9, - 0x09, 0x00, 0x00, 0xff, 0xff, 0xcb, 0xc4, 0xf1, 0xfa, 0x85, 0x02, 0x00, 0x00, + // 404 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0xc1, 0xae, 0x93, 0x40, + 0x14, 0x86, 0x19, 0x35, 0x7a, 0x99, 0x9a, 0xa8, 0xdc, 0x6b, 0xbc, 0xc1, 0xc8, 0x98, 0x49, 0x4c, + 0x5c, 0x41, 0xaa, 0xae, 0xee, 0x4a, 0x69, 0x37, 0xec, 0x0c, 0xe9, 0xaa, 0x1b, 0x32, 0xc0, 0x40, + 0x27, 0xc2, 0x0c, 0x81, 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af, 0xc1, 0xbc, 0x6f, 0xd1, 0x13, + 0x0d, 0x38, 0x2d, 0xe2, 0xd0, 0x3c, 0x36, 0x41, 0x6a, 0xdd, 0xc0, 0x87, 0x9c, 0x48, 0xb6, 0xa6, + 0x47, 0xe3, 0xbb, 0x0a, 0xf2, 0xac, 0x6f, 0xd1, 0xa5, 0xd6, 0xfd, 0x3d, 0xc5, 0xe1, 0x44, 0xb7, + 0xda, 0xde, 0x85, 0x17, 0xa4, 0x69, 0xa8, 0x1c, 0xcc, 0xef, 0x29, 0xdd, 0x65, 0xdf, 0xa2, 0x47, + 0x5a, 0x37, 0x4e, 0x70, 0xf8, 0x40, 0x95, 0x41, 0x8a, 0xbf, 0x01, 0xf8, 0x3c, 0xa4, 0xa5, 0x58, + 0xd3, 0xf3, 0x09, 0xfc, 0xfb, 0x16, 0x70, 0x8b, 0xb7, 0x2c, 0xe1, 0xa4, 0x56, 0xe8, 0x68, 0x48, + 0x5c, 0x65, 0x31, 0x79, 0x63, 0xbb, 0xfa, 0x1c, 0xee, 0x78, 0x0e, 0x77, 0x31, 0x9e, 0xc3, 0x7f, + 0xb1, 0x6b, 0x91, 0x71, 0x8a, 0xa7, 0x91, 0xa4, 0x96, 0x4a, 0x8b, 0xb7, 0x3f, 0x10, 0x08, 0xa1, + 0xa6, 0x0d, 0xfb, 0xfe, 0xbb, 0x5d, 0xe7, 0x80, 0x7d, 0xe7, 0x80, 0x9f, 0x9d, 0x03, 0xb6, 0x07, + 0xc7, 0xd8, 0x1f, 0x1c, 0xe3, 0xfb, 0xc1, 0x31, 0x96, 0xf6, 0xd7, 0x73, 0x3f, 0x99, 0xdc, 0x54, + 0xb4, 0x89, 0xef, 0x2b, 0xd3, 0xb7, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x69, 0xab, 0x4b, 0xb5, + 0x92, 0x02, 0x00, 0x00, } func (m *ParachainIBCTokenInfo) Marshal() (dAtA []byte, err error) { @@ -228,10 +229,10 @@ func (m *ParachainIBCTokenInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x1a } - if len(m.ChannelId) > 0 { - i -= len(m.ChannelId) - copy(dAtA[i:], m.ChannelId) - i = encodeVarintParachainTokenInfo(dAtA, i, uint64(len(m.ChannelId))) + if len(m.ChannelID) > 0 { + i -= len(m.ChannelID) + copy(dAtA[i:], m.ChannelID) + i = encodeVarintParachainTokenInfo(dAtA, i, uint64(len(m.ChannelID))) i-- dAtA[i] = 0x12 } @@ -304,7 +305,7 @@ func (m *ParachainIBCTokenInfo) Size() (n int) { if l > 0 { n += 1 + l + sovParachainTokenInfo(uint64(l)) } - l = len(m.ChannelId) + l = len(m.ChannelID) if l > 0 { n += 1 + l + sovParachainTokenInfo(uint64(l)) } @@ -403,7 +404,7 @@ func (m *ParachainIBCTokenInfo) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChannelId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChannelID", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -431,7 +432,7 @@ func (m *ParachainIBCTokenInfo) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ChannelId = string(dAtA[iNdEx:postIndex]) + m.ChannelID = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { diff --git a/x/transfermiddleware/types/tx.pb.go b/x/transfermiddleware/types/tx.pb.go index 33b7a6ef5..c7be4ccd1 100644 --- a/x/transfermiddleware/types/tx.pb.go +++ b/x/transfermiddleware/types/tx.pb.go @@ -34,7 +34,7 @@ type MsgAddParachainIBCTokenInfo struct { // authority is the address that controls the module (defaults to x/gov unless // overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty" yaml:"authority"` - ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty" yaml:"channel_id"` + ChannelID string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty" yaml:"channel_id"` IbcDenom string `protobuf:"bytes,3,opt,name=ibc_denom,json=ibcDenom,proto3" json:"ibc_denom,omitempty" yaml:"ibc_denom"` NativeDenom string `protobuf:"bytes,4,opt,name=native_denom,json=nativeDenom,proto3" json:"native_denom,omitempty" yaml:"native_denom"` AssetId string `protobuf:"bytes,5,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty" yaml:"asset_id"` @@ -80,9 +80,9 @@ func (m *MsgAddParachainIBCTokenInfo) GetAuthority() string { return "" } -func (m *MsgAddParachainIBCTokenInfo) GetChannelId() string { +func (m *MsgAddParachainIBCTokenInfo) GetChannelID() string { if m != nil { - return m.ChannelId + return m.ChannelID } return "" } @@ -343,40 +343,41 @@ func init() { } var fileDescriptor_925cc3e4d71d1dc8 = []byte{ - // 528 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x94, 0x3f, 0x6f, 0xd3, 0x40, - 0x18, 0xc6, 0x73, 0x09, 0x7f, 0x9a, 0x2b, 0x7f, 0x8a, 0x5b, 0xa8, 0xe5, 0x4a, 0x36, 0x3a, 0x54, - 0x54, 0x31, 0xd8, 0x4a, 0xa9, 0x54, 0x29, 0x0b, 0x6a, 0x80, 0x21, 0x48, 0x91, 0x90, 0xc5, 0xc4, - 0x12, 0x9d, 0x7d, 0x57, 0xc7, 0xc2, 0xf6, 0x45, 0x3e, 0x13, 0xea, 0x95, 0x8d, 0x09, 0xbe, 0x00, - 0x5f, 0x80, 0x09, 0x09, 0x89, 0xcf, 0xc0, 0xd8, 0x91, 0xc9, 0x42, 0xc9, 0xc0, 0x6e, 0xf1, 0x01, - 0x50, 0x7c, 0x8e, 0x1d, 0x12, 0xb0, 0x4a, 0x9b, 0x29, 0x77, 0x7a, 0xde, 0xdf, 0x7b, 0xcf, 0xf3, - 0xe6, 0x7c, 0x50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xf3, - 0x56, 0x1c, 0xfe, 0xd7, 0x4c, 0x4a, 0x50, 0x79, 0x74, 0x4e, 0x70, 0xe6, 0xa5, 0x73, 0xf0, 0x6d, - 0xac, 0x82, 0xd3, 0xb1, 0x0a, 0x7e, 0x8c, 0x55, 0xf0, 0x61, 0xa2, 0xd6, 0x4e, 0x27, 0x6a, 0xed, - 0xfb, 0x44, 0xad, 0xbd, 0x54, 0x4e, 0xfe, 0xf6, 0xca, 0x46, 0xf1, 0x90, 0x72, 0xeb, 0x4a, 0xf6, - 0x16, 0x3e, 0xfc, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xdf, 0xfc, 0x30, 0x03, 0x93, 0x05, 0x00, 0x00, + // 536 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0x3f, 0x6f, 0xd3, 0x40, + 0x14, 0xcf, 0x25, 0xfc, 0x69, 0xae, 0xfc, 0x29, 0x6e, 0x45, 0x23, 0x57, 0xb2, 0xd1, 0xa1, 0xa2, + 0x8a, 0xc1, 0x56, 0x0a, 0x52, 0xa5, 0x2c, 0x28, 0x69, 0x19, 0x8c, 0x14, 0x09, 0x59, 0x4c, 0x2c, + 0xd1, 0xd9, 0x77, 0x75, 0x2c, 0x6c, 0x5f, 0xe4, 0x33, 0xa1, 0x5e, 0xd9, 0x98, 0xe0, 0x0b, 0xf0, + 0x05, 0x98, 0x90, 0xf8, 0x08, 0x2c, 0x8c, 0x1d, 0x99, 0x2c, 0x94, 0x0c, 0xec, 0x16, 0x1f, 0x00, + 0xc5, 0xe7, 0xd8, 0x21, 0x01, 0xab, 0xb4, 0x9d, 0xfc, 0xce, 0xbf, 0xf7, 0x7b, 0xef, 0xf7, 0x7b, + 0x7e, 0x3e, 0xa8, 0xd9, 0xcc, 0x1f, 0x31, 0x8e, 0x2d, 0x8f, 0xea, 0x51, 0x88, 0x03, 0x7e, 0x4c, + 0x43, 0xd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f, 0x33, 0x29, 0x89, 0xf2, 0x93, + 0x73, 0x12, 0xe7, 0x5a, 0x7a, 0x8f, 0xbf, 0x4d, 0x14, 0x70, 0x3a, 0x51, 0xc0, 0x8f, 0x89, 0x02, + 0x3e, 0x4c, 0x95, 0xda, 0xe9, 0x54, 0xa9, 0x7d, 0x9f, 0x2a, 0xb5, 0x97, 0xf2, 0xc9, 0xdf, 0xae, + 0xdc, 0x28, 0x1e, 0x51, 0x6e, 0x5d, 0xcb, 0x2e, 0xc6, 0x47, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, + 0xb3, 0x08, 0xd6, 0x79, 0xa0, 0x05, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -572,10 +573,10 @@ func (m *MsgAddParachainIBCTokenInfo) MarshalToSizedBuffer(dAtA []byte) (int, er i-- dAtA[i] = 0x1a } - if len(m.ChannelId) > 0 { - i -= len(m.ChannelId) - copy(dAtA[i:], m.ChannelId) - i = encodeVarintTx(dAtA, i, uint64(len(m.ChannelId))) + if len(m.ChannelID) > 0 { + i -= len(m.ChannelID) + copy(dAtA[i:], m.ChannelID) + i = encodeVarintTx(dAtA, i, uint64(len(m.ChannelID))) i-- dAtA[i] = 0x12 } @@ -753,7 +754,7 @@ func (m *MsgAddParachainIBCTokenInfo) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.ChannelId) + l = len(m.ChannelID) if l > 0 { n += 1 + l + sovTx(uint64(l)) } @@ -902,7 +903,7 @@ func (m *MsgAddParachainIBCTokenInfo) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChannelId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChannelID", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -930,7 +931,7 @@ func (m *MsgAddParachainIBCTokenInfo) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ChannelId = string(dAtA[iNdEx:postIndex]) + m.ChannelID = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { From b6f7741c4643d56ca7c16bc761f8726e32bf860b Mon Sep 17 00:00:00 2001 From: GnaD13 Date: Mon, 25 Sep 2023 17:35:56 +0700 Subject: [PATCH 06/24] composable --- cmd/{centaurid => composabled}/cmd/bech32_convert.go | 0 cmd/{centaurid => composabled}/cmd/genaccounts.go | 0 cmd/{centaurid => composabled}/cmd/root.go | 0 cmd/{centaurid => composabled}/config/config.go | 0 cmd/{centaurid => composabled}/main.go | 0 5 files changed, 0 insertions(+), 0 deletions(-) rename cmd/{centaurid => composabled}/cmd/bech32_convert.go (100%) rename cmd/{centaurid => composabled}/cmd/genaccounts.go (100%) rename cmd/{centaurid => composabled}/cmd/root.go (100%) rename cmd/{centaurid => composabled}/config/config.go (100%) rename cmd/{centaurid => composabled}/main.go (100%) diff --git a/cmd/centaurid/cmd/bech32_convert.go b/cmd/composabled/cmd/bech32_convert.go similarity index 100% rename from cmd/centaurid/cmd/bech32_convert.go rename to cmd/composabled/cmd/bech32_convert.go diff --git a/cmd/centaurid/cmd/genaccounts.go b/cmd/composabled/cmd/genaccounts.go similarity index 100% rename from cmd/centaurid/cmd/genaccounts.go rename to cmd/composabled/cmd/genaccounts.go diff --git a/cmd/centaurid/cmd/root.go b/cmd/composabled/cmd/root.go similarity index 100% rename from cmd/centaurid/cmd/root.go rename to cmd/composabled/cmd/root.go diff --git a/cmd/centaurid/config/config.go b/cmd/composabled/config/config.go similarity index 100% rename from cmd/centaurid/config/config.go rename to cmd/composabled/config/config.go diff --git a/cmd/centaurid/main.go b/cmd/composabled/main.go similarity index 100% rename from cmd/centaurid/main.go rename to cmd/composabled/main.go From bec5912292e990e5e552ddcc6fb9e063749083a7 Mon Sep 17 00:00:00 2001 From: GnaD13 Date: Mon, 25 Sep 2023 17:58:21 +0700 Subject: [PATCH 07/24] proto| --- go.mod | 1 - go.sum | 2 - .../composable/ratelimit/v1beta1/query.proto | 14 +- proto/composable/ratelimit/v1beta1/tx.proto | 17 +- .../transfermiddleware/v1beta1/genesis.proto | 1 - .../v1beta1/parachain_token_info.proto | 2 +- .../transfermiddleware/v1beta1/query.proto | 10 +- .../transfermiddleware/v1beta1/tx.proto | 6 +- .../txboundary/v1beta1/boundary.proto | 10 +- .../txboundary/v1beta1/genesis.proto | 1 - .../composable/txboundary/v1beta1/query.proto | 25 +-- proto/composable/txboundary/v1beta1/tx.proto | 103 ++++++------ x/ratelimit/types/query.pb.go | 103 ++++++------ x/ratelimit/types/query.pb.gw.go | 38 ++--- x/ratelimit/types/tx.pb.go | 152 +++++++++--------- x/transfermiddleware/types/query.pb.go | 103 ++++++------ x/tx-boundary/types/query.pb.go | 13 +- x/tx-boundary/types/tx.pb.go | 11 +- 18 files changed, 316 insertions(+), 296 deletions(-) mode change 100755 => 100644 proto/composable/ratelimit/v1beta1/tx.proto diff --git a/go.mod b/go.mod index 65889cf92..7996e9f88 100644 --- a/go.mod +++ b/go.mod @@ -123,7 +123,6 @@ require ( github.com/quasilyte/gogrep v0.0.0-20220828223005-86e4605de09f // indirect github.com/quasilyte/regex/syntax v0.0.0-20200407221936-30656e2c4a95 // indirect github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 // indirect - github.com/regen-network/cosmos-proto v0.3.1 // indirect github.com/ryancurrah/gomodguard v1.2.4 // indirect github.com/ryanrolds/sqlclosecheck v0.3.0 // indirect github.com/sanposhiho/wastedassign/v2 v2.0.6 // indirect diff --git a/go.sum b/go.sum index acb3d5227..08af99a8e 100644 --- a/go.sum +++ b/go.sum @@ -1090,8 +1090,6 @@ github.com/rakyll/statik v0.1.7/go.mod h1:AlZONWzMtEnMs7W4e/1LURLiI49pIMmp6V9Ung github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 h1:N/ElC8H3+5XpJzTSTfLsJV/mx9Q9g7kxmchpfZyxgzM= github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= -github.com/regen-network/cosmos-proto v0.3.1 h1:rV7iM4SSFAagvy8RiyhiACbWEGotmqzywPxOvwMdxcg= -github.com/regen-network/cosmos-proto v0.3.1/go.mod h1:jO0sVX6a1B36nmE8C9xBFXpNwWejXC7QqCOnH3O0+YM= github.com/regen-network/gocuke v0.6.2 h1:pHviZ0kKAq2U2hN2q3smKNxct6hS0mGByFMHGnWA97M= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= diff --git a/proto/composable/ratelimit/v1beta1/query.proto b/proto/composable/ratelimit/v1beta1/query.proto index bf0d8a882..67eb98a96 100644 --- a/proto/composable/ratelimit/v1beta1/query.proto +++ b/proto/composable/ratelimit/v1beta1/query.proto @@ -15,20 +15,22 @@ service Query { } rpc RateLimit(QueryRateLimitRequest) returns (QueryRateLimitResponse) { option (google.api.http).get = - "/composable/ratelimit/ratelimit/{channel_id}/by_denom"; + "/composable/ratelimit/ratelimit/{ChannelID}/by_denom"; } rpc RateLimitsByChainID(QueryRateLimitsByChainIDRequest) returns (QueryRateLimitsByChainIDResponse) { - option (google.api.http).get = "/composable/ratelimit/ratelimits/{chain_id}"; + option (google.api.http).get = + "/composable/ratelimit/ratelimits/{chain_id}"; } rpc RateLimitsByChannelID(QueryRateLimitsByChannelIDRequest) returns (QueryRateLimitsByChannelIDResponse) { option (google.api.http).get = - "/composable/ratelimit/ratelimits/{channel_id}"; + "/composable/ratelimit/ratelimits/{ChannelID}"; } rpc AllWhitelistedAddresses(QueryAllWhitelistedAddressesRequest) returns (QueryAllWhitelistedAddressesResponse) { - option (google.api.http).get = "/composable/ratelimit/whitelisted_addresses"; + option (google.api.http).get = + "/composable/ratelimit/whitelisted_addresses"; } } @@ -39,7 +41,7 @@ message QueryAllRateLimitsResponse { message QueryRateLimitRequest { string denom = 1; - string channel_id = 2 [ (gogoproto.customname) = "ChannelID" ]; + string ChannelID = 2 [ (gogoproto.customname) = "ChannelID" ]; } message QueryRateLimitResponse { RateLimit rate_limit = 1; } @@ -48,7 +50,7 @@ message QueryRateLimitsByChainIDResponse { repeated RateLimit rate_limits = 1 [ (gogoproto.nullable) = false ]; } -message QueryRateLimitsByChannelIDRequest { string channel_id = 1; } +message QueryRateLimitsByChannelIDRequest { string ChannelID = 1 [ (gogoproto.customname) = "ChannelID" ]; } message QueryRateLimitsByChannelIDResponse { repeated RateLimit rate_limits = 1 [ (gogoproto.nullable) = false ]; } diff --git a/proto/composable/ratelimit/v1beta1/tx.proto b/proto/composable/ratelimit/v1beta1/tx.proto old mode 100755 new mode 100644 index 249806064..0b5df036c --- a/proto/composable/ratelimit/v1beta1/tx.proto +++ b/proto/composable/ratelimit/v1beta1/tx.proto @@ -9,9 +9,12 @@ option go_package = "x/ratelimit/types"; // Msg defines the transfer middleware Msg service. service Msg { rpc AddTransferRateLimit(MsgAddRateLimit) returns (MsgAddRateLimitResponse); - rpc UpdateTransferRateLimit(MsgUpdateRateLimit) returns (MsgUpdateRateLimitResponse); - rpc RemoveTransferRateLimit(MsgRemoveRateLimit) returns (MsgRemoveRateLimitResponse); - rpc ResetTransferRateLimit(MsgResetRateLimit) returns (MsgResetRateLimitResponse); + rpc UpdateTransferRateLimit(MsgUpdateRateLimit) + returns (MsgUpdateRateLimitResponse); + rpc RemoveTransferRateLimit(MsgRemoveRateLimit) + returns (MsgRemoveRateLimitResponse); + rpc ResetTransferRateLimit(MsgResetRateLimit) + returns (MsgResetRateLimitResponse); } message MsgAddRateLimit { @@ -76,8 +79,8 @@ message MsgRemoveRateLimit { // authority is the address that controls the module (defaults to x/gov unless // overwritten). string authority = 1 [ (gogoproto.moretags) = "yaml:\"authority\"" ]; - string denom = 2 [ (gogoproto.customname) = "ChannelID" ]; - string channel_id = 3; + string denom = 2; + string channel_id = 3 [ (gogoproto.customname) = "ChannelID" ]; } message MsgRemoveRateLimitResponse {} @@ -88,8 +91,8 @@ message MsgResetRateLimit { // authority is the address that controls the module (defaults to x/gov unless // overwritten). string authority = 1 [ (gogoproto.moretags) = "yaml:\"authority\"" ]; - string denom = 2 [ (gogoproto.customname) = "ChannelID" ]; - string channel_id = 3; + string denom = 2; + string channel_id = 3 [ (gogoproto.customname) = "ChannelID" ]; } message MsgResetRateLimitResponse {} diff --git a/proto/composable/transfermiddleware/v1beta1/genesis.proto b/proto/composable/transfermiddleware/v1beta1/genesis.proto index 82d25ddc0..eb4661646 100644 --- a/proto/composable/transfermiddleware/v1beta1/genesis.proto +++ b/proto/composable/transfermiddleware/v1beta1/genesis.proto @@ -14,4 +14,3 @@ message GenesisState { [ (gogoproto.nullable) = false ]; Params params = 2 [ (gogoproto.nullable) = false ]; } - diff --git a/proto/composable/transfermiddleware/v1beta1/parachain_token_info.proto b/proto/composable/transfermiddleware/v1beta1/parachain_token_info.proto index 02b41d736..6ed50e552 100644 --- a/proto/composable/transfermiddleware/v1beta1/parachain_token_info.proto +++ b/proto/composable/transfermiddleware/v1beta1/parachain_token_info.proto @@ -13,7 +13,7 @@ message ParachainIBCTokenInfo { // dotsama chain. string ibc_denom = 1 [ (gogoproto.moretags) = "yaml:\"ibc_denom\"" ]; // channel_id is source channel in IBC connection from composable chain - string channel_id = 2 [ + string channel_id = 2 [ (gogoproto.moretags) = "yaml:\"channel_id\"", (gogoproto.customname) = "ChannelID" ]; diff --git a/proto/composable/transfermiddleware/v1beta1/query.proto b/proto/composable/transfermiddleware/v1beta1/query.proto index 39b6bfabc..0d3c95d09 100644 --- a/proto/composable/transfermiddleware/v1beta1/query.proto +++ b/proto/composable/transfermiddleware/v1beta1/query.proto @@ -21,7 +21,10 @@ service Query { // message QueryEscrowAddressRequest message QueryEscrowAddressRequest { - string channel_id = 1 [ (gogoproto.moretags) = "yaml:\"channel_id\"" ]; + string channel_id = 1 [ + (gogoproto.moretags) = "yaml:\"channel_id\"", + (gogoproto.customname) = "ChannelID" + ]; } // QueryEscrowAddressResponse @@ -40,7 +43,10 @@ message QueryParaTokenInfoRequest { // RPC method. message QueryParaTokenInfoResponse { string ibc_denom = 1 [ (gogoproto.moretags) = "yaml:\"ibc_denom\"" ]; - string channel_id = 2 [ (gogoproto.moretags) = "yaml:\"channel_id\"" ]; + string channel_id = 2 [ + (gogoproto.moretags) = "yaml:\"channel_id\"", + (gogoproto.customname) = "ChannelID" + ]; string native_denom = 3 [ (gogoproto.moretags) = "yaml:\"native_denom\"" ]; string asset_id = 4 [ (gogoproto.moretags) = "yaml:\"asset_id\"" ]; } diff --git a/proto/composable/transfermiddleware/v1beta1/tx.proto b/proto/composable/transfermiddleware/v1beta1/tx.proto index 7e9090146..94235f524 100644 --- a/proto/composable/transfermiddleware/v1beta1/tx.proto +++ b/proto/composable/transfermiddleware/v1beta1/tx.proto @@ -22,10 +22,10 @@ message MsgAddParachainIBCTokenInfo { // authority is the address that controls the module (defaults to x/gov unless // overwritten). string authority = 1 [ (gogoproto.moretags) = "yaml:\"authority\"" ]; - string channel_id = 2 [ - (gogoproto.moretags) = "yaml:\"channel_id\"", + string channel_id = 2 [ + (gogoproto.moretags) = "yaml:\"channel_id\"", (gogoproto.customname) = "ChannelID" - ]; + ]; string ibc_denom = 3 [ (gogoproto.moretags) = "yaml:\"ibc_denom\"" ]; string native_denom = 4 [ (gogoproto.moretags) = "yaml:\"native_denom\"" ]; string asset_id = 5 [ (gogoproto.moretags) = "yaml:\"asset_id\"" ]; diff --git a/proto/composable/txboundary/v1beta1/boundary.proto b/proto/composable/txboundary/v1beta1/boundary.proto index 4cfdd24a3..8cb0fa2e7 100644 --- a/proto/composable/txboundary/v1beta1/boundary.proto +++ b/proto/composable/txboundary/v1beta1/boundary.proto @@ -9,13 +9,13 @@ option go_package = "x/tx-boundary/types"; // Boundary defines the number of tx limit and block per tx generation time message Boundary { - uint64 tx_limit = 1; - uint64 blocks_per_generation = 2; + uint64 tx_limit = 1; + uint64 blocks_per_generation = 2; } // Boundary defines the number of delegate and redelegate per Addr message LimitPerAddr { - uint64 delegate_count = 1; - uint64 reledegate_count = 2; - int64 latest_update_block = 3; + uint64 delegate_count = 1; + uint64 reledegate_count = 2; + int64 latest_update_block = 3; } \ No newline at end of file diff --git a/proto/composable/txboundary/v1beta1/genesis.proto b/proto/composable/txboundary/v1beta1/genesis.proto index 7bf283102..735bb1ce0 100644 --- a/proto/composable/txboundary/v1beta1/genesis.proto +++ b/proto/composable/txboundary/v1beta1/genesis.proto @@ -18,4 +18,3 @@ message GenesisState { (gogoproto.nullable) = false ]; } - diff --git a/proto/composable/txboundary/v1beta1/query.proto b/proto/composable/txboundary/v1beta1/query.proto index 86eeca7fd..c5f4a918d 100644 --- a/proto/composable/txboundary/v1beta1/query.proto +++ b/proto/composable/txboundary/v1beta1/query.proto @@ -10,30 +10,37 @@ option go_package = "x/tx-boundary/types"; // Query provides defines the gRPC querier service. service Query { // DelegateBoundary returns the boundary for the delegate tx. - rpc DelegateBoundary(QueryDelegateBoundaryRequest) returns (QueryDelegateBoundaryResponse) { - option (google.api.http).get = "/cosmos/txboundary/v1beta1/delegateboundary"; + rpc DelegateBoundary(QueryDelegateBoundaryRequest) + returns (QueryDelegateBoundaryResponse) { + option (google.api.http).get = + "/cosmos/txboundary/v1beta1/delegateboundary"; } // RedelegateBoundary returns the boundary for the redelegate tx. - rpc RedelegateBoundary(QueryRedelegateBoundaryRequest) returns (QueryRedelegateBoundaryResponse) { - option (google.api.http).get = "/cosmos/txboundary/v1beta1/redelegateboundary"; + rpc RedelegateBoundary(QueryRedelegateBoundaryRequest) + returns (QueryRedelegateBoundaryResponse) { + option (google.api.http).get = + "/cosmos/txboundary/v1beta1/redelegateboundary"; } } -// QueryDelegateBoundaryRequest is the request type for the Query/DelegateBoundary RPC method. +// QueryDelegateBoundaryRequest is the request type for the +// Query/DelegateBoundary RPC method. message QueryDelegateBoundaryRequest {} -// QueryDelegateBoundaryResponse is the response type for the Query/DelegateBoundary RPC method. +// QueryDelegateBoundaryResponse is the response type for the +// Query/DelegateBoundary RPC method. message QueryDelegateBoundaryResponse { // boundary defines the boundary for the delegate tx Boundary boundary = 1 [ (gogoproto.nullable) = false ]; } -// QueryRedelegateBoundaryRequest is the request type for the Query/ReDelegateBoundary RPC method. +// QueryRedelegateBoundaryRequest is the request type for the +// Query/ReDelegateBoundary RPC method. message QueryRedelegateBoundaryRequest {} -// QueryRedelegateBoundaryResponse is the response type for the Query/ReDelegateBoundary RPC -// method. +// QueryRedelegateBoundaryResponse is the response type for the +// Query/ReDelegateBoundary RPC method. message QueryRedelegateBoundaryResponse { // boundary defines the boundary for the redelegate tx Boundary boundary = 1 [ (gogoproto.nullable) = false ]; diff --git a/proto/composable/txboundary/v1beta1/tx.proto b/proto/composable/txboundary/v1beta1/tx.proto index 8a205bfb1..03249ee04 100644 --- a/proto/composable/txboundary/v1beta1/tx.proto +++ b/proto/composable/txboundary/v1beta1/tx.proto @@ -12,57 +12,60 @@ option go_package = "x/tx-boundary/types"; // Msg defines the x/mint Msg service. service Msg { - option (cosmos.msg.v1.service) = true; - - rpc UpdateDelegateBoundary(MsgUpdateDelegateBoundary) returns (MsgUpdateDelegateBoundaryResponse); + option (cosmos.msg.v1.service) = true; - rpc UpdateRedelegateBoundary(MsgUpdateRedelegateBoundary) returns (MsgUpdateRedelegateBoundaryResponse); - } - - // MsgUpdateDelegateBoundary is the Msg/UpdateDelegateBoundary request type. - // - // Since: cosmos-sdk 0.47 - message MsgUpdateDelegateBoundary { - option (cosmos.msg.v1.signer) = "authority"; - option (amino.name) = "composable/x/txboundary/MsgUpdateDelegateBoundary"; - - // authority is the address that controls the module (defaults to x/gov unless - // overwritten). - string authority = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; - - // boundary defines the x/tx-boundary parameters to update. - // - // NOTE: All parameters must be supplied. - Boundary boundary = 2 - [ (gogoproto.nullable) = false, (amino.dont_omitempty) = true ]; - } - - // MsgUpdateDelegateBoundaryResponse defines the response structure for executing a - // MsgUpdateDelegateBoundary message. - // - // Since: cosmos-sdk 0.47 - message MsgUpdateDelegateBoundaryResponse {} + rpc UpdateDelegateBoundary(MsgUpdateDelegateBoundary) + returns (MsgUpdateDelegateBoundaryResponse); + + rpc UpdateRedelegateBoundary(MsgUpdateRedelegateBoundary) + returns (MsgUpdateRedelegateBoundaryResponse); +} + +// MsgUpdateDelegateBoundary is the Msg/UpdateDelegateBoundary request type. +// +// Since: cosmos-sdk 0.47 +message MsgUpdateDelegateBoundary { + option (cosmos.msg.v1.signer) = "authority"; + option (amino.name) = "composable/x/txboundary/MsgUpdateDelegateBoundary"; + + // authority is the address that controls the module (defaults to x/gov unless + // overwritten). + string authority = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; - // MsgUpdateRedelegateBoundary is the Msg/MsgUpdateRedelegateBoundary request type. + // boundary defines the x/tx-boundary parameters to update. // - // Since: cosmos-sdk 0.47 - message MsgUpdateRedelegateBoundary { - option (cosmos.msg.v1.signer) = "authority"; - option (amino.name) = "composable/x/txboundary/MsgUpdateDelegateBoundary"; - - // authority is the address that controls the module (defaults to x/gov unless - // overwritten). - string authority = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; - - // boundary defines the x/tx-boundary parameters to update. - // - // NOTE: All parameters must be supplied. - Boundary boundary = 2 - [ (gogoproto.nullable) = false, (amino.dont_omitempty) = true ]; - } - - // MsgUpdateRedelegateBoundaryResponse defines the response structure for executing a - // MsgUpdateRedelegateBoundary message. + // NOTE: All parameters must be supplied. + Boundary boundary = 2 + [ (gogoproto.nullable) = false, (amino.dont_omitempty) = true ]; +} + +// MsgUpdateDelegateBoundaryResponse defines the response structure for +// executing a MsgUpdateDelegateBoundary message. +// +// Since: cosmos-sdk 0.47 +message MsgUpdateDelegateBoundaryResponse {} + +// MsgUpdateRedelegateBoundary is the Msg/MsgUpdateRedelegateBoundary request +// type. +// +// Since: cosmos-sdk 0.47 +message MsgUpdateRedelegateBoundary { + option (cosmos.msg.v1.signer) = "authority"; + option (amino.name) = "composable/x/txboundary/MsgUpdateDelegateBoundary"; + + // authority is the address that controls the module (defaults to x/gov unless + // overwritten). + string authority = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; + + // boundary defines the x/tx-boundary parameters to update. // - // Since: cosmos-sdk 0.47 - message MsgUpdateRedelegateBoundaryResponse {} \ No newline at end of file + // NOTE: All parameters must be supplied. + Boundary boundary = 2 + [ (gogoproto.nullable) = false, (amino.dont_omitempty) = true ]; +} + +// MsgUpdateRedelegateBoundaryResponse defines the response structure for +// executing a MsgUpdateRedelegateBoundary message. +// +// Since: cosmos-sdk 0.47 +message MsgUpdateRedelegateBoundaryResponse {} \ No newline at end of file diff --git a/x/ratelimit/types/query.pb.go b/x/ratelimit/types/query.pb.go index 6952dd839..4eb0ba19b 100644 --- a/x/ratelimit/types/query.pb.go +++ b/x/ratelimit/types/query.pb.go @@ -111,7 +111,7 @@ func (m *QueryAllRateLimitsResponse) GetRateLimits() []RateLimit { type QueryRateLimitRequest struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` - ChannelID string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` + ChannelID string `protobuf:"bytes,2,opt,name=ChannelID,proto3" json:"ChannelID,omitempty"` } func (m *QueryRateLimitRequest) Reset() { *m = QueryRateLimitRequest{} } @@ -294,7 +294,7 @@ func (m *QueryRateLimitsByChainIDResponse) GetRateLimits() []RateLimit { } type QueryRateLimitsByChannelIDRequest struct { - ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` + ChannelID string `protobuf:"bytes,1,opt,name=ChannelID,proto3" json:"ChannelID,omitempty"` } func (m *QueryRateLimitsByChannelIDRequest) Reset() { *m = QueryRateLimitsByChannelIDRequest{} } @@ -330,9 +330,9 @@ func (m *QueryRateLimitsByChannelIDRequest) XXX_DiscardUnknown() { var xxx_messageInfo_QueryRateLimitsByChannelIDRequest proto.InternalMessageInfo -func (m *QueryRateLimitsByChannelIDRequest) GetChannelId() string { +func (m *QueryRateLimitsByChannelIDRequest) GetChannelID() string { if m != nil { - return m.ChannelId + return m.ChannelID } return "" } @@ -479,47 +479,46 @@ func init() { } var fileDescriptor_dcd0dc17fb77b132 = []byte{ - // 630 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x95, 0xcf, 0x6e, 0xd3, 0x40, - 0x10, 0xc6, 0xb3, 0x85, 0x52, 0x32, 0xa5, 0x07, 0x96, 0x16, 0x5a, 0x53, 0xdc, 0x60, 0x40, 0x44, - 0x6a, 0x1b, 0xab, 0xff, 0x54, 0x0e, 0x14, 0xa8, 0x5b, 0x21, 0x45, 0x42, 0x08, 0x7c, 0x41, 0x82, - 0x83, 0xd9, 0xd4, 0xab, 0xc4, 0x92, 0xe3, 0x75, 0xbd, 0x2e, 0x10, 0xa1, 0x5e, 0xb8, 0x70, 0x45, - 0xe2, 0x35, 0xb8, 0xf2, 0x0e, 0xe5, 0x56, 0x84, 0x90, 0x38, 0x55, 0x28, 0x41, 0x3c, 0x07, 0xf2, - 0x7a, 0x63, 0x37, 0x6d, 0xe2, 0x26, 0x45, 0xbd, 0x6d, 0x76, 0x67, 0xbe, 0xf9, 0x7d, 0xe3, 0x9d, - 0x0d, 0x14, 0xb7, 0x58, 0xdd, 0x67, 0x9c, 0x54, 0x5c, 0xaa, 0x07, 0x24, 0xa4, 0xae, 0x53, 0x77, - 0x42, 0xfd, 0xcd, 0x42, 0x85, 0x86, 0x64, 0x41, 0xdf, 0xde, 0xa1, 0x41, 0xa3, 0xe4, 0x07, 0x2c, - 0x64, 0x78, 0x3a, 0x8d, 0x2c, 0x25, 0x91, 0x25, 0x19, 0xa9, 0xcc, 0x65, 0xea, 0xa4, 0xf1, 0x42, - 0x4b, 0x99, 0xae, 0x32, 0x56, 0x75, 0xa9, 0x4e, 0x7c, 0x47, 0x27, 0x9e, 0xc7, 0x42, 0x12, 0x3a, - 0xcc, 0xe3, 0xf2, 0x74, 0xbc, 0xca, 0xaa, 0x4c, 0x2c, 0xf5, 0x68, 0x15, 0xef, 0x6a, 0xd7, 0x61, - 0xea, 0x79, 0x84, 0xb3, 0xee, 0xba, 0x26, 0x09, 0xe9, 0x93, 0x48, 0x8e, 0x9b, 0x74, 0x7b, 0x87, - 0xf2, 0x50, 0x73, 0x41, 0xe9, 0x76, 0xc8, 0x7d, 0xe6, 0x71, 0x8a, 0x9f, 0xc2, 0x68, 0x44, 0x60, - 0x09, 0x04, 0x3e, 0x89, 0x0a, 0xe7, 0x8a, 0xa3, 0x8b, 0x77, 0x4b, 0x59, 0x86, 0x4a, 0x89, 0x8c, - 0x71, 0x7e, 0xef, 0x60, 0x26, 0x67, 0x42, 0x90, 0xe8, 0x6a, 0xaf, 0x60, 0x42, 0x54, 0x4b, 0x62, - 0x24, 0x06, 0x1e, 0x87, 0x61, 0x9b, 0x7a, 0xac, 0x3e, 0x89, 0x0a, 0xa8, 0x98, 0x37, 0xe3, 0x1f, - 0x78, 0x0e, 0x60, 0xab, 0x46, 0x3c, 0x8f, 0xba, 0x96, 0x63, 0x4f, 0x0e, 0x45, 0x47, 0xc6, 0x58, - 0xf3, 0x60, 0x26, 0xbf, 0x11, 0xef, 0x96, 0x37, 0xcd, 0xbc, 0x0c, 0x28, 0xdb, 0xda, 0x6b, 0xb8, - 0x7a, 0x54, 0x5c, 0xda, 0x78, 0x0c, 0x90, 0xda, 0x10, 0x25, 0xfa, 0x77, 0x61, 0xe6, 0x13, 0x7e, - 0xed, 0x3e, 0xcc, 0x74, 0x56, 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1, 0x1b, 0x82, 0x2b, 0x5d, - 0x66, 0x09, 0xaf, 0x0d, 0x02, 0x73, 0x6c, 0x82, 0x95, 0x07, 0xa7, 0x4d, 0x97, 0xae, 0x96, 0x84, - 0xab, 0x79, 0x3c, 0x7b, 0x52, 0xe3, 0x85, 0x2d, 0xf1, 0x52, 0xec, 0xe2, 0xef, 0x08, 0x26, 0xba, - 0xce, 0x17, 0x7e, 0x38, 0x38, 0x4e, 0xc7, 0x74, 0x2b, 0x8f, 0x4e, 0x2f, 0x20, 0x1d, 0xad, 0x08, - 0x47, 0x3a, 0x9e, 0xef, 0xcb, 0x51, 0xfb, 0x43, 0xe1, 0x9f, 0x08, 0xae, 0xf5, 0x98, 0x4a, 0xbc, - 0xde, 0xdf, 0xbd, 0xce, 0x98, 0x7c, 0xc5, 0xf8, 0x1f, 0x89, 0xfe, 0xbe, 0xd5, 0xdb, 0x34, 0xd7, - 0x22, 0xed, 0x64, 0x63, 0x76, 0xaf, 0xa9, 0xa2, 0xfd, 0xa6, 0x8a, 0x7e, 0x37, 0x55, 0xf4, 0xa9, - 0xa5, 0xe6, 0xf6, 0x5b, 0x6a, 0xee, 0x57, 0x4b, 0xcd, 0xbd, 0xbc, 0xfc, 0xee, 0x50, 0x72, 0xd8, - 0xf0, 0x29, 0xaf, 0x5c, 0x10, 0xff, 0xc1, 0x4b, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xd4, 0x4b, - 0x56, 0x89, 0x2f, 0x08, 0x00, 0x00, + // 620 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0x4d, 0x6f, 0xd3, 0x40, + 0x10, 0xcd, 0x16, 0x4a, 0xc9, 0x94, 0x1e, 0x58, 0x5a, 0x48, 0x4d, 0xe5, 0x04, 0x03, 0x22, 0x52, + 0x8a, 0xad, 0x36, 0x11, 0x70, 0x28, 0x1f, 0x49, 0x2b, 0xa4,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bb, 0x2b, 0xa7, 0x76, + 0xae, 0x7f, 0xfc, 0xa7, 0xd8, 0x6f, 0xb9, 0x94, 0xd7, 0xae, 0x84, 0xbf, 0xe3, 0xe2, 0xdf, 0x00, + 0x00, 0x00, 0xff, 0xff, 0x73, 0x82, 0x8b, 0x51, 0x3a, 0x08, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -965,10 +964,10 @@ func (m *QueryRateLimitsByChannelIDRequest) MarshalToSizedBuffer(dAtA []byte) (i _ = i var l int _ = l - if len(m.ChannelId) > 0 { - i -= len(m.ChannelId) - copy(dAtA[i:], m.ChannelId) - i = encodeVarintQuery(dAtA, i, uint64(len(m.ChannelId))) + if len(m.ChannelID) > 0 { + i -= len(m.ChannelID) + copy(dAtA[i:], m.ChannelID) + i = encodeVarintQuery(dAtA, i, uint64(len(m.ChannelID))) i-- dAtA[i] = 0xa } @@ -1171,7 +1170,7 @@ func (m *QueryRateLimitsByChannelIDRequest) Size() (n int) { } var l int _ = l - l = len(m.ChannelId) + l = len(m.ChannelID) if l > 0 { n += 1 + l + sovQuery(uint64(l)) } @@ -1754,7 +1753,7 @@ func (m *QueryRateLimitsByChannelIDRequest) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChannelId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChannelID", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -1782,7 +1781,7 @@ func (m *QueryRateLimitsByChannelIDRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ChannelId = string(dAtA[iNdEx:postIndex]) + m.ChannelID = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex diff --git a/x/ratelimit/types/query.pb.gw.go b/x/ratelimit/types/query.pb.gw.go index b8eefc164..4f7542ba7 100644 --- a/x/ratelimit/types/query.pb.gw.go +++ b/x/ratelimit/types/query.pb.gw.go @@ -52,7 +52,7 @@ func local_request_Query_AllRateLimits_0(ctx context.Context, marshaler runtime. } var ( - filter_Query_RateLimit_0 = &utilities.DoubleArray{Encoding: map[string]int{"channel_id": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} + filter_Query_RateLimit_0 = &utilities.DoubleArray{Encoding: map[string]int{"ChannelID": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} ) func request_Query_RateLimit_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -66,15 +66,15 @@ func request_Query_RateLimit_0(ctx context.Context, marshaler runtime.Marshaler, _ = err ) - val, ok = pathParams["channel_id"] + val, ok = pathParams["ChannelID"] if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "channel_id") + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "ChannelID") } - protoReq.ChannelId, err = runtime.String(val) + protoReq.ChannelID, err = runtime.String(val) if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "channel_id", err) + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "ChannelID", err) } if err := req.ParseForm(); err != nil { @@ -100,15 +100,15 @@ func local_request_Query_RateLimit_0(ctx context.Context, marshaler runtime.Mars _ = err ) - val, ok = pathParams["channel_id"] + val, ok = pathParams["ChannelID"] if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "channel_id") + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "ChannelID") } - protoReq.ChannelId, err = runtime.String(val) + protoReq.ChannelID, err = runtime.String(val) if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "channel_id", err) + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "ChannelID", err) } if err := req.ParseForm(); err != nil { @@ -188,15 +188,15 @@ func request_Query_RateLimitsByChannelID_0(ctx context.Context, marshaler runtim _ = err ) - val, ok = pathParams["channel_id"] + val, ok = pathParams["ChannelID"] if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "channel_id") + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "ChannelID") } - protoReq.ChannelId, err = runtime.String(val) + protoReq.ChannelID, err = runtime.String(val) if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "channel_id", err) + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "ChannelID", err) } msg, err := client.RateLimitsByChannelID(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) @@ -215,15 +215,15 @@ func local_request_Query_RateLimitsByChannelID_0(ctx context.Context, marshaler _ = err ) - val, ok = pathParams["channel_id"] + val, ok = pathParams["ChannelID"] if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "channel_id") + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "ChannelID") } - protoReq.ChannelId, err = runtime.String(val) + protoReq.ChannelID, err = runtime.String(val) if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "channel_id", err) + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "ChannelID", err) } msg, err := server.RateLimitsByChannelID(ctx, &protoReq) @@ -517,11 +517,11 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie var ( pattern_Query_AllRateLimits_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"composable", "ratelimit", "ratelimits"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_RateLimit_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3}, []string{"composable", "ratelimit", "channel_id", "by_denom"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_RateLimit_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3}, []string{"composable", "ratelimit", "ChannelID", "by_denom"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_RateLimitsByChainID_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"composable", "ratelimit", "ratelimits", "chain_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_RateLimitsByChannelID_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"composable", "ratelimit", "ratelimits", "channel_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_RateLimitsByChannelID_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"composable", "ratelimit", "ratelimits", "ChannelID"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_AllWhitelistedAddresses_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"composable", "ratelimit", "whitelisted_addresses"}, "", runtime.AssumeColonVerbOpt(false))) ) diff --git a/x/ratelimit/types/tx.pb.go b/x/ratelimit/types/tx.pb.go index 1996360a2..3f7c5540c 100644 --- a/x/ratelimit/types/tx.pb.go +++ b/x/ratelimit/types/tx.pb.go @@ -258,8 +258,8 @@ type MsgRemoveRateLimit struct { // authority is the address that controls the module (defaults to x/gov unless // overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty" yaml:"authority"` - ChannelID string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` - ChannelId string `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` + Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` + ChannelID string `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` } func (m *MsgRemoveRateLimit) Reset() { *m = MsgRemoveRateLimit{} } @@ -302,16 +302,16 @@ func (m *MsgRemoveRateLimit) GetAuthority() string { return "" } -func (m *MsgRemoveRateLimit) GetChannelID() string { +func (m *MsgRemoveRateLimit) GetDenom() string { if m != nil { - return m.ChannelID + return m.Denom } return "" } -func (m *MsgRemoveRateLimit) GetChannelId() string { +func (m *MsgRemoveRateLimit) GetChannelID() string { if m != nil { - return m.ChannelId + return m.ChannelID } return "" } @@ -356,8 +356,8 @@ type MsgResetRateLimit struct { // authority is the address that controls the module (defaults to x/gov unless // overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty" yaml:"authority"` - ChannelID string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` - ChannelId string `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` + Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` + ChannelID string `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` } func (m *MsgResetRateLimit) Reset() { *m = MsgResetRateLimit{} } @@ -400,16 +400,16 @@ func (m *MsgResetRateLimit) GetAuthority() string { return "" } -func (m *MsgResetRateLimit) GetChannelID() string { +func (m *MsgResetRateLimit) GetDenom() string { if m != nil { - return m.ChannelID + return m.Denom } return "" } -func (m *MsgResetRateLimit) GetChannelId() string { +func (m *MsgResetRateLimit) GetChannelID() string { if m != nil { - return m.ChannelId + return m.ChannelID } return "" } @@ -466,44 +466,44 @@ func init() { } var fileDescriptor_7c4a582edd75a41c = []byte{ - // 592 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x96, 0x4f, 0x6b, 0x13, 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5, 0x3e, 0xa2, 0xed, 0xbd, 0xca, 0xb4, 0x54, 0xb1, 0x66, 0x32, 0x58, 0x04, - 0x4b, 0x98, 0x30, 0x4e, 0xd5, 0xff, 0x42, 0xbd, 0x15, 0xff, 0x81, 0xb7, 0x01, 0x70, 0x5a, 0x88, - 0x31, 0xd2, 0xb6, 0x3d, 0xac, 0x66, 0x23, 0xab, 0x95, 0xe1, 0xa0, 0x9c, 0x7f, 0x18, 0xef, 0xd6, - 0x1f, 0x59, 0xf9, 0xb1, 0xa0, 0x8e, 0xe1, 0x4b, 0xb0, 0x4a, 0x51, 0xcf, 0xf6, 0x49, 0xe0, 0x10, - 0x26, 0x6d, 0x41, 0x18, 0x56, 0x73, 0x51, 0x8f, 0x71, 0x38, 0x28, 0x67, 0x8e, 0x07, 0xe5, 0x1b, - 0xae, 0x27, 0x5b, 0x9d, 0xa6, 0xe1, 0x70, 0x6a, 0x8e, 0x4f, 0x14, 0x2f, 0x3b, 0x02, 0xbf, 0x31, - 0x65, 0xdf, 0x27, 0xc2, 0xa8, 0x33, 0x69, 0x15, 0x28, 0xea, 0x3d, 0x8d, 0x6d, 0x9e, 0x11, 0x96, - 0x72, 0x0e, 0x88, 0xd3, 0x55, 0x97, 0x2e, 0xea, 0x6c, 0x11, 0xa7, 0x0b, 0x11, 0xb8, 0x4c, 0x3d, - 0x66, 0x87, 0x1c, 0xec, 0x08, 0x84, 0x8d, 0x28, 0xef, 0x30, 0xa9, 0x2e, 0x9f, 0xcb, 0x1e, 0x52, - 0x8f, 0x4d, 0x41, 0xd4, 0x22, 0x27, 0xb8, 0x05, 0x0a, 0xb8, 0x13, 0x20, 0xe9, 0x71, 0x66, 0xb7, - 0x78, 0x27, 0x10, 0xea, 0xff, 0x9b, 0xca, 0x76, 0xce, 0x5a, 0x99, 0xec, 0x3e, 0x0e, 0x37, 0xf7, - 0x0a, 0x07, 0xdf, 0x3f, 0xdf, 0x9c, 0x11, 0xa9, 0xac, 0x83, 0x52, 0x02, 0x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0xa4, 0x67, 0x5e, 0xad, 0xf5, 0xe6, 0xbe, 0x03, 0xa2, 0xcb, 0xa2, 0xb9, 0x1c, 0xbd, - 0xb6, 0xef, 0xfe, 0x0c, 0x00, 0x00, 0xff, 0xff, 0xd8, 0xd9, 0x7b, 0x52, 0x2c, 0x08, 0x00, 0x00, + // 577 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x96, 0x4f, 0x6b, 0x13, 0x41, + 0x18, 0xc6, 0xb3, 0x26, 0xad, 0x64, 0xa0, 0xb1, 0x1d, 0xa2, 0xd9, 0xae, 0x65, 0x53, 0x02, 0x95, + 0xa2, 0x76, 0xd7, 0x54, 0x44, 0xe9, 0x2d, 0xd5, 0x83, 0x01, 0x03, 0xb2, 0x2a, 0x88, 0x97, 0x65, + 0xb2, 0x33, 0x6e, 0x16, 0x33, 0x33, 0xcb, 0xce, 0x24, 0x24, 0xe0, 0xa9, 0xe0, 0xdd, 0xa3, 0xa0, + 0x1f, 0xc2, 0x8f, 0xd1, 0x63, 0x6f, 0x4a, 0x0f, 0x41, 0x92, 0x83, 0x77, 0x3f, 0x81, 0xec, 0x6c, + 0xfe, 0xd4, 0x2c, 0xd5, 0xa6, 0x1e, 0x14, 0xf1, 0x34, 0xc9, 0xbc, 0xcf, 0xfb, 0xf0, 0x0c, 0xbf, + 0x77, 0x67, 0x17, 0x6c, 0x79, 0x9c, 0x86, 0x5c, 0xa0, 0x66, 0x9b, 0xd8, 0x11, 0x92, 0xa4, 0x1d, + 0xd0, 0x40, 0xda, 0xdd, 0x6a, 0x93, 0x48, 0x54, 0xb5, 0x65, 0xcf, 0x0a, 0x23, 0x2e, 0x39, 0xdc, + 0x98, 0xc9, 0xac, 0xa9, 0xcc, 0x1a, 0xcb, 0x8c, 0xa2, 0xcf, 0x7d, 0xae, 0x84, 0x76, 0xfc, 0x2b, + 0xe9, 0x31, 0x4a, 0x1e, 0x17, 0x94, 0x0b, 0x9b, 0x0a, 0xdf, 0xee, 0x56, 0xe3, 0x25, 0x29, 0x54, + 0x3e, 0x65, 0xc1, 0xa5, 0x86, 0xf0, 0x6b, 0x18, 0x3b, 0x48, 0x92, 0x47, 0xb1, 0x15, 0xdc, 0x05, + 0x79, 0xd4, 0x91, 0x2d, 0x1e, 0x05, 0xb2, 0xaf, 0x6b, 0x9b, 0xda, 0x76, 0x7e, 0xbf, 0xf8, 0x6d, + 0x50, 0x5e, 0xed, 0x23, 0xda, 0xde, 0xab, 0x4c, 0x4b, 0x15, 0x67, 0x26, 0x83, 0x45, 0xb0, 0x84, + 0x09, 0xe3, 0x54, 0xbf, 0x10, 0xeb, 0x9d, 0xe4, 0x0f, 0xbc, 0x09, 0x80, 0xd7, 0x42, 0x8c, 0x91, + 0xb6, 0x1b, 0x60, 0x3d, 0xab, 0xac, 0x56, 0x86, 0x83, 0x72, 0xfe, 0x7e, 0xb2, 0x5b, 0x7f, 0xe0, + 0xe4, 0xc7, 0x82, 0x3a, 0x86, 0xcf, 0xc1, 0x2a, 0x45, 0x3d, 0x37, 0x24, 0x91, 0x47, 0x98, 0x74, + 0x05, 0x61, 0x58, 0xcf, 0xa9, 0x1e, 0xeb, 0x70, 0x50, 0xce, 0x1c, 0x0f, 0xca, 0xd7, 0xfc, 0x40, + 0xb6, 0x3a, 0x4d, 0xcb, 0xe3, 0xd4, 0x1e, 0x9f, 0x28, 0x59, 0x76, 0x04, 0x7e, 0x65, 0xcb, 0x7e, + 0x48, 0x84, 0x55, 0x67, 0xd2, 0x29, 0x50, 0xd4, 0x7b, 0x9c, 0xd8, 0x3c, 0x21, 0x2c, 0xe5, 0x1c, + 0x11, 0xaf, 0xab, 0x2f, 0xfd, 0xae, 0xb3, 0x43, 0xbc, 0x2e, 0x44, 0xe0, 0x32, 0x0d, 0x98, 0x1b, + 0x73, 0x70, 0x15, 0x08, 0x17, 0x51, 0xde, 0x61, 0x52, 0x5f, 0x3e, 0x97, 0x3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, 0x86, 0x7d, 0x06, 0xd3, 0x93, 0xa4, 0x8d, 0xbb, 0x0b, 0x36, 0x4c, 0x42, 0xec, 0xdf, + 0x38, 0x1c, 0x9a, 0xda, 0xd1, 0xd0, 0xd4, 0xbe, 0x0c, 0x4d, 0xed, 0xed, 0xc8, 0xcc, 0x1c, 0x8d, + 0xcc, 0xcc, 0xe7, 0x91, 0x99, 0x79, 0xb1, 0xd6, 0x3b, 0xf1, 0x1d, 0xa0, 0x2e, 0x8b, 0xe6, 0xb2, + 0x7a, 0x6d, 0xdf, 0xfe, 0x1e, 0x00, 0x00, 0xff, 0xff, 0x0e, 0xde, 0x0e, 0x8e, 0x2c, 0x08, 0x00, + 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -918,18 +918,18 @@ func (m *MsgRemoveRateLimit) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if len(m.ChannelId) > 0 { - i -= len(m.ChannelId) - copy(dAtA[i:], m.ChannelId) - i = encodeVarintTx(dAtA, i, uint64(len(m.ChannelId))) - i-- - dAtA[i] = 0x1a - } if len(m.ChannelID) > 0 { i -= len(m.ChannelID) copy(dAtA[i:], m.ChannelID) i = encodeVarintTx(dAtA, i, uint64(len(m.ChannelID))) i-- + dAtA[i] = 0x1a + } + if len(m.Denom) > 0 { + i -= len(m.Denom) + copy(dAtA[i:], m.Denom) + i = encodeVarintTx(dAtA, i, uint64(len(m.Denom))) + i-- dAtA[i] = 0x12 } if len(m.Authority) > 0 { @@ -985,18 +985,18 @@ func (m *MsgResetRateLimit) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if len(m.ChannelId) > 0 { - i -= len(m.ChannelId) - copy(dAtA[i:], m.ChannelId) - i = encodeVarintTx(dAtA, i, uint64(len(m.ChannelId))) - i-- - dAtA[i] = 0x1a - } if len(m.ChannelID) > 0 { i -= len(m.ChannelID) copy(dAtA[i:], m.ChannelID) i = encodeVarintTx(dAtA, i, uint64(len(m.ChannelID))) i-- + dAtA[i] = 0x1a + } + if len(m.Denom) > 0 { + i -= len(m.Denom) + copy(dAtA[i:], m.Denom) + i = encodeVarintTx(dAtA, i, uint64(len(m.Denom))) + i-- dAtA[i] = 0x12 } if len(m.Authority) > 0 { @@ -1131,11 +1131,11 @@ func (m *MsgRemoveRateLimit) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.ChannelID) + l = len(m.Denom) if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.ChannelId) + l = len(m.ChannelID) if l > 0 { n += 1 + l + sovTx(uint64(l)) } @@ -1161,11 +1161,11 @@ func (m *MsgResetRateLimit) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.ChannelID) + l = len(m.Denom) if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.ChannelId) + l = len(m.ChannelID) if l > 0 { n += 1 + l + sovTx(uint64(l)) } @@ -1884,7 +1884,7 @@ func (m *MsgRemoveRateLimit) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChannelID", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Denom", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -1912,11 +1912,11 @@ func (m *MsgRemoveRateLimit) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ChannelID = string(dAtA[iNdEx:postIndex]) + m.Denom = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChannelId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChannelID", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -1944,7 +1944,7 @@ func (m *MsgRemoveRateLimit) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ChannelId = string(dAtA[iNdEx:postIndex]) + m.ChannelID = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -2080,7 +2080,7 @@ func (m *MsgResetRateLimit) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChannelID", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Denom", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -2108,11 +2108,11 @@ func (m *MsgResetRateLimit) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ChannelID = string(dAtA[iNdEx:postIndex]) + m.Denom = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChannelId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChannelID", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -2140,7 +2140,7 @@ func (m *MsgResetRateLimit) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ChannelId = string(dAtA[iNdEx:postIndex]) + m.ChannelID = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex diff --git a/x/transfermiddleware/types/query.pb.go b/x/transfermiddleware/types/query.pb.go index 924478358..06f9be42f 100644 --- a/x/transfermiddleware/types/query.pb.go +++ b/x/transfermiddleware/types/query.pb.go @@ -31,7 +31,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // message QueryEscrowAddressRequest type QueryEscrowAddressRequest struct { - ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty" yaml:"channel_id"` + ChannelID string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty" yaml:"channel_id"` } func (m *QueryEscrowAddressRequest) Reset() { *m = QueryEscrowAddressRequest{} } @@ -67,9 +67,9 @@ func (m *QueryEscrowAddressRequest) XXX_DiscardUnknown() { var xxx_messageInfo_QueryEscrowAddressRequest proto.InternalMessageInfo -func (m *QueryEscrowAddressRequest) GetChannelId() string { +func (m *QueryEscrowAddressRequest) GetChannelID() string { if m != nil { - return m.ChannelId + return m.ChannelID } return "" } @@ -169,7 +169,7 @@ func (m *QueryParaTokenInfoRequest) GetNativeDenom() string { // RPC method. type QueryParaTokenInfoResponse struct { IbcDenom string `protobuf:"bytes,1,opt,name=ibc_denom,json=ibcDenom,proto3" json:"ibc_denom,omitempty" yaml:"ibc_denom"` - ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty" yaml:"channel_id"` + ChannelID string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty" yaml:"channel_id"` NativeDenom string `protobuf:"bytes,3,opt,name=native_denom,json=nativeDenom,proto3" json:"native_denom,omitempty" yaml:"native_denom"` AssetId string `protobuf:"bytes,4,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty" yaml:"asset_id"` } @@ -214,9 +214,9 @@ func (m *QueryParaTokenInfoResponse) GetIbcDenom() string { return "" } -func (m *QueryParaTokenInfoResponse) GetChannelId() string { +func (m *QueryParaTokenInfoResponse) GetChannelID() string { if m != nil { - return m.ChannelId + return m.ChannelID } return "" } @@ -247,37 +247,38 @@ func init() { } var fileDescriptor_241820e1315881d1 = []byte{ - // 476 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x94, 0x4f, 0x6f, 0xd3, 0x30, - 0x18, 0xc6, 0x9b, 0xf2, 0x6f, 0x35, 0x8c, 0x3f, 0xd9, 0x26, 0x68, 0x40, 0x09, 0x58, 0x42, 0xe2, - 0x94, 0xa8, 0xb0, 0xd3, 0x4e, 0xdb, 0x04, 0x87, 0xde, 0x58, 0x84, 0x84, 0xc4, 0x81, 0xea, 0x4d, - 0xf2, 0xae, 0x44, 0xa4, 0x76, 0x66, 0x7b, 0x1b, 0x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27, 0xd7, 0x55, 0x36, 0xd5, 0xde, 0xdd, 0xfc, 0x3a, 0x71, 0xad, 0x93, 0x89, - 0x6b, 0xfd, 0x98, 0xb8, 0xd6, 0xa7, 0xa9, 0xdb, 0x3a, 0x99, 0xba, 0xad, 0xef, 0x53, 0xb7, 0xf5, - 0xc6, 0xf9, 0xd0, 0xf4, 0x71, 0x50, 0xe3, 0x1c, 0x65, 0x74, 0xb5, 0x7e, 0xba, 0xcf, 0xfe, 0x04, - 0x00, 0x00, 0xff, 0xff, 0xa2, 0xcb, 0xed, 0xe0, 0x4a, 0x04, 0x00, 0x00, + // 485 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xcb, 0x6e, 0xd3, 0x40, + 0x14, 0x8d, 0xc3, 0xab, 0x19, 0x28, 0x0f, 0xb7, 0x08, 0x62, 0x90, 0x0d, 0x23, 0x21, 0xb1, 0xb2, + 0x15, 0x60, 0xd5, 0x55, 0x53, 0xca, 0x22, 0x3b, 0xb0, 0x90, 0x90, 0x58, 0x34, 0xba, 0xb6, 0x6f, + 0x83, 0x85, 0x33, 0xe3, 0xce, 0x4c, 0x5b, 0xb2, 0xe5, 0x0b, 0x90, 0xf8, 0x18, 0x7e, 0x81, 0x65, + 0x25, 0x36, 0xac, 0x2c, 0x94, 0xf0, 0x05, 0xde, 0x22, 0x21, 0x64, 0xcf, 0x94, 0x26, 0xad, 0x91, + 0x5a, 0xba, 0x9b, 0xf1, 0x99, 0x73, 0xee, 0x99, 0x3b, 0xe7, 0x9a, 0xf4, 0x62, 0x3e, 0xce, 0xb9, + 0x84, 0x28, 0xc3, 0x40, 0x09, 0x60, 0x72, 0x1b, 0xc5, 0x38, 0x4d, 0x92, 0x0c, 0xf7, 0x41, 0x60, + 0xb0, 0xd7, 0x8b, 0x50, 0x41, 0x2f, 0xd8, 0xd9, 0x45, 0x31, 0xf1, 0x73, 0xc1, 0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 0xd2, 0x49, 0xa3, 0x78, 0x41, 0x77, 0xb5, 0x2c, 0xbc, 0x9b, 0x5a, 0xf7, 0x2f, + 0x44, 0xc3, 0xa5, 0x34, 0x8a, 0x6b, 0xc5, 0x63, 0xdd, 0x6c, 0xff, 0x47, 0x37, 0x4f, 0x5c, 0xe8, + 0xc2, 0xe9, 0x2f, 0x64, 0xfb, 0x64, 0x09, 0xa4, 0x44, 0x55, 0x15, 0xbf, 0x58, 0xf3, 0x56, 0xca, + 0xc2, 0xbb, 0xa1, 0x79, 0x87, 0x08, 0x0d, 0xaf, 0xd4, 0xcb, 0x41, 0xf2, 0xe4, 0x57, 0x9b, 0x5c, + 0xaa, 0x1b, 0x60, 0x7f, 0xb1, 0xc8, 0xf2, 0x42, 0x17, 0xec, 0x75, 0xff, 0x54, 0x89, 0xf4, 0xff, + 0xf9, 0x34, 0x4e, 0xff, 0x1c, 0x0a, 0xfa, 0x09, 0xe8, 0xc3, 0x8f, 0xdf, 0x7e, 0x7e, 0x6e, 0xdf, + 0xb3, 0xbb, 0xc1, 0xdc, 0x44, 0xe5, 0x20, 0x40, 0x55, 0x47, 0xd3, 0xca, 0x67, 0xe5, 0x7c, 0x21, + 0x79, 0x67, 0x73, 0xde, 0x34, 0x14, 0x67, 0x73, 0xde, 0x18, 0xfb, 0x66, 0xe7, 0x3a, 0xd7, 0x26, + 0xe7, 0x1b, 0xcf, 0xbe, 0x4e, 0x5d, 0xeb, 0x60, 0xea, 0x5a, 0x3f, 0xa6, 0xae, 0xf5, 0x69, 0xe6, + 0xb6, 0x0e, 0x66, 0x6e, 0xeb, 0xfb, 0xcc, 0x6d, 0xbd, 0x75, 0x3e, 0x34, 0xfd, 0x36, 0xd4, 0x24, + 0x47, 0x19, 0x5d, 0xae, 0x87, 0xfa, 0xe9, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xdd, 0xcd, 0x8b, + 0x89, 0x64, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -418,10 +419,10 @@ func (m *QueryEscrowAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, erro _ = i var l int _ = l - if len(m.ChannelId) > 0 { - i -= len(m.ChannelId) - copy(dAtA[i:], m.ChannelId) - i = encodeVarintQuery(dAtA, i, uint64(len(m.ChannelId))) + if len(m.ChannelID) > 0 { + i -= len(m.ChannelID) + copy(dAtA[i:], m.ChannelID) + i = encodeVarintQuery(dAtA, i, uint64(len(m.ChannelID))) i-- dAtA[i] = 0xa } @@ -522,10 +523,10 @@ func (m *QueryParaTokenInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, err i-- dAtA[i] = 0x1a } - if len(m.ChannelId) > 0 { - i -= len(m.ChannelId) - copy(dAtA[i:], m.ChannelId) - i = encodeVarintQuery(dAtA, i, uint64(len(m.ChannelId))) + if len(m.ChannelID) > 0 { + i -= len(m.ChannelID) + copy(dAtA[i:], m.ChannelID) + i = encodeVarintQuery(dAtA, i, uint64(len(m.ChannelID))) i-- dAtA[i] = 0x12 } @@ -556,7 +557,7 @@ func (m *QueryEscrowAddressRequest) Size() (n int) { } var l int _ = l - l = len(m.ChannelId) + l = len(m.ChannelID) if l > 0 { n += 1 + l + sovQuery(uint64(l)) } @@ -599,7 +600,7 @@ func (m *QueryParaTokenInfoResponse) Size() (n int) { if l > 0 { n += 1 + l + sovQuery(uint64(l)) } - l = len(m.ChannelId) + l = len(m.ChannelID) if l > 0 { n += 1 + l + sovQuery(uint64(l)) } @@ -651,7 +652,7 @@ func (m *QueryEscrowAddressRequest) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChannelId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChannelID", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -679,7 +680,7 @@ func (m *QueryEscrowAddressRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ChannelId = string(dAtA[iNdEx:postIndex]) + m.ChannelID = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -929,7 +930,7 @@ func (m *QueryParaTokenInfoResponse) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ChannelId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ChannelID", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -957,7 +958,7 @@ func (m *QueryParaTokenInfoResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ChannelId = string(dAtA[iNdEx:postIndex]) + m.ChannelID = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { diff --git a/x/tx-boundary/types/query.pb.go b/x/tx-boundary/types/query.pb.go index d55e50cee..34e1d947b 100644 --- a/x/tx-boundary/types/query.pb.go +++ b/x/tx-boundary/types/query.pb.go @@ -29,7 +29,8 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -// QueryDelegateBoundaryRequest is the request type for the Query/DelegateBoundary RPC method. +// QueryDelegateBoundaryRequest is the request type for the +// Query/DelegateBoundary RPC method. type QueryDelegateBoundaryRequest struct { } @@ -66,7 +67,8 @@ func (m *QueryDelegateBoundaryRequest) XXX_DiscardUnknown() { var xxx_messageInfo_QueryDelegateBoundaryRequest proto.InternalMessageInfo -// QueryDelegateBoundaryResponse is the response type for the Query/DelegateBoundary RPC method. +// QueryDelegateBoundaryResponse is the response type for the +// Query/DelegateBoundary RPC method. type QueryDelegateBoundaryResponse struct { // boundary defines the boundary for the delegate tx Boundary Boundary `protobuf:"bytes,1,opt,name=boundary,proto3" json:"boundary"` @@ -112,7 +114,8 @@ func (m *QueryDelegateBoundaryResponse) GetBoundary() Boundary { return Boundary{} } -// QueryRedelegateBoundaryRequest is the request type for the Query/ReDelegateBoundary RPC method. +// QueryRedelegateBoundaryRequest is the request type for the +// Query/ReDelegateBoundary RPC method. type QueryRedelegateBoundaryRequest struct { } @@ -149,8 +152,8 @@ func (m *QueryRedelegateBoundaryRequest) XXX_DiscardUnknown() { var xxx_messageInfo_QueryRedelegateBoundaryRequest proto.InternalMessageInfo -// QueryRedelegateBoundaryResponse is the response type for the Query/ReDelegateBoundary RPC -// method. +// QueryRedelegateBoundaryResponse is the response type for the +// Query/ReDelegateBoundary RPC method. type QueryRedelegateBoundaryResponse struct { // boundary defines the boundary for the redelegate tx Boundary Boundary `protobuf:"bytes,1,opt,name=boundary,proto3" json:"boundary"` diff --git a/x/tx-boundary/types/tx.pb.go b/x/tx-boundary/types/tx.pb.go index 9c0d0f131..f87da9d7b 100644 --- a/x/tx-boundary/types/tx.pb.go +++ b/x/tx-boundary/types/tx.pb.go @@ -92,8 +92,8 @@ func (m *MsgUpdateDelegateBoundary) GetBoundary() Boundary { return Boundary{} } -// MsgUpdateDelegateBoundaryResponse defines the response structure for executing a -// MsgUpdateDelegateBoundary message. +// MsgUpdateDelegateBoundaryResponse defines the response structure for +// executing a MsgUpdateDelegateBoundary message. // // Since: cosmos-sdk 0.47 type MsgUpdateDelegateBoundaryResponse struct { @@ -132,7 +132,8 @@ func (m *MsgUpdateDelegateBoundaryResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgUpdateDelegateBoundaryResponse proto.InternalMessageInfo -// MsgUpdateRedelegateBoundary is the Msg/MsgUpdateRedelegateBoundary request type. +// MsgUpdateRedelegateBoundary is the Msg/MsgUpdateRedelegateBoundary request +// type. // // Since: cosmos-sdk 0.47 type MsgUpdateRedelegateBoundary struct { @@ -192,8 +193,8 @@ func (m *MsgUpdateRedelegateBoundary) GetBoundary() Boundary { return Boundary{} } -// MsgUpdateRedelegateBoundaryResponse defines the response structure for executing a -// MsgUpdateRedelegateBoundary message. +// MsgUpdateRedelegateBoundaryResponse defines the response structure for +// executing a MsgUpdateRedelegateBoundary message. // // Since: cosmos-sdk 0.47 type MsgUpdateRedelegateBoundaryResponse struct { From 179bc5d5b654592213b9bb328bee125699d350c9 Mon Sep 17 00:00:00 2001 From: GnaD13 Date: Mon, 25 Sep 2023 18:11:11 +0700 Subject: [PATCH 08/24] go mod --- app/keepers/keepers.go | 2 +- go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/keepers/keepers.go b/app/keepers/keepers.go index 7fd2be54e..06257015f 100644 --- a/app/keepers/keepers.go +++ b/app/keepers/keepers.go @@ -106,7 +106,7 @@ import ( const ( AccountAddressPrefix = "composable" - // authorityAddress = "centauri10556m38z4x6pqalr9rl5ytf3cff8q46nk85k9m" + authorityAddress = "centauri10556m38z4x6pqalr9rl5ytf3cff8q46nk85k9m" // TODO: convert authorityAddress and replace here ) type AppKeepers struct { diff --git a/go.mod b/go.mod index 7996e9f88..b09805db1 100644 --- a/go.mod +++ b/go.mod @@ -322,7 +322,7 @@ replace ( // ibc-go with wasm client github.com/cosmos/ibc-go/v7 => github.com/notional-labs/ibc-go/v7 v7.0.1-wasm-client.0.20230724144435-2b77d4a1ce70 - github.com/strangelove-ventures/packet-forward-middleware/v7 => github.com/notional-labs/packet-forward-middleware/v7 v7.0.0-20230925101950-dfce13ebda33 + github.com/strangelove-ventures/packet-forward-middleware/v7 => github.com/notional-labs/packet-forward-middleware/v7 v7.0.0-20230925110328-59a07f1412ec github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 github.com/terra-money/alliance => github.com/notional-labs/alliance v1.0.1-0.20230523105704-66dba9499c01 diff --git a/go.sum b/go.sum index 08af99a8e..2b6dd05f7 100644 --- a/go.sum +++ b/go.sum @@ -967,8 +967,8 @@ github.com/notional-labs/alliance v1.0.1-0.20230523105704-66dba9499c01 h1:koCsoc github.com/notional-labs/alliance v1.0.1-0.20230523105704-66dba9499c01/go.mod h1:GFQ8TsXDMTpu7kif0Dwddz6rxazy0ZJQHfN38ZmAodI= github.com/notional-labs/ibc-go/v7 v7.0.1-wasm-client.0.20230724144435-2b77d4a1ce70 h1:oZTUDZzUBp8D2h3uZfPQmZGVksrROqubHDASvFB/+u0= github.com/notional-labs/ibc-go/v7 v7.0.1-wasm-client.0.20230724144435-2b77d4a1ce70/go.mod h1:ISHo/Qitjtvj2svGmttaZv03zVXmS+uqvUyF9kFqlI0= -github.com/notional-labs/packet-forward-middleware/v7 v7.0.0-20230925101950-dfce13ebda33 h1:SOBQMDbtfsUCBxQFeE0JiWr57ksPUWWrZ5vod67jLbo= -github.com/notional-labs/packet-forward-middleware/v7 v7.0.0-20230925101950-dfce13ebda33/go.mod h1:8SsRO5P50jFNSuJdqQ13bRvvNsqHpFz+wz6CAx9mOSQ= +github.com/notional-labs/packet-forward-middleware/v7 v7.0.0-20230925110328-59a07f1412ec h1:WGvAaJ7QffvPrX9529lX1qTB7IiHC5i+3/0Ed3drico= +github.com/notional-labs/packet-forward-middleware/v7 v7.0.0-20230925110328-59a07f1412ec/go.mod h1:Cf4EbaAH9U5sZGxMKsRTN6SVnXy9MjW6oauwkwFVtpU= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= github.com/oklog/oklog v0.3.2/go.mod h1:FCV+B7mhrz4o+ueLpx+KqkyXRGMWOYEvfiXtdGtbWGs= From 37adc7b64883b4cd915ea9e59d0fe596c195fe44 Mon Sep 17 00:00:00 2001 From: GnaD13 Date: Mon, 25 Sep 2023 18:17:48 +0700 Subject: [PATCH 09/24] convert composable --- bech32-migration/utils/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bech32-migration/utils/utils.go b/bech32-migration/utils/utils.go index 6ecedc167..8bb883097 100644 --- a/bech32-migration/utils/utils.go +++ b/bech32-migration/utils/utils.go @@ -10,7 +10,7 @@ import ( const ( // OldBech32Prefix defines the Bech32 prefix used for EthAccounts - OldBech32Prefix = "banksy" + OldBech32Prefix = "centauri" // OldBech32PrefixAccAddr defines the Bech32 prefix of an account's address OldBech32PrefixAccAddr = OldBech32Prefix From 58a4329429eb319173ff320ad79b58333b8b8ced Mon Sep 17 00:00:00 2001 From: GnaD13 Date: Mon, 25 Sep 2023 19:27:31 +0700 Subject: [PATCH 10/24] revert ictest --- tests/interchaintest/basic_cosmos_test.go | 12 ++++++------ tests/interchaintest/chain_start_test.go | 14 +++++++------- tests/interchaintest/ibc_transfer_test.go | 2 +- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/tests/interchaintest/basic_cosmos_test.go b/tests/interchaintest/basic_cosmos_test.go index 1a16f29d9..e842eba4c 100644 --- a/tests/interchaintest/basic_cosmos_test.go +++ b/tests/interchaintest/basic_cosmos_test.go @@ -11,8 +11,8 @@ import ( "go.uber.org/zap/zaptest" ) -// TestStartComposable is a basic test to assert that spinning up a Composable network with 1 validator works properly. -func TestBasicComposable(t *testing.T) { +// TestStartCentauri is a basic test to assert that spinning up a Composable network with 1 validator works properly. +func TestBasicCentauri(t *testing.T) { if testing.Short() { t.Skip() } @@ -27,8 +27,8 @@ func TestBasicComposable(t *testing.T) { cf := interchaintest.NewBuiltinChainFactory(zaptest.NewLogger(t), []*interchaintest.ChainSpec{ { - Name: "composable", - ChainConfig: composableConfig, + Name: "centauri", + ChainConfig: centauriConfig, NumValidators: &numVals, NumFullNodes: &numFullNodes, }, @@ -38,13 +38,13 @@ func TestBasicComposable(t *testing.T) { chains, err := cf.Chains(t.Name()) require.NoError(t, err) - composable := chains[0].(*cosmos.CosmosChain) + centauri := chains[0].(*cosmos.CosmosChain) // Relayer Factory client, network := interchaintest.DockerSetup(t) // Create a new Interchain object which describes the chains, relayers, and IBC connections we want to use - ic := interchaintest.NewInterchain().AddChain(composable) + ic := interchaintest.NewInterchain().AddChain(centauri) rep := testreporter.NewNopReporter() eRep := rep.RelayerExecReporter(t) diff --git a/tests/interchaintest/chain_start_test.go b/tests/interchaintest/chain_start_test.go index df415f5a8..db5349392 100644 --- a/tests/interchaintest/chain_start_test.go +++ b/tests/interchaintest/chain_start_test.go @@ -11,8 +11,8 @@ import ( "go.uber.org/zap/zaptest" ) -// TestStartComposable is a basic test to assert that spinning up a composable network with 1 validator works properly. -func TestStartComposable(t *testing.T) { +// TestStartcentauri is a basic test to assert that spinning up a composable network with 1 validator works properly. +func TestStartCentauri(t *testing.T) { if testing.Short() { t.Skip() } @@ -21,14 +21,14 @@ func TestStartComposable(t *testing.T) { ctx := context.Background() - // Create chain factory with Composable + // Create chain factory with Centauri numVals := 1 numFullNodes := 1 cf := interchaintest.NewBuiltinChainFactory(zaptest.NewLogger(t), []*interchaintest.ChainSpec{ { - Name: "composable", - ChainConfig: composableConfig, + Name: "centauri", + ChainConfig: centauriConfig, NumValidators: &numVals, NumFullNodes: &numFullNodes, }, @@ -38,13 +38,13 @@ func TestStartComposable(t *testing.T) { chains, err := cf.Chains(t.Name()) require.NoError(t, err) - composable := chains[0].(*cosmos.CosmosChain) + centauri := chains[0].(*cosmos.CosmosChain) // Relayer Factory client, network := interchaintest.DockerSetup(t) // Create a new Interchain object which describes the chains, relayers, and IBC connections we want to use - ic := interchaintest.NewInterchain().AddChain(composable) + ic := interchaintest.NewInterchain().AddChain(centauri) rep := testreporter.NewNopReporter() eRep := rep.RelayerExecReporter(t) diff --git a/tests/interchaintest/ibc_transfer_test.go b/tests/interchaintest/ibc_transfer_test.go index d8691a7dd..8e56f2fb3 100644 --- a/tests/interchaintest/ibc_transfer_test.go +++ b/tests/interchaintest/ibc_transfer_test.go @@ -29,7 +29,7 @@ import ( // * create client, connection, and channel in relayer // * start relayer // * send transfer over ibc -func TestComposablePicassoIBCTransfer(t *testing.T) { +func TestCentauriPicassoIBCTransfer(t *testing.T) { if testing.Short() { t.Skip() } From fc87983add2441c5dcaa28dfb4427fb5aa680826 Mon Sep 17 00:00:00 2001 From: GnaD13 Date: Mon, 25 Sep 2023 19:41:22 +0700 Subject: [PATCH 11/24] docker config --- Dockerfile | 16 ++++++++-------- Dockerfile.dev | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Dockerfile b/Dockerfile index a1b94dfe8..d0dbf3811 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,7 @@ RUN apk add --no-cache \ linux-headers # Download go dependencies -WORKDIR /centauri +WORKDIR /composable COPY go.mod go.sum ./ RUN --mount=type=cache,target=/root/.cache/go-build \ --mount=type=cache,target=/root/go/pkg/mod \ @@ -43,15 +43,15 @@ RUN --mount=type=cache,target=/root/.cache/go-build \ -mod=readonly \ -tags "netgo,ledger,muslc" \ -ldflags \ - "-X github.com/cosmos/cosmos-sdk/version.Name="centauri" \ - -X github.com/cosmos/cosmos-sdk/version.AppName="centaurid" \ + "-X github.com/cosmos/cosmos-sdk/version.Name="composable" \ + -X github.com/cosmos/cosmos-sdk/version.AppName="composabled" \ -X github.com/cosmos/cosmos-sdk/version.Version=${GIT_VERSION} \ -X github.com/cosmos/cosmos-sdk/version.Commit=${GIT_COMMIT} \ -X github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger,muslc \ -w -s -linkmode=external -extldflags '-Wl,-z,muldefs -static'" \ -trimpath \ - -o /centauri/build/centaurid \ - /centauri/cmd/centaurid/main.go + -o /composable/build/composabled \ + /composable/cmd/composabled # -------------------------------------------------------- # Runner @@ -59,9 +59,9 @@ RUN --mount=type=cache,target=/root/.cache/go-build \ FROM ${RUNNER_IMAGE} -COPY --from=builder /centauri/build/centaurid /bin/centaurid +COPY --from=builder /composable/build/composabled /bin/composabled -ENV HOME /centauri +ENV HOME /composable WORKDIR $HOME # rest server @@ -72,4 +72,4 @@ EXPOSE 26656 EXPOSE 26657 # grpc EXPOSE 9090 -ENTRYPOINT ["centaurid"] \ No newline at end of file +ENTRYPOINT ["composabled"] \ No newline at end of file diff --git a/Dockerfile.dev b/Dockerfile.dev index c0838bdeb..9e9026a90 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -18,7 +18,7 @@ RUN apk add --no-cache \ linux-headers # Download go dependencies -WORKDIR /centauri +WORKDIR /composable COPY go.mod go.sum ./ # Cosmwasm - Download correct libwasmvm version @@ -38,15 +38,15 @@ RUN GOWORK=off go build \ -mod=readonly \ -tags "netgo,ledger,muslc" \ -ldflags \ - "-X github.com/cosmos/cosmos-sdk/version.Name="centauri" \ - -X github.com/cosmos/cosmos-sdk/version.AppName="centaurid" \ + "-X github.com/cosmos/cosmos-sdk/version.Name="composable" \ + -X github.com/cosmos/cosmos-sdk/version.AppName="composabled" \ -X github.com/cosmos/cosmos-sdk/version.Version=${GIT_VERSION} \ -X github.com/cosmos/cosmos-sdk/version.Commit=${GIT_COMMIT} \ -X github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger,muslc \ -w -s -linkmode=external -extldflags '-Wl,-z,muldefs -static'" \ -trimpath \ - -o /centauri/build/centaurid \ - /centauri/cmd/centaurid/main.go + -o /composable/build/composabled \ + /composable/cmd/composabled # -------------------------------------------------------- # Runner @@ -54,13 +54,13 @@ RUN GOWORK=off go build \ FROM ${RUNNER_IMAGE} -COPY --from=builder /centauri/build/centaurid /bin/centaurid +COPY --from=builder /composable/build/composabled /bin/composabled -ENV HOME /centauri +ENV HOME /composable WORKDIR $HOME -COPY scripts/* /centauri/ +COPY scripts/* /composable/ # rest server EXPOSE 1317 # tendermint p2p From 0c2b3f2c9923318c0054432f219ddce1462568b6 Mon Sep 17 00:00:00 2001 From: GnaD13 Date: Tue, 26 Sep 2023 12:29:08 +0700 Subject: [PATCH 12/24] upgrade handler --- app/app.go | 1 + app/keepers/keepers.go | 2 +- app/upgrades/composable/constants.go | 11 ++++++ app/upgrades/composable/upgrade.go | 56 ++++++++++++++------------- app/upgrades/types.go | 3 +- app/upgrades/v4/upgrade.go | 2 + app/upgrades/v5/upgrade.go | 2 + x/transfermiddleware/keeper/keeper.go | 18 +++++++++ 8 files changed, 67 insertions(+), 28 deletions(-) diff --git a/app/app.go b/app/app.go index 00da88a0d..42ca05b8c 100644 --- a/app/app.go +++ b/app/app.go @@ -730,6 +730,7 @@ func (app *ComposableApp) setupUpgradeHandlers() { app.mm, app.configurator, app.BaseApp, + app.AppCodec(), &app.AppKeepers, ), ) diff --git a/app/keepers/keepers.go b/app/keepers/keepers.go index 06257015f..e93f53b18 100644 --- a/app/keepers/keepers.go +++ b/app/keepers/keepers.go @@ -106,7 +106,7 @@ import ( const ( AccountAddressPrefix = "composable" - authorityAddress = "centauri10556m38z4x6pqalr9rl5ytf3cff8q46nk85k9m" // TODO: convert authorityAddress and replace here + authorityAddress = "composable10556m38z4x6pqalr9rl5ytf3cff8q46nnngqs2" // convert from: centauri10556m38z4x6pqalr9rl5ytf3cff8q46nk85k9m ) type AppKeepers struct { diff --git a/app/upgrades/composable/constants.go b/app/upgrades/composable/constants.go index adde1aeb4..f9a8accc8 100644 --- a/app/upgrades/composable/constants.go +++ b/app/upgrades/composable/constants.go @@ -1,6 +1,17 @@ package composable +import ( + store "github.com/cosmos/cosmos-sdk/store/types" + "github.com/notional-labs/composable/v5/app/upgrades" +) + const ( // UpgradeName defines the on-chain upgrade name for the composable upgrade. UpgradeName = "composable" ) + +var Upgrade = upgrades.Upgrade{ + UpgradeName: UpgradeName, + CreateUpgradeHandler: CreateUpgradeHandler, + StoreUpgrades: store.StoreUpgrades{}, +} diff --git a/app/upgrades/composable/upgrade.go b/app/upgrades/composable/upgrade.go index 1cd12048d..004700fff 100644 --- a/app/upgrades/composable/upgrade.go +++ b/app/upgrades/composable/upgrade.go @@ -1,51 +1,55 @@ package composable import ( - "cosmossdk.io/math" - "github.com/cosmos/cosmos-sdk/codec" - storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/types/module" - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - slashingkeeper "github.com/cosmos/cosmos-sdk/x/slashing/keeper" - slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper" + "github.com/notional-labs/composable/v5/app/keepers" + "github.com/notional-labs/composable/v5/app/upgrades" bech32authmigration "github.com/notional-labs/composable/v5/bech32-migration/auth" bech32govmigration "github.com/notional-labs/composable/v5/bech32-migration/gov" bech32slashingmigration "github.com/notional-labs/composable/v5/bech32-migration/slashing" bech32stakingmigration "github.com/notional-labs/composable/v5/bech32-migration/staking" + + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" + slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" + stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" + + "github.com/notional-labs/composable/v5/bech32-migration/utils" ) func CreateUpgradeHandler( mm *module.Manager, configurator module.Configurator, - keys map[string]*storetypes.KVStoreKey, codec codec.Codec, - slashingKeeper *slashingkeeper.Keeper, - govkeeper *govkeeper.Keeper, + _ upgrades.BaseAppParamManager, + cdc codec.Codec, + keepers *keepers.AppKeepers, ) upgradetypes.UpgradeHandler { return func(ctx sdk.Context, plan upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) { // Migration prefix ctx.Logger().Info("First step: Migrate addresses stored in bech32 form to use new prefix") - bech32stakingmigration.MigrateAddressBech32(ctx, keys[stakingtypes.StoreKey], codec) - bech32slashingmigration.MigrateAddressBech32(ctx, keys[slashingtypes.StoreKey], codec) - bech32govmigration.MigrateAddressBech32(ctx, keys[govtypes.StoreKey], codec) - bech32authmigration.MigrateAddressBech32(ctx, keys[authtypes.StoreKey], codec) - - // Slashing params change - newParamsSet := slashingKeeper.GetParams(ctx) - newParamsSet.SlashFractionDowntime = math.LegacyNewDecWithPrec(1, 5) - slashingKeeper.SetParams(ctx, newParamsSet) - - // Gov params change: minium deposit - newGovParamsSet := govkeeper.GetParams(ctx) - newGovParamsSet.MinInitialDepositRatio = sdk.NewDecWithPrec(1, 2).String() // this is 1% - govkeeper.SetParams(ctx, newGovParamsSet) + keys := keepers.GetKVStoreKey() + bech32stakingmigration.MigrateAddressBech32(ctx, keys[stakingtypes.StoreKey], cdc) + bech32slashingmigration.MigrateAddressBech32(ctx, keys[slashingtypes.StoreKey], cdc) + bech32govmigration.MigrateAddressBech32(ctx, keys[govtypes.StoreKey], cdc) + bech32authmigration.MigrateAddressBech32(ctx, keys[authtypes.StoreKey], cdc) + + // allowed relayer address + tfmdk := keepers.TransferMiddlewareKeeper + tfmdk.IterateAllowRlyAddress(ctx, func(rlyAddress string) bool { + // Delete old address + tfmdk.DeleteAllowRlyAddress(ctx, rlyAddress) + + // add new address + newRlyAddress := utils.ConvertAccAddr(rlyAddress) + tfmdk.SetAllowRlyAddress(ctx, newRlyAddress) + return false + }) return mm.RunMigrations(ctx, configurator, vm) } diff --git a/app/upgrades/types.go b/app/upgrades/types.go index 38335d8bb..d7975726e 100644 --- a/app/upgrades/types.go +++ b/app/upgrades/types.go @@ -2,6 +2,7 @@ package upgrades import ( types "github.com/cometbft/cometbft/proto/tendermint/types" + "github.com/cosmos/cosmos-sdk/codec" store "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" @@ -26,7 +27,7 @@ type Upgrade struct { UpgradeName string // CreateUpgradeHandler defines the function that creates an upgrade handler - CreateUpgradeHandler func(*module.Manager, module.Configurator, BaseAppParamManager, *keepers.AppKeepers) upgradetypes.UpgradeHandler + CreateUpgradeHandler func(*module.Manager, module.Configurator, BaseAppParamManager, codec.Codec, *keepers.AppKeepers) upgradetypes.UpgradeHandler // Store upgrades, should be used for any new modules introduced, new modules deleted, or store names renamed. StoreUpgrades store.StoreUpgrades diff --git a/app/upgrades/v4/upgrade.go b/app/upgrades/v4/upgrade.go index b6bd5d629..9a2e1a887 100644 --- a/app/upgrades/v4/upgrade.go +++ b/app/upgrades/v4/upgrade.go @@ -6,6 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" + "github.com/cosmos/cosmos-sdk/codec" "github.com/notional-labs/composable/v5/app/keepers" "github.com/notional-labs/composable/v5/app/upgrades" tfmdtypes "github.com/notional-labs/composable/v5/x/transfermiddleware/types" @@ -15,6 +16,7 @@ func CreateUpgradeHandler( mm *module.Manager, configurator module.Configurator, _ upgrades.BaseAppParamManager, + _ codec.Codec, keepers *keepers.AppKeepers, ) upgradetypes.UpgradeHandler { return func(ctx sdk.Context, plan upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) { diff --git a/app/upgrades/v5/upgrade.go b/app/upgrades/v5/upgrade.go index da22ebc6c..314f82120 100644 --- a/app/upgrades/v5/upgrade.go +++ b/app/upgrades/v5/upgrade.go @@ -2,6 +2,7 @@ package v5 import ( "cosmossdk.io/math" + "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" @@ -22,6 +23,7 @@ func CreateUpgradeHandler( mm *module.Manager, configurator module.Configurator, _ upgrades.BaseAppParamManager, + _ codec.Codec, keepers *keepers.AppKeepers, ) upgradetypes.UpgradeHandler { return func(ctx sdk.Context, plan upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) { diff --git a/x/transfermiddleware/keeper/keeper.go b/x/transfermiddleware/keeper/keeper.go index f5d8df9c5..78a051502 100644 --- a/x/transfermiddleware/keeper/keeper.go +++ b/x/transfermiddleware/keeper/keeper.go @@ -154,6 +154,11 @@ func (keeper Keeper) SetAllowRlyAddress(ctx sdk.Context, rlyAddress string) { store.Set(types.GetKeyByRlyAddress(rlyAddress), []byte{1}) } +func (keeper Keeper) DeleteAllowRlyAddress(ctx sdk.Context, rlyAddress string) { + store := ctx.KVStore(keeper.storeKey) + store.Delete(types.GetKeyByRlyAddress(rlyAddress)) +} + func (keeper Keeper) HasAllowRlyAddress(ctx sdk.Context, rlyAddress string) bool { store := ctx.KVStore(keeper.storeKey) key := types.GetKeyByRlyAddress(rlyAddress) @@ -161,6 +166,19 @@ func (keeper Keeper) HasAllowRlyAddress(ctx sdk.Context, rlyAddress string) bool return store.Has(key) } +func (keeper Keeper) IterateAllowRlyAddress(ctx sdk.Context, cb func(rlyAddress string) (stop bool)) { + store := ctx.KVStore(keeper.storeKey) + iterator := sdk.KVStorePrefixIterator(store, types.KeyRlyAddress) + + defer iterator.Close() + for ; iterator.Valid(); iterator.Next() { + rlyAddress := string(iterator.Key()) + if cb(rlyAddress) { + break + } + } +} + func (keeper Keeper) HasParachainIBCTokenInfoByNativeDenom(ctx sdk.Context, nativeDenom string) bool { store := ctx.KVStore(keeper.storeKey) key := types.GetKeyParachainIBCTokenInfoByNativeDenom(nativeDenom) From 2b8bea3e9ad4054f4ed6a3cfc3eb8ca4325e77c1 Mon Sep 17 00:00:00 2001 From: GnaD13 Date: Tue, 26 Sep 2023 15:10:30 +0700 Subject: [PATCH 13/24] gov address for test --- x/transfermiddleware/ibc_ante_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/x/transfermiddleware/ibc_ante_test.go b/x/transfermiddleware/ibc_ante_test.go index a1e9f9602..042e5244d 100644 --- a/x/transfermiddleware/ibc_ante_test.go +++ b/x/transfermiddleware/ibc_ante_test.go @@ -15,8 +15,7 @@ import ( customibctesting "github.com/notional-labs/composable/v5/app/ibctesting" ) -var govAuthorityAddress = "centauri10556m38z4x6pqalr9rl5ytf3cff8q46nk85k9m" - +var govAuthorityAddress = "composable10556m38z4x6pqalr9rl5ytf3cff8q46nnngqs2" // convert from: centauri10556m38z4x6pqalr9rl5ytf3cff8q46nk85k9m type TransferTestSuite struct { suite.Suite From 29d6101e69d1d8fe931d6e3b2b11309d9d94bc48 Mon Sep 17 00:00:00 2001 From: GnaD13 Date: Tue, 26 Sep 2023 15:43:34 +0700 Subject: [PATCH 14/24] ict --- tests/interchaintest/setup.go | 8 ++++---- x/transfermiddleware/ibc_ante_test.go | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/interchaintest/setup.go b/tests/interchaintest/setup.go index 74e6b338c..23d2791d0 100644 --- a/tests/interchaintest/setup.go +++ b/tests/interchaintest/setup.go @@ -21,11 +21,11 @@ var ( centauriConfig = ibc.ChainConfig{ Type: "cosmos", - Name: "centauri", - ChainID: "centauri-2", + Name: "composable", + ChainID: "composable-2", Images: []ibc.DockerImage{CentauriImage}, - Bin: "centaurid", - Bech32Prefix: "centauri", + Bin: "composabled", + Bech32Prefix: "composable", Denom: "stake", CoinType: "118", GasPrices: "0.0stake", diff --git a/x/transfermiddleware/ibc_ante_test.go b/x/transfermiddleware/ibc_ante_test.go index 042e5244d..1783db02c 100644 --- a/x/transfermiddleware/ibc_ante_test.go +++ b/x/transfermiddleware/ibc_ante_test.go @@ -16,6 +16,7 @@ import ( ) var govAuthorityAddress = "composable10556m38z4x6pqalr9rl5ytf3cff8q46nnngqs2" // convert from: centauri10556m38z4x6pqalr9rl5ytf3cff8q46nk85k9m + type TransferTestSuite struct { suite.Suite From e675ba9001124d157e4c91341b684a9acafb7990 Mon Sep 17 00:00:00 2001 From: GnaD13 Date: Tue, 26 Sep 2023 16:05:07 +0700 Subject: [PATCH 15/24] ict composable --- tests/interchaintest/setup.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/interchaintest/setup.go b/tests/interchaintest/setup.go index 23d2791d0..487efcd94 100644 --- a/tests/interchaintest/setup.go +++ b/tests/interchaintest/setup.go @@ -45,7 +45,7 @@ func GetDockerImageInfo() (repo, version string) { repo = CentauriICTestRepo if !found { // make local-image - repo = "centauri" + repo = "composable" branchVersion = "debug" } From b89bf408b589d9482b02029c1bc6d2c9e677d0e0 Mon Sep 17 00:00:00 2001 From: GnaD13 Date: Tue, 26 Sep 2023 17:09:19 +0700 Subject: [PATCH 16/24] ictest --- tests/interchaintest/basic_cosmos_test.go | 10 +++--- tests/interchaintest/chain_start_test.go | 10 +++--- .../push_wasm_client_code_test.go | 34 +++++++++---------- tests/interchaintest/setup.go | 2 +- tests/interchaintest/validator_test.go | 4 +-- 5 files changed, 30 insertions(+), 30 deletions(-) diff --git a/tests/interchaintest/basic_cosmos_test.go b/tests/interchaintest/basic_cosmos_test.go index e842eba4c..1ff7528c1 100644 --- a/tests/interchaintest/basic_cosmos_test.go +++ b/tests/interchaintest/basic_cosmos_test.go @@ -12,7 +12,7 @@ import ( ) // TestStartCentauri is a basic test to assert that spinning up a Composable network with 1 validator works properly. -func TestBasicCentauri(t *testing.T) { +func TestBasicComposable(t *testing.T) { if testing.Short() { t.Skip() } @@ -27,8 +27,8 @@ func TestBasicCentauri(t *testing.T) { cf := interchaintest.NewBuiltinChainFactory(zaptest.NewLogger(t), []*interchaintest.ChainSpec{ { - Name: "centauri", - ChainConfig: centauriConfig, + Name: "composable", + ChainConfig: composableConfig, NumValidators: &numVals, NumFullNodes: &numFullNodes, }, @@ -38,13 +38,13 @@ func TestBasicCentauri(t *testing.T) { chains, err := cf.Chains(t.Name()) require.NoError(t, err) - centauri := chains[0].(*cosmos.CosmosChain) + composable := chains[0].(*cosmos.CosmosChain) // Relayer Factory client, network := interchaintest.DockerSetup(t) // Create a new Interchain object which describes the chains, relayers, and IBC connections we want to use - ic := interchaintest.NewInterchain().AddChain(centauri) + ic := interchaintest.NewInterchain().AddChain(composable) rep := testreporter.NewNopReporter() eRep := rep.RelayerExecReporter(t) diff --git a/tests/interchaintest/chain_start_test.go b/tests/interchaintest/chain_start_test.go index db5349392..a7a2c1f71 100644 --- a/tests/interchaintest/chain_start_test.go +++ b/tests/interchaintest/chain_start_test.go @@ -12,7 +12,7 @@ import ( ) // TestStartcentauri is a basic test to assert that spinning up a composable network with 1 validator works properly. -func TestStartCentauri(t *testing.T) { +func TestStartComposable(t *testing.T) { if testing.Short() { t.Skip() } @@ -27,8 +27,8 @@ func TestStartCentauri(t *testing.T) { cf := interchaintest.NewBuiltinChainFactory(zaptest.NewLogger(t), []*interchaintest.ChainSpec{ { - Name: "centauri", - ChainConfig: centauriConfig, + Name: "composable", + ChainConfig: composableConfig, NumValidators: &numVals, NumFullNodes: &numFullNodes, }, @@ -38,13 +38,13 @@ func TestStartCentauri(t *testing.T) { chains, err := cf.Chains(t.Name()) require.NoError(t, err) - centauri := chains[0].(*cosmos.CosmosChain) + composable := chains[0].(*cosmos.CosmosChain) // Relayer Factory client, network := interchaintest.DockerSetup(t) // Create a new Interchain object which describes the chains, relayers, and IBC connections we want to use - ic := interchaintest.NewInterchain().AddChain(centauri) + ic := interchaintest.NewInterchain().AddChain(composable) rep := testreporter.NewNopReporter() eRep := rep.RelayerExecReporter(t) diff --git a/tests/interchaintest/push_wasm_client_code_test.go b/tests/interchaintest/push_wasm_client_code_test.go index 0ee27ba42..1d1cfbd0c 100644 --- a/tests/interchaintest/push_wasm_client_code_test.go +++ b/tests/interchaintest/push_wasm_client_code_test.go @@ -66,11 +66,11 @@ func TestPushWasmClientCode(t *testing.T) { { ChainConfig: ibc.ChainConfig{ Type: "cosmos", - Name: "centauri", + Name: "composable", ChainID: "centaurid", Images: []ibc.DockerImage{CentauriImage}, - Bin: "centaurid", - Bech32Prefix: "centauri", + Bin: "composabled", + Bech32Prefix: "composable", Denom: "stake", GasPrices: "0.00stake", GasAdjustment: 1.3, @@ -87,11 +87,11 @@ func TestPushWasmClientCode(t *testing.T) { chains, err := cf.Chains(t.Name()) require.NoError(t, err) - centaurid := chains[0] + composabled := chains[0] t.Logf("NewInterchain") ic := interchaintest.NewInterchain(). - AddChain(centaurid) + AddChain(composabled) t.Logf("Interchain build options") require.NoError(t, ic.Build(ctx, eRep, interchaintest.InterchainBuildOptions{ @@ -108,46 +108,46 @@ func TestPushWasmClientCode(t *testing.T) { // Create and Fund User Wallets fundAmount := int64(10_000_000_000) - users := interchaintest.GetAndFundTestUsers(t, ctx, "default", int64(fundAmount), centaurid) + users := interchaintest.GetAndFundTestUsers(t, ctx, "default", int64(fundAmount), composabled) centaurid1User := users[0] - err = testutil.WaitForBlocks(ctx, 10, centaurid) + err = testutil.WaitForBlocks(ctx, 10, composabled) require.NoError(t, err) - centaurid1UserBalInitial, err := centaurid.GetBalance(ctx, centaurid1User.FormattedAddress(), centaurid.Config().Denom) + centaurid1UserBalInitial, err := composabled.GetBalance(ctx, centaurid1User.FormattedAddress(), composabled.Config().Denom) require.NoError(t, err) require.Equal(t, fundAmount, centaurid1UserBalInitial) - centauridChain := centaurid.(*cosmos.CosmosChain) + composabledChain := composabled.(*cosmos.CosmosChain) // Verify a normal user cannot push a wasm light client contract - _, err = centauridChain.StoreClientContract(ctx, centaurid1User.KeyName(), "ics10_grandpa_cw.wasm") + _, err = composabledChain.StoreClientContract(ctx, centaurid1User.KeyName(), "ics10_grandpa_cw.wasm") require.ErrorContains(t, err, "invalid authority") proposal := cosmos.TxProposalv1{ Metadata: "none", - Deposit: "500000000" + centauridChain.Config().Denom, // greater than min deposit + Deposit: "500000000" + composabledChain.Config().Denom, // greater than min deposit Title: "Grandpa Contract", Summary: "new grandpa contract", } - proposalTx, codeHash, err := centauridChain.PushNewWasmClientProposal(ctx, centaurid1User.KeyName(), "ics10_grandpa_cw.wasm", proposal) + proposalTx, codeHash, err := composabledChain.PushNewWasmClientProposal(ctx, centaurid1User.KeyName(), "ics10_grandpa_cw.wasm", proposal) require.NoError(t, err, "error submitting new wasm contract proposal tx") - height, err := centauridChain.Height(ctx) + height, err := composabledChain.Height(ctx) require.NoError(t, err, "error fetching height before submit upgrade proposal") - err = centauridChain.VoteOnProposalAllValidators(ctx, proposalTx.ProposalID, cosmos.ProposalVoteYes) + err = composabledChain.VoteOnProposalAllValidators(ctx, proposalTx.ProposalID, cosmos.ProposalVoteYes) require.NoError(t, err, "failed to submit votes") - _, err = cosmos.PollForProposalStatus(ctx, centauridChain, height, height+heightDelta, proposalTx.ProposalID, cosmos.ProposalStatusPassed) + _, err = cosmos.PollForProposalStatus(ctx, composabledChain, height, height+heightDelta, proposalTx.ProposalID, cosmos.ProposalStatusPassed) require.NoError(t, err, "proposal status did not change to passed in expected number of blocks") - err = testutil.WaitForBlocks(ctx, 2, centaurid) + err = testutil.WaitForBlocks(ctx, 2, composabledChain) require.NoError(t, err) var getCodeQueryMsgRsp GetCodeQueryMsgResponse - err = centauridChain.QueryClientContractCode(ctx, codeHash, &getCodeQueryMsgRsp) + err = composabledChain.QueryClientContractCode(ctx, codeHash, &getCodeQueryMsgRsp) codeHashByte32 := sha256.Sum256(getCodeQueryMsgRsp.Code) codeHash2 := hex.EncodeToString(codeHashByte32[:]) t.Logf("Contract codeHash from code: %s", codeHash2) diff --git a/tests/interchaintest/setup.go b/tests/interchaintest/setup.go index 487efcd94..d342fa0a8 100644 --- a/tests/interchaintest/setup.go +++ b/tests/interchaintest/setup.go @@ -19,7 +19,7 @@ var ( UidGid: "1025:1025", } - centauriConfig = ibc.ChainConfig{ + composableConfig = ibc.ChainConfig{ Type: "cosmos", Name: "composable", ChainID: "composable-2", diff --git a/tests/interchaintest/validator_test.go b/tests/interchaintest/validator_test.go index 149a94b0e..da8266276 100644 --- a/tests/interchaintest/validator_test.go +++ b/tests/interchaintest/validator_test.go @@ -30,8 +30,8 @@ func TestValidator(t *testing.T) { cf := interchaintest.NewBuiltinChainFactory(zaptest.NewLogger(t), []*interchaintest.ChainSpec{ { - Name: "centauri", - ChainConfig: centauriConfig, + Name: "composable", + ChainConfig: composableConfig, NumValidators: &numVals, NumFullNodes: &numFullNodes, }, From e119376176d2e8551fb6e8ff40e5b039e2bc6069 Mon Sep 17 00:00:00 2001 From: ducnt131 <62016666+anhductn2001@users.noreply.github.com> Date: Wed, 27 Sep 2023 12:07:34 +0700 Subject: [PATCH 17/24] Update upgrade_chain_test.go --- tests/interchaintest/upgrade_chain_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/interchaintest/upgrade_chain_test.go b/tests/interchaintest/upgrade_chain_test.go index 43c594cac..6644ccadf 100644 --- a/tests/interchaintest/upgrade_chain_test.go +++ b/tests/interchaintest/upgrade_chain_test.go @@ -20,7 +20,7 @@ const ( func TestCentauriUpgrade(t *testing.T) { repo, version := GetDockerImageInfo() - CosmosChainUpgradeTest(t, repo, version, "v5") + CosmosChainUpgradeTest(t, repo, version, "composable") } func CosmosChainUpgradeTest(t *testing.T, upgradeContainerRepo, upgradeVersion, upgradeName string) { @@ -39,7 +39,7 @@ func CosmosChainUpgradeTest(t *testing.T, upgradeContainerRepo, upgradeVersion, Images: []ibc.DockerImage{ { Repository: "ghcr.io/notional-labs/centauri", - Version: "4.5.1", + Version: "6.0", UidGid: "1025:1025", }, }, From a4e453761829ecba51a80d111d1b183657cb7df1 Mon Sep 17 00:00:00 2001 From: ducnt131 <62016666+anhductn2001@users.noreply.github.com> Date: Wed, 27 Sep 2023 12:11:25 +0700 Subject: [PATCH 18/24] Update setup.go --- tests/interchaintest/setup.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/interchaintest/setup.go b/tests/interchaintest/setup.go index d342fa0a8..cf70a985c 100644 --- a/tests/interchaintest/setup.go +++ b/tests/interchaintest/setup.go @@ -8,8 +8,8 @@ import ( ) var ( - CentauriMainRepo = "ghcr.io/notional-labs/centauri" - CentauriICTestRepo = "ghcr.io/notional-labs/centauri-ictest" + CentauriMainRepo = "ghcr.io/notional-labs/composable" + CentauriICTestRepo = "ghcr.io/notional-labs/composable-ictest" repo, version = GetDockerImageInfo() From 67b2ad362ec4e4b785be642dd85c6cf8f1f80124 Mon Sep 17 00:00:00 2001 From: ducnt131 <62016666+anhductn2001@users.noreply.github.com> Date: Wed, 27 Sep 2023 17:18:05 +0700 Subject: [PATCH 19/24] Update Makefile --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 64b811dca..84be7f8d3 100644 --- a/Makefile +++ b/Makefile @@ -133,7 +133,7 @@ proto-check-breaking: # Executes start chain tests via interchaintest ictest-start-cosmos: - cd tests/interchaintest && go test -race -v -run TestStartCentauri . + cd tests/interchaintest && go test -race -v -run TestStartComposable . ictest-validator: cd tests/interchaintest && go test -race -v -run TestValidator . @@ -144,11 +144,11 @@ ictest-start-polkadot: # Executes IBC tests via interchaintest ictest-ibc: - cd tests/interchaintest && go test -timeout=25m -race -v -run TestCentauriPicassoIBCTransfer . + cd tests/interchaintest && go test -timeout=25m -race -v -run TestComposablePicassoIBCTransfer . # Executes Basic Upgrade Chain tests via interchaintest ictest-upgrade: - cd tests/interchaintest && go test -timeout=25m -race -v -run TestCentauriUpgrade . + cd tests/interchaintest && go test -timeout=25m -race -v -run TestComposableUpgrade . # Executes all tests via interchaintest after compling a local image as juno:local ictest-all: ictest-start-cosmos ictest-start-polkadot ictest-ibc From b46d40abfaf644cc1cecd4c6af148c420bacc71e Mon Sep 17 00:00:00 2001 From: ducnt131 <62016666+anhductn2001@users.noreply.github.com> Date: Wed, 27 Sep 2023 17:18:56 +0700 Subject: [PATCH 20/24] Update upgrade_chain_test.go --- tests/interchaintest/upgrade_chain_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/interchaintest/upgrade_chain_test.go b/tests/interchaintest/upgrade_chain_test.go index 6644ccadf..874fff5a6 100644 --- a/tests/interchaintest/upgrade_chain_test.go +++ b/tests/interchaintest/upgrade_chain_test.go @@ -18,7 +18,7 @@ const ( blocksAfterUpgrade = uint64(10) ) -func TestCentauriUpgrade(t *testing.T) { +func TestComposableUpgrade(t *testing.T) { repo, version := GetDockerImageInfo() CosmosChainUpgradeTest(t, repo, version, "composable") } From 2ea47fa46159c4ba0805989ef45849d079c40ad1 Mon Sep 17 00:00:00 2001 From: ducnt131 <62016666+anhductn2001@users.noreply.github.com> Date: Wed, 27 Sep 2023 17:19:53 +0700 Subject: [PATCH 21/24] Update interchaintest.yml --- .github/workflows/interchaintest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/interchaintest.yml b/.github/workflows/interchaintest.yml index c605eaf7f..4458b08b4 100644 --- a/.github/workflows/interchaintest.yml +++ b/.github/workflows/interchaintest.yml @@ -29,7 +29,7 @@ jobs: push: true platforms: linux/amd64 tags: | - ghcr.io/notional-labs/centauri-ictest:latest + ghcr.io/notional-labs/composable-ictest:latest test-start-cosmos-chain: runs-on: ubuntu-latest needs: build-and-push-image From b3d079a4a54f0ade85ba901908ac92cc5961200f Mon Sep 17 00:00:00 2001 From: ducnt131 <62016666+anhductn2001@users.noreply.github.com> Date: Wed, 27 Sep 2023 17:20:42 +0700 Subject: [PATCH 22/24] Update push_docker_images.yml --- .github/workflows/push_docker_images.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/push_docker_images.yml b/.github/workflows/push_docker_images.yml index a8c990e76..7edfc9bfe 100644 --- a/.github/workflows/push_docker_images.yml +++ b/.github/workflows/push_docker_images.yml @@ -1,11 +1,11 @@ -# This workflow pushes new centauri docker images on every new tag. +# This workflow pushes new composable docker images on every new tag. # # On every new `vX.Y.Z` tag the following images are pushed: # -# notional-labs/centauri:X.Y.Z # is pushed -# notional-labs/centauri:X.Y # is updated to X.Y.Z -# notional-labs/centauri:X # is updated to X.Y.Z -# notional-labs/centauri:latest # is updated to X.Y.Z +# notional-labs/composable:X.Y.Z # is pushed +# notional-labs/composable:X.Y # is updated to X.Y.Z +# notional-labs/composable:X # is updated to X.Y.Z +# notional-labs/composable:latest # is updated to X.Y.Z # # All the images above have support for linux/amd64 and linux/arm64. # @@ -61,6 +61,6 @@ jobs: push: true platforms: linux/amd64,linux/arm64 tags: | - ghcr.io/notional-labs/centauri:${{ env.MAJOR_VERSION }} - ghcr.io/notional-labs/centauri:${{ env.MAJOR_VERSION }}.${{ env.MINOR_VERSION }} - ghcr.io/notional-labs/centauri:${{ env.MAJOR_VERSION }}.${{ env.MINOR_VERSION }}.${{ env.PATCH_VERSION }} \ No newline at end of file + ghcr.io/notional-labs/composable:${{ env.MAJOR_VERSION }} + ghcr.io/notional-labs/composable:${{ env.MAJOR_VERSION }}.${{ env.MINOR_VERSION }} + ghcr.io/notional-labs/composable:${{ env.MAJOR_VERSION }}.${{ env.MINOR_VERSION }}.${{ env.PATCH_VERSION }} From b79d47bd7d352d162f7ae91e33bd454627bff947 Mon Sep 17 00:00:00 2001 From: vuong177 Date: Sun, 8 Oct 2023 17:37:08 +0700 Subject: [PATCH 23/24] no lint --- app/upgrades/v5_2_0/fork.go | 1 + 1 file changed, 1 insertion(+) diff --git a/app/upgrades/v5_2_0/fork.go b/app/upgrades/v5_2_0/fork.go index 2917b2afc..e591a6fe3 100644 --- a/app/upgrades/v5_2_0/fork.go +++ b/app/upgrades/v5_2_0/fork.go @@ -1,3 +1,4 @@ +//nolint:all package v5_2_0 import ( From 5e26ad1f0015cff223a103d388d81ea6ba1ca488 Mon Sep 17 00:00:00 2001 From: GnaD | Notional <89174180+GNaD13@users.noreply.github.com> Date: Tue, 10 Oct 2023 14:01:09 +0700 Subject: [PATCH 24/24] Revert "Change prefix to from Centauri to Composable" --- .github/workflows/interchaintest.yml | 2 +- .github/workflows/push_docker_images.yml | 16 +- Dockerfile | 16 +- Dockerfile.dev | 16 +- Makefile | 16 +- app/ante/ante.go | 6 +- app/ante/ibc_ante.go | 2 +- app/app.go | 100 +++++------ app/coins.go | 2 +- app/export.go | 4 +- app/fork.go | 2 +- app/helpers/test_helpers.go | 38 ++--- app/ibctesting/chain.go | 26 +-- app/ibctesting/simapp/app.go | 20 +-- app/ibctesting/simapp/encoding.go | 2 +- app/ibctesting/simapp/sim_test.go | 2 +- app/keepers/keepers.go | 36 ++-- app/keepers/keys.go | 10 +- app/test_access.go | 8 +- app/test_helpers.go | 22 +-- app/upgrades/centauri/upgrade.go | 8 +- app/upgrades/composable/constants.go | 17 -- app/upgrades/composable/upgrade.go | 56 ------ app/upgrades/reward/constants.go | 2 +- app/upgrades/reward/upgrade.go | 4 +- app/upgrades/types.go | 5 +- app/upgrades/v4/constants.go | 8 +- app/upgrades/v4/upgrade.go | 8 +- app/upgrades/v4_5/constants.go | 4 +- app/upgrades/v4_5/fork.go | 2 +- app/upgrades/v4_5_1/constants.go | 2 +- app/upgrades/v4_5_1/fork.go | 4 +- app/upgrades/v5/constants.go | 6 +- app/upgrades/v5/upgrade.go | 8 +- app/upgrades/v5_1_0/constants.go | 2 +- app/upgrades/v5_1_0/fork.go | 6 +- app/upgrades/v5_2_0/constants.go | 2 +- app/upgrades/v5_2_0/fork.go | 4 +- bech32-migration/auth/auth.go | 2 +- bech32-migration/gov/gov.go | 2 +- bech32-migration/slashing/slashing.go | 2 +- bech32-migration/staking/staking.go | 2 +- bech32-migration/utils/utils.go | 2 +- .../cmd/bech32_convert.go | 10 +- .../cmd/genaccounts.go | 4 +- cmd/{composabled => centaurid}/cmd/root.go | 14 +- .../config/config.go | 6 +- cmd/{composabled => centaurid}/main.go | 6 +- custom/bank/bank_test.go | 2 +- custom/bank/keeper/keeper.go | 4 +- custom/bank/module.go | 2 +- go.mod | 4 +- go.sum | 4 +- .../mint/v1beta1/genesis.proto | 4 +- .../mint/v1beta1/mint.proto | 2 +- .../mint/v1beta1/query.proto | 4 +- .../mint/v1beta1/tx.proto | 4 +- .../ratelimit/v1beta1/epoch.proto | 2 +- .../ratelimit/v1beta1/genesis.proto | 8 +- .../ratelimit/v1beta1/params.proto | 2 +- .../ratelimit/v1beta1/query.proto | 20 +-- .../ratelimit/v1beta1/ratelimit.proto | 4 +- .../ratelimit/v1beta1/tx.proto | 19 +-- .../transfermiddleware/v1beta1/genesis.proto | 7 +- .../v1beta1/parachain_token_info.proto | 13 +- .../transfermiddleware/v1beta1/params.proto | 2 +- .../transfermiddleware/v1beta1/query.proto | 16 +- .../transfermiddleware/v1beta1/tx.proto | 7 +- .../txboundary/v1beta1/boundary.proto | 12 +- .../txboundary/v1beta1/genesis.proto | 5 +- proto/centauri/txboundary/v1beta1/query.proto | 40 +++++ proto/centauri/txboundary/v1beta1/tx.proto | 68 ++++++++ .../composable/txboundary/v1beta1/query.proto | 47 ------ proto/composable/txboundary/v1beta1/tx.proto | 71 -------- scripts/protocgen.sh | 2 +- tests/interchaintest/basic_cosmos_test.go | 14 +- tests/interchaintest/chain_start_test.go | 12 +- .../push_wasm_client_code_test.go | 34 ++-- tests/interchaintest/setup.go | 16 +- tests/interchaintest/upgrade_chain_test.go | 6 +- tests/interchaintest/validator_test.go | 4 +- x/ibc-hooks/client/cli/query.go | 4 +- x/ibc-hooks/keeper/keeper.go | 2 +- x/ibc-hooks/module.go | 4 +- x/ibc-hooks/relay_test.go | 4 +- x/ibc-hooks/wasm_hook.go | 4 +- x/mint/abci.go | 4 +- x/mint/client/cli/query.go | 2 +- x/mint/client/cli/tx.go | 2 +- x/mint/keeper/genesis.go | 2 +- x/mint/keeper/grpc_query.go | 2 +- x/mint/keeper/keeper.go | 2 +- x/mint/keeper/msg_server.go | 2 +- x/mint/module.go | 8 +- x/mint/simulation/decoder.go | 2 +- x/mint/simulation/decoder_test.go | 8 +- x/mint/simulation/genesis.go | 2 +- x/mint/simulation/genesis_test.go | 4 +- x/mint/simulation/proposals.go | 2 +- x/mint/simulation/proposals_test.go | 4 +- x/mint/types/codec.go | 8 +- x/mint/types/genesis.pb.go | 50 +++--- x/mint/types/mint.pb.go | 72 ++++---- x/mint/types/query.pb.go | 114 ++++++------- x/mint/types/query.pb.gw.go | 2 +- x/mint/types/tx.pb.go | 128 +++++++------- x/ratelimit/client/cli/query.go | 2 +- x/ratelimit/client/cli/tx.go | 2 +- x/ratelimit/ibc_middleware.go | 2 +- x/ratelimit/keeper/abci.go | 2 +- x/ratelimit/keeper/epoch.go | 2 +- x/ratelimit/keeper/genesis.go | 2 +- x/ratelimit/keeper/grpc_query.go | 2 +- x/ratelimit/keeper/keeper.go | 4 +- x/ratelimit/keeper/msg_server.go | 2 +- x/ratelimit/keeper/packet.go | 2 +- x/ratelimit/keeper/rate_limit.go | 2 +- x/ratelimit/module.go | 6 +- x/ratelimit/relay_test.go | 4 +- x/ratelimit/types/codec.go | 8 +- x/ratelimit/types/epoch.pb.go | 66 ++++---- x/ratelimit/types/genesis.pb.go | 64 +++---- x/ratelimit/types/params.pb.go | 32 ++-- x/ratelimit/types/query.pb.go | 158 ++++++++--------- x/ratelimit/types/query.pb.gw.go | 38 ++--- x/ratelimit/types/ratelimit.pb.go | 103 ++++++------ x/ratelimit/types/tx.pb.go | 159 +++++++++--------- x/transfermiddleware/client/cli/query.go | 2 +- x/transfermiddleware/client/cli/tx.go | 2 +- x/transfermiddleware/ibc_ante_test.go | 4 +- x/transfermiddleware/ibc_middleware.go | 2 +- x/transfermiddleware/keeper/abci.go | 2 +- x/transfermiddleware/keeper/genesis.go | 2 +- x/transfermiddleware/keeper/genesis_test.go | 10 +- x/transfermiddleware/keeper/grpc_query.go | 2 +- x/transfermiddleware/keeper/ics4wrapper.go | 2 +- x/transfermiddleware/keeper/keeper.go | 20 +-- x/transfermiddleware/keeper/msg_server.go | 2 +- x/transfermiddleware/keeper/params.go | 2 +- x/transfermiddleware/keeper/relay.go | 2 +- x/transfermiddleware/module.go | 6 +- x/transfermiddleware/pfm_test.go | 2 +- x/transfermiddleware/relay_test.go | 2 +- x/transfermiddleware/types/codec.go | 6 +- x/transfermiddleware/types/genesis.pb.go | 45 +++-- x/transfermiddleware/types/info_test.go | 2 +- .../types/parachain_token_info.pb.go | 75 ++++----- x/transfermiddleware/types/params.pb.go | 43 +++-- x/transfermiddleware/types/query.pb.go | 101 ++++++----- x/transfermiddleware/types/query.pb.gw.go | 6 +- x/transfermiddleware/types/tx.pb.go | 121 +++++++------ x/tx-boundary/ante/antetest/ante_test.go | 4 +- .../ante/antetest/ante_test_setup.go | 8 +- x/tx-boundary/ante/decorate.go | 2 +- x/tx-boundary/client/cli/query.go | 2 +- x/tx-boundary/client/cli/tx.go | 2 +- x/tx-boundary/keeper/genensis.go | 2 +- x/tx-boundary/keeper/grpc_query.go | 2 +- x/tx-boundary/keeper/keeper.go | 2 +- x/tx-boundary/keeper/keeper_test.go | 10 +- x/tx-boundary/module.go | 6 +- x/tx-boundary/types/boundary.pb.go | 56 +++--- x/tx-boundary/types/genesis.pb.go | 44 ++--- x/tx-boundary/types/query.pb.go | 97 ++++++----- x/tx-boundary/types/query.pb.gw.go | 2 +- x/tx-boundary/types/tx.pb.go | 103 ++++++------ 166 files changed, 1386 insertions(+), 1524 deletions(-) delete mode 100644 app/upgrades/composable/constants.go delete mode 100644 app/upgrades/composable/upgrade.go rename cmd/{composabled => centaurid}/cmd/bech32_convert.go (71%) rename cmd/{composabled => centaurid}/cmd/genaccounts.go (98%) rename cmd/{composabled => centaurid}/cmd/root.go (97%) rename cmd/{composabled => centaurid}/config/config.go (97%) rename cmd/{composabled => centaurid}/main.go (59%) rename proto/{composable => centauri}/mint/v1beta1/genesis.proto (88%) rename proto/{composable => centauri}/mint/v1beta1/mint.proto (98%) rename proto/{composable => centauri}/mint/v1beta1/query.proto (96%) rename proto/{composable => centauri}/mint/v1beta1/tx.proto (96%) rename proto/{composable => centauri}/ratelimit/v1beta1/epoch.proto (98%) rename proto/{composable => centauri}/ratelimit/v1beta1/genesis.proto (78%) rename proto/{composable => centauri}/ratelimit/v1beta1/params.proto (83%) rename proto/{composable => centauri}/ratelimit/v1beta1/query.proto (70%) rename proto/{composable => centauri}/ratelimit/v1beta1/ratelimit.proto (92%) rename proto/{composable => centauri}/ratelimit/v1beta1/tx.proto (82%) mode change 100644 => 100755 rename proto/{composable => centauri}/transfermiddleware/v1beta1/genesis.proto (65%) rename proto/{composable => centauri}/transfermiddleware/v1beta1/parachain_token_info.proto (72%) rename proto/{composable => centauri}/transfermiddleware/v1beta1/params.proto (89%) rename proto/{composable => centauri}/transfermiddleware/v1beta1/query.proto (74%) rename proto/{composable => centauri}/transfermiddleware/v1beta1/tx.proto (92%) rename proto/{composable => centauri}/txboundary/v1beta1/boundary.proto (64%) rename proto/{composable => centauri}/txboundary/v1beta1/genesis.proto (83%) create mode 100644 proto/centauri/txboundary/v1beta1/query.proto create mode 100644 proto/centauri/txboundary/v1beta1/tx.proto delete mode 100644 proto/composable/txboundary/v1beta1/query.proto delete mode 100644 proto/composable/txboundary/v1beta1/tx.proto diff --git a/.github/workflows/interchaintest.yml b/.github/workflows/interchaintest.yml index f75cfad22..4529d0fed 100644 --- a/.github/workflows/interchaintest.yml +++ b/.github/workflows/interchaintest.yml @@ -33,7 +33,7 @@ jobs: push: true platforms: linux/amd64 tags: | - ghcr.io/notional-labs/composable-ictest:latest + ghcr.io/notional-labs/centauri-ictest:latest test-start-cosmos-chain: runs-on: ubuntu-latest needs: build-and-push-image diff --git a/.github/workflows/push_docker_images.yml b/.github/workflows/push_docker_images.yml index 51362ea49..cb695f4bf 100644 --- a/.github/workflows/push_docker_images.yml +++ b/.github/workflows/push_docker_images.yml @@ -1,11 +1,11 @@ -# This workflow pushes new composable docker images on every new tag. +# This workflow pushes new centauri docker images on every new tag. # # On every new `vX.Y.Z` tag the following images are pushed: # -# notional-labs/composable:X.Y.Z # is pushed -# notional-labs/composable:X.Y # is updated to X.Y.Z -# notional-labs/composable:X # is updated to X.Y.Z -# notional-labs/composable:latest # is updated to X.Y.Z +# notional-labs/centauri:X.Y.Z # is pushed +# notional-labs/centauri:X.Y # is updated to X.Y.Z +# notional-labs/centauri:X # is updated to X.Y.Z +# notional-labs/centauri:latest # is updated to X.Y.Z # # All the images above have support for linux/amd64 and linux/arm64. # @@ -66,6 +66,6 @@ jobs: push: true platforms: linux/amd64,linux/arm64 tags: | - ghcr.io/notional-labs/composable:${{ env.MAJOR_VERSION }} - ghcr.io/notional-labs/composable:${{ env.MAJOR_VERSION }}.${{ env.MINOR_VERSION }} - ghcr.io/notional-labs/composable:${{ env.MAJOR_VERSION }}.${{ env.MINOR_VERSION }}.${{ env.PATCH_VERSION }} + ghcr.io/notional-labs/centauri:${{ env.MAJOR_VERSION }} + ghcr.io/notional-labs/centauri:${{ env.MAJOR_VERSION }}.${{ env.MINOR_VERSION }} + ghcr.io/notional-labs/centauri:${{ env.MAJOR_VERSION }}.${{ env.MINOR_VERSION }}.${{ env.PATCH_VERSION }} \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index d0dbf3811..a1b94dfe8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,7 @@ RUN apk add --no-cache \ linux-headers # Download go dependencies -WORKDIR /composable +WORKDIR /centauri COPY go.mod go.sum ./ RUN --mount=type=cache,target=/root/.cache/go-build \ --mount=type=cache,target=/root/go/pkg/mod \ @@ -43,15 +43,15 @@ RUN --mount=type=cache,target=/root/.cache/go-build \ -mod=readonly \ -tags "netgo,ledger,muslc" \ -ldflags \ - "-X github.com/cosmos/cosmos-sdk/version.Name="composable" \ - -X github.com/cosmos/cosmos-sdk/version.AppName="composabled" \ + "-X github.com/cosmos/cosmos-sdk/version.Name="centauri" \ + -X github.com/cosmos/cosmos-sdk/version.AppName="centaurid" \ -X github.com/cosmos/cosmos-sdk/version.Version=${GIT_VERSION} \ -X github.com/cosmos/cosmos-sdk/version.Commit=${GIT_COMMIT} \ -X github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger,muslc \ -w -s -linkmode=external -extldflags '-Wl,-z,muldefs -static'" \ -trimpath \ - -o /composable/build/composabled \ - /composable/cmd/composabled + -o /centauri/build/centaurid \ + /centauri/cmd/centaurid/main.go # -------------------------------------------------------- # Runner @@ -59,9 +59,9 @@ RUN --mount=type=cache,target=/root/.cache/go-build \ FROM ${RUNNER_IMAGE} -COPY --from=builder /composable/build/composabled /bin/composabled +COPY --from=builder /centauri/build/centaurid /bin/centaurid -ENV HOME /composable +ENV HOME /centauri WORKDIR $HOME # rest server @@ -72,4 +72,4 @@ EXPOSE 26656 EXPOSE 26657 # grpc EXPOSE 9090 -ENTRYPOINT ["composabled"] \ No newline at end of file +ENTRYPOINT ["centaurid"] \ No newline at end of file diff --git a/Dockerfile.dev b/Dockerfile.dev index 9e9026a90..c0838bdeb 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -18,7 +18,7 @@ RUN apk add --no-cache \ linux-headers # Download go dependencies -WORKDIR /composable +WORKDIR /centauri COPY go.mod go.sum ./ # Cosmwasm - Download correct libwasmvm version @@ -38,15 +38,15 @@ RUN GOWORK=off go build \ -mod=readonly \ -tags "netgo,ledger,muslc" \ -ldflags \ - "-X github.com/cosmos/cosmos-sdk/version.Name="composable" \ - -X github.com/cosmos/cosmos-sdk/version.AppName="composabled" \ + "-X github.com/cosmos/cosmos-sdk/version.Name="centauri" \ + -X github.com/cosmos/cosmos-sdk/version.AppName="centaurid" \ -X github.com/cosmos/cosmos-sdk/version.Version=${GIT_VERSION} \ -X github.com/cosmos/cosmos-sdk/version.Commit=${GIT_COMMIT} \ -X github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger,muslc \ -w -s -linkmode=external -extldflags '-Wl,-z,muldefs -static'" \ -trimpath \ - -o /composable/build/composabled \ - /composable/cmd/composabled + -o /centauri/build/centaurid \ + /centauri/cmd/centaurid/main.go # -------------------------------------------------------- # Runner @@ -54,13 +54,13 @@ RUN GOWORK=off go build \ FROM ${RUNNER_IMAGE} -COPY --from=builder /composable/build/composabled /bin/composabled +COPY --from=builder /centauri/build/centaurid /bin/centaurid -ENV HOME /composable +ENV HOME /centauri WORKDIR $HOME -COPY scripts/* /composable/ +COPY scripts/* /centauri/ # rest server EXPOSE 1317 # tendermint p2p diff --git a/Makefile b/Makefile index 84be7f8d3..0cecb6827 100644 --- a/Makefile +++ b/Makefile @@ -58,8 +58,8 @@ comma := , build_tags_comma_sep := $(subst $(whitespace),$(comma),$(build_tags)) # process linker flags -ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=composable \ - -X github.com/cosmos/cosmos-sdk/version.AppName=composabled \ +ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=centauri \ + -X github.com/cosmos/cosmos-sdk/version.AppName=centaurid \ -X github.com/cosmos/cosmos-sdk/version.Version=$(VERSION) \ -X github.com/cosmos/cosmos-sdk/version.Commit=$(COMMIT) \ -X "github.com/cosmos/cosmos-sdk/version.BuildTags=$(build_tags_comma_sep)" @@ -86,13 +86,13 @@ endif all: install install: go.sum - go install -mod=readonly $(BUILD_FLAGS) ./cmd/composabled + go install -mod=readonly $(BUILD_FLAGS) ./cmd/centaurid build: - go build $(BUILD_FLAGS) -o bin/composabled ./cmd/composabled + go build $(BUILD_FLAGS) -o bin/centaurid ./cmd/centaurid docker-build-debug: - @DOCKER_BUILDKIT=1 docker build -t composable:debug -f Dockerfile . + @DOCKER_BUILDKIT=1 docker build -t centauri:debug -f Dockerfile . lint: @find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -name '*.pb.go' -not -name '*.gw.go' | xargs go run mvdan.cc/gofumpt -w . @@ -133,7 +133,7 @@ proto-check-breaking: # Executes start chain tests via interchaintest ictest-start-cosmos: - cd tests/interchaintest && go test -race -v -run TestStartComposable . + cd tests/interchaintest && go test -race -v -run TestStartCentauri . ictest-validator: cd tests/interchaintest && go test -race -v -run TestValidator . @@ -144,11 +144,11 @@ ictest-start-polkadot: # Executes IBC tests via interchaintest ictest-ibc: - cd tests/interchaintest && go test -timeout=25m -race -v -run TestComposablePicassoIBCTransfer . + cd tests/interchaintest && go test -timeout=25m -race -v -run TestCentauriPicassoIBCTransfer . # Executes Basic Upgrade Chain tests via interchaintest ictest-upgrade: - cd tests/interchaintest && go test -timeout=25m -race -v -run TestComposableUpgrade . + cd tests/interchaintest && go test -timeout=25m -race -v -run TestCentauriUpgrade . # Executes all tests via interchaintest after compling a local image as juno:local ictest-all: ictest-start-cosmos ictest-start-polkadot ictest-ibc diff --git a/app/ante/ante.go b/app/ante/ante.go index 58d2c6a5f..65e8e47de 100644 --- a/app/ante/ante.go +++ b/app/ante/ante.go @@ -10,9 +10,9 @@ import ( ante "github.com/cosmos/cosmos-sdk/x/auth/ante" "github.com/cosmos/cosmos-sdk/x/auth/signing" - tfmwKeeper "github.com/notional-labs/composable/v5/x/transfermiddleware/keeper" - txBoundaryAnte "github.com/notional-labs/composable/v5/x/tx-boundary/ante" - txBoundaryKeeper "github.com/notional-labs/composable/v5/x/tx-boundary/keeper" + tfmwKeeper "github.com/notional-labs/centauri/v5/x/transfermiddleware/keeper" + txBoundaryAnte "github.com/notional-labs/centauri/v5/x/tx-boundary/ante" + txBoundaryKeeper "github.com/notional-labs/centauri/v5/x/tx-boundary/keeper" ) // Link to default ante handler used by cosmos sdk: diff --git a/app/ante/ibc_ante.go b/app/ante/ibc_ante.go index f889c13fb..15642a58f 100644 --- a/app/ante/ibc_ante.go +++ b/app/ante/ibc_ante.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/authz" clienttypes "github.com/cosmos/ibc-go/v7/modules/core/02-client/types" - tfmwKeeper "github.com/notional-labs/composable/v5/x/transfermiddleware/keeper" + tfmwKeeper "github.com/notional-labs/centauri/v5/x/transfermiddleware/keeper" ) type IBCPermissionDecorator struct { diff --git a/app/app.go b/app/app.go index af2a952c6..2fd1ed416 100644 --- a/app/app.go +++ b/app/app.go @@ -32,9 +32,9 @@ import ( vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" "github.com/cosmos/cosmos-sdk/x/bank" - "github.com/notional-labs/composable/v5/app/keepers" - v4 "github.com/notional-labs/composable/v5/app/upgrades/v4" - v5 "github.com/notional-labs/composable/v5/app/upgrades/v5" + "github.com/notional-labs/centauri/v5/app/keepers" + v4 "github.com/notional-labs/centauri/v5/app/upgrades/v4" + v5 "github.com/notional-labs/centauri/v5/app/upgrades/v5" // bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" @@ -92,37 +92,42 @@ import ( alliancemoduleclient "github.com/terra-money/alliance/x/alliance/client" alliancemoduletypes "github.com/terra-money/alliance/x/alliance/types" - custombankmodule "github.com/notional-labs/composable/v5/custom/bank" + custombankmodule "github.com/notional-labs/centauri/v5/custom/bank" - "github.com/notional-labs/composable/v5/app/ante" - transfermiddleware "github.com/notional-labs/composable/v5/x/transfermiddleware" - transfermiddlewaretypes "github.com/notional-labs/composable/v5/x/transfermiddleware/types" + "github.com/notional-labs/centauri/v5/app/ante" + transfermiddleware "github.com/notional-labs/centauri/v5/x/transfermiddleware" + transfermiddlewaretypes "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" - txBoundary "github.com/notional-labs/composable/v5/x/tx-boundary" - txBoundaryTypes "github.com/notional-labs/composable/v5/x/tx-boundary/types" + txBoundary "github.com/notional-labs/centauri/v5/x/tx-boundary" + txBoundaryTypes "github.com/notional-labs/centauri/v5/x/tx-boundary/types" - ratelimitmodule "github.com/notional-labs/composable/v5/x/ratelimit" - ratelimitmoduletypes "github.com/notional-labs/composable/v5/x/ratelimit/types" + ratelimitmodule "github.com/notional-labs/centauri/v5/x/ratelimit" + ratelimitmoduletypes "github.com/notional-labs/centauri/v5/x/ratelimit/types" consensusparamtypes "github.com/cosmos/cosmos-sdk/x/consensus/types" - "github.com/notional-labs/composable/v5/x/mint" - minttypes "github.com/notional-labs/composable/v5/x/mint/types" + "github.com/notional-labs/centauri/v5/x/mint" + minttypes "github.com/notional-labs/centauri/v5/x/mint/types" ibctestingtypes "github.com/cosmos/ibc-go/v7/testing/types" - ibc_hooks "github.com/notional-labs/composable/v5/x/ibc-hooks" - ibchookstypes "github.com/notional-labs/composable/v5/x/ibc-hooks/types" + ibc_hooks "github.com/notional-labs/centauri/v5/x/ibc-hooks" + ibchookstypes "github.com/notional-labs/centauri/v5/x/ibc-hooks/types" "github.com/CosmWasm/wasmd/x/wasm" wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" - upgrades "github.com/notional-labs/composable/v5/app/upgrades" + v4_5 "github.com/notional-labs/centauri/v5/app/upgrades/v4_5" + v4_5_1 "github.com/notional-labs/centauri/v5/app/upgrades/v4_5_1" + v5_1_0 "github.com/notional-labs/centauri/v5/app/upgrades/v5_1_0" + v5_2_0 "github.com/notional-labs/centauri/v5/app/upgrades/v5_2_0" + + upgrades "github.com/notional-labs/centauri/v5/app/upgrades" ) const ( - Name = "composable" + Name = "centauri" dirName = "banksy" ForkHeight = 244008 ) @@ -137,7 +142,7 @@ var ( EnableSpecificProposals = "" Upgrades = []upgrades.Upgrade{v4.Upgrade, v5.Upgrade} - Forks = []upgrades.Fork{} + Forks = []upgrades.Fork{v4_5.Fork, v4_5_1.Fork, v5_1_0.Fork, v5_2_0.Fork} ) // GetEnabledProposals parses the ProposalsEnabled / EnableSpecificProposals values to @@ -237,7 +242,7 @@ var ( } ) -var _ servertypes.Application = (*ComposableApp)(nil) +var _ servertypes.Application = (*CentauriApp)(nil) func init() { userHomeDir, err := os.UserHomeDir() @@ -250,10 +255,10 @@ func init() { sdk.DefaultPowerReduction = PowerReduction } -// ComposableApp extends an ABCI application, but with most of its parameters exported. +// CentauriApp extends an ABCI application, but with most of its parameters exported. // They are exported for convenience in creating helper functions, as object // capabilities aren't needed for testing. -type ComposableApp struct { +type CentauriApp struct { *baseapp.BaseApp keepers.AppKeepers @@ -270,7 +275,7 @@ type ComposableApp struct { // RUN GOSEC // New returns a reference to an initialized blockchain app -func NewComposableApp( +func NewCentauriApp( logger log.Logger, db dbm.DB, traceStore io.Writer, @@ -283,7 +288,7 @@ func NewComposableApp( appOpts servertypes.AppOptions, wasmOpts []wasm.Option, baseAppOptions ...func(*baseapp.BaseApp), -) *ComposableApp { +) *CentauriApp { appCodec := encodingConfig.Marshaler cdc := encodingConfig.Amino interfaceRegistry := encodingConfig.InterfaceRegistry @@ -293,7 +298,7 @@ func NewComposableApp( bApp.SetInterfaceRegistry(interfaceRegistry) bApp.SetTxEncoder(encodingConfig.TxConfig.TxEncoder()) - app := &ComposableApp{ + app := &CentauriApp{ BaseApp: bApp, AppKeepers: keepers.AppKeepers{}, cdc: cdc, @@ -555,50 +560,50 @@ func NewComposableApp( } // Name returns the name of the App -func (app *ComposableApp) Name() string { return app.BaseApp.Name() } +func (app *CentauriApp) Name() string { return app.BaseApp.Name() } // GetBaseApp returns the base app of the application -func (app *ComposableApp) GetBaseApp() *baseapp.BaseApp { return app.BaseApp } +func (app *CentauriApp) GetBaseApp() *baseapp.BaseApp { return app.BaseApp } // GetStakingKeeper implements the TestingApp interface. -func (app *ComposableApp) GetStakingKeeper() ibctestingtypes.StakingKeeper { +func (app *CentauriApp) GetStakingKeeper() ibctestingtypes.StakingKeeper { return app.StakingKeeper } // GetIBCKeeper implements the TestingApp interface. -func (app *ComposableApp) GetTransferKeeper() *ibctransferkeeper.Keeper { +func (app *CentauriApp) GetTransferKeeper() *ibctransferkeeper.Keeper { return &app.TransferKeeper } // GetIBCKeeper implements the TestingApp interface. -func (app *ComposableApp) GetIBCKeeper() *ibckeeper.Keeper { +func (app *CentauriApp) GetIBCKeeper() *ibckeeper.Keeper { return app.IBCKeeper } // GetScopedIBCKeeper implements the TestingApp interface. -func (app *ComposableApp) GetScopedIBCKeeper() capabilitykeeper.ScopedKeeper { +func (app *CentauriApp) GetScopedIBCKeeper() capabilitykeeper.ScopedKeeper { return app.ScopedIBCKeeper } // GetTxConfig implements the TestingApp interface. -func (app *ComposableApp) GetTxConfig() client.TxConfig { +func (app *CentauriApp) GetTxConfig() client.TxConfig { cfg := MakeEncodingConfig() return cfg.TxConfig } // BeginBlocker application updates every begin block -func (app *ComposableApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock { +func (app *CentauriApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock { BeginBlockForks(ctx, app) return app.mm.BeginBlock(ctx, req) } // EndBlocker application updates every end block -func (app *ComposableApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock { +func (app *CentauriApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock { return app.mm.EndBlock(ctx, req) } // InitChainer application update at chain initialization -func (app *ComposableApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain { +func (app *CentauriApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain { var genesisState GenesisState if err := tmjson.Unmarshal(req.AppStateBytes, &genesisState); err != nil { panic(err) @@ -608,12 +613,12 @@ func (app *ComposableApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain } // LoadHeight loads a particular height -func (app *ComposableApp) LoadHeight(height int64) error { +func (app *CentauriApp) LoadHeight(height int64) error { return app.LoadVersion(height) } // ModuleAccountAddrs returns all the app's module account addresses. -func (app *ComposableApp) ModuleAccountAddrs() map[string]bool { +func (app *CentauriApp) ModuleAccountAddrs() map[string]bool { modAccAddrs := make(map[string]bool) // DO NOT REMOVE: StringMapKeys fixes non-deterministic map iteration for acc := range maccPerms { @@ -627,7 +632,7 @@ func (app *ComposableApp) ModuleAccountAddrs() map[string]bool { // // NOTE: This is solely to be used for testing purposes as it may be desirable // for modules to register their own custom testing types. -func (app *ComposableApp) LegacyAmino() *codec.LegacyAmino { +func (app *CentauriApp) LegacyAmino() *codec.LegacyAmino { return app.cdc } @@ -635,18 +640,18 @@ func (app *ComposableApp) LegacyAmino() *codec.LegacyAmino { // // NOTE: This is solely to be used for testing purposes as it may be desirable // for modules to register their own custom testing types. -func (app *ComposableApp) AppCodec() codec.Codec { +func (app *CentauriApp) AppCodec() codec.Codec { return app.appCodec } // InterfaceRegistry returns an InterfaceRegistry -func (app *ComposableApp) InterfaceRegistry() types.InterfaceRegistry { +func (app *CentauriApp) InterfaceRegistry() types.InterfaceRegistry { return app.interfaceRegistry } // RegisterAPIRoutes registers all application module routes with the provided // API server. -func (app *ComposableApp) RegisterAPIRoutes(apiSvr *api.Server, _ config.APIConfig) { +func (app *CentauriApp) RegisterAPIRoutes(apiSvr *api.Server, _ config.APIConfig) { clientCtx := apiSvr.ClientCtx // Register new tx routes from grpc-gateway. authtx.RegisterGRPCGatewayRoutes(clientCtx, apiSvr.GRPCGatewayRouter) @@ -659,17 +664,17 @@ func (app *ComposableApp) RegisterAPIRoutes(apiSvr *api.Server, _ config.APIConf } // RegisterTxService implements the Application.RegisterTxService method. -func (app *ComposableApp) RegisterTxService(clientCtx client.Context) { +func (app *CentauriApp) RegisterTxService(clientCtx client.Context) { authtx.RegisterTxService(app.BaseApp.GRPCQueryRouter(), clientCtx, app.BaseApp.Simulate, app.interfaceRegistry) } // RegisterTendermintService implements the Application.RegisterTendermintService method. -func (app *ComposableApp) RegisterTendermintService(clientCtx client.Context) { +func (app *CentauriApp) RegisterTendermintService(clientCtx client.Context) { tmservice.RegisterTendermintService(clientCtx, app.BaseApp.GRPCQueryRouter(), app.interfaceRegistry, app.Query) } // RegisterNodeService registers the node gRPC Query service. -func (app *ComposableApp) RegisterNodeService(clientCtx client.Context) { +func (app *CentauriApp) RegisterNodeService(clientCtx client.Context) { nodeservice.RegisterNodeService(clientCtx, app.GRPCQueryRouter()) } @@ -683,12 +688,12 @@ func GetMaccPerms() map[string][]string { } // SimulationManager implements the SimulationApp interface -func (app *ComposableApp) SimulationManager() *module.SimulationManager { +func (app *CentauriApp) SimulationManager() *module.SimulationManager { return app.sm } // configure store loader that checks if version == upgradeHeight and applies store upgrades -func (app *ComposableApp) setupUpgradeStoreLoaders() { +func (app *CentauriApp) setupUpgradeStoreLoaders() { upgradeInfo, err := app.UpgradeKeeper.ReadUpgradeInfoFromDisk() if err != nil { panic(fmt.Sprintf("failed to read upgrade info from disk %s", err)) @@ -712,13 +717,13 @@ func (app *ComposableApp) setupUpgradeStoreLoaders() { } } -func (app *ComposableApp) customPreUpgradeHandler(_ upgradetypes.Plan) { +func (app *CentauriApp) customPreUpgradeHandler(_ upgradetypes.Plan) { // switch upgradeInfo.Name { // default: // } } -func (app *ComposableApp) setupUpgradeHandlers() { +func (app *CentauriApp) setupUpgradeHandlers() { for _, upgrade := range Upgrades { app.UpgradeKeeper.SetUpgradeHandler( upgrade.UpgradeName, @@ -726,7 +731,6 @@ func (app *ComposableApp) setupUpgradeHandlers() { app.mm, app.configurator, app.BaseApp, - app.AppCodec(), &app.AppKeepers, ), ) diff --git a/app/coins.go b/app/coins.go index ce91ace8a..fd6807a96 100644 --- a/app/coins.go +++ b/app/coins.go @@ -6,7 +6,7 @@ import ( sdkmath "cosmossdk.io/math" ) -// BaseDenomUnit defines the base denomination unit for Composable. +// BaseDenomUnit defines the base denomination unit for Centauri. // 1 pica = 1x10^{BaseDenomUnit} ppica var BaseDenomUnit = 12 diff --git a/app/export.go b/app/export.go index 282f4ff5f..f7bcc245f 100644 --- a/app/export.go +++ b/app/export.go @@ -15,7 +15,7 @@ import ( // ExportAppStateAndValidators exports the state of the application for a genesis // file. -func (app *ComposableApp) ExportAppStateAndValidators( +func (app *CentauriApp) ExportAppStateAndValidators( forZeroHeight bool, jailAllowedAddrs []string, ) (servertypes.ExportedApp, error) { // as if they could withdraw from the start of the next block @@ -51,7 +51,7 @@ func (app *ComposableApp) ExportAppStateAndValidators( // NOTE zero height genesis is a temporary feature which will be deprecated // // in favour of export at a block height -func (app *ComposableApp) prepForZeroHeightGenesis(ctx sdk.Context, jailAllowedAddrs []string) { +func (app *CentauriApp) prepForZeroHeightGenesis(ctx sdk.Context, jailAllowedAddrs []string) { applyAllowedAddrs := false // check if there is a allowed address list diff --git a/app/fork.go b/app/fork.go index c2e0ec0ec..551862c27 100644 --- a/app/fork.go +++ b/app/fork.go @@ -5,7 +5,7 @@ import ( ) // BeginBlockForks is intended to be ran in a chain upgrade. -func BeginBlockForks(ctx sdk.Context, app *ComposableApp) { +func BeginBlockForks(ctx sdk.Context, app *CentauriApp) { for _, fork := range Forks { if ctx.BlockHeight() == fork.UpgradeHeight { fork.BeginForkLogic(ctx, &app.AppKeepers) diff --git a/app/helpers/test_helpers.go b/app/helpers/test_helpers.go index c65c1ae20..bcaf04129 100644 --- a/app/helpers/test_helpers.go +++ b/app/helpers/test_helpers.go @@ -27,7 +27,7 @@ import ( "github.com/cosmos/ibc-go/v7/testing/mock" "github.com/stretchr/testify/require" - composable "github.com/notional-labs/composable/v5/app" + centauri "github.com/notional-labs/centauri/v5/app" ) // SimAppChainID hardcoded chainID for simulation @@ -58,7 +58,7 @@ type EmptyAppOptions struct{} func (EmptyAppOptions) Get(_ string) interface{} { return nil } -func NewContextForApp(app composable.ComposableApp) sdk.Context { +func NewContextForApp(app centauri.CentauriApp) sdk.Context { ctx := app.BaseApp.NewContext(false, tmproto.Header{ ChainID: fmt.Sprintf("test-chain-%s", tmrand.Str(4)), Height: 1, @@ -66,7 +66,7 @@ func NewContextForApp(app composable.ComposableApp) sdk.Context { return ctx } -func Setup(t *testing.T, isCheckTx bool, invCheckPeriod uint) *composable.ComposableApp { +func Setup(t *testing.T, isCheckTx bool, invCheckPeriod uint) *centauri.CentauriApp { t.Helper() app, genesisState := setup(!isCheckTx, invCheckPeriod) if !isCheckTx { @@ -87,34 +87,34 @@ func Setup(t *testing.T, isCheckTx bool, invCheckPeriod uint) *composable.Compos return app } -func setup(withGenesis bool, invCheckPeriod uint, opts ...wasm.Option) (*composable.ComposableApp, composable.GenesisState) { +func setup(withGenesis bool, invCheckPeriod uint, opts ...wasm.Option) (*centauri.CentauriApp, centauri.GenesisState) { db := dbm.NewMemDB() - encCdc := composable.MakeEncodingConfig() - app := composable.NewComposableApp( + encCdc := centauri.MakeEncodingConfig() + app := centauri.NewCentauriApp( log.NewNopLogger(), db, nil, true, wasmtypes.EnableAllProposals, map[int64]bool{}, - composable.DefaultNodeHome, + centauri.DefaultNodeHome, invCheckPeriod, encCdc, EmptyAppOptions{}, opts, ) if withGenesis { - return app, composable.NewDefaultGenesisState() + return app, centauri.NewDefaultGenesisState() } - return app, composable.GenesisState{} + return app, centauri.GenesisState{} } -// SetupWithGenesisValSet initializes a new ComposableApp with a validator set and genesis accounts +// SetupWithGenesisValSet initializes a new CentauriApp with a validator set and genesis accounts // that also act as delegators. For simplicity, each validator is bonded with a delegation -// of one consensus engine unit (10^6) in the default token of the ComposableApp from first genesis -// account. A Nop logger is set in ComposableApp. -func SetupWithGenesisValSet(t *testing.T, valSet *tmtypes.ValidatorSet, genAccs []authtypes.GenesisAccount, chainID string, balances ...banktypes.Balance) *composable.ComposableApp { +// of one consensus engine unit (10^6) in the default token of the CentauriApp from first genesis +// account. A Nop logger is set in CentauriApp. +func SetupWithGenesisValSet(t *testing.T, valSet *tmtypes.ValidatorSet, genAccs []authtypes.GenesisAccount, chainID string, balances ...banktypes.Balance) *centauri.CentauriApp { t.Helper() app, genesisState := setup(true, 5) genesisState, err := simtestutil.GenesisStateWithValSet(app.AppCodec(), genesisState, valSet, genAccs, balances...) @@ -151,7 +151,7 @@ func SetupWithGenesisValSet(t *testing.T, valSet *tmtypes.ValidatorSet, genAccs return app } -func SetupComposableAppWithValSet(t *testing.T) *composable.ComposableApp { +func SetupCentauriAppWithValSet(t *testing.T) *centauri.CentauriApp { t.Helper() // generate validator private/public key privVal := mock.NewPV() @@ -173,11 +173,11 @@ func SetupComposableAppWithValSet(t *testing.T) *composable.ComposableApp { Coins: sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, amount)), } - composableApp := SetupWithGenesisValSet(t, valSet, []authtypes.GenesisAccount{acc}, "notional", balance) - return composableApp + centauriApp := SetupWithGenesisValSet(t, valSet, []authtypes.GenesisAccount{acc}, "notional", balance) + return centauriApp } -func SetupComposableAppWithValSetWithGenAccout(t *testing.T) (*composable.ComposableApp, sdk.AccAddress, []stakingtypes.Validator) { +func SetupCentauriAppWithValSetWithGenAccout(t *testing.T) (*centauri.CentauriApp, sdk.AccAddress, []stakingtypes.Validator) { t.Helper() // generate validator private/public key privVal := mock.NewPV() @@ -219,7 +219,7 @@ func SetupComposableAppWithValSetWithGenAccout(t *testing.T) (*composable.Compos } validators = append(validators, validator) } - composableApp := SetupWithGenesisValSet(t, valSet, []authtypes.GenesisAccount{acc}, "notional", balance) + centauriApp := SetupWithGenesisValSet(t, valSet, []authtypes.GenesisAccount{acc}, "notional", balance) - return composableApp, acc.GetAddress(), validators + return centauriApp, acc.GetAddress(), validators } diff --git a/app/ibctesting/chain.go b/app/ibctesting/chain.go index 85e0ddebd..46795c96b 100644 --- a/app/ibctesting/chain.go +++ b/app/ibctesting/chain.go @@ -8,7 +8,7 @@ import ( "testing" "time" - ratelimitmodulekeeper "github.com/notional-labs/composable/v5/x/ratelimit/keeper" + ratelimitmodulekeeper "github.com/notional-labs/centauri/v5/x/ratelimit/keeper" "cosmossdk.io/errors" abci "github.com/cometbft/cometbft/abci/types" @@ -54,9 +54,9 @@ import ( "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" - composable "github.com/notional-labs/composable/v5/app" - "github.com/notional-labs/composable/v5/app/ibctesting/simapp" - routerKeeper "github.com/notional-labs/composable/v5/x/transfermiddleware/keeper" + centauri "github.com/notional-labs/centauri/v5/app" + "github.com/notional-labs/centauri/v5/app/ibctesting/simapp" + routerKeeper "github.com/notional-labs/centauri/v5/x/transfermiddleware/keeper" ) // TestChain is a testing struct that wraps a simapp with the last TM Header, the current ABCI @@ -125,7 +125,7 @@ func NewTestChain(t *testing.T, coord *Coordinator, chainID string) *TestChain { Coins: sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, amount)), } - app := NewTestingAppDecorator(t, composable.SetupWithGenesisValSet(t, coord.CurrentTime.UTC(), valSet, []authtypes.GenesisAccount{acc}, balance)) + app := NewTestingAppDecorator(t, centauri.SetupWithGenesisValSet(t, coord.CurrentTime.UTC(), valSet, []authtypes.GenesisAccount{acc}, balance)) // create current header and call begin block header := tmproto.Header{ @@ -281,7 +281,7 @@ func (chain *TestChain) SendMsgs(msgs ...sdk.Msg) (*sdk.Result, error) { // ensure the chain has the latest time chain.Coordinator.UpdateTimeForChain(chain) - _, r, err := composable.SignAndDeliver( + _, r, err := centauri.SignAndDeliver( chain.t, chain.TxConfig, chain.App.GetBaseApp(), @@ -316,7 +316,7 @@ func (chain *TestChain) SendMsgsWithExpPass(expPass bool, msgs ...sdk.Msg) (*sdk // ensure the chain has the latest time chain.Coordinator.UpdateTimeForChain(chain) - _, r, err := composable.SignAndDeliver( + _, r, err := centauri.SignAndDeliver( chain.t, chain.TxConfig, chain.App.GetBaseApp(), @@ -635,7 +635,7 @@ func (chain *TestChain) GetBankKeeper() bankkeeper.Keeper { return chain.GetTestSupport().BankKeeper() } -func (chain TestChain) GetTestSupport() *composable.TestSupport { +func (chain TestChain) GetTestSupport() *centauri.TestSupport { return chain.App.(*TestingAppDecorator).TestSupport() } @@ -709,13 +709,13 @@ func submitLegacyProposal(t *testing.T, ctx sdk.Context, content v1beta1.Content var _ ibctesting.TestingApp = TestingAppDecorator{} type TestingAppDecorator struct { - *composable.ComposableApp + *centauri.CentauriApp t *testing.T } -func NewTestingAppDecorator(t *testing.T, composable *composable.ComposableApp) *TestingAppDecorator { +func NewTestingAppDecorator(t *testing.T, centauri *centauri.CentauriApp) *TestingAppDecorator { t.Helper() - return &TestingAppDecorator{ComposableApp: composable, t: t} + return &TestingAppDecorator{CentauriApp: centauri, t: t} } func (a TestingAppDecorator) GetBaseApp() *baseapp.BaseApp { @@ -750,8 +750,8 @@ func (a TestingAppDecorator) GetTxConfig() client.TxConfig { return a.TestSupport().GetTxConfig() } -func (a TestingAppDecorator) TestSupport() *composable.TestSupport { - return composable.NewTestSupport(a.t, a.ComposableApp) +func (a TestingAppDecorator) TestSupport() *centauri.TestSupport { + return centauri.NewTestSupport(a.t, a.CentauriApp) } func (a TestingAppDecorator) GetWasmdKeeper() wasm.Keeper { diff --git a/app/ibctesting/simapp/app.go b/app/ibctesting/simapp/app.go index 14a31dc26..bf55f3330 100644 --- a/app/ibctesting/simapp/app.go +++ b/app/ibctesting/simapp/app.go @@ -90,9 +90,9 @@ import ( "github.com/gorilla/mux" // TODO: mint module not complete yet, - "github.com/notional-labs/composable/v5/x/mint" - mintkeeper "github.com/notional-labs/composable/v5/x/mint/keeper" - minttypes "github.com/notional-labs/composable/v5/x/mint/types" + "github.com/notional-labs/centauri/v5/x/mint" + mintkeeper "github.com/notional-labs/centauri/v5/x/mint/keeper" + minttypes "github.com/notional-labs/centauri/v5/x/mint/types" "github.com/rakyll/statik/fs" "github.com/spf13/cast" @@ -124,13 +124,13 @@ import ( ibcmock "github.com/cosmos/ibc-go/v7/testing/mock" ibctestingtypes "github.com/cosmos/ibc-go/v7/testing/types" - simappparams "github.com/notional-labs/composable/v5/app/ibctesting/simapp/params" - simappupgrades "github.com/notional-labs/composable/v5/app/ibctesting/simapp/upgrades" - v6 "github.com/notional-labs/composable/v5/app/ibctesting/simapp/upgrades/v6" - v7 "github.com/notional-labs/composable/v5/app/ibctesting/simapp/upgrades/v7" - transfermiddleware "github.com/notional-labs/composable/v5/x/transfermiddleware" - transfermiddlewarekeeper "github.com/notional-labs/composable/v5/x/transfermiddleware/keeper" - transfermiddlewaretypes "github.com/notional-labs/composable/v5/x/transfermiddleware/types" + simappparams "github.com/notional-labs/centauri/v5/app/ibctesting/simapp/params" + simappupgrades "github.com/notional-labs/centauri/v5/app/ibctesting/simapp/upgrades" + v6 "github.com/notional-labs/centauri/v5/app/ibctesting/simapp/upgrades/v6" + v7 "github.com/notional-labs/centauri/v5/app/ibctesting/simapp/upgrades/v7" + transfermiddleware "github.com/notional-labs/centauri/v5/x/transfermiddleware" + transfermiddlewarekeeper "github.com/notional-labs/centauri/v5/x/transfermiddleware/keeper" + transfermiddlewaretypes "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" ) const appName = "SimApp" diff --git a/app/ibctesting/simapp/encoding.go b/app/ibctesting/simapp/encoding.go index e0a0b4796..5fb6d8696 100644 --- a/app/ibctesting/simapp/encoding.go +++ b/app/ibctesting/simapp/encoding.go @@ -3,7 +3,7 @@ package simapp import ( "github.com/cosmos/cosmos-sdk/std" - simappparams "github.com/notional-labs/composable/v5/app/ibctesting/simapp/params" + simappparams "github.com/notional-labs/centauri/v5/app/ibctesting/simapp/params" ) // MakeTestEncodingConfig creates an EncodingConfig for testing. This function diff --git a/app/ibctesting/simapp/sim_test.go b/app/ibctesting/simapp/sim_test.go index b6b9f4f06..29d982f02 100644 --- a/app/ibctesting/simapp/sim_test.go +++ b/app/ibctesting/simapp/sim_test.go @@ -30,7 +30,7 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/stretchr/testify/require" - minttypes "github.com/notional-labs/composable/v5/x/mint/types" + minttypes "github.com/notional-labs/centauri/v5/x/mint/types" ibctransfertypes "github.com/cosmos/ibc-go/v7/modules/apps/transfer/types" ibcexported "github.com/cosmos/ibc-go/v7/modules/core/exported" diff --git a/app/keepers/keepers.go b/app/keepers/keepers.go index e93f53b18..d342fc81e 100644 --- a/app/keepers/keepers.go +++ b/app/keepers/keepers.go @@ -66,7 +66,7 @@ import ( icqkeeper "github.com/strangelove-ventures/async-icq/v7/keeper" icqtypes "github.com/strangelove-ventures/async-icq/v7/types" - custombankkeeper "github.com/notional-labs/composable/v5/custom/bank/keeper" + custombankkeeper "github.com/notional-labs/centauri/v5/custom/bank/keeper" "github.com/strangelove-ventures/packet-forward-middleware/v7/router" routerkeeper "github.com/strangelove-ventures/packet-forward-middleware/v7/router/keeper" @@ -76,22 +76,22 @@ import ( alliancemodulekeeper "github.com/terra-money/alliance/x/alliance/keeper" alliancemoduletypes "github.com/terra-money/alliance/x/alliance/types" - transfermiddleware "github.com/notional-labs/composable/v5/x/transfermiddleware" - transfermiddlewarekeeper "github.com/notional-labs/composable/v5/x/transfermiddleware/keeper" - transfermiddlewaretypes "github.com/notional-labs/composable/v5/x/transfermiddleware/types" + transfermiddleware "github.com/notional-labs/centauri/v5/x/transfermiddleware" + transfermiddlewarekeeper "github.com/notional-labs/centauri/v5/x/transfermiddleware/keeper" + transfermiddlewaretypes "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" - txBoundaryKeeper "github.com/notional-labs/composable/v5/x/tx-boundary/keeper" - txBoundaryTypes "github.com/notional-labs/composable/v5/x/tx-boundary/types" + txBoundaryKeeper "github.com/notional-labs/centauri/v5/x/tx-boundary/keeper" + txBoundaryTypes "github.com/notional-labs/centauri/v5/x/tx-boundary/types" - ratelimitmodule "github.com/notional-labs/composable/v5/x/ratelimit" - ratelimitmodulekeeper "github.com/notional-labs/composable/v5/x/ratelimit/keeper" - ratelimitmoduletypes "github.com/notional-labs/composable/v5/x/ratelimit/types" + ratelimitmodule "github.com/notional-labs/centauri/v5/x/ratelimit" + ratelimitmodulekeeper "github.com/notional-labs/centauri/v5/x/ratelimit/keeper" + ratelimitmoduletypes "github.com/notional-labs/centauri/v5/x/ratelimit/types" consensusparamkeeper "github.com/cosmos/cosmos-sdk/x/consensus/keeper" consensusparamtypes "github.com/cosmos/cosmos-sdk/x/consensus/types" - mintkeeper "github.com/notional-labs/composable/v5/x/mint/keeper" - minttypes "github.com/notional-labs/composable/v5/x/mint/types" + mintkeeper "github.com/notional-labs/centauri/v5/x/mint/keeper" + minttypes "github.com/notional-labs/centauri/v5/x/mint/types" "github.com/CosmWasm/wasmd/x/wasm" servertypes "github.com/cosmos/cosmos-sdk/server/types" @@ -99,14 +99,14 @@ import ( wasm08Keeper "github.com/cosmos/ibc-go/v7/modules/light-clients/08-wasm/keeper" wasmtypes "github.com/cosmos/ibc-go/v7/modules/light-clients/08-wasm/types" - ibc_hooks "github.com/notional-labs/composable/v5/x/ibc-hooks" - ibchookskeeper "github.com/notional-labs/composable/v5/x/ibc-hooks/keeper" - ibchookstypes "github.com/notional-labs/composable/v5/x/ibc-hooks/types" + ibc_hooks "github.com/notional-labs/centauri/v5/x/ibc-hooks" + ibchookskeeper "github.com/notional-labs/centauri/v5/x/ibc-hooks/keeper" + ibchookstypes "github.com/notional-labs/centauri/v5/x/ibc-hooks/types" ) const ( - AccountAddressPrefix = "composable" - authorityAddress = "composable10556m38z4x6pqalr9rl5ytf3cff8q46nnngqs2" // convert from: centauri10556m38z4x6pqalr9rl5ytf3cff8q46nk85k9m + AccountAddressPrefix = "centauri" + authorityAddress = "centauri10556m38z4x6pqalr9rl5ytf3cff8q46nk85k9m" ) type AppKeepers struct { @@ -259,8 +259,8 @@ func (appKeepers *AppKeepers) InitNormalKeepers( ) appKeepers.IBCHooksKeeper = &hooksKeeper - composablePrefix := sdk.GetConfig().GetBech32AccountAddrPrefix() - wasmHooks := ibc_hooks.NewWasmHooks(&hooksKeeper, nil, composablePrefix) // The contract keeper needs to be set later + centauriPrefix := sdk.GetConfig().GetBech32AccountAddrPrefix() + wasmHooks := ibc_hooks.NewWasmHooks(&hooksKeeper, nil, centauriPrefix) // The contract keeper needs to be set later appKeepers.Ics20WasmHooks = &wasmHooks appKeepers.HooksICS4Wrapper = ibc_hooks.NewICS4Middleware( appKeepers.IBCKeeper.ChannelKeeper, diff --git a/app/keepers/keys.go b/app/keepers/keys.go index 3235cc6de..ee2accf49 100644 --- a/app/keepers/keys.go +++ b/app/keepers/keys.go @@ -27,16 +27,16 @@ import ( routertypes "github.com/strangelove-ventures/packet-forward-middleware/v7/router/types" alliancemoduletypes "github.com/terra-money/alliance/x/alliance/types" - ibchookstypes "github.com/notional-labs/composable/v5/x/ibc-hooks/types" - ratelimitmoduletypes "github.com/notional-labs/composable/v5/x/ratelimit/types" - transfermiddlewaretypes "github.com/notional-labs/composable/v5/x/transfermiddleware/types" - txBoundaryTypes "github.com/notional-labs/composable/v5/x/tx-boundary/types" + ibchookstypes "github.com/notional-labs/centauri/v5/x/ibc-hooks/types" + ratelimitmoduletypes "github.com/notional-labs/centauri/v5/x/ratelimit/types" + transfermiddlewaretypes "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" + txBoundaryTypes "github.com/notional-labs/centauri/v5/x/tx-boundary/types" consensusparamtypes "github.com/cosmos/cosmos-sdk/x/consensus/types" storetypes "github.com/cosmos/cosmos-sdk/store/types" - minttypes "github.com/notional-labs/composable/v5/x/mint/types" + minttypes "github.com/notional-labs/centauri/v5/x/mint/types" "github.com/CosmWasm/wasmd/x/wasm" wasm08types "github.com/cosmos/ibc-go/v7/modules/light-clients/08-wasm/types" diff --git a/app/test_access.go b/app/test_access.go index 6ab4deac9..b7ba6dcc3 100644 --- a/app/test_access.go +++ b/app/test_access.go @@ -16,16 +16,16 @@ import ( ibckeeper "github.com/cosmos/ibc-go/v7/modules/core/keeper" wasm08 "github.com/cosmos/ibc-go/v7/modules/light-clients/08-wasm/keeper" - ratelimitkeeper "github.com/notional-labs/composable/v5/x/ratelimit/keeper" - tfmdKeeper "github.com/notional-labs/composable/v5/x/transfermiddleware/keeper" + ratelimitkeeper "github.com/notional-labs/centauri/v5/x/ratelimit/keeper" + tfmdKeeper "github.com/notional-labs/centauri/v5/x/transfermiddleware/keeper" ) type TestSupport struct { tb testing.TB - app *ComposableApp + app *CentauriApp } -func NewTestSupport(tb testing.TB, app *ComposableApp) *TestSupport { +func NewTestSupport(tb testing.TB, app *CentauriApp) *TestSupport { tb.Helper() return &TestSupport{tb: tb, app: app} } diff --git a/app/test_helpers.go b/app/test_helpers.go index 5b95e90ef..1e4521a00 100644 --- a/app/test_helpers.go +++ b/app/test_helpers.go @@ -36,7 +36,7 @@ import ( banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - minttypes "github.com/notional-labs/composable/v5/x/mint/types" + minttypes "github.com/notional-labs/centauri/v5/x/mint/types" "github.com/CosmWasm/wasmd/x/wasm" wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types" @@ -61,7 +61,7 @@ var DefaultConsensusParams = &tmproto.ConsensusParams{ }, } -func setup(tb testing.TB, withGenesis bool, invCheckPeriod uint) (*ComposableApp, GenesisState) { +func setup(tb testing.TB, withGenesis bool, invCheckPeriod uint) (*CentauriApp, GenesisState) { tb.Helper() nodeHome := tb.TempDir() snapshotDir := filepath.Join(nodeHome, "data", "snapshots") @@ -74,7 +74,7 @@ func setup(tb testing.TB, withGenesis bool, invCheckPeriod uint) (*ComposableApp })} var wasmOpts []wasm.Option db := dbm.NewMemDB() - app := NewComposableApp( + app := NewCentauriApp( log.NewNopLogger(), db, nil, true, wasmtypes.EnableAllProposals, @@ -101,7 +101,7 @@ func SetupWithGenesisValSet( valSet *tmtypes.ValidatorSet, genAccs []authtypes.GenesisAccount, balances ...banktypes.Balance, -) *ComposableApp { +) *CentauriApp { t.Helper() app, genesisState := setup(t, true, 5) // set genesis accounts @@ -181,7 +181,7 @@ func SetupWithGenesisValSet( } // SetupWithEmptyStore setup a wasmd app instance with empty DB -func SetupWithEmptyStore(tb testing.TB) *ComposableApp { +func SetupWithEmptyStore(tb testing.TB) *CentauriApp { tb.Helper() app, _ := setup(tb, false, 0) return app @@ -229,7 +229,7 @@ func createIncrementalAccounts(accNum int) []sdk.AccAddress { } // AddTestAddrsFromPubKeys adds the addresses into the WasmApp providing only the public keys. -func AddTestAddrsFromPubKeys(app *ComposableApp, ctx sdk.Context, pubKeys []cryptotypes.PubKey, accAmt sdkmath.Int) { +func AddTestAddrsFromPubKeys(app *CentauriApp, ctx sdk.Context, pubKeys []cryptotypes.PubKey, accAmt sdkmath.Int) { initCoins := sdk.NewCoins(sdk.NewCoin(app.StakingKeeper.BondDenom(ctx), accAmt)) for _, pk := range pubKeys { @@ -239,17 +239,17 @@ func AddTestAddrsFromPubKeys(app *ComposableApp, ctx sdk.Context, pubKeys []cryp // AddTestAddrs constructs and returns accNum amount of accounts with an // initial balance of accAmt in random order -func AddTestAddrs(app *ComposableApp, ctx sdk.Context, accNum int, accAmt sdkmath.Int) []sdk.AccAddress { +func AddTestAddrs(app *CentauriApp, ctx sdk.Context, accNum int, accAmt sdkmath.Int) []sdk.AccAddress { return addTestAddrs(app, ctx, accNum, accAmt, createRandomAccounts) } // AddTestAddrs constructs and returns accNum amount of accounts with an // initial balance of accAmt in random order -func AddTestAddrsIncremental(app *ComposableApp, ctx sdk.Context, accNum int, accAmt sdkmath.Int) []sdk.AccAddress { +func AddTestAddrsIncremental(app *CentauriApp, ctx sdk.Context, accNum int, accAmt sdkmath.Int) []sdk.AccAddress { return addTestAddrs(app, ctx, accNum, accAmt, createIncrementalAccounts) } -func addTestAddrs(app *ComposableApp, ctx sdk.Context, accNum int, accAmt sdkmath.Int, strategy GenerateAccountStrategy) []sdk.AccAddress { +func addTestAddrs(app *CentauriApp, ctx sdk.Context, accNum int, accAmt sdkmath.Int, strategy GenerateAccountStrategy) []sdk.AccAddress { testAddrs := strategy(accNum) initCoins := sdk.NewCoins(sdk.NewCoin(app.StakingKeeper.BondDenom(ctx), accAmt)) @@ -262,7 +262,7 @@ func addTestAddrs(app *ComposableApp, ctx sdk.Context, accNum int, accAmt sdkmat return testAddrs } -func initAccountWithCoins(app *ComposableApp, ctx sdk.Context, addr sdk.AccAddress, coins sdk.Coins) { +func initAccountWithCoins(app *CentauriApp, ctx sdk.Context, addr sdk.AccAddress, coins sdk.Coins) { err := app.BankKeeper.MintCoins(ctx, minttypes.ModuleName, coins) if err != nil { panic(err) @@ -307,7 +307,7 @@ func TestAddr(addr, bech string) (sdk.AccAddress, error) { } // CheckBalance checks the balance of an account. -func CheckBalance(t *testing.T, app *ComposableApp, addr sdk.AccAddress, balances sdk.Coins) { +func CheckBalance(t *testing.T, app *CentauriApp, addr sdk.AccAddress, balances sdk.Coins) { t.Helper() ctxCheck := app.BaseApp.NewContext(true, tmproto.Header{}) require.True(t, balances.IsEqual(app.BankKeeper.GetAllBalances(ctxCheck, addr))) diff --git a/app/upgrades/centauri/upgrade.go b/app/upgrades/centauri/upgrade.go index 0870c679e..c83658368 100644 --- a/app/upgrades/centauri/upgrade.go +++ b/app/upgrades/centauri/upgrade.go @@ -16,10 +16,10 @@ import ( govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper" - bech32authmigration "github.com/notional-labs/composable/v5/bech32-migration/auth" - bech32govmigration "github.com/notional-labs/composable/v5/bech32-migration/gov" - bech32slashingmigration "github.com/notional-labs/composable/v5/bech32-migration/slashing" - bech32stakingmigration "github.com/notional-labs/composable/v5/bech32-migration/staking" + bech32authmigration "github.com/notional-labs/centauri/v5/bech32-migration/auth" + bech32govmigration "github.com/notional-labs/centauri/v5/bech32-migration/gov" + bech32slashingmigration "github.com/notional-labs/centauri/v5/bech32-migration/slashing" + bech32stakingmigration "github.com/notional-labs/centauri/v5/bech32-migration/staking" ) func CreateUpgradeHandler( diff --git a/app/upgrades/composable/constants.go b/app/upgrades/composable/constants.go deleted file mode 100644 index f9a8accc8..000000000 --- a/app/upgrades/composable/constants.go +++ /dev/null @@ -1,17 +0,0 @@ -package composable - -import ( - store "github.com/cosmos/cosmos-sdk/store/types" - "github.com/notional-labs/composable/v5/app/upgrades" -) - -const ( - // UpgradeName defines the on-chain upgrade name for the composable upgrade. - UpgradeName = "composable" -) - -var Upgrade = upgrades.Upgrade{ - UpgradeName: UpgradeName, - CreateUpgradeHandler: CreateUpgradeHandler, - StoreUpgrades: store.StoreUpgrades{}, -} diff --git a/app/upgrades/composable/upgrade.go b/app/upgrades/composable/upgrade.go deleted file mode 100644 index 004700fff..000000000 --- a/app/upgrades/composable/upgrade.go +++ /dev/null @@ -1,56 +0,0 @@ -package composable - -import ( - sdk "github.com/cosmos/cosmos-sdk/types" - - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/types/module" - upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - - "github.com/notional-labs/composable/v5/app/keepers" - "github.com/notional-labs/composable/v5/app/upgrades" - - bech32authmigration "github.com/notional-labs/composable/v5/bech32-migration/auth" - bech32govmigration "github.com/notional-labs/composable/v5/bech32-migration/gov" - bech32slashingmigration "github.com/notional-labs/composable/v5/bech32-migration/slashing" - bech32stakingmigration "github.com/notional-labs/composable/v5/bech32-migration/staking" - - authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" - stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - - "github.com/notional-labs/composable/v5/bech32-migration/utils" -) - -func CreateUpgradeHandler( - mm *module.Manager, - configurator module.Configurator, - _ upgrades.BaseAppParamManager, - cdc codec.Codec, - keepers *keepers.AppKeepers, -) upgradetypes.UpgradeHandler { - return func(ctx sdk.Context, plan upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) { - // Migration prefix - ctx.Logger().Info("First step: Migrate addresses stored in bech32 form to use new prefix") - keys := keepers.GetKVStoreKey() - bech32stakingmigration.MigrateAddressBech32(ctx, keys[stakingtypes.StoreKey], cdc) - bech32slashingmigration.MigrateAddressBech32(ctx, keys[slashingtypes.StoreKey], cdc) - bech32govmigration.MigrateAddressBech32(ctx, keys[govtypes.StoreKey], cdc) - bech32authmigration.MigrateAddressBech32(ctx, keys[authtypes.StoreKey], cdc) - - // allowed relayer address - tfmdk := keepers.TransferMiddlewareKeeper - tfmdk.IterateAllowRlyAddress(ctx, func(rlyAddress string) bool { - // Delete old address - tfmdk.DeleteAllowRlyAddress(ctx, rlyAddress) - - // add new address - newRlyAddress := utils.ConvertAccAddr(rlyAddress) - tfmdk.SetAllowRlyAddress(ctx, newRlyAddress) - return false - }) - - return mm.RunMigrations(ctx, configurator, vm) - } -} diff --git a/app/upgrades/reward/constants.go b/app/upgrades/reward/constants.go index 18a12fb9e..6d0837541 100644 --- a/app/upgrades/reward/constants.go +++ b/app/upgrades/reward/constants.go @@ -1,6 +1,6 @@ package v4 const ( - // UpgradeName defines the on-chain upgrade name for the composable upgrade. + // UpgradeName defines the on-chain upgrade name for the Centauri upgrade. UpgradeName = "reward" ) diff --git a/app/upgrades/reward/upgrade.go b/app/upgrades/reward/upgrade.go index 95b69a853..991d2eb3a 100644 --- a/app/upgrades/reward/upgrade.go +++ b/app/upgrades/reward/upgrade.go @@ -5,8 +5,8 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - mintkeeper "github.com/notional-labs/composable/v5/x/mint/keeper" - tfmwkeeper "github.com/notional-labs/composable/v5/x/transfermiddleware/keeper" + mintkeeper "github.com/notional-labs/centauri/v5/x/mint/keeper" + tfmwkeeper "github.com/notional-labs/centauri/v5/x/transfermiddleware/keeper" ) var listAllowedRelayAddress = []string{ diff --git a/app/upgrades/types.go b/app/upgrades/types.go index d7975726e..fb35080de 100644 --- a/app/upgrades/types.go +++ b/app/upgrades/types.go @@ -2,13 +2,12 @@ package upgrades import ( types "github.com/cometbft/cometbft/proto/tendermint/types" - "github.com/cosmos/cosmos-sdk/codec" store "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - "github.com/notional-labs/composable/v5/app/keepers" + "github.com/notional-labs/centauri/v5/app/keepers" ) // BaseAppParamManager defines an interrace that BaseApp is expected to fullfil @@ -27,7 +26,7 @@ type Upgrade struct { UpgradeName string // CreateUpgradeHandler defines the function that creates an upgrade handler - CreateUpgradeHandler func(*module.Manager, module.Configurator, BaseAppParamManager, codec.Codec, *keepers.AppKeepers) upgradetypes.UpgradeHandler + CreateUpgradeHandler func(*module.Manager, module.Configurator, BaseAppParamManager, *keepers.AppKeepers) upgradetypes.UpgradeHandler // Store upgrades, should be used for any new modules introduced, new modules deleted, or store names renamed. StoreUpgrades store.StoreUpgrades diff --git a/app/upgrades/v4/constants.go b/app/upgrades/v4/constants.go index f7b1d9b58..e6e7a7360 100644 --- a/app/upgrades/v4/constants.go +++ b/app/upgrades/v4/constants.go @@ -5,13 +5,13 @@ import ( store "github.com/cosmos/cosmos-sdk/store/types" icahosttypes "github.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/host/types" - "github.com/notional-labs/composable/v5/app/upgrades" - ibchookstypes "github.com/notional-labs/composable/v5/x/ibc-hooks/types" - ratelimitmoduletypes "github.com/notional-labs/composable/v5/x/ratelimit/types" + "github.com/notional-labs/centauri/v5/app/upgrades" + ibchookstypes "github.com/notional-labs/centauri/v5/x/ibc-hooks/types" + ratelimitmoduletypes "github.com/notional-labs/centauri/v5/x/ratelimit/types" ) const ( - // UpgradeName defines the on-chain upgrade name for the composable upgrade. + // UpgradeName defines the on-chain upgrade name for the Centauri upgrade. UpgradeName = "v4" ) diff --git a/app/upgrades/v4/upgrade.go b/app/upgrades/v4/upgrade.go index 9a2e1a887..eb614ffba 100644 --- a/app/upgrades/v4/upgrade.go +++ b/app/upgrades/v4/upgrade.go @@ -6,17 +6,15 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - "github.com/cosmos/cosmos-sdk/codec" - "github.com/notional-labs/composable/v5/app/keepers" - "github.com/notional-labs/composable/v5/app/upgrades" - tfmdtypes "github.com/notional-labs/composable/v5/x/transfermiddleware/types" + "github.com/notional-labs/centauri/v5/app/keepers" + "github.com/notional-labs/centauri/v5/app/upgrades" + tfmdtypes "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" ) func CreateUpgradeHandler( mm *module.Manager, configurator module.Configurator, _ upgrades.BaseAppParamManager, - _ codec.Codec, keepers *keepers.AppKeepers, ) upgradetypes.UpgradeHandler { return func(ctx sdk.Context, plan upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) { diff --git a/app/upgrades/v4_5/constants.go b/app/upgrades/v4_5/constants.go index 96541284e..ef7b9665d 100644 --- a/app/upgrades/v4_5/constants.go +++ b/app/upgrades/v4_5/constants.go @@ -1,9 +1,9 @@ package v45 -import "github.com/notional-labs/composable/v5/app/upgrades" +import "github.com/notional-labs/centauri/v5/app/upgrades" const ( - // UpgradeName defines the on-chain upgrade name for the composable upgrade. + // UpgradeName defines the on-chain upgrade name for the Centauri upgrade. UpgradeName = "v4_5" UpgradeHeight = 967554 ) diff --git a/app/upgrades/v4_5/fork.go b/app/upgrades/v4_5/fork.go index 270c4cea1..d1d9b6d5f 100644 --- a/app/upgrades/v4_5/fork.go +++ b/app/upgrades/v4_5/fork.go @@ -12,7 +12,7 @@ import ( icahosttypes "github.com/cosmos/ibc-go/v7/modules/apps/27-interchain-accounts/host/types" ibctransfertypes "github.com/cosmos/ibc-go/v7/modules/apps/transfer/types" - "github.com/notional-labs/composable/v5/app/keepers" + "github.com/notional-labs/centauri/v5/app/keepers" ) func RunForkLogic(ctx sdk.Context, appKeepers *keepers.AppKeepers) { diff --git a/app/upgrades/v4_5_1/constants.go b/app/upgrades/v4_5_1/constants.go index d6033e057..bae8d3337 100644 --- a/app/upgrades/v4_5_1/constants.go +++ b/app/upgrades/v4_5_1/constants.go @@ -1,6 +1,6 @@ package v4_5_1 -import "github.com/notional-labs/composable/v5/app/upgrades" +import "github.com/notional-labs/centauri/v5/app/upgrades" const ( // UpgradeName defines the on-chain upgrade name for the Composable v5 upgrade. diff --git a/app/upgrades/v4_5_1/fork.go b/app/upgrades/v4_5_1/fork.go index aead97f12..f0b85d60e 100644 --- a/app/upgrades/v4_5_1/fork.go +++ b/app/upgrades/v4_5_1/fork.go @@ -3,8 +3,8 @@ package v4_5_1 import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/notional-labs/composable/v5/app/keepers" - rateLimitKeeper "github.com/notional-labs/composable/v5/x/ratelimit/keeper" + "github.com/notional-labs/centauri/v5/app/keepers" + rateLimitKeeper "github.com/notional-labs/centauri/v5/x/ratelimit/keeper" ) func RunForkLogic(ctx sdk.Context, keepers *keepers.AppKeepers) { diff --git a/app/upgrades/v5/constants.go b/app/upgrades/v5/constants.go index 5211ff836..87d595774 100644 --- a/app/upgrades/v5/constants.go +++ b/app/upgrades/v5/constants.go @@ -2,12 +2,12 @@ package v5 import ( store "github.com/cosmos/cosmos-sdk/store/types" - "github.com/notional-labs/composable/v5/app/upgrades" - txboundary "github.com/notional-labs/composable/v5/x/tx-boundary/types" + "github.com/notional-labs/centauri/v5/app/upgrades" + txboundary "github.com/notional-labs/centauri/v5/x/tx-boundary/types" ) const ( - // UpgradeName defines the on-chain upgrade name for the composable upgrade. + // UpgradeName defines the on-chain upgrade name for the Centauri upgrade. UpgradeName = "v5" ) diff --git a/app/upgrades/v5/upgrade.go b/app/upgrades/v5/upgrade.go index 314f82120..93da70da2 100644 --- a/app/upgrades/v5/upgrade.go +++ b/app/upgrades/v5/upgrade.go @@ -2,13 +2,12 @@ package v5 import ( "cosmossdk.io/math" - "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - "github.com/notional-labs/composable/v5/app/keepers" - "github.com/notional-labs/composable/v5/app/upgrades" - "github.com/notional-labs/composable/v5/x/ratelimit/types" + "github.com/notional-labs/centauri/v5/app/keepers" + "github.com/notional-labs/centauri/v5/app/upgrades" + "github.com/notional-labs/centauri/v5/x/ratelimit/types" ) const ( @@ -23,7 +22,6 @@ func CreateUpgradeHandler( mm *module.Manager, configurator module.Configurator, _ upgrades.BaseAppParamManager, - _ codec.Codec, keepers *keepers.AppKeepers, ) upgradetypes.UpgradeHandler { return func(ctx sdk.Context, plan upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) { diff --git a/app/upgrades/v5_1_0/constants.go b/app/upgrades/v5_1_0/constants.go index 8e7cd6cb4..72ae72bfc 100644 --- a/app/upgrades/v5_1_0/constants.go +++ b/app/upgrades/v5_1_0/constants.go @@ -1,6 +1,6 @@ package v5_1_0 -import "github.com/notional-labs/composable/v5/app/upgrades" +import "github.com/notional-labs/centauri/v5/app/upgrades" const ( // UpgradeName defines the on-chain upgrade name for the Composable v5 upgrade. diff --git a/app/upgrades/v5_1_0/fork.go b/app/upgrades/v5_1_0/fork.go index 92bf25088..01b051706 100644 --- a/app/upgrades/v5_1_0/fork.go +++ b/app/upgrades/v5_1_0/fork.go @@ -4,9 +4,9 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/notional-labs/composable/v5/app/keepers" - rateLimitKeeper "github.com/notional-labs/composable/v5/x/ratelimit/keeper" - "github.com/notional-labs/composable/v5/x/ratelimit/types" + "github.com/notional-labs/centauri/v5/app/keepers" + rateLimitKeeper "github.com/notional-labs/centauri/v5/x/ratelimit/keeper" + "github.com/notional-labs/centauri/v5/x/ratelimit/types" ) const uosmo = "ibc/47BD209179859CDE4A2806763D7189B6E6FE13A17880FE2B42DE1E6C1E329E23" diff --git a/app/upgrades/v5_2_0/constants.go b/app/upgrades/v5_2_0/constants.go index 47dba8831..528b42a44 100644 --- a/app/upgrades/v5_2_0/constants.go +++ b/app/upgrades/v5_2_0/constants.go @@ -1,6 +1,6 @@ package v5_2_0 -import "github.com/notional-labs/composable/v5/app/upgrades" +import "github.com/notional-labs/centauri/v5/app/upgrades" const ( // UpgradeName defines the on-chain upgrade name for the Composable v5 upgrade. diff --git a/app/upgrades/v5_2_0/fork.go b/app/upgrades/v5_2_0/fork.go index e591a6fe3..97b671e50 100644 --- a/app/upgrades/v5_2_0/fork.go +++ b/app/upgrades/v5_2_0/fork.go @@ -1,17 +1,17 @@ -//nolint:all package v5_2_0 import ( "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/notional-labs/composable/v5/app/keepers" transfertypes "github.com/cosmos/ibc-go/v7/modules/apps/transfer/types" clienttypes "github.com/cosmos/ibc-go/v7/modules/core/02-client/types" "github.com/cosmos/ibc-go/v7/modules/core/exported" ibckeeper "github.com/cosmos/ibc-go/v7/modules/core/keeper" wasm08types "github.com/cosmos/ibc-go/v7/modules/light-clients/08-wasm/types" + + "github.com/notional-labs/centauri/v5/app/keepers" ) const ( diff --git a/bech32-migration/auth/auth.go b/bech32-migration/auth/auth.go index cb1ceb48f..ae1cd868f 100644 --- a/bech32-migration/auth/auth.go +++ b/bech32-migration/auth/auth.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/auth/types" vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" - "github.com/notional-labs/composable/v5/bech32-migration/utils" + "github.com/notional-labs/centauri/v5/bech32-migration/utils" ) func MigrateAddressBech32(ctx sdk.Context, storeKey storetypes.StoreKey, cdc codec.BinaryCodec) { diff --git a/bech32-migration/gov/gov.go b/bech32-migration/gov/gov.go index 782cc6c3b..40f222a6f 100644 --- a/bech32-migration/gov/gov.go +++ b/bech32-migration/gov/gov.go @@ -9,7 +9,7 @@ import ( v1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1" - "github.com/notional-labs/composable/v5/bech32-migration/utils" + "github.com/notional-labs/centauri/v5/bech32-migration/utils" ) func MigrateAddressBech32(ctx sdk.Context, storeKey storetypes.StoreKey, cdc codec.BinaryCodec) { diff --git a/bech32-migration/slashing/slashing.go b/bech32-migration/slashing/slashing.go index 638bc66d1..4964c5474 100644 --- a/bech32-migration/slashing/slashing.go +++ b/bech32-migration/slashing/slashing.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/slashing/types" - "github.com/notional-labs/composable/v5/bech32-migration/utils" + "github.com/notional-labs/centauri/v5/bech32-migration/utils" ) func MigrateAddressBech32(ctx sdk.Context, storeKey storetypes.StoreKey, cdc codec.BinaryCodec) { diff --git a/bech32-migration/staking/staking.go b/bech32-migration/staking/staking.go index 9a3ce9db4..47147152a 100644 --- a/bech32-migration/staking/staking.go +++ b/bech32-migration/staking/staking.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/notional-labs/composable/v5/bech32-migration/utils" + "github.com/notional-labs/centauri/v5/bech32-migration/utils" ) func MigrateAddressBech32(ctx sdk.Context, storeKey storetypes.StoreKey, cdc codec.BinaryCodec) { diff --git a/bech32-migration/utils/utils.go b/bech32-migration/utils/utils.go index 8bb883097..6ecedc167 100644 --- a/bech32-migration/utils/utils.go +++ b/bech32-migration/utils/utils.go @@ -10,7 +10,7 @@ import ( const ( // OldBech32Prefix defines the Bech32 prefix used for EthAccounts - OldBech32Prefix = "centauri" + OldBech32Prefix = "banksy" // OldBech32PrefixAccAddr defines the Bech32 prefix of an account's address OldBech32PrefixAccAddr = OldBech32Prefix diff --git a/cmd/composabled/cmd/bech32_convert.go b/cmd/centaurid/cmd/bech32_convert.go similarity index 71% rename from cmd/composabled/cmd/bech32_convert.go rename to cmd/centaurid/cmd/bech32_convert.go index 04c918916..35c4e9599 100644 --- a/cmd/composabled/cmd/bech32_convert.go +++ b/cmd/centaurid/cmd/bech32_convert.go @@ -12,13 +12,13 @@ var flagBech32Prefix = "prefix" func AddBech32ConvertCommand() *cobra.Command { cmd := &cobra.Command{ Use: "bech32-convert [address]", - Short: "Convert any bech32 string to the composable prefix", - Long: `Convert any bech32 string to the composable prefix + Short: "Convert any bech32 string to the centauri prefix", + Long: `Convert any bech32 string to the centauri prefix Example: - composabled debug bech32-convert akash1a6zlyvpnksx8wr6wz8wemur2xe8zyh0ytz6d88 + centaurid debug bech32-convert akash1a6zlyvpnksx8wr6wz8wemur2xe8zyh0ytz6d88 - composabled debug bech32-convert stride1673f0t8p893rqyqe420mgwwz92ac4qv6synvx2 --prefix osmo + centaurid debug bech32-convert stride1673f0t8p893rqyqe420mgwwz92ac4qv6synvx2 --prefix osmo `, Args: cobra.ExactArgs(1), RunE: func(cmd *cobra.Command, args []string) error { @@ -43,7 +43,7 @@ Example: }, } - cmd.Flags().StringP(flagBech32Prefix, "p", "composable", "Bech32 Prefix to encode to") + cmd.Flags().StringP(flagBech32Prefix, "p", "centauri", "Bech32 Prefix to encode to") return cmd } diff --git a/cmd/composabled/cmd/genaccounts.go b/cmd/centaurid/cmd/genaccounts.go similarity index 98% rename from cmd/composabled/cmd/genaccounts.go rename to cmd/centaurid/cmd/genaccounts.go index c86769cd7..37a68d1ec 100644 --- a/cmd/composabled/cmd/genaccounts.go +++ b/cmd/centaurid/cmd/genaccounts.go @@ -8,7 +8,7 @@ import ( "github.com/spf13/cobra" - "github.com/notional-labs/composable/v5/bech32-migration/utils" + "github.com/notional-labs/centauri/v5/bech32-migration/utils" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" @@ -201,7 +201,7 @@ contain valid denominations. Accounts may optionally be supplied with vesting pa func CovertPrefixAddr() *cobra.Command { cmd := &cobra.Command{ Use: "convert [address]", - Short: "Convert prefix from centauri to composable", + Short: "Convert prefix from banksy to centauri", Args: cobra.ExactArgs(1), RunE: func(cmd *cobra.Command, args []string) error { newAddr := utils.ConvertAccAddr(args[0]) diff --git a/cmd/composabled/cmd/root.go b/cmd/centaurid/cmd/root.go similarity index 97% rename from cmd/composabled/cmd/root.go rename to cmd/centaurid/cmd/root.go index bf02cc68f..159891d1b 100644 --- a/cmd/composabled/cmd/root.go +++ b/cmd/centaurid/cmd/root.go @@ -33,8 +33,8 @@ import ( genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" - "github.com/notional-labs/composable/v5/app" - // "github.com/notional-labs/composable/v5/app/params" + "github.com/notional-labs/centauri/v5/app" + // "github.com/notional-labs/centauri/v5/app/params" // this line is used by starport scaffolding # stargate/root/import ) @@ -56,7 +56,7 @@ func NewRootCmd() (*cobra.Command, app.EncodingConfig) { rootCmd := &cobra.Command{ Use: app.Name + "d", - Short: "Composable App", + Short: "Centauri App", PersistentPreRunE: func(cmd *cobra.Command, _ []string) error { // set the default command outputs cmd.SetOut(cmd.OutOrStdout()) @@ -270,7 +270,7 @@ func (a appCreator) newApp(logger log.Logger, db dbm.DB, traceStore io.Writer, a baseappOptions := server.DefaultBaseappOptions(appOpts) var emptyWasmOpts []wasm.Option - newApp := app.NewComposableApp( + newApp := app.NewCentauriApp( logger, db, traceStore, true, app.GetEnabledProposals(), skipUpgradeHeights, @@ -291,7 +291,7 @@ func (a appCreator) appExport( logger log.Logger, db dbm.DB, traceStore io.Writer, height int64, forZeroHeight bool, jailAllowedAddrs []string, appOpts servertypes.AppOptions, _ []string, ) (servertypes.ExportedApp, error) { - var anApp *app.ComposableApp + var anApp *app.CentauriApp homePath, ok := appOpts.Get(flags.FlagHome).(string) if !ok || homePath == "" { @@ -300,7 +300,7 @@ func (a appCreator) appExport( var emptyWasmOpts []wasm.Option if height != -1 { - anApp = app.NewComposableApp( + anApp = app.NewCentauriApp( logger, db, traceStore, @@ -318,7 +318,7 @@ func (a appCreator) appExport( return servertypes.ExportedApp{}, err } } else { - anApp = app.NewComposableApp( + anApp = app.NewCentauriApp( logger, db, traceStore, diff --git a/cmd/composabled/config/config.go b/cmd/centaurid/config/config.go similarity index 97% rename from cmd/composabled/config/config.go rename to cmd/centaurid/config/config.go index 64a26cc06..38aaf57d3 100644 --- a/cmd/composabled/config/config.go +++ b/cmd/centaurid/config/config.go @@ -11,7 +11,7 @@ import ( const ( // Bech32Prefix defines the Bech32 prefix used for EthAccounts - Bech32Prefix = "composable" + Bech32Prefix = "centauri" // Bech32PrefixAccAddr defines the Bech32 prefix of an account's address Bech32PrefixAccAddr = Bech32Prefix @@ -40,8 +40,8 @@ func SetupConfig() { SetAddressPrefixes(config) config.Seal() - version.AppName = "composable" - version.Name = "composabled" + version.AppName = "centauri" + version.Name = "centaurid" } // SetBech32Prefixes sets the global prefixes to be used when serializing addresses and public keys to Bech32 strings. diff --git a/cmd/composabled/main.go b/cmd/centaurid/main.go similarity index 59% rename from cmd/composabled/main.go rename to cmd/centaurid/main.go index b7983fac2..5c9cb1894 100644 --- a/cmd/composabled/main.go +++ b/cmd/centaurid/main.go @@ -5,9 +5,9 @@ import ( svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" - "github.com/notional-labs/composable/v5/app" - cmd "github.com/notional-labs/composable/v5/cmd/composabled/cmd" - cmdcfg "github.com/notional-labs/composable/v5/cmd/composabled/config" + "github.com/notional-labs/centauri/v5/app" + cmd "github.com/notional-labs/centauri/v5/cmd/centaurid/cmd" + cmdcfg "github.com/notional-labs/centauri/v5/cmd/centaurid/config" ) func main() { diff --git a/custom/bank/bank_test.go b/custom/bank/bank_test.go index f1655a4ac..65d833901 100644 --- a/custom/bank/bank_test.go +++ b/custom/bank/bank_test.go @@ -9,7 +9,7 @@ import ( clienttypes "github.com/cosmos/ibc-go/v7/modules/core/02-client/types" "github.com/stretchr/testify/suite" - customibctesting "github.com/notional-labs/composable/v5/app/ibctesting" + customibctesting "github.com/notional-labs/centauri/v5/app/ibctesting" ) type CustomBankTestSuite struct { diff --git a/custom/bank/keeper/keeper.go b/custom/bank/keeper/keeper.go index bbc6c64cf..deda06011 100644 --- a/custom/bank/keeper/keeper.go +++ b/custom/bank/keeper/keeper.go @@ -13,9 +13,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - banktypes "github.com/notional-labs/composable/v5/custom/bank/types" + banktypes "github.com/notional-labs/centauri/v5/custom/bank/types" - transfermiddlewarekeeper "github.com/notional-labs/composable/v5/x/transfermiddleware/keeper" + transfermiddlewarekeeper "github.com/notional-labs/centauri/v5/x/transfermiddleware/keeper" alliancekeeper "github.com/terra-money/alliance/x/alliance/keeper" alliancetypes "github.com/terra-money/alliance/x/alliance/types" diff --git a/custom/bank/module.go b/custom/bank/module.go index e9d5fe02c..e55cda7ca 100644 --- a/custom/bank/module.go +++ b/custom/bank/module.go @@ -10,7 +10,7 @@ import ( bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" "github.com/cosmos/cosmos-sdk/x/bank/types" - custombankkeeper "github.com/notional-labs/composable/v5/custom/bank/keeper" + custombankkeeper "github.com/notional-labs/centauri/v5/custom/bank/keeper" ) // AppModule wraps around the bank module and the bank keeper to return the right total supply ignoring bonded tokens diff --git a/go.mod b/go.mod index b09805db1..205c5c581 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/notional-labs/composable/v5 +module github.com/notional-labs/centauri/v5 go 1.19 @@ -322,7 +322,7 @@ replace ( // ibc-go with wasm client github.com/cosmos/ibc-go/v7 => github.com/notional-labs/ibc-go/v7 v7.0.1-wasm-client.0.20230724144435-2b77d4a1ce70 - github.com/strangelove-ventures/packet-forward-middleware/v7 => github.com/notional-labs/packet-forward-middleware/v7 v7.0.0-20230925110328-59a07f1412ec + github.com/strangelove-ventures/packet-forward-middleware/v7 => github.com/notional-labs/packet-forward-middleware/v7 v7.0.0-20230828115741-8f5f501461be github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 github.com/terra-money/alliance => github.com/notional-labs/alliance v1.0.1-0.20230523105704-66dba9499c01 diff --git a/go.sum b/go.sum index 2b6dd05f7..8738e523b 100644 --- a/go.sum +++ b/go.sum @@ -967,8 +967,8 @@ github.com/notional-labs/alliance v1.0.1-0.20230523105704-66dba9499c01 h1:koCsoc github.com/notional-labs/alliance v1.0.1-0.20230523105704-66dba9499c01/go.mod h1:GFQ8TsXDMTpu7kif0Dwddz6rxazy0ZJQHfN38ZmAodI= github.com/notional-labs/ibc-go/v7 v7.0.1-wasm-client.0.20230724144435-2b77d4a1ce70 h1:oZTUDZzUBp8D2h3uZfPQmZGVksrROqubHDASvFB/+u0= github.com/notional-labs/ibc-go/v7 v7.0.1-wasm-client.0.20230724144435-2b77d4a1ce70/go.mod h1:ISHo/Qitjtvj2svGmttaZv03zVXmS+uqvUyF9kFqlI0= -github.com/notional-labs/packet-forward-middleware/v7 v7.0.0-20230925110328-59a07f1412ec h1:WGvAaJ7QffvPrX9529lX1qTB7IiHC5i+3/0Ed3drico= -github.com/notional-labs/packet-forward-middleware/v7 v7.0.0-20230925110328-59a07f1412ec/go.mod h1:Cf4EbaAH9U5sZGxMKsRTN6SVnXy9MjW6oauwkwFVtpU= +github.com/notional-labs/packet-forward-middleware/v7 v7.0.0-20230828115741-8f5f501461be h1:fCcfI4QG6WsnTvmwG6BC/jLpTHOg0v4aOrBWDXVmohE= +github.com/notional-labs/packet-forward-middleware/v7 v7.0.0-20230828115741-8f5f501461be/go.mod h1:+Urw3FnxiiB7qs3CQaMWlgfntFkbebHlYNYt2y8JI/I= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= github.com/oklog/oklog v0.3.2/go.mod h1:FCV+B7mhrz4o+ueLpx+KqkyXRGMWOYEvfiXtdGtbWGs= diff --git a/proto/composable/mint/v1beta1/genesis.proto b/proto/centauri/mint/v1beta1/genesis.proto similarity index 88% rename from proto/composable/mint/v1beta1/genesis.proto rename to proto/centauri/mint/v1beta1/genesis.proto index aa04d3153..a30271a06 100644 --- a/proto/composable/mint/v1beta1/genesis.proto +++ b/proto/centauri/mint/v1beta1/genesis.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package composable.mint.v1beta1; +package centauri.mint.v1beta1; import "gogoproto/gogo.proto"; -import "composable/mint/v1beta1/mint.proto"; +import "centauri/mint/v1beta1/mint.proto"; import "cosmos/base/v1beta1/coin.proto"; option go_package = "x/mint/types"; diff --git a/proto/composable/mint/v1beta1/mint.proto b/proto/centauri/mint/v1beta1/mint.proto similarity index 98% rename from proto/composable/mint/v1beta1/mint.proto rename to proto/centauri/mint/v1beta1/mint.proto index 56971fdeb..fb898d8c3 100644 --- a/proto/composable/mint/v1beta1/mint.proto +++ b/proto/centauri/mint/v1beta1/mint.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package composable.mint.v1beta1; +package centauri.mint.v1beta1; option go_package = "x/mint/types"; diff --git a/proto/composable/mint/v1beta1/query.proto b/proto/centauri/mint/v1beta1/query.proto similarity index 96% rename from proto/composable/mint/v1beta1/query.proto rename to proto/centauri/mint/v1beta1/query.proto index 772e4404b..f07d158d1 100644 --- a/proto/composable/mint/v1beta1/query.proto +++ b/proto/centauri/mint/v1beta1/query.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package composable.mint.v1beta1; +package centauri.mint.v1beta1; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; -import "composable/mint/v1beta1/mint.proto"; +import "centauri/mint/v1beta1/mint.proto"; option go_package = "x/mint/types"; diff --git a/proto/composable/mint/v1beta1/tx.proto b/proto/centauri/mint/v1beta1/tx.proto similarity index 96% rename from proto/composable/mint/v1beta1/tx.proto rename to proto/centauri/mint/v1beta1/tx.proto index 584302a96..429a06d73 100644 --- a/proto/composable/mint/v1beta1/tx.proto +++ b/proto/centauri/mint/v1beta1/tx.proto @@ -1,11 +1,11 @@ syntax = "proto3"; -package composable.mint.v1beta1; +package centauri.mint.v1beta1; import "cosmos/msg/v1/msg.proto"; import "amino/amino.proto"; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; -import "composable/mint/v1beta1/mint.proto"; +import "centauri/mint/v1beta1/mint.proto"; import "cosmos/base/v1beta1/coin.proto"; option go_package = "x/mint/types"; diff --git a/proto/composable/ratelimit/v1beta1/epoch.proto b/proto/centauri/ratelimit/v1beta1/epoch.proto similarity index 98% rename from proto/composable/ratelimit/v1beta1/epoch.proto rename to proto/centauri/ratelimit/v1beta1/epoch.proto index 6664b71a5..8f0bf2669 100644 --- a/proto/composable/ratelimit/v1beta1/epoch.proto +++ b/proto/centauri/ratelimit/v1beta1/epoch.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package composable.ratelimit.v1beta1; +package centauri.ratelimit.v1beta1; import "gogoproto/gogo.proto"; import "google/protobuf/duration.proto"; diff --git a/proto/composable/ratelimit/v1beta1/genesis.proto b/proto/centauri/ratelimit/v1beta1/genesis.proto similarity index 78% rename from proto/composable/ratelimit/v1beta1/genesis.proto rename to proto/centauri/ratelimit/v1beta1/genesis.proto index 38556b102..091dcb855 100644 --- a/proto/composable/ratelimit/v1beta1/genesis.proto +++ b/proto/centauri/ratelimit/v1beta1/genesis.proto @@ -1,10 +1,10 @@ syntax = "proto3"; -package composable.ratelimit.v1beta1; +package centauri.ratelimit.v1beta1; import "gogoproto/gogo.proto"; -import "composable/ratelimit/v1beta1/params.proto"; -import "composable/ratelimit/v1beta1/ratelimit.proto"; -import "composable/ratelimit/v1beta1/epoch.proto"; +import "centauri/ratelimit/v1beta1/params.proto"; +import "centauri/ratelimit/v1beta1/ratelimit.proto"; +import "centauri/ratelimit/v1beta1/epoch.proto"; option go_package = "x/ratelimit/types"; diff --git a/proto/composable/ratelimit/v1beta1/params.proto b/proto/centauri/ratelimit/v1beta1/params.proto similarity index 83% rename from proto/composable/ratelimit/v1beta1/params.proto rename to proto/centauri/ratelimit/v1beta1/params.proto index e994aa9e3..22186f8ac 100644 --- a/proto/composable/ratelimit/v1beta1/params.proto +++ b/proto/centauri/ratelimit/v1beta1/params.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package composable.ratelimit.v1beta1; +package centauri.ratelimit.v1beta1; option go_package = "x/ratelimit/types"; diff --git a/proto/composable/ratelimit/v1beta1/query.proto b/proto/centauri/ratelimit/v1beta1/query.proto similarity index 70% rename from proto/composable/ratelimit/v1beta1/query.proto rename to proto/centauri/ratelimit/v1beta1/query.proto index 67eb98a96..af1f24bfd 100644 --- a/proto/composable/ratelimit/v1beta1/query.proto +++ b/proto/centauri/ratelimit/v1beta1/query.proto @@ -1,7 +1,7 @@ syntax = "proto3"; -package composable.ratelimit.v1beta1; +package centauri.ratelimit.v1beta1; -import "composable/ratelimit/v1beta1/ratelimit.proto"; +import "centauri/ratelimit/v1beta1/ratelimit.proto"; import "google/api/annotations.proto"; import "gogoproto/gogo.proto"; @@ -11,26 +11,24 @@ option go_package = "x/ratelimit/types"; service Query { rpc AllRateLimits(QueryAllRateLimitsRequest) returns (QueryAllRateLimitsResponse) { - option (google.api.http).get = "/composable/ratelimit/ratelimits"; + option (google.api.http).get = "/centauri/ratelimit/ratelimits"; } rpc RateLimit(QueryRateLimitRequest) returns (QueryRateLimitResponse) { option (google.api.http).get = - "/composable/ratelimit/ratelimit/{ChannelID}/by_denom"; + "/centauri/ratelimit/ratelimit/{channel_id}/by_denom"; } rpc RateLimitsByChainID(QueryRateLimitsByChainIDRequest) returns (QueryRateLimitsByChainIDResponse) { - option (google.api.http).get = - "/composable/ratelimit/ratelimits/{chain_id}"; + option (google.api.http).get = "/centauri/ratelimit/ratelimits/{chain_id}"; } rpc RateLimitsByChannelID(QueryRateLimitsByChannelIDRequest) returns (QueryRateLimitsByChannelIDResponse) { option (google.api.http).get = - "/composable/ratelimit/ratelimits/{ChannelID}"; + "/centauri/ratelimit/ratelimits/{channel_id}"; } rpc AllWhitelistedAddresses(QueryAllWhitelistedAddressesRequest) returns (QueryAllWhitelistedAddressesResponse) { - option (google.api.http).get = - "/composable/ratelimit/whitelisted_addresses"; + option (google.api.http).get = "/centauri/ratelimit/whitelisted_addresses"; } } @@ -41,7 +39,7 @@ message QueryAllRateLimitsResponse { message QueryRateLimitRequest { string denom = 1; - string ChannelID = 2 [ (gogoproto.customname) = "ChannelID" ]; + string channel_id = 2; } message QueryRateLimitResponse { RateLimit rate_limit = 1; } @@ -50,7 +48,7 @@ message QueryRateLimitsByChainIDResponse { repeated RateLimit rate_limits = 1 [ (gogoproto.nullable) = false ]; } -message QueryRateLimitsByChannelIDRequest { string ChannelID = 1 [ (gogoproto.customname) = "ChannelID" ]; } +message QueryRateLimitsByChannelIDRequest { string channel_id = 1; } message QueryRateLimitsByChannelIDResponse { repeated RateLimit rate_limits = 1 [ (gogoproto.nullable) = false ]; } diff --git a/proto/composable/ratelimit/v1beta1/ratelimit.proto b/proto/centauri/ratelimit/v1beta1/ratelimit.proto similarity index 92% rename from proto/composable/ratelimit/v1beta1/ratelimit.proto rename to proto/centauri/ratelimit/v1beta1/ratelimit.proto index f5bc45035..e7228fe0b 100644 --- a/proto/composable/ratelimit/v1beta1/ratelimit.proto +++ b/proto/centauri/ratelimit/v1beta1/ratelimit.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package composable.ratelimit.v1beta1; +package centauri.ratelimit.v1beta1; import "gogoproto/gogo.proto"; @@ -14,7 +14,7 @@ enum PacketDirection { message Path { string denom = 1; - string channel_id = 2 [ (gogoproto.customname) = "ChannelID" ]; + string channel_id = 2; } message Quota { diff --git a/proto/composable/ratelimit/v1beta1/tx.proto b/proto/centauri/ratelimit/v1beta1/tx.proto old mode 100644 new mode 100755 similarity index 82% rename from proto/composable/ratelimit/v1beta1/tx.proto rename to proto/centauri/ratelimit/v1beta1/tx.proto index 0b5df036c..ab20cfd53 --- a/proto/composable/ratelimit/v1beta1/tx.proto +++ b/proto/centauri/ratelimit/v1beta1/tx.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package composable.ratelimit.v1beta1; +package centauri.ratelimit.v1beta1; import "gogoproto/gogo.proto"; import "cosmos/msg/v1/msg.proto"; @@ -9,12 +9,9 @@ option go_package = "x/ratelimit/types"; // Msg defines the transfer middleware Msg service. service Msg { rpc AddTransferRateLimit(MsgAddRateLimit) returns (MsgAddRateLimitResponse); - rpc UpdateTransferRateLimit(MsgUpdateRateLimit) - returns (MsgUpdateRateLimitResponse); - rpc RemoveTransferRateLimit(MsgRemoveRateLimit) - returns (MsgRemoveRateLimitResponse); - rpc ResetTransferRateLimit(MsgResetRateLimit) - returns (MsgResetRateLimitResponse); + rpc UpdateTransferRateLimit(MsgUpdateRateLimit) returns (MsgUpdateRateLimitResponse); + rpc RemoveTransferRateLimit(MsgRemoveRateLimit) returns (MsgRemoveRateLimitResponse); + rpc ResetTransferRateLimit(MsgResetRateLimit) returns (MsgResetRateLimitResponse); } message MsgAddRateLimit { @@ -26,7 +23,7 @@ message MsgAddRateLimit { // denom of the token that is limited string denom = 2; // The channel that is limited when transferr ICS 20 packet of denom - string channel_id = 3 [ (gogoproto.customname) = "ChannelID" ]; + string channel_id = 3; // Max rate limit send string max_percent_send = 4 [ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", @@ -55,7 +52,7 @@ message MsgUpdateRateLimit { // overwritten). string authority = 1 [ (gogoproto.moretags) = "yaml:\"authority\"" ]; string denom = 2; - string channel_id = 3 [ (gogoproto.customname) = "ChannelID" ]; + string channel_id = 3; string max_percent_send = 4 [ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false @@ -80,7 +77,7 @@ message MsgRemoveRateLimit { // overwritten). string authority = 1 [ (gogoproto.moretags) = "yaml:\"authority\"" ]; string denom = 2; - string channel_id = 3 [ (gogoproto.customname) = "ChannelID" ]; + string channel_id = 3; } message MsgRemoveRateLimitResponse {} @@ -92,7 +89,7 @@ message MsgResetRateLimit { // overwritten). string authority = 1 [ (gogoproto.moretags) = "yaml:\"authority\"" ]; string denom = 2; - string channel_id = 3 [ (gogoproto.customname) = "ChannelID" ]; + string channel_id = 3; } message MsgResetRateLimitResponse {} diff --git a/proto/composable/transfermiddleware/v1beta1/genesis.proto b/proto/centauri/transfermiddleware/v1beta1/genesis.proto similarity index 65% rename from proto/composable/transfermiddleware/v1beta1/genesis.proto rename to proto/centauri/transfermiddleware/v1beta1/genesis.proto index eb4661646..ebd341cac 100644 --- a/proto/composable/transfermiddleware/v1beta1/genesis.proto +++ b/proto/centauri/transfermiddleware/v1beta1/genesis.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package composable.transfermiddleware.v1beta1; +package centauri.transfermiddleware.v1beta1; import "gogoproto/gogo.proto"; -import "composable/transfermiddleware/v1beta1/params.proto"; -import "composable/transfermiddleware/v1beta1/parachain_token_info.proto"; +import "centauri/transfermiddleware/v1beta1/params.proto"; +import "centauri/transfermiddleware/v1beta1/parachain_token_info.proto"; option go_package = "x/transfermiddleware/types"; @@ -14,3 +14,4 @@ message GenesisState { [ (gogoproto.nullable) = false ]; Params params = 2 [ (gogoproto.nullable) = false ]; } + diff --git a/proto/composable/transfermiddleware/v1beta1/parachain_token_info.proto b/proto/centauri/transfermiddleware/v1beta1/parachain_token_info.proto similarity index 72% rename from proto/composable/transfermiddleware/v1beta1/parachain_token_info.proto rename to proto/centauri/transfermiddleware/v1beta1/parachain_token_info.proto index 6ed50e552..f570c3f9b 100644 --- a/proto/composable/transfermiddleware/v1beta1/parachain_token_info.proto +++ b/proto/centauri/transfermiddleware/v1beta1/parachain_token_info.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package composable.transfermiddleware.v1beta1; +package centauri.transfermiddleware.v1beta1; import "gogoproto/gogo.proto"; import "google/protobuf/timestamp.proto"; @@ -12,19 +12,16 @@ message ParachainIBCTokenInfo { // ibc_denom is the denomination of the ibced token transferred from the // dotsama chain. string ibc_denom = 1 [ (gogoproto.moretags) = "yaml:\"ibc_denom\"" ]; - // channel_id is source channel in IBC connection from composable chain - string channel_id = 2 [ - (gogoproto.moretags) = "yaml:\"channel_id\"", - (gogoproto.customname) = "ChannelID" - ]; - // native denom is new native minted denom in composable chain. + // channel_id is source channel in IBC connection from centauri chain + string channel_id = 2 [ (gogoproto.moretags) = "yaml:\"channel_id\"" ]; + // native denom is new native minted denom in centauri chain. string native_denom = 3 [ (gogoproto.moretags) = "yaml:\"native_denom\"" ]; // asset id is the id of the asset on Picasso string asset_id = 4 [ (gogoproto.moretags) = "yaml:\"asset_id\"" ]; } message RemoveParachainIBCTokenInfo { - // native denom is new native minted denom in composable chain. + // native denom is new native minted denom in centauri chain. string native_denom = 1 [ (gogoproto.moretags) = "yaml:\"native_denom\"" ]; // // remove_time is the time at which the parachain token info will be removed. diff --git a/proto/composable/transfermiddleware/v1beta1/params.proto b/proto/centauri/transfermiddleware/v1beta1/params.proto similarity index 89% rename from proto/composable/transfermiddleware/v1beta1/params.proto rename to proto/centauri/transfermiddleware/v1beta1/params.proto index 74460f6ad..d93818302 100644 --- a/proto/composable/transfermiddleware/v1beta1/params.proto +++ b/proto/centauri/transfermiddleware/v1beta1/params.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package composable.transfermiddleware.v1beta1; +package centauri.transfermiddleware.v1beta1; import "gogoproto/gogo.proto"; import "google/protobuf/duration.proto"; diff --git a/proto/composable/transfermiddleware/v1beta1/query.proto b/proto/centauri/transfermiddleware/v1beta1/query.proto similarity index 74% rename from proto/composable/transfermiddleware/v1beta1/query.proto rename to proto/centauri/transfermiddleware/v1beta1/query.proto index 0d3c95d09..fc12b0249 100644 --- a/proto/composable/transfermiddleware/v1beta1/query.proto +++ b/proto/centauri/transfermiddleware/v1beta1/query.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package composable.transfermiddleware.v1beta1; +package centauri.transfermiddleware.v1beta1; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; @@ -11,20 +11,17 @@ service Query { // ParaTokenInfo queries all token info of a native denom. rpc ParaTokenInfo(QueryParaTokenInfoRequest) returns (QueryParaTokenInfoResponse) { - option (google.api.http).get = "/composable/paratokeninfo"; + option (google.api.http).get = "/centauri/paratokeninfo"; } rpc EscrowAddress(QueryEscrowAddressRequest) returns (QueryEscrowAddressResponse) { - option (google.api.http).get = "/composable/escrowaddress"; + option (google.api.http).get = "/centauri/escrowaddress"; } } // message QueryEscrowAddressRequest message QueryEscrowAddressRequest { - string channel_id = 1 [ - (gogoproto.moretags) = "yaml:\"channel_id\"", - (gogoproto.customname) = "ChannelID" - ]; + string channel_id = 1 [ (gogoproto.moretags) = "yaml:\"channel_id\"" ]; } // QueryEscrowAddressResponse @@ -43,10 +40,7 @@ message QueryParaTokenInfoRequest { // RPC method. message QueryParaTokenInfoResponse { string ibc_denom = 1 [ (gogoproto.moretags) = "yaml:\"ibc_denom\"" ]; - string channel_id = 2 [ - (gogoproto.moretags) = "yaml:\"channel_id\"", - (gogoproto.customname) = "ChannelID" - ]; + string channel_id = 2 [ (gogoproto.moretags) = "yaml:\"channel_id\"" ]; string native_denom = 3 [ (gogoproto.moretags) = "yaml:\"native_denom\"" ]; string asset_id = 4 [ (gogoproto.moretags) = "yaml:\"asset_id\"" ]; } diff --git a/proto/composable/transfermiddleware/v1beta1/tx.proto b/proto/centauri/transfermiddleware/v1beta1/tx.proto similarity index 92% rename from proto/composable/transfermiddleware/v1beta1/tx.proto rename to proto/centauri/transfermiddleware/v1beta1/tx.proto index 94235f524..a11e679c9 100644 --- a/proto/composable/transfermiddleware/v1beta1/tx.proto +++ b/proto/centauri/transfermiddleware/v1beta1/tx.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package composable.transfermiddleware.v1beta1; +package centauri.transfermiddleware.v1beta1; import "gogoproto/gogo.proto"; import "cosmos/msg/v1/msg.proto"; @@ -22,10 +22,7 @@ message MsgAddParachainIBCTokenInfo { // authority is the address that controls the module (defaults to x/gov unless // overwritten). string authority = 1 [ (gogoproto.moretags) = "yaml:\"authority\"" ]; - string channel_id = 2 [ - (gogoproto.moretags) = "yaml:\"channel_id\"", - (gogoproto.customname) = "ChannelID" - ]; + string channel_id = 2 [ (gogoproto.moretags) = "yaml:\"channel_id\"" ]; string ibc_denom = 3 [ (gogoproto.moretags) = "yaml:\"ibc_denom\"" ]; string native_denom = 4 [ (gogoproto.moretags) = "yaml:\"native_denom\"" ]; string asset_id = 5 [ (gogoproto.moretags) = "yaml:\"asset_id\"" ]; diff --git a/proto/composable/txboundary/v1beta1/boundary.proto b/proto/centauri/txboundary/v1beta1/boundary.proto similarity index 64% rename from proto/composable/txboundary/v1beta1/boundary.proto rename to proto/centauri/txboundary/v1beta1/boundary.proto index 8cb0fa2e7..b1352c068 100644 --- a/proto/composable/txboundary/v1beta1/boundary.proto +++ b/proto/centauri/txboundary/v1beta1/boundary.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package composable.txboundary.v1beta1; +package centauri.txboundary.v1beta1; import "gogoproto/gogo.proto"; import "google/protobuf/duration.proto"; @@ -9,13 +9,13 @@ option go_package = "x/tx-boundary/types"; // Boundary defines the number of tx limit and block per tx generation time message Boundary { - uint64 tx_limit = 1; - uint64 blocks_per_generation = 2; + uint64 tx_limit = 1; + uint64 blocks_per_generation = 2; } // Boundary defines the number of delegate and redelegate per Addr message LimitPerAddr { - uint64 delegate_count = 1; - uint64 reledegate_count = 2; - int64 latest_update_block = 3; + uint64 delegate_count = 1; + uint64 reledegate_count = 2; + int64 latest_update_block = 3; } \ No newline at end of file diff --git a/proto/composable/txboundary/v1beta1/genesis.proto b/proto/centauri/txboundary/v1beta1/genesis.proto similarity index 83% rename from proto/composable/txboundary/v1beta1/genesis.proto rename to proto/centauri/txboundary/v1beta1/genesis.proto index 735bb1ce0..93f9b6e85 100644 --- a/proto/composable/txboundary/v1beta1/genesis.proto +++ b/proto/centauri/txboundary/v1beta1/genesis.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package composable.txboundary.v1beta1; +package centauri.txboundary.v1beta1; import "gogoproto/gogo.proto"; -import "composable/txboundary/v1beta1/boundary.proto"; +import "centauri/txboundary/v1beta1/boundary.proto"; option go_package = "x/tx-boundary/types"; @@ -18,3 +18,4 @@ message GenesisState { (gogoproto.nullable) = false ]; } + diff --git a/proto/centauri/txboundary/v1beta1/query.proto b/proto/centauri/txboundary/v1beta1/query.proto new file mode 100644 index 000000000..33579368f --- /dev/null +++ b/proto/centauri/txboundary/v1beta1/query.proto @@ -0,0 +1,40 @@ +syntax = "proto3"; +package centauri.txboundary.v1beta1; + +import "gogoproto/gogo.proto"; +import "google/api/annotations.proto"; +import "centauri/txboundary/v1beta1/boundary.proto"; + +option go_package = "x/tx-boundary/types"; + +// Query provides defines the gRPC querier service. +service Query { + // DelegateBoundary returns the boundary for the delegate tx. + rpc DelegateBoundary(QueryDelegateBoundaryRequest) returns (QueryDelegateBoundaryResponse) { + option (google.api.http).get = "/cosmos/txboundary/v1beta1/delegateboundary"; + } + + // RedelegateBoundary returns the boundary for the redelegate tx. + rpc RedelegateBoundary(QueryRedelegateBoundaryRequest) returns (QueryRedelegateBoundaryResponse) { + option (google.api.http).get = "/cosmos/txboundary/v1beta1/redelegateboundary"; + } +} + +// QueryDelegateBoundaryRequest is the request type for the Query/DelegateBoundary RPC method. +message QueryDelegateBoundaryRequest {} + +// QueryDelegateBoundaryResponse is the response type for the Query/DelegateBoundary RPC method. +message QueryDelegateBoundaryResponse { + // boundary defines the boundary for the delegate tx + Boundary boundary = 1 [ (gogoproto.nullable) = false ]; +} + +// QueryRedelegateBoundaryRequest is the request type for the Query/ReDelegateBoundary RPC method. +message QueryRedelegateBoundaryRequest {} + +// QueryRedelegateBoundaryResponse is the response type for the Query/ReDelegateBoundary RPC +// method. +message QueryRedelegateBoundaryResponse { + // boundary defines the boundary for the redelegate tx + Boundary boundary = 1 [ (gogoproto.nullable) = false ]; +} diff --git a/proto/centauri/txboundary/v1beta1/tx.proto b/proto/centauri/txboundary/v1beta1/tx.proto new file mode 100644 index 000000000..e131c5f74 --- /dev/null +++ b/proto/centauri/txboundary/v1beta1/tx.proto @@ -0,0 +1,68 @@ +syntax = "proto3"; +package centauri.txboundary.v1beta1; + +import "cosmos/msg/v1/msg.proto"; +import "amino/amino.proto"; +import "gogoproto/gogo.proto"; +import "cosmos_proto/cosmos.proto"; +import "centauri/txboundary/v1beta1/boundary.proto"; +import "cosmos/base/v1beta1/coin.proto"; + +option go_package = "x/tx-boundary/types"; + +// Msg defines the x/mint Msg service. +service Msg { + option (cosmos.msg.v1.service) = true; + + rpc UpdateDelegateBoundary(MsgUpdateDelegateBoundary) returns (MsgUpdateDelegateBoundaryResponse); + + rpc UpdateRedelegateBoundary(MsgUpdateRedelegateBoundary) returns (MsgUpdateRedelegateBoundaryResponse); + } + + // MsgUpdateDelegateBoundary is the Msg/UpdateDelegateBoundary request type. + // + // Since: cosmos-sdk 0.47 + message MsgUpdateDelegateBoundary { + option (cosmos.msg.v1.signer) = "authority"; + option (amino.name) = "centauri/x/txboundary/MsgUpdateDelegateBoundary"; + + // authority is the address that controls the module (defaults to x/gov unless + // overwritten). + string authority = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; + + // boundary defines the x/tx-boundary parameters to update. + // + // NOTE: All parameters must be supplied. + Boundary boundary = 2 + [ (gogoproto.nullable) = false, (amino.dont_omitempty) = true ]; + } + + // MsgUpdateDelegateBoundaryResponse defines the response structure for executing a + // MsgUpdateDelegateBoundary message. + // + // Since: cosmos-sdk 0.47 + message MsgUpdateDelegateBoundaryResponse {} + + // MsgUpdateRedelegateBoundary is the Msg/MsgUpdateRedelegateBoundary request type. + // + // Since: cosmos-sdk 0.47 + message MsgUpdateRedelegateBoundary { + option (cosmos.msg.v1.signer) = "authority"; + option (amino.name) = "centauri/x/txboundary/MsgUpdateDelegateBoundary"; + + // authority is the address that controls the module (defaults to x/gov unless + // overwritten). + string authority = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; + + // boundary defines the x/tx-boundary parameters to update. + // + // NOTE: All parameters must be supplied. + Boundary boundary = 2 + [ (gogoproto.nullable) = false, (amino.dont_omitempty) = true ]; + } + + // MsgUpdateRedelegateBoundaryResponse defines the response structure for executing a + // MsgUpdateRedelegateBoundary message. + // + // Since: cosmos-sdk 0.47 + message MsgUpdateRedelegateBoundaryResponse {} \ No newline at end of file diff --git a/proto/composable/txboundary/v1beta1/query.proto b/proto/composable/txboundary/v1beta1/query.proto deleted file mode 100644 index c5f4a918d..000000000 --- a/proto/composable/txboundary/v1beta1/query.proto +++ /dev/null @@ -1,47 +0,0 @@ -syntax = "proto3"; -package composable.txboundary.v1beta1; - -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "composable/txboundary/v1beta1/boundary.proto"; - -option go_package = "x/tx-boundary/types"; - -// Query provides defines the gRPC querier service. -service Query { - // DelegateBoundary returns the boundary for the delegate tx. - rpc DelegateBoundary(QueryDelegateBoundaryRequest) - returns (QueryDelegateBoundaryResponse) { - option (google.api.http).get = - "/cosmos/txboundary/v1beta1/delegateboundary"; - } - - // RedelegateBoundary returns the boundary for the redelegate tx. - rpc RedelegateBoundary(QueryRedelegateBoundaryRequest) - returns (QueryRedelegateBoundaryResponse) { - option (google.api.http).get = - "/cosmos/txboundary/v1beta1/redelegateboundary"; - } -} - -// QueryDelegateBoundaryRequest is the request type for the -// Query/DelegateBoundary RPC method. -message QueryDelegateBoundaryRequest {} - -// QueryDelegateBoundaryResponse is the response type for the -// Query/DelegateBoundary RPC method. -message QueryDelegateBoundaryResponse { - // boundary defines the boundary for the delegate tx - Boundary boundary = 1 [ (gogoproto.nullable) = false ]; -} - -// QueryRedelegateBoundaryRequest is the request type for the -// Query/ReDelegateBoundary RPC method. -message QueryRedelegateBoundaryRequest {} - -// QueryRedelegateBoundaryResponse is the response type for the -// Query/ReDelegateBoundary RPC method. -message QueryRedelegateBoundaryResponse { - // boundary defines the boundary for the redelegate tx - Boundary boundary = 1 [ (gogoproto.nullable) = false ]; -} diff --git a/proto/composable/txboundary/v1beta1/tx.proto b/proto/composable/txboundary/v1beta1/tx.proto deleted file mode 100644 index 03249ee04..000000000 --- a/proto/composable/txboundary/v1beta1/tx.proto +++ /dev/null @@ -1,71 +0,0 @@ -syntax = "proto3"; -package composable.txboundary.v1beta1; - -import "cosmos/msg/v1/msg.proto"; -import "amino/amino.proto"; -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; -import "composable/txboundary/v1beta1/boundary.proto"; -import "cosmos/base/v1beta1/coin.proto"; - -option go_package = "x/tx-boundary/types"; - -// Msg defines the x/mint Msg service. -service Msg { - option (cosmos.msg.v1.service) = true; - - rpc UpdateDelegateBoundary(MsgUpdateDelegateBoundary) - returns (MsgUpdateDelegateBoundaryResponse); - - rpc UpdateRedelegateBoundary(MsgUpdateRedelegateBoundary) - returns (MsgUpdateRedelegateBoundaryResponse); -} - -// MsgUpdateDelegateBoundary is the Msg/UpdateDelegateBoundary request type. -// -// Since: cosmos-sdk 0.47 -message MsgUpdateDelegateBoundary { - option (cosmos.msg.v1.signer) = "authority"; - option (amino.name) = "composable/x/txboundary/MsgUpdateDelegateBoundary"; - - // authority is the address that controls the module (defaults to x/gov unless - // overwritten). - string authority = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; - - // boundary defines the x/tx-boundary parameters to update. - // - // NOTE: All parameters must be supplied. - Boundary boundary = 2 - [ (gogoproto.nullable) = false, (amino.dont_omitempty) = true ]; -} - -// MsgUpdateDelegateBoundaryResponse defines the response structure for -// executing a MsgUpdateDelegateBoundary message. -// -// Since: cosmos-sdk 0.47 -message MsgUpdateDelegateBoundaryResponse {} - -// MsgUpdateRedelegateBoundary is the Msg/MsgUpdateRedelegateBoundary request -// type. -// -// Since: cosmos-sdk 0.47 -message MsgUpdateRedelegateBoundary { - option (cosmos.msg.v1.signer) = "authority"; - option (amino.name) = "composable/x/txboundary/MsgUpdateDelegateBoundary"; - - // authority is the address that controls the module (defaults to x/gov unless - // overwritten). - string authority = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; - - // boundary defines the x/tx-boundary parameters to update. - // - // NOTE: All parameters must be supplied. - Boundary boundary = 2 - [ (gogoproto.nullable) = false, (amino.dont_omitempty) = true ]; -} - -// MsgUpdateRedelegateBoundaryResponse defines the response structure for -// executing a MsgUpdateRedelegateBoundary message. -// -// Since: cosmos-sdk 0.47 -message MsgUpdateRedelegateBoundaryResponse {} \ No newline at end of file diff --git a/scripts/protocgen.sh b/scripts/protocgen.sh index dc5973e54..c305d51a0 100644 --- a/scripts/protocgen.sh +++ b/scripts/protocgen.sh @@ -10,7 +10,7 @@ go get github.com/regen-network/cosmos-proto/protoc-gen-gocosmos 2>/dev/null echo "Generating gogo proto code" cd proto -proto_dirs=$(find ./composable -path -prune -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq) +proto_dirs=$(find ./centauri -path -prune -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq) for dir in $proto_dirs; do for file in $(find "${dir}" -maxdepth 1 -name '*.proto'); do if grep go_package $file &>/dev/null; then diff --git a/tests/interchaintest/basic_cosmos_test.go b/tests/interchaintest/basic_cosmos_test.go index 1ff7528c1..1e6db8367 100644 --- a/tests/interchaintest/basic_cosmos_test.go +++ b/tests/interchaintest/basic_cosmos_test.go @@ -11,8 +11,8 @@ import ( "go.uber.org/zap/zaptest" ) -// TestStartCentauri is a basic test to assert that spinning up a Composable network with 1 validator works properly. -func TestBasicComposable(t *testing.T) { +// TestStartCentauri is a basic test to assert that spinning up a Centauri network with 1 validator works properly. +func TestBasicCentauri(t *testing.T) { if testing.Short() { t.Skip() } @@ -21,14 +21,14 @@ func TestBasicComposable(t *testing.T) { ctx := context.Background() - // Create chain factory with Composable + // Create chain factory with Centauri numVals := 3 numFullNodes := 3 cf := interchaintest.NewBuiltinChainFactory(zaptest.NewLogger(t), []*interchaintest.ChainSpec{ { - Name: "composable", - ChainConfig: composableConfig, + Name: "centauri", + ChainConfig: centauriConfig, NumValidators: &numVals, NumFullNodes: &numFullNodes, }, @@ -38,13 +38,13 @@ func TestBasicComposable(t *testing.T) { chains, err := cf.Chains(t.Name()) require.NoError(t, err) - composable := chains[0].(*cosmos.CosmosChain) + centauri := chains[0].(*cosmos.CosmosChain) // Relayer Factory client, network := interchaintest.DockerSetup(t) // Create a new Interchain object which describes the chains, relayers, and IBC connections we want to use - ic := interchaintest.NewInterchain().AddChain(composable) + ic := interchaintest.NewInterchain().AddChain(centauri) rep := testreporter.NewNopReporter() eRep := rep.RelayerExecReporter(t) diff --git a/tests/interchaintest/chain_start_test.go b/tests/interchaintest/chain_start_test.go index a7a2c1f71..c74b1708e 100644 --- a/tests/interchaintest/chain_start_test.go +++ b/tests/interchaintest/chain_start_test.go @@ -11,8 +11,8 @@ import ( "go.uber.org/zap/zaptest" ) -// TestStartcentauri is a basic test to assert that spinning up a composable network with 1 validator works properly. -func TestStartComposable(t *testing.T) { +// TestStartcentauri is a basic test to assert that spinning up a centauri network with 1 validator works properly. +func TestStartCentauri(t *testing.T) { if testing.Short() { t.Skip() } @@ -27,8 +27,8 @@ func TestStartComposable(t *testing.T) { cf := interchaintest.NewBuiltinChainFactory(zaptest.NewLogger(t), []*interchaintest.ChainSpec{ { - Name: "composable", - ChainConfig: composableConfig, + Name: "centauri", + ChainConfig: centauriConfig, NumValidators: &numVals, NumFullNodes: &numFullNodes, }, @@ -38,13 +38,13 @@ func TestStartComposable(t *testing.T) { chains, err := cf.Chains(t.Name()) require.NoError(t, err) - composable := chains[0].(*cosmos.CosmosChain) + centauri := chains[0].(*cosmos.CosmosChain) // Relayer Factory client, network := interchaintest.DockerSetup(t) // Create a new Interchain object which describes the chains, relayers, and IBC connections we want to use - ic := interchaintest.NewInterchain().AddChain(composable) + ic := interchaintest.NewInterchain().AddChain(centauri) rep := testreporter.NewNopReporter() eRep := rep.RelayerExecReporter(t) diff --git a/tests/interchaintest/push_wasm_client_code_test.go b/tests/interchaintest/push_wasm_client_code_test.go index 1d1cfbd0c..0ee27ba42 100644 --- a/tests/interchaintest/push_wasm_client_code_test.go +++ b/tests/interchaintest/push_wasm_client_code_test.go @@ -66,11 +66,11 @@ func TestPushWasmClientCode(t *testing.T) { { ChainConfig: ibc.ChainConfig{ Type: "cosmos", - Name: "composable", + Name: "centauri", ChainID: "centaurid", Images: []ibc.DockerImage{CentauriImage}, - Bin: "composabled", - Bech32Prefix: "composable", + Bin: "centaurid", + Bech32Prefix: "centauri", Denom: "stake", GasPrices: "0.00stake", GasAdjustment: 1.3, @@ -87,11 +87,11 @@ func TestPushWasmClientCode(t *testing.T) { chains, err := cf.Chains(t.Name()) require.NoError(t, err) - composabled := chains[0] + centaurid := chains[0] t.Logf("NewInterchain") ic := interchaintest.NewInterchain(). - AddChain(composabled) + AddChain(centaurid) t.Logf("Interchain build options") require.NoError(t, ic.Build(ctx, eRep, interchaintest.InterchainBuildOptions{ @@ -108,46 +108,46 @@ func TestPushWasmClientCode(t *testing.T) { // Create and Fund User Wallets fundAmount := int64(10_000_000_000) - users := interchaintest.GetAndFundTestUsers(t, ctx, "default", int64(fundAmount), composabled) + users := interchaintest.GetAndFundTestUsers(t, ctx, "default", int64(fundAmount), centaurid) centaurid1User := users[0] - err = testutil.WaitForBlocks(ctx, 10, composabled) + err = testutil.WaitForBlocks(ctx, 10, centaurid) require.NoError(t, err) - centaurid1UserBalInitial, err := composabled.GetBalance(ctx, centaurid1User.FormattedAddress(), composabled.Config().Denom) + centaurid1UserBalInitial, err := centaurid.GetBalance(ctx, centaurid1User.FormattedAddress(), centaurid.Config().Denom) require.NoError(t, err) require.Equal(t, fundAmount, centaurid1UserBalInitial) - composabledChain := composabled.(*cosmos.CosmosChain) + centauridChain := centaurid.(*cosmos.CosmosChain) // Verify a normal user cannot push a wasm light client contract - _, err = composabledChain.StoreClientContract(ctx, centaurid1User.KeyName(), "ics10_grandpa_cw.wasm") + _, err = centauridChain.StoreClientContract(ctx, centaurid1User.KeyName(), "ics10_grandpa_cw.wasm") require.ErrorContains(t, err, "invalid authority") proposal := cosmos.TxProposalv1{ Metadata: "none", - Deposit: "500000000" + composabledChain.Config().Denom, // greater than min deposit + Deposit: "500000000" + centauridChain.Config().Denom, // greater than min deposit Title: "Grandpa Contract", Summary: "new grandpa contract", } - proposalTx, codeHash, err := composabledChain.PushNewWasmClientProposal(ctx, centaurid1User.KeyName(), "ics10_grandpa_cw.wasm", proposal) + proposalTx, codeHash, err := centauridChain.PushNewWasmClientProposal(ctx, centaurid1User.KeyName(), "ics10_grandpa_cw.wasm", proposal) require.NoError(t, err, "error submitting new wasm contract proposal tx") - height, err := composabledChain.Height(ctx) + height, err := centauridChain.Height(ctx) require.NoError(t, err, "error fetching height before submit upgrade proposal") - err = composabledChain.VoteOnProposalAllValidators(ctx, proposalTx.ProposalID, cosmos.ProposalVoteYes) + err = centauridChain.VoteOnProposalAllValidators(ctx, proposalTx.ProposalID, cosmos.ProposalVoteYes) require.NoError(t, err, "failed to submit votes") - _, err = cosmos.PollForProposalStatus(ctx, composabledChain, height, height+heightDelta, proposalTx.ProposalID, cosmos.ProposalStatusPassed) + _, err = cosmos.PollForProposalStatus(ctx, centauridChain, height, height+heightDelta, proposalTx.ProposalID, cosmos.ProposalStatusPassed) require.NoError(t, err, "proposal status did not change to passed in expected number of blocks") - err = testutil.WaitForBlocks(ctx, 2, composabledChain) + err = testutil.WaitForBlocks(ctx, 2, centaurid) require.NoError(t, err) var getCodeQueryMsgRsp GetCodeQueryMsgResponse - err = composabledChain.QueryClientContractCode(ctx, codeHash, &getCodeQueryMsgRsp) + err = centauridChain.QueryClientContractCode(ctx, codeHash, &getCodeQueryMsgRsp) codeHashByte32 := sha256.Sum256(getCodeQueryMsgRsp.Code) codeHash2 := hex.EncodeToString(codeHashByte32[:]) t.Logf("Contract codeHash from code: %s", codeHash2) diff --git a/tests/interchaintest/setup.go b/tests/interchaintest/setup.go index cf70a985c..74e6b338c 100644 --- a/tests/interchaintest/setup.go +++ b/tests/interchaintest/setup.go @@ -8,8 +8,8 @@ import ( ) var ( - CentauriMainRepo = "ghcr.io/notional-labs/composable" - CentauriICTestRepo = "ghcr.io/notional-labs/composable-ictest" + CentauriMainRepo = "ghcr.io/notional-labs/centauri" + CentauriICTestRepo = "ghcr.io/notional-labs/centauri-ictest" repo, version = GetDockerImageInfo() @@ -19,13 +19,13 @@ var ( UidGid: "1025:1025", } - composableConfig = ibc.ChainConfig{ + centauriConfig = ibc.ChainConfig{ Type: "cosmos", - Name: "composable", - ChainID: "composable-2", + Name: "centauri", + ChainID: "centauri-2", Images: []ibc.DockerImage{CentauriImage}, - Bin: "composabled", - Bech32Prefix: "composable", + Bin: "centaurid", + Bech32Prefix: "centauri", Denom: "stake", CoinType: "118", GasPrices: "0.0stake", @@ -45,7 +45,7 @@ func GetDockerImageInfo() (repo, version string) { repo = CentauriICTestRepo if !found { // make local-image - repo = "composable" + repo = "centauri" branchVersion = "debug" } diff --git a/tests/interchaintest/upgrade_chain_test.go b/tests/interchaintest/upgrade_chain_test.go index 874fff5a6..43c594cac 100644 --- a/tests/interchaintest/upgrade_chain_test.go +++ b/tests/interchaintest/upgrade_chain_test.go @@ -18,9 +18,9 @@ const ( blocksAfterUpgrade = uint64(10) ) -func TestComposableUpgrade(t *testing.T) { +func TestCentauriUpgrade(t *testing.T) { repo, version := GetDockerImageInfo() - CosmosChainUpgradeTest(t, repo, version, "composable") + CosmosChainUpgradeTest(t, repo, version, "v5") } func CosmosChainUpgradeTest(t *testing.T, upgradeContainerRepo, upgradeVersion, upgradeName string) { @@ -39,7 +39,7 @@ func CosmosChainUpgradeTest(t *testing.T, upgradeContainerRepo, upgradeVersion, Images: []ibc.DockerImage{ { Repository: "ghcr.io/notional-labs/centauri", - Version: "6.0", + Version: "4.5.1", UidGid: "1025:1025", }, }, diff --git a/tests/interchaintest/validator_test.go b/tests/interchaintest/validator_test.go index da8266276..149a94b0e 100644 --- a/tests/interchaintest/validator_test.go +++ b/tests/interchaintest/validator_test.go @@ -30,8 +30,8 @@ func TestValidator(t *testing.T) { cf := interchaintest.NewBuiltinChainFactory(zaptest.NewLogger(t), []*interchaintest.ChainSpec{ { - Name: "composable", - ChainConfig: composableConfig, + Name: "centauri", + ChainConfig: centauriConfig, NumValidators: &numVals, NumFullNodes: &numFullNodes, }, diff --git a/x/ibc-hooks/client/cli/query.go b/x/ibc-hooks/client/cli/query.go index d6d2399bb..d50b33721 100644 --- a/x/ibc-hooks/client/cli/query.go +++ b/x/ibc-hooks/client/cli/query.go @@ -9,9 +9,9 @@ import ( "github.com/cosmos/cosmos-sdk/version" "github.com/spf13/cobra" - "github.com/notional-labs/composable/v5/x/ibc-hooks/keeper" + "github.com/notional-labs/centauri/v5/x/ibc-hooks/keeper" - "github.com/notional-labs/composable/v5/x/ibc-hooks/types" + "github.com/notional-labs/centauri/v5/x/ibc-hooks/types" ) func indexRunCmd(cmd *cobra.Command, _ []string) error { diff --git a/x/ibc-hooks/keeper/keeper.go b/x/ibc-hooks/keeper/keeper.go index 610d41361..ce62455b2 100644 --- a/x/ibc-hooks/keeper/keeper.go +++ b/x/ibc-hooks/keeper/keeper.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/address" - "github.com/notional-labs/composable/v5/x/ibc-hooks/types" + "github.com/notional-labs/centauri/v5/x/ibc-hooks/types" ) type ( diff --git a/x/ibc-hooks/module.go b/x/ibc-hooks/module.go index 686e41cd9..3ccf43cc5 100644 --- a/x/ibc-hooks/module.go +++ b/x/ibc-hooks/module.go @@ -10,8 +10,8 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" - "github.com/notional-labs/composable/v5/x/ibc-hooks/client/cli" - "github.com/notional-labs/composable/v5/x/ibc-hooks/types" + "github.com/notional-labs/centauri/v5/x/ibc-hooks/client/cli" + "github.com/notional-labs/centauri/v5/x/ibc-hooks/types" cdctypes "github.com/cosmos/cosmos-sdk/codec/types" diff --git a/x/ibc-hooks/relay_test.go b/x/ibc-hooks/relay_test.go index 940e22377..a76b2c2dc 100644 --- a/x/ibc-hooks/relay_test.go +++ b/x/ibc-hooks/relay_test.go @@ -10,8 +10,8 @@ import ( clienttypes "github.com/cosmos/ibc-go/v7/modules/core/02-client/types" "github.com/stretchr/testify/suite" - customibctesting "github.com/notional-labs/composable/v5/app/ibctesting" - ibchookskeeper "github.com/notional-labs/composable/v5/x/ibc-hooks/keeper" + customibctesting "github.com/notional-labs/centauri/v5/app/ibctesting" + ibchookskeeper "github.com/notional-labs/centauri/v5/x/ibc-hooks/keeper" ) // TODO: use testsuite here. diff --git a/x/ibc-hooks/wasm_hook.go b/x/ibc-hooks/wasm_hook.go index d0f8e5539..a69a3b5bb 100644 --- a/x/ibc-hooks/wasm_hook.go +++ b/x/ibc-hooks/wasm_hook.go @@ -11,8 +11,8 @@ import ( channeltypes "github.com/cosmos/ibc-go/v7/modules/core/04-channel/types" ibcexported "github.com/cosmos/ibc-go/v7/modules/core/exported" - "github.com/notional-labs/composable/v5/x/ibc-hooks/keeper" - "github.com/notional-labs/composable/v5/x/ibc-hooks/types" + "github.com/notional-labs/centauri/v5/x/ibc-hooks/keeper" + "github.com/notional-labs/centauri/v5/x/ibc-hooks/types" errorsmod "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/mint/abci.go b/x/mint/abci.go index aaf997f05..fa4579202 100644 --- a/x/mint/abci.go +++ b/x/mint/abci.go @@ -6,8 +6,8 @@ import ( "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/notional-labs/composable/v5/x/mint/keeper" - "github.com/notional-labs/composable/v5/x/mint/types" + "github.com/notional-labs/centauri/v5/x/mint/keeper" + "github.com/notional-labs/centauri/v5/x/mint/types" ) // BeginBlocker mints new tokens for the previous block. diff --git a/x/mint/client/cli/query.go b/x/mint/client/cli/query.go index 7dc45b357..e8ea5154a 100644 --- a/x/mint/client/cli/query.go +++ b/x/mint/client/cli/query.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/notional-labs/composable/v5/x/mint/types" + "github.com/notional-labs/centauri/v5/x/mint/types" ) // GetQueryCmd returns the cli query commands for the minting module. diff --git a/x/mint/client/cli/tx.go b/x/mint/client/cli/tx.go index c43282314..1c89d5367 100644 --- a/x/mint/client/cli/tx.go +++ b/x/mint/client/cli/tx.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/spf13/cobra" - "github.com/notional-labs/composable/v5/x/mint/types" + "github.com/notional-labs/centauri/v5/x/mint/types" ) // GetTxCmd returns the tx commands for mint diff --git a/x/mint/keeper/genesis.go b/x/mint/keeper/genesis.go index ef75f172f..c81cd6e8f 100644 --- a/x/mint/keeper/genesis.go +++ b/x/mint/keeper/genesis.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/notional-labs/composable/v5/x/mint/types" + "github.com/notional-labs/centauri/v5/x/mint/types" ) // InitGenesis new mint genesis diff --git a/x/mint/keeper/grpc_query.go b/x/mint/keeper/grpc_query.go index a529c76bb..0ce76b45c 100644 --- a/x/mint/keeper/grpc_query.go +++ b/x/mint/keeper/grpc_query.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/notional-labs/composable/v5/x/mint/types" + "github.com/notional-labs/centauri/v5/x/mint/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/mint/keeper/keeper.go b/x/mint/keeper/keeper.go index 861ff1c95..cd9e95606 100644 --- a/x/mint/keeper/keeper.go +++ b/x/mint/keeper/keeper.go @@ -10,7 +10,7 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/notional-labs/composable/v5/x/mint/types" + "github.com/notional-labs/centauri/v5/x/mint/types" ) // Keeper of the mint store diff --git a/x/mint/keeper/msg_server.go b/x/mint/keeper/msg_server.go index 8df1a730f..64a984a44 100644 --- a/x/mint/keeper/msg_server.go +++ b/x/mint/keeper/msg_server.go @@ -8,7 +8,7 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/notional-labs/composable/v5/x/mint/types" + "github.com/notional-labs/centauri/v5/x/mint/types" ) var _ types.MsgServer = msgServer{} diff --git a/x/mint/module.go b/x/mint/module.go index b96e38e28..1769e9d05 100644 --- a/x/mint/module.go +++ b/x/mint/module.go @@ -16,10 +16,10 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/notional-labs/composable/v5/x/mint/client/cli" - "github.com/notional-labs/composable/v5/x/mint/keeper" - "github.com/notional-labs/composable/v5/x/mint/simulation" - "github.com/notional-labs/composable/v5/x/mint/types" + "github.com/notional-labs/centauri/v5/x/mint/client/cli" + "github.com/notional-labs/centauri/v5/x/mint/keeper" + "github.com/notional-labs/centauri/v5/x/mint/simulation" + "github.com/notional-labs/centauri/v5/x/mint/types" ) var ( diff --git a/x/mint/simulation/decoder.go b/x/mint/simulation/decoder.go index 2bceab372..14f17c7db 100644 --- a/x/mint/simulation/decoder.go +++ b/x/mint/simulation/decoder.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/types/kv" - "github.com/notional-labs/composable/v5/x/mint/types" + "github.com/notional-labs/centauri/v5/x/mint/types" ) // NewDecodeStore returns a decoder function closure that unmarshals the KVPair's diff --git a/x/mint/simulation/decoder_test.go b/x/mint/simulation/decoder_test.go index 116d9b694..f8d51a8c8 100644 --- a/x/mint/simulation/decoder_test.go +++ b/x/mint/simulation/decoder_test.go @@ -10,8 +10,8 @@ import ( "github.com/cosmos/cosmos-sdk/types/kv" "github.com/cosmos/cosmos-sdk/types/module/testutil" - "github.com/notional-labs/composable/v5/x/mint/simulation" - composableminttypes "github.com/notional-labs/composable/v5/x/mint/types" + "github.com/notional-labs/centauri/v5/x/mint/simulation" + centauriminttypes "github.com/notional-labs/centauri/v5/x/mint/types" ) func TestDecodeStore(t *testing.T) { @@ -20,7 +20,7 @@ func TestDecodeStore(t *testing.T) { kvPairs := kv.Pairs{ Pairs: []kv.Pair{ - {Key: composableminttypes.MinterKey, Value: cdc.MustMarshal(&composableminttypes.Minter{Inflation: sdk.NewDec(13), AnnualProvisions: sdk.NewDec(1)})}, + {Key: centauriminttypes.MinterKey, Value: cdc.MustMarshal(¢auriminttypes.Minter{Inflation: sdk.NewDec(13), AnnualProvisions: sdk.NewDec(1)})}, {Key: []byte{0x99}, Value: []byte{0x99}}, }, } @@ -29,7 +29,7 @@ func TestDecodeStore(t *testing.T) { name string expectedLog string }{ - {"Minter", fmt.Sprintf("%v\n%v", composableminttypes.Minter{Inflation: sdk.NewDec(13), AnnualProvisions: sdk.NewDec(1)}, composableminttypes.Minter{Inflation: sdk.NewDec(13), AnnualProvisions: sdk.NewDec(1)})}, + {"Minter", fmt.Sprintf("%v\n%v", centauriminttypes.Minter{Inflation: sdk.NewDec(13), AnnualProvisions: sdk.NewDec(1)}, centauriminttypes.Minter{Inflation: sdk.NewDec(13), AnnualProvisions: sdk.NewDec(1)})}, {"other", ""}, } for i, tt := range tests { diff --git a/x/mint/simulation/genesis.go b/x/mint/simulation/genesis.go index eadedce53..8aba1bcc2 100644 --- a/x/mint/simulation/genesis.go +++ b/x/mint/simulation/genesis.go @@ -9,7 +9,7 @@ import ( simtypes "github.com/cosmos/cosmos-sdk/types/simulation" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/notional-labs/composable/v5/x/mint/types" + "github.com/notional-labs/centauri/v5/x/mint/types" ) // Simulation parameter constants diff --git a/x/mint/simulation/genesis_test.go b/x/mint/simulation/genesis_test.go index f25e7d2d5..984c38581 100644 --- a/x/mint/simulation/genesis_test.go +++ b/x/mint/simulation/genesis_test.go @@ -14,8 +14,8 @@ import ( simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/mint" - "github.com/notional-labs/composable/v5/x/mint/simulation" - "github.com/notional-labs/composable/v5/x/mint/types" + "github.com/notional-labs/centauri/v5/x/mint/simulation" + "github.com/notional-labs/centauri/v5/x/mint/types" ) // TestRandomizedGenState tests the normal scenario of applying RandomizedGenState. diff --git a/x/mint/simulation/proposals.go b/x/mint/simulation/proposals.go index 77fc5b846..d98b8d360 100644 --- a/x/mint/simulation/proposals.go +++ b/x/mint/simulation/proposals.go @@ -8,7 +8,7 @@ import ( simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" - "github.com/notional-labs/composable/v5/x/mint/types" + "github.com/notional-labs/centauri/v5/x/mint/types" ) // Simulation operation weights constants diff --git a/x/mint/simulation/proposals_test.go b/x/mint/simulation/proposals_test.go index 761f1588f..56d62c167 100644 --- a/x/mint/simulation/proposals_test.go +++ b/x/mint/simulation/proposals_test.go @@ -11,8 +11,8 @@ import ( "github.com/cosmos/cosmos-sdk/types/address" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/notional-labs/composable/v5/x/mint/simulation" - "github.com/notional-labs/composable/v5/x/mint/types" + "github.com/notional-labs/centauri/v5/x/mint/simulation" + "github.com/notional-labs/centauri/v5/x/mint/types" ) func TestProposalMsgs(t *testing.T) { diff --git a/x/mint/types/codec.go b/x/mint/types/codec.go index 5032b1376..bfb5e25f6 100644 --- a/x/mint/types/codec.go +++ b/x/mint/types/codec.go @@ -27,10 +27,10 @@ func init() { // RegisterLegacyAminoCodec registers concrete types on the LegacyAmino codec func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { - cdc.RegisterConcrete(Params{}, "composable/x/mintParams", nil) - legacy.RegisterAminoMsg(cdc, &MsgUpdateParams{}, "composable/MsgUpdateParams") - cdc.RegisterConcrete(&MsgFundModuleAccount{}, "composable/FundModuleAccount", nil) - cdc.RegisterConcrete(&MsgAddAccountToFundModuleSet{}, "composable/MsgAddAccountToFundModuleSet", nil) + cdc.RegisterConcrete(Params{}, "centauri/x/mintParams", nil) + legacy.RegisterAminoMsg(cdc, &MsgUpdateParams{}, "centauri/MsgUpdateParams") + cdc.RegisterConcrete(&MsgFundModuleAccount{}, "centauri/FundModuleAccount", nil) + cdc.RegisterConcrete(&MsgAddAccountToFundModuleSet{}, "centauri/MsgAddAccountToFundModuleSet", nil) } // RegisterInterfaces registers the interfaces types with the interface registry. diff --git a/x/mint/types/genesis.pb.go b/x/mint/types/genesis.pb.go index ca1ef196c..4c2486d24 100644 --- a/x/mint/types/genesis.pb.go +++ b/x/mint/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: composable/mint/v1beta1/genesis.proto +// source: centauri/mint/v1beta1/genesis.proto package types @@ -37,7 +37,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} } func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_e0d194becbc68041, []int{0} + return fileDescriptor_dc8b577617211e57, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -88,34 +88,34 @@ func (m *GenesisState) GetIncentivesSupply() types.Coin { } func init() { - proto.RegisterType((*GenesisState)(nil), "composable.mint.v1beta1.GenesisState") + proto.RegisterType((*GenesisState)(nil), "centauri.mint.v1beta1.GenesisState") } func init() { - proto.RegisterFile("composable/mint/v1beta1/genesis.proto", fileDescriptor_e0d194becbc68041) + proto.RegisterFile("centauri/mint/v1beta1/genesis.proto", fileDescriptor_dc8b577617211e57) } -var fileDescriptor_e0d194becbc68041 = []byte{ - // 297 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xbb, 0x4e, 0xc3, 0x30, - 0x14, 0x86, 0x93, 0x82, 0x3a, 0x84, 0x0e, 0x10, 0x21, 0x11, 0x3a, 0x38, 0xa8, 0x12, 0x97, 0x05, - 0x5b, 0x85, 0x99, 0x25, 0x0c, 0x4c, 0x48, 0xa8, 0xdd, 0x58, 0x90, 0x1d, 0xac, 0x60, 0xd1, 0xd8, - 0x56, 0x8e, 0x5b, 0xe8, 0x03, 0xb0, 0xf3, 0x1c, 0x3c, 0x49, 0xc7, 0x8e, 0x4c, 0x80, 0x92, 0x17, - 0x41, 0xb6, 0x43, 0x3b, 0x55, 0x4c, 0xb6, 0x74, 0xbe, 0xef, 0x3f, 0x97, 0xe8, 0x38, 0x57, 0xa5, - 0x56, 0x40, 0xd9, 0x84, 0x93, 0x52, 0x48, 0x43, 0x66, 0x43, 0xc6, 0x0d, 0x1d, 0x92, 0x82, 0x4b, - 0x0e, 0x02, 0xb0, 0xae, 0x94, 0x51, 0xf1, 0xc1, 0x1a, 0xc3, 0x16, 0xc3, 0x2d, 0xd6, 0xdf, 0x2f, - 0x54, 0xa1, 0x1c, 0x43, 0xec, 0xcf, 0xe3, 0xfd, 0xc1, 0xa6, 0x54, 0xe7, 0x7a, 0x06, 0xe5, 0x0a, - 0x4a, 0x05, 0x84, 0x51, 0xe0, 0xab, 0x7a, 0xae, 0x84, 0xf4, 0xf5, 0xc1, 0x5b, 0x27, 0xea, 0xdd, - 0xf8, 0x21, 0xc6, 0x86, 0x1a, 0x1e, 0x5f, 0x45, 0x5d, 0xab, 0xf3, 0x2a, 0x09, 0x8f, 0xc2, 0xb3, - 0x9d, 0x8b, 0x14, 0x6f, 0x18, 0x0a, 0xdf, 0x3a, 0x2c, 0xdb, 0x5e, 0x7c, 0xa5, 0xc1, 0xa8, 0x95, - 0xac, 0xae, 0x69, 0x45, 0x4b, 0x48, 0x3a, 0xff, 0xe8, 0x77, 0x0e, 0xfb, 0xd3, 0xbd, 0x14, 0xbf, - 0x44, 0x7b, 0x42, 0xe6, 0x5c, 0x1a, 0x31, 0xe3, 0xf0, 0x00, 0x53, 0xad, 0x27, 0xf3, 0x64, 0xcb, - 0x25, 0x1d, 0x62, 0xbf, 0x0a, 0xb6, 0xab, 0xac, 0x52, 0xae, 0x95, 0x90, 0x19, 0xb1, 0x19, 0x1f, - 0xdf, 0xe9, 0x69, 0x21, 0xcc, 0xd3, 0x94, 0xd9, 0x96, 0xa4, 0xdd, 0xdb, 0x3f, 0xe7, 0xf0, 0xf8, - 0x4c, 0xcc, 0x5c, 0x73, 0x70, 0xc2, 0x68, 0x77, 0xdd, 0x64, 0xec, 0x7a, 0x64, 0x27, 0x8b, 0x1a, - 0x85, 0xcb, 0x1a, 0x85, 0x3f, 0x35, 0x0a, 0xdf, 0x1b, 0x14, 0x2c, 0x1b, 0x14, 0x7c, 0x36, 0x28, - 0xb8, 0xef, 0xbd, 0xfa, 0xe3, 0x3a, 0x9d, 0x75, 0xdd, 0xd9, 0x2e, 0x7f, 0x03, 0x00, 0x00, 0xff, - 0xff, 0x0b, 0x15, 0x2b, 0x2e, 0xd2, 0x01, 0x00, 0x00, +var fileDescriptor_dc8b577617211e57 = []byte{ + // 296 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x3f, 0x4e, 0xc3, 0x30, + 0x14, 0x87, 0xe3, 0x82, 0x3a, 0x84, 0x0e, 0x10, 0x81, 0x14, 0x2a, 0xe1, 0x56, 0x20, 0x01, 0x0b, + 0xb6, 0x0a, 0x23, 0x5b, 0x18, 0x98, 0x90, 0x50, 0xbb, 0xb1, 0x20, 0x27, 0x58, 0xc1, 0x82, 0xd8, + 0x56, 0x9e, 0x53, 0xe8, 0xc8, 0x0d, 0x38, 0x07, 0x27, 0xe9, 0xd8, 0x91, 0x09, 0x50, 0x72, 0x11, + 0x64, 0x3b, 0x2d, 0x4b, 0xc5, 0x64, 0x4b, 0xef, 0xfb, 0x7e, 0xef, 0x4f, 0x78, 0x94, 0x71, 0x69, + 0x58, 0x55, 0x0a, 0x5a, 0x08, 0x69, 0xe8, 0x74, 0x94, 0x72, 0xc3, 0x46, 0x34, 0xe7, 0x92, 0x83, + 0x00, 0xa2, 0x4b, 0x65, 0x54, 0xb4, 0xb7, 0x84, 0x88, 0x85, 0x48, 0x0b, 0xf5, 0x77, 0x73, 0x95, + 0x2b, 0x47, 0x50, 0xfb, 0xf3, 0x70, 0x7f, 0xb8, 0x3e, 0xd1, 0x99, 0x9e, 0xc0, 0x99, 0x82, 0x42, + 0x01, 0x4d, 0x19, 0xf0, 0x55, 0x3d, 0x53, 0x42, 0xfa, 0xfa, 0xe1, 0x5b, 0x27, 0xec, 0x5d, 0xfb, + 0x01, 0x26, 0x86, 0x19, 0x1e, 0x5d, 0x86, 0x5d, 0xab, 0xf3, 0x32, 0x46, 0x43, 0x74, 0xba, 0x75, + 0x7e, 0x40, 0xd6, 0x0e, 0x44, 0x6e, 0x1c, 0x94, 0x6c, 0xce, 0xbf, 0x06, 0xc1, 0xb8, 0x55, 0xac, + 0xac, 0x59, 0xc9, 0x0a, 0x88, 0x3b, 0xff, 0xca, 0xb7, 0x0e, 0x5a, 0xca, 0x5e, 0x89, 0x5e, 0xc2, + 0x1d, 0x21, 0x2d, 0x2f, 0xa6, 0x1c, 0xee, 0xa1, 0xd2, 0xfa, 0x79, 0x16, 0x6f, 0xb8, 0x9c, 0x7d, + 0xe2, 0xd7, 0x20, 0x76, 0x8d, 0x55, 0xca, 0x95, 0x12, 0x32, 0xa1, 0x36, 0xe3, 0xe3, 0x7b, 0x70, + 0x92, 0x0b, 0xf3, 0x58, 0xa5, 0x24, 0x53, 0x05, 0x6d, 0x77, 0xf6, 0xcf, 0x19, 0x3c, 0x3c, 0x51, + 0x33, 0xd3, 0x1c, 0x9c, 0x30, 0xde, 0xfe, 0x6b, 0x32, 0x71, 0x3d, 0x92, 0xe3, 0x79, 0x8d, 0xd1, + 0xa2, 0xc6, 0xe8, 0xa7, 0xc6, 0xe8, 0xbd, 0xc1, 0xc1, 0xa2, 0xc1, 0xc1, 0x67, 0x83, 0x83, 0xbb, + 0xde, 0xab, 0x3f, 0xac, 0xd3, 0xd3, 0xae, 0x3b, 0xd9, 0xc5, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, + 0x7c, 0x38, 0xd2, 0x82, 0xc8, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/mint/types/mint.pb.go b/x/mint/types/mint.pb.go index cebfddc2f..729d1ade0 100644 --- a/x/mint/types/mint.pb.go +++ b/x/mint/types/mint.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: composable/mint/v1beta1/mint.proto +// source: centauri/mint/v1beta1/mint.proto package types @@ -37,7 +37,7 @@ func (m *Minter) Reset() { *m = Minter{} } func (m *Minter) String() string { return proto.CompactTextString(m) } func (*Minter) ProtoMessage() {} func (*Minter) Descriptor() ([]byte, []int) { - return fileDescriptor_eddbd7b6ac49f431, []int{0} + return fileDescriptor_6112c5a3a9c60a07, []int{0} } func (m *Minter) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -85,7 +85,7 @@ type Params struct { func (m *Params) Reset() { *m = Params{} } func (*Params) ProtoMessage() {} func (*Params) Descriptor() ([]byte, []int) { - return fileDescriptor_eddbd7b6ac49f431, []int{1} + return fileDescriptor_6112c5a3a9c60a07, []int{1} } func (m *Params) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -129,43 +129,41 @@ func (m *Params) GetBlocksPerYear() uint64 { } func init() { - proto.RegisterType((*Minter)(nil), "composable.mint.v1beta1.Minter") - proto.RegisterType((*Params)(nil), "composable.mint.v1beta1.Params") + proto.RegisterType((*Minter)(nil), "centauri.mint.v1beta1.Minter") + proto.RegisterType((*Params)(nil), "centauri.mint.v1beta1.Params") } -func init() { - proto.RegisterFile("composable/mint/v1beta1/mint.proto", fileDescriptor_eddbd7b6ac49f431) -} +func init() { proto.RegisterFile("centauri/mint/v1beta1/mint.proto", fileDescriptor_6112c5a3a9c60a07) } -var fileDescriptor_eddbd7b6ac49f431 = []byte{ - // 419 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x93, 0x41, 0x8b, 0xd3, 0x40, - 0x18, 0x86, 0x13, 0xb7, 0x54, 0x3a, 0x2a, 0xd5, 0x51, 0xb1, 0x2e, 0x98, 0x2e, 0x3d, 0x94, 0xbd, - 0x6c, 0xc2, 0xe2, 0x4d, 0x3c, 0xd5, 0x5e, 0xf6, 0x20, 0x94, 0xe0, 0xc5, 0x05, 0x19, 0x26, 0xc9, - 0x67, 0x76, 0x68, 0x66, 0xbe, 0x30, 0x33, 0xbb, 0x74, 0xff, 0x85, 0x47, 0x8f, 0xfe, 0x08, 0x7f, - 0xc4, 0xde, 0x5c, 0x3c, 0x89, 0x87, 0x22, 0xed, 0xdf, 0xf0, 0x20, 0x93, 0x09, 0x6d, 0xf1, 0x26, - 0xf6, 0x94, 0xcc, 0xfb, 0xbd, 0x79, 0xde, 0xf7, 0x0b, 0x09, 0x19, 0xe5, 0x28, 0x6b, 0x34, 0x3c, - 0xab, 0x20, 0x91, 0x42, 0xd9, 0xe4, 0xea, 0x34, 0x03, 0xcb, 0x4f, 0x9b, 0x43, 0x5c, 0x6b, 0xb4, - 0x48, 0x9f, 0x6d, 0x3d, 0x71, 0x23, 0xb7, 0x9e, 0xc3, 0x27, 0x25, 0x96, 0xd8, 0x78, 0x12, 0x77, - 0xe7, 0xed, 0x87, 0xc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, 0x81, 0x97, 0x67, 0xa0, 0xdf, - 0x03, 0xd7, 0x54, 0x10, 0x2a, 0xf9, 0x82, 0x59, 0x9c, 0x83, 0xda, 0x5a, 0xbb, 0xff, 0xdc, 0xe6, - 0x4c, 0xd9, 0x9d, 0x36, 0x67, 0xca, 0xa6, 0x7d, 0xc9, 0x17, 0xef, 0x1c, 0x76, 0x37, 0x4a, 0xa8, - 0xbf, 0xa3, 0xee, 0xfe, 0x67, 0x94, 0x5b, 0xbc, 0x2f, 0x85, 0xda, 0x8d, 0x7a, 0xd5, 0xf9, 0xfc, - 0x65, 0x18, 0x4c, 0xc6, 0x37, 0xab, 0x28, 0xbc, 0x5d, 0x45, 0xe1, 0xaf, 0x55, 0x14, 0x7e, 0x5a, - 0x47, 0xc1, 0xed, 0x3a, 0x0a, 0x7e, 0xac, 0xa3, 0xe0, 0xfc, 0xfe, 0xc2, 0xff, 0x4f, 0x0d, 0x30, - 0xeb, 0x36, 0xdf, 0xff, 0xcb, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xe9, 0x16, 0x9b, 0x29, 0x6f, - 0x03, 0x00, 0x00, +var fileDescriptor_6112c5a3a9c60a07 = []byte{ + // 418 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x93, 0x31, 0x6f, 0xd3, 0x40, + 0x18, 0x86, 0x6d, 0x1a, 0x05, 0xe5, 0x00, 0x05, 0x0e, 0x2a, 0x85, 0x4a, 0x38, 0x51, 0x87, 0xa8, + 0x4b, 0x6d, 0x55, 0x6c, 0x88, 0x29, 0x64, 0xe9, 0x80, 0x14, 0x59, 0x2c, 0x54, 0x42, 0xa7, 0xb3, + 0xfd, 0xe1, 0x9e, 0xe2, 0xfb, 0xce, 0xba, 0xbb, 0x54, 0xe9, 0xbf, 0x60, 0x64, 0xe4, 0x47, 0xf0, + 0x23, 0xba, 0x51, 0x31, 0x21, 0x86, 0x0a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 0x68, 0x4d, 0xf6, 0x37, + 0x0d, 0x99, 0xe6, 0x16, 0x58, 0x7e, 0xce, 0xb1, 0x84, 0x9d, 0x14, 0x7b, 0xba, 0x41, 0xa7, 0xdc, + 0xc2, 0x9b, 0x06, 0x4c, 0x3f, 0x90, 0x07, 0xa5, 0xe2, 0x15, 0xcb, 0x14, 0x16, 0x50, 0x0c, 0xf6, + 0x76, 0x90, 0x43, 0x1c, 0x70, 0xd2, 0xf0, 0xe8, 0x98, 0xf4, 0xb3, 0x4a, 0xe5, 0x73, 0xc3, 0x6a, + 0xd0, 0xec, 0x12, 0xb8, 0x1e, 0x74, 0x46, 0xe1, 0x51, 0x27, 0x7d, 0xe4, 0xe5, 0x19, 0xe8, 0xf7, + 0xc0, 0x35, 0x15, 0x84, 0x4a, 0xbe, 0x64, 0x56, 0xcd, 0x01, 0x6f, 0xad, 0xdd, 0xff, 0x6e, 0x73, + 0x8a, 0x76, 0xab, 0xcd, 0x29, 0xda, 0xb4, 0x2f, 0xf9, 0xf2, 0x9d, 0xc3, 0x6e, 0x47, 0x09, 0xfc, + 0x37, 0xea, 0xfe, 0x1d, 0xa3, 0xdc, 0xe2, 0x7d, 0x29, 0x70, 0x3b, 0xea, 0x55, 0xe7, 0xf3, 0x97, + 0x61, 0x30, 0x19, 0x5f, 0xad, 0xa2, 0xf0, 0x7a, 0x15, 0x85, 0xbf, 0x56, 0x51, 0xf8, 0x69, 0x1d, + 0x05, 0xd7, 0xeb, 0x28, 0xf8, 0xb1, 0x8e, 0x82, 0xb3, 0x87, 0x4b, 0xff, 0x37, 0x35, 0xc0, 0xac, + 0xdb, 0x7c, 0xff, 0x2f, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x1b, 0x8e, 0xbd, 0xb4, 0x6b, 0x03, + 0x00, 0x00, } func (m *Minter) Marshal() (dAtA []byte, err error) { diff --git a/x/mint/types/query.pb.go b/x/mint/types/query.pb.go index f263fd872..83e8810e7 100644 --- a/x/mint/types/query.pb.go +++ b/x/mint/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: composable/mint/v1beta1/query.proto +// source: centauri/mint/v1beta1/query.proto package types @@ -38,7 +38,7 @@ func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} } func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) } func (*QueryParamsRequest) ProtoMessage() {} func (*QueryParamsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2530c578222e85a6, []int{0} + return fileDescriptor_e9f2a7e41e863c9e, []int{0} } func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -77,7 +77,7 @@ func (m *QueryParamsResponse) Reset() { *m = QueryParamsResponse{} } func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) } func (*QueryParamsResponse) ProtoMessage() {} func (*QueryParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2530c578222e85a6, []int{1} + return fileDescriptor_e9f2a7e41e863c9e, []int{1} } func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -121,7 +121,7 @@ func (m *QueryInflationRequest) Reset() { *m = QueryInflationRequest{} } func (m *QueryInflationRequest) String() string { return proto.CompactTextString(m) } func (*QueryInflationRequest) ProtoMessage() {} func (*QueryInflationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2530c578222e85a6, []int{2} + return fileDescriptor_e9f2a7e41e863c9e, []int{2} } func (m *QueryInflationRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -161,7 +161,7 @@ func (m *QueryInflationResponse) Reset() { *m = QueryInflationResponse{} func (m *QueryInflationResponse) String() string { return proto.CompactTextString(m) } func (*QueryInflationResponse) ProtoMessage() {} func (*QueryInflationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2530c578222e85a6, []int{3} + return fileDescriptor_e9f2a7e41e863c9e, []int{3} } func (m *QueryInflationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -199,7 +199,7 @@ func (m *QueryAnnualProvisionsRequest) Reset() { *m = QueryAnnualProvisi func (m *QueryAnnualProvisionsRequest) String() string { return proto.CompactTextString(m) } func (*QueryAnnualProvisionsRequest) ProtoMessage() {} func (*QueryAnnualProvisionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2530c578222e85a6, []int{4} + return fileDescriptor_e9f2a7e41e863c9e, []int{4} } func (m *QueryAnnualProvisionsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -239,7 +239,7 @@ func (m *QueryAnnualProvisionsResponse) Reset() { *m = QueryAnnualProvis func (m *QueryAnnualProvisionsResponse) String() string { return proto.CompactTextString(m) } func (*QueryAnnualProvisionsResponse) ProtoMessage() {} func (*QueryAnnualProvisionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2530c578222e85a6, []int{5} + return fileDescriptor_e9f2a7e41e863c9e, []int{5} } func (m *QueryAnnualProvisionsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -269,49 +269,47 @@ func (m *QueryAnnualProvisionsResponse) XXX_DiscardUnknown() { var xxx_messageInfo_QueryAnnualProvisionsResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*QueryParamsRequest)(nil), "composable.mint.v1beta1.QueryParamsRequest") - proto.RegisterType((*QueryParamsResponse)(nil), "composable.mint.v1beta1.QueryParamsResponse") - proto.RegisterType((*QueryInflationRequest)(nil), "composable.mint.v1beta1.QueryInflationRequest") - proto.RegisterType((*QueryInflationResponse)(nil), "composable.mint.v1beta1.QueryInflationResponse") - proto.RegisterType((*QueryAnnualProvisionsRequest)(nil), "composable.mint.v1beta1.QueryAnnualProvisionsRequest") - proto.RegisterType((*QueryAnnualProvisionsResponse)(nil), "composable.mint.v1beta1.QueryAnnualProvisionsResponse") -} - -func init() { - proto.RegisterFile("composable/mint/v1beta1/query.proto", fileDescriptor_2530c578222e85a6) -} - -var fileDescriptor_2530c578222e85a6 = []byte{ - // 451 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4e, 0xce, 0xcf, 0x2d, - 0xc8, 0x2f, 0x4e, 0x4c, 0xca, 0x49, 0xd5, 0xcf, 0xcd, 0xcc, 0x2b, 0xd1, 0x2f, 0x33, 0x4c, 0x4a, - 0x2d, 0x49, 0x34, 0xd4, 0x2f, 0x2c, 0x4d, 0x2d, 0xaa, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, - 0x12, 0x47, 0x28, 0xd2, 0x03, 0x29, 0xd2, 0x83, 0x2a, 0x92, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, - 0xab, 0xd1, 0x07, 0xb1, 0x20, 0xca, 0xa5, 0x64, 0xd2, 0xf3, 0xf3, 0xd3, 0x73, 0x52, 0xf5, 0x13, - 0x0b, 0x32, 0xf5, 0x13, 0xf3, 0xf2, 0xf2, 0x4b, 0x12, 0x4b, 0x32, 0xf3, 0xf3, 0x8a, 0xa1, 0xb2, - 0x4a, 0xb8, 0x6c, 0x04, 0x9b, 0x0c, 0x56, 0xa3, 0x24, 0xc2, 0x25, 0x14, 0x08, 0xb2, 0x3f, 0x20, - 0xb1, 0x28, 0x31, 0xb7, 0x38, 0x28, 0xb5, 0xb0, 0x34, 0xb5, 0xb8, 0x44, 0x29, 0x84, 0x4b, 0x18, - 0x45, 0xb4, 0xb8, 0x20, 0x3f, 0xaf, 0x38, 0x55, 0xc8, 0x96, 0x8b, 0xad, 0x00, 0x2c, 0x22, 0xc1, - 0xa8, 0xc0, 0xa8, 0xc1, 0x6d, 0x24, 0xaf, 0x87, 0xc3, 0xb9, 0x7a, 0x10, 0x8d, 0x4e, 0x2c, 0x27, - 0xee, 0xc9, 0x33, 0x04, 0x41, 0x35, 0x29, 0x89, 0x73, 0x89, 0x82, 0x4d, 0xf5, 0xcc, 0x4b, 0xcb, - 0x01, 0x3b, 0x14, 0x66, 0x5d, 0x1a, 0x97, 0x18, 0xba, 0x04, 0xd4, 0x46, 0x1f, 0x2e, 0xce, 0x4c, - 0x98, 0x20, 0xd8, 0x52, 0x1e, 0x27, 0x3d, 0x90, 0x99, 0xb7, 0xee, 0xc9, 0xab, 0xa5, 0x67, 0x96, - 0x64, 0x94, 0x26, 0x81, 0x9c, 0xa0, 0x9f, 0x9c, 0x5f, 0x9c, 0x9b, 0x5f, 0x0c, 0xa5, 0x74, 0x8b, - 0x53, 0xb2, 0xf5, 0x4b, 0x2a, 0x0b, 0x52, 0x8b, 0xf5, 0x5c, 0x52, 0x93, 0x83, 0x10, 0x06, 0x28, - 0xc9, 0x71, 0xc9, 0x80, 0xed, 0x71, 0xcc, 0xcb, 0x2b, 0x4d, 0xcc, 0x09, 0x28, 0xca, 0x2f, 0xcb, - 0x2c, 0x06, 0x85, 0x17, 0xcc, 0x1d, 0x35, 0x5c, 0xb2, 0x38, 0xe4, 0xa1, 0xce, 0x89, 0xe6, 0x12, - 0x4c, 0x04, 0xcb, 0xc5, 0x17, 0xc0, 0x25, 0xc9, 0x74, 0x96, 0x40, 0x22, 0x9a, 0x25, 0x46, 0x77, - 0x99, 0xb9, 0x58, 0xc1, 0xd6, 0x0b, 0x75, 0x30, 0x72, 0xb1, 0x41, 0x42, 0x50, 0x48, 0x1b, 0x67, - 0x10, 0x63, 0x46, 0x9b, 0x94, 0x0e, 0x71, 0x8a, 0x21, 0x9e, 0x51, 0x52, 0x6e, 0xba, 0xfc, 0x64, - 0x32, 0x93, 0xac, 0x90, 0x34, 0xcc, 0x9d, 0x28, 0x69, 0x04, 0x12, 0x67, 0x42, 0x53, 0x18, 0xb9, - 0x38, 0xe1, 0xd1, 0x22, 0xa4, 0x87, 0xdf, 0x02, 0xf4, 0x88, 0x95, 0xd2, 0x27, 0x5a, 0x3d, 0xd4, - 0x4d, 0x6a, 0x60, 0x37, 0x29, 0x08, 0xc9, 0x61, 0x75, 0x13, 0x3c, 0x26, 0x85, 0x36, 0x32, 0x72, - 0x09, 0xa0, 0xc7, 0x92, 0x90, 0x29, 0x7e, 0xdb, 0x70, 0xc4, 0xba, 0x94, 0x19, 0xa9, 0xda, 0xa0, - 0x6e, 0xd5, 0x03, 0xbb, 0x55, 0x43, 0x48, 0x0d, 0xab, 0x5b, 0x31, 0xd2, 0x89, 0x93, 0xda, 0x89, - 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, - 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0xf1, 0x54, 0x40, 0xf4, 0x82, 0x53, 0x47, - 0x12, 0x1b, 0x38, 0x67, 0x1a, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x64, 0x17, 0xda, 0xda, 0x31, - 0x04, 0x00, 0x00, + proto.RegisterType((*QueryParamsRequest)(nil), "centauri.mint.v1beta1.QueryParamsRequest") + proto.RegisterType((*QueryParamsResponse)(nil), "centauri.mint.v1beta1.QueryParamsResponse") + proto.RegisterType((*QueryInflationRequest)(nil), "centauri.mint.v1beta1.QueryInflationRequest") + proto.RegisterType((*QueryInflationResponse)(nil), "centauri.mint.v1beta1.QueryInflationResponse") + proto.RegisterType((*QueryAnnualProvisionsRequest)(nil), "centauri.mint.v1beta1.QueryAnnualProvisionsRequest") + proto.RegisterType((*QueryAnnualProvisionsResponse)(nil), "centauri.mint.v1beta1.QueryAnnualProvisionsResponse") +} + +func init() { proto.RegisterFile("centauri/mint/v1beta1/query.proto", fileDescriptor_e9f2a7e41e863c9e) } + +var fileDescriptor_e9f2a7e41e863c9e = []byte{ + // 450 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0x4f, 0x6f, 0xd3, 0x30, + 0x18, 0xc6, 0x63, 0xfe, 0x54, 0x9a, 0xd9, 0x61, 0x98, 0x0d, 0x50, 0x58, 0xbd, 0x12, 0xa4, 0x68, + 0x20, 0x66, 0x6b, 0x1b, 0x37, 0x4e, 0x54, 0x5c, 0x90, 0x38, 0x8c, 0x1c, 0xe1, 0x80, 0xdc, 0xe0, + 0x85, 0x88, 0xc6, 0xce, 0x62, 0x67, 0x62, 0x12, 0x27, 0xc4, 0x07, 0xa8, 0xc4, 0xe7, 0xe0, 0x7b, + 0xf4, 0x58, 0xc4, 0x05, 0x71, 0xa8, 0x50, 0xcb, 0x07, 0x41, 0x71, 0x9c, 0xa2, 0xa6, 0x69, 0x55, + 0x76, 0x4a, 0xe4, 0xf7, 0x79, 0xdf, 0xe7, 0x17, 0x3f, 0x6f, 0xe0, 0xfd, 0x90, 0x0b, 0xcd, 0xf2, + 0x2c, 0xa6, 0x49, 0x2c, 0x34, 0x3d, 0x3f, 0xec, 0x71, 0xcd, 0x0e, 0xe9, 0x59, 0xce, 0xb3, 0x0b, + 0x92, 0x66, 0x52, 0x4b, 0xb4, 0x53, 0x49, 0x48, 0x21, 0x21, 0x56, 0xe2, 0x6e, 0x47, 0x32, 0x92, + 0x46, 0x41, 0x8b, 0xb7, 0x52, 0xec, 0xee, 0x46, 0x52, 0x46, 0x7d, 0x4e, 0x59, 0x1a, 0x53, 0x26, + 0x84, 0xd4, 0x4c, 0xc7, 0x52, 0x28, 0x5b, 0xed, 0x34, 0xbb, 0x99, 0xb9, 0x46, 0xe1, 0x6d, 0x43, + 0xf4, 0xaa, 0xf0, 0x3e, 0x61, 0x19, 0x4b, 0x54, 0xc0, 0xcf, 0x72, 0xae, 0xb4, 0x17, 0xc0, 0x5b, + 0x73, 0xa7, 0x2a, 0x95, 0x42, 0x71, 0xf4, 0x14, 0xb6, 0x52, 0x73, 0x72, 0x17, 0x74, 0xc0, 0xfe, + 0x8d, 0xa3, 0x36, 0x69, 0x44, 0x25, 0x65, 0x5b, 0xf7, 0xda, 0x70, 0xbc, 0xe7, 0x04, 0xb6, 0xc5,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d, 0x27, 0xff, 0xd7, 0x64, 0x39, 0x89, 0xe1, 0xdc, 0x47, 0x7e, 0x23, + 0xe7, 0xc2, 0x6e, 0x74, 0xfd, 0xe1, 0x04, 0x83, 0xd1, 0x04, 0x83, 0xdf, 0x13, 0x0c, 0x06, 0x53, + 0xec, 0x8c, 0xa6, 0xd8, 0xf9, 0x39, 0xc5, 0xce, 0xeb, 0xcd, 0x8f, 0x65, 0xaf, 0xd9, 0x88, 0x5e, + 0xcb, 0xfc, 0x8b, 0xc7, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x5f, 0x3c, 0x0c, 0xa2, 0x1d, 0x04, + 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -344,7 +342,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { out := new(QueryParamsResponse) - err := c.cc.Invoke(ctx, "/composable.mint.v1beta1.Query/Params", in, out, opts...) + err := c.cc.Invoke(ctx, "/centauri.mint.v1beta1.Query/Params", in, out, opts...) if err != nil { return nil, err } @@ -353,7 +351,7 @@ func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts . func (c *queryClient) Inflation(ctx context.Context, in *QueryInflationRequest, opts ...grpc.CallOption) (*QueryInflationResponse, error) { out := new(QueryInflationResponse) - err := c.cc.Invoke(ctx, "/composable.mint.v1beta1.Query/Inflation", in, out, opts...) + err := c.cc.Invoke(ctx, "/centauri.mint.v1beta1.Query/Inflation", in, out, opts...) if err != nil { return nil, err } @@ -362,7 +360,7 @@ func (c *queryClient) Inflation(ctx context.Context, in *QueryInflationRequest, func (c *queryClient) AnnualProvisions(ctx context.Context, in *QueryAnnualProvisionsRequest, opts ...grpc.CallOption) (*QueryAnnualProvisionsResponse, error) { out := new(QueryAnnualProvisionsResponse) - err := c.cc.Invoke(ctx, "/composable.mint.v1beta1.Query/AnnualProvisions", in, out, opts...) + err := c.cc.Invoke(ctx, "/centauri.mint.v1beta1.Query/AnnualProvisions", in, out, opts...) if err != nil { return nil, err } @@ -407,7 +405,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/composable.mint.v1beta1.Query/Params", + FullMethod: "/centauri.mint.v1beta1.Query/Params", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) @@ -425,7 +423,7 @@ func _Query_Inflation_Handler(srv interface{}, ctx context.Context, dec func(int } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/composable.mint.v1beta1.Query/Inflation", + FullMethod: "/centauri.mint.v1beta1.Query/Inflation", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Inflation(ctx, req.(*QueryInflationRequest)) @@ -443,7 +441,7 @@ func _Query_AnnualProvisions_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/composable.mint.v1beta1.Query/AnnualProvisions", + FullMethod: "/centauri.mint.v1beta1.Query/AnnualProvisions", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).AnnualProvisions(ctx, req.(*QueryAnnualProvisionsRequest)) @@ -452,7 +450,7 @@ func _Query_AnnualProvisions_Handler(srv interface{}, ctx context.Context, dec f } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "composable.mint.v1beta1.Query", + ServiceName: "centauri.mint.v1beta1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -469,7 +467,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "composable/mint/v1beta1/query.proto", + Metadata: "centauri/mint/v1beta1/query.proto", } func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/mint/types/query.pb.gw.go b/x/mint/types/query.pb.gw.go index 1aa46aec0..74c57d6fb 100644 --- a/x/mint/types/query.pb.gw.go +++ b/x/mint/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: composable/mint/v1beta1/query.proto +// source: centauri/mint/v1beta1/query.proto /* Package types is a reverse proxy. diff --git a/x/mint/types/tx.pb.go b/x/mint/types/tx.pb.go index 7dc75f8ec..ac75494ea 100644 --- a/x/mint/types/tx.pb.go +++ b/x/mint/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: composable/mint/v1beta1/tx.proto +// source: centauri/mint/v1beta1/tx.proto package types @@ -50,7 +50,7 @@ func (m *MsgUpdateParams) Reset() { *m = MsgUpdateParams{} } func (m *MsgUpdateParams) String() string { return proto.CompactTextString(m) } func (*MsgUpdateParams) ProtoMessage() {} func (*MsgUpdateParams) Descriptor() ([]byte, []int) { - return fileDescriptor_0ffc1eea72e250ff, []int{0} + return fileDescriptor_80c8af29bb20a4d0, []int{0} } func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -104,7 +104,7 @@ func (m *MsgUpdateParamsResponse) Reset() { *m = MsgUpdateParamsResponse func (m *MsgUpdateParamsResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateParamsResponse) ProtoMessage() {} func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0ffc1eea72e250ff, []int{1} + return fileDescriptor_80c8af29bb20a4d0, []int{1} } func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -142,7 +142,7 @@ func (m *MsgFundModuleAccount) Reset() { *m = MsgFundModuleAccount{} } func (m *MsgFundModuleAccount) String() string { return proto.CompactTextString(m) } func (*MsgFundModuleAccount) ProtoMessage() {} func (*MsgFundModuleAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_0ffc1eea72e250ff, []int{2} + return fileDescriptor_80c8af29bb20a4d0, []int{2} } func (m *MsgFundModuleAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -192,7 +192,7 @@ func (m *MsgFundModuleAccountResponse) Reset() { *m = MsgFundModuleAccou func (m *MsgFundModuleAccountResponse) String() string { return proto.CompactTextString(m) } func (*MsgFundModuleAccountResponse) ProtoMessage() {} func (*MsgFundModuleAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0ffc1eea72e250ff, []int{3} + return fileDescriptor_80c8af29bb20a4d0, []int{3} } func (m *MsgFundModuleAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -233,7 +233,7 @@ func (m *MsgAddAccountToFundModuleSet) Reset() { *m = MsgAddAccountToFun func (m *MsgAddAccountToFundModuleSet) String() string { return proto.CompactTextString(m) } func (*MsgAddAccountToFundModuleSet) ProtoMessage() {} func (*MsgAddAccountToFundModuleSet) Descriptor() ([]byte, []int) { - return fileDescriptor_0ffc1eea72e250ff, []int{4} + return fileDescriptor_80c8af29bb20a4d0, []int{4} } func (m *MsgAddAccountToFundModuleSet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -283,7 +283,7 @@ func (m *MsgAddAccountToFundModuleSetResponse) Reset() { *m = MsgAddAcco func (m *MsgAddAccountToFundModuleSetResponse) String() string { return proto.CompactTextString(m) } func (*MsgAddAccountToFundModuleSetResponse) ProtoMessage() {} func (*MsgAddAccountToFundModuleSetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0ffc1eea72e250ff, []int{5} + return fileDescriptor_80c8af29bb20a4d0, []int{5} } func (m *MsgAddAccountToFundModuleSetResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -313,55 +313,55 @@ func (m *MsgAddAccountToFundModuleSetResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgAddAccountToFundModuleSetResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*MsgUpdateParams)(nil), "composable.mint.v1beta1.MsgUpdateParams") - proto.RegisterType((*MsgUpdateParamsResponse)(nil), "composable.mint.v1beta1.MsgUpdateParamsResponse") - proto.RegisterType((*MsgFundModuleAccount)(nil), "composable.mint.v1beta1.MsgFundModuleAccount") - proto.RegisterType((*MsgFundModuleAccountResponse)(nil), "composable.mint.v1beta1.MsgFundModuleAccountResponse") - proto.RegisterType((*MsgAddAccountToFundModuleSet)(nil), "composable.mint.v1beta1.MsgAddAccountToFundModuleSet") - proto.RegisterType((*MsgAddAccountToFundModuleSetResponse)(nil), "composable.mint.v1beta1.MsgAddAccountToFundModuleSetResponse") -} - -func init() { proto.RegisterFile("composable/mint/v1beta1/tx.proto", fileDescriptor_0ffc1eea72e250ff) } - -var fileDescriptor_0ffc1eea72e250ff = []byte{ - // 586 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x41, 0x8f, 0xd2, 0x40, - 0x14, 0x66, 0x96, 0x48, 0xc2, 0x80, 0xae, 0xdb, 0x10, 0x81, 0xc6, 0xb4, 0xd8, 0x98, 0x0d, 0x21, - 0xa1, 0x15, 0x8c, 0x1e, 0x36, 0xf1, 0x00, 0x9b, 0x78, 0x23, 0x31, 0x5d, 0xbd, 0x78, 0xd9, 0x0c, - 0xed, 0xd8, 0xad, 0xd2, 0x4e, 0xd3, 0x99, 0xae, 0xcb, 0xcd, 0x78, 0x31, 0xf1, 0xa4, 0x27, 0xff, - 0x82, 0xf1, 0x22, 0x07, 0xff, 0x80, 0xb7, 0x3d, 0x6e, 0x3c, 0x79, 0x42, 0x03, 0x07, 0xee, 0xfc, - 0x02, 0xd3, 0xce, 0x00, 0x2e, 0x58, 0xa2, 0x5e, 0x98, 0xe1, 0xbd, 0xef, 0xbd, 0xf7, 0x7d, 0xef, - 0xbd, 0x29, 0xac, 0x59, 0xc4, 0x0b, 0x08, 0x45, 0xfd, 0x01, 0x36, 0x3c, 0xd7, 0x67, 0xc6, 0x69, - 0xab, 0x8f, 0x19, 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0x3a, 0xd2, 0x73, 0x58, 0xbc, 0xb4, 0x76, 0xf5, 0xd4, 0x75, 0x59, 0x9b, 0xae, 0x7c, 0xe7, 0x6f, - 0x91, 0x8b, 0x9a, 0xd2, 0x10, 0xee, 0x6d, 0xee, 0x40, 0x73, 0x5b, 0x9a, 0x0d, 0xb8, 0x7c, 0xef, - 0x9f, 0xe0, 0xcb, 0xd2, 0xef, 0x01, 0xac, 0xa6, 0x4f, 0x6b, 0x6b, 0xd2, 0xd4, 0x30, 0xf9, 0xc1, - 0x7f, 0x85, 0x2d, 0x38, 0xc9, 0x57, 0x5e, 0xc5, 0x8f, 0xae, 0xbb, 0x7f, 0x3e, 0x51, 0xc0, 0xc5, - 0x44, 0x01, 0x3f, 0x27, 0x0a, 0x78, 0x37, 0x55, 0x32, 0x17, 0x53, 0x25, 0xf3, 0x7d, 0xaa, 0x64, - 0x9e, 0x16, 0xc5, 0x53, 0x4b, 0x36, 0xb4, 0x9f, 0x4b, 0xbe, 0x15, 0x77, 0x7f, 0x05, 0x00, 0x00, - 0xff, 0xff, 0x79, 0xbf, 0xed, 0xe6, 0x09, 0x05, 0x00, 0x00, + proto.RegisterType((*MsgUpdateParams)(nil), "centauri.mint.v1beta1.MsgUpdateParams") + proto.RegisterType((*MsgUpdateParamsResponse)(nil), "centauri.mint.v1beta1.MsgUpdateParamsResponse") + proto.RegisterType((*MsgFundModuleAccount)(nil), "centauri.mint.v1beta1.MsgFundModuleAccount") + proto.RegisterType((*MsgFundModuleAccountResponse)(nil), "centauri.mint.v1beta1.MsgFundModuleAccountResponse") + proto.RegisterType((*MsgAddAccountToFundModuleSet)(nil), "centauri.mint.v1beta1.MsgAddAccountToFundModuleSet") + proto.RegisterType((*MsgAddAccountToFundModuleSetResponse)(nil), "centauri.mint.v1beta1.MsgAddAccountToFundModuleSetResponse") +} + +func init() { proto.RegisterFile("centauri/mint/v1beta1/tx.proto", fileDescriptor_80c8af29bb20a4d0) } + +var fileDescriptor_80c8af29bb20a4d0 = []byte{ + // 580 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xbf, 0x6f, 0xd3, 0x40, + 0x14, 0xce, 0xa5, 0xa2, 0x52, 0x2e, 0x81, 0x52, 0x2b, 0xd0, 0xc4, 0x02, 0x3b, 0x58, 0x28, 0x8a, + 0x82, 0x6a, 0x2b, 0xa9, 0xc4, 0x50, 0x16, 0x92, 0x4a, 0x6c, 0x91, 0x90, 0x0b, 0x0b, 0x4b, 0x75, + 0xb1, 0xaf, 0xae, 0x45, 0xec, 0x8b, 0x7c, 0xe7, 0xd2, 0x6c, 0x88, 0x11, 0x09, 0x89, 0x8d, 0x7f, + 0x01, 0xb1, 0x90, 0x81, 0x9d, 0xb5, 0x63, 0xc5, 0xc4, 0x14, 0x50, 0x32, 0x64, 0xcf, 0xca, 0x82, + 0xec, 0x3b, 0x3b, 0x34, 0x3f, 0x2a, 0x60, 0x89, 0x9d, 0xf7, 0x7d, 0xef, 0xbd, 0xef, 0x7b, 0xef, + 0xce, 0x50, 0xb1, 0xb0, 0xcf, 0x50, 0x18, 0xb8, 0x86, 0xe7, 0xfa, 0xcc, 0x38, 0x6d, 0x74, 0x31, + 0x43, 0x0d, 0x83, 0x9d, 0xe9, 0xfd, 0x80, 0x30, 0x22, 0xdd, 0x4a, 0x70, 0x3d, 0xc2, 0x75, 0x81, + 0xcb, 0x3b, 0x16, 0xa1, 0x1e, 0xa1, 0x86, 0x47, 0x1d, 0xe3, 0xb4, 0x11, 0x3d, 0x38, 0x5f, 0xde, + 0x46, 0x9e, 0xeb, 0x13, 0x23, 0xfe, 0x15, 0xa1, 0xa2, 0x43, 0x1c, 0x12, 0xbf, 0x1a, 0xd1, 0x9b, + 0x88, 0x96, 0x79, 0x85, 0x23, 0x0e, 0xf0, 0x3f, 0x02, 0xaa, 0xac, 0xd6, 0x14, 0x0b, 0xe0, 0x0c, + 0x45, 0xb4,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xde, + 0x4f, 0x94, 0xcc, 0xc5, 0x44, 0xc9, 0x7c, 0x9f, 0x28, 0x99, 0x17, 0x05, 0x71, 0xbd, 0xe2, 0x53, + 0xd9, 0xdd, 0x8c, 0xbf, 0x0e, 0x7b, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xcd, 0xee, 0x30, 0xe9, + 0xf5, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -391,7 +391,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) { out := new(MsgUpdateParamsResponse) - err := c.cc.Invoke(ctx, "/composable.mint.v1beta1.Msg/UpdateParams", in, out, opts...) + err := c.cc.Invoke(ctx, "/centauri.mint.v1beta1.Msg/UpdateParams", in, out, opts...) if err != nil { return nil, err } @@ -400,7 +400,7 @@ func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts func (c *msgClient) FundModuleAccount(ctx context.Context, in *MsgFundModuleAccount, opts ...grpc.CallOption) (*MsgFundModuleAccountResponse, error) { out := new(MsgFundModuleAccountResponse) - err := c.cc.Invoke(ctx, "/composable.mint.v1beta1.Msg/FundModuleAccount", in, out, opts...) + err := c.cc.Invoke(ctx, "/centauri.mint.v1beta1.Msg/FundModuleAccount", in, out, opts...) if err != nil { return nil, err } @@ -409,7 +409,7 @@ func (c *msgClient) FundModuleAccount(ctx context.Context, in *MsgFundModuleAcco func (c *msgClient) AddAccountToFundModuleSet(ctx context.Context, in *MsgAddAccountToFundModuleSet, opts ...grpc.CallOption) (*MsgAddAccountToFundModuleSetResponse, error) { out := new(MsgAddAccountToFundModuleSetResponse) - err := c.cc.Invoke(ctx, "/composable.mint.v1beta1.Msg/AddAccountToFundModuleSet", in, out, opts...) + err := c.cc.Invoke(ctx, "/centauri.mint.v1beta1.Msg/AddAccountToFundModuleSet", in, out, opts...) if err != nil { return nil, err } @@ -451,7 +451,7 @@ func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(in } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/composable.mint.v1beta1.Msg/UpdateParams", + FullMethod: "/centauri.mint.v1beta1.Msg/UpdateParams", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams)) @@ -469,7 +469,7 @@ func _Msg_FundModuleAccount_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/composable.mint.v1beta1.Msg/FundModuleAccount", + FullMethod: "/centauri.mint.v1beta1.Msg/FundModuleAccount", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).FundModuleAccount(ctx, req.(*MsgFundModuleAccount)) @@ -487,7 +487,7 @@ func _Msg_AddAccountToFundModuleSet_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/composable.mint.v1beta1.Msg/AddAccountToFundModuleSet", + FullMethod: "/centauri.mint.v1beta1.Msg/AddAccountToFundModuleSet", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).AddAccountToFundModuleSet(ctx, req.(*MsgAddAccountToFundModuleSet)) @@ -496,7 +496,7 @@ func _Msg_AddAccountToFundModuleSet_Handler(srv interface{}, ctx context.Context } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "composable.mint.v1beta1.Msg", + ServiceName: "centauri.mint.v1beta1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -513,7 +513,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "composable/mint/v1beta1/tx.proto", + Metadata: "centauri/mint/v1beta1/tx.proto", } func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) { diff --git a/x/ratelimit/client/cli/query.go b/x/ratelimit/client/cli/query.go index d9c54a391..863873fcd 100644 --- a/x/ratelimit/client/cli/query.go +++ b/x/ratelimit/client/cli/query.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/notional-labs/composable/v5/x/ratelimit/types" + "github.com/notional-labs/centauri/v5/x/ratelimit/types" ) // GetQueryCmd returns the cli query commands for this module. diff --git a/x/ratelimit/client/cli/tx.go b/x/ratelimit/client/cli/tx.go index e7dac91b9..4cc99b618 100644 --- a/x/ratelimit/client/cli/tx.go +++ b/x/ratelimit/client/cli/tx.go @@ -5,7 +5,7 @@ import ( "github.com/spf13/cobra" - "github.com/notional-labs/composable/v5/x/ratelimit/types" + "github.com/notional-labs/centauri/v5/x/ratelimit/types" ) // GetTxCmd returns the tx commands for router diff --git a/x/ratelimit/ibc_middleware.go b/x/ratelimit/ibc_middleware.go index 0a8c3888d..9e3d6904f 100644 --- a/x/ratelimit/ibc_middleware.go +++ b/x/ratelimit/ibc_middleware.go @@ -3,7 +3,7 @@ package ratelimit import ( "fmt" - "github.com/notional-labs/composable/v5/x/ratelimit/keeper" + "github.com/notional-labs/centauri/v5/x/ratelimit/keeper" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/ratelimit/keeper/abci.go b/x/ratelimit/keeper/abci.go index f607d64d5..2f097721a 100644 --- a/x/ratelimit/keeper/abci.go +++ b/x/ratelimit/keeper/abci.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/notional-labs/composable/v5/x/ratelimit/types" + "github.com/notional-labs/centauri/v5/x/ratelimit/types" ) // BeginBlocker of epochs module. diff --git a/x/ratelimit/keeper/epoch.go b/x/ratelimit/keeper/epoch.go index 05309f183..bb993ce56 100644 --- a/x/ratelimit/keeper/epoch.go +++ b/x/ratelimit/keeper/epoch.go @@ -6,7 +6,7 @@ import ( "github.com/gogo/protobuf/proto" - "github.com/notional-labs/composable/v5/x/ratelimit/types" + "github.com/notional-labs/centauri/v5/x/ratelimit/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/ratelimit/keeper/genesis.go b/x/ratelimit/keeper/genesis.go index 2646ebf7d..1f50a23ad 100644 --- a/x/ratelimit/keeper/genesis.go +++ b/x/ratelimit/keeper/genesis.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/notional-labs/composable/v5/x/ratelimit/types" + "github.com/notional-labs/centauri/v5/x/ratelimit/types" ) func (k Keeper) InitGenesis(ctx sdk.Context, genState types.GenesisState) { diff --git a/x/ratelimit/keeper/grpc_query.go b/x/ratelimit/keeper/grpc_query.go index e991b9264..87ff085c6 100644 --- a/x/ratelimit/keeper/grpc_query.go +++ b/x/ratelimit/keeper/grpc_query.go @@ -8,7 +8,7 @@ import ( transfertypes "github.com/cosmos/ibc-go/v7/modules/apps/transfer/types" ibctmtypes "github.com/cosmos/ibc-go/v7/modules/light-clients/07-tendermint" - "github.com/notional-labs/composable/v5/x/ratelimit/types" + "github.com/notional-labs/centauri/v5/x/ratelimit/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/ratelimit/keeper/keeper.go b/x/ratelimit/keeper/keeper.go index f039f5915..d2b8cc24b 100644 --- a/x/ratelimit/keeper/keeper.go +++ b/x/ratelimit/keeper/keeper.go @@ -10,8 +10,8 @@ import ( paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" porttypes "github.com/cosmos/ibc-go/v7/modules/core/05-port/types" - "github.com/notional-labs/composable/v5/x/ratelimit/types" - tfmwkeeper "github.com/notional-labs/composable/v5/x/transfermiddleware/keeper" + "github.com/notional-labs/centauri/v5/x/ratelimit/types" + tfmwkeeper "github.com/notional-labs/centauri/v5/x/transfermiddleware/keeper" ) type Keeper struct { diff --git a/x/ratelimit/keeper/msg_server.go b/x/ratelimit/keeper/msg_server.go index 6d73a0486..3ea6ce7d9 100644 --- a/x/ratelimit/keeper/msg_server.go +++ b/x/ratelimit/keeper/msg_server.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/notional-labs/composable/v5/x/ratelimit/types" + "github.com/notional-labs/centauri/v5/x/ratelimit/types" ) var _ types.MsgServer = msgServer{} diff --git a/x/ratelimit/keeper/packet.go b/x/ratelimit/keeper/packet.go index 1be8a843e..a023960b8 100644 --- a/x/ratelimit/keeper/packet.go +++ b/x/ratelimit/keeper/packet.go @@ -14,7 +14,7 @@ import ( channeltypes "github.com/cosmos/ibc-go/v7/modules/core/04-channel/types" ibcexported "github.com/cosmos/ibc-go/v7/modules/core/exported" - "github.com/notional-labs/composable/v5/x/ratelimit/types" + "github.com/notional-labs/centauri/v5/x/ratelimit/types" ) type RateLimitedPacketInfo struct { diff --git a/x/ratelimit/keeper/rate_limit.go b/x/ratelimit/keeper/rate_limit.go index 9897052cd..184c8bb10 100644 --- a/x/ratelimit/keeper/rate_limit.go +++ b/x/ratelimit/keeper/rate_limit.go @@ -11,7 +11,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/notional-labs/composable/v5/x/ratelimit/types" + "github.com/notional-labs/centauri/v5/x/ratelimit/types" ) // Get the rate limit byte key built from the denom and channelID diff --git a/x/ratelimit/module.go b/x/ratelimit/module.go index 6af708f3e..e523d8f91 100644 --- a/x/ratelimit/module.go +++ b/x/ratelimit/module.go @@ -16,9 +16,9 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" - "github.com/notional-labs/composable/v5/x/ratelimit/client/cli" - "github.com/notional-labs/composable/v5/x/ratelimit/keeper" - "github.com/notional-labs/composable/v5/x/ratelimit/types" + "github.com/notional-labs/centauri/v5/x/ratelimit/client/cli" + "github.com/notional-labs/centauri/v5/x/ratelimit/keeper" + "github.com/notional-labs/centauri/v5/x/ratelimit/types" ) var ( diff --git a/x/ratelimit/relay_test.go b/x/ratelimit/relay_test.go index 4d44dfe17..ca821bb30 100644 --- a/x/ratelimit/relay_test.go +++ b/x/ratelimit/relay_test.go @@ -8,8 +8,8 @@ import ( clienttypes "github.com/cosmos/ibc-go/v7/modules/core/02-client/types" "github.com/stretchr/testify/suite" - customibctesting "github.com/notional-labs/composable/v5/app/ibctesting" - ratelimittypes "github.com/notional-labs/composable/v5/x/ratelimit/types" + customibctesting "github.com/notional-labs/centauri/v5/app/ibctesting" + ratelimittypes "github.com/notional-labs/centauri/v5/x/ratelimit/types" ) type RateLimitTestSuite struct { diff --git a/x/ratelimit/types/codec.go b/x/ratelimit/types/codec.go index a9d5d4676..9902cbe95 100644 --- a/x/ratelimit/types/codec.go +++ b/x/ratelimit/types/codec.go @@ -16,10 +16,10 @@ import ( // RegisterLegacyAminoCodec registers the account interfaces and concrete types on the // provided LegacyAmino codec. These types are used for Amino JSON serialization func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { - legacy.RegisterAminoMsg(cdc, &MsgAddRateLimit{}, "composable/MsgAddRateLimit") - legacy.RegisterAminoMsg(cdc, &MsgUpdateRateLimit{}, "composable/MsgUpdateRateLimit") - legacy.RegisterAminoMsg(cdc, &MsgRemoveRateLimit{}, "composable/MsgRemoveRateLimit") - legacy.RegisterAminoMsg(cdc, &MsgResetRateLimit{}, "composable/MsgResetRateLimit") + legacy.RegisterAminoMsg(cdc, &MsgAddRateLimit{}, "centauri/MsgAddRateLimit") + legacy.RegisterAminoMsg(cdc, &MsgUpdateRateLimit{}, "centauri/MsgUpdateRateLimit") + legacy.RegisterAminoMsg(cdc, &MsgRemoveRateLimit{}, "centauri/MsgRemoveRateLimit") + legacy.RegisterAminoMsg(cdc, &MsgResetRateLimit{}, "centauri/MsgResetRateLimit") } func RegisterInterfaces(registry codectypes.InterfaceRegistry) { diff --git a/x/ratelimit/types/epoch.pb.go b/x/ratelimit/types/epoch.pb.go index 39675f23b..78b7d7016 100644 --- a/x/ratelimit/types/epoch.pb.go +++ b/x/ratelimit/types/epoch.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: composable/ratelimit/v1beta1/epoch.proto +// source: centauri/ratelimit/v1beta1/epoch.proto package types @@ -75,7 +75,7 @@ func (m *EpochInfo) Reset() { *m = EpochInfo{} } func (m *EpochInfo) String() string { return proto.CompactTextString(m) } func (*EpochInfo) ProtoMessage() {} func (*EpochInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_2f8a94b10659295d, []int{0} + return fileDescriptor_2d9490a2e433bc10, []int{0} } func (m *EpochInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -154,42 +154,42 @@ func (m *EpochInfo) GetCurrentEpochStartHeight() int64 { } func init() { - proto.RegisterType((*EpochInfo)(nil), "composable.ratelimit.v1beta1.EpochInfo") + proto.RegisterType((*EpochInfo)(nil), "centauri.ratelimit.v1beta1.EpochInfo") } func init() { - proto.RegisterFile("composable/ratelimit/v1beta1/epoch.proto", fileDescriptor_2f8a94b10659295d) + proto.RegisterFile("centauri/ratelimit/v1beta1/epoch.proto", fileDescriptor_2d9490a2e433bc10) } -var fileDescriptor_2f8a94b10659295d = []byte{ - // 427 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x31, 0x8f, 0x94, 0x40, - 0x14, 0xc7, 0x77, 0xbc, 0xf5, 0x64, 0x47, 0x8d, 0xde, 0xe4, 0x54, 0x24, 0x3a, 0x10, 0x6c, 0x48, - 0xce, 0x40, 0x56, 0xad, 0xb4, 0x5b, 0x35, 0x51, 0x4b, 0xce, 0xc2, 0xd8, 0x6c, 0x80, 0x9d, 0x85, - 0x49, 0x80, 0x21, 0xf0, 0x30, 0x6e, 0xe7, 0x47, 0xd8, 0xd2, 0x8f, 0x74, 0xe5, 0x95, 0x56, 0x68, - 0x76, 0x3b, 0xcb, 0xfb, 0x04, 0x86, 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, 0x63, 0x92, - 0xbe, 0xe5, 0xb1, 0xc8, 0x38, 0xb0, 0xac, 0x80, 0xd5, 0x45, 0x63, 0xde, 0x52, 0x61, 0xbd, 0x66, - 0x7f, 0x6d, 0xa3, 0x76, 0xee, 0xe4, 0x11, 0xbe, 0x19, 0xd5, 0x65, 0xc9, 0x72, 0x98, 0xcb, 0xeb, - 0xeb, 0x63, 0x0b, 0x39, 0x07, 0xfe, 0x8d, 0xae, 0x28, 0x8f, 0x41, 0xbe, 0x20, 0xac, 0xff, 0x46, - 0xcd, 0x07, 0x7b, 0x5f, 0xfd, 0xef, 0xde, 0x27, 0xdd, 0xde, 0xa6, 0x1a, 0xe5, 0x5f, 0x4e, 0xea, - 0x0a, 0x77, 0x86, 0xc9, 0xa7, 0xbb, 0x8b, 0x3c, 0xc3, 0x77, 0x15, 0x1f, 0x89, 0x3a, 0x07, 0x9e, - 0xc7, 0xaa, 0x91, 0x2d, 0xf4, 0x43, 0x0b, 0x39, 0x9a, 0x7f, 0x2c, 0xd5, 0x97, 0x9d, 0x78, 0xaa, - 0x34, 0xf2, 0x02, 0x1b, 0x7f, 0x4b, 0x4b, 0x18, 0x8f, 0x13, 0xd0, 0x35, 0xb9, 0xea, 0xbd, 0xbd, - 0xc0, 0x37, 0x52, 0x7e, 0x37, 0xd6, 0xae, 0xdd, 0xd6, 0x66, 0x27, 0x67, 0x1b, 0x8a, 0xce, 0x37, - 0x14, 0xfd, 0xd8, 0x50, 0xb4, 0xde, 0xd2, 0xd1, 0xf9, 0x96, 0x8e, 0xbe, 0x6d, 0xe9, 0xe8, 0xe3, - 0xd1, 0xe7, 0xc1, 0x13, 0x86, 0x55, 0xc1, 0xaa, 0xf0, 0x50, 0x6e, 0xff, 0xf4, 0x57, 0x00, 0x00, - 0x00, 0xff, 0xff, 0xbf, 0x1b, 0xa4, 0x70, 0xe7, 0x02, 0x00, 0x00, +var fileDescriptor_2d9490a2e433bc10 = []byte{ + // 425 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x41, 0x8f, 0x93, 0x40, + 0x14, 0xc7, 0x19, 0xb7, 0xae, 0x74, 0xd4, 0xe8, 0x4e, 0x56, 0x45, 0x12, 0x07, 0x82, 0x89, 0x21, + 0x59, 0x03, 0xa9, 0x7a, 0xd2, 0x5b, 0xd5, 0x44, 0x3d, 0xb2, 0x1e, 0x8c, 0x97, 0x86, 0xd2, 0x29, + 0x4c, 0x52, 0x18, 0x32, 0x7d, 0x18, 0x7b, 0xf3, 0x23, 0xf4, 0xe8, 0x47, 0xda, 0xe3, 0x1e, 0x3d, + 0xa1, 0x69, 0x6f, 0x1e, 0xf7, 0x13, 0x18, 0x66, 0xa0, 0xa2, 0xd5, 0xec, 0x0d, 0xde, 0xff, 0xf7, + 0xfe, 0xff, 0xf7, 0x5e, 0x06, 0x3f, 0x4a, 0x58, 0x01, 0x71, 0x25, 0x79, 0x28, 0x63, 0x60, 0x0b, + 0x9e, 0x73, 0x08, 0x3f, 0x8d, 0xa6, 0x0c, 0xe2, 0x51, 0xc8, 0x4a, 0x91, 0x64, 0x41, 0x29, 0x05, + 0x08, 0x62, 0x77, 0x5c, 0xb0, 0xe3, 0x82, 0x96, 0xb3, 0x8f, 0x53, 0x91, 0x0a, 0x85, 0x85, 0xcd, + 0x97, 0xee, 0xb0, 0x69, 0x2a, 0x44, 0xba, 0x60, 0xa1, 0xfa, 0x9b, 0x56, 0xf3, 0x70, 0x56, 0xc9, + 0x18, 0xb8, 0x28, 0x5a, 0xdd, 0xf9, 0x5b, 0x07, 0x9e, 0xb3, 0x25, 0xc4, 0x79, 0xa9, 0x01, 0x6f, + 0x3d, 0xc0, 0xc3, 0xd7, 0xcd, 0x08, 0x6f, 0x8b, 0xb9, 0x20, 0x14, 0x63, 0x3e, 0x63, 0x05, 0xf0, + 0x39, 0x67, 0xd2, 0x42, 0x2e, 0xf2, 0x87, 0x51, 0xaf, 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, 0xc0, + 0x37, 0x4a, 0x7e, 0x37, 0x30, 0xaf, 0xdd, 0x36, 0xc7, 0x27, 0x67, 0x1b, 0x8a, 0xce, 0x37, 0x14, + 0xfd, 0xd8, 0x50, 0xb4, 0xde, 0x52, 0xe3, 0x7c, 0x4b, 0x8d, 0x6f, 0x5b, 0x6a, 0x7c, 0x3c, 0xfa, + 0xdc, 0x7b, 0xc0, 0xb0, 0x2a, 0xd9, 0x72, 0x7a, 0xa8, 0xb6, 0x7f, 0xfa, 0x2b, 0x00, 0x00, 0xff, + 0xff, 0xe8, 0xa1, 0x47, 0xfe, 0xe3, 0x02, 0x00, 0x00, } func (m *EpochInfo) Marshal() (dAtA []byte, err error) { diff --git a/x/ratelimit/types/genesis.pb.go b/x/ratelimit/types/genesis.pb.go index d288c9f59..23b08cf9a 100644 --- a/x/ratelimit/types/genesis.pb.go +++ b/x/ratelimit/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: composable/ratelimit/v1beta1/genesis.proto +// source: centauri/ratelimit/v1beta1/genesis.proto package types @@ -36,7 +36,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} } func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_206604392405a216, []int{0} + return fileDescriptor_9b6ba3f85e177adf, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -101,41 +101,41 @@ func (m *GenesisState) GetEpochs() []EpochInfo { } func init() { - proto.RegisterType((*GenesisState)(nil), "composable.ratelimit.v1beta1.GenesisState") + proto.RegisterType((*GenesisState)(nil), "centauri.ratelimit.v1beta1.GenesisState") } func init() { - proto.RegisterFile("composable/ratelimit/v1beta1/genesis.proto", fileDescriptor_206604392405a216) + proto.RegisterFile("centauri/ratelimit/v1beta1/genesis.proto", fileDescriptor_9b6ba3f85e177adf) } -var fileDescriptor_206604392405a216 = []byte{ - // 405 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xcf, 0xaa, 0xd3, 0x40, - 0x14, 0xc6, 0x13, 0x73, 0x2d, 0x38, 0xd5, 0x85, 0x41, 0x31, 0x06, 0xc9, 0x0d, 0xe1, 0x82, 0xf1, - 0x0f, 0x09, 0xf7, 0xea, 0xca, 0x9d, 0x81, 0x22, 0x82, 0x94, 0x92, 0x2c, 0x04, 0x37, 0x61, 0x92, - 0x1c, 0xd3, 0x60, 0x33, 0x33, 0xce, 0x4c, 0xad, 0x7d, 0x0b, 0xd7, 0x3e, 0x51, 0x97, 0x5d, 0xba, - 0x2a, 0xd2, 0xbe, 0x81, 0x7b, 0x41, 0x92, 0x19, 0x6d, 0x17, 0x1a, 0xdc, 0x85, 0xf0, 0xfb, 0x7e, - 0xdf, 0x39, 0xc9, 0x41, 0x8f, 0x4b, 0xda, 0x32, 0x2a, 0x70, 0xb1, 0x80, 0x98, 0x63, 0x09, 0x8b, - 0xa6, 0x6d, 0x64, 0xfc, 0xe9, 0xb2, 0x00, 0x89, 0x2f, 0xe3, 0x1a, 0x08, 0x88, 0x46, 0x44, 0x8c, - 0x53, 0x49, 0xed, 0x07, 0x47, 0x36, 0xfa, 0xc3, 0x46, 0x9a, 0x75, 0xef, 0xd4, 0xb4, 0xa6, 0x3d, - 0x18, 0x77, 0x4f, 0x2a, 0xe3, 0x3e, 0x1a, 0xf4, 0x33, 0xcc, 0x71, 0xab, 0xf5, 0xee, 0xd3, 0x41, - 0xf4, 0x58, 0xa8, 0xe8, 0x70, 0x90, 0x06, 0x46, 0xcb, 0xb9, 0x22, 0x83, 0x9f, 0x16, 0xba, 0xf9, - 0x4a, 0x2d, 0x92, 0x49, 0x2c, 0xc1, 0xce, 0xd0, 0x48, 0x15, 0x3b, 0xa6, 0x6f, 0x86, 0xe3, 0xab, - 0x8b, 0x68, 0x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x73, 0xbb, 0xf7, 0xcc, 0xef, 0x7b, 0xcf, 0xfc, 0x72, - 0xf0, 0x8c, 0xed, 0xc1, 0x33, 0xbe, 0x1d, 0x3c, 0xe3, 0xdd, 0xed, 0xcf, 0x27, 0xa7, 0x23, 0xd7, - 0x0c, 0x44, 0x31, 0xea, 0x6f, 0xe6, 0xd9, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd1, 0x7f, 0x1e, - 0xe5, 0x18, 0x03, 0x00, 0x00, +var fileDescriptor_9b6ba3f85e177adf = []byte{ + // 401 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x3f, 0xeb, 0xd3, 0x40, + 0x18, 0xc7, 0x13, 0x53, 0x0b, 0x5e, 0x75, 0x30, 0x28, 0xc6, 0x0c, 0x69, 0x08, 0xfe, 0x09, 0x0a, + 0x09, 0xad, 0x9b, 0x9b, 0x11, 0x11, 0x41, 0x4a, 0x4d, 0x07, 0xc1, 0x25, 0x5c, 0x92, 0xc7, 0xf4, + 0xb0, 0xb9, 0xc4, 0xbb, 0xab, 0xb5, 0xef, 0xc2, 0xd1, 0x97, 0xd4, 0xb1, 0xa3, 0x53, 0x91, 0xf6, + 0x1d, 0x08, 0xee, 0x92, 0xdc, 0xd5, 0x76, 0xf8, 0x35, 0xbf, 0xed, 0x38, 0x3e, 0xdf, 0xcf, 0x97, + 0xe7, 0xee, 0x41, 0x7e, 0x06, 0x54, 0xe0, 0x25, 0x23, 0x21, 0xc3, 0x02, 0x16, 0xa4, 0x24, 0x22, + 0xfc, 0x36, 0x4a, 0x41, 0xe0, 0x51, 0x58, 0x00, 0x05, 0x4e, 0x78, 0x50, 0xb3, 0x4a, 0x54, 0xa6, + 0x7d, 0x24, 0x83, 0xff, 0x64, 0xa0, 0x48, 0xfb, 0x5e, 0x51, 0x15, 0x55, 0x8b, 0x85, 0xcd, 0x49, + 0x26, 0xec,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e7, 0x1a, 0xfe, 0xad, 0xd8, 0x55, 0xec, 0x0c, 0x68, + 0x3e, 0x6d, 0xc9, 0x99, 0x02, 0x27, 0x92, 0x33, 0x5f, 0xa3, 0x7e, 0xfb, 0x83, 0xdc, 0xba, 0x79, + 0xfd, 0x4b, 0xbe, 0x69, 0xc8, 0x77, 0xf4, 0x73, 0x15, 0xf5, 0x9a, 0x49, 0x62, 0x15, 0x8d, 0x9e, + 0x6f, 0xf6, 0x8e, 0xbe, 0xdd, 0x3b, 0xfa, 0xef, 0xbd, 0xa3, 0xff, 0x38, 0x38, 0xda, 0xf6, 0xe0, + 0x68, 0xbf, 0x0e, 0x8e, 0xf6, 0xe9, 0xee, 0xf7, 0xb3, 0x95, 0x11, 0xeb, 0x1a, 0x78, 0xda, 0x6f, + 0x77, 0xe5, 0xc5, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf4, 0xbb, 0xa3, 0x8c, 0x06, 0x03, 0x00, + 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/ratelimit/types/params.pb.go b/x/ratelimit/types/params.pb.go index 27b53cda5..bc9bf28dc 100644 --- a/x/ratelimit/types/params.pb.go +++ b/x/ratelimit/types/params.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: composable/ratelimit/v1beta1/params.proto +// source: centauri/ratelimit/v1beta1/params.proto package types @@ -32,7 +32,7 @@ func (m *Params) Reset() { *m = Params{} } func (m *Params) String() string { return proto.CompactTextString(m) } func (*Params) ProtoMessage() {} func (*Params) Descriptor() ([]byte, []int) { - return fileDescriptor_8e1f65684a3119e6, []int{0} + return fileDescriptor_1b21f4042f9a3cfb, []int{0} } func (m *Params) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -62,25 +62,25 @@ func (m *Params) XXX_DiscardUnknown() { var xxx_messageInfo_Params proto.InternalMessageInfo func init() { - proto.RegisterType((*Params)(nil), "composable.ratelimit.v1beta1.Params") + proto.RegisterType((*Params)(nil), "centauri.ratelimit.v1beta1.Params") } func init() { - proto.RegisterFile("composable/ratelimit/v1beta1/params.proto", fileDescriptor_8e1f65684a3119e6) + proto.RegisterFile("centauri/ratelimit/v1beta1/params.proto", fileDescriptor_1b21f4042f9a3cfb) } -var fileDescriptor_8e1f65684a3119e6 = []byte{ - // 154 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4c, 0xce, 0xcf, 0x2d, - 0xc8, 0x2f, 0x4e, 0x4c, 0xca, 0x49, 0xd5, 0x2f, 0x4a, 0x2c, 0x49, 0xcd, 0xc9, 0xcc, 0xcd, 0x2c, - 0xd1, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x2f, 0x48, 0x2c, 0x4a, 0xcc, 0x2d, 0xd6, - 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x41, 0x28, 0xd5, 0x83, 0x2b, 0xd5, 0x83, 0x2a, 0x95, - 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0x2b, 0xd4, 0x07, 0xb1, 0x20, 0x7a, 0xa4, 0x24, 0x93, 0xf3, - 0x8b, 0x73, 0xf3, 0x8b, 0xe3, 0x21, 0x12, 0x10, 0x0e, 0x44, 0x4a, 0x89, 0x83, 0x8b, 0x2d, 0x00, - 0x6c, 0xbc, 0x93, 0xf6, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, - 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x09, 0x56, - 0x20, 0x39, 0xaa, 0xa4, 0xb2, 0x20, 0xb5, 0x38, 0x89, 0x0d, 0xac, 0xdb, 0x18, 0x10, 0x00, 0x00, - 0xff, 0xff, 0xaf, 0x9b, 0x6c, 0xa9, 0xb9, 0x00, 0x00, 0x00, +var fileDescriptor_1b21f4042f9a3cfb = []byte{ + // 152 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4f, 0x4e, 0xcd, 0x2b, + 0x49, 0x2c, 0x2d, 0xca, 0xd4, 0x2f, 0x4a, 0x2c, 0x49, 0xcd, 0xc9, 0xcc, 0xcd, 0x2c, 0xd1, 0x2f, + 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x2f, 0x48, 0x2c, 0x4a, 0xcc, 0x2d, 0xd6, 0x2b, 0x28, + 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x82, 0x29, 0xd4, 0x83, 0x2b, 0xd4, 0x83, 0x2a, 0x94, 0x12, 0x49, + 0xcf, 0x4f, 0xcf, 0x07, 0x2b, 0xd3, 0x07, 0xb1, 0x20, 0x3a, 0xa4, 0x24, 0x93, 0xf3, 0x8b, 0x73, + 0xf3, 0x8b, 0xe3, 0x21, 0x12, 0x10, 0x0e, 0x44, 0x4a, 0x89, 0x83, 0x8b, 0x2d, 0x00, 0x6c, 0xb8, + 0x93, 0xf6, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, + 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x09, 0x56, 0x20, 0x39, + 0xa9, 0xa4, 0xb2, 0x20, 0xb5, 0x38, 0x89, 0x0d, 0xac, 0xdb, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, + 0x91, 0xb5, 0x1b, 0x71, 0xb5, 0x00, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { diff --git a/x/ratelimit/types/query.pb.go b/x/ratelimit/types/query.pb.go index 4eb0ba19b..e78b01bde 100644 --- a/x/ratelimit/types/query.pb.go +++ b/x/ratelimit/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: composable/ratelimit/v1beta1/query.proto +// source: centauri/ratelimit/v1beta1/query.proto package types @@ -36,7 +36,7 @@ func (m *QueryAllRateLimitsRequest) Reset() { *m = QueryAllRateLimitsReq func (m *QueryAllRateLimitsRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllRateLimitsRequest) ProtoMessage() {} func (*QueryAllRateLimitsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcd0dc17fb77b132, []int{0} + return fileDescriptor_b0fc123b957ea496, []int{0} } func (m *QueryAllRateLimitsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -73,7 +73,7 @@ func (m *QueryAllRateLimitsResponse) Reset() { *m = QueryAllRateLimitsRe func (m *QueryAllRateLimitsResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllRateLimitsResponse) ProtoMessage() {} func (*QueryAllRateLimitsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcd0dc17fb77b132, []int{1} + return fileDescriptor_b0fc123b957ea496, []int{1} } func (m *QueryAllRateLimitsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -111,14 +111,14 @@ func (m *QueryAllRateLimitsResponse) GetRateLimits() []RateLimit { type QueryRateLimitRequest struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` - ChannelID string `protobuf:"bytes,2,opt,name=ChannelID,proto3" json:"ChannelID,omitempty"` + ChannelID string `protobuf:"bytes,2,opt,name=channel_id,json=channelID,proto3" json:"channel_id,omitempty"` } func (m *QueryRateLimitRequest) Reset() { *m = QueryRateLimitRequest{} } func (m *QueryRateLimitRequest) String() string { return proto.CompactTextString(m) } func (*QueryRateLimitRequest) ProtoMessage() {} func (*QueryRateLimitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcd0dc17fb77b132, []int{2} + return fileDescriptor_b0fc123b957ea496, []int{2} } func (m *QueryRateLimitRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -169,7 +169,7 @@ func (m *QueryRateLimitResponse) Reset() { *m = QueryRateLimitResponse{} func (m *QueryRateLimitResponse) String() string { return proto.CompactTextString(m) } func (*QueryRateLimitResponse) ProtoMessage() {} func (*QueryRateLimitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcd0dc17fb77b132, []int{3} + return fileDescriptor_b0fc123b957ea496, []int{3} } func (m *QueryRateLimitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -213,7 +213,7 @@ func (m *QueryRateLimitsByChainIDRequest) Reset() { *m = QueryRateLimits func (m *QueryRateLimitsByChainIDRequest) String() string { return proto.CompactTextString(m) } func (*QueryRateLimitsByChainIDRequest) ProtoMessage() {} func (*QueryRateLimitsByChainIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcd0dc17fb77b132, []int{4} + return fileDescriptor_b0fc123b957ea496, []int{4} } func (m *QueryRateLimitsByChainIDRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -257,7 +257,7 @@ func (m *QueryRateLimitsByChainIDResponse) Reset() { *m = QueryRateLimit func (m *QueryRateLimitsByChainIDResponse) String() string { return proto.CompactTextString(m) } func (*QueryRateLimitsByChainIDResponse) ProtoMessage() {} func (*QueryRateLimitsByChainIDResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcd0dc17fb77b132, []int{5} + return fileDescriptor_b0fc123b957ea496, []int{5} } func (m *QueryRateLimitsByChainIDResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -294,14 +294,14 @@ func (m *QueryRateLimitsByChainIDResponse) GetRateLimits() []RateLimit { } type QueryRateLimitsByChannelIDRequest struct { - ChannelID string `protobuf:"bytes,1,opt,name=ChannelID,proto3" json:"ChannelID,omitempty"` + ChannelID string `protobuf:"bytes,1,opt,name=channel_id,json=channelID,proto3" json:"channel_id,omitempty"` } func (m *QueryRateLimitsByChannelIDRequest) Reset() { *m = QueryRateLimitsByChannelIDRequest{} } func (m *QueryRateLimitsByChannelIDRequest) String() string { return proto.CompactTextString(m) } func (*QueryRateLimitsByChannelIDRequest) ProtoMessage() {} func (*QueryRateLimitsByChannelIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcd0dc17fb77b132, []int{6} + return fileDescriptor_b0fc123b957ea496, []int{6} } func (m *QueryRateLimitsByChannelIDRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -345,7 +345,7 @@ func (m *QueryRateLimitsByChannelIDResponse) Reset() { *m = QueryRateLim func (m *QueryRateLimitsByChannelIDResponse) String() string { return proto.CompactTextString(m) } func (*QueryRateLimitsByChannelIDResponse) ProtoMessage() {} func (*QueryRateLimitsByChannelIDResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcd0dc17fb77b132, []int{7} + return fileDescriptor_b0fc123b957ea496, []int{7} } func (m *QueryRateLimitsByChannelIDResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -388,7 +388,7 @@ func (m *QueryAllWhitelistedAddressesRequest) Reset() { *m = QueryAllWhi func (m *QueryAllWhitelistedAddressesRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllWhitelistedAddressesRequest) ProtoMessage() {} func (*QueryAllWhitelistedAddressesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_dcd0dc17fb77b132, []int{8} + return fileDescriptor_b0fc123b957ea496, []int{8} } func (m *QueryAllWhitelistedAddressesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -425,7 +425,7 @@ func (m *QueryAllWhitelistedAddressesResponse) Reset() { *m = QueryAllWh func (m *QueryAllWhitelistedAddressesResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllWhitelistedAddressesResponse) ProtoMessage() {} func (*QueryAllWhitelistedAddressesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_dcd0dc17fb77b132, []int{9} + return fileDescriptor_b0fc123b957ea496, []int{9} } func (m *QueryAllWhitelistedAddressesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -462,63 +462,63 @@ func (m *QueryAllWhitelistedAddressesResponse) GetAddressPairs() []WhitelistedAd } func init() { - proto.RegisterType((*QueryAllRateLimitsRequest)(nil), "composable.ratelimit.v1beta1.QueryAllRateLimitsRequest") - proto.RegisterType((*QueryAllRateLimitsResponse)(nil), "composable.ratelimit.v1beta1.QueryAllRateLimitsResponse") - proto.RegisterType((*QueryRateLimitRequest)(nil), "composable.ratelimit.v1beta1.QueryRateLimitRequest") - proto.RegisterType((*QueryRateLimitResponse)(nil), "composable.ratelimit.v1beta1.QueryRateLimitResponse") - proto.RegisterType((*QueryRateLimitsByChainIDRequest)(nil), "composable.ratelimit.v1beta1.QueryRateLimitsByChainIDRequest") - proto.RegisterType((*QueryRateLimitsByChainIDResponse)(nil), "composable.ratelimit.v1beta1.QueryRateLimitsByChainIDResponse") - proto.RegisterType((*QueryRateLimitsByChannelIDRequest)(nil), "composable.ratelimit.v1beta1.QueryRateLimitsByChannelIDRequest") - proto.RegisterType((*QueryRateLimitsByChannelIDResponse)(nil), "composable.ratelimit.v1beta1.QueryRateLimitsByChannelIDResponse") - proto.RegisterType((*QueryAllWhitelistedAddressesRequest)(nil), "composable.ratelimit.v1beta1.QueryAllWhitelistedAddressesRequest") - proto.RegisterType((*QueryAllWhitelistedAddressesResponse)(nil), "composable.ratelimit.v1beta1.QueryAllWhitelistedAddressesResponse") + proto.RegisterType((*QueryAllRateLimitsRequest)(nil), "centauri.ratelimit.v1beta1.QueryAllRateLimitsRequest") + proto.RegisterType((*QueryAllRateLimitsResponse)(nil), "centauri.ratelimit.v1beta1.QueryAllRateLimitsResponse") + proto.RegisterType((*QueryRateLimitRequest)(nil), "centauri.ratelimit.v1beta1.QueryRateLimitRequest") + proto.RegisterType((*QueryRateLimitResponse)(nil), "centauri.ratelimit.v1beta1.QueryRateLimitResponse") + proto.RegisterType((*QueryRateLimitsByChainIDRequest)(nil), "centauri.ratelimit.v1beta1.QueryRateLimitsByChainIDRequest") + proto.RegisterType((*QueryRateLimitsByChainIDResponse)(nil), "centauri.ratelimit.v1beta1.QueryRateLimitsByChainIDResponse") + proto.RegisterType((*QueryRateLimitsByChannelIDRequest)(nil), "centauri.ratelimit.v1beta1.QueryRateLimitsByChannelIDRequest") + proto.RegisterType((*QueryRateLimitsByChannelIDResponse)(nil), "centauri.ratelimit.v1beta1.QueryRateLimitsByChannelIDResponse") + proto.RegisterType((*QueryAllWhitelistedAddressesRequest)(nil), "centauri.ratelimit.v1beta1.QueryAllWhitelistedAddressesRequest") + proto.RegisterType((*QueryAllWhitelistedAddressesResponse)(nil), "centauri.ratelimit.v1beta1.QueryAllWhitelistedAddressesResponse") } func init() { - proto.RegisterFile("composable/ratelimit/v1beta1/query.proto", fileDescriptor_dcd0dc17fb77b132) -} - -var fileDescriptor_dcd0dc17fb77b132 = []byte{ - // 620 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0x4d, 0x6f, 0xd3, 0x40, - 0x10, 0xcd, 0x16, 0x4a, 0xc9, 0x94, 0x1e, 0x58, 0x5a, 0x48, 0x4d, 0xe5, 0x04, 0x03, 0x22, 0x52, - 0x8a, 0xad, 0x36, 0x11, 0x70, 0x28, 0x1f, 0x49, 0x2b, 0xa4, 0x48, 0x08, 0x15, 0x5f, 0x90, 0x7a, - 0x31, 0x9b, 0x7a, 0x95, 0x58, 0x72, 0xbc, 0xae, 0xd7, 0x05, 0xa2, 0xaa, 0x17, 0x2e, 0x5c, 0x91, - 0xf8, 0x1b, 0x1c, 0xf9, 0x11, 0xe5, 0x16, 0x09, 0x21, 0x71, 0xaa, 0x50, 0xd2, 0x1f, 0x82, 0xec, - 0x6c, 0x6c, 0xd2, 0x26, 0x4e, 0x52, 0xd4, 0xdb, 0x7a, 0x76, 0xe6, 0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0xc7, 0xd3, 0x5e, 0x96, 0x4a, 0xd3, 0x15, 0x09, 0x8a, - 0x1b, 0x21, 0xc5, 0x47, 0xb8, 0x34, 0x86, 0xa2, 0x76, 0x10, 0x5d, 0xb7, 0x43, 0xad, 0xd6, 0x32, - 0x7a, 0x2f, 0xc5, 0x0f, 0x04, 0x37, 0x86, 0x18, 0x0b, 0x3f, 0x9d, 0x86, 0xcb, 0x19, 0x3b, 0x4b, - 0xcf, 0xce, 0x5b, 0x2e, 0x44, 0x15, 0x43, 0x51, 0x0f, 0x71, 0x61, 0xdc, 0xdc, 0xb5, 0x83, 0xfe, - 0xb3, 0x71, 0x88, 0xdb, 0x08, 0x96, 0x86, 0xda, 0x0b, 0x3f, 0x9f, 0x9e, 0xce, 0x80, 0xd5, 0xa5, - 0x17, 0xe7, 0x07, 0x10, 0x8a, 0x4a, 0xa1, 0x22, 0x15, 0xaf, 0x8e, 0x57, 0x14, 0x9f, 0x13, 0xfe, - 0x85, 0xe0, 0xd6, 0x08, 0x4f, 0xe2, 0xf2, 0x64, 0xb7, 0x3a, 0xc1, 0xf7, 0x52, 0xe5, 0x7f, 0x20, - 0x26, 0x3b, 0xaa, 0x0f, 0x71, 0xad, 0x41, 0xfa, 0xc5, 0x95, 0xc2, 0x51, 0x47, 0x46, 0xed, 0x8e, - 0x8c, 0xfe, 0x74, 0x64, 0xf4, 0xa5, 0x2b, 0xa7, 0xda, 0x5d, 0x39, 0xf5, 0xbb, 0x2b, 0xa7, 0x76, - 0xae, 0x7f, 0xfc, 0xa7, 0xd8, 0x6f, 0xb9, 0x94, 0xd7, 0xae, 0x84, 0xbf, 0xe3, 0xe2, 0xdf, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x73, 0x82, 0x8b, 0x51, 0x3a, 0x08, 0x00, 0x00, + proto.RegisterFile("centauri/ratelimit/v1beta1/query.proto", fileDescriptor_b0fc123b957ea496) +} + +var fileDescriptor_b0fc123b957ea496 = []byte{ + // 613 bytes of a gzipped FileDescript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 0x37, 0x38, 0x26, 0xdd, 0xda, 0xa3, 0xd9, 0x0d, 0x26, 0x79, 0x3f, 0x6f, 0xfa, 0xca, 0x0a, + 0x09, 0xa5, 0x85, 0x74, 0xa7, 0xab, 0xa3, 0xe3, 0xae, 0x8e, 0x7e, 0x77, 0x75, 0xf4, 0xb1, 0xa7, + 0x27, 0x8e, 0x7b, 0x7a, 0xe2, 0x67, 0x4f, 0x4f, 0x3c, 0xbf, 0xf8, 0xf6, 0x1f, 0xb1, 0x68, 0xbb, + 0x94, 0x57, 0xcf, 0xc9, 0x9f, 0x69, 0xfe, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x21, 0x22, 0x2b, + 0xa5, 0xf2, 0x07, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -550,7 +550,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) AllRateLimits(ctx context.Context, in *QueryAllRateLimitsRequest, opts ...grpc.CallOption) (*QueryAllRateLimitsResponse, error) { out := new(QueryAllRateLimitsResponse) - err := c.cc.Invoke(ctx, "/composable.ratelimit.v1beta1.Query/AllRateLimits", in, out, opts...) + err := c.cc.Invoke(ctx, "/centauri.ratelimit.v1beta1.Query/AllRateLimits", in, out, opts...) if err != nil { return nil, err } @@ -559,7 +559,7 @@ func (c *queryClient) AllRateLimits(ctx context.Context, in *QueryAllRateLimitsR func (c *queryClient) RateLimit(ctx context.Context, in *QueryRateLimitRequest, opts ...grpc.CallOption) (*QueryRateLimitResponse, error) { out := new(QueryRateLimitResponse) - err := c.cc.Invoke(ctx, "/composable.ratelimit.v1beta1.Query/RateLimit", in, out, opts...) + err := c.cc.Invoke(ctx, "/centauri.ratelimit.v1beta1.Query/RateLimit", in, out, opts...) if err != nil { return nil, err } @@ -568,7 +568,7 @@ func (c *queryClient) RateLimit(ctx context.Context, in *QueryRateLimitRequest, func (c *queryClient) RateLimitsByChainID(ctx context.Context, in *QueryRateLimitsByChainIDRequest, opts ...grpc.CallOption) (*QueryRateLimitsByChainIDResponse, error) { out := new(QueryRateLimitsByChainIDResponse) - err := c.cc.Invoke(ctx, "/composable.ratelimit.v1beta1.Query/RateLimitsByChainID", in, out, opts...) + err := c.cc.Invoke(ctx, "/centauri.ratelimit.v1beta1.Query/RateLimitsByChainID", in, out, opts...) if err != nil { return nil, err } @@ -577,7 +577,7 @@ func (c *queryClient) RateLimitsByChainID(ctx context.Context, in *QueryRateLimi func (c *queryClient) RateLimitsByChannelID(ctx context.Context, in *QueryRateLimitsByChannelIDRequest, opts ...grpc.CallOption) (*QueryRateLimitsByChannelIDResponse, error) { out := new(QueryRateLimitsByChannelIDResponse) - err := c.cc.Invoke(ctx, "/composable.ratelimit.v1beta1.Query/RateLimitsByChannelID", in, out, opts...) + err := c.cc.Invoke(ctx, "/centauri.ratelimit.v1beta1.Query/RateLimitsByChannelID", in, out, opts...) if err != nil { return nil, err } @@ -586,7 +586,7 @@ func (c *queryClient) RateLimitsByChannelID(ctx context.Context, in *QueryRateLi func (c *queryClient) AllWhitelistedAddresses(ctx context.Context, in *QueryAllWhitelistedAddressesRequest, opts ...grpc.CallOption) (*QueryAllWhitelistedAddressesResponse, error) { out := new(QueryAllWhitelistedAddressesResponse) - err := c.cc.Invoke(ctx, "/composable.ratelimit.v1beta1.Query/AllWhitelistedAddresses", in, out, opts...) + err := c.cc.Invoke(ctx, "/centauri.ratelimit.v1beta1.Query/AllWhitelistedAddresses", in, out, opts...) if err != nil { return nil, err } @@ -636,7 +636,7 @@ func _Query_AllRateLimits_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/composable.ratelimit.v1beta1.Query/AllRateLimits", + FullMethod: "/centauri.ratelimit.v1beta1.Query/AllRateLimits", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).AllRateLimits(ctx, req.(*QueryAllRateLimitsRequest)) @@ -654,7 +654,7 @@ func _Query_RateLimit_Handler(srv interface{}, ctx context.Context, dec func(int } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/composable.ratelimit.v1beta1.Query/RateLimit", + FullMethod: "/centauri.ratelimit.v1beta1.Query/RateLimit", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RateLimit(ctx, req.(*QueryRateLimitRequest)) @@ -672,7 +672,7 @@ func _Query_RateLimitsByChainID_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/composable.ratelimit.v1beta1.Query/RateLimitsByChainID", + FullMethod: "/centauri.ratelimit.v1beta1.Query/RateLimitsByChainID", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RateLimitsByChainID(ctx, req.(*QueryRateLimitsByChainIDRequest)) @@ -690,7 +690,7 @@ func _Query_RateLimitsByChannelID_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/composable.ratelimit.v1beta1.Query/RateLimitsByChannelID", + FullMethod: "/centauri.ratelimit.v1beta1.Query/RateLimitsByChannelID", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RateLimitsByChannelID(ctx, req.(*QueryRateLimitsByChannelIDRequest)) @@ -708,7 +708,7 @@ func _Query_AllWhitelistedAddresses_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/composable.ratelimit.v1beta1.Query/AllWhitelistedAddresses", + FullMethod: "/centauri.ratelimit.v1beta1.Query/AllWhitelistedAddresses", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).AllWhitelistedAddresses(ctx, req.(*QueryAllWhitelistedAddressesRequest)) @@ -717,7 +717,7 @@ func _Query_AllWhitelistedAddresses_Handler(srv interface{}, ctx context.Context } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "composable.ratelimit.v1beta1.Query", + ServiceName: "centauri.ratelimit.v1beta1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -742,7 +742,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "composable/ratelimit/v1beta1/query.proto", + Metadata: "centauri/ratelimit/v1beta1/query.proto", } func (m *QueryAllRateLimitsRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/ratelimit/types/query.pb.gw.go b/x/ratelimit/types/query.pb.gw.go index 4f7542ba7..bad710f6f 100644 --- a/x/ratelimit/types/query.pb.gw.go +++ b/x/ratelimit/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: composable/ratelimit/v1beta1/query.proto +// source: centauri/ratelimit/v1beta1/query.proto /* Package types is a reverse proxy. @@ -52,7 +52,7 @@ func local_request_Query_AllRateLimits_0(ctx context.Context, marshaler runtime. } var ( - filter_Query_RateLimit_0 = &utilities.DoubleArray{Encoding: map[string]int{"ChannelID": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} + filter_Query_RateLimit_0 = &utilities.DoubleArray{Encoding: map[string]int{"channel_id": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} ) func request_Query_RateLimit_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -66,15 +66,15 @@ func request_Query_RateLimit_0(ctx context.Context, marshaler runtime.Marshaler, _ = err ) - val, ok = pathParams["ChannelID"] + val, ok = pathParams["channel_id"] if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "ChannelID") + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "channel_id") } protoReq.ChannelID, err = runtime.String(val) if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "ChannelID", err) + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "channel_id", err) } if err := req.ParseForm(); err != nil { @@ -100,15 +100,15 @@ func local_request_Query_RateLimit_0(ctx context.Context, marshaler runtime.Mars _ = err ) - val, ok = pathParams["ChannelID"] + val, ok = pathParams["channel_id"] if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "ChannelID") + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "channel_id") } protoReq.ChannelID, err = runtime.String(val) if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "ChannelID", err) + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "channel_id", err) } if err := req.ParseForm(); err != nil { @@ -188,15 +188,15 @@ func request_Query_RateLimitsByChannelID_0(ctx context.Context, marshaler runtim _ = err ) - val, ok = pathParams["ChannelID"] + val, ok = pathParams["channel_id"] if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "ChannelID") + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "channel_id") } protoReq.ChannelID, err = runtime.String(val) if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "ChannelID", err) + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "channel_id", err) } msg, err := client.RateLimitsByChannelID(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) @@ -215,15 +215,15 @@ func local_request_Query_RateLimitsByChannelID_0(ctx context.Context, marshaler _ = err ) - val, ok = pathParams["ChannelID"] + val, ok = pathParams["channel_id"] if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "ChannelID") + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "channel_id") } protoReq.ChannelID, err = runtime.String(val) if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "ChannelID", err) + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "channel_id", err) } msg, err := server.RateLimitsByChannelID(ctx, &protoReq) @@ -515,15 +515,15 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } var ( - pattern_Query_AllRateLimits_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"composable", "ratelimit", "ratelimits"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_AllRateLimits_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"centauri", "ratelimit", "ratelimits"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_RateLimit_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3}, []string{"composable", "ratelimit", "ChannelID", "by_denom"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_RateLimit_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 1, 1, 0, 4, 1, 5, 2, 2, 3}, []string{"centauri", "ratelimit", "channel_id", "by_denom"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_RateLimitsByChainID_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"composable", "ratelimit", "ratelimits", "chain_id"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_RateLimitsByChainID_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"centauri", "ratelimit", "ratelimits", "chain_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_RateLimitsByChannelID_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"composable", "ratelimit", "ratelimits", "ChannelID"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_RateLimitsByChannelID_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"centauri", "ratelimit", "ratelimits", "channel_id"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_AllWhitelistedAddresses_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"composable", "ratelimit", "whitelisted_addresses"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_AllWhitelistedAddresses_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"centauri", "ratelimit", "whitelisted_addresses"}, "", runtime.AssumeColonVerbOpt(false))) ) var ( diff --git a/x/ratelimit/types/ratelimit.pb.go b/x/ratelimit/types/ratelimit.pb.go index 5c69f9925..605f5b4ef 100644 --- a/x/ratelimit/types/ratelimit.pb.go +++ b/x/ratelimit/types/ratelimit.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: composable/ratelimit/v1beta1/ratelimit.proto +// source: centauri/ratelimit/v1beta1/ratelimit.proto package types @@ -46,19 +46,19 @@ func (x PacketDirection) String() string { } func (PacketDirection) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_0232bb247554c4df, []int{0} + return fileDescriptor_825b72046a6cedeb, []int{0} } type Path struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` - ChannelID string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` + ChannelID string `protobuf:"bytes,2,opt,name=channel_id,json=channelID,proto3" json:"channel_id,omitempty"` } func (m *Path) Reset() { *m = Path{} } func (m *Path) String() string { return proto.CompactTextString(m) } func (*Path) ProtoMessage() {} func (*Path) Descriptor() ([]byte, []int) { - return fileDescriptor_0232bb247554c4df, []int{0} + return fileDescriptor_825b72046a6cedeb, []int{0} } func (m *Path) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -111,7 +111,7 @@ func (m *Quota) Reset() { *m = Quota{} } func (m *Quota) String() string { return proto.CompactTextString(m) } func (*Quota) ProtoMessage() {} func (*Quota) Descriptor() ([]byte, []int) { - return fileDescriptor_0232bb247554c4df, []int{1} + return fileDescriptor_825b72046a6cedeb, []int{1} } func (m *Quota) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -157,7 +157,7 @@ func (m *Flow) Reset() { *m = Flow{} } func (m *Flow) String() string { return proto.CompactTextString(m) } func (*Flow) ProtoMessage() {} func (*Flow) Descriptor() ([]byte, []int) { - return fileDescriptor_0232bb247554c4df, []int{2} + return fileDescriptor_825b72046a6cedeb, []int{2} } func (m *Flow) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -197,7 +197,7 @@ func (m *RateLimit) Reset() { *m = RateLimit{} } func (m *RateLimit) String() string { return proto.CompactTextString(m) } func (*RateLimit) ProtoMessage() {} func (*RateLimit) Descriptor() ([]byte, []int) { - return fileDescriptor_0232bb247554c4df, []int{3} + return fileDescriptor_825b72046a6cedeb, []int{3} } func (m *RateLimit) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -256,7 +256,7 @@ func (m *WhitelistedAddressPair) Reset() { *m = WhitelistedAddressPair{} func (m *WhitelistedAddressPair) String() string { return proto.CompactTextString(m) } func (*WhitelistedAddressPair) ProtoMessage() {} func (*WhitelistedAddressPair) Descriptor() ([]byte, []int) { - return fileDescriptor_0232bb247554c4df, []int{4} + return fileDescriptor_825b72046a6cedeb, []int{4} } func (m *WhitelistedAddressPair) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -300,55 +300,54 @@ func (m *WhitelistedAddressPair) GetReceiver() string { } func init() { - proto.RegisterEnum("composable.ratelimit.v1beta1.PacketDirection", PacketDirection_name, PacketDirection_value) - proto.RegisterType((*Path)(nil), "composable.ratelimit.v1beta1.Path") - proto.RegisterType((*Quota)(nil), "composable.ratelimit.v1beta1.Quota") - proto.RegisterType((*Flow)(nil), "composable.ratelimit.v1beta1.Flow") - proto.RegisterType((*RateLimit)(nil), "composable.ratelimit.v1beta1.RateLimit") - proto.RegisterType((*WhitelistedAddressPair)(nil), "composable.ratelimit.v1beta1.WhitelistedAddressPair") + proto.RegisterEnum("centauri.ratelimit.v1beta1.PacketDirection", PacketDirection_name, PacketDirection_value) + proto.RegisterType((*Path)(nil), "centauri.ratelimit.v1beta1.Path") + proto.RegisterType((*Quota)(nil), "centauri.ratelimit.v1beta1.Quota") + proto.RegisterType((*Flow)(nil), "centauri.ratelimit.v1beta1.Flow") + proto.RegisterType((*RateLimit)(nil), "centauri.ratelimit.v1beta1.RateLimit") + proto.RegisterType((*WhitelistedAddressPair)(nil), "centauri.ratelimit.v1beta1.WhitelistedAddressPair") } func init() { - proto.RegisterFile("composable/ratelimit/v1beta1/ratelimit.proto", fileDescriptor_0232bb247554c4df) + proto.RegisterFile("centauri/ratelimit/v1beta1/ratelimit.proto", fileDescriptor_825b72046a6cedeb) } -var fileDescriptor_0232bb247554c4df = []byte{ - // 556 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xcf, 0x6f, 0xd3, 0x30, - 0x14, 0x4e, 0xb6, 0xb4, 0x50, 0x97, 0x6e, 0xc5, 0x1a, 0x53, 0x55, 0xa1, 0x74, 0x0a, 0x02, 0x4d, - 0x30, 0x52, 0x6d, 0x48, 0x48, 0x3b, 0xf6, 0xd7, 0xb4, 0xc2, 0x84, 0x4a, 0x8a, 0x06, 0xe2, 0x12, - 0xb9, 0x89, 0x69, 0xac, 0x25, 0x76, 0x71, 0x9c, 0xae, 0xfc, 0x07, 0x1c, 0xb9, 0x72, 0xe6, 0x9f, - 0xd9, 0x71, 0x47, 0xc4, 0xa1, 0x42, 0xed, 0x99, 0xff, 0x01, 0xd9, 0x49, 0xd7, 0x89, 0xc3, 0x04, - 0xe5, 0x94, 0xbc, 0xe7, 0xef, 0x7d, 0xf6, 0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0x56, 0xc1, 0x6d, 0x8e, 0x3d, 0x4c, 0xc6, 0x98, 0xa7, 0xd3, 0x76, 0xae, - 0xe2, 0xc7, 0x87, 0x60, 0xb3, 0x87, 0xbc, 0x33, 0x2c, 0xda, 0x84, 0x63, 0x4f, 0x3a, 0x0e, 0x6e, - 0x82, 0x62, 0xaf, 0xd1, 0x7a, 0xd9, 0x79, 0xe3, 0xf6, 0x3b, 0xaf, 0xda, 0x65, 0xed, 0x5a, 0xc2, - 0xe9, 0xb4, 0x4e, 0xcb, 0x7a, 0xd5, 0xf8, 0xfc, 0xcd, 0xd4, 0x9a, 0x4f, 0x2e, 0x66, 0xa6, 0x7e, - 0x39, 0x33, 0xf5, 0x9f, 0x33, 0x53, 0xff, 0x32, 0x37, 0xb5, 0xcb, 0xb9, 0xa9, 0x7d, 0x9f, 0x9b, - 0xda, 0xfb, 0xbb, 0x93, 0x6b, 0x0f, 0x87, 0x52, 0x33, 0xc8, 0xab, 0x9b, 0xff, 0xec, 0x77, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x60, 0xf4, 0xde, 0x6b, 0x5d, 0x04, 0x00, 0x00, +var fileDescriptor_825b72046a6cedeb = []byte{ + // 544 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xd1, 0x6a, 0x13, 0x4d, + 0x14, 0xde, 0x6d, 0x37, 0xf9, 0xff, 0x4c, 0x6c, 0x1b, 0x87, 0x5a, 0x42, 0xc0, 0x6d, 0x0c, 0x28, + 0xa5, 0xe2, 0x86, 0x56, 0x41, 0xc4, 0xab, 0xb4, 0x4d, 0x69, 0xb1, 0x48, 0xdc, 0x48, 0x15, 0x6f, + 0x96, 0xc9, 0xce, 0x31, 0x3b, 0x34, 0x3b, 0x13, 0x67, 0x67, 0xd3, 0xf8, 0x06, 0x5e, 0x0a, 0x3e, + 0x82, 0x2f, 0xd3, 0xcb, 0x5e, 0x8a, 0x17, 0x45, 0x92, 0x6b, 0xdf, 0x41, 0x66, 0x76, 0xd3, 0x16, + 0x41, 0xc5, 0x78, 0x95, 0x9c, 0x33, 0xdf, 0xf9, 0xe6, 0x7c, 0x67, 0xbe, 0xb3, 0x68, 0x33, 0x04, + 0xae, 0x48, 0x2a, 0x59, 0x53, 0x12, 0x05, 0x03, 0x16, 0x33, 0xd5, 0x1c, 0x6d, 0xf5, 0x40, 0x91, + 0xad, 0xab, 0x8c, 0x37, 0x94, 0x42, 0x09, 0x5c, 0x9b, 0x61, 0xbd, 0xab, 0x93, 0x1c, 0x5b, 0x5b, + 0xed, 0x8b, 0xbe, 0x30, 0xb0, 0xa6, 0xfe, 0x97, 0x55, 0x34, 0x9e, 0x22, 0xa7, 0x43, 0x54, 0x84, + 0x57, 0x51, 0x81, 0x02, 0x17, 0x71, 0xd5, 0xae, 0xdb, 0x1b, 0x25, 0x3f, 0x0b, 0xf0, 0x6d, 0x84, + 0xc2, 0x88, 0x70, 0x0e, 0x83, 0x80, 0xd1, 0xea, 0x82, 0x39, 0x2a, 0xe5, 0x99, 0x43, 0xda, 0x98, + 0xd8, 0xa8, 0xf0, 0x22, 0x15, 0x8a, 0xe0, 0xd7, 0xa8, 0x12, 0x93, 0x71, 0x30, 0x04, 0xa9, 0x3b, + 0x08, 0x12, 0xe0, 0x34, 0x63, 0xda, 0xf1, 0xce, 0x2e, 0xd6, 0xad, 0xaf, 0x17, 0xeb, 0xf7, 0xfa, + 0x4c, 0x45, 0x69, 0xcf, 0x0b, 0x45, 0xdc, 0x0c, 0x45, 0x12, 0x8b, 0x24, 0xff, 0x79, 0x90, 0xd0, + 0x93, 0xa6, 0x7a, 0x3f, 0x84, 0xc4, 0x3b, 0xe4, 0xca, 0x5f, 0x8e, 0xc9, 0xb8, 0x93, 0xd1, 0x74, + 0x81, 0xd3, 0x9f, 0x99, 0x25, 0x84, 0xa3, 0xac, 0x91, 0x7f, 0x61, 0xf6, 0x21, 0x1c, 0xe1, 0x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xd5, 0xc9, 0x23, 0x5c, 0x43, 0xff, 0x4b, 0x08, 0x81, 0x8d, + 0x40, 0xe6, 0x9b, 0x73, 0x19, 0x6f, 0x3e, 0x41, 0x2b, 0x1d, 0x12, 0x9e, 0x80, 0xda, 0x63, 0x12, + 0x42, 0xed, 0x35, 0xbc, 0x82, 0xca, 0x9d, 0xd6, 0xee, 0xb3, 0xf6, 0xcb, 0xa0, 0xdb, 0x7e, 0xbe, + 0x57, 0xb1, 0xae, 0x25, 0xfc, 0xf6, 0xee, 0x71, 0xc5, 0xae, 0x39, 0x1f, 0x3e, 0xbb, 0xd6, 0xce, + 0xfd, 0xb3, 0x89, 0x6b, 0x9f, 0x4f, 0x5c, 0xfb, 0xdb, 0xc4, 0xb5, 0x3f, 0x4e, 0x5d, 0xeb, 0x7c, + 0xea, 0x5a, 0x5f, 0xa6, 0xae, 0xf5, 0xe6, 0xe6, 0xf8, 0xda, 0x17, 0xc2, 0xa8, 0xe9, 0x15, 0xcd, + 0x92, 0x3f, 0xfc, 0x11, 0x00, 0x00, 0xff, 0xff, 0x51, 0xff, 0x42, 0x9e, 0x44, 0x04, 0x00, 0x00, } func (m *Path) Marshal() (dAtA []byte, err error) { diff --git a/x/ratelimit/types/tx.pb.go b/x/ratelimit/types/tx.pb.go index 3f7c5540c..c4e7f9920 100644 --- a/x/ratelimit/types/tx.pb.go +++ b/x/ratelimit/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: composable/ratelimit/v1beta1/tx.proto +// source: centauri/ratelimit/v1beta1/tx.proto package types @@ -33,26 +33,20 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type MsgAddRateLimit struct { // authority is the address that controls the module (defaults to x/gov unless // overwritten). - Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty" yaml:"authority"` - // denom of the token that is limited - Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` - // The channel that is limited when transferr ICS 20 packet of denom - ChannelID string `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` - // Max rate limit send - MaxPercentSend github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=max_percent_send,json=maxPercentSend,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"max_percent_send"` - // Max rate limit receive - MaxPercentRecv github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=max_percent_recv,json=maxPercentRecv,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"max_percent_recv"` - // Min amount of rate limit (allow transfer max(min-amout, rate-limit)) + Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty" yaml:"authority"` + Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` + ChannelID string `protobuf:"bytes,3,opt,name=channel_id,json=channelID,proto3" json:"channel_id,omitempty"` + MaxPercentSend github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=max_percent_send,json=maxPercentSend,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"max_percent_send"` + MaxPercentRecv github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=max_percent_recv,json=maxPercentRecv,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"max_percent_recv"` MinRateLimitAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,6,opt,name=min_rate_limit_amount,json=minRateLimitAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"min_rate_limit_amount"` - // Duration of rate limit. The rate limit will reset when reach the duration. - DurationHours uint64 `protobuf:"varint,7,opt,name=duration_hours,json=durationHours,proto3" json:"duration_hours,omitempty"` + DurationHours uint64 `protobuf:"varint,7,opt,name=duration_hours,json=durationHours,proto3" json:"duration_hours,omitempty"` } func (m *MsgAddRateLimit) Reset() { *m = MsgAddRateLimit{} } func (m *MsgAddRateLimit) String() string { return proto.CompactTextString(m) } func (*MsgAddRateLimit) ProtoMessage() {} func (*MsgAddRateLimit) Descriptor() ([]byte, []int) { - return fileDescriptor_7c4a582edd75a41c, []int{0} + return fileDescriptor_6b20911f56917b5f, []int{0} } func (m *MsgAddRateLimit) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -116,7 +110,7 @@ func (m *MsgAddRateLimitResponse) Reset() { *m = MsgAddRateLimitResponse func (m *MsgAddRateLimitResponse) String() string { return proto.CompactTextString(m) } func (*MsgAddRateLimitResponse) ProtoMessage() {} func (*MsgAddRateLimitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7c4a582edd75a41c, []int{1} + return fileDescriptor_6b20911f56917b5f, []int{1} } func (m *MsgAddRateLimitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -150,7 +144,7 @@ type MsgUpdateRateLimit struct { // overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty" yaml:"authority"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` - ChannelID string `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` + ChannelID string `protobuf:"bytes,3,opt,name=channel_id,json=channelID,proto3" json:"channel_id,omitempty"` MaxPercentSend github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=max_percent_send,json=maxPercentSend,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"max_percent_send"` MaxPercentRecv github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=max_percent_recv,json=maxPercentRecv,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"max_percent_recv"` MinRateLimitAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,6,opt,name=min_rate_limit_amount,json=minRateLimitAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"min_rate_limit_amount"` @@ -161,7 +155,7 @@ func (m *MsgUpdateRateLimit) Reset() { *m = MsgUpdateRateLimit{} } func (m *MsgUpdateRateLimit) String() string { return proto.CompactTextString(m) } func (*MsgUpdateRateLimit) ProtoMessage() {} func (*MsgUpdateRateLimit) Descriptor() ([]byte, []int) { - return fileDescriptor_7c4a582edd75a41c, []int{2} + return fileDescriptor_6b20911f56917b5f, []int{2} } func (m *MsgUpdateRateLimit) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -225,7 +219,7 @@ func (m *MsgUpdateRateLimitResponse) Reset() { *m = MsgUpdateRateLimitRe func (m *MsgUpdateRateLimitResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateRateLimitResponse) ProtoMessage() {} func (*MsgUpdateRateLimitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7c4a582edd75a41c, []int{3} + return fileDescriptor_6b20911f56917b5f, []int{3} } func (m *MsgUpdateRateLimitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -259,14 +253,14 @@ type MsgRemoveRateLimit struct { // overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty" yaml:"authority"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` - ChannelID string `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` + ChannelID string `protobuf:"bytes,3,opt,name=channel_id,json=channelID,proto3" json:"channel_id,omitempty"` } func (m *MsgRemoveRateLimit) Reset() { *m = MsgRemoveRateLimit{} } func (m *MsgRemoveRateLimit) String() string { return proto.CompactTextString(m) } func (*MsgRemoveRateLimit) ProtoMessage() {} func (*MsgRemoveRateLimit) Descriptor() ([]byte, []int) { - return fileDescriptor_7c4a582edd75a41c, []int{4} + return fileDescriptor_6b20911f56917b5f, []int{4} } func (m *MsgRemoveRateLimit) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -323,7 +317,7 @@ func (m *MsgRemoveRateLimitResponse) Reset() { *m = MsgRemoveRateLimitRe func (m *MsgRemoveRateLimitResponse) String() string { return proto.CompactTextString(m) } func (*MsgRemoveRateLimitResponse) ProtoMessage() {} func (*MsgRemoveRateLimitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7c4a582edd75a41c, []int{5} + return fileDescriptor_6b20911f56917b5f, []int{5} } func (m *MsgRemoveRateLimitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -357,14 +351,14 @@ type MsgResetRateLimit struct { // overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty" yaml:"authority"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` - ChannelID string `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` + ChannelID string `protobuf:"bytes,3,opt,name=channel_id,json=channelID,proto3" json:"channel_id,omitempty"` } func (m *MsgResetRateLimit) Reset() { *m = MsgResetRateLimit{} } func (m *MsgResetRateLimit) String() string { return proto.CompactTextString(m) } func (*MsgResetRateLimit) ProtoMessage() {} func (*MsgResetRateLimit) Descriptor() ([]byte, []int) { - return fileDescriptor_7c4a582edd75a41c, []int{6} + return fileDescriptor_6b20911f56917b5f, []int{6} } func (m *MsgResetRateLimit) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -421,7 +415,7 @@ func (m *MsgResetRateLimitResponse) Reset() { *m = MsgResetRateLimitResp func (m *MsgResetRateLimitResponse) String() string { return proto.CompactTextString(m) } func (*MsgResetRateLimitResponse) ProtoMessage() {} func (*MsgResetRateLimitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7c4a582edd75a41c, []int{7} + return fileDescriptor_6b20911f56917b5f, []int{7} } func (m *MsgResetRateLimitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -451,58 +445,57 @@ func (m *MsgResetRateLimitResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgResetRateLimitResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*MsgAddRateLimit)(nil), "composable.ratelimit.v1beta1.MsgAddRateLimit") - proto.RegisterType((*MsgAddRateLimitResponse)(nil), "composable.ratelimit.v1beta1.MsgAddRateLimitResponse") - proto.RegisterType((*MsgUpdateRateLimit)(nil), "composable.ratelimit.v1beta1.MsgUpdateRateLimit") - proto.RegisterType((*MsgUpdateRateLimitResponse)(nil), "composable.ratelimit.v1beta1.MsgUpdateRateLimitResponse") - proto.RegisterType((*MsgRemoveRateLimit)(nil), "composable.ratelimit.v1beta1.MsgRemoveRateLimit") - proto.RegisterType((*MsgRemoveRateLimitResponse)(nil), "composable.ratelimit.v1beta1.MsgRemoveRateLimitResponse") - proto.RegisterType((*MsgResetRateLimit)(nil), "composable.ratelimit.v1beta1.MsgResetRateLimit") - proto.RegisterType((*MsgResetRateLimitResponse)(nil), "composable.ratelimit.v1beta1.MsgResetRateLimitResponse") + proto.RegisterType((*MsgAddRateLimit)(nil), "centauri.ratelimit.v1beta1.MsgAddRateLimit") + proto.RegisterType((*MsgAddRateLimitResponse)(nil), "centauri.ratelimit.v1beta1.MsgAddRateLimitResponse") + proto.RegisterType((*MsgUpdateRateLimit)(nil), "centauri.ratelimit.v1beta1.MsgUpdateRateLimit") + proto.RegisterType((*MsgUpdateRateLimitResponse)(nil), "centauri.ratelimit.v1beta1.MsgUpdateRateLimitResponse") + proto.RegisterType((*MsgRemoveRateLimit)(nil), "centauri.ratelimit.v1beta1.MsgRemoveRateLimit") + proto.RegisterType((*MsgRemoveRateLimitResponse)(nil), "centauri.ratelimit.v1beta1.MsgRemoveRateLimitResponse") + proto.RegisterType((*MsgResetRateLimit)(nil), "centauri.ratelimit.v1beta1.MsgResetRateLimit") + proto.RegisterType((*MsgResetRateLimitResponse)(nil), "centauri.ratelimit.v1beta1.MsgResetRateLimitResponse") } func init() { - proto.RegisterFile("composable/ratelimit/v1beta1/tx.proto", fileDescriptor_7c4a582edd75a41c) -} - -var fileDescriptor_7c4a582edd75a41c = []byte{ - // 577 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b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x79, 0xb1, 0xd6, 0x3b, 0xf1, 0x1d, 0xa0, 0x2e, 0x8b, 0xe6, 0xb2, - 0x7a, 0x6d, 0xdf, 0xfe, 0x1e, 0x00, 0x00, 0xff, 0xff, 0x0e, 0xde, 0x0e, 0x8e, 0x2c, 0x08, 0x00, + proto.RegisterFile("centauri/ratelimit/v1beta1/tx.proto", fileDescriptor_6b20911f56917b5f) +} + +var fileDescriptor_6b20911f56917b5f = []byte{ + // 561 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x95, 0x4d, 0x8b, 0x13, 0x31, + 0x1c, 0xc6, 0x3b, 0xb6, 0xbb, 0xd2, 0x80, 0x75, 0x37, 0x54, 0x3b, 0x3b, 0xea, 0x74, 0xa9, 0x28, + 0x8b, 0xcb, 0xce, 0xd0, 0x5d, 0xf4, 0xb0, 0xb7, 0xee, 0xc9, 0x05, 0x0b, 0x32, 0x2a, 0x88, 0x97, + 0x21, 0x9d, 0xc4, 0xe9, 0x60, 0x93, 0x94, 0x24, 0x53, 0xda, 0x8b, 0xa0, 0x17, 0x2f, 0x0a, 0x7e, + 0x14, 0x3f, 0x46, 0xc1, 0xcb, 0x1e, 0xc5, 0x43, 0x91, 0xf6, 0xe0, 0xdd, 0x4f, 0x20, 0x93, 0xe9, + 0xcb, 0xda, 0x52, 0x4a, 0xf5, 0xa0, 0xc2, 0x9e, 0x32, 0x93, 0xff, 0x33, 0x4f, 0x9e, 0xe4, 0x97, + 0x4c, 0xc0, 0xed, 0x80, 0x30, 0x85, 0x62, 0x11, 0xb9, 0x02, 0x29, 0xd2, 0x8a, 0x68, 0xa4, 0xdc, + 0x4e, 0xb5, 0x41, 0x14, 0xaa, 0xba, 0xaa, 0xeb, 0xb4, 0x05, 0x57, 0x1c, 0x5a, 0x13, 0x91, 0x33, + 0x15, 0x39, 0x63, 0x91, 0x55, 0x0c, 0x79, 0xc8, 0xb5, 0xcc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, 0xc4, 0xa6, 0x2b, 0x5f, 0xd3, 0x4e, 0xf0, 0x0e, 0x28, 0xe0, 0x58, 0x20, 0x15, 0x71, 0xe6, + 0x37, 0x79, 0x2c, 0xa4, 0x79, 0x79, 0xd7, 0xd8, 0xcb, 0x79, 0x57, 0x26, 0xbd, 0x0f, 0x93, 0xce, + 0xe3, 0xc2, 0xdb, 0xef, 0x9f, 0xee, 0xcd, 0x10, 0x54, 0x76, 0x40, 0x69, 0x8e, 0xa4, 0x47, 0x64, + 0x9b, 0x33, 0x49, 0x2a, 0x9f, 0xb3, 0x00, 0xd6, 0x65, 0xf8, 0xac, 0x8d, 0x91, 0x22, 0x17, 0xa0, + 0xff, 0x73, 0xd0, 0x37, 0x81, 0xb5, 0x08, 0x73, 0xca, 0xfa, 0x83, 0xa1, 0x59, 0x7b, 0x84, 0xf2, + 0xce, 0x5f, 0x60, 0xbd, 0x24, 0xed, 0x5c, 0x9c, 0x69, 0xda, 0xf7, 0x06, 0xd8, 0xd6, 0x65, 0x49, + 0xd4, 0x3f, 0x10, 0xf6, 0x06, 0xd8, 0x59, 0x48, 0x33, 0xc9, 0x7a, 0xf8, 0x2e, 0x07, 0xb2, 0x75, + 0x19, 0xc2, 0x2e, 0x28, 0xd6, 0x30, 0x7e, 0x2a, 0x10, 0x93, 0x2f, 0x89, 0x98, 0xa5, 0xde, 0x77, + 0x96, 0xff, 0x97, 0x9d, 0xb9, 0xa3, 0x69, 0x1d, 0xad, 0x21, 0x9e, 0x24, 0x80, 0x6f, 0x0c, 0x50, + 0x4a, 0xb9, 0x2f, 0x8e, 0xee, 0xac, 0x30, 0x9c, 0xdb, 0x2f, 0xd6, 0x83, 0xf5, 0xf4, 0xbf, 0x64, + 0x48, 0x69, 0xae, 0x9f, 0x61, 0x6e, 0x17, 0xac, 0xcc, 0xb0, 0x64, 0xd7, 0xc0, 0xd7, 0xe0, 0xba, + 0x66, 0xb4, 0x98, 0xe0, 0x60, 0xa5, 0xe3, 0x79, 0xb4, 0xd6, 0xfd, 0xb5, 0xe4, 0x93, 0xf1, 0x4f, + 0xf6, 0xfb, 0x43, 0xdb, 0x38, 0x1b, 0xda, 0xc6, 0xb7, 0xa1, 0x6d, 0x7c, 0x1c, 0xd9, 0x99, 0xb3, + 0x91, 0x9d, 0xf9, 0x32, 0xb2, 0x33, 0x2f, 0xb6, 0xbb, 0xe7, 0x2e, 0x6e, 0x7d, 0xfa, 0x1b, 0x9b, + 0xfa, 0xa6, 0x3d, 0xfa, 0x19, 0x00, 0x00, 0xff, 0xff, 0x62, 0x2e, 0x80, 0x93, 0xdb, 0x07, 0x00, 0x00, } @@ -534,7 +527,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { func (c *msgClient) AddTransferRateLimit(ctx context.Context, in *MsgAddRateLimit, opts ...grpc.CallOption) (*MsgAddRateLimitResponse, error) { out := new(MsgAddRateLimitResponse) - err := c.cc.Invoke(ctx, "/composable.ratelimit.v1beta1.Msg/AddTransferRateLimit", in, out, opts...) + err := c.cc.Invoke(ctx, "/centauri.ratelimit.v1beta1.Msg/AddTransferRateLimit", in, out, opts...) if err != nil { return nil, err } @@ -543,7 +536,7 @@ func (c *msgClient) AddTransferRateLimit(ctx context.Context, in *MsgAddRateLimi func (c *msgClient) UpdateTransferRateLimit(ctx context.Context, in *MsgUpdateRateLimit, opts ...grpc.CallOption) (*MsgUpdateRateLimitResponse, error) { out := new(MsgUpdateRateLimitResponse) - err := c.cc.Invoke(ctx, "/composable.ratelimit.v1beta1.Msg/UpdateTransferRateLimit", in, out, opts...) + err := c.cc.Invoke(ctx, "/centauri.ratelimit.v1beta1.Msg/UpdateTransferRateLimit", in, out, opts...) if err != nil { return nil, err } @@ -552,7 +545,7 @@ func (c *msgClient) UpdateTransferRateLimit(ctx context.Context, in *MsgUpdateRa func (c *msgClient) RemoveTransferRateLimit(ctx context.Context, in *MsgRemoveRateLimit, opts ...grpc.CallOption) (*MsgRemoveRateLimitResponse, error) { out := new(MsgRemoveRateLimitResponse) - err := c.cc.Invoke(ctx, "/composable.ratelimit.v1beta1.Msg/RemoveTransferRateLimit", in, out, opts...) + err := c.cc.Invoke(ctx, "/centauri.ratelimit.v1beta1.Msg/RemoveTransferRateLimit", in, out, opts...) if err != nil { return nil, err } @@ -561,7 +554,7 @@ func (c *msgClient) RemoveTransferRateLimit(ctx context.Context, in *MsgRemoveRa func (c *msgClient) ResetTransferRateLimit(ctx context.Context, in *MsgResetRateLimit, opts ...grpc.CallOption) (*MsgResetRateLimitResponse, error) { out := new(MsgResetRateLimitResponse) - err := c.cc.Invoke(ctx, "/composable.ratelimit.v1beta1.Msg/ResetTransferRateLimit", in, out, opts...) + err := c.cc.Invoke(ctx, "/centauri.ratelimit.v1beta1.Msg/ResetTransferRateLimit", in, out, opts...) if err != nil { return nil, err } @@ -607,7 +600,7 @@ func _Msg_AddTransferRateLimit_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/composable.ratelimit.v1beta1.Msg/AddTransferRateLimit", + FullMethod: "/centauri.ratelimit.v1beta1.Msg/AddTransferRateLimit", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).AddTransferRateLimit(ctx, req.(*MsgAddRateLimit)) @@ -625,7 +618,7 @@ func _Msg_UpdateTransferRateLimit_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/composable.ratelimit.v1beta1.Msg/UpdateTransferRateLimit", + FullMethod: "/centauri.ratelimit.v1beta1.Msg/UpdateTransferRateLimit", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).UpdateTransferRateLimit(ctx, req.(*MsgUpdateRateLimit)) @@ -643,7 +636,7 @@ func _Msg_RemoveTransferRateLimit_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/composable.ratelimit.v1beta1.Msg/RemoveTransferRateLimit", + FullMethod: "/centauri.ratelimit.v1beta1.Msg/RemoveTransferRateLimit", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).RemoveTransferRateLimit(ctx, req.(*MsgRemoveRateLimit)) @@ -661,7 +654,7 @@ func _Msg_ResetTransferRateLimit_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/composable.ratelimit.v1beta1.Msg/ResetTransferRateLimit", + FullMethod: "/centauri.ratelimit.v1beta1.Msg/ResetTransferRateLimit", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ResetTransferRateLimit(ctx, req.(*MsgResetRateLimit)) @@ -670,7 +663,7 @@ func _Msg_ResetTransferRateLimit_Handler(srv interface{}, ctx context.Context, d } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "composable.ratelimit.v1beta1.Msg", + ServiceName: "centauri.ratelimit.v1beta1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -691,7 +684,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "composable/ratelimit/v1beta1/tx.proto", + Metadata: "centauri/ratelimit/v1beta1/tx.proto", } func (m *MsgAddRateLimit) Marshal() (dAtA []byte, err error) { diff --git a/x/transfermiddleware/client/cli/query.go b/x/transfermiddleware/client/cli/query.go index 6e93f6a81..39a1fbc2c 100644 --- a/x/transfermiddleware/client/cli/query.go +++ b/x/transfermiddleware/client/cli/query.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/version" "github.com/spf13/cobra" - "github.com/notional-labs/composable/v5/x/transfermiddleware/types" + "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" ) // GetQueryCmd returns the query commands for router diff --git a/x/transfermiddleware/client/cli/tx.go b/x/transfermiddleware/client/cli/tx.go index f66659659..8947cd60d 100644 --- a/x/transfermiddleware/client/cli/tx.go +++ b/x/transfermiddleware/client/cli/tx.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/version" "github.com/spf13/cobra" - "github.com/notional-labs/composable/v5/x/transfermiddleware/types" + "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" ) // GetTxCmd returns the tx commands for router diff --git a/x/transfermiddleware/ibc_ante_test.go b/x/transfermiddleware/ibc_ante_test.go index 1783db02c..5eb3fcd6e 100644 --- a/x/transfermiddleware/ibc_ante_test.go +++ b/x/transfermiddleware/ibc_ante_test.go @@ -12,10 +12,10 @@ import ( wasmtypes "github.com/cosmos/ibc-go/v7/modules/light-clients/08-wasm/types" "github.com/stretchr/testify/suite" - customibctesting "github.com/notional-labs/composable/v5/app/ibctesting" + customibctesting "github.com/notional-labs/centauri/v5/app/ibctesting" ) -var govAuthorityAddress = "composable10556m38z4x6pqalr9rl5ytf3cff8q46nnngqs2" // convert from: centauri10556m38z4x6pqalr9rl5ytf3cff8q46nk85k9m +var govAuthorityAddress = "centauri10556m38z4x6pqalr9rl5ytf3cff8q46nk85k9m" type TransferTestSuite struct { suite.Suite diff --git a/x/transfermiddleware/ibc_middleware.go b/x/transfermiddleware/ibc_middleware.go index 0bd932ea4..cc00c0c5d 100644 --- a/x/transfermiddleware/ibc_middleware.go +++ b/x/transfermiddleware/ibc_middleware.go @@ -11,7 +11,7 @@ import ( porttypes "github.com/cosmos/ibc-go/v7/modules/core/05-port/types" ibcexported "github.com/cosmos/ibc-go/v7/modules/core/exported" - "github.com/notional-labs/composable/v5/x/transfermiddleware/keeper" + "github.com/notional-labs/centauri/v5/x/transfermiddleware/keeper" ) var _ porttypes.Middleware = &IBCMiddleware{} diff --git a/x/transfermiddleware/keeper/abci.go b/x/transfermiddleware/keeper/abci.go index 7322aa28d..4712e28ce 100644 --- a/x/transfermiddleware/keeper/abci.go +++ b/x/transfermiddleware/keeper/abci.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/notional-labs/composable/v5/x/transfermiddleware/types" + "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" ) // BeginBlocker of epochs module. diff --git a/x/transfermiddleware/keeper/genesis.go b/x/transfermiddleware/keeper/genesis.go index 0584b804b..0004a28d4 100644 --- a/x/transfermiddleware/keeper/genesis.go +++ b/x/transfermiddleware/keeper/genesis.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/notional-labs/composable/v5/x/transfermiddleware/types" + "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" ) // TODO: add init genesis logic diff --git a/x/transfermiddleware/keeper/genesis_test.go b/x/transfermiddleware/keeper/genesis_test.go index ccfdc0f57..0084b58bd 100644 --- a/x/transfermiddleware/keeper/genesis_test.go +++ b/x/transfermiddleware/keeper/genesis_test.go @@ -5,12 +5,12 @@ import ( "github.com/stretchr/testify/require" - helpers "github.com/notional-labs/composable/v5/app/helpers" - "github.com/notional-labs/composable/v5/x/transfermiddleware/types" + helpers "github.com/notional-labs/centauri/v5/app/helpers" + "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" ) func TestTFMInitGenesis(t *testing.T) { - app := helpers.SetupComposableAppWithValSet(t) + app := helpers.SetupCentauriAppWithValSet(t) ctx := helpers.NewContextForApp(*app) tokenInfos := make([]types.ParachainIBCTokenInfo, 1) @@ -34,7 +34,7 @@ func TestTFMInitGenesis(t *testing.T) { } func TestTFMExportGenesis(t *testing.T) { - app := helpers.SetupComposableAppWithValSet(t) + app := helpers.SetupCentauriAppWithValSet(t) ctx := helpers.NewContextForApp(*app) err := app.TransferMiddlewareKeeper.AddParachainIBCInfo(ctx, "ibc-test", "channel-0", "pica", "1") @@ -55,7 +55,7 @@ func TestTFMExportGenesis(t *testing.T) { } func TestIterateParaTokenInfos(t *testing.T) { - app := helpers.SetupComposableAppWithValSet(t) + app := helpers.SetupCentauriAppWithValSet(t) ctx := helpers.NewContextForApp(*app) err := app.TransferMiddlewareKeeper.AddParachainIBCInfo(ctx, "ibc-test", "channel-0", "pica", "1") diff --git a/x/transfermiddleware/keeper/grpc_query.go b/x/transfermiddleware/keeper/grpc_query.go index 19a69c1b9..cb654fa02 100644 --- a/x/transfermiddleware/keeper/grpc_query.go +++ b/x/transfermiddleware/keeper/grpc_query.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" transfertypes "github.com/cosmos/ibc-go/v7/modules/apps/transfer/types" - "github.com/notional-labs/composable/v5/x/transfermiddleware/types" + "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" ) func (k Keeper) ParaTokenInfo(c context.Context, req *types.QueryParaTokenInfoRequest) (*types.QueryParaTokenInfoResponse, error) { diff --git a/x/transfermiddleware/keeper/ics4wrapper.go b/x/transfermiddleware/keeper/ics4wrapper.go index c6fc75cc4..703ff20c5 100644 --- a/x/transfermiddleware/keeper/ics4wrapper.go +++ b/x/transfermiddleware/keeper/ics4wrapper.go @@ -12,7 +12,7 @@ import ( channeltypes "github.com/cosmos/ibc-go/v7/modules/core/04-channel/types" ibcexported "github.com/cosmos/ibc-go/v7/modules/core/exported" - "github.com/notional-labs/composable/v5/x/transfermiddleware/types" + "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" ) func (keeper Keeper) hasParachainIBCTokenInfo(ctx sdk.Context, nativeDenom string) bool { diff --git a/x/transfermiddleware/keeper/keeper.go b/x/transfermiddleware/keeper/keeper.go index 78a051502..e28c11a17 100644 --- a/x/transfermiddleware/keeper/keeper.go +++ b/x/transfermiddleware/keeper/keeper.go @@ -14,7 +14,7 @@ import ( porttypes "github.com/cosmos/ibc-go/v7/modules/core/05-port/types" "github.com/cosmos/ibc-go/v7/modules/core/exported" - "github.com/notional-labs/composable/v5/x/transfermiddleware/types" + "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" ) type Keeper struct { @@ -154,11 +154,6 @@ func (keeper Keeper) SetAllowRlyAddress(ctx sdk.Context, rlyAddress string) { store.Set(types.GetKeyByRlyAddress(rlyAddress), []byte{1}) } -func (keeper Keeper) DeleteAllowRlyAddress(ctx sdk.Context, rlyAddress string) { - store := ctx.KVStore(keeper.storeKey) - store.Delete(types.GetKeyByRlyAddress(rlyAddress)) -} - func (keeper Keeper) HasAllowRlyAddress(ctx sdk.Context, rlyAddress string) bool { store := ctx.KVStore(keeper.storeKey) key := types.GetKeyByRlyAddress(rlyAddress) @@ -166,19 +161,6 @@ func (keeper Keeper) HasAllowRlyAddress(ctx sdk.Context, rlyAddress string) bool return store.Has(key) } -func (keeper Keeper) IterateAllowRlyAddress(ctx sdk.Context, cb func(rlyAddress string) (stop bool)) { - store := ctx.KVStore(keeper.storeKey) - iterator := sdk.KVStorePrefixIterator(store, types.KeyRlyAddress) - - defer iterator.Close() - for ; iterator.Valid(); iterator.Next() { - rlyAddress := string(iterator.Key()) - if cb(rlyAddress) { - break - } - } -} - func (keeper Keeper) HasParachainIBCTokenInfoByNativeDenom(ctx sdk.Context, nativeDenom string) bool { store := ctx.KVStore(keeper.storeKey) key := types.GetKeyParachainIBCTokenInfoByNativeDenom(nativeDenom) diff --git a/x/transfermiddleware/keeper/msg_server.go b/x/transfermiddleware/keeper/msg_server.go index 986fbf5f7..dba2d76d7 100644 --- a/x/transfermiddleware/keeper/msg_server.go +++ b/x/transfermiddleware/keeper/msg_server.go @@ -9,7 +9,7 @@ import ( "cosmossdk.io/errors" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/notional-labs/composable/v5/x/transfermiddleware/types" + "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" ) var _ types.MsgServer = msgServer{} diff --git a/x/transfermiddleware/keeper/params.go b/x/transfermiddleware/keeper/params.go index 7c0538b7f..890882030 100644 --- a/x/transfermiddleware/keeper/params.go +++ b/x/transfermiddleware/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/notional-labs/composable/v5/x/transfermiddleware/types" + "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" ) func (k Keeper) GetParams(ctx sdk.Context) (params types.Params) { diff --git a/x/transfermiddleware/keeper/relay.go b/x/transfermiddleware/keeper/relay.go index 27f1832e4..ecaedbd79 100644 --- a/x/transfermiddleware/keeper/relay.go +++ b/x/transfermiddleware/keeper/relay.go @@ -6,7 +6,7 @@ import ( transfertypes "github.com/cosmos/ibc-go/v7/modules/apps/transfer/types" channeltypes "github.com/cosmos/ibc-go/v7/modules/core/04-channel/types" - "github.com/notional-labs/composable/v5/x/transfermiddleware/types" + "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" ) func (k Keeper) OnRecvPacket(ctx sdk.Context, packet channeltypes.Packet, data transfertypes.FungibleTokenPacketData) error { diff --git a/x/transfermiddleware/module.go b/x/transfermiddleware/module.go index 16a92a584..a0421ce3f 100644 --- a/x/transfermiddleware/module.go +++ b/x/transfermiddleware/module.go @@ -16,9 +16,9 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" - "github.com/notional-labs/composable/v5/x/transfermiddleware/client/cli" - "github.com/notional-labs/composable/v5/x/transfermiddleware/keeper" - "github.com/notional-labs/composable/v5/x/transfermiddleware/types" + "github.com/notional-labs/centauri/v5/x/transfermiddleware/client/cli" + "github.com/notional-labs/centauri/v5/x/transfermiddleware/keeper" + "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" ) var ( diff --git a/x/transfermiddleware/pfm_test.go b/x/transfermiddleware/pfm_test.go index f8bf27b81..1cef4d519 100644 --- a/x/transfermiddleware/pfm_test.go +++ b/x/transfermiddleware/pfm_test.go @@ -13,7 +13,7 @@ import ( clienttypes "github.com/cosmos/ibc-go/v7/modules/core/02-client/types" "github.com/stretchr/testify/suite" - customibctesting "github.com/notional-labs/composable/v5/app/ibctesting" + customibctesting "github.com/notional-labs/centauri/v5/app/ibctesting" ) type PacketMetadata struct { diff --git a/x/transfermiddleware/relay_test.go b/x/transfermiddleware/relay_test.go index 87abaf2dd..5753e4bdf 100644 --- a/x/transfermiddleware/relay_test.go +++ b/x/transfermiddleware/relay_test.go @@ -10,7 +10,7 @@ import ( clienttypes "github.com/cosmos/ibc-go/v7/modules/core/02-client/types" "github.com/stretchr/testify/suite" - customibctesting "github.com/notional-labs/composable/v5/app/ibctesting" + customibctesting "github.com/notional-labs/centauri/v5/app/ibctesting" ) // TODO: use testsuite here. diff --git a/x/transfermiddleware/types/codec.go b/x/transfermiddleware/types/codec.go index 523049256..9f32f7abe 100644 --- a/x/transfermiddleware/types/codec.go +++ b/x/transfermiddleware/types/codec.go @@ -16,9 +16,9 @@ import ( // RegisterLegacyAminoCodec registers the account interfaces and concrete types on the // provided LegacyAmino codec. These types are used for Amino JSON serialization func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { - legacy.RegisterAminoMsg(cdc, &MsgAddParachainIBCTokenInfo{}, "composable/MsgAddParachainInfo") - legacy.RegisterAminoMsg(cdc, &MsgRemoveParachainIBCTokenInfo{}, "composable/MsgRemoveParachainInfo") - legacy.RegisterAminoMsg(cdc, &MsgAddRlyAddress{}, "composable/MsgAddRlyAddress") + legacy.RegisterAminoMsg(cdc, &MsgAddParachainIBCTokenInfo{}, "centauri/MsgAddParachainInfo") + legacy.RegisterAminoMsg(cdc, &MsgRemoveParachainIBCTokenInfo{}, "centauri/MsgRemoveParachainInfo") + legacy.RegisterAminoMsg(cdc, &MsgAddRlyAddress{}, "centauri/MsgAddRlyAddress") } func RegisterInterfaces(registry codectypes.InterfaceRegistry) { diff --git a/x/transfermiddleware/types/genesis.pb.go b/x/transfermiddleware/types/genesis.pb.go index 696a92b18..15a12add3 100644 --- a/x/transfermiddleware/types/genesis.pb.go +++ b/x/transfermiddleware/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: composable/transfermiddleware/v1beta1/genesis.proto +// source: centauri/transfermiddleware/v1beta1/genesis.proto package types @@ -34,7 +34,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} } func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_a9aae52ba7c9ee39, []int{0} + return fileDescriptor_bba390f1246595d3, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -78,32 +78,31 @@ func (m *GenesisState) GetParams() Params { } func init() { - proto.RegisterType((*GenesisState)(nil), "composable.transfermiddleware.v1beta1.GenesisState") + proto.RegisterType((*GenesisState)(nil), "centauri.transfermiddleware.v1beta1.GenesisState") } func init() { - proto.RegisterFile("composable/transfermiddleware/v1beta1/genesis.proto", fileDescriptor_a9aae52ba7c9ee39) + proto.RegisterFile("centauri/transfermiddleware/v1beta1/genesis.proto", fileDescriptor_bba390f1246595d3) } -var fileDescriptor_a9aae52ba7c9ee39 = []byte{ - // 258 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4e, 0xce, 0xcf, 0x2d, - 0xc8, 0x2f, 0x4e, 0x4c, 0xca, 0x49, 0xd5, 0x2f, 0x29, 0x4a, 0xcc, 0x2b, 0x4e, 0x4b, 0x2d, 0xca, - 0xcd, 0x4c, 0x49, 0xc9, 0x49, 0x2d, 0x4f, 0x2c, 0x4a, 0xd5, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, - 0x34, 0xd4, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, - 0x52, 0x45, 0x68, 0xd2, 0xc3, 0xd4, 0xa4, 0x07, 0xd5, 0x24, 0x25, 0x92, 0x9e, 0x9f, 0x9e, 0x0f, - 0xd6, 0xa1, 0x0f, 0x62, 0x41, 0x34, 0x4b, 0x19, 0x11, 0x67, 0x63, 0x41, 0x62, 0x51, 0x62, 0x2e, - 0xd4, 0x42, 0x29, 0x07, 0xe2, 0xf5, 0x24, 0x67, 0x24, 0x66, 0xe6, 0xc5, 0x97, 0xe4, 0x67, 0xa7, - 0xe6, 0xc5, 0x67, 0xe6, 0xa5, 0x41, 0x6d, 0x55, 0x3a, 0xc0, 0xc8, 0xc5, 0xe3, 0x0e, 0xf1, 0x44, - 0x70, 0x49, 0x62, 0x49, 0xaa, 0x50, 0x32, 0x17, 0x37, 0x42, 0x51, 0xb1, 0x04, 0xa3, 0x02, 0xb3, - 0x06, 0xb7, 0x91, 0x8d, 0x1e, 0x51, 0x3e, 0xd3, 0x0b, 0x80, 0x59, 0xe4, 0xe9, 0xe4, 0x1c, 0x02, - 0x32, 0xc5, 0x33, 0x2f, 0x2d, 0xdf, 0x89, 0xe5, 0xc4, 0x3d, 0x79, 0x86, 0x20, 0xae, 0x12, 0x98, - 0x40, 0xb1, 0x90, 0x37, 0x17, 0x1b, 0xc4, 0x1f, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0xdc, 0x46, 0xba, - 0x24, 0x98, 0x9f, 0x5b, 0x0c, 0x35, 0x10, 0x6a, 0x84, 0x93, 0xc9, 0x89, 0x47, 0x72, 0x8c, 0x17, - 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, - 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x49, 0x55, 0x60, 0x0b, 0x95, 0x92, 0xca, 0x82, 0xd4, 0xe2, 0x24, - 0x36, 0xb0, 0xff, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0xf2, 0xb2, 0x4a, 0xf8, 0xe9, 0x01, - 0x00, 0x00, +var fileDescriptor_bba390f1246595d3 = []byte{ + // 256 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4c, 0x4e, 0xcd, 0x2b, + 0x49, 0x2c, 0x2d, 0xca, 0xd4, 0x2f, 0x29, 0x4a, 0xcc, 0x2b, 0x4e, 0x4b, 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x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, + 0xcb, 0x31, 0x44, 0x49, 0x55, 0x60, 0x0b, 0x91, 0x92, 0xca, 0x82, 0xd4, 0xe2, 0x24, 0x36, 0xb0, + 0xdf, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0xaf, 0xbd, 0x63, 0x88, 0xdd, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/transfermiddleware/types/info_test.go b/x/transfermiddleware/types/info_test.go index 078fec2ac..aa19f53f3 100644 --- a/x/transfermiddleware/types/info_test.go +++ b/x/transfermiddleware/types/info_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/notional-labs/composable/v5/x/transfermiddleware/types" + "github.com/notional-labs/centauri/v5/x/transfermiddleware/types" ) func TestValidateBasic(t *testing.T) { diff --git a/x/transfermiddleware/types/parachain_token_info.pb.go b/x/transfermiddleware/types/parachain_token_info.pb.go index ea33c7e44..9f492749f 100644 --- a/x/transfermiddleware/types/parachain_token_info.pb.go +++ b/x/transfermiddleware/types/parachain_token_info.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: composable/transfermiddleware/v1beta1/parachain_token_info.proto +// source: centauri/transfermiddleware/v1beta1/parachain_token_info.proto package types @@ -33,9 +33,9 @@ type ParachainIBCTokenInfo struct { // ibc_denom is the denomination of the ibced token transferred from the // dotsama chain. IbcDenom string `protobuf:"bytes,1,opt,name=ibc_denom,json=ibcDenom,proto3" json:"ibc_denom,omitempty" yaml:"ibc_denom"` - // channel_id is source channel in IBC connection from composable chain - ChannelID string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty" yaml:"channel_id"` - // native denom is new native minted denom in composable chain. + // channel_id is source channel in IBC connection from centauri chain + ChannelID string `protobuf:"bytes,2,opt,name=channel_id,json=channelID,proto3" json:"channel_id,omitempty" yaml:"channel_id"` + // native denom is new native minted denom in centauri chain. NativeDenom string `protobuf:"bytes,3,opt,name=native_denom,json=nativeDenom,proto3" json:"native_denom,omitempty" yaml:"native_denom"` // asset id is the id of the asset on Picasso AssetId string `protobuf:"bytes,4,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty" yaml:"asset_id"` @@ -45,7 +45,7 @@ func (m *ParachainIBCTokenInfo) Reset() { *m = ParachainIBCTokenInfo{} } func (m *ParachainIBCTokenInfo) String() string { return proto.CompactTextString(m) } func (*ParachainIBCTokenInfo) ProtoMessage() {} func (*ParachainIBCTokenInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_b056b58fc55452d7, []int{0} + return fileDescriptor_b9cc8ea0d211210f, []int{0} } func (m *ParachainIBCTokenInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -103,7 +103,7 @@ func (m *ParachainIBCTokenInfo) GetAssetId() string { } type RemoveParachainIBCTokenInfo struct { - // native denom is new native minted denom in composable chain. + // native denom is new native minted denom in centauri chain. NativeDenom string `protobuf:"bytes,1,opt,name=native_denom,json=nativeDenom,proto3" json:"native_denom,omitempty" yaml:"native_denom"` // remove_time is the time at which the parachain token info will be removed. RemoveTime time.Time `protobuf:"bytes,2,opt,name=remove_time,json=removeTime,proto3,stdtime" json:"remove_time" yaml:"start_time"` @@ -113,7 +113,7 @@ func (m *RemoveParachainIBCTokenInfo) Reset() { *m = RemoveParachainIBCT func (m *RemoveParachainIBCTokenInfo) String() string { return proto.CompactTextString(m) } func (*RemoveParachainIBCTokenInfo) ProtoMessage() {} func (*RemoveParachainIBCTokenInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_b056b58fc55452d7, []int{1} + return fileDescriptor_b9cc8ea0d211210f, []int{1} } func (m *RemoveParachainIBCTokenInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -157,42 +157,41 @@ func (m *RemoveParachainIBCTokenInfo) GetRemoveTime() time.Time { } func init() { - proto.RegisterType((*ParachainIBCTokenInfo)(nil), "composable.transfermiddleware.v1beta1.ParachainIBCTokenInfo") - proto.RegisterType((*RemoveParachainIBCTokenInfo)(nil), "composable.transfermiddleware.v1beta1.RemoveParachainIBCTokenInfo") + proto.RegisterType((*ParachainIBCTokenInfo)(nil), "centauri.transfermiddleware.v1beta1.ParachainIBCTokenInfo") + proto.RegisterType((*RemoveParachainIBCTokenInfo)(nil), "centauri.transfermiddleware.v1beta1.RemoveParachainIBCTokenInfo") } func init() { - proto.RegisterFile("composable/transfermiddleware/v1beta1/parachain_token_info.proto", fileDescriptor_b056b58fc55452d7) + proto.RegisterFile("centauri/transfermiddleware/v1beta1/parachain_token_info.proto", fileDescriptor_b9cc8ea0d211210f) } -var fileDescriptor_b056b58fc55452d7 = []byte{ - // 404 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0xc1, 0xae, 0x93, 0x40, - 0x14, 0x86, 0x19, 0x35, 0x7a, 0x99, 0x9a, 0xa8, 0xdc, 0x6b, 0xbc, 0xc1, 0xc8, 0x98, 0x49, 0x4c, - 0x5c, 0x41, 0xaa, 0xae, 0xee, 0x4a, 0x69, 0x37, 0xec, 0x0c, 0xe9, 0xaa, 0x1b, 0x32, 0xc0, 0x40, - 0x27, 0xc2, 0x0c, 0x81, 0xb1, 0xda, 0xb7, 0xe8, 0xcb, 0xf8, 0x0e, 0x5d, 0x76, 0xe9, 0x0a, 0x0d, - 0x7d, 0x03, 0x76, 0xee, 0x0c, 0x33, 0xc5, 0x1a, 0xed, 0xe6, 0xee, 0xce, 0xe1, 0x9c, 0xff, 0xfb, - 0x27, 0xff, 0x01, 0xbe, 0x4f, 0x44, 0x59, 0x89, 0x86, 0xc4, 0x05, 0xf5, 0x64, 0x4d, 0x78, 0x93, - 0xd1, 0xba, 0x64, 0x69, 0x5a, 0xd0, 0x2f, 0xa4, 0xa6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 0xa2, 0x47, - 0x5a, 0x37, 0x4e, 0x70, 0xf8, 0x40, 0x95, 0x41, 0x8a, 0xbf, 0x01, 0xf8, 0x3c, 0xa4, 0xa5, 0x58, - 0xd3, 0xf3, 0x09, 0xfc, 0xfb, 0x16, 0x70, 0x8b, 0xb7, 0x2c, 0xe1, 0xa4, 0x56, 0xe8, 0x68, 0x48, - 0x5c, 0x65, 0x31, 0x79, 0x63, 0xbb, 0xfa, 0x1c, 0xee, 0x78, 0x0e, 0x77, 0x31, 0x9e, 0xc3, 0x7f, - 0xb1, 0x6b, 0x91, 0x71, 0x8a, 0xa7, 0x91, 0xa4, 0x96, 0x4a, 0x8b, 0xb7, 0x3f, 0x10, 0x08, 0xa1, - 0xa6, 0x0d, 0xfb, 0xfe, 0xbb, 0x5d, 0xe7, 0x80, 0x7d, 0xe7, 0x80, 0x9f, 0x9d, 0x03, 0xb6, 0x07, - 0xc7, 0xd8, 0x1f, 0x1c, 0xe3, 0xfb, 0xc1, 0x31, 0x96, 0xf6, 0xd7, 0x73, 0x3f, 0x99, 0xdc, 0x54, - 0xb4, 0x89, 0xef, 0x2b, 0xd3, 0xb7, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x69, 0xab, 0x4b, 0xb5, - 0x92, 0x02, 0x00, 0x00, +var fileDescriptor_b9cc8ea0d211210f = []byte{ + // 392 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0xbf, 0xae, 0xd3, 0x30, + 0x14, 0xc6, 0x63, 0x40, 0x70, 0xeb, 0x22, 0x01, 0xb9, 0xad, 0xa8, 0x82, 0x48, 0x90, 0x59, 0x98, + 0x12, 0x15, 0x3a, 0x75, 0x60, 0x08, 0x2c, 0xd9, 0x50, 0xd4, 0xa9, 0x4b, 0xe4, 0x24, 0x4e, 0x6a, + 0x91, 0xd8, 0x91, 0xe3, 0x16, 0xfa, 0x16, 0x7d, 0x19, 0xde, 0xa1, 0x63, 0x47, 0xa6, 0x80, 0xda, + 0x95, 0x29, 0x4f, 0x80, 0x62, 0x37, 0x14, 0x41, 0x97, 0xbb, 0x9d, 0xa3, 0xef, 0xfc, 0xfc, 0x9d, + 0x3f, 0x86, 0xef, 0x13, 0xc2, 0x24, 0x5e, 0x0b, 0xea, 0x49, 0x81, 0x59, 0x9d, 0x11, 0x51, 0xd2, + 0x34, 0x2d, 0xc8, 0x17, 0x2c, 0x88, 0xb7, 0x99, 0xc6, 0x44, 0xe2, 0xa9, 0x57, 0x61, 0x81, 0x93, + 0x15, 0xa6, 0x2c, 0x92, 0xfc, 0x33, 0x61, 0x11, 0x65, 0x19, 0x77, 0x2b, 0xc1, 0x25, 0x37, 0x5f, + 0xf7, 0xbc, 0xfb, 0x3f, 0xef, 0x9e, 0x79, 0x6b, 0x94, 0xf3, 0x9c, 0xab, 0x7a, 0xaf, 0x8b, 0x34, + 0x6a, 0x39, 0x39, 0xe7, 0x79, 0x41, 0x3c, 0x95, 0xc5, 0xeb, 0xcc, 0x93, 0xb4, 0x24, 0xb5, 0xc4, + 0x65, 0xa5, 0x0b, 0xd0, 0x2f, 0x00, 0xc7, 0x9f, 0x7a, 0xeb, 0xc0, 0xff, 0xb0, 0xe8, 0xcc, 0x03, + 0x96, 0x71, 0x73, 0x0a, 0x07, 0x34, 0x4e, 0xa2, 0x94, 0x30, 0x5e, 0x4e, 0xc0, 0x2b, 0xf0, 0x66, + 0xe0, 0x8f, 0xda, 0xc6, 0x79, 0xba, 0xc5, 0x65, 0x31, 0x47, 0x7f, 0x24, 0x14, 0xde, 0xd0, 0x38, + 0xf9, 0xd8, 0x85, 0xe6, 0x0c, 0xc2, 0x64, 0x85, 0x19, 0x23, 0x45, 0x44, 0xd3, 0xc9, 0x3d, 0xc5, + 0x8c, 0xdb, 0xc6, 0x79, 0xa6, 0x99, 0x8b, 0x86, 0xc2, 0xc1, 0x39, 0x09, 0x52, 0x73, 0x0e, 0x1f, + 0x33, 0x2c, 0xe9, 0x86, 0x9c, 0xbd, 0xee, 0x2b, 0xee, 0x79, 0xdb, 0x38, 0xb7, 0x9a, 0xfb, 0x5b, + 0x45, 0xe1, 0x50, 0xa7, 0xda, 0xd1, 0x85, 0x37, 0xb8, 0xae, 0x89, 0xec, 0xfc, 0x1e, 0x28, 0xee, + 0xb6, 0x6d, 0x9c, 0x27, 0x9a, 0xeb, 0x15, 0x14, 0x3e, 0x52, 0x61, 0x90, 0xa2, 0x6f, 0x00, 0xbe, + 0x08, 0x49, 0xc9, 0x37, 0xe4, 0xfa, 0xd0, 0xff, 0xf6, 0x02, 0xee, 0xd0, 0xcb, 0x12, 0x0e, 0x85, + 0x7a, 0x3a, 0xea, 0x96, 0xac, 0xc6, 0x1f, 0xbe, 0xb5, 0x5c, 0x7d, 0x01, 0xb7, 0xbf, 0x80, 0xbb, + 0xe8, 0x2f, 0xe0, 0xbf, 0xdc, 0x37, 0x8e, 0x71, 0x59, 0x4f, 0x2d, 0xb1, 0x90, 0x8a, 0x45, 0xbb, + 0x1f, 0x0e, 0x08, 0xa1, 0x7e, 0xad, 0xab, 0xf7, 0x67, 0xfb, 0xa3, 0x0d, 0x0e, 0x47, 0x1b, 0xfc, + 0x3c, 0xda, 0x60, 0x77, 0xb2, 0x8d, 0xc3, 0xc9, 0x36, 0xbe, 0x9f, 0x6c, 0x63, 0x69, 0x7d, 0xbd, + 0xf6, 0xab, 0xe4, 0xb6, 0x22, 0x75, 0xfc, 0x50, 0x99, 0xbe, 0xfb, 0x1d, 0x00, 0x00, 0xff, 0xff, + 0xd7, 0x2a, 0x55, 0xb9, 0x81, 0x02, 0x00, 0x00, } func (m *ParachainIBCTokenInfo) Marshal() (dAtA []byte, err error) { diff --git a/x/transfermiddleware/types/params.pb.go b/x/transfermiddleware/types/params.pb.go index 9caf4e4a0..bac319c24 100644 --- a/x/transfermiddleware/types/params.pb.go +++ b/x/transfermiddleware/types/params.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: composable/transfermiddleware/v1beta1/params.proto +// source: centauri/transfermiddleware/v1beta1/params.proto package types @@ -36,7 +36,7 @@ func (m *Params) Reset() { *m = Params{} } func (m *Params) String() string { return proto.CompactTextString(m) } func (*Params) ProtoMessage() {} func (*Params) Descriptor() ([]byte, []int) { - return fileDescriptor_98f93cfd11a323e1, []int{0} + return fileDescriptor_1f53976bc1ed34da, []int{0} } func (m *Params) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -73,31 +73,30 @@ func (m *Params) GetDuration() time.Duration { } func init() { - proto.RegisterType((*Params)(nil), "composable.transfermiddleware.v1beta1.Params") + proto.RegisterType((*Params)(nil), "centauri.transfermiddleware.v1beta1.Params") } func init() { - proto.RegisterFile("composable/transfermiddleware/v1beta1/params.proto", fileDescriptor_98f93cfd11a323e1) + proto.RegisterFile("centauri/transfermiddleware/v1beta1/params.proto", fileDescriptor_1f53976bc1ed34da) } -var fileDescriptor_98f93cfd11a323e1 = []byte{ - // 241 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4a, 0xce, 0xcf, 0x2d, - 0xc8, 0x2f, 0x4e, 0x4c, 0xca, 0x49, 0xd5, 0x2f, 0x29, 0x4a, 0xcc, 0x2b, 0x4e, 0x4b, 0x2d, 0xca, - 0xcd, 0x4c, 0x49, 0xc9, 0x49, 0x2d, 0x4f, 0x2c, 0x4a, 0xd5, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, - 0x34, 0xd4, 0x2f, 0x48, 0x2c, 0x4a, 0xcc, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x52, - 0x45, 0xe8, 0xd1, 0xc3, 0xd4, 0xa3, 0x07, 0xd5, 0x23, 0x25, 0x92, 0x9e, 0x9f, 0x9e, 0x0f, 0xd6, - 0xa1, 0x0f, 0x62, 0x41, 0x34, 0x4b, 0xc9, 0xa5, 0xe7, 0xe7, 0xa7, 0xe7, 0xa4, 0xea, 0x83, 0x79, - 0x49, 0xa5, 0x69, 0xfa, 0x29, 0xa5, 0x45, 0x89, 0x25, 0x99, 0xf9, 0x79, 0x10, 0x79, 0xa5, 0x22, - 0x2e, 0xb6, 0x00, 0xb0, 0x65, 0x42, 0x19, 0x5c, 0x1c, 0x30, 0x39, 0x09, 0x46, 0x05, 0x46, 0x0d, - 0x6e, 0x23, 0x49, 0x3d, 0x88, 0x66, 0x3d, 0x98, 0x66, 0x3d, 0x17, 0xa8, 0x02, 0x27, 0xc3, 0x13, - 0xf7, 0xe4, 0x19, 0x5e, 0xdd, 0x93, 0x17, 0x82, 0x69, 0xd1, 0xc9, 0xcf, 0xcd, 0x2c, 0x49, 0xcd, - 0x2d, 0x28, 0xa9, 0xfc, 0x74, 0x4f, 0x9e, 0xbf, 0x32, 0x31, 0x37, 0xc7, 0x4a, 0x09, 0x26, 0xa7, - 0x34, 0xe3, 0xbe, 0x3c, 0x63, 0x10, 0xdc, 0x74, 0x27, 0x93, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, - 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, - 0x3c, 0x96, 0x63, 0x88, 0x92, 0xaa, 0xc0, 0x16, 0x2a, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, - 0x60, 0x57, 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x11, 0xa6, 0xc1, 0x38, 0x43, 0x01, 0x00, - 0x00, +var fileDescriptor_1f53976bc1ed34da = []byte{ + // 239 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x48, 0x4e, 0xcd, 0x2b, + 0x49, 0x2c, 0x2d, 0xca,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8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, + 0x63, 0x88, 0x92, 0xaa, 0xc0, 0x16, 0x26, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0x60, 0x57, + 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xa1, 0x85, 0xdf, 0xf3, 0x3f, 0x01, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { diff --git a/x/transfermiddleware/types/query.pb.go b/x/transfermiddleware/types/query.pb.go index 06f9be42f..baea27af5 100644 --- a/x/transfermiddleware/types/query.pb.go +++ b/x/transfermiddleware/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: composable/transfermiddleware/v1beta1/query.proto +// source: centauri/transfermiddleware/v1beta1/query.proto package types @@ -31,14 +31,14 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // message QueryEscrowAddressRequest type QueryEscrowAddressRequest struct { - ChannelID string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty" yaml:"channel_id"` + ChannelID string `protobuf:"bytes,1,opt,name=channel_id,json=channelID,proto3" json:"channel_id,omitempty" yaml:"channel_id"` } func (m *QueryEscrowAddressRequest) Reset() { *m = QueryEscrowAddressRequest{} } func (m *QueryEscrowAddressRequest) String() string { return proto.CompactTextString(m) } func (*QueryEscrowAddressRequest) ProtoMessage() {} func (*QueryEscrowAddressRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_241820e1315881d1, []int{0} + return fileDescriptor_cc2bc06232cb63aa, []int{0} } func (m *QueryEscrowAddressRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -83,7 +83,7 @@ func (m *QueryEscrowAddressResponse) Reset() { *m = QueryEscrowAddressRe func (m *QueryEscrowAddressResponse) String() string { return proto.CompactTextString(m) } func (*QueryEscrowAddressResponse) ProtoMessage() {} func (*QueryEscrowAddressResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_241820e1315881d1, []int{1} + return fileDescriptor_cc2bc06232cb63aa, []int{1} } func (m *QueryEscrowAddressResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -129,7 +129,7 @@ func (m *QueryParaTokenInfoRequest) Reset() { *m = QueryParaTokenInfoReq func (m *QueryParaTokenInfoRequest) String() string { return proto.CompactTextString(m) } func (*QueryParaTokenInfoRequest) ProtoMessage() {} func (*QueryParaTokenInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_241820e1315881d1, []int{2} + return fileDescriptor_cc2bc06232cb63aa, []int{2} } func (m *QueryParaTokenInfoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -169,7 +169,7 @@ func (m *QueryParaTokenInfoRequest) GetNativeDenom() string { // RPC method. type QueryParaTokenInfoResponse struct { IbcDenom string `protobuf:"bytes,1,opt,name=ibc_denom,json=ibcDenom,proto3" json:"ibc_denom,omitempty" yaml:"ibc_denom"` - ChannelID string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty" yaml:"channel_id"` + ChannelID string `protobuf:"bytes,2,opt,name=channel_id,json=channelID,proto3" json:"channel_id,omitempty" yaml:"channel_id"` NativeDenom string `protobuf:"bytes,3,opt,name=native_denom,json=nativeDenom,proto3" json:"native_denom,omitempty" yaml:"native_denom"` AssetId string `protobuf:"bytes,4,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty" yaml:"asset_id"` } @@ -178,7 +178,7 @@ func (m *QueryParaTokenInfoResponse) Reset() { *m = QueryParaTokenInfoRe func (m *QueryParaTokenInfoResponse) String() string { return proto.CompactTextString(m) } func (*QueryParaTokenInfoResponse) ProtoMessage() {} func (*QueryParaTokenInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_241820e1315881d1, []int{3} + return fileDescriptor_cc2bc06232cb63aa, []int{3} } func (m *QueryParaTokenInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -236,49 +236,48 @@ func (m *QueryParaTokenInfoResponse) GetAssetId() string { } func init() { - proto.RegisterType((*QueryEscrowAddressRequest)(nil), "composable.transfermiddleware.v1beta1.QueryEscrowAddressRequest") - proto.RegisterType((*QueryEscrowAddressResponse)(nil), "composable.transfermiddleware.v1beta1.QueryEscrowAddressResponse") - proto.RegisterType((*QueryParaTokenInfoRequest)(nil), "composable.transfermiddleware.v1beta1.QueryParaTokenInfoRequest") - proto.RegisterType((*QueryParaTokenInfoResponse)(nil), "composable.transfermiddleware.v1beta1.QueryParaTokenInfoResponse") + proto.RegisterType((*QueryEscrowAddressRequest)(nil), "centauri.transfermiddleware.v1beta1.QueryEscrowAddressRequest") + proto.RegisterType((*QueryEscrowAddressResponse)(nil), "centauri.transfermiddleware.v1beta1.QueryEscrowAddressResponse") + proto.RegisterType((*QueryParaTokenInfoRequest)(nil), "centauri.transfermiddleware.v1beta1.QueryParaTokenInfoRequest") + proto.RegisterType((*QueryParaTokenInfoResponse)(nil), "centauri.transfermiddleware.v1beta1.QueryParaTokenInfoResponse") } func init() { - proto.RegisterFile("composable/transfermiddleware/v1beta1/query.proto", fileDescriptor_241820e1315881d1) + proto.RegisterFile("centauri/transfermiddleware/v1beta1/query.proto", fileDescriptor_cc2bc06232cb63aa) } -var fileDescriptor_241820e1315881d1 = []byte{ - // 485 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xcb, 0x6e, 0xd3, 0x40, - 0x14, 0x8d, 0xc3, 0xab, 0x19, 0x28, 0x0f, 0xb7, 0x08, 0x62, 0x90, 0x0d, 0x23, 0x21, 0xb1, 0xb2, - 0x15, 0x60, 0xd5, 0x55, 0x53, 0xca, 0x22, 0x3b, 0xb0, 0x90, 0x90, 0x58, 0x34, 0xba, 0xb6, 0x6f, - 0x83, 0x85, 0x33, 0xe3, 0xce, 0x4c, 0x5b, 0xb2, 0xe5, 0x0b, 0x90, 0xf8, 0x18, 0x7e, 0x81, 0x65, - 0x25, 0x36, 0xac, 0x2c, 0x94, 0xf0, 0x05, 0xde, 0x22, 0x21, 0x64, 0xcf, 0x94, 0x26, 0xad, 0x91, - 0x5a, 0xba, 0x9b, 0xf1, 0x99, 0x73, 0xee, 0x99, 0x3b, 0xe7, 0x9a, 0xf4, 0x62, 0x3e, 0xce, 0xb9, - 0x84, 0x28, 0xc3, 0x40, 0x09, 0x60, 0x72, 0x1b, 0xc5, 0x38, 0x4d, 0x92, 0x0c, 0xf7, 0x41, 0x60, - 0xb0, 0xd7, 0x8b, 0x50, 0x41, 0x2f, 0xd8, 0xd9, 0x45, 0x31, 0xf1, 0x73, 0xc1, 0x15, 0xb7, 0x1f, - 0x1d, 0x51, 0xfc, 0x93, 0x14, 0xdf, 0x50, 0x9c, 0xd5, 0x11, 0x1f, 0xf1, 0x9a, 0x11, 0x54, 0x2b, - 0x4d, 0x76, 0xee, 0x8f, 0x38, 0x1f, 0x65, 0x18, 0x40, 0x9e, 0x06, 0xc0, 0x18, 0x57, 0xa0, 0x52, - 0xce, 0xa4, 0x46, 0xe9, 0x16, 0xe9, 0xbe, 0xaa, 0x2a, 0xbd, 0x90, 0xb1, 0xe0, 0xfb, 0xfd, 0x24, - 0x11, 0x28, 0x65, 0x88, 0x3b, 0xbb, 0x28, 0x95, 0xdd, 0x27, 0x24, 0x7e, 0x07, 0x8c, 0x61, 0x36, - 0x4c, 0x93, 0xbb, 0xd6, 0x03, 0xeb, 0x71, 0x67, 0x83, 0x4e, 0x0b, 0xaf, 0xf3, 0x5c, 0x7f, 0x1d, - 0x6c, 0x96, 0x85, 0x77, 0x6b, 0x02, 0xe3, 0x6c, 0x8d, 0x1e, 0x1d, 0xa4, 0x61, 0xc7, 0x6c, 0x06, - 0x09, 0xdd, 0x22, 0x4e, 0x93, 0xbe, 0xcc, 0x39, 0x93, 0x68, 0xaf, 0x93, 0xeb, 0x58, 0x03, 0x43, - 0xd0, 0x88, 0x29, 0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xde, 0x18, 0xfb, 0x66, 0xe7, 0x3a, 0xd7, 0x26, - 0xe7, 0x1b, 0xcf, 0xbe, 0x4e, 0x5d, 0xeb, 0x60, 0xea, 0x5a, 0x3f, 0xa6, 0xae, 0xf5, 0x69, 0xe6, - 0xb6, 0x0e, 0x66, 0x6e, 0xeb, 0xfb, 0xcc, 0x6d, 0xbd, 0x75, 0x3e, 0x34, 0xfd, 0x36, 0xd4, 0x24, - 0x47, 0x19, 0x5d, 0xae, 0x87, 0xfa, 0xe9, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xdd, 0xcd, 0x8b, - 0x89, 0x64, 0x04, 0x00, 0x00, +var fileDescriptor_cc2bc06232cb63aa = []byte{ + // 472 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xcb, 0x6e, 0xd3, 0x40, + 0x14, 0x8d, 0xc3, 0xab, 0x19, 0x28, 0x0f, 0xb7, 0x55, 0x89, 0x85, 0x6c, 0x34, 0x6c, 0x58, 0xd9, + 0x0a, 0x74, 0xd5, 0x05, 0x8f, 0x0a, 0x16, 0xd9, 0x51, 0x0b, 0x09, 0x89, 0x05, 0xd1, 0x8d, 0x7d, + 0x1b, 0x46, 0x24, 0x33, 0xee, 0xcc, 0xa4, 0x25, 0x5b, 0xbe, 0x00, 0x89, 0x2f, 0xe1, 0x2f, 0x58, + 0x56, 0x62, 0xc3, 0xca, 0x42, 0x09, 0x7b, 0x84, 0xbf, 0x00, 0xd9, 0x33, 0xa1, 0x4d, 0x6b, 0xa4, + 0xb4, 0xbb, 0xb9, 0x3a, 0x73, 0xce, 0x9c, 0x7b, 0x7d, 0xae, 0x49, 0x94, 0x20, 0xd7, 0x30, 0x96, + 0x2c, 0xd2, 0x12, 0xb8, 0xda, 0x43, 0x39, 0x62, 0x69, 0x3a, 0xc4, 0x43, 0x90, 0x18, 0x1d, 0x74, + 0xfa, 0xa8,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b4, 0x58, 0x3f, 0x59, 0xd0, 0x5d, 0x2f, + 0xf2, 0xe0, 0xb6, 0xd1, 0xfd, 0x07, 0xd1, 0x78, 0x85, 0xf5, 0x93, 0x4a, 0xf1, 0xd4, 0x00, 0x9b, + 0xcb, 0x0d, 0xf0, 0x4c, 0x0f, 0x97, 0x96, 0xef, 0xc1, 0x0d, 0xc9, 0x0a, 0x28, 0x85, 0xba, 0x7c, + 0xef, 0x72, 0xc5, 0x5b, 0x2b, 0xf2, 0xe0, 0x96, 0xe1, 0xcd, 0x11, 0x1a, 0x5f, 0xab, 0x8e, 0xdd, + 0xf4, 0xd1, 0xef, 0x26, 0xb9, 0x52, 0xf5, 0xec, 0x7e, 0x75, 0xc8, 0xea, 0x42, 0xe3, 0xee, 0x93, + 0x70, 0x89, 0xd4, 0x85, 0xff, 0xfd, 0x16, 0xde, 0xd3, 0x0b, 0xf3, 0xcd, 0xc4, 0x69, 0xf0, 0xe9, + 0xfb, 0xaf, 0x2f, 0xcd, 0xb6, 0xbb, 0x79, 0xbc, 0x2f, 0x19, 0x48, 0xd0, 0xe5, 0x45, 0x56, 0x3a, + 0x2c, 0x3d, 0x2f, 0xc4, 0xec, 0x3c, 0x9e, 0xeb, 0x22, 0x7f, 0x1e, 0xcf, 0xb5, 0xf9, 0xae, 0xf3, + 0x6c, 0xe2, 0x6b, 0xe3, 0xbc, 0xb3, 0xf5, 0x6d, 0xea, 0x3b, 0x47, 0x53, 0xdf, 0xf9, 0x39, 0xf5, + 0x9d, 0xcf, 0x33, 0xbf, 0x71, 0x34, 0xf3, 0x1b, 0x3f, 0x66, 0x7e, 0xe3, 0xad, 0xf7, 0xb1, 0xee, + 0x77, 0xa0, 0x27, 0x19, 0xaa, 0xfe, 0xd5, 0x6a, 0x5d, 0x1f, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, + 0x9f, 0xa5, 0xa0, 0xee, 0x3a, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -308,7 +307,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) ParaTokenInfo(ctx context.Context, in *QueryParaTokenInfoRequest, opts ...grpc.CallOption) (*QueryParaTokenInfoResponse, error) { out := new(QueryParaTokenInfoResponse) - err := c.cc.Invoke(ctx, "/composable.transfermiddleware.v1beta1.Query/ParaTokenInfo", in, out, opts...) + err := c.cc.Invoke(ctx, "/centauri.transfermiddleware.v1beta1.Query/ParaTokenInfo", in, out, opts...) if err != nil { return nil, err } @@ -317,7 +316,7 @@ func (c *queryClient) ParaTokenInfo(ctx context.Context, in *QueryParaTokenInfoR func (c *queryClient) EscrowAddress(ctx context.Context, in *QueryEscrowAddressRequest, opts ...grpc.CallOption) (*QueryEscrowAddressResponse, error) { out := new(QueryEscrowAddressResponse) - err := c.cc.Invoke(ctx, "/composable.transfermiddleware.v1beta1.Query/EscrowAddress", in, out, opts...) + err := c.cc.Invoke(ctx, "/centauri.transfermiddleware.v1beta1.Query/EscrowAddress", in, out, opts...) if err != nil { return nil, err } @@ -356,7 +355,7 @@ func _Query_ParaTokenInfo_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/composable.transfermiddleware.v1beta1.Query/ParaTokenInfo", + FullMethod: "/centauri.transfermiddleware.v1beta1.Query/ParaTokenInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ParaTokenInfo(ctx, req.(*QueryParaTokenInfoRequest)) @@ -374,7 +373,7 @@ func _Query_EscrowAddress_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/composable.transfermiddleware.v1beta1.Query/EscrowAddress", + FullMethod: "/centauri.transfermiddleware.v1beta1.Query/EscrowAddress", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).EscrowAddress(ctx, req.(*QueryEscrowAddressRequest)) @@ -383,7 +382,7 @@ func _Query_EscrowAddress_Handler(srv interface{}, ctx context.Context, dec func } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "composable.transfermiddleware.v1beta1.Query", + ServiceName: "centauri.transfermiddleware.v1beta1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -396,7 +395,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "composable/transfermiddleware/v1beta1/query.proto", + Metadata: "centauri/transfermiddleware/v1beta1/query.proto", } func (m *QueryEscrowAddressRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/transfermiddleware/types/query.pb.gw.go b/x/transfermiddleware/types/query.pb.gw.go index a92ba0568..68f42e5c7 100644 --- a/x/transfermiddleware/types/query.pb.gw.go +++ b/x/transfermiddleware/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: composable/transfermiddleware/v1beta1/query.proto +// source: centauri/transfermiddleware/v1beta1/query.proto /* Package types is a reverse proxy. @@ -242,9 +242,9 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } var ( - pattern_Query_ParaTokenInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"composable", "paratokeninfo"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_ParaTokenInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"centauri", "paratokeninfo"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_EscrowAddress_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"composable", "escrowaddress"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_EscrowAddress_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"centauri", "escrowaddress"}, "", runtime.AssumeColonVerbOpt(false))) ) var ( diff --git a/x/transfermiddleware/types/tx.pb.go b/x/transfermiddleware/types/tx.pb.go index c7be4ccd1..dd5426258 100644 --- a/x/transfermiddleware/types/tx.pb.go +++ b/x/transfermiddleware/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: composable/transfermiddleware/v1beta1/tx.proto +// source: centauri/transfermiddleware/v1beta1/tx.proto package types @@ -34,7 +34,7 @@ type MsgAddParachainIBCTokenInfo struct { // authority is the address that controls the module (defaults to x/gov unless // overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty" yaml:"authority"` - ChannelID string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty" yaml:"channel_id"` + ChannelID string `protobuf:"bytes,2,opt,name=channel_id,json=channelID,proto3" json:"channel_id,omitempty" yaml:"channel_id"` IbcDenom string `protobuf:"bytes,3,opt,name=ibc_denom,json=ibcDenom,proto3" json:"ibc_denom,omitempty" yaml:"ibc_denom"` NativeDenom string `protobuf:"bytes,4,opt,name=native_denom,json=nativeDenom,proto3" json:"native_denom,omitempty" yaml:"native_denom"` AssetId string `protobuf:"bytes,5,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty" yaml:"asset_id"` @@ -44,7 +44,7 @@ func (m *MsgAddParachainIBCTokenInfo) Reset() { *m = MsgAddParachainIBCT func (m *MsgAddParachainIBCTokenInfo) String() string { return proto.CompactTextString(m) } func (*MsgAddParachainIBCTokenInfo) ProtoMessage() {} func (*MsgAddParachainIBCTokenInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_925cc3e4d71d1dc8, []int{0} + return fileDescriptor_2768943d6d1340b4, []int{0} } func (m *MsgAddParachainIBCTokenInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -115,7 +115,7 @@ func (m *MsgAddParachainIBCTokenInfoResponse) Reset() { *m = MsgAddParac func (m *MsgAddParachainIBCTokenInfoResponse) String() string { return proto.CompactTextString(m) } func (*MsgAddParachainIBCTokenInfoResponse) ProtoMessage() {} func (*MsgAddParachainIBCTokenInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_925cc3e4d71d1dc8, []int{1} + return fileDescriptor_2768943d6d1340b4, []int{1} } func (m *MsgAddParachainIBCTokenInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -157,7 +157,7 @@ func (m *MsgRemoveParachainIBCTokenInfo) Reset() { *m = MsgRemoveParacha func (m *MsgRemoveParachainIBCTokenInfo) String() string { return proto.CompactTextString(m) } func (*MsgRemoveParachainIBCTokenInfo) ProtoMessage() {} func (*MsgRemoveParachainIBCTokenInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_925cc3e4d71d1dc8, []int{2} + return fileDescriptor_2768943d6d1340b4, []int{2} } func (m *MsgRemoveParachainIBCTokenInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -209,7 +209,7 @@ func (m *MsgRemoveParachainIBCTokenInfoResponse) Reset() { func (m *MsgRemoveParachainIBCTokenInfoResponse) String() string { return proto.CompactTextString(m) } func (*MsgRemoveParachainIBCTokenInfoResponse) ProtoMessage() {} func (*MsgRemoveParachainIBCTokenInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_925cc3e4d71d1dc8, []int{3} + return fileDescriptor_2768943d6d1340b4, []int{3} } func (m *MsgRemoveParachainIBCTokenInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -250,7 +250,7 @@ func (m *MsgAddRlyAddress) Reset() { *m = MsgAddRlyAddress{} } func (m *MsgAddRlyAddress) String() string { return proto.CompactTextString(m) } func (*MsgAddRlyAddress) ProtoMessage() {} func (*MsgAddRlyAddress) Descriptor() ([]byte, []int) { - return fileDescriptor_925cc3e4d71d1dc8, []int{4} + return fileDescriptor_2768943d6d1340b4, []int{4} } func (m *MsgAddRlyAddress) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -300,7 +300,7 @@ func (m *MsgAddRlyAddressResponse) Reset() { *m = MsgAddRlyAddressRespon func (m *MsgAddRlyAddressResponse) String() string { return proto.CompactTextString(m) } func (*MsgAddRlyAddressResponse) ProtoMessage() {} func (*MsgAddRlyAddressResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_925cc3e4d71d1dc8, []int{5} + return fileDescriptor_2768943d6d1340b4, []int{5} } func (m *MsgAddRlyAddressResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -330,54 +330,53 @@ func (m *MsgAddRlyAddressResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgAddRlyAddressResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*MsgAddParachainIBCTokenInfo)(nil), "composable.transfermiddleware.v1beta1.MsgAddParachainIBCTokenInfo") - proto.RegisterType((*MsgAddParachainIBCTokenInfoResponse)(nil), "composable.transfermiddleware.v1beta1.MsgAddParachainIBCTokenInfoResponse") - proto.RegisterType((*MsgRemoveParachainIBCTokenInfo)(nil), "composable.transfermiddleware.v1beta1.MsgRemoveParachainIBCTokenInfo") - proto.RegisterType((*MsgRemoveParachainIBCTokenInfoResponse)(nil), "composable.transfermiddleware.v1beta1.MsgRemoveParachainIBCTokenInfoResponse") - proto.RegisterType((*MsgAddRlyAddress)(nil), "composable.transfermiddleware.v1beta1.MsgAddRlyAddress") - proto.RegisterType((*MsgAddRlyAddressResponse)(nil), "composable.transfermiddleware.v1beta1.MsgAddRlyAddressResponse") + proto.RegisterType((*MsgAddParachainIBCTokenInfo)(nil), "centauri.transfermiddleware.v1beta1.MsgAddParachainIBCTokenInfo") + proto.RegisterType((*MsgAddParachainIBCTokenInfoResponse)(nil), "centauri.transfermiddleware.v1beta1.MsgAddParachainIBCTokenInfoResponse") + proto.RegisterType((*MsgRemoveParachainIBCTokenInfo)(nil), "centauri.transfermiddleware.v1beta1.MsgRemoveParachainIBCTokenInfo") + proto.RegisterType((*MsgRemoveParachainIBCTokenInfoResponse)(nil), "centauri.transfermiddleware.v1beta1.MsgRemoveParachainIBCTokenInfoResponse") + proto.RegisterType((*MsgAddRlyAddress)(nil), "centauri.transfermiddleware.v1beta1.MsgAddRlyAddress") + proto.RegisterType((*MsgAddRlyAddressResponse)(nil), "centauri.transfermiddleware.v1beta1.MsgAddRlyAddressResponse") } func init() { - proto.RegisterFile("composable/transfermiddleware/v1beta1/tx.proto", fileDescriptor_925cc3e4d71d1dc8) -} - -var fileDescriptor_925cc3e4d71d1dc8 = []byte{ - // 536 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0x3f, 0x6f, 0xd3, 0x40, - 0x14, 0xcf, 0x25, 0xfc, 0x69, 0xae, 0xfc, 0x29, 0x6e, 0x45, 0x23, 0x57, 0xb2, 0xd1, 0xa1, 0xa2, - 0x8a, 0xc1, 0x56, 0x0a, 0x52, 0xa5, 0x2c, 0x28, 0x69, 0x19, 0x8c, 0x14, 0x09, 0x59, 0x4c, 0x2c, - 0xd1, 0xd9, 0x77, 0x75, 0x2c, 0x6c, 0x5f, 0xe4, 0x33, 0xa1, 0x5e, 0xd9, 0x98, 0xe0, 0x0b, 0xf0, - 0x05, 0x98, 0x90, 0xf8, 0x08, 0x2c, 0x8c, 0x1d, 0x99, 0x2c, 0x94, 0x0c, 0xec, 0x16, 0x1f, 0x00, - 0xc5, 0xe7, 0xd8, 0x21, 0x01, 0xab, 0xb4, 0x9d, 0xfc, 0xce, 0xbf, 0xf7, 0x7b, 0xef, 0xf7, 0x7b, - 0x7e, 0x3e, 0xa8, 0xd9, 0xcc, 0x1f, 0x31, 0x8e, 0x2d, 0x8f, 0xea, 0x51, 0x88, 0x03, 0x7e, 0x4c, - 0x43, 0xdf, 0x25, 0xc4, 0xa3, 0x6f, 0x70, 0x48, 0xf5, 0x71, 0xdb, 0xa2, 0x11, 0x6e, 0xeb, 0xd1, - 0x89, 0x36, 0x0a, 0x59, 0xc4, 0xa4, 0xdd, 0x32, 0x5f, 0x5b, 0xcd, 0xd7, 0xf2, 0x7c, 0x79, 0xcb, - 0x61,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b5, 0x97, 0xf2, 0xc9, 0xdf, 0xae, - 0xdc, 0x28, 0x1e, 0x51, 0x6e, 0x5d, 0xcb, 0x2e, 0xc6, 0x47, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, - 0xb3, 0x08, 0xd6, 0x79, 0xa0, 0x05, 0x00, 0x00, + proto.RegisterFile("centauri/transfermiddleware/v1beta1/tx.proto", fileDescriptor_2768943d6d1340b4) +} + +var fileDescriptor_2768943d6d1340b4 = []byte{ + // 528 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0x4f, 0x6f, 0xd3, 0x4e, + 0x10, 0xcd, 0x26, 0xbf, 0x1f, 0x34, 0x5b, 0xfe, 0x14, 0xb7, 0xd0, 0xc8, 0x95, 0x1c, 0xb4, 0x15, + 0xa8, 0x42, 0xc8, 0x56, 0x4a, 0x11, 0x52, 0x24, 0x24, 0x9a, 0x72, 0x20, 0x42, 0x91, 0x90, 0xc5, + 0x89, 0x4b, 0xb4, 0xf1, 0x6e, 0x1d, 0x0b, 0x7b, 0x37, 0xda, 0xdd, 0x86, 0xfa, 0x8a, 0xc4, 0x19, + 0xbe, 0x00, 0x57, 0xae, 0x70, 0xe2, 0x33, 0x70, 0xec, 0x91, 0x93, 0x85, 0x92, 0x03, 0x9c, 0xfd, + 0x09, 0x50, 0x6c, 0xc7, 0x09, 0x09, 0x58, 0xa5, 0xf4, 0xe4, 0x59, 0xbd, 0x79, 0x33, 0xef, 0x8d, + 0x67, 0x17, 0xde, 0x75, 0x28, 0x53, 0xf8, 0x48, 0x78, 0x96, 0x12, 0x98, 0xc9, 0x43, 0x2a, 0x02, + 0x8f, 0x10, 0x9f, 0xbe, 0xc2, 0x82, 0x5a, 0xc3, 0x46, 0x8f, 0x2a, 0xdc, 0xb0, 0xd4, 0xb1, 0x39, + 0x10, 0x5c, 0x71, 0x6d, 0x7b, 0x9a, 0x6d, 0x2e,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, 0xe8, 0xc7, 0xbf, 0x7b, 0x57, 0x55, 0x38, 0xa0, 0xb2, 0x77, 0x21, 0x79, + 0xff, 0xee, 0xfd, 0x0c, 0x00, 0x00, 0xff, 0xff, 0x8d, 0x79, 0x27, 0x5d, 0x83, 0x05, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -407,7 +406,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { func (c *msgClient) AddParachainIBCTokenInfo(ctx context.Context, in *MsgAddParachainIBCTokenInfo, opts ...grpc.CallOption) (*MsgAddParachainIBCTokenInfoResponse, error) { out := new(MsgAddParachainIBCTokenInfoResponse) - err := c.cc.Invoke(ctx, "/composable.transfermiddleware.v1beta1.Msg/AddParachainIBCTokenInfo", in, out, opts...) + err := c.cc.Invoke(ctx, "/centauri.transfermiddleware.v1beta1.Msg/AddParachainIBCTokenInfo", in, out, opts...) if err != nil { return nil, err } @@ -416,7 +415,7 @@ func (c *msgClient) AddParachainIBCTokenInfo(ctx context.Context, in *MsgAddPara func (c *msgClient) RemoveParachainIBCTokenInfo(ctx context.Context, in *MsgRemoveParachainIBCTokenInfo, opts ...grpc.CallOption) (*MsgRemoveParachainIBCTokenInfoResponse, error) { out := new(MsgRemoveParachainIBCTokenInfoResponse) - err := c.cc.Invoke(ctx, "/composable.transfermiddleware.v1beta1.Msg/RemoveParachainIBCTokenInfo", in, out, opts...) + err := c.cc.Invoke(ctx, "/centauri.transfermiddleware.v1beta1.Msg/RemoveParachainIBCTokenInfo", in, out, opts...) if err != nil { return nil, err } @@ -425,7 +424,7 @@ func (c *msgClient) RemoveParachainIBCTokenInfo(ctx context.Context, in *MsgRemo func (c *msgClient) AddRlyAddress(ctx context.Context, in *MsgAddRlyAddress, opts ...grpc.CallOption) (*MsgAddRlyAddressResponse, error) { out := new(MsgAddRlyAddressResponse) - err := c.cc.Invoke(ctx, "/composable.transfermiddleware.v1beta1.Msg/AddRlyAddress", in, out, opts...) + err := c.cc.Invoke(ctx, "/centauri.transfermiddleware.v1beta1.Msg/AddRlyAddress", in, out, opts...) if err != nil { return nil, err } @@ -467,7 +466,7 @@ func _Msg_AddParachainIBCTokenInfo_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/composable.transfermiddleware.v1beta1.Msg/AddParachainIBCTokenInfo", + FullMethod: "/centauri.transfermiddleware.v1beta1.Msg/AddParachainIBCTokenInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).AddParachainIBCTokenInfo(ctx, req.(*MsgAddParachainIBCTokenInfo)) @@ -485,7 +484,7 @@ func _Msg_RemoveParachainIBCTokenInfo_Handler(srv interface{}, ctx context.Conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/composable.transfermiddleware.v1beta1.Msg/RemoveParachainIBCTokenInfo", + FullMethod: "/centauri.transfermiddleware.v1beta1.Msg/RemoveParachainIBCTokenInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).RemoveParachainIBCTokenInfo(ctx, req.(*MsgRemoveParachainIBCTokenInfo)) @@ -503,7 +502,7 @@ func _Msg_AddRlyAddress_Handler(srv interface{}, ctx context.Context, dec func(i } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/composable.transfermiddleware.v1beta1.Msg/AddRlyAddress", + FullMethod: "/centauri.transfermiddleware.v1beta1.Msg/AddRlyAddress", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).AddRlyAddress(ctx, req.(*MsgAddRlyAddress)) @@ -512,7 +511,7 @@ func _Msg_AddRlyAddress_Handler(srv interface{}, ctx context.Context, dec func(i } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "composable.transfermiddleware.v1beta1.Msg", + ServiceName: "centauri.transfermiddleware.v1beta1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -529,7 +528,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "composable/transfermiddleware/v1beta1/tx.proto", + Metadata: "centauri/transfermiddleware/v1beta1/tx.proto", } func (m *MsgAddParachainIBCTokenInfo) Marshal() (dAtA []byte, err error) { diff --git a/x/tx-boundary/ante/antetest/ante_test.go b/x/tx-boundary/ante/antetest/ante_test.go index 1f8b2af45..1e52f0a60 100644 --- a/x/tx-boundary/ante/antetest/ante_test.go +++ b/x/tx-boundary/ante/antetest/ante_test.go @@ -9,8 +9,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/authz" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - txboundaryAnte "github.com/notional-labs/composable/v5/x/tx-boundary/ante" - "github.com/notional-labs/composable/v5/x/tx-boundary/types" + txboundaryAnte "github.com/notional-labs/centauri/v5/x/tx-boundary/ante" + "github.com/notional-labs/centauri/v5/x/tx-boundary/types" "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" ) diff --git a/x/tx-boundary/ante/antetest/ante_test_setup.go b/x/tx-boundary/ante/antetest/ante_test_setup.go index 3c300a645..96da98aba 100644 --- a/x/tx-boundary/ante/antetest/ante_test_setup.go +++ b/x/tx-boundary/ante/antetest/ante_test_setup.go @@ -17,8 +17,8 @@ import ( xauthsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/cosmos/ibc-go/v7/testing/mock" - "github.com/notional-labs/composable/v5/app" - "github.com/notional-labs/composable/v5/app/helpers" + "github.com/notional-labs/centauri/v5/app" + "github.com/notional-labs/centauri/v5/app/helpers" "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" ) @@ -30,7 +30,7 @@ type AnteTestSuite struct { ctx sdk.Context // querier sdk.Querier - app *app.ComposableApp + app *app.CentauriApp clientCtx client.Context txBuilder client.TxBuilder delegator sdk.AccAddress @@ -39,7 +39,7 @@ type AnteTestSuite struct { } func (suite *AnteTestSuite) SetupTest() { - suite.app, suite.delegator, suite.validators = helpers.SetupComposableAppWithValSetWithGenAccout(suite.T()) + suite.app, suite.delegator, suite.validators = helpers.SetupCentauriAppWithValSetWithGenAccout(suite.T()) suite.ctx = suite.app.BaseApp.NewContext(false, tmproto.Header{Height: 1, ChainID: "centauri-1", Time: time.Now().UTC()}) app.FundAccount(suite.app.BankKeeper, suite.ctx, suite.delegator, BaseBalance) diff --git a/x/tx-boundary/ante/decorate.go b/x/tx-boundary/ante/decorate.go index 4dac2f05d..9f2e6ca8b 100644 --- a/x/tx-boundary/ante/decorate.go +++ b/x/tx-boundary/ante/decorate.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/authz" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - txBoundaryKeeper "github.com/notional-labs/composable/v5/x/tx-boundary/keeper" + txBoundaryKeeper "github.com/notional-labs/centauri/v5/x/tx-boundary/keeper" ) type StakingPermissionDecorator struct { diff --git a/x/tx-boundary/client/cli/query.go b/x/tx-boundary/client/cli/query.go index 99f8e8093..4054769b3 100644 --- a/x/tx-boundary/client/cli/query.go +++ b/x/tx-boundary/client/cli/query.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/notional-labs/composable/v5/x/tx-boundary/types" + "github.com/notional-labs/centauri/v5/x/tx-boundary/types" ) // GetQueryCmd returns the cli query commands for the tx-boundary module. diff --git a/x/tx-boundary/client/cli/tx.go b/x/tx-boundary/client/cli/tx.go index 8a703ab1c..9321401d1 100644 --- a/x/tx-boundary/client/cli/tx.go +++ b/x/tx-boundary/client/cli/tx.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" - "github.com/notional-labs/composable/v5/x/tx-boundary/types" + "github.com/notional-labs/centauri/v5/x/tx-boundary/types" "github.com/spf13/cobra" ) diff --git a/x/tx-boundary/keeper/genensis.go b/x/tx-boundary/keeper/genensis.go index 7111aad3d..5050809b3 100644 --- a/x/tx-boundary/keeper/genensis.go +++ b/x/tx-boundary/keeper/genensis.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/notional-labs/composable/v5/x/tx-boundary/types" + "github.com/notional-labs/centauri/v5/x/tx-boundary/types" ) // InitGenesis initializes the capability module's state from a provided genesis diff --git a/x/tx-boundary/keeper/grpc_query.go b/x/tx-boundary/keeper/grpc_query.go index 530e8796e..b10906bc1 100644 --- a/x/tx-boundary/keeper/grpc_query.go +++ b/x/tx-boundary/keeper/grpc_query.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/notional-labs/composable/v5/x/tx-boundary/types" + "github.com/notional-labs/centauri/v5/x/tx-boundary/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/tx-boundary/keeper/keeper.go b/x/tx-boundary/keeper/keeper.go index ca3e0a7a6..989ae7f83 100644 --- a/x/tx-boundary/keeper/keeper.go +++ b/x/tx-boundary/keeper/keeper.go @@ -9,7 +9,7 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/notional-labs/composable/v5/x/tx-boundary/types" + "github.com/notional-labs/centauri/v5/x/tx-boundary/types" ) // Keeper struct diff --git a/x/tx-boundary/keeper/keeper_test.go b/x/tx-boundary/keeper/keeper_test.go index 504f9474f..d51f5660e 100644 --- a/x/tx-boundary/keeper/keeper_test.go +++ b/x/tx-boundary/keeper/keeper_test.go @@ -8,9 +8,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/suite" - "github.com/notional-labs/composable/v5/app" - "github.com/notional-labs/composable/v5/app/helpers" - "github.com/notional-labs/composable/v5/x/tx-boundary/types" + "github.com/notional-labs/centauri/v5/app" + "github.com/notional-labs/centauri/v5/app/helpers" + "github.com/notional-labs/centauri/v5/x/tx-boundary/types" ) type KeeperTestSuite struct { @@ -18,11 +18,11 @@ type KeeperTestSuite struct { ctx sdk.Context // querier sdk.Querier - app *app.ComposableApp + app *app.CentauriApp } func (suite *KeeperTestSuite) SetupTest() { - suite.app = helpers.SetupComposableAppWithValSet(suite.T()) + suite.app = helpers.SetupCentauriAppWithValSet(suite.T()) suite.ctx = suite.app.BaseApp.NewContext(false, tmproto.Header{Height: 1, ChainID: "centauri-1", Time: time.Now().UTC()}) } diff --git a/x/tx-boundary/module.go b/x/tx-boundary/module.go index c98eaf0f5..4b59cb327 100644 --- a/x/tx-boundary/module.go +++ b/x/tx-boundary/module.go @@ -15,9 +15,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/notional-labs/composable/v5/x/tx-boundary/client/cli" - "github.com/notional-labs/composable/v5/x/tx-boundary/keeper" - "github.com/notional-labs/composable/v5/x/tx-boundary/types" + "github.com/notional-labs/centauri/v5/x/tx-boundary/client/cli" + "github.com/notional-labs/centauri/v5/x/tx-boundary/keeper" + "github.com/notional-labs/centauri/v5/x/tx-boundary/types" ) var ( diff --git a/x/tx-boundary/types/boundary.pb.go b/x/tx-boundary/types/boundary.pb.go index c66625ae8..8bce1b9f3 100644 --- a/x/tx-boundary/types/boundary.pb.go +++ b/x/tx-boundary/types/boundary.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: composable/txboundary/v1beta1/boundary.proto +// source: centauri/txboundary/v1beta1/boundary.proto package types @@ -35,7 +35,7 @@ func (m *Boundary) Reset() { *m = Boundary{} } func (m *Boundary) String() string { return proto.CompactTextString(m) } func (*Boundary) ProtoMessage() {} func (*Boundary) Descriptor() ([]byte, []int) { - return fileDescriptor_e14e1db4aab5f12b, []int{0} + return fileDescriptor_668b8d6584310f2c, []int{0} } func (m *Boundary) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -89,7 +89,7 @@ func (m *LimitPerAddr) Reset() { *m = LimitPerAddr{} } func (m *LimitPerAddr) String() string { return proto.CompactTextString(m) } func (*LimitPerAddr) ProtoMessage() {} func (*LimitPerAddr) Descriptor() ([]byte, []int) { - return fileDescriptor_e14e1db4aab5f12b, []int{1} + return fileDescriptor_668b8d6584310f2c, []int{1} } func (m *LimitPerAddr) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -140,36 +140,36 @@ func (m *LimitPerAddr) GetLatestUpdateBlock() int64 { } func init() { - proto.RegisterType((*Boundary)(nil), "composable.txboundary.v1beta1.Boundary") - proto.RegisterType((*LimitPerAddr)(nil), "composable.txboundary.v1beta1.LimitPerAddr") + proto.RegisterType((*Boundary)(nil), "centauri.txboundary.v1beta1.Boundary") + proto.RegisterType((*LimitPerAddr)(nil), "centauri.txboundary.v1beta1.LimitPerAddr") } func init() { - proto.RegisterFile("composable/txboundary/v1beta1/boundary.proto", fileDescriptor_e14e1db4aab5f12b) + proto.RegisterFile("centauri/txboundary/v1beta1/boundary.proto", fileDescriptor_668b8d6584310f2c) } -var fileDescriptor_e14e1db4aab5f12b = []byte{ - // 316 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x91, 0xcb, 0x4a, 0x03, 0x31, - 0x14, 0x86, 0x1b, 0x2b, 0x5a, 0x82, 0xd7, 0xa9, 0x42, 0x2d, 0x18, 0x4b, 0x41, 0xa8, 0x60, 0x27, - 0x54, 0x9f, 0xc0, 0xba, 0x70, 0xe3, 0xa2, 0x14, 0x5c, 0xe8, 0x66, 0xc8, 0x34, 0xc7, 0x61, 0x30, - 0x33, 0x19, 0x32, 0x67, 0x64, 0xfa, 0x16, 0x7d, 0x2c, 0x97, 0x5d, 0xba, 0x94, 0xf6, 0x45, 0x64, - 0x92, 0x5e, 0xc4, 0x5d, 0xce, 0xff, 0x7d, 0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 0x43, - 0x7a, 0xf5, 0xf1, 0xa9, 0x43, 0x2f, 0x96, 0x0c, 0x2b, 0x30, 0xec, 0x7f, 0x2d, 0x18, 0x99, 0x2f, - 0x18, 0xf9, 0x59, 0x30, 0x32, 0x5b, 0xb2, 0xda, 0x7c, 0xc9, 0x6a, 0xdf, 0x4b, 0x56, 0x7b, 0x6b, - 0x96, 0x1c, 0xcb, 0xfe, 0xe6, 0x8f, 0x70, 0x9a, 0x41, 0x1e, 0xee, 0xd9, 0x37, 0xba, 0xff, 0x0d, - 0x00, 0x00, 0xff, 0xff, 0x1e, 0xb8, 0xc4, 0xdf, 0xc9, 0x01, 0x00, 0x00, +var fileDescriptor_668b8d6584310f2c = []byte{ + // 315 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x91, 0x4f, 0x4b, 0xc3, 0x30, + 0x18, 0xc6, 0x17, 0x27, 0x3a, 0x82, 0x7f, 0x3b, 0x85, 0x39, 0x21, 0x8e, 0x81, 0x30, 0x85, 0x35, + 0x4c, 0x3f, 0x81, 0xf3, 0xe0, 0xc5, 0xc3, 0x18, 0x78, 0xd0, 0x4b, 0x49, 0x97, 0xd7, 0x52, 0xec, + 0x9a, 0x92, 0xbe, 0x91, 0xee, 0x5b, 0xec, 0x63, 0x79, 0xdc, 0xd1, 0xa3, 0x6c, 0x5f, 0x44, 0x9a, + 0xac, 0x9b, 0x78, 0xcb, 0xfb, 0xfc, 0x7e, 0x2f, 0x4f, 0x48, 0xe8, 0xed, 0x04, 0x52, 0x14, 0x46, + 0xc7, 0x1c, 0x8b, 0x50, 0x99, 0x54, 0x0a, 0x3d, 0xe3, 0x9f, 0x83, 0x10, 0x50, 0x0c, 0x78, 0x15, + 0xf8, 0x99, 0x56, 0xa8, 0xbc, 0xcb, 0xca, 0xf5, 0xb7, 0xae, 0xbf, 0x76, 0xdb, 0x67, 0x91, 0x8a, + 0x94, 0xf5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e1, 0x9e, 0x7d, 0xa3, 0xfb, 0xdf, 0x00, 0x00, + 0x00, 0xff, 0xff, 0x22, 0x22, 0xfc, 0xbe, 0xc5, 0x01, 0x00, 0x00, } func (m *Boundary) Marshal() (dAtA []byte, err error) { diff --git a/x/tx-boundary/types/genesis.pb.go b/x/tx-boundary/types/genesis.pb.go index 5dd49f555..1b5ebc1c4 100644 --- a/x/tx-boundary/types/genesis.pb.go +++ b/x/tx-boundary/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: composable/txboundary/v1beta1/genesis.proto +// source: centauri/txboundary/v1beta1/genesis.proto package types @@ -34,7 +34,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} } func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_c1ab2ed0b2bac76a, []int{0} + return fileDescriptor_bce53872d9978801, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -78,31 +78,31 @@ func (m *GenesisState) GetRedelegateBoundary() Boundary { } func init() { - proto.RegisterType((*GenesisState)(nil), "composable.txboundary.v1beta1.GenesisState") + proto.RegisterType((*GenesisState)(nil), "centauri.txboundary.v1beta1.GenesisState") } func init() { - proto.RegisterFile("composable/txboundary/v1beta1/genesis.proto", fileDescriptor_c1ab2ed0b2bac76a) + proto.RegisterFile("centauri/txboundary/v1beta1/genesis.proto", fileDescriptor_bce53872d9978801) } -var fileDescriptor_c1ab2ed0b2bac76a = []byte{ - // 243 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4e, 0xce, 0xcf, 0x2d, - 0xc8, 0x2f, 0x4e, 0x4c, 0xca, 0x49, 0xd5, 0x2f, 0xa9, 0x48, 0xca, 0x2f, 0xcd, 0x4b, 0x49, 0x2c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a1, 0x0b, 0x0f, 0xc6, 0x92, 0xca, 0x82, 0xd4, 0xe2, - 0x24, 0x36, 0x70, 0xe0, 0x19, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xbb, 0xbf, 0x49, 0xcc, 0xce, - 0x01, 0x00, 0x00, +var fileDescriptor_bce53872d9978801 = []byte{ + // 241 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4c, 0x4e, 0xcd, 0x2b, + 0x49, 0x2c, 0x2d, 0xca, 0xd4, 0x2f, 0xa9, 0x48, 0xca, 0x2f, 0xcd, 0x4b, 0x49, 0x2c, 0xaa, 0xd4, + 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, + 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x86, 0x29, 0xd5, 0x43, 0x28, 0xd5, 0x83, 0x2a, 0x95, + 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0xab, 0xd3, 0x07, 0xb1, 0x20, 0x5a, 0xa4, 0xb4, 0xf0, 0x99, + 0x0e, 0x37, 0x03, 0xac, 0x56, 0xa9, 0x81, 0x89, 0x8b, 0xc7, 0x1d, 0x62, 0x61, 0x70, 0x49, 0x62, + 0x49, 0xaa, 0x50, 0x09, 0x97, 0x60, 0x4a, 0x6a, 0x4e, 0x6a, 0x7a, 0x62, 0x49, 0x6a, 0x3c, 0x4c, + 0xad, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0xb7, 0x91, 0xaa, 0x1e, 0x1e, 0xb7, 0xe8, 0x39, 0x41, 0x05, + 0x9c, 0x14, 0x4e, 0xdc, 0x93, 0x67, 0xf8, 0x74, 0x4f, 0x5e, 0xa2, 0x32, 0x31, 0x37, 0xc7, 0x4a, + 0x09, 0xc3, 0x34, 0xa5, 0x20, 0x01, 0x98, 0x18, 0x4c, 0x8f, 0x50, 0x15, 0x97, 0x70, 0x51, 0x2a, + 0xa6, 0xbd, 0x4c, 0xa4, 0xd8, 0xab, 0x04, 0xb5, 0x57, 0x0a, 0x62, 0x2f, 0x16, 0xf3, 0x94, 0x82, + 0x84, 0x10, 0xa2, 0x70, 0x7d, 0xba, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, 0xe0, + 0x91, 0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, + 0x25, 0x5c, 0xa1, 0x5f, 0x52, 0xa1, 0x0b, 0x0f, 0xc2, 0x92, 0xca, 0x82, 0xd4, 0xe2, 0x24, 0x36, + 0x70, 0xc0, 0x19, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x26, 0x2f, 0x29, 0x14, 0xc4, 0x01, 0x00, + 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/tx-boundary/types/query.pb.go b/x/tx-boundary/types/query.pb.go index 34e1d947b..462aaf6d0 100644 --- a/x/tx-boundary/types/query.pb.go +++ b/x/tx-boundary/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: composable/txboundary/v1beta1/query.proto +// source: centauri/txboundary/v1beta1/query.proto package types @@ -29,8 +29,7 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -// QueryDelegateBoundaryRequest is the request type for the -// Query/DelegateBoundary RPC method. +// QueryDelegateBoundaryRequest is the request type for the Query/DelegateBoundary RPC method. type QueryDelegateBoundaryRequest struct { } @@ -38,7 +37,7 @@ func (m *QueryDelegateBoundaryRequest) Reset() { *m = QueryDelegateBound func (m *QueryDelegateBoundaryRequest) String() string { return proto.CompactTextString(m) } func (*QueryDelegateBoundaryRequest) ProtoMessage() {} func (*QueryDelegateBoundaryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_822e9740fb1ae211, []int{0} + return fileDescriptor_9eb43e8f98660cf8, []int{0} } func (m *QueryDelegateBoundaryRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -67,8 +66,7 @@ func (m *QueryDelegateBoundaryRequest) XXX_DiscardUnknown() { var xxx_messageInfo_QueryDelegateBoundaryRequest proto.InternalMessageInfo -// QueryDelegateBoundaryResponse is the response type for the -// Query/DelegateBoundary RPC method. +// QueryDelegateBoundaryResponse is the response type for the Query/DelegateBoundary RPC method. type QueryDelegateBoundaryResponse struct { // boundary defines the boundary for the delegate tx Boundary Boundary `protobuf:"bytes,1,opt,name=boundary,proto3" json:"boundary"` @@ -78,7 +76,7 @@ func (m *QueryDelegateBoundaryResponse) Reset() { *m = QueryDelegateBoun func (m *QueryDelegateBoundaryResponse) String() string { return proto.CompactTextString(m) } func (*QueryDelegateBoundaryResponse) ProtoMessage() {} func (*QueryDelegateBoundaryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_822e9740fb1ae211, []int{1} + return fileDescriptor_9eb43e8f98660cf8, []int{1} } func (m *QueryDelegateBoundaryResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -114,8 +112,7 @@ func (m *QueryDelegateBoundaryResponse) GetBoundary() Boundary { return Boundary{} } -// QueryRedelegateBoundaryRequest is the request type for the -// Query/ReDelegateBoundary RPC method. +// QueryRedelegateBoundaryRequest is the request type for the Query/ReDelegateBoundary RPC method. type QueryRedelegateBoundaryRequest struct { } @@ -123,7 +120,7 @@ func (m *QueryRedelegateBoundaryRequest) Reset() { *m = QueryRedelegateB func (m *QueryRedelegateBoundaryRequest) String() string { return proto.CompactTextString(m) } func (*QueryRedelegateBoundaryRequest) ProtoMessage() {} func (*QueryRedelegateBoundaryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_822e9740fb1ae211, []int{2} + return fileDescriptor_9eb43e8f98660cf8, []int{2} } func (m *QueryRedelegateBoundaryRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -152,8 +149,8 @@ func (m *QueryRedelegateBoundaryRequest) XXX_DiscardUnknown() { var xxx_messageInfo_QueryRedelegateBoundaryRequest proto.InternalMessageInfo -// QueryRedelegateBoundaryResponse is the response type for the -// Query/ReDelegateBoundary RPC method. +// QueryRedelegateBoundaryResponse is the response type for the Query/ReDelegateBoundary RPC +// method. type QueryRedelegateBoundaryResponse struct { // boundary defines the boundary for the redelegate tx Boundary Boundary `protobuf:"bytes,1,opt,name=boundary,proto3" json:"boundary"` @@ -163,7 +160,7 @@ func (m *QueryRedelegateBoundaryResponse) Reset() { *m = QueryRedelegate func (m *QueryRedelegateBoundaryResponse) String() string { return proto.CompactTextString(m) } func (*QueryRedelegateBoundaryResponse) ProtoMessage() {} func (*QueryRedelegateBoundaryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_822e9740fb1ae211, []int{3} + return fileDescriptor_9eb43e8f98660cf8, []int{3} } func (m *QueryRedelegateBoundaryResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -200,40 +197,40 @@ func (m *QueryRedelegateBoundaryResponse) GetBoundary() Boundary { } func init() { - proto.RegisterType((*QueryDelegateBoundaryRequest)(nil), "composable.txboundary.v1beta1.QueryDelegateBoundaryRequest") - proto.RegisterType((*QueryDelegateBoundaryResponse)(nil), "composable.txboundary.v1beta1.QueryDelegateBoundaryResponse") - proto.RegisterType((*QueryRedelegateBoundaryRequest)(nil), "composable.txboundary.v1beta1.QueryRedelegateBoundaryRequest") - proto.RegisterType((*QueryRedelegateBoundaryResponse)(nil), "composable.txboundary.v1beta1.QueryRedelegateBoundaryResponse") + proto.RegisterType((*QueryDelegateBoundaryRequest)(nil), "centauri.txboundary.v1beta1.QueryDelegateBoundaryRequest") + proto.RegisterType((*QueryDelegateBoundaryResponse)(nil), "centauri.txboundary.v1beta1.QueryDelegateBoundaryResponse") + proto.RegisterType((*QueryRedelegateBoundaryRequest)(nil), "centauri.txboundary.v1beta1.QueryRedelegateBoundaryRequest") + proto.RegisterType((*QueryRedelegateBoundaryResponse)(nil), "centauri.txboundary.v1beta1.QueryRedelegateBoundaryResponse") } func init() { - proto.RegisterFile("composable/txboundary/v1beta1/query.proto", fileDescriptor_822e9740fb1ae211) -} - -var fileDescriptor_822e9740fb1ae211 = []byte{ - // 344 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x52, 0x3d, 0x4b, 0xfb, 0x40, - 0x18, 0xcf, 0xfd, 0x5f, 0x44, 0xce, 0x45, 0x4e, 0x07, 0x09, 0xed, 0xb5, 0x64, 0x51, 0xd1, 0xe4, - 0x68, 0x8b, 0x93, 0x2f, 0x43, 0x71, 0x71, 0xb4, 0xa3, 0xdb, 0xa5, 0x7d, 0x08, 0x95, 0x34, 0x4f, - 0x9a, 0xbb, 0x4a, 0xbb, 0xfa, 0x09, 0x04, 0x27, 0xbf, 0x8e, 0x53, 0x71, 0x2a, 0xb8, 0x38, 0x89, - 0xb4, 0x7e, 0x10, 0x69, 0x9a, 0xb4, 0x50, 0x4d, 0x94, 0xe2, 0x16, 0x78, 0x7e, 0xef, 0x17, 0xba, - 0xdf, 0xc4, 0x4e, 0x88, 0x4a, 0xba, 0x3e, 0x08, 0xdd, 0x77, 0xb1, 0x17, 0xb4, 0x64, 0x34, 0x10, - 0x37, 0x15, 0x17, 0xb4, 0xac, 0x88, 0x6e, 0x0f, 0xa2, 0x81, 0x13, 0x46, 0xa8, 0x91, 0x15, 0x17, - 0x50, 0x67, 0x01, 0x75, 0x12, 0xa8, 0xb9, 0xed, 0xa1, 0x87, 0x31, 0x52, 0x4c, 0xbf, 0x66, 0x24, - 0xb3, 0xe0, 0x21, 0x7a, 0x3e, 0x08, 0x19, 0xb6, 0x85, 0x0c, 0x02, 0xd4, 0x52, 0xb7, 0x31, 0x50, - 0xc9, 0xf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0xc5, 0x7f, 0x7b, 0xed, 0x23, 0x00, 0x00, 0xff, 0xff, - 0x6d, 0x4e, 0xd5, 0x97, 0x9b, 0x03, 0x00, 0x00, + proto.RegisterFile("centauri/txboundary/v1beta1/query.proto", fileDescriptor_9eb43e8f98660cf8) +} + +var fileDescriptor_9eb43e8f98660cf8 = []byte{ + // 340 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x52, 0x3d, 0x4b, 0xc3, 0x40, + 0x18, 0xce, 0xf9, 0x85, 0x9c, 0x8b, 0x9c, 0x0e, 0x12, 0xeb, 0xb5, 0x04, 0x44, 0x51, 0x92, 0xa3, + 0x2d, 0x0e, 0x7e, 0x4c, 0x45, 0x70, 0xb6, 0xa3, 0xdb, 0xb5, 0x7d, 0x89, 0x95, 0x9a, 0x37, 0xcd, + 0x5d, 0xa4, 0x5d, 0xfd, 0x05, 0x8a, 0xff, 0xc7, 0x51, 0x3a, 0x16, 0x5c, 0x9c, 0x44, 0x5a, 0x7f, + 0x88, 0x34, 0x4d, 0x22, 0x54, 0x13, 0xa1, 0xb8, 0x05, 0x9e, 0xef, 0xf7, 0x42, 0xf7, 0x9a, 0xe0, + 0x69, 0x19, 0x06, 0x6d, 0xa1, 0x7b, 0x0d, 0x0c, 0xbd, 0x96, 0x0c, 0xfa, 0xe2, 0xae, 0xdc, 0x00, + 0x2d, 0xcb, 0xa2, 0x1b, 0x42, 0xd0, 0x77, 0xfc, 0x00, 0x35, 0xb2, 0xed, 0x84, 0xe8, 0x7c, 0x13, + 0x9d, 0x98, 0x68, 0x6e, 0xba, 0xe8, 0x62, 0xc4, 0x13, 0x93, 0xaf, 0xa9, 0xc4, 0x2c, 0xb8, 0x88, + 0x6e, 0x07, 0x84, 0xf4, 0xdb, 0x42, 0x7a, 0x1e, 0x6a, 0xa9, 0xdb, 0xe8, 0xa9, 0x18, 0x3d, 0xc8, + 0x4b, 0x4e,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x00, 0x00, 0xff, 0xff, 0x5c, 0xd6, 0xca, 0x4a, + 0x89, 0x03, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -264,7 +261,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) DelegateBoundary(ctx context.Context, in *QueryDelegateBoundaryRequest, opts ...grpc.CallOption) (*QueryDelegateBoundaryResponse, error) { out := new(QueryDelegateBoundaryResponse) - err := c.cc.Invoke(ctx, "/composable.txboundary.v1beta1.Query/DelegateBoundary", in, out, opts...) + err := c.cc.Invoke(ctx, "/centauri.txboundary.v1beta1.Query/DelegateBoundary", in, out, opts...) if err != nil { return nil, err } @@ -273,7 +270,7 @@ func (c *queryClient) DelegateBoundary(ctx context.Context, in *QueryDelegateBou func (c *queryClient) RedelegateBoundary(ctx context.Context, in *QueryRedelegateBoundaryRequest, opts ...grpc.CallOption) (*QueryRedelegateBoundaryResponse, error) { out := new(QueryRedelegateBoundaryResponse) - err := c.cc.Invoke(ctx, "/composable.txboundary.v1beta1.Query/RedelegateBoundary", in, out, opts...) + err := c.cc.Invoke(ctx, "/centauri.txboundary.v1beta1.Query/RedelegateBoundary", in, out, opts...) if err != nil { return nil, err } @@ -313,7 +310,7 @@ func _Query_DelegateBoundary_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/composable.txboundary.v1beta1.Query/DelegateBoundary", + FullMethod: "/centauri.txboundary.v1beta1.Query/DelegateBoundary", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).DelegateBoundary(ctx, req.(*QueryDelegateBoundaryRequest)) @@ -331,7 +328,7 @@ func _Query_RedelegateBoundary_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/composable.txboundary.v1beta1.Query/RedelegateBoundary", + FullMethod: "/centauri.txboundary.v1beta1.Query/RedelegateBoundary", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RedelegateBoundary(ctx, req.(*QueryRedelegateBoundaryRequest)) @@ -340,7 +337,7 @@ func _Query_RedelegateBoundary_Handler(srv interface{}, ctx context.Context, dec } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "composable.txboundary.v1beta1.Query", + ServiceName: "centauri.txboundary.v1beta1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -353,7 +350,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "composable/txboundary/v1beta1/query.proto", + Metadata: "centauri/txboundary/v1beta1/query.proto", } func (m *QueryDelegateBoundaryRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/tx-boundary/types/query.pb.gw.go b/x/tx-boundary/types/query.pb.gw.go index 689b9131f..54a830aea 100644 --- a/x/tx-boundary/types/query.pb.gw.go +++ b/x/tx-boundary/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: composable/txboundary/v1beta1/query.proto +// source: centauri/txboundary/v1beta1/query.proto /* Package types is a reverse proxy. diff --git a/x/tx-boundary/types/tx.pb.go b/x/tx-boundary/types/tx.pb.go index f87da9d7b..e96348dd7 100644 --- a/x/tx-boundary/types/tx.pb.go +++ b/x/tx-boundary/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: composable/txboundary/v1beta1/tx.proto +// source: centauri/txboundary/v1beta1/tx.proto package types @@ -49,7 +49,7 @@ func (m *MsgUpdateDelegateBoundary) Reset() { *m = MsgUpdateDelegateBoun func (m *MsgUpdateDelegateBoundary) String() string { return proto.CompactTextString(m) } func (*MsgUpdateDelegateBoundary) ProtoMessage() {} func (*MsgUpdateDelegateBoundary) Descriptor() ([]byte, []int) { - return fileDescriptor_1ffb37c7b5b6c2ca, []int{0} + return fileDescriptor_148586c432693946, []int{0} } func (m *MsgUpdateDelegateBoundary) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -92,8 +92,8 @@ func (m *MsgUpdateDelegateBoundary) GetBoundary() Boundary { return Boundary{} } -// MsgUpdateDelegateBoundaryResponse defines the response structure for -// executing a MsgUpdateDelegateBoundary message. +// MsgUpdateDelegateBoundaryResponse defines the response structure for executing a +// MsgUpdateDelegateBoundary message. // // Since: cosmos-sdk 0.47 type MsgUpdateDelegateBoundaryResponse struct { @@ -103,7 +103,7 @@ func (m *MsgUpdateDelegateBoundaryResponse) Reset() { *m = MsgUpdateDele func (m *MsgUpdateDelegateBoundaryResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateDelegateBoundaryResponse) ProtoMessage() {} func (*MsgUpdateDelegateBoundaryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1ffb37c7b5b6c2ca, []int{1} + return fileDescriptor_148586c432693946, []int{1} } func (m *MsgUpdateDelegateBoundaryResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -132,8 +132,7 @@ func (m *MsgUpdateDelegateBoundaryResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgUpdateDelegateBoundaryResponse proto.InternalMessageInfo -// MsgUpdateRedelegateBoundary is the Msg/MsgUpdateRedelegateBoundary request -// type. +// MsgUpdateRedelegateBoundary is the Msg/MsgUpdateRedelegateBoundary request type. // // Since: cosmos-sdk 0.47 type MsgUpdateRedelegateBoundary struct { @@ -150,7 +149,7 @@ func (m *MsgUpdateRedelegateBoundary) Reset() { *m = MsgUpdateRedelegate func (m *MsgUpdateRedelegateBoundary) String() string { return proto.CompactTextString(m) } func (*MsgUpdateRedelegateBoundary) ProtoMessage() {} func (*MsgUpdateRedelegateBoundary) Descriptor() ([]byte, []int) { - return fileDescriptor_1ffb37c7b5b6c2ca, []int{2} + return fileDescriptor_148586c432693946, []int{2} } func (m *MsgUpdateRedelegateBoundary) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -193,8 +192,8 @@ func (m *MsgUpdateRedelegateBoundary) GetBoundary() Boundary { return Boundary{} } -// MsgUpdateRedelegateBoundaryResponse defines the response structure for -// executing a MsgUpdateRedelegateBoundary message. +// MsgUpdateRedelegateBoundaryResponse defines the response structure for executing a +// MsgUpdateRedelegateBoundary message. // // Since: cosmos-sdk 0.47 type MsgUpdateRedelegateBoundaryResponse struct { @@ -204,7 +203,7 @@ func (m *MsgUpdateRedelegateBoundaryResponse) Reset() { *m = MsgUpdateRe func (m *MsgUpdateRedelegateBoundaryResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateRedelegateBoundaryResponse) ProtoMessage() {} func (*MsgUpdateRedelegateBoundaryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1ffb37c7b5b6c2ca, []int{3} + return fileDescriptor_148586c432693946, []int{3} } func (m *MsgUpdateRedelegateBoundaryResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -234,44 +233,44 @@ func (m *MsgUpdateRedelegateBoundaryResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgUpdateRedelegateBoundaryResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*MsgUpdateDelegateBoundary)(nil), "composable.txboundary.v1beta1.MsgUpdateDelegateBoundary") - proto.RegisterType((*MsgUpdateDelegateBoundaryResponse)(nil), "composable.txboundary.v1beta1.MsgUpdateDelegateBoundaryResponse") - proto.RegisterType((*MsgUpdateRedelegateBoundary)(nil), "composable.txboundary.v1beta1.MsgUpdateRedelegateBoundary") - proto.RegisterType((*MsgUpdateRedelegateBoundaryResponse)(nil), "composable.txboundary.v1beta1.MsgUpdateRedelegateBoundaryResponse") + proto.RegisterType((*MsgUpdateDelegateBoundary)(nil), "centauri.txboundary.v1beta1.MsgUpdateDelegateBoundary") + proto.RegisterType((*MsgUpdateDelegateBoundaryResponse)(nil), "centauri.txboundary.v1beta1.MsgUpdateDelegateBoundaryResponse") + proto.RegisterType((*MsgUpdateRedelegateBoundary)(nil), "centauri.txboundary.v1beta1.MsgUpdateRedelegateBoundary") + proto.RegisterType((*MsgUpdateRedelegateBoundaryResponse)(nil), "centauri.txboundary.v1beta1.MsgUpdateRedelegateBoundaryResponse") } func init() { - proto.RegisterFile("composable/txboundary/v1beta1/tx.proto", fileDescriptor_1ffb37c7b5b6c2ca) -} - -var fileDescriptor_1ffb37c7b5b6c2ca = []byte{ - // 410 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4b, 0xce, 0xcf, 0x2d, - 0xc8, 0x2f, 0x4e, 0x4c, 0xca, 0x49, 0xd5, 0x2f, 0xa9, 0x48, 0xca, 0x2f, 0xcd, 0x4b, 0x49, 0x2c, - 0xaa, 0xd4, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, - 0x2f, 0xc9, 0x17, 0x92, 0x45, 0xa8, 0xd3, 0x43, 0xa8, 0xd3, 0x83, 0xaa, 0x93, 0x12, 0x4f, 0xce, - 0x2f, 0xce, 0xcd, 0x2f, 0xd6, 0xcf, 0x2d, 0x4e, 0xd7, 0x2f, 0x33, 0x04, 0x51, 0x10, 0x7d, 0x52, - 0x82, 0x89, 0xb9, 0x99, 0x79, 0xf9, 0xfa, 0x60, 0x12, 0x2a, 0x24, 0x92, 0x9e, 0x9f, 0x9e, 0x0f, - 0x66, 0xea, 0x83, 0x58, 0x50, 0x51, 0x49, 0x88, 0x09, 0xf1, 0x10, 0x09, 0x08, 0x07, 0x2a, 0xa5, - 0x83, 0xdf, 0x8d, 0x70, 0xc7, 0x40, 0x54, 0xcb, 0x41, 0x9d, 0x92, 0x94, 0x58, 0x9c, 0x0a, 0x57, - 0x93, 0x9c, 0x9f, 0x99, 0x07, 0x91, 0x57, 0x7a, 0xc9, 0xc8, 0x25, 0xe9, 0x5b, 0x9c, 0x1e, 0x5a, - 0x90, 0x92, 0x58, 0x92, 0xea, 0x92, 0x9a, 0x93, 0x9a, 0x9e, 0x58, 0x92, 0xea, 0x04, 0x35, 0x43, - 0xc8, 0x8c, 0x8b, 0x33, 0xb1, 0xb4, 0x24, 0x23, 0xbf, 0x28, 0xb3, 0xa4, 0x52, 0x82, 0x51, 0x81, - 0x51, 0x83, 0xd3, 0x49, 0xe2, 0xd2, 0x16, 0x5d, 0x11, 0xa8, 0x83, 0x1c, 0x53, 0x52, 0x8a, 0x52, - 0x8b, 0x8b, 0x83, 0x4b, 0x8a, 0x32, 0xf3, 0xd2, 0x83, 0x10, 0x4a, 0x85, 0xfc, 0xb8, 0x38, 0x60, - 0xee, 0x90, 0x60, 0x52, 0x60, 0xd4, 0xe0, 0x36, 0x52, 0xd7, 0xc3, 0x1b, 0x64, 0x7a, 0x30, 0x2b, - 0x9d, 0x38, 0x4f, 0xdc, 0x93, 0x67, 0x58, 0xf1, 0x7c, 0x83, 0x16, 0x63, 0x10, 0xdc, 0x0c, 0x2b, - 0x97, 0xa6, 0xe7, 0x1b, 0xb4, 0x10, 0xe6, 0x77, 0x3d, 0xdf, 0xa0, 0x65, 0x88, 0x14, 0x0c, 0x15, - 0xc8, 0x01, 0x81, 0xd3, 0x37, 0x4a, 0xca, 0x5c, 0x8a, 0x38, 0x25, 0x83, 0x52, 0x8b, 0x0b, 0xf2, - 0xf3, 0x8a, 0x53, 0x95, 0x5e, 0x33, 0x72, 0x49, 0xc3, 0x55, 0x05, 0xa5, 0xa6, 0x0c, 0xef, 0x20, - 0x51, 0xe5, 0x52, 0xc6, 0xe3, 0x59, 0x58, 0xa0, 0x18, 0x1d, 0x60, 0xe2, 0x62, 0xf6, 0x2d, 0x4e, - 0x17, 0x9a, 0xc2, 0xc8, 0x25, 0x86, 0x23, 0xa9, 0x58, 0x10, 0xf0, 0x0d, 0x4e, 0x37, 0x48, 0x39, - 0x90, 0xab, 0x13, 0xe6, 0x3c, 0xa1, 0x59, 0x8c, 0x5c, 0x12, 0x38, 0x23, 0xcc, 0x8a, 0x58, 0xe3, - 0x31, 0xf5, 0x4a, 0x39, 0x91, 0xaf, 0x17, 0xe6, 0x38, 0x29, 0xd6, 0x06, 0x50, 0xcc, 0x39, 0xe9, - 0x9e, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, - 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x30, 0x28, 0xae, 0x74, 0xe1, - 0x91, 0x55, 0x52, 0x59, 0x90, 0x5a, 0x9c, 0xc4, 0x06, 0xce, 0x9e, 0xc6, 0x80, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xd8, 0x22, 0xe6, 0x27, 0x92, 0x04, 0x00, 0x00, + proto.RegisterFile("centauri/txboundary/v1beta1/tx.proto", fileDescriptor_148586c432693946) +} + +var fileDescriptor_148586c432693946 = []byte{ + // 407 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x49, 0x4e, 0xcd, 0x2b, + 0x49, 0x2c, 0x2d, 0xca, 0xd4, 0x2f, 0xa9, 0x48, 0xca, 0x2f, 0xcd, 0x4b, 0x49, 0x2c, 0xaa, 0xd4, + 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, + 0x17, 0x92, 0x86, 0xa9, 0xd2, 0x43, 0xa8, 0xd2, 0x83, 0xaa, 0x92, 0x12, 0x4f, 0xce, 0x2f, 0xce, + 0xcd, 0x2f, 0xd6, 0xcf, 0x2d, 0x4e, 0xd7, 0x2f, 0x33, 0x04, 0x51, 0x10, 0x5d, 0x52, 0x82, 0x89, + 0xb9, 0x99, 0x79, 0xf9, 0xfa, 0x60, 0x12, 0x2a, 0x24, 0x92, 0x9e, 0x9f, 0x9e, 0x0f, 0x66, 0xea, + 0x83, 0x58, 0x50, 0x51, 0x49, 0x88, 0x09, 0xf1, 0x10, 0x09, 0x08, 0x07, 0x2a, 0xa5, 0x85, 0xcf, + 0x7d, 0x70, 0xa7, 0x40, 0xd4, 0xca, 0x41, 0x1d, 0x92, 0x94, 0x58, 0x9c, 0x0a, 0x57, 0x93, 0x9c, + 0x9f, 0x99, 0x07, 0x91, 0x57, 0x7a, 0xca, 0xc8, 0x25, 0xe9, 0x5b, 0x9c, 0x1e, 0x5a, 0x90, 0x92, + 0x58, 0x92, 0xea, 0x92, 0x9a, 0x93, 0x9a, 0x9e, 0x58, 0x92, 0xea, 0x04, 0x35, 0x43, 0xc8, 0x8c, + 0x8b, 0x33, 0xb1, 0xb4, 0x24, 0x23, 0xbf, 0x28, 0xb3, 0xa4, 0x52, 0x82, 0x51, 0x81, 0x51, 0x83, + 0xd3, 0x49, 0xe2, 0xd2, 0x16, 0x5d, 0x11, 0xa8, 0x73, 0x1c, 0x53, 0x52, 0x8a, 0x52, 0x8b, 0x8b, + 0x83, 0x4b, 0x8a, 0x32, 0xf3, 0xd2, 0x83, 0x10, 0x4a, 0x85, 0x7c, 0xb8, 0x38, 0x60, 0xee, 0x90, + 0x60, 0x52, 0x60, 0xd4, 0xe0, 0x36, 0x52, 0xd5, 0xc3, 0x13, 0x5c, 0x7a, 0x30, 0x0b, 0x9d, 0x38, + 0x4f, 0xdc, 0x93, 0x67, 0x58, 0xf1, 0x7c, 0x83, 0x16, 0x63, 0x10, 0xdc, 0x04, 0x2b, 0xa7, 0xa6, + 0xe7, 0x1b, 0xb4, 0x10, 0xa6, 0x77, 0x3d, 0xdf, 0xa0, 0xa5, 0x0f, 0x0f, 0x82, 0x0a, 0xe4, 0x40, + 0xc0, 0xe9, 0x13, 0x25, 0x65, 0x2e, 0x45, 0x9c, 0x92, 0x41, 0xa9, 0xc5, 0x05, 0xf9, 0x79, 0xc5, + 0xa9, 0x4a, 0xcf, 0x19, 0xb9, 0xa4, 0xe1, 0xaa, 0x82, 0x52, 0x53, 0x86, 0x6f, 0x70, 0xa8, 0x72, + 0x29, 0xe3, 0xf1, 0x28, 0x2c, 0x40, 0x8c, 0x76, 0x30, 0x71, 0x31, 0xfb, 0x16, 0xa7, 0x0b, 0x4d, + 0x60, 0xe4, 0x12, 0xc3, 0x95, 0x44, 0xf0, 0xfa, 0x04, 0xa7, 0x0b, 0xa4, 0xec, 0xc8, 0xd3, 0x07, + 0x73, 0x9a, 0xd0, 0x34, 0x46, 0x2e, 0x09, 0x9c, 0x11, 0x65, 0x41, 0x9c, 0xe1, 0x98, 0x3a, 0xa5, + 0x1c, 0xc8, 0xd5, 0x09, 0x73, 0x98, 0x14, 0x6b, 0x03, 0x28, 0xbe, 0x9c, 0x74, 0x4f, 0x3c, 0x92, + 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, + 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0x4a, 0x18, 0x14, 0x47, 0xba, 0xf0, 0x48, 0x2a, 0xa9, + 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, 0x67, 0x47, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x2e, + 0x6a, 0x87, 0xa9, 0x7c, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -300,7 +299,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { func (c *msgClient) UpdateDelegateBoundary(ctx context.Context, in *MsgUpdateDelegateBoundary, opts ...grpc.CallOption) (*MsgUpdateDelegateBoundaryResponse, error) { out := new(MsgUpdateDelegateBoundaryResponse) - err := c.cc.Invoke(ctx, "/composable.txboundary.v1beta1.Msg/UpdateDelegateBoundary", in, out, opts...) + err := c.cc.Invoke(ctx, "/centauri.txboundary.v1beta1.Msg/UpdateDelegateBoundary", in, out, opts...) if err != nil { return nil, err } @@ -309,7 +308,7 @@ func (c *msgClient) UpdateDelegateBoundary(ctx context.Context, in *MsgUpdateDel func (c *msgClient) UpdateRedelegateBoundary(ctx context.Context, in *MsgUpdateRedelegateBoundary, opts ...grpc.CallOption) (*MsgUpdateRedelegateBoundaryResponse, error) { out := new(MsgUpdateRedelegateBoundaryResponse) - err := c.cc.Invoke(ctx, "/composable.txboundary.v1beta1.Msg/UpdateRedelegateBoundary", in, out, opts...) + err := c.cc.Invoke(ctx, "/centauri.txboundary.v1beta1.Msg/UpdateRedelegateBoundary", in, out, opts...) if err != nil { return nil, err } @@ -347,7 +346,7 @@ func _Msg_UpdateDelegateBoundary_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/composable.txboundary.v1beta1.Msg/UpdateDelegateBoundary", + FullMethod: "/centauri.txboundary.v1beta1.Msg/UpdateDelegateBoundary", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).UpdateDelegateBoundary(ctx, req.(*MsgUpdateDelegateBoundary)) @@ -365,7 +364,7 @@ func _Msg_UpdateRedelegateBoundary_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/composable.txboundary.v1beta1.Msg/UpdateRedelegateBoundary", + FullMethod: "/centauri.txboundary.v1beta1.Msg/UpdateRedelegateBoundary", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).UpdateRedelegateBoundary(ctx, req.(*MsgUpdateRedelegateBoundary)) @@ -374,7 +373,7 @@ func _Msg_UpdateRedelegateBoundary_Handler(srv interface{}, ctx context.Context, } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "composable.txboundary.v1beta1.Msg", + ServiceName: "centauri.txboundary.v1beta1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -387,7 +386,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "composable/txboundary/v1beta1/tx.proto", + Metadata: "centauri/txboundary/v1beta1/tx.proto", } func (m *MsgUpdateDelegateBoundary) Marshal() (dAtA []byte, err error) {