diff --git a/.markdownlintignore b/.markdownlintignore index f3a830d7c1..1725ceb118 100644 --- a/.markdownlintignore +++ b/.markdownlintignore @@ -1,3 +1,3 @@ CHANGELOG.md -docs/api/proto-docs.md +docs/protocol/proto-docs.md docs/node_modules diff --git a/app/ante/handler_options.go b/app/ante/handler_options.go index 3a70025091..c3da8c2b95 100644 --- a/app/ante/handler_options.go +++ b/app/ante/handler_options.go @@ -14,7 +14,7 @@ import ( ethante "github.com/tharsis/ethermint/app/ante" evmtypes "github.com/tharsis/ethermint/x/evm/types" - vestingtypes "github.com/tharsis/evmos/v4/x/vesting/types" + vestingtypes "github.com/tharsis/evmos/v5/x/vesting/types" ) // HandlerOptions defines the list of module keepers required to run the Evmos diff --git a/app/ante/utils_test.go b/app/ante/utils_test.go index 056838cafd..9edc1b7c51 100644 --- a/app/ante/utils_test.go +++ b/app/ante/utils_test.go @@ -23,8 +23,8 @@ import ( "github.com/tharsis/ethermint/encoding" evmtypes "github.com/tharsis/ethermint/x/evm/types" feemarkettypes "github.com/tharsis/ethermint/x/feemarket/types" - "github.com/tharsis/evmos/v4/app" - claimstypes "github.com/tharsis/evmos/v4/x/claims/types" + "github.com/tharsis/evmos/v5/app" + claimstypes "github.com/tharsis/evmos/v5/x/claims/types" ) var s *AnteTestSuite diff --git a/app/ante/vesting.go b/app/ante/vesting.go index 8ef4365eb3..61beb422fc 100644 --- a/app/ante/vesting.go +++ b/app/ante/vesting.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/authz" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" evmtypes "github.com/tharsis/ethermint/x/evm/types" - vestingtypes "github.com/tharsis/evmos/v4/x/vesting/types" + vestingtypes "github.com/tharsis/evmos/v5/x/vesting/types" ) // EthVestingTransactionDecorator validates if clawback vesting accounts are diff --git a/app/app.go b/app/app.go index c46fe42bde..b84dcc1d09 100644 --- a/app/app.go +++ b/app/app.go @@ -106,37 +106,37 @@ import ( feemarkettypes "github.com/tharsis/ethermint/x/feemarket/types" // unnamed import of statik for swagger UI support - _ "github.com/tharsis/evmos/v4/client/docs/statik" - - "github.com/tharsis/evmos/v4/app/ante" - v2 "github.com/tharsis/evmos/v4/app/upgrades/v2" - v4 "github.com/tharsis/evmos/v4/app/upgrades/v4" - "github.com/tharsis/evmos/v4/x/claims" - claimskeeper "github.com/tharsis/evmos/v4/x/claims/keeper" - claimstypes "github.com/tharsis/evmos/v4/x/claims/types" - "github.com/tharsis/evmos/v4/x/epochs" - epochskeeper "github.com/tharsis/evmos/v4/x/epochs/keeper" - epochstypes "github.com/tharsis/evmos/v4/x/epochs/types" - "github.com/tharsis/evmos/v4/x/erc20" - erc20client "github.com/tharsis/evmos/v4/x/erc20/client" - erc20keeper "github.com/tharsis/evmos/v4/x/erc20/keeper" - erc20types "github.com/tharsis/evmos/v4/x/erc20/types" - "github.com/tharsis/evmos/v4/x/fees" - feeskeeper "github.com/tharsis/evmos/v4/x/fees/keeper" - feestypes "github.com/tharsis/evmos/v4/x/fees/types" - "github.com/tharsis/evmos/v4/x/incentives" - incentivesclient "github.com/tharsis/evmos/v4/x/incentives/client" - incentiveskeeper "github.com/tharsis/evmos/v4/x/incentives/keeper" - incentivestypes "github.com/tharsis/evmos/v4/x/incentives/types" - "github.com/tharsis/evmos/v4/x/inflation" - inflationkeeper "github.com/tharsis/evmos/v4/x/inflation/keeper" - inflationtypes "github.com/tharsis/evmos/v4/x/inflation/types" - "github.com/tharsis/evmos/v4/x/recovery" - recoverykeeper "github.com/tharsis/evmos/v4/x/recovery/keeper" - recoverytypes "github.com/tharsis/evmos/v4/x/recovery/types" - "github.com/tharsis/evmos/v4/x/vesting" - vestingkeeper "github.com/tharsis/evmos/v4/x/vesting/keeper" - vestingtypes "github.com/tharsis/evmos/v4/x/vesting/types" + _ "github.com/tharsis/evmos/v5/client/docs/statik" + + "github.com/tharsis/evmos/v5/app/ante" + v2 "github.com/tharsis/evmos/v5/app/upgrades/v2" + v4 "github.com/tharsis/evmos/v5/app/upgrades/v4" + "github.com/tharsis/evmos/v5/x/claims" + claimskeeper "github.com/tharsis/evmos/v5/x/claims/keeper" + claimstypes "github.com/tharsis/evmos/v5/x/claims/types" + "github.com/tharsis/evmos/v5/x/epochs" + epochskeeper "github.com/tharsis/evmos/v5/x/epochs/keeper" + epochstypes "github.com/tharsis/evmos/v5/x/epochs/types" + "github.com/tharsis/evmos/v5/x/erc20" + erc20client "github.com/tharsis/evmos/v5/x/erc20/client" + erc20keeper "github.com/tharsis/evmos/v5/x/erc20/keeper" + erc20types "github.com/tharsis/evmos/v5/x/erc20/types" + "github.com/tharsis/evmos/v5/x/fees" + feeskeeper "github.com/tharsis/evmos/v5/x/fees/keeper" + feestypes "github.com/tharsis/evmos/v5/x/fees/types" + "github.com/tharsis/evmos/v5/x/incentives" + incentivesclient "github.com/tharsis/evmos/v5/x/incentives/client" + incentiveskeeper "github.com/tharsis/evmos/v5/x/incentives/keeper" + incentivestypes "github.com/tharsis/evmos/v5/x/incentives/types" + "github.com/tharsis/evmos/v5/x/inflation" + inflationkeeper "github.com/tharsis/evmos/v5/x/inflation/keeper" + inflationtypes "github.com/tharsis/evmos/v5/x/inflation/types" + "github.com/tharsis/evmos/v5/x/recovery" + recoverykeeper "github.com/tharsis/evmos/v5/x/recovery/keeper" + recoverytypes "github.com/tharsis/evmos/v5/x/recovery/types" + "github.com/tharsis/evmos/v5/x/vesting" + vestingkeeper "github.com/tharsis/evmos/v5/x/vesting/keeper" + vestingtypes "github.com/tharsis/evmos/v5/x/vesting/types" ) func init() { diff --git a/app/app_test.go b/app/app_test.go index 9b7b776eb4..285c3a1ecc 100644 --- a/app/app_test.go +++ b/app/app_test.go @@ -14,7 +14,7 @@ import ( dbm "github.com/tendermint/tm-db" "github.com/tharsis/ethermint/encoding" - "github.com/tharsis/evmos/v4/types" + "github.com/tharsis/evmos/v5/types" ) func TestEvmosExport(t *testing.T) { diff --git a/app/forks.go b/app/forks.go index 05550b2e23..0d0c854dcc 100644 --- a/app/forks.go +++ b/app/forks.go @@ -6,9 +6,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - v2 "github.com/tharsis/evmos/v4/app/upgrades/v2" - v4 "github.com/tharsis/evmos/v4/app/upgrades/v4" - "github.com/tharsis/evmos/v4/types" + v2 "github.com/tharsis/evmos/v5/app/upgrades/v2" + v4 "github.com/tharsis/evmos/v5/app/upgrades/v4" + "github.com/tharsis/evmos/v5/types" ) // ScheduleForkUpgrade executes any necessary fork logic for based upon the current diff --git a/app/test_helpers.go b/app/test_helpers.go index 1ff1a6384e..dec3df925c 100644 --- a/app/test_helpers.go +++ b/app/test_helpers.go @@ -16,8 +16,8 @@ import ( "github.com/tharsis/ethermint/encoding" feemarkettypes "github.com/tharsis/ethermint/x/feemarket/types" - "github.com/tharsis/evmos/v4/cmd/config" - "github.com/tharsis/evmos/v4/types" + "github.com/tharsis/evmos/v5/cmd/config" + "github.com/tharsis/evmos/v5/types" ) func init() { diff --git a/app/upgrades/v2/upgrades.go b/app/upgrades/v2/upgrades.go index 82bead20b1..9e03c503e6 100644 --- a/app/upgrades/v2/upgrades.go +++ b/app/upgrades/v2/upgrades.go @@ -5,8 +5,8 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - claimstypes "github.com/tharsis/evmos/v4/x/claims/types" - erc20types "github.com/tharsis/evmos/v4/x/erc20/types" + claimstypes "github.com/tharsis/evmos/v5/x/claims/types" + erc20types "github.com/tharsis/evmos/v5/x/erc20/types" ) // CreateUpgradeHandler creates an SDK upgrade handler for v2 diff --git a/app/upgrades/v4/upgrades.go b/app/upgrades/v4/upgrades.go index 23660b3694..e255ac14de 100644 --- a/app/upgrades/v4/upgrades.go +++ b/app/upgrades/v4/upgrades.go @@ -8,7 +8,7 @@ import ( ibcclientkeeper "github.com/cosmos/ibc-go/v3/modules/core/02-client/keeper" ibcclienttypes "github.com/cosmos/ibc-go/v3/modules/core/02-client/types" - "github.com/tharsis/evmos/v4/types" + "github.com/tharsis/evmos/v5/types" ) // CreateUpgradeHandler creates an SDK upgrade handler for v4 diff --git a/app/upgrades/v4/upgrades_test.go b/app/upgrades/v4/upgrades_test.go index d914cb2fa9..99059ce56e 100644 --- a/app/upgrades/v4/upgrades_test.go +++ b/app/upgrades/v4/upgrades_test.go @@ -19,8 +19,8 @@ import ( "github.com/tharsis/ethermint/crypto/ethsecp256k1" feemarkettypes "github.com/tharsis/ethermint/x/feemarket/types" - "github.com/tharsis/evmos/v4/app" - v4 "github.com/tharsis/evmos/v4/app/upgrades/v4" + "github.com/tharsis/evmos/v5/app" + v4 "github.com/tharsis/evmos/v5/app/upgrades/v4" ) type UpgradeTestSuite struct { diff --git a/cmd/config/observability.go b/cmd/config/observability.go index 63ae259788..ad1f509169 100644 --- a/cmd/config/observability.go +++ b/cmd/config/observability.go @@ -5,7 +5,7 @@ func EnableObservability() error { // if true { // Temporarily disabling this until we can configure out port reuse // fast enough or enabling observability through the config. - // Please see https://github.com/tharsis/evmos/v4/issues/84 + // Please see https://github.com/tharsis/evmos/v5/issues/84 // return nil // } diff --git a/cmd/evmosd/cmd_test.go b/cmd/evmosd/cmd_test.go index 3315967726..9cc4b354ad 100644 --- a/cmd/evmosd/cmd_test.go +++ b/cmd/evmosd/cmd_test.go @@ -9,8 +9,8 @@ import ( "github.com/cosmos/cosmos-sdk/x/genutil/client/cli" "github.com/stretchr/testify/require" - "github.com/tharsis/evmos/v4/app" - evmosd "github.com/tharsis/evmos/v4/cmd/evmosd" + "github.com/tharsis/evmos/v5/app" + evmosd "github.com/tharsis/evmos/v5/cmd/evmosd" ) func TestInitCmd(t *testing.T) { diff --git a/cmd/evmosd/genaccounts.go b/cmd/evmosd/genaccounts.go index 144eb72467..a942e49920 100644 --- a/cmd/evmosd/genaccounts.go +++ b/cmd/evmosd/genaccounts.go @@ -24,10 +24,10 @@ import ( ethermint "github.com/tharsis/ethermint/types" evmtypes "github.com/tharsis/ethermint/x/evm/types" - evmoskr "github.com/tharsis/evmos/v4/crypto/keyring" + evmoskr "github.com/tharsis/evmos/v5/crypto/keyring" - vestingcli "github.com/tharsis/evmos/v4/x/vesting/client/cli" - vestingtypes "github.com/tharsis/evmos/v4/x/vesting/types" + vestingcli "github.com/tharsis/evmos/v5/x/vesting/client/cli" + vestingtypes "github.com/tharsis/evmos/v5/x/vesting/types" ) const ( diff --git a/cmd/evmosd/main.go b/cmd/evmosd/main.go index f0997f9ea3..2f21a1d96c 100644 --- a/cmd/evmosd/main.go +++ b/cmd/evmosd/main.go @@ -7,8 +7,8 @@ import ( svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/evmos/v4/app" - cmdcfg "github.com/tharsis/evmos/v4/cmd/config" + "github.com/tharsis/evmos/v5/app" + cmdcfg "github.com/tharsis/evmos/v5/cmd/config" ) func main() { diff --git a/cmd/evmosd/migrate.go b/cmd/evmosd/migrate.go index 880dedda82..e5ff9aaa5f 100644 --- a/cmd/evmosd/migrate.go +++ b/cmd/evmosd/migrate.go @@ -16,8 +16,8 @@ import ( "github.com/cosmos/cosmos-sdk/version" genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" - v3 "github.com/tharsis/evmos/v4/app/upgrades/v3" - "github.com/tharsis/evmos/v4/types" + v3 "github.com/tharsis/evmos/v5/app/upgrades/v3" + "github.com/tharsis/evmos/v5/types" ) // FlagGenesisTime defines the genesis time in string format diff --git a/cmd/evmosd/root.go b/cmd/evmosd/root.go index c09065d843..7338d18191 100644 --- a/cmd/evmosd/root.go +++ b/cmd/evmosd/root.go @@ -38,9 +38,9 @@ import ( servercfg "github.com/tharsis/ethermint/server/config" srvflags "github.com/tharsis/ethermint/server/flags" - "github.com/tharsis/evmos/v4/app" - cmdcfg "github.com/tharsis/evmos/v4/cmd/config" - evmoskr "github.com/tharsis/evmos/v4/crypto/keyring" + "github.com/tharsis/evmos/v5/app" + cmdcfg "github.com/tharsis/evmos/v5/cmd/config" + evmoskr "github.com/tharsis/evmos/v5/crypto/keyring" ) const ( diff --git a/cmd/evmosd/testnet.go b/cmd/evmosd/testnet.go index 309d55a505..8ad8a8585b 100644 --- a/cmd/evmosd/testnet.go +++ b/cmd/evmosd/testnet.go @@ -43,9 +43,9 @@ import ( ethermint "github.com/tharsis/ethermint/types" evmtypes "github.com/tharsis/ethermint/x/evm/types" - cmdcfg "github.com/tharsis/evmos/v4/cmd/config" - evmoskr "github.com/tharsis/evmos/v4/crypto/keyring" - "github.com/tharsis/evmos/v4/testutil/network" + cmdcfg "github.com/tharsis/evmos/v5/cmd/config" + evmoskr "github.com/tharsis/evmos/v5/crypto/keyring" + "github.com/tharsis/evmos/v5/testutil/network" ) var ( diff --git a/contracts/erc20.go b/contracts/erc20.go index 308a5e4dbf..486de28bdd 100644 --- a/contracts/erc20.go +++ b/contracts/erc20.go @@ -7,7 +7,7 @@ import ( "github.com/ethereum/go-ethereum/common" evmtypes "github.com/tharsis/ethermint/x/evm/types" - "github.com/tharsis/evmos/v4/x/erc20/types" + "github.com/tharsis/evmos/v5/x/erc20/types" ) var ( diff --git a/contracts/erc20DirectBalanceManipulation.go b/contracts/erc20DirectBalanceManipulation.go index 3577ec50c3..a26266dfcf 100644 --- a/contracts/erc20DirectBalanceManipulation.go +++ b/contracts/erc20DirectBalanceManipulation.go @@ -7,7 +7,7 @@ import ( "github.com/ethereum/go-ethereum/common" evmtypes "github.com/tharsis/ethermint/x/evm/types" - "github.com/tharsis/evmos/v4/x/erc20/types" + "github.com/tharsis/evmos/v5/x/erc20/types" ) // This is an evil token. Whenever an A -> B transfer is called, diff --git a/contracts/erc20maliciousdelayed.go b/contracts/erc20maliciousdelayed.go index 3142b7c2ee..3ea53ee4fb 100644 --- a/contracts/erc20maliciousdelayed.go +++ b/contracts/erc20maliciousdelayed.go @@ -7,7 +7,7 @@ import ( "github.com/ethereum/go-ethereum/common" evmtypes "github.com/tharsis/ethermint/x/evm/types" - "github.com/tharsis/evmos/v4/x/erc20/types" + "github.com/tharsis/evmos/v5/x/erc20/types" ) // This is an evil token. Whenever an A -> B transfer is called, diff --git a/docs/protocol/proto-docs.md b/docs/protocol/proto-docs.md index 1ca186b5e7..e71e807a5d 100644 --- a/docs/protocol/proto-docs.md +++ b/docs/protocol/proto-docs.md @@ -1,6 +1,5 @@ # Protobuf Documentation - ## Table of Contents @@ -180,41 +179,56 @@ - [Scalar Value Types](#scalar-value-types) + +
## evmos/claims/v1/claims.proto + + ### Claim - Claim defines the action, completed flag and the remaining claimable amount for a given user. This is only used during client queries. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `action` | [Action](#evmos.claims.v1.Action) | | action enum | | `completed` | [bool](#bool) | | true if the action has been completed | | `claimable_amount` | [string](#string) | | claimable token amount for the action. Zero if completed | + + + + + ### ClaimsRecord - ClaimsRecord defines the initial claimable airdrop amount and the list of completed actions to claim the tokens. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `initial_claimable_amount` | [string](#string) | | total initial claimable amount for the user | | `actions_completed` | [bool](#bool) | repeated | slice of the available actions completed | + + + + + ### ClaimsRecordAddress +ClaimsRecordAddress is the claims metadata per address that is used at +Genesis. -ClaimsRecordAddress is the claims metadata per address that is used at Genesis. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | @@ -222,12 +236,16 @@ ClaimsRecordAddress is the claims metadata per address that is used at Genesis. | `initial_claimable_amount` | [string](#string) | | total initial claimable amount for the user | | `actions_completed` | [bool](#bool) | repeated | slice of the available actions completed | + + + + + ### Action - Action defines the list of available actions to claim the airdrop tokens. | Name | Number | Description | @@ -238,34 +256,44 @@ Action defines the list of available actions to claim the airdrop tokens. | ACTION_EVM | 3 | EVM defines an EVM transaction. | | ACTION_IBC_TRANSFER | 4 | IBC Transfer defines a fungible token transfer transaction via IBC. | + + + ## evmos/claims/v1/genesis.proto + + ### GenesisState - GenesisState define the claims module's genesis state. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `params` | [Params](#evmos.claims.v1.Params) | | params defines all the parameters of the module. | | `claims_records` | [ClaimsRecordAddress](#evmos.claims.v1.ClaimsRecordAddress) | repeated | list of claim records with the corresponding airdrop recipient | + + + + + ### Params - Params defines the claims module's parameters. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `enable_claims` | [bool](#bool) | | enable claiming process | @@ -276,6 +304,10 @@ Params defines the claims module's parameters. | `authorized_channels` | [string](#string) | repeated | list of authorized channel identifiers that can perform address attestations via IBC. | | `evm_channels` | [string](#string) | repeated | list of channel identifiers from EVM compatible chains | + + + + @@ -284,101 +316,142 @@ Params defines the claims module's parameters. + + ## evmos/claims/v1/query.proto + + ### QueryClaimsRecordRequest - QueryClaimsRecordRequest is the request type for the Query/ClaimsRecord RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `address` | [string](#string) | | address defines the user to query claims record for | + + + + + ### QueryClaimsRecordResponse - QueryClaimsRecordResponse is the response type for the Query/ClaimsRecord RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `initial_claimable_amount` | [string](#string) | | total initial claimable amount for the user | | `claims` | [Claim](#evmos.claims.v1.Claim) | repeated | the claims of the user | + + + + + ### QueryClaimsRecordsRequest - QueryClaimsRecordsRequest is the request type for the Query/ClaimsRecords RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | pagination defines an optional pagination for the request. | + + + + + ### QueryClaimsRecordsResponse - QueryClaimsRecordsResponse is the response type for the Query/ClaimsRecords RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `claims` | [ClaimsRecordAddress](#evmos.claims.v1.ClaimsRecordAddress) | repeated | claims defines all claims records | | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. | + + + + + ### QueryParamsRequest - QueryParamsRequest is the request type for the Query/Params RPC method. + + + + + ### QueryParamsResponse - QueryParamsResponse is the response type for the Query/Params RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `params` | [Params](#evmos.claims.v1.Params) | | params defines the parameters of the module. | + + + + + ### QueryTotalUnclaimedRequest - QueryTotalUnclaimedRequest is the request type for the Query/TotalUnclaimed RPC method. + + + + + ### QueryTotalUnclaimedResponse - QueryTotalUnclaimedResponse is the response type for the Query/TotalUnclaimed RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `coins` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | coins defines the unclaimed coins | + + + + + ### Query - Query defines the gRPC querier service. | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | @@ -390,15 +463,21 @@ Query defines the gRPC querier service. + + ## evmos/epochs/v1/genesis.proto + + ### EpochInfo + + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `identifier` | [string](#string) | | | @@ -409,16 +488,25 @@ Query defines the gRPC querier service. | `epoch_counting_started` | [bool](#bool) | | | | `current_epoch_start_height` | [int64](#int64) | | | + + + + + ### GenesisState - GenesisState defines the epochs module's genesis state. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `epochs` | [EpochInfo](#evmos.epochs.v1.EpochInfo) | repeated | | + + + + @@ -427,54 +515,85 @@ GenesisState defines the epochs module's genesis state. + + ## evmos/epochs/v1/query.proto + + ### QueryCurrentEpochRequest + + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `identifier` | [string](#string) | | | + + + + + ### QueryCurrentEpochResponse + + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `current_epoch` | [int64](#int64) | | | + + + + + ### QueryEpochsInfoRequest + + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | | + + + + + ### QueryEpochsInfoResponse + + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `epochs` | [EpochInfo](#evmos.epochs.v1.EpochInfo) | repeated | | | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | | + + + + + ### Query - Query defines the gRPC querier service. | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | @@ -484,57 +603,76 @@ Query defines the gRPC querier service. + + ## evmos/erc20/v1/erc20.proto + + ### RegisterCoinProposal - RegisterCoinProposal is a gov Content type to register a token pair for a native Cosmos coin. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `title` | [string](#string) | | title of the proposal | | `description` | [string](#string) | | proposal description | | `metadata` | [cosmos.bank.v1beta1.Metadata](#cosmos.bank.v1beta1.Metadata) | | metadata of the native Cosmos coin | + + + + + ### RegisterERC20Proposal - RegisterERC20Proposal is a gov Content type to register a token pair for an ERC20 token + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `title` | [string](#string) | | title of the proposal | | `description` | [string](#string) | | proposal description | | `erc20address` | [string](#string) | | contract address of ERC20 token | + + + + + ### ToggleTokenConversionProposal - ToggleTokenConversionProposal is a gov Content type to toggle the conversion of a token pair. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `title` | [string](#string) | | title of the proposal | | `description` | [string](#string) | | proposal description | | `token` | [string](#string) | | token identifier can be either the hex contract address of the ERC20 or the Cosmos base denomination | + + + + + ### TokenPair - TokenPair defines an instance that records a pairing consisting of a native Cosmos Coin and an ERC20 token address. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `erc20_address` | [string](#string) | | address of ERC20 contract token | @@ -542,12 +680,16 @@ TokenPair defines an instance that records a pairing consisting of a native | `enabled` | [bool](#bool) | | shows token mapping enable status | | `contract_owner` | [Owner](#evmos.erc20.v1.Owner) | | ERC20 owner address ENUM (0 invalid, 1 ModuleAccount, 2 external address) | + + + + + ### Owner - Owner enumerates the ownership of a ERC20 contract. | Name | Number | Description | @@ -556,39 +698,53 @@ Owner enumerates the ownership of a ERC20 contract. | OWNER_MODULE | 1 | OWNER_MODULE erc20 is owned by the erc20 module account. | | OWNER_EXTERNAL | 2 | EXTERNAL erc20 is owned by an external account. | + + + ## evmos/erc20/v1/genesis.proto + + ### GenesisState - GenesisState defines the module's genesis state. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `params` | [Params](#evmos.erc20.v1.Params) | | module parameters | | `token_pairs` | [TokenPair](#evmos.erc20.v1.TokenPair) | repeated | registered token pairs | + + + + + ### Params - Params defines the erc20 module params + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `enable_erc20` | [bool](#bool) | | parameter to enable the conversion of Cosmos coins <--> ERC20 tokens. | | `enable_evm_hook` | [bool](#bool) | | parameter to enable the EVM hook that converts an ERC20 token to a Cosmos Coin by transferring the Tokens through a MsgEthereumTx to the ModuleAddress Ethereum address. | + + + + @@ -597,82 +753,114 @@ Params defines the erc20 module params + + ## evmos/erc20/v1/query.proto + + ### QueryParamsRequest - QueryParamsRequest is the request type for the Query/Params RPC method. + + + + + ### QueryParamsResponse - QueryParamsResponse is the response type for the Query/Params RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `params` | [Params](#evmos.erc20.v1.Params) | | | + + + + + ### QueryTokenPairRequest - QueryTokenPairRequest is the request type for the Query/TokenPair RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `token` | [string](#string) | | token identifier can be either the hex contract address of the ERC20 or the Cosmos base denomination | + + + + + ### QueryTokenPairResponse - QueryTokenPairResponse is the response type for the Query/TokenPair RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `token_pair` | [TokenPair](#evmos.erc20.v1.TokenPair) | | | + + + + + ### QueryTokenPairsRequest - QueryTokenPairsRequest is the request type for the Query/TokenPairs RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | pagination defines an optional pagination for the request. | + + + + + ### QueryTokenPairsResponse - QueryTokenPairsResponse is the response type for the Query/TokenPairs RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `token_pairs` | [TokenPair](#evmos.erc20.v1.TokenPair) | repeated | | | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. | + + + + + ### Query - Query defines the gRPC querier service. | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | @@ -683,36 +871,49 @@ Query defines the gRPC querier service. + + ## evmos/erc20/v1/tx.proto + + ### MsgConvertCoin - MsgConvertCoin defines a Msg to convert a native Cosmos coin to a ERC20 token + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `coin` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | Cosmos coin which denomination is registered in a token pair. The coin amount defines the amount of coins to convert. | | `receiver` | [string](#string) | | recipient hex address to receive ERC20 token | | `sender` | [string](#string) | | cosmos bech32 address from the owner of the given Cosmos coins | - -### MsgConvertCoinResponse + + + + + +### MsgConvertCoinResponse MsgConvertCoinResponse returns no fields + + + + + ### MsgConvertERC20 - MsgConvertERC20 defines a Msg to convert a ERC20 token to a native Cosmos coin. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `contract_address` | [string](#string) | | ERC20 token contract address registered in a token pair | @@ -720,22 +921,30 @@ coin. | `receiver` | [string](#string) | | bech32 address to receive native Cosmos coins | | `sender` | [string](#string) | | sender hex address from the owner of the given ERC20 tokens | + + + + + ### MsgConvertERC20Response - MsgConvertERC20Response returns no fields + + + + + ### Msg - Msg defines the erc20 Msg service. | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | @@ -745,24 +954,32 @@ Msg defines the erc20 Msg service. + + ## evmos/fees/v1/fees.proto + + ### DevFeeInfo - DevFeeInfo defines an instance that organizes fee distribution conditions for the owner of a given smart contract + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `contract_address` | [string](#string) | | hex address of registered contract | | `deployer_address` | [string](#string) | | bech32 address of contract deployer | | `withdraw_address` | [string](#string) | | bech32 address of account receiving the transaction fees it defaults to deployer_address | + + + + @@ -771,28 +988,37 @@ for the owner of a given smart contract + + ## evmos/fees/v1/genesis.proto + + ### GenesisState - GenesisState defines the module's genesis state. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `params` | [Params](#evmos.fees.v1.Params) | | module parameters | | `dev_fee_infos` | [DevFeeInfo](#evmos.fees.v1.DevFeeInfo) | repeated | active registered contracts | + + + + + ### Params - Params defines the fees module params + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `enable_fees` | [bool](#bool) | | parameter to enable fees | @@ -800,6 +1026,10 @@ Params defines the fees module params | `validator_shares` | [string](#string) | | developer_shares defines the proportion of the transaction fees to be distributed to validators | | `addr_derivation_cost_create` | [uint64](#uint64) | | addr_derivation_cost_create defines the cost of address derivation for verifying the contract deployer at fee registration | + + + + @@ -808,107 +1038,149 @@ Params defines the fees module params + + ## evmos/fees/v1/query.proto + + ### QueryDevFeeInfoRequest - QueryDevFeeInfoRequest is the request type for the Query/DevFeeInfo RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `contract_address` | [string](#string) | | contract identifier is the hex contract address of a contract | + + + + + ### QueryDevFeeInfoResponse - QueryDevFeeInfoResponse is the response type for the Query/DevFeeInfo RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `fee` | [DevFeeInfo](#evmos.fees.v1.DevFeeInfo) | | | + + + + + ### QueryDevFeeInfosPerDeployerRequest - QueryDevFeeInfosPerDeployerRequest is the request type for the Query/DevFeeInfosPerDeployer RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `deployer_address` | [string](#string) | | deployer bech32 address | | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | pagination defines an optional pagination for the request. | + + + + + ### QueryDevFeeInfosPerDeployerResponse - QueryDevFeeInfosPerDeployerResponse is the response type for the Query/DevFeeInfosPerDeployer RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `fees` | [DevFeeInfo](#evmos.fees.v1.DevFeeInfo) | repeated | | | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. | + + + + + ### QueryDevFeeInfosRequest - QueryDevFeeInfosRequest is the request type for the Query/DevFeeInfos RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | pagination defines an optional pagination for the request. | + + + + + ### QueryDevFeeInfosResponse - QueryDevFeeInfosResponse is the response type for the Query/DevFeeInfos RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `fees` | [DevFeeInfo](#evmos.fees.v1.DevFeeInfo) | repeated | | | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. | + + + + + ### QueryParamsRequest - QueryParamsRequest is the request type for the Query/Params RPC method. + + + + + ### QueryParamsResponse - QueryParamsResponse is the response type for the Query/Params RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `params` | [Params](#evmos.fees.v1.Params) | | | + + + + + ### Query - Query defines the gRPC querier service. | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | @@ -920,35 +1192,48 @@ Query defines the gRPC querier service. + + ## evmos/fees/v1/tx.proto + + ### MsgCancelDevFeeInfo - MsgCancelDevFeeInfo defines a message that cancels a registered a DevFeeInfo + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `contract_address` | [string](#string) | | contract hex address | | `deployer_address` | [string](#string) | | deployer bech32 address | + + + + + ### MsgCancelDevFeeInfoResponse - MsgCancelDevFeeInfoResponse defines the MsgCancelDevFeeInfo response type + + + + + ### MsgRegisterDevFeeInfo - MsgRegisterFeesContract defines a message that registers a DevFeeInfo + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `contract_address` | [string](#string) | | contract hex address | @@ -956,42 +1241,59 @@ MsgRegisterFeesContract defines a message that registers a DevFeeInfo | `withdraw_address` | [string](#string) | | bech32 address of account receiving the transaction fees | | `nonces` | [uint64](#uint64) | repeated | array of nonces from the address path, where the last nonce is the nonce that determines the contract's address - it can be an EOA nonce or a factory contract nonce | + + + + + ### MsgRegisterDevFeeInfoResponse - MsgRegisterDevFeeInfoResponse defines the MsgRegisterDevFeeInfo response type + + + + + ### MsgUpdateDevFeeInfo - MsgUpdateDevFeeInfo defines a message that updates the withdraw address for a registered DevFeeInfo + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `contract_address` | [string](#string) | | contract hex address | | `deployer_address` | [string](#string) | | deployer bech32 address | | `withdraw_address` | [string](#string) | | new withdraw bech32 address for receiving the transaction fees | + + + + + ### MsgUpdateDevFeeInfoResponse - MsgUpdateDevFeeInfoResponse defines the MsgUpdateDevFeeInfo response type + + + + + ### Msg - Msg defines the fees Msg service. | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | @@ -1002,42 +1304,56 @@ Msg defines the fees Msg service. + + ## evmos/incentives/v1/incentives.proto + + ### CancelIncentiveProposal - CancelIncentiveProposal is a gov Content type to cancel an incentive + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `title` | [string](#string) | | title of the proposal | | `description` | [string](#string) | | proposal description | | `contract` | [string](#string) | | contract address | + + + + + ### GasMeter - GasMeter tracks the cumulative gas spent per participant in one epoch + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `contract` | [string](#string) | | hex address of the incentivized contract | | `participant` | [string](#string) | | participant address that interacts with the incentive | | `cumulative_gas` | [uint64](#uint64) | | cumulative gas spent during the epoch | + + + + + ### Incentive - Incentive defines an instance that organizes distribution conditions for a given smart contract + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `contract` | [string](#string) | | contract address | @@ -1046,12 +1362,17 @@ given smart contract | `start_time` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | distribution start time | | `total_gas` | [uint64](#uint64) | | cumulative gas spent by all gasmeters of the incentive during the epoch | + + + + + ### RegisterIncentiveProposal - RegisterIncentiveProposal is a gov Content type to register an incentive + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `title` | [string](#string) | | title of the proposal | @@ -1060,6 +1381,10 @@ RegisterIncentiveProposal is a gov Content type to register an incentive | `allocations` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | repeated | denoms and percentage of rewards to be allocated | | `epochs` | [uint32](#uint32) | | number of remaining epochs | + + + + @@ -1068,29 +1393,38 @@ RegisterIncentiveProposal is a gov Content type to register an incentive + + ## evmos/incentives/v1/genesis.proto + + ### GenesisState - GenesisState defines the module's genesis state. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `params` | [Params](#evmos.incentives.v1.Params) | | module parameters | | `incentives` | [Incentive](#evmos.incentives.v1.Incentive) | repeated | active incentives | | `gas_meters` | [GasMeter](#evmos.incentives.v1.GasMeter) | repeated | active Gasmeters | + + + + + ### Params - Params defines the incentives module params + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `enable_incentives` | [bool](#bool) | | parameter to enable incentives | @@ -1098,6 +1432,10 @@ Params defines the incentives module params | `incentives_epoch_identifier` | [string](#string) | | identifier for the epochs module hooks | | `reward_scaler` | [string](#string) | | scaling factor for capping rewards | + + + + @@ -1106,173 +1444,245 @@ Params defines the incentives module params + + ## evmos/incentives/v1/query.proto + + ### QueryAllocationMeterRequest - QueryAllocationMeterRequest is the request type for the Query/AllocationMeter RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `denom` | [string](#string) | | denom is the coin denom to query an allocation meter for. | + + + + + ### QueryAllocationMeterResponse - QueryAllocationMeterResponse is the response type for the Query/AllocationMeter RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `allocation_meter` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | | + + + + + ### QueryAllocationMetersRequest - QueryAllocationMetersRequest is the request type for the Query/AllocationMeters RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | pagination defines an optional pagination for the request. | + + + + + ### QueryAllocationMetersResponse - QueryAllocationMetersResponse is the response type for the Query/AllocationMeters RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `allocation_meters` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | repeated | | | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. | + + + + + ### QueryGasMeterRequest - QueryGasMeterRequest is the request type for the Query/Incentive RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `contract` | [string](#string) | | contract identifier is the hex contract address of a contract | | `participant` | [string](#string) | | participant identifier is the hex address of a user | + + + + + ### QueryGasMeterResponse - QueryGasMeterResponse is the response type for the Query/Incentive RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `gas_meter` | [uint64](#uint64) | | | + + + + + ### QueryGasMetersRequest - QueryGasMetersRequest is the request type for the Query/Incentives RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `contract` | [string](#string) | | contract is the hex contract address of a incentivized smart contract | | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | pagination defines an optional pagination for the request. | + + + + + ### QueryGasMetersResponse - QueryGasMetersResponse is the response type for the Query/Incentives RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `gas_meters` | [GasMeter](#evmos.incentives.v1.GasMeter) | repeated | | | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. | + + + + + ### QueryIncentiveRequest - QueryIncentiveRequest is the request type for the Query/Incentive RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `contract` | [string](#string) | | contract identifier is the hex contract address of a contract | + + + + + ### QueryIncentiveResponse - QueryIncentiveResponse is the response type for the Query/Incentive RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `incentive` | [Incentive](#evmos.incentives.v1.Incentive) | | | + + + + + ### QueryIncentivesRequest - QueryIncentivesRequest is the request type for the Query/Incentives RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | pagination defines an optional pagination for the request. | + + + + + ### QueryIncentivesResponse - QueryIncentivesResponse is the response type for the Query/Incentives RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `incentives` | [Incentive](#evmos.incentives.v1.Incentive) | repeated | | | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. | + + + + + ### QueryParamsRequest - QueryParamsRequest is the request type for the Query/Params RPC method. + + + + + ### QueryParamsResponse - QueryParamsResponse is the response type for the Query/Params RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `params` | [Params](#evmos.incentives.v1.Params) | | | + + + + + ### Query - Query defines the gRPC querier service. | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | @@ -1287,21 +1697,25 @@ Query defines the gRPC querier service. + + ## evmos/inflation/v1/inflation.proto + + ### ExponentialCalculation - ExponentialCalculation holds factors to calculate exponential inflation on each period. Calculation reference: -periodProvision = exponentialDecay *bondingIncentive -f(x) = (a* (1 - r) ^ x + c) *(1 + max_variance - bondedRatio* +periodProvision = exponentialDecay * bondingIncentive +f(x) = (a * (1 - r) ^ x + c) * (1 + max_variance - bondedRatio * (max_variance / bonding_target)) + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `a` | [string](#string) | | initial value | @@ -1310,10 +1724,14 @@ f(x) = (a* (1 - r) ^ x + c) *(1 + max_variance - bondedRatio* | `bonding_target` | [string](#string) | | bonding target | | `max_variance` | [string](#string) | | max variance | + + + + + ### InflationDistribution - InflationDistribution defines the distribution in which inflation is allocated through minting on each epoch (staking, incentives, community). It excludes the team vesting distribution, as this is minted once at genesis. @@ -1322,12 +1740,17 @@ Model like this: mintDistribution1 = distribution1 / (1 - teamVestingDistribution) 0.5333333 = 40% / (1 - 25%) + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `staking_rewards` | [string](#string) | | staking_rewards defines the proportion of the minted minted_denom that is to be allocated as staking rewards | | `usage_incentives` | [string](#string) | | usage_incentives defines the proportion of the minted minted_denom that is to be allocated to the incentives module address | | `community_pool` | [string](#string) | | community_pool defines the proportion of the minted minted_denom that is to be allocated to the community pool | + + + + @@ -1336,17 +1759,21 @@ mintDistribution1 = distribution1 / (1 - teamVestingDistribution) + + ## evmos/inflation/v1/genesis.proto + + ### GenesisState - GenesisState defines the inflation module's genesis state. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `params` | [Params](#evmos.inflation.v1.Params) | | params defines all the paramaters of the module. | @@ -1355,12 +1782,17 @@ GenesisState defines the inflation module's genesis state. | `epochs_per_period` | [int64](#int64) | | number of epochs after which inflation is recalculated | | `skipped_epochs` | [uint64](#uint64) | | number of epochs that have passed while inflation is disabled | + + + + + ### Params - Params holds parameters for the inflation module. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `mint_denom` | [string](#string) | | type of coin to mint | @@ -1368,6 +1800,10 @@ Params holds parameters for the inflation module. | `inflation_distribution` | [InflationDistribution](#evmos.inflation.v1.InflationDistribution) | | inflation distribution of the minted denom | | `enable_inflation` | [bool](#bool) | | parameter to enable inflation and halt increasing the skipped_epochs | + + + + @@ -1376,125 +1812,182 @@ Params holds parameters for the inflation module. + + ## evmos/inflation/v1/query.proto + + ### QueryCirculatingSupplyRequest - QueryCirculatingSupplyRequest is the request type for the Query/CirculatingSupply RPC method. + + + + + ### QueryCirculatingSupplyResponse - QueryCirculatingSupplyResponse is the response type for the Query/CirculatingSupply RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `circulating_supply` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | total amount of coins in circulation | + + + + + ### QueryEpochMintProvisionRequest - QueryEpochMintProvisionRequest is the request type for the Query/EpochMintProvision RPC method. + + + + + ### QueryEpochMintProvisionResponse - QueryEpochMintProvisionResponse is the response type for the Query/EpochMintProvision RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `epoch_mint_provision` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | | epoch_mint_provision is the current minting per epoch provision value. | + + + + + ### QueryInflationRateRequest - QueryInflationRateRequest is the request type for the Query/InflationRate RPC method. + + + + + ### QueryInflationRateResponse - QueryInflationRateResponse is the response type for the Query/InflationRate RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `inflation_rate` | [string](#string) | | rate by which the total supply increases within one period | + + + + + ### QueryParamsRequest - QueryParamsRequest is the request type for the Query/Params RPC method. + + + + + ### QueryParamsResponse - QueryParamsResponse is the response type for the Query/Params RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `params` | [Params](#evmos.inflation.v1.Params) | | params defines the parameters of the module. | + + + + + ### QueryPeriodRequest - QueryPeriodRequest is the request type for the Query/Period RPC method. + + + + + ### QueryPeriodResponse - QueryPeriodResponse is the response type for the Query/Period RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `period` | [uint64](#uint64) | | period is the current minting per epoch provision value. | + + + + + ### QuerySkippedEpochsRequest - QuerySkippedEpochsRequest is the request type for the Query/SkippedEpochs RPC method. + + + + + ### QuerySkippedEpochsResponse - QuerySkippedEpochsResponse is the response type for the Query/SkippedEpochs RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `skipped_epochs` | [uint64](#uint64) | | number of epochs that the inflation module has been disabled. | + + + + + ### Query - Query provides defines the gRPC querier service. | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | @@ -1508,32 +2001,45 @@ Query provides defines the gRPC querier service. + + ## evmos/recovery/v1/genesis.proto + + ### GenesisState - GenesisState defines the recovery module's genesis state. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `params` | [Params](#evmos.recovery.v1.Params) | | params defines all the paramaters of the module. | + + + + + ### Params - Params holds parameters for the recovery module + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `enable_recovery` | [bool](#bool) | | enable recovery IBC middleware | | `packet_timeout_duration` | [google.protobuf.Duration](#google.protobuf.Duration) | | duration added to timeout timestamp for balances recovered via IBC packets | + + + + @@ -1542,37 +2048,49 @@ Params holds parameters for the recovery module + + ## evmos/recovery/v1/query.proto + + ### QueryParamsRequest - QueryParamsRequest is the request type for the Query/Params RPC method. + + + + + ### QueryParamsResponse - QueryParamsResponse is the response type for the Query/Params RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `params` | [Params](#evmos.recovery.v1.Params) | | params defines the parameters of the module. | + + + + + ### Query - Query defines the gRPC querier service. | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | @@ -1581,44 +2099,57 @@ Query defines the gRPC querier service. + + ## evmos/vesting/v1/query.proto + + ### QueryBalancesRequest - QueryBalancesRequest is the request type for the Query/Balances RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `address` | [string](#string) | | address of the clawback vesting account | + + + + + ### QueryBalancesResponse - QueryBalancesResponse is the response type for the Query/Balances RPC method. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `locked` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | current amount of locked tokens | | `unvested` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | current amount of unvested tokens | | `vested` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | current amount of vested tokens | + + + + + ### Query - Query defines the gRPC querier service. | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | @@ -1627,35 +2158,49 @@ Query defines the gRPC querier service. + + ## evmos/vesting/v1/tx.proto + + ### MsgClawback - MsgClawback defines a message that removes unvested tokens from a ClawbackVestingAccount. + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `funder_address` | [string](#string) | | funder_address is the address which funded the account | | `account_address` | [string](#string) | | account_address is the address of the ClawbackVestingAccount to claw back from. | | `dest_address` | [string](#string) | | dest_address specifies where the clawed-back tokens should be transferred to. If empty, the tokens will be transferred back to the original funder of the account. | + + + + + ### MsgClawbackResponse - MsgClawbackResponse defines the MsgClawback response type. + + + + + ### MsgCreateClawbackVestingAccount +MsgCreateClawbackVestingAccount defines a message that enables creating a +ClawbackVestingAccount. -MsgCreateClawbackVestingAccount defines a message that enables creating a ClawbackVestingAccount. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | @@ -1666,23 +2211,31 @@ MsgCreateClawbackVestingAccount defines a message that enables creating a Clawba | `vesting_periods` | [cosmos.vesting.v1beta1.Period](#cosmos.vesting.v1beta1.Period) | repeated | vesting_periods defines thevesting schedule relative to the start_time | | `merge` | [bool](#bool) | | merge specifies a the creation mechanism for existing ClawbackVestingAccounts. If true, merge this new grant into an existing ClawbackVestingAccount, or create it if it does not exist. If false, creates a new account. New grants to an existing account must be from the same from_address. | + + + + + ### MsgCreateClawbackVestingAccountResponse - MsgCreateClawbackVestingAccountResponse defines the MsgCreateClawbackVestingAccount response type. + + + + + ### Msg - Msg defines the vesting Msg service. | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | @@ -1692,20 +2245,24 @@ Msg defines the vesting Msg service. + + ## evmos/vesting/v1/vesting.proto + + ### ClawbackVestingAccount - ClawbackVestingAccount implements the VestingAccount interface. It provides an account that can hold contributions subject to "lockup" (like a PeriodicVestingAccount), or vesting which is subject to clawback of unvested tokens, or a combination (tokens vest, but are still locked). + | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `base_vesting_account` | [cosmos.vesting.v1beta1.BaseVestingAccount](#cosmos.vesting.v1beta1.BaseVestingAccount) | | base_vesting_account implements the VestingAccount interface. It contains all the necessary fields needed for any vesting account implementation | @@ -1714,6 +2271,10 @@ of unvested tokens, or a combination (tokens vest, but are still locked). | `lockup_periods` | [cosmos.vesting.v1beta1.Period](#cosmos.vesting.v1beta1.Period) | repeated | lockup_periods defines the unlocking schedule relative to the start_time | | `vesting_periods` | [cosmos.vesting.v1beta1.Period](#cosmos.vesting.v1beta1.Period) | repeated | vesting_periods defines the vesting schedule relative to the start_time | + + + + @@ -1722,6 +2283,8 @@ of unvested tokens, or a combination (tokens vest, but are still locked). + + ## Scalar Value Types | .proto Type | Notes | C++ | Java | Python | Go | C# | PHP | Ruby | @@ -1741,3 +2304,4 @@ of unvested tokens, or a combination (tokens vest, but are still locked). | bool | | bool | boolean | boolean | bool | bool | boolean | TrueClass/FalseClass | | string | A string must always contain UTF-8 encoded or 7-bit ASCII text. | string | String | str/unicode | string | string | string | String (UTF-8) | | bytes | May contain any arbitrary sequence of bytes. | string | ByteString | str | []byte | ByteString | string | String (ASCII-8BIT) | + diff --git a/go.mod b/go.mod index 576629e06a..9a43217f21 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/tharsis/evmos/v4 +module github.com/tharsis/evmos/v5 go 1.17 diff --git a/ibc/testing/app.go b/ibc/testing/app.go index f39e448e16..f7892a45fe 100644 --- a/ibc/testing/app.go +++ b/ibc/testing/app.go @@ -21,7 +21,7 @@ import ( "github.com/cosmos/ibc-go/v3/testing/simapp" ethermint "github.com/tharsis/ethermint/types" - evmosapp "github.com/tharsis/evmos/v4/app" + evmosapp "github.com/tharsis/evmos/v5/app" ) var DefaultTestingAppInit func() (ibcgotesting.TestingApp, map[string]json.RawMessage) = evmosapp.SetupTestingApp diff --git a/ibc/utils.go b/ibc/utils.go index 739fa45165..c21ee4e5e2 100644 --- a/ibc/utils.go +++ b/ibc/utils.go @@ -7,7 +7,7 @@ import ( transfertypes "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types" channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" - evmos "github.com/tharsis/evmos/v4/types" + evmos "github.com/tharsis/evmos/v5/types" ) // GetTransferSenderRecipient returns the sender and recipient sdk.AccAddresses diff --git a/ibc/utils_test.go b/ibc/utils_test.go index 799eb45c9f..d6338927a7 100644 --- a/ibc/utils_test.go +++ b/ibc/utils_test.go @@ -4,7 +4,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "github.com/tharsis/evmos/v4/x/claims/types" + "github.com/tharsis/evmos/v5/x/claims/types" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/proto/evmos/claims/v1/claims.proto b/proto/evmos/claims/v1/claims.proto index 7cbb41f573..d90745b6c6 100644 --- a/proto/evmos/claims/v1/claims.proto +++ b/proto/evmos/claims/v1/claims.proto @@ -3,63 +3,62 @@ package evmos.claims.v1; import "gogoproto/gogo.proto"; -option go_package = "github.com/tharsis/evmos/v4/x/claims/types"; +option go_package = "github.com/tharsis/evmos/v5/x/claims/types"; // Action defines the list of available actions to claim the airdrop tokens. enum Action { - option (gogoproto.goproto_enum_prefix) = false; + option (gogoproto.goproto_enum_prefix) = false; - // UNSPECIFIED defines an invalid action. - ACTION_UNSPECIFIED = 0 [ - (gogoproto.enumvalue_customname) = "ActionUnspecified" - ]; - // VOTE defines a proposal vote. - ACTION_VOTE = 1 [ (gogoproto.enumvalue_customname) = "ActionVote" ]; - // DELEGATE defines an staking delegation. - ACTION_DELEGATE = 2 [ (gogoproto.enumvalue_customname) = "ActionDelegate" ]; - // EVM defines an EVM transaction. - ACTION_EVM = 3 [ (gogoproto.enumvalue_customname) = "ActionEVM" ]; - // IBC Transfer defines a fungible token transfer transaction via IBC. - ACTION_IBC_TRANSFER = 4 [ - (gogoproto.enumvalue_customname) = "ActionIBCTransfer" - ]; + // UNSPECIFIED defines an invalid action. + ACTION_UNSPECIFIED = 0 + [ (gogoproto.enumvalue_customname) = "ActionUnspecified" ]; + // VOTE defines a proposal vote. + ACTION_VOTE = 1 [ (gogoproto.enumvalue_customname) = "ActionVote" ]; + // DELEGATE defines an staking delegation. + ACTION_DELEGATE = 2 [ (gogoproto.enumvalue_customname) = "ActionDelegate" ]; + // EVM defines an EVM transaction. + ACTION_EVM = 3 [ (gogoproto.enumvalue_customname) = "ActionEVM" ]; + // IBC Transfer defines a fungible token transfer transaction via IBC. + ACTION_IBC_TRANSFER = 4 + [ (gogoproto.enumvalue_customname) = "ActionIBCTransfer" ]; } // Claim defines the action, completed flag and the remaining claimable amount // for a given user. This is only used during client queries. message Claim { - // action enum - Action action = 1; - // true if the action has been completed - bool completed = 2; - // claimable token amount for the action. Zero if completed - string claimable_amount = 3 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; + // action enum + Action action = 1; + // true if the action has been completed + bool completed = 2; + // claimable token amount for the action. Zero if completed + string claimable_amount = 3 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false + ]; } -// ClaimsRecordAddress is the claims metadata per address that is used at Genesis. +// ClaimsRecordAddress is the claims metadata per address that is used at +// Genesis. message ClaimsRecordAddress { - // bech32 or hex address of claim user - string address = 1; - // total initial claimable amount for the user - string initial_claimable_amount = 2 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; - // slice of the available actions completed - repeated bool actions_completed = 3; + // bech32 or hex address of claim user + string address = 1; + // total initial claimable amount for the user + string initial_claimable_amount = 2 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false + ]; + // slice of the available actions completed + repeated bool actions_completed = 3; } // ClaimsRecord defines the initial claimable airdrop amount and the list of // completed actions to claim the tokens. message ClaimsRecord { - // total initial claimable amount for the user - string initial_claimable_amount = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; - // slice of the available actions completed - repeated bool actions_completed = 2; + // total initial claimable amount for the user + string initial_claimable_amount = 1 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false + ]; + // slice of the available actions completed + repeated bool actions_completed = 2; } diff --git a/proto/evmos/claims/v1/genesis.proto b/proto/evmos/claims/v1/genesis.proto index e3c4ed4e1d..50b945ca22 100644 --- a/proto/evmos/claims/v1/genesis.proto +++ b/proto/evmos/claims/v1/genesis.proto @@ -6,42 +6,35 @@ import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "evmos/claims/v1/claims.proto"; -option go_package = "github.com/tharsis/evmos/v4/x/claims/types"; +option go_package = "github.com/tharsis/evmos/v5/x/claims/types"; // GenesisState define the claims module's genesis state. message GenesisState { - // params defines all the parameters of the module. - Params params = 1 [ (gogoproto.nullable) = false ]; - // list of claim records with the corresponding airdrop recipient - repeated ClaimsRecordAddress claims_records = 2 [ - (gogoproto.nullable) = false - ]; + // params defines all the parameters of the module. + Params params = 1 [ (gogoproto.nullable) = false ]; + // list of claim records with the corresponding airdrop recipient + repeated ClaimsRecordAddress claims_records = 2 + [ (gogoproto.nullable) = false ]; } // Params defines the claims module's parameters. message Params { - // enable claiming process - bool enable_claims = 1; - // timestamp of the airdrop start - google.protobuf.Timestamp airdrop_start_time = 2 [ - (gogoproto.nullable) = false, - (gogoproto.stdtime) = true - ]; - // duration until decay of claimable tokens begin - google.protobuf.Duration duration_until_decay = 3 [ - (gogoproto.nullable) = false, - (gogoproto.stdduration) = true - ]; - // duration of the token claim decay period - google.protobuf.Duration duration_of_decay = 4 [ - (gogoproto.nullable) = false, - (gogoproto.stdduration) = true - ]; - // denom of claimable coin - string claims_denom = 5; - // list of authorized channel identifiers that can perform address - // attestations via IBC. - repeated string authorized_channels = 6; - // list of channel identifiers from EVM compatible chains - repeated string evm_channels = 7 [(gogoproto.customname) = "EVMChannels"]; + // enable claiming process + bool enable_claims = 1; + // timestamp of the airdrop start + google.protobuf.Timestamp airdrop_start_time = 2 + [ (gogoproto.nullable) = false, (gogoproto.stdtime) = true ]; + // duration until decay of claimable tokens begin + google.protobuf.Duration duration_until_decay = 3 + [ (gogoproto.nullable) = false, (gogoproto.stdduration) = true ]; + // duration of the token claim decay period + google.protobuf.Duration duration_of_decay = 4 + [ (gogoproto.nullable) = false, (gogoproto.stdduration) = true ]; + // denom of claimable coin + string claims_denom = 5; + // list of authorized channel identifiers that can perform address + // attestations via IBC. + repeated string authorized_channels = 6; + // list of channel identifiers from EVM compatible chains + repeated string evm_channels = 7 [ (gogoproto.customname) = "EVMChannels" ]; } diff --git a/proto/evmos/claims/v1/query.proto b/proto/evmos/claims/v1/query.proto index d43f23583f..9081bc4b7c 100644 --- a/proto/evmos/claims/v1/query.proto +++ b/proto/evmos/claims/v1/query.proto @@ -8,12 +8,13 @@ import "cosmos/base/v1beta1/coin.proto"; import "evmos/claims/v1/claims.proto"; import "evmos/claims/v1/genesis.proto"; -option go_package = "github.com/tharsis/evmos/v4/x/claims/types"; +option go_package = "github.com/tharsis/evmos/v5/x/claims/types"; // Query defines the gRPC querier service. service Query { // TotalUnclaimed queries the total unclaimed tokens from the airdrop - rpc TotalUnclaimed(QueryTotalUnclaimedRequest) returns (QueryTotalUnclaimedResponse) { + rpc TotalUnclaimed(QueryTotalUnclaimedRequest) + returns (QueryTotalUnclaimedResponse) { option (google.api.http).get = "/evmos/claims/v1/total_unclaimed"; } // Params returns the claims module parameters @@ -21,11 +22,13 @@ service Query { option (google.api.http).get = "/evmos/claims/v1/params"; } // ClaimsRecords returns all claims records - rpc ClaimsRecords(QueryClaimsRecordsRequest) returns (QueryClaimsRecordsResponse) { + rpc ClaimsRecords(QueryClaimsRecordsRequest) + returns (QueryClaimsRecordsResponse) { option (google.api.http).get = "/evmos/claims/v1/claims_records"; } // ClaimsRecord returns the claims record for a given address - rpc ClaimsRecord(QueryClaimsRecordRequest) returns (QueryClaimsRecordResponse) { + rpc ClaimsRecord(QueryClaimsRecordRequest) + returns (QueryClaimsRecordResponse) { option (google.api.http).get = "/evmos/claims/v1/claims_records/{address}"; } } diff --git a/proto/evmos/epochs/v1/genesis.proto b/proto/evmos/epochs/v1/genesis.proto index edb85b15e3..ced3d3cbd0 100644 --- a/proto/evmos/epochs/v1/genesis.proto +++ b/proto/evmos/epochs/v1/genesis.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "github.com/tharsis/evmos/v4/x/epochs/types"; +option go_package = "github.com/tharsis/evmos/v5/x/epochs/types"; message EpochInfo { string identifier = 1; diff --git a/proto/evmos/epochs/v1/query.proto b/proto/evmos/epochs/v1/query.proto index 7252a6d8d8..3a75edfe65 100644 --- a/proto/evmos/epochs/v1/query.proto +++ b/proto/evmos/epochs/v1/query.proto @@ -6,7 +6,7 @@ import "google/api/annotations.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; import "evmos/epochs/v1/genesis.proto"; -option go_package = "github.com/tharsis/evmos/v4/x/epochs/types"; +option go_package = "github.com/tharsis/evmos/v5/x/epochs/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/evmos/erc20/v1/erc20.proto b/proto/evmos/erc20/v1/erc20.proto index 32a0738427..a3b37ebcc5 100644 --- a/proto/evmos/erc20/v1/erc20.proto +++ b/proto/evmos/erc20/v1/erc20.proto @@ -3,7 +3,7 @@ package evmos.erc20.v1; import "gogoproto/gogo.proto"; import "cosmos/bank/v1beta1/bank.proto"; -option go_package = "github.com/tharsis/evmos/v4/x/erc20/types"; +option go_package = "github.com/tharsis/evmos/v5/x/erc20/types"; // Owner enumerates the ownership of a ERC20 contract. enum Owner { diff --git a/proto/evmos/erc20/v1/genesis.proto b/proto/evmos/erc20/v1/genesis.proto index f94defb42c..e3deb5e48f 100644 --- a/proto/evmos/erc20/v1/genesis.proto +++ b/proto/evmos/erc20/v1/genesis.proto @@ -4,7 +4,7 @@ package evmos.erc20.v1; import "evmos/erc20/v1/erc20.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/tharsis/evmos/v4/x/erc20/types"; +option go_package = "github.com/tharsis/evmos/v5/x/erc20/types"; // GenesisState defines the module's genesis state. message GenesisState { diff --git a/proto/evmos/erc20/v1/query.proto b/proto/evmos/erc20/v1/query.proto index 0183da3a14..0051312610 100644 --- a/proto/evmos/erc20/v1/query.proto +++ b/proto/evmos/erc20/v1/query.proto @@ -7,7 +7,7 @@ import "evmos/erc20/v1/erc20.proto"; import "google/api/annotations.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/tharsis/evmos/v4/x/erc20/types"; +option go_package = "github.com/tharsis/evmos/v5/x/erc20/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/evmos/erc20/v1/tx.proto b/proto/evmos/erc20/v1/tx.proto index 27602a4ec7..0db9e0091b 100644 --- a/proto/evmos/erc20/v1/tx.proto +++ b/proto/evmos/erc20/v1/tx.proto @@ -5,7 +5,7 @@ import "google/api/annotations.proto"; import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; -option go_package = "github.com/tharsis/evmos/v4/x/erc20/types"; +option go_package = "github.com/tharsis/evmos/v5/x/erc20/types"; // Msg defines the erc20 Msg service. service Msg { diff --git a/proto/evmos/fees/v1/fees.proto b/proto/evmos/fees/v1/fees.proto index dcbbf91094..56a1845b1b 100644 --- a/proto/evmos/fees/v1/fees.proto +++ b/proto/evmos/fees/v1/fees.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package evmos.fees.v1; -option go_package = "github.com/tharsis/evmos/v4/x/fees/types"; +option go_package = "github.com/tharsis/evmos/v5/x/fees/types"; // DevFeeInfo defines an instance that organizes fee distribution conditions // for the owner of a given smart contract diff --git a/proto/evmos/fees/v1/genesis.proto b/proto/evmos/fees/v1/genesis.proto index 65caa9beaf..fde30c6416 100644 --- a/proto/evmos/fees/v1/genesis.proto +++ b/proto/evmos/fees/v1/genesis.proto @@ -4,7 +4,7 @@ import "evmos/fees/v1/fees.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/tharsis/evmos/v4/x/fees/types"; +option go_package = "github.com/tharsis/evmos/v5/x/fees/types"; // GenesisState defines the module's genesis state. message GenesisState { diff --git a/proto/evmos/fees/v1/query.proto b/proto/evmos/fees/v1/query.proto index f05971b490..ad2680ec24 100644 --- a/proto/evmos/fees/v1/query.proto +++ b/proto/evmos/fees/v1/query.proto @@ -7,7 +7,7 @@ import "evmos/fees/v1/fees.proto"; import "google/api/annotations.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/tharsis/evmos/v4/x/fees/types"; +option go_package = "github.com/tharsis/evmos/v5/x/fees/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/evmos/fees/v1/tx.proto b/proto/evmos/fees/v1/tx.proto index 65e34cccda..3dde71d8ea 100644 --- a/proto/evmos/fees/v1/tx.proto +++ b/proto/evmos/fees/v1/tx.proto @@ -4,7 +4,7 @@ package evmos.fees.v1; import "google/api/annotations.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/tharsis/evmos/v4/x/fees/types"; +option go_package = "github.com/tharsis/evmos/v5/x/fees/types"; // Msg defines the fees Msg service. service Msg { diff --git a/proto/evmos/incentives/v1/genesis.proto b/proto/evmos/incentives/v1/genesis.proto index 8c170e9652..9e276e3530 100644 --- a/proto/evmos/incentives/v1/genesis.proto +++ b/proto/evmos/incentives/v1/genesis.proto @@ -4,7 +4,7 @@ import "evmos/incentives/v1/incentives.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/tharsis/evmos/v4/x/incentives/types"; +option go_package = "github.com/tharsis/evmos/v5/x/incentives/types"; // GenesisState defines the module's genesis state. message GenesisState { diff --git a/proto/evmos/incentives/v1/incentives.proto b/proto/evmos/incentives/v1/incentives.proto index 2fdbd37d41..6fb8de3dbd 100644 --- a/proto/evmos/incentives/v1/incentives.proto +++ b/proto/evmos/incentives/v1/incentives.proto @@ -4,7 +4,7 @@ package evmos.incentives.v1; import "gogoproto/gogo.proto"; import "google/protobuf/timestamp.proto"; import "cosmos/base/v1beta1/coin.proto"; -option go_package = "github.com/tharsis/evmos/v4/x/incentives/types"; +option go_package = "github.com/tharsis/evmos/v5/x/incentives/types"; // Incentive defines an instance that organizes distribution conditions for a // given smart contract @@ -19,10 +19,8 @@ message Incentive { // number of remaining epochs uint32 epochs = 3; // distribution start time - google.protobuf.Timestamp start_time = 4 [ - (gogoproto.stdtime) = true, - (gogoproto.nullable) = false - ]; + google.protobuf.Timestamp start_time = 4 + [ (gogoproto.stdtime) = true, (gogoproto.nullable) = false ]; // cumulative gas spent by all gasmeters of the incentive during the epoch uint64 total_gas = 5; } diff --git a/proto/evmos/incentives/v1/query.proto b/proto/evmos/incentives/v1/query.proto index 39c262a69b..faf05f9326 100644 --- a/proto/evmos/incentives/v1/query.proto +++ b/proto/evmos/incentives/v1/query.proto @@ -8,7 +8,7 @@ import "evmos/incentives/v1/incentives.proto"; import "google/api/annotations.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/tharsis/evmos/v4/x/incentives/types"; +option go_package = "github.com/tharsis/evmos/v5/x/incentives/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/evmos/inflation/v1/genesis.proto b/proto/evmos/inflation/v1/genesis.proto index f7d4b6cee7..6f421fa508 100644 --- a/proto/evmos/inflation/v1/genesis.proto +++ b/proto/evmos/inflation/v1/genesis.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "evmos/inflation/v1/inflation.proto"; -option go_package = "github.com/tharsis/evmos/v4/x/inflation/types"; +option go_package = "github.com/tharsis/evmos/v5/x/inflation/types"; // GenesisState defines the inflation module's genesis state. message GenesisState { @@ -27,10 +27,10 @@ message Params { string mint_denom = 1; // variables to calculate exponential inflation ExponentialCalculation exponential_calculation = 2 - [ (gogoproto.nullable) = false ]; + [ (gogoproto.nullable) = false ]; // inflation distribution of the minted denom InflationDistribution inflation_distribution = 3 - [ (gogoproto.nullable) = false ]; + [ (gogoproto.nullable) = false ]; // parameter to enable inflation and halt increasing the skipped_epochs bool enable_inflation = 4; } diff --git a/proto/evmos/inflation/v1/inflation.proto b/proto/evmos/inflation/v1/inflation.proto index d561e6fad1..eb23ebf025 100644 --- a/proto/evmos/inflation/v1/inflation.proto +++ b/proto/evmos/inflation/v1/inflation.proto @@ -3,7 +3,7 @@ package evmos.inflation.v1; import "gogoproto/gogo.proto"; -option go_package = "github.com/tharsis/evmos/v4/x/inflation/types"; +option go_package = "github.com/tharsis/evmos/v5/x/inflation/types"; // InflationDistribution defines the distribution in which inflation is // allocated through minting on each epoch (staking, incentives, community). It diff --git a/proto/evmos/inflation/v1/query.proto b/proto/evmos/inflation/v1/query.proto index 4a419add90..7fd3b61a9d 100644 --- a/proto/evmos/inflation/v1/query.proto +++ b/proto/evmos/inflation/v1/query.proto @@ -6,8 +6,7 @@ import "google/api/annotations.proto"; import "cosmos/base/v1beta1/coin.proto"; import "evmos/inflation/v1/genesis.proto"; - -option go_package = "github.com/tharsis/evmos/v4/x/inflation/types"; +option go_package = "github.com/tharsis/evmos/v5/x/inflation/types"; // Query provides defines the gRPC querier service. service Query { diff --git a/proto/evmos/recovery/v1/genesis.proto b/proto/evmos/recovery/v1/genesis.proto index e433a0a61f..d51287cf7a 100644 --- a/proto/evmos/recovery/v1/genesis.proto +++ b/proto/evmos/recovery/v1/genesis.proto @@ -4,21 +4,19 @@ package evmos.recovery.v1; import "gogoproto/gogo.proto"; import "google/protobuf/duration.proto"; -option go_package = "github.com/tharsis/evmos/v4/x/recovery/types"; +option go_package = "github.com/tharsis/evmos/v5/x/recovery/types"; // GenesisState defines the recovery module's genesis state. message GenesisState { - // params defines all the paramaters of the module. - Params params = 1 [ (gogoproto.nullable) = false ]; + // params defines all the paramaters of the module. + Params params = 1 [ (gogoproto.nullable) = false ]; } // Params holds parameters for the recovery module message Params { - // enable recovery IBC middleware - bool enable_recovery = 1; - // duration added to timeout timestamp for balances recovered via IBC packets - google.protobuf.Duration packet_timeout_duration = 2 [ - (gogoproto.nullable) = false, - (gogoproto.stdduration) = true - ]; + // enable recovery IBC middleware + bool enable_recovery = 1; + // duration added to timeout timestamp for balances recovered via IBC packets + google.protobuf.Duration packet_timeout_duration = 2 + [ (gogoproto.nullable) = false, (gogoproto.stdduration) = true ]; } diff --git a/proto/evmos/recovery/v1/query.proto b/proto/evmos/recovery/v1/query.proto index 7f53e9405b..c8f29f68a7 100644 --- a/proto/evmos/recovery/v1/query.proto +++ b/proto/evmos/recovery/v1/query.proto @@ -5,7 +5,7 @@ import "google/api/annotations.proto"; import "gogoproto/gogo.proto"; import "evmos/recovery/v1/genesis.proto"; -option go_package = "github.com/tharsis/evmos/v4/x/recovery/types"; +option go_package = "github.com/tharsis/evmos/v5/x/recovery/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/evmos/vesting/v1/query.proto b/proto/evmos/vesting/v1/query.proto index 1e826be30d..2fbe32b6bc 100644 --- a/proto/evmos/vesting/v1/query.proto +++ b/proto/evmos/vesting/v1/query.proto @@ -5,7 +5,7 @@ import "cosmos/base/v1beta1/coin.proto"; import "google/api/annotations.proto"; import "gogoproto/gogo.proto"; -option go_package = "github.com/tharsis/evmos/v4/x/vesting/types"; +option go_package = "github.com/tharsis/evmos/v5/x/vesting/types"; // Query defines the gRPC querier service. service Query { diff --git a/proto/evmos/vesting/v1/tx.proto b/proto/evmos/vesting/v1/tx.proto index 2310106038..a4fe7ed9df 100644 --- a/proto/evmos/vesting/v1/tx.proto +++ b/proto/evmos/vesting/v1/tx.proto @@ -6,14 +6,16 @@ import "gogoproto/gogo.proto"; import "google/protobuf/timestamp.proto"; import "cosmos/vesting/v1beta1/vesting.proto"; -option go_package = "github.com/tharsis/evmos/v4/x/vesting/types"; +option go_package = "github.com/tharsis/evmos/v5/x/vesting/types"; // Msg defines the vesting Msg service. service Msg { // CreateClawbackVestingAccount creats a vesting account that is subject to // clawback and the configuration of vesting and lockup schedules. - rpc CreateClawbackVestingAccount(MsgCreateClawbackVestingAccount) returns (MsgCreateClawbackVestingAccountResponse) { - option (google.api.http).get = "/evmos/vesting/v1/tx/create_clawback_vesting_account"; + rpc CreateClawbackVestingAccount(MsgCreateClawbackVestingAccount) + returns (MsgCreateClawbackVestingAccountResponse) { + option (google.api.http).get = + "/evmos/vesting/v1/tx/create_clawback_vesting_account"; }; // Clawback removes the unvested tokens from a ClawbackVestingAccount. rpc Clawback(MsgClawback) returns (MsgClawbackResponse) { @@ -21,7 +23,8 @@ service Msg { }; } -// MsgCreateClawbackVestingAccount defines a message that enables creating a ClawbackVestingAccount. +// MsgCreateClawbackVestingAccount defines a message that enables creating a +// ClawbackVestingAccount. message MsgCreateClawbackVestingAccount { option (gogoproto.equal) = false; @@ -31,19 +34,19 @@ message MsgCreateClawbackVestingAccount { // to_address specifies the account to receive the funds string to_address = 2; // start_time defines the time at which the vesting period begins - google.protobuf.Timestamp start_time = 3 [ - (gogoproto.stdtime) = true, - (gogoproto.nullable) = false - ]; + google.protobuf.Timestamp start_time = 3 + [ (gogoproto.stdtime) = true, (gogoproto.nullable) = false ]; // lockup_periods defines the unlocking schedule relative to the start_time repeated cosmos.vesting.v1beta1.Period lockup_periods = 4 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/x/auth/vesting/types.Periods" + (gogoproto.castrepeated) = + "github.com/cosmos/cosmos-sdk/x/auth/vesting/types.Periods" ]; - // vesting_periods defines thevesting schedule relative to the start_time + // vesting_periods defines thevesting schedule relative to the start_time repeated cosmos.vesting.v1beta1.Period vesting_periods = 5 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/x/auth/vesting/types.Periods" + (gogoproto.castrepeated) = + "github.com/cosmos/cosmos-sdk/x/auth/vesting/types.Periods" ]; // merge specifies a the creation mechanism for existing // ClawbackVestingAccounts. If true, merge this new grant into an existing @@ -62,7 +65,8 @@ message MsgCreateClawbackVestingAccountResponse {} message MsgClawback { // funder_address is the address which funded the account string funder_address = 1; - // account_address is the address of the ClawbackVestingAccount to claw back from. + // account_address is the address of the ClawbackVestingAccount to claw back + // from. string account_address = 2; // dest_address specifies where the clawed-back tokens should be transferred // to. If empty, the tokens will be transferred back to the original funder of diff --git a/proto/evmos/vesting/v1/vesting.proto b/proto/evmos/vesting/v1/vesting.proto index a51f4d6f66..cc8340c886 100644 --- a/proto/evmos/vesting/v1/vesting.proto +++ b/proto/evmos/vesting/v1/vesting.proto @@ -5,36 +5,35 @@ import "gogoproto/gogo.proto"; import "cosmos/vesting/v1beta1/vesting.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "github.com/tharsis/evmos/v4/x/vesting/types"; +option go_package = "github.com/tharsis/evmos/v5/x/vesting/types"; // ClawbackVestingAccount implements the VestingAccount interface. It provides // an account that can hold contributions subject to "lockup" (like a // PeriodicVestingAccount), or vesting which is subject to clawback // of unvested tokens, or a combination (tokens vest, but are still locked). message ClawbackVestingAccount { - option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_getters) = false; option (gogoproto.goproto_stringer) = false; // base_vesting_account implements the VestingAccount interface. It contains // all the necessary fields needed for any vesting account implementation - cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 [ - (gogoproto.embed) = true - ]; + cosmos.vesting.v1beta1.BaseVestingAccount base_vesting_account = 1 + [ (gogoproto.embed) = true ]; // funder_address specifies the account which can perform clawback string funder_address = 2; // start_time defines the time at which the vesting period begins - google.protobuf.Timestamp start_time = 3 [ - (gogoproto.stdtime) = true, - (gogoproto.nullable) = false - ]; + google.protobuf.Timestamp start_time = 3 + [ (gogoproto.stdtime) = true, (gogoproto.nullable) = false ]; // lockup_periods defines the unlocking schedule relative to the start_time repeated cosmos.vesting.v1beta1.Period lockup_periods = 4 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/x/auth/vesting/types.Periods" + (gogoproto.castrepeated) = + "github.com/cosmos/cosmos-sdk/x/auth/vesting/types.Periods" ]; // vesting_periods defines the vesting schedule relative to the start_time repeated cosmos.vesting.v1beta1.Period vesting_periods = 5 [ (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/x/auth/vesting/types.Periods" + (gogoproto.castrepeated) = + "github.com/cosmos/cosmos-sdk/x/auth/vesting/types.Periods" ]; } diff --git a/testutil/fund.go b/testutil/fund.go index fdf967be29..0d8b2cdcc2 100644 --- a/testutil/fund.go +++ b/testutil/fund.go @@ -3,7 +3,7 @@ package testutil import ( sdk "github.com/cosmos/cosmos-sdk/types" bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" - inflationtypes "github.com/tharsis/evmos/v4/x/inflation/types" + inflationtypes "github.com/tharsis/evmos/v5/x/inflation/types" ) // FundAccount is a utility function that funds an account by minting and diff --git a/testutil/network/network.go b/testutil/network/network.go index 2ebecc85ba..b6bf0b372e 100644 --- a/testutil/network/network.go +++ b/testutil/network/network.go @@ -48,7 +48,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/genutil" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/tharsis/ethermint/crypto/hd" - "github.com/tharsis/evmos/v4/app" + "github.com/tharsis/evmos/v5/app" "github.com/tharsis/ethermint/encoding" "github.com/tharsis/ethermint/server/config" diff --git a/testutil/network/network_test.go b/testutil/network/network_test.go index e2976f67de..f16810e601 100644 --- a/testutil/network/network_test.go +++ b/testutil/network/network_test.go @@ -14,7 +14,7 @@ import ( "github.com/tharsis/ethermint/server/config" "github.com/tharsis/ethermint/testutil/network" - evmosnetwork "github.com/tharsis/evmos/v4/testutil/network" + evmosnetwork "github.com/tharsis/evmos/v5/testutil/network" ) type IntegrationTestSuite struct { diff --git a/testutil/network/util.go b/testutil/network/util.go index 796cd288ad..9ceba9d6c2 100644 --- a/testutil/network/util.go +++ b/testutil/network/util.go @@ -26,7 +26,7 @@ import ( genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - inflationtypes "github.com/tharsis/evmos/v4/x/inflation/types" + inflationtypes "github.com/tharsis/evmos/v5/x/inflation/types" "github.com/tharsis/ethermint/server" evmtypes "github.com/tharsis/ethermint/x/evm/types" diff --git a/third_party/proto/cosmos/auth/v1beta1/auth.proto b/third_party/proto/cosmos/auth/v1beta1/auth.proto index 72e1d9ec28..1cf5d88377 100644 --- a/third_party/proto/cosmos/auth/v1beta1/auth.proto +++ b/third_party/proto/cosmos/auth/v1beta1/auth.proto @@ -11,40 +11,52 @@ option go_package = "github.com/cosmos/cosmos-sdk/x/auth/types"; // for basic account functionality. Any custom account type should extend this // type for additional functionality (e.g. vesting). message BaseAccount { - option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_getters) = false; option (gogoproto.goproto_stringer) = false; - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (cosmos_proto.implements_interface) = "AccountI"; - string address = 1; - google.protobuf.Any pub_key = 2 - [(gogoproto.jsontag) = "public_key,omitempty", (gogoproto.moretags) = "yaml:\"public_key\""]; - uint64 account_number = 3 [(gogoproto.moretags) = "yaml:\"account_number\""]; - uint64 sequence = 4; + string address = 1; + google.protobuf.Any pub_key = 2 [ + (gogoproto.jsontag) = "public_key,omitempty", + (gogoproto.moretags) = "yaml:\"public_key\"" + ]; + uint64 account_number = 3 + [ (gogoproto.moretags) = "yaml:\"account_number\"" ]; + uint64 sequence = 4; } // ModuleAccount defines an account for modules that holds coins on a pool. message ModuleAccount { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; option (cosmos_proto.implements_interface) = "ModuleAccountI"; - BaseAccount base_account = 1 [(gogoproto.embed) = true, (gogoproto.moretags) = "yaml:\"base_account\""]; - string name = 2; - repeated string permissions = 3; + BaseAccount base_account = 1 [ + (gogoproto.embed) = true, + (gogoproto.moretags) = "yaml:\"base_account\"" + ]; + string name = 2; + repeated string permissions = 3; } // Params defines the parameters for the auth module. message Params { - option (gogoproto.equal) = true; + option (gogoproto.equal) = true; option (gogoproto.goproto_stringer) = false; - uint64 max_memo_characters = 1 [(gogoproto.moretags) = "yaml:\"max_memo_characters\""]; - uint64 tx_sig_limit = 2 [(gogoproto.moretags) = "yaml:\"tx_sig_limit\""]; - uint64 tx_size_cost_per_byte = 3 [(gogoproto.moretags) = "yaml:\"tx_size_cost_per_byte\""]; - uint64 sig_verify_cost_ed25519 = 4 - [(gogoproto.customname) = "SigVerifyCostED25519", (gogoproto.moretags) = "yaml:\"sig_verify_cost_ed25519\""]; - uint64 sig_verify_cost_secp256k1 = 5 - [(gogoproto.customname) = "SigVerifyCostSecp256k1", (gogoproto.moretags) = "yaml:\"sig_verify_cost_secp256k1\""]; + uint64 max_memo_characters = 1 + [ (gogoproto.moretags) = "yaml:\"max_memo_characters\"" ]; + uint64 tx_sig_limit = 2 [ (gogoproto.moretags) = "yaml:\"tx_sig_limit\"" ]; + uint64 tx_size_cost_per_byte = 3 + [ (gogoproto.moretags) = "yaml:\"tx_size_cost_per_byte\"" ]; + uint64 sig_verify_cost_ed25519 = 4 [ + (gogoproto.customname) = "SigVerifyCostED25519", + (gogoproto.moretags) = "yaml:\"sig_verify_cost_ed25519\"" + ]; + uint64 sig_verify_cost_secp256k1 = 5 [ + (gogoproto.customname) = "SigVerifyCostSecp256k1", + (gogoproto.moretags) = "yaml:\"sig_verify_cost_secp256k1\"" + ]; } diff --git a/third_party/proto/cosmos/auth/v1beta1/genesis.proto b/third_party/proto/cosmos/auth/v1beta1/genesis.proto index c88b94ee4e..61ad48c466 100644 --- a/third_party/proto/cosmos/auth/v1beta1/genesis.proto +++ b/third_party/proto/cosmos/auth/v1beta1/genesis.proto @@ -10,7 +10,7 @@ option go_package = "github.com/cosmos/cosmos-sdk/x/auth/types"; // GenesisState defines the auth module's genesis state. message GenesisState { // params defines all the paramaters of the module. - Params params = 1 [(gogoproto.nullable) = false]; + Params params = 1 [ (gogoproto.nullable) = false ]; // accounts are the accounts present at genesis. repeated google.protobuf.Any accounts = 2; diff --git a/third_party/proto/cosmos/auth/v1beta1/query.proto b/third_party/proto/cosmos/auth/v1beta1/query.proto index 4d9759cada..3f111cbf4b 100644 --- a/third_party/proto/cosmos/auth/v1beta1/query.proto +++ b/third_party/proto/cosmos/auth/v1beta1/query.proto @@ -43,7 +43,8 @@ message QueryAccountsRequest { // Since: cosmos-sdk 0.43 message QueryAccountsResponse { // accounts are the existing accounts - repeated google.protobuf.Any accounts = 1 [(cosmos_proto.accepts_interface) = "AccountI"]; + repeated google.protobuf.Any accounts = 1 + [ (cosmos_proto.accepts_interface) = "AccountI" ]; // pagination defines the pagination in the response. cosmos.base.query.v1beta1.PageResponse pagination = 2; @@ -51,7 +52,7 @@ message QueryAccountsResponse { // QueryAccountRequest is the request type for the Query/Account RPC method. message QueryAccountRequest { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // address defines the address to query for. @@ -61,7 +62,8 @@ message QueryAccountRequest { // QueryAccountResponse is the response type for the Query/Account RPC method. message QueryAccountResponse { // account defines the account of the corresponding address. - google.protobuf.Any account = 1 [(cosmos_proto.accepts_interface) = "AccountI"]; + google.protobuf.Any account = 1 + [ (cosmos_proto.accepts_interface) = "AccountI" ]; } // QueryParamsRequest is the request type for the Query/Params RPC method. @@ -70,5 +72,5 @@ message QueryParamsRequest {} // QueryParamsResponse is the response type for the Query/Params RPC method. message QueryParamsResponse { // params defines the parameters of the module. - Params params = 1 [(gogoproto.nullable) = false]; + Params params = 1 [ (gogoproto.nullable) = false ]; } diff --git a/third_party/proto/cosmos/authz/v1beta1/authz.proto b/third_party/proto/cosmos/authz/v1beta1/authz.proto index 05b1feefa4..d1465d5e1e 100644 --- a/third_party/proto/cosmos/authz/v1beta1/authz.proto +++ b/third_party/proto/cosmos/authz/v1beta1/authz.proto @@ -7,7 +7,7 @@ import "google/protobuf/timestamp.proto"; import "gogoproto/gogo.proto"; import "google/protobuf/any.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/authz"; +option go_package = "github.com/cosmos/cosmos-sdk/x/authz"; option (gogoproto.goproto_getters_all) = false; // GenericAuthorization gives the grantee unrestricted permissions to execute @@ -15,25 +15,30 @@ option (gogoproto.goproto_getters_all) = false; message GenericAuthorization { option (cosmos_proto.implements_interface) = "Authorization"; - // Msg, identified by it's type URL, to grant unrestricted permissions to execute + // Msg, identified by it's type URL, to grant unrestricted permissions to + // execute string msg = 1; } // Grant gives permissions to execute // the provide method with expiration time. message Grant { - google.protobuf.Any authorization = 1 [(cosmos_proto.accepts_interface) = "Authorization"]; - google.protobuf.Timestamp expiration = 2 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; + google.protobuf.Any authorization = 1 + [ (cosmos_proto.accepts_interface) = "Authorization" ]; + google.protobuf.Timestamp expiration = 2 + [ (gogoproto.stdtime) = true, (gogoproto.nullable) = false ]; } -// GrantAuthorization extends a grant with both the addresses of the grantee and granter. -// It is used in genesis.proto and query.proto +// GrantAuthorization extends a grant with both the addresses of the grantee and +// granter. It is used in genesis.proto and query.proto // // Since: cosmos-sdk 0.45.2 message GrantAuthorization { string granter = 1; string grantee = 2; - google.protobuf.Any authorization = 3 [(cosmos_proto.accepts_interface) = "Authorization"]; - google.protobuf.Timestamp expiration = 4 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + google.protobuf.Any authorization = 3 + [ (cosmos_proto.accepts_interface) = "Authorization" ]; + google.protobuf.Timestamp expiration = 4 + [ (gogoproto.nullable) = false, (gogoproto.stdtime) = true ]; } diff --git a/third_party/proto/cosmos/authz/v1beta1/genesis.proto b/third_party/proto/cosmos/authz/v1beta1/genesis.proto index 310f62656f..5e1aa6ed7c 100644 --- a/third_party/proto/cosmos/authz/v1beta1/genesis.proto +++ b/third_party/proto/cosmos/authz/v1beta1/genesis.proto @@ -9,5 +9,6 @@ option go_package = "github.com/cosmos/cosmos-sdk/x/authz"; // GenesisState defines the authz module's genesis state. message GenesisState { - repeated GrantAuthorization authorization = 1 [(gogoproto.nullable) = false]; + repeated GrantAuthorization authorization = 1 + [ (gogoproto.nullable) = false ]; } diff --git a/third_party/proto/cosmos/authz/v1beta1/query.proto b/third_party/proto/cosmos/authz/v1beta1/query.proto index f668309bed..585e3b4d3d 100644 --- a/third_party/proto/cosmos/authz/v1beta1/query.proto +++ b/third_party/proto/cosmos/authz/v1beta1/query.proto @@ -18,15 +18,19 @@ service Query { // GranterGrants returns list of `GrantAuthorization`, granted by granter. // // Since: cosmos-sdk 0.45.2 - rpc GranterGrants(QueryGranterGrantsRequest) returns (QueryGranterGrantsResponse) { - option (google.api.http).get = "/cosmos/authz/v1beta1/grants/granter/{granter}"; + rpc GranterGrants(QueryGranterGrantsRequest) + returns (QueryGranterGrantsResponse) { + option (google.api.http).get = + "/cosmos/authz/v1beta1/grants/granter/{granter}"; } // GranteeGrants returns a list of `GrantAuthorization` by grantee. // // Since: cosmos-sdk 0.45.2 - rpc GranteeGrants(QueryGranteeGrantsRequest) returns (QueryGranteeGrantsResponse) { - option (google.api.http).get = "/cosmos/authz/v1beta1/grants/grantee/{grantee}"; + rpc GranteeGrants(QueryGranteeGrantsRequest) + returns (QueryGranteeGrantsResponse) { + option (google.api.http).get = + "/cosmos/authz/v1beta1/grants/grantee/{grantee}"; } } @@ -34,13 +38,15 @@ service Query { message QueryGrantsRequest { string granter = 1; string grantee = 2; - // Optional, msg_type_url, when set, will query only grants matching given msg type. + // Optional, msg_type_url, when set, will query only grants matching given msg + // type. string msg_type_url = 3; // pagination defines an pagination for the request. cosmos.base.query.v1beta1.PageRequest pagination = 4; } -// QueryGrantsResponse is the response type for the Query/Authorizations RPC method. +// QueryGrantsResponse is the response type for the Query/Authorizations RPC +// method. message QueryGrantsResponse { // authorizations is a list of grants granted for grantee by granter. repeated Grant grants = 1; @@ -48,7 +54,8 @@ message QueryGrantsResponse { cosmos.base.query.v1beta1.PageResponse pagination = 2; } -// QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. +// QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC +// method. message QueryGranterGrantsRequest { string granter = 1; @@ -56,7 +63,8 @@ message QueryGranterGrantsRequest { cosmos.base.query.v1beta1.PageRequest pagination = 2; } -// QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. +// QueryGranterGrantsResponse is the response type for the Query/GranterGrants +// RPC method. message QueryGranterGrantsResponse { // grants is a list of grants granted by the granter. repeated GrantAuthorization grants = 1; @@ -64,7 +72,8 @@ message QueryGranterGrantsResponse { cosmos.base.query.v1beta1.PageResponse pagination = 2; } -// QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC method. +// QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC +// method. message QueryGranteeGrantsRequest { string grantee = 1; @@ -72,7 +81,8 @@ message QueryGranteeGrantsRequest { cosmos.base.query.v1beta1.PageRequest pagination = 2; } -// QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. +// QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants +// RPC method. message QueryGranteeGrantsResponse { // grants is a list of grants granted to the grantee. repeated GrantAuthorization grants = 1; diff --git a/third_party/proto/cosmos/authz/v1beta1/tx.proto b/third_party/proto/cosmos/authz/v1beta1/tx.proto index 457f0d662a..b38d7e44cd 100644 --- a/third_party/proto/cosmos/authz/v1beta1/tx.proto +++ b/third_party/proto/cosmos/authz/v1beta1/tx.proto @@ -9,7 +9,7 @@ import "google/protobuf/any.proto"; import "cosmos/base/abci/v1beta1/abci.proto"; import "cosmos/authz/v1beta1/authz.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/authz"; +option go_package = "github.com/cosmos/cosmos-sdk/x/authz"; option (gogoproto.goproto_getters_all) = false; // Msg defines the authz Msg service. @@ -25,34 +25,33 @@ service Msg { // one signer corresponding to the granter of the authorization. rpc Exec(MsgExec) returns (MsgExecResponse); - // Revoke revokes any authorization corresponding to the provided method name on the - // granter's account that has been granted to the grantee. + // Revoke revokes any authorization corresponding to the provided method name + // on the granter's account that has been granted to the grantee. rpc Revoke(MsgRevoke) returns (MsgRevokeResponse); } -// MsgGrant is a request type for Grant method. It declares authorization to the grantee -// on behalf of the granter with the provided expiration time. +// MsgGrant is a request type for Grant method. It declares authorization to the +// grantee on behalf of the granter with the provided expiration time. message MsgGrant { string granter = 1; string grantee = 2; - cosmos.authz.v1beta1.Grant grant = 3 [(gogoproto.nullable) = false]; + cosmos.authz.v1beta1.Grant grant = 3 [ (gogoproto.nullable) = false ]; } // MsgExecResponse defines the Msg/MsgExecResponse response type. -message MsgExecResponse { - repeated bytes results = 1; -} +message MsgExecResponse { repeated bytes results = 1; } // MsgExec attempts to execute the provided messages using // authorizations granted to the grantee. Each message should have only // one signer corresponding to the granter of the authorization. message MsgExec { string grantee = 1; - // Authorization Msg requests to execute. Each msg must implement Authorization interface - // The x/authz will try to find a grant matching (msg.signers[0], grantee, MsgTypeURL(msg)) - // triple and validate it. - repeated google.protobuf.Any msgs = 2 [(cosmos_proto.accepts_interface) = "sdk.Msg, authz.Authorization"]; + // Authorization Msg requests to execute. Each msg must implement + // Authorization interface The x/authz will try to find a grant matching + // (msg.signers[0], grantee, MsgTypeURL(msg)) triple and validate it. + repeated google.protobuf.Any msgs = 2 + [ (cosmos_proto.accepts_interface) = "sdk.Msg, authz.Authorization" ]; } // MsgGrantResponse defines the Msg/MsgGrant response type. @@ -61,8 +60,8 @@ message MsgGrantResponse {} // MsgRevoke revokes any authorization with the provided sdk.Msg type on the // granter's account with that has been granted to the grantee. message MsgRevoke { - string granter = 1; - string grantee = 2; + string granter = 1; + string grantee = 2; string msg_type_url = 3; } diff --git a/third_party/proto/cosmos/bank/v1beta1/authz.proto b/third_party/proto/cosmos/bank/v1beta1/authz.proto index 4f58b15e49..5953425d4c 100644 --- a/third_party/proto/cosmos/bank/v1beta1/authz.proto +++ b/third_party/proto/cosmos/bank/v1beta1/authz.proto @@ -14,6 +14,8 @@ option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; message SendAuthorization { option (cosmos_proto.implements_interface) = "Authorization"; - repeated cosmos.base.v1beta1.Coin spend_limit = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + repeated cosmos.base.v1beta1.Coin spend_limit = 1 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + ]; } diff --git a/third_party/proto/cosmos/bank/v1beta1/bank.proto b/third_party/proto/cosmos/bank/v1beta1/bank.proto index df91008df6..d0f820b965 100644 --- a/third_party/proto/cosmos/bank/v1beta1/bank.proto +++ b/third_party/proto/cosmos/bank/v1beta1/bank.proto @@ -9,38 +9,44 @@ option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; // Params defines the parameters for the bank module. message Params { - option (gogoproto.goproto_stringer) = false; - repeated SendEnabled send_enabled = 1 [(gogoproto.moretags) = "yaml:\"send_enabled,omitempty\""]; - bool default_send_enabled = 2 [(gogoproto.moretags) = "yaml:\"default_send_enabled,omitempty\""]; + option (gogoproto.goproto_stringer) = false; + repeated SendEnabled send_enabled = 1 + [ (gogoproto.moretags) = "yaml:\"send_enabled,omitempty\"" ]; + bool default_send_enabled = 2 + [ (gogoproto.moretags) = "yaml:\"default_send_enabled,omitempty\"" ]; } // SendEnabled maps coin denom to a send_enabled status (whether a denom is // sendable). message SendEnabled { - option (gogoproto.equal) = true; + option (gogoproto.equal) = true; option (gogoproto.goproto_stringer) = false; - string denom = 1; - bool enabled = 2; + string denom = 1; + bool enabled = 2; } // Input models transaction input. message Input { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - string address = 1; - repeated cosmos.base.v1beta1.Coin coins = 2 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + string address = 1; + repeated cosmos.base.v1beta1.Coin coins = 2 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + ]; } // Output models transaction outputs. message Output { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - string address = 1; - repeated cosmos.base.v1beta1.Coin coins = 2 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + string address = 1; + repeated cosmos.base.v1beta1.Coin coins = 2 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + ]; } // Supply represents a struct that passively keeps track of the total supply @@ -49,13 +55,16 @@ message Output { message Supply { option deprecated = true; - option (gogoproto.equal) = true; + option (gogoproto.equal) = true; option (gogoproto.goproto_getters) = false; - option (cosmos_proto.implements_interface) = "*github.com/cosmos/cosmos-sdk/x/bank/legacy/v040.SupplyI"; + option (cosmos_proto.implements_interface) = + "*github.com/cosmos/cosmos-sdk/x/bank/legacy/v040.SupplyI"; - repeated cosmos.base.v1beta1.Coin total = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + repeated cosmos.base.v1beta1.Coin total = 1 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + ]; } // DenomUnit represents a struct that describes a given diff --git a/third_party/proto/cosmos/bank/v1beta1/genesis.proto b/third_party/proto/cosmos/bank/v1beta1/genesis.proto index 8fd7329a0a..a3a5024707 100644 --- a/third_party/proto/cosmos/bank/v1beta1/genesis.proto +++ b/third_party/proto/cosmos/bank/v1beta1/genesis.proto @@ -10,30 +10,38 @@ option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; // GenesisState defines the bank module's genesis state. message GenesisState { // params defines all the paramaters of the module. - Params params = 1 [(gogoproto.nullable) = false]; + Params params = 1 [ (gogoproto.nullable) = false ]; // balances is an array containing the balances of all the accounts. - repeated Balance balances = 2 [(gogoproto.nullable) = false]; + repeated Balance balances = 2 [ (gogoproto.nullable) = false ]; - // supply represents the total supply. If it is left empty, then supply will be calculated based on the provided - // balances. Otherwise, it will be used to validate that the sum of the balances equals this amount. - repeated cosmos.base.v1beta1.Coin supply = 3 - [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", (gogoproto.nullable) = false]; + // supply represents the total supply. If it is left empty, then supply will + // be calculated based on the provided balances. Otherwise, it will be used to + // validate that the sum of the balances equals this amount. + repeated cosmos.base.v1beta1.Coin supply = 3 [ + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", + (gogoproto.nullable) = false + ]; // denom_metadata defines the metadata of the differents coins. - repeated Metadata denom_metadata = 4 [(gogoproto.moretags) = "yaml:\"denom_metadata\"", (gogoproto.nullable) = false]; + repeated Metadata denom_metadata = 4 [ + (gogoproto.moretags) = "yaml:\"denom_metadata\"", + (gogoproto.nullable) = false + ]; } // Balance defines an account address and balance pair used in the bank module's // genesis state. message Balance { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // address is the address of the balance holder. string address = 1; // coins defines the different coins this balance holds. - repeated cosmos.base.v1beta1.Coin coins = 2 - [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", (gogoproto.nullable) = false]; + repeated cosmos.base.v1beta1.Coin coins = 2 [ + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", + (gogoproto.nullable) = false + ]; } diff --git a/third_party/proto/cosmos/bank/v1beta1/query.proto b/third_party/proto/cosmos/bank/v1beta1/query.proto index 67cebd5fdd..f575f587e0 100644 --- a/third_party/proto/cosmos/bank/v1beta1/query.proto +++ b/third_party/proto/cosmos/bank/v1beta1/query.proto @@ -13,7 +13,8 @@ option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; service Query { // Balance queries the balance of a single coin for a single account. rpc Balance(QueryBalanceRequest) returns (QueryBalanceResponse) { - option (google.api.http).get = "/cosmos/bank/v1beta1/balances/{address}/by_denom"; + option (google.api.http).get = + "/cosmos/bank/v1beta1/balances/{address}/by_denom"; } // AllBalances queries the balance of all coins for a single account. @@ -23,8 +24,10 @@ service Query { // SpendableBalances queries the spenable balance of all coins for a single // account. - rpc SpendableBalances(QuerySpendableBalancesRequest) returns (QuerySpendableBalancesResponse) { - option (google.api.http).get = "/cosmos/bank/v1beta1/spendable_balances/{address}"; + rpc SpendableBalances(QuerySpendableBalancesRequest) + returns (QuerySpendableBalancesResponse) { + option (google.api.http).get = + "/cosmos/bank/v1beta1/spendable_balances/{address}"; } // TotalSupply queries the total supply of all coins. @@ -43,12 +46,16 @@ service Query { } // DenomsMetadata queries the client metadata of a given coin denomination. - rpc DenomMetadata(QueryDenomMetadataRequest) returns (QueryDenomMetadataResponse) { - option (google.api.http).get = "/cosmos/bank/v1beta1/denoms_metadata/{denom}"; + rpc DenomMetadata(QueryDenomMetadataRequest) + returns (QueryDenomMetadataResponse) { + option (google.api.http).get = + "/cosmos/bank/v1beta1/denoms_metadata/{denom}"; } - // DenomsMetadata queries the client metadata for all registered coin denominations. - rpc DenomsMetadata(QueryDenomsMetadataRequest) returns (QueryDenomsMetadataResponse) { + // DenomsMetadata queries the client metadata for all registered coin + // denominations. + rpc DenomsMetadata(QueryDenomsMetadataRequest) + returns (QueryDenomsMetadataResponse) { option (google.api.http).get = "/cosmos/bank/v1beta1/denoms_metadata"; } } @@ -87,8 +94,10 @@ message QueryAllBalancesRequest { // method. message QueryAllBalancesResponse { // balances is the balances of all the coins. - repeated cosmos.base.v1beta1.Coin balances = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + repeated cosmos.base.v1beta1.Coin balances = 1 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + ]; // pagination defines the pagination in the response. cosmos.base.query.v1beta1.PageResponse pagination = 2; @@ -97,7 +106,7 @@ message QueryAllBalancesResponse { // QuerySpendableBalancesRequest defines the gRPC request structure for querying // an account's spendable balances. message QuerySpendableBalancesRequest { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // address is the address to query spendable balances for. @@ -107,12 +116,14 @@ message QuerySpendableBalancesRequest { cosmos.base.query.v1beta1.PageRequest pagination = 2; } -// QuerySpendableBalancesResponse defines the gRPC response structure for querying -// an account's spendable balances. +// QuerySpendableBalancesResponse defines the gRPC response structure for +// querying an account's spendable balances. message QuerySpendableBalancesResponse { // balances is the spendable balances of all the coins. - repeated cosmos.base.v1beta1.Coin balances = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + repeated cosmos.base.v1beta1.Coin balances = 1 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + ]; // pagination defines the pagination in the response. cosmos.base.query.v1beta1.PageResponse pagination = 2; @@ -134,8 +145,10 @@ message QueryTotalSupplyRequest { // method message QueryTotalSupplyResponse { // supply is the supply of the coins - repeated cosmos.base.v1beta1.Coin supply = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + repeated cosmos.base.v1beta1.Coin supply = 1 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + ]; // pagination defines the pagination in the response. // @@ -152,7 +165,7 @@ message QuerySupplyOfRequest { // QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. message QuerySupplyOfResponse { // amount is the supply of the coin. - cosmos.base.v1beta1.Coin amount = 1 [(gogoproto.nullable) = false]; + cosmos.base.v1beta1.Coin amount = 1 [ (gogoproto.nullable) = false ]; } // QueryParamsRequest defines the request type for querying x/bank parameters. @@ -160,34 +173,37 @@ message QueryParamsRequest {} // QueryParamsResponse defines the response type for querying x/bank parameters. message QueryParamsResponse { - Params params = 1 [(gogoproto.nullable) = false]; + Params params = 1 [ (gogoproto.nullable) = false ]; } -// QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. +// QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata +// RPC method. message QueryDenomsMetadataRequest { // pagination defines an optional pagination for the request. cosmos.base.query.v1beta1.PageRequest pagination = 1; } -// QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC -// method. +// QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata +// RPC method. message QueryDenomsMetadataResponse { // metadata provides the client information for all the registered tokens. - repeated Metadata metadatas = 1 [(gogoproto.nullable) = false]; + repeated Metadata metadatas = 1 [ (gogoproto.nullable) = false ]; // pagination defines the pagination in the response. cosmos.base.query.v1beta1.PageResponse pagination = 2; } -// QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method. +// QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC +// method. message QueryDenomMetadataRequest { // denom is the coin denom to query the metadata for. string denom = 1; } -// QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC -// method. +// QueryDenomMetadataResponse is the response type for the Query/DenomMetadata +// RPC method. message QueryDenomMetadataResponse { - // metadata describes and provides all the client information for the requested token. - Metadata metadata = 1 [(gogoproto.nullable) = false]; + // metadata describes and provides all the client information for the + // requested token. + Metadata metadata = 1 [ (gogoproto.nullable) = false ]; } diff --git a/third_party/proto/cosmos/bank/v1beta1/tx.proto b/third_party/proto/cosmos/bank/v1beta1/tx.proto index 26b2ab41f4..c0d36b6571 100644 --- a/third_party/proto/cosmos/bank/v1beta1/tx.proto +++ b/third_party/proto/cosmos/bank/v1beta1/tx.proto @@ -9,22 +9,26 @@ option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; // Msg defines the bank Msg service. service Msg { - // Send defines a method for sending coins from one account to another account. + // Send defines a method for sending coins from one account to another + // account. rpc Send(MsgSend) returns (MsgSendResponse); - // MultiSend defines a method for sending coins from some accounts to other accounts. + // MultiSend defines a method for sending coins from some accounts to other + // accounts. rpc MultiSend(MsgMultiSend) returns (MsgMultiSendResponse); } // MsgSend represents a message to send coins from one account to another. message MsgSend { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - string from_address = 1 [(gogoproto.moretags) = "yaml:\"from_address\""]; - string to_address = 2 [(gogoproto.moretags) = "yaml:\"to_address\""]; - repeated cosmos.base.v1beta1.Coin amount = 3 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + string from_address = 1 [ (gogoproto.moretags) = "yaml:\"from_address\"" ]; + string to_address = 2 [ (gogoproto.moretags) = "yaml:\"to_address\"" ]; + repeated cosmos.base.v1beta1.Coin amount = 3 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + ]; } // MsgSendResponse defines the Msg/Send response type. @@ -34,8 +38,8 @@ message MsgSendResponse {} message MsgMultiSend { option (gogoproto.equal) = false; - repeated Input inputs = 1 [(gogoproto.nullable) = false]; - repeated Output outputs = 2 [(gogoproto.nullable) = false]; + repeated Input inputs = 1 [ (gogoproto.nullable) = false ]; + repeated Output outputs = 2 [ (gogoproto.nullable) = false ]; } // MsgMultiSendResponse defines the Msg/MultiSend response type. diff --git a/third_party/proto/cosmos/base/abci/v1beta1/abci.proto b/third_party/proto/cosmos/base/abci/v1beta1/abci.proto index e24ae7bd5e..ecea2b9e9b 100644 --- a/third_party/proto/cosmos/base/abci/v1beta1/abci.proto +++ b/third_party/proto/cosmos/base/abci/v1beta1/abci.proto @@ -5,7 +5,7 @@ import "gogoproto/gogo.proto"; import "tendermint/abci/types.proto"; import "google/protobuf/any.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/types"; +option go_package = "github.com/cosmos/cosmos-sdk/types"; option (gogoproto.goproto_stringer_all) = false; // TxResponse defines a structure containing relevant tx data and metadata. The @@ -15,7 +15,7 @@ message TxResponse { // The block height int64 height = 1; // The transaction hash. - string txhash = 2 [(gogoproto.customname) = "TxHash"]; + string txhash = 2 [ (gogoproto.customname) = "TxHash" ]; // Namespace for the Code string codespace = 3; // Response code. @@ -26,7 +26,10 @@ message TxResponse { // non-deterministic. string raw_log = 6; // The output of the application's logger (typed). May be non-deterministic. - repeated ABCIMessageLog logs = 7 [(gogoproto.castrepeated) = "ABCIMessageLogs", (gogoproto.nullable) = false]; + repeated ABCIMessageLog logs = 7 [ + (gogoproto.castrepeated) = "ABCIMessageLogs", + (gogoproto.nullable) = false + ]; // Additional information. May be non-deterministic. string info = 8; // Amount of gas requested for transaction. @@ -45,7 +48,7 @@ message TxResponse { // additional metadata, emitted only by processing the messages. // // Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 - repeated tendermint.abci.Event events = 13 [(gogoproto.nullable) = false]; + repeated tendermint.abci.Event events = 13 [ (gogoproto.nullable) = false ]; } // ABCIMessageLog defines a structure containing an indexed tx ABCI message log. @@ -53,11 +56,14 @@ message ABCIMessageLog { option (gogoproto.stringer) = true; uint32 msg_index = 1; - string log = 2; + string log = 2; // Events contains a slice of Event objects that were emitted during some // execution. - repeated StringEvent events = 3 [(gogoproto.castrepeated) = "StringEvents", (gogoproto.nullable) = false]; + repeated StringEvent events = 3 [ + (gogoproto.castrepeated) = "StringEvents", + (gogoproto.nullable) = false + ]; } // StringEvent defines en Event object wrapper where all the attributes @@ -65,24 +71,24 @@ message ABCIMessageLog { message StringEvent { option (gogoproto.stringer) = true; - string type = 1; - repeated Attribute attributes = 2 [(gogoproto.nullable) = false]; + string type = 1; + repeated Attribute attributes = 2 [ (gogoproto.nullable) = false ]; } // Attribute defines an attribute wrapper where the key and value are // strings instead of raw bytes. message Attribute { - string key = 1; + string key = 1; string value = 2; } // GasInfo defines tx execution gas context. message GasInfo { // GasWanted is the maximum units of work we allow this tx to perform. - uint64 gas_wanted = 1 [(gogoproto.moretags) = "yaml:\"gas_wanted\""]; + uint64 gas_wanted = 1 [ (gogoproto.moretags) = "yaml:\"gas_wanted\"" ]; // GasUsed is the amount of gas actually consumed. - uint64 gas_used = 2 [(gogoproto.moretags) = "yaml:\"gas_used\""]; + uint64 gas_used = 2 [ (gogoproto.moretags) = "yaml:\"gas_used\"" ]; } // Result is the union of ResponseFormat and ResponseCheckTx. @@ -98,14 +104,15 @@ message Result { // Events contains a slice of Event objects that were emitted during message // or handler execution. - repeated tendermint.abci.Event events = 3 [(gogoproto.nullable) = false]; + repeated tendermint.abci.Event events = 3 [ (gogoproto.nullable) = false ]; } // SimulationResponse defines the response generated when a transaction is // successfully simulated. message SimulationResponse { - GasInfo gas_info = 1 [(gogoproto.embed) = true, (gogoproto.nullable) = false]; - Result result = 2; + GasInfo gas_info = 1 + [ (gogoproto.embed) = true, (gogoproto.nullable) = false ]; + Result result = 2; } // MsgData defines the data returned in a Result object during message @@ -114,7 +121,7 @@ message MsgData { option (gogoproto.stringer) = true; string msg_type = 1; - bytes data = 2; + bytes data = 2; } // TxMsgData defines a list of MsgData. A transaction will have a MsgData object @@ -130,13 +137,22 @@ message SearchTxsResult { option (gogoproto.stringer) = true; // Count of all txs - uint64 total_count = 1 [(gogoproto.moretags) = "yaml:\"total_count\"", (gogoproto.jsontag) = "total_count"]; + uint64 total_count = 1 [ + (gogoproto.moretags) = "yaml:\"total_count\"", + (gogoproto.jsontag) = "total_count" + ]; // Count of txs in current page uint64 count = 2; // Index of current page, start from 1 - uint64 page_number = 3 [(gogoproto.moretags) = "yaml:\"page_number\"", (gogoproto.jsontag) = "page_number"]; + uint64 page_number = 3 [ + (gogoproto.moretags) = "yaml:\"page_number\"", + (gogoproto.jsontag) = "page_number" + ]; // Count of total pages - uint64 page_total = 4 [(gogoproto.moretags) = "yaml:\"page_total\"", (gogoproto.jsontag) = "page_total"]; + uint64 page_total = 4 [ + (gogoproto.moretags) = "yaml:\"page_total\"", + (gogoproto.jsontag) = "page_total" + ]; // Max count txs per page uint64 limit = 5; // List of txs in current page diff --git a/third_party/proto/cosmos/base/kv/v1beta1/kv.proto b/third_party/proto/cosmos/base/kv/v1beta1/kv.proto index 4e9b8d2850..cdbb73af9d 100644 --- a/third_party/proto/cosmos/base/kv/v1beta1/kv.proto +++ b/third_party/proto/cosmos/base/kv/v1beta1/kv.proto @@ -6,12 +6,10 @@ import "gogoproto/gogo.proto"; option go_package = "github.com/cosmos/cosmos-sdk/types/kv"; // Pairs defines a repeated slice of Pair objects. -message Pairs { - repeated Pair pairs = 1 [(gogoproto.nullable) = false]; -} +message Pairs { repeated Pair pairs = 1 [ (gogoproto.nullable) = false ]; } // Pair defines a key/value bytes tuple. message Pair { - bytes key = 1; + bytes key = 1; bytes value = 2; } diff --git a/third_party/proto/cosmos/base/query/v1beta1/pagination.proto b/third_party/proto/cosmos/base/query/v1beta1/pagination.proto index cd5eb066d3..c7ce79ba70 100644 --- a/third_party/proto/cosmos/base/query/v1beta1/pagination.proto +++ b/third_party/proto/cosmos/base/query/v1beta1/pagination.proto @@ -31,7 +31,8 @@ message PageRequest { // is set. bool count_total = 4; - // reverse is set to true if results are to be returned in the descending order. + // reverse is set to true if results are to be returned in the descending + // order. // // Since: cosmos-sdk 0.43 bool reverse = 5; diff --git a/third_party/proto/cosmos/base/reflection/v1beta1/reflection.proto b/third_party/proto/cosmos/base/reflection/v1beta1/reflection.proto index 22670e72b8..0752cee1b9 100644 --- a/third_party/proto/cosmos/base/reflection/v1beta1/reflection.proto +++ b/third_party/proto/cosmos/base/reflection/v1beta1/reflection.proto @@ -9,13 +9,15 @@ option go_package = "github.com/cosmos/cosmos-sdk/client/grpc/reflection"; service ReflectionService { // ListAllInterfaces lists all the interfaces registered in the interface // registry. - rpc ListAllInterfaces(ListAllInterfacesRequest) returns (ListAllInterfacesResponse) { + rpc ListAllInterfaces(ListAllInterfacesRequest) + returns (ListAllInterfacesResponse) { option (google.api.http).get = "/cosmos/base/reflection/v1beta1/interfaces"; }; // ListImplementations list all the concrete types that implement a given // interface. - rpc ListImplementations(ListImplementationsRequest) returns (ListImplementationsResponse) { + rpc ListImplementations(ListImplementationsRequest) + returns (ListImplementationsResponse) { option (google.api.http).get = "/cosmos/base/reflection/v1beta1/interfaces/" "{interface_name}/implementations"; }; diff --git a/third_party/proto/cosmos/base/reflection/v2alpha1/reflection.proto b/third_party/proto/cosmos/base/reflection/v2alpha1/reflection.proto index d5b048558f..8712208188 100644 --- a/third_party/proto/cosmos/base/reflection/v2alpha1/reflection.proto +++ b/third_party/proto/cosmos/base/reflection/v2alpha1/reflection.proto @@ -8,8 +8,9 @@ option go_package = "github.com/cosmos/cosmos-sdk/server/grpc/reflection/v2alpha // AppDescriptor describes a cosmos-sdk based application message AppDescriptor { - // AuthnDescriptor provides information on how to authenticate transactions on the application - // NOTE: experimental and subject to change in future releases. + // AuthnDescriptor provides information on how to authenticate transactions on + // the application NOTE: experimental and subject to change in future + // releases. AuthnDescriptor authn = 1; // chain provides the chain descriptor ChainDescriptor chain = 2; @@ -17,40 +18,44 @@ message AppDescriptor { CodecDescriptor codec = 3; // configuration provides metadata information regarding the sdk.Config type ConfigurationDescriptor configuration = 4; - // query_services provides metadata information regarding the available queriable endpoints + // query_services provides metadata information regarding the available + // queriable endpoints QueryServicesDescriptor query_services = 5; - // tx provides metadata information regarding how to send transactions to the given application + // tx provides metadata information regarding how to send transactions to the + // given application TxDescriptor tx = 6; } // TxDescriptor describes the accepted transaction type message TxDescriptor { - // fullname is the protobuf fullname of the raw transaction type (for instance the tx.Tx type) - // it is not meant to support polymorphism of transaction types, it is supposed to be used by - // reflection clients to understand if they can handle a specific transaction type in an application. + // fullname is the protobuf fullname of the raw transaction type (for instance + // the tx.Tx type) it is not meant to support polymorphism of transaction + // types, it is supposed to be used by reflection clients to understand if + // they can handle a specific transaction type in an application. string fullname = 1; // msgs lists the accepted application messages (sdk.Msg) repeated MsgDescriptor msgs = 2; } -// AuthnDescriptor provides information on how to sign transactions without relying -// on the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures +// AuthnDescriptor provides information on how to sign transactions without +// relying on the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures message AuthnDescriptor { // sign_modes defines the supported signature algorithm repeated SigningModeDescriptor sign_modes = 1; } -// SigningModeDescriptor provides information on a signing flow of the application -// NOTE(fdymylja): here we could go as far as providing an entire flow on how -// to sign a message given a SigningModeDescriptor, but it's better to think about -// this another time +// SigningModeDescriptor provides information on a signing flow of the +// application NOTE(fdymylja): here we could go as far as providing an entire +// flow on how to sign a message given a SigningModeDescriptor, but it's better +// to think about this another time message SigningModeDescriptor { // name defines the unique name of the signing mode string name = 1; // number is the unique int32 identifier for the sign_mode enum int32 number = 2; - // authn_info_provider_method_fullname defines the fullname of the method to call to get - // the metadata required to authenticate using the provided sign_modes + // authn_info_provider_method_fullname defines the fullname of the method to + // call to get the metadata required to authenticate using the provided + // sign_modes string authn_info_provider_method_fullname = 3; } @@ -60,7 +65,8 @@ message ChainDescriptor { string id = 1; } -// CodecDescriptor describes the registered interfaces and provides metadata information on the types +// CodecDescriptor describes the registered interfaces and provides metadata +// information on the types message CodecDescriptor { // interfaces is a list of the registerted interfaces descriptors repeated InterfaceDescriptor interfaces = 1; @@ -70,10 +76,11 @@ message CodecDescriptor { message InterfaceDescriptor { // fullname is the name of the interface string fullname = 1; - // interface_accepting_messages contains information regarding the proto messages which contain the interface as - // google.protobuf.Any field + // interface_accepting_messages contains information regarding the proto + // messages which contain the interface as google.protobuf.Any field repeated InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2; - // interface_implementers is a list of the descriptors of the interface implementers + // interface_implementers is a list of the descriptors of the interface + // implementers repeated InterfaceImplementerDescriptor interface_implementers = 3; } @@ -82,20 +89,20 @@ message InterfaceImplementerDescriptor { // fullname is the protobuf queryable name of the interface implementer string fullname = 1; // type_url defines the type URL used when marshalling the type as any - // this is required so we can provide type safe google.protobuf.Any marshalling and - // unmarshalling, making sure that we don't accept just 'any' type - // in our interface fields + // this is required so we can provide type safe google.protobuf.Any + // marshalling and unmarshalling, making sure that we don't accept just 'any' + // type in our interface fields string type_url = 2; } -// InterfaceAcceptingMessageDescriptor describes a protobuf message which contains -// an interface represented as a google.protobuf.Any +// InterfaceAcceptingMessageDescriptor describes a protobuf message which +// contains an interface represented as a google.protobuf.Any message InterfaceAcceptingMessageDescriptor { // fullname is the protobuf fullname of the type containing the interface string fullname = 1; - // field_descriptor_names is a list of the protobuf name (not fullname) of the field - // which contains the interface as google.protobuf.Any (the interface is the same, but - // it can be in multiple fields of the same proto message) + // field_descriptor_names is a list of the protobuf name (not fullname) of the + // field which contains the interface as google.protobuf.Any (the interface is + // the same, but it can be in multiple fields of the same proto message) repeated string field_descriptor_names = 2; } @@ -105,7 +112,8 @@ message ConfigurationDescriptor { string bech32_account_address_prefix = 1; } -// MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction +// MsgDescriptor describes a cosmos-sdk message that can be delivered with a +// transaction message MsgDescriptor { // msg_type_url contains the TypeURL of a sdk.Msg. string msg_type_url = 1; @@ -113,45 +121,64 @@ message MsgDescriptor { // ReflectionService defines a service for application reflection. service ReflectionService { - // GetAuthnDescriptor returns information on how to authenticate transactions in the application - // NOTE: this RPC is still experimental and might be subject to breaking changes or removal in - // future releases of the cosmos-sdk. - rpc GetAuthnDescriptor(GetAuthnDescriptorRequest) returns (GetAuthnDescriptorResponse) { - option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/authn"; + // GetAuthnDescriptor returns information on how to authenticate transactions + // in the application NOTE: this RPC is still experimental and might be + // subject to breaking changes or removal in future releases of the + // cosmos-sdk. + rpc GetAuthnDescriptor(GetAuthnDescriptorRequest) + returns (GetAuthnDescriptorResponse) { + option (google.api.http).get = + "/cosmos/base/reflection/v1beta1/app_descriptor/authn"; } // GetChainDescriptor returns the description of the chain - rpc GetChainDescriptor(GetChainDescriptorRequest) returns (GetChainDescriptorResponse) { - option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/chain"; + rpc GetChainDescriptor(GetChainDescriptorRequest) + returns (GetChainDescriptorResponse) { + option (google.api.http).get = + "/cosmos/base/reflection/v1beta1/app_descriptor/chain"; }; // GetCodecDescriptor returns the descriptor of the codec of the application - rpc GetCodecDescriptor(GetCodecDescriptorRequest) returns (GetCodecDescriptorResponse) { - option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/codec"; + rpc GetCodecDescriptor(GetCodecDescriptorRequest) + returns (GetCodecDescriptorResponse) { + option (google.api.http).get = + "/cosmos/base/reflection/v1beta1/app_descriptor/codec"; } - // GetConfigurationDescriptor returns the descriptor for the sdk.Config of the application - rpc GetConfigurationDescriptor(GetConfigurationDescriptorRequest) returns (GetConfigurationDescriptorResponse) { - option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/configuration"; + // GetConfigurationDescriptor returns the descriptor for the sdk.Config of the + // application + rpc GetConfigurationDescriptor(GetConfigurationDescriptorRequest) + returns (GetConfigurationDescriptorResponse) { + option (google.api.http).get = + "/cosmos/base/reflection/v1beta1/app_descriptor/configuration"; } - // GetQueryServicesDescriptor returns the available gRPC queryable services of the application - rpc GetQueryServicesDescriptor(GetQueryServicesDescriptorRequest) returns (GetQueryServicesDescriptorResponse) { - option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/query_services"; + // GetQueryServicesDescriptor returns the available gRPC queryable services of + // the application + rpc GetQueryServicesDescriptor(GetQueryServicesDescriptorRequest) + returns (GetQueryServicesDescriptorResponse) { + option (google.api.http).get = + "/cosmos/base/reflection/v1beta1/app_descriptor/query_services"; } - // GetTxDescriptor returns information on the used transaction object and available msgs that can be used - rpc GetTxDescriptor(GetTxDescriptorRequest) returns (GetTxDescriptorResponse) { - option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/tx_descriptor"; + // GetTxDescriptor returns information on the used transaction object and + // available msgs that can be used + rpc GetTxDescriptor(GetTxDescriptorRequest) + returns (GetTxDescriptorResponse) { + option (google.api.http).get = + "/cosmos/base/reflection/v1beta1/app_descriptor/tx_descriptor"; } } // GetAuthnDescriptorRequest is the request used for the GetAuthnDescriptor RPC message GetAuthnDescriptorRequest {} -// GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC +// GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor +// RPC message GetAuthnDescriptorResponse { - // authn describes how to authenticate to the application when sending transactions + // authn describes how to authenticate to the application when sending + // transactions AuthnDescriptor authn = 1; } // GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC message GetChainDescriptorRequest {} -// GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC +// GetChainDescriptorResponse is the response returned by the GetChainDescriptor +// RPC message GetChainDescriptorResponse { // chain describes application chain information ChainDescriptor chain = 1; @@ -159,23 +186,29 @@ message GetChainDescriptorResponse { // GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC message GetCodecDescriptorRequest {} -// GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC +// GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor +// RPC message GetCodecDescriptorResponse { - // codec describes the application codec such as registered interfaces and implementations + // codec describes the application codec such as registered interfaces and + // implementations CodecDescriptor codec = 1; } -// GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC +// GetConfigurationDescriptorRequest is the request used for the +// GetConfigurationDescriptor RPC message GetConfigurationDescriptorRequest {} -// GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC +// GetConfigurationDescriptorResponse is the response returned by the +// GetConfigurationDescriptor RPC message GetConfigurationDescriptorResponse { // config describes the application's sdk.Config ConfigurationDescriptor config = 1; } -// GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC +// GetQueryServicesDescriptorRequest is the request used for the +// GetQueryServicesDescriptor RPC message GetQueryServicesDescriptorRequest {} -// GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC +// GetQueryServicesDescriptorResponse is the response returned by the +// GetQueryServicesDescriptor RPC message GetQueryServicesDescriptorResponse { // queries provides information on the available queryable services QueryServicesDescriptor queries = 1; @@ -200,7 +233,8 @@ message QueryServicesDescriptor { message QueryServiceDescriptor { // fullname is the protobuf fullname of the service descriptor string fullname = 1; - // is_module describes if this service is actually exposed by an application's module + // is_module describes if this service is actually exposed by an application's + // module bool is_module = 2; // methods provides a list of query service methods repeated QueryMethodDescriptor methods = 3; diff --git a/third_party/proto/cosmos/base/snapshots/v1beta1/snapshot.proto b/third_party/proto/cosmos/base/snapshots/v1beta1/snapshot.proto index 1d2365bef6..235cb9330f 100644 --- a/third_party/proto/cosmos/base/snapshots/v1beta1/snapshot.proto +++ b/third_party/proto/cosmos/base/snapshots/v1beta1/snapshot.proto @@ -7,11 +7,11 @@ option go_package = "github.com/cosmos/cosmos-sdk/snapshots/types"; // Snapshot contains Tendermint state sync snapshot info. message Snapshot { - uint64 height = 1; - uint32 format = 2; - uint32 chunks = 3; - bytes hash = 4; - Metadata metadata = 5 [(gogoproto.nullable) = false]; + uint64 height = 1; + uint32 format = 2; + uint32 chunks = 3; + bytes hash = 4; + Metadata metadata = 5 [ (gogoproto.nullable) = false ]; } // Metadata contains SDK-specific snapshot metadata. @@ -23,35 +23,31 @@ message Metadata { message SnapshotItem { // item is the specific type of snapshot item. oneof item { - SnapshotStoreItem store = 1; - SnapshotIAVLItem iavl = 2 [(gogoproto.customname) = "IAVL"]; - SnapshotExtensionMeta extension = 3; + SnapshotStoreItem store = 1; + SnapshotIAVLItem iavl = 2 [ (gogoproto.customname) = "IAVL" ]; + SnapshotExtensionMeta extension = 3; SnapshotExtensionPayload extension_payload = 4; } } // SnapshotStoreItem contains metadata about a snapshotted store. -message SnapshotStoreItem { - string name = 1; -} +message SnapshotStoreItem { string name = 1; } // SnapshotIAVLItem is an exported IAVL node. message SnapshotIAVLItem { - bytes key = 1; - bytes value = 2; + bytes key = 1; + bytes value = 2; // version is block height int64 version = 3; // height is depth of the tree. - int32 height = 4; + int32 height = 4; } // SnapshotExtensionMeta contains metadata about an external snapshotter. message SnapshotExtensionMeta { - string name = 1; + string name = 1; uint32 format = 2; } // SnapshotExtensionPayload contains payloads of an external snapshotter. -message SnapshotExtensionPayload { - bytes payload = 1; -} +message SnapshotExtensionPayload { bytes payload = 1; } diff --git a/third_party/proto/cosmos/base/store/v1beta1/commit_info.proto b/third_party/proto/cosmos/base/store/v1beta1/commit_info.proto index 98a33d30e7..66caddd02e 100644 --- a/third_party/proto/cosmos/base/store/v1beta1/commit_info.proto +++ b/third_party/proto/cosmos/base/store/v1beta1/commit_info.proto @@ -8,15 +8,15 @@ option go_package = "github.com/cosmos/cosmos-sdk/store/types"; // CommitInfo defines commit information used by the multi-store when committing // a version/height. message CommitInfo { - int64 version = 1; - repeated StoreInfo store_infos = 2 [(gogoproto.nullable) = false]; + int64 version = 1; + repeated StoreInfo store_infos = 2 [ (gogoproto.nullable) = false ]; } // StoreInfo defines store-specific commit information. It contains a reference // between a store name and the commit ID. message StoreInfo { - string name = 1; - CommitID commit_id = 2 [(gogoproto.nullable) = false]; + string name = 1; + CommitID commit_id = 2 [ (gogoproto.nullable) = false ]; } // CommitID defines the committment information when a specific store is @@ -25,5 +25,5 @@ message CommitID { option (gogoproto.goproto_stringer) = false; int64 version = 1; - bytes hash = 2; + bytes hash = 2; } diff --git a/third_party/proto/cosmos/base/store/v1beta1/listening.proto b/third_party/proto/cosmos/base/store/v1beta1/listening.proto index 359997109c..ec2dd37624 100644 --- a/third_party/proto/cosmos/base/store/v1beta1/listening.proto +++ b/third_party/proto/cosmos/base/store/v1beta1/listening.proto @@ -3,14 +3,16 @@ package cosmos.base.store.v1beta1; option go_package = "github.com/cosmos/cosmos-sdk/store/types"; -// StoreKVPair is a KVStore KVPair used for listening to state changes (Sets and Deletes) -// It optionally includes the StoreKey for the originating KVStore and a Boolean flag to distinguish between Sets and -// Deletes +// StoreKVPair is a KVStore KVPair used for listening to state changes (Sets and +// Deletes) It optionally includes the StoreKey for the originating KVStore and +// a Boolean flag to distinguish between Sets and Deletes // // Since: cosmos-sdk 0.43 message StoreKVPair { - string store_key = 1; // the store key for the KVStore this pair originates from - bool delete = 2; // true indicates a delete operation, false indicates a set operation - bytes key = 3; - bytes value = 4; + string store_key = + 1; // the store key for the KVStore this pair originates from + bool delete = + 2; // true indicates a delete operation, false indicates a set operation + bytes key = 3; + bytes value = 4; } diff --git a/third_party/proto/cosmos/base/tendermint/v1beta1/query.proto b/third_party/proto/cosmos/base/tendermint/v1beta1/query.proto index 4bff07283e..ecf02826a5 100644 --- a/third_party/proto/cosmos/base/tendermint/v1beta1/query.proto +++ b/third_party/proto/cosmos/base/tendermint/v1beta1/query.proto @@ -22,108 +22,119 @@ service Service { } // GetLatestBlock returns the latest block. rpc GetLatestBlock(GetLatestBlockRequest) returns (GetLatestBlockResponse) { - option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/blocks/latest"; + option (google.api.http).get = + "/cosmos/base/tendermint/v1beta1/blocks/latest"; } // GetBlockByHeight queries block for given height. - rpc GetBlockByHeight(GetBlockByHeightRequest) returns (GetBlockByHeightResponse) { - option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/blocks/{height}"; + rpc GetBlockByHeight(GetBlockByHeightRequest) + returns (GetBlockByHeightResponse) { + option (google.api.http).get = + "/cosmos/base/tendermint/v1beta1/blocks/{height}"; } // GetLatestValidatorSet queries latest validator-set. - rpc GetLatestValidatorSet(GetLatestValidatorSetRequest) returns (GetLatestValidatorSetResponse) { - option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/validatorsets/latest"; + rpc GetLatestValidatorSet(GetLatestValidatorSetRequest) + returns (GetLatestValidatorSetResponse) { + option (google.api.http).get = + "/cosmos/base/tendermint/v1beta1/validatorsets/latest"; } // GetValidatorSetByHeight queries validator-set at a given height. - rpc GetValidatorSetByHeight(GetValidatorSetByHeightRequest) returns (GetValidatorSetByHeightResponse) { - option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/validatorsets/{height}"; + rpc GetValidatorSetByHeight(GetValidatorSetByHeightRequest) + returns (GetValidatorSetByHeightResponse) { + option (google.api.http).get = + "/cosmos/base/tendermint/v1beta1/validatorsets/{height}"; } } -// GetValidatorSetByHeightRequest is the request type for the Query/GetValidatorSetByHeight RPC method. +// GetValidatorSetByHeightRequest is the request type for the +// Query/GetValidatorSetByHeight RPC method. message GetValidatorSetByHeightRequest { int64 height = 1; // pagination defines an pagination for the request. cosmos.base.query.v1beta1.PageRequest pagination = 2; } -// GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. +// GetValidatorSetByHeightResponse is the response type for the +// Query/GetValidatorSetByHeight RPC method. message GetValidatorSetByHeightResponse { - int64 block_height = 1; - repeated Validator validators = 2; + int64 block_height = 1; + repeated Validator validators = 2; // pagination defines an pagination for the response. cosmos.base.query.v1beta1.PageResponse pagination = 3; } -// GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. +// GetLatestValidatorSetRequest is the request type for the +// Query/GetValidatorSetByHeight RPC method. message GetLatestValidatorSetRequest { // pagination defines an pagination for the request. cosmos.base.query.v1beta1.PageRequest pagination = 1; } -// GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. +// GetLatestValidatorSetResponse is the response type for the +// Query/GetValidatorSetByHeight RPC method. message GetLatestValidatorSetResponse { - int64 block_height = 1; - repeated Validator validators = 2; + int64 block_height = 1; + repeated Validator validators = 2; // pagination defines an pagination for the response. cosmos.base.query.v1beta1.PageResponse pagination = 3; } // Validator is the type for the validator-set. message Validator { - string address = 1; - google.protobuf.Any pub_key = 2; - int64 voting_power = 3; - int64 proposer_priority = 4; + string address = 1; + google.protobuf.Any pub_key = 2; + int64 voting_power = 3; + int64 proposer_priority = 4; } -// GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight RPC method. -message GetBlockByHeightRequest { - int64 height = 1; -} +// GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight +// RPC method. +message GetBlockByHeightRequest { int64 height = 1; } -// GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. +// GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight +// RPC method. message GetBlockByHeightResponse { .tendermint.types.BlockID block_id = 1; - .tendermint.types.Block block = 2; + .tendermint.types.Block block = 2; } -// GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC method. +// GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC +// method. message GetLatestBlockRequest {} -// GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. +// GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC +// method. message GetLatestBlockResponse { .tendermint.types.BlockID block_id = 1; - .tendermint.types.Block block = 2; + .tendermint.types.Block block = 2; } // GetSyncingRequest is the request type for the Query/GetSyncing RPC method. message GetSyncingRequest {} // GetSyncingResponse is the response type for the Query/GetSyncing RPC method. -message GetSyncingResponse { - bool syncing = 1; -} +message GetSyncingResponse { bool syncing = 1; } // GetNodeInfoRequest is the request type for the Query/GetNodeInfo RPC method. message GetNodeInfoRequest {} // GetNodeInfoResponse is the request type for the Query/GetNodeInfo RPC method. message GetNodeInfoResponse { - .tendermint.p2p.DefaultNodeInfo default_node_info = 1; - VersionInfo application_version = 2; + .tendermint.p2p.DefaultNodeInfo default_node_info = 1; + VersionInfo application_version = 2; } // VersionInfo is the type for the GetNodeInfoResponse message. message VersionInfo { - string name = 1; - string app_name = 2; - string version = 3; - string git_commit = 4; - string build_tags = 5; - string go_version = 6; - repeated Module build_deps = 7; + string name = 1; + string app_name = 2; + string version = 3; + string git_commit = 4; + string build_tags = 5; + string go_version = 6; + repeated Module build_deps = 7; // Since: cosmos-sdk 0.43 - string cosmos_sdk_version = 8; + string cosmos_sdk_version = 8; } // Module is the type for VersionInfo diff --git a/third_party/proto/cosmos/base/v1beta1/coin.proto b/third_party/proto/cosmos/base/v1beta1/coin.proto index fab75284b7..fbd3ad0665 100644 --- a/third_party/proto/cosmos/base/v1beta1/coin.proto +++ b/third_party/proto/cosmos/base/v1beta1/coin.proto @@ -3,9 +3,9 @@ package cosmos.base.v1beta1; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/types"; +option go_package = "github.com/cosmos/cosmos-sdk/types"; option (gogoproto.goproto_stringer_all) = false; -option (gogoproto.stringer_all) = false; +option (gogoproto.stringer_all) = false; // Coin defines a token with a denomination and an amount. // @@ -14,8 +14,9 @@ option (gogoproto.stringer_all) = false; message Coin { option (gogoproto.equal) = true; - string denom = 1; - string amount = 2 [(gogoproto.customtype) = "Int", (gogoproto.nullable) = false]; + string denom = 1; + string amount = 2 + [ (gogoproto.customtype) = "Int", (gogoproto.nullable) = false ]; } // DecCoin defines a token with a denomination and a decimal amount. @@ -25,16 +26,19 @@ message Coin { message DecCoin { option (gogoproto.equal) = true; - string denom = 1; - string amount = 2 [(gogoproto.customtype) = "Dec", (gogoproto.nullable) = false]; + string denom = 1; + string amount = 2 + [ (gogoproto.customtype) = "Dec", (gogoproto.nullable) = false ]; } // IntProto defines a Protobuf wrapper around an Int object. message IntProto { - string int = 1 [(gogoproto.customtype) = "Int", (gogoproto.nullable) = false]; + string int = 1 + [ (gogoproto.customtype) = "Int", (gogoproto.nullable) = false ]; } // DecProto defines a Protobuf wrapper around a Dec object. message DecProto { - string dec = 1 [(gogoproto.customtype) = "Dec", (gogoproto.nullable) = false]; + string dec = 1 + [ (gogoproto.customtype) = "Dec", (gogoproto.nullable) = false ]; } diff --git a/third_party/proto/cosmos/capability/v1beta1/capability.proto b/third_party/proto/cosmos/capability/v1beta1/capability.proto index 1c8332f341..4e7d738240 100644 --- a/third_party/proto/cosmos/capability/v1beta1/capability.proto +++ b/third_party/proto/cosmos/capability/v1beta1/capability.proto @@ -10,21 +10,21 @@ import "gogoproto/gogo.proto"; message Capability { option (gogoproto.goproto_stringer) = false; - uint64 index = 1 [(gogoproto.moretags) = "yaml:\"index\""]; + uint64 index = 1 [ (gogoproto.moretags) = "yaml:\"index\"" ]; } // Owner defines a single capability owner. An owner is defined by the name of // capability and the module name. message Owner { option (gogoproto.goproto_stringer) = false; - option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_getters) = false; - string module = 1 [(gogoproto.moretags) = "yaml:\"module\""]; - string name = 2 [(gogoproto.moretags) = "yaml:\"name\""]; + string module = 1 [ (gogoproto.moretags) = "yaml:\"module\"" ]; + string name = 2 [ (gogoproto.moretags) = "yaml:\"name\"" ]; } // CapabilityOwners defines a set of owners of a single Capability. The set of // owners must be unique. message CapabilityOwners { - repeated Owner owners = 1 [(gogoproto.nullable) = false]; + repeated Owner owners = 1 [ (gogoproto.nullable) = false ]; } diff --git a/third_party/proto/cosmos/capability/v1beta1/genesis.proto b/third_party/proto/cosmos/capability/v1beta1/genesis.proto index 05bb0afc4a..a080af36e9 100644 --- a/third_party/proto/cosmos/capability/v1beta1/genesis.proto +++ b/third_party/proto/cosmos/capability/v1beta1/genesis.proto @@ -12,7 +12,10 @@ message GenesisOwners { uint64 index = 1; // index_owners are the owners at the given index. - CapabilityOwners index_owners = 2 [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"index_owners\""]; + CapabilityOwners index_owners = 2 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"index_owners\"" + ]; } // GenesisState defines the capability module's genesis state. @@ -22,5 +25,5 @@ message GenesisState { // owners represents a map from index to owners of the capability index // index key is string to allow amino marshalling. - repeated GenesisOwners owners = 2 [(gogoproto.nullable) = false]; + repeated GenesisOwners owners = 2 [ (gogoproto.nullable) = false ]; } diff --git a/third_party/proto/cosmos/crisis/v1beta1/genesis.proto b/third_party/proto/cosmos/crisis/v1beta1/genesis.proto index 5b0ff7ec72..dd6101ef0f 100644 --- a/third_party/proto/cosmos/crisis/v1beta1/genesis.proto +++ b/third_party/proto/cosmos/crisis/v1beta1/genesis.proto @@ -10,6 +10,8 @@ import "cosmos/base/v1beta1/coin.proto"; message GenesisState { // constant_fee is the fee used to verify the invariant in the crisis // module. - cosmos.base.v1beta1.Coin constant_fee = 3 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"constant_fee\""]; + cosmos.base.v1beta1.Coin constant_fee = 3 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"constant_fee\"" + ]; } diff --git a/third_party/proto/cosmos/crisis/v1beta1/tx.proto b/third_party/proto/cosmos/crisis/v1beta1/tx.proto index 26457ad6d5..3e4db5dcf8 100644 --- a/third_party/proto/cosmos/crisis/v1beta1/tx.proto +++ b/third_party/proto/cosmos/crisis/v1beta1/tx.proto @@ -13,12 +13,14 @@ service Msg { // MsgVerifyInvariant represents a message to verify a particular invariance. message MsgVerifyInvariant { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - string sender = 1; - string invariant_module_name = 2 [(gogoproto.moretags) = "yaml:\"invariant_module_name\""]; - string invariant_route = 3 [(gogoproto.moretags) = "yaml:\"invariant_route\""]; + string sender = 1; + string invariant_module_name = 2 + [ (gogoproto.moretags) = "yaml:\"invariant_module_name\"" ]; + string invariant_route = 3 + [ (gogoproto.moretags) = "yaml:\"invariant_route\"" ]; } // MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type. diff --git a/third_party/proto/cosmos/crypto/ed25519/keys.proto b/third_party/proto/cosmos/crypto/ed25519/keys.proto index 6ffec34483..fa66aba777 100644 --- a/third_party/proto/cosmos/crypto/ed25519/keys.proto +++ b/third_party/proto/cosmos/crypto/ed25519/keys.proto @@ -7,17 +7,19 @@ option go_package = "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519"; // PubKey is an ed25519 public key for handling Tendermint keys in SDK. // It's needed for Any serialization and SDK compatibility. -// It must not be used in a non Tendermint key context because it doesn't implement -// ADR-28. Nevertheless, you will like to use ed25519 in app user level -// then you must create a new proto message and follow ADR-28 for Address construction. +// It must not be used in a non Tendermint key context because it doesn't +// implement ADR-28. Nevertheless, you will like to use ed25519 in app user +// level then you must create a new proto message and follow ADR-28 for Address +// construction. message PubKey { option (gogoproto.goproto_stringer) = false; - bytes key = 1 [(gogoproto.casttype) = "crypto/ed25519.PublicKey"]; + bytes key = 1 [ (gogoproto.casttype) = "crypto/ed25519.PublicKey" ]; } // Deprecated: PrivKey defines a ed25519 private key. -// NOTE: ed25519 keys must not be used in SDK apps except in a tendermint validator context. +// NOTE: ed25519 keys must not be used in SDK apps except in a tendermint +// validator context. message PrivKey { - bytes key = 1 [(gogoproto.casttype) = "crypto/ed25519.PrivateKey"]; + bytes key = 1 [ (gogoproto.casttype) = "crypto/ed25519.PrivateKey" ]; } diff --git a/third_party/proto/cosmos/crypto/multisig/keys.proto b/third_party/proto/cosmos/crypto/multisig/keys.proto index f8398e8052..2ceb4db8f5 100644 --- a/third_party/proto/cosmos/crypto/multisig/keys.proto +++ b/third_party/proto/cosmos/crypto/multisig/keys.proto @@ -12,7 +12,9 @@ option go_package = "github.com/cosmos/cosmos-sdk/crypto/keys/multisig"; message LegacyAminoPubKey { option (gogoproto.goproto_getters) = false; - uint32 threshold = 1 [(gogoproto.moretags) = "yaml:\"threshold\""]; - repeated google.protobuf.Any public_keys = 2 - [(gogoproto.customname) = "PubKeys", (gogoproto.moretags) = "yaml:\"pubkeys\""]; + uint32 threshold = 1 [ (gogoproto.moretags) = "yaml:\"threshold\"" ]; + repeated google.protobuf.Any public_keys = 2 [ + (gogoproto.customname) = "PubKeys", + (gogoproto.moretags) = "yaml:\"pubkeys\"" + ]; } diff --git a/third_party/proto/cosmos/crypto/multisig/v1beta1/multisig.proto b/third_party/proto/cosmos/crypto/multisig/v1beta1/multisig.proto index bf671f1711..db77485598 100644 --- a/third_party/proto/cosmos/crypto/multisig/v1beta1/multisig.proto +++ b/third_party/proto/cosmos/crypto/multisig/v1beta1/multisig.proto @@ -10,7 +10,7 @@ option go_package = "github.com/cosmos/cosmos-sdk/crypto/types"; // signed and with which modes. message MultiSignature { option (gogoproto.goproto_unrecognized) = true; - repeated bytes signatures = 1; + repeated bytes signatures = 1; } // CompactBitArray is an implementation of a space efficient bit array. @@ -21,5 +21,5 @@ message CompactBitArray { option (gogoproto.goproto_stringer) = false; uint32 extra_bits_stored = 1; - bytes elems = 2; + bytes elems = 2; } diff --git a/third_party/proto/cosmos/crypto/secp256k1/keys.proto b/third_party/proto/cosmos/crypto/secp256k1/keys.proto index a22725713a..1c07f93d6a 100644 --- a/third_party/proto/cosmos/crypto/secp256k1/keys.proto +++ b/third_party/proto/cosmos/crypto/secp256k1/keys.proto @@ -6,10 +6,10 @@ import "gogoproto/gogo.proto"; option go_package = "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1"; // PubKey defines a secp256k1 public key -// Key is the compressed form of the pubkey. The first byte depends is a 0x02 byte -// if the y-coordinate is the lexicographically largest of the two associated with -// the x-coordinate. Otherwise the first byte is a 0x03. -// This prefix is followed with the x-coordinate. +// Key is the compressed form of the pubkey. The first byte depends is a 0x02 +// byte if the y-coordinate is the lexicographically largest of the two +// associated with the x-coordinate. Otherwise the first byte is a 0x03. This +// prefix is followed with the x-coordinate. message PubKey { option (gogoproto.goproto_stringer) = false; @@ -17,6 +17,4 @@ message PubKey { } // PrivKey defines a secp256k1 private key. -message PrivKey { - bytes key = 1; -} +message PrivKey { bytes key = 1; } diff --git a/third_party/proto/cosmos/crypto/secp256r1/keys.proto b/third_party/proto/cosmos/crypto/secp256r1/keys.proto index 2e96c6e3c6..45f8c62117 100644 --- a/third_party/proto/cosmos/crypto/secp256r1/keys.proto +++ b/third_party/proto/cosmos/crypto/secp256r1/keys.proto @@ -4,20 +4,21 @@ package cosmos.crypto.secp256r1; import "gogoproto/gogo.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1"; -option (gogoproto.messagename_all) = true; +option go_package = "github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1"; +option (gogoproto.messagename_all) = true; option (gogoproto.goproto_stringer_all) = false; -option (gogoproto.goproto_getters_all) = false; +option (gogoproto.goproto_getters_all) = false; // PubKey defines a secp256r1 ECDSA public key. message PubKey { - // Point on secp256r1 curve in a compressed representation as specified in section - // 4.3.6 of ANSI X9.62: https://webstore.ansi.org/standards/ascx9/ansix9621998 - bytes key = 1 [(gogoproto.customtype) = "ecdsaPK"]; + // Point on secp256r1 curve in a compressed representation as specified in + // section 4.3.6 of ANSI X9.62: + // https://webstore.ansi.org/standards/ascx9/ansix9621998 + bytes key = 1 [ (gogoproto.customtype) = "ecdsaPK" ]; } // PrivKey defines a secp256r1 ECDSA private key. message PrivKey { // secret number serialized using big-endian encoding - bytes secret = 1 [(gogoproto.customtype) = "ecdsaSK"]; + bytes secret = 1 [ (gogoproto.customtype) = "ecdsaSK" ]; } diff --git a/third_party/proto/cosmos/distribution/v1beta1/distribution.proto b/third_party/proto/cosmos/distribution/v1beta1/distribution.proto index ae98ec0b98..dae576c33a 100644 --- a/third_party/proto/cosmos/distribution/v1beta1/distribution.proto +++ b/third_party/proto/cosmos/distribution/v1beta1/distribution.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package cosmos.distribution.v1beta1; -option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; +option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; option (gogoproto.equal_all) = true; import "gogoproto/gogo.proto"; @@ -10,22 +10,23 @@ import "cosmos/base/v1beta1/coin.proto"; // Params defines the set of params for the distribution module. message Params { option (gogoproto.goproto_stringer) = false; - string community_tax = 1 [ - (gogoproto.moretags) = "yaml:\"community_tax\"", + string community_tax = 1 [ + (gogoproto.moretags) = "yaml:\"community_tax\"", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false + (gogoproto.nullable) = false ]; string base_proposer_reward = 2 [ - (gogoproto.moretags) = "yaml:\"base_proposer_reward\"", + (gogoproto.moretags) = "yaml:\"base_proposer_reward\"", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false + (gogoproto.nullable) = false ]; string bonus_proposer_reward = 3 [ - (gogoproto.moretags) = "yaml:\"bonus_proposer_reward\"", + (gogoproto.moretags) = "yaml:\"bonus_proposer_reward\"", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false + (gogoproto.nullable) = false ]; - bool withdraw_addr_enabled = 4 [(gogoproto.moretags) = "yaml:\"withdraw_addr_enabled\""]; + bool withdraw_addr_enabled = 4 + [ (gogoproto.moretags) = "yaml:\"withdraw_addr_enabled\"" ]; } // ValidatorHistoricalRewards represents historical rewards for a validator. @@ -42,36 +43,41 @@ message Params { // + one per validator for the zeroeth period, set on initialization message ValidatorHistoricalRewards { repeated cosmos.base.v1beta1.DecCoin cumulative_reward_ratio = 1 [ - (gogoproto.moretags) = "yaml:\"cumulative_reward_ratio\"", + (gogoproto.moretags) = "yaml:\"cumulative_reward_ratio\"", (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", - (gogoproto.nullable) = false + (gogoproto.nullable) = false ]; - uint32 reference_count = 2 [(gogoproto.moretags) = "yaml:\"reference_count\""]; + uint32 reference_count = 2 + [ (gogoproto.moretags) = "yaml:\"reference_count\"" ]; } // ValidatorCurrentRewards represents current rewards and current // period for a validator kept as a running counter and incremented // each block as long as the validator's tokens remain constant. message ValidatorCurrentRewards { - repeated cosmos.base.v1beta1.DecCoin rewards = 1 - [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; + repeated cosmos.base.v1beta1.DecCoin rewards = 1 [ + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", + (gogoproto.nullable) = false + ]; uint64 period = 2; } // ValidatorAccumulatedCommission represents accumulated commission // for a validator kept as a running counter, can be withdrawn at any time. message ValidatorAccumulatedCommission { - repeated cosmos.base.v1beta1.DecCoin commission = 1 - [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; + repeated cosmos.base.v1beta1.DecCoin commission = 1 [ + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", + (gogoproto.nullable) = false + ]; } // ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards // for a validator inexpensive to track, allows simple sanity checks. message ValidatorOutstandingRewards { repeated cosmos.base.v1beta1.DecCoin rewards = 1 [ - (gogoproto.moretags) = "yaml:\"rewards\"", + (gogoproto.moretags) = "yaml:\"rewards\"", (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", - (gogoproto.nullable) = false + (gogoproto.nullable) = false ]; } @@ -80,23 +86,29 @@ message ValidatorOutstandingRewards { // This is needed to calculate appropriate amount of staking tokens // for delegations which are withdrawn after a slash has occurred. message ValidatorSlashEvent { - uint64 validator_period = 1 [(gogoproto.moretags) = "yaml:\"validator_period\""]; - string fraction = 2 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; + uint64 validator_period = 1 + [ (gogoproto.moretags) = "yaml:\"validator_period\"" ]; + string fraction = 2 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; } // ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. message ValidatorSlashEvents { - option (gogoproto.goproto_stringer) = false; - repeated ValidatorSlashEvent validator_slash_events = 1 - [(gogoproto.moretags) = "yaml:\"validator_slash_events\"", (gogoproto.nullable) = false]; + option (gogoproto.goproto_stringer) = false; + repeated ValidatorSlashEvent validator_slash_events = 1 [ + (gogoproto.moretags) = "yaml:\"validator_slash_events\"", + (gogoproto.nullable) = false + ]; } // FeePool is the global fee pool for distribution. message FeePool { repeated cosmos.base.v1beta1.DecCoin community_pool = 1 [ - (gogoproto.nullable) = false, + (gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", - (gogoproto.moretags) = "yaml:\"community_pool\"" + (gogoproto.moretags) = "yaml:\"community_pool\"" ]; } @@ -104,15 +116,17 @@ message FeePool { // together with how many coins are proposed to be spent, and to which // recipient account. message CommunityPoolSpendProposal { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; option (gogoproto.goproto_stringer) = false; - string title = 1; - string description = 2; - string recipient = 3; - repeated cosmos.base.v1beta1.Coin amount = 4 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + string title = 1; + string description = 2; + string recipient = 3; + repeated cosmos.base.v1beta1.Coin amount = 4 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + ]; } // DelegatorStartingInfo represents the starting info for a delegator reward @@ -122,36 +136,43 @@ message CommunityPoolSpendProposal { // the delegators within the validator may be left with less than a full token, // thus sdk.Dec is used. message DelegatorStartingInfo { - uint64 previous_period = 1 [(gogoproto.moretags) = "yaml:\"previous_period\""]; - string stake = 2 [ - (gogoproto.moretags) = "yaml:\"stake\"", + uint64 previous_period = 1 + [ (gogoproto.moretags) = "yaml:\"previous_period\"" ]; + string stake = 2 [ + (gogoproto.moretags) = "yaml:\"stake\"", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false + (gogoproto.nullable) = false + ]; + uint64 height = 3 [ + (gogoproto.moretags) = "yaml:\"creation_height\"", + (gogoproto.jsontag) = "creation_height" ]; - uint64 height = 3 [(gogoproto.moretags) = "yaml:\"creation_height\"", (gogoproto.jsontag) = "creation_height"]; } // DelegationDelegatorReward represents the properties // of a delegator's delegation reward. message DelegationDelegatorReward { - option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_getters) = false; option (gogoproto.goproto_stringer) = true; - string validator_address = 1 [(gogoproto.moretags) = "yaml:\"validator_address\""]; + string validator_address = 1 + [ (gogoproto.moretags) = "yaml:\"validator_address\"" ]; - repeated cosmos.base.v1beta1.DecCoin reward = 2 - [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; + repeated cosmos.base.v1beta1.DecCoin reward = 2 [ + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", + (gogoproto.nullable) = false + ]; } // CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal // with a deposit message CommunityPoolSpendProposalWithDeposit { - option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_getters) = false; option (gogoproto.goproto_stringer) = true; - string title = 1 [(gogoproto.moretags) = "yaml:\"title\""]; - string description = 2 [(gogoproto.moretags) = "yaml:\"description\""]; - string recipient = 3 [(gogoproto.moretags) = "yaml:\"recipient\""]; - string amount = 4 [(gogoproto.moretags) = "yaml:\"amount\""]; - string deposit = 5 [(gogoproto.moretags) = "yaml:\"deposit\""]; + string title = 1 [ (gogoproto.moretags) = "yaml:\"title\"" ]; + string description = 2 [ (gogoproto.moretags) = "yaml:\"description\"" ]; + string recipient = 3 [ (gogoproto.moretags) = "yaml:\"recipient\"" ]; + string amount = 4 [ (gogoproto.moretags) = "yaml:\"amount\"" ]; + string deposit = 5 [ (gogoproto.moretags) = "yaml:\"deposit\"" ]; } diff --git a/third_party/proto/cosmos/distribution/v1beta1/genesis.proto b/third_party/proto/cosmos/distribution/v1beta1/genesis.proto index c0b17cdf11..f0eda1a0f5 100644 --- a/third_party/proto/cosmos/distribution/v1beta1/genesis.proto +++ b/third_party/proto/cosmos/distribution/v1beta1/genesis.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package cosmos.distribution.v1beta1; -option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; +option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; option (gogoproto.equal_all) = true; import "gogoproto/gogo.proto"; @@ -12,144 +12,186 @@ import "cosmos/distribution/v1beta1/distribution.proto"; // withdrawn to by default this struct is only used at genesis to feed in // default withdraw addresses. message DelegatorWithdrawInfo { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // delegator_address is the address of the delegator. - string delegator_address = 1 [(gogoproto.moretags) = "yaml:\"delegator_address\""]; + string delegator_address = 1 + [ (gogoproto.moretags) = "yaml:\"delegator_address\"" ]; // withdraw_address is the address to withdraw the delegation rewards to. - string withdraw_address = 2 [(gogoproto.moretags) = "yaml:\"withdraw_address\""]; + string withdraw_address = 2 + [ (gogoproto.moretags) = "yaml:\"withdraw_address\"" ]; } // ValidatorOutstandingRewardsRecord is used for import/export via genesis json. message ValidatorOutstandingRewardsRecord { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // validator_address is the address of the validator. - string validator_address = 1 [(gogoproto.moretags) = "yaml:\"validator_address\""]; + string validator_address = 1 + [ (gogoproto.moretags) = "yaml:\"validator_address\"" ]; // outstanding_rewards represents the oustanding rewards of a validator. repeated cosmos.base.v1beta1.DecCoin outstanding_rewards = 2 [ (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"outstanding_rewards\"" + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"outstanding_rewards\"" ]; } // ValidatorAccumulatedCommissionRecord is used for import / export via genesis // json. message ValidatorAccumulatedCommissionRecord { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // validator_address is the address of the validator. - string validator_address = 1 [(gogoproto.moretags) = "yaml:\"validator_address\""]; + string validator_address = 1 + [ (gogoproto.moretags) = "yaml:\"validator_address\"" ]; // accumulated is the accumulated commission of a validator. - ValidatorAccumulatedCommission accumulated = 2 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"accumulated\""]; + ValidatorAccumulatedCommission accumulated = 2 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"accumulated\"" + ]; } // ValidatorHistoricalRewardsRecord is used for import / export via genesis // json. message ValidatorHistoricalRewardsRecord { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // validator_address is the address of the validator. - string validator_address = 1 [(gogoproto.moretags) = "yaml:\"validator_address\""]; + string validator_address = 1 + [ (gogoproto.moretags) = "yaml:\"validator_address\"" ]; // period defines the period the historical rewards apply to. uint64 period = 2; // rewards defines the historical rewards of a validator. - ValidatorHistoricalRewards rewards = 3 [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"rewards\""]; + ValidatorHistoricalRewards rewards = 3 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"rewards\"" + ]; } // ValidatorCurrentRewardsRecord is used for import / export via genesis json. message ValidatorCurrentRewardsRecord { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // validator_address is the address of the validator. - string validator_address = 1 [(gogoproto.moretags) = "yaml:\"validator_address\""]; + string validator_address = 1 + [ (gogoproto.moretags) = "yaml:\"validator_address\"" ]; // rewards defines the current rewards of a validator. - ValidatorCurrentRewards rewards = 2 [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"rewards\""]; + ValidatorCurrentRewards rewards = 2 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"rewards\"" + ]; } // DelegatorStartingInfoRecord used for import / export via genesis json. message DelegatorStartingInfoRecord { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // delegator_address is the address of the delegator. - string delegator_address = 1 [(gogoproto.moretags) = "yaml:\"delegator_address\""]; + string delegator_address = 1 + [ (gogoproto.moretags) = "yaml:\"delegator_address\"" ]; // validator_address is the address of the validator. - string validator_address = 2 [(gogoproto.moretags) = "yaml:\"validator_address\""]; + string validator_address = 2 + [ (gogoproto.moretags) = "yaml:\"validator_address\"" ]; // starting_info defines the starting info of a delegator. - DelegatorStartingInfo starting_info = 3 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"starting_info\""]; + DelegatorStartingInfo starting_info = 3 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"starting_info\"" + ]; } // ValidatorSlashEventRecord is used for import / export via genesis json. message ValidatorSlashEventRecord { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // validator_address is the address of the validator. - string validator_address = 1 [(gogoproto.moretags) = "yaml:\"validator_address\""]; + string validator_address = 1 + [ (gogoproto.moretags) = "yaml:\"validator_address\"" ]; // height defines the block height at which the slash event occured. uint64 height = 2; // period is the period of the slash event. uint64 period = 3; // validator_slash_event describes the slash event. - ValidatorSlashEvent validator_slash_event = 4 [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"event\""]; + ValidatorSlashEvent validator_slash_event = 4 + [ (gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"event\"" ]; } // GenesisState defines the distribution module's genesis state. message GenesisState { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // params defines all the paramaters of the module. - Params params = 1 [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"params\""]; + Params params = 1 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"params\"" + ]; // fee_pool defines the fee pool at genesis. - FeePool fee_pool = 2 [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"fee_pool\""]; + FeePool fee_pool = 2 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"fee_pool\"" + ]; // fee_pool defines the delegator withdraw infos at genesis. - repeated DelegatorWithdrawInfo delegator_withdraw_infos = 3 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"delegator_withdraw_infos\""]; + repeated DelegatorWithdrawInfo delegator_withdraw_infos = 3 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"delegator_withdraw_infos\"" + ]; // fee_pool defines the previous proposer at genesis. - string previous_proposer = 4 [(gogoproto.moretags) = "yaml:\"previous_proposer\""]; + string previous_proposer = 4 + [ (gogoproto.moretags) = "yaml:\"previous_proposer\"" ]; // fee_pool defines the outstanding rewards of all validators at genesis. - repeated ValidatorOutstandingRewardsRecord outstanding_rewards = 5 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"outstanding_rewards\""]; + repeated ValidatorOutstandingRewardsRecord outstanding_rewards = 5 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"outstanding_rewards\"" + ]; // fee_pool defines the accumulated commisions of all validators at genesis. - repeated ValidatorAccumulatedCommissionRecord validator_accumulated_commissions = 6 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"validator_accumulated_commissions\""]; + repeated ValidatorAccumulatedCommissionRecord + validator_accumulated_commissions = 6 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"validator_accumulated_commissions\"" + ]; // fee_pool defines the historical rewards of all validators at genesis. - repeated ValidatorHistoricalRewardsRecord validator_historical_rewards = 7 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"validator_historical_rewards\""]; + repeated ValidatorHistoricalRewardsRecord validator_historical_rewards = 7 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"validator_historical_rewards\"" + ]; // fee_pool defines the current rewards of all validators at genesis. - repeated ValidatorCurrentRewardsRecord validator_current_rewards = 8 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"validator_current_rewards\""]; + repeated ValidatorCurrentRewardsRecord validator_current_rewards = 8 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"validator_current_rewards\"" + ]; // fee_pool defines the delegator starting infos at genesis. - repeated DelegatorStartingInfoRecord delegator_starting_infos = 9 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"delegator_starting_infos\""]; + repeated DelegatorStartingInfoRecord delegator_starting_infos = 9 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"delegator_starting_infos\"" + ]; // fee_pool defines the validator slash events at genesis. - repeated ValidatorSlashEventRecord validator_slash_events = 10 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"validator_slash_events\""]; + repeated ValidatorSlashEventRecord validator_slash_events = 10 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"validator_slash_events\"" + ]; } diff --git a/third_party/proto/cosmos/distribution/v1beta1/query.proto b/third_party/proto/cosmos/distribution/v1beta1/query.proto index 2991218d80..24edeab0eb 100644 --- a/third_party/proto/cosmos/distribution/v1beta1/query.proto +++ b/third_party/proto/cosmos/distribution/v1beta1/query.proto @@ -24,43 +24,54 @@ service Query { } // ValidatorCommission queries accumulated commission for a validator. - rpc ValidatorCommission(QueryValidatorCommissionRequest) returns (QueryValidatorCommissionResponse) { + rpc ValidatorCommission(QueryValidatorCommissionRequest) + returns (QueryValidatorCommissionResponse) { option (google.api.http).get = "/cosmos/distribution/v1beta1/validators/" "{validator_address}/commission"; } // ValidatorSlashes queries slash events of a validator. - rpc ValidatorSlashes(QueryValidatorSlashesRequest) returns (QueryValidatorSlashesResponse) { - option (google.api.http).get = "/cosmos/distribution/v1beta1/validators/{validator_address}/slashes"; + rpc ValidatorSlashes(QueryValidatorSlashesRequest) + returns (QueryValidatorSlashesResponse) { + option (google.api.http).get = + "/cosmos/distribution/v1beta1/validators/{validator_address}/slashes"; } // DelegationRewards queries the total rewards accrued by a delegation. - rpc DelegationRewards(QueryDelegationRewardsRequest) returns (QueryDelegationRewardsResponse) { - option (google.api.http).get = "/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/" - "{validator_address}"; + rpc DelegationRewards(QueryDelegationRewardsRequest) + returns (QueryDelegationRewardsResponse) { + option (google.api.http).get = + "/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/" + "{validator_address}"; } // DelegationTotalRewards queries the total rewards accrued by a each // validator. - rpc DelegationTotalRewards(QueryDelegationTotalRewardsRequest) returns (QueryDelegationTotalRewardsResponse) { - option (google.api.http).get = "/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards"; + rpc DelegationTotalRewards(QueryDelegationTotalRewardsRequest) + returns (QueryDelegationTotalRewardsResponse) { + option (google.api.http).get = + "/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards"; } // DelegatorValidators queries the validators of a delegator. - rpc DelegatorValidators(QueryDelegatorValidatorsRequest) returns (QueryDelegatorValidatorsResponse) { + rpc DelegatorValidators(QueryDelegatorValidatorsRequest) + returns (QueryDelegatorValidatorsResponse) { option (google.api.http).get = "/cosmos/distribution/v1beta1/delegators/" "{delegator_address}/validators"; } // DelegatorWithdrawAddress queries withdraw address of a delegator. - rpc DelegatorWithdrawAddress(QueryDelegatorWithdrawAddressRequest) returns (QueryDelegatorWithdrawAddressResponse) { + rpc DelegatorWithdrawAddress(QueryDelegatorWithdrawAddressRequest) + returns (QueryDelegatorWithdrawAddressResponse) { option (google.api.http).get = "/cosmos/distribution/v1beta1/delegators/" "{delegator_address}/withdraw_address"; } // CommunityPool queries the community pool coins. - rpc CommunityPool(QueryCommunityPoolRequest) returns (QueryCommunityPoolResponse) { - option (google.api.http).get = "/cosmos/distribution/v1beta1/community_pool"; + rpc CommunityPool(QueryCommunityPoolRequest) + returns (QueryCommunityPoolResponse) { + option (google.api.http).get = + "/cosmos/distribution/v1beta1/community_pool"; } } @@ -70,7 +81,7 @@ message QueryParamsRequest {} // QueryParamsResponse is the response type for the Query/Params RPC method. message QueryParamsResponse { // params defines the parameters of the module. - Params params = 1 [(gogoproto.nullable) = false]; + Params params = 1 [ (gogoproto.nullable) = false ]; } // QueryValidatorOutstandingRewardsRequest is the request type for the @@ -83,7 +94,7 @@ message QueryValidatorOutstandingRewardsRequest { // QueryValidatorOutstandingRewardsResponse is the response type for the // Query/ValidatorOutstandingRewards RPC method. message QueryValidatorOutstandingRewardsResponse { - ValidatorOutstandingRewards rewards = 1 [(gogoproto.nullable) = false]; + ValidatorOutstandingRewards rewards = 1 [ (gogoproto.nullable) = false ]; } // QueryValidatorCommissionRequest is the request type for the @@ -97,13 +108,14 @@ message QueryValidatorCommissionRequest { // Query/ValidatorCommission RPC method message QueryValidatorCommissionResponse { // commission defines the commision the validator received. - ValidatorAccumulatedCommission commission = 1 [(gogoproto.nullable) = false]; + ValidatorAccumulatedCommission commission = 1 + [ (gogoproto.nullable) = false ]; } // QueryValidatorSlashesRequest is the request type for the // Query/ValidatorSlashes RPC method message QueryValidatorSlashesRequest { - option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_getters) = false; option (gogoproto.goproto_stringer) = true; // validator_address defines the validator address to query for. @@ -120,7 +132,7 @@ message QueryValidatorSlashesRequest { // Query/ValidatorSlashes RPC method. message QueryValidatorSlashesResponse { // slashes defines the slashes the validator received. - repeated ValidatorSlashEvent slashes = 1 [(gogoproto.nullable) = false]; + repeated ValidatorSlashEvent slashes = 1 [ (gogoproto.nullable) = false ]; // pagination defines the pagination in the response. cosmos.base.query.v1beta1.PageResponse pagination = 2; @@ -129,7 +141,7 @@ message QueryValidatorSlashesResponse { // QueryDelegationRewardsRequest is the request type for the // Query/DelegationRewards RPC method. message QueryDelegationRewardsRequest { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // delegator_address defines the delegator address to query for. @@ -142,14 +154,16 @@ message QueryDelegationRewardsRequest { // Query/DelegationRewards RPC method. message QueryDelegationRewardsResponse { // rewards defines the rewards accrued by a delegation. - repeated cosmos.base.v1beta1.DecCoin rewards = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins"]; + repeated cosmos.base.v1beta1.DecCoin rewards = 1 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins" + ]; } // QueryDelegationTotalRewardsRequest is the request type for the // Query/DelegationTotalRewards RPC method. message QueryDelegationTotalRewardsRequest { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // delegator_address defines the delegator address to query for. string delegator_address = 1; @@ -159,16 +173,19 @@ message QueryDelegationTotalRewardsRequest { // Query/DelegationTotalRewards RPC method. message QueryDelegationTotalRewardsResponse { // rewards defines all the rewards accrued by a delegator. - repeated DelegationDelegatorReward rewards = 1 [(gogoproto.nullable) = false]; + repeated DelegationDelegatorReward rewards = 1 + [ (gogoproto.nullable) = false ]; // total defines the sum of all the rewards. - repeated cosmos.base.v1beta1.DecCoin total = 2 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins"]; + repeated cosmos.base.v1beta1.DecCoin total = 2 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins" + ]; } // QueryDelegatorValidatorsRequest is the request type for the // Query/DelegatorValidators RPC method. message QueryDelegatorValidatorsRequest { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // delegator_address defines the delegator address to query for. @@ -178,7 +195,7 @@ message QueryDelegatorValidatorsRequest { // QueryDelegatorValidatorsResponse is the response type for the // Query/DelegatorValidators RPC method. message QueryDelegatorValidatorsResponse { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // validators defines the validators a delegator is delegating for. @@ -188,7 +205,7 @@ message QueryDelegatorValidatorsResponse { // QueryDelegatorWithdrawAddressRequest is the request type for the // Query/DelegatorWithdrawAddress RPC method. message QueryDelegatorWithdrawAddressRequest { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // delegator_address defines the delegator address to query for. @@ -198,7 +215,7 @@ message QueryDelegatorWithdrawAddressRequest { // QueryDelegatorWithdrawAddressResponse is the response type for the // Query/DelegatorWithdrawAddress RPC method. message QueryDelegatorWithdrawAddressResponse { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // withdraw_address defines the delegator address to query for. @@ -213,6 +230,8 @@ message QueryCommunityPoolRequest {} // RPC method. message QueryCommunityPoolResponse { // pool defines community pool's coins. - repeated cosmos.base.v1beta1.DecCoin pool = 1 - [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; + repeated cosmos.base.v1beta1.DecCoin pool = 1 [ + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", + (gogoproto.nullable) = false + ]; } diff --git a/third_party/proto/cosmos/distribution/v1beta1/tx.proto b/third_party/proto/cosmos/distribution/v1beta1/tx.proto index e6ce478bcd..e8cb94bdd7 100644 --- a/third_party/proto/cosmos/distribution/v1beta1/tx.proto +++ b/third_party/proto/cosmos/distribution/v1beta1/tx.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package cosmos.distribution.v1beta1; -option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; +option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; option (gogoproto.equal_all) = true; import "gogoproto/gogo.proto"; @@ -11,67 +11,81 @@ import "cosmos/base/v1beta1/coin.proto"; service Msg { // SetWithdrawAddress defines a method to change the withdraw address // for a delegator (or validator self-delegation). - rpc SetWithdrawAddress(MsgSetWithdrawAddress) returns (MsgSetWithdrawAddressResponse); + rpc SetWithdrawAddress(MsgSetWithdrawAddress) + returns (MsgSetWithdrawAddressResponse); // WithdrawDelegatorReward defines a method to withdraw rewards of delegator // from a single validator. - rpc WithdrawDelegatorReward(MsgWithdrawDelegatorReward) returns (MsgWithdrawDelegatorRewardResponse); + rpc WithdrawDelegatorReward(MsgWithdrawDelegatorReward) + returns (MsgWithdrawDelegatorRewardResponse); // WithdrawValidatorCommission defines a method to withdraw the // full commission to the validator address. - rpc WithdrawValidatorCommission(MsgWithdrawValidatorCommission) returns (MsgWithdrawValidatorCommissionResponse); + rpc WithdrawValidatorCommission(MsgWithdrawValidatorCommission) + returns (MsgWithdrawValidatorCommissionResponse); // FundCommunityPool defines a method to allow an account to directly // fund the community pool. - rpc FundCommunityPool(MsgFundCommunityPool) returns (MsgFundCommunityPoolResponse); + rpc FundCommunityPool(MsgFundCommunityPool) + returns (MsgFundCommunityPoolResponse); } // MsgSetWithdrawAddress sets the withdraw address for // a delegator (or validator self-delegation). message MsgSetWithdrawAddress { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - string delegator_address = 1 [(gogoproto.moretags) = "yaml:\"delegator_address\""]; - string withdraw_address = 2 [(gogoproto.moretags) = "yaml:\"withdraw_address\""]; + string delegator_address = 1 + [ (gogoproto.moretags) = "yaml:\"delegator_address\"" ]; + string withdraw_address = 2 + [ (gogoproto.moretags) = "yaml:\"withdraw_address\"" ]; } -// MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type. +// MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response +// type. message MsgSetWithdrawAddressResponse {} // MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator // from a single validator. message MsgWithdrawDelegatorReward { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - string delegator_address = 1 [(gogoproto.moretags) = "yaml:\"delegator_address\""]; - string validator_address = 2 [(gogoproto.moretags) = "yaml:\"validator_address\""]; + string delegator_address = 1 + [ (gogoproto.moretags) = "yaml:\"delegator_address\"" ]; + string validator_address = 2 + [ (gogoproto.moretags) = "yaml:\"validator_address\"" ]; } -// MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward response type. +// MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward +// response type. message MsgWithdrawDelegatorRewardResponse {} // MsgWithdrawValidatorCommission withdraws the full commission to the validator // address. message MsgWithdrawValidatorCommission { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - string validator_address = 1 [(gogoproto.moretags) = "yaml:\"validator_address\""]; + string validator_address = 1 + [ (gogoproto.moretags) = "yaml:\"validator_address\"" ]; } -// MsgWithdrawValidatorCommissionResponse defines the Msg/WithdrawValidatorCommission response type. +// MsgWithdrawValidatorCommissionResponse defines the +// Msg/WithdrawValidatorCommission response type. message MsgWithdrawValidatorCommissionResponse {} // MsgFundCommunityPool allows an account to directly // fund the community pool. message MsgFundCommunityPool { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - repeated cosmos.base.v1beta1.Coin amount = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + repeated cosmos.base.v1beta1.Coin amount = 1 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + ]; string depositor = 2; } diff --git a/third_party/proto/cosmos/evidence/v1beta1/evidence.proto b/third_party/proto/cosmos/evidence/v1beta1/evidence.proto index 14612c314f..3156180eca 100644 --- a/third_party/proto/cosmos/evidence/v1beta1/evidence.proto +++ b/third_party/proto/cosmos/evidence/v1beta1/evidence.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package cosmos.evidence.v1beta1; -option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types"; +option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types"; option (gogoproto.equal_all) = true; import "gogoproto/gogo.proto"; @@ -11,11 +11,13 @@ import "google/protobuf/timestamp.proto"; // signing misbehavior. message Equivocation { option (gogoproto.goproto_stringer) = false; - option (gogoproto.goproto_getters) = false; - option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; + option (gogoproto.equal) = false; - int64 height = 1; - google.protobuf.Timestamp time = 2 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - int64 power = 3; - string consensus_address = 4 [(gogoproto.moretags) = "yaml:\"consensus_address\""]; + int64 height = 1; + google.protobuf.Timestamp time = 2 + [ (gogoproto.nullable) = false, (gogoproto.stdtime) = true ]; + int64 power = 3; + string consensus_address = 4 + [ (gogoproto.moretags) = "yaml:\"consensus_address\"" ]; } \ No newline at end of file diff --git a/third_party/proto/cosmos/evidence/v1beta1/query.proto b/third_party/proto/cosmos/evidence/v1beta1/query.proto index eda00544c7..82fccd1685 100644 --- a/third_party/proto/cosmos/evidence/v1beta1/query.proto +++ b/third_party/proto/cosmos/evidence/v1beta1/query.proto @@ -12,7 +12,8 @@ option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types"; service Query { // Evidence queries evidence based on evidence hash. rpc Evidence(QueryEvidenceRequest) returns (QueryEvidenceResponse) { - option (google.api.http).get = "/cosmos/evidence/v1beta1/evidence/{evidence_hash}"; + option (google.api.http).get = + "/cosmos/evidence/v1beta1/evidence/{evidence_hash}"; } // AllEvidence queries all evidence. @@ -24,7 +25,9 @@ service Query { // QueryEvidenceRequest is the request type for the Query/Evidence RPC method. message QueryEvidenceRequest { // evidence_hash defines the hash of the requested evidence. - bytes evidence_hash = 1 [(gogoproto.casttype) = "github.com/tendermint/tendermint/libs/bytes.HexBytes"]; + bytes evidence_hash = 1 + [ (gogoproto.casttype) = + "github.com/tendermint/tendermint/libs/bytes.HexBytes" ]; } // QueryEvidenceResponse is the response type for the Query/Evidence RPC method. diff --git a/third_party/proto/cosmos/evidence/v1beta1/tx.proto b/third_party/proto/cosmos/evidence/v1beta1/tx.proto index 38795f25d4..9ba9093f74 100644 --- a/third_party/proto/cosmos/evidence/v1beta1/tx.proto +++ b/third_party/proto/cosmos/evidence/v1beta1/tx.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package cosmos.evidence.v1beta1; -option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types"; +option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types"; option (gogoproto.equal_all) = true; import "gogoproto/gogo.proto"; @@ -10,19 +10,20 @@ import "cosmos_proto/cosmos.proto"; // Msg defines the evidence Msg service. service Msg { - // SubmitEvidence submits an arbitrary Evidence of misbehavior such as equivocation or - // counterfactual signing. + // SubmitEvidence submits an arbitrary Evidence of misbehavior such as + // equivocation or counterfactual signing. rpc SubmitEvidence(MsgSubmitEvidence) returns (MsgSubmitEvidenceResponse); } // MsgSubmitEvidence represents a message that supports submitting arbitrary // Evidence of misbehavior such as equivocation or counterfactual signing. message MsgSubmitEvidence { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - string submitter = 1; - google.protobuf.Any evidence = 2 [(cosmos_proto.accepts_interface) = "Evidence"]; + string submitter = 1; + google.protobuf.Any evidence = 2 + [ (cosmos_proto.accepts_interface) = "Evidence" ]; } // MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type. diff --git a/third_party/proto/cosmos/feegrant/v1beta1/feegrant.proto b/third_party/proto/cosmos/feegrant/v1beta1/feegrant.proto index a86691f912..92d648ddad 100644 --- a/third_party/proto/cosmos/feegrant/v1beta1/feegrant.proto +++ b/third_party/proto/cosmos/feegrant/v1beta1/feegrant.proto @@ -19,11 +19,13 @@ message BasicAllowance { // spend_limit specifies the maximum amount of tokens that can be spent // by this allowance and will be updated as tokens are spent. If it is // empty, there is no spend limit and any amount of coins can be spent. - repeated cosmos.base.v1beta1.Coin spend_limit = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + repeated cosmos.base.v1beta1.Coin spend_limit = 1 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + ]; // expiration specifies an optional time when this allowance expires - google.protobuf.Timestamp expiration = 2 [(gogoproto.stdtime) = true]; + google.protobuf.Timestamp expiration = 2 [ (gogoproto.stdtime) = true ]; } // PeriodicAllowance extends Allowance to allow for both a maximum cap, @@ -32,34 +34,42 @@ message PeriodicAllowance { option (cosmos_proto.implements_interface) = "FeeAllowanceI"; // basic specifies a struct of `BasicAllowance` - BasicAllowance basic = 1 [(gogoproto.nullable) = false]; + BasicAllowance basic = 1 [ (gogoproto.nullable) = false ]; // period specifies the time duration in which period_spend_limit coins can // be spent before that allowance is reset - google.protobuf.Duration period = 2 [(gogoproto.stdduration) = true, (gogoproto.nullable) = false]; + google.protobuf.Duration period = 2 + [ (gogoproto.stdduration) = true, (gogoproto.nullable) = false ]; // period_spend_limit specifies the maximum number of coins that can be spent // in the period - repeated cosmos.base.v1beta1.Coin period_spend_limit = 3 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; - - // period_can_spend is the number of coins left to be spent before the period_reset time - repeated cosmos.base.v1beta1.Coin period_can_spend = 4 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + repeated cosmos.base.v1beta1.Coin period_spend_limit = 3 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + ]; + + // period_can_spend is the number of coins left to be spent before the + // period_reset time + repeated cosmos.base.v1beta1.Coin period_can_spend = 4 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + ]; // period_reset is the time at which this period resets and a new one begins, // it is calculated from the start time of the first transaction after the // last period ended - google.protobuf.Timestamp period_reset = 5 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; + google.protobuf.Timestamp period_reset = 5 + [ (gogoproto.stdtime) = true, (gogoproto.nullable) = false ]; } // AllowedMsgAllowance creates allowance only for specified message types. message AllowedMsgAllowance { - option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_getters) = false; option (cosmos_proto.implements_interface) = "FeeAllowanceI"; // allowance can be any of basic and filtered fee allowance. - google.protobuf.Any allowance = 1 [(cosmos_proto.accepts_interface) = "FeeAllowanceI"]; + google.protobuf.Any allowance = 1 + [ (cosmos_proto.accepts_interface) = "FeeAllowanceI" ]; // allowed_messages are the messages for which the grantee has the access. repeated string allowed_messages = 2; @@ -70,9 +80,11 @@ message Grant { // granter is the address of the user granting an allowance of their funds. string granter = 1; - // grantee is the address of the user being granted an allowance of another user's funds. + // grantee is the address of the user being granted an allowance of another + // user's funds. string grantee = 2; // allowance can be any of basic and filtered fee allowance. - google.protobuf.Any allowance = 3 [(cosmos_proto.accepts_interface) = "FeeAllowanceI"]; + google.protobuf.Any allowance = 3 + [ (cosmos_proto.accepts_interface) = "FeeAllowanceI" ]; } diff --git a/third_party/proto/cosmos/feegrant/v1beta1/genesis.proto b/third_party/proto/cosmos/feegrant/v1beta1/genesis.proto index 5b1ac4ca55..9aaecb0dab 100644 --- a/third_party/proto/cosmos/feegrant/v1beta1/genesis.proto +++ b/third_party/proto/cosmos/feegrant/v1beta1/genesis.proto @@ -9,5 +9,5 @@ option go_package = "github.com/cosmos/cosmos-sdk/x/feegrant"; // GenesisState contains a set of fee allowances, persisted from the store message GenesisState { - repeated Grant allowances = 1 [(gogoproto.nullable) = false]; + repeated Grant allowances = 1 [ (gogoproto.nullable) = false ]; } diff --git a/third_party/proto/cosmos/feegrant/v1beta1/query.proto b/third_party/proto/cosmos/feegrant/v1beta1/query.proto index 9cf2a4987d..cd946d3027 100644 --- a/third_party/proto/cosmos/feegrant/v1beta1/query.proto +++ b/third_party/proto/cosmos/feegrant/v1beta1/query.proto @@ -13,12 +13,14 @@ service Query { // Allowance returns fee granted to the grantee by the granter. rpc Allowance(QueryAllowanceRequest) returns (QueryAllowanceResponse) { - option (google.api.http).get = "/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}"; + option (google.api.http).get = + "/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}"; } // Allowances returns all the grants for address. rpc Allowances(QueryAllowancesRequest) returns (QueryAllowancesResponse) { - option (google.api.http).get = "/cosmos/feegrant/v1beta1/allowances/{grantee}"; + option (google.api.http).get = + "/cosmos/feegrant/v1beta1/allowances/{grantee}"; } } @@ -27,17 +29,20 @@ message QueryAllowanceRequest { // granter is the address of the user granting an allowance of their funds. string granter = 1; - // grantee is the address of the user being granted an allowance of another user's funds. + // grantee is the address of the user being granted an allowance of another + // user's funds. string grantee = 2; } -// QueryAllowanceResponse is the response type for the Query/Allowance RPC method. +// QueryAllowanceResponse is the response type for the Query/Allowance RPC +// method. message QueryAllowanceResponse { // allowance is a allowance granted for grantee by granter. cosmos.feegrant.v1beta1.Grant allowance = 1; } -// QueryAllowancesRequest is the request type for the Query/Allowances RPC method. +// QueryAllowancesRequest is the request type for the Query/Allowances RPC +// method. message QueryAllowancesRequest { string grantee = 1; @@ -45,7 +50,8 @@ message QueryAllowancesRequest { cosmos.base.query.v1beta1.PageRequest pagination = 2; } -// QueryAllowancesResponse is the response type for the Query/Allowances RPC method. +// QueryAllowancesResponse is the response type for the Query/Allowances RPC +// method. message QueryAllowancesResponse { // allowances are allowance's granted for grantee by granter. repeated cosmos.feegrant.v1beta1.Grant allowances = 1; diff --git a/third_party/proto/cosmos/feegrant/v1beta1/tx.proto b/third_party/proto/cosmos/feegrant/v1beta1/tx.proto index 2d875e9224..1b5898c3f3 100644 --- a/third_party/proto/cosmos/feegrant/v1beta1/tx.proto +++ b/third_party/proto/cosmos/feegrant/v1beta1/tx.proto @@ -26,14 +26,17 @@ message MsgGrantAllowance { // granter is the address of the user granting an allowance of their funds. string granter = 1; - // grantee is the address of the user being granted an allowance of another user's funds. + // grantee is the address of the user being granted an allowance of another + // user's funds. string grantee = 2; // allowance can be any of basic and filtered fee allowance. - google.protobuf.Any allowance = 3 [(cosmos_proto.accepts_interface) = "FeeAllowanceI"]; + google.protobuf.Any allowance = 3 + [ (cosmos_proto.accepts_interface) = "FeeAllowanceI" ]; } -// MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. +// MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response +// type. message MsgGrantAllowanceResponse {} // MsgRevokeAllowance removes any existing Allowance from Granter to Grantee. @@ -41,9 +44,11 @@ message MsgRevokeAllowance { // granter is the address of the user granting an allowance of their funds. string granter = 1; - // grantee is the address of the user being granted an allowance of another user's funds. + // grantee is the address of the user being granted an allowance of another + // user's funds. string grantee = 2; } -// MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. +// MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response +// type. message MsgRevokeAllowanceResponse {} diff --git a/third_party/proto/cosmos/genutil/v1beta1/genesis.proto b/third_party/proto/cosmos/genutil/v1beta1/genesis.proto index a0207793d9..1dfb5c372c 100644 --- a/third_party/proto/cosmos/genutil/v1beta1/genesis.proto +++ b/third_party/proto/cosmos/genutil/v1beta1/genesis.proto @@ -10,7 +10,7 @@ message GenesisState { // gen_txs defines the genesis transactions. repeated bytes gen_txs = 1 [ (gogoproto.casttype) = "encoding/json.RawMessage", - (gogoproto.jsontag) = "gentxs", + (gogoproto.jsontag) = "gentxs", (gogoproto.moretags) = "yaml:\"gentxs\"" ]; } diff --git a/third_party/proto/cosmos/gov/v1beta1/genesis.proto b/third_party/proto/cosmos/gov/v1beta1/genesis.proto index a999500449..6f6fcef326 100644 --- a/third_party/proto/cosmos/gov/v1beta1/genesis.proto +++ b/third_party/proto/cosmos/gov/v1beta1/genesis.proto @@ -10,17 +10,30 @@ option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types"; // GenesisState defines the gov module's genesis state. message GenesisState { // starting_proposal_id is the ID of the starting proposal. - uint64 starting_proposal_id = 1 [(gogoproto.moretags) = "yaml:\"starting_proposal_id\""]; + uint64 starting_proposal_id = 1 + [ (gogoproto.moretags) = "yaml:\"starting_proposal_id\"" ]; // deposits defines all the deposits present at genesis. - repeated Deposit deposits = 2 [(gogoproto.castrepeated) = "Deposits", (gogoproto.nullable) = false]; + repeated Deposit deposits = 2 + [ (gogoproto.castrepeated) = "Deposits", (gogoproto.nullable) = false ]; // votes defines all the votes present at genesis. - repeated Vote votes = 3 [(gogoproto.castrepeated) = "Votes", (gogoproto.nullable) = false]; + repeated Vote votes = 3 + [ (gogoproto.castrepeated) = "Votes", (gogoproto.nullable) = false ]; // proposals defines all the proposals present at genesis. - repeated Proposal proposals = 4 [(gogoproto.castrepeated) = "Proposals", (gogoproto.nullable) = false]; + repeated Proposal proposals = 4 + [ (gogoproto.castrepeated) = "Proposals", (gogoproto.nullable) = false ]; // params defines all the paramaters of related to deposit. - DepositParams deposit_params = 5 [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"deposit_params\""]; + DepositParams deposit_params = 5 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"deposit_params\"" + ]; // params defines all the paramaters of related to voting. - VotingParams voting_params = 6 [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"voting_params\""]; + VotingParams voting_params = 6 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"voting_params\"" + ]; // params defines all the paramaters of related to tally. - TallyParams tally_params = 7 [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"tally_params\""]; + TallyParams tally_params = 7 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"tally_params\"" + ]; } diff --git a/third_party/proto/cosmos/gov/v1beta1/gov.proto b/third_party/proto/cosmos/gov/v1beta1/gov.proto index 344b5ada19..bd3434f506 100644 --- a/third_party/proto/cosmos/gov/v1beta1/gov.proto +++ b/third_party/proto/cosmos/gov/v1beta1/gov.proto @@ -8,25 +8,28 @@ import "google/protobuf/timestamp.proto"; import "google/protobuf/any.proto"; import "google/protobuf/duration.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types"; +option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types"; option (gogoproto.goproto_stringer_all) = false; -option (gogoproto.stringer_all) = false; -option (gogoproto.goproto_getters_all) = false; +option (gogoproto.stringer_all) = false; +option (gogoproto.goproto_getters_all) = false; // VoteOption enumerates the valid vote options for a given governance proposal. enum VoteOption { option (gogoproto.goproto_enum_prefix) = false; // VOTE_OPTION_UNSPECIFIED defines a no-op vote option. - VOTE_OPTION_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "OptionEmpty"]; + VOTE_OPTION_UNSPECIFIED = 0 + [ (gogoproto.enumvalue_customname) = "OptionEmpty" ]; // VOTE_OPTION_YES defines a yes vote option. - VOTE_OPTION_YES = 1 [(gogoproto.enumvalue_customname) = "OptionYes"]; + VOTE_OPTION_YES = 1 [ (gogoproto.enumvalue_customname) = "OptionYes" ]; // VOTE_OPTION_ABSTAIN defines an abstain vote option. - VOTE_OPTION_ABSTAIN = 2 [(gogoproto.enumvalue_customname) = "OptionAbstain"]; + VOTE_OPTION_ABSTAIN = 2 + [ (gogoproto.enumvalue_customname) = "OptionAbstain" ]; // VOTE_OPTION_NO defines a no vote option. - VOTE_OPTION_NO = 3 [(gogoproto.enumvalue_customname) = "OptionNo"]; + VOTE_OPTION_NO = 3 [ (gogoproto.enumvalue_customname) = "OptionNo" ]; // VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. - VOTE_OPTION_NO_WITH_VETO = 4 [(gogoproto.enumvalue_customname) = "OptionNoWithVeto"]; + VOTE_OPTION_NO_WITH_VETO = 4 + [ (gogoproto.enumvalue_customname) = "OptionNoWithVeto" ]; } // WeightedVoteOption defines a unit of vote for vote split. @@ -34,10 +37,10 @@ enum VoteOption { // Since: cosmos-sdk 0.43 message WeightedVoteOption { VoteOption option = 1; - string weight = 2 [ + string weight = 2 [ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"weight\"" + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"weight\"" ]; } @@ -48,7 +51,7 @@ message TextProposal { option (gogoproto.equal) = true; - string title = 1; + string title = 1; string description = 2; } @@ -56,36 +59,55 @@ message TextProposal { // proposal. message Deposit { option (gogoproto.goproto_getters) = false; - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; - uint64 proposal_id = 1 [(gogoproto.moretags) = "yaml:\"proposal_id\""]; - string depositor = 2; - repeated cosmos.base.v1beta1.Coin amount = 3 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + uint64 proposal_id = 1 [ (gogoproto.moretags) = "yaml:\"proposal_id\"" ]; + string depositor = 2; + repeated cosmos.base.v1beta1.Coin amount = 3 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + ]; } // Proposal defines the core field members of a governance proposal. message Proposal { option (gogoproto.equal) = true; - uint64 proposal_id = 1 [(gogoproto.jsontag) = "id", (gogoproto.moretags) = "yaml:\"id\""]; - google.protobuf.Any content = 2 [(cosmos_proto.accepts_interface) = "Content"]; - ProposalStatus status = 3 [(gogoproto.moretags) = "yaml:\"proposal_status\""]; - TallyResult final_tally_result = 4 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"final_tally_result\""]; - google.protobuf.Timestamp submit_time = 5 - [(gogoproto.stdtime) = true, (gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"submit_time\""]; - google.protobuf.Timestamp deposit_end_time = 6 - [(gogoproto.stdtime) = true, (gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"deposit_end_time\""]; + uint64 proposal_id = 1 + [ (gogoproto.jsontag) = "id", (gogoproto.moretags) = "yaml:\"id\"" ]; + google.protobuf.Any content = 2 + [ (cosmos_proto.accepts_interface) = "Content" ]; + ProposalStatus status = 3 + [ (gogoproto.moretags) = "yaml:\"proposal_status\"" ]; + TallyResult final_tally_result = 4 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"final_tally_result\"" + ]; + google.protobuf.Timestamp submit_time = 5 [ + (gogoproto.stdtime) = true, + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"submit_time\"" + ]; + google.protobuf.Timestamp deposit_end_time = 6 [ + (gogoproto.stdtime) = true, + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"deposit_end_time\"" + ]; repeated cosmos.base.v1beta1.Coin total_deposit = 7 [ - (gogoproto.nullable) = false, + (gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", - (gogoproto.moretags) = "yaml:\"total_deposit\"" + (gogoproto.moretags) = "yaml:\"total_deposit\"" + ]; + google.protobuf.Timestamp voting_start_time = 8 [ + (gogoproto.stdtime) = true, + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"voting_start_time\"" + ]; + google.protobuf.Timestamp voting_end_time = 9 [ + (gogoproto.stdtime) = true, + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"voting_end_time\"" ]; - google.protobuf.Timestamp voting_start_time = 8 - [(gogoproto.stdtime) = true, (gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"voting_start_time\""]; - google.protobuf.Timestamp voting_end_time = 9 - [(gogoproto.stdtime) = true, (gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"voting_end_time\""]; } // ProposalStatus enumerates the valid statuses of a proposal. @@ -93,35 +115,50 @@ enum ProposalStatus { option (gogoproto.goproto_enum_prefix) = false; // PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. - PROPOSAL_STATUS_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "StatusNil"]; + PROPOSAL_STATUS_UNSPECIFIED = 0 + [ (gogoproto.enumvalue_customname) = "StatusNil" ]; // PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit // period. - PROPOSAL_STATUS_DEPOSIT_PERIOD = 1 [(gogoproto.enumvalue_customname) = "StatusDepositPeriod"]; + PROPOSAL_STATUS_DEPOSIT_PERIOD = 1 + [ (gogoproto.enumvalue_customname) = "StatusDepositPeriod" ]; // PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting // period. - PROPOSAL_STATUS_VOTING_PERIOD = 2 [(gogoproto.enumvalue_customname) = "StatusVotingPeriod"]; + PROPOSAL_STATUS_VOTING_PERIOD = 2 + [ (gogoproto.enumvalue_customname) = "StatusVotingPeriod" ]; // PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has // passed. - PROPOSAL_STATUS_PASSED = 3 [(gogoproto.enumvalue_customname) = "StatusPassed"]; + PROPOSAL_STATUS_PASSED = 3 + [ (gogoproto.enumvalue_customname) = "StatusPassed" ]; // PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has // been rejected. - PROPOSAL_STATUS_REJECTED = 4 [(gogoproto.enumvalue_customname) = "StatusRejected"]; + PROPOSAL_STATUS_REJECTED = 4 + [ (gogoproto.enumvalue_customname) = "StatusRejected" ]; // PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has // failed. - PROPOSAL_STATUS_FAILED = 5 [(gogoproto.enumvalue_customname) = "StatusFailed"]; + PROPOSAL_STATUS_FAILED = 5 + [ (gogoproto.enumvalue_customname) = "StatusFailed" ]; } // TallyResult defines a standard tally for a governance proposal. message TallyResult { option (gogoproto.equal) = true; - string yes = 1 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false]; - string abstain = 2 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false]; - string no = 3 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false]; + string yes = 1 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false + ]; + string abstain = 2 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false + ]; + string no = 3 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false + ]; string no_with_veto = 4 [ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"no_with_veto\"" + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"no_with_veto\"" ]; } @@ -129,35 +166,35 @@ message TallyResult { // A Vote consists of a proposal ID, the voter, and the vote option. message Vote { option (gogoproto.goproto_stringer) = false; - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; - uint64 proposal_id = 1 [(gogoproto.moretags) = "yaml:\"proposal_id\""]; - string voter = 2; + uint64 proposal_id = 1 [ (gogoproto.moretags) = "yaml:\"proposal_id\"" ]; + string voter = 2; // Deprecated: Prefer to use `options` instead. This field is set in queries // if and only if `len(options) == 1` and that option has weight 1. In all // other cases, this field will default to VOTE_OPTION_UNSPECIFIED. - VoteOption option = 3 [deprecated = true]; + VoteOption option = 3 [ deprecated = true ]; // Since: cosmos-sdk 0.43 - repeated WeightedVoteOption options = 4 [(gogoproto.nullable) = false]; + repeated WeightedVoteOption options = 4 [ (gogoproto.nullable) = false ]; } // DepositParams defines the params for deposits on governance proposals. message DepositParams { // Minimum deposit for a proposal to enter voting period. repeated cosmos.base.v1beta1.Coin min_deposit = 1 [ - (gogoproto.nullable) = false, + (gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", - (gogoproto.moretags) = "yaml:\"min_deposit\"", - (gogoproto.jsontag) = "min_deposit,omitempty" + (gogoproto.moretags) = "yaml:\"min_deposit\"", + (gogoproto.jsontag) = "min_deposit,omitempty" ]; // Maximum period for Atom holders to deposit on a proposal. Initial value: 2 // months. google.protobuf.Duration max_deposit_period = 2 [ - (gogoproto.nullable) = false, + (gogoproto.nullable) = false, (gogoproto.stdduration) = true, - (gogoproto.jsontag) = "max_deposit_period,omitempty", - (gogoproto.moretags) = "yaml:\"max_deposit_period\"" + (gogoproto.jsontag) = "max_deposit_period,omitempty", + (gogoproto.moretags) = "yaml:\"max_deposit_period\"" ]; } @@ -165,10 +202,10 @@ message DepositParams { message VotingParams { // Length of the voting period. google.protobuf.Duration voting_period = 1 [ - (gogoproto.nullable) = false, + (gogoproto.nullable) = false, (gogoproto.stdduration) = true, - (gogoproto.jsontag) = "voting_period,omitempty", - (gogoproto.moretags) = "yaml:\"voting_period\"" + (gogoproto.jsontag) = "voting_period,omitempty", + (gogoproto.moretags) = "yaml:\"voting_period\"" ]; } @@ -178,23 +215,23 @@ message TallyParams { // considered valid. bytes quorum = 1 [ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false, - (gogoproto.jsontag) = "quorum,omitempty" + (gogoproto.nullable) = false, + (gogoproto.jsontag) = "quorum,omitempty" ]; // Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. bytes threshold = 2 [ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false, - (gogoproto.jsontag) = "threshold,omitempty" + (gogoproto.nullable) = false, + (gogoproto.jsontag) = "threshold,omitempty" ]; // Minimum value of Veto votes to Total votes ratio for proposal to be // vetoed. Default value: 1/3. bytes veto_threshold = 3 [ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false, - (gogoproto.jsontag) = "veto_threshold,omitempty", - (gogoproto.moretags) = "yaml:\"veto_threshold\"" + (gogoproto.nullable) = false, + (gogoproto.jsontag) = "veto_threshold,omitempty", + (gogoproto.moretags) = "yaml:\"veto_threshold\"" ]; } diff --git a/third_party/proto/cosmos/gov/v1beta1/query.proto b/third_party/proto/cosmos/gov/v1beta1/query.proto index da62bdbad1..ab8916c4a5 100644 --- a/third_party/proto/cosmos/gov/v1beta1/query.proto +++ b/third_party/proto/cosmos/gov/v1beta1/query.proto @@ -12,7 +12,8 @@ option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types"; service Query { // Proposal queries proposal details based on ProposalID. rpc Proposal(QueryProposalRequest) returns (QueryProposalResponse) { - option (google.api.http).get = "/cosmos/gov/v1beta1/proposals/{proposal_id}"; + option (google.api.http).get = + "/cosmos/gov/v1beta1/proposals/{proposal_id}"; } // Proposals queries all proposals based on given status. @@ -22,12 +23,14 @@ service Query { // Vote queries voted information based on proposalID, voterAddr. rpc Vote(QueryVoteRequest) returns (QueryVoteResponse) { - option (google.api.http).get = "/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}"; + option (google.api.http).get = + "/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}"; } // Votes queries votes of a given proposal. rpc Votes(QueryVotesRequest) returns (QueryVotesResponse) { - option (google.api.http).get = "/cosmos/gov/v1beta1/proposals/{proposal_id}/votes"; + option (google.api.http).get = + "/cosmos/gov/v1beta1/proposals/{proposal_id}/votes"; } // Params queries all parameters of the gov module. @@ -37,17 +40,20 @@ service Query { // Deposit queries single deposit information based proposalID, depositAddr. rpc Deposit(QueryDepositRequest) returns (QueryDepositResponse) { - option (google.api.http).get = "/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}"; + option (google.api.http).get = + "/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}"; } // Deposits queries all deposits of a single proposal. rpc Deposits(QueryDepositsRequest) returns (QueryDepositsResponse) { - option (google.api.http).get = "/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits"; + option (google.api.http).get = + "/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits"; } // TallyResult queries the tally of a proposal vote. rpc TallyResult(QueryTallyResultRequest) returns (QueryTallyResultResponse) { - option (google.api.http).get = "/cosmos/gov/v1beta1/proposals/{proposal_id}/tally"; + option (google.api.http).get = + "/cosmos/gov/v1beta1/proposals/{proposal_id}/tally"; } } @@ -59,12 +65,12 @@ message QueryProposalRequest { // QueryProposalResponse is the response type for the Query/Proposal RPC method. message QueryProposalResponse { - Proposal proposal = 1 [(gogoproto.nullable) = false]; + Proposal proposal = 1 [ (gogoproto.nullable) = false ]; } // QueryProposalsRequest is the request type for the Query/Proposals RPC method. message QueryProposalsRequest { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // proposal_status defines the status of the proposals. @@ -83,7 +89,7 @@ message QueryProposalsRequest { // QueryProposalsResponse is the response type for the Query/Proposals RPC // method. message QueryProposalsResponse { - repeated Proposal proposals = 1 [(gogoproto.nullable) = false]; + repeated Proposal proposals = 1 [ (gogoproto.nullable) = false ]; // pagination defines the pagination in the response. cosmos.base.query.v1beta1.PageResponse pagination = 2; @@ -91,7 +97,7 @@ message QueryProposalsResponse { // QueryVoteRequest is the request type for the Query/Vote RPC method. message QueryVoteRequest { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // proposal_id defines the unique id of the proposal. @@ -104,7 +110,7 @@ message QueryVoteRequest { // QueryVoteResponse is the response type for the Query/Vote RPC method. message QueryVoteResponse { // vote defined the queried vote. - Vote vote = 1 [(gogoproto.nullable) = false]; + Vote vote = 1 [ (gogoproto.nullable) = false ]; } // QueryVotesRequest is the request type for the Query/Votes RPC method. @@ -119,7 +125,7 @@ message QueryVotesRequest { // QueryVotesResponse is the response type for the Query/Votes RPC method. message QueryVotesResponse { // votes defined the queried votes. - repeated Vote votes = 1 [(gogoproto.nullable) = false]; + repeated Vote votes = 1 [ (gogoproto.nullable) = false ]; // pagination defines the pagination in the response. cosmos.base.query.v1beta1.PageResponse pagination = 2; @@ -135,17 +141,17 @@ message QueryParamsRequest { // QueryParamsResponse is the response type for the Query/Params RPC method. message QueryParamsResponse { // voting_params defines the parameters related to voting. - VotingParams voting_params = 1 [(gogoproto.nullable) = false]; + VotingParams voting_params = 1 [ (gogoproto.nullable) = false ]; // deposit_params defines the parameters related to deposit. - DepositParams deposit_params = 2 [(gogoproto.nullable) = false]; + DepositParams deposit_params = 2 [ (gogoproto.nullable) = false ]; // tally_params defines the parameters related to tally. - TallyParams tally_params = 3 [(gogoproto.nullable) = false]; + TallyParams tally_params = 3 [ (gogoproto.nullable) = false ]; } // QueryDepositRequest is the request type for the Query/Deposit RPC method. message QueryDepositRequest { option (gogoproto.goproto_getters) = false; - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; // proposal_id defines the unique id of the proposal. uint64 proposal_id = 1; @@ -157,7 +163,7 @@ message QueryDepositRequest { // QueryDepositResponse is the response type for the Query/Deposit RPC method. message QueryDepositResponse { // deposit defines the requested deposit. - Deposit deposit = 1 [(gogoproto.nullable) = false]; + Deposit deposit = 1 [ (gogoproto.nullable) = false ]; } // QueryDepositsRequest is the request type for the Query/Deposits RPC method. @@ -171,7 +177,7 @@ message QueryDepositsRequest { // QueryDepositsResponse is the response type for the Query/Deposits RPC method. message QueryDepositsResponse { - repeated Deposit deposits = 1 [(gogoproto.nullable) = false]; + repeated Deposit deposits = 1 [ (gogoproto.nullable) = false ]; // pagination defines the pagination in the response. cosmos.base.query.v1beta1.PageResponse pagination = 2; @@ -186,5 +192,5 @@ message QueryTallyResultRequest { // QueryTallyResultResponse is the response type for the Query/Tally RPC method. message QueryTallyResultResponse { // tally defines the requested tally. - TallyResult tally = 1 [(gogoproto.nullable) = false]; + TallyResult tally = 1 [ (gogoproto.nullable) = false ]; } diff --git a/third_party/proto/cosmos/gov/v1beta1/tx.proto b/third_party/proto/cosmos/gov/v1beta1/tx.proto index 36c0a95d27..b7861c642a 100644 --- a/third_party/proto/cosmos/gov/v1beta1/tx.proto +++ b/third_party/proto/cosmos/gov/v1beta1/tx.proto @@ -17,7 +17,8 @@ service Msg { // Vote defines a method to add a vote on a specific proposal. rpc Vote(MsgVote) returns (MsgVoteResponse); - // VoteWeighted defines a method to add a weighted vote on a specific proposal. + // VoteWeighted defines a method to add a weighted vote on a specific + // proposal. // // Since: cosmos-sdk 0.43 rpc VoteWeighted(MsgVoteWeighted) returns (MsgVoteWeightedResponse); @@ -29,35 +30,42 @@ service Msg { // MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary // proposal Content. message MsgSubmitProposal { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_stringer) = false; - option (gogoproto.stringer) = false; - option (gogoproto.goproto_getters) = false; + option (gogoproto.stringer) = false; + option (gogoproto.goproto_getters) = false; - google.protobuf.Any content = 1 [(cosmos_proto.accepts_interface) = "Content"]; + google.protobuf.Any content = 1 + [ (cosmos_proto.accepts_interface) = "Content" ]; repeated cosmos.base.v1beta1.Coin initial_deposit = 2 [ - (gogoproto.nullable) = false, + (gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", - (gogoproto.moretags) = "yaml:\"initial_deposit\"" + (gogoproto.moretags) = "yaml:\"initial_deposit\"" ]; string proposer = 3; } // MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. message MsgSubmitProposalResponse { - uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id", (gogoproto.moretags) = "yaml:\"proposal_id\""]; + uint64 proposal_id = 1 [ + (gogoproto.jsontag) = "proposal_id", + (gogoproto.moretags) = "yaml:\"proposal_id\"" + ]; } // MsgVote defines a message to cast a vote. message MsgVote { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_stringer) = false; - option (gogoproto.stringer) = false; - option (gogoproto.goproto_getters) = false; + option (gogoproto.stringer) = false; + option (gogoproto.goproto_getters) = false; - uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id", (gogoproto.moretags) = "yaml:\"proposal_id\""]; - string voter = 2; - VoteOption option = 3; + uint64 proposal_id = 1 [ + (gogoproto.jsontag) = "proposal_id", + (gogoproto.moretags) = "yaml:\"proposal_id\"" + ]; + string voter = 2; + VoteOption option = 3; } // MsgVoteResponse defines the Msg/Vote response type. @@ -67,14 +75,14 @@ message MsgVoteResponse {} // // Since: cosmos-sdk 0.43 message MsgVoteWeighted { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_stringer) = false; - option (gogoproto.stringer) = false; - option (gogoproto.goproto_getters) = false; + option (gogoproto.stringer) = false; + option (gogoproto.goproto_getters) = false; - uint64 proposal_id = 1 [(gogoproto.moretags) = "yaml:\"proposal_id\""]; - string voter = 2; - repeated WeightedVoteOption options = 3 [(gogoproto.nullable) = false]; + uint64 proposal_id = 1 [ (gogoproto.moretags) = "yaml:\"proposal_id\"" ]; + string voter = 2; + repeated WeightedVoteOption options = 3 [ (gogoproto.nullable) = false ]; } // MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. @@ -84,15 +92,20 @@ message MsgVoteWeightedResponse {} // MsgDeposit defines a message to submit a deposit to an existing proposal. message MsgDeposit { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_stringer) = false; - option (gogoproto.stringer) = false; - option (gogoproto.goproto_getters) = false; + option (gogoproto.stringer) = false; + option (gogoproto.goproto_getters) = false; - uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id", (gogoproto.moretags) = "yaml:\"proposal_id\""]; - string depositor = 2; - repeated cosmos.base.v1beta1.Coin amount = 3 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + uint64 proposal_id = 1 [ + (gogoproto.jsontag) = "proposal_id", + (gogoproto.moretags) = "yaml:\"proposal_id\"" + ]; + string depositor = 2; + repeated cosmos.base.v1beta1.Coin amount = 3 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + ]; } // MsgDepositResponse defines the Msg/Deposit response type. diff --git a/third_party/proto/cosmos/mint/v1beta1/genesis.proto b/third_party/proto/cosmos/mint/v1beta1/genesis.proto index 4e783fb544..255dfad72a 100644 --- a/third_party/proto/cosmos/mint/v1beta1/genesis.proto +++ b/third_party/proto/cosmos/mint/v1beta1/genesis.proto @@ -9,8 +9,8 @@ option go_package = "github.com/cosmos/cosmos-sdk/x/mint/types"; // GenesisState defines the mint module's genesis state. message GenesisState { // minter is a space for holding current inflation information. - Minter minter = 1 [(gogoproto.nullable) = false]; + Minter minter = 1 [ (gogoproto.nullable) = false ]; // params defines all the paramaters of the module. - Params params = 2 [(gogoproto.nullable) = false]; + Params params = 2 [ (gogoproto.nullable) = false ]; } diff --git a/third_party/proto/cosmos/mint/v1beta1/mint.proto b/third_party/proto/cosmos/mint/v1beta1/mint.proto index f94d4ae2e8..0bea1c3a94 100644 --- a/third_party/proto/cosmos/mint/v1beta1/mint.proto +++ b/third_party/proto/cosmos/mint/v1beta1/mint.proto @@ -8,13 +8,15 @@ import "gogoproto/gogo.proto"; // Minter represents the minting state. message Minter { // current annual inflation rate - string inflation = 1 - [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; + string inflation = 1 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; // current annual expected provisions string annual_provisions = 2 [ - (gogoproto.moretags) = "yaml:\"annual_provisions\"", + (gogoproto.moretags) = "yaml:\"annual_provisions\"", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false + (gogoproto.nullable) = false ]; } @@ -26,28 +28,29 @@ message Params { string mint_denom = 1; // maximum annual change in inflation rate string inflation_rate_change = 2 [ - (gogoproto.moretags) = "yaml:\"inflation_rate_change\"", + (gogoproto.moretags) = "yaml:\"inflation_rate_change\"", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false + (gogoproto.nullable) = false ]; // maximum inflation rate string inflation_max = 3 [ - (gogoproto.moretags) = "yaml:\"inflation_max\"", + (gogoproto.moretags) = "yaml:\"inflation_max\"", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false + (gogoproto.nullable) = false ]; // minimum inflation rate string inflation_min = 4 [ - (gogoproto.moretags) = "yaml:\"inflation_min\"", + (gogoproto.moretags) = "yaml:\"inflation_min\"", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false + (gogoproto.nullable) = false ]; // goal of percent bonded atoms string goal_bonded = 5 [ - (gogoproto.moretags) = "yaml:\"goal_bonded\"", + (gogoproto.moretags) = "yaml:\"goal_bonded\"", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false + (gogoproto.nullable) = false ]; // expected blocks per year - uint64 blocks_per_year = 6 [(gogoproto.moretags) = "yaml:\"blocks_per_year\""]; + uint64 blocks_per_year = 6 + [ (gogoproto.moretags) = "yaml:\"blocks_per_year\"" ]; } diff --git a/third_party/proto/cosmos/mint/v1beta1/query.proto b/third_party/proto/cosmos/mint/v1beta1/query.proto index acd341d777..e672e3bf3a 100644 --- a/third_party/proto/cosmos/mint/v1beta1/query.proto +++ b/third_party/proto/cosmos/mint/v1beta1/query.proto @@ -20,7 +20,8 @@ service Query { } // AnnualProvisions current minting annual provisions value. - rpc AnnualProvisions(QueryAnnualProvisionsRequest) returns (QueryAnnualProvisionsResponse) { + rpc AnnualProvisions(QueryAnnualProvisionsRequest) + returns (QueryAnnualProvisionsResponse) { option (google.api.http).get = "/cosmos/mint/v1beta1/annual_provisions"; } } @@ -31,7 +32,7 @@ message QueryParamsRequest {} // QueryParamsResponse is the response type for the Query/Params RPC method. message QueryParamsResponse { // params defines the parameters of the module. - Params params = 1 [(gogoproto.nullable) = false]; + Params params = 1 [ (gogoproto.nullable) = false ]; } // QueryInflationRequest is the request type for the Query/Inflation RPC method. @@ -41,7 +42,10 @@ message QueryInflationRequest {} // method. message QueryInflationResponse { // inflation is the current minting inflation value. - bytes inflation = 1 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; + bytes inflation = 1 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; } // QueryAnnualProvisionsRequest is the request type for the @@ -52,6 +56,8 @@ message QueryAnnualProvisionsRequest {} // Query/AnnualProvisions RPC method. message QueryAnnualProvisionsResponse { // annual_provisions is the current minting annual provisions value. - bytes annual_provisions = 1 - [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; + bytes annual_provisions = 1 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; } diff --git a/third_party/proto/cosmos/params/v1beta1/params.proto b/third_party/proto/cosmos/params/v1beta1/params.proto index 5382fd7999..7d3dae30b7 100644 --- a/third_party/proto/cosmos/params/v1beta1/params.proto +++ b/third_party/proto/cosmos/params/v1beta1/params.proto @@ -1,19 +1,19 @@ syntax = "proto3"; package cosmos.params.v1beta1; -option go_package = "github.com/cosmos/cosmos-sdk/x/params/types/proposal"; +option go_package = "github.com/cosmos/cosmos-sdk/x/params/types/proposal"; option (gogoproto.equal_all) = true; import "gogoproto/gogo.proto"; // ParameterChangeProposal defines a proposal to change one or more parameters. message ParameterChangeProposal { - option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_getters) = false; option (gogoproto.goproto_stringer) = false; - string title = 1; - string description = 2; - repeated ParamChange changes = 3 [(gogoproto.nullable) = false]; + string title = 1; + string description = 2; + repeated ParamChange changes = 3 [ (gogoproto.nullable) = false ]; } // ParamChange defines an individual parameter change, for use in @@ -22,6 +22,6 @@ message ParamChange { option (gogoproto.goproto_stringer) = false; string subspace = 1; - string key = 2; - string value = 3; + string key = 2; + string value = 3; } diff --git a/third_party/proto/cosmos/params/v1beta1/query.proto b/third_party/proto/cosmos/params/v1beta1/query.proto index 1078e02ae3..b00f5f8e72 100644 --- a/third_party/proto/cosmos/params/v1beta1/query.proto +++ b/third_party/proto/cosmos/params/v1beta1/query.proto @@ -28,5 +28,5 @@ message QueryParamsRequest { // QueryParamsResponse is response type for the Query/Params RPC method. message QueryParamsResponse { // param defines the queried parameter. - ParamChange param = 1 [(gogoproto.nullable) = false]; + ParamChange param = 1 [ (gogoproto.nullable) = false ]; } diff --git a/third_party/proto/cosmos/slashing/v1beta1/genesis.proto b/third_party/proto/cosmos/slashing/v1beta1/genesis.proto index a7aebcfbad..6d1cff1e84 100644 --- a/third_party/proto/cosmos/slashing/v1beta1/genesis.proto +++ b/third_party/proto/cosmos/slashing/v1beta1/genesis.proto @@ -9,17 +9,21 @@ import "cosmos/slashing/v1beta1/slashing.proto"; // GenesisState defines the slashing module's genesis state. message GenesisState { // params defines all the paramaters of related to deposit. - Params params = 1 [(gogoproto.nullable) = false]; + Params params = 1 [ (gogoproto.nullable) = false ]; // signing_infos represents a map between validator addresses and their // signing infos. - repeated SigningInfo signing_infos = 2 - [(gogoproto.moretags) = "yaml:\"signing_infos\"", (gogoproto.nullable) = false]; + repeated SigningInfo signing_infos = 2 [ + (gogoproto.moretags) = "yaml:\"signing_infos\"", + (gogoproto.nullable) = false + ]; // missed_blocks represents a map between validator addresses and their // missed blocks. - repeated ValidatorMissedBlocks missed_blocks = 3 - [(gogoproto.moretags) = "yaml:\"missed_blocks\"", (gogoproto.nullable) = false]; + repeated ValidatorMissedBlocks missed_blocks = 3 [ + (gogoproto.moretags) = "yaml:\"missed_blocks\"", + (gogoproto.nullable) = false + ]; } // SigningInfo stores validator signing info of corresponding address. @@ -27,8 +31,10 @@ message SigningInfo { // address is the validator address. string address = 1; // validator_signing_info represents the signing info of this validator. - ValidatorSigningInfo validator_signing_info = 2 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"validator_signing_info\""]; + ValidatorSigningInfo validator_signing_info = 2 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"validator_signing_info\"" + ]; } // ValidatorMissedBlocks contains array of missed blocks of corresponding @@ -37,8 +43,10 @@ message ValidatorMissedBlocks { // address is the validator address. string address = 1; // missed_blocks is an array of missed blocks by the validator. - repeated MissedBlock missed_blocks = 2 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"missed_blocks\""]; + repeated MissedBlock missed_blocks = 2 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"missed_blocks\"" + ]; } // MissedBlock contains height and missed status as boolean. diff --git a/third_party/proto/cosmos/slashing/v1beta1/query.proto b/third_party/proto/cosmos/slashing/v1beta1/query.proto index 869049a0ed..f189632899 100644 --- a/third_party/proto/cosmos/slashing/v1beta1/query.proto +++ b/third_party/proto/cosmos/slashing/v1beta1/query.proto @@ -17,11 +17,13 @@ service Query { // SigningInfo queries the signing info of given cons address rpc SigningInfo(QuerySigningInfoRequest) returns (QuerySigningInfoResponse) { - option (google.api.http).get = "/cosmos/slashing/v1beta1/signing_infos/{cons_address}"; + option (google.api.http).get = + "/cosmos/slashing/v1beta1/signing_infos/{cons_address}"; } // SigningInfos queries signing info of all validators - rpc SigningInfos(QuerySigningInfosRequest) returns (QuerySigningInfosResponse) { + rpc SigningInfos(QuerySigningInfosRequest) + returns (QuerySigningInfosResponse) { option (google.api.http).get = "/cosmos/slashing/v1beta1/signing_infos"; } } @@ -31,7 +33,7 @@ message QueryParamsRequest {} // QueryParamsResponse is the response type for the Query/Params RPC method message QueryParamsResponse { - Params params = 1 [(gogoproto.nullable) = false]; + Params params = 1 [ (gogoproto.nullable) = false ]; } // QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC @@ -45,7 +47,7 @@ message QuerySigningInfoRequest { // method message QuerySigningInfoResponse { // val_signing_info is the signing info of requested val cons address - ValidatorSigningInfo val_signing_info = 1 [(gogoproto.nullable) = false]; + ValidatorSigningInfo val_signing_info = 1 [ (gogoproto.nullable) = false ]; } // QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC @@ -58,6 +60,7 @@ message QuerySigningInfosRequest { // method message QuerySigningInfosResponse { // info is the signing info of all validators - repeated cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(gogoproto.nullable) = false]; - cosmos.base.query.v1beta1.PageResponse pagination = 2; + repeated cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 + [ (gogoproto.nullable) = false ]; + cosmos.base.query.v1beta1.PageResponse pagination = 2; } diff --git a/third_party/proto/cosmos/slashing/v1beta1/slashing.proto b/third_party/proto/cosmos/slashing/v1beta1/slashing.proto index 882a0fb60c..745721e52d 100644 --- a/third_party/proto/cosmos/slashing/v1beta1/slashing.proto +++ b/third_party/proto/cosmos/slashing/v1beta1/slashing.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package cosmos.slashing.v1beta1; -option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types"; +option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types"; option (gogoproto.equal_all) = true; import "gogoproto/gogo.proto"; @@ -11,48 +11,55 @@ import "google/protobuf/timestamp.proto"; // ValidatorSigningInfo defines a validator's signing info for monitoring their // liveness activity. message ValidatorSigningInfo { - option (gogoproto.equal) = true; + option (gogoproto.equal) = true; option (gogoproto.goproto_stringer) = false; string address = 1; // Height at which validator was first a candidate OR was unjailed - int64 start_height = 2 [(gogoproto.moretags) = "yaml:\"start_height\""]; + int64 start_height = 2 [ (gogoproto.moretags) = "yaml:\"start_height\"" ]; // Index which is incremented each time the validator was a bonded - // in a block and may have signed a precommit or not. This in conjunction with the - // `SignedBlocksWindow` param determines the index in the `MissedBlocksBitArray`. - int64 index_offset = 3 [(gogoproto.moretags) = "yaml:\"index_offset\""]; + // in a block and may have signed a precommit or not. This in conjunction with + // the `SignedBlocksWindow` param determines the index in the + // `MissedBlocksBitArray`. + int64 index_offset = 3 [ (gogoproto.moretags) = "yaml:\"index_offset\"" ]; // Timestamp until which the validator is jailed due to liveness downtime. - google.protobuf.Timestamp jailed_until = 4 - [(gogoproto.moretags) = "yaml:\"jailed_until\"", (gogoproto.stdtime) = true, (gogoproto.nullable) = false]; - // Whether or not a validator has been tombstoned (killed out of validator set). It is set - // once the validator commits an equivocation or for any other configured misbehiavor. + google.protobuf.Timestamp jailed_until = 4 [ + (gogoproto.moretags) = "yaml:\"jailed_until\"", + (gogoproto.stdtime) = true, + (gogoproto.nullable) = false + ]; + // Whether or not a validator has been tombstoned (killed out of validator + // set). It is set once the validator commits an equivocation or for any other + // configured misbehiavor. bool tombstoned = 5; // A counter kept to avoid unnecessary array reads. // Note that `Sum(MissedBlocksBitArray)` always equals `MissedBlocksCounter`. - int64 missed_blocks_counter = 6 [(gogoproto.moretags) = "yaml:\"missed_blocks_counter\""]; + int64 missed_blocks_counter = 6 + [ (gogoproto.moretags) = "yaml:\"missed_blocks_counter\"" ]; } // Params represents the parameters used for by the slashing module. message Params { - int64 signed_blocks_window = 1 [(gogoproto.moretags) = "yaml:\"signed_blocks_window\""]; + int64 signed_blocks_window = 1 + [ (gogoproto.moretags) = "yaml:\"signed_blocks_window\"" ]; bytes min_signed_per_window = 2 [ - (gogoproto.moretags) = "yaml:\"min_signed_per_window\"", + (gogoproto.moretags) = "yaml:\"min_signed_per_window\"", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false + (gogoproto.nullable) = false ]; google.protobuf.Duration downtime_jail_duration = 3 [ - (gogoproto.nullable) = false, + (gogoproto.nullable) = false, (gogoproto.stdduration) = true, - (gogoproto.moretags) = "yaml:\"downtime_jail_duration\"" + (gogoproto.moretags) = "yaml:\"downtime_jail_duration\"" ]; bytes slash_fraction_double_sign = 4 [ - (gogoproto.moretags) = "yaml:\"slash_fraction_double_sign\"", + (gogoproto.moretags) = "yaml:\"slash_fraction_double_sign\"", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false + (gogoproto.nullable) = false ]; bytes slash_fraction_downtime = 5 [ - (gogoproto.moretags) = "yaml:\"slash_fraction_downtime\"", + (gogoproto.moretags) = "yaml:\"slash_fraction_downtime\"", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false + (gogoproto.nullable) = false ]; } diff --git a/third_party/proto/cosmos/slashing/v1beta1/tx.proto b/third_party/proto/cosmos/slashing/v1beta1/tx.proto index 4d63370ecc..7a29bbf57a 100644 --- a/third_party/proto/cosmos/slashing/v1beta1/tx.proto +++ b/third_party/proto/cosmos/slashing/v1beta1/tx.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package cosmos.slashing.v1beta1; -option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types"; +option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types"; option (gogoproto.equal_all) = true; import "gogoproto/gogo.proto"; @@ -16,10 +16,13 @@ service Msg { // MsgUnjail defines the Msg/Unjail request type message MsgUnjail { - option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_getters) = false; option (gogoproto.goproto_stringer) = true; - string validator_addr = 1 [(gogoproto.moretags) = "yaml:\"address\"", (gogoproto.jsontag) = "address"]; + string validator_addr = 1 [ + (gogoproto.moretags) = "yaml:\"address\"", + (gogoproto.jsontag) = "address" + ]; } // MsgUnjailResponse defines the Msg/Unjail response type diff --git a/third_party/proto/cosmos/staking/v1beta1/authz.proto b/third_party/proto/cosmos/staking/v1beta1/authz.proto index d50c329c91..7f5f1b13f9 100644 --- a/third_party/proto/cosmos/staking/v1beta1/authz.proto +++ b/third_party/proto/cosmos/staking/v1beta1/authz.proto @@ -13,21 +13,22 @@ option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types"; message StakeAuthorization { option (cosmos_proto.implements_interface) = "Authorization"; - // max_tokens specifies the maximum amount of tokens can be delegate to a validator. If it is - // empty, there is no spend limit and any amount of coins can be delegated. - cosmos.base.v1beta1.Coin max_tokens = 1 [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coin"]; + // max_tokens specifies the maximum amount of tokens can be delegate to a + // validator. If it is empty, there is no spend limit and any amount of coins + // can be delegated. + cosmos.base.v1beta1.Coin max_tokens = 1 + [ (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coin" ]; // validators is the oneof that represents either allow_list or deny_list oneof validators { - // allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's - // account. + // allow_list specifies list of validator addresses to whom grantee can + // delegate tokens on behalf of granter's account. Validators allow_list = 2; - // deny_list specifies list of validator addresses to whom grantee can not delegate tokens. + // deny_list specifies list of validator addresses to whom grantee can not + // delegate tokens. Validators deny_list = 3; } // Validators defines list of validator addresses. - message Validators { - repeated string address = 1; - } + message Validators { repeated string address = 1; } // authorization_type defines one of AuthorizationType. AuthorizationType authorization_type = 4; } @@ -40,8 +41,10 @@ enum AuthorizationType { AUTHORIZATION_TYPE_UNSPECIFIED = 0; // AUTHORIZATION_TYPE_DELEGATE defines an authorization type for Msg/Delegate AUTHORIZATION_TYPE_DELEGATE = 1; - // AUTHORIZATION_TYPE_UNDELEGATE defines an authorization type for Msg/Undelegate + // AUTHORIZATION_TYPE_UNDELEGATE defines an authorization type for + // Msg/Undelegate AUTHORIZATION_TYPE_UNDELEGATE = 2; - // AUTHORIZATION_TYPE_REDELEGATE defines an authorization type for Msg/BeginRedelegate + // AUTHORIZATION_TYPE_REDELEGATE defines an authorization type for + // Msg/BeginRedelegate AUTHORIZATION_TYPE_REDELEGATE = 3; } diff --git a/third_party/proto/cosmos/staking/v1beta1/genesis.proto b/third_party/proto/cosmos/staking/v1beta1/genesis.proto index d1563dbc54..dcbe629c3c 100644 --- a/third_party/proto/cosmos/staking/v1beta1/genesis.proto +++ b/third_party/proto/cosmos/staking/v1beta1/genesis.proto @@ -9,40 +9,44 @@ import "cosmos/staking/v1beta1/staking.proto"; // GenesisState defines the staking module's genesis state. message GenesisState { // params defines all the paramaters of related to deposit. - Params params = 1 [(gogoproto.nullable) = false]; + Params params = 1 [ (gogoproto.nullable) = false ]; // last_total_power tracks the total amounts of bonded tokens recorded during // the previous end block. bytes last_total_power = 2 [ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.moretags) = "yaml:\"last_total_power\"", - (gogoproto.nullable) = false + (gogoproto.moretags) = "yaml:\"last_total_power\"", + (gogoproto.nullable) = false ]; // last_validator_powers is a special index that provides a historical list // of the last-block's bonded validators. - repeated LastValidatorPower last_validator_powers = 3 - [(gogoproto.moretags) = "yaml:\"last_validator_powers\"", (gogoproto.nullable) = false]; + repeated LastValidatorPower last_validator_powers = 3 [ + (gogoproto.moretags) = "yaml:\"last_validator_powers\"", + (gogoproto.nullable) = false + ]; // delegations defines the validator set at genesis. - repeated Validator validators = 4 [(gogoproto.nullable) = false]; + repeated Validator validators = 4 [ (gogoproto.nullable) = false ]; // delegations defines the delegations active at genesis. - repeated Delegation delegations = 5 [(gogoproto.nullable) = false]; + repeated Delegation delegations = 5 [ (gogoproto.nullable) = false ]; // unbonding_delegations defines the unbonding delegations active at genesis. - repeated UnbondingDelegation unbonding_delegations = 6 - [(gogoproto.moretags) = "yaml:\"unbonding_delegations\"", (gogoproto.nullable) = false]; + repeated UnbondingDelegation unbonding_delegations = 6 [ + (gogoproto.moretags) = "yaml:\"unbonding_delegations\"", + (gogoproto.nullable) = false + ]; // redelegations defines the redelegations active at genesis. - repeated Redelegation redelegations = 7 [(gogoproto.nullable) = false]; + repeated Redelegation redelegations = 7 [ (gogoproto.nullable) = false ]; bool exported = 8; } // LastValidatorPower required for validator set update logic. message LastValidatorPower { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // address is the address of the validator. diff --git a/third_party/proto/cosmos/staking/v1beta1/query.proto b/third_party/proto/cosmos/staking/v1beta1/query.proto index 4852c53535..69d018d0e1 100644 --- a/third_party/proto/cosmos/staking/v1beta1/query.proto +++ b/third_party/proto/cosmos/staking/v1beta1/query.proto @@ -17,12 +17,15 @@ service Query { // Validator queries validator info for given validator address. rpc Validator(QueryValidatorRequest) returns (QueryValidatorResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/validators/{validator_addr}"; + option (google.api.http).get = + "/cosmos/staking/v1beta1/validators/{validator_addr}"; } // ValidatorDelegations queries delegate info for given validator. - rpc ValidatorDelegations(QueryValidatorDelegationsRequest) returns (QueryValidatorDelegationsResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/validators/{validator_addr}/delegations"; + rpc ValidatorDelegations(QueryValidatorDelegationsRequest) + returns (QueryValidatorDelegationsResponse) { + option (google.api.http).get = + "/cosmos/staking/v1beta1/validators/{validator_addr}/delegations"; } // ValidatorUnbondingDelegations queries unbonding delegations of a validator. @@ -34,20 +37,25 @@ service Query { // Delegation queries delegate info for given validator delegator pair. rpc Delegation(QueryDelegationRequest) returns (QueryDelegationResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/" - "{delegator_addr}"; + option (google.api.http).get = + "/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/" + "{delegator_addr}"; } // UnbondingDelegation queries unbonding info for given validator delegator // pair. - rpc UnbondingDelegation(QueryUnbondingDelegationRequest) returns (QueryUnbondingDelegationResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/" - "{delegator_addr}/unbonding_delegation"; + rpc UnbondingDelegation(QueryUnbondingDelegationRequest) + returns (QueryUnbondingDelegationResponse) { + option (google.api.http).get = + "/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/" + "{delegator_addr}/unbonding_delegation"; } // DelegatorDelegations queries all delegations of a given delegator address. - rpc DelegatorDelegations(QueryDelegatorDelegationsRequest) returns (QueryDelegatorDelegationsResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/delegations/{delegator_addr}"; + rpc DelegatorDelegations(QueryDelegatorDelegationsRequest) + returns (QueryDelegatorDelegationsResponse) { + option (google.api.http).get = + "/cosmos/staking/v1beta1/delegations/{delegator_addr}"; } // DelegatorUnbondingDelegations queries all unbonding delegations of a given @@ -59,26 +67,34 @@ service Query { } // Redelegations queries redelegations of given address. - rpc Redelegations(QueryRedelegationsRequest) returns (QueryRedelegationsResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations"; + rpc Redelegations(QueryRedelegationsRequest) + returns (QueryRedelegationsResponse) { + option (google.api.http).get = + "/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations"; } // DelegatorValidators queries all validators info for given delegator // address. - rpc DelegatorValidators(QueryDelegatorValidatorsRequest) returns (QueryDelegatorValidatorsResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators"; + rpc DelegatorValidators(QueryDelegatorValidatorsRequest) + returns (QueryDelegatorValidatorsResponse) { + option (google.api.http).get = + "/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators"; } // DelegatorValidator queries validator info for given delegator validator // pair. - rpc DelegatorValidator(QueryDelegatorValidatorRequest) returns (QueryDelegatorValidatorResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/" - "{validator_addr}"; + rpc DelegatorValidator(QueryDelegatorValidatorRequest) + returns (QueryDelegatorValidatorResponse) { + option (google.api.http).get = + "/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/" + "{validator_addr}"; } // HistoricalInfo queries the historical info for given height. - rpc HistoricalInfo(QueryHistoricalInfoRequest) returns (QueryHistoricalInfoResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/historical_info/{height}"; + rpc HistoricalInfo(QueryHistoricalInfoRequest) + returns (QueryHistoricalInfoResponse) { + option (google.api.http).get = + "/cosmos/staking/v1beta1/historical_info/{height}"; } // Pool queries the pool info. @@ -104,7 +120,7 @@ message QueryValidatorsRequest { // QueryValidatorsResponse is response type for the Query/Validators RPC method message QueryValidatorsResponse { // validators contains all the queried validators. - repeated Validator validators = 1 [(gogoproto.nullable) = false]; + repeated Validator validators = 1 [ (gogoproto.nullable) = false ]; // pagination defines the pagination in the response. cosmos.base.query.v1beta1.PageResponse pagination = 2; @@ -119,7 +135,7 @@ message QueryValidatorRequest { // QueryValidatorResponse is response type for the Query/Validator RPC method message QueryValidatorResponse { // validator defines the the validator info. - Validator validator = 1 [(gogoproto.nullable) = false]; + Validator validator = 1 [ (gogoproto.nullable) = false ]; } // QueryValidatorDelegationsRequest is request type for the @@ -135,8 +151,10 @@ message QueryValidatorDelegationsRequest { // QueryValidatorDelegationsResponse is response type for the // Query/ValidatorDelegations RPC method message QueryValidatorDelegationsResponse { - repeated DelegationResponse delegation_responses = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "DelegationResponses"]; + repeated DelegationResponse delegation_responses = 1 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "DelegationResponses" + ]; // pagination defines the pagination in the response. cosmos.base.query.v1beta1.PageResponse pagination = 2; @@ -155,7 +173,8 @@ message QueryValidatorUnbondingDelegationsRequest { // QueryValidatorUnbondingDelegationsResponse is response type for the // Query/ValidatorUnbondingDelegations RPC method. message QueryValidatorUnbondingDelegationsResponse { - repeated UnbondingDelegation unbonding_responses = 1 [(gogoproto.nullable) = false]; + repeated UnbondingDelegation unbonding_responses = 1 + [ (gogoproto.nullable) = false ]; // pagination defines the pagination in the response. cosmos.base.query.v1beta1.PageResponse pagination = 2; @@ -163,7 +182,7 @@ message QueryValidatorUnbondingDelegationsResponse { // QueryDelegationRequest is request type for the Query/Delegation RPC method. message QueryDelegationRequest { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // delegator_addr defines the delegator address to query for. @@ -182,7 +201,7 @@ message QueryDelegationResponse { // QueryUnbondingDelegationRequest is request type for the // Query/UnbondingDelegation RPC method. message QueryUnbondingDelegationRequest { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // delegator_addr defines the delegator address to query for. @@ -196,13 +215,13 @@ message QueryUnbondingDelegationRequest { // RPC method. message QueryUnbondingDelegationResponse { // unbond defines the unbonding information of a delegation. - UnbondingDelegation unbond = 1 [(gogoproto.nullable) = false]; + UnbondingDelegation unbond = 1 [ (gogoproto.nullable) = false ]; } // QueryDelegatorDelegationsRequest is request type for the // Query/DelegatorDelegations RPC method. message QueryDelegatorDelegationsRequest { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // delegator_addr defines the delegator address to query for. @@ -216,7 +235,8 @@ message QueryDelegatorDelegationsRequest { // Query/DelegatorDelegations RPC method. message QueryDelegatorDelegationsResponse { // delegation_responses defines all the delegations' info of a delegator. - repeated DelegationResponse delegation_responses = 1 [(gogoproto.nullable) = false]; + repeated DelegationResponse delegation_responses = 1 + [ (gogoproto.nullable) = false ]; // pagination defines the pagination in the response. cosmos.base.query.v1beta1.PageResponse pagination = 2; @@ -225,7 +245,7 @@ message QueryDelegatorDelegationsResponse { // QueryDelegatorUnbondingDelegationsRequest is request type for the // Query/DelegatorUnbondingDelegations RPC method. message QueryDelegatorUnbondingDelegationsRequest { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // delegator_addr defines the delegator address to query for. @@ -238,7 +258,8 @@ message QueryDelegatorUnbondingDelegationsRequest { // QueryUnbondingDelegatorDelegationsResponse is response type for the // Query/UnbondingDelegatorDelegations RPC method. message QueryDelegatorUnbondingDelegationsResponse { - repeated UnbondingDelegation unbonding_responses = 1 [(gogoproto.nullable) = false]; + repeated UnbondingDelegation unbonding_responses = 1 + [ (gogoproto.nullable) = false ]; // pagination defines the pagination in the response. cosmos.base.query.v1beta1.PageResponse pagination = 2; @@ -247,7 +268,7 @@ message QueryDelegatorUnbondingDelegationsResponse { // QueryRedelegationsRequest is request type for the Query/Redelegations RPC // method. message QueryRedelegationsRequest { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // delegator_addr defines the delegator address to query for. @@ -266,7 +287,8 @@ message QueryRedelegationsRequest { // QueryRedelegationsResponse is response type for the Query/Redelegations RPC // method. message QueryRedelegationsResponse { - repeated RedelegationResponse redelegation_responses = 1 [(gogoproto.nullable) = false]; + repeated RedelegationResponse redelegation_responses = 1 + [ (gogoproto.nullable) = false ]; // pagination defines the pagination in the response. cosmos.base.query.v1beta1.PageResponse pagination = 2; @@ -275,7 +297,7 @@ message QueryRedelegationsResponse { // QueryDelegatorValidatorsRequest is request type for the // Query/DelegatorValidators RPC method. message QueryDelegatorValidatorsRequest { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // delegator_addr defines the delegator address to query for. @@ -289,7 +311,7 @@ message QueryDelegatorValidatorsRequest { // Query/DelegatorValidators RPC method. message QueryDelegatorValidatorsResponse { // validators defines the the validators' info of a delegator. - repeated Validator validators = 1 [(gogoproto.nullable) = false]; + repeated Validator validators = 1 [ (gogoproto.nullable) = false ]; // pagination defines the pagination in the response. cosmos.base.query.v1beta1.PageResponse pagination = 2; @@ -298,7 +320,7 @@ message QueryDelegatorValidatorsResponse { // QueryDelegatorValidatorRequest is request type for the // Query/DelegatorValidator RPC method. message QueryDelegatorValidatorRequest { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // delegator_addr defines the delegator address to query for. @@ -312,7 +334,7 @@ message QueryDelegatorValidatorRequest { // Query/DelegatorValidator RPC method. message QueryDelegatorValidatorResponse { // validator defines the the validator info. - Validator validator = 1 [(gogoproto.nullable) = false]; + Validator validator = 1 [ (gogoproto.nullable) = false ]; } // QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC @@ -335,7 +357,7 @@ message QueryPoolRequest {} // QueryPoolResponse is response type for the Query/Pool RPC method. message QueryPoolResponse { // pool defines the pool info. - Pool pool = 1 [(gogoproto.nullable) = false]; + Pool pool = 1 [ (gogoproto.nullable) = false ]; } // QueryParamsRequest is request type for the Query/Params RPC method. @@ -344,5 +366,5 @@ message QueryParamsRequest {} // QueryParamsResponse is response type for the Query/Params RPC method. message QueryParamsResponse { // params holds all the parameters of this module. - Params params = 1 [(gogoproto.nullable) = false]; + Params params = 1 [ (gogoproto.nullable) = false ]; } diff --git a/third_party/proto/cosmos/staking/v1beta1/staking.proto b/third_party/proto/cosmos/staking/v1beta1/staking.proto index 76e9599e2d..0afa181be4 100644 --- a/third_party/proto/cosmos/staking/v1beta1/staking.proto +++ b/third_party/proto/cosmos/staking/v1beta1/staking.proto @@ -17,47 +17,57 @@ option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types"; // recent HistoricalInfo // (`n` is set by the staking module's `historical_entries` parameter). message HistoricalInfo { - tendermint.types.Header header = 1 [(gogoproto.nullable) = false]; - repeated Validator valset = 2 [(gogoproto.nullable) = false]; + tendermint.types.Header header = 1 [ (gogoproto.nullable) = false ]; + repeated Validator valset = 2 [ (gogoproto.nullable) = false ]; } // CommissionRates defines the initial commission rates to be used for creating // a validator. message CommissionRates { - option (gogoproto.equal) = true; + option (gogoproto.equal) = true; option (gogoproto.goproto_stringer) = false; // rate is the commission rate charged to delegators, as a fraction. - string rate = 1 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; - // max_rate defines the maximum commission rate which validator can ever charge, as a fraction. + string rate = 1 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; + // max_rate defines the maximum commission rate which validator can ever + // charge, as a fraction. string max_rate = 2 [ - (gogoproto.moretags) = "yaml:\"max_rate\"", + (gogoproto.moretags) = "yaml:\"max_rate\"", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false + (gogoproto.nullable) = false ]; - // max_change_rate defines the maximum daily increase of the validator commission, as a fraction. + // max_change_rate defines the maximum daily increase of the validator + // commission, as a fraction. string max_change_rate = 3 [ - (gogoproto.moretags) = "yaml:\"max_change_rate\"", + (gogoproto.moretags) = "yaml:\"max_change_rate\"", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false + (gogoproto.nullable) = false ]; } // Commission defines commission parameters for a given validator. message Commission { - option (gogoproto.equal) = true; + option (gogoproto.equal) = true; option (gogoproto.goproto_stringer) = false; - // commission_rates defines the initial commission rates to be used for creating a validator. - CommissionRates commission_rates = 1 [(gogoproto.embed) = true, (gogoproto.nullable) = false]; + // commission_rates defines the initial commission rates to be used for + // creating a validator. + CommissionRates commission_rates = 1 + [ (gogoproto.embed) = true, (gogoproto.nullable) = false ]; // update_time is the last time the commission rate was changed. - google.protobuf.Timestamp update_time = 2 - [(gogoproto.nullable) = false, (gogoproto.stdtime) = true, (gogoproto.moretags) = "yaml:\"update_time\""]; + google.protobuf.Timestamp update_time = 2 [ + (gogoproto.nullable) = false, + (gogoproto.stdtime) = true, + (gogoproto.moretags) = "yaml:\"update_time\"" + ]; } // Description defines a validator description. message Description { - option (gogoproto.equal) = true; + option (gogoproto.equal) = true; option (gogoproto.goproto_stringer) = false; // moniker defines a human-readable name for the validator. @@ -67,7 +77,8 @@ message Description { // website defines an optional website link. string website = 3; // security_contact defines an optional email for security contact. - string security_contact = 4 [(gogoproto.moretags) = "yaml:\"security_contact\""]; + string security_contact = 4 + [ (gogoproto.moretags) = "yaml:\"security_contact\"" ]; // details define other optional details. string details = 5; } @@ -81,41 +92,57 @@ message Description { // exchange rate. Voting power can be calculated as total bonded shares // multiplied by exchange rate. message Validator { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_stringer) = false; - option (gogoproto.goproto_getters) = false; - - // operator_address defines the address of the validator's operator; bech encoded in JSON. - string operator_address = 1 [(gogoproto.moretags) = "yaml:\"operator_address\""]; - // consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. - google.protobuf.Any consensus_pubkey = 2 - [(cosmos_proto.accepts_interface) = "cosmos.crypto.PubKey", (gogoproto.moretags) = "yaml:\"consensus_pubkey\""]; - // jailed defined whether the validator has been jailed from bonded status or not. + option (gogoproto.goproto_getters) = false; + + // operator_address defines the address of the validator's operator; bech + // encoded in JSON. + string operator_address = 1 + [ (gogoproto.moretags) = "yaml:\"operator_address\"" ]; + // consensus_pubkey is the consensus public key of the validator, as a + // Protobuf Any. + google.protobuf.Any consensus_pubkey = 2 [ + (cosmos_proto.accepts_interface) = "cosmos.crypto.PubKey", + (gogoproto.moretags) = "yaml:\"consensus_pubkey\"" + ]; + // jailed defined whether the validator has been jailed from bonded status or + // not. bool jailed = 3; // status is the validator status (bonded/unbonding/unbonded). BondStatus status = 4; // tokens define the delegated tokens (incl. self-delegation). - string tokens = 5 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false]; + string tokens = 5 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false + ]; // delegator_shares defines total shares issued to a validator's delegators. string delegator_shares = 6 [ - (gogoproto.moretags) = "yaml:\"delegator_shares\"", + (gogoproto.moretags) = "yaml:\"delegator_shares\"", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false + (gogoproto.nullable) = false ]; // description defines the description terms for the validator. - Description description = 7 [(gogoproto.nullable) = false]; - // unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. - int64 unbonding_height = 8 [(gogoproto.moretags) = "yaml:\"unbonding_height\""]; - // unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. - google.protobuf.Timestamp unbonding_time = 9 - [(gogoproto.nullable) = false, (gogoproto.stdtime) = true, (gogoproto.moretags) = "yaml:\"unbonding_time\""]; + Description description = 7 [ (gogoproto.nullable) = false ]; + // unbonding_height defines, if unbonding, the height at which this validator + // has begun unbonding. + int64 unbonding_height = 8 + [ (gogoproto.moretags) = "yaml:\"unbonding_height\"" ]; + // unbonding_time defines, if unbonding, the min time for the validator to + // complete unbonding. + google.protobuf.Timestamp unbonding_time = 9 [ + (gogoproto.nullable) = false, + (gogoproto.stdtime) = true, + (gogoproto.moretags) = "yaml:\"unbonding_time\"" + ]; // commission defines the commission parameters. - Commission commission = 10 [(gogoproto.nullable) = false]; - // min_self_delegation is the validator's self declared minimum self delegation. + Commission commission = 10 [ (gogoproto.nullable) = false ]; + // min_self_delegation is the validator's self declared minimum self + // delegation. string min_self_delegation = 11 [ - (gogoproto.moretags) = "yaml:\"min_self_delegation\"", + (gogoproto.moretags) = "yaml:\"min_self_delegation\"", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false + (gogoproto.nullable) = false ]; } @@ -124,19 +151,20 @@ enum BondStatus { option (gogoproto.goproto_enum_prefix) = false; // UNSPECIFIED defines an invalid validator status. - BOND_STATUS_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "Unspecified"]; + BOND_STATUS_UNSPECIFIED = 0 + [ (gogoproto.enumvalue_customname) = "Unspecified" ]; // UNBONDED defines a validator that is not bonded. - BOND_STATUS_UNBONDED = 1 [(gogoproto.enumvalue_customname) = "Unbonded"]; + BOND_STATUS_UNBONDED = 1 [ (gogoproto.enumvalue_customname) = "Unbonded" ]; // UNBONDING defines a validator that is unbonding. - BOND_STATUS_UNBONDING = 2 [(gogoproto.enumvalue_customname) = "Unbonding"]; + BOND_STATUS_UNBONDING = 2 [ (gogoproto.enumvalue_customname) = "Unbonding" ]; // BONDED defines a validator that is bonded. - BOND_STATUS_BONDED = 3 [(gogoproto.enumvalue_customname) = "Bonded"]; + BOND_STATUS_BONDED = 3 [ (gogoproto.enumvalue_customname) = "Bonded" ]; } // ValAddresses defines a repeated set of validator addresses. message ValAddresses { option (gogoproto.goproto_stringer) = false; - option (gogoproto.stringer) = true; + option (gogoproto.stringer) = true; repeated string addresses = 1; } @@ -145,154 +173,192 @@ message ValAddresses { // It is intended to be used as a marshalable pointer. For example, a DVPair can // be used to construct the key to getting an UnbondingDelegation from state. message DVPair { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; option (gogoproto.goproto_stringer) = false; - string delegator_address = 1 [(gogoproto.moretags) = "yaml:\"delegator_address\""]; - string validator_address = 2 [(gogoproto.moretags) = "yaml:\"validator_address\""]; + string delegator_address = 1 + [ (gogoproto.moretags) = "yaml:\"delegator_address\"" ]; + string validator_address = 2 + [ (gogoproto.moretags) = "yaml:\"validator_address\"" ]; } // DVPairs defines an array of DVPair objects. -message DVPairs { - repeated DVPair pairs = 1 [(gogoproto.nullable) = false]; -} +message DVPairs { repeated DVPair pairs = 1 [ (gogoproto.nullable) = false ]; } // DVVTriplet is struct that just has a delegator-validator-validator triplet // with no other data. It is intended to be used as a marshalable pointer. For // example, a DVVTriplet can be used to construct the key to getting a // Redelegation from state. message DVVTriplet { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; option (gogoproto.goproto_stringer) = false; - string delegator_address = 1 [(gogoproto.moretags) = "yaml:\"delegator_address\""]; - string validator_src_address = 2 [(gogoproto.moretags) = "yaml:\"validator_src_address\""]; - string validator_dst_address = 3 [(gogoproto.moretags) = "yaml:\"validator_dst_address\""]; + string delegator_address = 1 + [ (gogoproto.moretags) = "yaml:\"delegator_address\"" ]; + string validator_src_address = 2 + [ (gogoproto.moretags) = "yaml:\"validator_src_address\"" ]; + string validator_dst_address = 3 + [ (gogoproto.moretags) = "yaml:\"validator_dst_address\"" ]; } // DVVTriplets defines an array of DVVTriplet objects. message DVVTriplets { - repeated DVVTriplet triplets = 1 [(gogoproto.nullable) = false]; + repeated DVVTriplet triplets = 1 [ (gogoproto.nullable) = false ]; } // Delegation represents the bond with tokens held by an account. It is // owned by one delegator, and is associated with the voting power of one // validator. message Delegation { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; option (gogoproto.goproto_stringer) = false; // delegator_address is the bech32-encoded address of the delegator. - string delegator_address = 1 [(gogoproto.moretags) = "yaml:\"delegator_address\""]; + string delegator_address = 1 + [ (gogoproto.moretags) = "yaml:\"delegator_address\"" ]; // validator_address is the bech32-encoded address of the validator. - string validator_address = 2 [(gogoproto.moretags) = "yaml:\"validator_address\""]; + string validator_address = 2 + [ (gogoproto.moretags) = "yaml:\"validator_address\"" ]; // shares define the delegation shares received. - string shares = 3 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; + string shares = 3 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false + ]; } // UnbondingDelegation stores all of a single delegator's unbonding bonds // for a single validator in an time-ordered list. message UnbondingDelegation { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; option (gogoproto.goproto_stringer) = false; // delegator_address is the bech32-encoded address of the delegator. - string delegator_address = 1 [(gogoproto.moretags) = "yaml:\"delegator_address\""]; + string delegator_address = 1 + [ (gogoproto.moretags) = "yaml:\"delegator_address\"" ]; // validator_address is the bech32-encoded address of the validator. - string validator_address = 2 [(gogoproto.moretags) = "yaml:\"validator_address\""]; + string validator_address = 2 + [ (gogoproto.moretags) = "yaml:\"validator_address\"" ]; // entries are the unbonding delegation entries. - repeated UnbondingDelegationEntry entries = 3 [(gogoproto.nullable) = false]; // unbonding delegation entries + repeated UnbondingDelegationEntry entries = 3 + [ (gogoproto.nullable) = false ]; // unbonding delegation entries } // UnbondingDelegationEntry defines an unbonding object with relevant metadata. message UnbondingDelegationEntry { - option (gogoproto.equal) = true; + option (gogoproto.equal) = true; option (gogoproto.goproto_stringer) = false; // creation_height is the height which the unbonding took place. - int64 creation_height = 1 [(gogoproto.moretags) = "yaml:\"creation_height\""]; + int64 creation_height = 1 + [ (gogoproto.moretags) = "yaml:\"creation_height\"" ]; // completion_time is the unix time for unbonding completion. - google.protobuf.Timestamp completion_time = 2 - [(gogoproto.nullable) = false, (gogoproto.stdtime) = true, (gogoproto.moretags) = "yaml:\"completion_time\""]; - // initial_balance defines the tokens initially scheduled to receive at completion. + google.protobuf.Timestamp completion_time = 2 [ + (gogoproto.nullable) = false, + (gogoproto.stdtime) = true, + (gogoproto.moretags) = "yaml:\"completion_time\"" + ]; + // initial_balance defines the tokens initially scheduled to receive at + // completion. string initial_balance = 3 [ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"initial_balance\"" + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"initial_balance\"" ]; // balance defines the tokens to receive at completion. - string balance = 4 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false]; + string balance = 4 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false + ]; } // RedelegationEntry defines a redelegation object with relevant metadata. message RedelegationEntry { - option (gogoproto.equal) = true; + option (gogoproto.equal) = true; option (gogoproto.goproto_stringer) = false; // creation_height defines the height which the redelegation took place. - int64 creation_height = 1 [(gogoproto.moretags) = "yaml:\"creation_height\""]; + int64 creation_height = 1 + [ (gogoproto.moretags) = "yaml:\"creation_height\"" ]; // completion_time defines the unix time for redelegation completion. - google.protobuf.Timestamp completion_time = 2 - [(gogoproto.nullable) = false, (gogoproto.stdtime) = true, (gogoproto.moretags) = "yaml:\"completion_time\""]; + google.protobuf.Timestamp completion_time = 2 [ + (gogoproto.nullable) = false, + (gogoproto.stdtime) = true, + (gogoproto.moretags) = "yaml:\"completion_time\"" + ]; // initial_balance defines the initial balance when redelegation started. string initial_balance = 3 [ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"initial_balance\"" + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"initial_balance\"" + ]; + // shares_dst is the amount of destination-validator shares created by + // redelegation. + string shares_dst = 4 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", + (gogoproto.nullable) = false ]; - // shares_dst is the amount of destination-validator shares created by redelegation. - string shares_dst = 4 - [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; } // Redelegation contains the list of a particular delegator's redelegating bonds // from a particular source validator to a particular destination validator. message Redelegation { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; + option (gogoproto.equal) = false; + option (gogoproto.goproto_getters) = false; option (gogoproto.goproto_stringer) = false; // delegator_address is the bech32-encoded address of the delegator. - string delegator_address = 1 [(gogoproto.moretags) = "yaml:\"delegator_address\""]; - // validator_src_address is the validator redelegation source operator address. - string validator_src_address = 2 [(gogoproto.moretags) = "yaml:\"validator_src_address\""]; - // validator_dst_address is the validator redelegation destination operator address. - string validator_dst_address = 3 [(gogoproto.moretags) = "yaml:\"validator_dst_address\""]; + string delegator_address = 1 + [ (gogoproto.moretags) = "yaml:\"delegator_address\"" ]; + // validator_src_address is the validator redelegation source operator + // address. + string validator_src_address = 2 + [ (gogoproto.moretags) = "yaml:\"validator_src_address\"" ]; + // validator_dst_address is the validator redelegation destination operator + // address. + string validator_dst_address = 3 + [ (gogoproto.moretags) = "yaml:\"validator_dst_address\"" ]; // entries are the redelegation entries. - repeated RedelegationEntry entries = 4 [(gogoproto.nullable) = false]; // redelegation entries + repeated RedelegationEntry entries = 4 + [ (gogoproto.nullable) = false ]; // redelegation entries } // Params defines the parameters for the staking module. message Params { - option (gogoproto.equal) = true; + option (gogoproto.equal) = true; option (gogoproto.goproto_stringer) = false; // unbonding_time is the time duration of unbonding. - google.protobuf.Duration unbonding_time = 1 - [(gogoproto.nullable) = false, (gogoproto.stdduration) = true, (gogoproto.moretags) = "yaml:\"unbonding_time\""]; + google.protobuf.Duration unbonding_time = 1 [ + (gogoproto.nullable) = false, + (gogoproto.stdduration) = true, + (gogoproto.moretags) = "yaml:\"unbonding_time\"" + ]; // max_validators is the maximum number of validators. - uint32 max_validators = 2 [(gogoproto.moretags) = "yaml:\"max_validators\""]; - // max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). - uint32 max_entries = 3 [(gogoproto.moretags) = "yaml:\"max_entries\""]; + uint32 max_validators = 2 + [ (gogoproto.moretags) = "yaml:\"max_validators\"" ]; + // max_entries is the max entries for either unbonding delegation or + // redelegation (per pair/trio). + uint32 max_entries = 3 [ (gogoproto.moretags) = "yaml:\"max_entries\"" ]; // historical_entries is the number of historical entries to persist. - uint32 historical_entries = 4 [(gogoproto.moretags) = "yaml:\"historical_entries\""]; + uint32 historical_entries = 4 + [ (gogoproto.moretags) = "yaml:\"historical_entries\"" ]; // bond_denom defines the bondable coin denomination. - string bond_denom = 5 [(gogoproto.moretags) = "yaml:\"bond_denom\""]; + string bond_denom = 5 [ (gogoproto.moretags) = "yaml:\"bond_denom\"" ]; } // DelegationResponse is equivalent to Delegation except that it contains a // balance in addition to shares which is more suitable for client responses. message DelegationResponse { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_stringer) = false; - Delegation delegation = 1 [(gogoproto.nullable) = false]; + Delegation delegation = 1 [ (gogoproto.nullable) = false ]; - cosmos.base.v1beta1.Coin balance = 2 [(gogoproto.nullable) = false]; + cosmos.base.v1beta1.Coin balance = 2 [ (gogoproto.nullable) = false ]; } // RedelegationEntryResponse is equivalent to a RedelegationEntry except that it @@ -301,8 +367,11 @@ message DelegationResponse { message RedelegationEntryResponse { option (gogoproto.equal) = true; - RedelegationEntry redelegation_entry = 1 [(gogoproto.nullable) = false]; - string balance = 4 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false]; + RedelegationEntry redelegation_entry = 1 [ (gogoproto.nullable) = false ]; + string balance = 4 [ + (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", + (gogoproto.nullable) = false + ]; } // RedelegationResponse is equivalent to a Redelegation except that its entries @@ -311,24 +380,25 @@ message RedelegationEntryResponse { message RedelegationResponse { option (gogoproto.equal) = false; - Redelegation redelegation = 1 [(gogoproto.nullable) = false]; - repeated RedelegationEntryResponse entries = 2 [(gogoproto.nullable) = false]; + Redelegation redelegation = 1 [ (gogoproto.nullable) = false ]; + repeated RedelegationEntryResponse entries = 2 + [ (gogoproto.nullable) = false ]; } // Pool is used for tracking bonded and not-bonded token supply of the bond // denomination. message Pool { option (gogoproto.description) = true; - option (gogoproto.equal) = true; - string not_bonded_tokens = 1 [ + option (gogoproto.equal) = true; + string not_bonded_tokens = 1 [ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.jsontag) = "not_bonded_tokens", - (gogoproto.nullable) = false + (gogoproto.jsontag) = "not_bonded_tokens", + (gogoproto.nullable) = false ]; string bonded_tokens = 2 [ - (gogoproto.jsontag) = "bonded_tokens", + (gogoproto.jsontag) = "bonded_tokens", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"bonded_tokens\"" + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"bonded_tokens\"" ]; } diff --git a/third_party/proto/cosmos/staking/v1beta1/tx.proto b/third_party/proto/cosmos/staking/v1beta1/tx.proto index 7b05d89eea..a6e566dd35 100644 --- a/third_party/proto/cosmos/staking/v1beta1/tx.proto +++ b/third_party/proto/cosmos/staking/v1beta1/tx.proto @@ -34,20 +34,23 @@ service Msg { // MsgCreateValidator defines a SDK message for creating a new validator. message MsgCreateValidator { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - Description description = 1 [(gogoproto.nullable) = false]; - CommissionRates commission = 2 [(gogoproto.nullable) = false]; - string min_self_delegation = 3 [ + Description description = 1 [ (gogoproto.nullable) = false ]; + CommissionRates commission = 2 [ (gogoproto.nullable) = false ]; + string min_self_delegation = 3 [ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.moretags) = "yaml:\"min_self_delegation\"", - (gogoproto.nullable) = false + (gogoproto.moretags) = "yaml:\"min_self_delegation\"", + (gogoproto.nullable) = false ]; - string delegator_address = 4 [(gogoproto.moretags) = "yaml:\"delegator_address\""]; - string validator_address = 5 [(gogoproto.moretags) = "yaml:\"validator_address\""]; - google.protobuf.Any pubkey = 6 [(cosmos_proto.accepts_interface) = "cosmos.crypto.PubKey"]; - cosmos.base.v1beta1.Coin value = 7 [(gogoproto.nullable) = false]; + string delegator_address = 4 + [ (gogoproto.moretags) = "yaml:\"delegator_address\"" ]; + string validator_address = 5 + [ (gogoproto.moretags) = "yaml:\"validator_address\"" ]; + google.protobuf.Any pubkey = 6 + [ (cosmos_proto.accepts_interface) = "cosmos.crypto.PubKey" ]; + cosmos.base.v1beta1.Coin value = 7 [ (gogoproto.nullable) = false ]; } // MsgCreateValidatorResponse defines the Msg/CreateValidator response type. @@ -55,11 +58,11 @@ message MsgCreateValidatorResponse {} // MsgEditValidator defines a SDK message for editing an existing validator. message MsgEditValidator { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - Description description = 1 [(gogoproto.nullable) = false]; - string validator_address = 2 [(gogoproto.moretags) = "yaml:\"address\""]; + Description description = 1 [ (gogoproto.nullable) = false ]; + string validator_address = 2 [ (gogoproto.moretags) = "yaml:\"address\"" ]; // We pass a reference to the new commission rate and min self delegation as // it's not mandatory to update. If not updated, the deserialized rate will be @@ -67,11 +70,11 @@ message MsgEditValidator { // REF: #2373 string commission_rate = 3 [ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.moretags) = "yaml:\"commission_rate\"" + (gogoproto.moretags) = "yaml:\"commission_rate\"" ]; string min_self_delegation = 4 [ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.moretags) = "yaml:\"min_self_delegation\"" + (gogoproto.moretags) = "yaml:\"min_self_delegation\"" ]; } @@ -81,12 +84,14 @@ message MsgEditValidatorResponse {} // MsgDelegate defines a SDK message for performing a delegation of coins // from a delegator to a validator. message MsgDelegate { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - string delegator_address = 1 [(gogoproto.moretags) = "yaml:\"delegator_address\""]; - string validator_address = 2 [(gogoproto.moretags) = "yaml:\"validator_address\""]; - cosmos.base.v1beta1.Coin amount = 3 [(gogoproto.nullable) = false]; + string delegator_address = 1 + [ (gogoproto.moretags) = "yaml:\"delegator_address\"" ]; + string validator_address = 2 + [ (gogoproto.moretags) = "yaml:\"validator_address\"" ]; + cosmos.base.v1beta1.Coin amount = 3 [ (gogoproto.nullable) = false ]; } // MsgDelegateResponse defines the Msg/Delegate response type. @@ -95,32 +100,39 @@ message MsgDelegateResponse {} // MsgBeginRedelegate defines a SDK message for performing a redelegation // of coins from a delegator and source validator to a destination validator. message MsgBeginRedelegate { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - string delegator_address = 1 [(gogoproto.moretags) = "yaml:\"delegator_address\""]; - string validator_src_address = 2 [(gogoproto.moretags) = "yaml:\"validator_src_address\""]; - string validator_dst_address = 3 [(gogoproto.moretags) = "yaml:\"validator_dst_address\""]; - cosmos.base.v1beta1.Coin amount = 4 [(gogoproto.nullable) = false]; + string delegator_address = 1 + [ (gogoproto.moretags) = "yaml:\"delegator_address\"" ]; + string validator_src_address = 2 + [ (gogoproto.moretags) = "yaml:\"validator_src_address\"" ]; + string validator_dst_address = 3 + [ (gogoproto.moretags) = "yaml:\"validator_dst_address\"" ]; + cosmos.base.v1beta1.Coin amount = 4 [ (gogoproto.nullable) = false ]; } // MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. message MsgBeginRedelegateResponse { - google.protobuf.Timestamp completion_time = 1 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + google.protobuf.Timestamp completion_time = 1 + [ (gogoproto.nullable) = false, (gogoproto.stdtime) = true ]; } // MsgUndelegate defines a SDK message for performing an undelegation from a // delegate and a validator. message MsgUndelegate { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - string delegator_address = 1 [(gogoproto.moretags) = "yaml:\"delegator_address\""]; - string validator_address = 2 [(gogoproto.moretags) = "yaml:\"validator_address\""]; - cosmos.base.v1beta1.Coin amount = 3 [(gogoproto.nullable) = false]; + string delegator_address = 1 + [ (gogoproto.moretags) = "yaml:\"delegator_address\"" ]; + string validator_address = 2 + [ (gogoproto.moretags) = "yaml:\"validator_address\"" ]; + cosmos.base.v1beta1.Coin amount = 3 [ (gogoproto.nullable) = false ]; } // MsgUndelegateResponse defines the Msg/Undelegate response type. message MsgUndelegateResponse { - google.protobuf.Timestamp completion_time = 1 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + google.protobuf.Timestamp completion_time = 1 + [ (gogoproto.nullable) = false, (gogoproto.stdtime) = true ]; } diff --git a/third_party/proto/cosmos/tx/signing/v1beta1/signing.proto b/third_party/proto/cosmos/tx/signing/v1beta1/signing.proto index c76c231ad7..d8e6951ec1 100644 --- a/third_party/proto/cosmos/tx/signing/v1beta1/signing.proto +++ b/third_party/proto/cosmos/tx/signing/v1beta1/signing.proto @@ -27,7 +27,7 @@ enum SignMode { // SIGN_MODE_EIP_191 specifies the sign mode for EIP 191 signing on the Cosmos // SDK. Ref: https://eips.ethereum.org/EIPS/eip-191 - // + // // Currently, SIGN_MODE_EIP_191 is registered as a SignMode enum variant, // but is not implemented on the SDK by default. To enable EIP-191, you need // to pass a custom `TxConfig` that has an implementation of @@ -55,13 +55,14 @@ message SignatureDescriptor { Data data = 2; // sequence is the sequence of the account, which describes the - // number of committed transactions signed by a given address. It is used to prevent - // replay attacks. + // number of committed transactions signed by a given address. It is used to + // prevent replay attacks. uint64 sequence = 3; // Data represents signature data message Data { - // sum is the oneof that specifies whether this represents single or multi-signature data + // sum is the oneof that specifies whether this represents single or + // multi-signature data oneof sum { // single represents a single signer Single single = 1; diff --git a/third_party/proto/cosmos/tx/v1beta1/service.proto b/third_party/proto/cosmos/tx/v1beta1/service.proto index 7a014f4b9f..3e4741641f 100644 --- a/third_party/proto/cosmos/tx/v1beta1/service.proto +++ b/third_party/proto/cosmos/tx/v1beta1/service.proto @@ -10,15 +10,15 @@ import "tendermint/types/block.proto"; import "tendermint/types/types.proto"; option (gogoproto.goproto_registration) = true; -option go_package = "github.com/cosmos/cosmos-sdk/types/tx"; +option go_package = "github.com/cosmos/cosmos-sdk/types/tx"; // Service defines a gRPC service for interacting with transactions. service Service { // Simulate simulates executing a transaction for estimating gas usage. rpc Simulate(SimulateRequest) returns (SimulateResponse) { option (google.api.http) = { - post: "/cosmos/tx/v1beta1/simulate" - body: "*" + post : "/cosmos/tx/v1beta1/simulate" + body : "*" }; } // GetTx fetches a tx by hash. @@ -28,8 +28,8 @@ service Service { // BroadcastTx broadcast transaction. rpc BroadcastTx(BroadcastTxRequest) returns (BroadcastTxResponse) { option (google.api.http) = { - post: "/cosmos/tx/v1beta1/txs" - body: "*" + post : "/cosmos/tx/v1beta1/txs" + body : "*" }; } // GetTxsEvent fetches txs by event. @@ -39,7 +39,8 @@ service Service { // GetBlockWithTxs fetches a block with decoded txs. // // Since: cosmos-sdk 0.45.2 - rpc GetBlockWithTxs(GetBlockWithTxsRequest) returns (GetBlockWithTxsResponse) { + rpc GetBlockWithTxs(GetBlockWithTxsRequest) + returns (GetBlockWithTxsResponse) { option (google.api.http).get = "/cosmos/tx/v1beta1/txs/block/{height}"; } } @@ -51,12 +52,13 @@ message GetTxsEventRequest { repeated string events = 1; // pagination defines a pagination for the request. cosmos.base.query.v1beta1.PageRequest pagination = 2; - OrderBy order_by = 3; + OrderBy order_by = 3; } // OrderBy defines the sorting order enum OrderBy { - // ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case. + // ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults + // to ASC in this case. ORDER_BY_UNSPECIFIED = 0; // ORDER_BY_ASC defines ascending order ORDER_BY_ASC = 1; @@ -79,22 +81,23 @@ message GetTxsEventResponse { // RPC method. message BroadcastTxRequest { // tx_bytes is the raw transaction. - bytes tx_bytes = 1; - BroadcastMode mode = 2; + bytes tx_bytes = 1; + BroadcastMode mode = 2; } -// BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. +// BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC +// method. enum BroadcastMode { // zero-value for mode ordering BROADCAST_MODE_UNSPECIFIED = 0; - // BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for - // the tx to be committed in a block. + // BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits + // for the tx to be committed in a block. BROADCAST_MODE_BLOCK = 1; - // BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for - // a CheckTx execution response only. + // BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits + // for a CheckTx execution response only. BROADCAST_MODE_SYNC = 2; - // BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns - // immediately. + // BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client + // returns immediately. BROADCAST_MODE_ASYNC = 3; } @@ -110,7 +113,7 @@ message BroadcastTxResponse { message SimulateRequest { // tx is the transaction to simulate. // Deprecated. Send raw tx bytes instead. - cosmos.tx.v1beta1.Tx tx = 1 [deprecated = true]; + cosmos.tx.v1beta1.Tx tx = 1 [ deprecated = true ]; // tx_bytes is the raw transaction. // // Since: cosmos-sdk 0.43 @@ -152,14 +155,15 @@ message GetBlockWithTxsRequest { cosmos.base.query.v1beta1.PageRequest pagination = 2; } -// GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method. +// GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs +// method. // // Since: cosmos-sdk 0.45.2 message GetBlockWithTxsResponse { // txs are the transactions in the block. repeated cosmos.tx.v1beta1.Tx txs = 1; .tendermint.types.BlockID block_id = 2; - .tendermint.types.Block block = 3; + .tendermint.types.Block block = 3; // pagination defines a pagination for the response. cosmos.base.query.v1beta1.PageResponse pagination = 4; } \ No newline at end of file diff --git a/third_party/proto/cosmos/tx/v1beta1/tx.proto b/third_party/proto/cosmos/tx/v1beta1/tx.proto index 6d5caf12c7..86b4dafdaa 100644 --- a/third_party/proto/cosmos/tx/v1beta1/tx.proto +++ b/third_party/proto/cosmos/tx/v1beta1/tx.proto @@ -76,7 +76,8 @@ message TxBody { // memo is any arbitrary note/comment to be added to the transaction. // WARNING: in clients, any publicly exposed text should not be called memo, - // but should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122). + // but should be called `note` instead (see + // https://github.com/cosmos/cosmos-sdk/issues/9122). string memo = 2; // timeout is the block height after which this transaction will not @@ -164,20 +165,24 @@ message ModeInfo { // which must be above some miminum to be accepted into the mempool. message Fee { // amount is the amount of coins to be paid as a fee - repeated cosmos.base.v1beta1.Coin amount = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + repeated cosmos.base.v1beta1.Coin amount = 1 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + ]; // gas_limit is the maximum gas that can be used in transaction processing // before an out of gas error occurs uint64 gas_limit = 2; - // if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees. - // the payer must be a tx signer (and thus have signed this field in AuthInfo). - // setting this field does *not* change the ordering of required signers for the transaction. + // if unset, the first signer is responsible for paying the fees. If set, the + // specified account must pay the fees. the payer must be a tx signer (and + // thus have signed this field in AuthInfo). setting this field does *not* + // change the ordering of required signers for the transaction. string payer = 3; - // if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used - // to pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does - // not support fee grants, this will fail + // if set, the fee payer (either the first signer or the value of the payer + // field) requests that a fee grant be used to pay fees instead of the fee + // payer's own balance. If an appropriate fee grant does not exist or the + // chain does not support fee grants, this will fail string granter = 4; } diff --git a/third_party/proto/cosmos/upgrade/v1beta1/query.proto b/third_party/proto/cosmos/upgrade/v1beta1/query.proto index e5a227bc0d..a1306f8ae5 100644 --- a/third_party/proto/cosmos/upgrade/v1beta1/query.proto +++ b/third_party/proto/cosmos/upgrade/v1beta1/query.proto @@ -15,7 +15,8 @@ service Query { // AppliedPlan queries a previously applied upgrade plan by its name. rpc AppliedPlan(QueryAppliedPlanRequest) returns (QueryAppliedPlanResponse) { - option (google.api.http).get = "/cosmos/upgrade/v1beta1/applied_plan/{name}"; + option (google.api.http).get = + "/cosmos/upgrade/v1beta1/applied_plan/{name}"; } // UpgradedConsensusState queries the consensus state that will serve @@ -24,15 +25,18 @@ service Query { // UpgradedConsensusState RPC not supported with legacy querier // This rpc is deprecated now that IBC has its own replacement // (https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54) - rpc UpgradedConsensusState(QueryUpgradedConsensusStateRequest) returns (QueryUpgradedConsensusStateResponse) { - option deprecated = true; - option (google.api.http).get = "/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}"; + rpc UpgradedConsensusState(QueryUpgradedConsensusStateRequest) + returns (QueryUpgradedConsensusStateResponse) { + option deprecated = true; + option (google.api.http).get = + "/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}"; } // ModuleVersions queries the list of module versions from state. // // Since: cosmos-sdk 0.43 - rpc ModuleVersions(QueryModuleVersionsRequest) returns (QueryModuleVersionsResponse) { + rpc ModuleVersions(QueryModuleVersionsRequest) + returns (QueryModuleVersionsResponse) { option (google.api.http).get = "/cosmos/upgrade/v1beta1/module_versions"; } } @@ -62,8 +66,8 @@ message QueryAppliedPlanResponse { int64 height = 1; } -// QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState -// RPC method. +// QueryUpgradedConsensusStateRequest is the request type for the +// Query/UpgradedConsensusState RPC method. message QueryUpgradedConsensusStateRequest { option deprecated = true; @@ -72,8 +76,8 @@ message QueryUpgradedConsensusStateRequest { int64 last_height = 1; } -// QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState -// RPC method. +// QueryUpgradedConsensusStateResponse is the response type for the +// Query/UpgradedConsensusState RPC method. message QueryUpgradedConsensusStateResponse { option deprecated = true; reserved 1; diff --git a/third_party/proto/cosmos/upgrade/v1beta1/upgrade.proto b/third_party/proto/cosmos/upgrade/v1beta1/upgrade.proto index e888b393d6..9900cc3686 100644 --- a/third_party/proto/cosmos/upgrade/v1beta1/upgrade.proto +++ b/third_party/proto/cosmos/upgrade/v1beta1/upgrade.proto @@ -5,12 +5,12 @@ import "google/protobuf/any.proto"; import "gogoproto/gogo.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "github.com/cosmos/cosmos-sdk/x/upgrade/types"; +option go_package = "github.com/cosmos/cosmos-sdk/x/upgrade/types"; option (gogoproto.goproto_getters_all) = false; // Plan specifies information about a planned upgrade and when it should occur. message Plan { - option (gogoproto.equal) = true; + option (gogoproto.equal) = true; option (gogoproto.goproto_stringer) = false; // Sets the name for the upgrade. This name will be used by the upgraded @@ -22,10 +22,14 @@ message Plan { // reached and the software will exit. string name = 1; - // Deprecated: Time based upgrades have been deprecated. Time based upgrade logic - // has been removed from the SDK. - // If this field is not empty, an error will be thrown. - google.protobuf.Timestamp time = 2 [deprecated = true, (gogoproto.stdtime) = true, (gogoproto.nullable) = false]; + // Deprecated: Time based upgrades have been deprecated. Time based upgrade + // logic has been removed from the SDK. If this field is not empty, an error + // will be thrown. + google.protobuf.Timestamp time = 2 [ + deprecated = true, + (gogoproto.stdtime) = true, + (gogoproto.nullable) = false + ]; // The height at which the upgrade must be performed. // Only used if Time is not set. @@ -35,31 +39,33 @@ message Plan { // such as a git commit that validators could automatically upgrade to string info = 4; - // Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been - // moved to the IBC module in the sub module 02-client. - // If this field is not empty, an error will be thrown. - google.protobuf.Any upgraded_client_state = 5 - [deprecated = true, (gogoproto.moretags) = "yaml:\"upgraded_client_state\""]; + // Deprecated: UpgradedClientState field has been deprecated. IBC upgrade + // logic has been moved to the IBC module in the sub module 02-client. If this + // field is not empty, an error will be thrown. + google.protobuf.Any upgraded_client_state = 5 [ + deprecated = true, + (gogoproto.moretags) = "yaml:\"upgraded_client_state\"" + ]; } // SoftwareUpgradeProposal is a gov Content type for initiating a software // upgrade. message SoftwareUpgradeProposal { - option (gogoproto.equal) = true; + option (gogoproto.equal) = true; option (gogoproto.goproto_stringer) = false; - string title = 1; + string title = 1; string description = 2; - Plan plan = 3 [(gogoproto.nullable) = false]; + Plan plan = 3 [ (gogoproto.nullable) = false ]; } // CancelSoftwareUpgradeProposal is a gov Content type for cancelling a software // upgrade. message CancelSoftwareUpgradeProposal { - option (gogoproto.equal) = true; + option (gogoproto.equal) = true; option (gogoproto.goproto_stringer) = false; - string title = 1; + string title = 1; string description = 2; } @@ -67,7 +73,7 @@ message CancelSoftwareUpgradeProposal { // // Since: cosmos-sdk 0.43 message ModuleVersion { - option (gogoproto.equal) = true; + option (gogoproto.equal) = true; option (gogoproto.goproto_stringer) = true; // name of the app module diff --git a/third_party/proto/cosmos/vesting/v1beta1/tx.proto b/third_party/proto/cosmos/vesting/v1beta1/tx.proto index c49be802a7..f3e05405e5 100644 --- a/third_party/proto/cosmos/vesting/v1beta1/tx.proto +++ b/third_party/proto/cosmos/vesting/v1beta1/tx.proto @@ -10,7 +10,8 @@ option go_package = "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"; service Msg { // CreateVestingAccount defines a method that enables creating a vesting // account. - rpc CreateVestingAccount(MsgCreateVestingAccount) returns (MsgCreateVestingAccountResponse); + rpc CreateVestingAccount(MsgCreateVestingAccount) + returns (MsgCreateVestingAccountResponse); } // MsgCreateVestingAccount defines a message that enables creating a vesting @@ -18,14 +19,17 @@ service Msg { message MsgCreateVestingAccount { option (gogoproto.equal) = true; - string from_address = 1 [(gogoproto.moretags) = "yaml:\"from_address\""]; - string to_address = 2 [(gogoproto.moretags) = "yaml:\"to_address\""]; - repeated cosmos.base.v1beta1.Coin amount = 3 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + string from_address = 1 [ (gogoproto.moretags) = "yaml:\"from_address\"" ]; + string to_address = 2 [ (gogoproto.moretags) = "yaml:\"to_address\"" ]; + repeated cosmos.base.v1beta1.Coin amount = 3 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + ]; - int64 end_time = 4 [(gogoproto.moretags) = "yaml:\"end_time\""]; - bool delayed = 5; + int64 end_time = 4 [ (gogoproto.moretags) = "yaml:\"end_time\"" ]; + bool delayed = 5; } -// MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type. +// MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response +// type. message MsgCreateVestingAccountResponse {} \ No newline at end of file diff --git a/third_party/proto/cosmos/vesting/v1beta1/vesting.proto b/third_party/proto/cosmos/vesting/v1beta1/vesting.proto index e9f661f93c..94650ad56a 100644 --- a/third_party/proto/cosmos/vesting/v1beta1/vesting.proto +++ b/third_party/proto/cosmos/vesting/v1beta1/vesting.proto @@ -10,66 +10,71 @@ option go_package = "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"; // BaseVestingAccount implements the VestingAccount interface. It contains all // the necessary fields needed for any vesting account implementation. message BaseVestingAccount { - option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_getters) = false; option (gogoproto.goproto_stringer) = false; - cosmos.auth.v1beta1.BaseAccount base_account = 1 [(gogoproto.embed) = true]; + cosmos.auth.v1beta1.BaseAccount base_account = 1 [ (gogoproto.embed) = true ]; repeated cosmos.base.v1beta1.Coin original_vesting = 2 [ - (gogoproto.nullable) = false, + (gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", - (gogoproto.moretags) = "yaml:\"original_vesting\"" + (gogoproto.moretags) = "yaml:\"original_vesting\"" ]; repeated cosmos.base.v1beta1.Coin delegated_free = 3 [ - (gogoproto.nullable) = false, + (gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", - (gogoproto.moretags) = "yaml:\"delegated_free\"" + (gogoproto.moretags) = "yaml:\"delegated_free\"" ]; repeated cosmos.base.v1beta1.Coin delegated_vesting = 4 [ - (gogoproto.nullable) = false, + (gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", - (gogoproto.moretags) = "yaml:\"delegated_vesting\"" + (gogoproto.moretags) = "yaml:\"delegated_vesting\"" ]; - int64 end_time = 5 [(gogoproto.moretags) = "yaml:\"end_time\""]; + int64 end_time = 5 [ (gogoproto.moretags) = "yaml:\"end_time\"" ]; } // ContinuousVestingAccount implements the VestingAccount interface. It // continuously vests by unlocking coins linearly with respect to time. message ContinuousVestingAccount { - option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_getters) = false; option (gogoproto.goproto_stringer) = false; - BaseVestingAccount base_vesting_account = 1 [(gogoproto.embed) = true]; - int64 start_time = 2 [(gogoproto.moretags) = "yaml:\"start_time\""]; + BaseVestingAccount base_vesting_account = 1 [ (gogoproto.embed) = true ]; + int64 start_time = 2 [ (gogoproto.moretags) = "yaml:\"start_time\"" ]; } // DelayedVestingAccount implements the VestingAccount interface. It vests all // coins after a specific time, but non prior. In other words, it keeps them // locked until a specified time. message DelayedVestingAccount { - option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_getters) = false; option (gogoproto.goproto_stringer) = false; - BaseVestingAccount base_vesting_account = 1 [(gogoproto.embed) = true]; + BaseVestingAccount base_vesting_account = 1 [ (gogoproto.embed) = true ]; } // Period defines a length of time and amount of coins that will vest. message Period { option (gogoproto.goproto_stringer) = false; - int64 length = 1; - repeated cosmos.base.v1beta1.Coin amount = 2 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + int64 length = 1; + repeated cosmos.base.v1beta1.Coin amount = 2 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + ]; } // PeriodicVestingAccount implements the VestingAccount interface. It // periodically vests by unlocking coins during each specified period. message PeriodicVestingAccount { - option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_getters) = false; option (gogoproto.goproto_stringer) = false; - BaseVestingAccount base_vesting_account = 1 [(gogoproto.embed) = true]; - int64 start_time = 2 [(gogoproto.moretags) = "yaml:\"start_time\""]; - repeated Period vesting_periods = 3 [(gogoproto.moretags) = "yaml:\"vesting_periods\"", (gogoproto.nullable) = false]; + BaseVestingAccount base_vesting_account = 1 [ (gogoproto.embed) = true ]; + int64 start_time = 2 [ (gogoproto.moretags) = "yaml:\"start_time\"" ]; + repeated Period vesting_periods = 3 [ + (gogoproto.moretags) = "yaml:\"vesting_periods\"", + (gogoproto.nullable) = false + ]; } // PermanentLockedAccount implements the VestingAccount interface. It does @@ -78,8 +83,8 @@ message PeriodicVestingAccount { // // Since: cosmos-sdk 0.43 message PermanentLockedAccount { - option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_getters) = false; option (gogoproto.goproto_stringer) = false; - BaseVestingAccount base_vesting_account = 1 [(gogoproto.embed) = true]; + BaseVestingAccount base_vesting_account = 1 [ (gogoproto.embed) = true ]; } diff --git a/third_party/proto/ethermint/evm/v1/evm.proto b/third_party/proto/ethermint/evm/v1/evm.proto index 406276a290..408971442d 100644 --- a/third_party/proto/ethermint/evm/v1/evm.proto +++ b/third_party/proto/ethermint/evm/v1/evm.proto @@ -112,7 +112,8 @@ message ChainConfig { (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.moretags) = "yaml:\"arrow_glacier_block\"" ]; - // EIP-3675 (TheMerge) switch block (nil = no fork, 0 = already in merge proceedings) + // EIP-3675 (TheMerge) switch block (nil = no fork, 0 = already in merge + // proceedings) string merge_fork_block = 19 [ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.moretags) = "yaml:\"merge_fork_block\"" diff --git a/third_party/proto/ethermint/evm/v1/query.proto b/third_party/proto/ethermint/evm/v1/query.proto index 11a1be2f73..33dd6315ed 100644 --- a/third_party/proto/ethermint/evm/v1/query.proto +++ b/third_party/proto/ethermint/evm/v1/query.proto @@ -67,7 +67,8 @@ service Query { option (google.api.http).get = "/ethermint/evm/v1/trace_tx"; } - // TraceBlock implements the `debug_traceBlockByNumber` and `debug_traceBlockByHash` rpc api + // TraceBlock implements the `debug_traceBlockByNumber` and + // `debug_traceBlockByHash` rpc api rpc TraceBlock(QueryTraceBlockRequest) returns (QueryTraceBlockResponse) { option (google.api.http).get = "/ethermint/evm/v1/trace_block"; } @@ -242,7 +243,8 @@ message QueryTraceTxRequest { // block hex hash of requested transaction string block_hash = 6; // block time of requested transaction - google.protobuf.Timestamp block_time = 7 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + google.protobuf.Timestamp block_time = 7 + [ (gogoproto.nullable) = false, (gogoproto.stdtime) = true ]; } // QueryTraceTxResponse defines TraceTx response @@ -262,11 +264,9 @@ message QueryTraceBlockRequest { // block hex hash string block_hash = 6; // block time - google.protobuf.Timestamp block_time = 7 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + google.protobuf.Timestamp block_time = 7 + [ (gogoproto.nullable) = false, (gogoproto.stdtime) = true ]; } // QueryTraceBlockResponse defines TraceBlock response -message QueryTraceBlockResponse { - bytes data = 1; -} - +message QueryTraceBlockResponse { bytes data = 1; } diff --git a/third_party/proto/ethermint/feemarket/v1/feemarket.proto b/third_party/proto/ethermint/feemarket/v1/feemarket.proto index 1aab31e2a3..6caa60eb99 100644 --- a/third_party/proto/ethermint/feemarket/v1/feemarket.proto +++ b/third_party/proto/ethermint/feemarket/v1/feemarket.proto @@ -16,7 +16,7 @@ message Params { // have. uint32 elasticity_multiplier = 3; // DEPRECATED: initial base fee for EIP-1559 blocks. - reserved 4; + reserved 4; reserved "initial_base_fee"; // height at which the base fee calculation is enabled. int64 enable_height = 5; diff --git a/third_party/proto/ibc/applications/interchain_accounts/controller/v1/controller.proto b/third_party/proto/ibc/applications/interchain_accounts/controller/v1/controller.proto index 291f3e4fd9..aa7cd7ceb2 100644 --- a/third_party/proto/ibc/applications/interchain_accounts/controller/v1/controller.proto +++ b/third_party/proto/ibc/applications/interchain_accounts/controller/v1/controller.proto @@ -10,5 +10,6 @@ import "gogoproto/gogo.proto"; // The following parameters may be used to disable the controller submodule. message Params { // controller_enabled enables or disables the controller submodule. - bool controller_enabled = 1 [(gogoproto.moretags) = "yaml:\"controller_enabled\""]; + bool controller_enabled = 1 + [ (gogoproto.moretags) = "yaml:\"controller_enabled\"" ]; } diff --git a/third_party/proto/ibc/applications/interchain_accounts/controller/v1/query.proto b/third_party/proto/ibc/applications/interchain_accounts/controller/v1/query.proto index d3960e9d14..3a4d63aae0 100644 --- a/third_party/proto/ibc/applications/interchain_accounts/controller/v1/query.proto +++ b/third_party/proto/ibc/applications/interchain_accounts/controller/v1/query.proto @@ -11,7 +11,8 @@ import "google/api/annotations.proto"; service Query { // Params queries all parameters of the ICA controller submodule. rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/ibc/apps/interchain_accounts/controller/v1/params"; + option (google.api.http).get = + "/ibc/apps/interchain_accounts/controller/v1/params"; } } diff --git a/third_party/proto/ibc/applications/interchain_accounts/host/v1/host.proto b/third_party/proto/ibc/applications/interchain_accounts/host/v1/host.proto index a9d951cef8..6b772a4387 100644 --- a/third_party/proto/ibc/applications/interchain_accounts/host/v1/host.proto +++ b/third_party/proto/ibc/applications/interchain_accounts/host/v1/host.proto @@ -10,7 +10,9 @@ import "gogoproto/gogo.proto"; // The following parameters may be used to disable the host submodule. message Params { // host_enabled enables or disables the host submodule. - bool host_enabled = 1 [(gogoproto.moretags) = "yaml:\"host_enabled\""]; - // allow_messages defines a list of sdk message typeURLs allowed to be executed on a host chain. - repeated string allow_messages = 2 [(gogoproto.moretags) = "yaml:\"allow_messages\""]; + bool host_enabled = 1 [ (gogoproto.moretags) = "yaml:\"host_enabled\"" ]; + // allow_messages defines a list of sdk message typeURLs allowed to be + // executed on a host chain. + repeated string allow_messages = 2 + [ (gogoproto.moretags) = "yaml:\"allow_messages\"" ]; } diff --git a/third_party/proto/ibc/applications/interchain_accounts/host/v1/query.proto b/third_party/proto/ibc/applications/interchain_accounts/host/v1/query.proto index 5512d7b4fa..c95625ddcb 100644 --- a/third_party/proto/ibc/applications/interchain_accounts/host/v1/query.proto +++ b/third_party/proto/ibc/applications/interchain_accounts/host/v1/query.proto @@ -11,7 +11,8 @@ import "ibc/applications/interchain_accounts/host/v1/host.proto"; service Query { // Params queries all parameters of the ICA host submodule. rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/ibc/apps/interchain_accounts/host/v1/params"; + option (google.api.http).get = + "/ibc/apps/interchain_accounts/host/v1/params"; } } diff --git a/third_party/proto/ibc/applications/interchain_accounts/v1/account.proto b/third_party/proto/ibc/applications/interchain_accounts/v1/account.proto index 75d2fbd89e..4336bd9f81 100644 --- a/third_party/proto/ibc/applications/interchain_accounts/v1/account.proto +++ b/third_party/proto/ibc/applications/interchain_accounts/v1/account.proto @@ -8,13 +8,16 @@ import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; import "cosmos/auth/v1beta1/auth.proto"; -// An InterchainAccount is defined as a BaseAccount & the address of the account owner on the controller chain +// An InterchainAccount is defined as a BaseAccount & the address of the account +// owner on the controller chain message InterchainAccount { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; option (cosmos_proto.implements_interface) = "InterchainAccountI"; - cosmos.auth.v1beta1.BaseAccount base_account = 1 - [(gogoproto.embed) = true, (gogoproto.moretags) = "yaml:\"base_account\""]; - string account_owner = 2 [(gogoproto.moretags) = "yaml:\"account_owner\""]; + cosmos.auth.v1beta1.BaseAccount base_account = 1 [ + (gogoproto.embed) = true, + (gogoproto.moretags) = "yaml:\"base_account\"" + ]; + string account_owner = 2 [ (gogoproto.moretags) = "yaml:\"account_owner\"" ]; } diff --git a/third_party/proto/ibc/applications/interchain_accounts/v1/genesis.proto b/third_party/proto/ibc/applications/interchain_accounts/v1/genesis.proto index 3902f89070..087b7b96f1 100644 --- a/third_party/proto/ibc/applications/interchain_accounts/v1/genesis.proto +++ b/third_party/proto/ibc/applications/interchain_accounts/v1/genesis.proto @@ -10,42 +10,60 @@ import "ibc/applications/interchain_accounts/host/v1/host.proto"; // GenesisState defines the interchain accounts genesis state message GenesisState { - ControllerGenesisState controller_genesis_state = 1 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"controller_genesis_state\""]; - HostGenesisState host_genesis_state = 2 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"host_genesis_state\""]; + ControllerGenesisState controller_genesis_state = 1 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"controller_genesis_state\"" + ]; + HostGenesisState host_genesis_state = 2 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"host_genesis_state\"" + ]; } -// ControllerGenesisState defines the interchain accounts controller genesis state +// ControllerGenesisState defines the interchain accounts controller genesis +// state message ControllerGenesisState { - repeated ActiveChannel active_channels = 1 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"active_channels\""]; - repeated RegisteredInterchainAccount interchain_accounts = 2 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"interchain_accounts\""]; - repeated string ports = 3; - ibc.applications.interchain_accounts.controller.v1.Params params = 4 [(gogoproto.nullable) = false]; + repeated ActiveChannel active_channels = 1 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"active_channels\"" + ]; + repeated RegisteredInterchainAccount interchain_accounts = 2 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"interchain_accounts\"" + ]; + repeated string ports = 3; + ibc.applications.interchain_accounts.controller.v1.Params params = 4 + [ (gogoproto.nullable) = false ]; } // HostGenesisState defines the interchain accounts host genesis state message HostGenesisState { - repeated ActiveChannel active_channels = 1 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"active_channels\""]; - repeated RegisteredInterchainAccount interchain_accounts = 2 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"interchain_accounts\""]; - string port = 3; - ibc.applications.interchain_accounts.host.v1.Params params = 4 [(gogoproto.nullable) = false]; + repeated ActiveChannel active_channels = 1 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"active_channels\"" + ]; + repeated RegisteredInterchainAccount interchain_accounts = 2 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"interchain_accounts\"" + ]; + string port = 3; + ibc.applications.interchain_accounts.host.v1.Params params = 4 + [ (gogoproto.nullable) = false ]; } -// ActiveChannel contains a connection ID, port ID and associated active channel ID +// ActiveChannel contains a connection ID, port ID and associated active channel +// ID message ActiveChannel { - string connection_id = 1 [(gogoproto.moretags) = "yaml:\"connection_id\""]; - string port_id = 2 [(gogoproto.moretags) = "yaml:\"port_id\""]; - string channel_id = 3 [(gogoproto.moretags) = "yaml:\"channel_id\""]; + string connection_id = 1 [ (gogoproto.moretags) = "yaml:\"connection_id\"" ]; + string port_id = 2 [ (gogoproto.moretags) = "yaml:\"port_id\"" ]; + string channel_id = 3 [ (gogoproto.moretags) = "yaml:\"channel_id\"" ]; } -// RegisteredInterchainAccount contains a connection ID, port ID and associated interchain account address +// RegisteredInterchainAccount contains a connection ID, port ID and associated +// interchain account address message RegisteredInterchainAccount { - string connection_id = 1 [(gogoproto.moretags) = "yaml:\"connection_id\""]; - string port_id = 2 [(gogoproto.moretags) = "yaml:\"port_id\""]; - string account_address = 3 [(gogoproto.moretags) = "yaml:\"account_address\""]; + string connection_id = 1 [ (gogoproto.moretags) = "yaml:\"connection_id\"" ]; + string port_id = 2 [ (gogoproto.moretags) = "yaml:\"port_id\"" ]; + string account_address = 3 + [ (gogoproto.moretags) = "yaml:\"account_address\"" ]; } \ No newline at end of file diff --git a/third_party/proto/ibc/applications/interchain_accounts/v1/metadata.proto b/third_party/proto/ibc/applications/interchain_accounts/v1/metadata.proto index 3eab1d04a6..d0229ff903 100644 --- a/third_party/proto/ibc/applications/interchain_accounts/v1/metadata.proto +++ b/third_party/proto/ibc/applications/interchain_accounts/v1/metadata.proto @@ -6,17 +6,23 @@ option go_package = "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-acco import "gogoproto/gogo.proto"; -// Metadata defines a set of protocol specific data encoded into the ICS27 channel version bytestring -// See ICS004: https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#Versioning +// Metadata defines a set of protocol specific data encoded into the ICS27 +// channel version bytestring See ICS004: +// https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#Versioning message Metadata { // version defines the ICS27 protocol version string version = 1; - // controller_connection_id is the connection identifier associated with the controller chain - string controller_connection_id = 2 [(gogoproto.moretags) = "yaml:\"controller_connection_id\""]; - // host_connection_id is the connection identifier associated with the host chain - string host_connection_id = 3 [(gogoproto.moretags) = "yaml:\"host_connection_id\""]; - // address defines the interchain account address to be fulfilled upon the OnChanOpenTry handshake step - // NOTE: the address field is empty on the OnChanOpenInit handshake step + // controller_connection_id is the connection identifier associated with the + // controller chain + string controller_connection_id = 2 + [ (gogoproto.moretags) = "yaml:\"controller_connection_id\"" ]; + // host_connection_id is the connection identifier associated with the host + // chain + string host_connection_id = 3 + [ (gogoproto.moretags) = "yaml:\"host_connection_id\"" ]; + // address defines the interchain account address to be fulfilled upon the + // OnChanOpenTry handshake step NOTE: the address field is empty on the + // OnChanOpenInit handshake step string address = 4; // encoding defines the supported codec format string encoding = 5; diff --git a/third_party/proto/ibc/applications/interchain_accounts/v1/packet.proto b/third_party/proto/ibc/applications/interchain_accounts/v1/packet.proto index 51ff4279ae..2535c05fa1 100644 --- a/third_party/proto/ibc/applications/interchain_accounts/v1/packet.proto +++ b/third_party/proto/ibc/applications/interchain_accounts/v1/packet.proto @@ -7,25 +7,25 @@ option go_package = "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-acco import "google/protobuf/any.proto"; import "gogoproto/gogo.proto"; -// Type defines a classification of message issued from a controller chain to its associated interchain accounts -// host +// Type defines a classification of message issued from a controller chain to +// its associated interchain accounts host enum Type { option (gogoproto.goproto_enum_prefix) = false; // Default zero value enumeration - TYPE_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "UNSPECIFIED"]; + TYPE_UNSPECIFIED = 0 [ (gogoproto.enumvalue_customname) = "UNSPECIFIED" ]; // Execute a transaction on an interchain accounts host chain - TYPE_EXECUTE_TX = 1 [(gogoproto.enumvalue_customname) = "EXECUTE_TX"]; + TYPE_EXECUTE_TX = 1 [ (gogoproto.enumvalue_customname) = "EXECUTE_TX" ]; } -// InterchainAccountPacketData is comprised of a raw transaction, type of transaction and optional memo field. +// InterchainAccountPacketData is comprised of a raw transaction, type of +// transaction and optional memo field. message InterchainAccountPacketData { - Type type = 1; - bytes data = 2; + Type type = 1; + bytes data = 2; string memo = 3; } -// CosmosTx contains a list of sdk.Msg's. It should be used when sending transactions to an SDK host chain. -message CosmosTx { - repeated google.protobuf.Any messages = 1; -} +// CosmosTx contains a list of sdk.Msg's. It should be used when sending +// transactions to an SDK host chain. +message CosmosTx { repeated google.protobuf.Any messages = 1; } diff --git a/third_party/proto/ibc/applications/transfer/v1/genesis.proto b/third_party/proto/ibc/applications/transfer/v1/genesis.proto index 0b5c0e0d12..ef240f2c54 100644 --- a/third_party/proto/ibc/applications/transfer/v1/genesis.proto +++ b/third_party/proto/ibc/applications/transfer/v1/genesis.proto @@ -9,11 +9,11 @@ import "gogoproto/gogo.proto"; // GenesisState defines the ibc-transfer genesis state message GenesisState { - string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; + string port_id = 1 [ (gogoproto.moretags) = "yaml:\"port_id\"" ]; repeated DenomTrace denom_traces = 2 [ (gogoproto.castrepeated) = "Traces", - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"denom_traces\"" + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"denom_traces\"" ]; - Params params = 3 [(gogoproto.nullable) = false]; + Params params = 3 [ (gogoproto.nullable) = false ]; } diff --git a/third_party/proto/ibc/applications/transfer/v1/query.proto b/third_party/proto/ibc/applications/transfer/v1/query.proto index 2ed28049fd..335ee007fe 100644 --- a/third_party/proto/ibc/applications/transfer/v1/query.proto +++ b/third_party/proto/ibc/applications/transfer/v1/query.proto @@ -57,7 +57,8 @@ message QueryDenomTracesRequest { // method. message QueryDenomTracesResponse { // denom_traces returns all denominations trace information. - repeated DenomTrace denom_traces = 1 [(gogoproto.castrepeated) = "Traces", (gogoproto.nullable) = false]; + repeated DenomTrace denom_traces = 1 + [ (gogoproto.castrepeated) = "Traces", (gogoproto.nullable) = false ]; // pagination defines the pagination in the response. cosmos.base.query.v1beta1.PageResponse pagination = 2; } diff --git a/third_party/proto/ibc/applications/transfer/v1/transfer.proto b/third_party/proto/ibc/applications/transfer/v1/transfer.proto index 7a99485c58..611f49ac5b 100644 --- a/third_party/proto/ibc/applications/transfer/v1/transfer.proto +++ b/third_party/proto/ibc/applications/transfer/v1/transfer.proto @@ -23,8 +23,9 @@ message DenomTrace { message Params { // send_enabled enables or disables all cross-chain token transfers from this // chain. - bool send_enabled = 1 [(gogoproto.moretags) = "yaml:\"send_enabled\""]; + bool send_enabled = 1 [ (gogoproto.moretags) = "yaml:\"send_enabled\"" ]; // receive_enabled enables or disables all cross-chain token transfers to this // chain. - bool receive_enabled = 2 [(gogoproto.moretags) = "yaml:\"receive_enabled\""]; + bool receive_enabled = 2 + [ (gogoproto.moretags) = "yaml:\"receive_enabled\"" ]; } diff --git a/third_party/proto/ibc/applications/transfer/v1/tx.proto b/third_party/proto/ibc/applications/transfer/v1/tx.proto index 8f1392b0cf..a115097f3f 100644 --- a/third_party/proto/ibc/applications/transfer/v1/tx.proto +++ b/third_party/proto/ibc/applications/transfer/v1/tx.proto @@ -18,26 +18,30 @@ service Msg { // ICS20 enabled chains. See ICS Spec here: // https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures message MsgTransfer { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // the port on which the packet will be sent - string source_port = 1 [(gogoproto.moretags) = "yaml:\"source_port\""]; + string source_port = 1 [ (gogoproto.moretags) = "yaml:\"source_port\"" ]; // the channel by which the packet will be sent - string source_channel = 2 [(gogoproto.moretags) = "yaml:\"source_channel\""]; + string source_channel = 2 + [ (gogoproto.moretags) = "yaml:\"source_channel\"" ]; // the tokens to be transferred - cosmos.base.v1beta1.Coin token = 3 [(gogoproto.nullable) = false]; + cosmos.base.v1beta1.Coin token = 3 [ (gogoproto.nullable) = false ]; // the sender address string sender = 4; // the recipient address on the destination chain string receiver = 5; // Timeout height relative to the current block height. // The timeout is disabled when set to 0. - ibc.core.client.v1.Height timeout_height = 6 - [(gogoproto.moretags) = "yaml:\"timeout_height\"", (gogoproto.nullable) = false]; + ibc.core.client.v1.Height timeout_height = 6 [ + (gogoproto.moretags) = "yaml:\"timeout_height\"", + (gogoproto.nullable) = false + ]; // Timeout timestamp in absolute nanoseconds since unix epoch. // The timeout is disabled when set to 0. - uint64 timeout_timestamp = 7 [(gogoproto.moretags) = "yaml:\"timeout_timestamp\""]; + uint64 timeout_timestamp = 7 + [ (gogoproto.moretags) = "yaml:\"timeout_timestamp\"" ]; } // MsgTransferResponse defines the Msg/Transfer response type. diff --git a/third_party/proto/ibc/core/channel/v1/channel.proto b/third_party/proto/ibc/core/channel/v1/channel.proto index 68c6ec17b1..8c002c009d 100644 --- a/third_party/proto/ibc/core/channel/v1/channel.proto +++ b/third_party/proto/ibc/core/channel/v1/channel.proto @@ -18,10 +18,11 @@ message Channel { // whether the channel is ordered or unordered Order ordering = 2; // counterparty channel end - Counterparty counterparty = 3 [(gogoproto.nullable) = false]; + Counterparty counterparty = 3 [ (gogoproto.nullable) = false ]; // list of connection identifiers, in order, along which packets sent on // this channel will travel - repeated string connection_hops = 4 [(gogoproto.moretags) = "yaml:\"connection_hops\""]; + repeated string connection_hops = 4 + [ (gogoproto.moretags) = "yaml:\"connection_hops\"" ]; // opaque channel version, which is agreed upon during the handshake string version = 5; } @@ -36,10 +37,11 @@ message IdentifiedChannel { // whether the channel is ordered or unordered Order ordering = 2; // counterparty channel end - Counterparty counterparty = 3 [(gogoproto.nullable) = false]; + Counterparty counterparty = 3 [ (gogoproto.nullable) = false ]; // list of connection identifiers, in order, along which packets sent on // this channel will travel - repeated string connection_hops = 4 [(gogoproto.moretags) = "yaml:\"connection_hops\""]; + repeated string connection_hops = 4 + [ (gogoproto.moretags) = "yaml:\"connection_hops\"" ]; // opaque channel version, which is agreed upon during the handshake string version = 5; // port identifier @@ -54,17 +56,18 @@ enum State { option (gogoproto.goproto_enum_prefix) = false; // Default State - STATE_UNINITIALIZED_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "UNINITIALIZED"]; + STATE_UNINITIALIZED_UNSPECIFIED = 0 + [ (gogoproto.enumvalue_customname) = "UNINITIALIZED" ]; // A channel has just started the opening handshake. - STATE_INIT = 1 [(gogoproto.enumvalue_customname) = "INIT"]; + STATE_INIT = 1 [ (gogoproto.enumvalue_customname) = "INIT" ]; // A channel has acknowledged the handshake step on the counterparty chain. - STATE_TRYOPEN = 2 [(gogoproto.enumvalue_customname) = "TRYOPEN"]; + STATE_TRYOPEN = 2 [ (gogoproto.enumvalue_customname) = "TRYOPEN" ]; // A channel has completed the handshake. Open channels are // ready to send and receive packets. - STATE_OPEN = 3 [(gogoproto.enumvalue_customname) = "OPEN"]; + STATE_OPEN = 3 [ (gogoproto.enumvalue_customname) = "OPEN" ]; // A channel has been closed and can no longer be used to send or receive // packets. - STATE_CLOSED = 4 [(gogoproto.enumvalue_customname) = "CLOSED"]; + STATE_CLOSED = 4 [ (gogoproto.enumvalue_customname) = "CLOSED" ]; } // Order defines if a channel is ORDERED or UNORDERED @@ -72,12 +75,12 @@ enum Order { option (gogoproto.goproto_enum_prefix) = false; // zero-value for channel ordering - ORDER_NONE_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "NONE"]; + ORDER_NONE_UNSPECIFIED = 0 [ (gogoproto.enumvalue_customname) = "NONE" ]; // packets can be delivered in any order, which may differ from the order in // which they were sent. - ORDER_UNORDERED = 1 [(gogoproto.enumvalue_customname) = "UNORDERED"]; + ORDER_UNORDERED = 1 [ (gogoproto.enumvalue_customname) = "UNORDERED" ]; // packets are delivered exactly in the order which they were sent - ORDER_ORDERED = 2 [(gogoproto.enumvalue_customname) = "ORDERED"]; + ORDER_ORDERED = 2 [ (gogoproto.enumvalue_customname) = "ORDERED" ]; } // Counterparty defines a channel end counterparty @@ -85,9 +88,9 @@ message Counterparty { option (gogoproto.goproto_getters) = false; // port on the counterparty chain which owns the other end of the channel. - string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; + string port_id = 1 [ (gogoproto.moretags) = "yaml:\"port_id\"" ]; // channel end on the counterparty chain - string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; + string channel_id = 2 [ (gogoproto.moretags) = "yaml:\"channel_id\"" ]; } // Packet defines a type that carries data across different chains through IBC @@ -99,20 +102,26 @@ message Packet { // with a later sequence number. uint64 sequence = 1; // identifies the port on the sending chain. - string source_port = 2 [(gogoproto.moretags) = "yaml:\"source_port\""]; + string source_port = 2 [ (gogoproto.moretags) = "yaml:\"source_port\"" ]; // identifies the channel end on the sending chain. - string source_channel = 3 [(gogoproto.moretags) = "yaml:\"source_channel\""]; + string source_channel = 3 + [ (gogoproto.moretags) = "yaml:\"source_channel\"" ]; // identifies the port on the receiving chain. - string destination_port = 4 [(gogoproto.moretags) = "yaml:\"destination_port\""]; + string destination_port = 4 + [ (gogoproto.moretags) = "yaml:\"destination_port\"" ]; // identifies the channel end on the receiving chain. - string destination_channel = 5 [(gogoproto.moretags) = "yaml:\"destination_channel\""]; + string destination_channel = 5 + [ (gogoproto.moretags) = "yaml:\"destination_channel\"" ]; // actual opaque bytes transferred directly to the application module bytes data = 6; // block height after which the packet times out - ibc.core.client.v1.Height timeout_height = 7 - [(gogoproto.moretags) = "yaml:\"timeout_height\"", (gogoproto.nullable) = false]; + ibc.core.client.v1.Height timeout_height = 7 [ + (gogoproto.moretags) = "yaml:\"timeout_height\"", + (gogoproto.nullable) = false + ]; // block timestamp (in nanoseconds) after which the packet times out - uint64 timeout_timestamp = 8 [(gogoproto.moretags) = "yaml:\"timeout_timestamp\""]; + uint64 timeout_timestamp = 8 + [ (gogoproto.moretags) = "yaml:\"timeout_timestamp\"" ]; } // PacketState defines the generic type necessary to retrieve and store @@ -123,9 +132,9 @@ message PacketState { option (gogoproto.goproto_getters) = false; // channel port identifier. - string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; + string port_id = 1 [ (gogoproto.moretags) = "yaml:\"port_id\"" ]; // channel unique identifier. - string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; + string channel_id = 2 [ (gogoproto.moretags) = "yaml:\"channel_id\"" ]; // packet sequence. uint64 sequence = 3; // embedded data that represents packet state. @@ -142,7 +151,7 @@ message PacketState { message Acknowledgement { // response contains either a result or an error and must be non-empty oneof response { - bytes result = 21; - string error = 22; + bytes result = 21; + string error = 22; } } diff --git a/third_party/proto/ibc/core/channel/v1/genesis.proto b/third_party/proto/ibc/core/channel/v1/genesis.proto index d95c891b6c..c17ee4e7aa 100644 --- a/third_party/proto/ibc/core/channel/v1/genesis.proto +++ b/third_party/proto/ibc/core/channel/v1/genesis.proto @@ -9,24 +9,34 @@ import "ibc/core/channel/v1/channel.proto"; // GenesisState defines the ibc channel submodule's genesis state. message GenesisState { - repeated IdentifiedChannel channels = 1 [(gogoproto.casttype) = "IdentifiedChannel", (gogoproto.nullable) = false]; - repeated PacketState acknowledgements = 2 [(gogoproto.nullable) = false]; - repeated PacketState commitments = 3 [(gogoproto.nullable) = false]; - repeated PacketState receipts = 4 [(gogoproto.nullable) = false]; - repeated PacketSequence send_sequences = 5 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"send_sequences\""]; - repeated PacketSequence recv_sequences = 6 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"recv_sequences\""]; - repeated PacketSequence ack_sequences = 7 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"ack_sequences\""]; + repeated IdentifiedChannel channels = 1 [ + (gogoproto.casttype) = "IdentifiedChannel", + (gogoproto.nullable) = false + ]; + repeated PacketState acknowledgements = 2 [ (gogoproto.nullable) = false ]; + repeated PacketState commitments = 3 [ (gogoproto.nullable) = false ]; + repeated PacketState receipts = 4 [ (gogoproto.nullable) = false ]; + repeated PacketSequence send_sequences = 5 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"send_sequences\"" + ]; + repeated PacketSequence recv_sequences = 6 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"recv_sequences\"" + ]; + repeated PacketSequence ack_sequences = 7 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"ack_sequences\"" + ]; // the sequence for the next generated channel identifier - uint64 next_channel_sequence = 8 [(gogoproto.moretags) = "yaml:\"next_channel_sequence\""]; + uint64 next_channel_sequence = 8 + [ (gogoproto.moretags) = "yaml:\"next_channel_sequence\"" ]; } // PacketSequence defines the genesis type necessary to retrieve and store // next send and receive sequences. message PacketSequence { - string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; - string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; - uint64 sequence = 3; + string port_id = 1 [ (gogoproto.moretags) = "yaml:\"port_id\"" ]; + string channel_id = 2 [ (gogoproto.moretags) = "yaml:\"channel_id\"" ]; + uint64 sequence = 3; } diff --git a/third_party/proto/ibc/core/channel/v1/query.proto b/third_party/proto/ibc/core/channel/v1/query.proto index ceb13d0009..2cd4102225 100644 --- a/third_party/proto/ibc/core/channel/v1/query.proto +++ b/third_party/proto/ibc/core/channel/v1/query.proto @@ -15,7 +15,8 @@ import "gogoproto/gogo.proto"; service Query { // Channel queries an IBC Channel. rpc Channel(QueryChannelRequest) returns (QueryChannelResponse) { - option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}"; + option (google.api.http).get = + "/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}"; } // Channels queries all the IBC channels of a chain. @@ -25,76 +26,90 @@ service Query { // ConnectionChannels queries all the channels associated with a connection // end. - rpc ConnectionChannels(QueryConnectionChannelsRequest) returns (QueryConnectionChannelsResponse) { - option (google.api.http).get = "/ibc/core/channel/v1/connections/{connection}/channels"; + rpc ConnectionChannels(QueryConnectionChannelsRequest) + returns (QueryConnectionChannelsResponse) { + option (google.api.http).get = + "/ibc/core/channel/v1/connections/{connection}/channels"; } // ChannelClientState queries for the client state for the channel associated // with the provided channel identifiers. - rpc ChannelClientState(QueryChannelClientStateRequest) returns (QueryChannelClientStateResponse) { + rpc ChannelClientState(QueryChannelClientStateRequest) + returns (QueryChannelClientStateResponse) { option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" "ports/{port_id}/client_state"; } // ChannelConsensusState queries for the consensus state for the channel // associated with the provided channel identifiers. - rpc ChannelConsensusState(QueryChannelConsensusStateRequest) returns (QueryChannelConsensusStateResponse) { + rpc ChannelConsensusState(QueryChannelConsensusStateRequest) + returns (QueryChannelConsensusStateResponse) { option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" "ports/{port_id}/consensus_state/revision/" "{revision_number}/height/{revision_height}"; } // PacketCommitment queries a stored packet commitment hash. - rpc PacketCommitment(QueryPacketCommitmentRequest) returns (QueryPacketCommitmentResponse) { - option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/" - "packet_commitments/{sequence}"; + rpc PacketCommitment(QueryPacketCommitmentRequest) + returns (QueryPacketCommitmentResponse) { + option (google.api.http).get = + "/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/" + "packet_commitments/{sequence}"; } // PacketCommitments returns all the packet commitments hashes associated // with a channel. - rpc PacketCommitments(QueryPacketCommitmentsRequest) returns (QueryPacketCommitmentsResponse) { + rpc PacketCommitments(QueryPacketCommitmentsRequest) + returns (QueryPacketCommitmentsResponse) { option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" "ports/{port_id}/packet_commitments"; } // PacketReceipt queries if a given packet sequence has been received on the // queried chain - rpc PacketReceipt(QueryPacketReceiptRequest) returns (QueryPacketReceiptResponse) { + rpc PacketReceipt(QueryPacketReceiptRequest) + returns (QueryPacketReceiptResponse) { option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" "ports/{port_id}/packet_receipts/{sequence}"; } // PacketAcknowledgement queries a stored packet acknowledgement hash. - rpc PacketAcknowledgement(QueryPacketAcknowledgementRequest) returns (QueryPacketAcknowledgementResponse) { + rpc PacketAcknowledgement(QueryPacketAcknowledgementRequest) + returns (QueryPacketAcknowledgementResponse) { option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" "ports/{port_id}/packet_acks/{sequence}"; } // PacketAcknowledgements returns all the packet acknowledgements associated // with a channel. - rpc PacketAcknowledgements(QueryPacketAcknowledgementsRequest) returns (QueryPacketAcknowledgementsResponse) { + rpc PacketAcknowledgements(QueryPacketAcknowledgementsRequest) + returns (QueryPacketAcknowledgementsResponse) { option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" "ports/{port_id}/packet_acknowledgements"; } // UnreceivedPackets returns all the unreceived IBC packets associated with a // channel and sequences. - rpc UnreceivedPackets(QueryUnreceivedPacketsRequest) returns (QueryUnreceivedPacketsResponse) { - option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/" - "packet_commitments/" - "{packet_commitment_sequences}/unreceived_packets"; + rpc UnreceivedPackets(QueryUnreceivedPacketsRequest) + returns (QueryUnreceivedPacketsResponse) { + option (google.api.http).get = + "/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/" + "packet_commitments/" + "{packet_commitment_sequences}/unreceived_packets"; } // UnreceivedAcks returns all the unreceived IBC acknowledgements associated // with a channel and sequences. - rpc UnreceivedAcks(QueryUnreceivedAcksRequest) returns (QueryUnreceivedAcksResponse) { + rpc UnreceivedAcks(QueryUnreceivedAcksRequest) + returns (QueryUnreceivedAcksResponse) { option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" "ports/{port_id}/packet_commitments/" "{packet_ack_sequences}/unreceived_acks"; } // NextSequenceReceive returns the next receive sequence for a given channel. - rpc NextSequenceReceive(QueryNextSequenceReceiveRequest) returns (QueryNextSequenceReceiveResponse) { + rpc NextSequenceReceive(QueryNextSequenceReceiveRequest) + returns (QueryNextSequenceReceiveResponse) { option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" "ports/{port_id}/next_sequence"; } @@ -117,7 +132,7 @@ message QueryChannelResponse { // merkle proof of existence bytes proof = 2; // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; + ibc.core.client.v1.Height proof_height = 3 [ (gogoproto.nullable) = false ]; } // QueryChannelsRequest is the request type for the Query/Channels RPC method @@ -133,7 +148,7 @@ message QueryChannelsResponse { // pagination response cosmos.base.query.v1beta1.PageResponse pagination = 2; // query block height - ibc.core.client.v1.Height height = 3 [(gogoproto.nullable) = false]; + ibc.core.client.v1.Height height = 3 [ (gogoproto.nullable) = false ]; } // QueryConnectionChannelsRequest is the request type for the @@ -153,7 +168,7 @@ message QueryConnectionChannelsResponse { // pagination response cosmos.base.query.v1beta1.PageResponse pagination = 2; // query block height - ibc.core.client.v1.Height height = 3 [(gogoproto.nullable) = false]; + ibc.core.client.v1.Height height = 3 [ (gogoproto.nullable) = false ]; } // QueryChannelClientStateRequest is the request type for the Query/ClientState @@ -173,7 +188,7 @@ message QueryChannelClientStateResponse { // merkle proof of existence bytes proof = 2; // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; + ibc.core.client.v1.Height proof_height = 3 [ (gogoproto.nullable) = false ]; } // QueryChannelConsensusStateRequest is the request type for the @@ -199,7 +214,7 @@ message QueryChannelConsensusStateResponse { // merkle proof of existence bytes proof = 3; // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 4 [(gogoproto.nullable) = false]; + ibc.core.client.v1.Height proof_height = 4 [ (gogoproto.nullable) = false ]; } // QueryPacketCommitmentRequest is the request type for the @@ -222,7 +237,7 @@ message QueryPacketCommitmentResponse { // merkle proof of existence bytes proof = 2; // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; + ibc.core.client.v1.Height proof_height = 3 [ (gogoproto.nullable) = false ]; } // QueryPacketCommitmentsRequest is the request type for the @@ -243,7 +258,7 @@ message QueryPacketCommitmentsResponse { // pagination response cosmos.base.query.v1beta1.PageResponse pagination = 2; // query block height - ibc.core.client.v1.Height height = 3 [(gogoproto.nullable) = false]; + ibc.core.client.v1.Height height = 3 [ (gogoproto.nullable) = false ]; } // QueryPacketReceiptRequest is the request type for the @@ -266,7 +281,7 @@ message QueryPacketReceiptResponse { // merkle proof of existence bytes proof = 3; // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 4 [(gogoproto.nullable) = false]; + ibc.core.client.v1.Height proof_height = 4 [ (gogoproto.nullable) = false ]; } // QueryPacketAcknowledgementRequest is the request type for the @@ -289,7 +304,7 @@ message QueryPacketAcknowledgementResponse { // merkle proof of existence bytes proof = 2; // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; + ibc.core.client.v1.Height proof_height = 3 [ (gogoproto.nullable) = false ]; } // QueryPacketAcknowledgementsRequest is the request type for the @@ -312,7 +327,7 @@ message QueryPacketAcknowledgementsResponse { // pagination response cosmos.base.query.v1beta1.PageResponse pagination = 2; // query block height - ibc.core.client.v1.Height height = 3 [(gogoproto.nullable) = false]; + ibc.core.client.v1.Height height = 3 [ (gogoproto.nullable) = false ]; } // QueryUnreceivedPacketsRequest is the request type for the @@ -332,7 +347,7 @@ message QueryUnreceivedPacketsResponse { // list of unreceived packet sequences repeated uint64 sequences = 1; // query block height - ibc.core.client.v1.Height height = 2 [(gogoproto.nullable) = false]; + ibc.core.client.v1.Height height = 2 [ (gogoproto.nullable) = false ]; } // QueryUnreceivedAcks is the request type for the @@ -352,7 +367,7 @@ message QueryUnreceivedAcksResponse { // list of unreceived acknowledgement sequences repeated uint64 sequences = 1; // query block height - ibc.core.client.v1.Height height = 2 [(gogoproto.nullable) = false]; + ibc.core.client.v1.Height height = 2 [ (gogoproto.nullable) = false ]; } // QueryNextSequenceReceiveRequest is the request type for the @@ -372,5 +387,5 @@ message QueryNextSequenceReceiveResponse { // merkle proof of existence bytes proof = 2; // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; + ibc.core.client.v1.Height proof_height = 3 [ (gogoproto.nullable) = false ]; } diff --git a/third_party/proto/ibc/core/channel/v1/tx.proto b/third_party/proto/ibc/core/channel/v1/tx.proto index 7fc8f730e3..5d83c8fcfc 100644 --- a/third_party/proto/ibc/core/channel/v1/tx.proto +++ b/third_party/proto/ibc/core/channel/v1/tx.proto @@ -20,14 +20,17 @@ service Msg { rpc ChannelOpenAck(MsgChannelOpenAck) returns (MsgChannelOpenAckResponse); // ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm. - rpc ChannelOpenConfirm(MsgChannelOpenConfirm) returns (MsgChannelOpenConfirmResponse); + rpc ChannelOpenConfirm(MsgChannelOpenConfirm) + returns (MsgChannelOpenConfirmResponse); // ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit. - rpc ChannelCloseInit(MsgChannelCloseInit) returns (MsgChannelCloseInitResponse); + rpc ChannelCloseInit(MsgChannelCloseInit) + returns (MsgChannelCloseInitResponse); // ChannelCloseConfirm defines a rpc handler method for // MsgChannelCloseConfirm. - rpc ChannelCloseConfirm(MsgChannelCloseConfirm) returns (MsgChannelCloseConfirmResponse); + rpc ChannelCloseConfirm(MsgChannelCloseConfirm) + returns (MsgChannelCloseConfirmResponse); // RecvPacket defines a rpc handler method for MsgRecvPacket. rpc RecvPacket(MsgRecvPacket) returns (MsgRecvPacketResponse); @@ -45,36 +48,41 @@ service Msg { // MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It // is called by a relayer on Chain A. message MsgChannelOpenInit { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; - Channel channel = 2 [(gogoproto.nullable) = false]; - string signer = 3; + string port_id = 1 [ (gogoproto.moretags) = "yaml:\"port_id\"" ]; + Channel channel = 2 [ (gogoproto.nullable) = false ]; + string signer = 3; } // MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit response type. message MsgChannelOpenInitResponse { - string channel_id = 1 [(gogoproto.moretags) = "yaml:\"channel_id\""]; + string channel_id = 1 [ (gogoproto.moretags) = "yaml:\"channel_id\"" ]; } // MsgChannelOpenInit defines a msg sent by a Relayer to try to open a channel -// on Chain B. The version field within the Channel field has been deprecated. Its -// value will be ignored by core IBC. +// on Chain B. The version field within the Channel field has been deprecated. +// Its value will be ignored by core IBC. message MsgChannelOpenTry { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; + string port_id = 1 [ (gogoproto.moretags) = "yaml:\"port_id\"" ]; // in the case of crossing hello's, when both chains call OpenInit, we need // the channel identifier of the previous channel in state INIT - string previous_channel_id = 2 [(gogoproto.moretags) = "yaml:\"previous_channel_id\""]; - // NOTE: the version field within the channel has been deprecated. Its value will be ignored by core IBC. - Channel channel = 3 [(gogoproto.nullable) = false]; - string counterparty_version = 4 [(gogoproto.moretags) = "yaml:\"counterparty_version\""]; - bytes proof_init = 5 [(gogoproto.moretags) = "yaml:\"proof_init\""]; - ibc.core.client.v1.Height proof_height = 6 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; + string previous_channel_id = 2 + [ (gogoproto.moretags) = "yaml:\"previous_channel_id\"" ]; + // NOTE: the version field within the channel has been deprecated. Its value + // will be ignored by core IBC. + Channel channel = 3 [ (gogoproto.nullable) = false ]; + string counterparty_version = 4 + [ (gogoproto.moretags) = "yaml:\"counterparty_version\"" ]; + bytes proof_init = 5 [ (gogoproto.moretags) = "yaml:\"proof_init\"" ]; + ibc.core.client.v1.Height proof_height = 6 [ + (gogoproto.moretags) = "yaml:\"proof_height\"", + (gogoproto.nullable) = false + ]; string signer = 7; } @@ -84,16 +92,20 @@ message MsgChannelOpenTryResponse {} // MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge // the change of channel state to TRYOPEN on Chain B. message MsgChannelOpenAck { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; - string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; - string counterparty_channel_id = 3 [(gogoproto.moretags) = "yaml:\"counterparty_channel_id\""]; - string counterparty_version = 4 [(gogoproto.moretags) = "yaml:\"counterparty_version\""]; - bytes proof_try = 5 [(gogoproto.moretags) = "yaml:\"proof_try\""]; - ibc.core.client.v1.Height proof_height = 6 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; + string port_id = 1 [ (gogoproto.moretags) = "yaml:\"port_id\"" ]; + string channel_id = 2 [ (gogoproto.moretags) = "yaml:\"channel_id\"" ]; + string counterparty_channel_id = 3 + [ (gogoproto.moretags) = "yaml:\"counterparty_channel_id\"" ]; + string counterparty_version = 4 + [ (gogoproto.moretags) = "yaml:\"counterparty_version\"" ]; + bytes proof_try = 5 [ (gogoproto.moretags) = "yaml:\"proof_try\"" ]; + ibc.core.client.v1.Height proof_height = 6 [ + (gogoproto.moretags) = "yaml:\"proof_height\"", + (gogoproto.nullable) = false + ]; string signer = 7; } @@ -103,14 +115,16 @@ message MsgChannelOpenAckResponse {} // MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to // acknowledge the change of channel state to OPEN on Chain A. message MsgChannelOpenConfirm { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; - string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; - bytes proof_ack = 3 [(gogoproto.moretags) = "yaml:\"proof_ack\""]; - ibc.core.client.v1.Height proof_height = 4 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; + string port_id = 1 [ (gogoproto.moretags) = "yaml:\"port_id\"" ]; + string channel_id = 2 [ (gogoproto.moretags) = "yaml:\"channel_id\"" ]; + bytes proof_ack = 3 [ (gogoproto.moretags) = "yaml:\"proof_ack\"" ]; + ibc.core.client.v1.Height proof_height = 4 [ + (gogoproto.moretags) = "yaml:\"proof_height\"", + (gogoproto.nullable) = false + ]; string signer = 5; } @@ -121,12 +135,12 @@ message MsgChannelOpenConfirmResponse {} // MsgChannelCloseInit defines a msg sent by a Relayer to Chain A // to close a channel with Chain B. message MsgChannelCloseInit { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; - string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; - string signer = 3; + string port_id = 1 [ (gogoproto.moretags) = "yaml:\"port_id\"" ]; + string channel_id = 2 [ (gogoproto.moretags) = "yaml:\"channel_id\"" ]; + string signer = 3; } // MsgChannelCloseInitResponse defines the Msg/ChannelCloseInit response type. @@ -135,14 +149,16 @@ message MsgChannelCloseInitResponse {} // MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B // to acknowledge the change of channel state to CLOSED on Chain A. message MsgChannelCloseConfirm { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; - string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; - bytes proof_init = 3 [(gogoproto.moretags) = "yaml:\"proof_init\""]; - ibc.core.client.v1.Height proof_height = 4 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; + string port_id = 1 [ (gogoproto.moretags) = "yaml:\"port_id\"" ]; + string channel_id = 2 [ (gogoproto.moretags) = "yaml:\"channel_id\"" ]; + bytes proof_init = 3 [ (gogoproto.moretags) = "yaml:\"proof_init\"" ]; + ibc.core.client.v1.Height proof_height = 4 [ + (gogoproto.moretags) = "yaml:\"proof_height\"", + (gogoproto.nullable) = false + ]; string signer = 5; } @@ -152,13 +168,16 @@ message MsgChannelCloseConfirmResponse {} // MsgRecvPacket receives incoming IBC packet message MsgRecvPacket { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - Packet packet = 1 [(gogoproto.nullable) = false]; - bytes proof_commitment = 2 [(gogoproto.moretags) = "yaml:\"proof_commitment\""]; - ibc.core.client.v1.Height proof_height = 3 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; + Packet packet = 1 [ (gogoproto.nullable) = false ]; + bytes proof_commitment = 2 + [ (gogoproto.moretags) = "yaml:\"proof_commitment\"" ]; + ibc.core.client.v1.Height proof_height = 3 [ + (gogoproto.moretags) = "yaml:\"proof_height\"", + (gogoproto.nullable) = false + ]; string signer = 4; } @@ -167,15 +186,19 @@ message MsgRecvPacketResponse {} // MsgTimeout receives timed-out packet message MsgTimeout { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - Packet packet = 1 [(gogoproto.nullable) = false]; - bytes proof_unreceived = 2 [(gogoproto.moretags) = "yaml:\"proof_unreceived\""]; - ibc.core.client.v1.Height proof_height = 3 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; - uint64 next_sequence_recv = 4 [(gogoproto.moretags) = "yaml:\"next_sequence_recv\""]; - string signer = 5; + Packet packet = 1 [ (gogoproto.nullable) = false ]; + bytes proof_unreceived = 2 + [ (gogoproto.moretags) = "yaml:\"proof_unreceived\"" ]; + ibc.core.client.v1.Height proof_height = 3 [ + (gogoproto.moretags) = "yaml:\"proof_height\"", + (gogoproto.nullable) = false + ]; + uint64 next_sequence_recv = 4 + [ (gogoproto.moretags) = "yaml:\"next_sequence_recv\"" ]; + string signer = 5; } // MsgTimeoutResponse defines the Msg/Timeout response type. @@ -183,16 +206,20 @@ message MsgTimeoutResponse {} // MsgTimeoutOnClose timed-out packet upon counterparty channel closure. message MsgTimeoutOnClose { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - Packet packet = 1 [(gogoproto.nullable) = false]; - bytes proof_unreceived = 2 [(gogoproto.moretags) = "yaml:\"proof_unreceived\""]; - bytes proof_close = 3 [(gogoproto.moretags) = "yaml:\"proof_close\""]; - ibc.core.client.v1.Height proof_height = 4 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; - uint64 next_sequence_recv = 5 [(gogoproto.moretags) = "yaml:\"next_sequence_recv\""]; - string signer = 6; + Packet packet = 1 [ (gogoproto.nullable) = false ]; + bytes proof_unreceived = 2 + [ (gogoproto.moretags) = "yaml:\"proof_unreceived\"" ]; + bytes proof_close = 3 [ (gogoproto.moretags) = "yaml:\"proof_close\"" ]; + ibc.core.client.v1.Height proof_height = 4 [ + (gogoproto.moretags) = "yaml:\"proof_height\"", + (gogoproto.nullable) = false + ]; + uint64 next_sequence_recv = 5 + [ (gogoproto.moretags) = "yaml:\"next_sequence_recv\"" ]; + string signer = 6; } // MsgTimeoutOnCloseResponse defines the Msg/TimeoutOnClose response type. @@ -200,14 +227,16 @@ message MsgTimeoutOnCloseResponse {} // MsgAcknowledgement receives incoming IBC acknowledgement message MsgAcknowledgement { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - Packet packet = 1 [(gogoproto.nullable) = false]; - bytes acknowledgement = 2; - bytes proof_acked = 3 [(gogoproto.moretags) = "yaml:\"proof_acked\""]; - ibc.core.client.v1.Height proof_height = 4 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; + Packet packet = 1 [ (gogoproto.nullable) = false ]; + bytes acknowledgement = 2; + bytes proof_acked = 3 [ (gogoproto.moretags) = "yaml:\"proof_acked\"" ]; + ibc.core.client.v1.Height proof_height = 4 [ + (gogoproto.moretags) = "yaml:\"proof_height\"", + (gogoproto.nullable) = false + ]; string signer = 5; } diff --git a/third_party/proto/ibc/core/client/v1/client.proto b/third_party/proto/ibc/core/client/v1/client.proto index 657d99ed20..2d6f3375df 100644 --- a/third_party/proto/ibc/core/client/v1/client.proto +++ b/third_party/proto/ibc/core/client/v1/client.proto @@ -12,34 +12,39 @@ import "cosmos/upgrade/v1beta1/upgrade.proto"; // identifier field. message IdentifiedClientState { // client identifier - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + string client_id = 1 [ (gogoproto.moretags) = "yaml:\"client_id\"" ]; // client state - google.protobuf.Any client_state = 2 [(gogoproto.moretags) = "yaml:\"client_state\""]; + google.protobuf.Any client_state = 2 + [ (gogoproto.moretags) = "yaml:\"client_state\"" ]; } // ConsensusStateWithHeight defines a consensus state with an additional height // field. message ConsensusStateWithHeight { // consensus state height - Height height = 1 [(gogoproto.nullable) = false]; + Height height = 1 [ (gogoproto.nullable) = false ]; // consensus state - google.protobuf.Any consensus_state = 2 [(gogoproto.moretags) = "yaml:\"consensus_state\""]; + google.protobuf.Any consensus_state = 2 + [ (gogoproto.moretags) = "yaml:\"consensus_state\"" ]; } // ClientConsensusStates defines all the stored consensus states for a given // client. message ClientConsensusStates { // client identifier - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + string client_id = 1 [ (gogoproto.moretags) = "yaml:\"client_id\"" ]; // consensus states and their heights associated with the client - repeated ConsensusStateWithHeight consensus_states = 2 - [(gogoproto.moretags) = "yaml:\"consensus_states\"", (gogoproto.nullable) = false]; + repeated ConsensusStateWithHeight consensus_states = 2 [ + (gogoproto.moretags) = "yaml:\"consensus_states\"", + (gogoproto.nullable) = false + ]; } // ClientUpdateProposal is a governance proposal. If it passes, the substitute -// client's latest consensus state is copied over to the subject client. The proposal -// handler may fail if the subject and the substitute do not match in client and -// chain parameters (with exception to latest height, frozen height, and chain-id). +// client's latest consensus state is copied over to the subject client. The +// proposal handler may fail if the subject and the substitute do not match in +// client and chain parameters (with exception to latest height, frozen height, +// and chain-id). message ClientUpdateProposal { option (gogoproto.goproto_getters) = false; // the title of the update proposal @@ -47,22 +52,24 @@ message ClientUpdateProposal { // the description of the proposal string description = 2; // the client identifier for the client to be updated if the proposal passes - string subject_client_id = 3 [(gogoproto.moretags) = "yaml:\"subject_client_id\""]; + string subject_client_id = 3 + [ (gogoproto.moretags) = "yaml:\"subject_client_id\"" ]; // the substitute client identifier for the client standing in for the subject // client - string substitute_client_id = 4 [(gogoproto.moretags) = "yaml:\"substitute_client_id\""]; + string substitute_client_id = 4 + [ (gogoproto.moretags) = "yaml:\"substitute_client_id\"" ]; } // UpgradeProposal is a gov Content type for initiating an IBC breaking // upgrade. message UpgradeProposal { - option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_getters) = false; option (gogoproto.goproto_stringer) = false; - option (gogoproto.equal) = true; + option (gogoproto.equal) = true; - string title = 1; - string description = 2; - cosmos.upgrade.v1beta1.Plan plan = 3 [(gogoproto.nullable) = false]; + string title = 1; + string description = 2; + cosmos.upgrade.v1beta1.Plan plan = 3 [ (gogoproto.nullable) = false ]; // An UpgradedClientState must be provided to perform an IBC breaking upgrade. // This will make the chain commit to the correct upgraded (self) client state @@ -70,7 +77,8 @@ message UpgradeProposal { // new upgraded client is valid by verifying a proof on the previous version // of the chain. This will allow IBC connections to persist smoothly across // planned chain upgrades - google.protobuf.Any upgraded_client_state = 4 [(gogoproto.moretags) = "yaml:\"upgraded_client_state\""]; + google.protobuf.Any upgraded_client_state = 4 + [ (gogoproto.moretags) = "yaml:\"upgraded_client_state\"" ]; } // Height is a monotonically increasing data type @@ -84,17 +92,20 @@ message UpgradeProposal { // height continues to be monitonically increasing even as the RevisionHeight // gets reset message Height { - option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_getters) = false; option (gogoproto.goproto_stringer) = false; // the revision that the client is currently on - uint64 revision_number = 1 [(gogoproto.moretags) = "yaml:\"revision_number\""]; + uint64 revision_number = 1 + [ (gogoproto.moretags) = "yaml:\"revision_number\"" ]; // the height within the given revision - uint64 revision_height = 2 [(gogoproto.moretags) = "yaml:\"revision_height\""]; + uint64 revision_height = 2 + [ (gogoproto.moretags) = "yaml:\"revision_height\"" ]; } // Params defines the set of IBC light client parameters. message Params { // allowed_clients defines the list of allowed client state types. - repeated string allowed_clients = 1 [(gogoproto.moretags) = "yaml:\"allowed_clients\""]; + repeated string allowed_clients = 1 + [ (gogoproto.moretags) = "yaml:\"allowed_clients\"" ]; } diff --git a/third_party/proto/ibc/core/client/v1/genesis.proto b/third_party/proto/ibc/core/client/v1/genesis.proto index 0ca29d224b..4c113fa9d0 100644 --- a/third_party/proto/ibc/core/client/v1/genesis.proto +++ b/third_party/proto/ibc/core/client/v1/genesis.proto @@ -10,22 +10,28 @@ import "gogoproto/gogo.proto"; // GenesisState defines the ibc client submodule's genesis state. message GenesisState { // client states with their corresponding identifiers - repeated IdentifiedClientState clients = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "IdentifiedClientStates"]; + repeated IdentifiedClientState clients = 1 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "IdentifiedClientStates" + ]; // consensus states from each client repeated ClientConsensusStates clients_consensus = 2 [ - (gogoproto.nullable) = false, + (gogoproto.nullable) = false, (gogoproto.castrepeated) = "ClientsConsensusStates", - (gogoproto.moretags) = "yaml:\"clients_consensus\"" + (gogoproto.moretags) = "yaml:\"clients_consensus\"" ]; // metadata from each client - repeated IdentifiedGenesisMetadata clients_metadata = 3 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"clients_metadata\""]; - Params params = 4 [(gogoproto.nullable) = false]; + repeated IdentifiedGenesisMetadata clients_metadata = 3 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"clients_metadata\"" + ]; + Params params = 4 [ (gogoproto.nullable) = false ]; // create localhost on initialization - bool create_localhost = 5 [(gogoproto.moretags) = "yaml:\"create_localhost\""]; + bool create_localhost = 5 + [ (gogoproto.moretags) = "yaml:\"create_localhost\"" ]; // the sequence for the next generated client identifier - uint64 next_client_sequence = 6 [(gogoproto.moretags) = "yaml:\"next_client_sequence\""]; + uint64 next_client_sequence = 6 + [ (gogoproto.moretags) = "yaml:\"next_client_sequence\"" ]; } // GenesisMetadata defines the genesis type for metadata that clients may return @@ -42,7 +48,9 @@ message GenesisMetadata { // IdentifiedGenesisMetadata has the client metadata with the corresponding // client id. message IdentifiedGenesisMetadata { - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - repeated GenesisMetadata client_metadata = 2 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"client_metadata\""]; + string client_id = 1 [ (gogoproto.moretags) = "yaml:\"client_id\"" ]; + repeated GenesisMetadata client_metadata = 2 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"client_metadata\"" + ]; } diff --git a/third_party/proto/ibc/core/client/v1/query.proto b/third_party/proto/ibc/core/client/v1/query.proto index 91a906fe54..a3dad8465a 100644 --- a/third_party/proto/ibc/core/client/v1/query.proto +++ b/third_party/proto/ibc/core/client/v1/query.proto @@ -14,17 +14,20 @@ import "gogoproto/gogo.proto"; service Query { // ClientState queries an IBC light client. rpc ClientState(QueryClientStateRequest) returns (QueryClientStateResponse) { - option (google.api.http).get = "/ibc/core/client/v1/client_states/{client_id}"; + option (google.api.http).get = + "/ibc/core/client/v1/client_states/{client_id}"; } // ClientStates queries all the IBC light clients of a chain. - rpc ClientStates(QueryClientStatesRequest) returns (QueryClientStatesResponse) { + rpc ClientStates(QueryClientStatesRequest) + returns (QueryClientStatesResponse) { option (google.api.http).get = "/ibc/core/client/v1/client_states"; } // ConsensusState queries a consensus state associated with a client state at // a given height. - rpc ConsensusState(QueryConsensusStateRequest) returns (QueryConsensusStateResponse) { + rpc ConsensusState(QueryConsensusStateRequest) + returns (QueryConsensusStateResponse) { option (google.api.http).get = "/ibc/core/client/v1/consensus_states/" "{client_id}/revision/{revision_number}/" "height/{revision_height}"; @@ -32,28 +35,36 @@ service Query { // ConsensusStates queries all the consensus state associated with a given // client. - rpc ConsensusStates(QueryConsensusStatesRequest) returns (QueryConsensusStatesResponse) { - option (google.api.http).get = "/ibc/core/client/v1/consensus_states/{client_id}"; + rpc ConsensusStates(QueryConsensusStatesRequest) + returns (QueryConsensusStatesResponse) { + option (google.api.http).get = + "/ibc/core/client/v1/consensus_states/{client_id}"; } // Status queries the status of an IBC client. - rpc ClientStatus(QueryClientStatusRequest) returns (QueryClientStatusResponse) { - option (google.api.http).get = "/ibc/core/client/v1/client_status/{client_id}"; + rpc ClientStatus(QueryClientStatusRequest) + returns (QueryClientStatusResponse) { + option (google.api.http).get = + "/ibc/core/client/v1/client_status/{client_id}"; } // ClientParams queries all parameters of the ibc client. - rpc ClientParams(QueryClientParamsRequest) returns (QueryClientParamsResponse) { + rpc ClientParams(QueryClientParamsRequest) + returns (QueryClientParamsResponse) { option (google.api.http).get = "/ibc/client/v1/params"; } // UpgradedClientState queries an Upgraded IBC light client. - rpc UpgradedClientState(QueryUpgradedClientStateRequest) returns (QueryUpgradedClientStateResponse) { + rpc UpgradedClientState(QueryUpgradedClientStateRequest) + returns (QueryUpgradedClientStateResponse) { option (google.api.http).get = "/ibc/core/client/v1/upgraded_client_states"; } // UpgradedConsensusState queries an Upgraded IBC consensus state. - rpc UpgradedConsensusState(QueryUpgradedConsensusStateRequest) returns (QueryUpgradedConsensusStateResponse) { - option (google.api.http).get = "/ibc/core/client/v1/upgraded_consensus_states"; + rpc UpgradedConsensusState(QueryUpgradedConsensusStateRequest) + returns (QueryUpgradedConsensusStateResponse) { + option (google.api.http).get = + "/ibc/core/client/v1/upgraded_consensus_states"; } } @@ -73,7 +84,7 @@ message QueryClientStateResponse { // merkle proof of existence bytes proof = 2; // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; + ibc.core.client.v1.Height proof_height = 3 [ (gogoproto.nullable) = false ]; } // QueryClientStatesRequest is the request type for the Query/ClientStates RPC @@ -87,8 +98,10 @@ message QueryClientStatesRequest { // method. message QueryClientStatesResponse { // list of stored ClientStates of the chain. - repeated IdentifiedClientState client_states = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "IdentifiedClientStates"]; + repeated IdentifiedClientState client_states = 1 [ + (gogoproto.nullable) = false, + (gogoproto.castrepeated) = "IdentifiedClientStates" + ]; // pagination response cosmos.base.query.v1beta1.PageResponse pagination = 2; } @@ -116,7 +129,7 @@ message QueryConsensusStateResponse { // merkle proof of existence bytes proof = 2; // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; + ibc.core.client.v1.Height proof_height = 3 [ (gogoproto.nullable) = false ]; } // QueryConsensusStatesRequest is the request type for the Query/ConsensusStates @@ -132,7 +145,8 @@ message QueryConsensusStatesRequest { // Query/ConsensusStates RPC method message QueryConsensusStatesResponse { // consensus states associated with the identifier - repeated ConsensusStateWithHeight consensus_states = 1 [(gogoproto.nullable) = false]; + repeated ConsensusStateWithHeight consensus_states = 1 + [ (gogoproto.nullable) = false ]; // pagination response cosmos.base.query.v1beta1.PageResponse pagination = 2; } @@ -146,9 +160,7 @@ message QueryClientStatusRequest { // QueryClientStatusResponse is the response type for the Query/ClientStatus RPC // method. It returns the current status of the IBC client. -message QueryClientStatusResponse { - string status = 1; -} +message QueryClientStatusResponse { string status = 1; } // QueryClientParamsRequest is the request type for the Query/ClientParams RPC // method. diff --git a/third_party/proto/ibc/core/client/v1/tx.proto b/third_party/proto/ibc/core/client/v1/tx.proto index 06dbfbd0df..635ad7a719 100644 --- a/third_party/proto/ibc/core/client/v1/tx.proto +++ b/third_party/proto/ibc/core/client/v1/tx.proto @@ -19,19 +19,22 @@ service Msg { rpc UpgradeClient(MsgUpgradeClient) returns (MsgUpgradeClientResponse); // SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour. - rpc SubmitMisbehaviour(MsgSubmitMisbehaviour) returns (MsgSubmitMisbehaviourResponse); + rpc SubmitMisbehaviour(MsgSubmitMisbehaviour) + returns (MsgSubmitMisbehaviourResponse); } // MsgCreateClient defines a message to create an IBC client message MsgCreateClient { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // light client state - google.protobuf.Any client_state = 1 [(gogoproto.moretags) = "yaml:\"client_state\""]; + google.protobuf.Any client_state = 1 + [ (gogoproto.moretags) = "yaml:\"client_state\"" ]; // consensus state associated with the client that corresponds to a given // height. - google.protobuf.Any consensus_state = 2 [(gogoproto.moretags) = "yaml:\"consensus_state\""]; + google.protobuf.Any consensus_state = 2 + [ (gogoproto.moretags) = "yaml:\"consensus_state\"" ]; // signer address string signer = 3; } @@ -42,11 +45,11 @@ message MsgCreateClientResponse {} // MsgUpdateClient defines an sdk.Msg to update a IBC client state using // the given header. message MsgUpdateClient { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // client unique identifier - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + string client_id = 1 [ (gogoproto.moretags) = "yaml:\"client_id\"" ]; // header to update the light client google.protobuf.Any header = 2; // signer address @@ -59,20 +62,24 @@ message MsgUpdateClientResponse {} // MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client // state message MsgUpgradeClient { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // client unique identifier - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + string client_id = 1 [ (gogoproto.moretags) = "yaml:\"client_id\"" ]; // upgraded client state - google.protobuf.Any client_state = 2 [(gogoproto.moretags) = "yaml:\"client_state\""]; + google.protobuf.Any client_state = 2 + [ (gogoproto.moretags) = "yaml:\"client_state\"" ]; // upgraded consensus state, only contains enough information to serve as a // basis of trust in update logic - google.protobuf.Any consensus_state = 3 [(gogoproto.moretags) = "yaml:\"consensus_state\""]; + google.protobuf.Any consensus_state = 3 + [ (gogoproto.moretags) = "yaml:\"consensus_state\"" ]; // proof that old chain committed to new client - bytes proof_upgrade_client = 4 [(gogoproto.moretags) = "yaml:\"proof_upgrade_client\""]; + bytes proof_upgrade_client = 4 + [ (gogoproto.moretags) = "yaml:\"proof_upgrade_client\"" ]; // proof that old chain committed to new consensus state - bytes proof_upgrade_consensus_state = 5 [(gogoproto.moretags) = "yaml:\"proof_upgrade_consensus_state\""]; + bytes proof_upgrade_consensus_state = 5 + [ (gogoproto.moretags) = "yaml:\"proof_upgrade_consensus_state\"" ]; // signer address string signer = 6; } @@ -83,11 +90,11 @@ message MsgUpgradeClientResponse {} // MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for // light client misbehaviour. message MsgSubmitMisbehaviour { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; // client unique identifier - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + string client_id = 1 [ (gogoproto.moretags) = "yaml:\"client_id\"" ]; // misbehaviour used for freezing the light client google.protobuf.Any misbehaviour = 2; // signer address diff --git a/third_party/proto/ibc/core/commitment/v1/commitment.proto b/third_party/proto/ibc/core/commitment/v1/commitment.proto index b0afed2273..620ae58984 100644 --- a/third_party/proto/ibc/core/commitment/v1/commitment.proto +++ b/third_party/proto/ibc/core/commitment/v1/commitment.proto @@ -19,7 +19,7 @@ message MerkleRoot { // The constructed key from the Path and the key will be append(Path.KeyPath, // append(Path.KeyPrefix, key...)) message MerklePrefix { - bytes key_prefix = 1 [(gogoproto.moretags) = "yaml:\"key_prefix\""]; + bytes key_prefix = 1 [ (gogoproto.moretags) = "yaml:\"key_prefix\"" ]; } // MerklePath is the path used to verify commitment proofs, which can be an @@ -28,7 +28,7 @@ message MerklePrefix { message MerklePath { option (gogoproto.goproto_stringer) = false; - repeated string key_path = 1 [(gogoproto.moretags) = "yaml:\"key_path\""]; + repeated string key_path = 1 [ (gogoproto.moretags) = "yaml:\"key_path\"" ]; } // MerkleProof is a wrapper type over a chain of CommitmentProofs. @@ -36,6 +36,4 @@ message MerklePath { // elements, verifiable in conjunction with a known commitment root. Proofs // should be succinct. // MerkleProofs are ordered from leaf-to-root -message MerkleProof { - repeated ics23.CommitmentProof proofs = 1; -} +message MerkleProof { repeated ics23.CommitmentProof proofs = 1; } diff --git a/third_party/proto/ibc/core/connection/v1/connection.proto b/third_party/proto/ibc/core/connection/v1/connection.proto index 7fd2a6909a..97f478b469 100644 --- a/third_party/proto/ibc/core/connection/v1/connection.proto +++ b/third_party/proto/ibc/core/connection/v1/connection.proto @@ -17,18 +17,18 @@ import "ibc/core/commitment/v1/commitment.proto"; message ConnectionEnd { option (gogoproto.goproto_getters) = false; // client associated with this connection. - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + string client_id = 1 [ (gogoproto.moretags) = "yaml:\"client_id\"" ]; // IBC version which can be utilised to determine encodings or protocols for // channels or packets utilising this connection. repeated Version versions = 2; // current state of the connection end. State state = 3; // counterparty chain associated with this connection. - Counterparty counterparty = 4 [(gogoproto.nullable) = false]; + Counterparty counterparty = 4 [ (gogoproto.nullable) = false ]; // delay period that must pass before a consensus state can be used for // packet-verification NOTE: delay period logic is only implemented by some // clients. - uint64 delay_period = 5 [(gogoproto.moretags) = "yaml:\"delay_period\""]; + uint64 delay_period = 5 [ (gogoproto.moretags) = "yaml:\"delay_period\"" ]; } // IdentifiedConnection defines a connection with additional connection @@ -36,18 +36,18 @@ message ConnectionEnd { message IdentifiedConnection { option (gogoproto.goproto_getters) = false; // connection identifier. - string id = 1 [(gogoproto.moretags) = "yaml:\"id\""]; + string id = 1 [ (gogoproto.moretags) = "yaml:\"id\"" ]; // client associated with this connection. - string client_id = 2 [(gogoproto.moretags) = "yaml:\"client_id\""]; + string client_id = 2 [ (gogoproto.moretags) = "yaml:\"client_id\"" ]; // IBC version which can be utilised to determine encodings or protocols for // channels or packets utilising this connection repeated Version versions = 3; // current state of the connection end. State state = 4; // counterparty chain associated with this connection. - Counterparty counterparty = 5 [(gogoproto.nullable) = false]; + Counterparty counterparty = 5 [ (gogoproto.nullable) = false ]; // delay period associated with this connection. - uint64 delay_period = 6 [(gogoproto.moretags) = "yaml:\"delay_period\""]; + uint64 delay_period = 6 [ (gogoproto.moretags) = "yaml:\"delay_period\"" ]; } // State defines if a connection is in one of the following states: @@ -56,14 +56,15 @@ enum State { option (gogoproto.goproto_enum_prefix) = false; // Default State - STATE_UNINITIALIZED_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "UNINITIALIZED"]; + STATE_UNINITIALIZED_UNSPECIFIED = 0 + [ (gogoproto.enumvalue_customname) = "UNINITIALIZED" ]; // A connection end has just started the opening handshake. - STATE_INIT = 1 [(gogoproto.enumvalue_customname) = "INIT"]; + STATE_INIT = 1 [ (gogoproto.enumvalue_customname) = "INIT" ]; // A connection end has acknowledged the handshake step on the counterparty // chain. - STATE_TRYOPEN = 2 [(gogoproto.enumvalue_customname) = "TRYOPEN"]; + STATE_TRYOPEN = 2 [ (gogoproto.enumvalue_customname) = "TRYOPEN" ]; // A connection end has completed the handshake. - STATE_OPEN = 3 [(gogoproto.enumvalue_customname) = "OPEN"]; + STATE_OPEN = 3 [ (gogoproto.enumvalue_customname) = "OPEN" ]; } // Counterparty defines the counterparty chain associated with a connection end. @@ -72,12 +73,13 @@ message Counterparty { // identifies the client on the counterparty chain associated with a given // connection. - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + string client_id = 1 [ (gogoproto.moretags) = "yaml:\"client_id\"" ]; // identifies the connection end on the counterparty chain associated with a // given connection. - string connection_id = 2 [(gogoproto.moretags) = "yaml:\"connection_id\""]; + string connection_id = 2 [ (gogoproto.moretags) = "yaml:\"connection_id\"" ]; // commitment merkle prefix of the counterparty chain. - ibc.core.commitment.v1.MerklePrefix prefix = 3 [(gogoproto.nullable) = false]; + ibc.core.commitment.v1.MerklePrefix prefix = 3 + [ (gogoproto.nullable) = false ]; } // ClientPaths define all the connection paths for a client state. @@ -89,7 +91,7 @@ message ClientPaths { // ConnectionPaths define all the connection paths for a given client state. message ConnectionPaths { // client state unique identifier - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + string client_id = 1 [ (gogoproto.moretags) = "yaml:\"client_id\"" ]; // list of connection paths repeated string paths = 2; } @@ -107,8 +109,10 @@ message Version { // Params defines the set of Connection parameters. message Params { - // maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the - // largest amount of time that the chain might reasonably take to produce the next block under normal operating - // conditions. A safe choice is 3-5x the expected time per block. - uint64 max_expected_time_per_block = 1 [(gogoproto.moretags) = "yaml:\"max_expected_time_per_block\""]; + // maximum expected time per block (in nanoseconds), used to enforce block + // delay. This parameter should reflect the largest amount of time that the + // chain might reasonably take to produce the next block under normal + // operating conditions. A safe choice is 3-5x the expected time per block. + uint64 max_expected_time_per_block = 1 + [ (gogoproto.moretags) = "yaml:\"max_expected_time_per_block\"" ]; } diff --git a/third_party/proto/ibc/core/connection/v1/genesis.proto b/third_party/proto/ibc/core/connection/v1/genesis.proto index 1a53422c94..8152eda0cd 100644 --- a/third_party/proto/ibc/core/connection/v1/genesis.proto +++ b/third_party/proto/ibc/core/connection/v1/genesis.proto @@ -9,10 +9,14 @@ import "ibc/core/connection/v1/connection.proto"; // GenesisState defines the ibc connection submodule's genesis state. message GenesisState { - repeated IdentifiedConnection connections = 1 [(gogoproto.nullable) = false]; - repeated ConnectionPaths client_connection_paths = 2 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"client_connection_paths\""]; + repeated IdentifiedConnection connections = 1 + [ (gogoproto.nullable) = false ]; + repeated ConnectionPaths client_connection_paths = 2 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"client_connection_paths\"" + ]; // the sequence for the next generated connection identifier - uint64 next_connection_sequence = 3 [(gogoproto.moretags) = "yaml:\"next_connection_sequence\""]; - Params params = 4 [(gogoproto.nullable) = false]; + uint64 next_connection_sequence = 3 + [ (gogoproto.moretags) = "yaml:\"next_connection_sequence\"" ]; + Params params = 4 [ (gogoproto.nullable) = false ]; } diff --git a/third_party/proto/ibc/core/connection/v1/query.proto b/third_party/proto/ibc/core/connection/v1/query.proto index f28578f5fc..b50ac2e7ab 100644 --- a/third_party/proto/ibc/core/connection/v1/query.proto +++ b/third_party/proto/ibc/core/connection/v1/query.proto @@ -15,7 +15,8 @@ import "google/protobuf/any.proto"; service Query { // Connection queries an IBC connection end. rpc Connection(QueryConnectionRequest) returns (QueryConnectionResponse) { - option (google.api.http).get = "/ibc/core/connection/v1/connections/{connection_id}"; + option (google.api.http).get = + "/ibc/core/connection/v1/connections/{connection_id}"; } // Connections queries all the IBC connections of a chain. @@ -25,21 +26,27 @@ service Query { // ClientConnections queries the connection paths associated with a client // state. - rpc ClientConnections(QueryClientConnectionsRequest) returns (QueryClientConnectionsResponse) { - option (google.api.http).get = "/ibc/core/connection/v1/client_connections/{client_id}"; + rpc ClientConnections(QueryClientConnectionsRequest) + returns (QueryClientConnectionsResponse) { + option (google.api.http).get = + "/ibc/core/connection/v1/client_connections/{client_id}"; } // ConnectionClientState queries the client state associated with the // connection. - rpc ConnectionClientState(QueryConnectionClientStateRequest) returns (QueryConnectionClientStateResponse) { - option (google.api.http).get = "/ibc/core/connection/v1/connections/{connection_id}/client_state"; + rpc ConnectionClientState(QueryConnectionClientStateRequest) + returns (QueryConnectionClientStateResponse) { + option (google.api.http).get = + "/ibc/core/connection/v1/connections/{connection_id}/client_state"; } // ConnectionConsensusState queries the consensus state associated with the // connection. - rpc ConnectionConsensusState(QueryConnectionConsensusStateRequest) returns (QueryConnectionConsensusStateResponse) { - option (google.api.http).get = "/ibc/core/connection/v1/connections/{connection_id}/consensus_state/" - "revision/{revision_number}/height/{revision_height}"; + rpc ConnectionConsensusState(QueryConnectionConsensusStateRequest) + returns (QueryConnectionConsensusStateResponse) { + option (google.api.http).get = + "/ibc/core/connection/v1/connections/{connection_id}/consensus_state/" + "revision/{revision_number}/height/{revision_height}"; } } @@ -59,7 +66,7 @@ message QueryConnectionResponse { // merkle proof of existence bytes proof = 2; // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; + ibc.core.client.v1.Height proof_height = 3 [ (gogoproto.nullable) = false ]; } // QueryConnectionsRequest is the request type for the Query/Connections RPC @@ -76,7 +83,7 @@ message QueryConnectionsResponse { // pagination response cosmos.base.query.v1beta1.PageResponse pagination = 2; // query block height - ibc.core.client.v1.Height height = 3 [(gogoproto.nullable) = false]; + ibc.core.client.v1.Height height = 3 [ (gogoproto.nullable) = false ]; } // QueryClientConnectionsRequest is the request type for the @@ -94,14 +101,14 @@ message QueryClientConnectionsResponse { // merkle proof of existence bytes proof = 2; // height at which the proof was generated - ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; + ibc.core.client.v1.Height proof_height = 3 [ (gogoproto.nullable) = false ]; } // QueryConnectionClientStateRequest is the request type for the // Query/ConnectionClientState RPC method message QueryConnectionClientStateRequest { // connection identifier - string connection_id = 1 [(gogoproto.moretags) = "yaml:\"connection_id\""]; + string connection_id = 1 [ (gogoproto.moretags) = "yaml:\"connection_id\"" ]; } // QueryConnectionClientStateResponse is the response type for the @@ -112,14 +119,14 @@ message QueryConnectionClientStateResponse { // merkle proof of existence bytes proof = 2; // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; + ibc.core.client.v1.Height proof_height = 3 [ (gogoproto.nullable) = false ]; } // QueryConnectionConsensusStateRequest is the request type for the // Query/ConnectionConsensusState RPC method message QueryConnectionConsensusStateRequest { // connection identifier - string connection_id = 1 [(gogoproto.moretags) = "yaml:\"connection_id\""]; + string connection_id = 1 [ (gogoproto.moretags) = "yaml:\"connection_id\"" ]; uint64 revision_number = 2; uint64 revision_height = 3; } @@ -134,5 +141,5 @@ message QueryConnectionConsensusStateResponse { // merkle proof of existence bytes proof = 3; // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 4 [(gogoproto.nullable) = false]; + ibc.core.client.v1.Height proof_height = 4 [ (gogoproto.nullable) = false ]; } diff --git a/third_party/proto/ibc/core/connection/v1/tx.proto b/third_party/proto/ibc/core/connection/v1/tx.proto index e7e09c84cf..4d7669b4b2 100644 --- a/third_party/proto/ibc/core/connection/v1/tx.proto +++ b/third_party/proto/ibc/core/connection/v1/tx.proto @@ -12,30 +12,34 @@ import "ibc/core/connection/v1/connection.proto"; // Msg defines the ibc/connection Msg service. service Msg { // ConnectionOpenInit defines a rpc handler method for MsgConnectionOpenInit. - rpc ConnectionOpenInit(MsgConnectionOpenInit) returns (MsgConnectionOpenInitResponse); + rpc ConnectionOpenInit(MsgConnectionOpenInit) + returns (MsgConnectionOpenInitResponse); // ConnectionOpenTry defines a rpc handler method for MsgConnectionOpenTry. - rpc ConnectionOpenTry(MsgConnectionOpenTry) returns (MsgConnectionOpenTryResponse); + rpc ConnectionOpenTry(MsgConnectionOpenTry) + returns (MsgConnectionOpenTryResponse); // ConnectionOpenAck defines a rpc handler method for MsgConnectionOpenAck. - rpc ConnectionOpenAck(MsgConnectionOpenAck) returns (MsgConnectionOpenAckResponse); + rpc ConnectionOpenAck(MsgConnectionOpenAck) + returns (MsgConnectionOpenAckResponse); // ConnectionOpenConfirm defines a rpc handler method for // MsgConnectionOpenConfirm. - rpc ConnectionOpenConfirm(MsgConnectionOpenConfirm) returns (MsgConnectionOpenConfirmResponse); + rpc ConnectionOpenConfirm(MsgConnectionOpenConfirm) + returns (MsgConnectionOpenConfirmResponse); } // MsgConnectionOpenInit defines the msg sent by an account on Chain A to // initialize a connection with Chain B. message MsgConnectionOpenInit { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - Counterparty counterparty = 2 [(gogoproto.nullable) = false]; - Version version = 3; - uint64 delay_period = 4 [(gogoproto.moretags) = "yaml:\"delay_period\""]; - string signer = 5; + string client_id = 1 [ (gogoproto.moretags) = "yaml:\"client_id\"" ]; + Counterparty counterparty = 2 [ (gogoproto.nullable) = false ]; + Version version = 3; + uint64 delay_period = 4 [ (gogoproto.moretags) = "yaml:\"delay_period\"" ]; + string signer = 5; } // MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response @@ -45,28 +49,36 @@ message MsgConnectionOpenInitResponse {} // MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a // connection on Chain B. message MsgConnectionOpenTry { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; + string client_id = 1 [ (gogoproto.moretags) = "yaml:\"client_id\"" ]; // in the case of crossing hello's, when both chains call OpenInit, we need // the connection identifier of the previous connection in state INIT - string previous_connection_id = 2 [(gogoproto.moretags) = "yaml:\"previous_connection_id\""]; - google.protobuf.Any client_state = 3 [(gogoproto.moretags) = "yaml:\"client_state\""]; - Counterparty counterparty = 4 [(gogoproto.nullable) = false]; - uint64 delay_period = 5 [(gogoproto.moretags) = "yaml:\"delay_period\""]; - repeated Version counterparty_versions = 6 [(gogoproto.moretags) = "yaml:\"counterparty_versions\""]; - ibc.core.client.v1.Height proof_height = 7 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; + string previous_connection_id = 2 + [ (gogoproto.moretags) = "yaml:\"previous_connection_id\"" ]; + google.protobuf.Any client_state = 3 + [ (gogoproto.moretags) = "yaml:\"client_state\"" ]; + Counterparty counterparty = 4 [ (gogoproto.nullable) = false ]; + uint64 delay_period = 5 [ (gogoproto.moretags) = "yaml:\"delay_period\"" ]; + repeated Version counterparty_versions = 6 + [ (gogoproto.moretags) = "yaml:\"counterparty_versions\"" ]; + ibc.core.client.v1.Height proof_height = 7 [ + (gogoproto.moretags) = "yaml:\"proof_height\"", + (gogoproto.nullable) = false + ]; // proof of the initialization the connection on Chain A: `UNITIALIZED -> // INIT` - bytes proof_init = 8 [(gogoproto.moretags) = "yaml:\"proof_init\""]; + bytes proof_init = 8 [ (gogoproto.moretags) = "yaml:\"proof_init\"" ]; // proof of client state included in message - bytes proof_client = 9 [(gogoproto.moretags) = "yaml:\"proof_client\""]; + bytes proof_client = 9 [ (gogoproto.moretags) = "yaml:\"proof_client\"" ]; // proof of client consensus state - bytes proof_consensus = 10 [(gogoproto.moretags) = "yaml:\"proof_consensus\""]; - ibc.core.client.v1.Height consensus_height = 11 - [(gogoproto.moretags) = "yaml:\"consensus_height\"", (gogoproto.nullable) = false]; + bytes proof_consensus = 10 + [ (gogoproto.moretags) = "yaml:\"proof_consensus\"" ]; + ibc.core.client.v1.Height consensus_height = 11 [ + (gogoproto.moretags) = "yaml:\"consensus_height\"", + (gogoproto.nullable) = false + ]; string signer = 12; } @@ -76,24 +88,31 @@ message MsgConnectionOpenTryResponse {} // MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to // acknowledge the change of connection state to TRYOPEN on Chain B. message MsgConnectionOpenAck { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - string connection_id = 1 [(gogoproto.moretags) = "yaml:\"connection_id\""]; - string counterparty_connection_id = 2 [(gogoproto.moretags) = "yaml:\"counterparty_connection_id\""]; - Version version = 3; - google.protobuf.Any client_state = 4 [(gogoproto.moretags) = "yaml:\"client_state\""]; - ibc.core.client.v1.Height proof_height = 5 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; + string connection_id = 1 [ (gogoproto.moretags) = "yaml:\"connection_id\"" ]; + string counterparty_connection_id = 2 + [ (gogoproto.moretags) = "yaml:\"counterparty_connection_id\"" ]; + Version version = 3; + google.protobuf.Any client_state = 4 + [ (gogoproto.moretags) = "yaml:\"client_state\"" ]; + ibc.core.client.v1.Height proof_height = 5 [ + (gogoproto.moretags) = "yaml:\"proof_height\"", + (gogoproto.nullable) = false + ]; // proof of the initialization the connection on Chain B: `UNITIALIZED -> // TRYOPEN` - bytes proof_try = 6 [(gogoproto.moretags) = "yaml:\"proof_try\""]; + bytes proof_try = 6 [ (gogoproto.moretags) = "yaml:\"proof_try\"" ]; // proof of client state included in message - bytes proof_client = 7 [(gogoproto.moretags) = "yaml:\"proof_client\""]; + bytes proof_client = 7 [ (gogoproto.moretags) = "yaml:\"proof_client\"" ]; // proof of client consensus state - bytes proof_consensus = 8 [(gogoproto.moretags) = "yaml:\"proof_consensus\""]; - ibc.core.client.v1.Height consensus_height = 9 - [(gogoproto.moretags) = "yaml:\"consensus_height\"", (gogoproto.nullable) = false]; + bytes proof_consensus = 8 + [ (gogoproto.moretags) = "yaml:\"proof_consensus\"" ]; + ibc.core.client.v1.Height consensus_height = 9 [ + (gogoproto.moretags) = "yaml:\"consensus_height\"", + (gogoproto.nullable) = false + ]; string signer = 10; } @@ -103,14 +122,16 @@ message MsgConnectionOpenAckResponse {} // MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to // acknowledge the change of connection state to OPEN on Chain A. message MsgConnectionOpenConfirm { - option (gogoproto.equal) = false; + option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; - string connection_id = 1 [(gogoproto.moretags) = "yaml:\"connection_id\""]; + string connection_id = 1 [ (gogoproto.moretags) = "yaml:\"connection_id\"" ]; // proof for the change of the connection state on Chain A: `INIT -> OPEN` - bytes proof_ack = 2 [(gogoproto.moretags) = "yaml:\"proof_ack\""]; - ibc.core.client.v1.Height proof_height = 3 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; + bytes proof_ack = 2 [ (gogoproto.moretags) = "yaml:\"proof_ack\"" ]; + ibc.core.client.v1.Height proof_height = 3 [ + (gogoproto.moretags) = "yaml:\"proof_height\"", + (gogoproto.nullable) = false + ]; string signer = 4; } diff --git a/third_party/proto/ibc/core/types/v1/genesis.proto b/third_party/proto/ibc/core/types/v1/genesis.proto index fbddbf3035..e1b6ab4a99 100644 --- a/third_party/proto/ibc/core/types/v1/genesis.proto +++ b/third_party/proto/ibc/core/types/v1/genesis.proto @@ -12,12 +12,18 @@ import "ibc/core/channel/v1/genesis.proto"; // GenesisState defines the ibc module's genesis state. message GenesisState { // ICS002 - Clients genesis state - ibc.core.client.v1.GenesisState client_genesis = 1 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"client_genesis\""]; + ibc.core.client.v1.GenesisState client_genesis = 1 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"client_genesis\"" + ]; // ICS003 - Connections genesis state - ibc.core.connection.v1.GenesisState connection_genesis = 2 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"connection_genesis\""]; + ibc.core.connection.v1.GenesisState connection_genesis = 2 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"connection_genesis\"" + ]; // ICS004 - Channel genesis state - ibc.core.channel.v1.GenesisState channel_genesis = 3 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"channel_genesis\""]; + ibc.core.channel.v1.GenesisState channel_genesis = 3 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"channel_genesis\"" + ]; } diff --git a/third_party/proto/ibc/lightclients/localhost/v1/localhost.proto b/third_party/proto/ibc/lightclients/localhost/v1/localhost.proto index 4305680154..e9e5a4061b 100644 --- a/third_party/proto/ibc/lightclients/localhost/v1/localhost.proto +++ b/third_party/proto/ibc/lightclients/localhost/v1/localhost.proto @@ -12,7 +12,7 @@ import "ibc/core/client/v1/client.proto"; message ClientState { option (gogoproto.goproto_getters) = false; // self chain ID - string chain_id = 1 [(gogoproto.moretags) = "yaml:\"chain_id\""]; + string chain_id = 1 [ (gogoproto.moretags) = "yaml:\"chain_id\"" ]; // self latest block height - ibc.core.client.v1.Height height = 2 [(gogoproto.nullable) = false]; + ibc.core.client.v1.Height height = 2 [ (gogoproto.nullable) = false ]; } diff --git a/third_party/proto/ibc/lightclients/solomachine/v1/solomachine.proto b/third_party/proto/ibc/lightclients/solomachine/v1/solomachine.proto index c279f5e728..011e77b69c 100644 --- a/third_party/proto/ibc/lightclients/solomachine/v1/solomachine.proto +++ b/third_party/proto/ibc/lightclients/solomachine/v1/solomachine.proto @@ -16,11 +16,14 @@ message ClientState { // latest sequence of the client state uint64 sequence = 1; // frozen sequence of the solo machine - uint64 frozen_sequence = 2 [(gogoproto.moretags) = "yaml:\"frozen_sequence\""]; - ConsensusState consensus_state = 3 [(gogoproto.moretags) = "yaml:\"consensus_state\""]; + uint64 frozen_sequence = 2 + [ (gogoproto.moretags) = "yaml:\"frozen_sequence\"" ]; + ConsensusState consensus_state = 3 + [ (gogoproto.moretags) = "yaml:\"consensus_state\"" ]; // when set to true, will allow governance to update a solo machine client. // The client will be unfrozen if it is frozen. - bool allow_update_after_proposal = 4 [(gogoproto.moretags) = "yaml:\"allow_update_after_proposal\""]; + bool allow_update_after_proposal = 4 + [ (gogoproto.moretags) = "yaml:\"allow_update_after_proposal\"" ]; } // ConsensusState defines a solo machine consensus state. The sequence of a @@ -29,62 +32,67 @@ message ClientState { message ConsensusState { option (gogoproto.goproto_getters) = false; // public key of the solo machine - google.protobuf.Any public_key = 1 [(gogoproto.moretags) = "yaml:\"public_key\""]; + google.protobuf.Any public_key = 1 + [ (gogoproto.moretags) = "yaml:\"public_key\"" ]; // diversifier allows the same public key to be re-used across different solo // machine clients (potentially on different chains) without being considered // misbehaviour. string diversifier = 2; - uint64 timestamp = 3; + uint64 timestamp = 3; } // Header defines a solo machine consensus header message Header { option (gogoproto.goproto_getters) = false; // sequence to update solo machine public key at - uint64 sequence = 1; - uint64 timestamp = 2; - bytes signature = 3; - google.protobuf.Any new_public_key = 4 [(gogoproto.moretags) = "yaml:\"new_public_key\""]; - string new_diversifier = 5 [(gogoproto.moretags) = "yaml:\"new_diversifier\""]; + uint64 sequence = 1; + uint64 timestamp = 2; + bytes signature = 3; + google.protobuf.Any new_public_key = 4 + [ (gogoproto.moretags) = "yaml:\"new_public_key\"" ]; + string new_diversifier = 5 + [ (gogoproto.moretags) = "yaml:\"new_diversifier\"" ]; } // Misbehaviour defines misbehaviour for a solo machine which consists // of a sequence and two signatures over different messages at that sequence. message Misbehaviour { option (gogoproto.goproto_getters) = false; - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - uint64 sequence = 2; - SignatureAndData signature_one = 3 [(gogoproto.moretags) = "yaml:\"signature_one\""]; - SignatureAndData signature_two = 4 [(gogoproto.moretags) = "yaml:\"signature_two\""]; + string client_id = 1 [ (gogoproto.moretags) = "yaml:\"client_id\"" ]; + uint64 sequence = 2; + SignatureAndData signature_one = 3 + [ (gogoproto.moretags) = "yaml:\"signature_one\"" ]; + SignatureAndData signature_two = 4 + [ (gogoproto.moretags) = "yaml:\"signature_two\"" ]; } // SignatureAndData contains a signature and the data signed over to create that // signature. message SignatureAndData { option (gogoproto.goproto_getters) = false; - bytes signature = 1; - DataType data_type = 2 [(gogoproto.moretags) = "yaml:\"data_type\""]; - bytes data = 3; - uint64 timestamp = 4; + bytes signature = 1; + DataType data_type = 2 [ (gogoproto.moretags) = "yaml:\"data_type\"" ]; + bytes data = 3; + uint64 timestamp = 4; } // TimestampedSignatureData contains the signature data and the timestamp of the // signature. message TimestampedSignatureData { option (gogoproto.goproto_getters) = false; - bytes signature_data = 1 [(gogoproto.moretags) = "yaml:\"signature_data\""]; - uint64 timestamp = 2; + bytes signature_data = 1 [ (gogoproto.moretags) = "yaml:\"signature_data\"" ]; + uint64 timestamp = 2; } // SignBytes defines the signed bytes used for signature verification. message SignBytes { option (gogoproto.goproto_getters) = false; - uint64 sequence = 1; - uint64 timestamp = 2; + uint64 sequence = 1; + uint64 timestamp = 2; string diversifier = 3; // type of the data used - DataType data_type = 4 [(gogoproto.moretags) = "yaml:\"data_type\""]; + DataType data_type = 4 [ (gogoproto.moretags) = "yaml:\"data_type\"" ]; // marshaled data bytes data = 5; } @@ -95,25 +103,32 @@ enum DataType { option (gogoproto.goproto_enum_prefix) = false; // Default State - DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "UNSPECIFIED"]; + DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0 + [ (gogoproto.enumvalue_customname) = "UNSPECIFIED" ]; // Data type for client state verification - DATA_TYPE_CLIENT_STATE = 1 [(gogoproto.enumvalue_customname) = "CLIENT"]; + DATA_TYPE_CLIENT_STATE = 1 [ (gogoproto.enumvalue_customname) = "CLIENT" ]; // Data type for consensus state verification - DATA_TYPE_CONSENSUS_STATE = 2 [(gogoproto.enumvalue_customname) = "CONSENSUS"]; + DATA_TYPE_CONSENSUS_STATE = 2 + [ (gogoproto.enumvalue_customname) = "CONSENSUS" ]; // Data type for connection state verification - DATA_TYPE_CONNECTION_STATE = 3 [(gogoproto.enumvalue_customname) = "CONNECTION"]; + DATA_TYPE_CONNECTION_STATE = 3 + [ (gogoproto.enumvalue_customname) = "CONNECTION" ]; // Data type for channel state verification - DATA_TYPE_CHANNEL_STATE = 4 [(gogoproto.enumvalue_customname) = "CHANNEL"]; + DATA_TYPE_CHANNEL_STATE = 4 [ (gogoproto.enumvalue_customname) = "CHANNEL" ]; // Data type for packet commitment verification - DATA_TYPE_PACKET_COMMITMENT = 5 [(gogoproto.enumvalue_customname) = "PACKETCOMMITMENT"]; + DATA_TYPE_PACKET_COMMITMENT = 5 + [ (gogoproto.enumvalue_customname) = "PACKETCOMMITMENT" ]; // Data type for packet acknowledgement verification - DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6 [(gogoproto.enumvalue_customname) = "PACKETACKNOWLEDGEMENT"]; + DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6 + [ (gogoproto.enumvalue_customname) = "PACKETACKNOWLEDGEMENT" ]; // Data type for packet receipt absence verification - DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7 [(gogoproto.enumvalue_customname) = "PACKETRECEIPTABSENCE"]; + DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7 + [ (gogoproto.enumvalue_customname) = "PACKETRECEIPTABSENCE" ]; // Data type for next sequence recv verification - DATA_TYPE_NEXT_SEQUENCE_RECV = 8 [(gogoproto.enumvalue_customname) = "NEXTSEQUENCERECV"]; + DATA_TYPE_NEXT_SEQUENCE_RECV = 8 + [ (gogoproto.enumvalue_customname) = "NEXTSEQUENCERECV" ]; // Data type for header verification - DATA_TYPE_HEADER = 9 [(gogoproto.enumvalue_customname) = "HEADER"]; + DATA_TYPE_HEADER = 9 [ (gogoproto.enumvalue_customname) = "HEADER" ]; } // HeaderData returns the SignBytes data for update verification. @@ -121,17 +136,20 @@ message HeaderData { option (gogoproto.goproto_getters) = false; // header public key - google.protobuf.Any new_pub_key = 1 [(gogoproto.moretags) = "yaml:\"new_pub_key\""]; + google.protobuf.Any new_pub_key = 1 + [ (gogoproto.moretags) = "yaml:\"new_pub_key\"" ]; // header diversifier - string new_diversifier = 2 [(gogoproto.moretags) = "yaml:\"new_diversifier\""]; + string new_diversifier = 2 + [ (gogoproto.moretags) = "yaml:\"new_diversifier\"" ]; } // ClientStateData returns the SignBytes data for client state verification. message ClientStateData { option (gogoproto.goproto_getters) = false; - bytes path = 1; - google.protobuf.Any client_state = 2 [(gogoproto.moretags) = "yaml:\"client_state\""]; + bytes path = 1; + google.protobuf.Any client_state = 2 + [ (gogoproto.moretags) = "yaml:\"client_state\"" ]; } // ConsensusStateData returns the SignBytes data for consensus state @@ -139,8 +157,9 @@ message ClientStateData { message ConsensusStateData { option (gogoproto.goproto_getters) = false; - bytes path = 1; - google.protobuf.Any consensus_state = 2 [(gogoproto.moretags) = "yaml:\"consensus_state\""]; + bytes path = 1; + google.protobuf.Any consensus_state = 2 + [ (gogoproto.moretags) = "yaml:\"consensus_state\"" ]; } // ConnectionStateData returns the SignBytes data for connection state @@ -148,7 +167,7 @@ message ConsensusStateData { message ConnectionStateData { option (gogoproto.goproto_getters) = false; - bytes path = 1; + bytes path = 1; ibc.core.connection.v1.ConnectionEnd connection = 2; } @@ -157,33 +176,31 @@ message ConnectionStateData { message ChannelStateData { option (gogoproto.goproto_getters) = false; - bytes path = 1; + bytes path = 1; ibc.core.channel.v1.Channel channel = 2; } // PacketCommitmentData returns the SignBytes data for packet commitment // verification. message PacketCommitmentData { - bytes path = 1; + bytes path = 1; bytes commitment = 2; } // PacketAcknowledgementData returns the SignBytes data for acknowledgement // verification. message PacketAcknowledgementData { - bytes path = 1; + bytes path = 1; bytes acknowledgement = 2; } // PacketReceiptAbsenceData returns the SignBytes data for // packet receipt absence verification. -message PacketReceiptAbsenceData { - bytes path = 1; -} +message PacketReceiptAbsenceData { bytes path = 1; } // NextSequenceRecvData returns the SignBytes data for verification of the next // sequence to be received. message NextSequenceRecvData { - bytes path = 1; - uint64 next_seq_recv = 2 [(gogoproto.moretags) = "yaml:\"next_seq_recv\""]; + bytes path = 1; + uint64 next_seq_recv = 2 [ (gogoproto.moretags) = "yaml:\"next_seq_recv\"" ]; } diff --git a/third_party/proto/ibc/lightclients/solomachine/v2/solomachine.proto b/third_party/proto/ibc/lightclients/solomachine/v2/solomachine.proto index e626c18ac6..6f8d79fcf4 100644 --- a/third_party/proto/ibc/lightclients/solomachine/v2/solomachine.proto +++ b/third_party/proto/ibc/lightclients/solomachine/v2/solomachine.proto @@ -16,11 +16,13 @@ message ClientState { // latest sequence of the client state uint64 sequence = 1; // frozen sequence of the solo machine - bool is_frozen = 2 [(gogoproto.moretags) = "yaml:\"is_frozen\""]; - ConsensusState consensus_state = 3 [(gogoproto.moretags) = "yaml:\"consensus_state\""]; + bool is_frozen = 2 [ (gogoproto.moretags) = "yaml:\"is_frozen\"" ]; + ConsensusState consensus_state = 3 + [ (gogoproto.moretags) = "yaml:\"consensus_state\"" ]; // when set to true, will allow governance to update a solo machine client. // The client will be unfrozen if it is frozen. - bool allow_update_after_proposal = 4 [(gogoproto.moretags) = "yaml:\"allow_update_after_proposal\""]; + bool allow_update_after_proposal = 4 + [ (gogoproto.moretags) = "yaml:\"allow_update_after_proposal\"" ]; } // ConsensusState defines a solo machine consensus state. The sequence of a @@ -29,62 +31,67 @@ message ClientState { message ConsensusState { option (gogoproto.goproto_getters) = false; // public key of the solo machine - google.protobuf.Any public_key = 1 [(gogoproto.moretags) = "yaml:\"public_key\""]; + google.protobuf.Any public_key = 1 + [ (gogoproto.moretags) = "yaml:\"public_key\"" ]; // diversifier allows the same public key to be re-used across different solo // machine clients (potentially on different chains) without being considered // misbehaviour. string diversifier = 2; - uint64 timestamp = 3; + uint64 timestamp = 3; } // Header defines a solo machine consensus header message Header { option (gogoproto.goproto_getters) = false; // sequence to update solo machine public key at - uint64 sequence = 1; - uint64 timestamp = 2; - bytes signature = 3; - google.protobuf.Any new_public_key = 4 [(gogoproto.moretags) = "yaml:\"new_public_key\""]; - string new_diversifier = 5 [(gogoproto.moretags) = "yaml:\"new_diversifier\""]; + uint64 sequence = 1; + uint64 timestamp = 2; + bytes signature = 3; + google.protobuf.Any new_public_key = 4 + [ (gogoproto.moretags) = "yaml:\"new_public_key\"" ]; + string new_diversifier = 5 + [ (gogoproto.moretags) = "yaml:\"new_diversifier\"" ]; } // Misbehaviour defines misbehaviour for a solo machine which consists // of a sequence and two signatures over different messages at that sequence. message Misbehaviour { option (gogoproto.goproto_getters) = false; - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - uint64 sequence = 2; - SignatureAndData signature_one = 3 [(gogoproto.moretags) = "yaml:\"signature_one\""]; - SignatureAndData signature_two = 4 [(gogoproto.moretags) = "yaml:\"signature_two\""]; + string client_id = 1 [ (gogoproto.moretags) = "yaml:\"client_id\"" ]; + uint64 sequence = 2; + SignatureAndData signature_one = 3 + [ (gogoproto.moretags) = "yaml:\"signature_one\"" ]; + SignatureAndData signature_two = 4 + [ (gogoproto.moretags) = "yaml:\"signature_two\"" ]; } // SignatureAndData contains a signature and the data signed over to create that // signature. message SignatureAndData { option (gogoproto.goproto_getters) = false; - bytes signature = 1; - DataType data_type = 2 [(gogoproto.moretags) = "yaml:\"data_type\""]; - bytes data = 3; - uint64 timestamp = 4; + bytes signature = 1; + DataType data_type = 2 [ (gogoproto.moretags) = "yaml:\"data_type\"" ]; + bytes data = 3; + uint64 timestamp = 4; } // TimestampedSignatureData contains the signature data and the timestamp of the // signature. message TimestampedSignatureData { option (gogoproto.goproto_getters) = false; - bytes signature_data = 1 [(gogoproto.moretags) = "yaml:\"signature_data\""]; - uint64 timestamp = 2; + bytes signature_data = 1 [ (gogoproto.moretags) = "yaml:\"signature_data\"" ]; + uint64 timestamp = 2; } // SignBytes defines the signed bytes used for signature verification. message SignBytes { option (gogoproto.goproto_getters) = false; - uint64 sequence = 1; - uint64 timestamp = 2; + uint64 sequence = 1; + uint64 timestamp = 2; string diversifier = 3; // type of the data used - DataType data_type = 4 [(gogoproto.moretags) = "yaml:\"data_type\""]; + DataType data_type = 4 [ (gogoproto.moretags) = "yaml:\"data_type\"" ]; // marshaled data bytes data = 5; } @@ -95,25 +102,32 @@ enum DataType { option (gogoproto.goproto_enum_prefix) = false; // Default State - DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "UNSPECIFIED"]; + DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0 + [ (gogoproto.enumvalue_customname) = "UNSPECIFIED" ]; // Data type for client state verification - DATA_TYPE_CLIENT_STATE = 1 [(gogoproto.enumvalue_customname) = "CLIENT"]; + DATA_TYPE_CLIENT_STATE = 1 [ (gogoproto.enumvalue_customname) = "CLIENT" ]; // Data type for consensus state verification - DATA_TYPE_CONSENSUS_STATE = 2 [(gogoproto.enumvalue_customname) = "CONSENSUS"]; + DATA_TYPE_CONSENSUS_STATE = 2 + [ (gogoproto.enumvalue_customname) = "CONSENSUS" ]; // Data type for connection state verification - DATA_TYPE_CONNECTION_STATE = 3 [(gogoproto.enumvalue_customname) = "CONNECTION"]; + DATA_TYPE_CONNECTION_STATE = 3 + [ (gogoproto.enumvalue_customname) = "CONNECTION" ]; // Data type for channel state verification - DATA_TYPE_CHANNEL_STATE = 4 [(gogoproto.enumvalue_customname) = "CHANNEL"]; + DATA_TYPE_CHANNEL_STATE = 4 [ (gogoproto.enumvalue_customname) = "CHANNEL" ]; // Data type for packet commitment verification - DATA_TYPE_PACKET_COMMITMENT = 5 [(gogoproto.enumvalue_customname) = "PACKETCOMMITMENT"]; + DATA_TYPE_PACKET_COMMITMENT = 5 + [ (gogoproto.enumvalue_customname) = "PACKETCOMMITMENT" ]; // Data type for packet acknowledgement verification - DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6 [(gogoproto.enumvalue_customname) = "PACKETACKNOWLEDGEMENT"]; + DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6 + [ (gogoproto.enumvalue_customname) = "PACKETACKNOWLEDGEMENT" ]; // Data type for packet receipt absence verification - DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7 [(gogoproto.enumvalue_customname) = "PACKETRECEIPTABSENCE"]; + DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7 + [ (gogoproto.enumvalue_customname) = "PACKETRECEIPTABSENCE" ]; // Data type for next sequence recv verification - DATA_TYPE_NEXT_SEQUENCE_RECV = 8 [(gogoproto.enumvalue_customname) = "NEXTSEQUENCERECV"]; + DATA_TYPE_NEXT_SEQUENCE_RECV = 8 + [ (gogoproto.enumvalue_customname) = "NEXTSEQUENCERECV" ]; // Data type for header verification - DATA_TYPE_HEADER = 9 [(gogoproto.enumvalue_customname) = "HEADER"]; + DATA_TYPE_HEADER = 9 [ (gogoproto.enumvalue_customname) = "HEADER" ]; } // HeaderData returns the SignBytes data for update verification. @@ -121,17 +135,20 @@ message HeaderData { option (gogoproto.goproto_getters) = false; // header public key - google.protobuf.Any new_pub_key = 1 [(gogoproto.moretags) = "yaml:\"new_pub_key\""]; + google.protobuf.Any new_pub_key = 1 + [ (gogoproto.moretags) = "yaml:\"new_pub_key\"" ]; // header diversifier - string new_diversifier = 2 [(gogoproto.moretags) = "yaml:\"new_diversifier\""]; + string new_diversifier = 2 + [ (gogoproto.moretags) = "yaml:\"new_diversifier\"" ]; } // ClientStateData returns the SignBytes data for client state verification. message ClientStateData { option (gogoproto.goproto_getters) = false; - bytes path = 1; - google.protobuf.Any client_state = 2 [(gogoproto.moretags) = "yaml:\"client_state\""]; + bytes path = 1; + google.protobuf.Any client_state = 2 + [ (gogoproto.moretags) = "yaml:\"client_state\"" ]; } // ConsensusStateData returns the SignBytes data for consensus state @@ -139,8 +156,9 @@ message ClientStateData { message ConsensusStateData { option (gogoproto.goproto_getters) = false; - bytes path = 1; - google.protobuf.Any consensus_state = 2 [(gogoproto.moretags) = "yaml:\"consensus_state\""]; + bytes path = 1; + google.protobuf.Any consensus_state = 2 + [ (gogoproto.moretags) = "yaml:\"consensus_state\"" ]; } // ConnectionStateData returns the SignBytes data for connection state @@ -148,7 +166,7 @@ message ConsensusStateData { message ConnectionStateData { option (gogoproto.goproto_getters) = false; - bytes path = 1; + bytes path = 1; ibc.core.connection.v1.ConnectionEnd connection = 2; } @@ -157,33 +175,31 @@ message ConnectionStateData { message ChannelStateData { option (gogoproto.goproto_getters) = false; - bytes path = 1; + bytes path = 1; ibc.core.channel.v1.Channel channel = 2; } // PacketCommitmentData returns the SignBytes data for packet commitment // verification. message PacketCommitmentData { - bytes path = 1; + bytes path = 1; bytes commitment = 2; } // PacketAcknowledgementData returns the SignBytes data for acknowledgement // verification. message PacketAcknowledgementData { - bytes path = 1; + bytes path = 1; bytes acknowledgement = 2; } // PacketReceiptAbsenceData returns the SignBytes data for // packet receipt absence verification. -message PacketReceiptAbsenceData { - bytes path = 1; -} +message PacketReceiptAbsenceData { bytes path = 1; } // NextSequenceRecvData returns the SignBytes data for verification of the next // sequence to be received. message NextSequenceRecvData { - bytes path = 1; - uint64 next_seq_recv = 2 [(gogoproto.moretags) = "yaml:\"next_seq_recv\""]; + bytes path = 1; + uint64 next_seq_recv = 2 [ (gogoproto.moretags) = "yaml:\"next_seq_recv\"" ]; } diff --git a/third_party/proto/ibc/lightclients/tendermint/v1/tendermint.proto b/third_party/proto/ibc/lightclients/tendermint/v1/tendermint.proto index 322574fa5b..62b3ac7654 100644 --- a/third_party/proto/ibc/lightclients/tendermint/v1/tendermint.proto +++ b/third_party/proto/ibc/lightclients/tendermint/v1/tendermint.proto @@ -18,30 +18,44 @@ import "gogoproto/gogo.proto"; message ClientState { option (gogoproto.goproto_getters) = false; - string chain_id = 1; - Fraction trust_level = 2 [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"trust_level\""]; + string chain_id = 1; + Fraction trust_level = 2 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"trust_level\"" + ]; // duration of the period since the LastestTimestamp during which the // submitted headers are valid for upgrade - google.protobuf.Duration trusting_period = 3 - [(gogoproto.nullable) = false, (gogoproto.stdduration) = true, (gogoproto.moretags) = "yaml:\"trusting_period\""]; + google.protobuf.Duration trusting_period = 3 [ + (gogoproto.nullable) = false, + (gogoproto.stdduration) = true, + (gogoproto.moretags) = "yaml:\"trusting_period\"" + ]; // duration of the staking unbonding period google.protobuf.Duration unbonding_period = 4 [ - (gogoproto.nullable) = false, + (gogoproto.nullable) = false, (gogoproto.stdduration) = true, - (gogoproto.moretags) = "yaml:\"unbonding_period\"" + (gogoproto.moretags) = "yaml:\"unbonding_period\"" ]; // defines how much new (untrusted) header's Time can drift into the future. - google.protobuf.Duration max_clock_drift = 5 - [(gogoproto.nullable) = false, (gogoproto.stdduration) = true, (gogoproto.moretags) = "yaml:\"max_clock_drift\""]; + google.protobuf.Duration max_clock_drift = 5 [ + (gogoproto.nullable) = false, + (gogoproto.stdduration) = true, + (gogoproto.moretags) = "yaml:\"max_clock_drift\"" + ]; // Block height when the client was frozen due to a misbehaviour - ibc.core.client.v1.Height frozen_height = 6 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"frozen_height\""]; + ibc.core.client.v1.Height frozen_height = 6 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"frozen_height\"" + ]; // Latest height the client was updated to - ibc.core.client.v1.Height latest_height = 7 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"latest_height\""]; + ibc.core.client.v1.Height latest_height = 7 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"latest_height\"" + ]; // Proof specifications used in verifying counterparty state - repeated ics23.ProofSpec proof_specs = 8 [(gogoproto.moretags) = "yaml:\"proof_specs\""]; + repeated ics23.ProofSpec proof_specs = 8 + [ (gogoproto.moretags) = "yaml:\"proof_specs\"" ]; // Path at which next upgraded client will be committed. // Each element corresponds to the key for a single CommitmentProof in the @@ -50,14 +64,17 @@ message ClientState { // under `{upgradepath}/{upgradeHeight}/consensusState` For SDK chains using // the default upgrade module, upgrade_path should be []string{"upgrade", // "upgradedIBCState"}` - repeated string upgrade_path = 9 [(gogoproto.moretags) = "yaml:\"upgrade_path\""]; + repeated string upgrade_path = 9 + [ (gogoproto.moretags) = "yaml:\"upgrade_path\"" ]; // This flag, when set to true, will allow governance to recover a client // which has expired - bool allow_update_after_expiry = 10 [(gogoproto.moretags) = "yaml:\"allow_update_after_expiry\""]; + bool allow_update_after_expiry = 10 + [ (gogoproto.moretags) = "yaml:\"allow_update_after_expiry\"" ]; // This flag, when set to true, will allow governance to unfreeze a client // whose chain has experienced a misbehaviour event - bool allow_update_after_misbehaviour = 11 [(gogoproto.moretags) = "yaml:\"allow_update_after_misbehaviour\""]; + bool allow_update_after_misbehaviour = 11 + [ (gogoproto.moretags) = "yaml:\"allow_update_after_misbehaviour\"" ]; } // ConsensusState defines the consensus state from Tendermint. @@ -66,11 +83,13 @@ message ConsensusState { // timestamp that corresponds to the block height in which the ConsensusState // was stored. - google.protobuf.Timestamp timestamp = 1 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; + google.protobuf.Timestamp timestamp = 1 + [ (gogoproto.nullable) = false, (gogoproto.stdtime) = true ]; // commitment root (i.e app hash) - ibc.core.commitment.v1.MerkleRoot root = 2 [(gogoproto.nullable) = false]; - bytes next_validators_hash = 3 [ - (gogoproto.casttype) = "github.com/tendermint/tendermint/libs/bytes.HexBytes", + ibc.core.commitment.v1.MerkleRoot root = 2 [ (gogoproto.nullable) = false ]; + bytes next_validators_hash = 3 [ + (gogoproto.casttype) = + "github.com/tendermint/tendermint/libs/bytes.HexBytes", (gogoproto.moretags) = "yaml:\"next_validators_hash\"" ]; } @@ -80,9 +99,15 @@ message ConsensusState { message Misbehaviour { option (gogoproto.goproto_getters) = false; - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - Header header_1 = 2 [(gogoproto.customname) = "Header1", (gogoproto.moretags) = "yaml:\"header_1\""]; - Header header_2 = 3 [(gogoproto.customname) = "Header2", (gogoproto.moretags) = "yaml:\"header_2\""]; + string client_id = 1 [ (gogoproto.moretags) = "yaml:\"client_id\"" ]; + Header header_1 = 2 [ + (gogoproto.customname) = "Header1", + (gogoproto.moretags) = "yaml:\"header_1\"" + ]; + Header header_2 = 3 [ + (gogoproto.customname) = "Header2", + (gogoproto.moretags) = "yaml:\"header_2\"" + ]; } // Header defines the Tendermint client consensus Header. @@ -98,18 +123,24 @@ message Misbehaviour { // hash to TrustedConsensusState.NextValidatorsHash since that is the last // trusted validator set at the TrustedHeight. message Header { - .tendermint.types.SignedHeader signed_header = 1 - [(gogoproto.embed) = true, (gogoproto.moretags) = "yaml:\"signed_header\""]; + .tendermint.types.SignedHeader signed_header = 1 [ + (gogoproto.embed) = true, + (gogoproto.moretags) = "yaml:\"signed_header\"" + ]; - .tendermint.types.ValidatorSet validator_set = 2 [(gogoproto.moretags) = "yaml:\"validator_set\""]; - ibc.core.client.v1.Height trusted_height = 3 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"trusted_height\""]; - .tendermint.types.ValidatorSet trusted_validators = 4 [(gogoproto.moretags) = "yaml:\"trusted_validators\""]; + .tendermint.types.ValidatorSet validator_set = 2 + [ (gogoproto.moretags) = "yaml:\"validator_set\"" ]; + ibc.core.client.v1.Height trusted_height = 3 [ + (gogoproto.nullable) = false, + (gogoproto.moretags) = "yaml:\"trusted_height\"" + ]; + .tendermint.types.ValidatorSet trusted_validators = 4 + [ (gogoproto.moretags) = "yaml:\"trusted_validators\"" ]; } // Fraction defines the protobuf message type for tmmath.Fraction that only // supports positive values. message Fraction { - uint64 numerator = 1; + uint64 numerator = 1; uint64 denominator = 2; } diff --git a/third_party/proto/proofs.proto b/third_party/proto/proofs.proto index da43503ecb..f36281dd13 100644 --- a/third_party/proto/proofs.proto +++ b/third_party/proto/proofs.proto @@ -4,13 +4,14 @@ package ics23; option go_package = "github.com/confio/ics23/go"; enum HashOp { - // NO_HASH is the default if no data passed. Note this is an illegal argument some places. - NO_HASH = 0; - SHA256 = 1; - SHA512 = 2; - KECCAK = 3; - RIPEMD160 = 4; - BITCOIN = 5; // ripemd160(sha256(x)) + // NO_HASH is the default if no data passed. Note this is an illegal argument + // some places. + NO_HASH = 0; + SHA256 = 1; + SHA512 = 2; + KECCAK = 3; + RIPEMD160 = 4; + BITCOIN = 5; // ripemd160(sha256(x)) } /** @@ -20,24 +21,28 @@ algorithm, the length will be prepended to the key and value bytes. (Each one with it's own encoded length) */ enum LengthOp { - // NO_PREFIX don't include any length info - NO_PREFIX = 0; - // VAR_PROTO uses protobuf (and go-amino) varint encoding of the length - VAR_PROTO = 1; - // VAR_RLP uses rlp int encoding of the length - VAR_RLP = 2; - // FIXED32_BIG uses big-endian encoding of the length as a 32 bit integer - FIXED32_BIG = 3; - // FIXED32_LITTLE uses little-endian encoding of the length as a 32 bit integer - FIXED32_LITTLE = 4; - // FIXED64_BIG uses big-endian encoding of the length as a 64 bit integer - FIXED64_BIG = 5; - // FIXED64_LITTLE uses little-endian encoding of the length as a 64 bit integer - FIXED64_LITTLE = 6; - // REQUIRE_32_BYTES is like NONE, but will fail if the input is not exactly 32 bytes (sha256 output) - REQUIRE_32_BYTES = 7; - // REQUIRE_64_BYTES is like NONE, but will fail if the input is not exactly 64 bytes (sha512 output) - REQUIRE_64_BYTES = 8; + // NO_PREFIX don't include any length info + NO_PREFIX = 0; + // VAR_PROTO uses protobuf (and go-amino) varint encoding of the length + VAR_PROTO = 1; + // VAR_RLP uses rlp int encoding of the length + VAR_RLP = 2; + // FIXED32_BIG uses big-endian encoding of the length as a 32 bit integer + FIXED32_BIG = 3; + // FIXED32_LITTLE uses little-endian encoding of the length as a 32 bit + // integer + FIXED32_LITTLE = 4; + // FIXED64_BIG uses big-endian encoding of the length as a 64 bit integer + FIXED64_BIG = 5; + // FIXED64_LITTLE uses little-endian encoding of the length as a 64 bit + // integer + FIXED64_LITTLE = 6; + // REQUIRE_32_BYTES is like NONE, but will fail if the input is not exactly 32 + // bytes (sha256 output) + REQUIRE_32_BYTES = 7; + // REQUIRE_64_BYTES is like NONE, but will fail if the input is not exactly 64 + // bytes (sha512 output) + REQUIRE_64_BYTES = 8; } /** @@ -45,27 +50,25 @@ ExistenceProof takes a key and a value and a set of steps to perform on it. The result of peforming all these steps will provide a "root hash", which can be compared to the value in a header. -Since it is computationally infeasible to produce a hash collission for any of the used -cryptographic hash functions, if someone can provide a series of operations to transform -a given key and value into a root hash that matches some trusted root, these key and values -must be in the referenced merkle tree. - -The only possible issue is maliablity in LeafOp, such as providing extra prefix data, -which should be controlled by a spec. Eg. with lengthOp as NONE, - prefix = FOO, key = BAR, value = CHOICE -and - prefix = F, key = OOBAR, value = CHOICE -would produce the same value. - -With LengthOp this is tricker but not impossible. Which is why the "leafPrefixEqual" field -in the ProofSpec is valuable to prevent this mutability. And why all trees should -length-prefix the data before hashing it. +Since it is computationally infeasible to produce a hash collission for any of +the used cryptographic hash functions, if someone can provide a series of +operations to transform a given key and value into a root hash that matches some +trusted root, these key and values must be in the referenced merkle tree. + +The only possible issue is maliablity in LeafOp, such as providing extra prefix +data, which should be controlled by a spec. Eg. with lengthOp as NONE, prefix = +FOO, key = BAR, value = CHOICE and prefix = F, key = OOBAR, value = CHOICE would +produce the same value. + +With LengthOp this is tricker but not impossible. Which is why the +"leafPrefixEqual" field in the ProofSpec is valuable to prevent this mutability. +And why all trees should length-prefix the data before hashing it. */ message ExistenceProof { - bytes key = 1; - bytes value = 2; - LeafOp leaf = 3; - repeated InnerOp path = 4; + bytes key = 1; + bytes value = 2; + LeafOp leaf = 3; + repeated InnerOp path = 4; } /* @@ -74,21 +77,22 @@ one right of the desired key. If both proofs are valid AND they are neighbors, then there is no valid proof for the given key. */ message NonExistenceProof { - bytes key = 1; // TODO: remove this as unnecessary??? we prove a range - ExistenceProof left = 2; - ExistenceProof right = 3; + bytes key = 1; // TODO: remove this as unnecessary??? we prove a range + ExistenceProof left = 2; + ExistenceProof right = 3; } /* -CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch of such messages +CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch +of such messages */ message CommitmentProof { - oneof proof { - ExistenceProof exist = 1; - NonExistenceProof nonexist = 2; - BatchProof batch = 3; - CompressedBatchProof compressed = 4; - } + oneof proof { + ExistenceProof exist = 1; + NonExistenceProof nonexist = 2; + BatchProof batch = 3; + CompressedBatchProof compressed = 4; + } } /** @@ -100,26 +104,26 @@ merkle trees. key and value are passed in. So that the signature of this operation is: leafOp(key, value) -> output -To process this, first prehash the keys and values if needed (ANY means no hash in this case): - hkey = prehashKey(key) - hvalue = prehashValue(value) +To process this, first prehash the keys and values if needed (ANY means no hash +in this case): hkey = prehashKey(key) hvalue = prehashValue(value) Then combine the bytes, and hash it output = hash(prefix || length(hkey) || hkey || length(hvalue) || hvalue) */ message LeafOp { - HashOp hash = 1; - HashOp prehash_key = 2; - HashOp prehash_value = 3; - LengthOp length = 4; - // prefix is a fixed bytes that may optionally be included at the beginning to differentiate - // a leaf node from an inner node. - bytes prefix = 5; + HashOp hash = 1; + HashOp prehash_key = 2; + HashOp prehash_value = 3; + LengthOp length = 4; + // prefix is a fixed bytes that may optionally be included at the beginning to + // differentiate a leaf node from an inner node. + bytes prefix = 5; } /** InnerOp represents a merkle-proof step that is not a leaf. -It represents concatenating two children and hashing them to provide the next result. +It represents concatenating two children and hashing them to provide the next +result. The result of the previous step is passed in, so the signature of this op is: innerOp(child) -> output @@ -130,17 +134,17 @@ The result of applying InnerOp should be: where the || operator is concatenation of binary data, and child is the result of hashing all the tree below this step. -Any special data, like prepending child with the length, or prepending the entire operation with -some value to differentiate from leaf nodes, should be included in prefix and suffix. -If either of prefix or suffix is empty, we just treat it as an empty string +Any special data, like prepending child with the length, or prepending the +entire operation with some value to differentiate from leaf nodes, should be +included in prefix and suffix. If either of prefix or suffix is empty, we just +treat it as an empty string */ message InnerOp { - HashOp hash = 1; - bytes prefix = 2; - bytes suffix = 3; + HashOp hash = 1; + bytes prefix = 2; + bytes suffix = 3; } - /** ProofSpec defines what the expected parameters are for a given proof type. This can be stored in the client and used to validate any incoming proofs. @@ -155,18 +159,20 @@ tree format server uses. But not in code, rather a configuration object. */ message ProofSpec { // any field in the ExistenceProof must be the same as in this spec. - // except Prefix, which is just the first bytes of prefix (spec can be longer) + // except Prefix, which is just the first bytes of prefix (spec can be longer) LeafOp leaf_spec = 1; InnerSpec inner_spec = 2; - // max_depth (if > 0) is the maximum number of InnerOps allowed (mainly for fixed-depth tries) + // max_depth (if > 0) is the maximum number of InnerOps allowed (mainly for + // fixed-depth tries) int32 max_depth = 3; - // min_depth (if > 0) is the minimum number of InnerOps allowed (mainly for fixed-depth tries) + // min_depth (if > 0) is the minimum number of InnerOps allowed (mainly for + // fixed-depth tries) int32 min_depth = 4; } /* -InnerSpec contains all store-specific structure info to determine if two proofs from a -given store are neighbors. +InnerSpec contains all store-specific structure info to determine if two proofs +from a given store are neighbors. This enables: @@ -175,25 +181,24 @@ This enables: isLeftNeighbor(spec: InnerSpec, left: InnerOp, right: InnerOp) */ message InnerSpec { - // Child order is the ordering of the children node, must count from 0 - // iavl tree is [0, 1] (left then right) - // merk is [0, 2, 1] (left, right, here) - repeated int32 child_order = 1; - int32 child_size = 2; - int32 min_prefix_length = 3; - int32 max_prefix_length = 4; - // empty child is the prehash image that is used when one child is nil (eg. 20 bytes of 0) - bytes empty_child = 5; - // hash is the algorithm that must be used for each InnerOp - HashOp hash = 6; + // Child order is the ordering of the children node, must count from 0 + // iavl tree is [0, 1] (left then right) + // merk is [0, 2, 1] (left, right, here) + repeated int32 child_order = 1; + int32 child_size = 2; + int32 min_prefix_length = 3; + int32 max_prefix_length = 4; + // empty child is the prehash image that is used when one child is nil (eg. 20 + // bytes of 0) + bytes empty_child = 5; + // hash is the algorithm that must be used for each InnerOp + HashOp hash = 6; } /* BatchProof is a group of multiple proof types than can be compressed */ -message BatchProof { - repeated BatchEntry entries = 1; -} +message BatchProof { repeated BatchEntry entries = 1; } // Use BatchEntry not CommitmentProof, to avoid recursion message BatchEntry { @@ -203,7 +208,6 @@ message BatchEntry { } } - /****** all items here are compressed forms *******/ message CompressedBatchProof { @@ -224,7 +228,7 @@ message CompressedExistenceProof { bytes value = 2; LeafOp leaf = 3; // these are indexes into the lookup_inners table in CompressedBatchProof - repeated int32 path = 4; + repeated int32 path = 4; } message CompressedNonExistenceProof { diff --git a/x/claims/client/cli/query.go b/x/claims/client/cli/query.go index b0c5ee176d..3ef83eef1a 100644 --- a/x/claims/client/cli/query.go +++ b/x/claims/client/cli/query.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/version" - "github.com/tharsis/evmos/v4/x/claims/types" + "github.com/tharsis/evmos/v5/x/claims/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/claims/genesis.go b/x/claims/genesis.go index 26b3feb799..ca033c68ad 100644 --- a/x/claims/genesis.go +++ b/x/claims/genesis.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/evmos/v4/x/claims/keeper" - "github.com/tharsis/evmos/v4/x/claims/types" + "github.com/tharsis/evmos/v5/x/claims/keeper" + "github.com/tharsis/evmos/v5/x/claims/types" ) // InitGenesis initializes the claim module's state from a provided genesis diff --git a/x/claims/genesis_test.go b/x/claims/genesis_test.go index c71aea67f8..cb63a24922 100644 --- a/x/claims/genesis_test.go +++ b/x/claims/genesis_test.go @@ -15,10 +15,10 @@ import ( "github.com/tharsis/ethermint/tests" feemarkettypes "github.com/tharsis/ethermint/x/feemarket/types" - "github.com/tharsis/evmos/v4/app" - "github.com/tharsis/evmos/v4/testutil" - "github.com/tharsis/evmos/v4/x/claims" - "github.com/tharsis/evmos/v4/x/claims/types" + "github.com/tharsis/evmos/v5/app" + "github.com/tharsis/evmos/v5/testutil" + "github.com/tharsis/evmos/v5/x/claims" + "github.com/tharsis/evmos/v5/x/claims/types" ) type GenesisTestSuite struct { diff --git a/x/claims/handler.go b/x/claims/handler.go index c90d6b5bad..a6525bf092 100644 --- a/x/claims/handler.go +++ b/x/claims/handler.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/tharsis/evmos/v4/x/claims/keeper" - "github.com/tharsis/evmos/v4/x/claims/types" + "github.com/tharsis/evmos/v5/x/claims/keeper" + "github.com/tharsis/evmos/v5/x/claims/types" ) // NewHandler returns claim module messages diff --git a/x/claims/ibc_middleware.go b/x/claims/ibc_middleware.go index a224cedd54..16888a066e 100644 --- a/x/claims/ibc_middleware.go +++ b/x/claims/ibc_middleware.go @@ -7,8 +7,8 @@ import ( porttypes "github.com/cosmos/ibc-go/v3/modules/core/05-port/types" "github.com/cosmos/ibc-go/v3/modules/core/exported" - "github.com/tharsis/evmos/v4/ibc" - "github.com/tharsis/evmos/v4/x/claims/keeper" + "github.com/tharsis/evmos/v5/ibc" + "github.com/tharsis/evmos/v5/x/claims/keeper" ) var _ porttypes.Middleware = &IBCMiddleware{} diff --git a/x/claims/keeper/abci.go b/x/claims/keeper/abci.go index c38ffe9fe6..2361274ab8 100644 --- a/x/claims/keeper/abci.go +++ b/x/claims/keeper/abci.go @@ -7,7 +7,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" vestexported "github.com/cosmos/cosmos-sdk/x/auth/vesting/exported" - "github.com/tharsis/evmos/v4/x/claims/types" + "github.com/tharsis/evmos/v5/x/claims/types" ) // EndBlocker checks if the airdrop claiming period has ended in order to diff --git a/x/claims/keeper/abci_test.go b/x/claims/keeper/abci_test.go index bbadc098c2..c1dc40adf4 100644 --- a/x/claims/keeper/abci_test.go +++ b/x/claims/keeper/abci_test.go @@ -9,9 +9,9 @@ import ( distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types" "github.com/tharsis/ethermint/tests" - "github.com/tharsis/evmos/v4/testutil" - "github.com/tharsis/evmos/v4/x/claims/types" - vestingtypes "github.com/tharsis/evmos/v4/x/vesting/types" + "github.com/tharsis/evmos/v5/testutil" + "github.com/tharsis/evmos/v5/x/claims/types" + vestingtypes "github.com/tharsis/evmos/v5/x/vesting/types" ) func (suite *KeeperTestSuite) TestEndBlock() { diff --git a/x/claims/keeper/claim.go b/x/claims/keeper/claim.go index fe95480fea..a93c64f429 100644 --- a/x/claims/keeper/claim.go +++ b/x/claims/keeper/claim.go @@ -4,7 +4,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/tharsis/evmos/v4/x/claims/types" + "github.com/tharsis/evmos/v5/x/claims/types" ) // ClaimCoinsForAction removes the claimable amount entry from a claims record diff --git a/x/claims/keeper/claim_test.go b/x/claims/keeper/claim_test.go index 376fe2ac3a..7dcd5583cb 100644 --- a/x/claims/keeper/claim_test.go +++ b/x/claims/keeper/claim_test.go @@ -14,10 +14,10 @@ import ( "github.com/tharsis/ethermint/crypto/ethsecp256k1" "github.com/tharsis/ethermint/tests" ethermint "github.com/tharsis/ethermint/types" - "github.com/tharsis/evmos/v4/testutil" - inflationtypes "github.com/tharsis/evmos/v4/x/inflation/types" + "github.com/tharsis/evmos/v5/testutil" + inflationtypes "github.com/tharsis/evmos/v5/x/inflation/types" - "github.com/tharsis/evmos/v4/x/claims/types" + "github.com/tharsis/evmos/v5/x/claims/types" ) func (suite *KeeperTestSuite) TestGetClaimableAmountForAction() { diff --git a/x/claims/keeper/claims_records.go b/x/claims/keeper/claims_records.go index 6112b792f0..54cf45fab9 100644 --- a/x/claims/keeper/claims_records.go +++ b/x/claims/keeper/claims_records.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/evmos/v4/x/claims/types" + "github.com/tharsis/evmos/v5/x/claims/types" ) // GetClaimsRecord returns the claims record for a specific address diff --git a/x/claims/keeper/claims_records_test.go b/x/claims/keeper/claims_records_test.go index 42db672d99..76b43c01de 100644 --- a/x/claims/keeper/claims_records_test.go +++ b/x/claims/keeper/claims_records_test.go @@ -3,7 +3,7 @@ package keeper_test import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/evmos/v4/x/claims/types" + "github.com/tharsis/evmos/v5/x/claims/types" ) func (suite *KeeperTestSuite) TestsClaimsRecords() { diff --git a/x/claims/keeper/grpc_query.go b/x/claims/keeper/grpc_query.go index 0c11caf495..be7b6af448 100644 --- a/x/claims/keeper/grpc_query.go +++ b/x/claims/keeper/grpc_query.go @@ -9,7 +9,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/tharsis/evmos/v4/x/claims/types" + "github.com/tharsis/evmos/v5/x/claims/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/claims/keeper/grpc_query_test.go b/x/claims/keeper/grpc_query_test.go index 4ed9870a0b..9438c29e35 100644 --- a/x/claims/keeper/grpc_query_test.go +++ b/x/claims/keeper/grpc_query_test.go @@ -6,8 +6,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/tharsis/ethermint/tests" - "github.com/tharsis/evmos/v4/testutil" - "github.com/tharsis/evmos/v4/x/claims/types" + "github.com/tharsis/evmos/v5/testutil" + "github.com/tharsis/evmos/v5/x/claims/types" ) func (suite *KeeperTestSuite) TestTotalUnclaimed() { diff --git a/x/claims/keeper/hooks.go b/x/claims/keeper/hooks.go index 0ddd55c884..41fb6f92b1 100644 --- a/x/claims/keeper/hooks.go +++ b/x/claims/keeper/hooks.go @@ -13,7 +13,7 @@ import ( evmtypes "github.com/tharsis/ethermint/x/evm/types" - "github.com/tharsis/evmos/v4/x/claims/types" + "github.com/tharsis/evmos/v5/x/claims/types" ) var ( diff --git a/x/claims/keeper/hooks_test.go b/x/claims/keeper/hooks_test.go index 0ca406b607..0024830c75 100644 --- a/x/claims/keeper/hooks_test.go +++ b/x/claims/keeper/hooks_test.go @@ -8,8 +8,8 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/tharsis/ethermint/tests" - "github.com/tharsis/evmos/v4/testutil" - "github.com/tharsis/evmos/v4/x/claims/types" + "github.com/tharsis/evmos/v5/testutil" + "github.com/tharsis/evmos/v5/x/claims/types" ) func (suite *KeeperTestSuite) TestAfterProposalVote() { diff --git a/x/claims/keeper/ibc_callbacks.go b/x/claims/keeper/ibc_callbacks.go index 184b6a0b60..e58862996a 100644 --- a/x/claims/keeper/ibc_callbacks.go +++ b/x/claims/keeper/ibc_callbacks.go @@ -7,9 +7,9 @@ import ( channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" "github.com/cosmos/ibc-go/v3/modules/core/exported" - "github.com/tharsis/evmos/v4/ibc" - evmos "github.com/tharsis/evmos/v4/types" - "github.com/tharsis/evmos/v4/x/claims/types" + "github.com/tharsis/evmos/v5/ibc" + evmos "github.com/tharsis/evmos/v5/types" + "github.com/tharsis/evmos/v5/x/claims/types" ) // OnAcknowledgementPacket performs an IBC send callback. Once a user submits an diff --git a/x/claims/keeper/ibc_callbacks_ibc_suite_test.go b/x/claims/keeper/ibc_callbacks_ibc_suite_test.go index 056fdc2f15..fd767a3a55 100644 --- a/x/claims/keeper/ibc_callbacks_ibc_suite_test.go +++ b/x/claims/keeper/ibc_callbacks_ibc_suite_test.go @@ -13,10 +13,10 @@ import ( ibcgotesting "github.com/cosmos/ibc-go/v3/testing" "github.com/tharsis/ethermint/tests" - "github.com/tharsis/evmos/v4/app" - ibctesting "github.com/tharsis/evmos/v4/ibc/testing" - "github.com/tharsis/evmos/v4/testutil" - "github.com/tharsis/evmos/v4/x/claims/types" + "github.com/tharsis/evmos/v5/app" + ibctesting "github.com/tharsis/evmos/v5/ibc/testing" + "github.com/tharsis/evmos/v5/testutil" + "github.com/tharsis/evmos/v5/x/claims/types" ) type IBCTestingSuite struct { diff --git a/x/claims/keeper/ibc_callbacks_test.go b/x/claims/keeper/ibc_callbacks_test.go index 65664cc3e9..cbf3ad2956 100644 --- a/x/claims/keeper/ibc_callbacks_test.go +++ b/x/claims/keeper/ibc_callbacks_test.go @@ -14,7 +14,7 @@ import ( ibcgotesting "github.com/cosmos/ibc-go/v3/testing" ibcmock "github.com/cosmos/ibc-go/v3/testing/mock" - "github.com/tharsis/evmos/v4/x/claims/types" + "github.com/tharsis/evmos/v5/x/claims/types" ) var timeoutHeight = clienttypes.NewHeight(1000, 1000) diff --git a/x/claims/keeper/integration_test.go b/x/claims/keeper/integration_test.go index 1a088cbb63..f926c2eca8 100644 --- a/x/claims/keeper/integration_test.go +++ b/x/claims/keeper/integration_test.go @@ -23,10 +23,10 @@ import ( "github.com/tharsis/ethermint/encoding" "github.com/tharsis/ethermint/tests" evmtypes "github.com/tharsis/ethermint/x/evm/types" - "github.com/tharsis/evmos/v4/app" - "github.com/tharsis/evmos/v4/testutil" - incentivestypes "github.com/tharsis/evmos/v4/x/incentives/types" - inflationtypes "github.com/tharsis/evmos/v4/x/inflation/types" + "github.com/tharsis/evmos/v5/app" + "github.com/tharsis/evmos/v5/testutil" + incentivestypes "github.com/tharsis/evmos/v5/x/incentives/types" + inflationtypes "github.com/tharsis/evmos/v5/x/inflation/types" codectypes "github.com/cosmos/cosmos-sdk/codec/types" authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" @@ -35,8 +35,8 @@ import ( abci "github.com/tendermint/tendermint/abci/types" "github.com/tharsis/ethermint/server/config" evm "github.com/tharsis/ethermint/x/evm/types" - "github.com/tharsis/evmos/v4/contracts" - "github.com/tharsis/evmos/v4/x/claims/types" + "github.com/tharsis/evmos/v5/contracts" + "github.com/tharsis/evmos/v5/x/claims/types" ) var _ = Describe("Claiming", Ordered, func() { diff --git a/x/claims/keeper/invariants.go b/x/claims/keeper/invariants.go index 5999be252f..ea2ae835fa 100644 --- a/x/claims/keeper/invariants.go +++ b/x/claims/keeper/invariants.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/evmos/v4/x/claims/types" + "github.com/tharsis/evmos/v5/x/claims/types" ) // RegisterInvariants registers the claims module invariants diff --git a/x/claims/keeper/invariants_test.go b/x/claims/keeper/invariants_test.go index 85e1bf29c1..44f4d9f55d 100644 --- a/x/claims/keeper/invariants_test.go +++ b/x/claims/keeper/invariants_test.go @@ -5,8 +5,8 @@ import ( "github.com/tharsis/ethermint/tests" - "github.com/tharsis/evmos/v4/testutil" - "github.com/tharsis/evmos/v4/x/claims/types" + "github.com/tharsis/evmos/v5/testutil" + "github.com/tharsis/evmos/v5/x/claims/types" ) func (suite *KeeperTestSuite) TestClaimsInvariant() { diff --git a/x/claims/keeper/keeper.go b/x/claims/keeper/keeper.go index 188a7cbdc9..ad20f98186 100644 --- a/x/claims/keeper/keeper.go +++ b/x/claims/keeper/keeper.go @@ -11,7 +11,7 @@ import ( paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" porttypes "github.com/cosmos/ibc-go/v3/modules/core/05-port/types" - "github.com/tharsis/evmos/v4/x/claims/types" + "github.com/tharsis/evmos/v5/x/claims/types" ) // Keeper struct diff --git a/x/claims/keeper/keeper_test.go b/x/claims/keeper/keeper_test.go index e0dae5897a..cd64e4df71 100644 --- a/x/claims/keeper/keeper_test.go +++ b/x/claims/keeper/keeper_test.go @@ -26,9 +26,9 @@ import ( tmversion "github.com/tendermint/tendermint/proto/tendermint/version" "github.com/tendermint/tendermint/version" evm "github.com/tharsis/ethermint/x/evm/types" - "github.com/tharsis/evmos/v4/app" - "github.com/tharsis/evmos/v4/testutil" - "github.com/tharsis/evmos/v4/x/claims/types" + "github.com/tharsis/evmos/v5/app" + "github.com/tharsis/evmos/v5/testutil" + "github.com/tharsis/evmos/v5/x/claims/types" ) type KeeperTestSuite struct { diff --git a/x/claims/keeper/migrations.go b/x/claims/keeper/migrations.go index 8a5fa77f27..a732029d5c 100644 --- a/x/claims/keeper/migrations.go +++ b/x/claims/keeper/migrations.go @@ -4,7 +4,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - v2 "github.com/tharsis/evmos/v4/x/claims/migrations/v2" + v2 "github.com/tharsis/evmos/v5/x/claims/migrations/v2" ) var _ module.MigrationHandler = Migrator{}.Migrate1to2 diff --git a/x/claims/keeper/params.go b/x/claims/keeper/params.go index 194b2a8a4c..ef3814be73 100644 --- a/x/claims/keeper/params.go +++ b/x/claims/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/evmos/v4/x/claims/types" + "github.com/tharsis/evmos/v5/x/claims/types" ) // GetParams returns the total set of claim parameters. diff --git a/x/claims/keeper/params_test.go b/x/claims/keeper/params_test.go index 84c2a029d3..387643a812 100644 --- a/x/claims/keeper/params_test.go +++ b/x/claims/keeper/params_test.go @@ -1,7 +1,7 @@ package keeper_test import ( - "github.com/tharsis/evmos/v4/x/claims/types" + "github.com/tharsis/evmos/v5/x/claims/types" ) func (suite *KeeperTestSuite) TestParams() { diff --git a/x/claims/migrations/v2/migration.go b/x/claims/migrations/v2/migration.go index 67e8398852..5354497544 100644 --- a/x/claims/migrations/v2/migration.go +++ b/x/claims/migrations/v2/migration.go @@ -4,8 +4,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - v1types "github.com/tharsis/evmos/v4/x/claims/migrations/v1/types" - "github.com/tharsis/evmos/v4/x/claims/types" + v1types "github.com/tharsis/evmos/v5/x/claims/migrations/v1/types" + "github.com/tharsis/evmos/v5/x/claims/types" ) // MigrateStore adds the new parameters AuthorizedChannels and EVMChannels diff --git a/x/claims/migrations/v2/migration_test.go b/x/claims/migrations/v2/migration_test.go index 84b7348aea..36dda06ae5 100644 --- a/x/claims/migrations/v2/migration_test.go +++ b/x/claims/migrations/v2/migration_test.go @@ -9,9 +9,9 @@ import ( paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" "github.com/stretchr/testify/require" "github.com/tharsis/ethermint/encoding" - "github.com/tharsis/evmos/v4/app" - v2 "github.com/tharsis/evmos/v4/x/claims/migrations/v2" - claims "github.com/tharsis/evmos/v4/x/claims/types" + "github.com/tharsis/evmos/v5/app" + v2 "github.com/tharsis/evmos/v5/x/claims/migrations/v2" + claims "github.com/tharsis/evmos/v5/x/claims/types" ) func TestStoreMigration(t *testing.T) { diff --git a/x/claims/module.go b/x/claims/module.go index a4739f1087..620ed26f2f 100644 --- a/x/claims/module.go +++ b/x/claims/module.go @@ -17,9 +17,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/tharsis/evmos/v4/x/claims/client/cli" - "github.com/tharsis/evmos/v4/x/claims/keeper" - "github.com/tharsis/evmos/v4/x/claims/types" + "github.com/tharsis/evmos/v5/x/claims/client/cli" + "github.com/tharsis/evmos/v5/x/claims/keeper" + "github.com/tharsis/evmos/v5/x/claims/types" ) var ( diff --git a/x/claims/types/claims.pb.go b/x/claims/types/claims.pb.go index d0017ba928..4bb7dcca2c 100644 --- a/x/claims/types/claims.pb.go +++ b/x/claims/types/claims.pb.go @@ -122,7 +122,8 @@ func (m *Claim) GetCompleted() bool { return false } -// ClaimsRecordAddress is the claims metadata per address that is used at Genesis. +// ClaimsRecordAddress is the claims metadata per address that is used at +// Genesis. type ClaimsRecordAddress struct { // bech32 or hex address of claim user Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` @@ -238,40 +239,40 @@ func init() { func init() { proto.RegisterFile("evmos/claims/v1/claims.proto", fileDescriptor_a7153f2307523893) } var fileDescriptor_a7153f2307523893 = []byte{ - // 513 bytes of a gzipped FileDescriptorProto + // 514 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x93, 0x4f, 0x6e, 0xd3, 0x40, 0x14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 0x6b, 0x3f, - 0xb7, 0x9f, 0x99, 0x9e, 0x2d, 0x97, 0x14, 0x34, 0x9d, 0x69, 0xb5, 0x02, 0xea, 0xe2, 0x04, 0x0f, - 0x03, 0x86, 0xd1, 0x43, 0x08, 0x05, 0x68, 0xf7, 0x0f, 0xe4, 0xb2, 0x72, 0x67, 0x3a, 0xd3, 0xaa, - 0x05, 0x63, 0xf7, 0x0f, 0x90, 0x0e, 0x37, 0x85, 0xec, 0x74, 0x2c, 0xdf, 0x73, 0xcd, 0xde, 0xd1, - 0xbe, 0xed, 0xca, 0x6b, 0xab, 0xc6, 0x9c, 0x8e, 0xe5, 0xe5, 0x41, 0x46, 0x4f, 0x70, 0xae, 0xac, - 0xbd, 0xfb, 0xa0, 0x4a, 0x9d, 0xee, 0xd9, 0x5c, 0x05, 0xe7, 0x73, 0x15, 0x7c, 0x9f, 0xab, 0xe0, - 0xfd, 0x42, 0x95, 0xce, 0x17, 0xaa, 0xf4, 0x75, 0xa1, 0x4a, 0xaf, 0xb6, 0x57, 0xf2, 0x65, 0xa3, - 0x20, 0xa7, 0x31, 0x35, 0x8a, 0x7b, 0x9b, 0xec, 0x19, 0x6f, 0x96, 0x47, 0xc7, 0x73, 0x1e, 0x54, - 0xf8, 0x29, 0xed, 0xfd, 0x08, 0x00, 0x00, 0xff, 0xff, 0xf7, 0xc6, 0x93, 0x1e, 0x91, 0x03, 0x00, - 0x00, + 0xa2, 0xa2, 0xda, 0x2a, 0x88, 0x03, 0x38, 0x8e, 0x8b, 0x2c, 0xd1, 0x14, 0xb9, 0x6e, 0x24, 0xd8, + 0x58, 0x8e, 0x3d, 0x4d, 0x2c, 0x6c, 0x4f, 0xe4, 0x99, 0x46, 0x70, 0x03, 0x94, 0x15, 0x17, 0xc8, + 0x0a, 0x71, 0x00, 0x2e, 0x81, 0xba, 0xec, 0x0a, 0x21, 0x16, 0x15, 0x4a, 0x2e, 0x82, 0x3a, 0x9e, + 0xd0, 0xf0, 0x47, 0x2c, 0x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bb, 0x0f, 0xaa, 0xd4, 0xe9, 0x9e, 0xce, 0x55, 0x70, 0x36, 0x57, 0xc1, 0xf7, 0xb9, 0x0a, + 0xde, 0x2f, 0x54, 0xe9, 0x6c, 0xa1, 0x4a, 0x5f, 0x17, 0xaa, 0xf4, 0x6a, 0x7b, 0x25, 0x5f, 0x36, + 0x0a, 0x72, 0x1a, 0x53, 0xa3, 0xb8, 0xb7, 0xc9, 0x53, 0xe3, 0xcd, 0xf2, 0xe8, 0x78, 0xce, 0x83, + 0x0a, 0x3f, 0xa5, 0x27, 0x3f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xa7, 0x94, 0xae, 0xae, 0x91, 0x03, + 0x00, 0x00, } func (m *Claim) Marshal() (dAtA []byte, err error) { diff --git a/x/claims/types/genesis.pb.go b/x/claims/types/genesis.pb.go index ae8c9de9a0..5e97bf67b6 100644 --- a/x/claims/types/genesis.pb.go +++ b/x/claims/types/genesis.pb.go @@ -195,7 +195,7 @@ var fileDescriptor_f2f8f1d6f18af278 = []byte{ // 488 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xcf, 0x6e, 0xd3, 0x30, 0x1c, 0xc7, 0x9b, 0x75, 0x94, 0xcd, 0xed, 0x28, 0x98, 0x49, 0x84, 0x0a, 0xd2, 0x32, 0x38, 0x54, - 0x1c, 0x62, 0xad, 0x13, 0x0f, 0x40, 0x57, 0xc4, 0x09, 0x0d, 0x32, 0xc6, 0x81, 0x4b, 0xe4, 0x26, + 0x1c, 0x62, 0xad, 0x68, 0x0f, 0x40, 0x57, 0xc4, 0x09, 0x0d, 0x32, 0xc6, 0x81, 0x4b, 0xe4, 0x26, 0x6e, 0x1a, 0x29, 0x8e, 0x23, 0xdb, 0x89, 0x18, 0x4f, 0xb1, 0xe3, 0x5e, 0x83, 0xb7, 0xd8, 0x71, 0x47, 0x4e, 0x03, 0xb5, 0x2f, 0x82, 0xfc, 0x8f, 0xa1, 0xee, 0xc2, 0xcd, 0xf6, 0xf7, 0xfb, 0xfd, 0xf8, 0xe7, 0xaf, 0x0c, 0x9e, 0x93, 0x86, 0x32, 0x81, 0x92, 0x02, 0xe7, 0x54, 0xa0, 0xe6, 0x10, @@ -203,27 +203,27 @@ var fileDescriptor_f2f8f1d6f18af278 = []byte{ 0x38, 0xd8, 0xcf, 0x58, 0xc6, 0xb4, 0x86, 0xd4, 0xca, 0xd8, 0x06, 0x41, 0xc6, 0x58, 0x56, 0x10, 0xa4, 0x77, 0xf3, 0x7a, 0x81, 0xd2, 0x9a, 0x63, 0x99, 0xb3, 0xd2, 0xea, 0xc3, 0x4d, 0x5d, 0xe6, 0x94, 0x08, 0x89, 0x69, 0x65, 0x0d, 0xcf, 0x36, 0xc7, 0xb0, 0x37, 0x6a, 0xf5, 0xe0, 0xd2, 0x03, - 0xbd, 0xf7, 0x66, 0xae, 0x53, 0x89, 0x25, 0x81, 0x6f, 0x40, 0xa7, 0xc2, 0x1c, 0x53, 0xe1, 0x7b, - 0x23, 0x6f, 0xdc, 0x9d, 0x3c, 0x09, 0x37, 0xe6, 0x0c, 0x3f, 0x6a, 0x79, 0xba, 0x7d, 0x75, 0x33, - 0x6c, 0x45, 0xd6, 0x0c, 0x3f, 0x81, 0x07, 0xc6, 0x11, 0x73, 0x92, 0x30, 0x9e, 0x0a, 0x7f, 0x6b, - 0xd4, 0x1e, 0x77, 0x27, 0xaf, 0xee, 0xc4, 0x8f, 0xf5, 0x2a, 0xd2, 0xae, 0xb7, 0x69, 0xca, 0x89, - 0x70, 0xac, 0xbd, 0xe4, 0x1f, 0x49, 0x1c, 0xfc, 0x68, 0x83, 0x8e, 0xb9, 0x0b, 0xbe, 0x04, 0x7b, - 0xa4, 0xc4, 0xf3, 0x82, 0xc4, 0xc6, 0xa2, 0x67, 0xdb, 0x89, 0x7a, 0xe6, 0xd0, 0x10, 0x61, 0x04, - 0x20, 0xce, 0x79, 0xca, 0x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0xd7, 0xd7, 0x59, 0x2e, 0x97, 0xf5, - 0x3c, 0x4c, 0x18, 0x45, 0x72, 0x89, 0xb9, 0xc8, 0x05, 0x32, 0x3f, 0xb3, 0x39, 0x42, 0xdf, 0xdc, - 0xf7, 0x94, 0xe7, 0x15, 0x11, 0xf3, 0x8e, 0x7e, 0xfb, 0xd1, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, - 0xb4, 0x1f, 0x19, 0xec, 0x42, 0x03, 0x00, 0x00, + 0xbd, 0xf7, 0x66, 0xae, 0x53, 0x89, 0x25, 0x81, 0x47, 0xa0, 0x53, 0x61, 0x8e, 0xa9, 0xf0, 0xbd, + 0x91, 0x37, 0xee, 0x4e, 0x9e, 0x84, 0x1b, 0x73, 0x86, 0x1f, 0xb5, 0x3c, 0xdd, 0xbe, 0xba, 0x19, + 0xb6, 0x22, 0x6b, 0x86, 0x9f, 0xc0, 0x03, 0xe3, 0x88, 0x39, 0x49, 0x18, 0x4f, 0x85, 0xbf, 0x35, + 0x6a, 0x8f, 0xbb, 0x93, 0x57, 0x77, 0xe2, 0xc7, 0x7a, 0x15, 0x69, 0xd7, 0xdb, 0x34, 0xe5, 0x44, + 0x38, 0xd6, 0x5e, 0xf2, 0x8f, 0x24, 0x0e, 0x7e, 0xb4, 0x41, 0xc7, 0xdc, 0x05, 0x5f, 0x82, 0x3d, + 0x52, 0xe2, 0x79, 0x41, 0x62, 0x63, 0xd1, 0xb3, 0xed, 0x44, 0x3d, 0x73, 0x68, 0x88, 0x30, 0x02, + 0x10, 0xe7, 0x3c, 0xe5, 0xac, 0x8a, 0x85, 0xc4, 0x5c, 0xc6, 0xaa, 0x09, 0x7f, 0x4b, 0xbf, 0x62, + 0x10, 0x9a, 0x9a, 0x42, 0x57, 0x53, 0xf8, 0xd9, 0xd5, 0x34, 0xdd, 0x51, 0x97, 0x5f, 0xfc, 0x1a, + 0x7a, 0xd1, 0x43, 0x9b, 0x3f, 0x55, 0x71, 0x65, 0x80, 0x67, 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xff, 0xff, + 0xe4, 0x4d, 0x24, 0x5c, 0x42, 0x03, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/claims/types/query.pb.go b/x/claims/types/query.pb.go index b55bdb090c..80f6bc6124 100644 --- a/x/claims/types/query.pb.go +++ b/x/claims/types/query.pb.go @@ -416,7 +416,7 @@ var fileDescriptor_f3bf523ec58a3aba = []byte{ // 672 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xcf, 0x6e, 0xd3, 0x4e, 0x10, 0xc7, 0xb3, 0xfd, 0xb5, 0xf9, 0x89, 0x2d, 0x7f, 0xa4, 0xa5, 0x6a, 0x53, 0xb7, 0x38, 0xc5, - 0x54, 0x6d, 0x9a, 0x82, 0x97, 0xb4, 0xe5, 0x01, 0x9a, 0x22, 0x10, 0x12, 0x87, 0x62, 0xc1, 0x85, + 0x54, 0x6d, 0x9a, 0x82, 0x97, 0x94, 0xf6, 0x01, 0x9a, 0x22, 0x10, 0x12, 0x87, 0x62, 0xc1, 0x85, 0x4b, 0xb4, 0x71, 0x56, 0xee, 0x8a, 0xc4, 0xeb, 0x7a, 0x37, 0x11, 0x15, 0x42, 0x42, 0x3c, 0x01, 0x08, 0x21, 0xf1, 0x0a, 0xf0, 0x0a, 0x5c, 0x39, 0xf4, 0x58, 0x89, 0x0b, 0xe2, 0x50, 0x50, 0xcb, 0x83, 0x20, 0xef, 0xae, 0x43, 0x9c, 0x18, 0x92, 0x53, 0x1b, 0xcf, 0x77, 0xbe, 0xf3, 0x99, 0xf1, @@ -433,29 +433,29 @@ var fileDescriptor_f3bf523ec58a3aba = []byte{ 0x7c, 0x5a, 0x2e, 0x7c, 0xfa, 0x51, 0xae, 0x04, 0x4c, 0x1e, 0x74, 0x9b, 0xae, 0xcf, 0x3b, 0xd8, 0xf4, 0xa5, 0xff, 0xdc, 0x12, 0xad, 0x67, 0x58, 0x1e, 0x45, 0x54, 0xa8, 0x04, 0xe1, 0x69, 0x67, 0x67, 0x0e, 0x22, 0x45, 0xb0, 0x4f, 0x62, 0xd2, 0x11, 0x29, 0xd8, 0x43, 0x78, 0x35, 0xf3, 0xd4, - 0xf0, 0xdc, 0x81, 0xc5, 0x48, 0x3d, 0x29, 0x81, 0x15, 0x50, 0x99, 0xdd, 0x5a, 0x70, 0x87, 0x5e, - 0x96, 0xab, 0x13, 0xea, 0xd3, 0x09, 0x8e, 0x67, 0xc4, 0x8e, 0x0f, 0x17, 0x95, 0xdb, 0x9e, 0x92, - 0x79, 0xd4, 0xe7, 0x71, 0x2b, 0x2d, 0x85, 0xee, 0x41, 0xf8, 0xe7, 0x95, 0x18, 0xdf, 0xb5, 0x4c, - 0xa3, 0x7a, 0x3b, 0xd2, 0x76, 0xf7, 0x49, 0x40, 0x4d, 0xae, 0x37, 0x90, 0xe9, 0x7c, 0x04, 0x66, - 0xd4, 0x43, 0x55, 0x0c, 0x7a, 0x1d, 0x16, 0x35, 0xa5, 0x99, 0xe5, 0xea, 0x08, 0xfa, 0x60, 0xde, - 0x6e, 0xab, 0x15, 0x53, 0xd1, 0xef, 0x43, 0x8b, 0xd0, 0xfd, 0x0c, 0xea, 0x94, 0x42, 0x5d, 0x1f, - 0x8b, 0xaa, 0x01, 0x32, 0xac, 0x3b, 0xb0, 0x34, 0x82, 0x9a, 0xce, 0xa3, 0x04, 0xff, 0x27, 0xba, - 0xba, 0x1a, 0xc6, 0x05, 0x2f, 0xfd, 0xe9, 0x7c, 0x06, 0x39, 0x73, 0xec, 0x37, 0x78, 0x00, 0x4b, - 0x2c, 0x64, 0x92, 0x91, 0x76, 0x43, 0xe1, 0x92, 0x66, 0x9b, 0x36, 0x48, 0x87, 0x77, 0x43, 0xa9, - 0x8d, 0xea, 0x6e, 0xd2, 0xcc, 0xf7, 0xd3, 0xf2, 0xda, 0x04, 0x3b, 0xf2, 0x20, 0x94, 0xde, 0xbc, - 0xf1, 0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0xb1, 0x60, 0xc2, 0xd8, 0xf6, 0x76, 0xf0, 0xf3, 0xd4, 0x5b, 0xad, 0x77, 0xb3, 0xa8, 0xbe, + 0xce, 0x77, 0x7e, 0x07, 0x00, 0x00, 0xff, 0xff, 0x56, 0x3e, 0x71, 0x91, 0x8a, 0x06, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/claims/types/query.pb.gw.go b/x/claims/types/query.pb.gw.go index cd7ab668d5..b45e261f92 100644 --- a/x/claims/types/query.pb.gw.go +++ b/x/claims/types/query.pb.gw.go @@ -20,7 +20,6 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" - "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" ) @@ -31,7 +30,6 @@ var _ status.Status var _ = runtime.String var _ = utilities.NewDoubleArray var _ = descriptor.ForMessage -var _ = metadata.Join func request_Query_TotalUnclaimed_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryTotalUnclaimedRequest @@ -162,14 +160,12 @@ func local_request_Query_ClaimsRecord_0(ctx context.Context, marshaler runtime.M // RegisterQueryHandlerServer registers the http handlers for service Query to "mux". // UnaryRPC :call QueryServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead. +// Note that using this registration option will cause many gRPC library features (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead. func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error { mux.Handle("GET", pattern_Query_TotalUnclaimed_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) if err != nil { @@ -177,7 +173,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } resp, md, err := local_request_Query_TotalUnclaimed_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) @@ -191,8 +186,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) if err != nil { @@ -200,7 +193,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } resp, md, err := local_request_Query_Params_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) @@ -214,8 +206,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv mux.Handle("GET", pattern_Query_ClaimsRecords_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) if err != nil { @@ -223,7 +213,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } resp, md, err := local_request_Query_ClaimsRecords_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) @@ -237,8 +226,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv mux.Handle("GET", pattern_Query_ClaimsRecord_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) if err != nil { @@ -246,7 +233,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } resp, md, err := local_request_Query_ClaimsRecord_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) diff --git a/x/epochs/client/cli/query.go b/x/epochs/client/cli/query.go index 0026df94b3..f4ed5c137a 100644 --- a/x/epochs/client/cli/query.go +++ b/x/epochs/client/cli/query.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/version" "github.com/spf13/cobra" - "github.com/tharsis/evmos/v4/x/epochs/types" + "github.com/tharsis/evmos/v5/x/epochs/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/epochs/genesis.go b/x/epochs/genesis.go index df05f42b71..b797c2b10e 100644 --- a/x/epochs/genesis.go +++ b/x/epochs/genesis.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/evmos/v4/x/epochs/keeper" - "github.com/tharsis/evmos/v4/x/epochs/types" + "github.com/tharsis/evmos/v5/x/epochs/keeper" + "github.com/tharsis/evmos/v5/x/epochs/types" ) // InitGenesis initializes the epochs module's state from a provided genesis diff --git a/x/epochs/genesis_test.go b/x/epochs/genesis_test.go index f92bacfcac..25eb6f75cc 100644 --- a/x/epochs/genesis_test.go +++ b/x/epochs/genesis_test.go @@ -8,9 +8,9 @@ import ( tmproto "github.com/tendermint/tendermint/proto/tendermint/types" feemarkettypes "github.com/tharsis/ethermint/x/feemarket/types" - simapp "github.com/tharsis/evmos/v4/app" - "github.com/tharsis/evmos/v4/x/epochs" - "github.com/tharsis/evmos/v4/x/epochs/types" + simapp "github.com/tharsis/evmos/v5/app" + "github.com/tharsis/evmos/v5/x/epochs" + "github.com/tharsis/evmos/v5/x/epochs/types" ) func TestEpochsExportGenesis(t *testing.T) { diff --git a/x/epochs/keeper/abci.go b/x/epochs/keeper/abci.go index 7fe5aa4812..51bc096e58 100644 --- a/x/epochs/keeper/abci.go +++ b/x/epochs/keeper/abci.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/evmos/v4/x/epochs/types" + "github.com/tharsis/evmos/v5/x/epochs/types" ) // BeginBlocker of epochs module diff --git a/x/epochs/keeper/abci_test.go b/x/epochs/keeper/abci_test.go index 1918eaa458..202d3a6c44 100644 --- a/x/epochs/keeper/abci_test.go +++ b/x/epochs/keeper/abci_test.go @@ -4,8 +4,8 @@ import ( "fmt" "time" - "github.com/tharsis/evmos/v4/x/epochs" - "github.com/tharsis/evmos/v4/x/epochs/types" + "github.com/tharsis/evmos/v5/x/epochs" + "github.com/tharsis/evmos/v5/x/epochs/types" ) func (suite *KeeperTestSuite) TestEpochInfoChangesBeginBlockerAndInitGenesis() { diff --git a/x/epochs/keeper/epoch_infos.go b/x/epochs/keeper/epoch_infos.go index 9e23f52502..c07344a6d2 100644 --- a/x/epochs/keeper/epoch_infos.go +++ b/x/epochs/keeper/epoch_infos.go @@ -4,7 +4,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/evmos/v4/x/epochs/types" + "github.com/tharsis/evmos/v5/x/epochs/types" ) // GetEpochInfo returns epoch info by identifier diff --git a/x/epochs/keeper/epoch_infos_test.go b/x/epochs/keeper/epoch_infos_test.go index 56d922a126..b15f2430ed 100644 --- a/x/epochs/keeper/epoch_infos_test.go +++ b/x/epochs/keeper/epoch_infos_test.go @@ -3,7 +3,7 @@ package keeper_test import ( "time" - "github.com/tharsis/evmos/v4/x/epochs/types" + "github.com/tharsis/evmos/v5/x/epochs/types" ) func (suite *KeeperTestSuite) TestEpochLifeCycle() { diff --git a/x/epochs/keeper/grpc_query.go b/x/epochs/keeper/grpc_query.go index b22cc98ce1..5790908a1c 100644 --- a/x/epochs/keeper/grpc_query.go +++ b/x/epochs/keeper/grpc_query.go @@ -9,7 +9,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/tharsis/evmos/v4/x/epochs/types" + "github.com/tharsis/evmos/v5/x/epochs/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/epochs/keeper/grpc_query_test.go b/x/epochs/keeper/grpc_query_test.go index f0a883ec72..813a177f05 100644 --- a/x/epochs/keeper/grpc_query_test.go +++ b/x/epochs/keeper/grpc_query_test.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" - "github.com/tharsis/evmos/v4/x/epochs/types" + "github.com/tharsis/evmos/v5/x/epochs/types" ) func (suite *KeeperTestSuite) TestEpochInfo() { diff --git a/x/epochs/keeper/hooks.go b/x/epochs/keeper/hooks.go index 74d33f20b9..8339261595 100644 --- a/x/epochs/keeper/hooks.go +++ b/x/epochs/keeper/hooks.go @@ -2,7 +2,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/evmos/v4/x/epochs/types" + "github.com/tharsis/evmos/v5/x/epochs/types" ) var _ types.EpochHooks = MultiEpochHooks{} diff --git a/x/epochs/keeper/keeper.go b/x/epochs/keeper/keeper.go index e54d4f364b..343b00795c 100644 --- a/x/epochs/keeper/keeper.go +++ b/x/epochs/keeper/keeper.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/tendermint/tendermint/libs/log" - "github.com/tharsis/evmos/v4/x/epochs/types" + "github.com/tharsis/evmos/v5/x/epochs/types" ) // Keeper of this module maintains collections of epochs and hooks. diff --git a/x/epochs/keeper/keeper_test.go b/x/epochs/keeper/keeper_test.go index 85cb5fb4a6..1f13c4a22b 100644 --- a/x/epochs/keeper/keeper_test.go +++ b/x/epochs/keeper/keeper_test.go @@ -19,8 +19,8 @@ import ( evm "github.com/tharsis/ethermint/x/evm/types" - "github.com/tharsis/evmos/v4/app" - "github.com/tharsis/evmos/v4/x/epochs/types" + "github.com/tharsis/evmos/v5/app" + "github.com/tharsis/evmos/v5/x/epochs/types" ) var denomMint = evm.DefaultEVMDenom diff --git a/x/epochs/module.go b/x/epochs/module.go index 4b7123b73d..bc5ad35019 100644 --- a/x/epochs/module.go +++ b/x/epochs/module.go @@ -20,9 +20,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - "github.com/tharsis/evmos/v4/x/epochs/client/cli" - "github.com/tharsis/evmos/v4/x/epochs/keeper" - "github.com/tharsis/evmos/v4/x/epochs/types" + "github.com/tharsis/evmos/v5/x/epochs/client/cli" + "github.com/tharsis/evmos/v5/x/epochs/keeper" + "github.com/tharsis/evmos/v5/x/epochs/types" ) var ( diff --git a/x/epochs/types/genesis.pb.go b/x/epochs/types/genesis.pb.go index f08b8c44a1..4b439d44e6 100644 --- a/x/epochs/types/genesis.pb.go +++ b/x/epochs/types/genesis.pb.go @@ -173,36 +173,37 @@ func init() { func init() { proto.RegisterFile("evmos/epochs/v1/genesis.proto", fileDescriptor_c74bc0b3e7fa01c2) } var fileDescriptor_c74bc0b3e7fa01c2 = []byte{ - // 464 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x53, 0x31, 0x8f, 0xd3, 0x30, + // 465 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x53, 0xbf, 0x8f, 0xd3, 0x30, 0x18, 0xad, 0x69, 0x29, 0x57, 0x73, 0xe8, 0x84, 0x75, 0x40, 0xa8, 0x74, 0x49, 0x14, 0x96, 0x0a, - 0x90, 0xad, 0x72, 0x0c, 0x08, 0xb6, 0x72, 0x88, 0x63, 0x4d, 0x19, 0x10, 0x4b, 0x95, 0xb6, 0xae, - 0x63, 0xe9, 0x12, 0x47, 0xf1, 0x97, 0x8a, 0x6e, 0xcc, 0x4c, 0x37, 0xf2, 0x93, 0x6e, 0xbc, 0x91, - 0xa9, 0xa0, 0x76, 0x63, 0xbc, 0x5f, 0x80, 0x62, 0x27, 0xa5, 0x5c, 0x41, 0x6c, 0x89, 0xdf, 0xfb, - 0xde, 0xf3, 0x7b, 0xfa, 0x8c, 0x8f, 0xf8, 0x3c, 0x51, 0x9a, 0xf1, 0x4c, 0x4d, 0x62, 0xcd, 0xe6, - 0x7d, 0x26, 0x78, 0xca, 0xb5, 0xd4, 0x34, 0xcb, 0x15, 0x28, 0x72, 0x60, 0x60, 0x6a, 0x61, 0x3a, - 0xef, 0x77, 0x0f, 0x85, 0x12, 0xca, 0x60, 0xac, 0xfc, 0xb2, 0xb4, 0xae, 0x2b, 0x94, 0x12, 0x67, - 0x9c, 0x99, 0xbf, 0x71, 0x31, 0x63, 0xd3, 0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, 0x1c, 0xe5, + 0x5a, 0x6a, 0x66, 0x9f, 0xc2, 0xfc, 0x39, 0xfb, 0x54, 0xbf, 0x07, 0x58, 0x64, 0x5c, 0x8f, 0xdb, + 0xa6, 0xda, 0xa7, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0x93, 0x51, 0xc8, 0x46, 0x2c, 0x03, 0x00, + 0x00, } func (m *EpochInfo) Marshal() (dAtA []byte, err error) { diff --git a/x/epochs/types/query.pb.go b/x/epochs/types/query.pb.go index d35ad9fcfc..818c4cbf8b 100644 --- a/x/epochs/types/query.pb.go +++ b/x/epochs/types/query.pb.go @@ -227,32 +227,32 @@ var fileDescriptor_d13f5778acd937ff = []byte{ // 452 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x4f, 0x6b, 0x13, 0x41, 0x18, 0xc6, 0x33, 0xa9, 0x16, 0x9c, 0x56, 0x84, 0x41, 0x6c, 0xba, 0xea, 0x34, 0x44, 0x68, 0x63, - 0x0e, 0x33, 0x24, 0xbd, 0x88, 0x27, 0xa9, 0xff, 0xf0, 0xa6, 0x7b, 0xf4, 0xa2, 0x93, 0xf5, 0xed, + 0x0e, 0x33, 0x24, 0x22, 0x88, 0x27, 0xa9, 0xff, 0xf0, 0xa6, 0x7b, 0xf4, 0xa2, 0x93, 0xf5, 0xed, 0x64, 0xc0, 0xce, 0x6c, 0x77, 0x26, 0x8b, 0xbd, 0x89, 0x77, 0x41, 0xf0, 0x26, 0x7e, 0xa0, 0x1e, 0x0b, 0x5e, 0x3c, 0x89, 0x24, 0x7e, 0x10, 0xd9, 0x99, 0xa9, 0x6e, 0x92, 0x85, 0xf6, 0x16, 0xf6, - 0x7d, 0xde, 0xe7, 0xf9, 0xbd, 0x4f, 0x06, 0xdf, 0x86, 0xf2, 0xc8, 0x58, 0x0e, 0xb9, 0xc9, 0x26, - 0x96, 0x97, 0x43, 0x7e,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x24, 0x62, 0xa7, 0x9f, 0x11, 0xde, 0xac, 0x9f, 0x42, 0xee, 0x36, 0x7b, + 0x37, 0x54, 0x95, 0x0c, 0x2e, 0x22, 0x8d, 0x20, 0xbb, 0x1e, 0xa4, 0x4b, 0xe8, 0x0a, 0xc8, 0x42, + 0x61, 0xfb, 0x4f, 0x4e, 0x66, 0x14, 0x9d, 0xce, 0x28, 0xfa, 0x3d, 0xa3, 0xe8, 0xcb, 0x9c, 0xb6, + 0x4e, 0xe7, 0xb4, 0xf5, 0x73, 0x4e, 0x5b, 0xaf, 0x07, 0x52, 0xb9, 0xc9, 0x74, 0xcc, 0x32, 0x73, + 0xc8, 0xdd, 0x44, 0x14, 0x56, 0xd9, 0xe8, 0x55, 0xde, 0xe7, 0x1f, 0xce, 0x0c, 0xdd, 0x71, 0x0e, + 0x76, 0xbc, 0xee, 0x1f, 0xfa, 0xbd, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x6f, 0x6d, 0xa8, 0x6d, 0x97, 0x03, 0x00, 0x00, } diff --git a/x/epochs/types/query.pb.gw.go b/x/epochs/types/query.pb.gw.go index c05ae95362..c49e8ad4d7 100644 --- a/x/epochs/types/query.pb.gw.go +++ b/x/epochs/types/query.pb.gw.go @@ -20,7 +20,6 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" - "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" ) @@ -31,7 +30,6 @@ var _ status.Status var _ = runtime.String var _ = utilities.NewDoubleArray var _ = descriptor.ForMessage -var _ = metadata.Join var ( filter_Query_EpochInfos_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} @@ -108,14 +106,12 @@ func local_request_Query_CurrentEpoch_0(ctx context.Context, marshaler runtime.M // RegisterQueryHandlerServer registers the http handlers for service Query to "mux". // UnaryRPC :call QueryServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead. +// Note that using this registration option will cause many gRPC library features (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead. func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error { mux.Handle("GET", pattern_Query_EpochInfos_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) if err != nil { @@ -123,7 +119,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } resp, md, err := local_request_Query_EpochInfos_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) @@ -137,8 +132,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv mux.Handle("GET", pattern_Query_CurrentEpoch_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) if err != nil { @@ -146,7 +139,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } resp, md, err := local_request_Query_CurrentEpoch_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) diff --git a/x/erc20/client/cli/query.go b/x/erc20/client/cli/query.go index d5580362d2..cc1e9d1baf 100644 --- a/x/erc20/client/cli/query.go +++ b/x/erc20/client/cli/query.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/tharsis/evmos/v4/x/erc20/types" + "github.com/tharsis/evmos/v5/x/erc20/types" ) // GetQueryCmd returns the parent command for all erc20 CLI query commands diff --git a/x/erc20/client/cli/tx.go b/x/erc20/client/cli/tx.go index 1a38c309a1..d33b63d76f 100644 --- a/x/erc20/client/cli/tx.go +++ b/x/erc20/client/cli/tx.go @@ -17,7 +17,7 @@ import ( ethermint "github.com/tharsis/ethermint/types" - "github.com/tharsis/evmos/v4/x/erc20/types" + "github.com/tharsis/evmos/v5/x/erc20/types" ) // NewTxCmd returns a root CLI command handler for erc20 transaction commands diff --git a/x/erc20/client/proposal_handler.go b/x/erc20/client/proposal_handler.go index c300741c8d..ccd5bd90d1 100644 --- a/x/erc20/client/proposal_handler.go +++ b/x/erc20/client/proposal_handler.go @@ -3,8 +3,8 @@ package client import ( govclient "github.com/cosmos/cosmos-sdk/x/gov/client" - "github.com/tharsis/evmos/v4/x/erc20/client/cli" - "github.com/tharsis/evmos/v4/x/erc20/client/rest" + "github.com/tharsis/evmos/v5/x/erc20/client/cli" + "github.com/tharsis/evmos/v5/x/erc20/client/rest" ) var ( diff --git a/x/erc20/client/rest/rest.go b/x/erc20/client/rest/rest.go index 6a3942bc92..99ee896ca5 100644 --- a/x/erc20/client/rest/rest.go +++ b/x/erc20/client/rest/rest.go @@ -11,7 +11,7 @@ import ( govrest "github.com/cosmos/cosmos-sdk/x/gov/client/rest" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/tharsis/evmos/v4/x/erc20/types" + "github.com/tharsis/evmos/v5/x/erc20/types" ) // RegisterCoinProposalRequest defines a request for a new register coin proposal. diff --git a/x/erc20/genesis.go b/x/erc20/genesis.go index 6dcb0f2052..79847d3ff8 100644 --- a/x/erc20/genesis.go +++ b/x/erc20/genesis.go @@ -4,8 +4,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" - "github.com/tharsis/evmos/v4/x/erc20/keeper" - "github.com/tharsis/evmos/v4/x/erc20/types" + "github.com/tharsis/evmos/v5/x/erc20/keeper" + "github.com/tharsis/evmos/v5/x/erc20/types" ) // InitGenesis import module genesis diff --git a/x/erc20/genesis_test.go b/x/erc20/genesis_test.go index b5043d4692..979f3eb5e4 100644 --- a/x/erc20/genesis_test.go +++ b/x/erc20/genesis_test.go @@ -16,9 +16,9 @@ import ( "github.com/tharsis/ethermint/tests" feemarkettypes "github.com/tharsis/ethermint/x/feemarket/types" - "github.com/tharsis/evmos/v4/app" - "github.com/tharsis/evmos/v4/x/erc20" - "github.com/tharsis/evmos/v4/x/erc20/types" + "github.com/tharsis/evmos/v5/app" + "github.com/tharsis/evmos/v5/x/erc20" + "github.com/tharsis/evmos/v5/x/erc20/types" ) type GenesisTestSuite struct { diff --git a/x/erc20/handler.go b/x/erc20/handler.go index 1dafd35f7f..cb18fe1a78 100644 --- a/x/erc20/handler.go +++ b/x/erc20/handler.go @@ -4,7 +4,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/tharsis/evmos/v4/x/erc20/types" + "github.com/tharsis/evmos/v5/x/erc20/types" ) // NewHandler defines the erc20 module handler instance diff --git a/x/erc20/keeper/evm.go b/x/erc20/keeper/evm.go index df3088c85c..e83f208915 100644 --- a/x/erc20/keeper/evm.go +++ b/x/erc20/keeper/evm.go @@ -15,8 +15,8 @@ import ( "github.com/tharsis/ethermint/server/config" evmtypes "github.com/tharsis/ethermint/x/evm/types" - "github.com/tharsis/evmos/v4/contracts" - "github.com/tharsis/evmos/v4/x/erc20/types" + "github.com/tharsis/evmos/v5/contracts" + "github.com/tharsis/evmos/v5/x/erc20/types" ) // DeployERC20Contract creates and deploys an ERC20 contract on the EVM with the diff --git a/x/erc20/keeper/evm_hooks.go b/x/erc20/keeper/evm_hooks.go index 6ae9eb6ec6..83ff68397b 100644 --- a/x/erc20/keeper/evm_hooks.go +++ b/x/erc20/keeper/evm_hooks.go @@ -11,8 +11,8 @@ import ( ethtypes "github.com/ethereum/go-ethereum/core/types" evmtypes "github.com/tharsis/ethermint/x/evm/types" - "github.com/tharsis/evmos/v4/contracts" - "github.com/tharsis/evmos/v4/x/erc20/types" + "github.com/tharsis/evmos/v5/contracts" + "github.com/tharsis/evmos/v5/x/erc20/types" ) var _ evmtypes.EvmHooks = Hooks{} diff --git a/x/erc20/keeper/evm_hooks_test.go b/x/erc20/keeper/evm_hooks_test.go index c00e3b3d84..2d4877cb76 100644 --- a/x/erc20/keeper/evm_hooks_test.go +++ b/x/erc20/keeper/evm_hooks_test.go @@ -9,8 +9,8 @@ import ( ethtypes "github.com/ethereum/go-ethereum/core/types" "github.com/tharsis/ethermint/tests" - "github.com/tharsis/evmos/v4/contracts" - "github.com/tharsis/evmos/v4/x/erc20/types" + "github.com/tharsis/evmos/v5/contracts" + "github.com/tharsis/evmos/v5/x/erc20/types" ) // ensureHooksSet tries to set the hooks on EVMKeeper, this will fail if the erc20 hook is already set diff --git a/x/erc20/keeper/evm_test.go b/x/erc20/keeper/evm_test.go index f92128a657..ececde2f6a 100644 --- a/x/erc20/keeper/evm_test.go +++ b/x/erc20/keeper/evm_test.go @@ -8,9 +8,9 @@ import ( "github.com/tharsis/ethermint/tests" evmtypes "github.com/tharsis/ethermint/x/evm/types" - "github.com/tharsis/evmos/v4/contracts" - "github.com/tharsis/evmos/v4/x/erc20/keeper" - "github.com/tharsis/evmos/v4/x/erc20/types" + "github.com/tharsis/evmos/v5/contracts" + "github.com/tharsis/evmos/v5/x/erc20/keeper" + "github.com/tharsis/evmos/v5/x/erc20/types" ) func (suite *KeeperTestSuite) TestQueryERC20() { @@ -243,7 +243,6 @@ func (suite *KeeperTestSuite) TestForceFail() { commit bool expPass bool }{ - { "Force estimate gas error", func() { diff --git a/x/erc20/keeper/grpc_query.go b/x/erc20/keeper/grpc_query.go index 0097e097fd..be8fb8bdfa 100644 --- a/x/erc20/keeper/grpc_query.go +++ b/x/erc20/keeper/grpc_query.go @@ -11,7 +11,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/query" ethermint "github.com/tharsis/ethermint/types" - "github.com/tharsis/evmos/v4/x/erc20/types" + "github.com/tharsis/evmos/v5/x/erc20/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/erc20/keeper/grpc_query_test.go b/x/erc20/keeper/grpc_query_test.go index 4ce952019a..10c964d705 100644 --- a/x/erc20/keeper/grpc_query_test.go +++ b/x/erc20/keeper/grpc_query_test.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/query" "github.com/tharsis/ethermint/tests" - "github.com/tharsis/evmos/v4/x/erc20/types" + "github.com/tharsis/evmos/v5/x/erc20/types" ) func (suite *KeeperTestSuite) TestTokenPairs() { diff --git a/x/erc20/keeper/integration_test.go b/x/erc20/keeper/integration_test.go index 6935ec18df..97dd010c96 100644 --- a/x/erc20/keeper/integration_test.go +++ b/x/erc20/keeper/integration_test.go @@ -11,9 +11,9 @@ import ( . "github.com/onsi/gomega" "github.com/tharsis/ethermint/crypto/ethsecp256k1" "github.com/tharsis/ethermint/encoding" - "github.com/tharsis/evmos/v4/app" - "github.com/tharsis/evmos/v4/testutil" - "github.com/tharsis/evmos/v4/x/erc20/types" + "github.com/tharsis/evmos/v5/app" + "github.com/tharsis/evmos/v5/testutil" + "github.com/tharsis/evmos/v5/x/erc20/types" authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" abci "github.com/tendermint/tendermint/abci/types" diff --git a/x/erc20/keeper/keeper.go b/x/erc20/keeper/keeper.go index 330541a889..434f1b7488 100644 --- a/x/erc20/keeper/keeper.go +++ b/x/erc20/keeper/keeper.go @@ -8,7 +8,7 @@ import ( paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" "github.com/tendermint/tendermint/libs/log" - "github.com/tharsis/evmos/v4/x/erc20/types" + "github.com/tharsis/evmos/v5/x/erc20/types" ) // Keeper of this module maintains collections of erc20. diff --git a/x/erc20/keeper/keeper_test.go b/x/erc20/keeper/keeper_test.go index d9f3033787..4a80355472 100644 --- a/x/erc20/keeper/keeper_test.go +++ b/x/erc20/keeper/keeper_test.go @@ -46,9 +46,9 @@ import ( evmtypes "github.com/tharsis/ethermint/x/evm/types" feemarkettypes "github.com/tharsis/ethermint/x/feemarket/types" - "github.com/tharsis/evmos/v4/app" - "github.com/tharsis/evmos/v4/contracts" - "github.com/tharsis/evmos/v4/x/erc20/types" + "github.com/tharsis/evmos/v5/app" + "github.com/tharsis/evmos/v5/contracts" + "github.com/tharsis/evmos/v5/x/erc20/types" ) type KeeperTestSuite struct { @@ -533,7 +533,6 @@ func (b *MockBankKeeper) GetDenomMetaData(ctx sdk.Context, denom string) (bankty } func (b *MockBankKeeper) SetDenomMetaData(ctx sdk.Context, denomMetaData banktypes.Metadata) { - } func (b *MockBankKeeper) HasSupply(ctx sdk.Context, denom string) bool { diff --git a/x/erc20/keeper/migrations.go b/x/erc20/keeper/migrations.go index 605d9d53a7..4596aa7167 100644 --- a/x/erc20/keeper/migrations.go +++ b/x/erc20/keeper/migrations.go @@ -4,7 +4,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" - v2 "github.com/tharsis/evmos/v4/x/erc20/migrations/v2" + v2 "github.com/tharsis/evmos/v5/x/erc20/migrations/v2" ) var _ module.MigrationHandler = Migrator{}.Migrate1to2 diff --git a/x/erc20/keeper/mint.go b/x/erc20/keeper/mint.go index 2c70cbd1bf..bd0cb5b4db 100644 --- a/x/erc20/keeper/mint.go +++ b/x/erc20/keeper/mint.go @@ -5,7 +5,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/tharsis/evmos/v4/x/erc20/types" + "github.com/tharsis/evmos/v5/x/erc20/types" ) // MintingEnabled checks that: diff --git a/x/erc20/keeper/mint_test.go b/x/erc20/keeper/mint_test.go index 8eade8d0a7..37cbb335d8 100644 --- a/x/erc20/keeper/mint_test.go +++ b/x/erc20/keeper/mint_test.go @@ -7,7 +7,7 @@ import ( banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/tharsis/ethermint/tests" - "github.com/tharsis/evmos/v4/x/erc20/types" + "github.com/tharsis/evmos/v5/x/erc20/types" ) func (suite *KeeperTestSuite) TestMintingEnabled() { diff --git a/x/erc20/keeper/msg_server.go b/x/erc20/keeper/msg_server.go index c6ab0a4ea4..1f9bebc7fc 100644 --- a/x/erc20/keeper/msg_server.go +++ b/x/erc20/keeper/msg_server.go @@ -10,8 +10,8 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/ethereum/go-ethereum/common" - "github.com/tharsis/evmos/v4/contracts" - "github.com/tharsis/evmos/v4/x/erc20/types" + "github.com/tharsis/evmos/v5/contracts" + "github.com/tharsis/evmos/v5/x/erc20/types" ) var _ types.MsgServer = &Keeper{} diff --git a/x/erc20/keeper/msg_server_test.go b/x/erc20/keeper/msg_server_test.go index 5df521d1f6..de35dac408 100644 --- a/x/erc20/keeper/msg_server_test.go +++ b/x/erc20/keeper/msg_server_test.go @@ -11,8 +11,8 @@ import ( "github.com/tharsis/ethermint/x/evm/statedb" evmtypes "github.com/tharsis/ethermint/x/evm/types" - "github.com/tharsis/evmos/v4/x/erc20/keeper" - "github.com/tharsis/evmos/v4/x/erc20/types" + "github.com/tharsis/evmos/v5/x/erc20/keeper" + "github.com/tharsis/evmos/v5/x/erc20/types" ) func (suite *KeeperTestSuite) TestConvertCoinNativeCoin() { @@ -79,13 +79,15 @@ func (suite *KeeperTestSuite) TestConvertCoinNativeCoin() { false, false, }, - {"fail - deleted module account - force fail", 100, 10, func(common.Address) {}, + { + "fail - deleted module account - force fail", 100, 10, func(common.Address) {}, func() { acc := suite.app.AccountKeeper.GetAccount(suite.ctx, types.ModuleAddress.Bytes()) suite.app.AccountKeeper.RemoveAccount(suite.ctx, acc) }, false, false, }, - {"fail - force evm fail", 100, 10, func(common.Address) {}, + { + "fail - force evm fail", 100, 10, func(common.Address) {}, func() { mockEVMKeeper := &MockEVMKeeper{} sp, found := suite.app.ParamsKeeper.GetSubspace(types.ModuleName) @@ -100,7 +102,8 @@ func (suite *KeeperTestSuite) TestConvertCoinNativeCoin() { mockEVMKeeper.On("GetAccountWithoutBalance", mock.Anything, mock.Anything).Return(existingAcc, nil) }, false, false, }, - {"fail - force evm balance error", 100, 10, func(common.Address) {}, + { + "fail - force evm balance error", 100, 10, func(common.Address) {}, func() { mockEVMKeeper := &MockEVMKeeper{} sp, found := suite.app.ParamsKeeper.GetSubspace(types.ModuleName) @@ -116,12 +119,13 @@ func (suite *KeeperTestSuite) TestConvertCoinNativeCoin() { mockEVMKeeper.On("ApplyMessage", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(&evmtypes.MsgEthereumTxResponse{}, nil).Once() // second balance of mockEVMKeeper.On("ApplyMessage", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(&evmtypes.MsgEthereumTxResponse{}, fmt.Errorf("third")).Once() - //Extra call on test + // Extra call on test mockEVMKeeper.On("ApplyMessage", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(&evmtypes.MsgEthereumTxResponse{}, nil) mockEVMKeeper.On("GetAccountWithoutBalance", mock.Anything, mock.Anything).Return(existingAcc, nil) }, false, false, }, - {"fail - force balance error", 100, 10, func(common.Address) {}, + { + "fail - force balance error", 100, 10, func(common.Address) {}, func() { mockEVMKeeper := &MockEVMKeeper{} sp, found := suite.app.ParamsKeeper.GetSubspace(types.ModuleName) @@ -205,14 +209,16 @@ func (suite *KeeperTestSuite) TestConvertERC20NativeCoin() { {"ok - equal funds", 10, 10, 10, func() {}, true}, {"fail - insufficient funds", 10, 1, 5, func() {}, false}, {"fail ", 10, 1, -5, func() {}, false}, - {"fail - deleted module account - force fail", 100, 10, 5, + { + "fail - deleted module account - force fail", 100, 10, 5, func() { acc := suite.app.AccountKeeper.GetAccount(suite.ctx, types.ModuleAddress.Bytes()) suite.app.AccountKeeper.RemoveAccount(suite.ctx, acc) }, false, }, - {"fail - force evm fail", 100, 10, 5, + { + "fail - force evm fail", 100, 10, 5, func() { mockEVMKeeper := &MockEVMKeeper{} sp, found := suite.app.ParamsKeeper.GetSubspace(types.ModuleName) @@ -228,7 +234,8 @@ func (suite *KeeperTestSuite) TestConvertERC20NativeCoin() { }, false, }, - {"fail - force fail second balance", 100, 10, 5, + { + "fail - force fail second balance", 100, 10, 5, func() { mockEVMKeeper := &MockEVMKeeper{} sp, found := suite.app.ParamsKeeper.GetSubspace(types.ModuleName) @@ -244,13 +251,14 @@ func (suite *KeeperTestSuite) TestConvertERC20NativeCoin() { mockEVMKeeper.On("ApplyMessage", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(&evmtypes.MsgEthereumTxResponse{}, nil).Once() // second balance of mockEVMKeeper.On("ApplyMessage", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(&evmtypes.MsgEthereumTxResponse{}, fmt.Errorf("third")).Once() - //Extra call on test + // Extra call on test mockEVMKeeper.On("ApplyMessage", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(&evmtypes.MsgEthereumTxResponse{}, nil) mockEVMKeeper.On("GetAccountWithoutBalance", mock.Anything, mock.Anything).Return(existingAcc, nil) }, false, }, - {"fail - force fail second balance", 100, 10, 5, + { + "fail - force fail second balance", 100, 10, 5, func() { mockEVMKeeper := &MockEVMKeeper{} sp, found := suite.app.ParamsKeeper.GetSubspace(types.ModuleName) @@ -266,13 +274,14 @@ func (suite *KeeperTestSuite) TestConvertERC20NativeCoin() { mockEVMKeeper.On("ApplyMessage", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(&evmtypes.MsgEthereumTxResponse{}, nil).Once() // second balance of mockEVMKeeper.On("ApplyMessage", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(&evmtypes.MsgEthereumTxResponse{Ret: balance}, nil).Once() - //Extra call on test + // Extra call on test mockEVMKeeper.On("ApplyMessage", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(&evmtypes.MsgEthereumTxResponse{}, nil) mockEVMKeeper.On("GetAccountWithoutBalance", mock.Anything, mock.Anything).Return(existingAcc, nil) }, false, }, - {"fail - force fail unescrow", 100, 10, 5, + { + "fail - force fail unescrow", 100, 10, 5, func() { mockBankKeeper := &MockBankKeeper{} sp, found := suite.app.ParamsKeeper.GetSubspace(types.ModuleName) @@ -285,7 +294,8 @@ func (suite *KeeperTestSuite) TestConvertERC20NativeCoin() { }, false, }, - {"fail - force fail balance after transfer", 100, 10, 5, + { + "fail - force fail balance after transfer", 100, 10, 5, func() { mockBankKeeper := &MockBankKeeper{} sp, found := suite.app.ParamsKeeper.GetSubspace(types.ModuleName) @@ -474,7 +484,6 @@ func (suite *KeeperTestSuite) TestConvertERC20NativeERC20() { 100, 10, func(common.Address) { - }, func() { acc := suite.app.AccountKeeper.GetAccount(suite.ctx, types.ModuleAddress.Bytes()) @@ -589,7 +598,6 @@ func (suite *KeeperTestSuite) TestConvertERC20NativeERC20() { mockBankKeeper.On("SendCoinsFromModuleToAccount", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(fmt.Errorf("failed to unescrow")) mockBankKeeper.On("BlockedAddr", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(false) mockBankKeeper.On("GetBalance", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(sdk.Coin{Denom: "coin", Amount: sdk.OneInt()}) - }, contractMinterBurner, false, @@ -610,7 +618,6 @@ func (suite *KeeperTestSuite) TestConvertERC20NativeERC20() { mockBankKeeper.On("SendCoinsFromModuleToAccount", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(fmt.Errorf("failed to unescrow")) mockBankKeeper.On("BlockedAddr", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(false) mockBankKeeper.On("GetBalance", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(sdk.Coin{Denom: "coin", Amount: sdk.OneInt()}) - }, contractMinterBurner, false, @@ -631,7 +638,6 @@ func (suite *KeeperTestSuite) TestConvertERC20NativeERC20() { mockBankKeeper.On("SendCoinsFromModuleToAccount", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(nil) mockBankKeeper.On("BlockedAddr", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(false) mockBankKeeper.On("GetBalance", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(sdk.Coin{Denom: coinName, Amount: sdk.NewInt(int64(10))}) - }, contractMinterBurner, false, @@ -1023,13 +1029,15 @@ func (suite *KeeperTestSuite) TestConvertCoinNativeIBCVoucher() { false, false, }, - {"fail - deleted module account - force fail", 100, 10, func(common.Address) {}, + { + "fail - deleted module account - force fail", 100, 10, func(common.Address) {}, func() { acc := suite.app.AccountKeeper.GetAccount(suite.ctx, types.ModuleAddress.Bytes()) suite.app.AccountKeeper.RemoveAccount(suite.ctx, acc) }, false, false, }, - {"fail - force evm fail", 100, 10, func(common.Address) {}, + { + "fail - force evm fail", 100, 10, func(common.Address) {}, func() { mockEVMKeeper := &MockEVMKeeper{} sp, found := suite.app.ParamsKeeper.GetSubspace(types.ModuleName) @@ -1044,7 +1052,8 @@ func (suite *KeeperTestSuite) TestConvertCoinNativeIBCVoucher() { mockEVMKeeper.On("GetAccountWithoutBalance", mock.Anything, mock.Anything).Return(existingAcc, nil) }, false, false, }, - {"fail - force evm balance error", 100, 10, func(common.Address) {}, + { + "fail - force evm balance error", 100, 10, func(common.Address) {}, func() { mockEVMKeeper := &MockEVMKeeper{} sp, found := suite.app.ParamsKeeper.GetSubspace(types.ModuleName) @@ -1060,12 +1069,13 @@ func (suite *KeeperTestSuite) TestConvertCoinNativeIBCVoucher() { mockEVMKeeper.On("ApplyMessage", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(&evmtypes.MsgEthereumTxResponse{}, nil).Once() // second balance of mockEVMKeeper.On("ApplyMessage", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(&evmtypes.MsgEthereumTxResponse{}, fmt.Errorf("third")).Once() - //Extra call on test + // Extra call on test mockEVMKeeper.On("ApplyMessage", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(&evmtypes.MsgEthereumTxResponse{}, nil) mockEVMKeeper.On("GetAccountWithoutBalance", mock.Anything, mock.Anything).Return(existingAcc, nil) }, false, false, }, - {"fail - force balance error", 100, 10, func(common.Address) {}, + { + "fail - force balance error", 100, 10, func(common.Address) {}, func() { mockEVMKeeper := &MockEVMKeeper{} sp, found := suite.app.ParamsKeeper.GetSubspace(types.ModuleName) @@ -1149,14 +1159,16 @@ func (suite *KeeperTestSuite) TestConvertERC20NativeIBCVoucher() { {"ok - equal funds", 10, 10, 10, func() {}, true}, {"fail - insufficient funds", 10, 1, 5, func() {}, false}, {"fail ", 10, 1, -5, func() {}, false}, - {"fail - deleted module account - force fail", 100, 10, 5, + { + "fail - deleted module account - force fail", 100, 10, 5, func() { acc := suite.app.AccountKeeper.GetAccount(suite.ctx, types.ModuleAddress.Bytes()) suite.app.AccountKeeper.RemoveAccount(suite.ctx, acc) }, false, }, - {"fail - force evm fail", 100, 10, 5, + { + "fail - force evm fail", 100, 10, 5, func() { mockEVMKeeper := &MockEVMKeeper{} sp, found := suite.app.ParamsKeeper.GetSubspace(types.ModuleName) @@ -1172,7 +1184,8 @@ func (suite *KeeperTestSuite) TestConvertERC20NativeIBCVoucher() { }, false, }, - {"fail - force fail second balance", 100, 10, 5, + { + "fail - force fail second balance", 100, 10, 5, func() { mockEVMKeeper := &MockEVMKeeper{} sp, found := suite.app.ParamsKeeper.GetSubspace(types.ModuleName) @@ -1188,13 +1201,14 @@ func (suite *KeeperTestSuite) TestConvertERC20NativeIBCVoucher() { mockEVMKeeper.On("ApplyMessage", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(&evmtypes.MsgEthereumTxResponse{}, nil).Once() // second balance of mockEVMKeeper.On("ApplyMessage", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(&evmtypes.MsgEthereumTxResponse{}, fmt.Errorf("third")).Once() - //Extra call on test + // Extra call on test mockEVMKeeper.On("ApplyMessage", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(&evmtypes.MsgEthereumTxResponse{}, nil) mockEVMKeeper.On("GetAccountWithoutBalance", mock.Anything, mock.Anything).Return(existingAcc, nil) }, false, }, - {"fail - force fail second balance", 100, 10, 5, + { + "fail - force fail second balance", 100, 10, 5, func() { mockEVMKeeper := &MockEVMKeeper{} sp, found := suite.app.ParamsKeeper.GetSubspace(types.ModuleName) @@ -1210,13 +1224,14 @@ func (suite *KeeperTestSuite) TestConvertERC20NativeIBCVoucher() { mockEVMKeeper.On("ApplyMessage", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(&evmtypes.MsgEthereumTxResponse{}, nil).Once() // second balance of mockEVMKeeper.On("ApplyMessage", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(&evmtypes.MsgEthereumTxResponse{Ret: balance}, nil).Once() - //Extra call on test + // Extra call on test mockEVMKeeper.On("ApplyMessage", mock.Anything, mock.Anything, mock.Anything, mock.Anything).Return(&evmtypes.MsgEthereumTxResponse{}, nil) mockEVMKeeper.On("GetAccountWithoutBalance", mock.Anything, mock.Anything).Return(existingAcc, nil) }, false, }, - {"fail - force fail unescrow", 100, 10, 5, + { + "fail - force fail unescrow", 100, 10, 5, func() { mockBankKeeper := &MockBankKeeper{} sp, found := suite.app.ParamsKeeper.GetSubspace(types.ModuleName) @@ -1229,7 +1244,8 @@ func (suite *KeeperTestSuite) TestConvertERC20NativeIBCVoucher() { }, false, }, - {"fail - force fail balance after transfer", 100, 10, 5, + { + "fail - force fail balance after transfer", 100, 10, 5, func() { mockBankKeeper := &MockBankKeeper{} sp, found := suite.app.ParamsKeeper.GetSubspace(types.ModuleName) diff --git a/x/erc20/keeper/params.go b/x/erc20/keeper/params.go index 0a1e007296..0adc1e51f3 100644 --- a/x/erc20/keeper/params.go +++ b/x/erc20/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/evmos/v4/x/erc20/types" + "github.com/tharsis/evmos/v5/x/erc20/types" ) // GetParams returns the total set of erc20 parameters. diff --git a/x/erc20/keeper/params_test.go b/x/erc20/keeper/params_test.go index e460070180..dac438309e 100644 --- a/x/erc20/keeper/params_test.go +++ b/x/erc20/keeper/params_test.go @@ -1,6 +1,6 @@ package keeper_test -import "github.com/tharsis/evmos/v4/x/erc20/types" +import "github.com/tharsis/evmos/v5/x/erc20/types" func (suite *KeeperTestSuite) TestParams() { params := suite.app.Erc20Keeper.GetParams(suite.ctx) diff --git a/x/erc20/keeper/proposals.go b/x/erc20/keeper/proposals.go index 08bf6cb5ef..4ebc9cc825 100644 --- a/x/erc20/keeper/proposals.go +++ b/x/erc20/keeper/proposals.go @@ -8,7 +8,7 @@ import ( banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/ethereum/go-ethereum/common" - "github.com/tharsis/evmos/v4/x/erc20/types" + "github.com/tharsis/evmos/v5/x/erc20/types" ) // RegisterCoin deploys an erc20 contract and creates the token pair for the diff --git a/x/erc20/keeper/proposals_test.go b/x/erc20/keeper/proposals_test.go index dc2cca47e2..b7d9760d77 100644 --- a/x/erc20/keeper/proposals_test.go +++ b/x/erc20/keeper/proposals_test.go @@ -12,9 +12,9 @@ import ( "github.com/tharsis/ethermint/tests" evmtypes "github.com/tharsis/ethermint/x/evm/types" - "github.com/tharsis/evmos/v4/x/erc20/keeper" - "github.com/tharsis/evmos/v4/x/erc20/types" - inflationtypes "github.com/tharsis/evmos/v4/x/inflation/types" + "github.com/tharsis/evmos/v5/x/erc20/keeper" + "github.com/tharsis/evmos/v5/x/erc20/types" + inflationtypes "github.com/tharsis/evmos/v5/x/inflation/types" ) const ( diff --git a/x/erc20/keeper/token_pairs.go b/x/erc20/keeper/token_pairs.go index 38fcebc963..a7472f5112 100644 --- a/x/erc20/keeper/token_pairs.go +++ b/x/erc20/keeper/token_pairs.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" - "github.com/tharsis/evmos/v4/x/erc20/types" + "github.com/tharsis/evmos/v5/x/erc20/types" ) // GetTokenPairs - get all registered token tokenPairs diff --git a/x/erc20/keeper/token_pairs_test.go b/x/erc20/keeper/token_pairs_test.go index 115837b9fb..f5eb2e45d1 100644 --- a/x/erc20/keeper/token_pairs_test.go +++ b/x/erc20/keeper/token_pairs_test.go @@ -7,7 +7,7 @@ import ( "github.com/tharsis/ethermint/tests" evmtypes "github.com/tharsis/ethermint/x/evm/types" - "github.com/tharsis/evmos/v4/x/erc20/types" + "github.com/tharsis/evmos/v5/x/erc20/types" ) func (suite *KeeperTestSuite) TestGetTokenPairs() { diff --git a/x/erc20/migrations/v2/migration.go b/x/erc20/migrations/v2/migration.go index dff4bc6e33..e9c43d963b 100644 --- a/x/erc20/migrations/v2/migration.go +++ b/x/erc20/migrations/v2/migration.go @@ -4,7 +4,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/tharsis/evmos/v4/x/erc20/types" + "github.com/tharsis/evmos/v5/x/erc20/types" ) // UpdateParams updates the module parameters EnableERC20 and EnableEMVHook diff --git a/x/erc20/migrations/v2/migration_test.go b/x/erc20/migrations/v2/migration_test.go index 0f9856329e..4627c642de 100644 --- a/x/erc20/migrations/v2/migration_test.go +++ b/x/erc20/migrations/v2/migration_test.go @@ -12,9 +12,9 @@ import ( "github.com/tharsis/ethermint/encoding" - "github.com/tharsis/evmos/v4/app" - v2 "github.com/tharsis/evmos/v4/x/erc20/migrations/v2" - erc20types "github.com/tharsis/evmos/v4/x/erc20/types" + "github.com/tharsis/evmos/v5/app" + v2 "github.com/tharsis/evmos/v5/x/erc20/migrations/v2" + erc20types "github.com/tharsis/evmos/v5/x/erc20/types" ) func TestUpdateParams(t *testing.T) { diff --git a/x/erc20/module.go b/x/erc20/module.go index 38f548f187..2de2451f9d 100644 --- a/x/erc20/module.go +++ b/x/erc20/module.go @@ -18,9 +18,9 @@ import ( "github.com/spf13/cobra" abci "github.com/tendermint/tendermint/abci/types" - "github.com/tharsis/evmos/v4/x/erc20/client/cli" - "github.com/tharsis/evmos/v4/x/erc20/keeper" - "github.com/tharsis/evmos/v4/x/erc20/types" + "github.com/tharsis/evmos/v5/x/erc20/client/cli" + "github.com/tharsis/evmos/v5/x/erc20/keeper" + "github.com/tharsis/evmos/v5/x/erc20/types" ) // type check to ensure the interface is properly implemented diff --git a/x/erc20/proposal_handler.go b/x/erc20/proposal_handler.go index 90cf98a75c..cad80b30f4 100644 --- a/x/erc20/proposal_handler.go +++ b/x/erc20/proposal_handler.go @@ -6,8 +6,8 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/ethereum/go-ethereum/common" - "github.com/tharsis/evmos/v4/x/erc20/keeper" - "github.com/tharsis/evmos/v4/x/erc20/types" + "github.com/tharsis/evmos/v5/x/erc20/keeper" + "github.com/tharsis/evmos/v5/x/erc20/types" ) // NewErc20ProposalHandler creates a governance handler to manage new proposal types. diff --git a/x/erc20/types/erc20.pb.go b/x/erc20/types/erc20.pb.go index 07c8e73a35..938968c4e6 100644 --- a/x/erc20/types/erc20.pb.go +++ b/x/erc20/types/erc20.pb.go @@ -337,38 +337,38 @@ func init() { func init() { proto.RegisterFile("evmos/erc20/v1/erc20.proto", fileDescriptor_668d5dc537f45142) } var fileDescriptor_668d5dc537f45142 = []byte{ - // 485 bytes of a gzipped FileDescriptorProto + // 486 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b,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, 0x9f, 0xfb, 0x9f, 0xcb, 0xe7, 0xa0, 0xaf, + 0xe6, 0x4c, 0xc5, 0x0f, 0xcc, 0x6f, 0xfc, 0xec, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x87, 0x76, + 0x55, 0xc9, 0x2a, 0x03, 0x00, 0x00, } func (this *TokenPair) Equal(that interface{}) bool { diff --git a/x/erc20/types/genesis.pb.go b/x/erc20/types/genesis.pb.go index 000c400db2..13248e7e13 100644 --- a/x/erc20/types/genesis.pb.go +++ b/x/erc20/types/genesis.pb.go @@ -161,8 +161,8 @@ var fileDescriptor_2f4674601b0d6987 = []byte{ 0x05, 0x71, 0x9d, 0x9c, 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, 0x33, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0xbf, 0x24, 0x23, 0xb1, 0xa8, 0x38, - 0xb3, 0x58, 0x1f, 0x12, 0x9e, 0x65, 0xc6, 0xfa, 0x15, 0xd0, 0x40, 0x2d, 0xa9, 0x2c, 0x48, 0x2d, - 0x4e, 0x62, 0x03, 0x07, 0x9e, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x28, 0x0a, 0x83, 0x65, 0x9e, + 0xb3, 0x58, 0x1f, 0x12, 0x9e, 0x65, 0xa6, 0xfa, 0x15, 0xd0, 0x40, 0x2d, 0xa9, 0x2c, 0x48, 0x2d, + 0x4e, 0x62, 0x03, 0x07, 0x9e, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x52, 0x78, 0x49, 0x88, 0x9e, 0x01, 0x00, 0x00, } diff --git a/x/erc20/types/query.pb.go b/x/erc20/types/query.pb.go index 2700cf91db..b36e8a6c9a 100644 --- a/x/erc20/types/query.pb.go +++ b/x/erc20/types/query.pb.go @@ -323,36 +323,36 @@ var fileDescriptor_fba814bce17cabdf = []byte{ // 505 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x53, 0x4f, 0x6f, 0xd3, 0x30, 0x14, 0xaf, 0x37, 0x56, 0xa9, 0xaf, 0x12, 0x07, 0x53, 0x4a, 0x09, 0x10, 0xa6, 0x54, 0xeb, 0x06, - 0x08, 0x9b, 0x76, 0x9c, 0x11, 0x1a, 0x12, 0x1c, 0xb8, 0x94, 0x8a, 0x03, 0xe2, 0x02, 0x6e, 0x65, - 0x79, 0x11, 0x34, 0x4e, 0x63, 0x37, 0x62, 0x42, 0x5c, 0x76, 0x41, 0xdc, 0x90, 0xf8, 0x0a, 0x7c, - 0x98, 0x1d, 0x27, 0x71, 0xe1, 0x84, 0x50, 0xcb, 0x07, 0x41, 0xb1, 0xdd, 0x74, 0xc9, 0xaa, 0xf6, - 0x16, 0x3f, 0xbf, 0xdf, 0xbf, 0xf7, 0x1c, 0xf0, 0x78, 0x3a, 0x96, 0x8a, 0xf2, 0x64, 0xd4, 0x7b, - 0x44, 0xd3, 0x2e, 0x9d, 0x4c, 0x79, 0x72, 0x42, 0xe2, 0x44, 0x6a, 0x89, 0xaf, 0x9a, 0x3b, 0x62, - 0xee, 0x48, 0xda, 0xf5, 0xee, 0x8f, 0xa4, 0xca, 0x9a, 0x87, 0x4c, 0x71, 0xdb, 0x48, 0xd3, 0xee, - 0x90, 0x6b, 0xd6, 0xa5, 0x31, 0x13, 0x61, 0xc4, 0x74, 0x28, 0x23, 0x8b, 0xf5, 0x6e, 0x97, 0x78, - 0x05, 0x8f, 0xb8, 0x0a, 0x95, 0xbb, 0x2d, 0xab, 0x5a, 0x09, 0x87, 0x14, 0x52, 0x8a, 0x8f, 0x9c, - 0xb2, 0x38, 0xa4, 0x2c, 0x8a, 0xa4, 0x36, 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xfa, 0xc2, 0x4e, 0xbc, 0xf6, 0xda, 0x1e, 0xa7, 0xef, 0x1b, 0xfd, 0x16, + 0x6e, 0x96, 0xf5, 0xed, 0x2e, 0x0e, 0x9f, 0x9d, 0xce, 0x7c, 0x74, 0x36, 0xf3, 0xd1, 0xdf, 0x99, + 0x8f, 0xbe, 0xcf, 0xfd, 0xca, 0xd9, 0xdc, 0xaf, 0xfc, 0x9e, 0xfb, 0x95, 0xb7, 0x77, 0x44, 0xa8, + 0x8f, 0xa6, 0x43, 0x32, 0x92, 0x63, 0xaa, 0x8f, 0x58, 0xa2, 0x42, 0xe5, 0x38, 0xd2, 0xc7, 0xf4, + 0x93, 0x23, 0xd2, 0xc7, 0x31, 0x57, 0xc3, 0xaa, 0xf9, 0x99, 0x1f, 0xfe, 0x0f, 0x00, 0x00, 0xff, + 0xff, 0x4d, 0x5a, 0x08, 0x27, 0x94, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/erc20/types/query.pb.gw.go b/x/erc20/types/query.pb.gw.go index 02573e7d15..1782fc2b57 100644 --- a/x/erc20/types/query.pb.gw.go +++ b/x/erc20/types/query.pb.gw.go @@ -20,7 +20,6 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" - "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" ) @@ -31,7 +30,6 @@ var _ status.Status var _ = runtime.String var _ = utilities.NewDoubleArray var _ = descriptor.ForMessage -var _ = metadata.Join var ( filter_Query_TokenPairs_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} @@ -144,14 +142,12 @@ func local_request_Query_Params_0(ctx context.Context, marshaler runtime.Marshal // RegisterQueryHandlerServer registers the http handlers for service Query to "mux". // UnaryRPC :call QueryServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead. +// Note that using this registration option will cause many gRPC library features (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead. func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error { mux.Handle("GET", pattern_Query_TokenPairs_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) if err != nil { @@ -159,7 +155,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } resp, md, err := local_request_Query_TokenPairs_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) @@ -173,8 +168,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv mux.Handle("GET", pattern_Query_TokenPair_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) if err != nil { @@ -182,7 +175,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } resp, md, err := local_request_Query_TokenPair_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) @@ -196,8 +188,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) if err != nil { @@ -205,7 +195,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } resp, md, err := local_request_Query_Params_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) diff --git a/x/erc20/types/tx.pb.go b/x/erc20/types/tx.pb.go index 703e2126e6..1bf064be91 100644 --- a/x/erc20/types/tx.pb.go +++ b/x/erc20/types/tx.pb.go @@ -247,36 +247,36 @@ func init() { func init() { proto.RegisterFile("evmos/erc20/v1/tx.proto", fileDescriptor_f8926fc6cb676914) } var fileDescriptor_f8926fc6cb676914 = []byte{ - // 455 bytes of a gzipped FileDescriptorProto + // 456 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0x41, 0x6f, 0xd3, 0x30, 0x14, 0xae, 0xdb, 0xaa, 0x62, 0x1e, 0xda, 0x90, 0x85, 0xb6, 0x2e, 0x42, 0x6e, 0xe9, 0x61, 0xeb, - 0x0e, 0xd8, 0x6b, 0xfb, 0x0b, 0x68, 0x04, 0x12, 0x87, 0x5d, 0x72, 0xe4, 0x32, 0x39, 0x8e, 0x95, - 0x45, 0x50, 0xbf, 0xc8, 0xf6,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b, 0xef, 0x0f, 0xef, 0x4c, 0xc9, 0x9d, 0x0a, 0x63, 0x33, 0x5b, 0xab, 0x15, 0x33, 0x7e, - 0x5e, 0x4b, 0xfa, 0x61, 0xc5, 0x3d, 0xbf, 0xc3, 0xb3, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x27, - 0x4b, 0x80, 0x23, 0x42, 0x03, 0x00, 0x00, + 0x0e, 0xd8, 0x6b, 0x27, 0x7e, 0x00, 0x8d, 0x40, 0xe2, 0xb0, 0x4b, 0x8e, 0x5c, 0x26, 0xc7, 0xb1, + 0xb2, 0x08, 0xea, 0x17, 0xd9, 0x5e, 0xb4, 0x5d, 0x38, 0xec, 0xc8, 0x09, 0x89, 0x3f, 0xc3, 0x4f, + 0xd8, 0x71, 0x12, 0x17, 0xc4, 0x61, 0x42, 0x2d, 0x3f, 0x04, 0xc5, 0xc9, 0xca, 0x02, 0x5a, 0x39, + 0xc5, 0x7e, 0xdf, 0x97, 0xcf, 0xdf, 0xfb, 0xde, 0xc3, 0xbb, 0xaa, 0x98, 0x83, 0xe5, 0xca, 0xc8, + 0xe9, 0x11, 0x2f, 0x26, 0xdc, 0x5d, 0xb0, 0xdc, 0x80, 0x03, 0xb2, 0xe5, 0x01, 0xe6, 0x01, 0x56, + 0x4c, 0x82, 0x67, 0x29, 0x40, 0xfa, 0x41, 0x71, 0x91, 0x67, 0x5c, 0x68, 0x0d, 0x4e, 0xb8, 0x0c, + 0xb4, 0xad, 0xd8, 0xc1, 0xd3, 0x14, 0x52, 0xf0, 0x47, 0x5e, 0x9e, 0xea, 0x2a, 0x95, 0x60, 0x4b, + 0xf5, 0x58, 0x58, 0xc5, 0x8b, 0x49, 0xac, 0x9c, 0x98, 0x70, 0x09, 0x99, 0xae, 0xf0, 0xd1, 0x25, + 0xde, 0x3a, 0xb1, 0x69, 0x08, 0xba, 0x50, 0xc6, 0x85, 0x90, 0x69, 0x72, 0x8c, 0xbb, 0x25, 0xde, + 0x47, 0x43, 0x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cf, 0xc9, 0x80, 0xff, 0xb3, 0x4f, 0x5c, 0x56, + 0xfc, 0x53, 0x3f, 0xab, 0x2b, 0x84, 0x1f, 0x37, 0xa2, 0x1d, 0x3c, 0xfc, 0x82, 0x27, 0x04, 0x07, + 0xff, 0x21, 0xac, 0x3c, 0x8c, 0xbd, 0x87, 0x11, 0x19, 0xae, 0xf1, 0xe0, 0x6b, 0xb3, 0xf0, 0x7a, + 0x41, 0xd1, 0xcd, 0x82, 0xa2, 0x9f, 0x0b, 0x8a, 0x3e, 0x2f, 0x69, 0xeb, 0x66, 0x49, 0x5b, 0xdf, + 0x97, 0xb4, 0xf5, 0xee, 0xf0, 0xde, 0x94, 0xdc, 0x99, 0x30, 0x36, 0xb3, 0xb5, 0x5a, 0xf1, 0x92, + 0x5f, 0xd4, 0x92, 0x7e, 0x58, 0x71, 0xcf, 0xef, 0xf0, 0xf1, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, + 0x5d, 0x39, 0x4a, 0xce, 0x42, 0x03, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/erc20/types/tx.pb.gw.go b/x/erc20/types/tx.pb.gw.go index dd2ad956d2..83ef59c258 100644 --- a/x/erc20/types/tx.pb.gw.go +++ b/x/erc20/types/tx.pb.gw.go @@ -20,7 +20,6 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" - "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" ) @@ -31,7 +30,6 @@ var _ status.Status var _ = runtime.String var _ = utilities.NewDoubleArray var _ = descriptor.ForMessage -var _ = metadata.Join var ( filter_Msg_ConvertCoin_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} @@ -108,14 +106,12 @@ func local_request_Msg_ConvertERC20_0(ctx context.Context, marshaler runtime.Mar // RegisterMsgHandlerServer registers the http handlers for service Msg to "mux". // UnaryRPC :call MsgServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterMsgHandlerFromEndpoint instead. +// Note that using this registration option will cause many gRPC library features (such as grpc.SendHeader, etc) to stop working. Consider using RegisterMsgHandlerFromEndpoint instead. func RegisterMsgHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MsgServer) error { mux.Handle("GET", pattern_Msg_ConvertCoin_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) if err != nil { @@ -123,7 +119,6 @@ func RegisterMsgHandlerServer(ctx context.Context, mux *runtime.ServeMux, server return } resp, md, err := local_request_Msg_ConvertCoin_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) @@ -137,8 +132,6 @@ func RegisterMsgHandlerServer(ctx context.Context, mux *runtime.ServeMux, server mux.Handle("GET", pattern_Msg_ConvertERC20_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) if err != nil { @@ -146,7 +139,6 @@ func RegisterMsgHandlerServer(ctx context.Context, mux *runtime.ServeMux, server return } resp, md, err := local_request_Msg_ConvertERC20_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) diff --git a/x/fees/client/cli/query.go b/x/fees/client/cli/query.go index 66a48b9057..de3865528e 100644 --- a/x/fees/client/cli/query.go +++ b/x/fees/client/cli/query.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/version" - "github.com/tharsis/evmos/v4/x/fees/types" + "github.com/tharsis/evmos/v5/x/fees/types" ) // GetQueryCmd returns the cli query commands for this module diff --git a/x/fees/client/cli/tx.go b/x/fees/client/cli/tx.go index 652d97d2c8..051d040920 100644 --- a/x/fees/client/cli/tx.go +++ b/x/fees/client/cli/tx.go @@ -13,7 +13,7 @@ import ( ethermint "github.com/tharsis/ethermint/types" - "github.com/tharsis/evmos/v4/x/fees/types" + "github.com/tharsis/evmos/v5/x/fees/types" ) // NewTxCmd returns a root CLI command handler for certain modules/erc20 transaction commands. diff --git a/x/fees/genesis.go b/x/fees/genesis.go index ca16729c4d..4a128600c4 100644 --- a/x/fees/genesis.go +++ b/x/fees/genesis.go @@ -4,8 +4,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" - "github.com/tharsis/evmos/v4/x/fees/keeper" - "github.com/tharsis/evmos/v4/x/fees/types" + "github.com/tharsis/evmos/v5/x/fees/keeper" + "github.com/tharsis/evmos/v5/x/fees/types" ) // InitGenesis import module genesis diff --git a/x/fees/handler.go b/x/fees/handler.go index 60e1d8c122..7fc8f250f6 100644 --- a/x/fees/handler.go +++ b/x/fees/handler.go @@ -4,7 +4,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/tharsis/evmos/v4/x/fees/types" + "github.com/tharsis/evmos/v5/x/fees/types" ) // NewHandler defines the fees module handler instance diff --git a/x/fees/keeper/fees.go b/x/fees/keeper/fees.go index 1975bef55b..c618d9bcfb 100644 --- a/x/fees/keeper/fees.go +++ b/x/fees/keeper/fees.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" - "github.com/tharsis/evmos/v4/x/fees/types" + "github.com/tharsis/evmos/v5/x/fees/types" ) // GetAllFees - get all registered DevFeeInfo instances diff --git a/x/fees/keeper/fees_test.go b/x/fees/keeper/fees_test.go index 7abfc9ccc5..a9c926167e 100644 --- a/x/fees/keeper/fees_test.go +++ b/x/fees/keeper/fees_test.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" "github.com/tharsis/ethermint/tests" - "github.com/tharsis/evmos/v4/x/fees/types" + "github.com/tharsis/evmos/v5/x/fees/types" ) func (suite *KeeperTestSuite) TestGetAllFees() { @@ -316,7 +316,7 @@ func (suite *KeeperTestSuite) TestGetFeesInverse() { func (suite *KeeperTestSuite) TestDeleteFeeInverse() { contract2 := tests.GenerateAddress() - var setup = func() { + setup := func() { suite.app.FeesKeeper.SetFeeInverse(suite.ctx, deployer, contract) suite.app.FeesKeeper.SetFeeInverse(suite.ctx, deployer, contract2) } diff --git a/x/fees/keeper/grpc_query.go b/x/fees/keeper/grpc_query.go index 40814aa638..bb4137b1ec 100644 --- a/x/fees/keeper/grpc_query.go +++ b/x/fees/keeper/grpc_query.go @@ -13,7 +13,7 @@ import ( "github.com/ethereum/go-ethereum/common" ethermint "github.com/tharsis/ethermint/types" - "github.com/tharsis/evmos/v4/x/fees/types" + "github.com/tharsis/evmos/v5/x/fees/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/fees/keeper/grpc_query_test.go b/x/fees/keeper/grpc_query_test.go index aca3e9910d..86ff2860fd 100644 --- a/x/fees/keeper/grpc_query_test.go +++ b/x/fees/keeper/grpc_query_test.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/types/query" "github.com/tharsis/ethermint/tests" - "github.com/tharsis/evmos/v4/x/fees/types" + "github.com/tharsis/evmos/v5/x/fees/types" ) func (suite *KeeperTestSuite) TestDevFeeInfos() { diff --git a/x/fees/keeper/integration_test.go b/x/fees/keeper/integration_test.go index d51ffdb53f..ba2c86e36f 100644 --- a/x/fees/keeper/integration_test.go +++ b/x/fees/keeper/integration_test.go @@ -18,9 +18,9 @@ import ( "github.com/tharsis/ethermint/encoding" "github.com/tharsis/ethermint/tests" evmtypes "github.com/tharsis/ethermint/x/evm/types" - "github.com/tharsis/evmos/v4/app" - "github.com/tharsis/evmos/v4/testutil" - "github.com/tharsis/evmos/v4/x/fees/types" + "github.com/tharsis/evmos/v5/app" + "github.com/tharsis/evmos/v5/testutil" + "github.com/tharsis/evmos/v5/x/fees/types" codectypes "github.com/cosmos/cosmos-sdk/codec/types" authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing" diff --git a/x/fees/keeper/keeper.go b/x/fees/keeper/keeper.go index 0b358ffd31..f9ab1398c0 100644 --- a/x/fees/keeper/keeper.go +++ b/x/fees/keeper/keeper.go @@ -8,7 +8,7 @@ import ( paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" "github.com/tendermint/tendermint/libs/log" - "github.com/tharsis/evmos/v4/x/fees/types" + "github.com/tharsis/evmos/v5/x/fees/types" ) // Keeper of this module maintains collections of fee information for contracts diff --git a/x/fees/keeper/keeper_test.go b/x/fees/keeper/keeper_test.go index b05bb77450..d468c3aca0 100644 --- a/x/fees/keeper/keeper_test.go +++ b/x/fees/keeper/keeper_test.go @@ -26,9 +26,9 @@ import ( tmversion "github.com/tendermint/tendermint/proto/tendermint/version" "github.com/tendermint/tendermint/version" evm "github.com/tharsis/ethermint/x/evm/types" - "github.com/tharsis/evmos/v4/app" - claimtypes "github.com/tharsis/evmos/v4/x/claims/types" - "github.com/tharsis/evmos/v4/x/fees/types" + "github.com/tharsis/evmos/v5/app" + claimtypes "github.com/tharsis/evmos/v5/x/claims/types" + "github.com/tharsis/evmos/v5/x/fees/types" ) type KeeperTestSuite struct { diff --git a/x/fees/keeper/msg_server.go b/x/fees/keeper/msg_server.go index 048e0f1845..1db125e802 100644 --- a/x/fees/keeper/msg_server.go +++ b/x/fees/keeper/msg_server.go @@ -8,7 +8,7 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" - "github.com/tharsis/evmos/v4/x/fees/types" + "github.com/tharsis/evmos/v5/x/fees/types" ) var _ types.MsgServer = &Keeper{} diff --git a/x/fees/keeper/msg_server_test.go b/x/fees/keeper/msg_server_test.go index fa15de3615..fa12067639 100644 --- a/x/fees/keeper/msg_server_test.go +++ b/x/fees/keeper/msg_server_test.go @@ -11,7 +11,7 @@ import ( "github.com/tharsis/ethermint/tests" "github.com/tharsis/ethermint/x/evm/statedb" - "github.com/tharsis/evmos/v4/x/fees/types" + "github.com/tharsis/evmos/v5/x/fees/types" ) func (suite *KeeperTestSuite) TestRegisterDevFeeInfo() { diff --git a/x/fees/keeper/params.go b/x/fees/keeper/params.go index ac99dedea7..423e6bc645 100644 --- a/x/fees/keeper/params.go +++ b/x/fees/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/evmos/v4/x/fees/types" + "github.com/tharsis/evmos/v5/x/fees/types" ) // GetParams returns the total set of fees parameters. diff --git a/x/fees/keeper/params_test.go b/x/fees/keeper/params_test.go index 5d7af70a54..3325ad6894 100644 --- a/x/fees/keeper/params_test.go +++ b/x/fees/keeper/params_test.go @@ -1,6 +1,6 @@ package keeper_test -import "github.com/tharsis/evmos/v4/x/fees/types" +import "github.com/tharsis/evmos/v5/x/fees/types" func (suite *KeeperTestSuite) TestParams() { params := suite.app.FeesKeeper.GetParams(suite.ctx) diff --git a/x/fees/module.go b/x/fees/module.go index 171c71637d..3ea71fcf19 100644 --- a/x/fees/module.go +++ b/x/fees/module.go @@ -18,9 +18,9 @@ import ( "github.com/spf13/cobra" abci "github.com/tendermint/tendermint/abci/types" - "github.com/tharsis/evmos/v4/x/fees/client/cli" - "github.com/tharsis/evmos/v4/x/fees/keeper" - "github.com/tharsis/evmos/v4/x/fees/types" + "github.com/tharsis/evmos/v5/x/fees/client/cli" + "github.com/tharsis/evmos/v5/x/fees/keeper" + "github.com/tharsis/evmos/v5/x/fees/types" ) // type check to ensure the interface is properly implemented diff --git a/x/fees/types/fees.pb.go b/x/fees/types/fees.pb.go index 5772216596..e9f2293cb5 100644 --- a/x/fees/types/fees.pb.go +++ b/x/fees/types/fees.pb.go @@ -107,8 +107,8 @@ var fileDescriptor_1527b6d4bf16c067 = []byte{ 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0x8d, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0xfd, 0x92, 0x8c, 0xc4, 0xa2, 0xe2, 0xcc, 0x62, 0x7d, 0x88, 0x2f, - 0xcb, 0x4c, 0xf4, 0x2b, 0x20, 0x5e, 0x2d, 0xa9, 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, 0xfb, 0xd4, - 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0xee, 0xe9, 0x5a, 0xfc, 0x05, 0x01, 0x00, 0x00, + 0xcb, 0x4c, 0xf5, 0x2b, 0x20, 0x5e, 0x2d, 0xa9, 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, 0xfb, 0xd4, + 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x2e, 0x8d, 0x72, 0xeb, 0x05, 0x01, 0x00, 0x00, } func (m *DevFeeInfo) Marshal() (dAtA []byte, err error) { diff --git a/x/fees/types/genesis.pb.go b/x/fees/types/genesis.pb.go index cdfe0ea18c..49dc497d09 100644 --- a/x/fees/types/genesis.pb.go +++ b/x/fees/types/genesis.pb.go @@ -149,32 +149,32 @@ func init() { func init() { proto.RegisterFile("evmos/fees/v1/genesis.proto", fileDescriptor_27418e5be97fbe06) } var fileDescriptor_27418e5be97fbe06 = []byte{ - // 386 bytes of a gzipped FileDescriptorProto + // 387 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0xc1, 0x6e, 0xd3, 0x40, 0x10, 0x86, 0xb3, 0x6d, 0x14, 0xc1, 0x9a, 0x0a, 0x64, 0x81, 0x64, 0x5a, 0xc9, 0x89, 0x7a, 0x40, - 0xbe, 0xb0, 0xab, 0xb6, 0x5c, 0xb9, 0x38, 0x51, 0x11, 0x37, 0xe4, 0x9e, 0xe0, 0x62, 0x6d, 0xbc, - 0x63, 0xc7, 0x22, 0xf1, 0x5a, 0x3b, 0xcb, 0x0a, 0xde, 0x80, 0x23, 0x4f, 0xc0, 0xf3, 0xf4, 0xd8, - 0x23, 0xe2, 0x50, 0xa1, 0xe4, 0x45, 0xd0, 0xee, 0x46, 0x16, 0xe1, 0xd8, 0x93, 0x47, 0xff, 0xff, - 0xcf, 0x37, 0x23, 0xef, 0xd0, 0x33, 0xb0, 0x1b, 0x85, 0xbc, 0x06, 0x40, 0x6e, 0x2f, 0x78, 0x03, - 0x1d, 0x60, 0x8b, 0xac, 0xd7, 0xca, 0xa8, 0xf8, 0xc4, 0x9b, 0xcc, 0x99, 0xcc, 0x5e, 0x9c, 0x26, - 0x87, 0x59, 0x2f, 0xfb, 0xe0, 0xe9, 0xf3, 0x46, 0x35, 0xca, 0x97, 0xdc, 0x55, 0x41, 0x3d, 0xff, - 0x4e, 0xe8, 0x93, 0x77, 0x01, 0x78, 0x63, 0x84, 0x81, 0xf8, 0x8a, 0x4e, 0x7a, 0xa1, 0xc5, 0x06, - 0x13, 0x32, 0x23, 0x59, 0x74, 0xf9, 0x82, 0x1d, 0x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x47, 0xbf, 0x76, 0xe9, 0xe8, 0x53, 0xf6, 0xcf, + 0x46, 0x66, 0x25, 0x34, 0xb6, 0xc8, 0xc3, 0x21, 0xd8, 0x37, 0xfc, 0x6b, 0xb8, 0x06, 0xbf, 0xd7, + 0x72, 0xe2, 0x9f, 0xfd, 0xea, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x31, 0x34, 0x0f, 0xee, 0x54, + 0x02, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/fees/types/query.pb.go b/x/fees/types/query.pb.go index d4b4f1c527..b06d8a308e 100644 --- a/x/fees/types/query.pb.go +++ b/x/fees/types/query.pb.go @@ -436,41 +436,41 @@ var fileDescriptor_6533658f63002c05 = []byte{ // 583 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x54, 0xc1, 0x6e, 0xd3, 0x40, 0x10, 0x8d, 0xd3, 0x10, 0x89, 0x8d, 0x10, 0x68, 0xdb, 0xb4, 0x69, 0x0a, 0xa6, 0x18, 0x91, 0x06, - 0x0e, 0xbb, 0x72, 0xca, 0x0f, 0x10, 0xaa, 0x22, 0x10, 0x87, 0x90, 0x23, 0x17, 0xb4, 0x49, 0x26, - 0xae, 0xa5, 0xc6, 0xeb, 0x7a, 0x1d, 0x8b, 0xa8, 0xea, 0x85, 0x2b, 0x17, 0x24, 0x0e, 0x70, 0xe7, - 0x03, 0xb8, 0xf0, 0x11, 0x3d, 0x56, 0xe2, 0xc2, 0x09, 0xa1, 0x84, 0x0f, 0x41, 0xde, 0x5d, 0x37, - 0xb1, 0x13, 0x12, 0xe0, 0xc4, 0xcd, 0x9a, 0x79, 0x33, 0xef, 0xcd, 0xdb, 0x19, 0xa3, 0x6d, 0x88, - 0x06, 0x5c, 0xd0, 0x3e, 0x80, 0xa0, 0x91, 0x4d, 0x4f, 0x86, 0x10, 0x8c, 0x88, 0x1f,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xab, 0xd6, 0x32, 0x88, - 0x16, 0x70, 0x4b, 0x0a, 0xd8, 0xc2, 0xe5, 0x8c, 0x00, 0xb5, 0xc4, 0xf8, 0xb3, 0x81, 0x36, 0x17, - 0x6f, 0x09, 0xb6, 0x57, 0xd8, 0x3b, 0xbf, 0xeb, 0xd5, 0xc6, 0xdf, 0x94, 0xfc, 0x91, 0x43, 0xd9, - 0xd3, 0x39, 0x6b, 0x36, 0xcf, 0xc7, 0xa6, 0x71, 0x31, 0x36, 0x8d, 0x1f, 0x63, 0xd3, 0x78, 0x37, - 0x31, 0x73, 0x17, 0x13, 0x33, 0xf7, 0x6d, 0x62, 0xe6, 0x5e, 0xd6, 0x1d, 0x37, 0x3c, 0x1a, 0x76, - 0x48, 0x97, 0x0f, 0x68, 0x78, 0xc4, 0x02, 0xe1, 0x0a, 0xdd, 0x33, 0x7a, 0x48, 0x5f, 0xab, 0x86, - 0xe1, 0xc8, 0x07, 0xd1, 0x29, 0xca, 0x9f, 0xf6, 0xfe, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x2d, - 0x33, 0xd2, 0xc3, 0x77, 0x06, 0x00, 0x00, + 0x0e, 0xbb, 0x72, 0x2a, 0x3e, 0x80, 0x50, 0x15, 0x81, 0x38, 0x84, 0x1c, 0xb9, 0xa0, 0x4d, 0x32, + 0x71, 0x2d, 0x35, 0x5e, 0xd7, 0xeb, 0x58, 0x44, 0x55, 0x2f, 0x5c, 0xb9, 0x20, 0x71, 0x80, 0x3b, + 0x1f, 0xc0, 0x85, 0x8f, 0xe8, 0xb1, 0x12, 0x17, 0x4e, 0x08, 0x25, 0x7c, 0x08, 0xf2, 0xee, 0xba, + 0x89, 0x9d, 0x90, 0x00, 0x27, 0x6e, 0xd6, 0xcc, 0x9b, 0x79, 0x6f, 0xde, 0xce, 0x18, 0x6d, 0x43, + 0x34, 0xe0, 0x82, 0xf6, 0x01, 0x04, 0x8d, 0x6c, 0x7a, 0x32, 0x84, 0x60, 0x44, 0xfc, 0x80, 0x87, + 0x1c, 0x5f, 0x93, 0x29, 0x12, 0xa7, 0x48, 0x64, 0x57, 0x1f, 0x74, 0xb9, 0x88, 0xa1, 0x1d, 0x26, + 0x40, 0xe1, 0x68, 0x64, 0x77, 0x20, 0x64, 0x36, 0xf5, 0x99, 0xe3, 0x7a, 0x2c, 0x74, 0xb9, 0xa7, + 0x4a, 0xab, 0x3b, 0xe9, 0xae, 0x0e, 0x78, 0x20, 0x5c, 0xa1, 0x93, 0x95, 0x74, 0x52, 0xf6, 0x57, + 0x99, 0x9b, 0x0e, 0xe7, 0xce, 0x31, 0x50, 0xe6, 0xbb, 0x94, 0x79, 0x1e, 0x0f, 0x65, 0xcf, 0x24, + 0xbb, 0xe1, 0x70, 0x87, 0xcb, 0x4f, 0x1a, 0x7f, 0xa9, 0xa8, 0xc5, 0xd0, 0xd6, 0x8b, 0x58, 0xcc, + 0x01, 0x44, 0x87, 0x00, 0x4f, 0xbd, 0x3e, 0x17, 0x6d, 0x38, 0x19, 0x82, 0x08, 0xf1, 0x21, 0x42, + 0x53, 0x65, 0x15, 0x63, 0xd7, 0xa8, 0x97, 0x1a, 0x35, 0xa2, 0xc6, 0x20, 0xf1, 0x18, 0x44, 0x8d, + 0xab, 0xc7, 0x20, 0x2d, 0xe6, 0x80, 0xae, 0x6d, 0xcf, 0x54, 0x5a, 0x1f, 0x0d, 0x54, 0x99, 0xe7, + 0x10, 0x3e, 0xf7, 0x04, 0xe0, 0x7d, 0x54, 0x88, 0x27, 0xa8, 0x18, 0xbb, 0x6b, 0xf5, 0x52, 0x63, + 0x9b, 0xa4, 0x4c, 0x23, 0xd3, 0x8a, 0x66, 0xe1, 0xfc, 0xfb, 0xed, 0x5c, 0x5b, 0x82, 0xf1, 0x93, + 0x94, 0xb2, 0xbc, 0x54, 0xb6, 0xb7, 0x52, 0x99, 0x62, 0x4c, 0x49, 0x7b, 0x8c, 0x36, 0x33, 0xca, + 0x92, 0xe1, 0xef, 0xa3, 0x1b, 0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xdb, 0x5c, 0xb5, 0x96, 0x41, + 0xb4, 0x80, 0x5b, 0x52, 0xc0, 0x16, 0x2e, 0x67, 0x04, 0xa8, 0x25, 0xc6, 0x9f, 0x0d, 0xb4, 0xb9, + 0x78, 0x4b, 0xb0, 0xbd, 0xc2, 0xde, 0xf9, 0x5d, 0xaf, 0x36, 0xfe, 0xa6, 0xe4, 0x8f, 0x1c, 0xca, + 0x9e, 0xce, 0x59, 0xb3, 0x79, 0x3e, 0x36, 0x8d, 0x8b, 0xb1, 0x69, 0xfc, 0x18, 0x9b, 0xc6, 0xbb, + 0x89, 0x99, 0xbb, 0x98, 0x98, 0xb9, 0x6f, 0x13, 0x33, 0xf7, 0xb2, 0xee, 0xb8, 0xe1, 0xd1, 0xb0, + 0x43, 0xba, 0x7c, 0x40, 0xc3, 0x23, 0x16, 0x08, 0x57, 0xe8, 0x9e, 0xd1, 0x43, 0xfa, 0x5a, 0x35, + 0x0c, 0x47, 0x3e, 0x88, 0x4e, 0x51, 0xfe, 0xb4, 0xf7, 0x7f, 0x05, 0x00, 0x00, 0xff, 0xff, 0xed, + 0x57, 0xfa, 0xd4, 0x77, 0x06, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/fees/types/tx.pb.go b/x/fees/types/tx.pb.go index 00d104c547..5e208bd932 100644 --- a/x/fees/types/tx.pb.go +++ b/x/fees/types/tx.pb.go @@ -350,35 +350,36 @@ func init() { func init() { proto.RegisterFile("evmos/fees/v1/tx.proto", fileDescriptor_8839b3a6b237f9b6) } var fileDescriptor_8839b3a6b237f9b6 = []byte{ - // 448 bytes of a gzipped FileDescriptorProto + // 449 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x94, 0x4d, 0x8b, 0xd3, 0x40, 0x18, 0xc7, 0x33, 0x9b, 0xb2, 0xe0, 0x80, 0xb8, 0x44, 0x5d, 0x96, 0xe8, 0x66, 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, 0x57, 0x1b, 0xc7, 0x58, 0x6d, 0x1c, 0xe3, - 0xcb, 0xc6, 0x31, 0x9e, 0xf7, 0x59, 0xac, 0xc7, 0xb3, 0xa1, 0x17, 0x8a, 0x29, 0xd1, 0x63, 0x2a, - 0x55, 0xac, 0xca, 0x2d, 0xd3, 0xfb, 0x64, 0x51, 0xec, 0xab, 0x97, 0x09, 0xa8, 0xe1, 0x6e, 0xfe, - 0x03, 0xb9, 0xf7, 0x23, 0x00, 0x00, 0xff, 0xff, 0xb2, 0x13, 0xa5, 0x1c, 0x9d, 0x04, 0x00, 0x00, + 0x57, 0x34, 0xc3, 0x2a, 0x5e, 0xbc, 0xb9, 0x8a, 0xe0, 0xa1, 0x97, 0x80, 0x17, 0x2f, 0x61, 0x9a, + 0x3c, 0x9d, 0x06, 0xda, 0x99, 0x38, 0x33, 0x4d, 0xdb, 0xab, 0x9f, 0x40, 0xf1, 0x24, 0x78, 0xf0, + 0x53, 0xf8, 0x19, 0xf4, 0x56, 0xf0, 0xe2, 0x51, 0x5a, 0x0f, 0x7e, 0x0c, 0xc9, 0x2b, 0x36, 0x89, + 0x2f, 0x17, 0xc1, 0xdb, 0xe4, 0xcf, 0xef, 0x99, 0xf9, 0x65, 0x9e, 0x27, 0xc1, 0xfb, 0x90, 0x4e, + 0x85, 0x22, 0x23, 0x00, 0x45, 0xd2, 0x33, 0xa2, 0x17, 0x5e, 0x22, 0x85, 0x16, 0xd6, 0xc5, 0x3c, + 0xf7, 0xb2, 0xdc, 0x4b, 0xcf, 0xec, 0xeb, 0x4c, 0x08, 0x36, 0x01, 0x42, 0x93, 0x98, 0x50, 0xce, + 0x85, 0xa6, 0x3a, 0x16, 0x5c, 0x15, 0xb0, 0x7d, 0x85, 0x09, 0x26, 0xf2, 0x25, 0xc9, 0x56, 0x45, + 0xea, 0x7e, 0x40, 0xf8, 0xea, 0x40, 0x31, 0x1f, 0x58, 0xac, 0x34, 0xc8, 0xc7, 0x90, 0x3e, 0x01, + 0x78,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0x67, 0x36, 0x19, 0xfb, 0xd6, 0x9f, 0x99, 0xda, 0xea, + 0x4e, 0x6e, 0x75, 0xe2, 0xde, 0x6c, 0x5b, 0x85, 0x79, 0x4d, 0xdb, 0xa9, 0xd5, 0xf2, 0x0e, 0xa7, + 0x26, 0xd3, 0xe5, 0xf4, 0xab, 0xe6, 0xfc, 0xce, 0x69, 0x96, 0xd7, 0x6c, 0x39, 0x9d, 0x9f, 0x7f, + 0x5c, 0x3b, 0x68, 0xb5, 0x76, 0xd0, 0xd7, 0xb5, 0x83, 0x5e, 0x6d, 0x1c, 0x63, 0xb5, 0x71, 0x8c, + 0x2f, 0x1b, 0xc7, 0x78, 0xde, 0x67, 0xb1, 0x1e, 0xcf, 0x86, 0x5e, 0x28, 0xa6, 0x44, 0x8f, 0xa9, + 0x54, 0xb1, 0x2a, 0xb7, 0x4c, 0xef, 0x93, 0x45, 0xb1, 0xaf, 0x5e, 0x26, 0xa0, 0x86, 0xbb, 0xf9, + 0x0f, 0xe4, 0xde, 0x8f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x72, 0x77, 0x8d, 0x0b, 0x9d, 0x04, 0x00, + 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/incentives/client/cli/query.go b/x/incentives/client/cli/query.go index 12a6c603c3..76d341c50f 100644 --- a/x/incentives/client/cli/query.go +++ b/x/incentives/client/cli/query.go @@ -9,7 +9,7 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/spf13/cobra" - "github.com/tharsis/evmos/v4/x/incentives/types" + "github.com/tharsis/evmos/v5/x/incentives/types" ) // GetQueryCmd returns the parent command for all incentives CLI query commands. diff --git a/x/incentives/client/cli/tx.go b/x/incentives/client/cli/tx.go index 35c0e6f365..a12242aef6 100644 --- a/x/incentives/client/cli/tx.go +++ b/x/incentives/client/cli/tx.go @@ -14,7 +14,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/gov/client/cli" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/tharsis/evmos/v4/x/incentives/types" + "github.com/tharsis/evmos/v5/x/incentives/types" ) // NewRegisterIncentiveProposalCmd implements the command to submit a register diff --git a/x/incentives/client/proposal_handler.go b/x/incentives/client/proposal_handler.go index f0560529bd..9b44f4a4a7 100644 --- a/x/incentives/client/proposal_handler.go +++ b/x/incentives/client/proposal_handler.go @@ -3,8 +3,8 @@ package client import ( govclient "github.com/cosmos/cosmos-sdk/x/gov/client" - "github.com/tharsis/evmos/v4/x/incentives/client/cli" - "github.com/tharsis/evmos/v4/x/incentives/client/rest" + "github.com/tharsis/evmos/v5/x/incentives/client/cli" + "github.com/tharsis/evmos/v5/x/incentives/client/rest" ) var ( diff --git a/x/incentives/client/rest/rest.go b/x/incentives/client/rest/rest.go index 86333ce835..26c4c8a1e7 100644 --- a/x/incentives/client/rest/rest.go +++ b/x/incentives/client/rest/rest.go @@ -10,7 +10,7 @@ import ( govrest "github.com/cosmos/cosmos-sdk/x/gov/client/rest" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" - "github.com/tharsis/evmos/v4/x/incentives/types" + "github.com/tharsis/evmos/v5/x/incentives/types" ) // RegisterIncentiveProposalRequest defines a request for a new register a diff --git a/x/incentives/genesis.go b/x/incentives/genesis.go index 296e645c31..56a5305fcb 100644 --- a/x/incentives/genesis.go +++ b/x/incentives/genesis.go @@ -4,8 +4,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" - "github.com/tharsis/evmos/v4/x/incentives/keeper" - "github.com/tharsis/evmos/v4/x/incentives/types" + "github.com/tharsis/evmos/v5/x/incentives/keeper" + "github.com/tharsis/evmos/v5/x/incentives/types" ) // InitGenesis import module genesis diff --git a/x/incentives/keeper/allocation_meters.go b/x/incentives/keeper/allocation_meters.go index ef1a2239b3..b60fc593b4 100644 --- a/x/incentives/keeper/allocation_meters.go +++ b/x/incentives/keeper/allocation_meters.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/evmos/v4/x/incentives/types" + "github.com/tharsis/evmos/v5/x/incentives/types" ) // GetAllAllocationMeters - get all registered AllocationMeters diff --git a/x/incentives/keeper/distribution.go b/x/incentives/keeper/distribution.go index fa221884d9..066d493f08 100644 --- a/x/incentives/keeper/distribution.go +++ b/x/incentives/keeper/distribution.go @@ -10,7 +10,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/ethereum/go-ethereum/common" - "github.com/tharsis/evmos/v4/x/incentives/types" + "github.com/tharsis/evmos/v5/x/incentives/types" ) // DistributeRewards transfers the allocated rewards to the participants of a given diff --git a/x/incentives/keeper/distribution_test.go b/x/incentives/keeper/distribution_test.go index 1f9473d06f..ca53282f72 100644 --- a/x/incentives/keeper/distribution_test.go +++ b/x/incentives/keeper/distribution_test.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/evmos/v4/x/incentives/types" + "github.com/tharsis/evmos/v5/x/incentives/types" ) func (suite *KeeperTestSuite) TestDistributeIncentives() { diff --git a/x/incentives/keeper/epoch_hooks.go b/x/incentives/keeper/epoch_hooks.go index 1f6c39de12..c89c72f924 100644 --- a/x/incentives/keeper/epoch_hooks.go +++ b/x/incentives/keeper/epoch_hooks.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - epochstypes "github.com/tharsis/evmos/v4/x/epochs/types" + epochstypes "github.com/tharsis/evmos/v5/x/epochs/types" ) // BeforeEpochStart performs a no-op diff --git a/x/incentives/keeper/evm_hooks.go b/x/incentives/keeper/evm_hooks.go index ffce3621d7..2618af255e 100644 --- a/x/incentives/keeper/evm_hooks.go +++ b/x/incentives/keeper/evm_hooks.go @@ -11,7 +11,7 @@ import ( ethermint "github.com/tharsis/ethermint/types" evmtypes "github.com/tharsis/ethermint/x/evm/types" - "github.com/tharsis/evmos/v4/x/incentives/types" + "github.com/tharsis/evmos/v5/x/incentives/types" ) var _ evmtypes.EvmHooks = Hooks{} diff --git a/x/incentives/keeper/evm_hooks_test.go b/x/incentives/keeper/evm_hooks_test.go index 2e5fca91ed..ea6e73a651 100644 --- a/x/incentives/keeper/evm_hooks_test.go +++ b/x/incentives/keeper/evm_hooks_test.go @@ -14,8 +14,8 @@ import ( ethermint "github.com/tharsis/ethermint/types" evm "github.com/tharsis/ethermint/x/evm/types" - "github.com/tharsis/evmos/v4/testutil" - "github.com/tharsis/evmos/v4/x/incentives/types" + "github.com/tharsis/evmos/v5/testutil" + "github.com/tharsis/evmos/v5/x/incentives/types" ) // ensureHooksSet tries to set the hooks on EVMKeeper, this will fail if the diff --git a/x/incentives/keeper/gas_meters.go b/x/incentives/keeper/gas_meters.go index bc0b926264..c29ca0d6cf 100644 --- a/x/incentives/keeper/gas_meters.go +++ b/x/incentives/keeper/gas_meters.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" - "github.com/tharsis/evmos/v4/x/incentives/types" + "github.com/tharsis/evmos/v5/x/incentives/types" ) // GetIncentivesGasMeters - get all registered GasMeters per Incentive diff --git a/x/incentives/keeper/gas_meters_test.go b/x/incentives/keeper/gas_meters_test.go index 1a80255e78..48bac9c2e3 100644 --- a/x/incentives/keeper/gas_meters_test.go +++ b/x/incentives/keeper/gas_meters_test.go @@ -6,7 +6,7 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/tharsis/ethermint/tests" - "github.com/tharsis/evmos/v4/x/incentives/types" + "github.com/tharsis/evmos/v5/x/incentives/types" ) func (suite *KeeperTestSuite) TestGetIncentivesGasMeters() { diff --git a/x/incentives/keeper/grpc_query.go b/x/incentives/keeper/grpc_query.go index d58ba9e419..4973f1aa34 100644 --- a/x/incentives/keeper/grpc_query.go +++ b/x/incentives/keeper/grpc_query.go @@ -14,7 +14,7 @@ import ( "github.com/ethereum/go-ethereum/common" ethermint "github.com/tharsis/ethermint/types" - "github.com/tharsis/evmos/v4/x/incentives/types" + "github.com/tharsis/evmos/v5/x/incentives/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/incentives/keeper/grpc_query_test.go b/x/incentives/keeper/grpc_query_test.go index e0dfc49aec..6ef3df620b 100644 --- a/x/incentives/keeper/grpc_query_test.go +++ b/x/incentives/keeper/grpc_query_test.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" - "github.com/tharsis/evmos/v4/x/incentives/types" + "github.com/tharsis/evmos/v5/x/incentives/types" ) func (suite *KeeperTestSuite) TestIncentives() { diff --git a/x/incentives/keeper/incentives.go b/x/incentives/keeper/incentives.go index 54bd313f14..fab30125eb 100644 --- a/x/incentives/keeper/incentives.go +++ b/x/incentives/keeper/incentives.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/ethereum/go-ethereum/common" - "github.com/tharsis/evmos/v4/x/incentives/types" + "github.com/tharsis/evmos/v5/x/incentives/types" ) // GetAllIncentives - get all registered Incentives diff --git a/x/incentives/keeper/incentives_test.go b/x/incentives/keeper/incentives_test.go index e63f73a5ec..299129314d 100644 --- a/x/incentives/keeper/incentives_test.go +++ b/x/incentives/keeper/incentives_test.go @@ -5,7 +5,7 @@ import ( "github.com/ethereum/go-ethereum/common" - "github.com/tharsis/evmos/v4/x/incentives/types" + "github.com/tharsis/evmos/v5/x/incentives/types" ) func (suite *KeeperTestSuite) TestGetAllIncentives() { diff --git a/x/incentives/keeper/integration_test.go b/x/incentives/keeper/integration_test.go index 2e0a99da59..9c8da059cf 100644 --- a/x/incentives/keeper/integration_test.go +++ b/x/incentives/keeper/integration_test.go @@ -15,7 +15,7 @@ import ( ethermint "github.com/tharsis/ethermint/types" evmtypes "github.com/tharsis/ethermint/x/evm/types" - "github.com/tharsis/evmos/v4/x/incentives/types" + "github.com/tharsis/evmos/v5/x/incentives/types" ) var _ = Describe("Performing EVM transactions", Ordered, func() { diff --git a/x/incentives/keeper/keeper.go b/x/incentives/keeper/keeper.go index 493ba3ff97..b4ead90936 100644 --- a/x/incentives/keeper/keeper.go +++ b/x/incentives/keeper/keeper.go @@ -8,7 +8,7 @@ import ( paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" "github.com/tendermint/tendermint/libs/log" - "github.com/tharsis/evmos/v4/x/incentives/types" + "github.com/tharsis/evmos/v5/x/incentives/types" ) // Keeper of this module maintains collections of incentives. diff --git a/x/incentives/keeper/keeper_test.go b/x/incentives/keeper/keeper_test.go index cdb79fc8fe..8ea8146091 100644 --- a/x/incentives/keeper/keeper_test.go +++ b/x/incentives/keeper/keeper_test.go @@ -36,10 +36,10 @@ import ( ethermint "github.com/tharsis/ethermint/types" evm "github.com/tharsis/ethermint/x/evm/types" - "github.com/tharsis/evmos/v4/app" - "github.com/tharsis/evmos/v4/contracts" - epochstypes "github.com/tharsis/evmos/v4/x/epochs/types" - "github.com/tharsis/evmos/v4/x/incentives/types" + "github.com/tharsis/evmos/v5/app" + "github.com/tharsis/evmos/v5/contracts" + epochstypes "github.com/tharsis/evmos/v5/x/epochs/types" + "github.com/tharsis/evmos/v5/x/incentives/types" ) var ( diff --git a/x/incentives/keeper/params.go b/x/incentives/keeper/params.go index fa8e622a51..d068e21c4b 100644 --- a/x/incentives/keeper/params.go +++ b/x/incentives/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/evmos/v4/x/incentives/types" + "github.com/tharsis/evmos/v5/x/incentives/types" ) // GetParams returns the total set of incentives parameters. diff --git a/x/incentives/keeper/params_test.go b/x/incentives/keeper/params_test.go index 1bacf38340..58c6a4090b 100644 --- a/x/incentives/keeper/params_test.go +++ b/x/incentives/keeper/params_test.go @@ -1,6 +1,6 @@ package keeper_test -import "github.com/tharsis/evmos/v4/x/incentives/types" +import "github.com/tharsis/evmos/v5/x/incentives/types" func (suite *KeeperTestSuite) TestParams() { params := suite.app.IncentivesKeeper.GetParams(suite.ctx) diff --git a/x/incentives/keeper/proposals.go b/x/incentives/keeper/proposals.go index f70c8cd2ca..d7074ac9ba 100644 --- a/x/incentives/keeper/proposals.go +++ b/x/incentives/keeper/proposals.go @@ -5,7 +5,7 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/ethereum/go-ethereum/common" - "github.com/tharsis/evmos/v4/x/incentives/types" + "github.com/tharsis/evmos/v5/x/incentives/types" ) // RegisterIncentive creates an incentive for a contract diff --git a/x/incentives/keeper/proposals_test.go b/x/incentives/keeper/proposals_test.go index 9d88afb518..b02ab66391 100644 --- a/x/incentives/keeper/proposals_test.go +++ b/x/incentives/keeper/proposals_test.go @@ -6,7 +6,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/tharsis/ethermint/tests" - "github.com/tharsis/evmos/v4/x/incentives/types" + "github.com/tharsis/evmos/v5/x/incentives/types" ) func (suite KeeperTestSuite) TestRegisterIncentive() { diff --git a/x/incentives/module.go b/x/incentives/module.go index f02e44bde5..1090c31398 100644 --- a/x/incentives/module.go +++ b/x/incentives/module.go @@ -18,9 +18,9 @@ import ( "github.com/spf13/cobra" abci "github.com/tendermint/tendermint/abci/types" - "github.com/tharsis/evmos/v4/x/incentives/client/cli" - "github.com/tharsis/evmos/v4/x/incentives/keeper" - "github.com/tharsis/evmos/v4/x/incentives/types" + "github.com/tharsis/evmos/v5/x/incentives/client/cli" + "github.com/tharsis/evmos/v5/x/incentives/keeper" + "github.com/tharsis/evmos/v5/x/incentives/types" ) // type check to ensure the interface is properly implemented diff --git a/x/incentives/proposal_handler.go b/x/incentives/proposal_handler.go index 81f545899c..733b28bf5f 100644 --- a/x/incentives/proposal_handler.go +++ b/x/incentives/proposal_handler.go @@ -8,8 +8,8 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/ethereum/go-ethereum/common" - "github.com/tharsis/evmos/v4/x/incentives/keeper" - "github.com/tharsis/evmos/v4/x/incentives/types" + "github.com/tharsis/evmos/v5/x/incentives/keeper" + "github.com/tharsis/evmos/v5/x/incentives/types" ) // NewIncentivesProposalHandler creates a governance handler to manage new diff --git a/x/incentives/types/genesis.pb.go b/x/incentives/types/genesis.pb.go index 2c10d5dc00..c6b6c64121 100644 --- a/x/incentives/types/genesis.pb.go +++ b/x/incentives/types/genesis.pb.go @@ -157,31 +157,31 @@ func init() { proto.RegisterFile("evmos/incentives/v1/genesis.proto", fileDescri var fileDescriptor_7bb1f7c7e8ad160b = []byte{ // 407 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0xc1, 0xaa, 0xd3, 0x40, - 0x14, 0x86, 0x93, 0xf6, 0x52, 0xbc, 0x73, 0xaf, 0x78, 0x8d, 0x2e, 0x62, 0x8b, 0x69, 0x2d, 0x22, - 0x05, 0x71, 0x86, 0xb6, 0x2b, 0x37, 0x2e, 0x42, 0xa5, 0x16, 0x14, 0x24, 0x5d, 0xe9, 0x26, 0x4c, - 0xd3, 0x63, 0x3a, 0x98, 0x64, 0xc2, 0xcc, 0x18, 0xf5, 0x2d, 0x7c, 0x09, 0xdf, 0xa5, 0xcb, 0x82, - 0x1b, 0x71, 0x51, 0xa4, 0x7d, 0x11, 0x99, 0x49, 0x34, 0x59, 0x64, 0xe5, 0x2a, 0x73, 0x92, 0xef, - 0x7c, 0xff, 0xc9, 0x70, 0xd0, 0x23, 0x28, 0x52, 0x2e, 0x09, 0xcb, 0x22, 0xc8, 0x14, 0x2b, 0x40, - 0x92, 0x62, 0x4a, 0x62, 0xc8, 0x40, 0x32, 0x89, 0x73, 0xc1, 0x15, 0x77, 0xee, 0x19, 0x04, 0xd7, - 0x08, 0x2e, 0xa6, 0xfd, 0xc7, 0x6d, 0x7d, 0x0d, 0xc4, 0xb4, 0xf6, 0xef, 0xc7, 0x3c, 0xe6, 0xe6, - 0x48, 0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0xa2, 0xbe, 0xe6, + 0x20, 0xf1, 0x02, 0xa2, 0xe0, 0x56, 0xed, 0x79, 0xad, 0x35, 0xce, 0x0b, 0x34, 0xac, 0x07, 0x08, + 0x21, 0xe7, 0xd1, 0x2e, 0x64, 0x5b, 0x5d, 0x7f, 0x60, 0x20, 0xdc, 0xae, 0x4e, 0x09, 0xee, 0xd5, + 0xc8, 0x4b, 0x4d, 0xac, 0xfe, 0x01, 0xce, 0x1a, 0xdd, 0x14, 0xf0, 0x99, 0x8a, 0x6d, 0x28, 0x23, + 0x9a, 0x80, 0x70, 0x2f, 0xfe, 0x6b, 0xae, 0xeb, 0x52, 0xb2, 0x36, 0x0e, 0xff, 0xd5, 0xfe, 0xe4, + 0xd9, 0x87, 0x93, 0x67, 0xff, 0x3e, 0x79, 0xf6, 0xb7, 0xb3, 0x67, 0x1d, 0xce, 0x9e, 0xf5, 0xf3, + 0xec, 0x59, 0xef, 0x71, 0xc3, 0xa7, 0x76, 0x54, 0x48, 0x26, 0x49, 0xb9, 0x66, 0xc5, 0x33, 0xf2, + 0xa5, 0xb9, 0x6b, 0xc6, 0xbd, 0xe9, 0x99, 0x75, 0x7a, 0xfa, 0x27, 0x00, 0x00, 0xff, 0xff, 0xbe, + 0x58, 0x4f, 0xa7, 0xc4, 0x02, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/incentives/types/incentives.pb.go b/x/incentives/types/incentives.pb.go index 99bc7b4f06..308b9d5c6b 100644 --- a/x/incentives/types/incentives.pb.go +++ b/x/incentives/types/incentives.pb.go @@ -334,38 +334,38 @@ func init() { } var fileDescriptor_95b81e40854aec77 = []byte{ - // 491 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x93, 0xbf, 0x6f, 0xd3, 0x40, - 0x14, 0xc7, 0xe3, 0x24, 0xad, 0x92, 0x8b, 0xca, 0x60, 0x2a, 0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 0x12, 0x44, 0xa9, 0x0a, 0x23, 0x57, 0x0b, 0xef, 0xb8, 0xfe, - 0x6b, 0x7d, 0x70, 0xfb, 0x46, 0x87, 0x77, 0xbc, 0xd1, 0x83, 0xee, 0x46, 0x5f, 0x0e, 0xff, 0x7c, - 0x9f, 0xf5, 0xe6, 0x40, 0x1e, 0xae, 0x79, 0x2e, 0x64, 0x7a, 0x27, 0x0a, 0xd4, 0xd0, 0xd5, 0xeb, - 0xcb, 0x9d, 0xef, 0x5c, 0xed, 0x7c, 0xe7, 0xf7, 0xce, 0x77, 0x2e, 0xf6, 0x7e, 0xef, 0x6a, 0xef, - 0xf7, 0x7e, 0xee, 0xfd, 0xde, 0x07, 0xda, 0x19, 0x13, 0x37, 0xbc, 0x04, 0x05, 0xac, 0x7e, 0xc2, - 0xd5, 0x92, 0x7d, 0xee, 0xbe, 0x63, 0x3b, 0x72, 0x7c, 0x68, 0xaf, 0xde, 0xf2, 0x6f, 0x00, 0x00, - 0x00, 0xff, 0xff, 0xb4, 0x63, 0x99, 0x37, 0xe8, 0x03, 0x00, 0x00, + // 493 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x93, 0x3d, 0x6f, 0xd4, 0x4c, + 0x10, 0xc7, 0xcf, 0xf7, 0x12, 0xdd, 0xed, 0x29, 0x4f, 0xe1, 0x27, 0x02, 0x73, 0x20, 0x9f, 0x75, + 0x02, 0xc9, 0x12, 0x62, 0x57, 0x97, 0x88, 0x86, 0xf2, 0x0e, 0x29, 0x50, 0x20, 0x21, 0x8b, 0x8a, + 0x26, 0x5a, 0x6f, 0x16, 0xdf, 0x0a, 0xdb, 0x6b, 0x79, 0xe6, 0x2c, 0x68, 0xf9, 0x04, 0xa9, 0xa8, + 0xa9, 0xf9, 0x24, 0x29, 0x53, 0x52, 0x11, 0x74, 0xd7, 0xf0, 0x31, 0xd0, 0xae, 0xed, 0x60, 0x9a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6, 0x7e, 0xef, + 0x6a, 0xef, 0xf7, 0x7e, 0xec, 0xfd, 0xde, 0x7b, 0xda, 0x19, 0x13, 0x37, 0xbc, 0x04, 0x05, 0xac, + 0x7e, 0xc2, 0xd5, 0x73, 0xf6, 0xa9, 0xfb, 0x8e, 0xed, 0xc8, 0xf1, 0x81, 0xbd, 0x7a, 0x27, 0x7f, + 0x02, 0x00, 0x00, 0xff, 0xff, 0xfa, 0x6d, 0x25, 0x32, 0xe8, 0x03, 0x00, 0x00, } func (m *Incentive) Marshal() (dAtA []byte, err error) { diff --git a/x/incentives/types/interfaces.go b/x/incentives/types/interfaces.go index a67c320e0e..3b43b7d451 100644 --- a/x/incentives/types/interfaces.go +++ b/x/incentives/types/interfaces.go @@ -14,7 +14,7 @@ import ( "github.com/tharsis/ethermint/x/evm/statedb" evmtypes "github.com/tharsis/ethermint/x/evm/types" - inflationtypes "github.com/tharsis/evmos/v4/x/inflation/types" + inflationtypes "github.com/tharsis/evmos/v5/x/inflation/types" ) // AccountKeeper defines the expected interface needed to retrieve account info. diff --git a/x/incentives/types/params.go b/x/incentives/types/params.go index 6cd25a3f79..c32bb75121 100644 --- a/x/incentives/types/params.go +++ b/x/incentives/types/params.go @@ -8,7 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - epochstypes "github.com/tharsis/evmos/v4/x/epochs/types" + epochstypes "github.com/tharsis/evmos/v5/x/epochs/types" ) // Parameter store key diff --git a/x/incentives/types/params_test.go b/x/incentives/types/params_test.go index ddc0847909..2b034b8b94 100644 --- a/x/incentives/types/params_test.go +++ b/x/incentives/types/params_test.go @@ -9,7 +9,7 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - epochstypes "github.com/tharsis/evmos/v4/x/epochs/types" + epochstypes "github.com/tharsis/evmos/v5/x/epochs/types" ) type ParamsTestSuite struct { diff --git a/x/incentives/types/query.pb.go b/x/incentives/types/query.pb.go index af4670d401..01822d8aa7 100644 --- a/x/incentives/types/query.pb.go +++ b/x/incentives/types/query.pb.go @@ -736,60 +736,60 @@ func init() { func init() { proto.RegisterFile("evmos/incentives/v1/query.proto", fileDescriptor_ee5d2766935e7631) } var fileDescriptor_ee5d2766935e7631 = []byte{ - // 842 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x96, 0x4f, 0x4f, 0x13, 0x5b, - 0x18, 0xc6, 0x7b, 0xb8, 0x40, 0xda, 0xc3, 0x02, 0xee, 0xa1, 0xf7, 0x5e, 0xd2, 0xc2, 0x14, 0xe6, - 0xde, 0x40, 0x6f, 0xc1, 0x19, 0xda, 0x1a, 0xa3, 0xae, 0xb4, 0x12, 0xd1, 0x85, 0x09, 0x36, 0xae, - 0x8c, 0x89, 0x9e, 0x0e, 0xc7, 0x61, 0x22, 0x9d, 0x33, 0xf4, 0x0c, 0x8d, 0xa4, 0x62, 0x8c, 0x9f, - 0x80, 0xc4, 0x8d, 0x0b, 0x77, 0xc6, 0x44, 0x5d, 0xf8, 0x39, 0x58, 0x92, 0x98, 0x18, 0x57, 0x6a, - 0xc0, 0x85, 0x1f, 0xc3, 0xf4, 0xcc, 0x39, 0xd3, 0x99, 0x61, 0x4a, 0x07, 0x83, 0x2b, 0xda, 0x33, - 0xef, 0x9f, 0xdf, 0xf3, 0xbe, 0x9c, 0x67, 0x0a, 0x0b, 0xa4, 0xdd, 0xa4, 0x4c, 0xb7, 0x6c, 0x83, - 0xd8, 0xae, 0xd5, 0x26, 0x4c, 0x6f, 0x97, 0xf5, 0xad, 0x6d, 0xd2, 0xda, 0xd1, 0x9c, 0x16, 0x75, - 0x29, 0x9a, 0xe4, 0x01, 0x5a, 0x2f, 0x40, 0x6b, 0x97, 0x73, 0x25, 0x83, 0xb2, 0x6e, 0x5a, 0x03, - 0x33, 0xe2, 0x45,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0xbd, 0x13, 0x30, 0xcf, 0x5d, 0xf4, 0x0e, 0xc0, 0x89, 0xa8, 0x35, 0xa1, 0x72, - 0x7f, 0x84, 0x3e, 0x7e, 0x99, 0xab, 0x9c, 0x26, 0x45, 0xd0, 0x6b, 0x9c, 0xbe, 0x88, 0xe6, 0x63, - 0xe9, 0x8f, 0x99, 0x22, 0xfa, 0x00, 0xe0, 0x78, 0xa4, 0x18, 0x5a, 0x4e, 0xdc, 0x57, 0x92, 0x96, - 0x4f, 0x91, 0x21, 0x40, 0x2f, 0x70, 0xd0, 0x65, 0xa4, 0x25, 0x03, 0xd5, 0x3b, 0xdc, 0xdb, 0x76, - 0xd1, 0x33, 0x00, 0x47, 0xbd, 0xeb, 0x8e, 0x16, 0xfa, 0x77, 0x0d, 0x79, 0x4b, 0xae, 0x38, 0x38, - 0x50, 0x50, 0xfd, 0xcb, 0xa9, 0x66, 0x50, 0x3e, 0x96, 0xca, 0x33, 0x96, 0xda, 0x8d, 0xfd, 0x43, - 0x05, 0x1c, 0x1c, 0x2a, 0xe0, 0xdb, 0xa1, 0x02, 0xf6, 0x8e, 0x94, 0xd4, 0xc1, 0x91, 0x92, 0xfa, - 0x7c, 0xa4, 0xa4, 0xee, 0x6a, 0x01, 0x63, 0x74, 0x37, 0x70, 0x8b, 0x59, 0x4c, 0x14, 0x6a, 0x57, - 0xf5, 0xc7, 0xc1, 0x6a, 0xdc, 0x24, 0x1b, 0xa3, 0xfc, 0x97, 0x68, 0xf5, 0x67, 0x00, 0x00, 0x00, - 0xff, 0xff, 0x7e, 0x19, 0xce, 0x58, 0x8a, 0x0b, 0x00, 0x00, + // 841 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x96, 0x4f, 0x4f, 0x13, 0x4d, + 0x1c, 0xc7, 0x3b, 0x3c, 0x40, 0xda, 0xe1, 0x00, 0xcf, 0xd0, 0xe7, 0x79, 0x48, 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 0x47, 0x73, 0xbd, 0xbb, 0x86, 0xbc, 0x25, 0x57, 0xec, 0x1f, 0x28, + 0xa8, 0xfe, 0xe7, 0x54, 0x53, 0x28, 0x1f, 0x4b, 0xe5, 0x19, 0x4b, 0xf5, 0xe6, 0xde, 0x81, 0x02, + 0xf6, 0x0f, 0x14, 0xf0, 0xfd, 0x40, 0x01, 0xbb, 0x87, 0x4a, 0x6a, 0xff, 0x50, 0x49, 0x7d, 0x39, + 0x54, 0x52, 0xf7, 0xb4, 0x80, 0x31, 0xba, 0xeb, 0xb8, 0xc9, 0x2c, 0x26, 0x0a, 0xb5, 0x2e, 0xe8, + 0x4f, 0x82, 0xd5, 0xb8, 0x49, 0xd6, 0x87, 0xf9, 0x2f, 0xd1, 0xa5, 0x5f, 0x01, 0x00, 0x00, 0xff, + 0xff, 0x30, 0x17, 0x72, 0x5d, 0x8a, 0x0b, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/incentives/types/query.pb.gw.go b/x/incentives/types/query.pb.gw.go index 627ef2a313..ac1ba68989 100644 --- a/x/incentives/types/query.pb.gw.go +++ b/x/incentives/types/query.pb.gw.go @@ -20,7 +20,6 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" - "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" ) @@ -31,7 +30,6 @@ var _ status.Status var _ = runtime.String var _ = utilities.NewDoubleArray var _ = descriptor.ForMessage -var _ = metadata.Join var ( filter_Query_Incentives_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} @@ -382,14 +380,12 @@ func local_request_Query_Params_0(ctx context.Context, marshaler runtime.Marshal // RegisterQueryHandlerServer registers the http handlers for service Query to "mux". // UnaryRPC :call QueryServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead. +// Note that using this registration option will cause many gRPC library features (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead. func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error { mux.Handle("GET", pattern_Query_Incentives_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) if err != nil { @@ -397,7 +393,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } resp, md, err := local_request_Query_Incentives_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) @@ -411,8 +406,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv mux.Handle("GET", pattern_Query_Incentive_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) if err != nil { @@ -420,7 +413,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } resp, md, err := local_request_Query_Incentive_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) @@ -434,8 +426,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv mux.Handle("GET", pattern_Query_GasMeters_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) if err != nil { @@ -443,7 +433,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } resp, md, err := local_request_Query_GasMeters_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) @@ -457,8 +446,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv mux.Handle("GET", pattern_Query_GasMeter_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) if err != nil { @@ -466,7 +453,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } resp, md, err := local_request_Query_GasMeter_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) @@ -480,8 +466,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv mux.Handle("GET", pattern_Query_AllocationMeters_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) if err != nil { @@ -489,7 +473,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } resp, md, err := local_request_Query_AllocationMeters_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) @@ -503,8 +486,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv mux.Handle("GET", pattern_Query_AllocationMeter_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) if err != nil { @@ -512,7 +493,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } resp, md, err := local_request_Query_AllocationMeter_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) @@ -526,8 +506,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) if err != nil { @@ -535,7 +513,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } resp, md, err := local_request_Query_Params_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) diff --git a/x/inflation/client/cli/query.go b/x/inflation/client/cli/query.go index 767c923d3a..daf5c2e53e 100644 --- a/x/inflation/client/cli/query.go +++ b/x/inflation/client/cli/query.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/tharsis/evmos/v4/x/inflation/types" + "github.com/tharsis/evmos/v5/x/inflation/types" ) // GetQueryCmd returns the cli query commands for the inflation module. diff --git a/x/inflation/genesis.go b/x/inflation/genesis.go index 36a41e5518..23abafae18 100644 --- a/x/inflation/genesis.go +++ b/x/inflation/genesis.go @@ -2,8 +2,8 @@ package inflation import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/evmos/v4/x/inflation/keeper" - "github.com/tharsis/evmos/v4/x/inflation/types" + "github.com/tharsis/evmos/v5/x/inflation/keeper" + "github.com/tharsis/evmos/v5/x/inflation/types" ) // InitGenesis import module genesis diff --git a/x/inflation/keeper/epoch_info.go b/x/inflation/keeper/epoch_info.go index 26b339ecba..1bf57b4500 100644 --- a/x/inflation/keeper/epoch_info.go +++ b/x/inflation/keeper/epoch_info.go @@ -2,7 +2,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/evmos/v4/x/inflation/types" + "github.com/tharsis/evmos/v5/x/inflation/types" ) // GetEpochIdentifier gets the epoch identifier diff --git a/x/inflation/keeper/epoch_info_test.go b/x/inflation/keeper/epoch_info_test.go index 0f293a75a4..faf8c32ac9 100644 --- a/x/inflation/keeper/epoch_info_test.go +++ b/x/inflation/keeper/epoch_info_test.go @@ -3,8 +3,8 @@ package keeper_test import ( "fmt" - epochstypes "github.com/tharsis/evmos/v4/x/epochs/types" - "github.com/tharsis/evmos/v4/x/inflation/types" + epochstypes "github.com/tharsis/evmos/v5/x/epochs/types" + "github.com/tharsis/evmos/v5/x/inflation/types" ) func (suite *KeeperTestSuite) TestSetGetEpochIdentifier() { diff --git a/x/inflation/keeper/epoch_mint_provisions.go b/x/inflation/keeper/epoch_mint_provisions.go index a6f61f1c0f..6debc06e8f 100644 --- a/x/inflation/keeper/epoch_mint_provisions.go +++ b/x/inflation/keeper/epoch_mint_provisions.go @@ -4,7 +4,7 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/evmos/v4/x/inflation/types" + "github.com/tharsis/evmos/v5/x/inflation/types" ) // GetEpochMintProvision gets the current EpochMintProvision diff --git a/x/inflation/keeper/grpc_query.go b/x/inflation/keeper/grpc_query.go index efc0f90d3d..57970fd071 100644 --- a/x/inflation/keeper/grpc_query.go +++ b/x/inflation/keeper/grpc_query.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/evmos/v4/x/inflation/types" + "github.com/tharsis/evmos/v5/x/inflation/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/x/inflation/keeper/grpc_query_test.go b/x/inflation/keeper/grpc_query_test.go index dad0d56f8c..5317ad1a0f 100644 --- a/x/inflation/keeper/grpc_query_test.go +++ b/x/inflation/keeper/grpc_query_test.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/evmos/v4/x/inflation/types" + "github.com/tharsis/evmos/v5/x/inflation/types" ) func (suite *KeeperTestSuite) TestPeriod() { diff --git a/x/inflation/keeper/hooks.go b/x/inflation/keeper/hooks.go index d329e9e78a..3471cb7c09 100644 --- a/x/inflation/keeper/hooks.go +++ b/x/inflation/keeper/hooks.go @@ -6,8 +6,8 @@ import ( "github.com/armon/go-metrics" "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" - epochstypes "github.com/tharsis/evmos/v4/x/epochs/types" - "github.com/tharsis/evmos/v4/x/inflation/types" + epochstypes "github.com/tharsis/evmos/v5/x/epochs/types" + "github.com/tharsis/evmos/v5/x/inflation/types" ) // BeforeEpochStart: noop, We don't need to do anything here diff --git a/x/inflation/keeper/hooks_test.go b/x/inflation/keeper/hooks_test.go index bd2702054a..aae1e2bfd4 100644 --- a/x/inflation/keeper/hooks_test.go +++ b/x/inflation/keeper/hooks_test.go @@ -4,8 +4,8 @@ import ( "fmt" "time" - epochstypes "github.com/tharsis/evmos/v4/x/epochs/types" - "github.com/tharsis/evmos/v4/x/inflation/types" + epochstypes "github.com/tharsis/evmos/v5/x/epochs/types" + "github.com/tharsis/evmos/v5/x/inflation/types" ) func (suite *KeeperTestSuite) TestEpochIdentifierAfterEpochEnd() { diff --git a/x/inflation/keeper/inflation.go b/x/inflation/keeper/inflation.go index 05c5cbb1cf..8a883669d5 100644 --- a/x/inflation/keeper/inflation.go +++ b/x/inflation/keeper/inflation.go @@ -5,9 +5,9 @@ import ( ethermint "github.com/tharsis/ethermint/types" - evmos "github.com/tharsis/evmos/v4/types" - incentivestypes "github.com/tharsis/evmos/v4/x/incentives/types" - "github.com/tharsis/evmos/v4/x/inflation/types" + evmos "github.com/tharsis/evmos/v5/types" + incentivestypes "github.com/tharsis/evmos/v5/x/incentives/types" + "github.com/tharsis/evmos/v5/x/inflation/types" ) // 200M token at year 4 allocated to the team diff --git a/x/inflation/keeper/inflation_test.go b/x/inflation/keeper/inflation_test.go index 99319156a2..e24d53a3a3 100644 --- a/x/inflation/keeper/inflation_test.go +++ b/x/inflation/keeper/inflation_test.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - incentivestypes "github.com/tharsis/evmos/v4/x/incentives/types" - "github.com/tharsis/evmos/v4/x/inflation/types" + incentivestypes "github.com/tharsis/evmos/v5/x/incentives/types" + "github.com/tharsis/evmos/v5/x/inflation/types" ) func (suite *KeeperTestSuite) TestMintAndAllocateInflation() { diff --git a/x/inflation/keeper/integration_test.go b/x/inflation/keeper/integration_test.go index 0682da60f1..3c2d89469d 100644 --- a/x/inflation/keeper/integration_test.go +++ b/x/inflation/keeper/integration_test.go @@ -8,8 +8,8 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - epochstypes "github.com/tharsis/evmos/v4/x/epochs/types" - incentivestypes "github.com/tharsis/evmos/v4/x/incentives/types" + epochstypes "github.com/tharsis/evmos/v5/x/epochs/types" + incentivestypes "github.com/tharsis/evmos/v5/x/incentives/types" ) var ( diff --git a/x/inflation/keeper/keeper.go b/x/inflation/keeper/keeper.go index f705c6844b..3f5218ab30 100644 --- a/x/inflation/keeper/keeper.go +++ b/x/inflation/keeper/keeper.go @@ -7,7 +7,7 @@ import ( "github.com/tendermint/tendermint/libs/log" - "github.com/tharsis/evmos/v4/x/inflation/types" + "github.com/tharsis/evmos/v5/x/inflation/types" ) // Keeper of the inflation store diff --git a/x/inflation/keeper/keeper_test.go b/x/inflation/keeper/keeper_test.go index 2f87e069a1..3d21deb78b 100644 --- a/x/inflation/keeper/keeper_test.go +++ b/x/inflation/keeper/keeper_test.go @@ -19,9 +19,9 @@ import ( evm "github.com/tharsis/ethermint/x/evm/types" - "github.com/tharsis/evmos/v4/app" - epochstypes "github.com/tharsis/evmos/v4/x/epochs/types" - "github.com/tharsis/evmos/v4/x/inflation/types" + "github.com/tharsis/evmos/v5/app" + epochstypes "github.com/tharsis/evmos/v5/x/epochs/types" + "github.com/tharsis/evmos/v5/x/inflation/types" ) var denomMint = types.DefaultInflationDenom diff --git a/x/inflation/keeper/params.go b/x/inflation/keeper/params.go index f69ed580f0..eeca2a7a13 100644 --- a/x/inflation/keeper/params.go +++ b/x/inflation/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/evmos/v4/x/inflation/types" + "github.com/tharsis/evmos/v5/x/inflation/types" ) // GetParams returns the total set of inflation parameters. diff --git a/x/inflation/keeper/params_test.go b/x/inflation/keeper/params_test.go index d54643fcfe..ee8d9a26b7 100644 --- a/x/inflation/keeper/params_test.go +++ b/x/inflation/keeper/params_test.go @@ -1,7 +1,7 @@ package keeper_test import ( - "github.com/tharsis/evmos/v4/x/inflation/types" + "github.com/tharsis/evmos/v5/x/inflation/types" ) func (suite *KeeperTestSuite) TestParams() { diff --git a/x/inflation/keeper/periods.go b/x/inflation/keeper/periods.go index 7a51d831e7..941b6b6600 100644 --- a/x/inflation/keeper/periods.go +++ b/x/inflation/keeper/periods.go @@ -2,7 +2,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/evmos/v4/x/inflation/types" + "github.com/tharsis/evmos/v5/x/inflation/types" ) // GetPeriod gets current period diff --git a/x/inflation/module.go b/x/inflation/module.go index c9aa0cdaf7..00a2d1acad 100644 --- a/x/inflation/module.go +++ b/x/inflation/module.go @@ -19,9 +19,9 @@ import ( "github.com/spf13/cobra" abci "github.com/tendermint/tendermint/abci/types" - "github.com/tharsis/evmos/v4/x/inflation/client/cli" - "github.com/tharsis/evmos/v4/x/inflation/keeper" - "github.com/tharsis/evmos/v4/x/inflation/types" + "github.com/tharsis/evmos/v5/x/inflation/client/cli" + "github.com/tharsis/evmos/v5/x/inflation/keeper" + "github.com/tharsis/evmos/v5/x/inflation/types" ) // type check to ensure the interface is properly implemented diff --git a/x/inflation/types/genesis.go b/x/inflation/types/genesis.go index e1352161f7..7a5beb0407 100644 --- a/x/inflation/types/genesis.go +++ b/x/inflation/types/genesis.go @@ -3,7 +3,7 @@ package types import ( fmt "fmt" - epochstypes "github.com/tharsis/evmos/v4/x/epochs/types" + epochstypes "github.com/tharsis/evmos/v5/x/epochs/types" ) // NewGenesisState creates a new GenesisState object diff --git a/x/inflation/types/genesis.pb.go b/x/inflation/types/genesis.pb.go index 80c6d5cec8..3b16bb239b 100644 --- a/x/inflation/types/genesis.pb.go +++ b/x/inflation/types/genesis.pb.go @@ -186,34 +186,34 @@ func init() { func init() { proto.RegisterFile("evmos/inflation/v1/genesis.proto", fileDescriptor_1cb8eee530db1235) } var fileDescriptor_1cb8eee530db1235 = []byte{ - // 417 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x52, 0x41, 0x6f, 0xd3, 0x30, - 0x14, 0xae, 0xd7, 0x52, 0x51, 0x0f, 0x18, 0x58, 0x50, 0xaa, 0x4a, 0x84, 0xa8, 0x12, 0x52, 0x37, - 0x89, 0x44, 0xdb, 0x2e, 0x9c, 0xc7, 0xa6, 0x69, 0xb7, 0x2a, 0xdc, 0xb8, 0x58, 0x6e, 0xf2, 0x9a, - 0x5a, 0x24, 0xb6, 0x65, 0xbb, 0xd1, 0xf8, 0x17, 0xfc, 0x09, 0xfe, 0xcb, 0x8e, 0x3b, 0x72, 0x9a, - 0x50, 0xfb, 0x47, 0x50, 0xec, 0x90, 0x4e, 0x5a, 0x6e, 0xf6, 0xf7, 0x7d, 0xef, 0xfb, 0xde, 0x7b, - 0x7a, 0x38, 0x84, 0xaa, 0x94, 0x26, 0xe6, 0x62, 0x55, 0x30, 0xcb, 0xa5, 0x88, 0xab, 0xd3, 0x38, - 0x07, 0x01, 0x86, 0x9b, 0x48, 0x69, 0x69, 0x25, 0x21, 0x4e, 0x11, 0xb5, 0x8a, 0xa8, 0x3a, 0x9d, - 0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, 0x92, 0xaf, 0xfb, 0x8a, 0x66, 0x35, 0x63, 0xe8, 0x64, 0xc9, - 0x0a, 0x8f, 0x5b, 0x13, 0x9a, 0x71, 0x63, 0x35, 0x5f, 0x6e, 0x5c, 0x52, 0xdf, 0x25, 0x1d, 0x77, - 0x25, 0xdd, 0xfc, 0xff, 0x5c, 0x3e, 0x2a, 0x68, 0x82, 0xde, 0xf1, 0x2e, 0xd2, 0xad, 0x5e, 0xb0, - 0x65, 0x01, 0xb4, 0xe5, 0xdd, 0x3a, 0x9f, 0x27, 0x47, 0x1e, 0x6f, 0x3d, 0x2f, 0xae, 0xef, 0xb6, - 0x01, 0xba, 0xdf, 0x06, 0xe8, 0xef, 0x36, 0x40, 0xbf, 0x76, 0x41, 0xef, 0x7e, 0x17, 0xf4, 0xfe, - 0xec, 0x82, 0xde, 0xf7, 0xcf, 0x39, 0xb7, 0xeb, 0xcd, 0x32, 0x4a, 0x65, 0x19, 0xdb, 0x35, 0xd3, - 0x86, 0x9b, 0xd8, 0x5f, 0x56, 0x75, 0x1e, 0xdf, 0x3e, 0x3a, 0x2f, 0xfb, 0x53, 0x81, 0x59, 0x0e, - 0xdd, 0x61, 0x9d, 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, 0xe0, 0x3c, 0x1f, 0xb7, 0xca, 0x02, 0x00, - 0x00, + // 418 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x52, 0xd1, 0x6a, 0xdb, 0x30, + 0x14, 0x8d, 0x9a, 0x2c, 0x2c, 0xea, 0xb6, 0x6e, 0x62, 0xcb, 0x42, 0x60, 0x9e, 0x09, 0x0c, 0xd2, + 0xc2, 0x6c, 0xda, 0x31, 0xd8, 0x73, 0xd7, 0x52, 0xfa, 0x16, 0xbc, 0xb7, 0xbd, 0x08, 0xc5, 0xbe, + 0x71, 0xc4, 0x6c, 0x49, 0x48, 0x8a, 0xe9, 0x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GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/inflation/types/genesis_test.go b/x/inflation/types/genesis_test.go index 67404f8137..d87a57f95c 100644 --- a/x/inflation/types/genesis_test.go +++ b/x/inflation/types/genesis_test.go @@ -4,7 +4,7 @@ import ( "testing" "github.com/stretchr/testify/suite" - epochstypes "github.com/tharsis/evmos/v4/x/epochs/types" + epochstypes "github.com/tharsis/evmos/v5/x/epochs/types" ) type GenesisTestSuite struct { diff --git a/x/inflation/types/inflation.pb.go b/x/inflation/types/inflation.pb.go index 2ce9ca9795..ba9a5978f8 100644 --- a/x/inflation/types/inflation.pb.go +++ b/x/inflation/types/inflation.pb.go @@ -27,7 +27,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // InflationDistribution defines the distribution in which inflation is // allocated through minting on each epoch (staking, incentives, community). It // excludes the team vesting distribution, as this is minted once at genesis. -// The initial InflationDistribution can be calculated from the Evmvos Token +// The initial InflationDistribution can be calculated from the Evmos Token // Model like this: // mintDistribution1 = distribution1 / (1 - teamVestingDistribution) // 0.5333333 = 40% / (1 - 25%) @@ -137,31 +137,31 @@ func init() { } var fileDescriptor_d064cb35c3ff7df8 = []byte{ - // 369 bytes of a gzipped FileDescriptorProto + // 370 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0xbb, 0x4e, 0xc3, 0x30, 0x14, 0x86, 0xe3, 0x72, 0x91, 0x30, 0xd0, 0xa2, 0x08, 0x50, 0xc4, 0x90, 0xa2, 0x0e, 0x88, 0xa5, - 0x89, 0xaa, 0xae, 0x4c, 0xa5, 0x08, 0x75, 0x83, 0x8a, 0x8b, 0x60, 0x89, 0x1c, 0xd7, 0xa4, 0x56, - 0x13, 0x3b, 0xb2, 0x9d, 0x90, 0xbe, 0x05, 0xcf, 0xc0, 0xd3, 0x74, 0xec, 0x88, 0x18, 0x2a, 0xd4, - 0xbe, 0x06,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 0x7d, 0x15, 0x12, 0x01, 0x51, 0xd6, 0x66, 0x39, 0xaf, 0x16, 0x94, 0x87, + 0x1c, 0x62, 0xde, 0xc3, 0xbd, 0x08, 0x65, 0x5e, 0x8a, 0x04, 0x45, 0x0c, 0x13, 0x6b, 0xab, 0x14, + 0x74, 0x37, 0x42, 0xd9, 0xd3, 0x02, 0xd1, 0xbe, 0x1d, 0xcf, 0x6c, 0x30, 0x99, 0xd9, 0xe0, 0x67, + 0x66, 0x83, 0x8f, 0xb9, 0x6d, 0x4c, 0xe6, 0xb6, 0xf1, 0x35, 0xb7, 0x8d, 0xd7, 0xe6, 0x1a, 0x4e, + 0x0d, 0x90, 0x90, 0x54, 0xba, 0x45, 0x7b, 0xa4, 0x97, 0x6e, 0xb6, 0xd6, 0x23, 0x39, 0xd9, 0xdf, + 0xce, 0xff, 0xfc, 0xc5, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x41, 0xcc, 0x4e, 0xc1, 0x43, 0x03, + 0x00, 0x00, } func (m *InflationDistribution) Marshal() (dAtA []byte, err error) { diff --git a/x/inflation/types/query.pb.go b/x/inflation/types/query.pb.go index 38ee97c82f..545d727921 100644 --- a/x/inflation/types/query.pb.go +++ b/x/inflation/types/query.pb.go @@ -548,50 +548,50 @@ func init() { func init() { proto.RegisterFile("evmos/inflation/v1/query.proto", fileDescriptor_91b9f1b5d47c7fd7) } var fileDescriptor_91b9f1b5d47c7fd7 = []byte{ - // 685 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x95, 0x31, 0x6f, 0x13, 0x3f, - 0x14, 0xc0, 0xe3, 0xbf, 0xfa, 0x0f, 0xc2, 0xa8, 0x95, 0x6a, 0x2a, 0x04, 0x47, 0xb9, 0x54, 0x27, - 0x28, 0x55, 0x51, 0x6c, 0x92, 0x2c, 0xcc, 0x2d, 0x08, 0x31, 0x20, 0x4a, 0x2a, 0x16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x98, 0x5c, - 0x13, 0x26, 0xe9, 0x32, 0x74, 0xc2, 0x24, 0x9d, 0xce, 0x4e, 0x9e, 0xe4, 0xb8, 0xcd, 0xc6, 0x0b, - 0xe3, 0xca, 0x24, 0x2f, 0x46, 0x25, 0x9d, 0xe4, 0xc5, 0x98, 0xb6, 0x67, 0x78, 0x91, 0xe9, 0xfa, - 0x78, 0xff, 0xc8, 0x07, 0x07, 0x47, 0x3e, 0xf8, 0x7d, 0xe4, 0x83, 0x0f, 0xc7, 0x7e, 0xe5, 0xe0, - 0xd8, 0xaf, 0xfc, 0x38, 0xf6, 0x2b, 0x2f, 0xeb, 0x23, 0x2f, 0x16, 0xbd, 0x19, 0x26, 0x8a, 0x29, - 0x5b, 0x67, 0xd0, 0x22, 0xaf, 0x47, 0x8a, 0x99, 0x77, 0x4c, 0xb7, 0x6a, 0xfe, 0x23, 0x5b, 0x7f, - 0x03, 0x00, 0x00, 0xff, 0xff, 0xd8, 0x02, 0x8d, 0xf3, 0xcf, 0x07, 0x00, 0x00, + // 684 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x95, 0x31, 0x6f, 0x13, 0x31, + 0x14, 0x80, 0x63, 0x54, 0x82, 0x30, 0x6a, 0xa5, 0x9a, 0x0a, 0xc1, 0x51, 0x2e, 0xd5, 0x09, 0x4a, + 0x55, 0x14, 0x9b, 0xa4, 0x42, 0x62, 0x6e, 0x41, 0x88, 0x01, 0x51, 0x52, 0xb1, 0xb0, 0x44, 0x97, + 0xab, 0xb9, 0x5a, 0x6d, 0x6c, 0xf7, 0xec, 0x44, 0x74, 0x40, 0x42, 0xf0, 0x07, 0x90, 0xd8, 0x18, + 0x58, 0x18, 0x90, 0xba, 0xf0, 0x37, 0x3a, 0x56, 0x62, 0x41, 0x0c, 0x05, 0xb5, 0xfc, 0x10, 0x74, + 0x3e, 0x5f, 0x9a, 0xf4, 0x7c, 0x69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, 0xe7, 0xd0, 0x07, 0x1f, 0x8f, 0xfc, 0xca, 0xfe, 0x91, + 0x5f, 0xf9, 0x79, 0xe4, 0x57, 0x5e, 0xd5, 0x87, 0x5e, 0x2c, 0x7a, 0x23, 0x4c, 0x14, 0x53, 0xb6, + 0x4e, 0xff, 0x01, 0x79, 0x33, 0x54, 0xcc, 0xbc, 0x63, 0x3a, 0x55, 0xf3, 0x1f, 0xb9, 0xf4, 0x2f, + 0x00, 0x00, 0xff, 0xff, 0x1f, 0x5f, 0xd4, 0x4f, 0xcf, 0x07, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/inflation/types/query.pb.gw.go b/x/inflation/types/query.pb.gw.go index cd1654f3f8..9a4f60f4b6 100644 --- a/x/inflation/types/query.pb.gw.go +++ b/x/inflation/types/query.pb.gw.go @@ -20,7 +20,6 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" - "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" ) @@ -31,7 +30,6 @@ var _ status.Status var _ = runtime.String var _ = utilities.NewDoubleArray var _ = descriptor.ForMessage -var _ = metadata.Join func request_Query_Period_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryPeriodRequest @@ -144,14 +142,12 @@ func local_request_Query_Params_0(ctx context.Context, marshaler runtime.Marshal // RegisterQueryHandlerServer registers the http handlers for service Query to "mux". // UnaryRPC :call QueryServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead. +// Note that using this registration option will cause many gRPC library features (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead. func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error { mux.Handle("GET", pattern_Query_Period_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) if err != nil { @@ -159,7 +155,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } resp, md, err := local_request_Query_Period_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) @@ -173,8 +168,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv mux.Handle("GET", pattern_Query_EpochMintProvision_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) if err != nil { @@ -182,7 +175,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } resp, md, err := local_request_Query_EpochMintProvision_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) @@ -196,8 +188,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv mux.Handle("GET", pattern_Query_SkippedEpochs_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) if err != nil { @@ -205,7 +195,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } resp, md, err := local_request_Query_SkippedEpochs_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) @@ -219,8 +208,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv mux.Handle("GET", pattern_Query_CirculatingSupply_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) if err != nil { @@ -228,7 +215,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } resp, md, err := local_request_Query_CirculatingSupply_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) @@ -242,8 +228,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv mux.Handle("GET", pattern_Query_InflationRate_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) if err != nil { @@ -251,7 +235,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } resp, md, err := local_request_Query_InflationRate_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) @@ -265,8 +248,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) if err != nil { @@ -274,7 +255,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } resp, md, err := local_request_Query_Params_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) diff --git a/x/recovery/client/cli/query.go b/x/recovery/client/cli/query.go index be8708896e..0ac9b6b4a3 100644 --- a/x/recovery/client/cli/query.go +++ b/x/recovery/client/cli/query.go @@ -7,7 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/tharsis/evmos/v4/x/recovery/types" + "github.com/tharsis/evmos/v5/x/recovery/types" ) // GetQueryCmd returns the parent command for all recovery CLI query commands. diff --git a/x/recovery/genesis.go b/x/recovery/genesis.go index 109099b444..f52c77a7f6 100644 --- a/x/recovery/genesis.go +++ b/x/recovery/genesis.go @@ -3,8 +3,8 @@ package recovery import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/evmos/v4/x/recovery/keeper" - "github.com/tharsis/evmos/v4/x/recovery/types" + "github.com/tharsis/evmos/v5/x/recovery/keeper" + "github.com/tharsis/evmos/v5/x/recovery/types" ) // InitGenesis import module genesis diff --git a/x/recovery/genesis_test.go b/x/recovery/genesis_test.go index 48d17efe6a..5528277d4a 100644 --- a/x/recovery/genesis_test.go +++ b/x/recovery/genesis_test.go @@ -15,9 +15,9 @@ import ( "github.com/tharsis/ethermint/tests" feemarkettypes "github.com/tharsis/ethermint/x/feemarket/types" - "github.com/tharsis/evmos/v4/app" - "github.com/tharsis/evmos/v4/x/recovery" - "github.com/tharsis/evmos/v4/x/recovery/types" + "github.com/tharsis/evmos/v5/app" + "github.com/tharsis/evmos/v5/x/recovery" + "github.com/tharsis/evmos/v5/x/recovery/types" ) type GenesisTestSuite struct { diff --git a/x/recovery/ibc_middleware.go b/x/recovery/ibc_middleware.go index 69bb56fd18..92294a15f9 100644 --- a/x/recovery/ibc_middleware.go +++ b/x/recovery/ibc_middleware.go @@ -7,8 +7,8 @@ import ( porttypes "github.com/cosmos/ibc-go/v3/modules/core/05-port/types" "github.com/cosmos/ibc-go/v3/modules/core/exported" - "github.com/tharsis/evmos/v4/ibc" - "github.com/tharsis/evmos/v4/x/recovery/keeper" + "github.com/tharsis/evmos/v5/ibc" + "github.com/tharsis/evmos/v5/x/recovery/keeper" ) var _ porttypes.Middleware = &IBCMiddleware{} diff --git a/x/recovery/keeper/grpc_query.go b/x/recovery/keeper/grpc_query.go index 528cf43888..46aa66dd79 100644 --- a/x/recovery/keeper/grpc_query.go +++ b/x/recovery/keeper/grpc_query.go @@ -5,7 +5,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/evmos/v4/x/recovery/types" + "github.com/tharsis/evmos/v5/x/recovery/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/recovery/keeper/grpc_query_test.go b/x/recovery/keeper/grpc_query_test.go index e06a3c7fef..73d63ca1ab 100644 --- a/x/recovery/keeper/grpc_query_test.go +++ b/x/recovery/keeper/grpc_query_test.go @@ -3,7 +3,7 @@ package keeper_test import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/evmos/v4/x/recovery/types" + "github.com/tharsis/evmos/v5/x/recovery/types" ) func (suite *KeeperTestSuite) TestQueryParams() { diff --git a/x/recovery/keeper/ibc_callbacks.go b/x/recovery/keeper/ibc_callbacks.go index a478ea8817..e558899776 100644 --- a/x/recovery/keeper/ibc_callbacks.go +++ b/x/recovery/keeper/ibc_callbacks.go @@ -16,9 +16,9 @@ import ( host "github.com/cosmos/ibc-go/v3/modules/core/24-host" "github.com/cosmos/ibc-go/v3/modules/core/exported" - "github.com/tharsis/evmos/v4/ibc" - evmos "github.com/tharsis/evmos/v4/types" - "github.com/tharsis/evmos/v4/x/recovery/types" + "github.com/tharsis/evmos/v5/ibc" + evmos "github.com/tharsis/evmos/v5/types" + "github.com/tharsis/evmos/v5/x/recovery/types" ) // OnRecvPacket performs an IBC receive callback. It returns the tokens that diff --git a/x/recovery/keeper/ibc_callbacks_integration_suite_test.go b/x/recovery/keeper/ibc_callbacks_integration_suite_test.go index 733f6d7be4..df6cc668d0 100644 --- a/x/recovery/keeper/ibc_callbacks_integration_suite_test.go +++ b/x/recovery/keeper/ibc_callbacks_integration_suite_test.go @@ -15,13 +15,13 @@ import ( channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" ibcgotesting "github.com/cosmos/ibc-go/v3/testing" - ibctesting "github.com/tharsis/evmos/v4/ibc/testing" + ibctesting "github.com/tharsis/evmos/v5/ibc/testing" minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" - "github.com/tharsis/evmos/v4/app" - claimtypes "github.com/tharsis/evmos/v4/x/claims/types" - inflationtypes "github.com/tharsis/evmos/v4/x/inflation/types" - "github.com/tharsis/evmos/v4/x/recovery/types" + "github.com/tharsis/evmos/v5/app" + claimtypes "github.com/tharsis/evmos/v5/x/claims/types" + inflationtypes "github.com/tharsis/evmos/v5/x/inflation/types" + "github.com/tharsis/evmos/v5/x/recovery/types" ) type IBCTestingSuite struct { diff --git a/x/recovery/keeper/ibc_callbacks_integration_test.go b/x/recovery/keeper/ibc_callbacks_integration_test.go index 4994232c86..e6d270b3d9 100644 --- a/x/recovery/keeper/ibc_callbacks_integration_test.go +++ b/x/recovery/keeper/ibc_callbacks_integration_test.go @@ -8,10 +8,10 @@ import ( channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - "github.com/tharsis/evmos/v4/app" - "github.com/tharsis/evmos/v4/testutil" - claimtypes "github.com/tharsis/evmos/v4/x/claims/types" - "github.com/tharsis/evmos/v4/x/recovery/types" + "github.com/tharsis/evmos/v5/app" + "github.com/tharsis/evmos/v5/testutil" + claimtypes "github.com/tharsis/evmos/v5/x/claims/types" + "github.com/tharsis/evmos/v5/x/recovery/types" ) var _ = Describe("Recovery: Performing an IBC Transfer", Ordered, func() { diff --git a/x/recovery/keeper/ibc_callbacks_test.go b/x/recovery/keeper/ibc_callbacks_test.go index 0aef836e87..05e0433485 100644 --- a/x/recovery/keeper/ibc_callbacks_test.go +++ b/x/recovery/keeper/ibc_callbacks_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/mock" "github.com/tharsis/ethermint/crypto/ethsecp256k1" "github.com/tharsis/ethermint/tests" - "github.com/tharsis/evmos/v4/testutil" + "github.com/tharsis/evmos/v5/testutil" transfertypes "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types" clienttypes "github.com/cosmos/ibc-go/v3/modules/core/02-client/types" @@ -17,11 +17,11 @@ import ( ibcgotesting "github.com/cosmos/ibc-go/v3/testing" ibcmock "github.com/cosmos/ibc-go/v3/testing/mock" - claimstypes "github.com/tharsis/evmos/v4/x/claims/types" - incentivestypes "github.com/tharsis/evmos/v4/x/incentives/types" - "github.com/tharsis/evmos/v4/x/recovery/keeper" - "github.com/tharsis/evmos/v4/x/recovery/types" - vestingtypes "github.com/tharsis/evmos/v4/x/vesting/types" + claimstypes "github.com/tharsis/evmos/v5/x/claims/types" + incentivestypes "github.com/tharsis/evmos/v5/x/incentives/types" + "github.com/tharsis/evmos/v5/x/recovery/keeper" + "github.com/tharsis/evmos/v5/x/recovery/types" + vestingtypes "github.com/tharsis/evmos/v5/x/vesting/types" ) func (suite *KeeperTestSuite) TestOnRecvPacket() { diff --git a/x/recovery/keeper/keeper.go b/x/recovery/keeper/keeper.go index 2b4b7f0f9c..70a5050471 100644 --- a/x/recovery/keeper/keeper.go +++ b/x/recovery/keeper/keeper.go @@ -13,7 +13,7 @@ import ( porttypes "github.com/cosmos/ibc-go/v3/modules/core/05-port/types" "github.com/cosmos/ibc-go/v3/modules/core/exported" - "github.com/tharsis/evmos/v4/x/recovery/types" + "github.com/tharsis/evmos/v5/x/recovery/types" ) var _ transfertypes.ICS4Wrapper = Keeper{} diff --git a/x/recovery/keeper/keeper_test.go b/x/recovery/keeper/keeper_test.go index 9e2c1196df..9c1a52d058 100644 --- a/x/recovery/keeper/keeper_test.go +++ b/x/recovery/keeper/keeper_test.go @@ -17,9 +17,9 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/evmos/v4/app" - claimstypes "github.com/tharsis/evmos/v4/x/claims/types" - "github.com/tharsis/evmos/v4/x/recovery/types" + "github.com/tharsis/evmos/v5/app" + claimstypes "github.com/tharsis/evmos/v5/x/claims/types" + "github.com/tharsis/evmos/v5/x/recovery/types" ) var ( diff --git a/x/recovery/keeper/params.go b/x/recovery/keeper/params.go index bba3b15d5e..142992fc0a 100644 --- a/x/recovery/keeper/params.go +++ b/x/recovery/keeper/params.go @@ -3,7 +3,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tharsis/evmos/v4/x/recovery/types" + "github.com/tharsis/evmos/v5/x/recovery/types" ) // GetParams returns the total set of recovery parameters. diff --git a/x/recovery/keeper/utils_test.go b/x/recovery/keeper/utils_test.go index 40abd4046a..39682523ac 100644 --- a/x/recovery/keeper/utils_test.go +++ b/x/recovery/keeper/utils_test.go @@ -11,7 +11,7 @@ import ( transfertypes "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types" clienttypes "github.com/cosmos/ibc-go/v3/modules/core/02-client/types" - "github.com/tharsis/evmos/v4/x/recovery/types" + "github.com/tharsis/evmos/v5/x/recovery/types" ) var _ types.TransferKeeper = &MockTransferKeeper{} diff --git a/x/recovery/module.go b/x/recovery/module.go index 257f3fb608..c778514979 100644 --- a/x/recovery/module.go +++ b/x/recovery/module.go @@ -19,9 +19,9 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/tharsis/evmos/v4/x/recovery/client/cli" - "github.com/tharsis/evmos/v4/x/recovery/keeper" - "github.com/tharsis/evmos/v4/x/recovery/types" + "github.com/tharsis/evmos/v5/x/recovery/client/cli" + "github.com/tharsis/evmos/v5/x/recovery/keeper" + "github.com/tharsis/evmos/v5/x/recovery/types" ) // type check to ensure the interface is properly implemented diff --git a/x/recovery/types/genesis.pb.go b/x/recovery/types/genesis.pb.go index 0c1d8ddc08..e857870dee 100644 --- a/x/recovery/types/genesis.pb.go +++ b/x/recovery/types/genesis.pb.go @@ -139,23 +139,23 @@ var fileDescriptor_8a3e70cb61e26f25 = []byte{ // 297 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0xb1, 0x4e, 0xf3, 0x30, 0x14, 0x85, 0xe3, 0x5f, 0xbf, 0xaa, 0xca, 0x20, 0x10, 0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bb, - 0xc1, 0xbf, 0x36, 0xdd, 0xd5, 0xa7, 0x5d, 0x7d, 0x7a, 0xd9, 0x02, 0xd3, 0xfe, 0x26, 0xfd, 0xed, - 0x33, 0x40, 0xe1, 0x81, 0xf3, 0xb8, 0x75, 0x16, 0x3f, 0xc0, 0xd5, 0xaa, 0x26, 0x68, 0x5d, 0x13, - 0xf4, 0x55, 0x13, 0xf4, 0xda, 0x10, 0x6f, 0xdd, 0x10, 0xef, 0xbd, 0x21, 0xde, 0xdd, 0x99, 0x48, - 0xcd, 0xbc, 0x8c, 0x69, 0x22, 0x33, 0x66, 0xe6, 0x5c, 0xe9, 0x54, 0x33, 0x77, 0xf0, 0x6a, 0xc2, - 0x9e, 0x7f, 0xaf, 0x6e, 0x96, 0x05, 0xe8, 0xb8, 0x67, 0xb3, 0x27, 0xdf, 0x01, 0x00, 0x00, 0xff, - 0xff, 0x88, 0xe8, 0x2e, 0x17, 0x94, 0x01, 0x00, 0x00, + 0x40, 0xb6, 0x0a, 0x42, 0xec, 0x15, 0xa2, 0x2b, 0x0a, 0x4c, 0x30, 0x44, 0x4e, 0xb8, 0xb8, 0x11, + 0x4d, 0x1c, 0xd9, 0x4e, 0x44, 0x5f, 0x02, 0x31, 0xf2, 0x48, 0x1d, 0x3b, 0x32, 0x01, 0x4a, 0x5e, + 0x04, 0xd5, 0x4e, 0x60, 0x60, 0xb3, 0xef, 0xf9, 0xee, 0x39, 0x47, 0x17, 0x07, 0x50, 0x65, 0x52, + 0x33, 0x05, 0x89, 0xac, 0x40, 0x2d, 0x58, 0x35, 0x66, 0x02, 0x72, 0xd0, 0xa9, 0xa6, 0x85, 0x92, + 0x46, 0xfa, 0x3b, 0x16, 0xa0, 0x1d, 0x40, 0xab, 0xf1, 0x70, 0x57, 0x48, 0x21, 0xad, 0xca, 0xd6, + 0x2f, 0x07, 0x0e, 0x89, 0x90, 0x52, 0xcc, 0x81, 0xd9, 0x5f, 0x5c, 0x3e, 0xb2, 0x87, 0x52, 0x71, + 0x93, 0xca, 0xdc, 0xe9, 0xa3, 0x29, 0xde, 0x9c, 0x3a, 0xe7, 0x1b, 0xc3, 0x0d, 0xf8, 0x17, 0xb8, + 0x57, 0x70, 0xc5, 0x33, 0x3d, 0x40, 0x87, 0xe8, 0x78, 0xe3, 0xf4, 0x80, 0xfe, 0x49, 0xa2, 0xd7, + 0x16, 0x98, 0xfc, 0x5f, 0x7e, 0x04, 0x5e, 0xd8, 0xe2, 0xa3, 0x17, 0x84, 0x7b, 0x4e, 0xf0, 0x8f, + 0xf0, 0x36, 0xe4, 0x3c, 0x9e, 0x43, 0xd4, 0x6d, 0x59, 0xb3, 0x7e, 0xb8, 0xe5, 0xc6, 0x61, 0x3b, + 0xf5, 0xef, 0xf1, 0x7e, 0xc1, 0x93, 0x27, 0x30, 0x91, 0x49, 0x33, 0x90, 0xa5, 0x89, 0xba, 0x76, + 0x83, 0x7f, 0x6d, 0xba, 0xab, 0x4f, 0xbb, 0xfa, 0xf4, 0xb2, 0x05, 0x26, 0xfd, 0x75, 0xfa, 0xdb, + 0x67, 0x80, 0xc2, 0x3d, 0xe7, 0x71, 0xeb, 0x2c, 0x7e, 0x80, 0xab, 0x65, 0x4d, 0xd0, 0xaa, 0x26, + 0xe8, 0xab, 0x26, 0xe8, 0xb5, 0x21, 0xde, 0xaa, 0x21, 0xde, 0x7b, 0x43, 0xbc, 0xbb, 0x13, 0x91, + 0x9a, 0x59, 0x19, 0xd3, 0x44, 0x66, 0xcc, 0xcc, 0xb8, 0xd2, 0xa9, 0x66, 0xee, 0xe0, 0xd5, 0x39, + 0x7b, 0xfe, 0xbd, 0xba, 0x59, 0x14, 0xa0, 0xe3, 0x9e, 0xcd, 0x3e, 0xfb, 0x0e, 0x00, 0x00, 0xff, + 0xff, 0x39, 0x35, 0xf0, 0x28, 0x94, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/recovery/types/interfaces.go b/x/recovery/types/interfaces.go index 46b471d209..dd20826bcf 100644 --- a/x/recovery/types/interfaces.go +++ b/x/recovery/types/interfaces.go @@ -10,7 +10,7 @@ import ( clienttypes "github.com/cosmos/ibc-go/v3/modules/core/02-client/types" channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" - claimstypes "github.com/tharsis/evmos/v4/x/claims/types" + claimstypes "github.com/tharsis/evmos/v5/x/claims/types" ) // BankKeeper defines the banking keeper that must be fulfilled when diff --git a/x/recovery/types/query.pb.go b/x/recovery/types/query.pb.go index 4fc7c4560b..5fa256f67b 100644 --- a/x/recovery/types/query.pb.go +++ b/x/recovery/types/query.pb.go @@ -137,8 +137,8 @@ var fileDescriptor_2d6fffa62670b057 = []byte{ 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0x74, 0xd2, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x4b, 0x32, 0x12, 0x8b, 0x8a, 0x33, 0x8b, 0xa1, 0xc6, 0x94, - 0x19, 0xeb, 0x57, 0x20, 0xcc, 0x2a, 0xa9, 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, 0x07, 0x9d, 0x31, - 0x20, 0x00, 0x00, 0xff, 0xff, 0x61, 0x41, 0xbb, 0xeb, 0xc3, 0x01, 0x00, 0x00, + 0x99, 0xea, 0x57, 0x20, 0xcc, 0x2a, 0xa9, 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, 0x07, 0x9d, 0x31, + 0x20, 0x00, 0x00, 0xff, 0xff, 0xd0, 0x9c, 0x65, 0xd4, 0xc3, 0x01, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/recovery/types/query.pb.gw.go b/x/recovery/types/query.pb.gw.go index 0136f5122d..3a03aedba6 100644 --- a/x/recovery/types/query.pb.gw.go +++ b/x/recovery/types/query.pb.gw.go @@ -20,7 +20,6 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" - "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" ) @@ -31,7 +30,6 @@ var _ status.Status var _ = runtime.String var _ = utilities.NewDoubleArray var _ = descriptor.ForMessage -var _ = metadata.Join func request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryParamsRequest @@ -54,14 +52,12 @@ func local_request_Query_Params_0(ctx context.Context, marshaler runtime.Marshal // RegisterQueryHandlerServer registers the http handlers for service Query to "mux". // UnaryRPC :call QueryServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead. +// Note that using this registration option will cause many gRPC library features (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead. func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error { mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) if err != nil { @@ -69,7 +65,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } resp, md, err := local_request_Query_Params_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) diff --git a/x/vesting/client/cli/query.go b/x/vesting/client/cli/query.go index 0aa97e263b..2e0b767717 100644 --- a/x/vesting/client/cli/query.go +++ b/x/vesting/client/cli/query.go @@ -8,7 +8,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - "github.com/tharsis/evmos/v4/x/vesting/types" + "github.com/tharsis/evmos/v5/x/vesting/types" ) // GetQueryCmd returns the parent command for all vesting CLI query commands. diff --git a/x/vesting/client/cli/tx.go b/x/vesting/client/cli/tx.go index 61dde6a535..68deabed43 100644 --- a/x/vesting/client/cli/tx.go +++ b/x/vesting/client/cli/tx.go @@ -15,7 +15,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkvesting "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" - "github.com/tharsis/evmos/v4/x/vesting/types" + "github.com/tharsis/evmos/v5/x/vesting/types" ) // Transaction command flags diff --git a/x/vesting/handler.go b/x/vesting/handler.go index 9359f37945..4ff1ed84c5 100644 --- a/x/vesting/handler.go +++ b/x/vesting/handler.go @@ -4,7 +4,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/tharsis/evmos/v4/x/vesting/types" + "github.com/tharsis/evmos/v5/x/vesting/types" ) // NewHandler defines the vesting module handler instance diff --git a/x/vesting/keeper/grpc_query.go b/x/vesting/keeper/grpc_query.go index a18ff72aa6..ab4c36f8ff 100644 --- a/x/vesting/keeper/grpc_query.go +++ b/x/vesting/keeper/grpc_query.go @@ -7,7 +7,7 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/tharsis/evmos/v4/x/vesting/types" + "github.com/tharsis/evmos/v5/x/vesting/types" ) var _ types.QueryServer = Keeper{} diff --git a/x/vesting/keeper/grpc_query_test.go b/x/vesting/keeper/grpc_query_test.go index 622c59ffd0..6c5256d4a5 100644 --- a/x/vesting/keeper/grpc_query_test.go +++ b/x/vesting/keeper/grpc_query_test.go @@ -7,8 +7,8 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/tharsis/ethermint/tests" - "github.com/tharsis/evmos/v4/testutil" - "github.com/tharsis/evmos/v4/x/vesting/types" + "github.com/tharsis/evmos/v5/testutil" + "github.com/tharsis/evmos/v5/x/vesting/types" ) func (suite *KeeperTestSuite) TestBalances() { diff --git a/x/vesting/keeper/integration_test.go b/x/vesting/keeper/integration_test.go index e5b3a2365d..510213733f 100644 --- a/x/vesting/keeper/integration_test.go +++ b/x/vesting/keeper/integration_test.go @@ -9,9 +9,9 @@ import ( "github.com/tharsis/ethermint/encoding" "github.com/tharsis/ethermint/tests" - "github.com/tharsis/evmos/v4/app" - "github.com/tharsis/evmos/v4/app/ante" - "github.com/tharsis/evmos/v4/testutil" + "github.com/tharsis/evmos/v5/app" + "github.com/tharsis/evmos/v5/app/ante" + "github.com/tharsis/evmos/v5/testutil" "github.com/ethereum/go-ethereum/common" ethtypes "github.com/ethereum/go-ethereum/core/types" @@ -22,7 +22,7 @@ import ( stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" evmtypes "github.com/tharsis/ethermint/x/evm/types" - "github.com/tharsis/evmos/v4/x/vesting/types" + "github.com/tharsis/evmos/v5/x/vesting/types" ) // Clawback vesting with Cliff and Lock. In this case the cliff is reached diff --git a/x/vesting/keeper/keeper.go b/x/vesting/keeper/keeper.go index cc59f9082e..a4ba9f7d45 100644 --- a/x/vesting/keeper/keeper.go +++ b/x/vesting/keeper/keeper.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/tendermint/tendermint/libs/log" - "github.com/tharsis/evmos/v4/x/vesting/types" + "github.com/tharsis/evmos/v5/x/vesting/types" ) // Keeper of this module maintains collections of vesting. diff --git a/x/vesting/keeper/keeper_test.go b/x/vesting/keeper/keeper_test.go index c2c4c2d82c..30638e3b34 100644 --- a/x/vesting/keeper/keeper_test.go +++ b/x/vesting/keeper/keeper_test.go @@ -35,10 +35,10 @@ import ( ethermint "github.com/tharsis/ethermint/types" evm "github.com/tharsis/ethermint/x/evm/types" - "github.com/tharsis/evmos/v4/app" - "github.com/tharsis/evmos/v4/contracts" - epochstypes "github.com/tharsis/evmos/v4/x/epochs/types" - "github.com/tharsis/evmos/v4/x/vesting/types" + "github.com/tharsis/evmos/v5/app" + "github.com/tharsis/evmos/v5/contracts" + epochstypes "github.com/tharsis/evmos/v5/x/epochs/types" + "github.com/tharsis/evmos/v5/x/vesting/types" ) var ( diff --git a/x/vesting/keeper/msg_server.go b/x/vesting/keeper/msg_server.go index 02af8875cd..13465b4e72 100644 --- a/x/vesting/keeper/msg_server.go +++ b/x/vesting/keeper/msg_server.go @@ -13,7 +13,7 @@ import ( authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" sdkvesting "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" - "github.com/tharsis/evmos/v4/x/vesting/types" + "github.com/tharsis/evmos/v5/x/vesting/types" ) var _ types.MsgServer = &Keeper{} diff --git a/x/vesting/keeper/msg_server_test.go b/x/vesting/keeper/msg_server_test.go index 49b3c9c3b5..7e6492c317 100644 --- a/x/vesting/keeper/msg_server_test.go +++ b/x/vesting/keeper/msg_server_test.go @@ -10,8 +10,8 @@ import ( sdkvesting "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" "github.com/tharsis/ethermint/tests" - "github.com/tharsis/evmos/v4/testutil" - "github.com/tharsis/evmos/v4/x/vesting/types" + "github.com/tharsis/evmos/v5/testutil" + "github.com/tharsis/evmos/v5/x/vesting/types" ) var ( diff --git a/x/vesting/module.go b/x/vesting/module.go index bcf8c50ef9..c8cae4caf7 100644 --- a/x/vesting/module.go +++ b/x/vesting/module.go @@ -18,9 +18,9 @@ import ( bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/tharsis/evmos/v4/x/vesting/client/cli" - "github.com/tharsis/evmos/v4/x/vesting/keeper" - "github.com/tharsis/evmos/v4/x/vesting/types" + "github.com/tharsis/evmos/v5/x/vesting/client/cli" + "github.com/tharsis/evmos/v5/x/vesting/keeper" + "github.com/tharsis/evmos/v5/x/vesting/types" ) var ( diff --git a/x/vesting/types/clawback_vesting_account_test.go b/x/vesting/types/clawback_vesting_account_test.go index f5217fc957..5ed6d328a8 100644 --- a/x/vesting/types/clawback_vesting_account_test.go +++ b/x/vesting/types/clawback_vesting_account_test.go @@ -12,7 +12,7 @@ import ( sdkvesting "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" "github.com/tharsis/ethermint/tests" - "github.com/tharsis/evmos/v4/x/vesting/types" + "github.com/tharsis/evmos/v5/x/vesting/types" ) var ( diff --git a/x/vesting/types/query.pb.go b/x/vesting/types/query.pb.go index 29f7babdcc..8beef91ab1 100644 --- a/x/vesting/types/query.pb.go +++ b/x/vesting/types/query.pb.go @@ -150,32 +150,32 @@ func init() { func init() { proto.RegisterFile("evmos/vesting/v1/query.proto", fileDescriptor_ff0457b141ab5d28) } var fileDescriptor_ff0457b141ab5d28 = []byte{ - // 386 bytes of a gzipped FileDescriptorProto + // 387 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x52, 0xc1, 0x6e, 0xda, 0x40, 0x10, 0xf5, 0x82, 0x4a, 0xe9, 0xf6, 0x52, 0x59, 0x54, 0x72, 0x11, 0x32, 0x08, 0x55, 0x14, 0xa9, - 0xed, 0x2e, 0x86, 0x3f, 0xa0, 0xea, 0x07, 0x84, 0x63, 0x6e, 0x6b, 0x7b, 0x65, 0x2c, 0x60, 0xd7, - 0x78, 0xd6, 0x56, 0x50, 0x94, 0x4b, 0x6e, 0xb9, 0x45, 0xe2, 0x2f, 0xf2, 0x25, 0x28, 0x27, 0xa4, - 0x5c, 0x72, 0x4a, 0x22, 0xc8, 0x87, 0x44, 0xb6, 0x17, 0x14, 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 0xdc, 0xb7, 0x4a, 0xef, 0xdf, + 0x66, 0x47, 0x9e, 0xa9, 0xd1, 0x6d, 0xca, 0x1f, 0xa0, 0xa6, 0xa0, 0xee, 0x2f, 0x10, 0xfe, 0x94, + 0x2f, 0xd3, 0xbc, 0x40, 0xb8, 0xba, 0xdd, 0xa8, 0xd9, 0x21, 0xfb, 0xe6, 0x93, 0xd7, 0x5c, 0xaa, + 0xff, 0x7a, 0xb3, 0xae, 0xb0, 0xa6, 0xfd, 0xe7, 0xfc, 0xe6, 0x71, 0x51, 0xea, 0x98, 0x3f, 0xe9, + 0x8b, 0x9b, 0x73, 0x75, 0x2d, 0x3d, 0xd5, 0x0e, 0x9f, 0x0d, 0x0e, 0x97, 0x6b, 0x1b, 0xad, 0xd6, + 0x36, 0x7a, 0x58, 0xdb, 0xe8, 0x72, 0x63, 0x1b, 0xab, 0x8d, 0x6d, 0xdc, 0x6e, 0x6c, 0xe3, 0xf8, + 0xf7, 0x33, 0x85, 0x6a, 0xc4, 0x62, 0x08, 0x61, 0xcb, 0xf8, 0x9f, 0x9e, 0xec, 0x68, 0x73, 0xa9, + 0x6e, 0x25, 0x3f, 0xb1, 0x7f, 0x4f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x8f, 0x4c, 0x14, 0x4c, 0xe8, + 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/vesting/types/query.pb.gw.go b/x/vesting/types/query.pb.gw.go index e6ba3de378..303adf85bd 100644 --- a/x/vesting/types/query.pb.gw.go +++ b/x/vesting/types/query.pb.gw.go @@ -20,7 +20,6 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" - "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" ) @@ -31,7 +30,6 @@ var _ status.Status var _ = runtime.String var _ = utilities.NewDoubleArray var _ = descriptor.ForMessage -var _ = metadata.Join func request_Query_Balances_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryBalancesRequest @@ -90,14 +88,12 @@ func local_request_Query_Balances_0(ctx context.Context, marshaler runtime.Marsh // RegisterQueryHandlerServer registers the http handlers for service Query to "mux". // UnaryRPC :call QueryServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead. +// Note that using this registration option will cause many gRPC library features (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead. func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error { mux.Handle("GET", pattern_Query_Balances_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) if err != nil { @@ -105,7 +101,6 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } resp, md, err := local_request_Query_Balances_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) diff --git a/x/vesting/types/tx.pb.go b/x/vesting/types/tx.pb.go index d8d8fe37e8..7a7dd2fbb4 100644 --- a/x/vesting/types/tx.pb.go +++ b/x/vesting/types/tx.pb.go @@ -35,7 +35,8 @@ var _ = time.Kitchen // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -// MsgCreateClawbackVestingAccount defines a message that enables creating a ClawbackVestingAccount. +// MsgCreateClawbackVestingAccount defines a message that enables creating a +// ClawbackVestingAccount. type MsgCreateClawbackVestingAccount struct { // from_address specifies the account to provide the funds and sign the // clawback request @@ -176,7 +177,8 @@ var xxx_messageInfo_MsgCreateClawbackVestingAccountResponse proto.InternalMessag type MsgClawback struct { // funder_address is the address which funded the account FunderAddress string `protobuf:"bytes,1,opt,name=funder_address,json=funderAddress,proto3" json:"funder_address,omitempty"` - // account_address is the address of the ClawbackVestingAccount to claw back from. + // account_address is the address of the ClawbackVestingAccount to claw back + // from. AccountAddress string `protobuf:"bytes,2,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` // dest_address specifies where the clawed-back tokens should be transferred // to. If empty, the tokens will be transferred back to the original funder of @@ -285,44 +287,44 @@ func init() { func init() { proto.RegisterFile("evmos/vesting/v1/tx.proto", fileDescriptor_d5db113bc0c7240c) } var fileDescriptor_d5db113bc0c7240c = []byte{ - // 583 bytes of a gzipped FileDescriptorProto + // 584 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x93, 0xcf, 0x6b, 0x13, 0x41, 0x14, 0xc7, 0x33, 0x4d, 0x5b, 0x9a, 0x49, 0x9b, 0xca, 0x5a, 0x21, 0x86, 0x66, 0x37, 0x0d, 0x86, - 0x46, 0xc4, 0x19, 0x92, 0x8a, 0x50, 0xf1, 0x92, 0x04, 0x8f, 0x05, 0x09, 0xe2, 0xc1, 0x4b, 0x98, - 0xec, 0x4e, 0x36, 0x4b, 0xb2, 0x3b, 0xcb, 0xce, 0x6c, 0x1a, 0x6f, 0xe2, 0x49, 0x3c, 0x15, 0xfc, - 0x07, 0x3c, 0xfb, 0x97, 0x14, 0xbd, 0x14, 0xbc, 0x78, 0x10, 0x2b, 0x89, 0x07, 0xff, 0x0c, 0xd9, - 0x9d, 0xd9, 0x35, 0x0d, 0xa1, 0xc5, 0x8b, 0xa7, 0x9d, 0xf7, 0xde, 0x67, 0xde, 0x7e, 0xdf, 0x8f, - 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, 0x5f, 0xb9, 0xa8, 0x0d, 0xb4, + 0xfc, 0xb4, 0xd0, 0x35, 0xd5, 0x97, 0x8e, 0xfe, 0xf9, 0x4a, 0xda, 0xb0, 0xa7, 0x6f, 0xbf, 0xfe, + 0xfa, 0xb0, 0xf6, 0x58, 0x7b, 0x88, 0x57, 0xbc, 0x75, 0x6c, 0xc6, 0x29, 0x7a, 0xa6, 0xca, 0xd1, + 0x4b, 0xd6, 0x45, 0x75, 0x45, 0x3b, 0x81, 0x5b, 0x69, 0xab, 0xcb, 0xab, 0x45, 0xa8, 0x70, 0xa9, + 0x76, 0x65, 0x38, 0xd5, 0x53, 0x8b, 0xf5, 0x18, 0x5a, 0x79, 0xb5, 0x1e, 0x85, 0xb7, 0x9f, 0x9d, + 0xcd, 0x74, 0x70, 0x3e, 0xd3, 0xc1, 0xcf, 0x99, 0x0e, 0x4e, 0xe7, 0x7a, 0xe6, 0x7c, 0xae, 0x67, + 0xbe, 0xcd, 0xf5, 0xcc, 0xab, 0x7b, 0x0b, 0x3b, 0x29, 0x86, 0x24, 0xe0, 0x0e, 0x4f, 0x52, 0x3d, + 0xc2, 0xd3, 0xcb, 0xdb, 0xd8, 0xdf, 0x8c, 0x9f, 0xed, 0x83, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, + 0x23, 0x95, 0xb2, 0x2e, 0xe9, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/vesting/types/tx.pb.gw.go b/x/vesting/types/tx.pb.gw.go index 88e6f6ad4e..1006ad3b59 100644 --- a/x/vesting/types/tx.pb.gw.go +++ b/x/vesting/types/tx.pb.gw.go @@ -20,7 +20,6 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" - "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" ) @@ -31,7 +30,6 @@ var _ status.Status var _ = runtime.String var _ = utilities.NewDoubleArray var _ = descriptor.ForMessage -var _ = metadata.Join var ( filter_Msg_CreateClawbackVestingAccount_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} @@ -108,14 +106,12 @@ func local_request_Msg_Clawback_0(ctx context.Context, marshaler runtime.Marshal // RegisterMsgHandlerServer registers the http handlers for service Msg to "mux". // UnaryRPC :call MsgServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterMsgHandlerFromEndpoint instead. +// Note that using this registration option will cause many gRPC library features (such as grpc.SendHeader, etc) to stop working. Consider using RegisterMsgHandlerFromEndpoint instead. func RegisterMsgHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MsgServer) error { mux.Handle("GET", pattern_Msg_CreateClawbackVestingAccount_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) if err != nil { @@ -123,7 +119,6 @@ func RegisterMsgHandlerServer(ctx context.Context, mux *runtime.ServeMux, server return } resp, md, err := local_request_Msg_CreateClawbackVestingAccount_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) @@ -137,8 +132,6 @@ func RegisterMsgHandlerServer(ctx context.Context, mux *runtime.ServeMux, server mux.Handle("GET", pattern_Msg_Clawback_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) if err != nil { @@ -146,7 +139,6 @@ func RegisterMsgHandlerServer(ctx context.Context, mux *runtime.ServeMux, server return } resp, md, err := local_request_Msg_Clawback_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) diff --git a/x/vesting/types/vesting.pb.go b/x/vesting/types/vesting.pb.go index 30985a5b66..b395093f27 100644 --- a/x/vesting/types/vesting.pb.go +++ b/x/vesting/types/vesting.pb.go @@ -89,30 +89,30 @@ var fileDescriptor_5f1a3c86c0cebe5f = []byte{ // 414 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x52, 0x31, 0x8f, 0xd3, 0x30, 0x18, 0x8d, 0xb9, 0x82, 0xee, 0x7c, 0xba, 0x82, 0xa2, 0x13, 0x8a, 0x32, 0x38, 0x15, 0x02, 0xa9, - 0x02, 0x61, 0xeb, 0xee, 0x26, 0xd8, 0x9a, 0x13, 0x3b, 0x8a, 0x10, 0x03, 0x4b, 0x64, 0x27, 0x6e, - 0x1a, 0xb5, 0xa9, 0xa3, 0xd8, 0x09, 0xe5, 0x1f, 0x54, 0x9d, 0x3a, 0x32, 0x76, 0xe6, 0x97, 0x74, - 0xec, 0xc8, 0xd4, 0xa2, 0xf6, 0x8f, 0xa0, 0xd8, 0x09, 0x6a, 0x41, 0xac, 0x37, 0xc5, 0xdf, 0x7b, - 0x9f, 0xdf, 0xf7, 0x9e, 0xbf, 0x40, 0xc4, 0xab, 0x4c, 0x48, 0x52, 0x71, 0xa9, 0xd2, 0x69, 0x42, - 0xaa, 0x9b, 0xf6, 0x88, 0xf3, 0x42, 0x28, 0x61, 0x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 0x05, 0x22, 0x5e, 0x65, 0x42, 0x92, 0x8a, 0x4b, 0x95, 0x4e, 0x13, + 0x52, 0xdd, 0xb4, 0x47, 0x9c, 0x17, 0x42, 0x09, 0xfb, 0x89, 0xe6, 0x71, 0x0b, 0x56, 0x37, 0xee, + 0x75, 0x22, 0x12, 0xa1, 0x49, 0x52, 0x9f, 0x4c, 0x9f, 0xfb, 0x3c, 0x12, 0xf2, 0x54, 0x88, 0x71, + 0x45, 0xff, 0x52, 0x73, 0xbd, 0x44, 0x88, 0x64, 0xc2, 0x89, 0xae, 0x58, 0x39, 0x24, 0x2a, 0xcd, + 0xb8, 0x54, 0x34, 0xcb, 0x4d, 0xc3, 0xb3, 0x45, 0x07, 0x3e, 0xbd, 0x9b, 0xd0, 0xaf, 0x8c, 0x46, + 0xe3, 0xcf, 0xe6, 0xea, 0x20, 0x8a, 0x44, 0x39, 0x55, 0x36, 0x83, 0xd7, 0x8c, 0x4a, 0x1e, 0x36, + 0x8a, 0x21, 0x35, 0xb8, 0x03, 0x7a, 0xa0, 0x7f, 0x79, 0xfb, 0x12, 0x1b, 0x03, 0x47, 0x4e, 0xb5, + 0x01, 0xec, 0x53, 0xc9, 0x4f, 0x95, 0xfc, 0xce, 0x66, 0xeb, 0x81, 0xc0, 0x66, 0xff, 0x30, 0xf6, + 0x0b, 0xd8, 0x1d, 0x96, 0xd3, 0x98, 0x17, 0x21, 0x8d, 0xe3, 0x82, 0x4b, 0xe9, 0x3c, 0xe8, 0x81, + 0xfe, 0x45, 0x70, 0x65, 0xd0, 0x81, 0x01, 0xed, 0x3b, 0x08, 0xa5, 0xa2, 0x85, 0x0a, 0x6b, 0xfb, + 0xce, 0x99, 0x36, 0xe0, 0x62, 0x93, 0x0d, 0xb7, 0xd9, 0xf0, 0xa7, 0x36, 0x9b, 0x7f, 0xbe, 0xde, + 0x7a, 0xd6, 0x72, 0xe7, 0x81, 0xe0, 0x42, 0xdf, 0xab, 0x19, 0x7b, 0x0e, 0x60, 0x77, 0x22, 0xa2, + 0x71, 0x99, 0x87, 0x39, 0x2f, 0x52, 0x11, 0x4b, 0xa7, 0xd3, 0x3b, 0xeb, 0x5f, 0xde, 0xa2, 0xff, + 0x45, 0xf9, 0xa8, 0xdb, 0xfc, 0x41, 0xad, 0xf6, 0x63, 0xe7, 0xbd, 0x4b, 0x52, 0x35, 0x2a, 0x19, + 0x8e, 0x44, 0x46, 0x9a, 0xd7, 0x37, 0x9f, 0xd7, 0x32, 0x1e, 0x93, 0x19, 0xa1, 0xa5, 0x1a, 0xfd, + 0xd9, 0x87, 0xfa, 0x96, 0x73, 0xd9, 0x28, 0xc8, 0xe0, 0xca, 0x0c, 0x6e, 0x4a, 0x7b, 0x01, 0xe0, + 0xe3, 0xf6, 0x59, 0x5b, 0x2f, 0x0f, 0xef, 0xcb, 0x4b, 0xb7, 0x81, 0x9b, 0xfa, 0xfd, 0xf9, 0x7c, + 0xe5, 0x59, 0xdf, 0x57, 0x9e, 0xe5, 0x7f, 0x58, 0xef, 0x11, 0xd8, 0xec, 0x11, 0xf8, 0xb5, 0x47, + 0x60, 0x79, 0x40, 0xd6, 0xe6, 0x80, 0xac, 0x9f, 0x07, 0x64, 0x7d, 0x79, 0x75, 0x34, 0x4e, 0x8d, + 0x68, 0x21, 0x53, 0x49, 0x9a, 0x1f, 0xf9, 0x2d, 0x99, 0x9d, 0x0e, 0x62, 0x8f, 0xf4, 0x46, 0xde, + 0xfc, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x19, 0x46, 0xe1, 0x25, 0xeb, 0x02, 0x00, 0x00, } func (m *ClawbackVestingAccount) Marshal() (dAtA []byte, err error) {