From 6f329d70c6cc128c14189a6aa82b79add9798677 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Sun, 27 Nov 2022 21:30:23 +0100 Subject: [PATCH] docs: add docs about `x/auth/tx` (#14021) * docs: add docs about `x/auth/tx` * updates * updates * updates * updates * updates * updates * updates Co-authored-by: Marko --- api/cosmos/auth/v1beta1/query.pulsar.go | 273 ++++++++--------- api/cosmos/consensus/v1/tx.pulsar.go | 2 + api/cosmos/crisis/module/v1/module.pulsar.go | 1 + api/cosmos/crisis/v1beta1/tx.pulsar.go | 7 +- api/cosmos/crisis/v1beta1/tx_grpc.pb.go | 4 +- .../v1/config.pulsar.go} | 275 +++++++++--------- api/cosmos/tx/v1beta1/service_grpc.pb.go | 8 +- baseapp/util_test.go | 6 +- docs/docs/core/05-encoding.md | 2 +- .../modules/_category_.json} | 0 docs/docs/pkg/_category_.json | 5 + docs/post.sh | 2 +- docs/pre.sh | 7 +- fuzz/README.md | 4 +- go.mod | 3 + go.sum | 2 - .../module.proto => config/v1/config.proto} | 8 +- server/grpc/grpc_web_test.go | 2 +- simapp/app_config.go | 4 +- simapp/app_v2.go | 2 +- simapp/go.mod | 3 + simapp/go.sum | 2 - tests/go.mod | 5 +- tests/go.sum | 2 - .../bank/keeper/deterministic_test.go | 2 +- tests/integration/genutil/gentx_test.go | 2 +- tests/integration/runtime/query_test.go | 2 +- testutil/configurator/configurator.go | 4 +- testutil/network/network.go | 2 +- types/tx/service.pb.go | 8 +- x/README.md | 2 + x/auth/README.md | 24 -- x/auth/migrations/legacytx/config_test.go | 2 +- x/auth/testutil/app_config.go | 6 +- x/auth/tx/README.md | 240 +++++++++++++++ x/auth/tx/config.go | 6 +- .../tx/{module/module.go => config/config.go} | 6 +- x/auth/tx/config_test.go | 2 +- .../tx => tx/testutil}/suite.go | 0 x/auth/types/query.pb.go | 145 ++++----- x/auth/vesting/README.md | 5 - x/authz/testutil/app_config.go | 6 +- x/bank/app_test.go | 2 +- x/bank/simulation/operations_test.go | 2 +- x/capability/testutil/app_config.go | 6 +- x/consensus/types/tx.pb.go | 2 + x/crisis/types/tx.pb.go | 11 +- x/distribution/testutil/app_config.go | 6 +- x/evidence/testutil/app_config.go | 6 +- x/feegrant/testutil/app_config.go | 6 +- x/gov/simulation/operations_test.go | 2 +- x/group/testutil/app_config.go | 6 +- x/mint/testutil/app_config.go | 6 +- x/nft/testutil/app_config.go | 6 +- x/params/testutil/app_config.go | 6 +- x/slashing/testutil/app_config.go | 6 +- x/staking/testutil/app_config.go | 6 +- 57 files changed, 701 insertions(+), 471 deletions(-) rename api/cosmos/tx/{module/v1/module.pulsar.go => config/v1/config.pulsar.go} (66%) rename docs/{modules_category.json => docs/modules/_category_.json} (100%) create mode 100644 docs/docs/pkg/_category_.json rename proto/cosmos/tx/{module/v1/module.proto => config/v1/config.proto} (74%) create mode 100644 x/auth/tx/README.md rename x/auth/tx/{module/module.go => config/config.go} (95%) rename x/auth/{testutilhelpers/tx => tx/testutil}/suite.go (100%) diff --git a/api/cosmos/auth/v1beta1/query.pulsar.go b/api/cosmos/auth/v1beta1/query.pulsar.go index 88f5d938ba58..d8051b6828e8 100644 --- a/api/cosmos/auth/v1beta1/query.pulsar.go +++ b/api/cosmos/auth/v1beta1/query.pulsar.go @@ -9173,10 +9173,12 @@ type QueryAccountAddressByIDRequest struct { // id is the account number of the address to be queried. This field // should have been an uint64 (like all account numbers), and will be // updated to uint64 in a future version of the auth query. + // + // Deprecated: Do not use. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - // account_id is the account number of the address to be queried. This field - // should have been an uint64 (like all account numbers), and will be - // updated to uint64 in a future version of the auth query. + // account_id is the account number of the address to be queried. + // + // Since: cosmos-sdk 0.47 AccountId uint64 `protobuf:"varint,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` } @@ -9200,6 +9202,7 @@ func (*QueryAccountAddressByIDRequest) Descriptor() ([]byte, []int) { return file_cosmos_auth_v1beta1_query_proto_rawDescGZIP(), []int{16} } +// Deprecated: Do not use. func (x *QueryAccountAddressByIDRequest) GetId() int64 { if x != nil { return x.Id @@ -9423,145 +9426,145 @@ var file_cosmos_auth_v1beta1_query_proto_rawDesc = []byte{ 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x54, 0x6f, 0x42, 0x79, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, 0x4f, 0x0a, 0x1e, 0x51, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, 0x53, 0x0a, 0x1e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, - 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, - 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x64, 0x0a, 0x1f, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x41, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, - 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, - 0x6e, 0x67, 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x22, 0x4d, 0x0a, 0x17, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, - 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, - 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x22, 0x50, 0x0a, 0x18, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, - 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x6f, - 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x31, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x04, 0x69, - 0x6e, 0x66, 0x6f, 0x32, 0xef, 0x0c, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x8d, 0x01, - 0x0a, 0x08, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x29, 0x2e, 0x63, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, - 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, - 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x2a, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x12, 0x1d, - 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x62, - 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x94, 0x01, - 0x0a, 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, 0x2e, 0x63, 0x6f, 0x73, 0x6d, + 0x73, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, + 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, 0x18, 0x01, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, + 0x22, 0x64, 0x0a, 0x1f, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, + 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x4d, 0x0a, 0x17, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x32, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x50, 0x0a, 0x18, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x34, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x20, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x32, 0xef, 0x0c, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x12, 0x8d, 0x01, 0x0a, 0x08, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x29, + 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, - 0x68, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x34, - 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x12, 0x27, 0x2f, 0x63, 0x6f, - 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x31, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x7d, 0x12, 0xb5, 0x01, 0x0a, 0x12, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x79, 0x49, 0x44, 0x12, 0x33, 0x2e, 0x63, 0x6f, - 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x34, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x34, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x29, 0x12, 0x27, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x75, 0x74, - 0x68, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x5f, 0x62, 0x79, 0x5f, 0x69, 0x64, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0x85, 0x01, 0x0a, - 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, - 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x28, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x88, 0xe7, 0xb0, 0x2a, - 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x1b, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, - 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x70, 0x61, - 0x72, 0x61, 0x6d, 0x73, 0x12, 0xa6, 0x01, 0x0a, 0x0e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x41, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x2f, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2a, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x1f, 0x12, 0x1d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x75, 0x74, 0x68, + 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x73, 0x12, 0x94, 0x01, 0x0a, 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, 0x2e, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, - 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x88, 0xe7, 0xb0, 0x2a, - 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x12, 0x24, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, - 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x6d, 0x6f, - 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0xbc, 0x01, - 0x0a, 0x13, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, - 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x34, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, - 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, - 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x6f, + 0x65, 0x72, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x34, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x12, + 0x27, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x12, 0xb5, 0x01, 0x0a, 0x12, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x79, 0x49, 0x44, 0x12, + 0x33, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, + 0x74, 0x68, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x79, + 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x34, 0x88, 0xe7, 0xb0, 0x2a, + 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x12, 0x27, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x62, 0x79, 0x5f, 0x69, 0x64, 0x2f, 0x7b, 0x69, 0x64, 0x7d, + 0x12, 0x85, 0x01, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x27, 0x2e, 0x63, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, + 0x74, 0x68, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, + 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x1b, 0x2f, 0x63, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0xa6, 0x01, 0x0a, 0x0e, 0x4d, 0x6f, 0x64, + 0x75, 0x6c, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x2f, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x41, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x38, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, - 0x2b, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x31, - 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x61, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0x88, 0x01, 0x0a, - 0x0c, 0x42, 0x65, 0x63, 0x68, 0x33, 0x32, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x28, 0x2e, - 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2e, 0x42, 0x65, 0x63, 0x68, 0x33, 0x32, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, - 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x42, 0x65, - 0x63, 0x68, 0x33, 0x32, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x1b, 0x2f, 0x63, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, - 0x2f, 0x62, 0x65, 0x63, 0x68, 0x33, 0x32, 0x12, 0xb0, 0x01, 0x0a, 0x14, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x42, 0x79, 0x74, 0x65, 0x73, 0x54, 0x6f, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, - 0x12, 0x30, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x79, - 0x74, 0x65, 0x73, 0x54, 0x6f, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, - 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x42, 0x79, 0x74, 0x65, 0x73, 0x54, 0x6f, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b, 0x2f, - 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2f, 0x62, 0x65, 0x63, 0x68, 0x33, 0x32, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x7d, 0x12, 0xb1, 0x01, 0x0a, 0x14, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x54, 0x6f, 0x42, 0x79, - 0x74, 0x65, 0x73, 0x12, 0x30, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, - 0x68, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x54, 0x6f, 0x42, 0x79, 0x74, 0x65, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, - 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x54, 0x6f, 0x42, 0x79, 0x74, 0x65, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x34, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, - 0x12, 0x2c, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x62, 0x65, 0x63, 0x68, 0x33, 0x32, 0x2f, 0x7b, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x7d, 0x12, 0xa4, - 0x01, 0x0a, 0x0b, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2c, - 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x62, - 0x65, 0x74, 0x61, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, - 0x61, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, - 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x38, 0x88, 0xe7, 0xb0, - 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, - 0x73, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x2f, 0x7b, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x7d, 0x42, 0xc5, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, + 0x61, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, + 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x12, 0x24, 0x2f, 0x63, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x73, 0x12, 0xbc, 0x01, 0x0a, 0x13, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x34, 0x2e, 0x63, 0x6f, 0x73, 0x6d, + 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x35, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x6f, 0x64, 0x75, 0x6c, + 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x38, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x2d, 0x12, 0x2b, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x75, 0x74, + 0x68, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, + 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, + 0x12, 0x88, 0x01, 0x0a, 0x0c, 0x42, 0x65, 0x63, 0x68, 0x33, 0x32, 0x50, 0x72, 0x65, 0x66, 0x69, + 0x78, 0x12, 0x28, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x42, 0x65, 0x63, 0x68, 0x33, 0x32, 0x50, 0x72, + 0x65, 0x66, 0x69, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x31, 0x42, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, - 0x30, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, - 0x69, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x31, - 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x61, 0x75, 0x74, 0x68, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x31, 0xa2, 0x02, 0x03, 0x43, 0x41, 0x58, 0xaa, 0x02, 0x13, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, - 0x2e, 0x41, 0x75, 0x74, 0x68, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x13, - 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x41, 0x75, 0x74, 0x68, 0x5c, 0x56, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x31, 0xe2, 0x02, 0x1f, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x41, 0x75, 0x74, - 0x68, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, - 0x41, 0x75, 0x74, 0x68, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x31, 0x2e, 0x42, 0x65, 0x63, 0x68, 0x33, 0x32, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x1b, + 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2f, 0x62, 0x65, 0x63, 0x68, 0x33, 0x32, 0x12, 0xb0, 0x01, 0x0a, 0x14, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x79, 0x74, 0x65, 0x73, 0x54, 0x6f, 0x53, 0x74, + 0x72, 0x69, 0x6e, 0x67, 0x12, 0x30, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, + 0x74, 0x68, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x42, 0x79, 0x74, 0x65, 0x73, 0x54, 0x6f, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, + 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x42, 0x79, 0x74, 0x65, 0x73, 0x54, 0x6f, 0x53, 0x74, 0x72, 0x69, 0x6e, + 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x2d, 0x12, 0x2b, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x62, 0x65, 0x63, 0x68, 0x33, 0x32, 0x2f, 0x7b, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x7d, 0x12, 0xb1, + 0x01, 0x0a, 0x14, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, + 0x54, 0x6f, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x30, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x54, 0x6f, 0x42, 0x79, 0x74, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x63, 0x6f, 0x73, 0x6d, + 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x54, 0x6f, 0x42, + 0x79, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x34, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x2e, 0x12, 0x2c, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x75, + 0x74, 0x68, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x62, 0x65, 0x63, 0x68, 0x33, + 0x32, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, + 0x67, 0x7d, 0x12, 0xa4, 0x01, 0x0a, 0x0b, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x12, 0x2c, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2d, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x38, 0x88, 0xe7, 0xb0, 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b, 0x2f, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x2f, + 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x42, 0xc5, 0x01, 0x0a, 0x17, 0x63, 0x6f, + 0x6d, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x50, 0x01, 0x5a, 0x30, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, + 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x75, 0x74, + 0x68, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x61, 0x75, 0x74, 0x68, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x41, 0x58, 0xaa, 0x02, 0x13, 0x43, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0xca, 0x02, 0x13, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x41, 0x75, 0x74, 0x68, 0x5c, + 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x1f, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x5c, 0x41, 0x75, 0x74, 0x68, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, + 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x43, 0x6f, 0x73, 0x6d, + 0x6f, 0x73, 0x3a, 0x3a, 0x41, 0x75, 0x74, 0x68, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/api/cosmos/consensus/v1/tx.pulsar.go b/api/cosmos/consensus/v1/tx.pulsar.go index fbfaf5d071dc..b455e4ca0088 100644 --- a/api/cosmos/consensus/v1/tx.pulsar.go +++ b/api/cosmos/consensus/v1/tx.pulsar.go @@ -1052,6 +1052,8 @@ type MsgUpdateParams struct { // authority is the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // params defines the x/consensus_params parameters to update. + // VersionsParams is not included in this Msg because it is tracked + // separarately in x/upgrade. // // NOTE: All parameters must be supplied. Block *types.BlockParams `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"` diff --git a/api/cosmos/crisis/module/v1/module.pulsar.go b/api/cosmos/crisis/module/v1/module.pulsar.go index 1971d71c9a59..2e0a34d7d354 100644 --- a/api/cosmos/crisis/module/v1/module.pulsar.go +++ b/api/cosmos/crisis/module/v1/module.pulsar.go @@ -516,6 +516,7 @@ type Module struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + // fee_collector_name is the name of the FeeCollector ModuleAccount. FeeCollectorName string `protobuf:"bytes,1,opt,name=fee_collector_name,json=feeCollectorName,proto3" json:"fee_collector_name,omitempty"` // authority defines the custom module authority. If not set, defaults to the governance module. Authority string `protobuf:"bytes,2,opt,name=authority,proto3" json:"authority,omitempty"` diff --git a/api/cosmos/crisis/v1beta1/tx.pulsar.go b/api/cosmos/crisis/v1beta1/tx.pulsar.go index 5afe16e7cd62..78ff02fce005 100644 --- a/api/cosmos/crisis/v1beta1/tx.pulsar.go +++ b/api/cosmos/crisis/v1beta1/tx.pulsar.go @@ -1795,9 +1795,12 @@ type MsgVerifyInvariant struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + // sender is the account address of private key to send coins to fee collector account. + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + // name of the invariant module. InvariantModuleName string `protobuf:"bytes,2,opt,name=invariant_module_name,json=invariantModuleName,proto3" json:"invariant_module_name,omitempty"` - InvariantRoute string `protobuf:"bytes,3,opt,name=invariant_route,json=invariantRoute,proto3" json:"invariant_route,omitempty"` + // invariant_route is the msg's invariant route. + InvariantRoute string `protobuf:"bytes,3,opt,name=invariant_route,json=invariantRoute,proto3" json:"invariant_route,omitempty"` } func (x *MsgVerifyInvariant) Reset() { diff --git a/api/cosmos/crisis/v1beta1/tx_grpc.pb.go b/api/cosmos/crisis/v1beta1/tx_grpc.pb.go index bf5162aa0590..6ceb178aaa0f 100644 --- a/api/cosmos/crisis/v1beta1/tx_grpc.pb.go +++ b/api/cosmos/crisis/v1beta1/tx_grpc.pb.go @@ -22,7 +22,7 @@ const _ = grpc.SupportPackageIsVersion7 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type MsgClient interface { - // VerifyInvariant defines a method to verify a particular invariance. + // VerifyInvariant defines a method to verify a particular invariant. VerifyInvariant(ctx context.Context, in *MsgVerifyInvariant, opts ...grpc.CallOption) (*MsgVerifyInvariantResponse, error) // UpdateParams defines a governance operation for updating the x/crisis module // parameters. The authority is defined in the keeper. @@ -61,7 +61,7 @@ func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts // All implementations must embed UnimplementedMsgServer // for forward compatibility type MsgServer interface { - // VerifyInvariant defines a method to verify a particular invariance. + // VerifyInvariant defines a method to verify a particular invariant. VerifyInvariant(context.Context, *MsgVerifyInvariant) (*MsgVerifyInvariantResponse, error) // UpdateParams defines a governance operation for updating the x/crisis module // parameters. The authority is defined in the keeper. diff --git a/api/cosmos/tx/module/v1/module.pulsar.go b/api/cosmos/tx/config/v1/config.pulsar.go similarity index 66% rename from api/cosmos/tx/module/v1/module.pulsar.go rename to api/cosmos/tx/config/v1/config.pulsar.go index bbecf5d7c2e1..c0b353c4367f 100644 --- a/api/cosmos/tx/module/v1/module.pulsar.go +++ b/api/cosmos/tx/config/v1/config.pulsar.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-pulsar. DO NOT EDIT. -package modulev1 +package configv1 import ( _ "cosmossdk.io/api/cosmos/app/v1alpha1" @@ -14,28 +14,28 @@ import ( ) var ( - md_Module protoreflect.MessageDescriptor - fd_Module_skip_ante_handler protoreflect.FieldDescriptor - fd_Module_skip_post_handler protoreflect.FieldDescriptor + md_Config protoreflect.MessageDescriptor + fd_Config_skip_ante_handler protoreflect.FieldDescriptor + fd_Config_skip_post_handler protoreflect.FieldDescriptor ) func init() { - file_cosmos_tx_module_v1_module_proto_init() - md_Module = File_cosmos_tx_module_v1_module_proto.Messages().ByName("Module") - fd_Module_skip_ante_handler = md_Module.Fields().ByName("skip_ante_handler") - fd_Module_skip_post_handler = md_Module.Fields().ByName("skip_post_handler") + file_cosmos_tx_config_v1_config_proto_init() + md_Config = File_cosmos_tx_config_v1_config_proto.Messages().ByName("Config") + fd_Config_skip_ante_handler = md_Config.Fields().ByName("skip_ante_handler") + fd_Config_skip_post_handler = md_Config.Fields().ByName("skip_post_handler") } -var _ protoreflect.Message = (*fastReflection_Module)(nil) +var _ protoreflect.Message = (*fastReflection_Config)(nil) -type fastReflection_Module Module +type fastReflection_Config Config -func (x *Module) ProtoReflect() protoreflect.Message { - return (*fastReflection_Module)(x) +func (x *Config) ProtoReflect() protoreflect.Message { + return (*fastReflection_Config)(x) } -func (x *Module) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_tx_module_v1_module_proto_msgTypes[0] +func (x *Config) slowProtoReflect() protoreflect.Message { + mi := &file_cosmos_tx_config_v1_config_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -46,43 +46,43 @@ func (x *Module) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_Module_messageType fastReflection_Module_messageType -var _ protoreflect.MessageType = fastReflection_Module_messageType{} +var _fastReflection_Config_messageType fastReflection_Config_messageType +var _ protoreflect.MessageType = fastReflection_Config_messageType{} -type fastReflection_Module_messageType struct{} +type fastReflection_Config_messageType struct{} -func (x fastReflection_Module_messageType) Zero() protoreflect.Message { - return (*fastReflection_Module)(nil) +func (x fastReflection_Config_messageType) Zero() protoreflect.Message { + return (*fastReflection_Config)(nil) } -func (x fastReflection_Module_messageType) New() protoreflect.Message { - return new(fastReflection_Module) +func (x fastReflection_Config_messageType) New() protoreflect.Message { + return new(fastReflection_Config) } -func (x fastReflection_Module_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_Module +func (x fastReflection_Config_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_Config } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_Module) Descriptor() protoreflect.MessageDescriptor { - return md_Module +func (x *fastReflection_Config) Descriptor() protoreflect.MessageDescriptor { + return md_Config } // Type returns the message type, which encapsulates both Go and protobuf // type information. If the Go type information is not needed, // it is recommended that the message descriptor be used instead. -func (x *fastReflection_Module) Type() protoreflect.MessageType { - return _fastReflection_Module_messageType +func (x *fastReflection_Config) Type() protoreflect.MessageType { + return _fastReflection_Config_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_Module) New() protoreflect.Message { - return new(fastReflection_Module) +func (x *fastReflection_Config) New() protoreflect.Message { + return new(fastReflection_Config) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_Module) Interface() protoreflect.ProtoMessage { - return (*Module)(x) +func (x *fastReflection_Config) Interface() protoreflect.ProtoMessage { + return (*Config)(x) } // Range iterates over every populated field in an undefined order, @@ -90,16 +90,16 @@ func (x *fastReflection_Module) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_Module) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_Config) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.SkipAnteHandler != false { value := protoreflect.ValueOfBool(x.SkipAnteHandler) - if !f(fd_Module_skip_ante_handler, value) { + if !f(fd_Config_skip_ante_handler, value) { return } } if x.SkipPostHandler != false { value := protoreflect.ValueOfBool(x.SkipPostHandler) - if !f(fd_Module_skip_post_handler, value) { + if !f(fd_Config_skip_post_handler, value) { return } } @@ -116,17 +116,17 @@ func (x *fastReflection_Module) Range(f func(protoreflect.FieldDescriptor, proto // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_Module) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_Config) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.tx.module.v1.Module.skip_ante_handler": + case "cosmos.tx.config.v1.Config.skip_ante_handler": return x.SkipAnteHandler != false - case "cosmos.tx.module.v1.Module.skip_post_handler": + case "cosmos.tx.config.v1.Config.skip_post_handler": return x.SkipPostHandler != false default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.tx.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.tx.config.v1.Config")) } - panic(fmt.Errorf("message cosmos.tx.module.v1.Module does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.tx.config.v1.Config does not contain field %s", fd.FullName())) } } @@ -136,17 +136,17 @@ func (x *fastReflection_Module) Has(fd protoreflect.FieldDescriptor) bool { // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Module) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_Config) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.tx.module.v1.Module.skip_ante_handler": + case "cosmos.tx.config.v1.Config.skip_ante_handler": x.SkipAnteHandler = false - case "cosmos.tx.module.v1.Module.skip_post_handler": + case "cosmos.tx.config.v1.Config.skip_post_handler": x.SkipPostHandler = false default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.tx.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.tx.config.v1.Config")) } - panic(fmt.Errorf("message cosmos.tx.module.v1.Module does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.tx.config.v1.Config does not contain field %s", fd.FullName())) } } @@ -156,19 +156,19 @@ func (x *fastReflection_Module) Clear(fd protoreflect.FieldDescriptor) { // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_Module) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_Config) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.tx.module.v1.Module.skip_ante_handler": + case "cosmos.tx.config.v1.Config.skip_ante_handler": value := x.SkipAnteHandler return protoreflect.ValueOfBool(value) - case "cosmos.tx.module.v1.Module.skip_post_handler": + case "cosmos.tx.config.v1.Config.skip_post_handler": value := x.SkipPostHandler return protoreflect.ValueOfBool(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.tx.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.tx.config.v1.Config")) } - panic(fmt.Errorf("message cosmos.tx.module.v1.Module does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.tx.config.v1.Config does not contain field %s", descriptor.FullName())) } } @@ -182,17 +182,17 @@ func (x *fastReflection_Module) Get(descriptor protoreflect.FieldDescriptor) pro // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Module) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_Config) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.tx.module.v1.Module.skip_ante_handler": + case "cosmos.tx.config.v1.Config.skip_ante_handler": x.SkipAnteHandler = value.Bool() - case "cosmos.tx.module.v1.Module.skip_post_handler": + case "cosmos.tx.config.v1.Config.skip_post_handler": x.SkipPostHandler = value.Bool() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.tx.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.tx.config.v1.Config")) } - panic(fmt.Errorf("message cosmos.tx.module.v1.Module does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.tx.config.v1.Config does not contain field %s", fd.FullName())) } } @@ -206,44 +206,44 @@ func (x *fastReflection_Module) Set(fd protoreflect.FieldDescriptor, value proto // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Module) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_Config) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.tx.module.v1.Module.skip_ante_handler": - panic(fmt.Errorf("field skip_ante_handler of message cosmos.tx.module.v1.Module is not mutable")) - case "cosmos.tx.module.v1.Module.skip_post_handler": - panic(fmt.Errorf("field skip_post_handler of message cosmos.tx.module.v1.Module is not mutable")) + case "cosmos.tx.config.v1.Config.skip_ante_handler": + panic(fmt.Errorf("field skip_ante_handler of message cosmos.tx.config.v1.Config is not mutable")) + case "cosmos.tx.config.v1.Config.skip_post_handler": + panic(fmt.Errorf("field skip_post_handler of message cosmos.tx.config.v1.Config is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.tx.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.tx.config.v1.Config")) } - panic(fmt.Errorf("message cosmos.tx.module.v1.Module does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.tx.config.v1.Config does not contain field %s", fd.FullName())) } } // NewField returns a new value that is assignable to the field // for the given descriptor. For scalars, this returns the default value. // For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_Module) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_Config) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.tx.module.v1.Module.skip_ante_handler": + case "cosmos.tx.config.v1.Config.skip_ante_handler": return protoreflect.ValueOfBool(false) - case "cosmos.tx.module.v1.Module.skip_post_handler": + case "cosmos.tx.config.v1.Config.skip_post_handler": return protoreflect.ValueOfBool(false) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.tx.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.tx.config.v1.Config")) } - panic(fmt.Errorf("message cosmos.tx.module.v1.Module does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.tx.config.v1.Config does not contain field %s", fd.FullName())) } } // WhichOneof reports which field within the oneof is populated, // returning nil if none are populated. // It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_Module) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_Config) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.tx.module.v1.Module", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.tx.config.v1.Config", d.FullName())) } panic("unreachable") } @@ -251,7 +251,7 @@ func (x *fastReflection_Module) WhichOneof(d protoreflect.OneofDescriptor) proto // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_Module) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_Config) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -262,7 +262,7 @@ func (x *fastReflection_Module) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_Module) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_Config) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -274,7 +274,7 @@ func (x *fastReflection_Module) SetUnknown(fields protoreflect.RawFields) { // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_Module) IsValid() bool { +func (x *fastReflection_Config) IsValid() bool { return x != nil } @@ -284,9 +284,9 @@ func (x *fastReflection_Module) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_Module) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_Config) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*Module) + x := input.Message.Interface().(*Config) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -314,7 +314,7 @@ func (x *fastReflection_Module) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*Module) + x := input.Message.Interface().(*Config) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -364,7 +364,7 @@ func (x *fastReflection_Module) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*Module) + x := input.Message.Interface().(*Config) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -396,10 +396,10 @@ func (x *fastReflection_Module) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Module: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Config: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Module: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Config: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -481,7 +481,7 @@ func (x *fastReflection_Module) ProtoMethods() *protoiface.Methods { // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: cosmos/tx/module/v1/module.proto +// source: cosmos/tx/config/v1/config.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -490,8 +490,8 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -// Module is the config object of the tx module. -type Module struct { +// Config is the config object of the x/auth/tx package. +type Config struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -504,91 +504,90 @@ type Module struct { SkipPostHandler bool `protobuf:"varint,2,opt,name=skip_post_handler,json=skipPostHandler,proto3" json:"skip_post_handler,omitempty"` } -func (x *Module) Reset() { - *x = Module{} +func (x *Config) Reset() { + *x = Config{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_tx_module_v1_module_proto_msgTypes[0] + mi := &file_cosmos_tx_config_v1_config_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *Module) String() string { +func (x *Config) String() string { return protoimpl.X.MessageStringOf(x) } -func (*Module) ProtoMessage() {} +func (*Config) ProtoMessage() {} -// Deprecated: Use Module.ProtoReflect.Descriptor instead. -func (*Module) Descriptor() ([]byte, []int) { - return file_cosmos_tx_module_v1_module_proto_rawDescGZIP(), []int{0} +// Deprecated: Use Config.ProtoReflect.Descriptor instead. +func (*Config) Descriptor() ([]byte, []int) { + return file_cosmos_tx_config_v1_config_proto_rawDescGZIP(), []int{0} } -func (x *Module) GetSkipAnteHandler() bool { +func (x *Config) GetSkipAnteHandler() bool { if x != nil { return x.SkipAnteHandler } return false } -func (x *Module) GetSkipPostHandler() bool { +func (x *Config) GetSkipPostHandler() bool { if x != nil { return x.SkipPostHandler } return false } -var File_cosmos_tx_module_v1_module_proto protoreflect.FileDescriptor +var File_cosmos_tx_config_v1_config_proto protoreflect.FileDescriptor -var file_cosmos_tx_module_v1_module_proto_rawDesc = []byte{ - 0x0a, 0x20, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x74, 0x78, 0x2f, 0x6d, 0x6f, 0x64, 0x75, - 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x12, 0x13, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x74, 0x78, 0x2e, 0x6d, 0x6f, - 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, +var file_cosmos_tx_config_v1_config_proto_rawDesc = []byte{ + 0x0a, 0x20, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x74, 0x78, 0x2f, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x12, 0x13, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x74, 0x78, 0x2e, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x6d, 0x6f, 0x64, - 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97, 0x01, 0x0a, 0x06, 0x4d, 0x6f, - 0x64, 0x75, 0x6c, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x61, 0x6e, 0x74, + 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x90, 0x01, 0x0a, 0x06, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x61, 0x6e, 0x74, 0x65, 0x5f, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x73, 0x6b, 0x69, 0x70, 0x41, 0x6e, 0x74, 0x65, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x73, 0x6b, 0x69, - 0x70, 0x50, 0x6f, 0x73, 0x74, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x3a, 0x35, 0xba, 0xc0, - 0x96, 0xda, 0x01, 0x2f, 0x0a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x70, 0x50, 0x6f, 0x73, 0x74, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x3a, 0x2e, 0xba, 0xc0, + 0x96, 0xda, 0x01, 0x28, 0x0a, 0x26, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, - 0x64, 0x6b, 0x2f, 0x78, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x74, 0x78, 0x2f, 0x6d, 0x6f, 0x64, - 0x75, 0x6c, 0x65, 0x42, 0xc4, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x2e, 0x74, 0x78, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x42, - 0x0b, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2d, - 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x74, 0x78, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, - 0x43, 0x54, 0x4d, 0xaa, 0x02, 0x13, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x54, 0x78, 0x2e, - 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x13, 0x43, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x5c, 0x54, 0x78, 0x5c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5c, 0x56, 0x31, 0xe2, - 0x02, 0x1f, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x54, 0x78, 0x5c, 0x4d, 0x6f, 0x64, 0x75, - 0x6c, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0xea, 0x02, 0x16, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x54, 0x78, 0x3a, 0x3a, - 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x64, 0x6b, 0x2f, 0x78, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x74, 0x78, 0x42, 0xc4, 0x01, 0x0a, + 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x74, 0x78, 0x2e, 0x63, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2d, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, + 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x2f, 0x74, 0x78, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x76, 0x31, 0x3b, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x54, 0x43, 0xaa, 0x02, 0x13, 0x43, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x54, 0x78, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, + 0x56, 0x31, 0xca, 0x02, 0x13, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x54, 0x78, 0x5c, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1f, 0x43, 0x6f, 0x73, 0x6d, 0x6f, + 0x73, 0x5c, 0x54, 0x78, 0x5c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5c, 0x56, 0x31, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x16, 0x43, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x54, 0x78, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x3a, + 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_cosmos_tx_module_v1_module_proto_rawDescOnce sync.Once - file_cosmos_tx_module_v1_module_proto_rawDescData = file_cosmos_tx_module_v1_module_proto_rawDesc + file_cosmos_tx_config_v1_config_proto_rawDescOnce sync.Once + file_cosmos_tx_config_v1_config_proto_rawDescData = file_cosmos_tx_config_v1_config_proto_rawDesc ) -func file_cosmos_tx_module_v1_module_proto_rawDescGZIP() []byte { - file_cosmos_tx_module_v1_module_proto_rawDescOnce.Do(func() { - file_cosmos_tx_module_v1_module_proto_rawDescData = protoimpl.X.CompressGZIP(file_cosmos_tx_module_v1_module_proto_rawDescData) +func file_cosmos_tx_config_v1_config_proto_rawDescGZIP() []byte { + file_cosmos_tx_config_v1_config_proto_rawDescOnce.Do(func() { + file_cosmos_tx_config_v1_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_cosmos_tx_config_v1_config_proto_rawDescData) }) - return file_cosmos_tx_module_v1_module_proto_rawDescData + return file_cosmos_tx_config_v1_config_proto_rawDescData } -var file_cosmos_tx_module_v1_module_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_cosmos_tx_module_v1_module_proto_goTypes = []interface{}{ - (*Module)(nil), // 0: cosmos.tx.module.v1.Module +var file_cosmos_tx_config_v1_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_cosmos_tx_config_v1_config_proto_goTypes = []interface{}{ + (*Config)(nil), // 0: cosmos.tx.config.v1.Config } -var file_cosmos_tx_module_v1_module_proto_depIdxs = []int32{ +var file_cosmos_tx_config_v1_config_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for method output_type 0, // [0:0] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name @@ -596,14 +595,14 @@ var file_cosmos_tx_module_v1_module_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for field type_name } -func init() { file_cosmos_tx_module_v1_module_proto_init() } -func file_cosmos_tx_module_v1_module_proto_init() { - if File_cosmos_tx_module_v1_module_proto != nil { +func init() { file_cosmos_tx_config_v1_config_proto_init() } +func file_cosmos_tx_config_v1_config_proto_init() { + if File_cosmos_tx_config_v1_config_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_cosmos_tx_module_v1_module_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Module); i { + file_cosmos_tx_config_v1_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Config); i { case 0: return &v.state case 1: @@ -619,18 +618,18 @@ func file_cosmos_tx_module_v1_module_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_cosmos_tx_module_v1_module_proto_rawDesc, + RawDescriptor: file_cosmos_tx_config_v1_config_proto_rawDesc, NumEnums: 0, NumMessages: 1, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_cosmos_tx_module_v1_module_proto_goTypes, - DependencyIndexes: file_cosmos_tx_module_v1_module_proto_depIdxs, - MessageInfos: file_cosmos_tx_module_v1_module_proto_msgTypes, + GoTypes: file_cosmos_tx_config_v1_config_proto_goTypes, + DependencyIndexes: file_cosmos_tx_config_v1_config_proto_depIdxs, + MessageInfos: file_cosmos_tx_config_v1_config_proto_msgTypes, }.Build() - File_cosmos_tx_module_v1_module_proto = out.File - file_cosmos_tx_module_v1_module_proto_rawDesc = nil - file_cosmos_tx_module_v1_module_proto_goTypes = nil - file_cosmos_tx_module_v1_module_proto_depIdxs = nil + File_cosmos_tx_config_v1_config_proto = out.File + file_cosmos_tx_config_v1_config_proto_rawDesc = nil + file_cosmos_tx_config_v1_config_proto_goTypes = nil + file_cosmos_tx_config_v1_config_proto_depIdxs = nil } diff --git a/api/cosmos/tx/v1beta1/service_grpc.pb.go b/api/cosmos/tx/v1beta1/service_grpc.pb.go index 4eb5d79d1bec..afc8256136b4 100644 --- a/api/cosmos/tx/v1beta1/service_grpc.pb.go +++ b/api/cosmos/tx/v1beta1/service_grpc.pb.go @@ -42,11 +42,11 @@ type ServiceClient interface { // // Since: cosmos-sdk 0.47 TxEncode(ctx context.Context, in *TxEncodeRequest, opts ...grpc.CallOption) (*TxEncodeResponse, error) - // TxEncodeAmino encodes an amino transaction. + // TxEncodeAmino encodes an Amino transaction from JSON to encoded bytes. // // Since: cosmos-sdk 0.47 TxEncodeAmino(ctx context.Context, in *TxEncodeAminoRequest, opts ...grpc.CallOption) (*TxEncodeAminoResponse, error) - // TxDecodeAmino decodes an amino transaction. + // TxDecodeAmino decodes an Amino transaction from encoded bytes to JSON. // // Since: cosmos-sdk 0.47 TxDecodeAmino(ctx context.Context, in *TxDecodeAminoRequest, opts ...grpc.CallOption) (*TxDecodeAminoResponse, error) @@ -165,11 +165,11 @@ type ServiceServer interface { // // Since: cosmos-sdk 0.47 TxEncode(context.Context, *TxEncodeRequest) (*TxEncodeResponse, error) - // TxEncodeAmino encodes an amino transaction. + // TxEncodeAmino encodes an Amino transaction from JSON to encoded bytes. // // Since: cosmos-sdk 0.47 TxEncodeAmino(context.Context, *TxEncodeAminoRequest) (*TxEncodeAminoResponse, error) - // TxDecodeAmino decodes an amino transaction. + // TxDecodeAmino decodes an Amino transaction from encoded bytes to JSON. // // Since: cosmos-sdk 0.47 TxDecodeAmino(context.Context, *TxDecodeAminoRequest) (*TxDecodeAminoResponse, error) diff --git a/baseapp/util_test.go b/baseapp/util_test.go index 228331466f2d..f35a47bb264e 100644 --- a/baseapp/util_test.go +++ b/baseapp/util_test.go @@ -15,7 +15,7 @@ import ( mintmodulev1 "cosmossdk.io/api/cosmos/mint/module/v1" paramsmodulev1 "cosmossdk.io/api/cosmos/params/module/v1" stakingmodulev1 "cosmossdk.io/api/cosmos/staking/module/v1" - txmodulev1 "cosmossdk.io/api/cosmos/tx/module/v1" + txconfigv1 "cosmossdk.io/api/cosmos/tx/config/v1" "cosmossdk.io/core/appconfig" "cosmossdk.io/depinject" "github.com/cosmos/cosmos-sdk/baseapp" @@ -27,7 +27,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/mempool" _ "github.com/cosmos/cosmos-sdk/x/auth" - _ "github.com/cosmos/cosmos-sdk/x/auth/tx/module" + _ "github.com/cosmos/cosmos-sdk/x/auth/tx/config" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" _ "github.com/cosmos/cosmos-sdk/x/bank" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" @@ -143,7 +143,7 @@ func makeTestConfig() depinject.Config { }, { Name: "tx", - Config: appconfig.WrapAny(&txmodulev1.Module{}), + Config: appconfig.WrapAny(&txconfigv1.Config{}), }, }, }) diff --git a/docs/docs/core/05-encoding.md b/docs/docs/core/05-encoding.md index bdd09a252477..a7aff7cd4257 100644 --- a/docs/docs/core/05-encoding.md +++ b/docs/docs/core/05-encoding.md @@ -125,7 +125,7 @@ the consensus engine accepts only transactions in the form of raw bytes. https://github.com/cosmos/cosmos-sdk/blob/v0.46.0/types/tx_msg.go#L72-L76 ``` -A standard implementation of both these objects can be found in the [`auth` module](../modules/auth/README.md): +A standard implementation of both these objects can be found in the [`auth/tx` module](../modules/auth/tx/README.md): ```go reference https://github.com/cosmos/cosmos-sdk/blob/v0.46.0/x/auth/tx/decoder.go diff --git a/docs/modules_category.json b/docs/docs/modules/_category_.json similarity index 100% rename from docs/modules_category.json rename to docs/docs/modules/_category_.json diff --git a/docs/docs/pkg/_category_.json b/docs/docs/pkg/_category_.json new file mode 100644 index 000000000000..f66709051a54 --- /dev/null +++ b/docs/docs/pkg/_category_.json @@ -0,0 +1,5 @@ +{ + "label": "Notable Packages", + "position": 10, + "link": null +} \ No newline at end of file diff --git a/docs/post.sh b/docs/post.sh index 5ef7a8dff7ca..4808e33e1817 100755 --- a/docs/post.sh +++ b/docs/post.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -rm -rf docs/modules +find docs/modules ! -name '_category_.json' -type f -exec rm -rf {} + rm -rf docs/tooling/01-cosmovisor.md rm -rf docs/tooling/02-depinject.md rm -rf docs/run-node/04-rosetta.md diff --git a/docs/pre.sh b/docs/pre.sh index 91a783ad62e1..e4b0f969e3a6 100755 --- a/docs/pre.sh +++ b/docs/pre.sh @@ -1,9 +1,6 @@ #!/usr/bin/env bash ## Create modules pages -mkdir -p docs/modules -cp modules_category.json docs/modules/_category_.json - for D in ../x/*; do if [ -d "${D}" ]; then MODDOC=docs/modules/$(echo $D | awk -F/ '{print $NF}') @@ -14,8 +11,8 @@ done ## Vesting is a submodule of auth, but we still want to display it in docs ## TODO to be removed in https://github.com/cosmos/cosmos-sdk/issues/9958 -mkdir -p docs/modules/vesting -cp -r ../x/auth/vesting/README.md ./docs/modules/vesting/README.md +cp ../x/auth/vesting/README.md ./docs/modules/auth/1-vesting.md +cp ../x/auth/tx/README.md ./docs/modules/auth/2-tx.md ## Add modules page list cat ../x/README.md | sed 's/\.\.\/docs\/building-modules\/README\.md/\/building-modules\/intro\.html/g' > ./docs/modules/README.md diff --git a/fuzz/README.md b/fuzz/README.md index a839d65e21c2..f93a91c52ef0 100644 --- a/fuzz/README.md +++ b/fuzz/README.md @@ -5,8 +5,8 @@ The fuzz tests are in standard [Go format](https://go.dev/doc/fuzz/). To run a fuzz test, use the `-fuzz` flag to `go test`. For example: -``` -$ go test -fuzz FuzzCryptoHDNewParamsFromPath ./tests +```shell +go test -fuzz FuzzCryptoHDNewParamsFromPath ./tests ``` ## oss-fuzz build status diff --git a/go.mod b/go.mod index 282dba113794..a36fd2a4128c 100644 --- a/go.mod +++ b/go.mod @@ -164,6 +164,9 @@ require ( nhooyr.io/websocket v1.8.6 // indirect ) +// TODO remove after this PR +replace cosmossdk.io/api => ./api + replace ( github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0 // Update to rosetta-sdk-go temporarly to have `check:spec` passing. See https://github.com/coinbase/rosetta-sdk-go/issues/449 diff --git a/go.sum b/go.sum index 9d2204410b7c..6b25c3e9e8d2 100644 --- a/go.sum +++ b/go.sum @@ -46,8 +46,6 @@ cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9 cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo= cloud.google.com/go/storage v1.27.0 h1:YOO045NZI9RKfCj1c5A/ZtuuENUc8OAW+gHdGnDgyMQ= cloud.google.com/go/storage v1.27.0/go.mod h1:x9DOL8TK/ygDUMieqwfhdpQryTeEkhGKMi80i/iqR2s= -cosmossdk.io/api v0.2.4 h1:o2t77GXWWEN5egCzD2ZyyFgbsoAif/XdF3T+/sAYiHQ= -cosmossdk.io/api v0.2.4/go.mod h1:7xfxe8ghXHoKj3W2oG/HcuxGVwUHN3q8piiIEiJ3CEU= cosmossdk.io/core v0.3.2 h1:KlQIufpJHJvOs7YLGTZsZcCo1WlkencDXepsr8STKZQ= cosmossdk.io/core v0.3.2/go.mod h1:CO7vbe+evrBvHc0setFHL/u7nlY7HJGzdRSBkT/sirc= cosmossdk.io/depinject v1.0.0-alpha.3 h1:6evFIgj//Y3w09bqOUOzEpFj5tsxBqdc5CfkO7z+zfw= diff --git a/proto/cosmos/tx/module/v1/module.proto b/proto/cosmos/tx/config/v1/config.proto similarity index 74% rename from proto/cosmos/tx/module/v1/module.proto rename to proto/cosmos/tx/config/v1/config.proto index 4d90fe4795a5..15553a2821e4 100644 --- a/proto/cosmos/tx/module/v1/module.proto +++ b/proto/cosmos/tx/config/v1/config.proto @@ -1,13 +1,13 @@ syntax = "proto3"; -package cosmos.tx.module.v1; +package cosmos.tx.config.v1; import "cosmos/app/v1alpha1/module.proto"; -// Module is the config object of the tx module. -message Module { +// Config is the config object of the x/auth/tx package. +message Config { option (cosmos.app.v1alpha1.module) = { - go_import: "github.com/cosmos/cosmos-sdk/x/auth/tx/module" + go_import: "github.com/cosmos/cosmos-sdk/x/auth/tx" }; // skip_ante_handler defines whether the ante handler registration should be skipped in case an app wants to override diff --git a/server/grpc/grpc_web_test.go b/server/grpc/grpc_web_test.go index 4abad560155c..664d3632de08 100644 --- a/server/grpc/grpc_web_test.go +++ b/server/grpc/grpc_web_test.go @@ -23,7 +23,7 @@ import ( cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" "github.com/cosmos/cosmos-sdk/testutil/network" _ "github.com/cosmos/cosmos-sdk/x/auth" - _ "github.com/cosmos/cosmos-sdk/x/auth/tx/module" + _ "github.com/cosmos/cosmos-sdk/x/auth/tx/config" _ "github.com/cosmos/cosmos-sdk/x/bank" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" _ "github.com/cosmos/cosmos-sdk/x/genutil" diff --git a/simapp/app_config.go b/simapp/app_config.go index 8a08ccbc44bc..e3c1c261d80c 100644 --- a/simapp/app_config.go +++ b/simapp/app_config.go @@ -22,7 +22,7 @@ import ( paramsmodulev1 "cosmossdk.io/api/cosmos/params/module/v1" slashingmodulev1 "cosmossdk.io/api/cosmos/slashing/module/v1" stakingmodulev1 "cosmossdk.io/api/cosmos/staking/module/v1" - txmodulev1 "cosmossdk.io/api/cosmos/tx/module/v1" + txconfigv1 "cosmossdk.io/api/cosmos/tx/config/v1" upgrademodulev1 "cosmossdk.io/api/cosmos/upgrade/module/v1" vestingmodulev1 "cosmossdk.io/api/cosmos/vesting/module/v1" "cosmossdk.io/core/appconfig" @@ -169,7 +169,7 @@ var ( }, { Name: "tx", - Config: appconfig.WrapAny(&txmodulev1.Module{}), + Config: appconfig.WrapAny(&txconfigv1.Config{}), }, { Name: genutiltypes.ModuleName, diff --git a/simapp/app_v2.go b/simapp/app_v2.go index 15a313c7e795..611b7b22f619 100644 --- a/simapp/app_v2.go +++ b/simapp/app_v2.go @@ -32,7 +32,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/auth" authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" authsims "github.com/cosmos/cosmos-sdk/x/auth/simulation" - _ "github.com/cosmos/cosmos-sdk/x/auth/tx/module" // import for side-effects + _ "github.com/cosmos/cosmos-sdk/x/auth/tx/config" // import for side-effects authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/cosmos/cosmos-sdk/x/auth/vesting" vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types" diff --git a/simapp/go.mod b/simapp/go.mod index 5374b82c4576..eef0b36e5559 100644 --- a/simapp/go.mod +++ b/simapp/go.mod @@ -160,6 +160,9 @@ require ( sigs.k8s.io/yaml v1.3.0 // indirect ) +// TODO remove after this PR +replace cosmossdk.io/api => ../api + replace ( github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0 // Update to rosetta-sdk-go temporarly to have `check:spec` passing. See https://github.com/coinbase/rosetta-sdk-go/issues/449 diff --git a/simapp/go.sum b/simapp/go.sum index bb025f2b8c5c..d3d2164c89c7 100644 --- a/simapp/go.sum +++ b/simapp/go.sum @@ -46,8 +46,6 @@ cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9 cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo= cloud.google.com/go/storage v1.27.0 h1:YOO045NZI9RKfCj1c5A/ZtuuENUc8OAW+gHdGnDgyMQ= cloud.google.com/go/storage v1.27.0/go.mod h1:x9DOL8TK/ygDUMieqwfhdpQryTeEkhGKMi80i/iqR2s= -cosmossdk.io/api v0.2.4 h1:o2t77GXWWEN5egCzD2ZyyFgbsoAif/XdF3T+/sAYiHQ= -cosmossdk.io/api v0.2.4/go.mod h1:7xfxe8ghXHoKj3W2oG/HcuxGVwUHN3q8piiIEiJ3CEU= cosmossdk.io/core v0.3.2 h1:KlQIufpJHJvOs7YLGTZsZcCo1WlkencDXepsr8STKZQ= cosmossdk.io/core v0.3.2/go.mod h1:CO7vbe+evrBvHc0setFHL/u7nlY7HJGzdRSBkT/sirc= cosmossdk.io/depinject v1.0.0-alpha.3 h1:6evFIgj//Y3w09bqOUOzEpFj5tsxBqdc5CfkO7z+zfw= diff --git a/tests/go.mod b/tests/go.mod index 525b7b0df3a2..1f742fb20ea9 100644 --- a/tests/go.mod +++ b/tests/go.mod @@ -7,7 +7,7 @@ require ( cosmossdk.io/depinject v1.0.0-alpha.3 cosmossdk.io/math v1.0.0-beta.3 cosmossdk.io/simapp v0.0.0-00010101000000-000000000000 - github.com/cosmos/cosmos-sdk v0.46.1 + github.com/cosmos/cosmos-sdk v0.46.0-beta2.0.20220909113810-4882f933b1a1 github.com/cosmos/gogoproto v1.4.3 github.com/golang/mock v1.6.0 github.com/google/uuid v1.3.0 @@ -162,6 +162,9 @@ require ( sigs.k8s.io/yaml v1.3.0 // indirect ) +// TODO to remove after this PR +replace cosmossdk.io/api => ../api + replace ( // We always want to test against the latest version of the simapp. cosmossdk.io/simapp => ../simapp diff --git a/tests/go.sum b/tests/go.sum index b4b3ece61238..ed9389f1f812 100644 --- a/tests/go.sum +++ b/tests/go.sum @@ -46,8 +46,6 @@ cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9 cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo= cloud.google.com/go/storage v1.27.0 h1:YOO045NZI9RKfCj1c5A/ZtuuENUc8OAW+gHdGnDgyMQ= cloud.google.com/go/storage v1.27.0/go.mod h1:x9DOL8TK/ygDUMieqwfhdpQryTeEkhGKMi80i/iqR2s= -cosmossdk.io/api v0.2.4 h1:o2t77GXWWEN5egCzD2ZyyFgbsoAif/XdF3T+/sAYiHQ= -cosmossdk.io/api v0.2.4/go.mod h1:7xfxe8ghXHoKj3W2oG/HcuxGVwUHN3q8piiIEiJ3CEU= cosmossdk.io/core v0.3.2 h1:KlQIufpJHJvOs7YLGTZsZcCo1WlkencDXepsr8STKZQ= cosmossdk.io/core v0.3.2/go.mod h1:CO7vbe+evrBvHc0setFHL/u7nlY7HJGzdRSBkT/sirc= cosmossdk.io/depinject v1.0.0-alpha.3 h1:6evFIgj//Y3w09bqOUOzEpFj5tsxBqdc5CfkO7z+zfw= diff --git a/tests/integration/bank/keeper/deterministic_test.go b/tests/integration/bank/keeper/deterministic_test.go index 238740d51fb4..823cee6b4e9a 100644 --- a/tests/integration/bank/keeper/deterministic_test.go +++ b/tests/integration/bank/keeper/deterministic_test.go @@ -19,7 +19,7 @@ import ( minttypes "github.com/cosmos/cosmos-sdk/x/mint/types" _ "github.com/cosmos/cosmos-sdk/x/auth" - _ "github.com/cosmos/cosmos-sdk/x/auth/tx/module" + _ "github.com/cosmos/cosmos-sdk/x/auth/tx/config" _ "github.com/cosmos/cosmos-sdk/x/bank" _ "github.com/cosmos/cosmos-sdk/x/consensus" _ "github.com/cosmos/cosmos-sdk/x/params" diff --git a/tests/integration/genutil/gentx_test.go b/tests/integration/genutil/gentx_test.go index 4f9346673073..7a63b8a386b0 100644 --- a/tests/integration/genutil/gentx_test.go +++ b/tests/integration/genutil/gentx_test.go @@ -22,7 +22,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" moduletestutil "github.com/cosmos/cosmos-sdk/types/module/testutil" _ "github.com/cosmos/cosmos-sdk/x/auth" - _ "github.com/cosmos/cosmos-sdk/x/auth/tx/module" + _ "github.com/cosmos/cosmos-sdk/x/auth/tx/config" _ "github.com/cosmos/cosmos-sdk/x/bank" "github.com/cosmos/cosmos-sdk/x/bank/testutil" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" diff --git a/tests/integration/runtime/query_test.go b/tests/integration/runtime/query_test.go index 0fa3cdb39f0c..c97a7134852c 100644 --- a/tests/integration/runtime/query_test.go +++ b/tests/integration/runtime/query_test.go @@ -21,7 +21,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/cosmos-sdk/x/auth" - _ "github.com/cosmos/cosmos-sdk/x/auth/tx/module" + _ "github.com/cosmos/cosmos-sdk/x/auth/tx/config" _ "github.com/cosmos/cosmos-sdk/x/bank" _ "github.com/cosmos/cosmos-sdk/x/consensus" _ "github.com/cosmos/cosmos-sdk/x/params" diff --git a/testutil/configurator/configurator.go b/testutil/configurator/configurator.go index f62cd27efab6..90b04e7c16a3 100644 --- a/testutil/configurator/configurator.go +++ b/testutil/configurator/configurator.go @@ -14,7 +14,7 @@ import ( paramsmodulev1 "cosmossdk.io/api/cosmos/params/module/v1" slashingmodulev1 "cosmossdk.io/api/cosmos/slashing/module/v1" stakingmodulev1 "cosmossdk.io/api/cosmos/staking/module/v1" - txmodulev1 "cosmossdk.io/api/cosmos/tx/module/v1" + txconfigv1 "cosmossdk.io/api/cosmos/tx/config/v1" vestingmodulev1 "cosmossdk.io/api/cosmos/vesting/module/v1" "cosmossdk.io/core/appconfig" "cosmossdk.io/depinject" @@ -134,7 +134,7 @@ func TxModule() ModuleOption { return func(config *appConfig) { config.moduleConfigs["tx"] = &appv1alpha1.ModuleConfig{ Name: "tx", - Config: appconfig.WrapAny(&txmodulev1.Module{}), + Config: appconfig.WrapAny(&txconfigv1.Config{}), } } } diff --git a/testutil/network/network.go b/testutil/network/network.go index 68f2c72d7526..470377fe50d4 100644 --- a/testutil/network/network.go +++ b/testutil/network/network.go @@ -46,7 +46,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" moduletestutil "github.com/cosmos/cosmos-sdk/types/module/testutil" _ "github.com/cosmos/cosmos-sdk/x/auth" - _ "github.com/cosmos/cosmos-sdk/x/auth/tx/module" + _ "github.com/cosmos/cosmos-sdk/x/auth/tx/config" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" _ "github.com/cosmos/cosmos-sdk/x/bank" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" diff --git a/types/tx/service.pb.go b/types/tx/service.pb.go index 608dd2772ad8..4f388da53107 100644 --- a/types/tx/service.pb.go +++ b/types/tx/service.pb.go @@ -1240,11 +1240,11 @@ type ServiceClient interface { // // Since: cosmos-sdk 0.47 TxEncode(ctx context.Context, in *TxEncodeRequest, opts ...grpc.CallOption) (*TxEncodeResponse, error) - // TxEncodeAmino encodes an amino transaction. + // TxEncodeAmino encodes an Amino transaction from JSON to encoded bytes. // // Since: cosmos-sdk 0.47 TxEncodeAmino(ctx context.Context, in *TxEncodeAminoRequest, opts ...grpc.CallOption) (*TxEncodeAminoResponse, error) - // TxDecodeAmino decodes an amino transaction. + // TxDecodeAmino decodes an Amino transaction from encoded bytes to JSON. // // Since: cosmos-sdk 0.47 TxDecodeAmino(ctx context.Context, in *TxDecodeAminoRequest, opts ...grpc.CallOption) (*TxDecodeAminoResponse, error) @@ -1361,11 +1361,11 @@ type ServiceServer interface { // // Since: cosmos-sdk 0.47 TxEncode(context.Context, *TxEncodeRequest) (*TxEncodeResponse, error) - // TxEncodeAmino encodes an amino transaction. + // TxEncodeAmino encodes an Amino transaction from JSON to encoded bytes. // // Since: cosmos-sdk 0.47 TxEncodeAmino(context.Context, *TxEncodeAminoRequest) (*TxEncodeAminoResponse, error) - // TxDecodeAmino decodes an amino transaction. + // TxDecodeAmino decodes an Amino transaction from encoded bytes to JSON. // // Since: cosmos-sdk 0.47 TxDecodeAmino(context.Context, *TxDecodeAminoRequest) (*TxDecodeAminoResponse, error) diff --git a/x/README.md b/x/README.md index 9345d5c46909..726b6592dab7 100644 --- a/x/README.md +++ b/x/README.md @@ -8,6 +8,7 @@ slug : /modules Here are some production-grade modules that can be used in Cosmos SDK applications, along with their respective documentation: * [Auth](./auth/README.md) - Authentication of accounts and transactions for Cosmos SDK applications. + * [Vesting](./auth/vesting) - Vesting account implementation. * [Authz](./authz/README.md) - Authorization for accounts to perform actions on behalf of other accounts. * [Bank](./bank/README.md) - Token transfer functionalities. * [Capability](./capability/README.md) - Object capability implementation. @@ -24,6 +25,7 @@ Here are some production-grade modules that can be used in Cosmos SDK applicatio * [NFT](./nft/README.md) - NFT module implemented based on [ADR43](https://docs.cosmos.network/main/architecture/adr-043-nft-module.html). * [Consensus](./consensus/README.md) - Consensus module for modifying Tendermint's ABCI consensus params. + To learn more about the process of building modules, visit the [building modules reference documentation](https://docs.cosmos.network/main/building-modules/intro). ## IBC diff --git a/x/auth/README.md b/x/auth/README.md index e7526f004082..00240096579e 100644 --- a/x/auth/README.md +++ b/x/auth/README.md @@ -481,30 +481,6 @@ simd tx broadcast tx.signed.json More information about the `broadcast` command can be found running `simd tx broadcast --help`. -#### `encode` - -The `encode` command encodes a transaction created with the `--generate-only` flag or signed with the sign command. -The transaction is seralized it to Protobuf and returned as base64. - -```bash -$ simd tx encode tx.json -Co8BCowBChwvY29zbW9zLmJhbmsudjFiZXRhMS5Nc2dTZW5kEmwKLWNvc21vczFsNnZzcWhoN3Jud3N5cjJreXozampnM3FkdWF6OGd3Z3lsODI3NRItY29zbW9zMTU4c2FsZHlnOHBteHU3Znd2dDBkNng3amVzd3A0Z3d5a2xrNnkzGgwKBXN0YWtlEgMxMDASBhIEEMCaDA== -$ simd tx encode tx.signed.json -``` - -More information about the `encode` command can be found running `simd tx encode --help`. - -#### `decode` - -The `decode` commands decodes a transaction encoded with the `encode` command. - - -```bash -simd tx decode Co8BCowBChwvY29zbW9zLmJhbmsudjFiZXRhMS5Nc2dTZW5kEmwKLWNvc21vczFsNnZzcWhoN3Jud3N5cjJreXozampnM3FkdWF6OGd3Z3lsODI3NRItY29zbW9zMTU4c2FsZHlnOHBteHU3Znd2dDBkNng3amVzd3A0Z3d5a2xrNnkzGgwKBXN0YWtlEgMxMDASBhIEEMCaDA== -``` - -More information about the `decode` command can be found running `simd tx decode --help`. - #### `aux-to-fee` The `aux-to-fee` comamnds includes the aux signer data in the tx, broadcast the tx, and sends the tip amount to the broadcaster. diff --git a/x/auth/migrations/legacytx/config_test.go b/x/auth/migrations/legacytx/config_test.go index 5fd2fa3657e4..7704396c9a69 100644 --- a/x/auth/migrations/legacytx/config_test.go +++ b/x/auth/migrations/legacytx/config_test.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/testutil/testdata" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/auth/migrations/legacytx" - txtestutil "github.com/cosmos/cosmos-sdk/x/auth/testutilhelpers/tx" + txtestutil "github.com/cosmos/cosmos-sdk/x/auth/tx/testutil" ) func testCodec() *codec.LegacyAmino { diff --git a/x/auth/testutil/app_config.go b/x/auth/testutil/app_config.go index 3581e689ce98..26409bfb1a39 100644 --- a/x/auth/testutil/app_config.go +++ b/x/auth/testutil/app_config.go @@ -2,7 +2,7 @@ package testutil import ( _ "github.com/cosmos/cosmos-sdk/x/auth" - _ "github.com/cosmos/cosmos-sdk/x/auth/tx/module" + _ "github.com/cosmos/cosmos-sdk/x/auth/tx/config" _ "github.com/cosmos/cosmos-sdk/x/auth/vesting" _ "github.com/cosmos/cosmos-sdk/x/bank" _ "github.com/cosmos/cosmos-sdk/x/consensus" @@ -31,7 +31,7 @@ import ( genutilmodulev1 "cosmossdk.io/api/cosmos/genutil/module/v1" paramsmodulev1 "cosmossdk.io/api/cosmos/params/module/v1" stakingmodulev1 "cosmossdk.io/api/cosmos/staking/module/v1" - txmodulev1 "cosmossdk.io/api/cosmos/tx/module/v1" + txconfigv1 "cosmossdk.io/api/cosmos/tx/config/v1" vestingmodulev1 "cosmossdk.io/api/cosmos/vesting/module/v1" ) @@ -109,7 +109,7 @@ var AppConfig = appconfig.Compose(&appv1alpha1.Config{ }, { Name: "tx", - Config: appconfig.WrapAny(&txmodulev1.Module{}), + Config: appconfig.WrapAny(&txconfigv1.Config{}), }, { Name: genutiltypes.ModuleName, diff --git a/x/auth/tx/README.md b/x/auth/tx/README.md new file mode 100644 index 000000000000..b7117c40b16b --- /dev/null +++ b/x/auth/tx/README.md @@ -0,0 +1,240 @@ +--- +sidebar_position: 1 +--- + +# `x/auth/tx` + +:::note + +### Pre-requisite Readings + +* [Transactions](https://docs.cosmos.network/main/core/transactions#transaction-generation) +* [Encoding](https://docs.cosmos.network/main/core/encoding#transaction-encoding) + +::: + +## Abstract + +This document specifies the `x/auth/tx` package of the Cosmos SDK. + +This package represents the Cosmos SDK implementation of the `client.TxConfig`, `client.TxBuilder`, `client.TxEncoder` and `client.TxDecoder` interfaces. + +## Contents + +* [Transactions](#transactions) + * [`TxConfig`](#txconfig) + * [`TxBuilder`](#txbuilder) + * [`TxEncoder`/ `TxDecoder`](#txencoder-txdecoder) +* [Client](#client) + * [CLI](#cli) + * [gRPC](#grpc) + +## Transactions + +### `TxConfig` + +`client.TxConfig` defines an interface a client can utilize to generate an application-defined concrete transaction type. +The interface defines a set of methods for creating a `client.TxBuilder`. + +```go reference +https://github.com/cosmos/cosmos-sdk/blob/v0.47.0-alpha1/client/tx_config.go#L25-L31 +``` + +The default implementation of `client.TxConfig` is instantiated by `NewTxConfig` in `x/auth/tx` module. + +```go reference +https://github.com/cosmos/cosmos-sdk/blob/v0.47.0-alpha1/x/auth/tx/config.go#L24-L30 +``` + +### `TxBuilder` + +```go reference +https://github.com/cosmos/cosmos-sdk/blob/v0.47.0-alpha1/client/tx_config.go#L33-L50 +``` + +The [`client.TxBuilder`](https://docs.cosmos.network/main/core/transactions#transaction-generation) interface is as well implemented by `x/auth/tx`. +A `client.TxBuilder` can be accessed with `TxConfig.NewTxBuilder()`. + +### `TxEncoder`/ `TxDecoder` + +More information about `TxEncoder` and `TxDecoder` can be found [here](https://docs.cosmos.network/main/core/encoding#transaction-encoding). + +## Client + +### CLI + +#### Query + +The `x/auth/tx` module provides a CLI command to query any transaction, given its hash, transaction sequence or signature. + +Without any argument, the command will query the transaction using the transaction hash. + +```shell +simd query tx DFE87B78A630C0EFDF76C80CD24C997E252792E0317502AE1A02B9809F0D8685 +``` + +When querying a transaction from an account given its sequence, use the `--type=acc_seq` flag: + +```shell +simd query tx --type=acc_seq cosmos1u69uyr6v9qwe6zaaeaqly2h6wnedac0xpxq325/1 +``` + +When querying a transaction given its signature, use the `--type=signature` flag: + +```shell +simd query tx --type=signature Ofjvgrqi8twZfqVDmYIhqwRLQjZZ40XbxEamk/veH3gQpRF0hL2PH4ejRaDzAX+2WChnaWNQJQ41ekToIi5Wqw== +``` + +#### Transactions + +The `x/auth/tx` module provides a convinient CLI command for decoding and encoding transactions. + +#### `encode` + +The `encode` command encodes a transaction created with the `--generate-only` flag or signed with the sign command. +The transaction is seralized it to Protobuf and returned as base64. + +```bash +$ simd tx encode tx.json +Co8BCowBChwvY29zbW9zLmJhbmsudjFiZXRhMS5Nc2dTZW5kEmwKLWNvc21vczFsNnZzcWhoN3Jud3N5cjJreXozampnM3FkdWF6OGd3Z3lsODI3NRItY29zbW9zMTU4c2FsZHlnOHBteHU3Znd2dDBkNng3amVzd3A0Z3d5a2xrNnkzGgwKBXN0YWtlEgMxMDASBhIEEMCaDA== +$ simd tx encode tx.signed.json +``` + +More information about the `encode` command can be found running `simd tx encode --help`. + +#### `decode` + +The `decode` commands decodes a transaction encoded with the `encode` command. + + +```bash +simd tx decode Co8BCowBChwvY29zbW9zLmJhbmsudjFiZXRhMS5Nc2dTZW5kEmwKLWNvc21vczFsNnZzcWhoN3Jud3N5cjJreXozampnM3FkdWF6OGd3Z3lsODI3NRItY29zbW9zMTU4c2FsZHlnOHBteHU3Znd2dDBkNng3amVzd3A0Z3d5a2xrNnkzGgwKBXN0YWtlEgMxMDASBhIEEMCaDA== +``` + +More information about the `decode` command can be found running `simd tx decode --help`. + +### gRPC + +A user can query the `x/auth/tx` module using gRPC endpoints. + +#### `TxDecode` + +The `TxDecode` endpoint allows to decode a transaction. + +```shell +cosmos.tx.v1beta1.Service/TxDecode +``` + +Example: + +```shell +grpcurl -plaintext \ + -d '{"tx_bytes":"Co8BCowBChwvY29zbW9zLmJhbmsudjFiZXRhMS5Nc2dTZW5kEmwKLWNvc21vczFsNnZzcWhoN3Jud3N5cjJreXozampnM3FkdWF6OGd3Z3lsODI3NRItY29zbW9zMTU4c2FsZHlnOHBteHU3Znd2dDBkNng3amVzd3A0Z3d5a2xrNnkzGgwKBXN0YWtlEgMxMDASBhIEEMCaDA=="}' \ + localhost:9090 \ + cosmos.tx.v1beta1.Service/TxDecode +``` + +Example Output: + +```json +{ + "tx": { + "body": { + "messages": [ + {"@type":"/cosmos.bank.v1beta1.MsgSend","amount":[{"denom":"stake","amount":"100"}],"fromAddress":"cosmos1l6vsqhh7rnwsyr2kyz3jjg3qduaz8gwgyl8275","toAddress":"cosmos158saldyg8pmxu7fwvt0d6x7jeswp4gwyklk6y3"} + ] + }, + "authInfo": { + "fee": { + "gasLimit": "200000" + } + } + } +} +``` + +#### `TxEncode` + +The `TxEncode` endpoint allows to encode a transaction. + +```shell +cosmos.tx.v1beta1.Service/TxEncode +``` + +Example: + +```shell +grpcurl -plaintext \ + -d '{"tx": { + "body": { + "messages": [ + {"@type":"/cosmos.bank.v1beta1.MsgSend","amount":[{"denom":"stake","amount":"100"}],"fromAddress":"cosmos1l6vsqhh7rnwsyr2kyz3jjg3qduaz8gwgyl8275","toAddress":"cosmos158saldyg8pmxu7fwvt0d6x7jeswp4gwyklk6y3"} + ] + }, + "authInfo": { + "fee": { + "gasLimit": "200000" + } + } + }}' \ + localhost:9090 \ + cosmos.tx.v1beta1.Service/TxEncode +``` + +Example Output: + +```json +{ + "txBytes": "Co8BCowBChwvY29zbW9zLmJhbmsudjFiZXRhMS5Nc2dTZW5kEmwKLWNvc21vczFsNnZzcWhoN3Jud3N5cjJreXozampnM3FkdWF6OGd3Z3lsODI3NRItY29zbW9zMTU4c2FsZHlnOHBteHU3Znd2dDBkNng3amVzd3A0Z3d5a2xrNnkzGgwKBXN0YWtlEgMxMDASBhIEEMCaDA==" +} +``` + +#### `TxDecodeAmino` + +The `TxDecode` endpoint allows to decode an amino transaction. + +```shell +cosmos.tx.v1beta1.Service/TxDecodeAmino +``` + +Example: + +```shell +grpcurl -plaintext \ + -d '{"amino_binary": "KCgWqQpvqKNhmgotY29zbW9zMXRzeno3cDJ6Z2Q3dnZrYWh5ZnJlNHduNXh5dTgwcnB0ZzZ2OWg1Ei1jb3Ntb3MxdHN6ejdwMnpnZDd2dmthaHlmcmU0d241eHl1ODBycHRnNnY5aDUaCwoFc3Rha2USAjEwEhEKCwoFc3Rha2USAjEwEMCaDCIGZm9vYmFy"}' \ + localhost:9090 \ + cosmos.tx.v1beta1.Service/TxDecodeAmino +``` + +Example Output: + +```json +{ + "aminoJson": "{\"type\":\"cosmos-sdk/StdTx\",\"value\":{\"msg\":[{\"type\":\"cosmos-sdk/MsgSend\",\"value\":{\"from_address\":\"cosmos1tszz7p2zgd7vvkahyfre4wn5xyu80rptg6v9h5\",\"to_address\":\"cosmos1tszz7p2zgd7vvkahyfre4wn5xyu80rptg6v9h5\",\"amount\":[{\"denom\":\"stake\",\"amount\":\"10\"}]}}],\"fee\":{\"amount\":[{\"denom\":\"stake\",\"amount\":\"10\"}],\"gas\":\"200000\"},\"signatures\":null,\"memo\":\"foobar\",\"timeout_height\":\"0\"}}" +} +``` + +#### `TxEncodeAmino` + +The `TxEncodeAmino` endpoint allows to encode an amino transaction. + +```shell +cosmos.tx.v1beta1.Service/TxEncodeAmino +``` + +Example: + +```shell +grpcurl -plaintext \ + -d '{"amino_json":"{\"type\":\"cosmos-sdk/StdTx\",\"value\":{\"msg\":[{\"type\":\"cosmos-sdk/MsgSend\",\"value\":{\"from_address\":\"cosmos1tszz7p2zgd7vvkahyfre4wn5xyu80rptg6v9h5\",\"to_address\":\"cosmos1tszz7p2zgd7vvkahyfre4wn5xyu80rptg6v9h5\",\"amount\":[{\"denom\":\"stake\",\"amount\":\"10\"}]}}],\"fee\":{\"amount\":[{\"denom\":\"stake\",\"amount\":\"10\"}],\"gas\":\"200000\"},\"signatures\":null,\"memo\":\"foobar\",\"timeout_height\":\"0\"}}"}' \ + localhost:9090 \ + cosmos.tx.v1beta1.Service/TxEncodeAmino +``` + +Example Output: + +```json +{ + "amino_binary": "KCgWqQpvqKNhmgotY29zbW9zMXRzeno3cDJ6Z2Q3dnZrYWh5ZnJlNHduNXh5dTgwcnB0ZzZ2OWg1Ei1jb3Ntb3MxdHN6ejdwMnpnZDd2dmthaHlmcmU0d241eHl1ODBycHRnNnY5aDUaCwoFc3Rha2USAjEwEhEKCwoFc3Rha2USAjEwEMCaDCIGZm9vYmFy" +} +``` diff --git a/x/auth/tx/config.go b/x/auth/tx/config.go index 78b78a9dd8b6..5e6f1074e891 100644 --- a/x/auth/tx/config.go +++ b/x/auth/tx/config.go @@ -3,12 +3,10 @@ package tx import ( "fmt" - signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" - - "github.com/cosmos/cosmos-sdk/codec" - "github.com/cosmos/cosmos-sdk/client" + "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" + signingtypes "github.com/cosmos/cosmos-sdk/types/tx/signing" "github.com/cosmos/cosmos-sdk/x/auth/signing" ) diff --git a/x/auth/tx/module/module.go b/x/auth/tx/config/config.go similarity index 95% rename from x/auth/tx/module/module.go rename to x/auth/tx/config/config.go index f1f4dd82a84b..fe1c529bf5f6 100644 --- a/x/auth/tx/module/module.go +++ b/x/auth/tx/config/config.go @@ -3,7 +3,7 @@ package tx import ( "fmt" - modulev1 "cosmossdk.io/api/cosmos/tx/module/v1" + txconfigv1 "cosmossdk.io/api/cosmos/tx/config/v1" "cosmossdk.io/core/appmodule" "cosmossdk.io/depinject" "github.com/cosmos/cosmos-sdk/baseapp" @@ -19,7 +19,7 @@ import ( ) func init() { - appmodule.Register(&modulev1.Module{}, + appmodule.Register(&txconfigv1.Config{}, appmodule.Provide(ProvideModule), ) } @@ -27,7 +27,7 @@ func init() { type TxInputs struct { depinject.In - Config *modulev1.Module + Config *txconfigv1.Config ProtoCodecMarshaler codec.ProtoCodecMarshaler AccountKeeper ante.AccountKeeper `optional:"true"` diff --git a/x/auth/tx/config_test.go b/x/auth/tx/config_test.go index 22628bb5479c..0e1e44970f0c 100644 --- a/x/auth/tx/config_test.go +++ b/x/auth/tx/config_test.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/std" "github.com/cosmos/cosmos-sdk/testutil/testdata" sdk "github.com/cosmos/cosmos-sdk/types" - txtestutil "github.com/cosmos/cosmos-sdk/x/auth/testutilhelpers/tx" + txtestutil "github.com/cosmos/cosmos-sdk/x/auth/tx/testutil" ) func TestGenerator(t *testing.T) { diff --git a/x/auth/testutilhelpers/tx/suite.go b/x/auth/tx/testutil/suite.go similarity index 100% rename from x/auth/testutilhelpers/tx/suite.go rename to x/auth/tx/testutil/suite.go diff --git a/x/auth/types/query.pb.go b/x/auth/types/query.pb.go index f7c68b7cf08b..c40dba734f63 100644 --- a/x/auth/types/query.pb.go +++ b/x/auth/types/query.pb.go @@ -764,10 +764,10 @@ type QueryAccountAddressByIDRequest struct { // id is the account number of the address to be queried. This field // should have been an uint64 (like all account numbers), and will be // updated to uint64 in a future version of the auth query. - Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - // account_id is the account number of the address to be queried. This field - // should have been an uint64 (like all account numbers), and will be - // updated to uint64 in a future version of the auth query. + Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Deprecated: Do not use. + // account_id is the account number of the address to be queried. + // + // Since: cosmos-sdk 0.47 AccountId uint64 `protobuf:"varint,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` } @@ -804,6 +804,7 @@ func (m *QueryAccountAddressByIDRequest) XXX_DiscardUnknown() { var xxx_messageInfo_QueryAccountAddressByIDRequest proto.InternalMessageInfo +// Deprecated: Do not use. func (m *QueryAccountAddressByIDRequest) GetId() int64 { if m != nil { return m.Id @@ -987,74 +988,74 @@ func init() { func init() { proto.RegisterFile("cosmos/auth/v1beta1/query.proto", fileDescriptor_c451370b3929a27c) } var fileDescriptor_c451370b3929a27c = []byte{ - // 1057 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x96, 0xcf, 0x6f, 0xe3, 0x44, - 0x14, 0xc7, 0xe3, 0x6e, 0x69, 0xbb, 0xaf, 0xd9, 0x22, 0x4d, 0xb3, 0xa2, 0xb8, 0x6d, 0x52, 0xb9, - 0xb0, 0xfd, 0xc1, 0xc6, 0xa6, 0x69, 0x56, 0xe2, 0x97, 0x90, 0xea, 0x2d, 0xa0, 0x1e, 0x16, 0x82, - 0xb7, 0x27, 0x0e, 0x44, 0x4e, 0xec, 0xa4, 0x16, 0x1b, 0x4f, 0x36, 0x76, 0xd0, 0x46, 0x55, 0x2e, - 0x48, 0x48, 0xbd, 0x20, 0x21, 0xc1, 0x1f, 0xd0, 0x03, 0xe2, 0xbc, 0x48, 0xe5, 0xc6, 0x1f, 0xb0, - 0xda, 0xd3, 0x0a, 0x2e, 0x9c, 0x10, 0x6a, 0x91, 0xe0, 0xc6, 0xbf, 0x80, 0x32, 0xf3, 0xc6, 0xb1, - 0xdb, 0x49, 0xe2, 0x8a, 0x53, 0x9d, 0x99, 0xf7, 0xbe, 0xef, 0x33, 0x33, 0x6f, 0xe6, 0x5b, 0x28, - 0xd4, 0x69, 0xd0, 0xa2, 0x81, 0x61, 0x77, 0xc3, 0x23, 0xe3, 0xcb, 0x9d, 0x9a, 0x1b, 0xda, 0x3b, - 0xc6, 0xe3, 0xae, 0xdb, 0xe9, 0xe9, 0xed, 0x0e, 0x0d, 0x29, 0x59, 0xe4, 0x01, 0xfa, 0x20, 0x40, - 0xc7, 0x00, 0x75, 0x1b, 0xb3, 0x6a, 0x76, 0xe0, 0xf2, 0xe8, 0x28, 0xb7, 0x6d, 0x37, 0x3d, 0xdf, - 0x0e, 0x3d, 0xea, 0x73, 0x01, 0x35, 0xd7, 0xa4, 0x4d, 0xca, 0x3e, 0x8d, 0xc1, 0x17, 0x8e, 0xbe, - 0xda, 0xa4, 0xb4, 0xf9, 0xc8, 0x35, 0xd8, 0xaf, 0x5a, 0xb7, 0x61, 0xd8, 0x3e, 0x56, 0x54, 0x57, - 0x70, 0xca, 0x6e, 0x7b, 0x86, 0xed, 0xfb, 0x34, 0x64, 0x6a, 0x01, 0xce, 0xe6, 0x65, 0xc0, 0x0c, - 0x0e, 0x85, 0xf9, 0x7c, 0x95, 0x57, 0x44, 0x78, 0x3e, 0xb5, 0x8c, 0xa9, 0x02, 0x38, 0xbe, 0x4e, - 0xed, 0x73, 0xc8, 0x7d, 0x3a, 0xf8, 0xb9, 0x57, 0xaf, 0xd3, 0xae, 0x1f, 0x06, 0x96, 0xfb, 0xb8, - 0xeb, 0x06, 0x21, 0xf9, 0x10, 0x60, 0xb8, 0xa4, 0x25, 0x65, 0x4d, 0xd9, 0x9c, 0x2f, 0xdd, 0xd1, - 0x51, 0x77, 0xb0, 0x7e, 0x9d, 0xab, 0x20, 0x8a, 0x5e, 0xb1, 0x9b, 0x2e, 0xe6, 0x5a, 0xb1, 0x4c, - 0xed, 0x54, 0x81, 0xdb, 0x97, 0x0a, 0x04, 0x6d, 0xea, 0x07, 0x2e, 0x79, 0x1f, 0xe6, 0x6c, 0x1c, - 0x5b, 0x52, 0xd6, 0x6e, 0x6c, 0xce, 0x97, 0x72, 0x3a, 0xdf, 0x02, 0x5d, 0xec, 0x8e, 0xbe, 0xe7, - 0xf7, 0xcc, 0xec, 0xf3, 0xb3, 0xe2, 0x1c, 0x66, 0x1f, 0x58, 0x51, 0x0e, 0xf9, 0x28, 0x41, 0x38, - 0xc5, 0x08, 0x37, 0x26, 0x12, 0xf2, 0xe2, 0x09, 0xc4, 0x87, 0xb0, 0x18, 0x27, 0x14, 0x3b, 0x50, - 0x82, 0x59, 0xdb, 0x71, 0x3a, 0x6e, 0x10, 0xb0, 0xe5, 0xdf, 0x34, 0x97, 0x7e, 0x3d, 0x2b, 0xe6, - 0x50, 0x7f, 0x8f, 0xcf, 0x3c, 0x0c, 0x3b, 0x9e, 0xdf, 0xb4, 0x44, 0xe0, 0x3b, 0x73, 0x27, 0xa7, - 0x85, 0xcc, 0x3f, 0xa7, 0x85, 0x8c, 0x76, 0x98, 0xdc, 0xd7, 0x68, 0xd5, 0xef, 0xc1, 0x2c, 0xae, - 0x00, 0x37, 0x35, 0xcd, 0xa2, 0x45, 0x8a, 0x96, 0x03, 0xc2, 0x54, 0x2b, 0x76, 0xc7, 0x6e, 0x89, - 0xb3, 0xd2, 0x2a, 0xb8, 0x00, 0x31, 0x8a, 0xa5, 0xde, 0x86, 0x99, 0x36, 0x1b, 0xc1, 0x4a, 0xcb, - 0xba, 0xa4, 0xa7, 0x75, 0x9e, 0x64, 0x4e, 0x3f, 0xfb, 0xa3, 0x90, 0xb1, 0x30, 0x41, 0x5b, 0x01, - 0x95, 0x29, 0x3e, 0xa0, 0x4e, 0xf7, 0x91, 0x7b, 0xa9, 0x37, 0xb4, 0x3a, 0x2c, 0x4b, 0x67, 0xb1, - 0xee, 0x7e, 0xca, 0x83, 0x25, 0xcf, 0xcf, 0x8a, 0x0b, 0x09, 0x8d, 0xd8, 0xf1, 0x6a, 0xf7, 0xa0, - 0x70, 0xb5, 0x88, 0xd9, 0xfb, 0xd8, 0x6e, 0x89, 0x3e, 0x23, 0x04, 0xa6, 0x7d, 0xbb, 0xe5, 0xf2, - 0xe3, 0xb1, 0xd8, 0xb7, 0xd6, 0x80, 0xb5, 0xd1, 0x69, 0x08, 0x68, 0xa6, 0x3b, 0x03, 0x19, 0x5f, - 0x74, 0x12, 0xb7, 0x61, 0xd1, 0x74, 0xeb, 0x47, 0xbb, 0xa5, 0x4a, 0xc7, 0x6d, 0x78, 0x4f, 0xc4, - 0xd6, 0xbc, 0x0b, 0xb9, 0xe4, 0x30, 0x96, 0x5c, 0x87, 0x5b, 0x35, 0x36, 0x5e, 0x6d, 0xb3, 0x09, - 0x64, 0xce, 0xd6, 0x62, 0xc1, 0x9a, 0x09, 0xcb, 0xd8, 0x57, 0x66, 0x2f, 0x74, 0x83, 0x43, 0x8a, - 0xed, 0x85, 0xcb, 0x5d, 0x87, 0x5b, 0xd8, 0x67, 0xd5, 0xda, 0x60, 0x9e, 0x69, 0x64, 0xad, 0xac, - 0x1d, 0xcb, 0xd1, 0x3e, 0x80, 0x15, 0xb9, 0x06, 0x82, 0xbc, 0x0e, 0x0b, 0x42, 0x24, 0x60, 0x33, - 0x48, 0x22, 0xa4, 0x79, 0xb8, 0xb6, 0x1f, 0xa1, 0xf0, 0x81, 0x43, 0xca, 0xe4, 0x04, 0x4a, 0x4a, - 0x95, 0xfb, 0x11, 0xcc, 0x25, 0x95, 0xe1, 0xae, 0x4c, 0x5e, 0xd1, 0x27, 0x90, 0x8f, 0xdf, 0xa4, - 0x68, 0x75, 0x07, 0xfb, 0x82, 0x66, 0x01, 0xa6, 0x3c, 0x87, 0xe5, 0xde, 0xb0, 0xa6, 0x3c, 0x87, - 0xac, 0x02, 0xe0, 0x31, 0x55, 0x3d, 0x87, 0xbd, 0x0c, 0xd3, 0xd6, 0x4d, 0x1c, 0x39, 0x70, 0x34, - 0x07, 0x3b, 0x4b, 0x26, 0x88, 0x60, 0x7b, 0xf0, 0xb2, 0x50, 0x48, 0xfb, 0x06, 0x2c, 0xd8, 0x09, - 0x39, 0xed, 0x01, 0xbc, 0x12, 0xaf, 0x72, 0xe0, 0x37, 0xe8, 0xff, 0x78, 0x59, 0xb4, 0x0a, 0x2c, - 0x5d, 0x95, 0x43, 0xda, 0x32, 0x4c, 0x7b, 0x7e, 0x83, 0x62, 0x33, 0xaf, 0x49, 0xaf, 0xb9, 0x69, - 0x07, 0xa2, 0x8b, 0x2d, 0x16, 0x5d, 0xfa, 0x37, 0x0b, 0x2f, 0x31, 0x49, 0xf2, 0x8d, 0x02, 0xe2, - 0xad, 0x09, 0xc8, 0x96, 0x34, 0x5d, 0xe6, 0x11, 0xea, 0x76, 0x9a, 0x50, 0xce, 0xa8, 0x6d, 0x9f, - 0xfc, 0xfd, 0x74, 0x5b, 0xf9, 0xea, 0xb7, 0xbf, 0xbe, 0x9b, 0x2a, 0x90, 0x55, 0x43, 0xea, 0x66, - 0x02, 0xe1, 0x7b, 0x05, 0x66, 0x51, 0x80, 0x6c, 0x4e, 0xac, 0x21, 0x68, 0xb6, 0x52, 0x44, 0x22, - 0x4c, 0x79, 0x08, 0xb3, 0x45, 0x36, 0xc6, 0xc2, 0x18, 0xc7, 0x78, 0x02, 0x7d, 0xf2, 0xb3, 0x02, - 0xe4, 0x6a, 0xcf, 0x90, 0xdd, 0x89, 0x75, 0xaf, 0xb6, 0xac, 0x5a, 0xbe, 0x5e, 0xd2, 0x35, 0xb8, - 0xa3, 0xfb, 0x54, 0xf5, 0x1c, 0xe3, 0xd8, 0x73, 0xfa, 0xe4, 0x6b, 0x05, 0x66, 0xf8, 0x2b, 0x4f, - 0x36, 0x46, 0x97, 0x4d, 0x58, 0x8a, 0xba, 0x39, 0x39, 0x10, 0x99, 0x36, 0x87, 0x4c, 0xab, 0x64, - 0x59, 0xca, 0xc4, 0x4d, 0x85, 0xfc, 0xa8, 0x40, 0xf2, 0x39, 0x0d, 0x88, 0x31, 0xba, 0x8c, 0xd4, - 0x7a, 0xd4, 0x37, 0xd3, 0x27, 0x20, 0xdf, 0xce, 0x90, 0xef, 0x0e, 0x79, 0x4d, 0xca, 0xd7, 0x62, - 0x99, 0xd5, 0xa8, 0xff, 0x7e, 0x51, 0x60, 0x51, 0xe2, 0x1f, 0xa4, 0x9c, 0xb2, 0x78, 0xc2, 0xa5, - 0xd4, 0x7b, 0xd7, 0xcc, 0x42, 0xee, 0xb7, 0x86, 0xdc, 0x45, 0xf2, 0x46, 0x1a, 0x6e, 0xe3, 0x78, - 0xe0, 0x80, 0x7d, 0x72, 0xa2, 0x40, 0x36, 0x6e, 0x42, 0x23, 0xee, 0x90, 0xc4, 0xbe, 0x46, 0xdc, - 0x21, 0x99, 0xa3, 0x69, 0xeb, 0x63, 0x8f, 0x9c, 0xfb, 0x1a, 0x79, 0xaa, 0x40, 0x4e, 0x66, 0x47, - 0x44, 0x7e, 0x8e, 0x63, 0xdc, 0x4f, 0xdd, 0xb9, 0x46, 0x06, 0x22, 0xee, 0x8e, 0xdd, 0x3d, 0x8e, - 0x18, 0xdd, 0x6f, 0xee, 0x40, 0x7d, 0xf2, 0xd3, 0x10, 0x39, 0x61, 0x5a, 0xe3, 0x91, 0x65, 0x2e, - 0x39, 0x1e, 0x59, 0xea, 0x88, 0x5a, 0x99, 0x21, 0xeb, 0xe4, 0x6e, 0x2a, 0x64, 0xee, 0xbd, 0x7d, - 0xf2, 0x83, 0x02, 0xf3, 0x31, 0x63, 0x20, 0x77, 0x27, 0xbe, 0x2e, 0x31, 0x3b, 0x52, 0x8b, 0x29, - 0xa3, 0xd3, 0x37, 0x66, 0xe4, 0xbe, 0x7e, 0x83, 0x0e, 0x1f, 0x50, 0xf3, 0xfe, 0xb3, 0xf3, 0xbc, - 0xf2, 0xe2, 0x3c, 0xaf, 0xfc, 0x79, 0x9e, 0x57, 0xbe, 0xbd, 0xc8, 0x67, 0x5e, 0x5c, 0xe4, 0x33, - 0xbf, 0x5f, 0xe4, 0x33, 0x9f, 0x6d, 0x35, 0xbd, 0xf0, 0xa8, 0x5b, 0xd3, 0xeb, 0xb4, 0x25, 0x04, - 0xf9, 0x9f, 0x62, 0xe0, 0x7c, 0x61, 0x3c, 0xe1, 0xea, 0x61, 0xaf, 0xed, 0x06, 0xb5, 0x19, 0xf6, - 0x3f, 0xda, 0xee, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x4d, 0x96, 0xf5, 0xf2, 0xc2, 0x0d, 0x00, - 0x00, + // 1061 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x96, 0x4f, 0x6f, 0xe3, 0xc4, + 0x1b, 0xc7, 0xe3, 0x6c, 0x7f, 0x6d, 0xf7, 0x69, 0xb6, 0x3f, 0x69, 0x9a, 0x15, 0xc1, 0x69, 0x93, + 0xca, 0x85, 0x6d, 0x5a, 0x36, 0x36, 0x4d, 0xb3, 0x12, 0xff, 0x84, 0x54, 0x6f, 0x01, 0xf5, 0xb0, + 0x28, 0xb8, 0x3d, 0x71, 0x20, 0x72, 0x62, 0x27, 0xb5, 0xd8, 0x78, 0xb2, 0xb1, 0x83, 0x36, 0xaa, + 0x72, 0x41, 0x42, 0xea, 0x05, 0x09, 0x09, 0x5e, 0x40, 0x0f, 0x88, 0xf3, 0x22, 0x95, 0x1b, 0x2f, + 0x60, 0xb5, 0xa7, 0x15, 0x5c, 0x38, 0x21, 0xd4, 0x22, 0xc1, 0x8d, 0xb7, 0x80, 0x32, 0xf3, 0xd8, + 0xb1, 0xdb, 0x49, 0xe2, 0x8a, 0x53, 0x9d, 0x99, 0xe7, 0xf9, 0x3e, 0x9f, 0x99, 0x79, 0x66, 0xbe, + 0x85, 0x62, 0x93, 0x7a, 0x1d, 0xea, 0x69, 0x66, 0xdf, 0x3f, 0xd6, 0xbe, 0xd8, 0x69, 0xd8, 0xbe, + 0xb9, 0xa3, 0x3d, 0xe9, 0xdb, 0xbd, 0x81, 0xda, 0xed, 0x51, 0x9f, 0x92, 0x15, 0x1e, 0xa0, 0x8e, + 0x02, 0x54, 0x0c, 0x90, 0xb7, 0x31, 0xab, 0x61, 0x7a, 0x36, 0x8f, 0x0e, 0x73, 0xbb, 0x66, 0xdb, + 0x71, 0x4d, 0xdf, 0xa1, 0x2e, 0x17, 0x90, 0xb3, 0x6d, 0xda, 0xa6, 0xec, 0x53, 0x1b, 0x7d, 0xe1, + 0xe8, 0xab, 0x6d, 0x4a, 0xdb, 0x8f, 0x6d, 0x8d, 0xfd, 0x6a, 0xf4, 0x5b, 0x9a, 0xe9, 0x62, 0x45, + 0x79, 0x15, 0xa7, 0xcc, 0xae, 0xa3, 0x99, 0xae, 0x4b, 0x7d, 0xa6, 0xe6, 0xe1, 0x6c, 0x41, 0x04, + 0xcc, 0xe0, 0x50, 0x98, 0xcf, 0xd7, 0x79, 0x45, 0x84, 0xe7, 0x53, 0x79, 0x4c, 0x0d, 0x80, 0xa3, + 0xeb, 0x54, 0x3e, 0x83, 0xec, 0x27, 0xa3, 0x9f, 0x7b, 0xcd, 0x26, 0xed, 0xbb, 0xbe, 0x67, 0xd8, + 0x4f, 0xfa, 0xb6, 0xe7, 0x93, 0x0f, 0x01, 0xc6, 0x4b, 0xca, 0x49, 0xeb, 0x52, 0x69, 0xa9, 0x72, + 0x4f, 0x45, 0xdd, 0xd1, 0xfa, 0x55, 0xae, 0x82, 0x28, 0x6a, 0xcd, 0x6c, 0xdb, 0x98, 0x6b, 0x44, + 0x32, 0x95, 0x33, 0x09, 0xee, 0x5e, 0x29, 0xe0, 0x75, 0xa9, 0xeb, 0xd9, 0xe4, 0x7d, 0x58, 0x34, + 0x71, 0x2c, 0x27, 0xad, 0xdf, 0x2a, 0x2d, 0x55, 0xb2, 0x2a, 0xdf, 0x02, 0x35, 0xd8, 0x1d, 0x75, + 0xcf, 0x1d, 0xe8, 0x99, 0x17, 0xe7, 0xe5, 0x45, 0xcc, 0x3e, 0x30, 0xc2, 0x1c, 0xf2, 0x51, 0x8c, + 0x30, 0xcd, 0x08, 0x37, 0x67, 0x12, 0xf2, 0xe2, 0x31, 0xc4, 0x43, 0x58, 0x89, 0x12, 0x06, 0x3b, + 0x50, 0x81, 0x05, 0xd3, 0xb2, 0x7a, 0xb6, 0xe7, 0xb1, 0xe5, 0xdf, 0xd6, 0x73, 0xbf, 0x9c, 0x97, + 0xb3, 0xa8, 0xbf, 0xc7, 0x67, 0x0e, 0xfd, 0x9e, 0xe3, 0xb6, 0x8d, 0x20, 0xf0, 0x9d, 0xc5, 0xd3, + 0xb3, 0x62, 0xea, 0xef, 0xb3, 0x62, 0x4a, 0x39, 0x8a, 0xef, 0x6b, 0xb8, 0xea, 0xf7, 0x60, 0x01, + 0x57, 0x80, 0x9b, 0x9a, 0x64, 0xd1, 0x41, 0x8a, 0x92, 0x05, 0xc2, 0x54, 0x6b, 0x66, 0xcf, 0xec, + 0x04, 0x67, 0xa5, 0xd4, 0x70, 0x01, 0xc1, 0x28, 0x96, 0x7a, 0x1b, 0xe6, 0xbb, 0x6c, 0x04, 0x2b, + 0xe5, 0x55, 0x41, 0x4f, 0xab, 0x3c, 0x49, 0x9f, 0x7b, 0xfe, 0x7b, 0x31, 0x65, 0x60, 0x82, 0xb2, + 0x0a, 0x32, 0x53, 0x7c, 0x44, 0xad, 0xfe, 0x63, 0xfb, 0x4a, 0x6f, 0x28, 0x4d, 0xc8, 0x0b, 0x67, + 0xb1, 0xee, 0x7e, 0xc2, 0x83, 0x25, 0x2f, 0xce, 0xcb, 0xcb, 0x31, 0x8d, 0xc8, 0xf1, 0x2a, 0x0f, + 0xa0, 0x78, 0xbd, 0x88, 0x3e, 0xf8, 0xd8, 0xec, 0x04, 0x7d, 0x46, 0x08, 0xcc, 0xb9, 0x66, 0xc7, + 0xe6, 0xc7, 0x63, 0xb0, 0x6f, 0xa5, 0x05, 0xeb, 0x93, 0xd3, 0x10, 0x50, 0x4f, 0x76, 0x06, 0x22, + 0xbe, 0xf0, 0x24, 0xee, 0xc2, 0x8a, 0x6e, 0x37, 0x8f, 0x77, 0x2b, 0xb5, 0x9e, 0xdd, 0x72, 0x9e, + 0x06, 0x5b, 0xf3, 0x2e, 0x64, 0xe3, 0xc3, 0x58, 0x72, 0x03, 0xee, 0x34, 0xd8, 0x78, 0xbd, 0xcb, + 0x26, 0x90, 0x39, 0xd3, 0x88, 0x04, 0x2b, 0x3a, 0xe4, 0xb1, 0xaf, 0xf4, 0x81, 0x6f, 0x7b, 0x47, + 0x14, 0xdb, 0x0b, 0x97, 0xbb, 0x01, 0x77, 0xb0, 0xcf, 0xea, 0x8d, 0xd1, 0x3c, 0xd3, 0xc8, 0x18, + 0x19, 0x33, 0x92, 0xa3, 0x7c, 0x00, 0xab, 0x62, 0x0d, 0x04, 0x79, 0x1d, 0x96, 0x03, 0x11, 0x8f, + 0xcd, 0x20, 0x49, 0x20, 0xcd, 0xc3, 0x95, 0xfd, 0x10, 0x85, 0x0f, 0x1c, 0x51, 0x26, 0x17, 0xa0, + 0x24, 0x54, 0x79, 0x18, 0xc2, 0x5c, 0x51, 0x19, 0xef, 0xca, 0xec, 0x15, 0x1d, 0x42, 0x21, 0x7a, + 0x93, 0xc2, 0xd5, 0x1d, 0xec, 0x8f, 0xfb, 0x20, 0xed, 0x58, 0x2c, 0xf7, 0x96, 0x9e, 0xce, 0x49, + 0x46, 0xda, 0xb1, 0xc8, 0x1a, 0x00, 0x1e, 0x55, 0xdd, 0xb1, 0xd8, 0xeb, 0x30, 0x67, 0xdc, 0xc6, + 0x91, 0x03, 0x4b, 0xb1, 0xb0, 0xbb, 0x44, 0xa2, 0x08, 0xb7, 0x07, 0xff, 0x0f, 0x14, 0x92, 0xbe, + 0x03, 0xcb, 0x66, 0x4c, 0x4e, 0x79, 0x04, 0xaf, 0x44, 0xab, 0x1c, 0xb8, 0x2d, 0xfa, 0x1f, 0x5e, + 0x17, 0xa5, 0x06, 0xb9, 0xeb, 0x72, 0x48, 0x5b, 0x85, 0x39, 0xc7, 0x6d, 0x51, 0x6c, 0xe8, 0x75, + 0xe1, 0x55, 0xd7, 0x4d, 0x2f, 0xe8, 0x64, 0x83, 0x45, 0x57, 0xfe, 0xc9, 0xc0, 0xff, 0x98, 0x24, + 0xf9, 0x5a, 0x82, 0xe0, 0xbd, 0xf1, 0xc8, 0x96, 0x30, 0x5d, 0xe4, 0x13, 0xf2, 0x76, 0x92, 0x50, + 0xce, 0xa8, 0x6c, 0x9f, 0xfe, 0xf5, 0x6c, 0x5b, 0xfa, 0xf2, 0xd7, 0x3f, 0xbf, 0x4d, 0x17, 0xc9, + 0x9a, 0x26, 0x74, 0xb4, 0x00, 0xe1, 0x3b, 0x09, 0x16, 0x50, 0x80, 0x94, 0x66, 0xd6, 0x08, 0x68, + 0xb6, 0x12, 0x44, 0x22, 0x4c, 0x75, 0x0c, 0xb3, 0x45, 0x36, 0xa7, 0xc2, 0x68, 0x27, 0x78, 0x02, + 0x43, 0xf2, 0x93, 0x04, 0xe4, 0x7a, 0xcf, 0x90, 0xdd, 0x99, 0x75, 0xaf, 0xb7, 0xad, 0x5c, 0xbd, + 0x59, 0xd2, 0x0d, 0xb8, 0xc3, 0x3b, 0x55, 0x77, 0x2c, 0xed, 0xc4, 0xb1, 0x86, 0xe4, 0x2b, 0x09, + 0xe6, 0xf9, 0x4b, 0x4f, 0x36, 0x27, 0x97, 0x8d, 0xd9, 0x8a, 0x5c, 0x9a, 0x1d, 0x88, 0x4c, 0xa5, + 0x31, 0xd3, 0x1a, 0xc9, 0x0b, 0x99, 0xb8, 0xb1, 0x90, 0x1f, 0x24, 0x88, 0x3f, 0xa9, 0x1e, 0xd1, + 0x26, 0x97, 0x11, 0xda, 0x8f, 0xfc, 0x66, 0xf2, 0x04, 0xe4, 0xdb, 0x19, 0xf3, 0xdd, 0x23, 0xaf, + 0x09, 0xf9, 0x3a, 0x2c, 0xb3, 0x1e, 0xf6, 0xdf, 0xcf, 0x12, 0xac, 0x08, 0x3c, 0x84, 0x54, 0x13, + 0x16, 0x8f, 0x39, 0x95, 0xfc, 0xe0, 0x86, 0x59, 0xc8, 0xfd, 0xd6, 0x98, 0xbb, 0x4c, 0xde, 0x48, + 0xc2, 0xad, 0x9d, 0x8c, 0x5c, 0x70, 0x48, 0x4e, 0x25, 0xc8, 0x44, 0x8d, 0x68, 0xc2, 0x1d, 0x12, + 0x58, 0xd8, 0x84, 0x3b, 0x24, 0x72, 0x35, 0x65, 0x63, 0xea, 0x91, 0x73, 0x6f, 0x23, 0xcf, 0x24, + 0xc8, 0x8a, 0x2c, 0x89, 0x88, 0xcf, 0x71, 0x8a, 0x03, 0xca, 0x3b, 0x37, 0xc8, 0x40, 0xc4, 0xdd, + 0xa9, 0xbb, 0xc7, 0x11, 0xc3, 0xfb, 0xcd, 0x5d, 0x68, 0x48, 0x7e, 0x1c, 0x23, 0xc7, 0x8c, 0x6b, + 0x3a, 0xb2, 0xc8, 0x29, 0xa7, 0x23, 0x0b, 0x5d, 0x51, 0xa9, 0x32, 0x64, 0x95, 0xdc, 0x4f, 0x84, + 0xcc, 0xfd, 0x77, 0x48, 0xbe, 0x97, 0x60, 0x29, 0x62, 0x0c, 0xe4, 0xfe, 0xcc, 0xd7, 0x25, 0x62, + 0x47, 0x72, 0x39, 0x61, 0x74, 0xf2, 0xc6, 0x0c, 0xdd, 0xd7, 0x6d, 0xd1, 0xf1, 0x03, 0xaa, 0x3f, + 0x7c, 0x7e, 0x51, 0x90, 0x5e, 0x5e, 0x14, 0xa4, 0x3f, 0x2e, 0x0a, 0xd2, 0x37, 0x97, 0x85, 0xd4, + 0xcb, 0xcb, 0x42, 0xea, 0xb7, 0xcb, 0x42, 0xea, 0xd3, 0xad, 0xb6, 0xe3, 0x1f, 0xf7, 0x1b, 0x6a, + 0x93, 0x76, 0x02, 0x41, 0xfe, 0xa7, 0xec, 0x59, 0x9f, 0x6b, 0x4f, 0xb9, 0xba, 0x3f, 0xe8, 0xda, + 0x5e, 0x63, 0x9e, 0xfd, 0x9f, 0xb6, 0xfb, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf9, 0x04, 0x10, + 0xe4, 0xc6, 0x0d, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/auth/vesting/README.md b/x/auth/vesting/README.md index e085ad912ac6..f763d8b8f1a1 100644 --- a/x/auth/vesting/README.md +++ b/x/auth/vesting/README.md @@ -16,15 +16,10 @@ sidebar_position: 1 * [PermanentLockedAccount](#permanentlockedaccount) * [Vesting Account Specification](#vesting-account-specification) * [Determining Vesting & Vested Amounts](#determining-vesting--vested-amounts) - * [Continuously Vesting Accounts](#continuously-vesting-accounts) * [Periodic Vesting Accounts](#periodic-vesting-accounts) - * [Delayed/Discrete Vesting Accounts](#delayeddiscrete-vesting-accounts) * [Transferring/Sending](#transferringsending) - * [Keepers/Handlers](#keepershandlers) * [Delegating](#delegating) - * [Keepers/Handlers](#keepershandlers-1) * [Undelegating](#undelegating) - * [Keepers/Handlers](#keepershandlers-2) * [Keepers & Handlers](#keepers--handlers) * [Genesis Initialization](#genesis-initialization) * [Examples](#examples) diff --git a/x/authz/testutil/app_config.go b/x/authz/testutil/app_config.go index d96539edc813..7d2d2c019651 100644 --- a/x/authz/testutil/app_config.go +++ b/x/authz/testutil/app_config.go @@ -2,7 +2,7 @@ package testutil import ( _ "github.com/cosmos/cosmos-sdk/x/auth" - _ "github.com/cosmos/cosmos-sdk/x/auth/tx/module" + _ "github.com/cosmos/cosmos-sdk/x/auth/tx/config" _ "github.com/cosmos/cosmos-sdk/x/authz/module" _ "github.com/cosmos/cosmos-sdk/x/bank" _ "github.com/cosmos/cosmos-sdk/x/consensus" @@ -12,6 +12,7 @@ import ( _ "github.com/cosmos/cosmos-sdk/x/params" _ "github.com/cosmos/cosmos-sdk/x/staking" + txconfigv1 "cosmossdk.io/api/cosmos/tx/config/v1" "cosmossdk.io/core/appconfig" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/cosmos/cosmos-sdk/x/authz" @@ -33,7 +34,6 @@ import ( mintmodulev1 "cosmossdk.io/api/cosmos/mint/module/v1" paramsmodulev1 "cosmossdk.io/api/cosmos/params/module/v1" stakingmodulev1 "cosmossdk.io/api/cosmos/staking/module/v1" - txmodulev1 "cosmossdk.io/api/cosmos/tx/module/v1" ) var AppConfig = appconfig.Compose(&appv1alpha1.Config{ @@ -101,7 +101,7 @@ var AppConfig = appconfig.Compose(&appv1alpha1.Config{ }, { Name: "tx", - Config: appconfig.WrapAny(&txmodulev1.Module{}), + Config: appconfig.WrapAny(&txconfigv1.Config{}), }, { Name: genutiltypes.ModuleName, diff --git a/x/bank/app_test.go b/x/bank/app_test.go index fc4a3a6d6740..1fe15ad14376 100644 --- a/x/bank/app_test.go +++ b/x/bank/app_test.go @@ -16,7 +16,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" moduletestutil "github.com/cosmos/cosmos-sdk/types/module/testutil" _ "github.com/cosmos/cosmos-sdk/x/auth" - _ "github.com/cosmos/cosmos-sdk/x/auth/tx/module" + _ "github.com/cosmos/cosmos-sdk/x/auth/tx/config" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" "github.com/cosmos/cosmos-sdk/x/bank/testutil" diff --git a/x/bank/simulation/operations_test.go b/x/bank/simulation/operations_test.go index 69381df19892..97128ebfa8a2 100644 --- a/x/bank/simulation/operations_test.go +++ b/x/bank/simulation/operations_test.go @@ -15,7 +15,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" _ "github.com/cosmos/cosmos-sdk/x/auth" - _ "github.com/cosmos/cosmos-sdk/x/auth/tx/module" + _ "github.com/cosmos/cosmos-sdk/x/auth/tx/config" _ "github.com/cosmos/cosmos-sdk/x/bank" "github.com/cosmos/cosmos-sdk/x/bank/keeper" "github.com/cosmos/cosmos-sdk/x/bank/simulation" diff --git a/x/capability/testutil/app_config.go b/x/capability/testutil/app_config.go index 5c6171e225b7..bd6bad2b589c 100644 --- a/x/capability/testutil/app_config.go +++ b/x/capability/testutil/app_config.go @@ -2,7 +2,7 @@ package testutil import ( _ "github.com/cosmos/cosmos-sdk/x/auth" - _ "github.com/cosmos/cosmos-sdk/x/auth/tx/module" + _ "github.com/cosmos/cosmos-sdk/x/auth/tx/config" _ "github.com/cosmos/cosmos-sdk/x/bank" _ "github.com/cosmos/cosmos-sdk/x/capability" _ "github.com/cosmos/cosmos-sdk/x/consensus" @@ -28,7 +28,7 @@ import ( genutilmodulev1 "cosmossdk.io/api/cosmos/genutil/module/v1" paramsmodulev1 "cosmossdk.io/api/cosmos/params/module/v1" stakingmodulev1 "cosmossdk.io/api/cosmos/staking/module/v1" - txmodulev1 "cosmossdk.io/api/cosmos/tx/module/v1" + txconfigv1 "cosmossdk.io/api/cosmos/tx/config/v1" ) var AppConfig = appconfig.Compose(&appv1alpha1.Config{ @@ -91,7 +91,7 @@ var AppConfig = appconfig.Compose(&appv1alpha1.Config{ }, { Name: "tx", - Config: appconfig.WrapAny(&txmodulev1.Module{}), + Config: appconfig.WrapAny(&txconfigv1.Config{}), }, { Name: genutiltypes.ModuleName, diff --git a/x/consensus/types/tx.pb.go b/x/consensus/types/tx.pb.go index d8ef61194300..1c36f34eef75 100644 --- a/x/consensus/types/tx.pb.go +++ b/x/consensus/types/tx.pb.go @@ -35,6 +35,8 @@ type MsgUpdateParams struct { // authority is the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // params defines the x/consensus_params parameters to update. + // VersionsParams is not included in this Msg because it is tracked + // separarately in x/upgrade. // // NOTE: All parameters must be supplied. Block *types.BlockParams `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"` diff --git a/x/crisis/types/tx.pb.go b/x/crisis/types/tx.pb.go index 9c94671e75ef..e80c5b4ca013 100644 --- a/x/crisis/types/tx.pb.go +++ b/x/crisis/types/tx.pb.go @@ -34,9 +34,12 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // MsgVerifyInvariant represents a message to verify a particular invariance. type MsgVerifyInvariant struct { - Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + // sender is the account address of private key to send coins to fee collector account. + Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` + // name of the invariant module. InvariantModuleName string `protobuf:"bytes,2,opt,name=invariant_module_name,json=invariantModuleName,proto3" json:"invariant_module_name,omitempty"` - InvariantRoute string `protobuf:"bytes,3,opt,name=invariant_route,json=invariantRoute,proto3" json:"invariant_route,omitempty"` + // invariant_route is the msg's invariant route. + InvariantRoute string `protobuf:"bytes,3,opt,name=invariant_route,json=invariantRoute,proto3" json:"invariant_route,omitempty"` } func (m *MsgVerifyInvariant) Reset() { *m = MsgVerifyInvariant{} } @@ -263,7 +266,7 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type MsgClient interface { - // VerifyInvariant defines a method to verify a particular invariance. + // VerifyInvariant defines a method to verify a particular invariant. VerifyInvariant(ctx context.Context, in *MsgVerifyInvariant, opts ...grpc.CallOption) (*MsgVerifyInvariantResponse, error) // UpdateParams defines a governance operation for updating the x/crisis module // parameters. The authority is defined in the keeper. @@ -300,7 +303,7 @@ func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts // MsgServer is the server API for Msg service. type MsgServer interface { - // VerifyInvariant defines a method to verify a particular invariance. + // VerifyInvariant defines a method to verify a particular invariant. VerifyInvariant(context.Context, *MsgVerifyInvariant) (*MsgVerifyInvariantResponse, error) // UpdateParams defines a governance operation for updating the x/crisis module // parameters. The authority is defined in the keeper. diff --git a/x/distribution/testutil/app_config.go b/x/distribution/testutil/app_config.go index d1cb0dd29984..d35022f9cc79 100644 --- a/x/distribution/testutil/app_config.go +++ b/x/distribution/testutil/app_config.go @@ -2,7 +2,7 @@ package testutil import ( _ "github.com/cosmos/cosmos-sdk/x/auth" - _ "github.com/cosmos/cosmos-sdk/x/auth/tx/module" + _ "github.com/cosmos/cosmos-sdk/x/auth/tx/config" _ "github.com/cosmos/cosmos-sdk/x/bank" _ "github.com/cosmos/cosmos-sdk/x/consensus" _ "github.com/cosmos/cosmos-sdk/x/distribution" @@ -31,7 +31,7 @@ import ( mintmodulev1 "cosmossdk.io/api/cosmos/mint/module/v1" paramsmodulev1 "cosmossdk.io/api/cosmos/params/module/v1" stakingmodulev1 "cosmossdk.io/api/cosmos/staking/module/v1" - txmodulev1 "cosmossdk.io/api/cosmos/tx/module/v1" + txconfigv1 "cosmossdk.io/api/cosmos/tx/config/v1" ) var AppConfig = appconfig.Compose(&appv1alpha1.Config{ @@ -103,7 +103,7 @@ var AppConfig = appconfig.Compose(&appv1alpha1.Config{ }, { Name: "tx", - Config: appconfig.WrapAny(&txmodulev1.Module{}), + Config: appconfig.WrapAny(&txconfigv1.Config{}), }, { Name: genutiltypes.ModuleName, diff --git a/x/evidence/testutil/app_config.go b/x/evidence/testutil/app_config.go index 1f40dccbc5bf..b66008b1eeb2 100644 --- a/x/evidence/testutil/app_config.go +++ b/x/evidence/testutil/app_config.go @@ -2,7 +2,7 @@ package testutil import ( _ "github.com/cosmos/cosmos-sdk/x/auth" - _ "github.com/cosmos/cosmos-sdk/x/auth/tx/module" + _ "github.com/cosmos/cosmos-sdk/x/auth/tx/config" _ "github.com/cosmos/cosmos-sdk/x/bank" _ "github.com/cosmos/cosmos-sdk/x/consensus" _ "github.com/cosmos/cosmos-sdk/x/evidence" @@ -32,7 +32,7 @@ import ( paramsmodulev1 "cosmossdk.io/api/cosmos/params/module/v1" slashingmodulev1 "cosmossdk.io/api/cosmos/slashing/module/v1" stakingmodulev1 "cosmossdk.io/api/cosmos/staking/module/v1" - txmodulev1 "cosmossdk.io/api/cosmos/tx/module/v1" + txconfigv1 "cosmossdk.io/api/cosmos/tx/config/v1" ) var AppConfig = appconfig.Compose(&appv1alpha1.Config{ @@ -107,7 +107,7 @@ var AppConfig = appconfig.Compose(&appv1alpha1.Config{ }, { Name: "tx", - Config: appconfig.WrapAny(&txmodulev1.Module{}), + Config: appconfig.WrapAny(&txconfigv1.Config{}), }, { Name: genutiltypes.ModuleName, diff --git a/x/feegrant/testutil/app_config.go b/x/feegrant/testutil/app_config.go index 3745e6bbc00a..ee94a7a84193 100644 --- a/x/feegrant/testutil/app_config.go +++ b/x/feegrant/testutil/app_config.go @@ -2,7 +2,7 @@ package testutil import ( _ "github.com/cosmos/cosmos-sdk/x/auth" - _ "github.com/cosmos/cosmos-sdk/x/auth/tx/module" + _ "github.com/cosmos/cosmos-sdk/x/auth/tx/config" _ "github.com/cosmos/cosmos-sdk/x/auth/vesting" _ "github.com/cosmos/cosmos-sdk/x/bank" _ "github.com/cosmos/cosmos-sdk/x/consensus" @@ -32,7 +32,7 @@ import ( genutilmodulev1 "cosmossdk.io/api/cosmos/genutil/module/v1" paramsmodulev1 "cosmossdk.io/api/cosmos/params/module/v1" stakingmodulev1 "cosmossdk.io/api/cosmos/staking/module/v1" - txmodulev1 "cosmossdk.io/api/cosmos/tx/module/v1" + txconfigv1 "cosmossdk.io/api/cosmos/tx/config/v1" vestingmodulev1 "cosmossdk.io/api/cosmos/vesting/module/v1" ) @@ -108,7 +108,7 @@ var AppConfig = appconfig.Compose(&appv1alpha1.Config{ }, { Name: "tx", - Config: appconfig.WrapAny(&txmodulev1.Module{}), + Config: appconfig.WrapAny(&txconfigv1.Config{}), }, { Name: genutiltypes.ModuleName, diff --git a/x/gov/simulation/operations_test.go b/x/gov/simulation/operations_test.go index 39f3e7636b15..9e42c95c5cc8 100644 --- a/x/gov/simulation/operations_test.go +++ b/x/gov/simulation/operations_test.go @@ -18,7 +18,7 @@ import ( simtypes "github.com/cosmos/cosmos-sdk/types/simulation" _ "github.com/cosmos/cosmos-sdk/x/auth" authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" - _ "github.com/cosmos/cosmos-sdk/x/auth/tx/module" + _ "github.com/cosmos/cosmos-sdk/x/auth/tx/config" _ "github.com/cosmos/cosmos-sdk/x/bank" bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" "github.com/cosmos/cosmos-sdk/x/bank/testutil" diff --git a/x/group/testutil/app_config.go b/x/group/testutil/app_config.go index b34ee163f465..98827c3b702d 100644 --- a/x/group/testutil/app_config.go +++ b/x/group/testutil/app_config.go @@ -6,7 +6,7 @@ import ( "google.golang.org/protobuf/types/known/durationpb" _ "github.com/cosmos/cosmos-sdk/x/auth" - _ "github.com/cosmos/cosmos-sdk/x/auth/tx/module" + _ "github.com/cosmos/cosmos-sdk/x/auth/tx/config" _ "github.com/cosmos/cosmos-sdk/x/authz" _ "github.com/cosmos/cosmos-sdk/x/bank" _ "github.com/cosmos/cosmos-sdk/x/consensus" @@ -35,7 +35,7 @@ import ( groupmodulev1 "cosmossdk.io/api/cosmos/group/module/v1" paramsmodulev1 "cosmossdk.io/api/cosmos/params/module/v1" stakingmodulev1 "cosmossdk.io/api/cosmos/staking/module/v1" - txmodulev1 "cosmossdk.io/api/cosmos/tx/module/v1" + txconfigv1 "cosmossdk.io/api/cosmos/tx/config/v1" ) var AppConfig = appconfig.Compose(&appv1alpha1.Config{ @@ -106,7 +106,7 @@ var AppConfig = appconfig.Compose(&appv1alpha1.Config{ }, { Name: "tx", - Config: appconfig.WrapAny(&txmodulev1.Module{}), + Config: appconfig.WrapAny(&txconfigv1.Config{}), }, { Name: genutiltypes.ModuleName, diff --git a/x/mint/testutil/app_config.go b/x/mint/testutil/app_config.go index 2bf57b360a53..813253cb1c58 100644 --- a/x/mint/testutil/app_config.go +++ b/x/mint/testutil/app_config.go @@ -3,7 +3,7 @@ package testutil import ( "cosmossdk.io/core/appconfig" _ "github.com/cosmos/cosmos-sdk/x/auth" - _ "github.com/cosmos/cosmos-sdk/x/auth/tx/module" + _ "github.com/cosmos/cosmos-sdk/x/auth/tx/config" _ "github.com/cosmos/cosmos-sdk/x/bank" _ "github.com/cosmos/cosmos-sdk/x/consensus" _ "github.com/cosmos/cosmos-sdk/x/genutil" @@ -28,7 +28,7 @@ import ( mintmodulev1 "cosmossdk.io/api/cosmos/mint/module/v1" paramsmodulev1 "cosmossdk.io/api/cosmos/params/module/v1" stakingmodulev1 "cosmossdk.io/api/cosmos/staking/module/v1" - txmodulev1 "cosmossdk.io/api/cosmos/tx/module/v1" + txconfigv1 "cosmossdk.io/api/cosmos/tx/config/v1" ) var AppConfig = appconfig.Compose(&appv1alpha1.Config{ @@ -96,7 +96,7 @@ var AppConfig = appconfig.Compose(&appv1alpha1.Config{ }, { Name: "tx", - Config: appconfig.WrapAny(&txmodulev1.Module{}), + Config: appconfig.WrapAny(&txconfigv1.Config{}), }, { Name: genutiltypes.ModuleName, diff --git a/x/nft/testutil/app_config.go b/x/nft/testutil/app_config.go index 062faa7c6cd3..7b916e1f9bc6 100644 --- a/x/nft/testutil/app_config.go +++ b/x/nft/testutil/app_config.go @@ -3,7 +3,7 @@ package testutil import ( "cosmossdk.io/core/appconfig" _ "github.com/cosmos/cosmos-sdk/x/auth" - _ "github.com/cosmos/cosmos-sdk/x/auth/tx/module" + _ "github.com/cosmos/cosmos-sdk/x/auth/tx/config" _ "github.com/cosmos/cosmos-sdk/x/bank" _ "github.com/cosmos/cosmos-sdk/x/consensus" _ "github.com/cosmos/cosmos-sdk/x/genutil" @@ -31,7 +31,7 @@ import ( nftmodulev1 "cosmossdk.io/api/cosmos/nft/module/v1" paramsmodulev1 "cosmossdk.io/api/cosmos/params/module/v1" stakingmodulev1 "cosmossdk.io/api/cosmos/staking/module/v1" - txmodulev1 "cosmossdk.io/api/cosmos/tx/module/v1" + txconfigv1 "cosmossdk.io/api/cosmos/tx/config/v1" ) var AppConfig = appconfig.Compose(&appv1alpha1.Config{ @@ -103,7 +103,7 @@ var AppConfig = appconfig.Compose(&appv1alpha1.Config{ }, { Name: "tx", - Config: appconfig.WrapAny(&txmodulev1.Module{}), + Config: appconfig.WrapAny(&txconfigv1.Config{}), }, { Name: genutiltypes.ModuleName, diff --git a/x/params/testutil/app_config.go b/x/params/testutil/app_config.go index 363369458b89..a549c0028ab6 100644 --- a/x/params/testutil/app_config.go +++ b/x/params/testutil/app_config.go @@ -2,7 +2,7 @@ package testutil import ( _ "github.com/cosmos/cosmos-sdk/x/auth" - _ "github.com/cosmos/cosmos-sdk/x/auth/tx/module" + _ "github.com/cosmos/cosmos-sdk/x/auth/tx/config" _ "github.com/cosmos/cosmos-sdk/x/bank" _ "github.com/cosmos/cosmos-sdk/x/consensus" _ "github.com/cosmos/cosmos-sdk/x/genutil" @@ -25,7 +25,7 @@ import ( genutilmodulev1 "cosmossdk.io/api/cosmos/genutil/module/v1" paramsmodulev1 "cosmossdk.io/api/cosmos/params/module/v1" stakingmodulev1 "cosmossdk.io/api/cosmos/staking/module/v1" - txmodulev1 "cosmossdk.io/api/cosmos/tx/module/v1" + txconfigv1 "cosmossdk.io/api/cosmos/tx/config/v1" ) var AppConfig = appconfig.Compose(&appv1alpha1.Config{ @@ -89,7 +89,7 @@ var AppConfig = appconfig.Compose(&appv1alpha1.Config{ }, { Name: "tx", - Config: appconfig.WrapAny(&txmodulev1.Module{}), + Config: appconfig.WrapAny(&txconfigv1.Config{}), }, { Name: genutiltypes.ModuleName, diff --git a/x/slashing/testutil/app_config.go b/x/slashing/testutil/app_config.go index 9944561cf7e9..9f16aedd7ed3 100644 --- a/x/slashing/testutil/app_config.go +++ b/x/slashing/testutil/app_config.go @@ -2,7 +2,7 @@ package testutil import ( _ "github.com/cosmos/cosmos-sdk/x/auth" - _ "github.com/cosmos/cosmos-sdk/x/auth/tx/module" + _ "github.com/cosmos/cosmos-sdk/x/auth/tx/config" _ "github.com/cosmos/cosmos-sdk/x/bank" _ "github.com/cosmos/cosmos-sdk/x/consensus" _ "github.com/cosmos/cosmos-sdk/x/distribution" @@ -34,7 +34,7 @@ import ( paramsmodulev1 "cosmossdk.io/api/cosmos/params/module/v1" slashingmodulev1 "cosmossdk.io/api/cosmos/slashing/module/v1" stakingmodulev1 "cosmossdk.io/api/cosmos/staking/module/v1" - txmodulev1 "cosmossdk.io/api/cosmos/tx/module/v1" + txconfigv1 "cosmossdk.io/api/cosmos/tx/config/v1" ) var AppConfig = appconfig.Compose(&appv1alpha1.Config{ @@ -114,7 +114,7 @@ var AppConfig = appconfig.Compose(&appv1alpha1.Config{ }, { Name: "tx", - Config: appconfig.WrapAny(&txmodulev1.Module{}), + Config: appconfig.WrapAny(&txconfigv1.Config{}), }, { Name: genutiltypes.ModuleName, diff --git a/x/staking/testutil/app_config.go b/x/staking/testutil/app_config.go index 6663235d0dbd..e1a244e12f0b 100644 --- a/x/staking/testutil/app_config.go +++ b/x/staking/testutil/app_config.go @@ -2,7 +2,7 @@ package testutil import ( _ "github.com/cosmos/cosmos-sdk/x/auth" - _ "github.com/cosmos/cosmos-sdk/x/auth/tx/module" + _ "github.com/cosmos/cosmos-sdk/x/auth/tx/config" _ "github.com/cosmos/cosmos-sdk/x/bank" _ "github.com/cosmos/cosmos-sdk/x/consensus" _ "github.com/cosmos/cosmos-sdk/x/distribution" @@ -34,7 +34,7 @@ import ( paramsmodulev1 "cosmossdk.io/api/cosmos/params/module/v1" slashingmodulev1 "cosmossdk.io/api/cosmos/slashing/module/v1" stakingmodulev1 "cosmossdk.io/api/cosmos/staking/module/v1" - txmodulev1 "cosmossdk.io/api/cosmos/tx/module/v1" + txconfigv1 "cosmossdk.io/api/cosmos/tx/config/v1" ) var AppConfig = appconfig.Compose(&appv1alpha1.Config{ @@ -114,7 +114,7 @@ var AppConfig = appconfig.Compose(&appv1alpha1.Config{ }, { Name: "tx", - Config: appconfig.WrapAny(&txmodulev1.Module{}), + Config: appconfig.WrapAny(&txconfigv1.Config{}), }, { Name: genutiltypes.ModuleName,