From f0a142e5f81d9522f0a3bf6f95da2f84eee1f653 Mon Sep 17 00:00:00 2001 From: Abdulbois Date: Tue, 23 Jan 2024 12:58:46 +0500 Subject: [PATCH 01/29] #303 Upgrade Cosmos-SDK to v0.47.3 Signed-off-by: Abdulbois Signed-off-by: Abdulbois --- README-DEV.md | 2 +- README.md | 2 +- app/app.go | 138 ++++++++++------ app/encoding.go | 35 ++++ app/export.go | 9 +- app/params/encoding.go | 16 ++ cmd/dcld/cmd/genaccounts.go | 18 ++- cmd/dcld/cmd/genaccounts_test.go | 6 +- cmd/dcld/cmd/light.go | 26 +-- cmd/dcld/cmd/root.go | 153 +++++++++--------- cmd/dcld/main.go | 21 ++- cmd/settings/settings.go | 28 ---- docs/tendermint-rpc.md | 2 +- go.mod | 35 ++-- go.sum | 32 +++- integration_tests/constants/constants.go | 16 +- .../grpc_rest/compliance/helpers.go | 66 ++++++-- .../grpc_rest/dclupgrade/helpers.go | 44 +++-- integration_tests/grpc_rest/model/helpers.go | 138 ++++++++++++---- integration_tests/grpc_rest/pki/helpers.go | 10 +- .../grpc_rest/validator/helpers.go | 14 +- .../grpc_rest/vendorinfo/helpers.go | 66 ++++++-- integration_tests/utils/grpc_rest.go | 22 +-- testutil/keeper/compliance.go | 10 +- testutil/keeper/dclauth.go | 10 +- testutil/keeper/dclupgrade.go | 10 +- testutil/keeper/model.go | 10 +- testutil/keeper/pki.go | 10 +- testutil/keeper/validator.go | 14 +- testutil/keeper/vendorinfo.go | 10 +- testutil/network/network.go | 103 +++++++----- testutil/network/util.go | 18 +-- testutil/simapp/simapp.go | 49 ------ third_party/proto/gogoproto/gogo.proto | 4 +- third_party/proto/tendermint/abci/types.proto | 8 +- .../proto/tendermint/crypto/keys.proto | 2 +- .../proto/tendermint/crypto/proof.proto | 2 +- .../proto/tendermint/libs/bits/types.proto | 2 +- third_party/proto/tendermint/p2p/types.proto | 2 +- .../proto/tendermint/types/block.proto | 2 +- .../proto/tendermint/types/evidence.proto | 2 +- .../proto/tendermint/types/params.proto | 2 +- .../proto/tendermint/types/types.proto | 2 +- .../proto/tendermint/types/validator.proto | 2 +- .../proto/tendermint/version/types.proto | 2 +- tools/tools.go | 12 ++ .../compliance/compliance_history_item.pb.go | 2 +- types/compliance/compliance_info.pb.go | 48 +++--- utils/cli/utils.go | 6 +- .../module/types/tendermint/abci/types.ts | 2 +- x/common/types/uint16_range.pb.go | 4 +- .../client/cli/query_certified_model.go | 11 +- .../client/cli/query_certified_model_test.go | 2 +- .../client/cli/query_compliance_info.go | 11 +- .../client/cli/query_compliance_info_test.go | 2 +- .../cli/query_device_software_compliance.go | 10 +- .../query_device_software_compliance_test.go | 2 +- .../client/cli/query_provisional_model.go | 11 +- .../cli/query_provisional_model_test.go | 2 +- .../client/cli/query_revoked_model.go | 11 +- .../client/cli/query_revoked_model_test.go | 2 +- x/compliance/keeper/keeper.go | 10 +- x/compliance/module.go | 15 +- x/compliance/module_simulation.go | 8 +- x/compliance/types/certified_model.pb.go | 2 +- .../types/device_software_compliance.pb.go | 2 +- x/compliance/types/genesis.pb.go | 4 +- .../types/message_certify_model_test.go | 2 +- .../types/message_provision_model_test.go | 2 +- .../types/message_revoke_model_test.go | 2 +- .../message_update_compliance_info_test.go | 2 +- x/compliance/types/provisional_model.pb.go | 2 +- x/compliance/types/query.pb.go | 6 +- x/compliance/types/revoked_model.pb.go | 2 +- x/compliance/types/tx.pb.go | 6 +- x/dclauth/base/keeper/keeper.go | 9 +- x/dclauth/client/cli/query_account.go | 10 +- x/dclauth/client/cli/query_account_test.go | 2 +- x/dclauth/client/cli/query_pending_account.go | 10 +- .../cli/query_pending_account_revocation.go | 10 +- .../query_pending_account_revocation_test.go | 2 +- .../client/cli/query_pending_account_test.go | 2 +- .../client/cli/query_rejected_account.go | 10 +- .../client/cli/query_rejected_account_test.go | 2 +- x/dclauth/client/cli/query_revoked_account.go | 10 +- .../client/cli/query_revoked_account_test.go | 2 +- x/dclauth/keeper/keeper.go | 24 ++- x/dclauth/module.go | 26 ++- x/dclauth/module_simulation.go | 2 +- x/dclauth/types/account.pb.go | 4 +- x/dclauth/types/account_stat.pb.go | 2 +- x/dclauth/types/genesis.pb.go | 4 +- x/dclauth/types/grant.pb.go | 2 +- x/dclauth/types/pending_account.pb.go | 4 +- .../types/pending_account_revocation.pb.go | 4 +- x/dclauth/types/query.pb.go | 6 +- x/dclauth/types/rejected_account.pb.go | 4 +- x/dclauth/types/revoked_account.pb.go | 4 +- x/dclauth/types/tx.pb.go | 6 +- x/dclgenutil/client/cli/collect.go | 9 +- x/dclgenutil/client/cli/gentx.go | 21 ++- x/dclgenutil/client/cli/init.go | 16 +- x/dclgenutil/client/cli/init_test.go | 6 +- x/dclgenutil/client/cli/validate_genesis.go | 7 +- x/dclgenutil/collect.go | 4 +- x/dclgenutil/collect_test.go | 4 +- x/dclgenutil/genesis.go | 2 +- x/dclgenutil/gentx.go | 2 +- x/dclgenutil/gentx_test.go | 12 +- x/dclgenutil/module.go | 2 +- x/dclgenutil/types/_genesis_state_test.go | 2 +- x/dclgenutil/types/expected_keepers.go | 2 +- x/dclgenutil/types/genesis.go | 4 +- x/dclgenutil/types/genesis.pb.go | 4 +- x/dclgenutil/types/query.pb.go | 4 +- x/dclgenutil/types/tx.pb.go | 4 +- x/dclgenutil/utils_test.go | 6 +- .../client/cli/query_approved_upgrade.go | 5 +- .../client/cli/query_approved_upgrade_test.go | 2 +- .../client/cli/query_proposed_upgrade.go | 5 +- .../client/cli/query_proposed_upgrade_test.go | 2 +- .../client/cli/query_rejected_upgrade.go | 10 +- .../client/cli/query_rejected_upgrade_test.go | 2 +- x/dclupgrade/keeper/keeper.go | 9 +- x/dclupgrade/module.go | 18 +-- x/dclupgrade/module_simulation.go | 7 - x/dclupgrade/types/approved_upgrade.pb.go | 4 +- x/dclupgrade/types/genesis.pb.go | 4 +- x/dclupgrade/types/grant.pb.go | 2 +- x/dclupgrade/types/proposed_upgrade.pb.go | 4 +- x/dclupgrade/types/query.pb.go | 6 +- x/dclupgrade/types/rejected_upgrade.pb.go | 4 +- x/dclupgrade/types/tx.pb.go | 6 +- x/model/client/cli/query_model.go | 5 +- x/model/client/cli/query_model_test.go | 2 +- x/model/client/cli/query_model_version.go | 5 +- .../client/cli/query_model_version_test.go | 2 +- x/model/client/cli/query_model_versions.go | 5 +- .../client/cli/query_model_versions_test.go | 2 +- x/model/client/cli/query_vendor_products.go | 5 +- .../client/cli/query_vendor_products_test.go | 2 +- x/model/client/cli/tx_model_version_test.go | 4 +- x/model/keeper/keeper.go | 9 +- x/model/module.go | 15 +- x/model/module_simulation.go | 2 +- x/model/simulation/model.go | 9 +- x/model/simulation/model_version.go | 8 +- x/model/types/genesis.pb.go | 4 +- x/model/types/messages_model_test.go | 2 +- x/model/types/messages_model_version_test.go | 2 +- x/model/types/model.pb.go | 2 +- x/model/types/model_version.pb.go | 2 +- x/model/types/model_versions.pb.go | 2 +- x/model/types/product.pb.go | 2 +- x/model/types/query.pb.go | 6 +- x/model/types/tx.pb.go | 6 +- x/model/types/vendor_products.pb.go | 2 +- .../client/cli/query_approved_certificates.go | 11 +- .../query_approved_certificates_by_subject.go | 6 +- ...y_approved_certificates_by_subject_test.go | 2 +- .../cli/query_approved_certificates_test.go | 2 +- .../cli/query_approved_root_certificates.go | 5 +- .../query_approved_root_certificates_test.go | 2 +- x/pki/client/cli/query_child_certificates.go | 5 +- .../cli/query_child_certificates_test.go | 2 +- ...query_pki_revocation_distribution_point.go | 10 +- ..._pki_revocation_distribution_point_test.go | 2 +- ...ibution_points_by_issuer_subject_key_id.go | 5 +- ...on_points_by_issuer_subject_key_id_test.go | 2 +- .../client/cli/query_proposed_certificate.go | 11 +- .../query_proposed_certificate_revocation.go | 10 +- ...ry_proposed_certificate_revocation_test.go | 2 +- .../cli/query_proposed_certificate_test.go | 2 +- .../client/cli/query_rejected_certificate.go | 10 +- .../cli/query_rejected_certificate_test.go | 2 +- .../client/cli/query_revoked_certificates.go | 10 +- .../cli/query_revoked_certificates_test.go | 2 +- .../cli/query_revoked_root_certificates.go | 5 +- .../query_revoked_root_certificates_test.go | 2 +- x/pki/keeper/keeper.go | 9 +- x/pki/module.go | 15 +- x/pki/module_simulation.go | 7 - x/pki/types/approved_certificates.pb.go | 2 +- .../approved_certificates_by_subject.pb.go | 2 +- ...roved_certificates_by_subject_key_id.pb.go | 2 +- x/pki/types/approved_root_certificates.pb.go | 2 +- x/pki/types/certificate.pb.go | 4 +- x/pki/types/certificate_identifier.pb.go | 2 +- x/pki/types/child_certificates.pb.go | 2 +- x/pki/types/genesis.pb.go | 4 +- x/pki/types/grant.pb.go | 2 +- x/pki/types/message_add_x_509_cert_test.go | 2 +- ...essage_approve_add_x_509_root_cert_test.go | 2 +- ...age_approve_revoke_x_509_root_cert_test.go | 2 +- x/pki/types/message_assign_vid_test.go | 2 +- ...essage_propose_add_x_509_root_cert_test.go | 2 +- ...age_propose_revoke_x_509_root_cert_test.go | 2 +- x/pki/types/message_revoke_x_509_cert_test.go | 2 +- .../pki_revocation_distribution_point.pb.go | 2 +- ...tion_points_by_issuer_subject_key_id.pb.go | 2 +- x/pki/types/proposed_certificate.pb.go | 4 +- .../proposed_certificate_revocation.pb.go | 2 +- x/pki/types/query.pb.go | 6 +- x/pki/types/rejected_certificate.pb.go | 2 +- x/pki/types/revoked_certificates.pb.go | 2 +- x/pki/types/revoked_root_certificates.pb.go | 2 +- x/pki/types/tx.pb.go | 6 +- x/pki/types/unique_certificate.pb.go | 2 +- x/validator/abci.go | 4 +- .../client/cli/query_disabled_validator.go | 10 +- .../cli/query_disabled_validator_test.go | 2 +- .../client/cli/query_last_validator_power.go | 10 +- .../cli/query_last_validator_power_test.go | 2 +- .../cli/query_proposed_disable_validator.go | 10 +- .../query_proposed_disable_validator_test.go | 2 +- x/validator/client/cli/query_rejected_node.go | 10 +- .../client/cli/query_rejected_node_test.go | 2 +- x/validator/client/cli/query_validator.go | 5 +- .../client/cli/query_validator_test.go | 2 +- x/validator/client/cli/tx_create_validator.go | 6 +- x/validator/genesis.go | 4 +- x/validator/keeper/keeper.go | 9 +- .../keeper/msg_server_create_validator.go | 2 +- x/validator/keeper/process_malicious_test.go | 4 +- .../keeper/process_validator_set_change.go | 2 +- x/validator/module.go | 15 +- x/validator/module_simulation.go | 7 - x/validator/types/description.pb.go | 4 +- x/validator/types/disabled_validator.pb.go | 2 +- x/validator/types/genesis.pb.go | 4 +- x/validator/types/grant.pb.go | 2 +- x/validator/types/last_validator_power.pb.go | 4 +- .../types/proposed_disable_validator.pb.go | 2 +- x/validator/types/query.pb.go | 6 +- x/validator/types/rejected_validator.pb.go | 2 +- x/validator/types/tx.pb.go | 6 +- x/validator/types/validator.go | 4 +- x/validator/types/validator.pb.go | 4 +- x/vendorinfo/client/cli/query_vendor_info.go | 10 +- .../client/cli/query_vendor_info_test.go | 2 +- x/vendorinfo/keeper/keeper.go | 9 +- x/vendorinfo/module.go | 15 +- x/vendorinfo/types/genesis.pb.go | 4 +- .../types/messages_vendor_info_test.go | 2 +- x/vendorinfo/types/query.pb.go | 6 +- x/vendorinfo/types/tx.pb.go | 6 +- x/vendorinfo/types/vendor_info.pb.go | 2 +- 247 files changed, 1297 insertions(+), 959 deletions(-) create mode 100644 app/encoding.go create mode 100644 app/params/encoding.go delete mode 100644 cmd/settings/settings.go delete mode 100644 testutil/simapp/simapp.go create mode 100644 tools/tools.go diff --git a/README-DEV.md b/README-DEV.md index 96851c2a8..26508a991 100644 --- a/README-DEV.md +++ b/README-DEV.md @@ -224,7 +224,7 @@ Re-generate cosmos base openapi (service API from cosmos exposed in DCL) using [ ## Update Tendermint Version Please note, that we depend on the Tendermint fork -due to hotfixes for and +due to hotfixes for and required for Light Client Proxy. Now that fixes are merged to Tendermint master, so check if we still need to depend on the fork. diff --git a/README.md b/README.md index 73c073321..cb0a282ea 100644 --- a/README.md +++ b/README.md @@ -164,7 +164,7 @@ See [Run Light Client Proxy](docs/running-light-client-proxy.md) for details how - There are currently no DC Ledger specific API libraries for various platforms and languages, but they may be provided in the future. - The following libraries can be used as light clients: - - [Golang Light Client implementation](https://pkg.go.dev/github.com/tendermint/tendermint/lite2) + - [Golang Light Client implementation](https://pkg.go.dev/github.com/cometbft/cometbft/lite2) - [Rust Light Client implementation](https://docs.rs/tendermint-light-client/0.23.3/tendermint_light_client/) - Refer to [this doc](./docs/tendermint-rpc.md) to see how to [subscribe](./docs/tendermint-rpc.md#subscribe) to a Tendermint WebSocket based events and/or [query](./docs/tendermint-rpc.md#querying-application-components) an application components. diff --git a/app/app.go b/app/app.go index d50b4dc3d..3029af866 100644 --- a/app/app.go +++ b/app/app.go @@ -1,39 +1,44 @@ package app import ( + "encoding/json" "io" - "net/http" "os" "path/filepath" + autocliv1 "cosmossdk.io/api/cosmos/autocli/v1" + reflectionv1 "cosmossdk.io/api/cosmos/reflection/v1" + dbm "github.com/cometbft/cometbft-db" + abci "github.com/cometbft/cometbft/abci/types" + "github.com/cometbft/cometbft/libs/log" + tmos "github.com/cometbft/cometbft/libs/os" "github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/client" + nodeservice "github.com/cosmos/cosmos-sdk/client/grpc/node" "github.com/cosmos/cosmos-sdk/client/grpc/tmservice" - "github.com/cosmos/cosmos-sdk/client/rpc" "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/cosmos/cosmos-sdk/runtime" + runtimeservices "github.com/cosmos/cosmos-sdk/runtime/services" + "github.com/cosmos/cosmos-sdk/server" "github.com/cosmos/cosmos-sdk/server/api" "github.com/cosmos/cosmos-sdk/server/config" servertypes "github.com/cosmos/cosmos-sdk/server/types" + storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" "github.com/cosmos/cosmos-sdk/version" - authrest "github.com/cosmos/cosmos-sdk/x/auth/client/rest" authtx "github.com/cosmos/cosmos-sdk/x/auth/tx" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + consensusparamkeeper "github.com/cosmos/cosmos-sdk/x/consensus/keeper" "github.com/cosmos/cosmos-sdk/x/params" paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" "github.com/cosmos/cosmos-sdk/x/upgrade" upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - "github.com/tendermint/spm/cosmoscmd" - "github.com/tendermint/spm/openapiconsole" - abci "github.com/tendermint/tendermint/abci/types" - tmjson "github.com/tendermint/tendermint/libs/json" - "github.com/tendermint/tendermint/libs/log" - tmos "github.com/tendermint/tendermint/libs/os" - dbm "github.com/tendermint/tm-db" - "github.com/zigbee-alliance/distributed-compliance-ledger/docs" + + appparams "github.com/zigbee-alliance/distributed-compliance-ledger/app/params" dclpkitypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/pki" compliancemodule "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance" compliancemodulekeeper "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/keeper" @@ -142,7 +147,7 @@ var ( ) var ( - _ cosmoscmd.CosmosApp = (*App)(nil) + _ runtime.AppI = (*App)(nil) _ servertypes.Application = (*App)(nil) ) @@ -164,13 +169,14 @@ type App struct { cdc *codec.LegacyAmino appCodec codec.Codec interfaceRegistry types.InterfaceRegistry + txConfig client.TxConfig invCheckPeriod uint // keys to access the substores - keys map[string]*sdk.KVStoreKey - tkeys map[string]*sdk.TransientStoreKey - memKeys map[string]*sdk.MemoryStoreKey + keys map[string]*storetypes.KVStoreKey + tkeys map[string]*storetypes.TransientStoreKey + memKeys map[string]*storetypes.MemoryStoreKey // keepers /* @@ -184,7 +190,7 @@ type App struct { GovKeeper govkeeper.Keeper CrisisKeeper crisiskeeper.Keeper */ - UpgradeKeeper upgradekeeper.Keeper + UpgradeKeeper *upgradekeeper.Keeper ParamsKeeper paramskeeper.Keeper /* IBCKeeper *ibckeeper.Keeper // IBC Keeper must be a pointer in the app, so we can SetRouter on it correctly @@ -212,10 +218,24 @@ type App struct { ModelKeeper modelmodulekeeper.Keeper ComplianceKeeper compliancemodulekeeper.Keeper + + ConsensusParamsKeeper consensusparamkeeper.Keeper // this line is used by starport scaffolding # stargate/app/keeperDeclaration // the module manager mm *module.Manager + + // sm is the simulation manager + sm *module.SimulationManager + configurator module.Configurator +} + +func (app *App) RegisterNodeService(clientCtx client.Context) { + nodeservice.RegisterNodeService(clientCtx, app.GRPCQueryRouter()) +} + +func (app *App) SimulationManager() *module.SimulationManager { + return app.sm } // New returns a reference to an initialized Gaia. @@ -227,18 +247,20 @@ func New( skipUpgradeHeights map[int64]bool, homePath string, invCheckPeriod uint, - encodingConfig cosmoscmd.EncodingConfig, + encodingConfig appparams.EncodingConfig, appOpts servertypes.AppOptions, baseAppOptions ...func(*baseapp.BaseApp), -) cosmoscmd.App { - appCodec := encodingConfig.Marshaler +) *App { + appCodec := encodingConfig.Codec cdc := encodingConfig.Amino interfaceRegistry := encodingConfig.InterfaceRegistry + txConfig := encodingConfig.TxConfig bApp := baseapp.NewBaseApp(Name, logger, db, encodingConfig.TxConfig.TxDecoder(), baseAppOptions...) bApp.SetCommitMultiStoreTracer(traceStore) bApp.SetVersion(version.Version) bApp.SetInterfaceRegistry(interfaceRegistry) + bApp.SetTxEncoder(txConfig.TxEncoder()) keys := sdk.NewKVStoreKeys( paramstypes.StoreKey, @@ -267,6 +289,7 @@ func New( cdc: cdc, appCodec: appCodec, interfaceRegistry: interfaceRegistry, + txConfig: txConfig, invCheckPeriod: invCheckPeriod, keys: keys, tkeys: tkeys, @@ -276,8 +299,8 @@ func New( app.ParamsKeeper = initParamsKeeper(appCodec, cdc, keys[paramstypes.StoreKey], tkeys[paramstypes.TStoreKey]) // set the BaseApp's parameter store - bApp.SetParamStore(app.ParamsKeeper.Subspace(baseapp.Paramspace).WithKeyTable(paramskeeper.ConsensusParamsKeyTable())) - // add capability keeper and ScopeToModule for ibc module + app.ConsensusParamsKeeper = consensusparamkeeper.NewKeeper(appCodec, keys[upgradetypes.StoreKey], authtypes.NewModuleAddress(authtypes.ModuleName).String()) + bApp.SetParamStore(&app.ConsensusParamsKeeper) // add capability keeper and ScopeToModule for ibc module // app.CapabilityKeeper = capabilitykeeper.NewKeeper(appCodec, keys[capabilitytypes.StoreKey], memKeys[capabilitytypes.MemStoreKey]) /* @@ -315,7 +338,7 @@ func New( app.FeeGrantKeeper = feegrantkeeper.NewKeeper(appCodec, keys[feegrant.StoreKey], app.AccountKeeper) */ - app.UpgradeKeeper = upgradekeeper.NewKeeper(skipUpgradeHeights, keys[upgradetypes.StoreKey], appCodec, homePath, app.BaseApp) + app.UpgradeKeeper = upgradekeeper.NewKeeper(skipUpgradeHeights, keys[upgradetypes.StoreKey], appCodec, homePath, app.BaseApp, authtypes.NewModuleAddress(upgradetypes.ModuleName).String()) /* // register the staking hooks // NOTE: stakingKeeper above is passed by reference, so that it will contain these hooks @@ -371,7 +394,7 @@ func New( keys[dclauthmoduletypes.MemStoreKey], ) - dclauthModule := dclauthmodule.NewAppModule(appCodec, app.DclauthKeeper, app.BaseauthKeeper) + dclauthModule := dclauthmodule.NewAppModule(appCodec, app.DclauthKeeper) app.ValidatorKeeper = *validatormodulekeeper.NewKeeper( appCodec, @@ -550,10 +573,23 @@ func New( ) // app.mm.RegisterInvariants(&app.CrisisKeeper) - app.mm.RegisterRoutes(app.Router(), app.QueryRouter(), encodingConfig.Amino) + //app.mm.RegisterRoutes(app.Router(), app.QueryRouter(), encodingConfig.Amino) + + app.configurator = module.NewConfigurator(app.appCodec, app.MsgServiceRouter(), app.GRPCQueryRouter()) + app.mm.RegisterServices(app.configurator) + + autocliv1.RegisterQueryServer(app.GRPCQueryRouter(), runtimeservices.NewAutoCLIQueryService(app.mm.Modules)) + reflectionSvc, err := runtimeservices.NewReflectionService() + if err != nil { + panic(err) + } + reflectionv1.RegisterReflectionServiceServer(app.GRPCQueryRouter(), reflectionSvc) - cfg := module.NewConfigurator(app.appCodec, app.MsgServiceRouter(), app.GRPCQueryRouter()) - app.mm.RegisterServices(cfg) + // create the simulation manager and define the order of the modules for deterministic simulations + overrideModules := map[string]module.AppModuleSimulation{ + dclauthmoduletypes.ModuleName: dclauthModule} + app.sm = module.NewSimulationManagerFromAppModules(app.mm.Modules, overrideModules) + app.sm.RegisterStoreDecoders() // initialize stores app.MountKVStores(keys) @@ -627,7 +663,7 @@ func New( app.UpgradeKeeper.SetUpgradeHandler( "v1.3", func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) { - return app.mm.RunMigrations(ctx, cfg, fromVM) + return app.mm.RunMigrations(ctx, app.configurator, fromVM) }, ) @@ -650,7 +686,7 @@ func (app *App) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.Respo // InitChainer application update at chain initialization. func (app *App) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain { var genesisState GenesisState - if err := tmjson.Unmarshal(req.AppStateBytes, &genesisState); err != nil { + if err := json.Unmarshal(req.AppStateBytes, &genesisState); err != nil { panic(err) } app.UpgradeKeeper.SetModuleVersionMap(ctx, app.mm.GetVersionMap()) @@ -699,21 +735,21 @@ func (app *App) InterfaceRegistry() types.InterfaceRegistry { // GetKey returns the KVStoreKey for the provided store key. // // NOTE: This is solely to be used for testing purposes. -func (app *App) GetKey(storeKey string) *sdk.KVStoreKey { +func (app *App) GetKey(storeKey string) *storetypes.KVStoreKey { return app.keys[storeKey] } // GetTKey returns the TransientStoreKey for the provided store key. // // NOTE: This is solely to be used for testing purposes. -func (app *App) GetTKey(storeKey string) *sdk.TransientStoreKey { +func (app *App) GetTKey(storeKey string) *storetypes.TransientStoreKey { return app.tkeys[storeKey] } // GetMemKey returns the MemStoreKey for the provided mem key. // // NOTE: This is solely used for testing purposes. -func (app *App) GetMemKey(storeKey string) *sdk.MemoryStoreKey { +func (app *App) GetMemKey(storeKey string) *storetypes.MemoryStoreKey { return app.memKeys[storeKey] } @@ -730,10 +766,6 @@ func (app *App) GetSubspace(moduleName string) paramstypes.Subspace { // API server. func (app *App) RegisterAPIRoutes(apiSvr *api.Server, apiConfig config.APIConfig) { clientCtx := apiSvr.ClientCtx - rpc.RegisterRoutes(clientCtx, apiSvr.Router) - - // Register legacy tx routes. - authrest.RegisterTxRoutes(clientCtx, apiSvr.Router) // Register new tx routes from grpc-gateway. authtx.RegisterGRPCGatewayRoutes(clientCtx, apiSvr.GRPCGatewayRouter) @@ -741,12 +773,12 @@ func (app *App) RegisterAPIRoutes(apiSvr *api.Server, apiConfig config.APIConfig tmservice.RegisterGRPCGatewayRoutes(clientCtx, apiSvr.GRPCGatewayRouter) // Register legacy and grpc-gateway routes for all modules. - ModuleBasics.RegisterRESTRoutes(clientCtx, apiSvr.Router) ModuleBasics.RegisterGRPCGatewayRoutes(clientCtx, apiSvr.GRPCGatewayRouter) - // register app's OpenAPI routes. - apiSvr.Router.Handle("/static/openapi.yml", http.FileServer(http.FS(docs.Docs))) - apiSvr.Router.HandleFunc("/", openapiconsole.Handler(Name, "/static/openapi.yml")) + // register swagger API from root so that other applications can override easily + if err := server.RegisterSwaggerAPI(apiSvr.ClientCtx, apiSvr.Router, apiConfig.Swagger); err != nil { + panic(err) + } } // RegisterTxService implements the Application.RegisterTxService method. @@ -756,21 +788,31 @@ func (app *App) RegisterTxService(clientCtx client.Context) { // RegisterTendermintService implements the Application.RegisterTendermintService method. func (app *App) RegisterTendermintService(clientCtx client.Context) { - tmservice.RegisterTendermintService(app.BaseApp.GRPCQueryRouter(), clientCtx, app.interfaceRegistry) + tmservice.RegisterTendermintService( + clientCtx, + app.BaseApp.GRPCQueryRouter(), + app.interfaceRegistry, + app.Query, + ) } -// GetMaccPerms returns a copy of the module account permissions. -func GetMaccPerms() map[string][]string { - dupMaccPerms := make(map[string][]string) - for k, v := range maccPerms { - dupMaccPerms[k] = v - } +// TxConfig returns App's TxConfig. +func (app *App) TxConfig() client.TxConfig { + return app.txConfig +} + +// Configurator get app configurator +func (app *App) Configurator() module.Configurator { + return app.configurator +} - return dupMaccPerms +// ModuleManager returns the app ModuleManager +func (app *App) ModuleManager() *module.Manager { + return app.mm } // initParamsKeeper init params keeper and its subspaces. -func initParamsKeeper(appCodec codec.BinaryCodec, legacyAmino *codec.LegacyAmino, key, tkey sdk.StoreKey) paramskeeper.Keeper { +func initParamsKeeper(appCodec codec.BinaryCodec, legacyAmino *codec.LegacyAmino, key, tkey storetypes.StoreKey) paramskeeper.Keeper { paramsKeeper := paramskeeper.NewKeeper(appCodec, legacyAmino, key, tkey) paramsKeeper.Subspace(upgradetypes.ModuleName) diff --git a/app/encoding.go b/app/encoding.go new file mode 100644 index 000000000..6d719643b --- /dev/null +++ b/app/encoding.go @@ -0,0 +1,35 @@ +package app + +import ( + "github.com/zigbee-alliance/distributed-compliance-ledger/app/params" + + "github.com/cosmos/cosmos-sdk/codec" + "github.com/cosmos/cosmos-sdk/codec/types" + "github.com/cosmos/cosmos-sdk/std" + "github.com/cosmos/cosmos-sdk/x/auth/tx" +) + +// makeEncodingConfig creates an EncodingConfig for an amino based test configuration. +func makeEncodingConfig() params.EncodingConfig { + amino := codec.NewLegacyAmino() + interfaceRegistry := types.NewInterfaceRegistry() + marshaler := codec.NewProtoCodec(interfaceRegistry) + txCfg := tx.NewTxConfig(marshaler, tx.DefaultSignModes) + + return params.EncodingConfig{ + InterfaceRegistry: interfaceRegistry, + Codec: marshaler, + TxConfig: txCfg, + Amino: amino, + } +} + +// MakeEncodingConfig creates an EncodingConfig for testing +func MakeEncodingConfig() params.EncodingConfig { + encodingConfig := makeEncodingConfig() + std.RegisterLegacyAminoCodec(encodingConfig.Amino) + std.RegisterInterfaces(encodingConfig.InterfaceRegistry) + ModuleBasics.RegisterLegacyAminoCodec(encodingConfig.Amino) + ModuleBasics.RegisterInterfaces(encodingConfig.InterfaceRegistry) + return encodingConfig +} diff --git a/app/export.go b/app/export.go index 1b7f9bcb4..210794e7e 100644 --- a/app/export.go +++ b/app/export.go @@ -3,16 +3,15 @@ package app import ( "encoding/json" + tmproto "github.com/cometbft/cometbft/proto/tendermint/types" servertypes "github.com/cosmos/cosmos-sdk/server/types" - tmproto "github.com/tendermint/tendermint/proto/tendermint/types" "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator" ) // ExportAppStateAndValidators exports the state of the application for a genesis // file. -func (app *App) ExportAppStateAndValidators( - forZeroHeight bool, jailAllowedAddrs []string, -) (servertypes.ExportedApp, error) { +func (app *App) ExportAppStateAndValidators(forZeroHeight bool, jailAllowedAddrs []string, modulesToExport []string) (servertypes.ExportedApp, error) { + // as if they could withdraw from the start of the next block ctx := app.NewContext(true, tmproto.Header{Height: app.LastBlockHeight()}) @@ -27,7 +26,7 @@ func (app *App) ExportAppStateAndValidators( } */ - genState := app.mm.ExportGenesis(ctx, app.appCodec) + genState := app.mm.ExportGenesisForModules(ctx, app.appCodec, modulesToExport) appState, err := json.MarshalIndent(genState, "", " ") if err != nil { return servertypes.ExportedApp{}, err diff --git a/app/params/encoding.go b/app/params/encoding.go new file mode 100644 index 000000000..8ff9ea04b --- /dev/null +++ b/app/params/encoding.go @@ -0,0 +1,16 @@ +package params + +import ( + "github.com/cosmos/cosmos-sdk/client" + "github.com/cosmos/cosmos-sdk/codec" + "github.com/cosmos/cosmos-sdk/codec/types" +) + +// EncodingConfig specifies the concrete encoding types to use for a given app. +// This is provided for compatibility between protobuf and amino implementations. +type EncodingConfig struct { + InterfaceRegistry types.InterfaceRegistry + Codec codec.Codec + TxConfig client.TxConfig + Amino *codec.LegacyAmino +} diff --git a/cmd/dcld/cmd/genaccounts.go b/cmd/dcld/cmd/genaccounts.go index c074c2e36..26cac3af7 100644 --- a/cmd/dcld/cmd/genaccounts.go +++ b/cmd/dcld/cmd/genaccounts.go @@ -8,8 +8,6 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/codec" - // "github.com/cosmos/cosmos-sdk/crypto/keyring". "github.com/cosmos/cosmos-sdk/crypto/keyring" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" @@ -46,10 +44,11 @@ the address will be looked up in the local Keybase. `, Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) error { - clientCtx := client.GetClientContextFromCmd(cmd) - - depCdc := clientCtx.JSONCodec - cdc := depCdc.(codec.Codec) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } + cdc := clientCtx.Codec serverCtx := server.GetServerContextFromCmd(cmd) config := serverCtx.Config @@ -69,7 +68,7 @@ the address will be looked up in the local Keybase. } // attempt to lookup address from Keybase if no address was provided - kb, err := keyring.New(sdk.KeyringServiceName(), keyringBackend, clientCtx.HomeDir, inBuf) + kb, err := keyring.New(sdk.KeyringServiceName(), keyringBackend, clientCtx.HomeDir, inBuf, cdc) if err != nil { return err } @@ -79,7 +78,10 @@ the address will be looked up in the local Keybase. return fmt.Errorf("failed to get address from Keybase: %w", err) } - addr = info.GetAddress() + addr, err = info.GetAddress() + if err != nil { + return fmt.Errorf("failed to get address from Keybase: %w", err) + } } pkStr := viper.GetString(FlagPubKey) diff --git a/cmd/dcld/cmd/genaccounts_test.go b/cmd/dcld/cmd/genaccounts_test.go index bc7378107..28e1bb583 100644 --- a/cmd/dcld/cmd/genaccounts_test.go +++ b/cmd/dcld/cmd/genaccounts_test.go @@ -12,8 +12,8 @@ import ( "github.com/cosmos/cosmos-sdk/crypto/hd" "github.com/cosmos/cosmos-sdk/crypto/keyring" "github.com/cosmos/cosmos-sdk/server" - "github.com/cosmos/cosmos-sdk/simapp" - simcmd "github.com/cosmos/cosmos-sdk/simapp/simd/cmd" + "cosmossdk.io/simapp" + simcmd "cosmossdk.io/simapp/simd/cmd" "github.com/cosmos/cosmos-sdk/testutil/testdata" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" @@ -21,7 +21,7 @@ import ( genutiltest "github.com/cosmos/cosmos-sdk/x/genutil/client/testutil" "github.com/spf13/viper" "github.com/stretchr/testify/require" - "github.com/tendermint/tendermint/libs/log" + "github.com/cometbft/cometbft/libs/log" ) var testMbm = module.NewBasicManager(genutil.AppModuleBasic{}) diff --git a/cmd/dcld/cmd/light.go b/cmd/dcld/cmd/light.go index 00c0b53dc..6418ad315 100644 --- a/cmd/dcld/cmd/light.go +++ b/cmd/dcld/cmd/light.go @@ -13,22 +13,22 @@ import ( "syscall" "time" + dbm "github.com/cometbft/cometbft-db" storetypes "github.com/cosmos/cosmos-sdk/store/types" "github.com/spf13/cobra" - dbm "github.com/tendermint/tm-db" - - tmcfg "github.com/tendermint/tendermint/config" - "github.com/tendermint/tendermint/libs/log" - tmmath "github.com/tendermint/tendermint/libs/math" - "github.com/tendermint/tendermint/light" - lproxy "github.com/tendermint/tendermint/light/proxy" - lrpc "github.com/tendermint/tendermint/light/rpc" - dbs "github.com/tendermint/tendermint/light/store/db" - rpchttp "github.com/tendermint/tendermint/rpc/client/http" - rpcserver "github.com/tendermint/tendermint/rpc/jsonrpc/server" + + tmcfg "github.com/cometbft/cometbft/config" + "github.com/cometbft/cometbft/libs/log" + tmmath "github.com/cometbft/cometbft/libs/math" + "github.com/cometbft/cometbft/light" + lproxy "github.com/cometbft/cometbft/light/proxy" + lrpc "github.com/cometbft/cometbft/light/rpc" + dbs "github.com/cometbft/cometbft/light/store/db" + rpchttp "github.com/cometbft/cometbft/rpc/client/http" + rpcserver "github.com/cometbft/cometbft/rpc/jsonrpc/server" ) -// mostly copied from https://github.com/tendermint/tendermint/blob/master/cmd/tendermint/commands/light.go +// mostly copied from https://github.com/cometbft/cometbft/blob/master/cmd/tendermint/commands/light.go const ( FlagListenAddr = "laddr" @@ -238,7 +238,7 @@ func runProxy(cmd *cobra.Command, args []string) error { cfg.MaxOpenConnections = maxOpenConnections // If necessary adjust global WriteTimeout to ensure it's greater than // TimeoutBroadcastTxCommit. - // See https://github.com/tendermint/tendermint/issues/3435 + // See https://github.com/cometbft/cometbft/issues/3435 if cfg.WriteTimeout <= config.RPC.TimeoutBroadcastTxCommit { cfg.WriteTimeout = config.RPC.TimeoutBroadcastTxCommit + 10*time.Second } diff --git a/cmd/dcld/cmd/root.go b/cmd/dcld/cmd/root.go index 6402c2c6a..e0f8e84c2 100644 --- a/cmd/dcld/cmd/root.go +++ b/cmd/dcld/cmd/root.go @@ -2,10 +2,15 @@ package cmd import ( "errors" + tmtypes "github.com/cometbft/cometbft/types" "io" "os" "path/filepath" + rosettaCmd "cosmossdk.io/tools/rosetta/cmd" + dbm "github.com/cometbft/cometbft-db" + tmcfg "github.com/cometbft/cometbft/config" + "github.com/cometbft/cometbft/libs/log" "github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/config" @@ -17,18 +22,17 @@ import ( serverconfig "github.com/cosmos/cosmos-sdk/server/config" servertypes "github.com/cosmos/cosmos-sdk/server/types" "github.com/cosmos/cosmos-sdk/snapshots" + snapshottypes "github.com/cosmos/cosmos-sdk/snapshots/types" "github.com/cosmos/cosmos-sdk/store" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/cosmos/cosmos-sdk/types/module" authcmd "github.com/cosmos/cosmos-sdk/x/auth/client/cli" "github.com/cosmos/cosmos-sdk/x/crisis" "github.com/spf13/cast" "github.com/spf13/cobra" "github.com/spf13/pflag" - "github.com/tendermint/spm/cosmoscmd" - tmcli "github.com/tendermint/tendermint/libs/cli" - "github.com/tendermint/tendermint/libs/log" - dbm "github.com/tendermint/tm-db" + + "github.com/zigbee-alliance/distributed-compliance-ledger/app" + appparams "github.com/zigbee-alliance/distributed-compliance-ledger/app/params" dclauthtypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" dclgenutilcli "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclgenutil/client/cli" ) @@ -36,8 +40,7 @@ import ( type ( // appCreator is an app creator. appCreator struct { - encodingConfig cosmoscmd.EncodingConfig - buildApp cosmoscmd.AppBuilder + encodingConfig appparams.EncodingConfig } ) @@ -88,34 +91,20 @@ func WithEnvPrefix(envPrefix string) Option { */ // NewRootCmd creates a new root command for a Cosmos SDK application. -func NewRootCmd( - appName, - accountAddressPrefix, - defaultNodeHome, - defaultChainID string, - moduleBasics module.BasicManager, - buildApp cosmoscmd.AppBuilder, - options ...Option, -) (*cobra.Command, cosmoscmd.EncodingConfig) { - rootOptions := newRootOptions(options...) - - // Set config for prefixes - cosmoscmd.SetPrefixes(accountAddressPrefix) - - encodingConfig := cosmoscmd.MakeEncodingConfig(moduleBasics) +func NewRootCmd() (*cobra.Command, appparams.EncodingConfig) { + encodingConfig := app.MakeEncodingConfig() initClientCtx := client.Context{}. - WithCodec(encodingConfig.Marshaler). + WithCodec(encodingConfig.Codec). WithInterfaceRegistry(encodingConfig.InterfaceRegistry). WithTxConfig(encodingConfig.TxConfig). WithLegacyAmino(encodingConfig.Amino). WithInput(os.Stdin). WithAccountRetriever(dclauthtypes.AccountRetriever{}). - WithBroadcastMode(flags.BroadcastBlock). - WithHomeDir(defaultNodeHome). + WithHomeDir(app.DefaultNodeHome). WithViper("") rootCmd := &cobra.Command{ - Use: appName + "d", + Use: app.Name + "d", Short: "DCLedger App", PersistentPreRunE: func(cmd *cobra.Command, _ []string) error { // set the default command outputs @@ -135,89 +124,77 @@ func NewRootCmd( } customAppTemplate, customAppConfig := initAppConfig() + customTMConfig := initTendermintConfig() - return server.InterceptConfigsPreRunHandler(cmd, customAppTemplate, customAppConfig) + return server.InterceptConfigsPreRunHandler(cmd, customAppTemplate, customAppConfig, customTMConfig) }, } - initRootCmd( - rootCmd, - encodingConfig, - defaultNodeHome, - moduleBasics, - buildApp, - rootOptions, - ) + initRootCmd(rootCmd, encodingConfig) overwriteFlagDefaults(rootCmd, map[string]string{ - flags.FlagChainID: defaultChainID, + flags.FlagChainID: app.Name, flags.FlagKeyringBackend: "test", }) return rootCmd, encodingConfig } +// initTendermintConfig helps to override default Tendermint Config values. +// return tmcfg.DefaultConfig if no custom configuration is required for the application. +func initTendermintConfig() *tmcfg.Config { + cfg := tmcfg.DefaultConfig() + return cfg +} + func initRootCmd( rootCmd *cobra.Command, - encodingConfig cosmoscmd.EncodingConfig, - defaultNodeHome string, - moduleBasics module.BasicManager, - buildApp cosmoscmd.AppBuilder, - options rootOptions, + encodingConfig appparams.EncodingConfig, ) { + cfg := sdk.GetConfig() + cfg.Seal() + rootCmd.AddCommand( - dclgenutilcli.InitCmd(moduleBasics, defaultNodeHome), - dclgenutilcli.CollectGenTxsCmd(dclauthtypes.GenesisAccountsIterator{}, defaultNodeHome), + dclgenutilcli.InitCmd(app.ModuleBasics, app.DefaultNodeHome), + dclgenutilcli.CollectGenTxsCmd(dclauthtypes.GenesisAccountsIterator{}, app.DefaultNodeHome), // dclgenutilcli.MigrateGenesisCmd(), TODO issue 99: review, do we need that dclgenutilcli.GenTxCmd( - moduleBasics, + app.ModuleBasics, encodingConfig.TxConfig, dclauthtypes.GenesisAccountsIterator{}, - defaultNodeHome, + app.DefaultNodeHome, ), - dclgenutilcli.ValidateGenesisCmd(moduleBasics), - AddGenesisAccountCmd(defaultNodeHome), - tmcli.NewCompletionCmd(rootCmd, true), + dclgenutilcli.ValidateGenesisCmd(app.ModuleBasics), + AddGenesisAccountCmd(app.DefaultNodeHome), debug.Cmd(), config.Cmd(), ) a := appCreator{ encodingConfig, - buildApp, } // add server commands server.AddCommands( rootCmd, - defaultNodeHome, + app.DefaultNodeHome, a.newApp, a.appExport, - func(cmd *cobra.Command) { - addModuleInitFlags(cmd) - - if options.startCmdCustomizer != nil { - options.startCmdCustomizer(cmd) - } - }, + addModuleInitFlags, ) // add keybase, auxiliary RPC, query, and tx child commands rootCmd.AddCommand( rpc.StatusCommand(), - queryCommand(moduleBasics), - txCommand(moduleBasics), - keys.Commands(defaultNodeHome), + queryCommand(), + txCommand(), + keys.Commands(app.DefaultNodeHome), ) - // add user given sub commands. - for _, cmd := range options.addSubCmds { - rootCmd.AddCommand(cmd) - } - rootCmd.AddCommand(LightCmd) + rootCmd.AddCommand(rosettaCmd.RosettaCommand(encodingConfig.InterfaceRegistry, encodingConfig.Codec)) } // queryCommand returns the sub-command to send queries to the app. -func queryCommand(moduleBasics module.BasicManager) *cobra.Command { +func queryCommand() *cobra.Command { cmd := &cobra.Command{ Use: "query", Aliases: []string{"q"}, @@ -235,14 +212,14 @@ func queryCommand(moduleBasics module.BasicManager) *cobra.Command { authcmd.QueryTxCmd(), ) - moduleBasics.AddQueryCommands(cmd) + app.ModuleBasics.AddQueryCommands(cmd) cmd.PersistentFlags().String(flags.FlagChainID, "", "The network chain ID") return cmd } // txCommand returns the sub-command to send transactions to the app. -func txCommand(moduleBasics module.BasicManager) *cobra.Command { +func txCommand() *cobra.Command { cmd := &cobra.Command{ Use: "tx", Short: "Transactions subcommands", @@ -262,7 +239,7 @@ func txCommand(moduleBasics module.BasicManager) *cobra.Command { authcmd.GetDecodeCommand(), ) - moduleBasics.AddTxCommands(cmd) + app.ModuleBasics.AddTxCommands(cmd) cmd.PersistentFlags().String(flags.FlagChainID, "", "The network chain ID") return cmd @@ -312,7 +289,7 @@ func (a appCreator) newApp( } snapshotDir := filepath.Join(cast.ToString(appOpts.Get(flags.FlagHome)), "data", "snapshots") - snapshotDB, err := sdk.NewLevelDB("metadata", snapshotDir) + snapshotDB, err := dbm.NewDB("metadata", dbm.GoLevelDBBackend, snapshotDir) if err != nil { panic(err) } @@ -321,7 +298,24 @@ func (a appCreator) newApp( panic(err) } - return a.buildApp( + snapshotOptions := snapshottypes.NewSnapshotOptions( + cast.ToUint64(appOpts.Get(server.FlagStateSyncSnapshotInterval)), + cast.ToUint32(appOpts.Get(server.FlagStateSyncSnapshotKeepRecent)), + ) + + homeDir := cast.ToString(appOpts.Get(flags.FlagHome)) + chainID := cast.ToString(appOpts.Get(flags.FlagChainID)) + if chainID == "" { + // fallback to genesis chain-id + appGenesis, err := tmtypes.GenesisDocFromFile(filepath.Join(homeDir, "config", "genesis.json")) + if err != nil { + panic(err) + } + + chainID = appGenesis.ChainID + } + + return app.New( logger, db, traceStore, @@ -333,15 +327,15 @@ func (a appCreator) newApp( appOpts, baseapp.SetPruning(pruningOpts), baseapp.SetMinGasPrices(cast.ToString(appOpts.Get(server.FlagMinGasPrices))), - baseapp.SetMinRetainBlocks(cast.ToUint64(appOpts.Get(server.FlagMinRetainBlocks))), baseapp.SetHaltHeight(cast.ToUint64(appOpts.Get(server.FlagHaltHeight))), baseapp.SetHaltTime(cast.ToUint64(appOpts.Get(server.FlagHaltTime))), + baseapp.SetMinRetainBlocks(cast.ToUint64(appOpts.Get(server.FlagMinRetainBlocks))), baseapp.SetInterBlockCache(cache), baseapp.SetTrace(cast.ToBool(appOpts.Get(server.FlagTrace))), baseapp.SetIndexEvents(cast.ToStringSlice(appOpts.Get(server.FlagIndexEvents))), - baseapp.SetSnapshotStore(snapshotStore), - baseapp.SetSnapshotInterval(cast.ToUint64(appOpts.Get(server.FlagStateSyncSnapshotInterval))), - baseapp.SetSnapshotKeepRecent(cast.ToUint32(appOpts.Get(server.FlagStateSyncSnapshotKeepRecent))), + baseapp.SetSnapshot(snapshotStore, snapshotOptions), + baseapp.SetIAVLCacheSize(cast.ToInt(appOpts.Get(server.FlagIAVLCacheSize))), + baseapp.SetChainID(chainID), ) } @@ -354,15 +348,14 @@ func (a appCreator) appExport( forZeroHeight bool, jailAllowedAddrs []string, appOpts servertypes.AppOptions, + modulesToExport []string, ) (servertypes.ExportedApp, error) { - var exportableApp cosmoscmd.ExportableApp - homePath, ok := appOpts.Get(flags.FlagHome).(string) if !ok || homePath == "" { return servertypes.ExportedApp{}, errors.New("application home not set") } - exportableApp = a.buildApp( + app := app.New( logger, db, traceStore, @@ -375,12 +368,12 @@ func (a appCreator) appExport( ) if height != -1 { - if err := exportableApp.LoadHeight(height); err != nil { + if err := app.LoadHeight(height); err != nil { return servertypes.ExportedApp{}, err } } - return exportableApp.ExportAppStateAndValidators(forZeroHeight, jailAllowedAddrs) + return app.ExportAppStateAndValidators(forZeroHeight, jailAllowedAddrs, modulesToExport) } // initAppConfig helps to override default appConfig template and configs. diff --git a/cmd/dcld/main.go b/cmd/dcld/main.go index d26375677..77835581d 100644 --- a/cmd/dcld/main.go +++ b/cmd/dcld/main.go @@ -1,6 +1,7 @@ package main import ( + "github.com/cosmos/cosmos-sdk/server" "os" svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" @@ -10,16 +11,14 @@ import ( ) func main() { - rootCmd, _ := cmd.NewRootCmd( - app.Name, - app.AccountAddressPrefix, - app.DefaultNodeHome, - app.Name, - app.ModuleBasics, - app.New, - // this line is used by starport scaffolding # root/arguments - ) - if err := svrcmd.Execute(rootCmd, app.DefaultNodeHome); err != nil { - os.Exit(1) + rootCmd, _ := cmd.NewRootCmd() + if err := svrcmd.Execute(rootCmd, "", app.DefaultNodeHome); err != nil { + switch e := err.(type) { + case server.ErrorCode: + os.Exit(e.Code) + + default: + os.Exit(1) + } } } diff --git a/cmd/settings/settings.go b/cmd/settings/settings.go deleted file mode 100644 index 1f6abaa19..000000000 --- a/cmd/settings/settings.go +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2020 DSR Corporation -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package settings - -import ( - "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/cosmos/cosmos-sdk/store/types" -) - -const ( - // Default broadcast mode used for write transactions. - DefaultBroadcastMode = flags.BroadcastBlock -) - -// PruningStrategy of the application: Store every 100th state. Keep last 100 states. Do pruning at every 10th height. -var PruningStrategy = types.NewPruningOptions(100, 100, 10) diff --git a/docs/tendermint-rpc.md b/docs/tendermint-rpc.md index 28c380da7..17e482ad8 100644 --- a/docs/tendermint-rpc.md +++ b/docs/tendermint-rpc.md @@ -5,7 +5,7 @@ The default RPC listen address is tcp://0.0.0.0:26657. See the [docs](https://do ## WebSocket Events -Full list of Tendermint WebSocket events can be found [here](https://pkg.go.dev/github.com/tendermint/tendermint/types#pkg-constants). +Full list of Tendermint WebSocket events can be found [here](https://pkg.go.dev/github.com/cometbft/cometbft/types#pkg-constants). ### Subscribe diff --git a/go.mod b/go.mod index ab0ed06a8..1edc694c0 100644 --- a/go.mod +++ b/go.mod @@ -1,38 +1,35 @@ module github.com/zigbee-alliance/distributed-compliance-ledger -go 1.16 +go 1.20 require ( - github.com/cosmos/cosmos-proto v0.0.0-20210914142853-23ed61ac79ce - github.com/cosmos/cosmos-sdk v0.44.5 - github.com/cosmos/go-bip39 v1.0.0 + cosmossdk.io/api v0.3.1 + github.com/cometbft/cometbft v0.37.1 + github.com/cometbft/cometbft-db v0.7.0 + github.com/cosmos/cosmos-sdk v0.47.3 + github.com/cosmos/gogoproto v1.4.10 github.com/go-playground/locales v0.14.0 github.com/go-playground/universal-translator v0.18.0 github.com/go-playground/validator/v10 v10.9.0 - github.com/gogo/protobuf v1.3.3 - github.com/golang/protobuf v1.5.3 github.com/gorilla/mux v1.8.0 github.com/grpc-ecosystem/grpc-gateway v1.16.0 - github.com/kr/pretty v0.3.1 // indirect github.com/pkg/errors v0.9.1 - github.com/spf13/cast v1.3.1 - github.com/spf13/cobra v1.2.1 + github.com/spf13/cast v1.5.0 + github.com/spf13/cobra v1.6.1 github.com/spf13/pflag v1.0.5 - github.com/spf13/viper v1.8.1 + github.com/spf13/viper v1.14.0 github.com/stretchr/testify v1.8.2 - github.com/tendermint/spm v0.1.9 - github.com/tendermint/tendermint v0.34.14 - github.com/tendermint/tm-db v0.6.4 - golang.org/x/net v0.12.0 // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20230724170836-66ad5b6ff146 - google.golang.org/genproto/googleapis/rpc v0.0.0-20230724170836-66ad5b6ff146 // indirect google.golang.org/grpc v1.56.2 sigs.k8s.io/yaml v1.3.0 ) +require ( + github.com/kr/pretty v0.3.1 // indirect + golang.org/x/net v0.12.0 // indirect +) + replace ( + cosmossdk.io/simapp => cosmossdk.io/simapp v0.0.0-20240119091742-c5826868d4e5 github.com/99designs/keyring => github.com/cosmos/keyring v1.1.7-0.20210622111912-ef00f8ac3d76 - github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 - github.com/tendermint/tendermint => github.com/zigbee-alliance/tendermint v0.34.140 - google.golang.org/grpc => google.golang.org/grpc v1.33.2 + github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 ) diff --git a/go.sum b/go.sum index 158c33df1..53e12afe6 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,6 @@ 4d63.com/gochecknoglobals v0.0.0-20201008074935-acfc0b28355a/go.mod h1:wfdC5ZjKSPr7CybKEcgJhUOgeAQW1+7WcyK8OvUilfo= bitbucket.org/creachadair/shell v0.0.6/go.mod h1:8Qqi/cYk7vPnsOePHroKXDJYmb5x7ENhtiFtfZq8K+M= +cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= @@ -717,6 +718,7 @@ cloud.google.com/go/workflows v1.9.0/go.mod h1:ZGkj1aFIOd9c8Gerkjjq7OW7I5+l6cSvT cloud.google.com/go/workflows v1.10.0/go.mod h1:fZ8LmRmZQWacon9UCX1r/g/DfAXx5VcPALq2CxzdePw= cloud.google.com/go/workflows v1.11.1/go.mod h1:Z+t10G1wF7h8LgdY/EmRcQY8ptBD/nvofaL6FqlET6g= contrib.go.opencensus.io/exporter/stackdriver v0.13.4/go.mod h1:aXENhDJ1Y4lIg4EUaVTwzvYETVNZk10Pu26tevFKLUc= +cosmossdk.io/api v0.3.1/go.mod h1:DfHfMkiNA2Uhy8fj0JJlOCYOBp4eWUUJ1te5zBGNyIw= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= filippo.io/edwards25519 v1.0.0-beta.2 h1:/BZRNzm8N4K4eWfK28dL4yescorxtO7YG1yun8fy+pI= filippo.io/edwards25519 v1.0.0-beta.2/go.mod h1:X+pm78QAUPtFLi1z9PYIlS/bdDnvbCOGKtZ+ACWEf7o= @@ -873,6 +875,7 @@ github.com/cilium/ebpf v0.6.2/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJ github.com/circonus-labs/circonus-gometrics v2.3.1+incompatible/go.mod h1:nmEj6Dob7S7YxXgwXpfOuvO54S+tGdZdw9fuRZt25Ag= github.com/circonus-labs/circonusllhist v0.1.3/go.mod h1:kMXHVDlOchFAehlya5ePtbp5jckzBHf4XRpQvBOLI+I= github.com/clbanning/x2j v0.0.0-20191024224557-825249438eec/go.mod h1:jMjuTZXRI4dUb/I5gc9Hdhagfvm9+RyrPryS/auMzxE= +github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cloudflare/cloudflare-go v0.10.2-0.20190916151808-a80f83b9add9/go.mod h1:1MxXX1Ux4x6mqPmjkUgTP1CdXIBXKX7T+Jk9Gxrmx+U= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= @@ -887,6 +890,8 @@ github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:z github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= github.com/coinbase/rosetta-sdk-go v0.6.10 h1:rgHD/nHjxLh0lMEdfGDqpTtlvtSBwULqrrZ2qPdNaCM= github.com/coinbase/rosetta-sdk-go v0.6.10/go.mod h1:J/JFMsfcePrjJZkwQFLh+hJErkAmdm9Iyy3D5Y0LfXo= +github.com/cometbft/cometbft v0.37.1/go.mod h1:Y2MMMN//O5K4YKd8ze4r9jmk4Y7h0ajqILXbH5JQFVs= +github.com/cometbft/cometbft-db v0.7.0/go.mod h1:yiKJIm2WKrt6x8Cyxtq9YTEcIMPcEe4XPxhgX59Fzf0= github.com/confio/ics23/go v0.6.6 h1:pkOy18YxxJ/r0XFDCnrl4Bjv6h4LkBSpLS6F38mrKL8= github.com/confio/ics23/go v0.6.6/go.mod h1:E45NqnlpxGnpfTWL/xauN7MRwEE28T4Dd4uraToOaKg= github.com/containerd/console v1.0.2/go.mod h1:ytZPjGgY2oeTkAONYafi2kSj0aYggsf8acV1PGKCbzQ= @@ -912,13 +917,16 @@ github.com/cosmos/cosmos-sdk v0.44.2/go.mod h1:fwQJdw+aECatpTvQTo1tSfHEsxACdZYU8 github.com/cosmos/cosmos-sdk v0.44.3/go.mod h1:bA3+VenaR/l/vDiYzaiwbWvRPWHMBX2jG0ygiFtiBp0= github.com/cosmos/cosmos-sdk v0.44.5 h1:t5h+KPzZb0Zsag1RP1DCMQlyJyIQqJcqSPJrbUCDGHY= github.com/cosmos/cosmos-sdk v0.44.5/go.mod h1:maUA6m2TBxOJZkbwl0eRtEBgTX37kcaiOWU5t1HEGaY= +github.com/cosmos/cosmos-sdk v0.47.3/go.mod h1:c4OfLdAykA9zsj1CqrxBRqXzVz48I++JSvIMPSPcEmk= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw= +github.com/cosmos/gogoproto v1.4.10/go.mod h1:3aAZzeRWpAwr+SS/LLkICX2/kDFyaYVzckBDzygIxek= github.com/cosmos/iavl v0.17.1/go.mod h1:7aisPZK8yCpQdy3PMvKeO+bhq1NwDjUwjzxwwROUxFk= github.com/cosmos/iavl v0.17.3 h1:s2N819a2olOmiauVa0WAhoIJq9EhSXE9HDBAoR9k+8Y= github.com/cosmos/iavl v0.17.3/go.mod h1:prJoErZFABYZGDHka1R6Oay4z9PrNeFFiMKHDAMOi4w= github.com/cosmos/ibc-go v1.2.2/go.mod h1:XmYjsRFOs6Q9Cz+CSsX21icNoH27vQKb3squgnCOCbs= +github.com/cosmos/ibc-go/v6 v6.1.0/go.mod h1:CY3zh2HLfetRiW8LY6kVHMATe90Wj/UOoY8T6cuB0is= github.com/cosmos/keyring v1.1.7-0.20210622111912-ef00f8ac3d76 h1:DdzS1m6o/pCqeZ8VOAit/gyATedRgjvkVI+UCrLpyuU= github.com/cosmos/keyring v1.1.7-0.20210622111912-ef00f8ac3d76/go.mod h1:0mkLWIoZuQ7uBoospo5Q9zIpqq6rYCPJDSUdeCJvPM8= github.com/cosmos/ledger-cosmos-go v0.11.1 h1:9JIYsGnXP613pb2vPjFeMMjBI5lEDsEaF6oYorTy6J4= @@ -928,6 +936,7 @@ github.com/cosmos/ledger-go v0.9.2/go.mod h1:oZJ2hHAZROdlHiwTg4t7kP+GKIIkBT+o6c9 github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= +github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/cyphar/filepath-securejoin v0.2.2/go.mod h1:FpkQEhXnPnOthhzymB7CGsFk2G9VLXONKD9G7QGMM+4= @@ -975,6 +984,8 @@ github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFP github.com/edsrzf/mmap-go v0.0.0-20160512033002-935e0e8a636c/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= github.com/enigmampc/btcutil v1.0.3-0.20200723161021-e2fb6adb2a25/go.mod h1:hTr8+TLQmkUkgcuh3mcr5fjrT9c64ZzsBCdCEC6UppY= +github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= github.com/envoyproxy/go-control-plane v0.10.3/go.mod h1:fJJn/j26vwOu972OllsvAgJJM//w9BV6Fxbg2LuVd34= @@ -1096,6 +1107,7 @@ github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4er github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= @@ -1323,6 +1335,7 @@ github.com/improbable-eng/grpc-web v0.14.1 h1:NrN4PY71A6tAz2sKDvC5JCauENWp0ykG8O github.com/improbable-eng/grpc-web v0.14.1/go.mod h1:zEjGHa8DAlkoOXmswrNvhUGEYQA9UI7DhrGeHR1DMGU= github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= +github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/influxdata/influxdb v1.2.3-0.20180221223340-01288bdb0883/go.mod h1:qZna6X/4elxqT3yI9iZYdZrWWdeFOOprn86kgg4+IzY= github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo= github.com/jackpal/go-nat-pmp v1.0.2-0.20160603034137-1fa385a6f458/go.mod h1:QPH045xvCAeXUZOxsnwmrtiCoxIr9eob+4orBN1SBKc= @@ -1686,6 +1699,7 @@ github.com/rs/zerolog v1.23.0 h1:UskrK+saS9P9Y789yNNulYKdARjPZuS35B8gJF2x60g= github.com/rs/zerolog v1.23.0/go.mod h1:6c7hFfxPOy7TacJc4Fcdi24/J0NKYGzjG8FWRI916Qo= github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/ruudk/golang-pdf417 v0.0.0-20181029194003-1af4ab5afa58/go.mod h1:6lfFZQK844Gfx8o5WFuvpxWRwnSoipWe/p622j1v06w= github.com/ruudk/golang-pdf417 v0.0.0-20201230142125-a7e3863a1245/go.mod h1:pQAZKsJ8yyVxGRWYNEm9oFB8ieLgKFnamEyDmSA0BRk= github.com/ryancurrah/gomodguard v1.2.3/go.mod h1:rYbA/4Tg5c54mV1sv4sQTP5WOPBcoLtnBZ7/TEhXAbg= @@ -1733,11 +1747,13 @@ github.com/spf13/afero v1.9.2/go.mod h1:iUV7ddyEEZPO5gA3zD4fJt6iStLlL+Lg4m2cihcD github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cast v1.3.1 h1:nFm6S0SMdyzrzcmThSipiEubIDy8WEXKNZ0UOgiRpng= github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= +github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU= github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/cobra v0.0.5/go.mod h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tLCHU= github.com/spf13/cobra v1.1.1/go.mod h1:WnodtKOvamDL/PwE2M4iKs8aMDBZ5Q5klgD3qfVJQMI= github.com/spf13/cobra v1.2.1 h1:+KmjbUw1hriSNMF55oPrkZcb27aECyrj8V2ytv7kWDw= github.com/spf13/cobra v1.2.1/go.mod h1:ExllRjgxM/piMAM+3tAZvg8fsklGAf3tPfi+i8t68Nk= +github.com/spf13/cobra v1.6.1/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= @@ -1750,6 +1766,7 @@ github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5q github.com/spf13/viper v1.7.1/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= github.com/spf13/viper v1.8.1 h1:Kq1fyeebqsBfbjZj4EL7gj2IO0mMaiyjYUWcUsl2O44= github.com/spf13/viper v1.8.1/go.mod h1:o0Pch8wJ9BVSWGQMbra6iw0oQ5oktSIBaujf1rJH9Ns= +github.com/spf13/viper v1.14.0/go.mod h1:WT//axPky3FdvXHzGw33dNdXXXfFQqmEalje+egj8As= github.com/ssgreg/nlreturn/v2 v2.1.0/go.mod h1:E/iiPB78hV7Szg2YfRgyIrk1AD6JVMTRkkxBiELzh2I= github.com/status-im/keycard-go v0.0.0-20190316090335-8537d3370df4/go.mod h1:RZLeN1LMWmRsyYjvAu+I6Dm9QmlDaIIt+Y+4Kd7Tp+Q= github.com/steakknife/bloomfilter v0.0.0-20180922174646-6819c0d2a570/go.mod h1:8OR4w3TdeIHIh1g6EMY5p0gVNOovcWC+1vpc7naMuAw= @@ -1792,8 +1809,8 @@ github.com/tendermint/go-amino v0.16.0 h1:GyhmgQKvqF82e2oZeuMSp9JTN0N09emoSZlb2l github.com/tendermint/go-amino v0.16.0/go.mod h1:TQU0M1i/ImAo+tYpZi73AU3V/dKeCoMC9Sphe2ZwGME= github.com/tendermint/spm v0.1.9 h1:O1DJF4evS8wgk5SZqRcO29irNNtKQmTpvQ0xFzUiczI= github.com/tendermint/spm v0.1.9/go.mod h1:iHgfQ5YOI6ONc9E7ugGQolVdfSMHpeXfZ/OpXuN/42Q= -github.com/tendermint/tm-db v0.6.4 h1:3N2jlnYQkXNQclQwd/eKV/NzlqPlfK21cpRRIx80XXQ= -github.com/tendermint/tm-db v0.6.4/go.mod h1:dptYhIpJ2M5kUuenLr+Yyf3zQOv1SgBZcl8/BmWlMBw= +github.com/cometbft/cometbft-db v0.6.4 h1:3N2jlnYQkXNQclQwd/eKV/NzlqPlfK21cpRRIx80XXQ= +github.com/cometbft/cometbft-db v0.6.4/go.mod h1:dptYhIpJ2M5kUuenLr+Yyf3zQOv1SgBZcl8/BmWlMBw= github.com/tetafro/godot v1.4.9/go.mod h1:LR3CJpxDVGlYOWn3ZZg1PgNZdTUvzsZWu8xaEohUpn8= github.com/tidwall/gjson v1.6.7/go.mod h1:zeFuBCIqD4sN/gmqBzZ4j7Jd6UcA2Fc56x7QFsv+8fI= github.com/tidwall/match v1.0.3/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM= @@ -1952,6 +1969,7 @@ golang.org/x/image v0.0.0-20210607152325-775e3b0c77b9/go.mod h1:023OzeP/+EPmXeap golang.org/x/image v0.0.0-20210628002857-a66eb6448b8d/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= golang.org/x/image v0.0.0-20211028202545-6944b10bf410/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= golang.org/x/image v0.0.0-20220302094943-723b81ca9867/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= +golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= @@ -1985,6 +2003,7 @@ golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/net v0.0.0-20180719180050-a680a1efc54d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181011144130-49bb7cea24b1/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -2112,6 +2131,7 @@ golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -2270,6 +2290,7 @@ golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190110163146-51295c7ec13a/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190206041539-40960b6deb8e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= golang.org/x/tools v0.0.0-20190307163923-6a08e3108db3/go.mod h1:25r3+/G6/xytQM8iWZKq3Hn0kr0rgFKPUNVEL/dr3z4= @@ -2455,6 +2476,7 @@ google.golang.org/api v0.122.0/go.mod h1:gcitW0lvnyWjSp9nKxAbdHKIZ6vF4aajGueeslZ google.golang.org/api v0.124.0/go.mod h1:xu2HQurE5gi/3t1aFCvhPD781p0a3p11sdunTJ2BlP4= google.golang.org/api v0.125.0/go.mod h1:mBwVAtz+87bEN6CbA1GtZPDOqY2R5ONPqJeIlvyo4Aw= google.golang.org/api v0.126.0/go.mod h1:mBwVAtz+87bEN6CbA1GtZPDOqY2R5ONPqJeIlvyo4Aw= +google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= @@ -2628,8 +2650,14 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20230629202037-9506855d4529/go. google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:8mL13HKkDa+IuJ8yruA3ci0q+0vsUz4m//+ottjwS5o= google.golang.org/genproto/googleapis/rpc v0.0.0-20230724170836-66ad5b6ff146 h1:0PjALPu/U/4OVXKQM2P8b8NJGd4V+xbZSP+uuBJpGm0= google.golang.org/genproto/googleapis/rpc v0.0.0-20230724170836-66ad5b6ff146/go.mod h1:TUfxEVdsvPg18p6AslUXFoLdpED4oBnGwyqk3dV1XzM= +google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= +google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= google.golang.org/grpc v1.33.2 h1:EQyQC3sa8M+p6Ulc8yy9SWSS2GVwyRc83gAbG8lrl4o= google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= +google.golang.org/grpc v1.56.2/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= diff --git a/integration_tests/constants/constants.go b/integration_tests/constants/constants.go index 3f827fc92..2c6990ffa 100644 --- a/integration_tests/constants/constants.go +++ b/integration_tests/constants/constants.go @@ -17,8 +17,8 @@ package testconstants import ( "github.com/cosmos/cosmos-sdk/codec" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" - "github.com/cosmos/cosmos-sdk/simapp" sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/zigbee-alliance/distributed-compliance-ledger/app" "github.com/zigbee-alliance/distributed-compliance-ledger/x/common/types" ) @@ -34,7 +34,7 @@ func strToPubKey(pkStr string, cdc codec.Codec) cryptotypes.PubKey { var ( // default context // TODO issue 99: design test context better. - defEncConfig = simapp.MakeTestEncodingConfig() + defEncConfig = app.MakeEncodingConfig() // Base constants. JackAccount = "jack" @@ -146,28 +146,28 @@ var ( ProductIDs200 = append([]*types.Uint16Range{}, &types.Uint16Range{Min: 1, Max: 100}, &types.Uint16Range{Min: 101, Max: 200}) PubKey1 = strToPubKey( `{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"Aw1XXHQ8i6JVNKsFQ9eQArJVt2GXEO0EBFsQL6XJ5BxY"}`, - defEncConfig.Marshaler, + defEncConfig.Codec, ) PubKey2 = strToPubKey( `{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"A2wJ7uOEE5Zm04K52czFTXfDj1qF2mholzi1zOJVlKlr"}`, - defEncConfig.Marshaler, + defEncConfig.Codec, ) PubKey3 = strToPubKey( `{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"A0GnKr6hItYE1A7dzoxNSMwMZuu1zauOLWAqJWen1RzF"}`, - defEncConfig.Marshaler, + defEncConfig.Codec, ) PubKey4 = strToPubKey( `{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"AnQC2MkMN1TOQyAJ0zjakPDcak+5FLtEoL4yBsgFO8Xe"}`, - defEncConfig.Marshaler, + defEncConfig.Codec, ) Signer = Address1 ValidatorPubKey1 = strToPubKey( `{"@type":"/cosmos.crypto.ed25519.PubKey","key":"1e+1/jHGaJi0b2zgCN46eelKCYpKiuTgPN18mL3fzx8="}`, - defEncConfig.Marshaler, + defEncConfig.Codec, ) ValidatorPubKey2 = strToPubKey( `{"@type":"/cosmos.crypto.ed25519.PubKey","key":"NB8hcdxKYDCaPWR67OiUXUSltZfYYOWYryPDUdbWRlA="}`, - defEncConfig.Marshaler, + defEncConfig.Codec, ) ValidatorAddress1 = "cosmosvaloper156dzj776tf3lmsahgmtnrphflaqf7n58kug5qe" ValidatorAddress2 = "cosmosvaloper12tg2p3rjsaczddufmsjjrw9nvhg8wkc4hcz3zw" diff --git a/integration_tests/grpc_rest/compliance/helpers.go b/integration_tests/grpc_rest/compliance/helpers.go index 225c7f431..9677a50a4 100644 --- a/integration_tests/grpc_rest/compliance/helpers.go +++ b/integration_tests/grpc_rest/compliance/helpers.go @@ -18,10 +18,10 @@ import ( "context" "fmt" + tmrand "github.com/cometbft/cometbft/libs/rand" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - tmrand "github.com/tendermint/tendermint/libs/rand" testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" test_dclauth "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/grpc_rest/dclauth" test_model "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/grpc_rest/model" @@ -506,13 +506,17 @@ func CDCertificateIDUpdateChangesOnlyOneComplianceInfo(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := test_dclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) jackName := testconstants.JackAccount jackKeyInfo, err := suite.Kr.Key(jackName) require.NoError(suite.T, err) - jackAccount, err := test_dclauth.GetAccount(suite, jackKeyInfo.GetAddress()) + address, err = jackKeyInfo.GetAddress() + require.NoError(suite.T, err) + jackAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) // Register new Vendor account @@ -631,13 +635,17 @@ func DeleteComplianceInfoForAllCertStatuses(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := test_dclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) jackName := testconstants.JackAccount jackKeyInfo, err := suite.Kr.Key(jackName) require.NoError(suite.T, err) - jackAccount, err := test_dclauth.GetAccount(suite, jackKeyInfo.GetAddress()) + address, err = jackKeyInfo.GetAddress() + require.NoError(suite.T, err) + jackAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) // Register new Vendor account @@ -822,13 +830,17 @@ func DemoTrackCompliance(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := test_dclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) jackName := testconstants.JackAccount jackKeyInfo, err := suite.Kr.Key(jackName) require.NoError(suite.T, err) - jackAccount, err := test_dclauth.GetAccount(suite, jackKeyInfo.GetAddress()) + address, err = jackKeyInfo.GetAddress() + require.NoError(suite.T, err) + jackAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) // Register new Vendor account @@ -1151,13 +1163,17 @@ func DemoTrackRevocation(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := test_dclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) jackName := testconstants.JackAccount jackKeyInfo, err := suite.Kr.Key(jackName) require.NoError(suite.T, err) - jackAccount, err := test_dclauth.GetAccount(suite, jackKeyInfo.GetAddress()) + address, err = jackKeyInfo.GetAddress() + require.NoError(suite.T, err) + jackAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) // Register new Vendor account @@ -1330,13 +1346,17 @@ func DemoTrackProvision(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := test_dclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) jackName := testconstants.JackAccount jackKeyInfo, err := suite.Kr.Key(jackName) require.NoError(suite.T, err) - jackAccount, err := test_dclauth.GetAccount(suite, jackKeyInfo.GetAddress()) + address, err = jackKeyInfo.GetAddress() + require.NoError(suite.T, err) + jackAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) // Register new Vendor account @@ -1675,13 +1695,17 @@ func DemoTrackComplianceWithHexVidAndPid(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := test_dclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) jackName := testconstants.JackAccount jackKeyInfo, err := suite.Kr.Key(jackName) require.NoError(suite.T, err) - jackAccount, err := test_dclauth.GetAccount(suite, jackKeyInfo.GetAddress()) + address, err = jackKeyInfo.GetAddress() + require.NoError(suite.T, err) + jackAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) // Register new Vendor account @@ -1786,13 +1810,17 @@ func DemoTrackRevocationWithHexVidAndPid(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := test_dclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) jackName := testconstants.JackAccount jackKeyInfo, err := suite.Kr.Key(jackName) require.NoError(suite.T, err) - jackAccount, err := test_dclauth.GetAccount(suite, jackKeyInfo.GetAddress()) + address, err = jackKeyInfo.GetAddress() + require.NoError(suite.T, err) + jackAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) // Register new Vendor account @@ -1921,13 +1949,17 @@ func DemoTrackProvisionByHexVidAndPid(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := test_dclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) jackName := testconstants.JackAccount jackKeyInfo, err := suite.Kr.Key(jackName) require.NoError(suite.T, err) - jackAccount, err := test_dclauth.GetAccount(suite, jackKeyInfo.GetAddress()) + address, err = jackKeyInfo.GetAddress() + require.NoError(suite.T, err) + jackAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) // Register new Vendor account diff --git a/integration_tests/grpc_rest/dclupgrade/helpers.go b/integration_tests/grpc_rest/dclupgrade/helpers.go index c94d7884a..bf35bce25 100644 --- a/integration_tests/grpc_rest/dclupgrade/helpers.go +++ b/integration_tests/grpc_rest/dclupgrade/helpers.go @@ -4,11 +4,11 @@ import ( "context" "fmt" + tmrand "github.com/cometbft/cometbft/libs/rand" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" "github.com/stretchr/testify/require" - tmrand "github.com/tendermint/tendermint/libs/rand" testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" test_dclauth "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/grpc_rest/dclauth" "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/utils" @@ -254,19 +254,25 @@ func Demo(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := test_dclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) bobName := testconstants.BobAccount bobKeyInfo, err := suite.Kr.Key(bobName) require.NoError(suite.T, err) - bobAccount, err := test_dclauth.GetAccount(suite, bobKeyInfo.GetAddress()) + address, err = bobKeyInfo.GetAddress() + require.NoError(suite.T, err) + bobAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) jackName := testconstants.JackAccount jackKeyInfo, err := suite.Kr.Key(jackName) require.NoError(suite.T, err) - jackAccount, err := test_dclauth.GetAccount(suite, jackKeyInfo.GetAddress()) + address, err = jackKeyInfo.GetAddress() + require.NoError(suite.T, err) + jackAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) // trustee proposes upgrade @@ -426,13 +432,17 @@ func ProposeUpgradeByNonTrustee(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := test_dclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) bobName := testconstants.BobAccount bobKeyInfo, err := suite.Kr.Key(bobName) require.NoError(suite.T, err) - bobAccount, err := test_dclauth.GetAccount(suite, bobKeyInfo.GetAddress()) + address, err = bobKeyInfo.GetAddress() + require.NoError(suite.T, err) + bobAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) // register new account without Trustee role @@ -466,13 +476,17 @@ func ApproveUpgradeByNonTrustee(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := test_dclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) bobName := testconstants.BobAccount bobKeyInfo, err := suite.Kr.Key(bobName) require.NoError(suite.T, err) - bobAccount, err := test_dclauth.GetAccount(suite, bobKeyInfo.GetAddress()) + address, err = bobKeyInfo.GetAddress() + require.NoError(suite.T, err) + bobAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) // propose upgrade @@ -511,13 +525,17 @@ func ProposeUpgradeTwice(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := test_dclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) bobName := testconstants.BobAccount - bobKyInfo, err := suite.Kr.Key(bobName) + bobKeyInfo, err := suite.Kr.Key(bobName) require.NoError(suite.T, err) - bobAccount, err := test_dclauth.GetAccount(suite, bobKyInfo.GetAddress()) + address, err = bobKeyInfo.GetAddress() + require.NoError(suite.T, err) + bobAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) planName, height, info := utils.RandString(), int64(100000), utils.RandString() @@ -544,7 +562,9 @@ func ProposeAndRejectUpgrade(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := test_dclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) planName, height, info := utils.RandString(), int64(100000), utils.RandString() diff --git a/integration_tests/grpc_rest/model/helpers.go b/integration_tests/grpc_rest/model/helpers.go index 9f53235ae..e973327f3 100644 --- a/integration_tests/grpc_rest/model/helpers.go +++ b/integration_tests/grpc_rest/model/helpers.go @@ -18,10 +18,10 @@ import ( "context" "fmt" + tmrand "github.com/cometbft/cometbft/libs/rand" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - tmrand "github.com/tendermint/tendermint/libs/rand" testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" testDclauth "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/grpc_rest/dclauth" "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/utils" @@ -369,13 +369,17 @@ func AddModelByVendorWithProductIds(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := testDclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) bobName := testconstants.BobAccount bobKeyInfo, err := suite.Kr.Key(bobName) require.NoError(suite.T, err) - bobAccount, err := testDclauth.GetAccount(suite, bobKeyInfo.GetAddress()) + address, err = bobKeyInfo.GetAddress() + require.NoError(suite.T, err) + bobAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) // register new account with Vendor role @@ -405,13 +409,17 @@ func UpdateByVendorWithProductIds(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := testDclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) bobName := testconstants.BobAccount bobKeyInfo, err := suite.Kr.Key(bobName) require.NoError(suite.T, err) - bobAccount, err := testDclauth.GetAccount(suite, bobKeyInfo.GetAddress()) + address, err = bobKeyInfo.GetAddress() + require.NoError(suite.T, err) + bobAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) // register new account with Vendor role @@ -448,13 +456,17 @@ func DeleteModelWithAssociatedModelVersions(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := testDclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) bobName := testconstants.BobAccount bobKeyInfo, err := suite.Kr.Key(bobName) require.NoError(suite.T, err) - bobAccount, err := testDclauth.GetAccount(suite, bobKeyInfo.GetAddress()) + address, err = bobKeyInfo.GetAddress() + require.NoError(suite.T, err) + bobAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) // Register new Vendor account @@ -513,13 +525,17 @@ func DeleteModelWithAssociatedModelVersionsCertified(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := testDclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) bobName := testconstants.BobAccount bobKeyInfo, err := suite.Kr.Key(bobName) require.NoError(suite.T, err) - bobAccount, err := testDclauth.GetAccount(suite, bobKeyInfo.GetAddress()) + address, err = bobKeyInfo.GetAddress() + require.NoError(suite.T, err) + bobAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) // Register new Vendor account @@ -600,13 +616,17 @@ func DeleteModelVersion(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := testDclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) bobName := testconstants.BobAccount bobKeyInfo, err := suite.Kr.Key(bobName) require.NoError(suite.T, err) - bobAccount, err := testDclauth.GetAccount(suite, bobKeyInfo.GetAddress()) + address, err = bobKeyInfo.GetAddress() + require.NoError(suite.T, err) + bobAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) // Register new Vendor account @@ -651,13 +671,17 @@ func DeleteModelVersionDifferentVid(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := testDclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) bobName := testconstants.BobAccount bobKeyInfo, err := suite.Kr.Key(bobName) require.NoError(suite.T, err) - bobAccount, err := testDclauth.GetAccount(suite, bobKeyInfo.GetAddress()) + address, err = bobKeyInfo.GetAddress() + require.NoError(suite.T, err) + bobAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) // Register new Vendor account @@ -721,13 +745,17 @@ func DeleteModelVersionDoesNotExist(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := testDclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) bobName := testconstants.BobAccount bobKeyInfo, err := suite.Kr.Key(bobName) require.NoError(suite.T, err) - bobAccount, err := testDclauth.GetAccount(suite, bobKeyInfo.GetAddress()) + address, err = bobKeyInfo.GetAddress() + require.NoError(suite.T, err) + bobAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) // Register new Vendor account @@ -758,13 +786,17 @@ func DeleteModelVersionNotByCreator(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := testDclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) bobName := testconstants.BobAccount bobKeyInfo, err := suite.Kr.Key(bobName) require.NoError(suite.T, err) - bobAccount, err := testDclauth.GetAccount(suite, bobKeyInfo.GetAddress()) + address, err = bobKeyInfo.GetAddress() + require.NoError(suite.T, err) + bobAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) // Register new Vendor account @@ -828,13 +860,17 @@ func DeleteModelVersionCertified(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := testDclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) bobName := testconstants.BobAccount bobKeyInfo, err := suite.Kr.Key(bobName) require.NoError(suite.T, err) - bobAccount, err := testDclauth.GetAccount(suite, bobKeyInfo.GetAddress()) + address, err = bobKeyInfo.GetAddress() + require.NoError(suite.T, err) + bobAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) // Register new Vendor account @@ -914,13 +950,17 @@ func Demo(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := testDclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) bobName := testconstants.BobAccount bobKeyInfo, err := suite.Kr.Key(bobName) require.NoError(suite.T, err) - bobAccount, err := testDclauth.GetAccount(suite, bobKeyInfo.GetAddress()) + address, err = bobKeyInfo.GetAddress() + require.NoError(suite.T, err) + bobAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) // Register new Vendor account @@ -1018,13 +1058,17 @@ func AddModelByNonVendor(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := testDclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) bobName := testconstants.BobAccount bobKeyInfo, err := suite.Kr.Key(bobName) require.NoError(suite.T, err) - bobAccount, err := testDclauth.GetAccount(suite, bobKeyInfo.GetAddress()) + address, err = bobKeyInfo.GetAddress() + require.NoError(suite.T, err) + bobAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) // register new account without Vendor role @@ -1058,13 +1102,17 @@ func AddModelByVendorWithNonAssociatedProductIds(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := testDclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) bobName := testconstants.BobAccount bobKeyInfo, err := suite.Kr.Key(bobName) require.NoError(suite.T, err) - bobAccount, err := testDclauth.GetAccount(suite, bobKeyInfo.GetAddress()) + address, err = bobKeyInfo.GetAddress() + require.NoError(suite.T, err) + bobAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) // register new account with Vendor role @@ -1096,13 +1144,17 @@ func UpdateModelByVendorWithNonAssociatedProductIds(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := testDclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) bobName := testconstants.BobAccount bobKeyInfo, err := suite.Kr.Key(bobName) require.NoError(suite.T, err) - bobAccount, err := testDclauth.GetAccount(suite, bobKeyInfo.GetAddress()) + address, err = bobKeyInfo.GetAddress() + require.NoError(suite.T, err) + bobAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) // register new account with Vendor role @@ -1149,13 +1201,17 @@ func DeleteModelByVendorWithNonAssociatedProductIds(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := testDclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) bobName := testconstants.BobAccount bobKeyInfo, err := suite.Kr.Key(bobName) require.NoError(suite.T, err) - bobAccount, err := testDclauth.GetAccount(suite, bobKeyInfo.GetAddress()) + address, err = bobKeyInfo.GetAddress() + require.NoError(suite.T, err) + bobAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) // register new account with Vendor role @@ -1202,13 +1258,17 @@ func AddModelByDifferentVendor(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := testDclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) bobName := testconstants.BobAccount bobKeyInfo, err := suite.Kr.Key(bobName) require.NoError(suite.T, err) - bobAccount, err := testDclauth.GetAccount(suite, bobKeyInfo.GetAddress()) + address, err = bobKeyInfo.GetAddress() + require.NoError(suite.T, err) + bobAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) // register new Vendor account @@ -1240,13 +1300,17 @@ func AddModelTwice(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := testDclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) bobName := testconstants.BobAccount bobKeyInfo, err := suite.Kr.Key(bobName) require.NoError(suite.T, err) - bobAccount, err := testDclauth.GetAccount(suite, bobKeyInfo.GetAddress()) + address, err = bobKeyInfo.GetAddress() + require.NoError(suite.T, err) + bobAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) // register new Vendor account @@ -1312,13 +1376,17 @@ func DemoWithHexVidAndPid(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := testDclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) bobName := testconstants.BobAccount bobKeyInfo, err := suite.Kr.Key(bobName) require.NoError(suite.T, err) - bobAccount, err := testDclauth.GetAccount(suite, bobKeyInfo.GetAddress()) + address, err = bobKeyInfo.GetAddress() + require.NoError(suite.T, err) + bobAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) // Register new Vendor account diff --git a/integration_tests/grpc_rest/pki/helpers.go b/integration_tests/grpc_rest/pki/helpers.go index fed97a57f..90d160be1 100644 --- a/integration_tests/grpc_rest/pki/helpers.go +++ b/integration_tests/grpc_rest/pki/helpers.go @@ -19,9 +19,9 @@ import ( "fmt" "net/url" + tmrand "github.com/cometbft/cometbft/libs/rand" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - tmrand "github.com/tendermint/tendermint/libs/rand" testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" test_dclauth "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/grpc_rest/dclauth" "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/utils" @@ -631,13 +631,17 @@ func Demo(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := test_dclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) jackName := testconstants.JackAccount jackKeyInfo, err := suite.Kr.Key(jackName) require.NoError(suite.T, err) - jackAccount, err := test_dclauth.GetAccount(suite, jackKeyInfo.GetAddress()) + address, err = jackKeyInfo.GetAddress() + require.NoError(suite.T, err) + jackAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) // Register new Vendor account diff --git a/integration_tests/grpc_rest/validator/helpers.go b/integration_tests/grpc_rest/validator/helpers.go index fff674b78..184c7c5de 100644 --- a/integration_tests/grpc_rest/validator/helpers.go +++ b/integration_tests/grpc_rest/validator/helpers.go @@ -4,10 +4,10 @@ import ( "context" "fmt" + tmrand "github.com/cometbft/cometbft/libs/rand" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - tmrand "github.com/tendermint/tendermint/libs/rand" testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" test_dclauth "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/grpc_rest/dclauth" "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/utils" @@ -275,19 +275,25 @@ func Demo(suite *utils.TestSuite) { jackName := testconstants.JackAccount jackKeyInfo, err := suite.Kr.Key(jackName) require.NoError(suite.T, err) - jackAccount, err := test_dclauth.GetAccount(suite, jackKeyInfo.GetAddress()) + address, err := jackKeyInfo.GetAddress() + require.NoError(suite.T, err) + jackAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := test_dclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err = aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) bobName := testconstants.BobAccount bobKeyInfo, err := suite.Kr.Key(bobName) require.NoError(suite.T, err) - bobAccount, err := test_dclauth.GetAccount(suite, bobKeyInfo.GetAddress()) + address, err = bobKeyInfo.GetAddress() + require.NoError(suite.T, err) + bobAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) // Register new Vendor account diff --git a/integration_tests/grpc_rest/vendorinfo/helpers.go b/integration_tests/grpc_rest/vendorinfo/helpers.go index 753de4a10..ad6ee42f5 100644 --- a/integration_tests/grpc_rest/vendorinfo/helpers.go +++ b/integration_tests/grpc_rest/vendorinfo/helpers.go @@ -4,10 +4,10 @@ import ( "context" "fmt" + tmrand "github.com/cometbft/cometbft/libs/rand" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - tmrand "github.com/tendermint/tendermint/libs/rand" testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" test_dclauth "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/grpc_rest/dclauth" "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/utils" @@ -130,13 +130,17 @@ func Demo(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := test_dclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) bobName := testconstants.BobAccount bobKeyInfo, err := suite.Kr.Key(bobName) require.NoError(suite.T, err) - bobAccount, err := test_dclauth.GetAccount(suite, bobKeyInfo.GetAddress()) + address, err = bobKeyInfo.GetAddress() + require.NoError(suite.T, err) + bobAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) // Register new Vendor account @@ -182,13 +186,17 @@ func AddVendorInfoByNonVendor(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := test_dclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) bobName := testconstants.BobAccount bobKeyInfo, err := suite.Kr.Key(bobName) require.NoError(suite.T, err) - bobAccount, err := test_dclauth.GetAccount(suite, bobKeyInfo.GetAddress()) + address, err = bobKeyInfo.GetAddress() + require.NoError(suite.T, err) + bobAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) // register new account without Vendor role @@ -221,13 +229,17 @@ func AddVendorInfoByDifferentVendor(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := test_dclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) bobName := testconstants.BobAccount bobKeyInfo, err := suite.Kr.Key(bobName) require.NoError(suite.T, err) - bobAccount, err := test_dclauth.GetAccount(suite, bobKeyInfo.GetAddress()) + address, err = bobKeyInfo.GetAddress() + require.NoError(suite.T, err) + bobAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) // register new Vendor account @@ -258,13 +270,17 @@ func AddVendorInfoByNonVendorAdmin(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := test_dclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) bobName := testconstants.BobAccount bobKeyInfo, err := suite.Kr.Key(bobName) require.NoError(suite.T, err) - bobAccount, err := test_dclauth.GetAccount(suite, bobKeyInfo.GetAddress()) + address, err = bobKeyInfo.GetAddress() + require.NoError(suite.T, err) + bobAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) // register new account without VendorAdmin role @@ -297,13 +313,17 @@ func AddVendorInfoByVendorAdmin(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := test_dclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) bobName := testconstants.BobAccount bobKeyInfo, err := suite.Kr.Key(bobName) require.NoError(suite.T, err) - bobAccount, err := test_dclauth.GetAccount(suite, bobKeyInfo.GetAddress()) + address, err = bobKeyInfo.GetAddress() + require.NoError(suite.T, err) + bobAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) // register new account without VendorAdmin role @@ -335,13 +355,17 @@ func UpdateVendorInfoByVendorAdmin(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := test_dclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) bobName := testconstants.BobAccount bobKeyInfo, err := suite.Kr.Key(bobName) require.NoError(suite.T, err) - bobAccount, err := test_dclauth.GetAccount(suite, bobKeyInfo.GetAddress()) + address, err = bobKeyInfo.GetAddress() + require.NoError(suite.T, err) + bobAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) // register new account without VendorAdmin role @@ -385,13 +409,17 @@ func AddVendorInfoTwice(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := test_dclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) bobName := testconstants.BobAccount bobKeyInfo, err := suite.Kr.Key(bobName) require.NoError(suite.T, err) - bobAccount, err := test_dclauth.GetAccount(suite, bobKeyInfo.GetAddress()) + address, err = bobKeyInfo.GetAddress() + require.NoError(suite.T, err) + bobAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) // register new Vendor account @@ -441,13 +469,17 @@ func DemoWithHexVid(suite *utils.TestSuite) { aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := test_dclauth.GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err := aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) bobName := testconstants.BobAccount bobKeyInfo, err := suite.Kr.Key(bobName) require.NoError(suite.T, err) - bobAccount, err := test_dclauth.GetAccount(suite, bobKeyInfo.GetAddress()) + address, err = bobKeyInfo.GetAddress() + require.NoError(suite.T, err) + bobAccount, err := test_dclauth.GetAccount(suite, address) require.NoError(suite.T, err) // Register new Vendor account diff --git a/integration_tests/utils/grpc_rest.go b/integration_tests/utils/grpc_rest.go index 0e9d98cd3..2006d545c 100644 --- a/integration_tests/utils/grpc_rest.go +++ b/integration_tests/utils/grpc_rest.go @@ -18,14 +18,13 @@ import ( "bufio" "context" "errors" + "github.com/zigbee-alliance/distributed-compliance-ledger/app" "os" "path/filepath" "testing" clienttx "github.com/cosmos/cosmos-sdk/client/tx" "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/cosmos/cosmos-sdk/simapp" - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/cosmos/cosmos-sdk/types/tx" @@ -33,6 +32,7 @@ import ( //nolint:staticcheck "github.com/golang/protobuf/proto" "github.com/stretchr/testify/require" + appparams "github.com/zigbee-alliance/distributed-compliance-ledger/app/params" dclauthtypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" "google.golang.org/grpc" ) @@ -44,7 +44,7 @@ import ( type TestSuite struct { T *testing.T - EncodingConfig simappparams.EncodingConfig + EncodingConfig appparams.EncodingConfig ChainID string Kr keyring.Keyring Txf clienttx.Factory @@ -71,10 +71,10 @@ func SetupTest(t *testing.T, chainID string, rest bool) (suite TestSuite) { require.NoError(t, err) homeDir := filepath.Join(userHomeDir, ".dcl") + encConfig := app.MakeEncodingConfig() - kr, _ := keyring.New(sdk.KeyringServiceName(), keyring.BackendTest, homeDir, inBuf) + kr, _ := keyring.New(sdk.KeyringServiceName(), keyring.BackendTest, homeDir, inBuf, encConfig.Codec) - encConfig := simapp.MakeTestEncodingConfig() dclauthtypes.RegisterInterfaces(encConfig.InterfaceRegistry) txCfg := encConfig.TxConfig @@ -98,7 +98,9 @@ func (suite *TestSuite) GetAddress(uid string) sdk.AccAddress { signerInfo, err := suite.Kr.Key(uid) require.NoError(suite.T, err) - return signerInfo.GetAddress() + address, _ := signerInfo.GetAddress() + + return address } // Generates Protobuf-encoded bytes. @@ -134,21 +136,21 @@ func (suite *TestSuite) BroadcastTx(txBytes []byte) (*sdk.TxResponse, error) { var err error body := tx.BroadcastTxRequest{ - Mode: tx.BroadcastMode_BROADCAST_MODE_BLOCK, + Mode: tx.BroadcastMode_BROADCAST_MODE_SYNC, TxBytes: txBytes, } if suite.Rest { var _resp tx.BroadcastTxResponse - bodyBytes, err := suite.EncodingConfig.Marshaler.MarshalJSON(&body) + bodyBytes, err := suite.EncodingConfig.Codec.MarshalJSON(&body) require.NoError(suite.T, err) respBytes, err := SendPostRequest("/cosmos/tx/v1beta1/txs", bodyBytes, "", "") if err != nil { return nil, err } - require.NoError(suite.T, suite.EncodingConfig.Marshaler.UnmarshalJSON(respBytes, &_resp)) + require.NoError(suite.T, suite.EncodingConfig.Codec.UnmarshalJSON(respBytes, &_resp)) broadcastResp = &_resp } else { grpcConn := suite.GetGRPCConn() @@ -188,7 +190,7 @@ func (suite *TestSuite) QueryREST(uri string, resp proto.Message) error { return err } - require.NoError(suite.T, suite.EncodingConfig.Marshaler.UnmarshalJSON(respBytes, resp)) + require.NoError(suite.T, suite.EncodingConfig.Codec.UnmarshalJSON(respBytes, resp)) return nil } diff --git a/testutil/keeper/compliance.go b/testutil/keeper/compliance.go index 47927f746..22036a5d3 100644 --- a/testutil/keeper/compliance.go +++ b/testutil/keeper/compliance.go @@ -3,15 +3,15 @@ package keeper import ( "testing" + tmdb "github.com/cometbft/cometbft-db" + "github.com/cometbft/cometbft/libs/log" + tmproto "github.com/cometbft/cometbft/proto/tendermint/types" "github.com/cosmos/cosmos-sdk/codec" codectypes "github.com/cosmos/cosmos-sdk/codec/types" "github.com/cosmos/cosmos-sdk/store" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - "github.com/tendermint/tendermint/libs/log" - tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - tmdb "github.com/tendermint/tm-db" "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" ) @@ -27,8 +27,8 @@ func ComplianceKeeper( db := tmdb.NewMemDB() stateStore := store.NewCommitMultiStore(db) - stateStore.MountStoreWithDB(storeKey, sdk.StoreTypeIAVL, db) - stateStore.MountStoreWithDB(memStoreKey, sdk.StoreTypeMemory, nil) + stateStore.MountStoreWithDB(storeKey, storetypes.StoreTypeIAVL, db) + stateStore.MountStoreWithDB(memStoreKey, storetypes.StoreTypeMemory, nil) require.NoError(tb, stateStore.LoadLatestVersion()) registry := codectypes.NewInterfaceRegistry() diff --git a/testutil/keeper/dclauth.go b/testutil/keeper/dclauth.go index 073c3f58f..511dc2c95 100644 --- a/testutil/keeper/dclauth.go +++ b/testutil/keeper/dclauth.go @@ -3,6 +3,9 @@ package keeper import ( "testing" + tmdb "github.com/cometbft/cometbft-db" + "github.com/cometbft/cometbft/libs/log" + tmproto "github.com/cometbft/cometbft/proto/tendermint/types" "github.com/cosmos/cosmos-sdk/codec" codectypes "github.com/cosmos/cosmos-sdk/codec/types" cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" @@ -10,9 +13,6 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - "github.com/tendermint/tendermint/libs/log" - tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - tmdb "github.com/tendermint/tm-db" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" ) @@ -24,8 +24,8 @@ func DclauthKeeper(tb testing.TB) (*keeper.Keeper, sdk.Context) { db := tmdb.NewMemDB() stateStore := store.NewCommitMultiStore(db) - stateStore.MountStoreWithDB(storeKey, sdk.StoreTypeIAVL, db) - stateStore.MountStoreWithDB(memStoreKey, sdk.StoreTypeMemory, nil) + stateStore.MountStoreWithDB(storeKey, storetypes.StoreTypeIAVL, db) + stateStore.MountStoreWithDB(memStoreKey, storetypes.StoreTypeMemory, nil) require.NoError(tb, stateStore.LoadLatestVersion()) registry := codectypes.NewInterfaceRegistry() diff --git a/testutil/keeper/dclupgrade.go b/testutil/keeper/dclupgrade.go index b6de6d012..6c1cc6cc4 100644 --- a/testutil/keeper/dclupgrade.go +++ b/testutil/keeper/dclupgrade.go @@ -3,15 +3,15 @@ package keeper import ( "testing" + tmdb "github.com/cometbft/cometbft-db" + "github.com/cometbft/cometbft/libs/log" + tmproto "github.com/cometbft/cometbft/proto/tendermint/types" "github.com/cosmos/cosmos-sdk/codec" codectypes "github.com/cosmos/cosmos-sdk/codec/types" "github.com/cosmos/cosmos-sdk/store" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - "github.com/tendermint/tendermint/libs/log" - tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - tmdb "github.com/tendermint/tm-db" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclupgrade/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclupgrade/types" ) @@ -23,8 +23,8 @@ func DclupgradeKeeper(tb testing.TB, dclAuthKeeper types.DclauthKeeper, upgradeK db := tmdb.NewMemDB() stateStore := store.NewCommitMultiStore(db) - stateStore.MountStoreWithDB(storeKey, sdk.StoreTypeIAVL, db) - stateStore.MountStoreWithDB(memStoreKey, sdk.StoreTypeMemory, nil) + stateStore.MountStoreWithDB(storeKey, storetypes.StoreTypeIAVL, db) + stateStore.MountStoreWithDB(memStoreKey, storetypes.StoreTypeMemory, nil) require.NoError(tb, stateStore.LoadLatestVersion()) registry := codectypes.NewInterfaceRegistry() diff --git a/testutil/keeper/model.go b/testutil/keeper/model.go index 12672854b..6894f2621 100644 --- a/testutil/keeper/model.go +++ b/testutil/keeper/model.go @@ -3,15 +3,15 @@ package keeper import ( "testing" + tmdb "github.com/cometbft/cometbft-db" + "github.com/cometbft/cometbft/libs/log" + tmproto "github.com/cometbft/cometbft/proto/tendermint/types" "github.com/cosmos/cosmos-sdk/codec" codectypes "github.com/cosmos/cosmos-sdk/codec/types" "github.com/cosmos/cosmos-sdk/store" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - "github.com/tendermint/tendermint/libs/log" - tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - tmdb "github.com/tendermint/tm-db" "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/types" ) @@ -23,8 +23,8 @@ func ModelKeeper(tb testing.TB, dclauthKeeper types.DclauthKeeper, complianceKee db := tmdb.NewMemDB() stateStore := store.NewCommitMultiStore(db) - stateStore.MountStoreWithDB(storeKey, sdk.StoreTypeIAVL, db) - stateStore.MountStoreWithDB(memStoreKey, sdk.StoreTypeMemory, nil) + stateStore.MountStoreWithDB(storeKey, storetypes.StoreTypeIAVL, db) + stateStore.MountStoreWithDB(memStoreKey, storetypes.StoreTypeMemory, nil) require.NoError(tb, stateStore.LoadLatestVersion()) registry := codectypes.NewInterfaceRegistry() diff --git a/testutil/keeper/pki.go b/testutil/keeper/pki.go index 61a58b9c4..858069507 100644 --- a/testutil/keeper/pki.go +++ b/testutil/keeper/pki.go @@ -3,15 +3,15 @@ package keeper import ( "testing" + tmdb "github.com/cometbft/cometbft-db" + "github.com/cometbft/cometbft/libs/log" + tmproto "github.com/cometbft/cometbft/proto/tendermint/types" "github.com/cosmos/cosmos-sdk/codec" codectypes "github.com/cosmos/cosmos-sdk/codec/types" "github.com/cosmos/cosmos-sdk/store" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - "github.com/tendermint/tendermint/libs/log" - tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - tmdb "github.com/tendermint/tm-db" pkitypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/pki" "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types" @@ -24,8 +24,8 @@ func PkiKeeper(tb testing.TB, dclauthKeeper types.DclauthKeeper) (*keeper.Keeper db := tmdb.NewMemDB() stateStore := store.NewCommitMultiStore(db) - stateStore.MountStoreWithDB(storeKey, sdk.StoreTypeIAVL, db) - stateStore.MountStoreWithDB(memStoreKey, sdk.StoreTypeMemory, nil) + stateStore.MountStoreWithDB(storeKey, storetypes.StoreTypeIAVL, db) + stateStore.MountStoreWithDB(memStoreKey, storetypes.StoreTypeMemory, nil) require.NoError(tb, stateStore.LoadLatestVersion()) registry := codectypes.NewInterfaceRegistry() diff --git a/testutil/keeper/validator.go b/testutil/keeper/validator.go index a43b9e236..ec40469c3 100644 --- a/testutil/keeper/validator.go +++ b/testutil/keeper/validator.go @@ -3,6 +3,9 @@ package keeper import ( "testing" + tmdb "github.com/cometbft/cometbft-db" + "github.com/cometbft/cometbft/libs/log" + tmproto "github.com/cometbft/cometbft/proto/tendermint/types" "github.com/cosmos/cosmos-sdk/codec" codectypes "github.com/cosmos/cosmos-sdk/codec/types" cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" @@ -10,9 +13,6 @@ import ( storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - "github.com/tendermint/tendermint/libs/log" - tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - tmdb "github.com/tendermint/tm-db" testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" dclauthkeeper "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/keeper" @@ -26,13 +26,13 @@ func ValidatorKeeper(tb testing.TB, dclauthK *dclauthkeeper.Keeper) (*keeper.Kee db := tmdb.NewMemDB() stateStore := store.NewCommitMultiStore(db) - stateStore.MountStoreWithDB(storeKey, sdk.StoreTypeIAVL, db) - stateStore.MountStoreWithDB(memStoreKey, sdk.StoreTypeMemory, nil) + stateStore.MountStoreWithDB(storeKey, storetypes.StoreTypeIAVL, db) + stateStore.MountStoreWithDB(memStoreKey, storetypes.StoreTypeMemory, nil) // TODO issue 99: might be not the best solution if dclauthK != nil { - stateStore.MountStoreWithDB(dclauthK.StoreKey(), sdk.StoreTypeIAVL, db) - stateStore.MountStoreWithDB(dclauthK.MemKey(), sdk.StoreTypeMemory, nil) + stateStore.MountStoreWithDB(dclauthK.StoreKey(), storetypes.StoreTypeIAVL, db) + stateStore.MountStoreWithDB(dclauthK.MemKey(), storetypes.StoreTypeMemory, nil) } require.NoError(tb, stateStore.LoadLatestVersion()) diff --git a/testutil/keeper/vendorinfo.go b/testutil/keeper/vendorinfo.go index 5cf253db3..6b163a6f9 100644 --- a/testutil/keeper/vendorinfo.go +++ b/testutil/keeper/vendorinfo.go @@ -3,15 +3,15 @@ package keeper import ( "testing" + tmdb "github.com/cometbft/cometbft-db" + "github.com/cometbft/cometbft/libs/log" + tmproto "github.com/cometbft/cometbft/proto/tendermint/types" "github.com/cosmos/cosmos-sdk/codec" codectypes "github.com/cosmos/cosmos-sdk/codec/types" "github.com/cosmos/cosmos-sdk/store" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" - "github.com/tendermint/tendermint/libs/log" - tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - tmdb "github.com/tendermint/tm-db" "github.com/zigbee-alliance/distributed-compliance-ledger/x/vendorinfo/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/x/vendorinfo/types" ) @@ -23,8 +23,8 @@ func VendorinfoKeeper(tb testing.TB, dclauthKeeper types.DclauthKeeper) (*keeper db := tmdb.NewMemDB() stateStore := store.NewCommitMultiStore(db) - stateStore.MountStoreWithDB(storeKey, sdk.StoreTypeIAVL, db) - stateStore.MountStoreWithDB(memStoreKey, sdk.StoreTypeMemory, nil) + stateStore.MountStoreWithDB(storeKey, storetypes.StoreTypeIAVL, db) + stateStore.MountStoreWithDB(memStoreKey, storetypes.StoreTypeMemory, nil) require.NoError(tb, stateStore.LoadLatestVersion()) registry := codectypes.NewInterfaceRegistry() diff --git a/testutil/network/network.go b/testutil/network/network.go index a742ce254..dfccdafd5 100644 --- a/testutil/network/network.go +++ b/testutil/network/network.go @@ -6,6 +6,7 @@ import ( "encoding/json" "errors" "fmt" + "io/ioutil" "net" "net/http" @@ -16,6 +17,15 @@ import ( "testing" "time" + "github.com/stretchr/testify/require" + "google.golang.org/grpc" + + "cosmossdk.io/math" + tmdb "github.com/cometbft/cometbft-db" + "github.com/cometbft/cometbft/libs/log" + tmrand "github.com/cometbft/cometbft/libs/rand" + "github.com/cometbft/cometbft/node" + tmclient "github.com/cometbft/cometbft/rpc/client" "github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/tx" @@ -28,26 +38,24 @@ import ( "github.com/cosmos/cosmos-sdk/server/api" srvconfig "github.com/cosmos/cosmos-sdk/server/config" servertypes "github.com/cosmos/cosmos-sdk/server/types" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/simapp/params" - storetypes "github.com/cosmos/cosmos-sdk/store/types" + pruningtypes "github.com/cosmos/cosmos-sdk/store/pruning/types" + "github.com/cosmos/cosmos-sdk/testutil" + "github.com/cosmos/cosmos-sdk/testutil/network" + simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims" sdk "github.com/cosmos/cosmos-sdk/types" + _ "github.com/cosmos/cosmos-sdk/x/auth" + _ "github.com/cosmos/cosmos-sdk/x/auth/tx/config" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/stretchr/testify/require" - "github.com/tendermint/spm/cosmoscmd" - tmcfg "github.com/tendermint/tendermint/config" - tmflags "github.com/tendermint/tendermint/libs/cli/flags" - "github.com/tendermint/tendermint/libs/log" - tmrand "github.com/tendermint/tendermint/libs/rand" - "github.com/tendermint/tendermint/node" - tmclient "github.com/tendermint/tendermint/rpc/client" - tmdb "github.com/tendermint/tm-db" + _ "github.com/cosmos/cosmos-sdk/x/bank" + _ "github.com/cosmos/cosmos-sdk/x/consensus" + _ "github.com/cosmos/cosmos-sdk/x/params" + _ "github.com/cosmos/cosmos-sdk/x/staking" + "github.com/zigbee-alliance/distributed-compliance-ledger/app" testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" dclauthtypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclgenutil" validatortypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/types" - "google.golang.org/grpc" ) // New creates instance with fully configured cosmos network. @@ -72,33 +80,42 @@ func New(t *testing.T, configs ...Config) *Network { // DefaultConfig will initialize config for the network with custom application, // genesis and single validator. All other parameters are inherited from cosmos-sdk/testutil/network.DefaultConfig. func DefaultConfig() Config { - encoding := cosmoscmd.MakeEncodingConfig(app.ModuleBasics) + var ( + encoding = app.MakeEncodingConfig() + chainID = "chain-" + tmrand.NewRand().Str(6) + ) return Config{ - Codec: encoding.Marshaler, + Codec: encoding.Codec, TxConfig: encoding.TxConfig, LegacyAmino: encoding.Amino, InterfaceRegistry: encoding.InterfaceRegistry, AccountRetriever: dclauthtypes.AccountRetriever{}, - AppConstructor: func(val Validator) servertypes.Application { + AppConstructor: func(val network.ValidatorI) servertypes.Application { return app.New( - val.Ctx.Logger, tmdb.NewMemDB(), nil, true, map[int64]bool{}, val.Ctx.Config.RootDir, 0, + val.GetCtx().Logger, + tmdb.NewMemDB(), + nil, + true, map[int64]bool{}, + val.GetCtx().Config.RootDir, + 0, encoding, - simapp.EmptyAppOptions{}, - baseapp.SetPruning(storetypes.NewPruningOptionsFromString(val.AppConfig.Pruning)), - baseapp.SetMinGasPrices(val.AppConfig.MinGasPrices), + simtestutil.EmptyAppOptions{}, + baseapp.SetPruning(pruningtypes.NewPruningOptionsFromString(val.GetAppConfig().Pruning)), + baseapp.SetMinGasPrices(val.GetAppConfig().MinGasPrices), + baseapp.SetChainID(chainID), ) }, - GenesisState: app.ModuleBasics.DefaultGenesis(encoding.Marshaler), + GenesisState: app.ModuleBasics.DefaultGenesis(encoding.Codec), TimeoutCommit: 2 * time.Second, - ChainID: "chain-" + tmrand.NewRand().Str(6), + ChainID: chainID, NumValidators: 1, BondDenom: sdk.DefaultBondDenom, MinGasPrices: fmt.Sprintf("0.000006%s", sdk.DefaultBondDenom), AccountTokens: sdk.TokensFromConsensusPower(1000, sdk.DefaultPowerReduction), StakingTokens: sdk.TokensFromConsensusPower(500, sdk.DefaultPowerReduction), BondedTokens: sdk.TokensFromConsensusPower(100, sdk.DefaultPowerReduction), - PruningStrategy: storetypes.PruningOptionNothing, + PruningStrategy: pruningtypes.PruningOptionNothing, CleanupDir: true, SigningAlgo: string(hd.Secp256k1Type), KeyringOptions: []keyring.Option{}, @@ -116,20 +133,7 @@ var lock = new(sync.Mutex) // AppConstructor defines a function which accepts a network configuration and // creates an ABCI Application to provide to Tendermint. -type AppConstructor = func(val Validator) servertypes.Application - -// NewAppConstructor returns a new simapp AppConstructor. -func NewAppConstructor(encodingCfg params.EncodingConfig) AppConstructor { - return func(val Validator) servertypes.Application { - return simapp.NewSimApp( - val.Ctx.Logger, tmdb.NewMemDB(), nil, true, make(map[int64]bool), val.Ctx.Config.RootDir, 0, - encodingCfg, - simapp.EmptyAppOptions{}, - baseapp.SetPruning(storetypes.NewPruningOptionsFromString(val.AppConfig.Pruning)), - baseapp.SetMinGasPrices(val.AppConfig.MinGasPrices), - ) - } -} +type AppConstructor = func(val network.ValidatorI) servertypes.Application // Config defines the necessary configuration used to bootstrap and start an // in-process local testing network. @@ -145,11 +149,12 @@ type Config struct { TimeoutCommit time.Duration // the consensus commitment timeout ChainID string // the network chain-id NumValidators int // the total number of validators to create and bond + Mnemonics []string // custom user-provided validator operator mnemonics BondDenom string // the staking bond denomination MinGasPrices string // the minimum gas prices each validator will accept - AccountTokens sdk.Int // the amount of unique validator tokens (e.g. 1000node0) - StakingTokens sdk.Int // the amount of tokens each validator has available to stake - BondedTokens sdk.Int // the amount of tokens each validator stakes + AccountTokens math.Int // the amount of unique validator tokens (e.g. 1000node0) + StakingTokens math.Int // the amount of tokens each validator has available to stake + BondedTokens math.Int // the amount of tokens each validator stakes PruningStrategy string // the pruning strategy each validator will have EnableLogging bool // enable Tendermint logging to STDOUT CleanupDir bool // remove base temporary directory during cleanup @@ -201,6 +206,14 @@ type ( } ) +func (v Validator) GetCtx() *server.Context { + return v.Ctx +} + +func (v Validator) GetAppConfig() *srvconfig.Config { + return v.AppConfig +} + // New creates a new Network for integration tests. func newNetwork(t *testing.T, cfg Config) *Network { t.Helper() @@ -278,7 +291,6 @@ func newNetwork(t *testing.T, cfg Config) *Network { logger := log.NewNopLogger() if cfg.EnableLogging { logger = log.NewTMLogger(log.NewSyncWriter(os.Stdout)) - logger, _ = tmflags.ParseLogLevel("info", logger, tmcfg.DefaultLogLevel) } ctx.Logger = logger @@ -310,14 +322,19 @@ func newNetwork(t *testing.T, cfg Config) *Network { nodeIDs[i] = nodeID valPubKeys[i] = pubKey - kb, err := keyring.New(sdk.KeyringServiceName(), keyring.BackendTest, clientDir, buf, cfg.KeyringOptions...) + kb, err := keyring.New(sdk.KeyringServiceName(), keyring.BackendTest, clientDir, buf, cfg.Codec, cfg.KeyringOptions...) require.NoError(t, err) keyringAlgos, _ := kb.SupportedAlgorithms() algo, err := keyring.NewSigningAlgoFromString(cfg.SigningAlgo, keyringAlgos) require.NoError(t, err) - addr, secret, err := server.GenerateSaveCoinKey(kb, nodeDirName, true, algo) + var mnemonic string + if i < len(cfg.Mnemonics) { + mnemonic = cfg.Mnemonics[i] + } + + addr, secret, err := testutil.GenerateSaveCoinKey(kb, nodeDirName, mnemonic, true, algo) require.NoError(t, err) info := map[string]string{"secret": secret} diff --git a/testutil/network/util.go b/testutil/network/util.go index 60922c536..d58fe5899 100644 --- a/testutil/network/util.go +++ b/testutil/network/util.go @@ -5,14 +5,14 @@ import ( "path/filepath" "time" - tmos "github.com/tendermint/tendermint/libs/os" - "github.com/tendermint/tendermint/node" - "github.com/tendermint/tendermint/p2p" - pvm "github.com/tendermint/tendermint/privval" - "github.com/tendermint/tendermint/proxy" - "github.com/tendermint/tendermint/rpc/client/local" - "github.com/tendermint/tendermint/types" - tmtime "github.com/tendermint/tendermint/types/time" + tmos "github.com/cometbft/cometbft/libs/os" + "github.com/cometbft/cometbft/node" + "github.com/cometbft/cometbft/p2p" + pvm "github.com/cometbft/cometbft/privval" + "github.com/cometbft/cometbft/proxy" + "github.com/cometbft/cometbft/rpc/client/local" + "github.com/cometbft/cometbft/types" + tmtime "github.com/cometbft/cometbft/types/time" "github.com/cosmos/cosmos-sdk/server/api" servergrpc "github.com/cosmos/cosmos-sdk/server/grpc" @@ -102,7 +102,7 @@ func startInProcess(cfg Config, val *Validator) error { } if val.AppConfig.GRPC.Enable { - grpcSrv, err := servergrpc.StartGRPCServer(val.ClientCtx, app, val.AppConfig.GRPC.Address) + grpcSrv, err := servergrpc.StartGRPCServer(val.ClientCtx, app, val.AppConfig.GRPC) if err != nil { return err } diff --git a/testutil/simapp/simapp.go b/testutil/simapp/simapp.go deleted file mode 100644 index 229268a0d..000000000 --- a/testutil/simapp/simapp.go +++ /dev/null @@ -1,49 +0,0 @@ -package simapp - -import ( - "time" - - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/tendermint/spm/cosmoscmd" - abci "github.com/tendermint/tendermint/abci/types" - "github.com/tendermint/tendermint/libs/log" - tmproto "github.com/tendermint/tendermint/proto/tendermint/types" - tmtypes "github.com/tendermint/tendermint/types" - tmdb "github.com/tendermint/tm-db" - "github.com/zigbee-alliance/distributed-compliance-ledger/app" -) - -// New creates application instance with in-memory database and disabled logging. -func New(dir string) cosmoscmd.App { - db := tmdb.NewMemDB() - logger := log.NewNopLogger() - - encoding := cosmoscmd.MakeEncodingConfig(app.ModuleBasics) - - a := app.New(logger, db, nil, true, map[int64]bool{}, dir, 0, encoding, - simapp.EmptyAppOptions{}) - // InitChain updates deliverState which is required when app.NewContext is called - a.InitChain(abci.RequestInitChain{ - ConsensusParams: defaultConsensusParams, - AppStateBytes: []byte("{}"), - }) - - return a -} - -var defaultConsensusParams = &abci.ConsensusParams{ - Block: &abci.BlockParams{ - MaxBytes: 200000, - MaxGas: 2000000, - }, - Evidence: &tmproto.EvidenceParams{ - MaxAgeNumBlocks: 302400, - MaxAgeDuration: 504 * time.Hour, // 3 weeks is the max duration - MaxBytes: 10000, - }, - Validator: &tmproto.ValidatorParams{ - PubKeyTypes: []string{ - tmtypes.ABCIPubKeyTypeEd25519, - }, - }, -} diff --git a/third_party/proto/gogoproto/gogo.proto b/third_party/proto/gogoproto/gogo.proto index 49e78f99f..974b36a7c 100644 --- a/third_party/proto/gogoproto/gogo.proto +++ b/third_party/proto/gogoproto/gogo.proto @@ -1,7 +1,7 @@ // Protocol Buffers for Go with Gadgets // // Copyright (c) 2013, The GoGo Authors. All rights reserved. -// http://github.com/gogo/protobuf +// http://github.com/cosmos/gogoproto // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are @@ -33,7 +33,7 @@ import "google/protobuf/descriptor.proto"; option java_package = "com.google.protobuf"; option java_outer_classname = "GoGoProtos"; -option go_package = "github.com/gogo/protobuf/gogoproto"; +option go_package = "github.com/cosmos/gogoproto/gogoproto"; extend google.protobuf.EnumOptions { optional bool goproto_enum_prefix = 62001; diff --git a/third_party/proto/tendermint/abci/types.proto b/third_party/proto/tendermint/abci/types.proto index 2cbcabb29..d9846cdc2 100644 --- a/third_party/proto/tendermint/abci/types.proto +++ b/third_party/proto/tendermint/abci/types.proto @@ -1,10 +1,10 @@ syntax = "proto3"; package tendermint.abci; -option go_package = "github.com/tendermint/tendermint/abci/types"; +option go_package = "github.com/cometbft/cometbft/abci/types"; // For more information on gogo.proto, see: -// https://github.com/gogo/protobuf/blob/master/extensions.md +// https://github.com/cosmos/gogoproto/blob/master/extensions.md import "tendermint/crypto/proof.proto"; import "tendermint/types/types.proto"; import "tendermint/crypto/keys.proto"; @@ -14,7 +14,7 @@ import "gogoproto/gogo.proto"; // This file is copied from http://github.com/tendermint/abci // NOTE: When using custom types, mind the warnings. -// https://github.com/gogo/protobuf/blob/master/custom_types.md#warnings-and-issues +// https://github.com/cosmos/gogoproto/blob/master/custom_types.md#warnings-and-issues //---------------------------------------- // Request types @@ -370,7 +370,7 @@ message Evidence { ]; // Total voting power of the validator set in case the ABCI application does // not store historical validators. - // https://github.com/tendermint/tendermint/issues/4581 + // https://github.com/cometbft/cometbft/issues/4581 int64 total_voting_power = 5; } diff --git a/third_party/proto/tendermint/crypto/keys.proto b/third_party/proto/tendermint/crypto/keys.proto index 16fd7adf3..a5d3ce85d 100644 --- a/third_party/proto/tendermint/crypto/keys.proto +++ b/third_party/proto/tendermint/crypto/keys.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package tendermint.crypto; -option go_package = "github.com/tendermint/tendermint/proto/tendermint/crypto"; +option go_package = "github.com/cometbft/cometbft/proto/tendermint/crypto"; import "gogoproto/gogo.proto"; diff --git a/third_party/proto/tendermint/crypto/proof.proto b/third_party/proto/tendermint/crypto/proof.proto index 975df7685..ae72195e8 100644 --- a/third_party/proto/tendermint/crypto/proof.proto +++ b/third_party/proto/tendermint/crypto/proof.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package tendermint.crypto; -option go_package = "github.com/tendermint/tendermint/proto/tendermint/crypto"; +option go_package = "github.com/cometbft/cometbft/proto/tendermint/crypto"; import "gogoproto/gogo.proto"; diff --git a/third_party/proto/tendermint/libs/bits/types.proto b/third_party/proto/tendermint/libs/bits/types.proto index 3111d113a..e6afc5e8e 100644 --- a/third_party/proto/tendermint/libs/bits/types.proto +++ b/third_party/proto/tendermint/libs/bits/types.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package tendermint.libs.bits; -option go_package = "github.com/tendermint/tendermint/proto/tendermint/libs/bits"; +option go_package = "github.com/cometbft/cometbft/proto/tendermint/libs/bits"; message BitArray { int64 bits = 1; diff --git a/third_party/proto/tendermint/p2p/types.proto b/third_party/proto/tendermint/p2p/types.proto index 0d42ea400..157d8ba1c 100644 --- a/third_party/proto/tendermint/p2p/types.proto +++ b/third_party/proto/tendermint/p2p/types.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package tendermint.p2p; -option go_package = "github.com/tendermint/tendermint/proto/tendermint/p2p"; +option go_package = "github.com/cometbft/cometbft/proto/tendermint/p2p"; import "gogoproto/gogo.proto"; diff --git a/third_party/proto/tendermint/types/block.proto b/third_party/proto/tendermint/types/block.proto index 84e9bb15d..d531c06a0 100644 --- a/third_party/proto/tendermint/types/block.proto +++ b/third_party/proto/tendermint/types/block.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package tendermint.types; -option go_package = "github.com/tendermint/tendermint/proto/tendermint/types"; +option go_package = "github.com/cometbft/cometbft/proto/tendermint/types"; import "gogoproto/gogo.proto"; import "tendermint/types/types.proto"; diff --git a/third_party/proto/tendermint/types/evidence.proto b/third_party/proto/tendermint/types/evidence.proto index 3b234571b..9c169bb4c 100644 --- a/third_party/proto/tendermint/types/evidence.proto +++ b/third_party/proto/tendermint/types/evidence.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package tendermint.types; -option go_package = "github.com/tendermint/tendermint/proto/tendermint/types"; +option go_package = "github.com/cometbft/cometbft/proto/tendermint/types"; import "gogoproto/gogo.proto"; import "google/protobuf/timestamp.proto"; diff --git a/third_party/proto/tendermint/types/params.proto b/third_party/proto/tendermint/types/params.proto index 0de7d846f..1eeb55538 100644 --- a/third_party/proto/tendermint/types/params.proto +++ b/third_party/proto/tendermint/types/params.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package tendermint.types; -option go_package = "github.com/tendermint/tendermint/proto/tendermint/types"; +option go_package = "github.com/cometbft/cometbft/proto/tendermint/types"; import "gogoproto/gogo.proto"; import "google/protobuf/duration.proto"; diff --git a/third_party/proto/tendermint/types/types.proto b/third_party/proto/tendermint/types/types.proto index 7f7ea74ca..7a43c8efd 100644 --- a/third_party/proto/tendermint/types/types.proto +++ b/third_party/proto/tendermint/types/types.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package tendermint.types; -option go_package = "github.com/tendermint/tendermint/proto/tendermint/types"; +option go_package = "github.com/cometbft/cometbft/proto/tendermint/types"; import "gogoproto/gogo.proto"; import "google/protobuf/timestamp.proto"; diff --git a/third_party/proto/tendermint/types/validator.proto b/third_party/proto/tendermint/types/validator.proto index 49860b96d..3e170262c 100644 --- a/third_party/proto/tendermint/types/validator.proto +++ b/third_party/proto/tendermint/types/validator.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package tendermint.types; -option go_package = "github.com/tendermint/tendermint/proto/tendermint/types"; +option go_package = "github.com/cometbft/cometbft/proto/tendermint/types"; import "gogoproto/gogo.proto"; import "tendermint/crypto/keys.proto"; diff --git a/third_party/proto/tendermint/version/types.proto b/third_party/proto/tendermint/version/types.proto index 6061868bd..3b6ef4547 100644 --- a/third_party/proto/tendermint/version/types.proto +++ b/third_party/proto/tendermint/version/types.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package tendermint.version; -option go_package = "github.com/tendermint/tendermint/proto/tendermint/version"; +option go_package = "github.com/cometbft/cometbft/proto/tendermint/version"; import "gogoproto/gogo.proto"; diff --git a/tools/tools.go b/tools/tools.go new file mode 100644 index 000000000..7bdbae4da --- /dev/null +++ b/tools/tools.go @@ -0,0 +1,12 @@ +//go:build tools + +package tools + +import ( + _ "github.com/bufbuild/buf/cmd/buf" + _ "github.com/cosmos/cosmos-proto/cmd/protoc-gen-go-pulsar" + _ "github.com/cosmos/gogoproto/protoc-gen-gocosmos" + _ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway" + _ "google.golang.org/grpc/cmd/protoc-gen-go-grpc" + _ "google.golang.org/protobuf/cmd/protoc-gen-go" +) diff --git a/types/compliance/compliance_history_item.pb.go b/types/compliance/compliance_history_item.pb.go index 376b01ef5..a837b03cd 100644 --- a/types/compliance/compliance_history_item.pb.go +++ b/types/compliance/compliance_history_item.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/types/compliance/compliance_info.pb.go b/types/compliance/compliance_info.pb.go index 9bf9fd7c2..fd13c7037 100644 --- a/types/compliance/compliance_info.pb.go +++ b/types/compliance/compliance_info.pb.go @@ -6,7 +6,7 @@ package types import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" @@ -24,29 +24,29 @@ var _ = math.Inf const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type ComplianceInfo struct { - Vid int32 `protobuf:"varint,1,opt,name=vid,proto3" json:"vid,omitempty"` - Pid int32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"` - SoftwareVersion uint32 `protobuf:"varint,3,opt,name=softwareVersion,proto3" json:"softwareVersion,omitempty"` - CertificationType string `protobuf:"bytes,4,opt,name=certificationType,proto3" json:"certificationType,omitempty"` - SoftwareVersionString string `protobuf:"bytes,5,opt,name=softwareVersionString,proto3" json:"softwareVersionString,omitempty"` - CDVersionNumber uint32 `protobuf:"varint,6,opt,name=cDVersionNumber,proto3" json:"cDVersionNumber,omitempty"` - SoftwareVersionCertificationStatus uint32 `protobuf:"varint,7,opt,name=softwareVersionCertificationStatus,proto3" json:"softwareVersionCertificationStatus,omitempty"` - Date string `protobuf:"bytes,8,opt,name=date,proto3" json:"date,omitempty"` - Reason string `protobuf:"bytes,9,opt,name=reason,proto3" json:"reason,omitempty"` - Owner string `protobuf:"bytes,10,opt,name=owner,proto3" json:"owner,omitempty"` - History []*ComplianceHistoryItem `protobuf:"bytes,11,rep,name=history,proto3" json:"history,omitempty"` - CDCertificateId string `protobuf:"bytes,12,opt,name=cDCertificateId,proto3" json:"cDCertificateId,omitempty"` - CertificationRoute string `protobuf:"bytes,13,opt,name=certificationRoute,proto3" json:"certificationRoute,omitempty"` - ProgramType string `protobuf:"bytes,14,opt,name=programType,proto3" json:"programType,omitempty"` - ProgramTypeVersion string `protobuf:"bytes,15,opt,name=programTypeVersion,proto3" json:"programTypeVersion,omitempty"` - CompliantPlatformUsed string `protobuf:"bytes,16,opt,name=compliantPlatformUsed,proto3" json:"compliantPlatformUsed,omitempty"` - CompliantPlatformVersion string `protobuf:"bytes,17,opt,name=compliantPlatformVersion,proto3" json:"compliantPlatformVersion,omitempty"` - Transport string `protobuf:"bytes,18,opt,name=transport,proto3" json:"transport,omitempty"` - FamilyId string `protobuf:"bytes,19,opt,name=familyId,proto3" json:"familyId,omitempty"` - SupportedClusters string `protobuf:"bytes,20,opt,name=supportedClusters,proto3" json:"supportedClusters,omitempty"` - OSVersion string `protobuf:"bytes,21,opt,name=OSVersion,proto3" json:"OSVersion,omitempty"` - ParentChild string `protobuf:"bytes,22,opt,name=parentChild,proto3" json:"parentChild,omitempty"` - CertificationIdOfSoftwareComponent string `protobuf:"bytes,23,opt,name=certificationIdOfSoftwareComponent,proto3" json:"certificationIdOfSoftwareComponent,omitempty"` + Vid int32 `protobuf:"varint,1,opt,name=vid,proto3" json:"vid,omitempty"` + Pid int32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"` + SoftwareVersion uint32 `protobuf:"varint,3,opt,name=softwareVersion,proto3" json:"softwareVersion,omitempty"` + CertificationType string `protobuf:"bytes,4,opt,name=certificationType,proto3" json:"certificationType,omitempty"` + SoftwareVersionString string `protobuf:"bytes,5,opt,name=softwareVersionString,proto3" json:"softwareVersionString,omitempty"` + CDVersionNumber uint32 `protobuf:"varint,6,opt,name=cDVersionNumber,proto3" json:"cDVersionNumber,omitempty"` + SoftwareVersionCertificationStatus uint32 `protobuf:"varint,7,opt,name=softwareVersionCertificationStatus,proto3" json:"softwareVersionCertificationStatus,omitempty"` + Date string `protobuf:"bytes,8,opt,name=date,proto3" json:"date,omitempty"` + Reason string `protobuf:"bytes,9,opt,name=reason,proto3" json:"reason,omitempty"` + Owner string `protobuf:"bytes,10,opt,name=owner,proto3" json:"owner,omitempty"` + History []*ComplianceHistoryItem `protobuf:"bytes,11,rep,name=history,proto3" json:"history,omitempty"` + CDCertificateId string `protobuf:"bytes,12,opt,name=cDCertificateId,proto3" json:"cDCertificateId,omitempty"` + CertificationRoute string `protobuf:"bytes,13,opt,name=certificationRoute,proto3" json:"certificationRoute,omitempty"` + ProgramType string `protobuf:"bytes,14,opt,name=programType,proto3" json:"programType,omitempty"` + ProgramTypeVersion string `protobuf:"bytes,15,opt,name=programTypeVersion,proto3" json:"programTypeVersion,omitempty"` + CompliantPlatformUsed string `protobuf:"bytes,16,opt,name=compliantPlatformUsed,proto3" json:"compliantPlatformUsed,omitempty"` + CompliantPlatformVersion string `protobuf:"bytes,17,opt,name=compliantPlatformVersion,proto3" json:"compliantPlatformVersion,omitempty"` + Transport string `protobuf:"bytes,18,opt,name=transport,proto3" json:"transport,omitempty"` + FamilyId string `protobuf:"bytes,19,opt,name=familyId,proto3" json:"familyId,omitempty"` + SupportedClusters string `protobuf:"bytes,20,opt,name=supportedClusters,proto3" json:"supportedClusters,omitempty"` + OSVersion string `protobuf:"bytes,21,opt,name=OSVersion,proto3" json:"OSVersion,omitempty"` + ParentChild string `protobuf:"bytes,22,opt,name=parentChild,proto3" json:"parentChild,omitempty"` + CertificationIdOfSoftwareComponent string `protobuf:"bytes,23,opt,name=certificationIdOfSoftwareComponent,proto3" json:"certificationIdOfSoftwareComponent,omitempty"` } func (m *ComplianceInfo) Reset() { *m = ComplianceInfo{} } diff --git a/utils/cli/utils.go b/utils/cli/utils.go index fdf9f1677..b628ea669 100644 --- a/utils/cli/utils.go +++ b/utils/cli/utils.go @@ -7,11 +7,11 @@ import ( "os" "strings" + rpctypes "github.com/cometbft/cometbft/rpc/jsonrpc/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/codec" "github.com/spf13/cobra" - rpctypes "github.com/tendermint/tendermint/rpc/jsonrpc/types" ) const ( @@ -140,11 +140,11 @@ func AddTxFlagsToCmd(cmd *cobra.Command) { // TODO there might be a better way how to filter that hiddenFlags := []string{ flags.FlagFees, - flags.FlagFeeAccount, + flags.FlagFeeGranter, flags.FlagGasPrices, flags.FlagGasAdjustment, flags.FlagGas, - flags.FlagFeeAccount, + flags.FlagFeePayer, flags.FlagDryRun, // TODO that flag might be actually useful but relates to gas } for _, f := range hiddenFlags { diff --git a/vue/src/store/generated/cosmos/cosmos-sdk/cosmos.authz.v1beta1/module/types/tendermint/abci/types.ts b/vue/src/store/generated/cosmos/cosmos-sdk/cosmos.authz.v1beta1/module/types/tendermint/abci/types.ts index bd4813a20..6709f1808 100644 --- a/vue/src/store/generated/cosmos/cosmos-sdk/cosmos.authz.v1beta1/module/types/tendermint/abci/types.ts +++ b/vue/src/store/generated/cosmos/cosmos-sdk/cosmos.authz.v1beta1/module/types/tendermint/abci/types.ts @@ -515,7 +515,7 @@ export interface Evidence { /** * Total voting power of the validator set in case the ABCI application does * not store historical validators. - * https://github.com/tendermint/tendermint/issues/4581 + * https://github.com/cometbft/cometbft/issues/4581 */ totalVotingPower: number } diff --git a/x/common/types/uint16_range.pb.go b/x/common/types/uint16_range.pb.go index a9364123c..166dfedd1 100644 --- a/x/common/types/uint16_range.pb.go +++ b/x/common/types/uint16_range.pb.go @@ -5,8 +5,8 @@ package types import ( fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/compliance/client/cli/query_certified_model.go b/x/compliance/client/cli/query_certified_model.go index 856ef66dc..5011f44b1 100644 --- a/x/compliance/client/cli/query_certified_model.go +++ b/x/compliance/client/cli/query_certified_model.go @@ -15,7 +15,10 @@ func CmdListCertifiedModel() *cobra.Command { Use: "all-certified-models", Short: "Query the list of all certified models", RunE: func(cmd *cobra.Command, args []string) error { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } pageReq, err := client.ReadPageRequest(cmd.Flags()) if err != nil { @@ -60,7 +63,11 @@ func CmdShowCertifiedModel() *cobra.Command { "`certification_type`) is compliant", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) (err error) { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } + var res types.CertifiedModel return cli.QueryWithProof( diff --git a/x/compliance/client/cli/query_certified_model_test.go b/x/compliance/client/cli/query_certified_model_test.go index ea56dde6e..5487ab956 100644 --- a/x/compliance/client/cli/query_certified_model_test.go +++ b/x/compliance/client/cli/query_certified_model_test.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" + tmcli "github.com/cometbft/cometbft/libs/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/network" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/nullify" "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/client/cli" diff --git a/x/compliance/client/cli/query_compliance_info.go b/x/compliance/client/cli/query_compliance_info.go index 5d202547b..8632e8c75 100644 --- a/x/compliance/client/cli/query_compliance_info.go +++ b/x/compliance/client/cli/query_compliance_info.go @@ -16,7 +16,10 @@ func CmdListComplianceInfo() *cobra.Command { Use: "all-compliance-info", Short: "Query the list of all compliance info records", RunE: func(cmd *cobra.Command, args []string) error { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } pageReq, err := client.ReadPageRequest(cmd.Flags()) if err != nil { @@ -60,7 +63,11 @@ func CmdShowComplianceInfo() *cobra.Command { Short: "Query compliance info for Model (identified by the `vid`, `pid`, 'softwareVersion' and `certification_type`)", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) (err error) { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } + var res dclcompltypes.ComplianceInfo return cli.QueryWithProof( diff --git a/x/compliance/client/cli/query_compliance_info_test.go b/x/compliance/client/cli/query_compliance_info_test.go index 85f7408b8..74ee6559a 100644 --- a/x/compliance/client/cli/query_compliance_info_test.go +++ b/x/compliance/client/cli/query_compliance_info_test.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" + tmcli "github.com/cometbft/cometbft/libs/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/network" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/nullify" "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/client/cli" diff --git a/x/compliance/client/cli/query_device_software_compliance.go b/x/compliance/client/cli/query_device_software_compliance.go index cf7fb5b84..e33814d54 100644 --- a/x/compliance/client/cli/query_device_software_compliance.go +++ b/x/compliance/client/cli/query_device_software_compliance.go @@ -16,7 +16,10 @@ func CmdListDeviceSoftwareCompliance() *cobra.Command { Use: "all-device-software-compliance", Short: "Query the list of all device software compliances", RunE: func(cmd *cobra.Command, args []string) error { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } pageReq, err := client.ReadPageRequest(cmd.Flags()) if err != nil { @@ -50,7 +53,10 @@ func CmdShowDeviceSoftwareCompliance() *cobra.Command { Short: "Query device software compliance for Model (identified by the `cdCertificateId`)", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) (err error) { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } argCDCertificateID := viper.GetString(FlagCDCertificateID) diff --git a/x/compliance/client/cli/query_device_software_compliance_test.go b/x/compliance/client/cli/query_device_software_compliance_test.go index 668d23f64..a1c5719eb 100644 --- a/x/compliance/client/cli/query_device_software_compliance_test.go +++ b/x/compliance/client/cli/query_device_software_compliance_test.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" + tmcli "github.com/cometbft/cometbft/libs/cli" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/x/compliance/client/cli/query_provisional_model.go b/x/compliance/client/cli/query_provisional_model.go index 5f121f4b8..b4e37ffa7 100644 --- a/x/compliance/client/cli/query_provisional_model.go +++ b/x/compliance/client/cli/query_provisional_model.go @@ -15,7 +15,10 @@ func CmdListProvisionalModel() *cobra.Command { Use: "all-provisional-models", Short: "Query the list of all provisional models", RunE: func(cmd *cobra.Command, args []string) error { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } pageReq, err := client.ReadPageRequest(cmd.Flags()) if err != nil { @@ -59,7 +62,11 @@ func CmdShowProvisionalModel() *cobra.Command { Short: "Gets a boolean if the given Model (identified by the `vid`, `pid`, `softwareVersion` and `certification_type`) is in provisional state", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) (err error) { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } + var res types.ProvisionalModel return cli.QueryWithProof( diff --git a/x/compliance/client/cli/query_provisional_model_test.go b/x/compliance/client/cli/query_provisional_model_test.go index 601aa10bc..a8d57769f 100644 --- a/x/compliance/client/cli/query_provisional_model_test.go +++ b/x/compliance/client/cli/query_provisional_model_test.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" + tmcli "github.com/cometbft/cometbft/libs/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/network" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/nullify" "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/client/cli" diff --git a/x/compliance/client/cli/query_revoked_model.go b/x/compliance/client/cli/query_revoked_model.go index aeb2a82bf..21d4e1b66 100644 --- a/x/compliance/client/cli/query_revoked_model.go +++ b/x/compliance/client/cli/query_revoked_model.go @@ -15,7 +15,10 @@ func CmdListRevokedModel() *cobra.Command { Use: "all-revoked-models", Short: "Query the list of all revoked models", RunE: func(cmd *cobra.Command, args []string) error { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } pageReq, err := client.ReadPageRequest(cmd.Flags()) if err != nil { @@ -59,7 +62,11 @@ func CmdShowRevokedModel() *cobra.Command { Short: "Gets a boolean if the given Model (identified by the `vid`, `pid`, `softwareVersion` and `certification_type`) is revoked", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) (err error) { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } + var res types.RevokedModel return cli.QueryWithProof( diff --git a/x/compliance/client/cli/query_revoked_model_test.go b/x/compliance/client/cli/query_revoked_model_test.go index f2543be74..240dcd646 100644 --- a/x/compliance/client/cli/query_revoked_model_test.go +++ b/x/compliance/client/cli/query_revoked_model_test.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" + tmcli "github.com/cometbft/cometbft/libs/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/network" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/nullify" "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/client/cli" diff --git a/x/compliance/keeper/keeper.go b/x/compliance/keeper/keeper.go index 4d016660e..4db67a308 100644 --- a/x/compliance/keeper/keeper.go +++ b/x/compliance/keeper/keeper.go @@ -3,17 +3,19 @@ package keeper import ( "fmt" + "github.com/cometbft/cometbft/libs/log" "github.com/cosmos/cosmos-sdk/codec" + storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tendermint/tendermint/libs/log" + "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" ) type ( Keeper struct { cdc codec.BinaryCodec - storeKey sdk.StoreKey - memKey sdk.StoreKey + storeKey storetypes.StoreKey + memKey storetypes.StoreKey dclauthKeeper types.DclauthKeeper modelKeeper types.ModelKeeper @@ -23,7 +25,7 @@ type ( func NewKeeper( cdc codec.BinaryCodec, storeKey, - memKey sdk.StoreKey, + memKey storetypes.StoreKey, dclauthKeeper types.DclauthKeeper, modelKeeper types.ModelKeeper, ) *Keeper { diff --git a/x/compliance/module.go b/x/compliance/module.go index f1e53d9a1..cd8505ede 100644 --- a/x/compliance/module.go +++ b/x/compliance/module.go @@ -5,6 +5,7 @@ import ( "encoding/json" "fmt" + abci "github.com/cometbft/cometbft/abci/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" cdctypes "github.com/cosmos/cosmos-sdk/codec/types" @@ -13,7 +14,6 @@ import ( "github.com/gorilla/mux" "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" - abci "github.com/tendermint/tendermint/abci/types" "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/client/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" @@ -112,19 +112,6 @@ func (am AppModule) Name() string { return am.AppModuleBasic.Name() } -// Route returns the capability module's message routing key. -func (am AppModule) Route() sdk.Route { - return sdk.NewRoute(types.RouterKey, NewHandler(am.keeper)) -} - -// QuerierRoute returns the capability module's query routing key. -func (AppModule) QuerierRoute() string { return types.QuerierRoute } - -// LegacyQuerierHandler returns the capability module's Querier. -func (am AppModule) LegacyQuerierHandler(legacyQuerierCdc *codec.LegacyAmino) sdk.Querier { - return nil -} - // RegisterServices registers a GRPC query service to respond to the // module-specific GRPC queries. func (am AppModule) RegisterServices(cfg module.Configurator) { diff --git a/x/compliance/module_simulation.go b/x/compliance/module_simulation.go index a8a875b27..54752cbd3 100644 --- a/x/compliance/module_simulation.go +++ b/x/compliance/module_simulation.go @@ -4,11 +4,11 @@ import ( "math/rand" "github.com/cosmos/cosmos-sdk/baseapp" - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" + "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/sample" compliancesimulation "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/simulation" "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" @@ -18,7 +18,6 @@ import ( var ( _ = sample.AccAddress _ = compliancesimulation.FindAccount - _ = simappparams.StakePerAccount _ = simulation.MsgEntryKind _ = baseapp.Paramspace ) @@ -64,11 +63,6 @@ func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedP return nil } -// RandomizedParams creates randomized param changes for the simulator. -func (am AppModule) RandomizedParams(_ *rand.Rand) []simtypes.ParamChange { - return []simtypes.ParamChange{} -} - // RegisterStoreDecoder registers a decoder. func (am AppModule) RegisterStoreDecoder(_ sdk.StoreDecoderRegistry) {} diff --git a/x/compliance/types/certified_model.pb.go b/x/compliance/types/certified_model.pb.go index 87ee1ced7..41b645a56 100644 --- a/x/compliance/types/certified_model.pb.go +++ b/x/compliance/types/certified_model.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/compliance/types/device_software_compliance.pb.go b/x/compliance/types/device_software_compliance.pb.go index 054a7573a..1fbbc7f60 100644 --- a/x/compliance/types/device_software_compliance.pb.go +++ b/x/compliance/types/device_software_compliance.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/compliance/types/genesis.pb.go b/x/compliance/types/genesis.pb.go index 336847dd6..054f6d099 100644 --- a/x/compliance/types/genesis.pb.go +++ b/x/compliance/types/genesis.pb.go @@ -5,8 +5,8 @@ package types import ( fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/compliance/types/message_certify_model_test.go b/x/compliance/types/message_certify_model_test.go index 005ead24b..1eefe4750 100644 --- a/x/compliance/types/message_certify_model_test.go +++ b/x/compliance/types/message_certify_model_test.go @@ -4,9 +4,9 @@ import ( fmt "fmt" "testing" + tmrand "github.com/cometbft/cometbft/libs/rand" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - tmrand "github.com/tendermint/tendermint/libs/rand" testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/sample" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" diff --git a/x/compliance/types/message_provision_model_test.go b/x/compliance/types/message_provision_model_test.go index ec0d5a663..5bf740400 100644 --- a/x/compliance/types/message_provision_model_test.go +++ b/x/compliance/types/message_provision_model_test.go @@ -4,9 +4,9 @@ import ( fmt "fmt" "testing" + tmrand "github.com/cometbft/cometbft/libs/rand" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - tmrand "github.com/tendermint/tendermint/libs/rand" testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/sample" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" diff --git a/x/compliance/types/message_revoke_model_test.go b/x/compliance/types/message_revoke_model_test.go index 02409b881..e3ba2b40d 100644 --- a/x/compliance/types/message_revoke_model_test.go +++ b/x/compliance/types/message_revoke_model_test.go @@ -4,9 +4,9 @@ import ( fmt "fmt" "testing" + tmrand "github.com/cometbft/cometbft/libs/rand" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - tmrand "github.com/tendermint/tendermint/libs/rand" testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/sample" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" diff --git a/x/compliance/types/message_update_compliance_info_test.go b/x/compliance/types/message_update_compliance_info_test.go index 5ad98665c..db5bab8b4 100644 --- a/x/compliance/types/message_update_compliance_info_test.go +++ b/x/compliance/types/message_update_compliance_info_test.go @@ -3,9 +3,9 @@ package types import ( "testing" + tmrand "github.com/cometbft/cometbft/libs/rand" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - tmrand "github.com/tendermint/tendermint/libs/rand" testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/sample" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" diff --git a/x/compliance/types/provisional_model.pb.go b/x/compliance/types/provisional_model.pb.go index 95908c6c2..40e1f0d0a 100644 --- a/x/compliance/types/provisional_model.pb.go +++ b/x/compliance/types/provisional_model.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/compliance/types/query.pb.go b/x/compliance/types/query.pb.go index aaf2e81c3..07be9d7c4 100644 --- a/x/compliance/types/query.pb.go +++ b/x/compliance/types/query.pb.go @@ -7,9 +7,9 @@ import ( context "context" fmt "fmt" query "github.com/cosmos/cosmos-sdk/types/query" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/compliance/types/revoked_model.pb.go b/x/compliance/types/revoked_model.pb.go index e1e7e3c14..cd0a56799 100644 --- a/x/compliance/types/revoked_model.pb.go +++ b/x/compliance/types/revoked_model.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/compliance/types/tx.pb.go b/x/compliance/types/tx.pb.go index 77df97f40..ae9f90464 100644 --- a/x/compliance/types/tx.pb.go +++ b/x/compliance/types/tx.pb.go @@ -7,9 +7,9 @@ import ( context "context" fmt "fmt" _ "github.com/cosmos/cosmos-proto" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/x/dclauth/base/keeper/keeper.go b/x/dclauth/base/keeper/keeper.go index 73c658d7b..524f5e4dc 100644 --- a/x/dclauth/base/keeper/keeper.go +++ b/x/dclauth/base/keeper/keeper.go @@ -3,18 +3,19 @@ package keeper import ( "fmt" + "github.com/cometbft/cometbft/libs/log" "github.com/cosmos/cosmos-sdk/codec" + storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" basetypes "github.com/cosmos/cosmos-sdk/x/auth/types" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" - "github.com/tendermint/tendermint/libs/log" ) type ( Keeper struct { cdc codec.BinaryCodec - storeKey sdk.StoreKey - memKey sdk.StoreKey + storeKey storetypes.StoreKey + memKey storetypes.StoreKey paramSubspace paramtypes.Subspace } @@ -23,7 +24,7 @@ type ( func NewKeeper( cdc codec.BinaryCodec, storeKey, - memKey sdk.StoreKey, + memKey storetypes.StoreKey, ) *Keeper { return &Keeper{ cdc: cdc, diff --git a/x/dclauth/client/cli/query_account.go b/x/dclauth/client/cli/query_account.go index 208cbe15c..fecbcd40e 100644 --- a/x/dclauth/client/cli/query_account.go +++ b/x/dclauth/client/cli/query_account.go @@ -17,7 +17,10 @@ func CmdListAccount() *cobra.Command { Use: "all-accounts", Short: "list all Account", RunE: func(cmd *cobra.Command, args []string) error { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } pageReq, err := client.ReadPageRequest(cmd.Flags()) if err != nil { @@ -54,7 +57,10 @@ func CmdShowAccount() *cobra.Command { Short: "shows a Account", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) (err error) { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } argAddress, err := sdk.AccAddressFromBech32(viper.GetString(FlagAddress)) if err != nil { diff --git a/x/dclauth/client/cli/query_account_test.go b/x/dclauth/client/cli/query_account_test.go index 69cb95916..21f88883f 100644 --- a/x/dclauth/client/cli/query_account_test.go +++ b/x/dclauth/client/cli/query_account_test.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" + tmcli "github.com/cometbft/cometbft/libs/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/network" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/nullify" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/client/cli" diff --git a/x/dclauth/client/cli/query_pending_account.go b/x/dclauth/client/cli/query_pending_account.go index b63205bed..56a56f1aa 100644 --- a/x/dclauth/client/cli/query_pending_account.go +++ b/x/dclauth/client/cli/query_pending_account.go @@ -17,7 +17,10 @@ func CmdListPendingAccount() *cobra.Command { Use: "all-proposed-accounts", Short: "list all PendingAccount", RunE: func(cmd *cobra.Command, args []string) error { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } pageReq, err := client.ReadPageRequest(cmd.Flags()) if err != nil { @@ -54,7 +57,10 @@ func CmdShowPendingAccount() *cobra.Command { Short: "shows a PendingAccount", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) (err error) { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } argAddress, err := sdk.AccAddressFromBech32(viper.GetString(FlagAddress)) if err != nil { diff --git a/x/dclauth/client/cli/query_pending_account_revocation.go b/x/dclauth/client/cli/query_pending_account_revocation.go index 15cc33289..9582f6b34 100644 --- a/x/dclauth/client/cli/query_pending_account_revocation.go +++ b/x/dclauth/client/cli/query_pending_account_revocation.go @@ -17,7 +17,10 @@ func CmdListPendingAccountRevocation() *cobra.Command { Use: "all-proposed-accounts-to-revoke", Short: "list all PendingAccountRevocation", RunE: func(cmd *cobra.Command, args []string) error { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } pageReq, err := client.ReadPageRequest(cmd.Flags()) if err != nil { @@ -54,7 +57,10 @@ func CmdShowPendingAccountRevocation() *cobra.Command { Short: "shows a PendingAccountRevocation", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) (err error) { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } argAddress, err := sdk.AccAddressFromBech32(viper.GetString(FlagAddress)) if err != nil { diff --git a/x/dclauth/client/cli/query_pending_account_revocation_test.go b/x/dclauth/client/cli/query_pending_account_revocation_test.go index 21ec3431c..a88bdf818 100644 --- a/x/dclauth/client/cli/query_pending_account_revocation_test.go +++ b/x/dclauth/client/cli/query_pending_account_revocation_test.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" + tmcli "github.com/cometbft/cometbft/libs/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/network" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/nullify" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/client/cli" diff --git a/x/dclauth/client/cli/query_pending_account_test.go b/x/dclauth/client/cli/query_pending_account_test.go index 83c0136bb..54c883555 100644 --- a/x/dclauth/client/cli/query_pending_account_test.go +++ b/x/dclauth/client/cli/query_pending_account_test.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" + tmcli "github.com/cometbft/cometbft/libs/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/network" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/nullify" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/client/cli" diff --git a/x/dclauth/client/cli/query_rejected_account.go b/x/dclauth/client/cli/query_rejected_account.go index b9de8d466..0aa2004ff 100644 --- a/x/dclauth/client/cli/query_rejected_account.go +++ b/x/dclauth/client/cli/query_rejected_account.go @@ -17,7 +17,10 @@ func CmdListRejectedAccount() *cobra.Command { Use: "all-rejected-accounts", Short: "list all RejectedAccount", RunE: func(cmd *cobra.Command, args []string) error { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } pageReq, err := client.ReadPageRequest(cmd.Flags()) if err != nil { @@ -51,7 +54,10 @@ func CmdShowRejectedAccount() *cobra.Command { Short: "shows a RejectedAccount", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) (err error) { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } argAddress, err := sdk.AccAddressFromBech32(viper.GetString(FlagAddress)) if err != nil { diff --git a/x/dclauth/client/cli/query_rejected_account_test.go b/x/dclauth/client/cli/query_rejected_account_test.go index c9b191728..70a3766c1 100644 --- a/x/dclauth/client/cli/query_rejected_account_test.go +++ b/x/dclauth/client/cli/query_rejected_account_test.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" + tmcli "github.com/cometbft/cometbft/libs/cli" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/x/dclauth/client/cli/query_revoked_account.go b/x/dclauth/client/cli/query_revoked_account.go index 9733e43c1..e0b522430 100644 --- a/x/dclauth/client/cli/query_revoked_account.go +++ b/x/dclauth/client/cli/query_revoked_account.go @@ -17,7 +17,10 @@ func CmdListRevokedAccount() *cobra.Command { Use: "all-revoked-accounts", Short: "list all RevokedAccount", RunE: func(cmd *cobra.Command, args []string) error { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } pageReq, err := client.ReadPageRequest(cmd.Flags()) if err != nil { @@ -51,7 +54,10 @@ func CmdShowRevokedAccount() *cobra.Command { Short: "shows a RevokedAccount", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) (err error) { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } argAddress, err := sdk.AccAddressFromBech32(viper.GetString(FlagAddress)) if err != nil { diff --git a/x/dclauth/client/cli/query_revoked_account_test.go b/x/dclauth/client/cli/query_revoked_account_test.go index a63a37219..dfce810f6 100644 --- a/x/dclauth/client/cli/query_revoked_account_test.go +++ b/x/dclauth/client/cli/query_revoked_account_test.go @@ -8,7 +8,7 @@ package cli_test "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" + tmcli "github.com/cometbft/cometbft/libs/cli" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/x/dclauth/keeper/keeper.go b/x/dclauth/keeper/keeper.go index 2c40cab17..f375d92ff 100644 --- a/x/dclauth/keeper/keeper.go +++ b/x/dclauth/keeper/keeper.go @@ -4,24 +4,26 @@ import ( "fmt" "math" + "github.com/cometbft/cometbft/libs/log" "github.com/cosmos/cosmos-sdk/codec" + storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tendermint/tendermint/libs/log" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" ) type ( Keeper struct { cdc codec.BinaryCodec - storeKey sdk.StoreKey - memKey sdk.StoreKey + storeKey storetypes.StoreKey + memKey storetypes.StoreKey } ) func NewKeeper( cdc codec.BinaryCodec, storeKey, - memKey sdk.StoreKey, + memKey storetypes.StoreKey, ) *Keeper { return &Keeper{ cdc: cdc, @@ -38,11 +40,11 @@ func (k Keeper) Logger(ctx sdk.Context) log.Logger { // // for tests needs: to link dependent keepers, // need to explore the alternatives -func (k Keeper) StoreKey() sdk.StoreKey { +func (k Keeper) StoreKey() storetypes.StoreKey { return k.storeKey } -func (k Keeper) MemKey() sdk.StoreKey { +func (k Keeper) MemKey() storetypes.StoreKey { return k.memKey } @@ -58,3 +60,13 @@ func (k Keeper) AccountApprovalsCount(ctx sdk.Context, percent float64) int { func (k Keeper) AccountRejectApprovalsCount(ctx sdk.Context, percent float64) int { return k.CountAccountsWithRole(ctx, types.Trustee) - k.AccountApprovalsCount(ctx, percent) + 1 } + +func (k Keeper) UnmarshalAccount(bytes []byte) (authtypes.AccountI, error) { + var acc authtypes.AccountI + + return acc, k.cdc.UnmarshalInterface(bytes, &acc) +} + +func (k Keeper) GetCodec() codec.BinaryCodec { + return k.cdc +} diff --git a/x/dclauth/module.go b/x/dclauth/module.go index b3ef2f1fd..1b74a9c42 100644 --- a/x/dclauth/module.go +++ b/x/dclauth/module.go @@ -4,7 +4,10 @@ import ( "context" "encoding/json" "fmt" + simtypes "github.com/cosmos/cosmos-sdk/types/simulation" + "github.com/cosmos/cosmos-sdk/x/auth/simulation" + abci "github.com/cometbft/cometbft/abci/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" cdctypes "github.com/cosmos/cosmos-sdk/codec/types" @@ -14,8 +17,6 @@ import ( "github.com/gorilla/mux" "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" - abci "github.com/tendermint/tendermint/abci/types" - basekeeper "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/base/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/client/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" @@ -100,15 +101,13 @@ func (AppModuleBasic) GetQueryCmd() *cobra.Command { type AppModule struct { AppModuleBasic - keeper keeper.Keeper - basekeeper basekeeper.Keeper + keeper keeper.Keeper } -func NewAppModule(cdc codec.Codec, keeper keeper.Keeper, basekeeper basekeeper.Keeper) AppModule { +func NewAppModule(cdc codec.Codec, keeper keeper.Keeper) AppModule { return AppModule{ AppModuleBasic: NewAppModuleBasic(cdc), keeper: keeper, - basekeeper: basekeeper, } } @@ -117,16 +116,15 @@ func (am AppModule) Name() string { return am.AppModuleBasic.Name() } -// Route returns the dclauth module's message routing key. -func (am AppModule) Route() sdk.Route { - return sdk.NewRoute(types.RouterKey, NewHandler(am.keeper)) +func (am AppModule) GenerateGenesisState(simState *module.SimulationState) { + simulation.RandomizedGenState(simState, simulation.RandomGenesisAccounts) } -// QuerierRoute returns the dclauth module's query routing key. -func (AppModule) QuerierRoute() string { return types.QuerierRoute } +func (am AppModule) RegisterStoreDecoder(sdr sdk.StoreDecoderRegistry) { + sdr[types.StoreKey] = simulation.NewDecodeStore(am.keeper) +} -// LegacyQuerierHandler returns the dclauth module's Querier. -func (am AppModule) LegacyQuerierHandler(legacyQuerierCdc *codec.LegacyAmino) sdk.Querier { +func (am AppModule) WeightedOperations(_ module.SimulationState) []simtypes.WeightedOperation { return nil } @@ -135,8 +133,6 @@ func (am AppModule) LegacyQuerierHandler(legacyQuerierCdc *codec.LegacyAmino) sd func (am AppModule) RegisterServices(cfg module.Configurator) { types.RegisterMsgServer(cfg.MsgServer(), keeper.NewMsgServerImpl(am.keeper)) types.RegisterQueryServer(cfg.QueryServer(), am.keeper) - // This is to register /cosmos.auth.v1beta1.Query routes used by cosmjs libraries - basetypes.RegisterQueryServer(cfg.QueryServer(), am.basekeeper) } // RegisterInvariants registers the dclauth module's invariants. diff --git a/x/dclauth/module_simulation.go b/x/dclauth/module_simulation.go index 35573f3bc..21a63f9c8 100644 --- a/x/dclauth/module_simulation.go +++ b/x/dclauth/module_simulation.go @@ -6,7 +6,7 @@ import ( "math/rand" "github.com/cosmos/cosmos-sdk/baseapp" - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" + simappparams "cosmossdk.io/simapp/params" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" diff --git a/x/dclauth/types/account.pb.go b/x/dclauth/types/account.pb.go index cf99f42ad..6009b595e 100644 --- a/x/dclauth/types/account.pb.go +++ b/x/dclauth/types/account.pb.go @@ -6,8 +6,8 @@ package types import ( fmt "fmt" types "github.com/cosmos/cosmos-sdk/x/auth/types" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" types1 "github.com/zigbee-alliance/distributed-compliance-ledger/x/common/types" io "io" math "math" diff --git a/x/dclauth/types/account_stat.pb.go b/x/dclauth/types/account_stat.pb.go index 1dbfc7a41..57886344b 100644 --- a/x/dclauth/types/account_stat.pb.go +++ b/x/dclauth/types/account_stat.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/dclauth/types/genesis.pb.go b/x/dclauth/types/genesis.pb.go index e4cff48bc..45c4d969f 100644 --- a/x/dclauth/types/genesis.pb.go +++ b/x/dclauth/types/genesis.pb.go @@ -5,8 +5,8 @@ package types import ( fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/dclauth/types/grant.pb.go b/x/dclauth/types/grant.pb.go index 242f50e4a..d825799e8 100644 --- a/x/dclauth/types/grant.pb.go +++ b/x/dclauth/types/grant.pb.go @@ -6,7 +6,7 @@ package types import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/dclauth/types/pending_account.pb.go b/x/dclauth/types/pending_account.pb.go index 2feda6e76..a5eddb108 100644 --- a/x/dclauth/types/pending_account.pb.go +++ b/x/dclauth/types/pending_account.pb.go @@ -5,8 +5,8 @@ package types import ( fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/dclauth/types/pending_account_revocation.pb.go b/x/dclauth/types/pending_account_revocation.pb.go index 67514f290..95929ad2a 100644 --- a/x/dclauth/types/pending_account_revocation.pb.go +++ b/x/dclauth/types/pending_account_revocation.pb.go @@ -6,8 +6,8 @@ package types import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/dclauth/types/query.pb.go b/x/dclauth/types/query.pb.go index 5bc9474cb..c37a59e22 100644 --- a/x/dclauth/types/query.pb.go +++ b/x/dclauth/types/query.pb.go @@ -8,9 +8,9 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" query "github.com/cosmos/cosmos-sdk/types/query" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/dclauth/types/rejected_account.pb.go b/x/dclauth/types/rejected_account.pb.go index 1b232f0c1..a79212ed7 100644 --- a/x/dclauth/types/rejected_account.pb.go +++ b/x/dclauth/types/rejected_account.pb.go @@ -5,8 +5,8 @@ package types import ( fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/dclauth/types/revoked_account.pb.go b/x/dclauth/types/revoked_account.pb.go index 1bab96aa9..35b3ee78c 100644 --- a/x/dclauth/types/revoked_account.pb.go +++ b/x/dclauth/types/revoked_account.pb.go @@ -5,8 +5,8 @@ package types import ( fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/dclauth/types/tx.pb.go b/x/dclauth/types/tx.pb.go index f6f75c2ac..011c18ff4 100644 --- a/x/dclauth/types/tx.pb.go +++ b/x/dclauth/types/tx.pb.go @@ -8,9 +8,9 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" types "github.com/cosmos/cosmos-sdk/codec/types" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" types1 "github.com/zigbee-alliance/distributed-compliance-ledger/x/common/types" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/dclgenutil/client/cli/collect.go b/x/dclgenutil/client/cli/collect.go index 8aa9a9e51..0a993b4d4 100644 --- a/x/dclgenutil/client/cli/collect.go +++ b/x/dclgenutil/client/cli/collect.go @@ -4,12 +4,13 @@ import ( "encoding/json" "path/filepath" + tmtypes "github.com/cometbft/cometbft/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/server" "github.com/pkg/errors" "github.com/spf13/cobra" - tmtypes "github.com/tendermint/tendermint/types" + dclauthtypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclgenutil" ) @@ -25,7 +26,11 @@ func CollectGenTxsCmd(genAccIterator dclauthtypes.GenesisAccountsIterator, defau serverCtx := server.GetServerContextFromCmd(cmd) config := serverCtx.Config - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } + cdc := clientCtx.Codec config.SetRoot(clientCtx.HomeDir) diff --git a/x/dclgenutil/client/cli/gentx.go b/x/dclgenutil/client/cli/gentx.go index b9da1b503..661223b07 100644 --- a/x/dclgenutil/client/cli/gentx.go +++ b/x/dclgenutil/client/cli/gentx.go @@ -9,6 +9,8 @@ import ( "os" "path/filepath" + tmos "github.com/cometbft/cometbft/libs/os" + tmtypes "github.com/cometbft/cometbft/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" @@ -20,8 +22,6 @@ import ( authclient "github.com/cosmos/cosmos-sdk/x/auth/client" "github.com/pkg/errors" "github.com/spf13/cobra" - tmos "github.com/tendermint/tendermint/libs/os" - tmtypes "github.com/tendermint/tendermint/types" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/cli" dclauthtypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclgenutil" @@ -110,17 +110,23 @@ $ %s gentx my-key-name --home=/path/to/home/dir --keyring-backend=os --chain-id= return errors.Wrap(err, "error creating configuration to create validator msg") } - addr := key.GetAddress() + addr, err := key.GetAddress() + if err != nil { + return err + } err = dclgenutil.ValidateAccountInGenesis(genesisState, genAccIterator, addr, cdc) if err != nil { return errors.Wrap(err, "failed to validate account in genesis") } - txFactory := tx.NewFactoryCLI(clientCtx, cmd.Flags()) + txFactory, err := tx.NewFactoryCLI(clientCtx, cmd.Flags()) if err != nil { return errors.Wrap(err, "error creating tx builder") } - pub := key.GetAddress() + pub, err := key.GetAddress() + if err != nil { + return err + } clientCtx = clientCtx.WithInput(inBuf).WithFromAddress(pub) // create a 'create-validator' message @@ -131,15 +137,14 @@ $ %s gentx my-key-name --home=/path/to/home/dir --keyring-backend=os --chain-id= if key.GetType() == keyring.TypeOffline || key.GetType() == keyring.TypeMulti { cmd.PrintErrln("Offline key passed in. Use `tx sign` command to sign.") - // return txBldr.PrintUnsignedTx(clientCtx, msg) - return authclient.PrintUnsignedStdTx(txBldr, clientCtx, []sdk.Msg{msg}) + return txBldr.PrintUnsignedTx(clientCtx, msg) } // write the unsigned transaction to the buffer w := bytes.NewBuffer([]byte{}) clientCtx = clientCtx.WithOutput(w) - if err = authclient.PrintUnsignedStdTx(txBldr, clientCtx, []sdk.Msg{msg}); err != nil { + if err = txBldr.PrintUnsignedTx(clientCtx, msg); err != nil { // if err = txBldr.PrintUnsignedTx(clientCtx, msg); err != nil { return errors.Wrap(err, "failed to print unsigned std tx") } diff --git a/x/dclgenutil/client/cli/init.go b/x/dclgenutil/client/cli/init.go index 561d7c0f7..34f28d7cf 100644 --- a/x/dclgenutil/client/cli/init.go +++ b/x/dclgenutil/client/cli/init.go @@ -7,6 +7,11 @@ import ( "os" "path/filepath" + cfg "github.com/cometbft/cometbft/config" + "github.com/cometbft/cometbft/libs/cli" + tmos "github.com/cometbft/cometbft/libs/os" + tmrand "github.com/cometbft/cometbft/libs/rand" + "github.com/cometbft/cometbft/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/input" @@ -16,11 +21,6 @@ import ( "github.com/cosmos/go-bip39" "github.com/pkg/errors" "github.com/spf13/cobra" - cfg "github.com/tendermint/tendermint/config" - "github.com/tendermint/tendermint/libs/cli" - tmos "github.com/tendermint/tendermint/libs/os" - tmrand "github.com/tendermint/tendermint/libs/rand" - "github.com/tendermint/tendermint/types" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclgenutil" ) @@ -70,7 +70,11 @@ func InitCmd(mbm module.BasicManager, defaultNodeHome string) *cobra.Command { Long: `Initialize validators's and node's configuration files.`, Args: cobra.ExactArgs(1), RunE: func(cmd *cobra.Command, args []string) error { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } + cdc := clientCtx.Codec serverCtx := server.GetServerContextFromCmd(cmd) diff --git a/x/dclgenutil/client/cli/init_test.go b/x/dclgenutil/client/cli/init_test.go index ab757f78e..13a6f4097 100644 --- a/x/dclgenutil/client/cli/init_test.go +++ b/x/dclgenutil/client/cli/init_test.go @@ -26,9 +26,9 @@ import ( "github.com/cosmos/cosmos-sdk/x/staking" "github.com/spf13/viper" "github.com/stretchr/testify/require" - abci_server "github.com/tendermint/tendermint/abci/server" - "github.com/tendermint/tendermint/libs/cli" - "github.com/tendermint/tendermint/libs/log" + abci_server "github.com/cometbft/cometbft/abci/server" + "github.com/cometbft/cometbft/libs/cli" + "github.com/cometbft/cometbft/libs/log" ) var testMbm = module.NewBasicManager( diff --git a/x/dclgenutil/client/cli/validate_genesis.go b/x/dclgenutil/client/cli/validate_genesis.go index b2abeb28d..95e76ea24 100644 --- a/x/dclgenutil/client/cli/validate_genesis.go +++ b/x/dclgenutil/client/cli/validate_genesis.go @@ -4,11 +4,11 @@ import ( "encoding/json" "fmt" + tmtypes "github.com/cometbft/cometbft/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/server" "github.com/cosmos/cosmos-sdk/types/module" "github.com/spf13/cobra" - tmtypes "github.com/tendermint/tendermint/types" ) const chainUpgradeGuide = "https://docs.cosmos.network/master/migrations/chain-upgrade-guide-040.html" @@ -21,7 +21,10 @@ func ValidateGenesisCmd(mbm module.BasicManager) *cobra.Command { Short: "validates the genesis file at the default location or at the location passed as an arg", RunE: func(cmd *cobra.Command, args []string) (err error) { serverCtx := server.GetServerContextFromCmd(cmd) - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } cdc := clientCtx.Codec diff --git a/x/dclgenutil/collect.go b/x/dclgenutil/collect.go index 1f1055e3e..de119ef8e 100644 --- a/x/dclgenutil/collect.go +++ b/x/dclgenutil/collect.go @@ -12,12 +12,12 @@ import ( "sort" "strings" + cfg "github.com/cometbft/cometbft/config" + tmtypes "github.com/cometbft/cometbft/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/genutil/types" - cfg "github.com/tendermint/tendermint/config" - tmtypes "github.com/tendermint/tendermint/types" dclauthtypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" validatortypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/types" ) diff --git a/x/dclgenutil/collect_test.go b/x/dclgenutil/collect_test.go index c6d68644c..8712acad5 100644 --- a/x/dclgenutil/collect_test.go +++ b/x/dclgenutil/collect_test.go @@ -15,8 +15,8 @@ import ( bankexported "github.com/cosmos/cosmos-sdk/x/bank/exported" "github.com/cosmos/cosmos-sdk/x/genutil" gtypes "github.com/cosmos/cosmos-sdk/x/genutil/types" - "github.com/gogo/protobuf/proto" - tmtypes "github.com/tendermint/tendermint/types" + "github.com/cosmos/gogoproto/proto" + tmtypes "github.com/cometbft/cometbft/types" ) type doNothingUnmarshalJSON struct { diff --git a/x/dclgenutil/genesis.go b/x/dclgenutil/genesis.go index 72142f158..fc9e4baca 100644 --- a/x/dclgenutil/genesis.go +++ b/x/dclgenutil/genesis.go @@ -1,9 +1,9 @@ package dclgenutil import ( + abci "github.com/cometbft/cometbft/abci/types" "github.com/cosmos/cosmos-sdk/client" sdk "github.com/cosmos/cosmos-sdk/types" - abci "github.com/tendermint/tendermint/abci/types" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclgenutil/types" ) diff --git a/x/dclgenutil/gentx.go b/x/dclgenutil/gentx.go index f813602bb..4c65b8bda 100644 --- a/x/dclgenutil/gentx.go +++ b/x/dclgenutil/gentx.go @@ -3,11 +3,11 @@ package dclgenutil import ( "encoding/json" + abci "github.com/cometbft/cometbft/abci/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - abci "github.com/tendermint/tendermint/abci/types" dclauthtypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclgenutil/types" ) diff --git a/x/dclgenutil/gentx_test.go b/x/dclgenutil/gentx_test.go index d200e1778..b78db1f47 100644 --- a/x/dclgenutil/gentx_test.go +++ b/x/dclgenutil/gentx_test.go @@ -8,9 +8,9 @@ import ( "testing" "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" - "github.com/cosmos/cosmos-sdk/simapp" - "github.com/cosmos/cosmos-sdk/simapp/helpers" - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" + "cosmossdk.io/simapp" + "cosmossdk.io/simapp/helpers" + simappparams "cosmossdk.io/simapp/params" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/bank/testutil" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" @@ -19,7 +19,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/staking" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/stretchr/testify/suite" - tmproto "github.com/tendermint/tendermint/proto/tendermint/types" + tmproto "github.com/cometbft/cometbft/proto/tendermint/types" ) var ( @@ -70,7 +70,7 @@ func (suite *GenTxTestSuite) setAccountBalance(addr sdk.AccAddress, amount int64 suite.Require().NoError(err) bankGenesisState := suite.app.BankKeeper.ExportGenesis(suite.ctx) - bankGenesis, err := suite.encodingConfig.Amino.MarshalJSON(bankGenesisState) // TODO switch this to use Marshaler + bankGenesis, err := suite.encodingConfig.Amino.MarshalJSON(bankGenesisState) // TODO switch this to use Codec suite.Require().NoError(err) return bankGenesis @@ -184,7 +184,7 @@ func (suite *GenTxTestSuite) TestValidateAccountInGenesis() { suite.app.StakingKeeper.SetParams(suite.ctx, stakingtypes.DefaultParams()) stakingGenesisState := staking.ExportGenesis(suite.ctx, suite.app.StakingKeeper) suite.Require().Equal(stakingGenesisState.Params, stakingtypes.DefaultParams()) - stakingGenesis, err := cdc.MarshalJSON(stakingGenesisState) // TODO switch this to use Marshaler + stakingGenesis, err := cdc.MarshalJSON(stakingGenesisState) // TODO switch this to use Codec suite.Require().NoError(err) appGenesisState[stakingtypes.ModuleName] = stakingGenesis diff --git a/x/dclgenutil/module.go b/x/dclgenutil/module.go index 80e808f45..c39827962 100644 --- a/x/dclgenutil/module.go +++ b/x/dclgenutil/module.go @@ -11,10 +11,10 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" // this line is used by starport scaffolding # 1. + abci "github.com/cometbft/cometbft/abci/types" "github.com/gorilla/mux" "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" - abci "github.com/tendermint/tendermint/abci/types" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclgenutil/types" ) diff --git a/x/dclgenutil/types/_genesis_state_test.go b/x/dclgenutil/types/_genesis_state_test.go index a704a58af..3bfafc351 100644 --- a/x/dclgenutil/types/_genesis_state_test.go +++ b/x/dclgenutil/types/_genesis_state_test.go @@ -11,7 +11,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" - "github.com/cosmos/cosmos-sdk/simapp" + "cosmossdk.io/simapp" sdk "github.com/cosmos/cosmos-sdk/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" "github.com/cosmos/cosmos-sdk/x/genutil/types" diff --git a/x/dclgenutil/types/expected_keepers.go b/x/dclgenutil/types/expected_keepers.go index fdcad9a2b..e4bb125b0 100644 --- a/x/dclgenutil/types/expected_keepers.go +++ b/x/dclgenutil/types/expected_keepers.go @@ -3,9 +3,9 @@ package types import ( "encoding/json" + abci "github.com/cometbft/cometbft/abci/types" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - abci "github.com/tendermint/tendermint/abci/types" dclauthtypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" ) diff --git a/x/dclgenutil/types/genesis.go b/x/dclgenutil/types/genesis.go index 400586023..956f54282 100644 --- a/x/dclgenutil/types/genesis.go +++ b/x/dclgenutil/types/genesis.go @@ -5,10 +5,10 @@ import ( "errors" "fmt" + tmos "github.com/cometbft/cometbft/libs/os" + tmtypes "github.com/cometbft/cometbft/types" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - tmos "github.com/tendermint/tendermint/libs/os" - tmtypes "github.com/tendermint/tendermint/types" validatortypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/types" ) diff --git a/x/dclgenutil/types/genesis.pb.go b/x/dclgenutil/types/genesis.pb.go index 20e0cc1d2..cbd364b9f 100644 --- a/x/dclgenutil/types/genesis.pb.go +++ b/x/dclgenutil/types/genesis.pb.go @@ -6,8 +6,8 @@ package types import ( encoding_json "encoding/json" fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/dclgenutil/types/query.pb.go b/x/dclgenutil/types/query.pb.go index fcfdcad2a..f1c20e917 100644 --- a/x/dclgenutil/types/query.pb.go +++ b/x/dclgenutil/types/query.pb.go @@ -6,8 +6,8 @@ package types import ( context "context" fmt "fmt" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" math "math" diff --git a/x/dclgenutil/types/tx.pb.go b/x/dclgenutil/types/tx.pb.go index ffbf4d5cb..fda80cf4b 100644 --- a/x/dclgenutil/types/tx.pb.go +++ b/x/dclgenutil/types/tx.pb.go @@ -6,8 +6,8 @@ package types import ( context "context" fmt "fmt" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" grpc "google.golang.org/grpc" math "math" ) diff --git a/x/dclgenutil/utils_test.go b/x/dclgenutil/utils_test.go index 93e39b7be..2fa75d1ea 100644 --- a/x/dclgenutil/utils_test.go +++ b/x/dclgenutil/utils_test.go @@ -10,9 +10,9 @@ import ( "time" "github.com/stretchr/testify/require" - "github.com/tendermint/tendermint/config" - tmed25519 "github.com/tendermint/tendermint/crypto/ed25519" - "github.com/tendermint/tendermint/privval" + "github.com/cometbft/cometbft/config" + tmed25519 "github.com/cometbft/cometbft/crypto/ed25519" + "github.com/cometbft/cometbft/privval" ) func TestExportGenesisFileWithTime(t *testing.T) { diff --git a/x/dclupgrade/client/cli/query_approved_upgrade.go b/x/dclupgrade/client/cli/query_approved_upgrade.go index 32a40623e..5bf70341a 100644 --- a/x/dclupgrade/client/cli/query_approved_upgrade.go +++ b/x/dclupgrade/client/cli/query_approved_upgrade.go @@ -57,7 +57,10 @@ func CmdShowApprovedUpgrade() *cobra.Command { Short: "Query approved upgrade by name", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) (err error) { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } var res types.ApprovedUpgrade diff --git a/x/dclupgrade/client/cli/query_approved_upgrade_test.go b/x/dclupgrade/client/cli/query_approved_upgrade_test.go index 3684dc089..eee85e884 100644 --- a/x/dclupgrade/client/cli/query_approved_upgrade_test.go +++ b/x/dclupgrade/client/cli/query_approved_upgrade_test.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" + tmcli "github.com/cometbft/cometbft/libs/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/network" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/nullify" diff --git a/x/dclupgrade/client/cli/query_proposed_upgrade.go b/x/dclupgrade/client/cli/query_proposed_upgrade.go index d23979e83..38c71c1f5 100644 --- a/x/dclupgrade/client/cli/query_proposed_upgrade.go +++ b/x/dclupgrade/client/cli/query_proposed_upgrade.go @@ -57,7 +57,10 @@ func CmdShowProposedUpgrade() *cobra.Command { Short: "Query proposed upgrade by name", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) (err error) { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } var res types.ProposedUpgrade diff --git a/x/dclupgrade/client/cli/query_proposed_upgrade_test.go b/x/dclupgrade/client/cli/query_proposed_upgrade_test.go index 522060b6c..a4880ff78 100644 --- a/x/dclupgrade/client/cli/query_proposed_upgrade_test.go +++ b/x/dclupgrade/client/cli/query_proposed_upgrade_test.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" + tmcli "github.com/cometbft/cometbft/libs/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/network" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/nullify" diff --git a/x/dclupgrade/client/cli/query_rejected_upgrade.go b/x/dclupgrade/client/cli/query_rejected_upgrade.go index 88af31ba8..a51efd93a 100644 --- a/x/dclupgrade/client/cli/query_rejected_upgrade.go +++ b/x/dclupgrade/client/cli/query_rejected_upgrade.go @@ -15,7 +15,10 @@ func CmdListRejectedUpgrade() *cobra.Command { Use: "all-rejected-upgrades", Short: "Query the list of all rejected upgrades", RunE: func(cmd *cobra.Command, args []string) error { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } pageReq, err := client.ReadPageRequest(cmd.Flags()) if err != nil { @@ -51,7 +54,10 @@ func CmdShowRejectedUpgrade() *cobra.Command { Short: "Query rejected upgrade by name", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) (err error) { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } var res types.RejectedUpgrade diff --git a/x/dclupgrade/client/cli/query_rejected_upgrade_test.go b/x/dclupgrade/client/cli/query_rejected_upgrade_test.go index a273a8f80..ad758984a 100644 --- a/x/dclupgrade/client/cli/query_rejected_upgrade_test.go +++ b/x/dclupgrade/client/cli/query_rejected_upgrade_test.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" + tmcli "github.com/cometbft/cometbft/libs/cli" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/x/dclupgrade/keeper/keeper.go b/x/dclupgrade/keeper/keeper.go index 85d0371c8..589aa4ad8 100644 --- a/x/dclupgrade/keeper/keeper.go +++ b/x/dclupgrade/keeper/keeper.go @@ -4,9 +4,10 @@ import ( "fmt" "math" - "github.com/tendermint/tendermint/libs/log" + "github.com/cometbft/cometbft/libs/log" "github.com/cosmos/cosmos-sdk/codec" + storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclupgrade/types" ) @@ -14,8 +15,8 @@ import ( type ( Keeper struct { cdc codec.BinaryCodec - storeKey sdk.StoreKey - memKey sdk.StoreKey + storeKey storetypes.StoreKey + memKey storetypes.StoreKey dclauthKeeper types.DclauthKeeper upgradeKeeper types.UpgradeKeeper @@ -25,7 +26,7 @@ type ( func NewKeeper( cdc codec.BinaryCodec, storeKey, - memKey sdk.StoreKey, + memKey storetypes.StoreKey, dclauthKeeper types.DclauthKeeper, upgradeKeeper types.UpgradeKeeper, diff --git a/x/dclupgrade/module.go b/x/dclupgrade/module.go index 0d90236f3..d554a3b00 100644 --- a/x/dclupgrade/module.go +++ b/x/dclupgrade/module.go @@ -2,6 +2,7 @@ package dclupgrade import ( "context" + "cosmossdk.io/core/appmodule" "encoding/json" "fmt" @@ -9,7 +10,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" - abci "github.com/tendermint/tendermint/abci/types" + abci "github.com/cometbft/cometbft/abci/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" @@ -109,23 +110,16 @@ func NewAppModule(cdc codec.Codec, keeper keeper.Keeper) AppModule { } } +var _ appmodule.AppModule = AppModule{} + // Name returns the capability module's name. func (am AppModule) Name() string { return am.AppModuleBasic.Name() } -// Route returns the capability module's message routing key. -func (am AppModule) Route() sdk.Route { - return sdk.NewRoute(types.RouterKey, NewHandler(am.keeper)) -} - -// QuerierRoute returns the capability module's query routing key. -func (AppModule) QuerierRoute() string { return types.QuerierRoute } +func (am AppModule) IsOnePerModuleType() {} -// LegacyQuerierHandler returns the capability module's Querier. -func (am AppModule) LegacyQuerierHandler(legacyQuerierCdc *codec.LegacyAmino) sdk.Querier { - return nil -} +func (am AppModule) IsAppModule() {} // RegisterServices registers a GRPC query service to respond to the // module-specific GRPC queries. diff --git a/x/dclupgrade/module_simulation.go b/x/dclupgrade/module_simulation.go index 325facc53..bb185f1f1 100644 --- a/x/dclupgrade/module_simulation.go +++ b/x/dclupgrade/module_simulation.go @@ -4,7 +4,6 @@ import ( "math/rand" "github.com/cosmos/cosmos-sdk/baseapp" - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" @@ -18,7 +17,6 @@ import ( var ( _ = sample.AccAddress _ = dclupgradesimulation.FindAccount - _ = simappparams.StakePerAccount _ = simulation.MsgEntryKind _ = baseapp.Paramspace ) @@ -56,11 +54,6 @@ func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedP return nil } -// RandomizedParams creates randomized param changes for the simulator. -func (am AppModule) RandomizedParams(_ *rand.Rand) []simtypes.ParamChange { - return []simtypes.ParamChange{} -} - // RegisterStoreDecoder registers a decoder. func (am AppModule) RegisterStoreDecoder(_ sdk.StoreDecoderRegistry) {} diff --git a/x/dclupgrade/types/approved_upgrade.pb.go b/x/dclupgrade/types/approved_upgrade.pb.go index b965ed2f9..b3066d6e1 100644 --- a/x/dclupgrade/types/approved_upgrade.pb.go +++ b/x/dclupgrade/types/approved_upgrade.pb.go @@ -7,8 +7,8 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" types "github.com/cosmos/cosmos-sdk/x/upgrade/types" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/dclupgrade/types/genesis.pb.go b/x/dclupgrade/types/genesis.pb.go index bfe248487..f2f0d06b9 100644 --- a/x/dclupgrade/types/genesis.pb.go +++ b/x/dclupgrade/types/genesis.pb.go @@ -5,8 +5,8 @@ package types import ( fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/dclupgrade/types/grant.pb.go b/x/dclupgrade/types/grant.pb.go index 14c794aa2..11cf2b3e7 100644 --- a/x/dclupgrade/types/grant.pb.go +++ b/x/dclupgrade/types/grant.pb.go @@ -6,7 +6,7 @@ package types import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/dclupgrade/types/proposed_upgrade.pb.go b/x/dclupgrade/types/proposed_upgrade.pb.go index 783785b87..742850df4 100644 --- a/x/dclupgrade/types/proposed_upgrade.pb.go +++ b/x/dclupgrade/types/proposed_upgrade.pb.go @@ -7,8 +7,8 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" types "github.com/cosmos/cosmos-sdk/x/upgrade/types" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/dclupgrade/types/query.pb.go b/x/dclupgrade/types/query.pb.go index 7166daf23..18075ac70 100644 --- a/x/dclupgrade/types/query.pb.go +++ b/x/dclupgrade/types/query.pb.go @@ -7,9 +7,9 @@ import ( context "context" fmt "fmt" query "github.com/cosmos/cosmos-sdk/types/query" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/dclupgrade/types/rejected_upgrade.pb.go b/x/dclupgrade/types/rejected_upgrade.pb.go index ef253deee..d43620d08 100644 --- a/x/dclupgrade/types/rejected_upgrade.pb.go +++ b/x/dclupgrade/types/rejected_upgrade.pb.go @@ -7,8 +7,8 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" types "github.com/cosmos/cosmos-sdk/x/upgrade/types" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/dclupgrade/types/tx.pb.go b/x/dclupgrade/types/tx.pb.go index 6b22d80dc..be7bf8165 100644 --- a/x/dclupgrade/types/tx.pb.go +++ b/x/dclupgrade/types/tx.pb.go @@ -8,9 +8,9 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" types "github.com/cosmos/cosmos-sdk/x/upgrade/types" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/x/model/client/cli/query_model.go b/x/model/client/cli/query_model.go index abccf7aec..b0a8547dd 100644 --- a/x/model/client/cli/query_model.go +++ b/x/model/client/cli/query_model.go @@ -61,7 +61,10 @@ func CmdShowModel() *cobra.Command { Short: "Query Model by combination of Vendor ID and Product ID", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) (err error) { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } var res types.Model return cli.QueryWithProof( diff --git a/x/model/client/cli/query_model_test.go b/x/model/client/cli/query_model_test.go index aa1688750..20941a766 100644 --- a/x/model/client/cli/query_model_test.go +++ b/x/model/client/cli/query_model_test.go @@ -5,10 +5,10 @@ import ( "strconv" "testing" + tmcli "github.com/cometbft/cometbft/libs/cli" "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/network" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/nullify" cliutils "github.com/zigbee-alliance/distributed-compliance-ledger/utils/cli" diff --git a/x/model/client/cli/query_model_version.go b/x/model/client/cli/query_model_version.go index da05926ea..c26fde122 100644 --- a/x/model/client/cli/query_model_version.go +++ b/x/model/client/cli/query_model_version.go @@ -20,7 +20,10 @@ func CmdShowModelVersion() *cobra.Command { Short: "Query Model Version by combination of Vendor ID, Product ID and Software Version", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) (err error) { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } var res types.ModelVersion return cli.QueryWithProof( diff --git a/x/model/client/cli/query_model_version_test.go b/x/model/client/cli/query_model_version_test.go index 9509dd399..f254a0038 100644 --- a/x/model/client/cli/query_model_version_test.go +++ b/x/model/client/cli/query_model_version_test.go @@ -5,9 +5,9 @@ import ( "strconv" "testing" + tmcli "github.com/cometbft/cometbft/libs/cli" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/network" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/nullify" cliutils "github.com/zigbee-alliance/distributed-compliance-ledger/utils/cli" diff --git a/x/model/client/cli/query_model_versions.go b/x/model/client/cli/query_model_versions.go index 5472c059d..76a095ee3 100644 --- a/x/model/client/cli/query_model_versions.go +++ b/x/model/client/cli/query_model_versions.go @@ -19,7 +19,10 @@ func CmdShowModelVersions() *cobra.Command { Short: "Query the list of all versions for a given Device Model", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) (err error) { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } var res types.ModelVersions return cli.QueryWithProof( diff --git a/x/model/client/cli/query_model_versions_test.go b/x/model/client/cli/query_model_versions_test.go index 9d3566f40..f8b45971e 100644 --- a/x/model/client/cli/query_model_versions_test.go +++ b/x/model/client/cli/query_model_versions_test.go @@ -5,9 +5,9 @@ import ( "strconv" "testing" + tmcli "github.com/cometbft/cometbft/libs/cli" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/network" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/nullify" cliutils "github.com/zigbee-alliance/distributed-compliance-ledger/utils/cli" diff --git a/x/model/client/cli/query_vendor_products.go b/x/model/client/cli/query_vendor_products.go index 070e91894..921de6b45 100644 --- a/x/model/client/cli/query_vendor_products.go +++ b/x/model/client/cli/query_vendor_products.go @@ -16,7 +16,10 @@ func CmdShowVendorProducts() *cobra.Command { Short: "Query the list of Models for the given Vendor", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) (err error) { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } var res types.VendorProducts return cli.QueryWithProof( diff --git a/x/model/client/cli/query_vendor_products_test.go b/x/model/client/cli/query_vendor_products_test.go index 98366be32..2a0399fef 100644 --- a/x/model/client/cli/query_vendor_products_test.go +++ b/x/model/client/cli/query_vendor_products_test.go @@ -5,9 +5,9 @@ import ( "strconv" "testing" + tmcli "github.com/cometbft/cometbft/libs/cli" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/network" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/nullify" cliutils "github.com/zigbee-alliance/distributed-compliance-ledger/utils/cli" diff --git a/x/model/client/cli/tx_model_version_test.go b/x/model/client/cli/tx_model_version_test.go index 33bb5a467..8648e0df5 100644 --- a/x/model/client/cli/tx_model_version_test.go +++ b/x/model/client/cli/tx_model_version_test.go @@ -59,7 +59,7 @@ func TestCreateModelVersion(t *testing.T) { common := []string{ fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()), fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation), - fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastBlock), + fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync), } for _, tc := range []struct { @@ -104,7 +104,7 @@ func TestUpdateModelVersion(t *testing.T) { common := []string{ fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()), fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation), - fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastBlock), + fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync), } args := []string{ diff --git a/x/model/keeper/keeper.go b/x/model/keeper/keeper.go index a6bc2b831..7aeaa8f1c 100644 --- a/x/model/keeper/keeper.go +++ b/x/model/keeper/keeper.go @@ -3,17 +3,18 @@ package keeper import ( "fmt" + "github.com/cometbft/cometbft/libs/log" "github.com/cosmos/cosmos-sdk/codec" + storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tendermint/tendermint/libs/log" "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/types" ) type ( Keeper struct { cdc codec.BinaryCodec - storeKey sdk.StoreKey - memKey sdk.StoreKey + storeKey storetypes.StoreKey + memKey storetypes.StoreKey dclauthKeeper types.DclauthKeeper complianceKeeper types.ComplianceKeeper @@ -23,7 +24,7 @@ type ( func NewKeeper( cdc codec.BinaryCodec, storeKey, - memKey sdk.StoreKey, + memKey storetypes.StoreKey, dclauthKeeper types.DclauthKeeper, complianceKeeper types.ComplianceKeeper, diff --git a/x/model/module.go b/x/model/module.go index 96deba49d..492513848 100644 --- a/x/model/module.go +++ b/x/model/module.go @@ -12,10 +12,10 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" // this line is used by starport scaffolding # 1. + abci "github.com/cometbft/cometbft/abci/types" "github.com/gorilla/mux" "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" - abci "github.com/tendermint/tendermint/abci/types" "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/client/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/types" @@ -114,19 +114,6 @@ func (am AppModule) Name() string { return am.AppModuleBasic.Name() } -// Route returns the capability module's message routing key. -func (am AppModule) Route() sdk.Route { - return sdk.NewRoute(types.RouterKey, NewHandler(am.keeper)) -} - -// QuerierRoute returns the capability module's query routing key. -func (AppModule) QuerierRoute() string { return types.QuerierRoute } - -// LegacyQuerierHandler returns the capability module's Querier. -func (am AppModule) LegacyQuerierHandler(legacyQuerierCdc *codec.LegacyAmino) sdk.Querier { - return nil -} - // RegisterServices registers a GRPC query service to respond to the // module-specific GRPC queries. func (am AppModule) RegisterServices(cfg module.Configurator) { diff --git a/x/model/module_simulation.go b/x/model/module_simulation.go index c19d2f25c..d2374de35 100644 --- a/x/model/module_simulation.go +++ b/x/model/module_simulation.go @@ -6,7 +6,7 @@ import ( "math/rand" "github.com/cosmos/cosmos-sdk/baseapp" - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" + simappparams "cosmossdk.io/simapp/params" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" diff --git a/x/model/simulation/model.go b/x/model/simulation/model.go index 058503321..16a0fb716 100644 --- a/x/model/simulation/model.go +++ b/x/model/simulation/model.go @@ -5,10 +5,11 @@ import ( "strconv" "github.com/cosmos/cosmos-sdk/baseapp" - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" + + appEncoding "github.com/zigbee-alliance/distributed-compliance-ledger/app" "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/types" ) @@ -42,7 +43,7 @@ func SimulateMsgCreateModel( txCtx := simulation.OperationInput{ R: r, App: app, - TxGen: simappparams.MakeTestEncodingConfig().TxConfig, + TxGen: appEncoding.MakeEncodingConfig().TxConfig, Cdc: nil, Msg: msg, MsgType: msg.Type(), @@ -92,7 +93,7 @@ func SimulateMsgUpdateModel( txCtx := simulation.OperationInput{ R: r, App: app, - TxGen: simappparams.MakeTestEncodingConfig().TxConfig, + TxGen: appEncoding.MakeEncodingConfig().TxConfig, Cdc: nil, Msg: msg, MsgType: msg.Type(), @@ -142,7 +143,7 @@ func SimulateMsgDeleteModel( txCtx := simulation.OperationInput{ R: r, App: app, - TxGen: simappparams.MakeTestEncodingConfig().TxConfig, + TxGen: appEncoding.MakeEncodingConfig().TxConfig, Cdc: nil, Msg: msg, MsgType: msg.Type(), diff --git a/x/model/simulation/model_version.go b/x/model/simulation/model_version.go index fd517d6e2..a02e5d07f 100644 --- a/x/model/simulation/model_version.go +++ b/x/model/simulation/model_version.go @@ -5,10 +5,10 @@ import ( "strconv" "github.com/cosmos/cosmos-sdk/baseapp" - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" "github.com/cosmos/cosmos-sdk/x/simulation" + appEnc "github.com/zigbee-alliance/distributed-compliance-ledger/app" "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/types" ) @@ -43,7 +43,7 @@ func SimulateMsgCreateModelVersion( txCtx := simulation.OperationInput{ R: r, App: app, - TxGen: simappparams.MakeTestEncodingConfig().TxConfig, + TxGen: appEnc.MakeEncodingConfig().TxConfig, Cdc: nil, Msg: msg, MsgType: msg.Type(), @@ -93,7 +93,7 @@ func SimulateMsgUpdateModelVersion( txCtx := simulation.OperationInput{ R: r, App: app, - TxGen: simappparams.MakeTestEncodingConfig().TxConfig, + TxGen: appEnc.MakeEncodingConfig().TxConfig, Cdc: nil, Msg: msg, MsgType: msg.Type(), @@ -143,7 +143,7 @@ func SimulateMsgDeleteModelVersion( txCtx := simulation.OperationInput{ R: r, App: app, - TxGen: simappparams.MakeTestEncodingConfig().TxConfig, + TxGen: appEnc.MakeEncodingConfig().TxConfig, Cdc: nil, Msg: msg, MsgType: msg.Type(), diff --git a/x/model/types/genesis.pb.go b/x/model/types/genesis.pb.go index b9dfc18a8..efb153deb 100644 --- a/x/model/types/genesis.pb.go +++ b/x/model/types/genesis.pb.go @@ -5,8 +5,8 @@ package types import ( fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/model/types/messages_model_test.go b/x/model/types/messages_model_test.go index 8c7f8029f..7d2ba459b 100644 --- a/x/model/types/messages_model_test.go +++ b/x/model/types/messages_model_test.go @@ -3,9 +3,9 @@ package types import ( "testing" + tmrand "github.com/cometbft/cometbft/libs/rand" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - tmrand "github.com/tendermint/tendermint/libs/rand" testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/sample" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" diff --git a/x/model/types/messages_model_version_test.go b/x/model/types/messages_model_version_test.go index b5051c7a6..f2d7ad834 100644 --- a/x/model/types/messages_model_version_test.go +++ b/x/model/types/messages_model_version_test.go @@ -3,9 +3,9 @@ package types import ( "testing" + tmrand "github.com/cometbft/cometbft/libs/rand" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - tmrand "github.com/tendermint/tendermint/libs/rand" testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/sample" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" diff --git a/x/model/types/model.pb.go b/x/model/types/model.pb.go index fbe2e4f6c..966614c75 100644 --- a/x/model/types/model.pb.go +++ b/x/model/types/model.pb.go @@ -6,7 +6,7 @@ package types import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/model/types/model_version.pb.go b/x/model/types/model_version.pb.go index 6bc923434..3d794e160 100644 --- a/x/model/types/model_version.pb.go +++ b/x/model/types/model_version.pb.go @@ -6,7 +6,7 @@ package types import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/model/types/model_versions.pb.go b/x/model/types/model_versions.pb.go index 2da160614..6a6f486d4 100644 --- a/x/model/types/model_versions.pb.go +++ b/x/model/types/model_versions.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/model/types/product.pb.go b/x/model/types/product.pb.go index 207556873..ffa148926 100644 --- a/x/model/types/product.pb.go +++ b/x/model/types/product.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/model/types/query.pb.go b/x/model/types/query.pb.go index 9c3a47b27..f9055f57d 100644 --- a/x/model/types/query.pb.go +++ b/x/model/types/query.pb.go @@ -7,9 +7,9 @@ import ( context "context" fmt "fmt" query "github.com/cosmos/cosmos-sdk/types/query" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/model/types/tx.pb.go b/x/model/types/tx.pb.go index cbbdb094d..0d604f85b 100644 --- a/x/model/types/tx.pb.go +++ b/x/model/types/tx.pb.go @@ -7,9 +7,9 @@ import ( context "context" fmt "fmt" _ "github.com/cosmos/cosmos-proto" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/x/model/types/vendor_products.pb.go b/x/model/types/vendor_products.pb.go index b49a67bf5..ead549a34 100644 --- a/x/model/types/vendor_products.pb.go +++ b/x/model/types/vendor_products.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/pki/client/cli/query_approved_certificates.go b/x/pki/client/cli/query_approved_certificates.go index 60b40a5e7..78341f962 100644 --- a/x/pki/client/cli/query_approved_certificates.go +++ b/x/pki/client/cli/query_approved_certificates.go @@ -16,7 +16,10 @@ func CmdListApprovedCertificates() *cobra.Command { Use: "all-x509-certs", Short: "Gets all certificates (root, intermediate and leaf)", RunE: func(cmd *cobra.Command, args []string) error { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } pageReq, err := client.ReadPageRequest(cmd.Flags()) if err != nil { @@ -59,7 +62,11 @@ func CmdShowApprovedCertificates() *cobra.Command { "by the given combination of subject and subject-key-id or just subject-key-id", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) (err error) { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } + if subject != "" { var res types.ApprovedCertificates diff --git a/x/pki/client/cli/query_approved_certificates_by_subject.go b/x/pki/client/cli/query_approved_certificates_by_subject.go index 3dd8ea378..02c015a4a 100644 --- a/x/pki/client/cli/query_approved_certificates_by_subject.go +++ b/x/pki/client/cli/query_approved_certificates_by_subject.go @@ -17,7 +17,11 @@ func CmdShowApprovedCertificatesBySubject() *cobra.Command { Short: "Gets all certificates (root, intermediate and leaf) associated with subject", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) (err error) { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } + var res types.ApprovedCertificatesBySubject return cli.QueryWithProof( diff --git a/x/pki/client/cli/query_approved_certificates_by_subject_test.go b/x/pki/client/cli/query_approved_certificates_by_subject_test.go index b7b1f89f3..67ecda36e 100644 --- a/x/pki/client/cli/query_approved_certificates_by_subject_test.go +++ b/x/pki/client/cli/query_approved_certificates_by_subject_test.go @@ -8,7 +8,7 @@ import ( clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" + tmcli "github.com/cometbft/cometbft/libs/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/network" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/nullify" "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/client/cli" diff --git a/x/pki/client/cli/query_approved_certificates_test.go b/x/pki/client/cli/query_approved_certificates_test.go index f9c1994e9..5b49d2d65 100644 --- a/x/pki/client/cli/query_approved_certificates_test.go +++ b/x/pki/client/cli/query_approved_certificates_test.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" + tmcli "github.com/cometbft/cometbft/libs/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/network" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/nullify" "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/client/cli" diff --git a/x/pki/client/cli/query_approved_root_certificates.go b/x/pki/client/cli/query_approved_root_certificates.go index d15b3aeb0..a5f04fa0b 100644 --- a/x/pki/client/cli/query_approved_root_certificates.go +++ b/x/pki/client/cli/query_approved_root_certificates.go @@ -15,7 +15,10 @@ func CmdShowApprovedRootCertificates() *cobra.Command { Short: "Gets all approved root certificates", Args: cobra.NoArgs, RunE: func(cmd *cobra.Command, args []string) error { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } var res types.ApprovedRootCertificates return cli.QueryWithProofList( diff --git a/x/pki/client/cli/query_approved_root_certificates_test.go b/x/pki/client/cli/query_approved_root_certificates_test.go index 97cae8b2b..0c99dc059 100644 --- a/x/pki/client/cli/query_approved_root_certificates_test.go +++ b/x/pki/client/cli/query_approved_root_certificates_test.go @@ -7,7 +7,7 @@ import ( clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" + tmcli "github.com/cometbft/cometbft/libs/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/network" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/nullify" "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/client/cli" diff --git a/x/pki/client/cli/query_child_certificates.go b/x/pki/client/cli/query_child_certificates.go index df8ee3bb5..2d29ffd3e 100644 --- a/x/pki/client/cli/query_child_certificates.go +++ b/x/pki/client/cli/query_child_certificates.go @@ -20,7 +20,10 @@ func CmdShowChildCertificates() *cobra.Command { Short: "Gets all child certificates for the given certificate", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) (err error) { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } var res types.ChildCertificates return cli.QueryWithProof( diff --git a/x/pki/client/cli/query_child_certificates_test.go b/x/pki/client/cli/query_child_certificates_test.go index c70a60356..cfff7c983 100644 --- a/x/pki/client/cli/query_child_certificates_test.go +++ b/x/pki/client/cli/query_child_certificates_test.go @@ -8,7 +8,7 @@ import ( clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" + tmcli "github.com/cometbft/cometbft/libs/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/network" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/nullify" "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/client/cli" diff --git a/x/pki/client/cli/query_pki_revocation_distribution_point.go b/x/pki/client/cli/query_pki_revocation_distribution_point.go index c8621a442..a61c1e22c 100644 --- a/x/pki/client/cli/query_pki_revocation_distribution_point.go +++ b/x/pki/client/cli/query_pki_revocation_distribution_point.go @@ -16,7 +16,10 @@ func CmdListPkiRevocationDistributionPoint() *cobra.Command { Use: "all-revocation-points", Short: "Gets all PKI revocation distribution points", RunE: func(cmd *cobra.Command, args []string) error { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } pageReq, err := client.ReadPageRequest(cmd.Flags()) if err != nil { @@ -59,7 +62,10 @@ func CmdShowPkiRevocationDistributionPoint() *cobra.Command { Short: "Gets a PKI revocation distribution point", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) (err error) { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } var res types.PkiRevocationDistributionPoint diff --git a/x/pki/client/cli/query_pki_revocation_distribution_point_test.go b/x/pki/client/cli/query_pki_revocation_distribution_point_test.go index 9cd7fe817..dccaea226 100644 --- a/x/pki/client/cli/query_pki_revocation_distribution_point_test.go +++ b/x/pki/client/cli/query_pki_revocation_distribution_point_test.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" + tmcli "github.com/cometbft/cometbft/libs/cli" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/x/pki/client/cli/query_pki_revocation_distribution_points_by_issuer_subject_key_id.go b/x/pki/client/cli/query_pki_revocation_distribution_points_by_issuer_subject_key_id.go index 55eb9584e..198fad6c1 100644 --- a/x/pki/client/cli/query_pki_revocation_distribution_points_by_issuer_subject_key_id.go +++ b/x/pki/client/cli/query_pki_revocation_distribution_points_by_issuer_subject_key_id.go @@ -17,7 +17,10 @@ func CmdShowPkiRevocationDistributionPointsByIssuerSubjectKeyID() *cobra.Command Short: "Gets all revocation points associated with issuer's subject key id", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) (err error) { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } var res types.PkiRevocationDistributionPointsByIssuerSubjectKeyID return cli.QueryWithProof( diff --git a/x/pki/client/cli/query_pki_revocation_distribution_points_by_issuer_subject_key_id_test.go b/x/pki/client/cli/query_pki_revocation_distribution_points_by_issuer_subject_key_id_test.go index 6e565979c..05559fd79 100644 --- a/x/pki/client/cli/query_pki_revocation_distribution_points_by_issuer_subject_key_id_test.go +++ b/x/pki/client/cli/query_pki_revocation_distribution_points_by_issuer_subject_key_id_test.go @@ -8,7 +8,7 @@ import ( clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" + tmcli "github.com/cometbft/cometbft/libs/cli" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/x/pki/client/cli/query_proposed_certificate.go b/x/pki/client/cli/query_proposed_certificate.go index 5208aafe9..c6657e9a6 100644 --- a/x/pki/client/cli/query_proposed_certificate.go +++ b/x/pki/client/cli/query_proposed_certificate.go @@ -16,8 +16,10 @@ func CmdListProposedCertificate() *cobra.Command { Use: "all-proposed-x509-root-certs", Short: "Gets all proposed but not approved root certificates", RunE: func(cmd *cobra.Command, args []string) error { - clientCtx := client.GetClientContextFromCmd(cmd) - + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } pageReq, err := client.ReadPageRequest(cmd.Flags()) if err != nil { return err @@ -58,7 +60,10 @@ func CmdShowProposedCertificate() *cobra.Command { Short: "Gets a proposed but not approved root certificate with the given combination of subject and subject-key-id", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) (err error) { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } var res types.ProposedCertificate return cli.QueryWithProof( diff --git a/x/pki/client/cli/query_proposed_certificate_revocation.go b/x/pki/client/cli/query_proposed_certificate_revocation.go index 7f1cc338f..7368eb6c8 100644 --- a/x/pki/client/cli/query_proposed_certificate_revocation.go +++ b/x/pki/client/cli/query_proposed_certificate_revocation.go @@ -16,7 +16,10 @@ func CmdListProposedCertificateRevocation() *cobra.Command { Use: "all-proposed-x509-root-certs-to-revoke", Short: "Gets all proposed but not approved root certificates to be revoked", RunE: func(cmd *cobra.Command, args []string) error { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } pageReq, err := client.ReadPageRequest(cmd.Flags()) if err != nil { @@ -59,7 +62,10 @@ func CmdShowProposedCertificateRevocation() *cobra.Command { "with the given combination of subject and subject-key-id", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) (err error) { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } var res types.ProposedCertificateRevocation return cli.QueryWithProof( diff --git a/x/pki/client/cli/query_proposed_certificate_revocation_test.go b/x/pki/client/cli/query_proposed_certificate_revocation_test.go index f4723b311..30f30a7b3 100644 --- a/x/pki/client/cli/query_proposed_certificate_revocation_test.go +++ b/x/pki/client/cli/query_proposed_certificate_revocation_test.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" + tmcli "github.com/cometbft/cometbft/libs/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/network" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/nullify" "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/client/cli" diff --git a/x/pki/client/cli/query_proposed_certificate_test.go b/x/pki/client/cli/query_proposed_certificate_test.go index ae171d2c9..dc64814a8 100644 --- a/x/pki/client/cli/query_proposed_certificate_test.go +++ b/x/pki/client/cli/query_proposed_certificate_test.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" + tmcli "github.com/cometbft/cometbft/libs/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/network" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/nullify" "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/client/cli" diff --git a/x/pki/client/cli/query_rejected_certificate.go b/x/pki/client/cli/query_rejected_certificate.go index 00381ff06..f40fc4c40 100644 --- a/x/pki/client/cli/query_rejected_certificate.go +++ b/x/pki/client/cli/query_rejected_certificate.go @@ -16,7 +16,10 @@ func CmdListRejectedCertificate() *cobra.Command { Use: "all-rejected-x509-root-certs", Short: "list all RejectedCertificate", RunE: func(cmd *cobra.Command, args []string) error { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } pageReq, err := client.ReadPageRequest(cmd.Flags()) if err != nil { @@ -55,7 +58,10 @@ func CmdShowRejectedCertificate() *cobra.Command { Short: "shows a RejectedCertificate", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) (err error) { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } var res types.RejectedCertificate return cli.QueryWithProof( diff --git a/x/pki/client/cli/query_rejected_certificate_test.go b/x/pki/client/cli/query_rejected_certificate_test.go index c438d1152..9b30449c0 100644 --- a/x/pki/client/cli/query_rejected_certificate_test.go +++ b/x/pki/client/cli/query_rejected_certificate_test.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" + tmcli "github.com/cometbft/cometbft/libs/cli" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/x/pki/client/cli/query_revoked_certificates.go b/x/pki/client/cli/query_revoked_certificates.go index 05c8b4f18..17b7cb730 100644 --- a/x/pki/client/cli/query_revoked_certificates.go +++ b/x/pki/client/cli/query_revoked_certificates.go @@ -16,7 +16,10 @@ func CmdListRevokedCertificates() *cobra.Command { Use: "all-revoked-x509-certs", Short: "Gets all revoked certificates (root, intermediate and leaf)", RunE: func(cmd *cobra.Command, args []string) error { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } pageReq, err := client.ReadPageRequest(cmd.Flags()) if err != nil { @@ -59,7 +62,10 @@ func CmdShowRevokedCertificates() *cobra.Command { "by the given combination of subject and subject-key-id", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) (err error) { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } var res types.RevokedCertificates return cli.QueryWithProof( diff --git a/x/pki/client/cli/query_revoked_certificates_test.go b/x/pki/client/cli/query_revoked_certificates_test.go index 9fe05caac..9565a1e12 100644 --- a/x/pki/client/cli/query_revoked_certificates_test.go +++ b/x/pki/client/cli/query_revoked_certificates_test.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" + tmcli "github.com/cometbft/cometbft/libs/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/network" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/nullify" "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/client/cli" diff --git a/x/pki/client/cli/query_revoked_root_certificates.go b/x/pki/client/cli/query_revoked_root_certificates.go index 35b5613a9..b943694c1 100644 --- a/x/pki/client/cli/query_revoked_root_certificates.go +++ b/x/pki/client/cli/query_revoked_root_certificates.go @@ -15,7 +15,10 @@ func CmdShowRevokedRootCertificates() *cobra.Command { Short: "Gets all revoked root certificates", Args: cobra.NoArgs, RunE: func(cmd *cobra.Command, args []string) error { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } var res types.RevokedRootCertificates return cli.QueryWithProofList( diff --git a/x/pki/client/cli/query_revoked_root_certificates_test.go b/x/pki/client/cli/query_revoked_root_certificates_test.go index 4b679ec88..81aab2d97 100644 --- a/x/pki/client/cli/query_revoked_root_certificates_test.go +++ b/x/pki/client/cli/query_revoked_root_certificates_test.go @@ -7,7 +7,7 @@ import ( clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" + tmcli "github.com/cometbft/cometbft/libs/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/network" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/nullify" "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/client/cli" diff --git a/x/pki/keeper/keeper.go b/x/pki/keeper/keeper.go index 51a61c4a2..179ae717b 100644 --- a/x/pki/keeper/keeper.go +++ b/x/pki/keeper/keeper.go @@ -4,9 +4,10 @@ import ( "fmt" "math" + "github.com/cometbft/cometbft/libs/log" "github.com/cosmos/cosmos-sdk/codec" + storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tendermint/tendermint/libs/log" pkitypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/pki" authTypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types" @@ -15,8 +16,8 @@ import ( type ( Keeper struct { cdc codec.BinaryCodec - storeKey sdk.StoreKey - memKey sdk.StoreKey + storeKey storetypes.StoreKey + memKey storetypes.StoreKey dclauthKeeper types.DclauthKeeper } @@ -25,7 +26,7 @@ type ( func NewKeeper( cdc codec.BinaryCodec, storeKey, - memKey sdk.StoreKey, + memKey storetypes.StoreKey, dclauthKeeper types.DclauthKeeper, ) *Keeper { diff --git a/x/pki/module.go b/x/pki/module.go index 8044b600f..0f359c1ae 100644 --- a/x/pki/module.go +++ b/x/pki/module.go @@ -5,6 +5,7 @@ import ( "encoding/json" "fmt" + abci "github.com/cometbft/cometbft/abci/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" cdctypes "github.com/cosmos/cosmos-sdk/codec/types" @@ -13,7 +14,6 @@ import ( "github.com/gorilla/mux" "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" - abci "github.com/tendermint/tendermint/abci/types" pkitypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/pki" "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/client/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/keeper" @@ -113,19 +113,6 @@ func (am AppModule) Name() string { return am.AppModuleBasic.Name() } -// Route returns the pki module's message routing key. -func (am AppModule) Route() sdk.Route { - return sdk.NewRoute(pkitypes.RouterKey, NewHandler(am.keeper)) -} - -// QuerierRoute returns the pki module's query routing key. -func (AppModule) QuerierRoute() string { return pkitypes.QuerierRoute } - -// LegacyQuerierHandler returns the pki module's Querier. -func (am AppModule) LegacyQuerierHandler(legacyQuerierCdc *codec.LegacyAmino) sdk.Querier { - return nil -} - // RegisterServices registers a GRPC query service to respond to the // module-specific GRPC queries. func (am AppModule) RegisterServices(cfg module.Configurator) { diff --git a/x/pki/module_simulation.go b/x/pki/module_simulation.go index 3576b6232..ec4dfee73 100644 --- a/x/pki/module_simulation.go +++ b/x/pki/module_simulation.go @@ -4,7 +4,6 @@ import ( "math/rand" "github.com/cosmos/cosmos-sdk/baseapp" - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" @@ -19,7 +18,6 @@ import ( var ( _ = sample.AccAddress _ = pkisimulation.FindAccount - _ = simappparams.StakePerAccount _ = simulation.MsgEntryKind _ = baseapp.Paramspace ) @@ -89,11 +87,6 @@ func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedP return nil } -// RandomizedParams creates randomized param changes for the simulator. -func (am AppModule) RandomizedParams(_ *rand.Rand) []simtypes.ParamChange { - return []simtypes.ParamChange{} -} - // RegisterStoreDecoder registers a decoder. func (am AppModule) RegisterStoreDecoder(_ sdk.StoreDecoderRegistry) {} diff --git a/x/pki/types/approved_certificates.pb.go b/x/pki/types/approved_certificates.pb.go index 4549d862b..e6bce45f2 100644 --- a/x/pki/types/approved_certificates.pb.go +++ b/x/pki/types/approved_certificates.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/pki/types/approved_certificates_by_subject.pb.go b/x/pki/types/approved_certificates_by_subject.pb.go index 545267e9f..d76a68d5d 100644 --- a/x/pki/types/approved_certificates_by_subject.pb.go +++ b/x/pki/types/approved_certificates_by_subject.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/pki/types/approved_certificates_by_subject_key_id.pb.go b/x/pki/types/approved_certificates_by_subject_key_id.pb.go index 03a9017b4..31714501e 100644 --- a/x/pki/types/approved_certificates_by_subject_key_id.pb.go +++ b/x/pki/types/approved_certificates_by_subject_key_id.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/pki/types/approved_root_certificates.pb.go b/x/pki/types/approved_root_certificates.pb.go index 353614980..216ba9b41 100644 --- a/x/pki/types/approved_root_certificates.pb.go +++ b/x/pki/types/approved_root_certificates.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/pki/types/certificate.pb.go b/x/pki/types/certificate.pb.go index 107658210..cf8bd489e 100644 --- a/x/pki/types/certificate.pb.go +++ b/x/pki/types/certificate.pb.go @@ -6,8 +6,8 @@ package types import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/pki/types/certificate_identifier.pb.go b/x/pki/types/certificate_identifier.pb.go index 27e818a6e..956f1d4fe 100644 --- a/x/pki/types/certificate_identifier.pb.go +++ b/x/pki/types/certificate_identifier.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/pki/types/child_certificates.pb.go b/x/pki/types/child_certificates.pb.go index f49e021d6..c34be8b56 100644 --- a/x/pki/types/child_certificates.pb.go +++ b/x/pki/types/child_certificates.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/pki/types/genesis.pb.go b/x/pki/types/genesis.pb.go index ef282c952..3e44d84c1 100644 --- a/x/pki/types/genesis.pb.go +++ b/x/pki/types/genesis.pb.go @@ -5,8 +5,8 @@ package types import ( fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/pki/types/grant.pb.go b/x/pki/types/grant.pb.go index 932adbb53..7e8fddf45 100644 --- a/x/pki/types/grant.pb.go +++ b/x/pki/types/grant.pb.go @@ -6,7 +6,7 @@ package types import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/pki/types/message_add_x_509_cert_test.go b/x/pki/types/message_add_x_509_cert_test.go index d5d2b468c..2d9ac0514 100644 --- a/x/pki/types/message_add_x_509_cert_test.go +++ b/x/pki/types/message_add_x_509_cert_test.go @@ -3,9 +3,9 @@ package types import ( "testing" + tmrand "github.com/cometbft/cometbft/libs/rand" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - tmrand "github.com/tendermint/tendermint/libs/rand" testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/sample" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" diff --git a/x/pki/types/message_approve_add_x_509_root_cert_test.go b/x/pki/types/message_approve_add_x_509_root_cert_test.go index 3c8bf4653..18cdff2fc 100644 --- a/x/pki/types/message_approve_add_x_509_root_cert_test.go +++ b/x/pki/types/message_approve_add_x_509_root_cert_test.go @@ -3,9 +3,9 @@ package types import ( "testing" + tmrand "github.com/cometbft/cometbft/libs/rand" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - tmrand "github.com/tendermint/tendermint/libs/rand" testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/sample" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" diff --git a/x/pki/types/message_approve_revoke_x_509_root_cert_test.go b/x/pki/types/message_approve_revoke_x_509_root_cert_test.go index 8f2e67680..d6a5cbee5 100644 --- a/x/pki/types/message_approve_revoke_x_509_root_cert_test.go +++ b/x/pki/types/message_approve_revoke_x_509_root_cert_test.go @@ -3,9 +3,9 @@ package types import ( "testing" + tmrand "github.com/cometbft/cometbft/libs/rand" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - tmrand "github.com/tendermint/tendermint/libs/rand" testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/sample" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" diff --git a/x/pki/types/message_assign_vid_test.go b/x/pki/types/message_assign_vid_test.go index 500dfc5d5..b9d0b85e9 100644 --- a/x/pki/types/message_assign_vid_test.go +++ b/x/pki/types/message_assign_vid_test.go @@ -3,9 +3,9 @@ package types import ( "testing" + tmrand "github.com/cometbft/cometbft/libs/rand" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - tmrand "github.com/tendermint/tendermint/libs/rand" testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/sample" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" diff --git a/x/pki/types/message_propose_add_x_509_root_cert_test.go b/x/pki/types/message_propose_add_x_509_root_cert_test.go index a57593a09..66a7cae2e 100644 --- a/x/pki/types/message_propose_add_x_509_root_cert_test.go +++ b/x/pki/types/message_propose_add_x_509_root_cert_test.go @@ -3,9 +3,9 @@ package types import ( "testing" + tmrand "github.com/cometbft/cometbft/libs/rand" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - tmrand "github.com/tendermint/tendermint/libs/rand" testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/sample" pkitypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/pki" diff --git a/x/pki/types/message_propose_revoke_x_509_root_cert_test.go b/x/pki/types/message_propose_revoke_x_509_root_cert_test.go index 36aee6d85..64f1c2ee8 100644 --- a/x/pki/types/message_propose_revoke_x_509_root_cert_test.go +++ b/x/pki/types/message_propose_revoke_x_509_root_cert_test.go @@ -3,9 +3,9 @@ package types import ( "testing" + tmrand "github.com/cometbft/cometbft/libs/rand" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - tmrand "github.com/tendermint/tendermint/libs/rand" testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/sample" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" diff --git a/x/pki/types/message_revoke_x_509_cert_test.go b/x/pki/types/message_revoke_x_509_cert_test.go index 43f7b783b..447ac1454 100644 --- a/x/pki/types/message_revoke_x_509_cert_test.go +++ b/x/pki/types/message_revoke_x_509_cert_test.go @@ -3,9 +3,9 @@ package types import ( "testing" + tmrand "github.com/cometbft/cometbft/libs/rand" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - tmrand "github.com/tendermint/tendermint/libs/rand" testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/sample" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" diff --git a/x/pki/types/pki_revocation_distribution_point.pb.go b/x/pki/types/pki_revocation_distribution_point.pb.go index 746912638..6e4738883 100644 --- a/x/pki/types/pki_revocation_distribution_point.pb.go +++ b/x/pki/types/pki_revocation_distribution_point.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/pki/types/pki_revocation_distribution_points_by_issuer_subject_key_id.pb.go b/x/pki/types/pki_revocation_distribution_points_by_issuer_subject_key_id.pb.go index 53bff1797..c53f6b976 100644 --- a/x/pki/types/pki_revocation_distribution_points_by_issuer_subject_key_id.pb.go +++ b/x/pki/types/pki_revocation_distribution_points_by_issuer_subject_key_id.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/pki/types/proposed_certificate.pb.go b/x/pki/types/proposed_certificate.pb.go index de2e71851..d801e0f5a 100644 --- a/x/pki/types/proposed_certificate.pb.go +++ b/x/pki/types/proposed_certificate.pb.go @@ -6,8 +6,8 @@ package types import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/pki/types/proposed_certificate_revocation.pb.go b/x/pki/types/proposed_certificate_revocation.pb.go index 5028764d0..00683dcaf 100644 --- a/x/pki/types/proposed_certificate_revocation.pb.go +++ b/x/pki/types/proposed_certificate_revocation.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/pki/types/query.pb.go b/x/pki/types/query.pb.go index 09c416583..400301b7e 100644 --- a/x/pki/types/query.pb.go +++ b/x/pki/types/query.pb.go @@ -8,9 +8,9 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" query "github.com/cosmos/cosmos-sdk/types/query" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/pki/types/rejected_certificate.pb.go b/x/pki/types/rejected_certificate.pb.go index 05b937881..7c9c0a12a 100644 --- a/x/pki/types/rejected_certificate.pb.go +++ b/x/pki/types/rejected_certificate.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/pki/types/revoked_certificates.pb.go b/x/pki/types/revoked_certificates.pb.go index 86bab8093..e3fd339b4 100644 --- a/x/pki/types/revoked_certificates.pb.go +++ b/x/pki/types/revoked_certificates.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/pki/types/revoked_root_certificates.pb.go b/x/pki/types/revoked_root_certificates.pb.go index 26422f375..299017e96 100644 --- a/x/pki/types/revoked_root_certificates.pb.go +++ b/x/pki/types/revoked_root_certificates.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/pki/types/tx.pb.go b/x/pki/types/tx.pb.go index c0731c952..c450f59c9 100644 --- a/x/pki/types/tx.pb.go +++ b/x/pki/types/tx.pb.go @@ -7,9 +7,9 @@ import ( context "context" fmt "fmt" _ "github.com/cosmos/cosmos-proto" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/x/pki/types/unique_certificate.pb.go b/x/pki/types/unique_certificate.pb.go index abf679f97..c3f5b2c52 100644 --- a/x/pki/types/unique_certificate.pb.go +++ b/x/pki/types/unique_certificate.pb.go @@ -5,7 +5,7 @@ package types import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/validator/abci.go b/x/validator/abci.go index 4657b53b2..51b5b52c1 100644 --- a/x/validator/abci.go +++ b/x/validator/abci.go @@ -4,10 +4,10 @@ import ( "fmt" "time" + abci "github.com/cometbft/cometbft/abci/types" "github.com/cosmos/cosmos-sdk/telemetry" sdk "github.com/cosmos/cosmos-sdk/types" evidencetypes "github.com/cosmos/cosmos-sdk/x/evidence/types" - abci "github.com/tendermint/tendermint/abci/types" "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/types" ) @@ -19,7 +19,7 @@ func BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock, k keeper.Keeper) // (double signing, light client attack, etc.) for _, tmEvidence := range req.ByzantineValidators { switch tmEvidence.Type { - case abci.EvidenceType_DUPLICATE_VOTE, abci.EvidenceType_LIGHT_CLIENT_ATTACK: + case abci.MisbehaviorType_DUPLICATE_VOTE, abci.MisbehaviorType_LIGHT_CLIENT_ATTACK: evidence := evidencetypes.FromABCIEvidence(tmEvidence) k.HandleDoubleSign(ctx, evidence.(*evidencetypes.Equivocation)) default: diff --git a/x/validator/client/cli/query_disabled_validator.go b/x/validator/client/cli/query_disabled_validator.go index 5b7d50836..18b2e31ab 100644 --- a/x/validator/client/cli/query_disabled_validator.go +++ b/x/validator/client/cli/query_disabled_validator.go @@ -16,7 +16,10 @@ func CmdListDisabledValidator() *cobra.Command { Use: "all-disabled-nodes", Short: "Query the list of all disabled validators", RunE: func(cmd *cobra.Command, args []string) error { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } pageReq, err := client.ReadPageRequest(cmd.Flags()) if err != nil { @@ -55,7 +58,10 @@ func CmdShowDisabledValidator() *cobra.Command { Short: "Query disabled validator by address", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) (err error) { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } var res types.DisabledValidator diff --git a/x/validator/client/cli/query_disabled_validator_test.go b/x/validator/client/cli/query_disabled_validator_test.go index 81445cc61..a90c36e24 100644 --- a/x/validator/client/cli/query_disabled_validator_test.go +++ b/x/validator/client/cli/query_disabled_validator_test.go @@ -5,10 +5,10 @@ import ( "strconv" "testing" + tmcli "github.com/cometbft/cometbft/libs/cli" "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" cliutils "github.com/zigbee-alliance/distributed-compliance-ledger/utils/cli" diff --git a/x/validator/client/cli/query_last_validator_power.go b/x/validator/client/cli/query_last_validator_power.go index 3cfec250c..1a09868b7 100644 --- a/x/validator/client/cli/query_last_validator_power.go +++ b/x/validator/client/cli/query_last_validator_power.go @@ -17,7 +17,10 @@ func CmdListLastValidatorPower() *cobra.Command { Use: "all-last-powers", Short: "list all LastValidatorPower", RunE: func(cmd *cobra.Command, args []string) error { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } pageReq, err := client.ReadPageRequest(cmd.Flags()) if err != nil { @@ -54,7 +57,10 @@ func CmdShowLastValidatorPower() *cobra.Command { Short: "shows a LastValidatorPower", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) (err error) { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } addr, err := sdk.ValAddressFromBech32(viper.GetString(FlagAddress)) if err != nil { diff --git a/x/validator/client/cli/query_last_validator_power_test.go b/x/validator/client/cli/query_last_validator_power_test.go index a41e3eca9..8b0854dd9 100644 --- a/x/validator/client/cli/query_last_validator_power_test.go +++ b/x/validator/client/cli/query_last_validator_power_test.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" + tmcli "github.com/cometbft/cometbft/libs/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/network" "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/client/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/types" diff --git a/x/validator/client/cli/query_proposed_disable_validator.go b/x/validator/client/cli/query_proposed_disable_validator.go index 69d384a54..350828fe4 100644 --- a/x/validator/client/cli/query_proposed_disable_validator.go +++ b/x/validator/client/cli/query_proposed_disable_validator.go @@ -16,7 +16,10 @@ func CmdListProposedDisableValidator() *cobra.Command { Use: "all-proposed-disable-nodes", Short: "Query the list of all proposed disable validators", RunE: func(cmd *cobra.Command, args []string) error { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } pageReq, err := client.ReadPageRequest(cmd.Flags()) if err != nil { @@ -55,7 +58,10 @@ func CmdShowProposedDisableValidator() *cobra.Command { Short: "Query proposed disable validator by address", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) (err error) { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } var res types.ProposedDisableValidator diff --git a/x/validator/client/cli/query_proposed_disable_validator_test.go b/x/validator/client/cli/query_proposed_disable_validator_test.go index fdad1b67f..935e10eeb 100644 --- a/x/validator/client/cli/query_proposed_disable_validator_test.go +++ b/x/validator/client/cli/query_proposed_disable_validator_test.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" + tmcli "github.com/cometbft/cometbft/libs/cli" testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/network" diff --git a/x/validator/client/cli/query_rejected_node.go b/x/validator/client/cli/query_rejected_node.go index d7fddc962..5bb41249e 100644 --- a/x/validator/client/cli/query_rejected_node.go +++ b/x/validator/client/cli/query_rejected_node.go @@ -17,7 +17,10 @@ func CmdListRejectedNode() *cobra.Command { Use: "all-rejected-disable-nodes", Short: "Query the list of all rejected disable validators", RunE: func(cmd *cobra.Command, args []string) error { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } pageReq, err := client.ReadPageRequest(cmd.Flags()) if err != nil { @@ -51,7 +54,10 @@ func CmdShowRejectedNode() *cobra.Command { Short: "Query rejected disable validator by address", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) (err error) { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } addr, err := sdk.ValAddressFromBech32(viper.GetString(FlagAddress)) if err != nil { diff --git a/x/validator/client/cli/query_rejected_node_test.go b/x/validator/client/cli/query_rejected_node_test.go index 56274b8c8..0032ad807 100644 --- a/x/validator/client/cli/query_rejected_node_test.go +++ b/x/validator/client/cli/query_rejected_node_test.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" + tmcli "github.com/cometbft/cometbft/libs/cli" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/x/validator/client/cli/query_validator.go b/x/validator/client/cli/query_validator.go index 04fdf5d5d..548e37c56 100644 --- a/x/validator/client/cli/query_validator.go +++ b/x/validator/client/cli/query_validator.go @@ -57,7 +57,10 @@ func CmdShowValidator() *cobra.Command { Short: "shows a Validator", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) (err error) { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } addr, err := sdk.ValAddressFromBech32(viper.GetString(FlagAddress)) if err != nil { diff --git a/x/validator/client/cli/query_validator_test.go b/x/validator/client/cli/query_validator_test.go index 3fe3791bc..414c4b25a 100644 --- a/x/validator/client/cli/query_validator_test.go +++ b/x/validator/client/cli/query_validator_test.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" + tmcli "github.com/cometbft/cometbft/libs/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/network" "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/client/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/types" diff --git a/x/validator/client/cli/tx_create_validator.go b/x/validator/client/cli/tx_create_validator.go index 3251b8091..271bcaf5f 100644 --- a/x/validator/client/cli/tx_create_validator.go +++ b/x/validator/client/cli/tx_create_validator.go @@ -28,8 +28,10 @@ func CmdCreateValidator() *cobra.Command { return err } - txf := tx.NewFactoryCLI(clientCtx, cmd.Flags()). - WithTxConfig(clientCtx.TxConfig).WithAccountRetriever(clientCtx.AccountRetriever) + txf, err := tx.NewFactoryCLI(clientCtx, cmd.Flags()) + if err != nil { + return err + } _, msg, err := newBuildCreateValidatorMsg(clientCtx, txf, cmd.Flags()) if err != nil { return err diff --git a/x/validator/genesis.go b/x/validator/genesis.go index 2aec9b691..5c85dac0e 100644 --- a/x/validator/genesis.go +++ b/x/validator/genesis.go @@ -1,10 +1,10 @@ package validator import ( + abci "github.com/cometbft/cometbft/abci/types" + tmtypes "github.com/cometbft/cometbft/types" cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" sdk "github.com/cosmos/cosmos-sdk/types" - abci "github.com/tendermint/tendermint/abci/types" - tmtypes "github.com/tendermint/tendermint/types" "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/types" ) diff --git a/x/validator/keeper/keeper.go b/x/validator/keeper/keeper.go index 584a6430e..fc7577875 100644 --- a/x/validator/keeper/keeper.go +++ b/x/validator/keeper/keeper.go @@ -4,17 +4,18 @@ import ( "fmt" "math" + "github.com/cometbft/cometbft/libs/log" "github.com/cosmos/cosmos-sdk/codec" + storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tendermint/tendermint/libs/log" "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/types" ) type ( Keeper struct { cdc codec.BinaryCodec - storeKey sdk.StoreKey - memKey sdk.StoreKey + storeKey storetypes.StoreKey + memKey storetypes.StoreKey dclauthKeeper types.DclauthKeeper } @@ -23,7 +24,7 @@ type ( func NewKeeper( cdc codec.BinaryCodec, storeKey, - memKey sdk.StoreKey, + memKey storetypes.StoreKey, dclauthKeeper types.DclauthKeeper, ) *Keeper { diff --git a/x/validator/keeper/msg_server_create_validator.go b/x/validator/keeper/msg_server_create_validator.go index ffb1c6755..9cd17be2a 100644 --- a/x/validator/keeper/msg_server_create_validator.go +++ b/x/validator/keeper/msg_server_create_validator.go @@ -3,11 +3,11 @@ package keeper import ( "context" + tmstrings "github.com/cometbft/cometbft/libs/strings" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" sdkstakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - tmstrings "github.com/tendermint/tendermint/libs/strings" dclauthtypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/types" ) diff --git a/x/validator/keeper/process_malicious_test.go b/x/validator/keeper/process_malicious_test.go index 8b6a60114..8704bc8a4 100644 --- a/x/validator/keeper/process_malicious_test.go +++ b/x/validator/keeper/process_malicious_test.go @@ -9,8 +9,8 @@ package keeper_test // slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" // "github.com/stretchr/testify/require" -// // abci "github.com/tendermint/tendermint/abci/types" -// tmproto "github.com/tendermint/tendermint/proto/tendermint/types" +// // abci "github.com/cometbft/cometbft/abci/types" +// tmproto "github.com/cometbft/cometbft/proto/tendermint/types" // testkeeper "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/keeper" // "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/types" // ) diff --git a/x/validator/keeper/process_validator_set_change.go b/x/validator/keeper/process_validator_set_change.go index f62f091ac..ca8e8ab03 100644 --- a/x/validator/keeper/process_validator_set_change.go +++ b/x/validator/keeper/process_validator_set_change.go @@ -1,8 +1,8 @@ package keeper import ( + abci "github.com/cometbft/cometbft/abci/types" sdk "github.com/cosmos/cosmos-sdk/types" - abci "github.com/tendermint/tendermint/abci/types" "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/types" ) diff --git a/x/validator/module.go b/x/validator/module.go index db47d86d1..9b80561a6 100644 --- a/x/validator/module.go +++ b/x/validator/module.go @@ -5,6 +5,7 @@ import ( "encoding/json" "fmt" + abci "github.com/cometbft/cometbft/abci/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" cdctypes "github.com/cosmos/cosmos-sdk/codec/types" @@ -13,7 +14,6 @@ import ( "github.com/gorilla/mux" "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" - abci "github.com/tendermint/tendermint/abci/types" "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/client/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/types" @@ -113,19 +113,6 @@ func (am AppModule) Name() string { return am.AppModuleBasic.Name() } -// Route returns the validator module's message routing key. -func (am AppModule) Route() sdk.Route { - return sdk.NewRoute(types.RouterKey, NewHandler(am.keeper)) -} - -// QuerierRoute returns the validator module's query routing key. -func (AppModule) QuerierRoute() string { return types.QuerierRoute } - -// LegacyQuerierHandler returns the validator module's Querier. -func (am AppModule) LegacyQuerierHandler(legacyQuerierCdc *codec.LegacyAmino) sdk.Querier { - return nil -} - // RegisterServices registers a GRPC query service to respond to the // module-specific GRPC queries. func (am AppModule) RegisterServices(cfg module.Configurator) { diff --git a/x/validator/module_simulation.go b/x/validator/module_simulation.go index 958bdfcd6..774513e66 100644 --- a/x/validator/module_simulation.go +++ b/x/validator/module_simulation.go @@ -4,7 +4,6 @@ import ( "math/rand" "github.com/cosmos/cosmos-sdk/baseapp" - simappparams "github.com/cosmos/cosmos-sdk/simapp/params" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" @@ -18,7 +17,6 @@ import ( var ( _ = sample.AccAddress _ = validatorsimulation.FindAccount - _ = simappparams.StakePerAccount _ = simulation.MsgEntryKind _ = baseapp.Paramspace ) @@ -64,11 +62,6 @@ func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedP return nil } -// RandomizedParams creates randomized param changes for the simulator. -func (am AppModule) RandomizedParams(_ *rand.Rand) []simtypes.ParamChange { - return []simtypes.ParamChange{} -} - // RegisterStoreDecoder registers a decoder. func (am AppModule) RegisterStoreDecoder(_ sdk.StoreDecoderRegistry) {} diff --git a/x/validator/types/description.pb.go b/x/validator/types/description.pb.go index e45ee7439..575ac1ebe 100644 --- a/x/validator/types/description.pb.go +++ b/x/validator/types/description.pb.go @@ -5,8 +5,8 @@ package types import ( fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/validator/types/disabled_validator.pb.go b/x/validator/types/disabled_validator.pb.go index fb5c5da55..db458854f 100644 --- a/x/validator/types/disabled_validator.pb.go +++ b/x/validator/types/disabled_validator.pb.go @@ -6,7 +6,7 @@ package types import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/validator/types/genesis.pb.go b/x/validator/types/genesis.pb.go index f423d08df..b1c971bcf 100644 --- a/x/validator/types/genesis.pb.go +++ b/x/validator/types/genesis.pb.go @@ -5,8 +5,8 @@ package types import ( fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/validator/types/grant.pb.go b/x/validator/types/grant.pb.go index 7ebe37b3d..cdd3e4483 100644 --- a/x/validator/types/grant.pb.go +++ b/x/validator/types/grant.pb.go @@ -6,7 +6,7 @@ package types import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/validator/types/last_validator_power.pb.go b/x/validator/types/last_validator_power.pb.go index aa441be3d..473badadc 100644 --- a/x/validator/types/last_validator_power.pb.go +++ b/x/validator/types/last_validator_power.pb.go @@ -6,8 +6,8 @@ package types import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/validator/types/proposed_disable_validator.pb.go b/x/validator/types/proposed_disable_validator.pb.go index 042a1ae3d..9d80a84c6 100644 --- a/x/validator/types/proposed_disable_validator.pb.go +++ b/x/validator/types/proposed_disable_validator.pb.go @@ -6,7 +6,7 @@ package types import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/validator/types/query.pb.go b/x/validator/types/query.pb.go index 00bae9a7a..e70f1ff65 100644 --- a/x/validator/types/query.pb.go +++ b/x/validator/types/query.pb.go @@ -8,9 +8,9 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" query "github.com/cosmos/cosmos-sdk/types/query" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/validator/types/rejected_validator.pb.go b/x/validator/types/rejected_validator.pb.go index fcd4d20e8..ebc51c6f9 100644 --- a/x/validator/types/rejected_validator.pb.go +++ b/x/validator/types/rejected_validator.pb.go @@ -7,7 +7,7 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" sdk "github.com/cosmos/cosmos-sdk/types" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/validator/types/tx.pb.go b/x/validator/types/tx.pb.go index f65428632..8c0811aa7 100644 --- a/x/validator/types/tx.pb.go +++ b/x/validator/types/tx.pb.go @@ -8,9 +8,9 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" types "github.com/cosmos/cosmos-sdk/codec/types" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/x/validator/types/validator.go b/x/validator/types/validator.go index 7e5af1241..814e1f860 100644 --- a/x/validator/types/validator.go +++ b/x/validator/types/validator.go @@ -1,14 +1,14 @@ package types import ( + abci "github.com/cometbft/cometbft/abci/types" + tmprotocrypto "github.com/cometbft/cometbft/proto/tendermint/crypto" "github.com/cosmos/cosmos-sdk/codec" codectypes "github.com/cosmos/cosmos-sdk/codec/types" cryptocodec "github.com/cosmos/cosmos-sdk/crypto/codec" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - abci "github.com/tendermint/tendermint/abci/types" - tmprotocrypto "github.com/tendermint/tendermint/proto/tendermint/crypto" "sigs.k8s.io/yaml" ) diff --git a/x/validator/types/validator.pb.go b/x/validator/types/validator.pb.go index d9c7df1b5..0f9e8d2f4 100644 --- a/x/validator/types/validator.pb.go +++ b/x/validator/types/validator.pb.go @@ -7,8 +7,8 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" types "github.com/cosmos/cosmos-sdk/codec/types" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/vendorinfo/client/cli/query_vendor_info.go b/x/vendorinfo/client/cli/query_vendor_info.go index 6da8acd2d..a5f8d1d39 100644 --- a/x/vendorinfo/client/cli/query_vendor_info.go +++ b/x/vendorinfo/client/cli/query_vendor_info.go @@ -15,7 +15,10 @@ func CmdListVendorInfo() *cobra.Command { Use: "all-vendors", Short: "Get information about all vendors", RunE: func(cmd *cobra.Command, args []string) error { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } pageReq, err := client.ReadPageRequest(cmd.Flags()) if err != nil { @@ -54,7 +57,10 @@ func CmdShowVendorInfo() *cobra.Command { Short: "Get vendor details for the given vendorID", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) (err error) { - clientCtx := client.GetClientContextFromCmd(cmd) + clientCtx, err := client.GetClientQueryContext(cmd) + if err != nil { + return err + } var res types.VendorInfo return cli.QueryWithProof( diff --git a/x/vendorinfo/client/cli/query_vendor_info_test.go b/x/vendorinfo/client/cli/query_vendor_info_test.go index 22b30c4c6..ec3634895 100644 --- a/x/vendorinfo/client/cli/query_vendor_info_test.go +++ b/x/vendorinfo/client/cli/query_vendor_info_test.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/stretchr/testify/require" - tmcli "github.com/tendermint/tendermint/libs/cli" + tmcli "github.com/cometbft/cometbft/libs/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/network" "github.com/zigbee-alliance/distributed-compliance-ledger/x/vendorinfo/client/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/x/vendorinfo/types" diff --git a/x/vendorinfo/keeper/keeper.go b/x/vendorinfo/keeper/keeper.go index 5be62eaea..347fc9156 100644 --- a/x/vendorinfo/keeper/keeper.go +++ b/x/vendorinfo/keeper/keeper.go @@ -3,17 +3,18 @@ package keeper import ( "fmt" + "github.com/cometbft/cometbft/libs/log" "github.com/cosmos/cosmos-sdk/codec" + storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/tendermint/tendermint/libs/log" "github.com/zigbee-alliance/distributed-compliance-ledger/x/vendorinfo/types" ) type ( Keeper struct { cdc codec.BinaryCodec - storeKey sdk.StoreKey - memKey sdk.StoreKey + storeKey storetypes.StoreKey + memKey storetypes.StoreKey dclauthKeeper types.DclauthKeeper } @@ -22,7 +23,7 @@ type ( func NewKeeper( cdc codec.BinaryCodec, storeKey, - memKey sdk.StoreKey, + memKey storetypes.StoreKey, dclauthKeeper types.DclauthKeeper, ) *Keeper { diff --git a/x/vendorinfo/module.go b/x/vendorinfo/module.go index c2dd0086b..244e89585 100644 --- a/x/vendorinfo/module.go +++ b/x/vendorinfo/module.go @@ -5,6 +5,7 @@ import ( "encoding/json" "fmt" + abci "github.com/cometbft/cometbft/abci/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" cdctypes "github.com/cosmos/cosmos-sdk/codec/types" @@ -13,7 +14,6 @@ import ( "github.com/gorilla/mux" "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" - abci "github.com/tendermint/tendermint/abci/types" "github.com/zigbee-alliance/distributed-compliance-ledger/x/vendorinfo/client/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/x/vendorinfo/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/x/vendorinfo/types" @@ -112,19 +112,6 @@ func (am AppModule) Name() string { return am.AppModuleBasic.Name() } -// Route returns the vendorinfo module's message routing key. -func (am AppModule) Route() sdk.Route { - return sdk.NewRoute(types.RouterKey, NewHandler(am.keeper)) -} - -// QuerierRoute returns the vendorinfo module's query routing key. -func (AppModule) QuerierRoute() string { return types.QuerierRoute } - -// LegacyQuerierHandler returns the vendorinfo module's Querier. -func (am AppModule) LegacyQuerierHandler(legacyQuerierCdc *codec.LegacyAmino) sdk.Querier { - return nil -} - // RegisterServices registers a GRPC query service to respond to the // module-specific GRPC queries. func (am AppModule) RegisterServices(cfg module.Configurator) { diff --git a/x/vendorinfo/types/genesis.pb.go b/x/vendorinfo/types/genesis.pb.go index 5d604acf9..c5735874f 100644 --- a/x/vendorinfo/types/genesis.pb.go +++ b/x/vendorinfo/types/genesis.pb.go @@ -5,8 +5,8 @@ package types import ( fmt "fmt" - _ "github.com/gogo/protobuf/gogoproto" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" diff --git a/x/vendorinfo/types/messages_vendor_info_test.go b/x/vendorinfo/types/messages_vendor_info_test.go index a00624054..54090d47c 100644 --- a/x/vendorinfo/types/messages_vendor_info_test.go +++ b/x/vendorinfo/types/messages_vendor_info_test.go @@ -3,9 +3,9 @@ package types import ( "testing" + tmrand "github.com/cometbft/cometbft/libs/rand" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" - tmrand "github.com/tendermint/tendermint/libs/rand" testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/sample" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" diff --git a/x/vendorinfo/types/query.pb.go b/x/vendorinfo/types/query.pb.go index 29250a0b8..7544b3fd6 100644 --- a/x/vendorinfo/types/query.pb.go +++ b/x/vendorinfo/types/query.pb.go @@ -7,9 +7,9 @@ import ( context "context" fmt "fmt" query "github.com/cosmos/cosmos-sdk/types/query" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" diff --git a/x/vendorinfo/types/tx.pb.go b/x/vendorinfo/types/tx.pb.go index 2f7e5a1cd..13663cb6d 100644 --- a/x/vendorinfo/types/tx.pb.go +++ b/x/vendorinfo/types/tx.pb.go @@ -7,9 +7,9 @@ import ( context "context" fmt "fmt" _ "github.com/cosmos/cosmos-proto" - _ "github.com/gogo/protobuf/gogoproto" - grpc1 "github.com/gogo/protobuf/grpc" - proto "github.com/gogo/protobuf/proto" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/x/vendorinfo/types/vendor_info.pb.go b/x/vendorinfo/types/vendor_info.pb.go index bc0e33451..29a52aa8e 100644 --- a/x/vendorinfo/types/vendor_info.pb.go +++ b/x/vendorinfo/types/vendor_info.pb.go @@ -6,7 +6,7 @@ package types import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" - proto "github.com/gogo/protobuf/proto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" From 153cb7b542661bf428248442cc9e420212055b36 Mon Sep 17 00:00:00 2001 From: Abdulbois Date: Tue, 23 Jan 2024 21:30:48 +0500 Subject: [PATCH 02/29] #303 Upgrade Cosmos-SDK to v0.47.3 Change package names Signed-off-by: Abdulbois Signed-off-by: Abdulbois --- app/app.go | 2 +- buf.work.yaml | 3 + cmd/dcld/cmd/root.go | 14 +- config.yml | 56 +- go.mod | 191 +- go.sum | 1907 ++++------------- integration_tests/constants/constants.go | 5 +- .../grpc_rest/compliance/helpers.go | 189 +- .../grpc_rest/dclauth/helpers.go | 86 +- integration_tests/utils/sign_helper.go | 2 +- proto/buf.gen.gogo.yaml | 20 + proto/buf.gen.pulsar.yaml | 19 + proto/buf.gen.sta.yaml | 15 + proto/buf.gen.swagger.yaml | 16 + proto/buf.gen.ts.yaml | 18 + proto/buf.lock | 31 + proto/buf.yaml | 29 + proto/common/{ => types}/uint16_range.proto | 2 +- .../{ => types}/certified_model.proto | 2 +- .../{ => types}/compliance_history_item.proto | 2 +- .../{ => types}/compliance_info.proto | 4 +- .../device_software_compliance.proto | 4 +- proto/compliance/{ => types}/genesis.proto | 12 +- .../{ => types}/provisional_model.proto | 2 +- proto/compliance/{ => types}/query.proto | 12 +- .../{ => types}/revoked_model.proto | 2 +- proto/compliance/{ => types}/tx.proto | 2 +- proto/dclauth/{ => types}/account.proto | 8 +- proto/dclauth/{ => types}/account_stat.proto | 2 +- proto/dclauth/{ => types}/genesis.proto | 14 +- proto/dclauth/{ => types}/grant.proto | 2 +- .../dclauth/{ => types}/pending_account.proto | 4 +- .../pending_account_revocation.proto | 4 +- proto/dclauth/{ => types}/query.proto | 14 +- .../{ => types}/rejected_account.proto | 6 +- .../dclauth/{ => types}/revoked_account.proto | 6 +- proto/dclauth/{ => types}/tx.proto | 6 +- proto/dclgenutil/{ => types}/genesis.proto | 2 +- proto/dclgenutil/{ => types}/query.proto | 2 +- proto/dclgenutil/{ => types}/tx.proto | 2 +- .../{ => types}/approved_upgrade.proto | 4 +- proto/dclupgrade/{ => types}/genesis.proto | 8 +- proto/dclupgrade/{ => types}/grant.proto | 2 +- .../{ => types}/proposed_upgrade.proto | 4 +- proto/dclupgrade/{ => types}/query.proto | 8 +- .../{ => types}/rejected_upgrade.proto | 4 +- proto/dclupgrade/{ => types}/tx.proto | 2 +- proto/model/{ => types}/genesis.proto | 10 +- proto/model/{ => types}/model.proto | 2 +- proto/model/{ => types}/model_version.proto | 2 +- proto/model/{ => types}/model_versions.proto | 2 +- proto/model/{ => types}/product.proto | 2 +- proto/model/{ => types}/query.proto | 10 +- proto/model/{ => types}/tx.proto | 6 +- proto/model/{ => types}/vendor_products.proto | 4 +- .../{ => types}/approved_certificates.proto | 4 +- .../approved_certificates_by_subject.proto | 2 +- ...roved_certificates_by_subject_key_id.proto | 4 +- .../approved_root_certificates.proto | 4 +- proto/pki/{ => types}/certificate.proto | 4 +- .../{ => types}/certificate_identifier.proto | 2 +- .../pki/{ => types}/child_certificates.proto | 4 +- proto/pki/{ => types}/genesis.proto | 28 +- proto/pki/{ => types}/grant.proto | 2 +- .../pki_revocation_distribution_point.proto | 2 +- ...tion_points_by_issuer_subject_key_id.proto | 4 +- .../{ => types}/proposed_certificate.proto | 4 +- .../proposed_certificate_revocation.proto | 4 +- proto/pki/{ => types}/query.proto | 24 +- .../{ => types}/rejected_certificate.proto | 4 +- .../{ => types}/revoked_certificates.proto | 4 +- .../revoked_root_certificates.proto | 4 +- proto/pki/{ => types}/tx.proto | 2 +- .../pki/{ => types}/unique_certificate.proto | 2 +- proto/validator/{ => types}/description.proto | 2 +- .../{ => types}/disabled_validator.proto | 4 +- proto/validator/{ => types}/genesis.proto | 12 +- proto/validator/{ => types}/grant.proto | 2 +- .../{ => types}/last_validator_power.proto | 2 +- .../proposed_disable_validator.proto | 4 +- proto/validator/{ => types}/query.proto | 12 +- .../{ => types}/rejected_validator.proto | 4 +- proto/validator/{ => types}/tx.proto | 4 +- proto/validator/{ => types}/validator.proto | 4 +- proto/vendorinfo/{ => types}/genesis.proto | 4 +- proto/vendorinfo/{ => types}/query.proto | 4 +- proto/vendorinfo/{ => types}/tx.proto | 4 +- .../vendorinfo/{ => types}/vendor_info.proto | 2 +- testutil/keeper/model.go | 2 +- .../proto/cosmos/auth/v1beta1/auth.proto | 50 - .../proto/cosmos/base/abci/v1beta1/abci.proto | 137 -- .../base/query/v1beta1/pagination.proto | 55 - .../cosmos/upgrade/v1beta1/upgrade.proto | 78 - third_party/proto/cosmos_proto/cosmos.proto | 18 - third_party/proto/gogoproto/gogo.proto | 145 -- .../proto/google/api/annotations.proto | 31 - third_party/proto/google/api/http.proto | 318 --- third_party/proto/google/api/httpbody.proto | 78 - third_party/proto/google/protobuf/any.proto | 164 -- third_party/proto/tendermint/abci/types.proto | 407 ---- .../proto/tendermint/crypto/keys.proto | 17 - .../proto/tendermint/crypto/proof.proto | 41 - .../proto/tendermint/libs/bits/types.proto | 9 - third_party/proto/tendermint/p2p/types.proto | 34 - .../proto/tendermint/types/block.proto | 15 - .../proto/tendermint/types/evidence.proto | 38 - .../proto/tendermint/types/params.proto | 80 - .../proto/tendermint/types/types.proto | 157 -- .../proto/tendermint/types/validator.proto | 25 - .../proto/tendermint/version/types.proto | 24 - tools/tools.go | 1 + x/common/types/uint16_range.pb.go | 43 +- .../client/cli/query_compliance_info.go | 3 +- x/compliance/genesis_test.go | 3 +- x/compliance/handler_certify_model_test.go | 17 +- .../handler_delete_compliance_info_test.go | 3 +- x/compliance/handler_provision_model_test.go | 5 +- x/compliance/handler_revoke_model_test.go | 15 +- x/compliance/handler_test.go | 25 +- .../handler_update_compliance_info_test.go | 11 +- x/compliance/keeper/compliance_info.go | 3 +- x/compliance/keeper/compliance_info_test.go | 2 +- .../keeper/grpc_query_compliance_info.go | 7 +- .../keeper/msg_server_certify_model.go | 3 +- .../keeper/msg_server_provision_model.go | 3 +- .../keeper/msg_server_revoke_model.go | 3 +- x/compliance/types/certified_model.pb.go | 48 +- .../types}/compliance_history_item.pb.go | 47 +- .../compliance/types}/compliance_info.go | 0 .../compliance/types}/compliance_info.pb.go | 89 +- .../types/device_software_compliance.pb.go | 51 +- x/compliance/types/genesis.go | 4 +- x/compliance/types/genesis.pb.go | 77 +- x/compliance/types/message_certify_model.go | 9 +- .../types/message_delete_compliance_info.go | 5 +- x/compliance/types/message_provision_model.go | 9 +- x/compliance/types/message_revoke_model.go | 5 +- .../types/message_update_compliance_info.go | 9 +- x/compliance/types/provisional_model.pb.go | 45 +- x/compliance/types/query.pb.go | 289 ++- x/compliance/types/query.pb.gw.go | 22 +- x/compliance/types/revoked_model.pb.go | 48 +- x/compliance/types/tx.pb.go | 219 +- .../compliance/types}/types.go | 0 x/dclauth/ante/ante.go | 1 - x/dclauth/base/keeper/grpc_query_account.go | 38 +- x/dclauth/module.go | 8 +- x/dclauth/types/account.pb.go | 63 +- x/dclauth/types/account_stat.pb.go | 37 +- x/dclauth/types/genesis.pb.go | 61 +- x/dclauth/types/grant.pb.go | 43 +- x/dclauth/types/pending_account.pb.go | 43 +- .../types/pending_account_revocation.pb.go | 49 +- x/dclauth/types/query.pb.go | 282 ++- x/dclauth/types/query.pb.gw.go | 24 +- x/dclauth/types/rejected_account.pb.go | 44 +- x/dclauth/types/revoked_account.pb.go | 63 +- x/dclauth/types/tx.pb.go | 167 +- x/dclgenutil/client/cli/gentx.go | 1 - x/dclgenutil/types/genesis.pb.go | 44 +- x/dclgenutil/types/query.pb.go | 37 +- x/dclgenutil/types/tx.pb.go | 33 +- x/dclupgrade/types/approved_upgrade.pb.go | 59 +- x/dclupgrade/types/genesis.pb.go | 50 +- x/dclupgrade/types/grant.pb.go | 44 +- x/dclupgrade/types/proposed_upgrade.pb.go | 59 +- x/dclupgrade/types/query.pb.go | 171 +- x/dclupgrade/types/query.pb.gw.go | 14 +- x/dclupgrade/types/rejected_upgrade.pb.go | 58 +- x/dclupgrade/types/tx.pb.go | 117 +- x/model/client/cli/tx_model_test.go | 6 +- x/model/handler_test.go | 4 +- x/model/keeper/keeper.go | 18 +- x/model/keeper/msg_server_model_version.go | 3 +- x/model/types/expected_keepers.go | 13 +- x/model/types/genesis.pb.go | 54 +- x/model/types/model.pb.go | 77 +- x/model/types/model_version.pb.go | 76 +- x/model/types/model_versions.pb.go | 40 +- x/model/types/product.pb.go | 39 +- x/model/types/query.pb.go | 168 +- x/model/types/query.pb.gw.go | 12 +- x/model/types/tx.pb.go | 254 ++- x/model/types/vendor_products.pb.go | 41 +- x/pki/types/approved_certificates.pb.go | 46 +- .../approved_certificates_by_subject.pb.go | 42 +- ...roved_certificates_by_subject_key_id.pb.go | 45 +- x/pki/types/approved_root_certificates.pb.go | 42 +- x/pki/types/certificate.pb.go | 73 +- x/pki/types/certificate_identifier.pb.go | 41 +- x/pki/types/child_certificates.pb.go | 48 +- x/pki/types/genesis.pb.go | 95 +- x/pki/types/grant.pb.go | 43 +- .../pki_revocation_distribution_point.pb.go | 59 +- ...tion_points_by_issuer_subject_key_id.pb.go | 47 +- x/pki/types/proposed_certificate.pb.go | 67 +- .../proposed_certificate_revocation.pb.go | 49 +- x/pki/types/query.pb.go | 425 ++-- x/pki/types/query.pb.gw.go | 2 +- x/pki/types/rejected_certificate.pb.go | 45 +- x/pki/types/revoked_certificates.pb.go | 46 +- x/pki/types/revoked_root_certificates.pb.go | 42 +- x/pki/types/tx.pb.go | 292 ++- x/pki/types/unique_certificate.pb.go | 44 +- x/validator/keeper/rejected_node.go | 6 +- x/validator/types/description.pb.go | 45 +- x/validator/types/disabled_validator.pb.go | 53 +- x/validator/types/genesis.pb.go | 61 +- x/validator/types/grant.pb.go | 44 +- x/validator/types/last_validator_power.pb.go | 47 +- .../types/proposed_disable_validator.pb.go | 51 +- x/validator/types/query.pb.go | 270 ++- x/validator/types/query.pb.gw.go | 22 +- x/validator/types/rejected_validator.pb.go | 60 +- x/validator/types/tx.pb.go | 175 +- x/validator/types/validator.pb.go | 62 +- x/vendorinfo/types/genesis.pb.go | 42 +- x/vendorinfo/types/query.pb.go | 95 +- x/vendorinfo/types/query.pb.gw.go | 6 +- x/vendorinfo/types/tx.pb.go | 109 +- x/vendorinfo/types/vendor_info.pb.go | 55 +- 221 files changed, 4294 insertions(+), 6924 deletions(-) create mode 100644 buf.work.yaml create mode 100644 proto/buf.gen.gogo.yaml create mode 100644 proto/buf.gen.pulsar.yaml create mode 100644 proto/buf.gen.sta.yaml create mode 100644 proto/buf.gen.swagger.yaml create mode 100644 proto/buf.gen.ts.yaml create mode 100644 proto/buf.lock create mode 100644 proto/buf.yaml rename proto/common/{ => types}/uint16_range.proto (84%) rename proto/compliance/{ => types}/certified_model.proto (81%) rename proto/compliance/{ => types}/compliance_history_item.proto (81%) rename proto/compliance/{ => types}/compliance_info.proto (89%) rename proto/compliance/{ => types}/device_software_compliance.proto (69%) rename proto/compliance/{ => types}/genesis.proto (73%) rename proto/compliance/{ => types}/provisional_model.proto (81%) rename proto/compliance/{ => types}/query.proto (95%) rename proto/compliance/{ => types}/revoked_model.proto (80%) rename proto/compliance/{ => types}/tx.proto (99%) rename proto/dclauth/{ => types}/account.proto (82%) rename proto/dclauth/{ => types}/account_stat.proto (73%) rename proto/dclauth/{ => types}/genesis.proto (73%) rename proto/dclauth/{ => types}/grant.proto (85%) rename proto/dclauth/{ => types}/pending_account.proto (80%) rename proto/dclauth/{ => types}/pending_account_revocation.proto (80%) rename proto/dclauth/{ => types}/query.proto (94%) rename proto/dclauth/{ => types}/rejected_account.proto (65%) rename proto/dclauth/{ => types}/revoked_account.proto (74%) rename proto/dclauth/{ => types}/tx.proto (95%) rename proto/dclgenutil/{ => types}/genesis.proto (89%) rename proto/dclgenutil/{ => types}/query.proto (85%) rename proto/dclgenutil/{ => types}/tx.proto (85%) rename proto/dclupgrade/{ => types}/approved_upgrade.proto (83%) rename proto/dclupgrade/{ => types}/genesis.proto (76%) rename proto/dclupgrade/{ => types}/grant.proto (84%) rename proto/dclupgrade/{ => types}/proposed_upgrade.proto (83%) rename proto/dclupgrade/{ => types}/query.proto (94%) rename proto/dclupgrade/{ => types}/rejected_upgrade.proto (83%) rename proto/dclupgrade/{ => types}/tx.proto (96%) rename proto/model/{ => types}/genesis.proto (77%) rename proto/model/{ => types}/model.proto (93%) rename proto/model/{ => types}/model_version.proto (92%) rename proto/model/{ => types}/model_versions.proto (79%) rename proto/model/{ => types}/product.proto (77%) rename proto/model/{ => types}/query.proto (92%) rename proto/model/{ => types}/tx.proto (98%) rename proto/model/{ => types}/vendor_products.proto (68%) rename proto/pki/{ => types}/approved_certificates.proto (72%) rename proto/pki/{ => types}/approved_certificates_by_subject.proto (79%) rename proto/pki/{ => types}/approved_certificates_by_subject_key_id.proto (71%) rename proto/pki/{ => types}/approved_root_certificates.proto (66%) rename proto/pki/{ => types}/certificate.proto (89%) rename proto/pki/{ => types}/certificate_identifier.proto (78%) rename proto/pki/{ => types}/child_certificates.proto (71%) rename proto/pki/{ => types}/genesis.proto (69%) rename proto/pki/{ => types}/grant.proto (85%) rename proto/pki/{ => types}/pki_revocation_distribution_point.proto (88%) rename proto/pki/{ => types}/pki_revocation_distribution_points_by_issuer_subject_key_id.proto (70%) rename proto/pki/{ => types}/proposed_certificate.proto (87%) rename proto/pki/{ => types}/proposed_certificate_revocation.proto (76%) rename proto/pki/{ => types}/query.proto (93%) rename proto/pki/{ => types}/rejected_certificate.proto (72%) rename proto/pki/{ => types}/revoked_certificates.proto (72%) rename proto/pki/{ => types}/revoked_root_certificates.proto (66%) rename proto/pki/{ => types}/tx.proto (99%) rename proto/pki/{ => types}/unique_certificate.proto (79%) rename proto/validator/{ => types}/description.proto (88%) rename proto/validator/{ => types}/disabled_validator.proto (81%) rename proto/validator/{ => types}/genesis.proto (73%) rename proto/validator/{ => types}/grant.proto (84%) rename proto/validator/{ => types}/last_validator_power.proto (88%) rename proto/validator/{ => types}/proposed_disable_validator.proto (81%) rename proto/validator/{ => types}/query.proto (94%) rename proto/validator/{ => types}/rejected_validator.proto (81%) rename proto/validator/{ => types}/tx.proto (96%) rename proto/validator/{ => types}/validator.proto (90%) rename proto/vendorinfo/{ => types}/genesis.proto (81%) rename proto/vendorinfo/{ => types}/query.proto (92%) rename proto/vendorinfo/{ => types}/tx.proto (94%) rename proto/vendorinfo/{ => types}/vendor_info.proto (86%) delete mode 100644 third_party/proto/cosmos/auth/v1beta1/auth.proto delete mode 100644 third_party/proto/cosmos/base/abci/v1beta1/abci.proto delete mode 100644 third_party/proto/cosmos/base/query/v1beta1/pagination.proto delete mode 100644 third_party/proto/cosmos/upgrade/v1beta1/upgrade.proto delete mode 100644 third_party/proto/cosmos_proto/cosmos.proto delete mode 100644 third_party/proto/gogoproto/gogo.proto delete mode 100644 third_party/proto/google/api/annotations.proto delete mode 100644 third_party/proto/google/api/http.proto delete mode 100644 third_party/proto/google/api/httpbody.proto delete mode 100644 third_party/proto/google/protobuf/any.proto delete mode 100644 third_party/proto/tendermint/abci/types.proto delete mode 100644 third_party/proto/tendermint/crypto/keys.proto delete mode 100644 third_party/proto/tendermint/crypto/proof.proto delete mode 100644 third_party/proto/tendermint/libs/bits/types.proto delete mode 100644 third_party/proto/tendermint/p2p/types.proto delete mode 100644 third_party/proto/tendermint/types/block.proto delete mode 100644 third_party/proto/tendermint/types/evidence.proto delete mode 100644 third_party/proto/tendermint/types/params.proto delete mode 100644 third_party/proto/tendermint/types/types.proto delete mode 100644 third_party/proto/tendermint/types/validator.proto delete mode 100644 third_party/proto/tendermint/version/types.proto rename {types/compliance => x/compliance/types}/compliance_history_item.pb.go (83%) rename {types/compliance => x/compliance/types}/compliance_info.go (100%) rename {types/compliance => x/compliance/types}/compliance_info.pb.go (89%) rename {types/compliance => x/compliance/types}/types.go (100%) diff --git a/app/app.go b/app/app.go index 3029af866..d665ab8f9 100644 --- a/app/app.go +++ b/app/app.go @@ -394,7 +394,7 @@ func New( keys[dclauthmoduletypes.MemStoreKey], ) - dclauthModule := dclauthmodule.NewAppModule(appCodec, app.DclauthKeeper) + dclauthModule := dclauthmodule.NewAppModule(appCodec, app.DclauthKeeper, app.BaseauthKeeper) app.ValidatorKeeper = *validatormodulekeeper.NewKeeper( appCodec, diff --git a/buf.work.yaml b/buf.work.yaml new file mode 100644 index 000000000..1878b341b --- /dev/null +++ b/buf.work.yaml @@ -0,0 +1,3 @@ +version: v1 +directories: + - proto diff --git a/cmd/dcld/cmd/root.go b/cmd/dcld/cmd/root.go index e0f8e84c2..b51e22923 100644 --- a/cmd/dcld/cmd/root.go +++ b/cmd/dcld/cmd/root.go @@ -110,16 +110,16 @@ func NewRootCmd() (*cobra.Command, appparams.EncodingConfig) { // set the default command outputs cmd.SetOut(cmd.OutOrStdout()) cmd.SetErr(cmd.ErrOrStderr()) - initClientCtx, err := client.ReadPersistentCommandFlags(initClientCtx, cmd.Flags()) + clientCtx, err := client.ReadPersistentCommandFlags(initClientCtx, cmd.Flags()) if err != nil { return err } - initClientCtx, err = config.ReadFromClientConfig(initClientCtx) + clientCtx, err = config.ReadFromClientConfig(clientCtx) if err != nil { return err } - if err := client.SetCmdClientContextHandler(initClientCtx, cmd); err != nil { + if err := client.SetCmdClientContextHandler(clientCtx, cmd); err != nil { return err } @@ -304,15 +304,15 @@ func (a appCreator) newApp( ) homeDir := cast.ToString(appOpts.Get(flags.FlagHome)) - chainID := cast.ToString(appOpts.Get(flags.FlagChainID)) - if chainID == "" { + chainID_ := cast.ToString(appOpts.Get(flags.FlagChainID)) + if chainID_ == "" { // fallback to genesis chain-id appGenesis, err := tmtypes.GenesisDocFromFile(filepath.Join(homeDir, "config", "genesis.json")) if err != nil { panic(err) } - chainID = appGenesis.ChainID + chainID_ = appGenesis.ChainID } return app.New( @@ -335,7 +335,7 @@ func (a appCreator) newApp( baseapp.SetIndexEvents(cast.ToStringSlice(appOpts.Get(server.FlagIndexEvents))), baseapp.SetSnapshot(snapshotStore, snapshotOptions), baseapp.SetIAVLCacheSize(cast.ToInt(appOpts.Get(server.FlagIAVLCacheSize))), - baseapp.SetChainID(chainID), + baseapp.SetChainID(chainID_), ) } diff --git a/config.yml b/config.yml index 387c2d031..b6ff1281b 100644 --- a/config.yml +++ b/config.yml @@ -1,33 +1,29 @@ ---- -# Copyright 2022 -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - +version: 1 +build: + main: app + proto: + path: proto + third_party_paths: + - third_party/proto + - proto_vendor accounts: - - name: alice - coins: ["20000token", "200000000stake"] - - name: bob - coins: ["10000token", "100000000stake"] -validator: - name: alice - staked: "100000000stake" -client: - # openapi: - # path: "docs/static/openapi.yml" - vuex: - path: "vue/src/store" +- name: alice + coins: + - 20000token + - 200000000stake +- name: bob + coins: + - 10000token + - 100000000stake faucet: name: bob - coins: ["5token", "100000stake"] -build: - main: "app" + coins: + - 5token + - 100000stake + host: 0.0.0.0:4500 +client: + vuex: + path: vue/src/store +validators: +- name: alice + bonded: 100000000stake diff --git a/go.mod b/go.mod index 1edc694c0..20ec9a9d6 100644 --- a/go.mod +++ b/go.mod @@ -4,28 +4,211 @@ go 1.20 require ( cosmossdk.io/api v0.3.1 + cosmossdk.io/core v0.5.1 + cosmossdk.io/math v1.0.1 + cosmossdk.io/tools/rosetta v0.2.1 + github.com/bufbuild/buf v1.7.0 github.com/cometbft/cometbft v0.37.1 github.com/cometbft/cometbft-db v0.7.0 + github.com/cosmos/cosmos-proto v1.0.0-beta.2 github.com/cosmos/cosmos-sdk v0.47.3 + github.com/cosmos/go-bip39 v1.0.0 github.com/cosmos/gogoproto v1.4.10 github.com/go-playground/locales v0.14.0 github.com/go-playground/universal-translator v0.18.0 github.com/go-playground/validator/v10 v10.9.0 + github.com/golang/protobuf v1.5.3 github.com/gorilla/mux v1.8.0 github.com/grpc-ecosystem/grpc-gateway v1.16.0 + github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.0 github.com/pkg/errors v0.9.1 github.com/spf13/cast v1.5.0 github.com/spf13/cobra v1.6.1 github.com/spf13/pflag v1.0.5 github.com/spf13/viper v1.14.0 - github.com/stretchr/testify v1.8.2 - google.golang.org/grpc v1.56.2 + github.com/stretchr/testify v1.8.4 + google.golang.org/genproto/googleapis/api v0.0.0-20240102182953-50ed04b92917 + google.golang.org/grpc v1.60.1 + google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0 + google.golang.org/protobuf v1.32.0 sigs.k8s.io/yaml v1.3.0 ) require ( - github.com/kr/pretty v0.3.1 // indirect - golang.org/x/net v0.12.0 // indirect + cloud.google.com/go v0.111.0 // indirect + cloud.google.com/go/compute v1.23.3 // indirect + cloud.google.com/go/compute/metadata v0.2.3 // indirect + cloud.google.com/go/iam v1.1.5 // indirect + cloud.google.com/go/storage v1.30.1 // indirect + cosmossdk.io/depinject v1.0.0-alpha.3 // indirect + cosmossdk.io/errors v1.0.0-beta.7 // indirect + cosmossdk.io/log v1.1.0 // indirect + filippo.io/edwards25519 v1.0.0 // indirect + github.com/99designs/keyring v1.2.1 // indirect + github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect + github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d // indirect + github.com/Microsoft/go-winio v0.6.0 // indirect + github.com/armon/go-metrics v0.4.1 // indirect + github.com/aws/aws-sdk-go v1.44.203 // indirect + github.com/beorn7/perks v1.0.1 // indirect + github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect + github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816 // indirect + github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect + github.com/bufbuild/connect-go v1.0.0 // indirect + github.com/bufbuild/protocompile v0.4.0 // indirect + github.com/cenkalti/backoff/v4 v4.1.3 // indirect + github.com/cespare/xxhash v1.1.0 // indirect + github.com/cespare/xxhash/v2 v2.2.0 // indirect + github.com/chzyer/readline v1.5.1 // indirect + github.com/coinbase/rosetta-sdk-go/types v1.0.0 // indirect + github.com/confio/ics23/go v0.9.0 // indirect + github.com/containerd/containerd v1.6.8 // indirect + github.com/containerd/typeurl v1.0.2 // indirect + github.com/cosmos/btcutil v1.0.5 // indirect + github.com/cosmos/gogogateway v1.2.0 // indirect + github.com/cosmos/iavl v0.20.0 // indirect + github.com/cosmos/ledger-cosmos-go v0.12.1 // indirect + github.com/cosmos/rosetta-sdk-go v0.10.0 // indirect + github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect + github.com/creachadair/taskgroup v0.3.2 // indirect + github.com/danieljoos/wincred v1.1.2 // indirect + github.com/davecgh/go-spew v1.1.1 // indirect + github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 // indirect + github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect + github.com/dgraph-io/badger/v2 v2.2007.4 // indirect + github.com/dgraph-io/ristretto v0.1.1 // indirect + github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect + github.com/docker/distribution v2.8.1+incompatible // indirect + github.com/docker/docker v20.10.19+incompatible // indirect + github.com/docker/go-connections v0.4.0 // indirect + github.com/docker/go-units v0.5.0 // indirect + github.com/dustin/go-humanize v1.0.1 // indirect + github.com/dvsekhvalnov/jose2go v1.5.0 // indirect + github.com/felixge/httpsnoop v1.0.2 // indirect + github.com/fsnotify/fsnotify v1.6.0 // indirect + github.com/ghodss/yaml v1.0.0 // indirect + github.com/go-chi/chi/v5 v5.0.7 // indirect + github.com/go-kit/kit v0.12.0 // indirect + github.com/go-kit/log v0.2.1 // indirect + github.com/go-logfmt/logfmt v0.5.1 // indirect + github.com/go-logr/logr v1.2.4 // indirect + github.com/go-logr/stdr v1.2.2 // indirect + github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect + github.com/gofrs/flock v0.8.1 // indirect + github.com/gofrs/uuid v4.3.0+incompatible // indirect + github.com/gogo/googleapis v1.4.1 // indirect + github.com/gogo/protobuf v1.3.2 // indirect + github.com/golang/glog v1.1.2 // indirect + github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect + github.com/golang/mock v1.6.0 // indirect + github.com/golang/snappy v0.0.4 // indirect + github.com/google/btree v1.1.2 // indirect + github.com/google/go-cmp v0.6.0 // indirect + github.com/google/orderedcode v0.0.1 // indirect + github.com/google/s2a-go v0.1.7 // indirect + github.com/google/uuid v1.4.0 // indirect + github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect + github.com/googleapis/gax-go/v2 v2.12.0 // indirect + github.com/gorilla/handlers v1.5.1 // indirect + github.com/gorilla/websocket v1.5.0 // indirect + github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 // indirect + github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect + github.com/gtank/merlin v0.1.1 // indirect + github.com/gtank/ristretto255 v0.1.2 // indirect + github.com/hashicorp/go-cleanhttp v0.5.2 // indirect + github.com/hashicorp/go-getter v1.7.1 // indirect + github.com/hashicorp/go-immutable-radix v1.3.1 // indirect + github.com/hashicorp/go-safetemp v1.0.0 // indirect + github.com/hashicorp/go-version v1.6.0 // indirect + github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d // indirect + github.com/hashicorp/hcl v1.0.0 // indirect + github.com/hdevalence/ed25519consensus v0.1.0 // indirect + github.com/huandu/skiplist v1.2.0 // indirect + github.com/improbable-eng/grpc-web v0.15.0 // indirect + github.com/inconshreveable/mousetrap v1.0.1 // indirect + github.com/jdxcode/netrc v0.0.0-20210204082910-926c7f70242a // indirect + github.com/jhump/protocompile v0.0.0-20220216033700-d705409f108f // indirect + github.com/jhump/protoreflect v1.15.1 // indirect + github.com/jmespath/go-jmespath v0.4.0 // indirect + github.com/jmhodges/levigo v1.0.0 // indirect + github.com/keybase/go-keychain v0.0.0-20190712205309-48d3d31d256d // indirect + github.com/klauspost/compress v1.16.3 // indirect + github.com/klauspost/pgzip v1.2.5 // indirect + github.com/leodido/go-urn v1.2.1 // indirect + github.com/lib/pq v1.10.7 // indirect + github.com/libp2p/go-buffer-pool v0.1.0 // indirect + github.com/magiconair/properties v1.8.6 // indirect + github.com/manifoldco/promptui v0.9.0 // indirect + github.com/mattn/go-colorable v0.1.13 // indirect + github.com/mattn/go-isatty v0.0.18 // indirect + github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect + github.com/mimoo/StrobeGo v0.0.0-20210601165009-122bf33a46e0 // indirect + github.com/minio/highwayhash v1.0.2 // indirect + github.com/mitchellh/go-homedir v1.1.0 // indirect + github.com/mitchellh/go-testing-interface v1.14.1 // indirect + github.com/mitchellh/mapstructure v1.5.0 // indirect + github.com/moby/buildkit v0.10.4 // indirect + github.com/moby/term v0.0.0-20220808134915-39b0c02b01ae // indirect + github.com/morikuni/aec v1.0.0 // indirect + github.com/mtibben/percent v0.2.1 // indirect + github.com/opencontainers/go-digest v1.0.0 // indirect + github.com/opencontainers/image-spec v1.1.0-rc2 // indirect + github.com/pelletier/go-toml v1.9.5 // indirect + github.com/pelletier/go-toml/v2 v2.0.7 // indirect + github.com/petermattis/goid v0.0.0-20230317030725-371a4b8eda08 // indirect + github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 // indirect + github.com/pkg/profile v1.6.0 // indirect + github.com/pmezard/go-difflib v1.0.0 // indirect + github.com/prometheus/client_golang v1.14.0 // indirect + github.com/prometheus/client_model v0.3.0 // indirect + github.com/prometheus/common v0.42.0 // indirect + github.com/prometheus/procfs v0.9.0 // indirect + github.com/rakyll/statik v0.1.7 // indirect + github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect + github.com/rs/cors v1.8.2 // indirect + github.com/rs/zerolog v1.29.1 // indirect + github.com/russross/blackfriday/v2 v2.1.0 // indirect + github.com/sasha-s/go-deadlock v0.3.1 // indirect + github.com/sirupsen/logrus v1.9.0 // indirect + github.com/spf13/afero v1.9.2 // indirect + github.com/spf13/jwalterweatherman v1.1.0 // indirect + github.com/stretchr/objx v0.5.0 // indirect + github.com/subosito/gotenv v1.4.1 // indirect + github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect + github.com/tecbot/gorocksdb v0.0.0-20191217155057-f0fad39f321c // indirect + github.com/tendermint/go-amino v0.16.0 // indirect + github.com/tidwall/btree v1.6.0 // indirect + github.com/ulikunitz/xz v0.5.11 // indirect + github.com/zondax/hid v0.9.1 // indirect + github.com/zondax/ledger-go v0.14.0 // indirect + go.etcd.io/bbolt v1.3.7 // indirect + go.opencensus.io v0.24.0 // indirect + go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.36.3 // indirect + go.opentelemetry.io/otel v1.19.0 // indirect + go.opentelemetry.io/otel/metric v1.19.0 // indirect + go.opentelemetry.io/otel/trace v1.19.0 // indirect + go.uber.org/atomic v1.10.0 // indirect + go.uber.org/multierr v1.8.0 // indirect + go.uber.org/zap v1.23.0 // indirect + golang.org/x/crypto v0.16.0 // indirect + golang.org/x/exp v0.0.0-20230515195305-f3d0a9c9a5cc // indirect + golang.org/x/mod v0.8.0 // indirect + golang.org/x/net v0.19.0 // indirect + golang.org/x/oauth2 v0.15.0 // indirect + golang.org/x/sync v0.4.0 // indirect + golang.org/x/sys v0.15.0 // indirect + golang.org/x/term v0.15.0 // indirect + golang.org/x/text v0.14.0 // indirect + golang.org/x/tools v0.6.0 // indirect + google.golang.org/api v0.149.0 // indirect + google.golang.org/appengine v1.6.8 // indirect + google.golang.org/genproto v0.0.0-20231212172506-995d672761c0 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240102182953-50ed04b92917 // indirect + gopkg.in/ini.v1 v1.67.0 // indirect + gopkg.in/yaml.v2 v2.4.0 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect + nhooyr.io/websocket v1.8.6 // indirect + pgregory.net/rapid v0.5.5 // indirect ) replace ( diff --git a/go.sum b/go.sum index 53e12afe6..b66093fe8 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,3 @@ -4d63.com/gochecknoglobals v0.0.0-20201008074935-acfc0b28355a/go.mod h1:wfdC5ZjKSPr7CybKEcgJhUOgeAQW1+7WcyK8OvUilfo= -bitbucket.org/creachadair/shell v0.0.6/go.mod h1:8Qqi/cYk7vPnsOePHroKXDJYmb5x7ENhtiFtfZq8K+M= cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= @@ -14,7 +12,6 @@ cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6 cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= -cloud.google.com/go v0.60.0/go.mod h1:yw2G51M9IfRboUH61Us8GqCeF1PzPblB823Mn2q2eAU= cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI= @@ -31,107 +28,28 @@ cloud.google.com/go v0.93.3/go.mod h1:8utlLll2EF5XMAV15woO4lSbWQlk8rer9aLOfLh7+Y cloud.google.com/go v0.94.1/go.mod h1:qAlAugsXlC+JWO+Bke5vCtc9ONxjQT3drlTTnAplMW4= cloud.google.com/go v0.97.0/go.mod h1:GF7l59pYBVlXQIBLx3a761cZ41F9bBH3JUlihCt2Udc= cloud.google.com/go v0.99.0/go.mod h1:w0Xx2nLzqWJPuozYQX+hFfCSI8WioryfRDzkoI/Y2ZA= -cloud.google.com/go v0.100.1/go.mod h1:fs4QogzfH5n2pBXBP9vRiU+eCny7lD2vmFZy79Iuw1U= cloud.google.com/go v0.100.2/go.mod h1:4Xra9TjzAeYHrl5+oeLlzbM2k3mjVhZh4UqTZ//w99A= cloud.google.com/go v0.102.0/go.mod h1:oWcCzKlqJ5zgHQt9YsaeTY9KzIvjyy0ArmiBUgpQ+nc= cloud.google.com/go v0.102.1/go.mod h1:XZ77E9qnTEnrgEOvr4xzfdX5TRo7fB4T2F4O6+34hIU= cloud.google.com/go v0.104.0/go.mod h1:OO6xxXdJyvuJPcEPBLN9BJPD+jep5G1+2U5B5gkRYtA= -cloud.google.com/go v0.105.0/go.mod h1:PrLgOJNe5nfE9UMxKxgXj4mD3voiP+YQ6gdt6KMFOKM= -cloud.google.com/go v0.107.0/go.mod h1:wpc2eNrD7hXUTy8EKS10jkxpZBjASrORK7goS+3YX2I= -cloud.google.com/go v0.110.0/go.mod h1:SJnCLqQ0FCFGSZMUNUf84MV3Aia54kn7pi8st7tMzaY= -cloud.google.com/go v0.110.2/go.mod h1:k04UEeEtb6ZBRTv3dZz4CeJC3jKGxyhl0sAiVVquxiw= -cloud.google.com/go v0.110.4/go.mod h1:+EYjdK8e5RME/VY/qLCAtuyALQ9q67dvuum8i+H5xsI= -cloud.google.com/go/accessapproval v1.4.0/go.mod h1:zybIuC3KpDOvotz59lFe5qxRZx6C75OtwbisN56xYB4= -cloud.google.com/go/accessapproval v1.5.0/go.mod h1:HFy3tuiGvMdcd/u+Cu5b9NkO1pEICJ46IR82PoUdplw= -cloud.google.com/go/accessapproval v1.6.0/go.mod h1:R0EiYnwV5fsRFiKZkPHr6mwyk2wxUJ30nL4j2pcFY2E= -cloud.google.com/go/accessapproval v1.7.1/go.mod h1:JYczztsHRMK7NTXb6Xw+dwbs/WnOJxbo/2mTI+Kgg68= -cloud.google.com/go/accesscontextmanager v1.3.0/go.mod h1:TgCBehyr5gNMz7ZaH9xubp+CE8dkrszb4oK9CWyvD4o= -cloud.google.com/go/accesscontextmanager v1.4.0/go.mod h1:/Kjh7BBu/Gh83sv+K60vN9QE5NJcd80sU33vIe2IFPE= -cloud.google.com/go/accesscontextmanager v1.6.0/go.mod h1:8XCvZWfYw3K/ji0iVnp+6pu7huxoQTLmxAbVjbloTtM= -cloud.google.com/go/accesscontextmanager v1.7.0/go.mod h1:CEGLewx8dwa33aDAZQujl7Dx+uYhS0eay198wB/VumQ= -cloud.google.com/go/accesscontextmanager v1.8.0/go.mod h1:uI+AI/r1oyWK99NN8cQ3UK76AMelMzgZCvJfsi2c+ps= -cloud.google.com/go/accesscontextmanager v1.8.1/go.mod h1:JFJHfvuaTC+++1iL1coPiG1eu5D24db2wXCDWDjIrxo= +cloud.google.com/go v0.111.0 h1:YHLKNupSD1KqjDbQ3+LVdQ81h/UJbJyZG203cEfnQgM= +cloud.google.com/go v0.111.0/go.mod h1:0mibmpKP1TyOOFYQY5izo0LnT+ecvOQ0Sg3OdmMiNRU= cloud.google.com/go/aiplatform v1.22.0/go.mod h1:ig5Nct50bZlzV6NvKaTwmplLLddFx0YReh9WfTO5jKw= cloud.google.com/go/aiplatform v1.24.0/go.mod h1:67UUvRBKG6GTayHKV8DBv2RtR1t93YRu5B1P3x99mYY= -cloud.google.com/go/aiplatform v1.27.0/go.mod h1:Bvxqtl40l0WImSb04d0hXFU7gDOiq9jQmorivIiWcKg= -cloud.google.com/go/aiplatform v1.35.0/go.mod h1:7MFT/vCaOyZT/4IIFfxH4ErVg/4ku6lKv3w0+tFTgXQ= -cloud.google.com/go/aiplatform v1.36.1/go.mod h1:WTm12vJRPARNvJ+v6P52RDHCNe4AhvjcIZ/9/RRHy/k= -cloud.google.com/go/aiplatform v1.37.0/go.mod h1:IU2Cv29Lv9oCn/9LkFiiuKfwrRTq+QQMbW+hPCxJGZw= -cloud.google.com/go/aiplatform v1.45.0/go.mod h1:Iu2Q7sC7QGhXUeOhAj/oCK9a+ULz1O4AotZiqjQ8MYA= cloud.google.com/go/analytics v0.11.0/go.mod h1:DjEWCu41bVbYcKyvlws9Er60YE4a//bK6mnhWvQeFNI= cloud.google.com/go/analytics v0.12.0/go.mod h1:gkfj9h6XRf9+TS4bmuhPEShsh3hH8PAZzm/41OOhQd4= -cloud.google.com/go/analytics v0.17.0/go.mod h1:WXFa3WSym4IZ+JiKmavYdJwGG/CvpqiqczmL59bTD9M= -cloud.google.com/go/analytics v0.18.0/go.mod h1:ZkeHGQlcIPkw0R/GW+boWHhCOR43xz9RN/jn7WcqfIE= -cloud.google.com/go/analytics v0.19.0/go.mod h1:k8liqf5/HCnOUkbawNtrWWc+UAzyDlW89doe8TtoDsE= -cloud.google.com/go/analytics v0.21.2/go.mod h1:U8dcUtmDmjrmUTnnnRnI4m6zKn/yaA5N9RlEkYFHpQo= -cloud.google.com/go/apigateway v1.3.0/go.mod h1:89Z8Bhpmxu6AmUxuVRg/ECRGReEdiP3vQtk4Z1J9rJk= -cloud.google.com/go/apigateway v1.4.0/go.mod h1:pHVY9MKGaH9PQ3pJ4YLzoj6U5FUDeDFBllIz7WmzJoc= -cloud.google.com/go/apigateway v1.5.0/go.mod h1:GpnZR3Q4rR7LVu5951qfXPJCHquZt02jf7xQx7kpqN8= -cloud.google.com/go/apigateway v1.6.1/go.mod h1:ufAS3wpbRjqfZrzpvLC2oh0MFlpRJm2E/ts25yyqmXA= -cloud.google.com/go/apigeeconnect v1.3.0/go.mod h1:G/AwXFAKo0gIXkPTVfZDd2qA1TxBXJ3MgMRBQkIi9jc= -cloud.google.com/go/apigeeconnect v1.4.0/go.mod h1:kV4NwOKqjvt2JYR0AoIWo2QGfoRtn/pkS3QlHp0Ni04= -cloud.google.com/go/apigeeconnect v1.5.0/go.mod h1:KFaCqvBRU6idyhSNyn3vlHXc8VMDJdRmwDF6JyFRqZ8= -cloud.google.com/go/apigeeconnect v1.6.1/go.mod h1:C4awq7x0JpLtrlQCr8AzVIzAaYgngRqWf9S5Uhg+wWs= -cloud.google.com/go/apigeeregistry v0.4.0/go.mod h1:EUG4PGcsZvxOXAdyEghIdXwAEi/4MEaoqLMLDMIwKXY= -cloud.google.com/go/apigeeregistry v0.5.0/go.mod h1:YR5+s0BVNZfVOUkMa5pAR2xGd0A473vA5M7j247o1wM= -cloud.google.com/go/apigeeregistry v0.6.0/go.mod h1:BFNzW7yQVLZ3yj0TKcwzb8n25CFBri51GVGOEUcgQsc= -cloud.google.com/go/apigeeregistry v0.7.1/go.mod h1:1XgyjZye4Mqtw7T9TsY4NW10U7BojBvG4RMD+vRDrIw= -cloud.google.com/go/apikeys v0.4.0/go.mod h1:XATS/yqZbaBK0HOssf+ALHp8jAlNHUgyfprvNcBIszU= -cloud.google.com/go/apikeys v0.5.0/go.mod h1:5aQfwY4D+ewMMWScd3hm2en3hCj+BROlyrt3ytS7KLI= -cloud.google.com/go/apikeys v0.6.0/go.mod h1:kbpXu5upyiAlGkKrJgQl8A0rKNNJ7dQ377pdroRSSi8= -cloud.google.com/go/appengine v1.4.0/go.mod h1:CS2NhuBuDXM9f+qscZ6V86m1MIIqPj3WC/UoEuR1Sno= -cloud.google.com/go/appengine v1.5.0/go.mod h1:TfasSozdkFI0zeoxW3PTBLiNqRmzraodCWatWI9Dmak= -cloud.google.com/go/appengine v1.6.0/go.mod h1:hg6i0J/BD2cKmDJbaFSYHFyZkgBEfQrDg/X0V5fJn84= -cloud.google.com/go/appengine v1.7.0/go.mod h1:eZqpbHFCqRGa2aCdope7eC0SWLV1j0neb/QnMJVWx6A= -cloud.google.com/go/appengine v1.7.1/go.mod h1:IHLToyb/3fKutRysUlFO0BPt5j7RiQ45nrzEJmKTo6E= -cloud.google.com/go/appengine v1.8.1/go.mod h1:6NJXGLVhZCN9aQ/AEDvmfzKEfoYBlfB80/BHiKVputY= cloud.google.com/go/area120 v0.5.0/go.mod h1:DE/n4mp+iqVyvxHN41Vf1CR602GiHQjFPusMFW6bGR4= cloud.google.com/go/area120 v0.6.0/go.mod h1:39yFJqWVgm0UZqWTOdqkLhjoC7uFfgXRC8g/ZegeAh0= -cloud.google.com/go/area120 v0.7.0/go.mod h1:a3+8EUD1SX5RUcCs3MY5YasiO1z6yLiNLRiFrykbynY= -cloud.google.com/go/area120 v0.7.1/go.mod h1:j84i4E1RboTWjKtZVWXPqvK5VHQFJRF2c1Nm69pWm9k= -cloud.google.com/go/area120 v0.8.1/go.mod h1:BVfZpGpB7KFVNxPiQBuHkX6Ed0rS51xIgmGyjrAfzsg= cloud.google.com/go/artifactregistry v1.6.0/go.mod h1:IYt0oBPSAGYj/kprzsBjZ/4LnG/zOcHyFHjWPCi6SAQ= cloud.google.com/go/artifactregistry v1.7.0/go.mod h1:mqTOFOnGZx8EtSqK/ZWcsm/4U8B77rbcLP6ruDU2Ixk= -cloud.google.com/go/artifactregistry v1.8.0/go.mod h1:w3GQXkJX8hiKN0v+at4b0qotwijQbYUqF2GWkZzAhC0= -cloud.google.com/go/artifactregistry v1.9.0/go.mod h1:2K2RqvA2CYvAeARHRkLDhMDJ3OXy26h3XW+3/Jh2uYc= -cloud.google.com/go/artifactregistry v1.11.1/go.mod h1:lLYghw+Itq9SONbCa1YWBoWs1nOucMH0pwXN1rOBZFI= -cloud.google.com/go/artifactregistry v1.11.2/go.mod h1:nLZns771ZGAwVLzTX/7Al6R9ehma4WUEhZGWV6CeQNQ= -cloud.google.com/go/artifactregistry v1.12.0/go.mod h1:o6P3MIvtzTOnmvGagO9v/rOjjA0HmhJ+/6KAXrmYDCI= -cloud.google.com/go/artifactregistry v1.13.0/go.mod h1:uy/LNfoOIivepGhooAUpL1i30Hgee3Cu0l4VTWHUC08= -cloud.google.com/go/artifactregistry v1.14.1/go.mod h1:nxVdG19jTaSTu7yA7+VbWL346r3rIdkZ142BSQqhn5E= cloud.google.com/go/asset v1.5.0/go.mod h1:5mfs8UvcM5wHhqtSv8J1CtxxaQq3AdBxxQi2jGW/K4o= cloud.google.com/go/asset v1.7.0/go.mod h1:YbENsRK4+xTiL+Ofoj5Ckf+O17kJtgp3Y3nn4uzZz5s= cloud.google.com/go/asset v1.8.0/go.mod h1:mUNGKhiqIdbr8X7KNayoYvyc4HbbFO9URsjbytpUaW0= -cloud.google.com/go/asset v1.9.0/go.mod h1:83MOE6jEJBMqFKadM9NLRcs80Gdw76qGuHn8m3h8oHQ= -cloud.google.com/go/asset v1.10.0/go.mod h1:pLz7uokL80qKhzKr4xXGvBQXnzHn5evJAEAtZiIb0wY= -cloud.google.com/go/asset v1.11.1/go.mod h1:fSwLhbRvC9p9CXQHJ3BgFeQNM4c9x10lqlrdEUYXlJo= -cloud.google.com/go/asset v1.12.0/go.mod h1:h9/sFOa4eDIyKmH6QMpm4eUK3pDojWnUhTgJlk762Hg= -cloud.google.com/go/asset v1.13.0/go.mod h1:WQAMyYek/b7NBpYq/K4KJWcRqzoalEsxz/t/dTk4THw= -cloud.google.com/go/asset v1.14.1/go.mod h1:4bEJ3dnHCqWCDbWJ/6Vn7GVI9LerSi7Rfdi03hd+WTQ= cloud.google.com/go/assuredworkloads v1.5.0/go.mod h1:n8HOZ6pff6re5KYfBXcFvSViQjDwxFkAkmUFffJRbbY= cloud.google.com/go/assuredworkloads v1.6.0/go.mod h1:yo2YOk37Yc89Rsd5QMVECvjaMKymF9OP+QXWlKXUkXw= cloud.google.com/go/assuredworkloads v1.7.0/go.mod h1:z/736/oNmtGAyU47reJgGN+KVoYoxeLBoj4XkKYscNI= -cloud.google.com/go/assuredworkloads v1.8.0/go.mod h1:AsX2cqyNCOvEQC8RMPnoc0yEarXQk6WEKkxYfL6kGIo= -cloud.google.com/go/assuredworkloads v1.9.0/go.mod h1:kFuI1P78bplYtT77Tb1hi0FMxM0vVpRC7VVoJC3ZoT0= -cloud.google.com/go/assuredworkloads v1.10.0/go.mod h1:kwdUQuXcedVdsIaKgKTp9t0UJkE5+PAVNhdQm4ZVq2E= -cloud.google.com/go/assuredworkloads v1.11.1/go.mod h1:+F04I52Pgn5nmPG36CWFtxmav6+7Q+c5QyJoL18Lry0= cloud.google.com/go/automl v1.5.0/go.mod h1:34EjfoFGMZ5sgJ9EoLsRtdPSNZLcfflJR39VbVNS2M0= cloud.google.com/go/automl v1.6.0/go.mod h1:ugf8a6Fx+zP0D59WLhqgTDsQI9w07o64uf/Is3Nh5p8= -cloud.google.com/go/automl v1.7.0/go.mod h1:RL9MYCCsJEOmt0Wf3z9uzG0a7adTT1fe+aObgSpkCt8= -cloud.google.com/go/automl v1.8.0/go.mod h1:xWx7G/aPEe/NP+qzYXktoBSDfjO+vnKMGgsApGJJquM= -cloud.google.com/go/automl v1.12.0/go.mod h1:tWDcHDp86aMIuHmyvjuKeeHEGq76lD7ZqfGLN6B0NuU= -cloud.google.com/go/automl v1.13.1/go.mod h1:1aowgAHWYZU27MybSCFiukPO7xnyawv7pt3zK4bheQE= -cloud.google.com/go/baremetalsolution v0.3.0/go.mod h1:XOrocE+pvK1xFfleEnShBlNAXf+j5blPPxrhjKgnIFc= -cloud.google.com/go/baremetalsolution v0.4.0/go.mod h1:BymplhAadOO/eBa7KewQ0Ppg4A4Wplbn+PsFKRLo0uI= -cloud.google.com/go/baremetalsolution v0.5.0/go.mod h1:dXGxEkmR9BMwxhzBhV0AioD0ULBmuLZI8CdwalUxuss= -cloud.google.com/go/batch v0.3.0/go.mod h1:TR18ZoAekj1GuirsUsR1ZTKN3FC/4UDnScjT8NXImFE= -cloud.google.com/go/batch v0.4.0/go.mod h1:WZkHnP43R/QCGQsZ+0JyG4i79ranE2u8xvjq/9+STPE= -cloud.google.com/go/batch v0.7.0/go.mod h1:vLZN95s6teRUqRQ4s3RLDsH8PvboqBK+rn1oevL159g= -cloud.google.com/go/beyondcorp v0.2.0/go.mod h1:TB7Bd+EEtcw9PCPQhCJtJGjk/7TC6ckmnSFS+xwTfm4= -cloud.google.com/go/beyondcorp v0.3.0/go.mod h1:E5U5lcrcXMsCuoDNyGrpyTm/hn7ne941Jz2vmksAxW8= -cloud.google.com/go/beyondcorp v0.4.0/go.mod h1:3ApA0mbhHx6YImmuubf5pyW8srKnCEPON32/5hj+RmM= -cloud.google.com/go/beyondcorp v0.5.0/go.mod h1:uFqj9X+dSfrheVp7ssLTaRHd2EHqSL4QZmH4e8WXGGU= -cloud.google.com/go/beyondcorp v0.6.1/go.mod h1:YhxDWw946SCbmcWo3fAhw3V4XZMSpQ/VYfcKGAEU8/4= cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= @@ -139,52 +57,12 @@ cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUM cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= cloud.google.com/go/bigquery v1.42.0/go.mod h1:8dRTJxhtG+vwBKzE5OseQn/hiydoQN3EedCaOdYmxRA= -cloud.google.com/go/bigquery v1.43.0/go.mod h1:ZMQcXHsl+xmU1z36G2jNGZmKp9zNY5BUua5wDgmNCfw= -cloud.google.com/go/bigquery v1.44.0/go.mod h1:0Y33VqXTEsbamHJvJHdFmtqHvMIY28aK1+dFsvaChGc= -cloud.google.com/go/bigquery v1.47.0/go.mod h1:sA9XOgy0A8vQK9+MWhEQTY6Tix87M/ZurWFIxmF9I/E= -cloud.google.com/go/bigquery v1.48.0/go.mod h1:QAwSz+ipNgfL5jxiaK7weyOhzdoAy1zFm0Nf1fysJac= -cloud.google.com/go/bigquery v1.49.0/go.mod h1:Sv8hMmTFFYBlt/ftw2uN6dFdQPzBlREY9yBh7Oy7/4Q= -cloud.google.com/go/bigquery v1.50.0/go.mod h1:YrleYEh2pSEbgTBZYMJ5SuSr0ML3ypjRB1zgf7pvQLU= -cloud.google.com/go/bigquery v1.52.0/go.mod h1:3b/iXjRQGU4nKa87cXeg6/gogLjO8C6PmuM8i5Bi/u4= cloud.google.com/go/billing v1.4.0/go.mod h1:g9IdKBEFlItS8bTtlrZdVLWSSdSyFUZKXNS02zKMOZY= cloud.google.com/go/billing v1.5.0/go.mod h1:mztb1tBc3QekhjSgmpf/CV4LzWXLzCArwpLmP2Gm88s= -cloud.google.com/go/billing v1.6.0/go.mod h1:WoXzguj+BeHXPbKfNWkqVtDdzORazmCjraY+vrxcyvI= -cloud.google.com/go/billing v1.7.0/go.mod h1:q457N3Hbj9lYwwRbnlD7vUpyjq6u5U1RAOArInEiD5Y= -cloud.google.com/go/billing v1.12.0/go.mod h1:yKrZio/eu+okO/2McZEbch17O5CB5NpZhhXG6Z766ss= -cloud.google.com/go/billing v1.13.0/go.mod h1:7kB2W9Xf98hP9Sr12KfECgfGclsH3CQR0R08tnRlRbc= -cloud.google.com/go/billing v1.16.0/go.mod h1:y8vx09JSSJG02k5QxbycNRrN7FGZB6F3CAcgum7jvGA= cloud.google.com/go/binaryauthorization v1.1.0/go.mod h1:xwnoWu3Y84jbuHa0zd526MJYmtnVXn0syOjaJgy4+dM= cloud.google.com/go/binaryauthorization v1.2.0/go.mod h1:86WKkJHtRcv5ViNABtYMhhNWRrD1Vpi//uKEy7aYEfI= -cloud.google.com/go/binaryauthorization v1.3.0/go.mod h1:lRZbKgjDIIQvzYQS1p99A7/U1JqvqeZg0wiI5tp6tg0= -cloud.google.com/go/binaryauthorization v1.4.0/go.mod h1:tsSPQrBd77VLplV70GUhBf/Zm3FsKmgSqgm4UmiDItk= -cloud.google.com/go/binaryauthorization v1.5.0/go.mod h1:OSe4OU1nN/VswXKRBmciKpo9LulY41gch5c68htf3/Q= -cloud.google.com/go/binaryauthorization v1.6.1/go.mod h1:TKt4pa8xhowwffiBmbrbcxijJRZED4zrqnwZ1lKH51U= -cloud.google.com/go/certificatemanager v1.3.0/go.mod h1:n6twGDvcUBFu9uBgt4eYvvf3sQ6My8jADcOVwHmzadg= -cloud.google.com/go/certificatemanager v1.4.0/go.mod h1:vowpercVFyqs8ABSmrdV+GiFf2H/ch3KyudYQEMM590= -cloud.google.com/go/certificatemanager v1.6.0/go.mod h1:3Hh64rCKjRAX8dXgRAyOcY5vQ/fE1sh8o+Mdd6KPgY8= -cloud.google.com/go/certificatemanager v1.7.1/go.mod h1:iW8J3nG6SaRYImIa+wXQ0g8IgoofDFRp5UMzaNk1UqI= -cloud.google.com/go/channel v1.8.0/go.mod h1:W5SwCXDJsq/rg3tn3oG0LOxpAo6IMxNa09ngphpSlnk= -cloud.google.com/go/channel v1.9.0/go.mod h1:jcu05W0my9Vx4mt3/rEHpfxc9eKi9XwsdDL8yBMbKUk= -cloud.google.com/go/channel v1.11.0/go.mod h1:IdtI0uWGqhEeatSB62VOoJ8FSUhJ9/+iGkJVqp74CGE= -cloud.google.com/go/channel v1.12.0/go.mod h1:VkxCGKASi4Cq7TbXxlaBezonAYpp1GCnKMY6tnMQnLU= -cloud.google.com/go/channel v1.16.0/go.mod h1:eN/q1PFSl5gyu0dYdmxNXscY/4Fi7ABmeHCJNf/oHmc= -cloud.google.com/go/cloudbuild v1.3.0/go.mod h1:WequR4ULxlqvMsjDEEEFnOG5ZSRSgWOywXYDb1vPE6U= -cloud.google.com/go/cloudbuild v1.4.0/go.mod h1:5Qwa40LHiOXmz3386FrjrYM93rM/hdRr7b53sySrTqA= -cloud.google.com/go/cloudbuild v1.6.0/go.mod h1:UIbc/w9QCbH12xX+ezUsgblrWv+Cv4Tw83GiSMHOn9M= -cloud.google.com/go/cloudbuild v1.7.0/go.mod h1:zb5tWh2XI6lR9zQmsm1VRA+7OCuve5d8S+zJUul8KTg= -cloud.google.com/go/cloudbuild v1.9.0/go.mod h1:qK1d7s4QlO0VwfYn5YuClDGg2hfmLZEb4wQGAbIgL1s= -cloud.google.com/go/cloudbuild v1.10.1/go.mod h1:lyJg7v97SUIPq4RC2sGsz/9tNczhyv2AjML/ci4ulzU= -cloud.google.com/go/clouddms v1.3.0/go.mod h1:oK6XsCDdW4Ib3jCCBugx+gVjevp2TMXFtgxvPSee3OM= -cloud.google.com/go/clouddms v1.4.0/go.mod h1:Eh7sUGCC+aKry14O1NRljhjyrr0NFC0G2cjwX0cByRk= -cloud.google.com/go/clouddms v1.5.0/go.mod h1:QSxQnhikCLUw13iAbffF2CZxAER3xDGNHjsTAkQJcQA= -cloud.google.com/go/clouddms v1.6.1/go.mod h1:Ygo1vL52Ov4TBZQquhz5fiw2CQ58gvu+PlS6PVXCpZI= cloud.google.com/go/cloudtasks v1.5.0/go.mod h1:fD92REy1x5woxkKEkLdvavGnPJGEn8Uic9nWuLzqCpY= cloud.google.com/go/cloudtasks v1.6.0/go.mod h1:C6Io+sxuke9/KNRkbQpihnW93SWDU3uXt92nu85HkYI= -cloud.google.com/go/cloudtasks v1.7.0/go.mod h1:ImsfdYWwlWNJbdgPIIGJWC+gemEGTBK/SunNQQNCAb4= -cloud.google.com/go/cloudtasks v1.8.0/go.mod h1:gQXUIwCSOI4yPVK7DgTVFiiP0ZW/eQkydWzwVMdHxrI= -cloud.google.com/go/cloudtasks v1.9.0/go.mod h1:w+EyLsVkLWHcOaqNEyvcKAsWp9p29dL6uL9Nst1cI7Y= -cloud.google.com/go/cloudtasks v1.10.0/go.mod h1:NDSoTLkZ3+vExFEWu2UJV1arUyzVDAiZtdWcsUyNwBs= -cloud.google.com/go/cloudtasks v1.11.1/go.mod h1:a9udmnou9KO2iulGscKR0qBYjreuX8oHwpmFsKspEvM= cloud.google.com/go/compute v0.1.0/go.mod h1:GAesmwr110a34z04OlxYkATPBEfVhkymfTBXtfbBFow= cloud.google.com/go/compute v1.3.0/go.mod h1:cCZiE1NHEtai4wiufUhW8I8S1JKkAnhnQJWM7YD99wM= cloud.google.com/go/compute v1.5.0/go.mod h1:9SMHyhJlzhlkJqrPAc839t2BZFTSk6Jdj6mkzQJeu0M= @@ -192,439 +70,101 @@ cloud.google.com/go/compute v1.6.0/go.mod h1:T29tfhtVbq1wvAPo0E3+7vhgmkOYeXjhFvz cloud.google.com/go/compute v1.6.1/go.mod h1:g85FgpzFvNULZ+S8AYq87axRKuf2Kh7deLqV/jJ3thU= cloud.google.com/go/compute v1.7.0/go.mod h1:435lt8av5oL9P3fv1OEzSbSUe+ybHXGMPQHHZWZxy9U= cloud.google.com/go/compute v1.10.0/go.mod h1:ER5CLbMxl90o2jtNbGSbtfOpQKR0t15FOtRsugnLrlU= -cloud.google.com/go/compute v1.12.0/go.mod h1:e8yNOBcBONZU1vJKCvCoDw/4JQsA0dpM4x/6PIIOocU= -cloud.google.com/go/compute v1.12.1/go.mod h1:e8yNOBcBONZU1vJKCvCoDw/4JQsA0dpM4x/6PIIOocU= -cloud.google.com/go/compute v1.13.0/go.mod h1:5aPTS0cUNMIc1CE546K+Th6weJUNQErARyZtRXDJ8GE= -cloud.google.com/go/compute v1.14.0/go.mod h1:YfLtxrj9sU4Yxv+sXzZkyPjEyPBZfXHUvjxega5vAdo= -cloud.google.com/go/compute v1.18.0/go.mod h1:1X7yHxec2Ga+Ss6jPyjxRxpu2uu7PLgsOVXvgU0yacs= -cloud.google.com/go/compute v1.19.0/go.mod h1:rikpw2y+UMidAe9tISo04EHNOIf42RLYF/q8Bs93scU= -cloud.google.com/go/compute v1.19.3/go.mod h1:qxvISKp/gYnXkSAD1ppcSOveRAmzxicEv/JlizULFrI= -cloud.google.com/go/compute v1.20.1/go.mod h1:4tCnrn48xsqlwSAiLf1HXMQk8CONslYbdiEZc9FEIbM= -cloud.google.com/go/compute/metadata v0.1.0/go.mod h1:Z1VN+bulIf6bt4P/C37K4DyZYZEXYonfTBHHFPO/4UU= -cloud.google.com/go/compute/metadata v0.2.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k= -cloud.google.com/go/compute/metadata v0.2.1/go.mod h1:jgHgmJd2RKBGzXqF5LR2EZMGxBkeanZ9wwa75XHJgOM= +cloud.google.com/go/compute v1.23.3 h1:6sVlXXBmbd7jNX0Ipq0trII3e4n1/MsADLK6a+aiVlk= +cloud.google.com/go/compute v1.23.3/go.mod h1:VCgBUoMnIVIR0CscqQiPJLAG25E3ZRZMzcFZeQ+h8CI= +cloud.google.com/go/compute/metadata v0.2.3 h1:mg4jlk7mCAj6xXp9UJ4fjI9VUI5rubuGBW5aJ7UnBMY= cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA= -cloud.google.com/go/contactcenterinsights v1.3.0/go.mod h1:Eu2oemoePuEFc/xKFPjbTuPSj0fYJcPls9TFlPNnHHY= -cloud.google.com/go/contactcenterinsights v1.4.0/go.mod h1:L2YzkGbPsv+vMQMCADxJoT9YiTTnSEd6fEvCeHTYVck= -cloud.google.com/go/contactcenterinsights v1.6.0/go.mod h1:IIDlT6CLcDoyv79kDv8iWxMSTZhLxSCofVV5W6YFM/w= -cloud.google.com/go/contactcenterinsights v1.9.1/go.mod h1:bsg/R7zGLYMVxFFzfh9ooLTruLRCG9fnzhH9KznHhbM= -cloud.google.com/go/container v1.6.0/go.mod h1:Xazp7GjJSeUYo688S+6J5V+n/t+G5sKBTFkKNudGRxg= -cloud.google.com/go/container v1.7.0/go.mod h1:Dp5AHtmothHGX3DwwIHPgq45Y8KmNsgN3amoYfxVkLo= -cloud.google.com/go/container v1.13.1/go.mod h1:6wgbMPeQRw9rSnKBCAJXnds3Pzj03C4JHamr8asWKy4= -cloud.google.com/go/container v1.14.0/go.mod h1:3AoJMPhHfLDxLvrlVWaK57IXzaPnLaZq63WX59aQBfM= -cloud.google.com/go/container v1.15.0/go.mod h1:ft+9S0WGjAyjDggg5S06DXj+fHJICWg8L7isCQe9pQA= -cloud.google.com/go/container v1.22.1/go.mod h1:lTNExE2R7f+DLbAN+rJiKTisauFCaoDq6NURZ83eVH4= cloud.google.com/go/containeranalysis v0.5.1/go.mod h1:1D92jd8gRR/c0fGMlymRgxWD3Qw9C1ff6/T7mLgVL8I= cloud.google.com/go/containeranalysis v0.6.0/go.mod h1:HEJoiEIu+lEXM+k7+qLCci0h33lX3ZqoYFdmPcoO7s4= -cloud.google.com/go/containeranalysis v0.7.0/go.mod h1:9aUL+/vZ55P2CXfuZjS4UjQ9AgXoSw8Ts6lemfmxBxI= -cloud.google.com/go/containeranalysis v0.9.0/go.mod h1:orbOANbwk5Ejoom+s+DUCTTJ7IBdBQJDcSylAx/on9s= -cloud.google.com/go/containeranalysis v0.10.1/go.mod h1:Ya2jiILITMY68ZLPaogjmOMNkwsDrWBSTyBubGXO7j0= cloud.google.com/go/datacatalog v1.3.0/go.mod h1:g9svFY6tuR+j+hrTw3J2dNcmI0dzmSiyOzm8kpLq0a0= cloud.google.com/go/datacatalog v1.5.0/go.mod h1:M7GPLNQeLfWqeIm3iuiruhPzkt65+Bx8dAKvScX8jvs= cloud.google.com/go/datacatalog v1.6.0/go.mod h1:+aEyF8JKg+uXcIdAmmaMUmZ3q1b/lKLtXCmXdnc0lbc= -cloud.google.com/go/datacatalog v1.7.0/go.mod h1:9mEl4AuDYWw81UGc41HonIHH7/sn52H0/tc8f8ZbZIE= -cloud.google.com/go/datacatalog v1.8.0/go.mod h1:KYuoVOv9BM8EYz/4eMFxrr4DUKhGIOXxZoKYF5wdISM= -cloud.google.com/go/datacatalog v1.8.1/go.mod h1:RJ58z4rMp3gvETA465Vg+ag8BGgBdnRPEMMSTr5Uv+M= -cloud.google.com/go/datacatalog v1.12.0/go.mod h1:CWae8rFkfp6LzLumKOnmVh4+Zle4A3NXLzVJ1d1mRm0= -cloud.google.com/go/datacatalog v1.13.0/go.mod h1:E4Rj9a5ZtAxcQJlEBTLgMTphfP11/lNaAshpoBgemX8= -cloud.google.com/go/datacatalog v1.14.0/go.mod h1:h0PrGtlihoutNMp/uvwhawLQ9+c63Kz65UFqh49Yo+E= -cloud.google.com/go/datacatalog v1.14.1/go.mod h1:d2CevwTG4yedZilwe+v3E3ZBDRMobQfSG/a6cCCN5R4= cloud.google.com/go/dataflow v0.6.0/go.mod h1:9QwV89cGoxjjSR9/r7eFDqqjtvbKxAK2BaYU6PVk9UM= cloud.google.com/go/dataflow v0.7.0/go.mod h1:PX526vb4ijFMesO1o202EaUmouZKBpjHsTlCtB4parQ= -cloud.google.com/go/dataflow v0.8.0/go.mod h1:Rcf5YgTKPtQyYz8bLYhFoIV/vP39eL7fWNcSOyFfLJE= -cloud.google.com/go/dataflow v0.9.1/go.mod h1:Wp7s32QjYuQDWqJPFFlnBKhkAtiFpMTdg00qGbnIHVw= cloud.google.com/go/dataform v0.3.0/go.mod h1:cj8uNliRlHpa6L3yVhDOBrUXH+BPAO1+KFMQQNSThKo= cloud.google.com/go/dataform v0.4.0/go.mod h1:fwV6Y4Ty2yIFL89huYlEkwUPtS7YZinZbzzj5S9FzCE= -cloud.google.com/go/dataform v0.5.0/go.mod h1:GFUYRe8IBa2hcomWplodVmUx/iTL0FrsauObOM3Ipr0= -cloud.google.com/go/dataform v0.6.0/go.mod h1:QPflImQy33e29VuapFdf19oPbE4aYTJxr31OAPV+ulA= -cloud.google.com/go/dataform v0.7.0/go.mod h1:7NulqnVozfHvWUBpMDfKMUESr+85aJsC/2O0o3jWPDE= -cloud.google.com/go/dataform v0.8.1/go.mod h1:3BhPSiw8xmppbgzeBbmDvmSWlwouuJkXsXsb8UBih9M= -cloud.google.com/go/datafusion v1.4.0/go.mod h1:1Zb6VN+W6ALo85cXnM1IKiPw+yQMKMhB9TsTSRDo/38= -cloud.google.com/go/datafusion v1.5.0/go.mod h1:Kz+l1FGHB0J+4XF2fud96WMmRiq/wj8N9u007vyXZ2w= -cloud.google.com/go/datafusion v1.6.0/go.mod h1:WBsMF8F1RhSXvVM8rCV3AeyWVxcC2xY6vith3iw3S+8= -cloud.google.com/go/datafusion v1.7.1/go.mod h1:KpoTBbFmoToDExJUso/fcCiguGDk7MEzOWXUsJo0wsI= cloud.google.com/go/datalabeling v0.5.0/go.mod h1:TGcJ0G2NzcsXSE/97yWjIZO0bXj0KbVlINXMG9ud42I= cloud.google.com/go/datalabeling v0.6.0/go.mod h1:WqdISuk/+WIGeMkpw/1q7bK/tFEZxsrFJOJdY2bXvTQ= -cloud.google.com/go/datalabeling v0.7.0/go.mod h1:WPQb1y08RJbmpM3ww0CSUAGweL0SxByuW2E+FU+wXcM= -cloud.google.com/go/datalabeling v0.8.1/go.mod h1:XS62LBSVPbYR54GfYQsPXZjTW8UxCK2fkDciSrpRFdY= -cloud.google.com/go/dataplex v1.3.0/go.mod h1:hQuRtDg+fCiFgC8j0zV222HvzFQdRd+SVX8gdmFcZzA= -cloud.google.com/go/dataplex v1.4.0/go.mod h1:X51GfLXEMVJ6UN47ESVqvlsRplbLhcsAt0kZCCKsU0A= -cloud.google.com/go/dataplex v1.5.2/go.mod h1:cVMgQHsmfRoI5KFYq4JtIBEUbYwc3c7tXmIDhRmNNVQ= -cloud.google.com/go/dataplex v1.6.0/go.mod h1:bMsomC/aEJOSpHXdFKFGQ1b0TDPIeL28nJObeO1ppRs= -cloud.google.com/go/dataplex v1.8.1/go.mod h1:7TyrDT6BCdI8/38Uvp0/ZxBslOslP2X2MPDucliyvSE= -cloud.google.com/go/dataproc v1.7.0/go.mod h1:CKAlMjII9H90RXaMpSxQ8EU6dQx6iAYNPcYPOkSbi8s= -cloud.google.com/go/dataproc v1.8.0/go.mod h1:5OW+zNAH0pMpw14JVrPONsxMQYMBqJuzORhIBfBn9uI= -cloud.google.com/go/dataproc v1.12.0/go.mod h1:zrF3aX0uV3ikkMz6z4uBbIKyhRITnxvr4i3IjKsKrw4= cloud.google.com/go/dataqna v0.5.0/go.mod h1:90Hyk596ft3zUQ8NkFfvICSIfHFh1Bc7C4cK3vbhkeo= cloud.google.com/go/dataqna v0.6.0/go.mod h1:1lqNpM7rqNLVgWBJyk5NF6Uen2PHym0jtVJonplVsDA= -cloud.google.com/go/dataqna v0.7.0/go.mod h1:Lx9OcIIeqCrw1a6KdO3/5KMP1wAmTc0slZWwP12Qq3c= -cloud.google.com/go/dataqna v0.8.1/go.mod h1:zxZM0Bl6liMePWsHA8RMGAfmTG34vJMapbHAxQ5+WA8= cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= -cloud.google.com/go/datastore v1.10.0/go.mod h1:PC5UzAmDEkAmkfaknstTYbNpgE49HAgW2J1gcgUfmdM= -cloud.google.com/go/datastore v1.11.0/go.mod h1:TvGxBIHCS50u8jzG+AW/ppf87v1of8nwzFNgEZU1D3c= -cloud.google.com/go/datastore v1.12.0/go.mod h1:KjdB88W897MRITkvWWJrg2OUtrR5XVj1EoLgSp6/N70= cloud.google.com/go/datastream v1.2.0/go.mod h1:i/uTP8/fZwgATHS/XFu0TcNUhuA0twZxxQ3EyCUQMwo= cloud.google.com/go/datastream v1.3.0/go.mod h1:cqlOX8xlyYF/uxhiKn6Hbv6WjwPPuI9W2M9SAXwaLLQ= -cloud.google.com/go/datastream v1.4.0/go.mod h1:h9dpzScPhDTs5noEMQVWP8Wx8AFBRyS0s8KWPx/9r0g= -cloud.google.com/go/datastream v1.5.0/go.mod h1:6TZMMNPwjUqZHBKPQ1wwXpb0d5VDVPl2/XoS5yi88q4= -cloud.google.com/go/datastream v1.6.0/go.mod h1:6LQSuswqLa7S4rPAOZFVjHIG3wJIjZcZrw8JDEDJuIs= -cloud.google.com/go/datastream v1.7.0/go.mod h1:uxVRMm2elUSPuh65IbZpzJNMbuzkcvu5CjMqVIUHrww= -cloud.google.com/go/datastream v1.9.1/go.mod h1:hqnmr8kdUBmrnk65k5wNRoHSCYksvpdZIcZIEl8h43Q= -cloud.google.com/go/deploy v1.4.0/go.mod h1:5Xghikd4VrmMLNaF6FiRFDlHb59VM59YoDQnOUdsH/c= -cloud.google.com/go/deploy v1.5.0/go.mod h1:ffgdD0B89tToyW/U/D2eL0jN2+IEV/3EMuXHA0l4r+s= -cloud.google.com/go/deploy v1.6.0/go.mod h1:f9PTHehG/DjCom3QH0cntOVRm93uGBDt2vKzAPwpXQI= -cloud.google.com/go/deploy v1.8.0/go.mod h1:z3myEJnA/2wnB4sgjqdMfgxCA0EqC3RBTNcVPs93mtQ= -cloud.google.com/go/deploy v1.11.0/go.mod h1:tKuSUV5pXbn67KiubiUNUejqLs4f5cxxiCNCeyl0F2g= cloud.google.com/go/dialogflow v1.15.0/go.mod h1:HbHDWs33WOGJgn6rfzBW1Kv807BE3O1+xGbn59zZWI4= cloud.google.com/go/dialogflow v1.16.1/go.mod h1:po6LlzGfK+smoSmTBnbkIZY2w8ffjz/RcGSS+sh1el0= cloud.google.com/go/dialogflow v1.17.0/go.mod h1:YNP09C/kXA1aZdBgC/VtXX74G/TKn7XVCcVumTflA+8= -cloud.google.com/go/dialogflow v1.18.0/go.mod h1:trO7Zu5YdyEuR+BhSNOqJezyFQ3aUzz0njv7sMx/iek= -cloud.google.com/go/dialogflow v1.19.0/go.mod h1:JVmlG1TwykZDtxtTXujec4tQ+D8SBFMoosgy+6Gn0s0= -cloud.google.com/go/dialogflow v1.29.0/go.mod h1:b+2bzMe+k1s9V+F2jbJwpHPzrnIyHihAdRFMtn2WXuM= -cloud.google.com/go/dialogflow v1.31.0/go.mod h1:cuoUccuL1Z+HADhyIA7dci3N5zUssgpBJmCzI6fNRB4= -cloud.google.com/go/dialogflow v1.32.0/go.mod h1:jG9TRJl8CKrDhMEcvfcfFkkpp8ZhgPz3sBGmAUYJ2qE= -cloud.google.com/go/dialogflow v1.38.0/go.mod h1:L7jnH+JL2mtmdChzAIcXQHXMvQkE3U4hTaNltEuxXn4= -cloud.google.com/go/dlp v1.6.0/go.mod h1:9eyB2xIhpU0sVwUixfBubDoRwP+GjeUoxxeueZmqvmM= -cloud.google.com/go/dlp v1.7.0/go.mod h1:68ak9vCiMBjbasxeVD17hVPxDEck+ExiHavX8kiHG+Q= -cloud.google.com/go/dlp v1.9.0/go.mod h1:qdgmqgTyReTz5/YNSSuueR8pl7hO0o9bQ39ZhtgkWp4= -cloud.google.com/go/dlp v1.10.1/go.mod h1:IM8BWz1iJd8njcNcG0+Kyd9OPnqnRNkDV8j42VT5KOI= cloud.google.com/go/documentai v1.7.0/go.mod h1:lJvftZB5NRiFSX4moiye1SMxHx0Bc3x1+p9e/RfXYiU= cloud.google.com/go/documentai v1.8.0/go.mod h1:xGHNEB7CtsnySCNrCFdCyyMz44RhFEEX2Q7UD0c5IhU= -cloud.google.com/go/documentai v1.9.0/go.mod h1:FS5485S8R00U10GhgBC0aNGrJxBP8ZVpEeJ7PQDZd6k= -cloud.google.com/go/documentai v1.10.0/go.mod h1:vod47hKQIPeCfN2QS/jULIvQTugbmdc0ZvxxfQY1bg4= -cloud.google.com/go/documentai v1.16.0/go.mod h1:o0o0DLTEZ+YnJZ+J4wNfTxmDVyrkzFvttBXXtYRMHkM= -cloud.google.com/go/documentai v1.18.0/go.mod h1:F6CK6iUH8J81FehpskRmhLq/3VlwQvb7TvwOceQ2tbs= -cloud.google.com/go/documentai v1.20.0/go.mod h1:yJkInoMcK0qNAEdRnqY/D5asy73tnPe88I1YTZT+a8E= cloud.google.com/go/domains v0.6.0/go.mod h1:T9Rz3GasrpYk6mEGHh4rymIhjlnIuB4ofT1wTxDeT4Y= cloud.google.com/go/domains v0.7.0/go.mod h1:PtZeqS1xjnXuRPKE/88Iru/LdfoRyEHYA9nFQf4UKpg= -cloud.google.com/go/domains v0.8.0/go.mod h1:M9i3MMDzGFXsydri9/vW+EWz9sWb4I6WyHqdlAk0idE= -cloud.google.com/go/domains v0.9.1/go.mod h1:aOp1c0MbejQQ2Pjf1iJvnVyT+z6R6s8pX66KaCSDYfE= cloud.google.com/go/edgecontainer v0.1.0/go.mod h1:WgkZ9tp10bFxqO8BLPqv2LlfmQF1X8lZqwW4r1BTajk= cloud.google.com/go/edgecontainer v0.2.0/go.mod h1:RTmLijy+lGpQ7BXuTDa4C4ssxyXT34NIuHIgKuP4s5w= -cloud.google.com/go/edgecontainer v0.3.0/go.mod h1:FLDpP4nykgwwIfcLt6zInhprzw0lEi2P1fjO6Ie0qbc= -cloud.google.com/go/edgecontainer v1.0.0/go.mod h1:cttArqZpBB2q58W/upSG++ooo6EsblxDIolxa3jSjbY= -cloud.google.com/go/edgecontainer v1.1.1/go.mod h1:O5bYcS//7MELQZs3+7mabRqoWQhXCzenBu0R8bz2rwk= -cloud.google.com/go/errorreporting v0.3.0/go.mod h1:xsP2yaAp+OAW4OIm60An2bbLpqIhKXdWR/tawvl7QzU= -cloud.google.com/go/essentialcontacts v1.3.0/go.mod h1:r+OnHa5jfj90qIfZDO/VztSFqbQan7HV75p8sA+mdGI= -cloud.google.com/go/essentialcontacts v1.4.0/go.mod h1:8tRldvHYsmnBCHdFpvU+GL75oWiBKl80BiqlFh9tp+8= -cloud.google.com/go/essentialcontacts v1.5.0/go.mod h1:ay29Z4zODTuwliK7SnX8E86aUF2CTzdNtvv42niCX0M= -cloud.google.com/go/essentialcontacts v1.6.2/go.mod h1:T2tB6tX+TRak7i88Fb2N9Ok3PvY3UNbUsMag9/BARh4= -cloud.google.com/go/eventarc v1.7.0/go.mod h1:6ctpF3zTnaQCxUjHUdcfgcA1A2T309+omHZth7gDfmc= -cloud.google.com/go/eventarc v1.8.0/go.mod h1:imbzxkyAU4ubfsaKYdQg04WS1NvncblHEup4kvF+4gw= -cloud.google.com/go/eventarc v1.10.0/go.mod h1:u3R35tmZ9HvswGRBnF48IlYgYeBcPUCjkr4BTdem2Kw= -cloud.google.com/go/eventarc v1.11.0/go.mod h1:PyUjsUKPWoRBCHeOxZd/lbOOjahV41icXyUY5kSTvVY= -cloud.google.com/go/eventarc v1.12.1/go.mod h1:mAFCW6lukH5+IZjkvrEss+jmt2kOdYlN8aMx3sRJiAI= -cloud.google.com/go/filestore v1.3.0/go.mod h1:+qbvHGvXU1HaKX2nD0WEPo92TP/8AQuCVEBXNY9z0+w= -cloud.google.com/go/filestore v1.4.0/go.mod h1:PaG5oDfo9r224f8OYXURtAsY+Fbyq/bLYoINEK8XQAI= -cloud.google.com/go/filestore v1.5.0/go.mod h1:FqBXDWBp4YLHqRnVGveOkHDf8svj9r5+mUDLupOWEDs= -cloud.google.com/go/filestore v1.6.0/go.mod h1:di5unNuss/qfZTw2U9nhFqo8/ZDSc466dre85Kydllg= -cloud.google.com/go/filestore v1.7.1/go.mod h1:y10jsorq40JJnjR/lQ8AfFbbcGlw3g+Dp8oN7i7FjV4= -cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk= -cloud.google.com/go/firestore v1.9.0/go.mod h1:HMkjKHNTtRyZNiMzu7YAsLr9K3X2udY2AMwDaMEQiiE= -cloud.google.com/go/firestore v1.11.0/go.mod h1:b38dKhgzlmNNGTNZZwe7ZRFEuRab1Hay3/DBsIGKKy4= cloud.google.com/go/functions v1.6.0/go.mod h1:3H1UA3qiIPRWD7PeZKLvHZ9SaQhR26XIJcC0A5GbvAk= cloud.google.com/go/functions v1.7.0/go.mod h1:+d+QBcWM+RsrgZfV9xo6KfA1GlzJfxcfZcRPEhDDfzg= -cloud.google.com/go/functions v1.8.0/go.mod h1:RTZ4/HsQjIqIYP9a9YPbU+QFoQsAlYgrwOXJWHn1POY= -cloud.google.com/go/functions v1.9.0/go.mod h1:Y+Dz8yGguzO3PpIjhLTbnqV1CWmgQ5UwtlpzoyquQ08= -cloud.google.com/go/functions v1.10.0/go.mod h1:0D3hEOe3DbEvCXtYOZHQZmD+SzYsi1YbI7dGvHfldXw= -cloud.google.com/go/functions v1.12.0/go.mod h1:AXWGrF3e2C/5ehvwYo/GH6O5s09tOPksiKhz+hH8WkA= -cloud.google.com/go/functions v1.13.0/go.mod h1:EU4O007sQm6Ef/PwRsI8N2umygGqPBS/IZQKBQBcJ3c= -cloud.google.com/go/functions v1.15.1/go.mod h1:P5yNWUTkyU+LvW/S9O6V+V423VZooALQlqoXdoPz5AE= cloud.google.com/go/gaming v1.5.0/go.mod h1:ol7rGcxP/qHTRQE/RO4bxkXq+Fix0j6D4LFPzYTIrDM= cloud.google.com/go/gaming v1.6.0/go.mod h1:YMU1GEvA39Qt3zWGyAVA9bpYz/yAhTvaQ1t2sK4KPUA= -cloud.google.com/go/gaming v1.7.0/go.mod h1:LrB8U7MHdGgFG851iHAfqUdLcKBdQ55hzXy9xBJz0+w= -cloud.google.com/go/gaming v1.8.0/go.mod h1:xAqjS8b7jAVW0KFYeRUxngo9My3f33kFmua++Pi+ggM= -cloud.google.com/go/gaming v1.9.0/go.mod h1:Fc7kEmCObylSWLO334NcO+O9QMDyz+TKC4v1D7X+Bc0= -cloud.google.com/go/gaming v1.10.1/go.mod h1:XQQvtfP8Rb9Rxnxm5wFVpAp9zCQkJi2bLIb7iHGwB3s= -cloud.google.com/go/gkebackup v0.2.0/go.mod h1:XKvv/4LfG829/B8B7xRkk8zRrOEbKtEam6yNfuQNH60= -cloud.google.com/go/gkebackup v0.3.0/go.mod h1:n/E671i1aOQvUxT541aTkCwExO/bTer2HDlj4TsBRAo= -cloud.google.com/go/gkebackup v0.4.0/go.mod h1:byAyBGUwYGEEww7xsbnUTBHIYcOPy/PgUWUtOeRm9Vg= cloud.google.com/go/gkeconnect v0.5.0/go.mod h1:c5lsNAg5EwAy7fkqX/+goqFsU1Da/jQFqArp+wGNr/o= cloud.google.com/go/gkeconnect v0.6.0/go.mod h1:Mln67KyU/sHJEBY8kFZ0xTeyPtzbq9StAVvEULYK16A= -cloud.google.com/go/gkeconnect v0.7.0/go.mod h1:SNfmVqPkaEi3bF/B3CNZOAYPYdg7sU+obZ+QTky2Myw= -cloud.google.com/go/gkeconnect v0.8.1/go.mod h1:KWiK1g9sDLZqhxB2xEuPV8V9NYzrqTUmQR9shJHpOZw= cloud.google.com/go/gkehub v0.9.0/go.mod h1:WYHN6WG8w9bXU0hqNxt8rm5uxnk8IH+lPY9J2TV7BK0= cloud.google.com/go/gkehub v0.10.0/go.mod h1:UIPwxI0DsrpsVoWpLB0stwKCP+WFVG9+y977wO+hBH0= -cloud.google.com/go/gkehub v0.11.0/go.mod h1:JOWHlmN+GHyIbuWQPl47/C2RFhnFKH38jH9Ascu3n0E= -cloud.google.com/go/gkehub v0.12.0/go.mod h1:djiIwwzTTBrF5NaXCGv3mf7klpEMcST17VBTVVDcuaw= -cloud.google.com/go/gkehub v0.14.1/go.mod h1:VEXKIJZ2avzrbd7u+zeMtW00Y8ddk/4V9511C9CQGTY= -cloud.google.com/go/gkemulticloud v0.3.0/go.mod h1:7orzy7O0S+5kq95e4Hpn7RysVA7dPs8W/GgfUtsPbrA= -cloud.google.com/go/gkemulticloud v0.4.0/go.mod h1:E9gxVBnseLWCk24ch+P9+B2CoDFJZTyIgLKSalC7tuI= -cloud.google.com/go/gkemulticloud v0.5.0/go.mod h1:W0JDkiyi3Tqh0TJr//y19wyb1yf8llHVto2Htf2Ja3Y= -cloud.google.com/go/gkemulticloud v0.6.1/go.mod h1:kbZ3HKyTsiwqKX7Yw56+wUGwwNZViRnxWK2DVknXWfw= cloud.google.com/go/grafeas v0.2.0/go.mod h1:KhxgtF2hb0P191HlY5besjYm6MqTSTj3LSI+M+ByZHc= -cloud.google.com/go/grafeas v0.3.0/go.mod h1:P7hgN24EyONOTMyeJH6DxG4zD7fwiYa5Q6GUgyFSOU8= -cloud.google.com/go/gsuiteaddons v1.3.0/go.mod h1:EUNK/J1lZEZO8yPtykKxLXI6JSVN2rg9bN8SXOa0bgM= -cloud.google.com/go/gsuiteaddons v1.4.0/go.mod h1:rZK5I8hht7u7HxFQcFei0+AtfS9uSushomRlg+3ua1o= -cloud.google.com/go/gsuiteaddons v1.5.0/go.mod h1:TFCClYLd64Eaa12sFVmUyG62tk4mdIsI7pAnSXRkcFo= -cloud.google.com/go/gsuiteaddons v1.6.1/go.mod h1:CodrdOqRZcLp5WOwejHWYBjZvfY0kOphkAKpF/3qdZY= -cloud.google.com/go/iam v0.1.0/go.mod h1:vcUNEa0pEm0qRVpmWepWaFMIAI8/hjB9mO8rNCJtF6c= cloud.google.com/go/iam v0.3.0/go.mod h1:XzJPvDayI+9zsASAFO68Hk07u3z+f+JrT2xXNdp4bnY= cloud.google.com/go/iam v0.5.0/go.mod h1:wPU9Vt0P4UmCux7mqtRu6jcpPAb74cP1fh50J3QpkUc= -cloud.google.com/go/iam v0.6.0/go.mod h1:+1AH33ueBne5MzYccyMHtEKqLE4/kJOibtffMHDMFMc= -cloud.google.com/go/iam v0.7.0/go.mod h1:H5Br8wRaDGNc8XP3keLc4unfUUZeyH3Sfl9XpQEYOeg= -cloud.google.com/go/iam v0.8.0/go.mod h1:lga0/y3iH6CX7sYqypWJ33hf7kkfXJag67naqGESjkE= -cloud.google.com/go/iam v0.11.0/go.mod h1:9PiLDanza5D+oWFZiH1uG+RnRCfEGKoyl6yo4cgWZGY= -cloud.google.com/go/iam v0.12.0/go.mod h1:knyHGviacl11zrtZUoDuYpDgLjvr28sLQaG0YB2GYAY= -cloud.google.com/go/iam v0.13.0/go.mod h1:ljOg+rcNfzZ5d6f1nAUJ8ZIxOaZUVoS14bKCtaLZ/D0= -cloud.google.com/go/iam v1.0.1/go.mod h1:yR3tmSL8BcZB4bxByRv2jkSIahVmCtfKZwLYGBalRE8= -cloud.google.com/go/iam v1.1.0/go.mod h1:nxdHjaKfCr7fNYx/HJMM8LgiMugmveWlkatear5gVyk= -cloud.google.com/go/iap v1.4.0/go.mod h1:RGFwRJdihTINIe4wZ2iCP0zF/qu18ZwyKxrhMhygBEc= -cloud.google.com/go/iap v1.5.0/go.mod h1:UH/CGgKd4KyohZL5Pt0jSKE4m3FR51qg6FKQ/z/Ix9A= -cloud.google.com/go/iap v1.6.0/go.mod h1:NSuvI9C/j7UdjGjIde7t7HBz+QTwBcapPE07+sSRcLk= -cloud.google.com/go/iap v1.7.0/go.mod h1:beqQx56T9O1G1yNPph+spKpNibDlYIiIixiqsQXxLIo= -cloud.google.com/go/iap v1.7.1/go.mod h1:WapEwPc7ZxGt2jFGB/C/bm+hP0Y6NXzOYGjpPnmMS74= -cloud.google.com/go/iap v1.8.1/go.mod h1:sJCbeqg3mvWLqjZNsI6dfAtbbV1DL2Rl7e1mTyXYREQ= -cloud.google.com/go/ids v1.1.0/go.mod h1:WIuwCaYVOzHIj2OhN9HAwvW+DBdmUAdcWlFxRl+KubM= -cloud.google.com/go/ids v1.2.0/go.mod h1:5WXvp4n25S0rA/mQWAg1YEEBBq6/s+7ml1RDCW1IrcY= -cloud.google.com/go/ids v1.3.0/go.mod h1:JBdTYwANikFKaDP6LtW5JAi4gubs57SVNQjemdt6xV4= -cloud.google.com/go/ids v1.4.1/go.mod h1:np41ed8YMU8zOgv53MMMoCntLTn2lF+SUzlM+O3u/jw= -cloud.google.com/go/iot v1.3.0/go.mod h1:r7RGh2B61+B8oz0AGE+J72AhA0G7tdXItODWsaA2oLs= -cloud.google.com/go/iot v1.4.0/go.mod h1:dIDxPOn0UvNDUMD8Ger7FIaTuvMkj+aGk94RPP0iV+g= -cloud.google.com/go/iot v1.5.0/go.mod h1:mpz5259PDl3XJthEmh9+ap0affn/MqNSP4My77Qql9o= -cloud.google.com/go/iot v1.6.0/go.mod h1:IqdAsmE2cTYYNO1Fvjfzo9po179rAtJeVGUvkLN3rLE= -cloud.google.com/go/iot v1.7.1/go.mod h1:46Mgw7ev1k9KqK1ao0ayW9h0lI+3hxeanz+L1zmbbbk= -cloud.google.com/go/kms v1.4.0/go.mod h1:fajBHndQ+6ubNw6Ss2sSd+SWvjL26RNo/dr7uxsnnOA= -cloud.google.com/go/kms v1.5.0/go.mod h1:QJS2YY0eJGBg3mnDfuaCyLauWwBJiHRboYxJ++1xJNg= -cloud.google.com/go/kms v1.6.0/go.mod h1:Jjy850yySiasBUDi6KFUwUv2n1+o7QZFyuUJg6OgjA0= -cloud.google.com/go/kms v1.8.0/go.mod h1:4xFEhYFqvW+4VMELtZyxomGSYtSQKzM178ylFW4jMAg= -cloud.google.com/go/kms v1.9.0/go.mod h1:qb1tPTgfF9RQP8e1wq4cLFErVuTJv7UsSC915J8dh3w= -cloud.google.com/go/kms v1.10.0/go.mod h1:ng3KTUtQQU9bPX3+QGLsflZIHlkbn8amFAMY63m8d24= -cloud.google.com/go/kms v1.10.1/go.mod h1:rIWk/TryCkR59GMC3YtHtXeLzd634lBbKenvyySAyYI= -cloud.google.com/go/kms v1.11.0/go.mod h1:hwdiYC0xjnWsKQQCQQmIQnS9asjYVSK6jtXm+zFqXLM= -cloud.google.com/go/kms v1.12.1/go.mod h1:c9J991h5DTl+kg7gi3MYomh12YEENGrf48ee/N/2CDM= +cloud.google.com/go/iam v1.1.5 h1:1jTsCu4bcsNsE4iiqNT5SHwrDRCfRmIaaaVFhRveTJI= +cloud.google.com/go/iam v1.1.5/go.mod h1:rB6P/Ic3mykPbFio+vo7403drjlgvoWfYpJhMXEbzv8= cloud.google.com/go/language v1.4.0/go.mod h1:F9dRpNFQmJbkaop6g0JhSBXCNlO90e1KWx5iDdxbWic= cloud.google.com/go/language v1.6.0/go.mod h1:6dJ8t3B+lUYfStgls25GusK04NLh3eDLQnWM3mdEbhI= -cloud.google.com/go/language v1.7.0/go.mod h1:DJ6dYN/W+SQOjF8e1hLQXMF21AkH2w9wiPzPCJa2MIE= -cloud.google.com/go/language v1.8.0/go.mod h1:qYPVHf7SPoNNiCL2Dr0FfEFNil1qi3pQEyygwpgVKB8= -cloud.google.com/go/language v1.9.0/go.mod h1:Ns15WooPM5Ad/5no/0n81yUetis74g3zrbeJBE+ptUY= -cloud.google.com/go/language v1.10.1/go.mod h1:CPp94nsdVNiQEt1CNjF5WkTcisLiHPyIbMhvR8H2AW0= cloud.google.com/go/lifesciences v0.5.0/go.mod h1:3oIKy8ycWGPUyZDR/8RNnTOYevhaMLqh5vLUXs9zvT8= cloud.google.com/go/lifesciences v0.6.0/go.mod h1:ddj6tSX/7BOnhxCSd3ZcETvtNr8NZ6t/iPhY2Tyfu08= -cloud.google.com/go/lifesciences v0.8.0/go.mod h1:lFxiEOMqII6XggGbOnKiyZ7IBwoIqA84ClvoezaA/bo= -cloud.google.com/go/lifesciences v0.9.1/go.mod h1:hACAOd1fFbCGLr/+weUKRAJas82Y4vrL3O5326N//Wc= -cloud.google.com/go/logging v1.6.1/go.mod h1:5ZO0mHHbvm8gEmeEUHrmDlTDSu5imF6MUP9OfilNXBw= -cloud.google.com/go/logging v1.7.0/go.mod h1:3xjP2CjkM3ZkO73aj4ASA5wRPGGCRrPIAeNqVNkzY8M= -cloud.google.com/go/longrunning v0.1.1/go.mod h1:UUFxuDWkv22EuY93jjmDMFT5GPQKeFVJBIF6QlTqdsE= -cloud.google.com/go/longrunning v0.3.0/go.mod h1:qth9Y41RRSUE69rDcOn6DdK3HfQfsUI0YSmW3iIlLJc= -cloud.google.com/go/longrunning v0.4.1/go.mod h1:4iWDqhBZ70CvZ6BfETbvam3T8FMvLK+eFj0E6AaRQTo= -cloud.google.com/go/longrunning v0.4.2/go.mod h1:OHrnaYyLUV6oqwh0xiS7e5sLQhP1m0QU9R+WhGDMgIQ= -cloud.google.com/go/longrunning v0.5.0/go.mod h1:0JNuqRShmscVAhIACGtskSAWtqtOoPkwP0YF1oVEchc= -cloud.google.com/go/longrunning v0.5.1/go.mod h1:spvimkwdz6SPWKEt/XBij79E9fiTkHSQl/fRUUQJYJc= -cloud.google.com/go/managedidentities v1.3.0/go.mod h1:UzlW3cBOiPrzucO5qWkNkh0w33KFtBJU281hacNvsdE= -cloud.google.com/go/managedidentities v1.4.0/go.mod h1:NWSBYbEMgqmbZsLIyKvxrYbtqOsxY1ZrGM+9RgDqInM= -cloud.google.com/go/managedidentities v1.5.0/go.mod h1:+dWcZ0JlUmpuxpIDfyP5pP5y0bLdRwOS4Lp7gMni/LA= -cloud.google.com/go/managedidentities v1.6.1/go.mod h1:h/irGhTN2SkZ64F43tfGPMbHnypMbu4RB3yl8YcuEak= -cloud.google.com/go/maps v0.1.0/go.mod h1:BQM97WGyfw9FWEmQMpZ5T6cpovXXSd1cGmFma94eubI= -cloud.google.com/go/maps v0.6.0/go.mod h1:o6DAMMfb+aINHz/p/jbcY+mYeXBoZoxTfdSQ8VAJaCw= -cloud.google.com/go/maps v0.7.0/go.mod h1:3GnvVl3cqeSvgMcpRlQidXsPYuDGQ8naBis7MVzpXsY= cloud.google.com/go/mediatranslation v0.5.0/go.mod h1:jGPUhGTybqsPQn91pNXw0xVHfuJ3leR1wj37oU3y1f4= cloud.google.com/go/mediatranslation v0.6.0/go.mod h1:hHdBCTYNigsBxshbznuIMFNe5QXEowAuNmmC7h8pu5w= -cloud.google.com/go/mediatranslation v0.7.0/go.mod h1:LCnB/gZr90ONOIQLgSXagp8XUW1ODs2UmUMvcgMfI2I= -cloud.google.com/go/mediatranslation v0.8.1/go.mod h1:L/7hBdEYbYHQJhX2sldtTO5SZZ1C1vkapubj0T2aGig= cloud.google.com/go/memcache v1.4.0/go.mod h1:rTOfiGZtJX1AaFUrOgsMHX5kAzaTQ8azHiuDoTPzNsE= cloud.google.com/go/memcache v1.5.0/go.mod h1:dk3fCK7dVo0cUU2c36jKb4VqKPS22BTkf81Xq617aWM= -cloud.google.com/go/memcache v1.6.0/go.mod h1:XS5xB0eQZdHtTuTF9Hf8eJkKtR3pVRCcvJwtm68T3rA= -cloud.google.com/go/memcache v1.7.0/go.mod h1:ywMKfjWhNtkQTxrWxCkCFkoPjLHPW6A7WOTVI8xy3LY= -cloud.google.com/go/memcache v1.9.0/go.mod h1:8oEyzXCu+zo9RzlEaEjHl4KkgjlNDaXbCQeQWlzNFJM= -cloud.google.com/go/memcache v1.10.1/go.mod h1:47YRQIarv4I3QS5+hoETgKO40InqzLP6kpNLvyXuyaA= cloud.google.com/go/metastore v1.5.0/go.mod h1:2ZNrDcQwghfdtCwJ33nM0+GrBGlVuh8rakL3vdPY3XY= cloud.google.com/go/metastore v1.6.0/go.mod h1:6cyQTls8CWXzk45G55x57DVQ9gWg7RiH65+YgPsNh9s= -cloud.google.com/go/metastore v1.7.0/go.mod h1:s45D0B4IlsINu87/AsWiEVYbLaIMeUSoxlKKDqBGFS8= -cloud.google.com/go/metastore v1.8.0/go.mod h1:zHiMc4ZUpBiM7twCIFQmJ9JMEkDSyZS9U12uf7wHqSI= -cloud.google.com/go/metastore v1.10.0/go.mod h1:fPEnH3g4JJAk+gMRnrAnoqyv2lpUCqJPWOodSaf45Eo= -cloud.google.com/go/metastore v1.11.1/go.mod h1:uZuSo80U3Wd4zi6C22ZZliOUJ3XeM/MlYi/z5OAOWRA= -cloud.google.com/go/monitoring v1.7.0/go.mod h1:HpYse6kkGo//7p6sT0wsIC6IBDET0RhIsnmlA53dvEk= -cloud.google.com/go/monitoring v1.8.0/go.mod h1:E7PtoMJ1kQXWxPjB6mv2fhC5/15jInuulFdYYtlcvT4= -cloud.google.com/go/monitoring v1.12.0/go.mod h1:yx8Jj2fZNEkL/GYZyTLS4ZtZEZN8WtDEiEqG4kLK50w= -cloud.google.com/go/monitoring v1.13.0/go.mod h1:k2yMBAB1H9JT/QETjNkgdCGD9bPF712XiLTVr+cBrpw= -cloud.google.com/go/monitoring v1.15.1/go.mod h1:lADlSAlFdbqQuwwpaImhsJXu1QSdd3ojypXrFSMr2rM= cloud.google.com/go/networkconnectivity v1.4.0/go.mod h1:nOl7YL8odKyAOtzNX73/M5/mGZgqqMeryi6UPZTk/rA= cloud.google.com/go/networkconnectivity v1.5.0/go.mod h1:3GzqJx7uhtlM3kln0+x5wyFvuVH1pIBJjhCpjzSt75o= -cloud.google.com/go/networkconnectivity v1.6.0/go.mod h1:OJOoEXW+0LAxHh89nXd64uGG+FbQoeH8DtxCHVOMlaM= -cloud.google.com/go/networkconnectivity v1.7.0/go.mod h1:RMuSbkdbPwNMQjB5HBWD5MpTBnNm39iAVpC3TmsExt8= -cloud.google.com/go/networkconnectivity v1.10.0/go.mod h1:UP4O4sWXJG13AqrTdQCD9TnLGEbtNRqjuaaA7bNjF5E= -cloud.google.com/go/networkconnectivity v1.11.0/go.mod h1:iWmDD4QF16VCDLXUqvyspJjIEtBR/4zq5hwnY2X3scM= -cloud.google.com/go/networkconnectivity v1.12.1/go.mod h1:PelxSWYM7Sh9/guf8CFhi6vIqf19Ir/sbfZRUwXh92E= -cloud.google.com/go/networkmanagement v1.4.0/go.mod h1:Q9mdLLRn60AsOrPc8rs8iNV6OHXaGcDdsIQe1ohekq8= -cloud.google.com/go/networkmanagement v1.5.0/go.mod h1:ZnOeZ/evzUdUsnvRt792H0uYEnHQEMaz+REhhzJRcf4= -cloud.google.com/go/networkmanagement v1.6.0/go.mod h1:5pKPqyXjB/sgtvB5xqOemumoQNB7y95Q7S+4rjSOPYY= -cloud.google.com/go/networkmanagement v1.8.0/go.mod h1:Ho/BUGmtyEqrttTgWEe7m+8vDdK74ibQc+Be0q7Fof0= cloud.google.com/go/networksecurity v0.5.0/go.mod h1:xS6fOCoqpVC5zx15Z/MqkfDwH4+m/61A3ODiDV1xmiQ= cloud.google.com/go/networksecurity v0.6.0/go.mod h1:Q5fjhTr9WMI5mbpRYEbiexTzROf7ZbDzvzCrNl14nyU= -cloud.google.com/go/networksecurity v0.7.0/go.mod h1:mAnzoxx/8TBSyXEeESMy9OOYwo1v+gZ5eMRnsT5bC8k= -cloud.google.com/go/networksecurity v0.8.0/go.mod h1:B78DkqsxFG5zRSVuwYFRZ9Xz8IcQ5iECsNrPn74hKHU= -cloud.google.com/go/networksecurity v0.9.1/go.mod h1:MCMdxOKQ30wsBI1eI659f9kEp4wuuAueoC9AJKSPWZQ= cloud.google.com/go/notebooks v1.2.0/go.mod h1:9+wtppMfVPUeJ8fIWPOq1UnATHISkGXGqTkxeieQ6UY= cloud.google.com/go/notebooks v1.3.0/go.mod h1:bFR5lj07DtCPC7YAAJ//vHskFBxA5JzYlH68kXVdk34= -cloud.google.com/go/notebooks v1.4.0/go.mod h1:4QPMngcwmgb6uw7Po99B2xv5ufVoIQ7nOGDyL4P8AgA= -cloud.google.com/go/notebooks v1.5.0/go.mod h1:q8mwhnP9aR8Hpfnrc5iN5IBhrXUy8S2vuYs+kBJ/gu0= -cloud.google.com/go/notebooks v1.7.0/go.mod h1:PVlaDGfJgj1fl1S3dUwhFMXFgfYGhYQt2164xOMONmE= -cloud.google.com/go/notebooks v1.8.0/go.mod h1:Lq6dYKOYOWUCTvw5t2q1gp1lAp0zxAxRycayS0iJcqQ= -cloud.google.com/go/notebooks v1.9.1/go.mod h1:zqG9/gk05JrzgBt4ghLzEepPHNwE5jgPcHZRKhlC1A8= -cloud.google.com/go/optimization v1.1.0/go.mod h1:5po+wfvX5AQlPznyVEZjGJTMr4+CAkJf2XSTQOOl9l4= -cloud.google.com/go/optimization v1.2.0/go.mod h1:Lr7SOHdRDENsh+WXVmQhQTrzdu9ybg0NecjHidBq6xs= -cloud.google.com/go/optimization v1.3.1/go.mod h1:IvUSefKiwd1a5p0RgHDbWCIbDFgKuEdB+fPPuP0IDLI= -cloud.google.com/go/optimization v1.4.1/go.mod h1:j64vZQP7h9bO49m2rVaTVoNM0vEBEN5eKPUPbZyXOrk= -cloud.google.com/go/orchestration v1.3.0/go.mod h1:Sj5tq/JpWiB//X/q3Ngwdl5K7B7Y0KZ7bfv0wL6fqVA= -cloud.google.com/go/orchestration v1.4.0/go.mod h1:6W5NLFWs2TlniBphAViZEVhrXRSMgUGDfW7vrWKvsBk= -cloud.google.com/go/orchestration v1.6.0/go.mod h1:M62Bevp7pkxStDfFfTuCOaXgaaqRAga1yKyoMtEoWPQ= -cloud.google.com/go/orchestration v1.8.1/go.mod h1:4sluRF3wgbYVRqz7zJ1/EUNc90TTprliq9477fGobD8= -cloud.google.com/go/orgpolicy v1.4.0/go.mod h1:xrSLIV4RePWmP9P3tBl8S93lTmlAxjm06NSm2UTmKvE= -cloud.google.com/go/orgpolicy v1.5.0/go.mod h1:hZEc5q3wzwXJaKrsx5+Ewg0u1LxJ51nNFlext7Tanwc= -cloud.google.com/go/orgpolicy v1.10.0/go.mod h1:w1fo8b7rRqlXlIJbVhOMPrwVljyuW5mqssvBtU18ONc= -cloud.google.com/go/orgpolicy v1.11.0/go.mod h1:2RK748+FtVvnfuynxBzdnyu7sygtoZa1za/0ZfpOs1M= -cloud.google.com/go/orgpolicy v1.11.1/go.mod h1:8+E3jQcpZJQliP+zaFfayC2Pg5bmhuLK755wKhIIUCE= cloud.google.com/go/osconfig v1.7.0/go.mod h1:oVHeCeZELfJP7XLxcBGTMBvRO+1nQ5tFG9VQTmYS2Fs= cloud.google.com/go/osconfig v1.8.0/go.mod h1:EQqZLu5w5XA7eKizepumcvWx+m8mJUhEwiPqWiZeEdg= -cloud.google.com/go/osconfig v1.9.0/go.mod h1:Yx+IeIZJ3bdWmzbQU4fxNl8xsZ4amB+dygAwFPlvnNo= -cloud.google.com/go/osconfig v1.10.0/go.mod h1:uMhCzqC5I8zfD9zDEAfvgVhDS8oIjySWh+l4WK6GnWw= -cloud.google.com/go/osconfig v1.11.0/go.mod h1:aDICxrur2ogRd9zY5ytBLV89KEgT2MKB2L/n6x1ooPw= -cloud.google.com/go/osconfig v1.12.0/go.mod h1:8f/PaYzoS3JMVfdfTubkowZYGmAhUCjjwnjqWI7NVBc= -cloud.google.com/go/osconfig v1.12.1/go.mod h1:4CjBxND0gswz2gfYRCUoUzCm9zCABp91EeTtWXyz0tE= cloud.google.com/go/oslogin v1.4.0/go.mod h1:YdgMXWRaElXz/lDk1Na6Fh5orF7gvmJ0FGLIs9LId4E= cloud.google.com/go/oslogin v1.5.0/go.mod h1:D260Qj11W2qx/HVF29zBg+0fd6YCSjSqLUkY/qEenQU= -cloud.google.com/go/oslogin v1.6.0/go.mod h1:zOJ1O3+dTU8WPlGEkFSh7qeHPPSoxrcMbbK1Nm2iX70= -cloud.google.com/go/oslogin v1.7.0/go.mod h1:e04SN0xO1UNJ1M5GP0vzVBFicIe4O53FOfcixIqTyXo= -cloud.google.com/go/oslogin v1.9.0/go.mod h1:HNavntnH8nzrn8JCTT5fj18FuJLFJc4NaZJtBnQtKFs= -cloud.google.com/go/oslogin v1.10.1/go.mod h1:x692z7yAue5nE7CsSnoG0aaMbNoRJRXO4sn73R+ZqAs= cloud.google.com/go/phishingprotection v0.5.0/go.mod h1:Y3HZknsK9bc9dMi+oE8Bim0lczMU6hrX0UpADuMefr0= cloud.google.com/go/phishingprotection v0.6.0/go.mod h1:9Y3LBLgy0kDTcYET8ZH3bq/7qni15yVUoAxiFxnlSUA= -cloud.google.com/go/phishingprotection v0.7.0/go.mod h1:8qJI4QKHoda/sb/7/YmMQ2omRLSLYSu9bU0EKCNI+Lk= -cloud.google.com/go/phishingprotection v0.8.1/go.mod h1:AxonW7GovcA8qdEk13NfHq9hNx5KPtfxXNeUxTDxB6I= -cloud.google.com/go/policytroubleshooter v1.3.0/go.mod h1:qy0+VwANja+kKrjlQuOzmlvscn4RNsAc0e15GGqfMxg= -cloud.google.com/go/policytroubleshooter v1.4.0/go.mod h1:DZT4BcRw3QoO8ota9xw/LKtPa8lKeCByYeKTIf/vxdE= -cloud.google.com/go/policytroubleshooter v1.5.0/go.mod h1:Rz1WfV+1oIpPdN2VvvuboLVRsB1Hclg3CKQ53j9l8vw= -cloud.google.com/go/policytroubleshooter v1.6.0/go.mod h1:zYqaPTsmfvpjm5ULxAyD/lINQxJ0DDsnWOP/GZ7xzBc= -cloud.google.com/go/policytroubleshooter v1.7.1/go.mod h1:0NaT5v3Ag1M7U5r0GfDCpUFkWd9YqpubBWsQlhanRv0= cloud.google.com/go/privatecatalog v0.5.0/go.mod h1:XgosMUvvPyxDjAVNDYxJ7wBW8//hLDDYmnsNcMGq1K0= cloud.google.com/go/privatecatalog v0.6.0/go.mod h1:i/fbkZR0hLN29eEWiiwue8Pb+GforiEIBnV9yrRUOKI= -cloud.google.com/go/privatecatalog v0.7.0/go.mod h1:2s5ssIFO69F5csTXcwBP7NPFTZvps26xGzvQ2PQaBYg= -cloud.google.com/go/privatecatalog v0.8.0/go.mod h1:nQ6pfaegeDAq/Q5lrfCQzQLhubPiZhSaNhIgfJlnIXs= -cloud.google.com/go/privatecatalog v0.9.1/go.mod h1:0XlDXW2unJXdf9zFz968Hp35gl/bhF4twwpXZAW50JA= cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= -cloud.google.com/go/pubsub v1.5.0/go.mod h1:ZEwJccE3z93Z2HWvstpri00jOg7oO4UZDtKhwDwqF0w= -cloud.google.com/go/pubsub v1.26.0/go.mod h1:QgBH3U/jdJy/ftjPhTkyXNj543Tin1pRYcdcPRnFIRI= -cloud.google.com/go/pubsub v1.27.1/go.mod h1:hQN39ymbV9geqBnfQq6Xf63yNhUAhv9CZhzp5O6qsW0= -cloud.google.com/go/pubsub v1.28.0/go.mod h1:vuXFpwaVoIPQMGXqRyUQigu/AX1S3IWugR9xznmcXX8= -cloud.google.com/go/pubsub v1.30.0/go.mod h1:qWi1OPS0B+b5L+Sg6Gmc9zD1Y+HaM0MdUr7LsupY1P4= -cloud.google.com/go/pubsub v1.32.0/go.mod h1:f+w71I33OMyxf9VpMVcZbnG5KSUkCOUHYpFd5U1GdRc= -cloud.google.com/go/pubsublite v1.5.0/go.mod h1:xapqNQ1CuLfGi23Yda/9l4bBCKz/wC3KIJ5gKcxveZg= -cloud.google.com/go/pubsublite v1.6.0/go.mod h1:1eFCS0U11xlOuMFV/0iBqw3zP12kddMeCbj/F3FSj9k= -cloud.google.com/go/pubsublite v1.7.0/go.mod h1:8hVMwRXfDfvGm3fahVbtDbiLePT3gpoiJYJY+vxWxVM= -cloud.google.com/go/pubsublite v1.8.1/go.mod h1:fOLdU4f5xldK4RGJrBMm+J7zMWNj/k4PxwEZXy39QS0= cloud.google.com/go/recaptchaenterprise v1.3.1/go.mod h1:OdD+q+y4XGeAlxRaMn1Y7/GveP6zmq76byL6tjPE7d4= cloud.google.com/go/recaptchaenterprise/v2 v2.1.0/go.mod h1:w9yVqajwroDNTfGuhmOjPDN//rZGySaf6PtFVcSCa7o= cloud.google.com/go/recaptchaenterprise/v2 v2.2.0/go.mod h1:/Zu5jisWGeERrd5HnlS3EUGb/D335f9k51B/FVil0jk= cloud.google.com/go/recaptchaenterprise/v2 v2.3.0/go.mod h1:O9LwGCjrhGHBQET5CA7dd5NwwNQUErSgEDit1DLNTdo= -cloud.google.com/go/recaptchaenterprise/v2 v2.4.0/go.mod h1:Am3LHfOuBstrLrNCBrlI5sbwx9LBg3te2N6hGvHn2mE= -cloud.google.com/go/recaptchaenterprise/v2 v2.5.0/go.mod h1:O8LzcHXN3rz0j+LBC91jrwI3R+1ZSZEWrfL7XHgNo9U= -cloud.google.com/go/recaptchaenterprise/v2 v2.6.0/go.mod h1:RPauz9jeLtB3JVzg6nCbe12qNoaa8pXc4d/YukAmcnA= -cloud.google.com/go/recaptchaenterprise/v2 v2.7.0/go.mod h1:19wVj/fs5RtYtynAPJdDTb69oW0vNHYDBTbB4NvMD9c= -cloud.google.com/go/recaptchaenterprise/v2 v2.7.2/go.mod h1:kR0KjsJS7Jt1YSyWFkseQ756D45kaYNTlDPPaRAvDBU= cloud.google.com/go/recommendationengine v0.5.0/go.mod h1:E5756pJcVFeVgaQv3WNpImkFP8a+RptV6dDLGPILjvg= cloud.google.com/go/recommendationengine v0.6.0/go.mod h1:08mq2umu9oIqc7tDy8sx+MNJdLG0fUi3vaSVbztHgJ4= -cloud.google.com/go/recommendationengine v0.7.0/go.mod h1:1reUcE3GIu6MeBz/h5xZJqNLuuVjNg1lmWMPyjatzac= -cloud.google.com/go/recommendationengine v0.8.1/go.mod h1:MrZihWwtFYWDzE6Hz5nKcNz3gLizXVIDI/o3G1DLcrE= cloud.google.com/go/recommender v1.5.0/go.mod h1:jdoeiBIVrJe9gQjwd759ecLJbxCDED4A6p+mqoqDvTg= cloud.google.com/go/recommender v1.6.0/go.mod h1:+yETpm25mcoiECKh9DEScGzIRyDKpZ0cEhWGo+8bo+c= -cloud.google.com/go/recommender v1.7.0/go.mod h1:XLHs/W+T8olwlGOgfQenXBTbIseGclClff6lhFVe9Bs= -cloud.google.com/go/recommender v1.8.0/go.mod h1:PkjXrTT05BFKwxaUxQmtIlrtj0kph108r02ZZQ5FE70= -cloud.google.com/go/recommender v1.9.0/go.mod h1:PnSsnZY7q+VL1uax2JWkt/UegHssxjUVVCrX52CuEmQ= -cloud.google.com/go/recommender v1.10.1/go.mod h1:XFvrE4Suqn5Cq0Lf+mCP6oBHD/yRMA8XxP5sb7Q7gpA= cloud.google.com/go/redis v1.7.0/go.mod h1:V3x5Jq1jzUcg+UNsRvdmsfuFnit1cfe3Z/PGyq/lm4Y= cloud.google.com/go/redis v1.8.0/go.mod h1:Fm2szCDavWzBk2cDKxrkmWBqoCiL1+Ctwq7EyqBCA/A= -cloud.google.com/go/redis v1.9.0/go.mod h1:HMYQuajvb2D0LvMgZmLDZW8V5aOC/WxstZHiy4g8OiA= -cloud.google.com/go/redis v1.10.0/go.mod h1:ThJf3mMBQtW18JzGgh41/Wld6vnDDc/F/F35UolRZPM= -cloud.google.com/go/redis v1.11.0/go.mod h1:/X6eicana+BWcUda5PpwZC48o37SiFVTFSs0fWAJ7uQ= -cloud.google.com/go/redis v1.13.1/go.mod h1:VP7DGLpE91M6bcsDdMuyCm2hIpB6Vp2hI090Mfd1tcg= -cloud.google.com/go/resourcemanager v1.3.0/go.mod h1:bAtrTjZQFJkiWTPDb1WBjzvc6/kifjj4QBYuKCCoqKA= -cloud.google.com/go/resourcemanager v1.4.0/go.mod h1:MwxuzkumyTX7/a3n37gmsT3py7LIXwrShilPh3P1tR0= -cloud.google.com/go/resourcemanager v1.5.0/go.mod h1:eQoXNAiAvCf5PXxWxXjhKQoTMaUSNrEfg+6qdf/wots= -cloud.google.com/go/resourcemanager v1.6.0/go.mod h1:YcpXGRs8fDzcUl1Xw8uOVmI8JEadvhRIkoXXUNVYcVo= -cloud.google.com/go/resourcemanager v1.7.0/go.mod h1:HlD3m6+bwhzj9XCouqmeiGuni95NTrExfhoSrkC/3EI= -cloud.google.com/go/resourcemanager v1.9.1/go.mod h1:dVCuosgrh1tINZ/RwBufr8lULmWGOkPS8gL5gqyjdT8= -cloud.google.com/go/resourcesettings v1.3.0/go.mod h1:lzew8VfESA5DQ8gdlHwMrqZs1S9V87v3oCnKCWoOuQU= -cloud.google.com/go/resourcesettings v1.4.0/go.mod h1:ldiH9IJpcrlC3VSuCGvjR5of/ezRrOxFtpJoJo5SmXg= -cloud.google.com/go/resourcesettings v1.5.0/go.mod h1:+xJF7QSG6undsQDfsCJyqWXyBwUoJLhetkRMDRnIoXA= -cloud.google.com/go/resourcesettings v1.6.1/go.mod h1:M7mk9PIZrC5Fgsu1kZJci6mpgN8o0IUzVx3eJU3y4Jw= cloud.google.com/go/retail v1.8.0/go.mod h1:QblKS8waDmNUhghY2TI9O3JLlFk8jybHeV4BF19FrE4= cloud.google.com/go/retail v1.9.0/go.mod h1:g6jb6mKuCS1QKnH/dpu7isX253absFl6iE92nHwlBUY= -cloud.google.com/go/retail v1.10.0/go.mod h1:2gDk9HsL4HMS4oZwz6daui2/jmKvqShXKQuB2RZ+cCc= -cloud.google.com/go/retail v1.11.0/go.mod h1:MBLk1NaWPmh6iVFSz9MeKG/Psyd7TAgm6y/9L2B4x9Y= -cloud.google.com/go/retail v1.12.0/go.mod h1:UMkelN/0Z8XvKymXFbD4EhFJlYKRx1FGhQkVPU5kF14= -cloud.google.com/go/retail v1.14.1/go.mod h1:y3Wv3Vr2k54dLNIrCzenyKG8g8dhvhncT2NcNjb/6gE= -cloud.google.com/go/run v0.2.0/go.mod h1:CNtKsTA1sDcnqqIFR3Pb5Tq0usWxJJvsWOCPldRU3Do= -cloud.google.com/go/run v0.3.0/go.mod h1:TuyY1+taHxTjrD0ZFk2iAR+xyOXEA0ztb7U3UNA0zBo= -cloud.google.com/go/run v0.8.0/go.mod h1:VniEnuBwqjigv0A7ONfQUaEItaiCRVujlMqerPPiktM= -cloud.google.com/go/run v0.9.0/go.mod h1:Wwu+/vvg8Y+JUApMwEDfVfhetv30hCG4ZwDR/IXl2Qg= cloud.google.com/go/scheduler v1.4.0/go.mod h1:drcJBmxF3aqZJRhmkHQ9b3uSSpQoltBPGPxGAWROx6s= cloud.google.com/go/scheduler v1.5.0/go.mod h1:ri073ym49NW3AfT6DZi21vLZrG07GXr5p3H1KxN5QlI= -cloud.google.com/go/scheduler v1.6.0/go.mod h1:SgeKVM7MIwPn3BqtcBntpLyrIJftQISRrYB5ZtT+KOk= -cloud.google.com/go/scheduler v1.7.0/go.mod h1:jyCiBqWW956uBjjPMMuX09n3x37mtyPJegEWKxRsn44= -cloud.google.com/go/scheduler v1.8.0/go.mod h1:TCET+Y5Gp1YgHT8py4nlg2Sew8nUHMqcpousDgXJVQc= -cloud.google.com/go/scheduler v1.9.0/go.mod h1:yexg5t+KSmqu+njTIh3b7oYPheFtBWGcbVUYF1GGMIc= -cloud.google.com/go/scheduler v1.10.1/go.mod h1:R63Ldltd47Bs4gnhQkmNDse5w8gBRrhObZ54PxgR2Oo= cloud.google.com/go/secretmanager v1.6.0/go.mod h1:awVa/OXF6IiyaU1wQ34inzQNc4ISIDIrId8qE5QGgKA= -cloud.google.com/go/secretmanager v1.8.0/go.mod h1:hnVgi/bN5MYHd3Gt0SPuTPPp5ENina1/LxM+2W9U9J4= -cloud.google.com/go/secretmanager v1.9.0/go.mod h1:b71qH2l1yHmWQHt9LC80akm86mX8AL6X1MA01dW8ht4= -cloud.google.com/go/secretmanager v1.10.0/go.mod h1:MfnrdvKMPNra9aZtQFvBcvRU54hbPD8/HayQdlUgJpU= -cloud.google.com/go/secretmanager v1.11.1/go.mod h1:znq9JlXgTNdBeQk9TBW/FnR/W4uChEKGeqQWAJ8SXFw= cloud.google.com/go/security v1.5.0/go.mod h1:lgxGdyOKKjHL4YG3/YwIL2zLqMFCKs0UbQwgyZmfJl4= cloud.google.com/go/security v1.7.0/go.mod h1:mZklORHl6Bg7CNnnjLH//0UlAlaXqiG7Lb9PsPXLfD0= cloud.google.com/go/security v1.8.0/go.mod h1:hAQOwgmaHhztFhiQ41CjDODdWP0+AE1B3sX4OFlq+GU= -cloud.google.com/go/security v1.9.0/go.mod h1:6Ta1bO8LXI89nZnmnsZGp9lVoVWXqsVbIq/t9dzI+2Q= -cloud.google.com/go/security v1.10.0/go.mod h1:QtOMZByJVlibUT2h9afNDWRZ1G96gVywH8T5GUSb9IA= -cloud.google.com/go/security v1.12.0/go.mod h1:rV6EhrpbNHrrxqlvW0BWAIawFWq3X90SduMJdFwtLB8= -cloud.google.com/go/security v1.13.0/go.mod h1:Q1Nvxl1PAgmeW0y3HTt54JYIvUdtcpYKVfIB8AOMZ+0= -cloud.google.com/go/security v1.15.1/go.mod h1:MvTnnbsWnehoizHi09zoiZob0iCHVcL4AUBj76h9fXA= cloud.google.com/go/securitycenter v1.13.0/go.mod h1:cv5qNAqjY84FCN6Y9z28WlkKXyWsgLO832YiWwkCWcU= cloud.google.com/go/securitycenter v1.14.0/go.mod h1:gZLAhtyKv85n52XYWt6RmeBdydyxfPeTrpToDPw4Auc= -cloud.google.com/go/securitycenter v1.15.0/go.mod h1:PeKJ0t8MoFmmXLXWm41JidyzI3PJjd8sXWaVqg43WWk= -cloud.google.com/go/securitycenter v1.16.0/go.mod h1:Q9GMaLQFUD+5ZTabrbujNWLtSLZIZF7SAR0wWECrjdk= -cloud.google.com/go/securitycenter v1.18.1/go.mod h1:0/25gAzCM/9OL9vVx4ChPeM/+DlfGQJDwBy/UC8AKK0= -cloud.google.com/go/securitycenter v1.19.0/go.mod h1:LVLmSg8ZkkyaNy4u7HCIshAngSQ8EcIRREP3xBnyfag= -cloud.google.com/go/securitycenter v1.23.0/go.mod h1:8pwQ4n+Y9WCWM278R8W3nF65QtY172h4S8aXyI9/hsQ= -cloud.google.com/go/servicecontrol v1.4.0/go.mod h1:o0hUSJ1TXJAmi/7fLJAedOovnujSEvjKCAFNXPQ1RaU= -cloud.google.com/go/servicecontrol v1.5.0/go.mod h1:qM0CnXHhyqKVuiZnGKrIurvVImCs8gmqWsDoqe9sU1s= -cloud.google.com/go/servicecontrol v1.10.0/go.mod h1:pQvyvSRh7YzUF2efw7H87V92mxU8FnFDawMClGCNuAA= -cloud.google.com/go/servicecontrol v1.11.0/go.mod h1:kFmTzYzTUIuZs0ycVqRHNaNhgR+UMUpw9n02l/pY+mc= -cloud.google.com/go/servicecontrol v1.11.1/go.mod h1:aSnNNlwEFBY+PWGQ2DoM0JJ/QUXqV5/ZD9DOLB7SnUk= cloud.google.com/go/servicedirectory v1.4.0/go.mod h1:gH1MUaZCgtP7qQiI+F+A+OpeKF/HQWgtAddhTbhL2bs= cloud.google.com/go/servicedirectory v1.5.0/go.mod h1:QMKFL0NUySbpZJ1UZs3oFAmdvVxhhxB6eJ/Vlp73dfg= -cloud.google.com/go/servicedirectory v1.6.0/go.mod h1:pUlbnWsLH9c13yGkxCmfumWEPjsRs1RlmJ4pqiNjVL4= -cloud.google.com/go/servicedirectory v1.7.0/go.mod h1:5p/U5oyvgYGYejufvxhgwjL8UVXjkuw7q5XcG10wx1U= -cloud.google.com/go/servicedirectory v1.8.0/go.mod h1:srXodfhY1GFIPvltunswqXpVxFPpZjf8nkKQT7XcXaY= -cloud.google.com/go/servicedirectory v1.9.0/go.mod h1:29je5JjiygNYlmsGz8k6o+OZ8vd4f//bQLtvzkPPT/s= -cloud.google.com/go/servicedirectory v1.10.1/go.mod h1:Xv0YVH8s4pVOwfM/1eMTl0XJ6bzIOSLDt8f8eLaGOxQ= -cloud.google.com/go/servicemanagement v1.4.0/go.mod h1:d8t8MDbezI7Z2R1O/wu8oTggo3BI2GKYbdG4y/SJTco= -cloud.google.com/go/servicemanagement v1.5.0/go.mod h1:XGaCRe57kfqu4+lRxaFEAuqmjzF0r+gWHjWqKqBvKFo= -cloud.google.com/go/servicemanagement v1.6.0/go.mod h1:aWns7EeeCOtGEX4OvZUWCCJONRZeFKiptqKf1D0l/Jc= -cloud.google.com/go/servicemanagement v1.8.0/go.mod h1:MSS2TDlIEQD/fzsSGfCdJItQveu9NXnUniTrq/L8LK4= -cloud.google.com/go/serviceusage v1.3.0/go.mod h1:Hya1cozXM4SeSKTAgGXgj97GlqUvF5JaoXacR1JTP/E= -cloud.google.com/go/serviceusage v1.4.0/go.mod h1:SB4yxXSaYVuUBYUml6qklyONXNLt83U0Rb+CXyhjEeU= -cloud.google.com/go/serviceusage v1.5.0/go.mod h1:w8U1JvqUqwJNPEOTQjrMHkw3IaIFLoLsPLvsE3xueec= -cloud.google.com/go/serviceusage v1.6.0/go.mod h1:R5wwQcbOWsyuOfbP9tGdAnCAc6B9DRwPG1xtWMDeuPA= -cloud.google.com/go/shell v1.3.0/go.mod h1:VZ9HmRjZBsjLGXusm7K5Q5lzzByZmJHf1d0IWHEN5X4= -cloud.google.com/go/shell v1.4.0/go.mod h1:HDxPzZf3GkDdhExzD/gs8Grqk+dmYcEjGShZgYa9URw= -cloud.google.com/go/shell v1.6.0/go.mod h1:oHO8QACS90luWgxP3N9iZVuEiSF84zNyLytb+qE2f9A= -cloud.google.com/go/shell v1.7.1/go.mod h1:u1RaM+huXFaTojTbW4g9P5emOrrmLE69KrxqQahKn4g= -cloud.google.com/go/spanner v1.7.0/go.mod h1:sd3K2gZ9Fd0vMPLXzeCrF6fq4i63Q7aTLW/lBIfBkIk= -cloud.google.com/go/spanner v1.41.0/go.mod h1:MLYDBJR/dY4Wt7ZaMIQ7rXOTLjYrmxLE/5ve9vFfWos= -cloud.google.com/go/spanner v1.44.0/go.mod h1:G8XIgYdOK+Fbcpbs7p2fiprDw4CaZX63whnSMLVBxjk= -cloud.google.com/go/spanner v1.45.0/go.mod h1:FIws5LowYz8YAE1J8fOS7DJup8ff7xJeetWEo5REA2M= -cloud.google.com/go/spanner v1.47.0/go.mod h1:IXsJwVW2j4UKs0eYDqodab6HgGuA1bViSqW4uH9lfUI= cloud.google.com/go/speech v1.6.0/go.mod h1:79tcr4FHCimOp56lwC01xnt/WPJZc4v3gzyT7FoBkCM= cloud.google.com/go/speech v1.7.0/go.mod h1:KptqL+BAQIhMsj1kOP2la5DSEEerPDuOP/2mmkhHhZQ= -cloud.google.com/go/speech v1.8.0/go.mod h1:9bYIl1/tjsAnMgKGHKmBZzXKEkGgtU+MpdDPTE9f7y0= -cloud.google.com/go/speech v1.9.0/go.mod h1:xQ0jTcmnRFFM2RfX/U+rk6FQNUF6DQlydUSyoooSpco= -cloud.google.com/go/speech v1.14.1/go.mod h1:gEosVRPJ9waG7zqqnsHpYTOoAS4KouMRLDFMekpJ0J0= -cloud.google.com/go/speech v1.15.0/go.mod h1:y6oH7GhqCaZANH7+Oe0BhgIogsNInLlz542tg3VqeYI= -cloud.google.com/go/speech v1.17.1/go.mod h1:8rVNzU43tQvxDaGvqOhpDqgkJTFowBpDvCJ14kGlJYo= cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= @@ -634,427 +174,284 @@ cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3f cloud.google.com/go/storage v1.22.1/go.mod h1:S8N1cAStu7BOeFfE8KAQzmyyLkK8p/vmRq6kuBTW58Y= cloud.google.com/go/storage v1.23.0/go.mod h1:vOEEDNFnciUMhBeT6hsJIn3ieU5cFRmzeLgDvXzfIXc= cloud.google.com/go/storage v1.27.0/go.mod h1:x9DOL8TK/ygDUMieqwfhdpQryTeEkhGKMi80i/iqR2s= -cloud.google.com/go/storage v1.28.1/go.mod h1:Qnisd4CqDdo6BGs2AD5LLnEsmSQ80wQ5ogcBBKhU86Y= -cloud.google.com/go/storage v1.29.0/go.mod h1:4puEjyTKnku6gfKoTfNOU/W+a9JyuVNxjpS5GBrB8h4= +cloud.google.com/go/storage v1.30.1 h1:uOdMxAs8HExqBlnLtnQyP0YkvbiDpdGShGKtx6U/oNM= cloud.google.com/go/storage v1.30.1/go.mod h1:NfxhC0UJE1aXSx7CIIbCf7y9HKT7BiccwkR7+P7gN8E= -cloud.google.com/go/storagetransfer v1.5.0/go.mod h1:dxNzUopWy7RQevYFHewchb29POFv3/AaBgnhqzqiK0w= -cloud.google.com/go/storagetransfer v1.6.0/go.mod h1:y77xm4CQV/ZhFZH75PLEXY0ROiS7Gh6pSKrM8dJyg6I= -cloud.google.com/go/storagetransfer v1.7.0/go.mod h1:8Giuj1QNb1kfLAiWM1bN6dHzfdlDAVC9rv9abHot2W4= -cloud.google.com/go/storagetransfer v1.8.0/go.mod h1:JpegsHHU1eXg7lMHkvf+KE5XDJ7EQu0GwNJbbVGanEw= -cloud.google.com/go/storagetransfer v1.10.0/go.mod h1:DM4sTlSmGiNczmV6iZyceIh2dbs+7z2Ayg6YAiQlYfA= cloud.google.com/go/talent v1.1.0/go.mod h1:Vl4pt9jiHKvOgF9KoZo6Kob9oV4lwd/ZD5Cto54zDRw= cloud.google.com/go/talent v1.2.0/go.mod h1:MoNF9bhFQbiJ6eFD3uSsg0uBALw4n4gaCaEjBw9zo8g= -cloud.google.com/go/talent v1.3.0/go.mod h1:CmcxwJ/PKfRgd1pBjQgU6W3YBwiewmUzQYH5HHmSCmM= -cloud.google.com/go/talent v1.4.0/go.mod h1:ezFtAgVuRf8jRsvyE6EwmbTK5LKciD4KVnHuDEFmOOA= -cloud.google.com/go/talent v1.5.0/go.mod h1:G+ODMj9bsasAEJkQSzO2uHQWXHHXUomArjWQQYkqK6c= -cloud.google.com/go/talent v1.6.2/go.mod h1:CbGvmKCG61mkdjcqTcLOkb2ZN1SrQI8MDyma2l7VD24= -cloud.google.com/go/texttospeech v1.4.0/go.mod h1:FX8HQHA6sEpJ7rCMSfXuzBcysDAuWusNNNvN9FELDd8= -cloud.google.com/go/texttospeech v1.5.0/go.mod h1:oKPLhR4n4ZdQqWKURdwxMy0uiTS1xU161C8W57Wkea4= -cloud.google.com/go/texttospeech v1.6.0/go.mod h1:YmwmFT8pj1aBblQOI3TfKmwibnsfvhIBzPXcW4EBovc= -cloud.google.com/go/texttospeech v1.7.1/go.mod h1:m7QfG5IXxeneGqTapXNxv2ItxP/FS0hCZBwXYqucgSk= -cloud.google.com/go/tpu v1.3.0/go.mod h1:aJIManG0o20tfDQlRIej44FcwGGl/cD0oiRyMKG19IQ= -cloud.google.com/go/tpu v1.4.0/go.mod h1:mjZaX8p0VBgllCzF6wcU2ovUXN9TONFLd7iz227X2Xg= -cloud.google.com/go/tpu v1.5.0/go.mod h1:8zVo1rYDFuW2l4yZVY0R0fb/v44xLh3llq7RuV61fPM= -cloud.google.com/go/tpu v1.6.1/go.mod h1:sOdcHVIgDEEOKuqUoi6Fq53MKHJAtOwtz0GuKsWSH3E= -cloud.google.com/go/trace v1.3.0/go.mod h1:FFUE83d9Ca57C+K8rDl/Ih8LwOzWIV1krKgxg6N0G28= -cloud.google.com/go/trace v1.4.0/go.mod h1:UG0v8UBqzusp+z63o7FK74SdFE+AXpCLdFb1rshXG+Y= -cloud.google.com/go/trace v1.8.0/go.mod h1:zH7vcsbAhklH8hWFig58HvxcxyQbaIqMarMg9hn5ECA= -cloud.google.com/go/trace v1.9.0/go.mod h1:lOQqpE5IaWY0Ixg7/r2SjixMuc6lfTFeO4QGM4dQWOk= -cloud.google.com/go/trace v1.10.1/go.mod h1:gbtL94KE5AJLH3y+WVpfWILmqgc6dXcqgNXdOPAQTYk= -cloud.google.com/go/translate v1.3.0/go.mod h1:gzMUwRjvOqj5i69y/LYLd8RrNQk+hOmIXTi9+nb3Djs= -cloud.google.com/go/translate v1.4.0/go.mod h1:06Dn/ppvLD6WvA5Rhdp029IX2Mi3Mn7fpMRLPvXT5Wg= -cloud.google.com/go/translate v1.5.0/go.mod h1:29YDSYveqqpA1CQFD7NQuP49xymq17RXNaUDdc0mNu0= -cloud.google.com/go/translate v1.6.0/go.mod h1:lMGRudH1pu7I3n3PETiOB2507gf3HnfLV8qlkHZEyos= -cloud.google.com/go/translate v1.7.0/go.mod h1:lMGRudH1pu7I3n3PETiOB2507gf3HnfLV8qlkHZEyos= -cloud.google.com/go/translate v1.8.1/go.mod h1:d1ZH5aaOA0CNhWeXeC8ujd4tdCFw8XoNWRljklu5RHs= -cloud.google.com/go/video v1.8.0/go.mod h1:sTzKFc0bUSByE8Yoh8X0mn8bMymItVGPfTuUBUyRgxk= -cloud.google.com/go/video v1.9.0/go.mod h1:0RhNKFRF5v92f8dQt0yhaHrEuH95m068JYOvLZYnJSw= -cloud.google.com/go/video v1.12.0/go.mod h1:MLQew95eTuaNDEGriQdcYn0dTwf9oWiA4uYebxM5kdg= -cloud.google.com/go/video v1.13.0/go.mod h1:ulzkYlYgCp15N2AokzKjy7MQ9ejuynOJdf1tR5lGthk= -cloud.google.com/go/video v1.14.0/go.mod h1:SkgaXwT+lIIAKqWAJfktHT/RbgjSuY6DobxEp0C5yTQ= -cloud.google.com/go/video v1.15.0/go.mod h1:SkgaXwT+lIIAKqWAJfktHT/RbgjSuY6DobxEp0C5yTQ= -cloud.google.com/go/video v1.17.1/go.mod h1:9qmqPqw/Ib2tLqaeHgtakU+l5TcJxCJbhFXM7UJjVzU= cloud.google.com/go/videointelligence v1.6.0/go.mod h1:w0DIDlVRKtwPCn/C4iwZIJdvC69yInhW0cfi+p546uU= cloud.google.com/go/videointelligence v1.7.0/go.mod h1:k8pI/1wAhjznARtVT9U1llUaFNPh7muw8QyOUpavru4= -cloud.google.com/go/videointelligence v1.8.0/go.mod h1:dIcCn4gVDdS7yte/w+koiXn5dWVplOZkE+xwG9FgK+M= -cloud.google.com/go/videointelligence v1.9.0/go.mod h1:29lVRMPDYHikk3v8EdPSaL8Ku+eMzDljjuvRs105XoU= -cloud.google.com/go/videointelligence v1.10.0/go.mod h1:LHZngX1liVtUhZvi2uNS0VQuOzNi2TkY1OakiuoUOjU= -cloud.google.com/go/videointelligence v1.11.1/go.mod h1:76xn/8InyQHarjTWsBR058SmlPCwQjgcvoW0aZykOvo= cloud.google.com/go/vision v1.2.0/go.mod h1:SmNwgObm5DpFBme2xpyOyasvBc1aPdjvMk2bBk0tKD0= cloud.google.com/go/vision/v2 v2.2.0/go.mod h1:uCdV4PpN1S0jyCyq8sIM42v2Y6zOLkZs+4R9LrGYwFo= cloud.google.com/go/vision/v2 v2.3.0/go.mod h1:UO61abBx9QRMFkNBbf1D8B1LXdS2cGiiCRx0vSpZoUo= -cloud.google.com/go/vision/v2 v2.4.0/go.mod h1:VtI579ll9RpVTrdKdkMzckdnwMyX2JILb+MhPqRbPsY= -cloud.google.com/go/vision/v2 v2.5.0/go.mod h1:MmaezXOOE+IWa+cS7OhRRLK2cNv1ZL98zhqFFZaaH2E= -cloud.google.com/go/vision/v2 v2.6.0/go.mod h1:158Hes0MvOS9Z/bDMSFpjwsUrZ5fPrdwuyyvKSGAGMY= -cloud.google.com/go/vision/v2 v2.7.0/go.mod h1:H89VysHy21avemp6xcf9b9JvZHVehWbET0uT/bcuY/0= -cloud.google.com/go/vision/v2 v2.7.2/go.mod h1:jKa8oSYBWhYiXarHPvP4USxYANYUEdEsQrloLjrSwJU= -cloud.google.com/go/vmmigration v1.2.0/go.mod h1:IRf0o7myyWFSmVR1ItrBSFLFD/rJkfDCUTO4vLlJvsE= -cloud.google.com/go/vmmigration v1.3.0/go.mod h1:oGJ6ZgGPQOFdjHuocGcLqX4lc98YQ7Ygq8YQwHh9A7g= -cloud.google.com/go/vmmigration v1.5.0/go.mod h1:E4YQ8q7/4W9gobHjQg4JJSgXXSgY21nA5r8swQV+Xxc= -cloud.google.com/go/vmmigration v1.6.0/go.mod h1:bopQ/g4z+8qXzichC7GW1w2MjbErL54rk3/C843CjfY= -cloud.google.com/go/vmmigration v1.7.1/go.mod h1:WD+5z7a/IpZ5bKK//YmT9E047AD+rjycCAvyMxGJbro= -cloud.google.com/go/vmwareengine v0.1.0/go.mod h1:RsdNEf/8UDvKllXhMz5J40XxDrNJNN4sagiox+OI208= -cloud.google.com/go/vmwareengine v0.2.2/go.mod h1:sKdctNJxb3KLZkE/6Oui94iw/xs9PRNC2wnNLXsHvH8= -cloud.google.com/go/vmwareengine v0.3.0/go.mod h1:wvoyMvNWdIzxMYSpH/R7y2h5h3WFkx6d+1TIsP39WGY= -cloud.google.com/go/vmwareengine v0.4.1/go.mod h1:Px64x+BvjPZwWuc4HdmVhoygcXqEkGHXoa7uyfTgSI0= -cloud.google.com/go/vpcaccess v1.4.0/go.mod h1:aQHVbTWDYUR1EbTApSVvMq1EnT57ppDmQzZ3imqIk4w= -cloud.google.com/go/vpcaccess v1.5.0/go.mod h1:drmg4HLk9NkZpGfCmZ3Tz0Bwnm2+DKqViEpeEpOq0m8= -cloud.google.com/go/vpcaccess v1.6.0/go.mod h1:wX2ILaNhe7TlVa4vC5xce1bCnqE3AeH27RV31lnmZes= -cloud.google.com/go/vpcaccess v1.7.1/go.mod h1:FogoD46/ZU+JUBX9D606X21EnxiszYi2tArQwLY4SXs= cloud.google.com/go/webrisk v1.4.0/go.mod h1:Hn8X6Zr+ziE2aNd8SliSDWpEnSS1u4R9+xXZmFiHmGE= cloud.google.com/go/webrisk v1.5.0/go.mod h1:iPG6fr52Tv7sGk0H6qUFzmL3HHZev1htXuWDEEsqMTg= -cloud.google.com/go/webrisk v1.6.0/go.mod h1:65sW9V9rOosnc9ZY7A7jsy1zoHS5W9IAXv6dGqhMQMc= -cloud.google.com/go/webrisk v1.7.0/go.mod h1:mVMHgEYH0r337nmt1JyLthzMr6YxwN1aAIEc2fTcq7A= -cloud.google.com/go/webrisk v1.8.0/go.mod h1:oJPDuamzHXgUc+b8SiHRcVInZQuybnvEW72PqTc7sSg= -cloud.google.com/go/webrisk v1.9.1/go.mod h1:4GCmXKcOa2BZcZPn6DCEvE7HypmEJcJkr4mtM+sqYPc= -cloud.google.com/go/websecurityscanner v1.3.0/go.mod h1:uImdKm2wyeXQevQJXeh8Uun/Ym1VqworNDlBXQevGMo= -cloud.google.com/go/websecurityscanner v1.4.0/go.mod h1:ebit/Fp0a+FWu5j4JOmJEV8S8CzdTkAS77oDsiSqYWQ= -cloud.google.com/go/websecurityscanner v1.5.0/go.mod h1:Y6xdCPy81yi0SQnDY1xdNTNpfY1oAgXUlcfN3B3eSng= -cloud.google.com/go/websecurityscanner v1.6.1/go.mod h1:Njgaw3rttgRHXzwCB8kgCYqv5/rGpFCsBOvPbYgszpg= cloud.google.com/go/workflows v1.6.0/go.mod h1:6t9F5h/unJz41YqfBmqSASJSXccBLtD1Vwf+KmJENM0= cloud.google.com/go/workflows v1.7.0/go.mod h1:JhSrZuVZWuiDfKEFxU0/F1PQjmpnpcoISEXH2bcHC3M= -cloud.google.com/go/workflows v1.8.0/go.mod h1:ysGhmEajwZxGn1OhGOGKsTXc5PyxOc0vfKf5Af+to4M= -cloud.google.com/go/workflows v1.9.0/go.mod h1:ZGkj1aFIOd9c8Gerkjjq7OW7I5+l6cSvT3ujaO/WwSA= -cloud.google.com/go/workflows v1.10.0/go.mod h1:fZ8LmRmZQWacon9UCX1r/g/DfAXx5VcPALq2CxzdePw= -cloud.google.com/go/workflows v1.11.1/go.mod h1:Z+t10G1wF7h8LgdY/EmRcQY8ptBD/nvofaL6FqlET6g= -contrib.go.opencensus.io/exporter/stackdriver v0.13.4/go.mod h1:aXENhDJ1Y4lIg4EUaVTwzvYETVNZk10Pu26tevFKLUc= +cosmossdk.io/api v0.3.1 h1:NNiOclKRR0AOlO4KIqeaG6PS6kswOMhHD0ir0SscNXE= cosmossdk.io/api v0.3.1/go.mod h1:DfHfMkiNA2Uhy8fj0JJlOCYOBp4eWUUJ1te5zBGNyIw= +cosmossdk.io/core v0.5.1 h1:vQVtFrIYOQJDV3f7rw4pjjVqc1id4+mE0L9hHP66pyI= +cosmossdk.io/core v0.5.1/go.mod h1:KZtwHCLjcFuo0nmDc24Xy6CRNEL9Vl/MeimQ2aC7NLE= +cosmossdk.io/depinject v1.0.0-alpha.3 h1:6evFIgj//Y3w09bqOUOzEpFj5tsxBqdc5CfkO7z+zfw= +cosmossdk.io/depinject v1.0.0-alpha.3/go.mod h1:eRbcdQ7MRpIPEM5YUJh8k97nxHpYbc3sMUnEtt8HPWU= +cosmossdk.io/errors v1.0.0-beta.7 h1:gypHW76pTQGVnHKo6QBkb4yFOJjC+sUGRc5Al3Odj1w= +cosmossdk.io/errors v1.0.0-beta.7/go.mod h1:mz6FQMJRku4bY7aqS/Gwfcmr/ue91roMEKAmDUDpBfE= +cosmossdk.io/log v1.1.0 h1:v0ogPHYeTzPcBTcPR1A3j1hkei4pZama8kz8LKlCMv0= +cosmossdk.io/log v1.1.0/go.mod h1:6zjroETlcDs+mm62gd8Ig7mZ+N+fVOZS91V17H+M4N4= +cosmossdk.io/math v1.0.1 h1:Qx3ifyOPaMLNH/89WeZFH268yCvU4xEcnPLu3sJqPPg= +cosmossdk.io/math v1.0.1/go.mod h1:Ygz4wBHrgc7g0N+8+MrnTfS9LLn9aaTGa9hKopuym5k= +cosmossdk.io/tools/rosetta v0.2.1 h1:ddOMatOH+pbxWbrGJKRAawdBkPYLfKXutK9IETnjYxw= +cosmossdk.io/tools/rosetta v0.2.1/go.mod h1:Pqdc1FdvkNV3LcNIkYWt2RQY6IP1ge6YWZk8MhhO9Hw= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -filippo.io/edwards25519 v1.0.0-beta.2 h1:/BZRNzm8N4K4eWfK28dL4yescorxtO7YG1yun8fy+pI= -filippo.io/edwards25519 v1.0.0-beta.2/go.mod h1:X+pm78QAUPtFLi1z9PYIlS/bdDnvbCOGKtZ+ACWEf7o= -gioui.org v0.0.0-20210308172011-57750fc8a0a6/go.mod h1:RSH6KIUZ0p2xy5zHDxgAM4zumjgTw83q2ge/PI+yyw8= -git.sr.ht/~sbinet/gg v0.3.1/go.mod h1:KGYtlADtqsqANL9ueOFkWymvzUvLMQllU5Ixo+8v3pc= -github.com/Antonboom/errname v0.1.4/go.mod h1:jRXo3m0E0EuCnK3wbsSVH3X55Z4iTDLl6ZfCxwFj4TM= -github.com/Azure/azure-pipeline-go v0.2.1/go.mod h1:UGSo8XybXnIGZ3epmeBw7Jdz+HiUVpqIlpz/HKHylF4= -github.com/Azure/azure-pipeline-go v0.2.2/go.mod h1:4rQ/NZncSvGqNkkOsNpOU1tgoNuIlp9AfUH5G1tvCHc= -github.com/Azure/azure-storage-blob-go v0.7.0/go.mod h1:f9YQKtsG1nMisotuTPpO0tjNuEjKRYAcJU8/ydDI++4= -github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= +filippo.io/edwards25519 v1.0.0 h1:0wAIcmJUqRdI8IJ/3eGi5/HwXZWPujYXXlkrQogz0Ek= +filippo.io/edwards25519 v1.0.0/go.mod h1:N1IkdkCkiLB6tki+MYJoSx2JTY9NUlxZE7eHn5EwJns= github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 h1:UQHMgLO+TxOElx5B5HZ4hJQsoJ/PvUvKRhJHDQXO8P8= github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= -github.com/Azure/go-autorest/autorest v0.9.0/go.mod h1:xyHB1BMZT0cuDHU7I0+g046+BFDTQ8rEZB0s4Yfa6bI= -github.com/Azure/go-autorest/autorest/adal v0.5.0/go.mod h1:8Z9fGy2MpX0PvDjB1pEgQTmVqjGhiHBW7RJJEciWzS0= -github.com/Azure/go-autorest/autorest/adal v0.8.0/go.mod h1:Z6vX6WXXuyieHAXwMj0S6HY6e6wcHn37qQMBQlvY3lc= -github.com/Azure/go-autorest/autorest/date v0.1.0/go.mod h1:plvfp3oPSKwf2DNjlBjWF/7vwR+cUD/ELuzDCXwHUVA= -github.com/Azure/go-autorest/autorest/date v0.2.0/go.mod h1:vcORJHLJEh643/Ioh9+vPmf1Ij9AEBM5FuBIXLmIy0g= -github.com/Azure/go-autorest/autorest/mocks v0.1.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= -github.com/Azure/go-autorest/autorest/mocks v0.2.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= -github.com/Azure/go-autorest/autorest/mocks v0.3.0/go.mod h1:a8FDP3DYzQ4RYfVAxAN3SVSiiO77gL2j2ronKKP0syM= -github.com/Azure/go-autorest/logger v0.1.0/go.mod h1:oExouG+K6PryycPJfVSxi/koC6LSNgds39diKLz7Vrc= -github.com/Azure/go-autorest/tracing v0.5.0/go.mod h1:r/s2XiOKccPW3HrqB+W0TQzfbtp2fGCgRFtBroKn4Dk= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/BurntSushi/toml v0.4.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d h1:nalkkPQcITbvhmL4+C4cKA87NW0tfm3Kl9VXRoPywFg= github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d/go.mod h1:URdX5+vg25ts3aCh8H5IFZybJYKWhJHYMTnf+ULtoC4= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= -github.com/DataDog/zstd v1.4.1/go.mod h1:1jcaCB/ufaK+sKp1NBhlGmpz41jOoPQ35bpF36t7BBo= -github.com/DataDog/zstd v1.4.5 h1:EndNeuB0l9syBZhut0wns3gV1hL8zX8LIu6ZiVHWLIQ= -github.com/DataDog/zstd v1.4.5/go.mod h1:1jcaCB/ufaK+sKp1NBhlGmpz41jOoPQ35bpF36t7BBo= -github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24/go.mod h1:4UJr5HIiMZrwgkSPdsjy2uOQExX/WEILpIrO9UPGuXs= -github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c/go.mod h1:X0CRv0ky0k6m906ixxpzmDRLvX58TFUKS2eePweuyxk= github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= -github.com/Masterminds/goutils v1.1.0/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU= -github.com/Masterminds/semver v1.4.2/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= -github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= -github.com/Masterminds/sprig v2.15.0+incompatible/go.mod h1:y6hNFY5UBTIWBxnzTeuNhlNS5hqE0NB0E6fgfo2Br3o= -github.com/Masterminds/sprig v2.22.0+incompatible/go.mod h1:y6hNFY5UBTIWBxnzTeuNhlNS5hqE0NB0E6fgfo2Br3o= -github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA= -github.com/Microsoft/go-winio v0.5.0 h1:Elr9Wn+sGKPlkaBvwu4mTrxtmOp3F3yV9qhaHbXGjwU= -github.com/Microsoft/go-winio v0.5.0/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= +github.com/Microsoft/go-winio v0.6.0 h1:slsWYD/zyx7lCXoZVlvQrj0hPTM1HI4+v1sIda2yDvg= +github.com/Microsoft/go-winio v0.6.0/go.mod h1:cTAf44im0RAYeL23bpB+fzCyDH2MJiz2BO69KH/soAE= github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 h1:TngWCqHvy9oXAN6lEVMRuU21PR1EtLVZJmdB18Gu3Rw= -github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5/go.mod h1:lmUJ/7eu/Q8D7ML55dXQrVaamCz2vxCfdQBasLZfHKk= github.com/OneOfOne/xxhash v1.2.2 h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/OpenPeeDeeP/depguard v1.0.1/go.mod h1:xsIw86fROiiwelg+jB2uM9PiKihMMmUx/1V+TNhjQvM= github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= -github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg= -github.com/StackExchange/wmi v1.2.1/go.mod h1:rcmrprowKIVzvc+NUiLncP2uuArMWLCbu9SBzvHz7e8= -github.com/VictoriaMetrics/fastcache v1.5.7/go.mod h1:ptDBkNMQI4RtmVo8VS/XwRY6RoTu1dAWCbrk+6WsEM8= github.com/VividCortex/gohistogram v1.0.0 h1:6+hBz+qvs0JOrrNhhmR7lFxo5sINxBCGXrdtl/UvroE= github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g= -github.com/Workiva/go-datastructures v1.0.52 h1:PLSK6pwn8mYdaoaCZEMsXBpBotr4HHn9abU0yMQt0NI= -github.com/Workiva/go-datastructures v1.0.52/go.mod h1:Z+F2Rca0qCsVYDS8z7bAGm8f3UkzuWYS/oBZz5a7VVA= -github.com/Zilliqa/gozilliqa-sdk v1.2.1-0.20201201074141-dd0ecada1be6/go.mod h1:eSYp2T6f0apnuW8TzhV3f6Aff2SE8Dwio++U4ha4yEM= -github.com/adlio/schema v1.1.13 h1:LeNMVg5Z1FX+Qgz8tJUijBLRdcpbFUElz+d1489On98= -github.com/adlio/schema v1.1.13/go.mod h1:L5Z7tw+7lRK1Fnpi/LT/ooCP1elkXn0krMWBQHUhEDE= -github.com/aead/siphash v1.0.1/go.mod h1:Nywa3cDsYNNK3gaciGTWPwHt0wlpNV15vwmswBAUSII= +github.com/adlio/schema v1.3.3 h1:oBJn8I02PyTB466pZO1UZEn1TV5XLlifBSyMrmHl/1I= github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c= -github.com/ajstarks/deck v0.0.0-20200831202436-30c9fc6549a9/go.mod h1:JynElWSGnm/4RlzPXRlREEwqTHAN3T56Bv2ITsFT3gY= -github.com/ajstarks/deck/generate v0.0.0-20210309230005-c3f852c02e19/go.mod h1:T13YZdzov6OU0A1+RfKZiZN9ca6VeKdBdyDV+BY97Tk= -github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= -github.com/ajstarks/svgo v0.0.0-20211024235047-1546f124cd8b/go.mod h1:1KcenG0jGWcpt8ov532z81sp/kMMUG485J2InIOyADM= +github.com/alecthomas/participle/v2 v2.0.0-alpha7 h1:cK4vjj0VSgb3lN1nuKA5F7dw+1s1pWBe5bx7nNCnN+c= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= -github.com/alexkohler/prealloc v1.0.0/go.mod h1:VetnK3dIgFBBKmg0YnD9F9x6Icjd+9cvfHR56wJVlKE= -github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156/go.mod h1:Cb/ax3seSYIx7SuZdm2G2xzfwmv3TPSk2ucNfQESPXM= -github.com/andybalholm/brotli v1.0.0/go.mod h1:loMXtMfwqflxFJPmdbJO0a3KNoPuLBgiu3qAvBg8x/Y= -github.com/andybalholm/brotli v1.0.4/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig= -github.com/antihax/optional v0.0.0-20180407024304-ca021399b1a6/go.mod h1:V8iCPQYkqmusNa815XgQio277wI47sdRh1dUOLdyC6Q= github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= -github.com/aokoli/goutils v1.0.1/go.mod h1:SijmP0QR8LtwsmDs8Yii5Z/S4trXFGFC2oO5g9DP+DQ= -github.com/apache/arrow/go/v10 v10.0.1/go.mod h1:YvhnlEePVnBS4+0z3fhPfUy7W1Ikj0Ih0vcRo/gZ1M0= -github.com/apache/arrow/go/v11 v11.0.0/go.mod h1:Eg5OsL5H+e299f7u5ssuXsuHQVEGC4xei5aX110hRiI= -github.com/apache/arrow/go/v12 v12.0.0/go.mod h1:d+tV/eHZZ7Dz7RPrFKtPK02tpr+c9/PEd/zm8mDS9Vg= github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= github.com/apache/thrift v0.13.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= -github.com/apache/thrift v0.16.0/go.mod h1:PHK3hniurgQaNMZYaCLEqXKsYK8upmhPbmdP2FXSqgU= -github.com/aristanetworks/goarista v0.0.0-20170210015632-ea17b1a17847/go.mod h1:D/tb0zPVXnP7fmsLZjtdUhSsumbK/ij54UXjjVgMGxQ= github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= -github.com/armon/go-metrics v0.3.9 h1:O2sNqxBdvq8Eq5xmzljcYzAORli6RWCvEym4cJf9m18= -github.com/armon/go-metrics v0.3.9/go.mod h1:4O98XIr/9W0sxpJ8UaYkvjk10Iff7SnFrb4QAOwNTFc= +github.com/armon/go-metrics v0.4.1 h1:hR91U9KYmb6bLBYLQjyM+3j+rcd/UhE+G78SFnF8gJA= +github.com/armon/go-metrics v0.4.1/go.mod h1:E6amYzXo6aW1tqzoZGT755KkbgrJsSdpwZ+3JqfkOG4= github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/aryann/difflib v0.0.0-20170710044230-e206f873d14a/go.mod h1:DAHtR1m6lCRdSC2Tm3DSWRPvIPr6xNKyeHdqDQSQT+A= -github.com/ashanbrown/forbidigo v1.2.0/go.mod h1:vVW7PEdqEFqapJe95xHkTfB1+XvZXBFg8t0sG2FIxmI= -github.com/ashanbrown/makezero v0.0.0-20210520155254-b6261585ddde/go.mod h1:oG9Dnez7/ESBqc4EdrdNlryeo7d0KcW1ftXHm7nU/UU= github.com/aws/aws-lambda-go v1.13.3/go.mod h1:4UKl9IzQMoD+QF79YdCuzCwp8VbmG4VAQwij/eHl5CU= -github.com/aws/aws-sdk-go v1.23.20/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= -github.com/aws/aws-sdk-go v1.25.37/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= -github.com/aws/aws-sdk-go v1.25.48/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/aws/aws-sdk-go v1.27.0/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= -github.com/aws/aws-sdk-go v1.36.30/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= +github.com/aws/aws-sdk-go v1.44.122/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= +github.com/aws/aws-sdk-go v1.44.203 h1:pcsP805b9acL3wUqa4JR2vg1k2wnItkDYNvfmcy6F+U= +github.com/aws/aws-sdk-go v1.44.203/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g= +github.com/benbjohnson/clock v1.3.0 h1:ip6w0uFQkncKQ979AypyG0ER7mqUSBdKLOgAle/AT8A= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= -github.com/bgentry/speakeasy v0.1.0 h1:ByYyxL9InA1OWqxJqqp2A5pYHUrCiAL6K3J+LKSsQkY= +github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d h1:xDfNPAt8lFiC1UJrqV3uuy861HCTo708pDMbjHHdCas= +github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d/go.mod h1:6QX/PXZ00z/TKoufEY6K/a0k6AhaJrQKdFe6OfVXsa4= github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= -github.com/bits-and-blooms/bitset v1.2.0/go.mod h1:gIdJ4wp64HaoK2YrL1Q5/N7Y16edYb8uY+O0FJTyyDA= -github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJmJgSg28kpZDP6UIiPt0e0Oz0kqKNGyRaWEPv84= -github.com/bketelsen/crypt v0.0.4/go.mod h1:aI6NrJ0pMGgvZKL1iVgXLnfIFJtfV+bKCoqOes/6LfM= -github.com/bkielbasa/cyclop v1.2.0/go.mod h1:qOI0yy6A7dYC4Zgsa72Ppm9kONl0RoIlPbzot9mhmeI= -github.com/bombsimon/wsl/v3 v3.3.0/go.mod h1:st10JtZYLE4D5sC7b8xV4zTKZwAQjCH/Hy2Pm1FNZIc= -github.com/boombuler/barcode v1.0.0/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8= -github.com/boombuler/barcode v1.0.1/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8= -github.com/btcsuite/btcd v0.0.0-20171128150713-2e60448ffcc6/go.mod h1:Dmm/EzmjnCiweXmzRIAiUWCInVmPgjkzgv5k4tVyXiQ= -github.com/btcsuite/btcd v0.0.0-20190115013929-ed77733ec07d/go.mod h1:d3C0AkH6BRcvO8T0UEPu53cnw4IbV63x1bEjildYhO0= -github.com/btcsuite/btcd v0.0.0-20190315201642-aa6e0f35703c/go.mod h1:DrZx5ec/dmnfpw9KyYoQyYo7d0KEvTkk/5M/vbZjAr8= -github.com/btcsuite/btcd v0.20.1-beta/go.mod h1:wVuoA8VJLEcwgqHBwHmzLRazpKxTv13Px/pDuV7OomQ= -github.com/btcsuite/btcd v0.21.0-beta/go.mod h1:ZSWyehm27aAuS9bvkATT+Xte3hjHZ+MRgMY/8NJ7K94= -github.com/btcsuite/btcd v0.22.0-beta h1:LTDpDKUM5EeOFBPM8IXpinEcmZ6FWfNZbE3lfrfdnWo= -github.com/btcsuite/btcd v0.22.0-beta/go.mod h1:9n5ntfhhHQBIhUvlhDvD3Qg6fRUj4jkN0VB8L8svzOA= -github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f/go.mod h1:TdznJufoqS23FtqVCzL0ZqgP5MqXbb4fg/WgDys70nA= -github.com/btcsuite/btcutil v0.0.0-20180706230648-ab6388e0c60a/go.mod h1:+5NJ2+qvTyV9exUAL/rxXi3DcLg2Ts+ymUAY5y4NvMg= -github.com/btcsuite/btcutil v0.0.0-20190207003914-4c204d697803/go.mod h1:+5NJ2+qvTyV9exUAL/rxXi3DcLg2Ts+ymUAY5y4NvMg= -github.com/btcsuite/btcutil v0.0.0-20190425235716-9e5f4b9a998d/go.mod h1:+5NJ2+qvTyV9exUAL/rxXi3DcLg2Ts+ymUAY5y4NvMg= -github.com/btcsuite/btcutil v1.0.2/go.mod h1:j9HUFwoQRsZL3V4n+qG+CUnEGHOarIxfC3Le2Yhbcts= -github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce h1:YtWJF7RHm2pYCvA5t0RPmAaLUhREsKuKd+SLhxFbFeQ= -github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce/go.mod h1:0DVlHczLPewLcPGEIeUEzfOJhqGPQ0mJJRDBtD307+o= -github.com/btcsuite/go-socks v0.0.0-20170105172521-4720035b7bfd/go.mod h1:HHNXQzUsZCxOoE+CPiyCTO6x34Zs86zZUiwtpXoGdtg= -github.com/btcsuite/goleveldb v0.0.0-20160330041536-7834afc9e8cd/go.mod h1:F+uVaaLLH7j4eDXPRvw78tMflu7Ie2bzYOH4Y8rRKBY= -github.com/btcsuite/goleveldb v1.0.0/go.mod h1:QiK9vBlgftBg6rWQIj6wFzbPfRjiykIEhBH4obrXJ/I= -github.com/btcsuite/snappy-go v0.0.0-20151229074030-0bdef8d06723/go.mod h1:8woku9dyThutzjeg+3xrA5iCpBRH8XEEg3lh6TiUghc= -github.com/btcsuite/snappy-go v1.0.0/go.mod h1:8woku9dyThutzjeg+3xrA5iCpBRH8XEEg3lh6TiUghc= -github.com/btcsuite/websocket v0.0.0-20150119174127-31079b680792/go.mod h1:ghJtEyQwv5/p4Mg4C0fgbePVuGr935/5ddU9Z3TmDRY= -github.com/btcsuite/winsvc v1.0.0/go.mod h1:jsenWakMcC0zFBFurPLEAyrnc/teJEM1O46fmI40EZs= +github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816 h1:41iFGWnSlI2gVpmOtVTJZNodLdLQLn/KsJqFvXwnd/s= +github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= +github.com/btcsuite/btcd/btcec/v2 v2.3.2 h1:5n0X6hX0Zk+6omWcihdYvdAlGf2DfasC0GMf7DClJ3U= +github.com/btcsuite/btcd/btcec/v2 v2.3.2/go.mod h1:zYzJ8etWJQIv1Ogk7OzpWjowwOdXY1W/17j2MW85J04= +github.com/btcsuite/btcd/btcutil v1.1.2 h1:XLMbX8JQEiwMcYft2EGi8zPUkoa0abKIU6/BJSRsjzQ= +github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 h1:q0rUy8C/TYNBQS1+CGKw68tLOFYSNEs0TFnxxnS9+4U= +github.com/bufbuild/buf v1.7.0 h1:uWRjhIXcrWkzIkA5TqXGyJbF51VW54QJsQZ3nwaes5Q= +github.com/bufbuild/buf v1.7.0/go.mod h1:Go40fMAF46PnPLC7jJgTQhAI95pmC0+VtxFKVC0qLq0= +github.com/bufbuild/connect-go v1.0.0 h1:htSflKUT8y1jxhoPhPYTZMrsY3ipUXjjrbcZR5O2cVo= +github.com/bufbuild/connect-go v1.0.0/go.mod h1:9iNvh/NOsfhNBUH5CtvXeVUskQO1xsrEviH7ZArwZ3I= +github.com/bufbuild/protocompile v0.4.0 h1:LbFKd2XowZvQ/kajzguUp2DC9UEIQhIq77fZZlaQsNA= +github.com/bufbuild/protocompile v0.4.0/go.mod h1:3v93+mbWn/v3xzN+31nwkJfrEpAUwp+BagBSZWx+TP8= github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ= github.com/cenkalti/backoff v2.2.1+incompatible h1:tNowT99t7UNflLxfYYSlKYsBpXdEet03Pg2g16Swow4= github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= +github.com/cenkalti/backoff/v4 v4.1.1/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= +github.com/cenkalti/backoff/v4 v4.1.3 h1:cFAlzYUlVYDysBEH2T5hyJZMh3+5+WCBvSnK6Q8UtC4= +github.com/cenkalti/backoff/v4 v4.1.3/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/census-instrumentation/opencensus-proto v0.3.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/census-instrumentation/opencensus-proto v0.4.1/go.mod h1:4T9NM4+4Vw91VeyqjLS6ao50K5bOcLKN6Q42XnYaRYw= -github.com/cespare/cp v0.1.0/go.mod h1:SOGHArjBr4JWaSDEVpWpo/hNg6RoKrls6Oh40hiwW+s= github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/charithe/durationcheck v0.0.8/go.mod h1:SSbRIBVfMjCi/kEB6K65XEA83D6prSM8ap1UCpNKtgg= -github.com/chavacava/garif v0.0.0-20210405164556-e8a0a408d6af/go.mod h1:Qjyv4H3//PWVzTeCezG2b9IRn6myJxJSr4TD/xo6ojU= -github.com/checkpoint-restore/go-criu/v5 v5.0.0/go.mod h1:cfwC0EG7HMUenopBsUf9d89JlCLQIfgVcNsNN0t6T2M= +github.com/cheggaaa/pb v1.0.27/go.mod h1:pQciLPpbU0oxA0h+VJYYLxO+XeDQb5pZijXscXHm81s= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= +github.com/chzyer/logex v1.2.1 h1:XHDu3E6q+gdHgsdTPH6ImJMIp436vR6MPtH8gP05QzM= +github.com/chzyer/logex v1.2.1/go.mod h1:JLbx6lG2kDbNRFnfkgvh4eRJRPX1QCoOIWomwysCBrQ= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= +github.com/chzyer/readline v1.5.1 h1:upd/6fQk4src78LMRzh5vItIt361/o4uq553V8B5sGI= +github.com/chzyer/readline v1.5.1/go.mod h1:Eh+b79XXUwfKfcPLepksvw2tcLE/Ct21YObkaSkeBlk= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= -github.com/cilium/ebpf v0.6.2/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJXRs= +github.com/chzyer/test v1.0.0 h1:p3BQDXSxOhOG0P9z6/hGnII4LGiEPOYBhs8asl/fC04= +github.com/chzyer/test v1.0.0/go.mod h1:2JlltgoNkt4TW/z9V/IzDdFaMTM2JPIi26O1pF38GC8= github.com/circonus-labs/circonus-gometrics v2.3.1+incompatible/go.mod h1:nmEj6Dob7S7YxXgwXpfOuvO54S+tGdZdw9fuRZt25Ag= github.com/circonus-labs/circonusllhist v0.1.3/go.mod h1:kMXHVDlOchFAehlya5ePtbp5jckzBHf4XRpQvBOLI+I= github.com/clbanning/x2j v0.0.0-20191024224557-825249438eec/go.mod h1:jMjuTZXRI4dUb/I5gc9Hdhagfvm9+RyrPryS/auMzxE= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cloudflare/cloudflare-go v0.10.2-0.20190916151808-a80f83b9add9/go.mod h1:1MxXX1Ux4x6mqPmjkUgTP1CdXIBXKX7T+Jk9Gxrmx+U= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= +github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= +github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= -github.com/cncf/udpa/go v0.0.0-20220112060539-c52dc94e7fbe/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= +github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20220314180256-7f1daf1720fc/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20230105202645-06c439db220b/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20230310173818-32f1caf87195/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20230607035331-e9ce68804cb4 h1:/inchEIKaYC1Akx+H+gqO04wryn5h75LSazbRlnya1k= +github.com/cockroachdb/apd/v2 v2.0.2 h1:weh8u7Cneje73dDh+2tEVLUvyBc89iwepWCD8b8034E= +github.com/cockroachdb/apd/v3 v3.1.0 h1:MK3Ow7LH0W8zkd5GMKA1PvS9qG3bWFI95WaVNfyZJ/w= github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= -github.com/coinbase/rosetta-sdk-go v0.6.10 h1:rgHD/nHjxLh0lMEdfGDqpTtlvtSBwULqrrZ2qPdNaCM= -github.com/coinbase/rosetta-sdk-go v0.6.10/go.mod h1:J/JFMsfcePrjJZkwQFLh+hJErkAmdm9Iyy3D5Y0LfXo= +github.com/coinbase/rosetta-sdk-go/types v1.0.0 h1:jpVIwLcPoOeCR6o1tU+Xv7r5bMONNbHU7MuEHboiFuA= +github.com/coinbase/rosetta-sdk-go/types v1.0.0/go.mod h1:eq7W2TMRH22GTW0N0beDnN931DW0/WOI1R2sdHNHG4c= +github.com/cometbft/cometbft v0.37.1 h1:KLxkQTK2hICXYq21U2hn1W5hOVYUdQgDQ1uB+90xPIg= github.com/cometbft/cometbft v0.37.1/go.mod h1:Y2MMMN//O5K4YKd8ze4r9jmk4Y7h0ajqILXbH5JQFVs= +github.com/cometbft/cometbft-db v0.7.0 h1:uBjbrBx4QzU0zOEnU8KxoDl18dMNgDh+zZRUE0ucsbo= github.com/cometbft/cometbft-db v0.7.0/go.mod h1:yiKJIm2WKrt6x8Cyxtq9YTEcIMPcEe4XPxhgX59Fzf0= -github.com/confio/ics23/go v0.6.6 h1:pkOy18YxxJ/r0XFDCnrl4Bjv6h4LkBSpLS6F38mrKL8= -github.com/confio/ics23/go v0.6.6/go.mod h1:E45NqnlpxGnpfTWL/xauN7MRwEE28T4Dd4uraToOaKg= -github.com/containerd/console v1.0.2/go.mod h1:ytZPjGgY2oeTkAONYafi2kSj0aYggsf8acV1PGKCbzQ= -github.com/containerd/continuity v0.0.0-20190827140505-75bee3e2ccb6 h1:NmTXa/uVnDyp0TY5MKi197+3HWcnYWfnHGyaFthlnGw= -github.com/containerd/continuity v0.0.0-20190827140505-75bee3e2ccb6/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= -github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= +github.com/confio/ics23/go v0.9.0 h1:cWs+wdbS2KRPZezoaaj+qBleXgUk5WOQFMP3CQFGTr4= +github.com/confio/ics23/go v0.9.0/go.mod h1:4LPZ2NYqnYIVRklaozjNR1FScgDJ2s5Xrp+e/mYVRak= +github.com/containerd/containerd v1.6.8 h1:h4dOFDwzHmqFEP754PgfgTeVXFnLiRc6kiqC7tplDJs= +github.com/containerd/containerd v1.6.8/go.mod h1:By6p5KqPK0/7/CgO/A6t/Gz+CUYUu2zf1hUaaymVXB0= +github.com/containerd/continuity v0.3.0 h1:nisirsYROK15TAMVukJOUyGJjz4BNQJBVsNvAXZJ/eg= +github.com/containerd/typeurl v1.0.2 h1:Chlt8zIieDbzQFzXzAeBEF92KhExuE4p9p92/QmY7aY= +github.com/containerd/typeurl v1.0.2/go.mod h1:9trJWW2sRlGub4wZJRTW83VtbOLS6hwcDZXTn6oPz9s= github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= -github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk= github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= -github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= -github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= -github.com/coreos/go-systemd v0.0.0-20190620071333-e64a0ec8b42a/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= -github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= +github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= -github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= -github.com/cosmos/btcutil v1.0.4 h1:n7C2ngKXo7UC9gNyMNLbzqz7Asuf+7Qv4gnX/rOdQ44= -github.com/cosmos/btcutil v1.0.4/go.mod h1:Ffqc8Hn6TJUdDgHBwIZLtrLQC1KdJ9jGJl/TvgUaxbU= -github.com/cosmos/cosmos-proto v0.0.0-20210914142853-23ed61ac79ce h1:nin7WtIMETZ8LezEYa5e9/iqyEgQka1x0cQYqgUeTGM= -github.com/cosmos/cosmos-proto v0.0.0-20210914142853-23ed61ac79ce/go.mod h1:g2Q3cd94kOBVRAv7ahdtO27yUc4cpNuHGnI40qanl1k= -github.com/cosmos/cosmos-sdk v0.44.2/go.mod h1:fwQJdw+aECatpTvQTo1tSfHEsxACdZYU80QCZUPnHr4= -github.com/cosmos/cosmos-sdk v0.44.3/go.mod h1:bA3+VenaR/l/vDiYzaiwbWvRPWHMBX2jG0ygiFtiBp0= -github.com/cosmos/cosmos-sdk v0.44.5 h1:t5h+KPzZb0Zsag1RP1DCMQlyJyIQqJcqSPJrbUCDGHY= -github.com/cosmos/cosmos-sdk v0.44.5/go.mod h1:maUA6m2TBxOJZkbwl0eRtEBgTX37kcaiOWU5t1HEGaY= +github.com/cosmos/btcutil v1.0.5 h1:t+ZFcX77LpKtDBhjucvnOH8C2l2ioGsBNEQ3jef8xFk= +github.com/cosmos/btcutil v1.0.5/go.mod h1:IyB7iuqZMJlthe2tkIFL33xPyzbFYP0XVdS8P5lUPis= +github.com/cosmos/cosmos-proto v1.0.0-beta.2 h1:X3OKvWgK9Gsejo0F1qs5l8Qn6xJV/AzgIWR2wZ8Nua8= +github.com/cosmos/cosmos-proto v1.0.0-beta.2/go.mod h1:+XRCLJ14pr5HFEHIUcn51IKXD1Fy3rkEQqt4WqmN4V0= +github.com/cosmos/cosmos-sdk v0.47.3 h1:r0hGmZoAzP2D+MaPaFGHwAaTdFQq3pNpHaUp1BsffbM= github.com/cosmos/cosmos-sdk v0.47.3/go.mod h1:c4OfLdAykA9zsj1CqrxBRqXzVz48I++JSvIMPSPcEmk= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw= +github.com/cosmos/gogogateway v1.2.0 h1:Ae/OivNhp8DqBi/sh2A8a1D0y638GpL3tkmLQAiKxTE= +github.com/cosmos/gogogateway v1.2.0/go.mod h1:iQpLkGWxYcnCdz5iAdLcRBSw3h7NXeOkZ4GUkT+tbFI= +github.com/cosmos/gogoproto v1.4.2/go.mod h1:cLxOsn1ljAHSV527CHOtaIP91kK6cCrZETRBrkzItWU= +github.com/cosmos/gogoproto v1.4.10 h1:QH/yT8X+c0F4ZDacDv3z+xE3WU1P1Z3wQoLMBRJoKuI= github.com/cosmos/gogoproto v1.4.10/go.mod h1:3aAZzeRWpAwr+SS/LLkICX2/kDFyaYVzckBDzygIxek= -github.com/cosmos/iavl v0.17.1/go.mod h1:7aisPZK8yCpQdy3PMvKeO+bhq1NwDjUwjzxwwROUxFk= -github.com/cosmos/iavl v0.17.3 h1:s2N819a2olOmiauVa0WAhoIJq9EhSXE9HDBAoR9k+8Y= -github.com/cosmos/iavl v0.17.3/go.mod h1:prJoErZFABYZGDHka1R6Oay4z9PrNeFFiMKHDAMOi4w= -github.com/cosmos/ibc-go v1.2.2/go.mod h1:XmYjsRFOs6Q9Cz+CSsX21icNoH27vQKb3squgnCOCbs= -github.com/cosmos/ibc-go/v6 v6.1.0/go.mod h1:CY3zh2HLfetRiW8LY6kVHMATe90Wj/UOoY8T6cuB0is= +github.com/cosmos/iavl v0.20.0 h1:fTVznVlepH0KK8NyKq8w+U7c2L6jofa27aFX6YGlm38= +github.com/cosmos/iavl v0.20.0/go.mod h1:WO7FyvaZJoH65+HFOsDir7xU9FWk2w9cHXNW1XHcl7A= github.com/cosmos/keyring v1.1.7-0.20210622111912-ef00f8ac3d76 h1:DdzS1m6o/pCqeZ8VOAit/gyATedRgjvkVI+UCrLpyuU= github.com/cosmos/keyring v1.1.7-0.20210622111912-ef00f8ac3d76/go.mod h1:0mkLWIoZuQ7uBoospo5Q9zIpqq6rYCPJDSUdeCJvPM8= -github.com/cosmos/ledger-cosmos-go v0.11.1 h1:9JIYsGnXP613pb2vPjFeMMjBI5lEDsEaF6oYorTy6J4= -github.com/cosmos/ledger-cosmos-go v0.11.1/go.mod h1:J8//BsAGTo3OC/vDLjMRFLW6q0WAaXvHnVc7ZmE8iUY= -github.com/cosmos/ledger-go v0.9.2 h1:Nnao/dLwaVTk1Q5U9THldpUMMXU94BOTWPddSmVB6pI= -github.com/cosmos/ledger-go v0.9.2/go.mod h1:oZJ2hHAZROdlHiwTg4t7kP+GKIIkBT+o6c9QWFanOyI= +github.com/cosmos/ledger-cosmos-go v0.12.1 h1:sMBxza5p/rNK/06nBSNmsI/WDqI0pVJFVNihy1Y984w= +github.com/cosmos/ledger-cosmos-go v0.12.1/go.mod h1:dhO6kj+Y+AHIOgAe4L9HL/6NDdyyth4q238I9yFpD2g= +github.com/cosmos/rosetta-sdk-go v0.10.0 h1:E5RhTruuoA7KTIXUcMicL76cffyeoyvNybzUGSKFTcM= +github.com/cosmos/rosetta-sdk-go v0.10.0/go.mod h1:SImAZkb96YbwvoRkzSMQB6noNJXFgWl/ENIznEoYQI4= github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= -github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= +github.com/cpuguy83/go-md2man/v2 v2.0.2 h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/creachadair/taskgroup v0.3.2 h1:zlfutDS+5XG40AOxcHDSThxKzns8Tnr9jnr6VqkYlkM= +github.com/creachadair/taskgroup v0.3.2/go.mod h1:wieWwecHVzsidg2CsUnFinW1faVN4+kq+TDlRJQ0Wbk= github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/cyphar/filepath-securejoin v0.2.2/go.mod h1:FpkQEhXnPnOthhzymB7CGsFk2G9VLXONKD9G7QGMM+4= -github.com/daixiang0/gci v0.2.9/go.mod h1:+4dZ7TISfSmqfAGv59ePaHfNzgGtIkHAhhdKggP1JAc= -github.com/danieljoos/wincred v1.0.2 h1:zf4bhty2iLuwgjgpraD2E9UbvO+fe54XXGJbOwe23fU= +github.com/creack/pty v1.1.11 h1:07n33Z8lZxZ2qwegKbObQohDhXDQxiMMz1NOUGYlesw= +github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/cucumber/common/gherkin/go/v22 v22.0.0 h1:4K8NqptbvdOrjL9DEea6HFjSpbdT9+Q5kgLpmmsHYl0= +github.com/cucumber/common/messages/go/v17 v17.1.1 h1:RNqopvIFyLWnKv0LfATh34SWBhXeoFTJnSrgm9cT/Ts= github.com/danieljoos/wincred v1.0.2/go.mod h1:SnuYRW9lp1oJrZX/dXJqr0cPK5gYXqx3EJbmjhLdK9U= -github.com/davecgh/go-spew v0.0.0-20161028175848-04cdfd42973b/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v0.0.0-20171005155431-ecdeabc65495/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/danieljoos/wincred v1.1.2 h1:QLdCxFs1/Yl4zduvBdcHB8goaYk9RARS2SgLLRuAyr0= +github.com/danieljoos/wincred v1.1.2/go.mod h1:GijpziifJoIBfYh+S7BbkdUTU4LfM+QnGqR5Vl2tAx0= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/deckarep/golang-set v0.0.0-20180603214616-504e848d77ea/go.mod h1:93vsz/8Wt4joVM7c2AVqh+YRMiUSc14yDtF28KmMOgQ= -github.com/decred/dcrd/lru v1.0.0/go.mod h1:mxKOwFd7lFjN2GZYsiz/ecgqR6kkYAl+0pz0tEMk218= -github.com/denis-tingajkin/go-header v0.4.2/go.mod h1:eLRHAVXzE5atsKAnNRDB90WHCFFnBUn4RN0nRcs1LJA= +github.com/decred/dcrd/crypto/blake256 v1.0.0 h1:/8DMNYp9SGi5f0w7uCm6d6M4OU2rGFK09Y2A4Xv7EE0= +github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 h1:HbphB4TFFXpv7MNrT52FGrrgVXF1owhMVTHFZIlnvd4= +github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0/go.mod h1:DZGJHZMqrU4JJqFAWUS2UO1+lbSKsdiOoYi9Zzey7Fc= github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f h1:U5y3Y5UE0w7amNe7Z5G/twsBW0KEalRQXZzf8ufSh9I= github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f/go.mod h1:xH/i4TFMt8koVQZ6WFms69WAsDWr2XsYL3Hkl7jkoLE= -github.com/dgraph-io/badger/v2 v2.2007.2 h1:EjjK0KqwaFMlPin1ajhP943VPENHJdEz1KLIegjaI3k= -github.com/dgraph-io/badger/v2 v2.2007.2/go.mod h1:26P/7fbL4kUZVEVKLAKXkBXKOydDmM2p1e+NhhnBCAE= +github.com/dgraph-io/badger/v2 v2.2007.4 h1:TRWBQg8UrlUhaFdco01nO2uXwzKS7zd+HVdwV/GHc4o= +github.com/dgraph-io/badger/v2 v2.2007.4/go.mod h1:vSw/ax2qojzbN6eXHIx6KPKtCSHJN/Uz0X0VPruTIhk= github.com/dgraph-io/ristretto v0.0.3-0.20200630154024-f66de99634de/go.mod h1:KPxhHT9ZxKefz+PCeOGsrHpl1qZ7i70dGTu2u+Ahh6E= -github.com/dgraph-io/ristretto v0.0.3 h1:jh22xisGBjrEVnRZ1DVTpBVQm0Xndu8sMl0CWDzSIBI= -github.com/dgraph-io/ristretto v0.0.3/go.mod h1:KPxhHT9ZxKefz+PCeOGsrHpl1qZ7i70dGTu2u+Ahh6E= +github.com/dgraph-io/ristretto v0.1.1 h1:6CWw5tJNgpegArSHpNHJKldNeq03FQCwYvfMVWajOK8= +github.com/dgraph-io/ristretto v0.1.1/go.mod h1:S1GPSBCYCIhmVNfcth17y2zZtQT6wzkzgwUve0VDWWA= github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= github.com/dgryski/go-farm v0.0.0-20190423205320-6a90982ecee2/go.mod h1:SqUrOPUnsFjfmXRMNPybcSiG0BgUW2AuFH8PAnS2iTw= github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 h1:fAjc9m62+UWV/WAFKLNi6ZS0675eEUC9y3AlwSbQu1Y= github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13/go.mod h1:SqUrOPUnsFjfmXRMNPybcSiG0BgUW2AuFH8PAnS2iTw= -github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= -github.com/dlclark/regexp2 v1.2.0/go.mod h1:2pZnwuY/m+8K6iRw6wQdMtk+rH5tNGR1i55kozfMjCc= -github.com/docker/docker v1.4.2-0.20180625184442-8e610b2b55bf/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/docker/distribution v2.8.1+incompatible h1:Q50tZOPR6T/hjNsyc9g8/syEs6bk8XXApsHjKukMl68= +github.com/docker/distribution v2.8.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= +github.com/docker/docker v20.10.19+incompatible h1:lzEmjivyNHFHMNAFLXORMBXyGIhw/UP4DvJwvyKYq64= +github.com/docker/docker v20.10.19+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/go-connections v0.4.0 h1:El9xVISelRB7BuFusrZozjnkIM5YnzCViNKohAFqRJQ= github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec= -github.com/docker/go-units v0.4.0 h1:3uh0PgVws3nIA0Q+MwDC8yjEPf9zjRfZZWXZYDct3Tw= -github.com/docker/go-units v0.4.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= -github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= -github.com/dop251/goja v0.0.0-20200721192441-a695b0cdd498/go.mod h1:Mw6PkjjMXWbTj+nnj4s3QPXq1jaT0s5pC0iFD4+BOAA= +github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4= +github.com/docker/go-units v0.5.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= -github.com/dvsekhvalnov/jose2go v0.0.0-20200901110807-248326c1351b h1:HBah4D48ypg3J7Np4N+HY/ZR76fx3HEUGxDU6Uk39oQ= github.com/dvsekhvalnov/jose2go v0.0.0-20200901110807-248326c1351b/go.mod h1:7BvyPhdbLxMXIYTFPLsyJRFMsKmOZnQmzh6Gb+uquuM= -github.com/dvyukov/go-fuzz v0.0.0-20200318091601-be3528f3a813/go.mod h1:11Gm+ccJnvAhCNLlf5+cS9KjtbaD5I5zaZpFMsTHWTw= +github.com/dvsekhvalnov/jose2go v1.5.0 h1:3j8ya4Z4kMCwT5nXIKFSV84YS+HdqSSO0VsTQxaLAeM= +github.com/dvsekhvalnov/jose2go v1.5.0/go.mod h1:QsHjhyTlD/lAVqn/NSbVZmSCGeDehTB/mPZadG+mhXU= github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= -github.com/edsrzf/mmap-go v0.0.0-20160512033002-935e0e8a636c/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= -github.com/enigmampc/btcutil v1.0.3-0.20200723161021-e2fb6adb2a25/go.mod h1:hTr8+TLQmkUkgcuh3mcr5fjrT9c64ZzsBCdCEC6UppY= +github.com/envoyproxy/go-control-plane v0.6.9/go.mod h1:SBwIajubJHhxtWwsL9s8ss4safvEdbitLhGGK48rN6g= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= +github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= +github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= +github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= +github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ= +github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= -github.com/envoyproxy/go-control-plane v0.10.3/go.mod h1:fJJn/j26vwOu972OllsvAgJJM//w9BV6Fxbg2LuVd34= -github.com/envoyproxy/go-control-plane v0.11.0/go.mod h1:VnHyVMpzcLvCFt9yUz1UnCwHLhwx1WguiVDV7pTG/tI= -github.com/envoyproxy/protoc-gen-validate v0.0.14/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/envoyproxy/protoc-gen-validate v0.6.7/go.mod h1:dyJXwwfPK2VSqiB9Klm1J6romD608Ba7Hij42vrOBCo= -github.com/envoyproxy/protoc-gen-validate v0.9.1/go.mod h1:OKNgG7TCp5pF4d6XftA0++PMirau2/yoOwVac3AbF2w= -github.com/envoyproxy/protoc-gen-validate v0.10.0/go.mod h1:DRjgyB0I43LtJapqN6NiRwroiAU2PaFuvk/vjgh61ss= -github.com/esimonov/ifshort v1.0.2/go.mod h1:yZqNJUrNn20K8Q9n2CrjTKYyVEmX209Hgu+M1LBpeZE= -github.com/ethereum/go-ethereum v1.9.25/go.mod h1:vMkFiYLHI4tgPw4k2j4MHKoovchFE8plZ0M9VMk4/oM= -github.com/ettle/strcase v0.1.1/go.mod h1:hzDLsPC7/lwKyBOywSHEP89nt2pDgdy+No1NBA9o9VY= -github.com/facebookgo/ensure v0.0.0-20160127193407-b4ab57deab51 h1:0JZ+dUmQeA8IIVUMzysrX4/AKuQwWhV2dYQuPZdvdSQ= -github.com/facebookgo/ensure v0.0.0-20160127193407-b4ab57deab51/go.mod h1:Yg+htXGokKKdzcwhuNDwVvN+uBxDGXJ7G/VN1d8fa64= +github.com/envoyproxy/protoc-gen-validate v1.0.2 h1:QkIBuU5k+x7/QXPvPPnWXWlCdaBFApVqftFV6k087DA= +github.com/facebookgo/ensure v0.0.0-20200202191622-63f1cf65ac4c h1:8ISkoahWXwZR41ois5lSJBSVw4D0OV19Ht/JSTzvSv0= github.com/facebookgo/stack v0.0.0-20160209184415-751773369052 h1:JWuenKqqX8nojtoVVWjGfOF9635RETekkoH6Cc9SX0A= -github.com/facebookgo/stack v0.0.0-20160209184415-751773369052/go.mod h1:UbMTZqLaRiH3MsBH8va0n7s1pQYcu3uTb8G4tygF4Zg= -github.com/facebookgo/subset v0.0.0-20150612182917-8dac2c3c4870 h1:E2s37DuLxFhQDg5gKsWoLBOB0n+ZW8s599zru8FJ2/Y= -github.com/facebookgo/subset v0.0.0-20150612182917-8dac2c3c4870/go.mod h1:5tD+neXqOorC30/tWg0LCSkrqj/AR6gu8yY8/fpw1q0= -github.com/fatih/color v1.3.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= +github.com/facebookgo/subset v0.0.0-20200203212716-c811ad88dec4 h1:7HZCaLC5+BZpmbhCOZJ293Lz68O7PYrF2EzeiFMwCLk= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= -github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= -github.com/fatih/color v1.10.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM= -github.com/fatih/color v1.12.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM= -github.com/fatih/structtag v1.2.0/go.mod h1:mBJUNpUnHmRKrKlQQlmCrh5PuhftFbNv8Ys4/aAZl94= -github.com/felixge/httpsnoop v1.0.1 h1:lvB5Jl89CsZtGIWuTcDM1E/vkVs49/Ml7JJe07l8SPQ= github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= -github.com/fjl/memsize v0.0.0-20180418122429-ca190fb6ffbc/go.mod h1:VvhXpOYNQvB+uIk2RvXzuaQtkQJzzIx6lSBe1xv7hi0= -github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= -github.com/fogleman/gg v1.3.0/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= +github.com/felixge/httpsnoop v1.0.2 h1:+nS9g82KMXccJ/wp0zyRW9ZBHFETmMGtkk+2CTTrW4o= +github.com/felixge/httpsnoop v1.0.2/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/fortytw2/leaktest v1.3.0 h1:u8491cBMTQ8ft8aeV+adlcytMZylmA5nnwwkRZjI8vw= -github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db/go.mod h1:7dvUGVsVBjqR7JHJk0brhHOZYGmfBYOrK0ZhYMEtBr4= github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8/go.mod h1:ZhphrRTfi2rbfLwlschooIH4+wKKDR4Pdxhh+TRoA20= -github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k= +github.com/frankban/quicktest v1.14.3 h1:FJKSZTDHjyhriyC81FLQ0LY93eSai0ZyR/ZIkd3ZUKE= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= -github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= -github.com/fullstorydev/grpcurl v1.6.0/go.mod h1:ZQ+ayqbKMJNhzLmbpCiurTVlaK2M/3nqZCxaQ2Ze/sM= -github.com/fzipp/gocyclo v0.3.1/go.mod h1:DJHO6AUmbdqj2ET4Z9iArSuwWgYDRryYt2wASxc7x3E= -github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff/go.mod h1:x7DCsMOv1taUwEWCzT4cmDeAkigA5/QCwUodaVOe8Ww= +github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY= +github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw= +github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= github.com/gin-gonic/gin v1.6.3 h1:ahKqKTFpO5KTPHxWZjEdPScmYaGtLo8Y4DMHoEsnp14= github.com/gin-gonic/gin v1.6.3/go.mod h1:75u5sXoLsGZoRN5Sgbi1eraJ4GU3++wFwWzhwvtwp4M= -github.com/go-critic/go-critic v0.5.6/go.mod h1:cVjj0DfqewQVIlIAGexPCaGaZDAqGE29PYDDADIVNEo= -github.com/go-fonts/dejavu v0.1.0/go.mod h1:4Wt4I4OU2Nq9asgDCteaAaWZOV24E+0/Pwo0gppep4g= -github.com/go-fonts/latin-modern v0.2.0/go.mod h1:rQVLdDMK+mK1xscDwsqM5J8U2jrRa3T0ecnM9pNujks= -github.com/go-fonts/liberation v0.1.1/go.mod h1:K6qoJYypsmfVjWg8KOVDQhLc8UDgIK2HYqyqAO9z7GY= -github.com/go-fonts/liberation v0.2.0/go.mod h1:K6qoJYypsmfVjWg8KOVDQhLc8UDgIK2HYqyqAO9z7GY= -github.com/go-fonts/stix v0.1.0/go.mod h1:w/c1f0ldAUlJmLBvlbkvVXLAD+tAMqobIIQpmnUIzUY= +github.com/go-chi/chi/v5 v5.0.7 h1:rDTPXLDHGATaeHvVlLcR4Qe0zftYethFucbjVQ1PxU8= +github.com/go-chi/chi/v5 v5.0.7/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-kit/kit v0.10.0 h1:dXFJfIHVvUcpSgDOV+Ne6t7jXri8Tfv2uOLHUZ2XNuo= github.com/go-kit/kit v0.10.0/go.mod h1:xUsJbQ/Fp4kEt7AFgCuvyX4a71u8h9jB8tj/ORgOZ7o= -github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= -github.com/go-latex/latex v0.0.0-20210118124228-b3d85cf34e07/go.mod h1:CO1AlKB2CSIqUrmQPqA0gdRIlnLEY0gK5JGjh37zN5U= -github.com/go-latex/latex v0.0.0-20210823091927-c0d11ff05a81/go.mod h1:SX0U8uGpxhq9o2S/CELCSUxEWWAuoCUcVCQWv7G2OCk= +github.com/go-kit/kit v0.12.0 h1:e4o3o3IsBfAKQh5Qbbiqyfu97Ku7jrO/JbohvztANh4= +github.com/go-kit/kit v0.12.0/go.mod h1:lHd+EkCZPIwYItmGDDRdhinkzX2A1sj+M9biaEaizzs= +github.com/go-kit/log v0.2.1 h1:MRVx0/zhvdseW+Gza6N9rVzU/IVzaeE1SFI4raAhmBU= +github.com/go-kit/log v0.2.1/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0= github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= -github.com/go-logfmt/logfmt v0.5.0 h1:TrB8swr/68K7m9CcGut2g3UOihhbcbiMAYiuTXdEih4= github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= -github.com/go-ole/go-ole v1.2.1/go.mod h1:7FAglXiTm7HKlQRDeOQ6ZNUHidzCWXuZWq/1dTyBNF8= -github.com/go-ole/go-ole v1.2.5/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= -github.com/go-pdf/fpdf v0.5.0/go.mod h1:HzcnA+A23uwogo0tp9yU+l3V+KXhiESpt1PMayhOh5M= -github.com/go-pdf/fpdf v0.6.0/go.mod h1:HzcnA+A23uwogo0tp9yU+l3V+KXhiESpt1PMayhOh5M= +github.com/go-logfmt/logfmt v0.5.1 h1:otpy5pqBCBZ1ng9RQ0dPu4PN7ba75Y/aA+UpowDyNVA= +github.com/go-logfmt/logfmt v0.5.1/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs= +github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ= +github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= +github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-playground/assert/v2 v2.0.1 h1:MsBgLAaY856+nPRTKrp3/OZK38U/wa0CcBYNjji3q3A= github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8= @@ -1066,46 +463,39 @@ github.com/go-playground/universal-translator v0.18.0/go.mod h1:UvRDBj+xPUEGrFYl github.com/go-playground/validator/v10 v10.2.0/go.mod h1:uOYAAleCW8F/7oMFd6aG0GOhaH6EGOAJShg8Id5JGkI= github.com/go-playground/validator/v10 v10.9.0 h1:NgTtmN58D0m8+UuxtYmGztBJB7VnPgjj221I1QHci2A= github.com/go-playground/validator/v10 v10.9.0/go.mod h1:74x4gJWsvQexRdW8Pn3dXSGrTK4nAUsbPlLADvpJkos= -github.com/go-redis/redis v6.15.8+incompatible/go.mod h1:NAIEuMOZ/fxfXJIrKDQDz8wamY7mA7PouImQ2Jvg6kA= -github.com/go-sourcemap/sourcemap v2.1.2+incompatible/go.mod h1:F8jJfvm2KbVjc5NqelyYJmf/v5J0dwNLS2mL4sNA1Jg= github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= -github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= -github.com/go-stack/stack v1.8.0 h1:5SgMzNM5HxrEjV0ww2lTmX6E2Izsfxas4+YHWRs3Lsk= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= -github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= -github.com/go-toolsmith/astcast v1.0.0/go.mod h1:mt2OdQTeAQcY4DQgPSArJjHCcOwlX+Wl/kwN+LbLGQ4= -github.com/go-toolsmith/astcopy v1.0.0/go.mod h1:vrgyG+5Bxrnz4MZWPF+pI4R8h3qKRjjyvV/DSez4WVQ= -github.com/go-toolsmith/astequal v1.0.0/go.mod h1:H+xSiq0+LtiDC11+h1G32h7Of5O3CYFJ99GVbS5lDKY= -github.com/go-toolsmith/astfmt v1.0.0/go.mod h1:cnWmsOAuq4jJY6Ct5YWlVLmcmLMn1JUPuQIHCY7CJDw= -github.com/go-toolsmith/astinfo v0.0.0-20180906194353-9809ff7efb21/go.mod h1:dDStQCHtmZpYOmjRP/8gHHnCCch3Zz3oEgCdZVdtweU= -github.com/go-toolsmith/astp v1.0.0/go.mod h1:RSyrtpVlfTFGDYRbrjyWP1pYu//tSFcvdYrA8meBmLI= -github.com/go-toolsmith/pkgload v1.0.0/go.mod h1:5eFArkbO80v7Z0kdngIxsRXRMTaX4Ilcwuh3clNrQJc= -github.com/go-toolsmith/strparse v1.0.0/go.mod h1:YI2nUKP9YGZnL/L1/DLFBfixrcjslWct4wyljWhSRy8= -github.com/go-toolsmith/typep v1.0.0/go.mod h1:JSQCQMUPdRlMZFswiq3TGpNp1GMktqkR2Ns5AIQkATU= -github.com/go-toolsmith/typep v1.0.2/go.mod h1:JSQCQMUPdRlMZFswiq3TGpNp1GMktqkR2Ns5AIQkATU= -github.com/go-xmlfmt/xmlfmt v0.0.0-20191208150333-d5b6f63a941b/go.mod h1:aUCEOzzezBEjDBbFBoSiya/gduyIiWYRP6CnSFIV8AM= -github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8= github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee h1:s+21KNqlpePfkah2I+gwHF8xmJWRjooY+5248k6m4A0= github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee/go.mod h1:L0fX3K22YWvt/FAX9NnzrNzcI4wNYi9Yku4O0LKYflo= github.com/gobwas/pool v0.2.0 h1:QEmUOlnSjWtnpRGHF3SauEiOsy82Cup83Vf2LcMlnc8= github.com/gobwas/pool v0.2.0/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw= github.com/gobwas/ws v1.0.2 h1:CoAavW/wd/kulfZmSIBt6p24n4j7tHgNVCjsfHVNUbo= github.com/gobwas/ws v1.0.2/go.mod h1:szmBTxLgaFppYjEmNtny/v3w89xOydFnnZMcgRRu/EM= -github.com/goccy/go-json v0.9.11/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 h1:ZpnhV/YsD2/4cESfV5+Hoeu/iUR3ruzNvZ+yQfO03a0= github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2/go.mod h1:bBOAhwG1umN6/6ZUMtDFBMQR8jRg9O75tm9K00oMsK4= github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= +github.com/gofrs/flock v0.8.1 h1:+gYjHKf32LDeiEEFhQaotPbLuUXjY5ZqxKgXy7n59aw= github.com/gofrs/flock v0.8.1/go.mod h1:F1TvTiK9OcQqauNUHlbJvyl9Qa1QvF/gOUDKA14jxHU= -github.com/gogo/gateway v1.1.0 h1:u0SuhL9+Il+UbjM9VIE3ntfRujKbvVpFvNB4HbjeVQ0= -github.com/gogo/gateway v1.1.0/go.mod h1:S7rR8FRQyG3QFESeSv4l2WnsyzlCLG0CzBbUUo/mbic= -github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k= +github.com/gofrs/uuid v4.3.0+incompatible h1:CaSVZxm5B+7o45rtab4jC2G37WGYX1zQfuU2i6DSvnc= +github.com/gofrs/uuid v4.3.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= +github.com/gogo/googleapis v1.1.0/go.mod h1:gf4bu3Q80BeJ6H1S1vYPm8/ELATdvryBaNFGgqEef3s= +github.com/gogo/googleapis v1.4.1-0.20201022092350-68b0159b7869/go.mod h1:5YRNX2z1oM5gXdAkurHa942MDgEJyk02w4OecKY87+c= +github.com/gogo/googleapis v1.4.1 h1:1Yx4Myt7BxzvUr5ldGSbwYiZG6t9wGBZ+8/fX3Wvtq0= +github.com/gogo/googleapis v1.4.1/go.mod h1:2lpHqI5OcWCtVElxXnPt+s8oJvMpySlOyM6xDCrzib4= +github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= +github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= +github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= +github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4= +github.com/golang/glog v1.1.2 h1:DVjP2PbBOzHyzA+dn3WhHIq4NdVu3Q+pvivFICf/7fo= +github.com/golang/glog v1.1.2/go.mod h1:zR+okUeTbrL6EL3xHUDxZuEtGv04p5shwip1+mL/rLQ= github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= @@ -1117,7 +507,6 @@ github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71 github.com/golang/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8= github.com/golang/mock v1.6.0 h1:ErTB+efbowRARo13NNdxyJji2egdxLGQhRaY+DUumQc= github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs= -github.com/golang/protobuf v1.1.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.0/go.mod h1:Qd/q+1AKNOZr9uGQzbzCmRO6sUih6GTPZv6a1/R87v0= github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= @@ -1139,27 +528,13 @@ github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiu github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/golang/snappy v0.0.3-0.20201103224600-674baa8c7fc3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM= github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2/go.mod h1:k9Qvh+8juN+UKMCS/3jFtGICgW8O96FVaZsaxdzDkR4= -github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a/go.mod h1:ryS0uhF+x9jgbj/N71xsEqODy9BN81/GonCZiOzirOk= -github.com/golangci/go-misc v0.0.0-20180628070357-927a3d87b613/go.mod h1:SyvUF2NxV+sN8upjjeVYr5W7tyxaT1JVtvhKhOn2ii8= -github.com/golangci/gofmt v0.0.0-20190930125516-244bba706f1a/go.mod h1:9qCChq59u/eW8im404Q2WWTrnBUQKjpNYKMbU4M7EFU= -github.com/golangci/golangci-lint v1.42.1/go.mod h1:MuInrVlgg2jq4do6XI1jbkErbVHVbwdrLLtGv6p2wPI= -github.com/golangci/lint-1 v0.0.0-20191013205115-297bf364a8e0/go.mod h1:66R6K6P6VWk9I95jvqGxkqJxVWGFy9XlDwLwVz1RCFg= -github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca/go.mod h1:tvlJhZqDe4LMs4ZHD0oMUlt9G2LWuDGoisJTBzLMV9o= -github.com/golangci/misspell v0.3.5/go.mod h1:dEbvlSfYbMQDtrpRMQU675gSDLDNa8sCPPChZ7PhiVA= -github.com/golangci/revgrep v0.0.0-20210208091834-cd28932614b5/go.mod h1:LK+zW4MpyytAWQRz0M4xnzEk50lSvqDQKfx304apFkY= -github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4/go.mod h1:Izgrg8RkN3rCIMLGE9CyYmU9pY2Jer6DgANEnZ/L/cQ= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/btree v1.0.0 h1:0udJVsspx3VBr5FwtLhQQtuAsVc79tTq0ocGIPAU6qo= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/certificate-transparency-go v1.0.21/go.mod h1:QeJfpSbVSfYc7RgB3gJFj9cbuQMMchQxrWXz8Ruopmg= -github.com/google/certificate-transparency-go v1.1.1/go.mod h1:FDKqPvSXawb2ecErVRrD+nfy23RCzyl7eqVCEmlT1Zs= -github.com/google/flatbuffers v2.0.8+incompatible/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= +github.com/google/btree v1.1.2 h1:xf4v41cLI2Z6FxbKm+8Bu+m8ifhj15JuZ9sa0jZCMUU= +github.com/google/btree v1.1.2/go.mod h1:qOPhT0dTNdNzV6Z/lhRX0YXUafgPLFUh+gZMl761Gm4= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= @@ -1174,18 +549,18 @@ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf/go.mod h1:HP5RmnzzSNb993RKQDq4+1A4ia9nllfqcQFTQJedwGI= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/gofuzz v1.1.1-0.20200604201612-c04b05f3adfa/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= -github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/martian v2.1.0+incompatible h1:/CP5g8u/VJHijgedC/Legn3BAbAaWPgecwXBIDzw5no= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= github.com/google/martian/v3 v3.2.1/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk= -github.com/google/martian/v3 v3.3.2/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk= +github.com/google/martian/v3 v3.3.2 h1:IqNFLAmvJOgVlpdEBiQbDc2EwKW77amAycfTuWKdfvw= github.com/google/orderedcode v0.0.1 h1:UzfcAexk9Vhv8+9pNOgRu41f16lHq725vPwnSeiG/Us= github.com/google/orderedcode v0.0.1/go.mod h1:iVyU4/qPKHY5h/wSd6rZZCDcLJNxiWO6dvsYES2Sb20= github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= @@ -1194,7 +569,6 @@ github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hf github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200507031123-427632fa3b1c/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= @@ -1205,21 +579,18 @@ github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLe github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/s2a-go v0.1.0/go.mod h1:OJpEgntRZo8ugHpF9hkoLJbS5dSI20XZeXJ9JVywLlM= -github.com/google/s2a-go v0.1.3/go.mod h1:Ej+mSEMGRnqRzjc7VtF+jdBwYG5fuJfiZ8ELkjEwM0A= -github.com/google/s2a-go v0.1.4/go.mod h1:Ej+mSEMGRnqRzjc7VtF+jdBwYG5fuJfiZ8ELkjEwM0A= -github.com/google/trillian v1.3.11/go.mod h1:0tPraVHrSDkA3BO6vKX67zgLXs6SsOAbHEivX+9mPgw= -github.com/google/uuid v0.0.0-20161128191214-064e2069ce9c/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/s2a-go v0.1.7 h1:60BLSyTrOV4/haCDW4zb1guZItoSq8foHCXrAnjBo/o= +github.com/google/s2a-go v0.1.7/go.mod h1:50CgR4k1jNlWBu4UfS4AcfhVe1r6pdZPygJ3R8F0Qdw= github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.2.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.4.0 h1:MtMxsa51/r9yyhkyLsVeVt0B+BGQZzpQiTQ4eHZ8bc4= +github.com/google/uuid v1.4.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/enterprise-certificate-proxy v0.0.0-20220520183353-fd19c99a87aa/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= github.com/googleapis/enterprise-certificate-proxy v0.1.0/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= github.com/googleapis/enterprise-certificate-proxy v0.2.0/go.mod h1:8C0jb7/mgJe/9KK8Lm7X9ctZC2t60YyIpYEI16jx0Qg= -github.com/googleapis/enterprise-certificate-proxy v0.2.1/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= -github.com/googleapis/enterprise-certificate-proxy v0.2.3/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= +github.com/googleapis/enterprise-certificate-proxy v0.3.2 h1:Vie5ybvEvT75RniqhfFxPRy3Bf7vr3h0cechB90XaQs= +github.com/googleapis/enterprise-certificate-proxy v0.3.2/go.mod h1:VLSiSSBs/ksPL8kq3OBOQ6WRI2QnaFynd1DCjZ62+V0= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pfu6SK+H1/DsU0= @@ -1229,19 +600,11 @@ github.com/googleapis/gax-go/v2 v2.3.0/go.mod h1:b8LNqSzNabLiUpXKkY7HAR5jr6bIT99 github.com/googleapis/gax-go/v2 v2.4.0/go.mod h1:XOTVJ59hdnfJLIP/dh8n5CGryZR2LxK9wbMD5+iXC6c= github.com/googleapis/gax-go/v2 v2.5.1/go.mod h1:h6B0KMMFNtI2ddbGJn3T3ZbwkeT6yqEF02fYlzkUCyo= github.com/googleapis/gax-go/v2 v2.6.0/go.mod h1:1mjbznJAPHFpesgE5ucqfYEscaz5kMdcIDwU/6+DDoY= -github.com/googleapis/gax-go/v2 v2.7.0/go.mod h1:TEop28CZZQ2y+c0VxMUmu1lV+fQx57QpBWsYpwqHJx8= -github.com/googleapis/gax-go/v2 v2.7.1/go.mod h1:4orTrqY6hXxxaUL4LHIPl6lGo8vAE38/qKbhSAKP6QI= -github.com/googleapis/gax-go/v2 v2.8.0/go.mod h1:4orTrqY6hXxxaUL4LHIPl6lGo8vAE38/qKbhSAKP6QI= -github.com/googleapis/gax-go/v2 v2.10.0/go.mod h1:4UOEnMCrxsSqQ940WnTiD6qJ63le2ev3xfyagutxiPw= -github.com/googleapis/gax-go/v2 v2.11.0/go.mod h1:DxmR61SGKkGLa2xigwuZIQpkCI2S5iydzRfb3peWZJI= +github.com/googleapis/gax-go/v2 v2.12.0 h1:A+gCJKdRfqXkr+BIRGtZLibNXf0m1f9E4HG56etFpas= +github.com/googleapis/gax-go/v2 v2.12.0/go.mod h1:y+aIqrI5eb1YGMVJfuV3185Ts/D7qKpsEkdD5+I6QGU= github.com/googleapis/go-type-adapters v1.0.0/go.mod h1:zHW75FOG2aur7gAO2B+MLby+cLsWGBF62rFAi7WjWO4= github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= -github.com/gookit/color v1.4.2/go.mod h1:fqRyamkC1W8uxl+lxCQxOT09l/vYfZ+QeiX3rKQHCoQ= -github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1 h1:EGx4pi6eqNxGaHF6qqu48+N2wcFQ5qg5FXgOdqsJ5d8= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= -github.com/gordonklaus/ineffassign v0.0.0-20200309095847-7953dde2c7bf/go.mod h1:cuNKsD1zp2v6XfE/orVX2QE1LC+i254ceGcVeDT3pTU= -github.com/gordonklaus/ineffassign v0.0.0-20210225214923-2e10b2664254/go.mod h1:M9mZEtGIsR1oDaZagNPNG9iq9n2HrhZ17dsXk73V3Lw= -github.com/gorhill/cronexpr v0.0.0-20180427100037-88b0669f7d75/go.mod h1:g2644b03hfBX9Ov0ZBDgXXens4rxSxmqFBbhvKv2yVA= github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= github.com/gorilla/handlers v1.5.1 h1:9lRY6j8DEeeBT10CvO9hGW0gmky0BprnvDI5vfhUHH4= github.com/gorilla/handlers v1.5.1/go.mod h1:t8XrUpc4KVXb7HGyJ4/cEnwQiaxrX/hz1Zv/4g96P1Q= @@ -1250,35 +613,19 @@ github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2z github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI= github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= -github.com/gorilla/websocket v1.4.1-0.20190629185528-ae1634f6a989/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc= -github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/gostaticanalysis/analysisutil v0.0.0-20190318220348-4088753ea4d3/go.mod h1:eEOZF4jCKGi+aprrirO9e7WKB3beBRtWgqGunKl6pKE= -github.com/gostaticanalysis/analysisutil v0.0.3/go.mod h1:eEOZF4jCKGi+aprrirO9e7WKB3beBRtWgqGunKl6pKE= -github.com/gostaticanalysis/analysisutil v0.1.0/go.mod h1:dMhHRU9KTiDcuLGdy87/2gTR8WruwYZrKdRq9m1O6uw= -github.com/gostaticanalysis/analysisutil v0.4.1/go.mod h1:18U/DLpRgIUd459wGxVHE0fRgmo1UgHDcbw7F5idXu0= -github.com/gostaticanalysis/comment v1.3.0/go.mod h1:xMicKDx7XRXYdVwY9f9wQpDJVnqWxw9wCauCMKp+IBI= -github.com/gostaticanalysis/comment v1.4.1/go.mod h1:ih6ZxzTHLdadaiSnF5WY3dxUoXfXAlTaRzuaNDlSado= -github.com/gostaticanalysis/forcetypeassert v0.0.0-20200621232751-01d4955beaa5/go.mod h1:qZEedyP/sY1lTGV1uJ3VhWZ2mqag3IkWsDHVbplHXak= -github.com/gostaticanalysis/nilerr v0.1.1/go.mod h1:wZYb6YI5YAxxq0i1+VJbY0s2YONW0HU0GPE3+5PWN4A= -github.com/gotestyourself/gotestyourself v2.2.0+incompatible/go.mod h1:zZKM6oeNM8k+FRljX1mnzVYeS8wiGgQyvST1/GafPbY= -github.com/graph-gophers/graphql-go v0.0.0-20191115155744-f33e81362277/go.mod h1:9CQHMSxwO4MprSdzoIEobiHpoLtHm77vfxsvsIN5Vuc= -github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= -github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= +github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc= +github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-middleware v1.2.2/go.mod h1:EaizFBKfUKtMIF5iaDEhniwNedqGo9FuLFzppDr3uwI= github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 h1:+9834+KizmvFV7pXQGSXQTsaWhq2GjuNUt0aUU0YBYw= github.com/grpc-ecosystem/go-grpc-middleware v1.3.0/go.mod h1:z0ButlSOZa5vEBq9m2m2hlwIgKw+rp3sdCBRoJY+30Y= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= -github.com/grpc-ecosystem/grpc-gateway v1.8.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= -github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= -github.com/grpc-ecosystem/grpc-gateway v1.12.1/go.mod h1:8XEsbTttt/W+VvjtQhLACqCisSPWTxCZ7sBRjU6iH9c= github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo= github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0/go.mod h1:hgWBS7lorOAVIJEQMi4ZsPv9hVvWI6+ch50m39Pf2Ks= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3/go.mod h1:o//XUCC/F+yRGJoPO/VU0GSB0f8Nhgmxx0VIRUvaC0w= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.0 h1:Wqo399gCIufwto+VfwCSvsnfGpF/w5E9CNxSwbpD6No= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.0/go.mod h1:qmOFXW2epJhM0qSnUUYpldc7gVz2KMQwJ/QYCDIa7XU= github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c h1:6rhixN/i8ZofjG1Y75iExal34USq5p+wiN1tpie8IrU= github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c/go.mod h1:NMPJylDgVpX0MLRlPy15sqSwOFv/U1GZ2m21JhFfek0= github.com/gtank/merlin v0.1.1-0.20191105220539-8318aed1a79f/go.mod h1:T86dnYJhcGOh5BjZFCJWTDeTK7XW8uE+E21Cy/bIQ+s= @@ -1286,239 +633,179 @@ github.com/gtank/merlin v0.1.1 h1:eQ90iG7K9pOhtereWsmyRJ6RAwcP4tHTDBHXNg+u5is= github.com/gtank/merlin v0.1.1/go.mod h1:T86dnYJhcGOh5BjZFCJWTDeTK7XW8uE+E21Cy/bIQ+s= github.com/gtank/ristretto255 v0.1.2 h1:JEqUCPA1NvLq5DwYtuzigd7ss8fwbYay9fi4/5uMzcc= github.com/gtank/ristretto255 v0.1.2/go.mod h1:Ph5OpO6c7xKUGROZfWVLiJf9icMDwUeIvY4OmlYW69o= -github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q= github.com/hashicorp/consul/api v1.3.0/go.mod h1:MmDNSzIMUjNpY/mQ398R4bk2FnqQLoPndWW5VkKPlCE= -github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= github.com/hashicorp/consul/sdk v0.3.0/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= -github.com/hashicorp/go-immutable-radix v1.0.0 h1:AKDB1HM5PWEA7i4nhcpwOrO2byshxBjXVn/J/3+z5/0= +github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ= +github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= +github.com/hashicorp/go-getter v1.7.1 h1:SWiSWN/42qdpR0MdhaOc/bLR48PLuP1ZQtYLRlM69uY= +github.com/hashicorp/go-getter v1.7.1/go.mod h1:W7TalhMmbPmsSMdNjD0ZskARur/9GJ17cfHTRtXV744= github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= +github.com/hashicorp/go-immutable-radix v1.3.1 h1:DKHmCUm2hRBK510BaiZlwvpD40f8bJFeZnpfm2KLowc= +github.com/hashicorp/go-immutable-radix v1.3.1/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= -github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= +github.com/hashicorp/go-safetemp v1.0.0 h1:2HR189eFNrjHQyENnQMMpCiBAsRxzbTMIgBhEyExpmo= +github.com/hashicorp/go-safetemp v1.0.0/go.mod h1:oaerMy3BhqiTbVye6QuFhFtIceqFoDHxNAB65b+Rj1I= github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4= github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/go-uuid v1.0.1 h1:fv1ep09latC32wFoVwnqcnKJGnMSdBanPczbHAYm1BE= github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/go-version v1.2.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= +github.com/hashicorp/go-version v1.6.0 h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek= +github.com/hashicorp/go-version v1.6.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc= -github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= +github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d h1:dg1dEPuWpEqDnvIw251EVy4zlP8gWbsGj4BsUKCRpYs= +github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= -github.com/hdevalence/ed25519consensus v0.0.0-20210204194344-59a8610d2b87 h1:uUjLpLt6bVvZ72SQc/B4dXcPBw4Vgd7soowdRl52qEM= -github.com/hdevalence/ed25519consensus v0.0.0-20210204194344-59a8610d2b87/go.mod h1:XGsKKeXxeRr95aEOgipvluMPlgjr7dGlk9ZTWOjcUcg= -github.com/holiman/uint256 v1.1.1/go.mod h1:y4ga/t+u+Xwd7CpDgZESaRcWy0I7XMlTMA25ApIH5Jw= +github.com/hdevalence/ed25519consensus v0.1.0 h1:jtBwzzcHuTmFrQN6xQZn6CQEO/V9f7HsjsjeEZ6auqU= +github.com/hdevalence/ed25519consensus v0.1.0/go.mod h1:w3BHWjwJbFU29IRHL1Iqkw3sus+7FctEyM4RqDxYNzo= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= -github.com/huandu/xstrings v1.0.0/go.mod h1:4qWG/gcEcfX4z/mBDHJ++3ReCw9ibxbsNJbcucJdbSo= -github.com/huandu/xstrings v1.2.0/go.mod h1:DvyZB1rfVYsBIigL8HwpZgxHwXozlTgGqn63UyNX5k4= +github.com/huandu/go-assert v1.1.5 h1:fjemmA7sSfYHJD7CUqs9qTwwfdNAx7/j2/ZlHXzNB3c= +github.com/huandu/go-assert v1.1.5/go.mod h1:yOLvuqZwmcHIC5rIzrBhT7D3Q9c3GFnd0JrPVhn/06U= +github.com/huandu/skiplist v1.2.0 h1:gox56QD77HzSC0w+Ws3MH3iie755GBJU1OER3h5VsYw= +github.com/huandu/skiplist v1.2.0/go.mod h1:7v3iFjLcSAzO4fN5B8dvebvo/qsfumiLiDXMrPiHF9w= github.com/hudl/fargo v1.3.0/go.mod h1:y3CKSmjA+wD2gak7sUSXTAoopbhU08POFhmITJgmKTg= -github.com/huin/goupnp v1.0.0/go.mod h1:n9v9KO1tAxYH82qOn+UTIFQDmx5n1Zxd/ClZDMX7Bnc= -github.com/huin/goutil v0.0.0-20170803182201-1ca381bf3150/go.mod h1:PpLOETDnJ0o3iZrZfqZzyLl6l7F3c6L1oWn7OICBi6o= -github.com/iancoleman/strcase v0.2.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/imdario/mergo v0.3.4/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= -github.com/imdario/mergo v0.3.8/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= -github.com/improbable-eng/grpc-web v0.14.1 h1:NrN4PY71A6tAz2sKDvC5JCauENWp0ykG8Oq1H3cpFvw= -github.com/improbable-eng/grpc-web v0.14.1/go.mod h1:zEjGHa8DAlkoOXmswrNvhUGEYQA9UI7DhrGeHR1DMGU= -github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= +github.com/improbable-eng/grpc-web v0.15.0 h1:BN+7z6uNXZ1tQGcNAuaU1YjsLTApzkjt2tzCixLaUPQ= +github.com/improbable-eng/grpc-web v0.15.0/go.mod h1:1sy9HKV4Jt9aEs9JSnkWlRJPuPtwNr0l57L4f878wP8= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= +github.com/inconshreveable/mousetrap v1.0.1 h1:U3uMjPSQEBMNp1lFxmllqCPM6P5u/Xq7Pgzkat/bFNc= github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= -github.com/influxdata/influxdb v1.2.3-0.20180221223340-01288bdb0883/go.mod h1:qZna6X/4elxqT3yI9iZYdZrWWdeFOOprn86kgg4+IzY= github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo= -github.com/jackpal/go-nat-pmp v1.0.2-0.20160603034137-1fa385a6f458/go.mod h1:QPH045xvCAeXUZOxsnwmrtiCoxIr9eob+4orBN1SBKc= -github.com/jedisct1/go-minisign v0.0.0-20190909160543-45766022959e/go.mod h1:G1CVv03EnqU1wYL2dFwXxW2An0az9JTl/ZsqXQeBlkU= -github.com/jessevdk/go-flags v0.0.0-20141203071132-1679536dcc89/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= -github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= -github.com/jgautheron/goconst v1.5.1/go.mod h1:aAosetZ5zaeC/2EfMeRswtxUFBpe2Hr7HzkgX4fanO4= -github.com/jhump/protoreflect v1.6.1/go.mod h1:RZQ/lnuN+zqeRVpQigTwO6o0AJUkxbnSnpuG7toUTG4= -github.com/jhump/protoreflect v1.9.0 h1:npqHz788dryJiR/l6K/RUQAyh2SwV91+d1dnh4RjO9w= -github.com/jhump/protoreflect v1.9.0/go.mod h1:7GcYQDdMU/O/BBrl/cX6PNHpXh6cenjd8pneu5yW7Tg= -github.com/jingyugao/rowserrcheck v1.1.0/go.mod h1:TOQpc2SLx6huPfoFGK3UOnEG+u02D3C1GeosjupAKCA= -github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af/go.mod h1:HEWGJkRDzjJY2sqdDwxccsGicWEf9BQOZsq2tV+xzM0= +github.com/jdxcode/netrc v0.0.0-20210204082910-926c7f70242a h1:d4+I1YEKVmWZrgkt6jpXBnLgV2ZjO0YxEtLDdfIZfH4= +github.com/jdxcode/netrc v0.0.0-20210204082910-926c7f70242a/go.mod h1:Zi/ZFkEqFHTm7qkjyNJjaWH4LQA9LQhGJyF0lTYGpxw= +github.com/jhump/protocompile v0.0.0-20220216033700-d705409f108f h1:BNuUg9k2EiJmlMwjoef3e8vZLHplbVw6DrjGFjLL+Yo= +github.com/jhump/protocompile v0.0.0-20220216033700-d705409f108f/go.mod h1:qr2b5kx4HbFS7/g4uYO5qv9ei8303JMsC7ESbYiqr2Q= +github.com/jhump/protoreflect v1.15.1 h1:HUMERORf3I3ZdX05WaQ6MIpd/NJ434hTp5YiKgfCL6c= +github.com/jhump/protoreflect v1.15.1/go.mod h1:jD/2GMKKE6OqX8qTjhADU1e6DShO+gavG9e0Q693nKo= github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= +github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= +github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/jmhodges/levigo v1.0.0 h1:q5EC36kV79HWeTBWsod3mG11EgStG3qArTKcvlksN1U= github.com/jmhodges/levigo v1.0.0/go.mod h1:Q6Qx+uH3RAqyK4rFQroq9RL7mdkABMcfhEI+nNuzMJQ= -github.com/jmoiron/sqlx v1.2.0/go.mod h1:1FEQNm3xlJgrMD+FBdI9+xvCksHtbpVBBw5dYhBSsks= github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= -github.com/jonboulle/clockwork v0.2.0/go.mod h1:Pkfl5aHPm1nk2H9h0bjmnJD/BcgbGXUBGnn1kMkgxc8= github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= -github.com/jrick/logrotate v1.0.0/go.mod h1:LNinyqDIJnpAur+b8yyulnQw/wDuN1+BYKlTRt3OuAQ= github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.11 h1:uVUAXhF2To8cbw/3xN3pxj6kk7TYKs98NIrTqPlMWAQ= -github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= -github.com/jtolds/gls v4.20.0+incompatible h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7C0MuV77Wo= github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= -github.com/juju/ratelimit v1.0.1/go.mod h1:qapgC/Gy+xNh9UxzV13HGGl/6UXNN+ct+vwSgWNm/qk= -github.com/julienschmidt/httprouter v1.1.1-0.20170430222011-975b5c4c7c21/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= -github.com/julz/importas v0.0.0-20210419104244-841f0c0fe66d/go.mod h1:oSFU2R4XK/P7kNBrnL/FEQlDGN1/6WoxXEjSSXO0DV0= -github.com/jung-kurt/gofpdf v1.0.0/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= -github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= -github.com/k0kubun/colorstring v0.0.0-20150214042306-9440f1994b88/go.mod h1:3w7q1U84EfirKl04SVQ/s7nPm1ZPhiXd34z40TNz36k= -github.com/karalabe/usb v0.0.0-20190919080040-51dc0efba356/go.mod h1:Od972xHfMJowv7NGVDiWVxk2zxnWgjLlJzE+F4F7AGU= -github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= github.com/keybase/go-keychain v0.0.0-20190712205309-48d3d31d256d h1:Z+RDyXzjKE0i2sTjZ/b1uxiGtPhFy34Ou/Tk0qwN0kM= github.com/keybase/go-keychain v0.0.0-20190712205309-48d3d31d256d/go.mod h1:JJNrCn9otv/2QP4D7SMJBgaleKpOf66PnW6F5WGNRIc= +github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= +github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= -github.com/kisielk/errcheck v1.6.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/kkdai/bstream v0.0.0-20161212061736-f391b8402d23/go.mod h1:J+Gs4SYgM6CZQHDETBtE9HaSEkGmuNXF86RwHhHUvq4= -github.com/kkdai/bstream v1.0.0/go.mod h1:FDnDOHt5Yx4p3FaHcioFT0QjDOtgUpvjeZqAs+NVZZA= -github.com/klauspost/asmfmt v1.3.2/go.mod h1:AG8TuvYojzulgDAMCnYn50l/5QV3Bs/tp6j0HLHbNSE= github.com/klauspost/compress v1.10.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= -github.com/klauspost/compress v1.10.7/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= -github.com/klauspost/compress v1.11.0/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= github.com/klauspost/compress v1.11.7/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= -github.com/klauspost/compress v1.15.9 h1:wKRjX6JRtDdrE9qwa4b/Cip7ACOshUI4smpCQanqjSY= -github.com/klauspost/compress v1.15.9/go.mod h1:PhcZ0MbTNciWF3rruxRgKxI5NkcHHrHUDtV4Yw2GlzU= -github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= +github.com/klauspost/compress v1.12.3/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg= +github.com/klauspost/compress v1.15.11/go.mod h1:QPwzmACJjUTFsnSHH934V6woptycfrDDJnH7hvFVbGM= +github.com/klauspost/compress v1.16.3 h1:XuJt9zzcnaz6a16/OU53ZjWp/v7/42WcR5t2a0PcNQY= +github.com/klauspost/compress v1.16.3/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE= +github.com/klauspost/pgzip v1.2.5 h1:qnWYvvKqedOF2ulHpMG72XQol4ILEJ8k2wwRl/Km8oE= +github.com/klauspost/pgzip v1.2.5/go.mod h1:Ch1tH69qFZu15pkjo5kYi6mth2Zzwzt50oCQKQE9RUs= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= -github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/kulti/thelper v0.4.0/go.mod h1:vMu2Cizjy/grP+jmsvOFDx1kYP6+PD1lqg4Yu5exl2U= -github.com/kunwardeep/paralleltest v1.0.2/go.mod h1:ZPqNm1fVHPllh5LPVujzbVz1JN2GhLxSfY+oqUsvG30= -github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= -github.com/kyoh86/exportloopref v0.1.8/go.mod h1:1tUcJeiioIs7VWe5gcOObrux3lb66+sBqGZrRkMwPgg= -github.com/ldez/gomoddirectives v0.2.2/go.mod h1:cpgBogWITnCfRq2qGoDkKMEVSaarhdBr6g8G04uz6d0= -github.com/ldez/tagliatelle v0.2.0/go.mod h1:8s6WJQwEYHbKZDsp/LjArytKOG8qaMrKQQ3mFukHs88= github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= github.com/leodido/go-urn v1.2.1 h1:BqpAaACuzVSgi/VLzGZIobT2z4v53pjosyNd9Yv6n/w= github.com/leodido/go-urn v1.2.1/go.mod h1:zt4jvISO2HfUBqxjfIshjdMTYS56ZS/qv49ictyFfxY= -github.com/letsencrypt/pkcs11key/v4 v4.0.0/go.mod h1:EFUvBDay26dErnNb70Nd0/VW3tJiIbETBPTl9ATXQag= -github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= -github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= -github.com/lib/pq v1.8.0/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= -github.com/lib/pq v1.9.0/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= -github.com/lib/pq v1.10.2 h1:AqzbZs4ZoCBp+GtejcpCpcxM3zlSMx29dXbUSeVtJb8= -github.com/lib/pq v1.10.2/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= -github.com/libp2p/go-buffer-pool v0.0.2 h1:QNK2iAFa8gjAe1SPz6mHSMuCcjs+X1wlHzeOSqcmlfs= -github.com/libp2p/go-buffer-pool v0.0.2/go.mod h1:MvaB6xw5vOrDl8rYZGLFdKAuk/hRoRZd1Vi32+RXyFM= +github.com/lib/pq v1.10.7 h1:p7ZhMD+KsSRozJr34udlUrhboJwWAgCg34+/ZZNvZZw= +github.com/lib/pq v1.10.7/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= +github.com/libp2p/go-buffer-pool v0.1.0 h1:oK4mSFcQz7cTQIfqbe4MIj9gLW+mnanjyFtc6cdF0Y8= +github.com/libp2p/go-buffer-pool v0.1.0/go.mod h1:N+vh8gMqimBzdKkSMVuydVDq+UV5QTWy5HSiZacSbPg= github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM= github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4= -github.com/logrusorgru/aurora v0.0.0-20181002194514-a7b3b318ed4e/go.mod h1:7rIyQOR62GCctdiQpZ/zOJlFyk6y+94wXzv6RNZgaR4= -github.com/lucasjones/reggen v0.0.0-20180717132126-cdb49ff09d77/go.mod h1:5ELEyG+X8f+meRWHuqUOewBOhvHkl7M76pdGEansxW4= -github.com/lyft/protoc-gen-star v0.6.0/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA= -github.com/lyft/protoc-gen-star v0.6.1/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA= -github.com/lyft/protoc-gen-star/v2 v2.0.1/go.mod h1:RcCdONR2ScXaYnQC5tUzxzlpA3WVYF7/opLeUgcQs/o= +github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= -github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= -github.com/magiconair/properties v1.8.5 h1:b6kJs+EmPFMYGkow9GiUyCyOvIwYetYJ3fSaWak/Gls= -github.com/magiconair/properties v1.8.5/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= -github.com/maratori/testpackage v1.0.1/go.mod h1:ddKdw+XG0Phzhx8BFDTKgpWP4i7MpApTE5fXSKAqwDU= -github.com/matoous/godox v0.0.0-20210227103229-6504466cf951/go.mod h1:1BELzlh859Sh1c6+90blK8lbYy0kwQf1bYlBhBysy1s= +github.com/magiconair/properties v1.8.6 h1:5ibWZ6iY0NctNGWo87LalDlEZ6R41TqbbDamhfG/Qzo= +github.com/magiconair/properties v1.8.6/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= +github.com/manifoldco/promptui v0.9.0 h1:3V4HzJk1TtXW1MTZMP7mdlwbBpIinw3HztaIlYthEiA= +github.com/manifoldco/promptui v0.9.0/go.mod h1:ka04sppxSGFAtxX0qhlYQjISsg9mR4GWtQEhdbn6Pgg= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= -github.com/mattn/go-colorable v0.1.0/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= -github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= -github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= -github.com/mattn/go-ieproxy v0.0.0-20190610004146-91bb50d98149/go.mod h1:31jz6HNzdxOmlERGGEc4v/dMssOfmp2p5bT/okiKFFc= -github.com/mattn/go-ieproxy v0.0.0-20190702010315-6dee0af9227d/go.mod h1:31jz6HNzdxOmlERGGEc4v/dMssOfmp2p5bT/okiKFFc= +github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= +github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= +github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= -github.com/mattn/go-isatty v0.0.5-0.20180830101745-3fb116b82035/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= -github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= -github.com/mattn/go-isatty v0.0.10/go.mod h1:qgIWMr58cqv1PHHyhnkY9lrL7etaEgOFcMEpPG5Rm84= -github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= -github.com/mattn/go-isatty v0.0.17 h1:BTarxUcIeDqL27Mc+vyvdWYSL28zpIhv3RoTdsLMPng= -github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= +github.com/mattn/go-isatty v0.0.18 h1:DOKFKCQ7FNG2L1rbrmstDN4QVRdS89Nkh85u68Uwp98= +github.com/mattn/go-isatty v0.0.18/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= -github.com/mattn/go-runewidth v0.0.3/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= -github.com/mattn/go-runewidth v0.0.6/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= -github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= -github.com/mattn/go-sqlite3 v1.9.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= -github.com/mattn/go-sqlite3 v1.14.14/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= -github.com/mattn/go-sqlite3 v1.14.15/go.mod h1:2eHXhiwb8IkHr+BDWZGa96P6+rkvnG63S2DGjv9HUNg= -github.com/mattn/goveralls v0.0.2/go.mod h1:8d1ZMHsd7fW6IRPKQh46F2WRpyib5/X4FOpevwGNQEw= -github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= -github.com/mbilski/exhaustivestruct v1.2.0/go.mod h1:OeTBVxQWoEmB2J2JCHmXWPJ0aksxSUOUy+nvtVEfzXc= -github.com/mgechev/dots v0.0.0-20190921121421-c36f7dcfbb81/go.mod h1:KQ7+USdGKfpPjXk4Ga+5XxQM4Lm4e3gAogrreFAYpOg= -github.com/mgechev/revive v1.1.1/go.mod h1:PKqk4L74K6wVNwY2b6fr+9Qqr/3hIsHVfZCJdbvozrY= +github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo= +github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= -github.com/miekg/dns v1.1.35/go.mod h1:KNUDUusw/aVsxyTYZM1oqvCicbwhgbNgztCETuNZ7xM= -github.com/miekg/pkcs11 v1.0.2/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs= -github.com/miekg/pkcs11 v1.0.3/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs= -github.com/mimoo/StrobeGo v0.0.0-20181016162300-f8f6d4d2b643 h1:hLDRPB66XQT/8+wG9WsDpiCvZf1yKO7sz7scAjSlBa0= github.com/mimoo/StrobeGo v0.0.0-20181016162300-f8f6d4d2b643/go.mod h1:43+3pMjjKimDBf5Kr4ZFNGbLql1zKkbImw+fZbw3geM= -github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8/go.mod h1:mC1jAcsrzbxHt8iiaC+zU4b1ylILSosueou12R++wfY= -github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3/go.mod h1:RagcQ7I8IeTMnF8JTXieKnO4Z6JCsikNEzj0DwauVzE= -github.com/minio/highwayhash v1.0.1 h1:dZ6IIu8Z14VlC0VpfKofAhCy74wu/Qb5gcn52yWoz/0= -github.com/minio/highwayhash v1.0.1/go.mod h1:BQskDq+xkJ12lmlUUi7U0M5Swg3EWR+dLTk+kldvVxY= +github.com/mimoo/StrobeGo v0.0.0-20210601165009-122bf33a46e0 h1:QRUSJEgZn2Snx0EmT/QLXibWjSUDjKWvXIT19NBVp94= +github.com/mimoo/StrobeGo v0.0.0-20210601165009-122bf33a46e0/go.mod h1:43+3pMjjKimDBf5Kr4ZFNGbLql1zKkbImw+fZbw3geM= +github.com/minio/highwayhash v1.0.2 h1:Aak5U0nElisjDCfPSG79Tgzkn2gl66NxOMspRrKnA/g= +github.com/minio/highwayhash v1.0.2/go.mod h1:BQskDq+xkJ12lmlUUi7U0M5Swg3EWR+dLTk+kldvVxY= github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc= -github.com/mitchellh/copystructure v1.0.0/go.mod h1:SNtv71yrdKgLRyLFxmLdkAbkKEFWgYaq1OVrnRcwhnw= github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= +github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= -github.com/mitchellh/go-ps v1.0.0/go.mod h1:J4lOc8z8yJs6vUwklHw2XEIiT4z4C40KtWVN3nvg8Pg= github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= +github.com/mitchellh/go-testing-interface v1.14.1 h1:jrgshOhYAUVNMAJiKbEu7EqAwgJJ2JqpQmpLJOu07cU= +github.com/mitchellh/go-testing-interface v1.14.1/go.mod h1:gfgS7OtZj6MA4U1UrDRp04twqAjfvlZyCfX3sDjEym8= github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg= github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY= github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= -github.com/mitchellh/mapstructure v1.3.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/mitchellh/mapstructure v1.4.1 h1:CpVNEelQCZBooIPDn+AR3NpivK/TIKU8bDxdASFVQag= -github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/mitchellh/reflectwalk v1.0.0/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= -github.com/mitchellh/reflectwalk v1.0.1/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= -github.com/moby/sys/mountinfo v0.4.1/go.mod h1:rEr8tzG/lsIZHBtN/JjGG+LMYx9eXgW2JI+6q0qou+A= +github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= +github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= +github.com/moby/buildkit v0.10.4 h1:FvC+buO8isGpUFZ1abdSLdGHZVqg9sqI4BbFL8tlzP4= +github.com/moby/buildkit v0.10.4/go.mod h1:Yajz9vt1Zw5q9Pp4pdb3TCSUXJBIroIQGQ3TTs/sLug= +github.com/moby/term v0.0.0-20220808134915-39b0c02b01ae h1:O4SWKdcHVCvYqyDV+9CJA1fcDN2L11Bule0iFy3YlAI= +github.com/moby/term v0.0.0-20220808134915-39b0c02b01ae/go.mod h1:E2VnQOmVuvZB6UYnnDB0qG5Nq/1tD9acaOpo6xmt0Kw= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/modern-go/reflect2 v1.0.1 h1:9f412s+6RmYXLWZSEzVVgPGK7C2PphHj5RJrvfx9AWI= github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826/go.mod h1:TaXosZuwdSHYgviHp1DAtfrULt5eUgsSMsZf+YrPgl8= -github.com/moricho/tparallel v0.2.1/go.mod h1:fXEIZxG2vdfl0ZF8b42f5a78EhjjD5mX8qUplsoSU4k= -github.com/mozilla/scribe v0.0.0-20180711195314-fb71baf557c1/go.mod h1:FIczTrinKo8VaLxe6PWTPEXRXDIHz2QAwiaBaP5/4a8= -github.com/mozilla/tls-observatory v0.0.0-20210609171429-7bc42856d2e5/go.mod h1:FUqVoUPHSEdDR0MnFM3Dh8AU0pZHLXUD127SAJGER/s= -github.com/mrunalp/fileutils v0.5.0/go.mod h1:M1WthSahJixYnrXQl/DFQuteStB1weuxD2QJNHXfbSQ= +github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= +github.com/morikuni/aec v1.0.0 h1:nP9CBfwrvYnBRgY6qfDQkygYDmYwOilePFkwzv4dU8A= +github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= github.com/mtibben/percent v0.2.1 h1:5gssi8Nqo8QU/r2pynCm+hBQHpkB/uNK7BJCFogWdzs= github.com/mtibben/percent v0.2.1/go.mod h1:KG9uO+SZkUp+VkRHsCdYQV3XSZrrSpR3O9ibNBTZrns= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f h1:KUppIJq7/+SVif2QVs3tOP0zanoHgBEVAwHxUSIzRqU= github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/mwitkow/go-proto-validators v0.0.0-20180403085117-0950a7990007/go.mod h1:m2XC9Qq0AlmmVksL6FktJCdTYyLk7V3fKyp0sl1yWQo= -github.com/mwitkow/go-proto-validators v0.2.0/go.mod h1:ZfA1hW+UH/2ZHOWvQ3HnQaU0DtnpXu850MZiy+YUgcc= github.com/mwitkow/grpc-proxy v0.0.0-20181017164139-0f1106ef9c76/go.mod h1:x5OoJHDHqxHS801UIuhqGl6QdSAEJvtausosHSdazIo= -github.com/nakabonne/nestif v0.3.0/go.mod h1:dI314BppzXjJ4HsCnbo7XzrJHPszZsjnk5wEBSYHI2c= -github.com/naoina/go-stringutil v0.1.0/go.mod h1:XJ2SJL9jCtBh+P9q5btrd/Ylo8XwT/h1USek5+NqSA0= -github.com/naoina/toml v0.1.2-0.20170918210437-9fafd6967416/go.mod h1:NBIhNtsFMo3G2szEBne+bO4gS192HuIYRqfvOWb4i1E= github.com/nats-io/jwt v0.3.0/go.mod h1:fRYCDE99xlTsqUzISS1Bi75UBJ6ljOJQOAAu5VglpSg= github.com/nats-io/jwt v0.3.2/go.mod h1:/euKqTS1ZD+zzjYrY7pseZrTtWQSjujC7xjPc8wL6eU= github.com/nats-io/nats-server/v2 v2.1.2/go.mod h1:Afk+wRZqkMQs/p45uXdrVLuab3gwv3Z8C4HTBu8GD/k= @@ -1526,48 +813,27 @@ github.com/nats-io/nats.go v1.9.1/go.mod h1:ZjDU1L/7fJ09jvUSRVBR2e7+RnLiiIQyqyzE github.com/nats-io/nkeys v0.1.0/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= github.com/nats-io/nkeys v0.1.3/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= -github.com/nbutton23/zxcvbn-go v0.0.0-20210217022336-fa2cb2858354/go.mod h1:KSVJerMDfblTH7p5MZaTt+8zaT2iEk3AkVb9PQdZuE8= -github.com/neilotoole/errgroup v0.1.5/go.mod h1:Q2nLGf+594h0CLBs/Mbg6qOr7GtqDK7C2S41udRnToE= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= -github.com/nishanths/exhaustive v0.2.3/go.mod h1:bhIX678Nx8inLM9PbpvK1yv6oGtoP8BfaIeMzgBNKvc= -github.com/nishanths/predeclared v0.0.0-20190419143655-18a43bb90ffc/go.mod h1:62PewwiQTlm/7Rj+cxVYqZvDIUc+JjZq6GHAC1fsObQ= -github.com/nishanths/predeclared v0.0.0-20200524104333-86fad755b4d3/go.mod h1:nt3d53pc1VYcphSCIaYAJtnPYnr3Zyn8fMq2wvPGPso= -github.com/nishanths/predeclared v0.2.1/go.mod h1:HvkGJcA3naj4lOwnFXFDkFxVtSqQMB9sbB1usJ+xjQE= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= -github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= github.com/oklog/oklog v0.3.2/go.mod h1:FCV+B7mhrz4o+ueLpx+KqkyXRGMWOYEvfiXtdGtbWGs= github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA= -github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= -github.com/olekukonko/tablewriter v0.0.1/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= -github.com/olekukonko/tablewriter v0.0.2-0.20190409134802-7e037d187b0c/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= -github.com/olekukonko/tablewriter v0.0.2/go.mod h1:rSAaSIOAGT9odnlyGlUfAJaoc5w2fSBUmeGDbRWPxyQ= -github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.10.3/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= -github.com/onsi/ginkgo v1.16.2/go.mod h1:CObGmKUOKaSC0RjmoAK7tKyn4Azo5P2IWuoMnvwxz1E= github.com/onsi/ginkgo v1.16.4 h1:29JGrr5oVBm5ulCWet69zQkzWipVXIol6ygQUe/EzNc= -github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0= -github.com/onsi/gomega v1.4.1/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= -github.com/onsi/gomega v1.13.0 h1:7lLHu94wT9Ij0o6EWWclhu0aOh32VxhkwEJvzuWPeak= -github.com/onsi/gomega v1.13.0/go.mod h1:lRk9szgn8TxENtWd0Tp4c3wjlRfMTMH27I+3Je41yGY= +github.com/onsi/gomega v1.20.0 h1:8W0cWlwFkflGPLltQvLRB7ZVD5HuP6ng320w2IS245Q= github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk= -github.com/opencontainers/go-digest v1.0.0-rc1 h1:WzifXhOVOEOuFYOJAW6aQqW0TooG2iki3E3Ii+WN7gQ= -github.com/opencontainers/go-digest v1.0.0-rc1/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= -github.com/opencontainers/image-spec v1.0.1 h1:JMemWkRwHx4Zj+fVxWoMCFm/8sYGGrUVojFA6h/TRcI= -github.com/opencontainers/image-spec v1.0.1/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= -github.com/opencontainers/runc v0.1.1/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= -github.com/opencontainers/runc v1.0.2 h1:opHZMaswlyxz1OuGpBE53Dwe4/xF7EZTY0A2L/FpCOg= -github.com/opencontainers/runc v1.0.2/go.mod h1:aTaHFFwQXuA71CiyxOdFFIorAoemI04suvGRQFzWTD0= -github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= -github.com/opencontainers/selinux v1.8.2/go.mod h1:MUIHuUEvKB1wtJjQdOyYRgOnLD2xAPP8dBsCoU0KuF8= +github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= +github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= +github.com/opencontainers/image-spec v1.1.0-rc2 h1:2zx/Stx4Wc5pIPDvIxHXvXtQFW/7XWJGmnM7r3wg034= +github.com/opencontainers/image-spec v1.1.0-rc2/go.mod h1:3OVijpioIKYWTqjiG0zfF6wvoJ4fAXGbjdZuI2NgsRQ= +github.com/opencontainers/runc v1.1.3 h1:vIXrkId+0/J2Ymu2m7VjGvbSlAId9XNRPhn2p4b+d8w= github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492/go.mod h1:Ngi6UdF0k5OKD5t5wlmGhe/EDKPoUM3BXZSSfIuJbis= github.com/opentracing/basictracer-go v1.0.0/go.mod h1:QfBfYuafItcjQuMwinw9GhYKwFXS9KnPs5lxoYwgW74= github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= @@ -1577,57 +843,44 @@ github.com/openzipkin/zipkin-go v0.1.6/go.mod h1:QgAqvLzwWbR/WpD4A3cGpPtJrZXNIiJ github.com/openzipkin/zipkin-go v0.2.1/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= github.com/openzipkin/zipkin-go v0.2.2/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= github.com/ory/dockertest v3.3.5+incompatible h1:iLLK6SQwIhcbrG783Dghaaa3WPzGc+4Emza6EbVUUGA= -github.com/ory/dockertest v3.3.5+incompatible/go.mod h1:1vX4m9wsvi00u5bseYwXaSnhNrne+V0E6LAcBILJdPs= -github.com/otiai10/copy v1.6.0 h1:IinKAryFFuPONZ7cm6T6E2QX/vcJwSnlaA5lfoaXIiQ= -github.com/otiai10/copy v1.6.0/go.mod h1:XWfuS3CrI0R6IE0FbgHsEazaXO8G0LpMp9o8tos0x4E= -github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95/go.mod h1:9qAhocn7zKJG+0mI8eUu6xqkFDYS2kb2saOteoSB3cE= -github.com/otiai10/curr v1.0.0/go.mod h1:LskTG5wDwr8Rs+nNQ+1LlxRjAtTZZjtJW4rMXl6j4vs= -github.com/otiai10/mint v1.3.0/go.mod h1:F5AjcsTsWUqX+Na9fpHb52P8pcRX2CI6A3ctIT91xUo= -github.com/otiai10/mint v1.3.2/go.mod h1:/yxELlJQ0ufhjUwhshSj+wFjZ78CnZ48/1wtmBH1OTc= github.com/pact-foundation/pact-go v1.0.4/go.mod h1:uExwJY4kCzNPcHRj+hCR/HBbOOIwwtUjcrb0b5/5kLM= github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/pascaldekloe/goe v0.1.0 h1:cBOtyMzM9HTpWjXfbbunk26uA6nG3a8n06Wieeh0MwY= github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= -github.com/pborman/uuid v0.0.0-20170112150404-1b00554d8222/go.mod h1:VyrYX9gd7irzKovcSS6BIIEwPRkP2Wm2m9ufcdFSJ34= github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= -github.com/pelletier/go-toml v1.9.3 h1:zeC5b1GviRUyKYd6OJPvBU/mcVDVoL1OhT17FCt5dSQ= -github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= +github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8= +github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= +github.com/pelletier/go-toml/v2 v2.0.7 h1:muncTPStnKRos5dpVKULv2FVd4bMOhNePj9CjgDb8Us= +github.com/pelletier/go-toml/v2 v2.0.7/go.mod h1:eumQOmlWiOPt5WriQQqoM5y18pDHwha2N+QD+EUNTek= github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac= -github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= -github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7/go.mod h1:CRroGNssyjTd/qIG2FyxByd2S8JEAZXBl4qUrZf8GS0= -github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5 h1:q2e307iGHPdTGp0hoxKjt1H5pDo6utceo3dQVK3I5XQ= github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5/go.mod h1:jvVRKCrJTQWu0XVbaOlby/2lO20uSCHEMzzplHXte1o= -github.com/phayes/checkstyle v0.0.0-20170904204023-bfd46e6a821d/go.mod h1:3OzsM7FXDQlpCiw2j81fOmAwQLnZnLGXVKUzeKQXIAw= -github.com/phpdave11/gofpdf v1.4.2/go.mod h1:zpO6xFn9yxo3YLyMvW8HcKWVdbNqgIfOOp2dXMnm1mY= -github.com/phpdave11/gofpdi v1.0.12/go.mod h1:vBmVV0Do6hSBHC8uKUQ71JGW+ZGQq74llk/7bXwjDoI= -github.com/phpdave11/gofpdi v1.0.13/go.mod h1:vBmVV0Do6hSBHC8uKUQ71JGW+ZGQq74llk/7bXwjDoI= +github.com/petermattis/goid v0.0.0-20230317030725-371a4b8eda08 h1:hDSdbBuw3Lefr6R18ax0tZ2BJeNB3NehB3trOwYBsdU= +github.com/petermattis/goid v0.0.0-20230317030725-371a4b8eda08/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4= github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= -github.com/pierrec/lz4/v4 v4.1.15/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4= +github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 h1:KoWmjvw+nsYOo29YJK9vDA65RGE3NrOnUtO7a+RF9HU= +github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8/go.mod h1:HKlIX3XHQyzLZPlr7++PzdhaXEj94dEiJgZDTsxEqUI= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/profile v1.2.1/go.mod h1:hJw3o1OdXxsrSjjVksARp5W95eeEaEfptyVZyv6JUPA= -github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI= +github.com/pkg/profile v1.6.0 h1:hUDfIISABYI59DyeB3OTay/HxSRwTQ8rB/H83k6r5dM= +github.com/pkg/profile v1.6.0/go.mod h1:qBsxPvzyUincmltOk6iyRVxHYg4adc0OFOv72ZdLa18= github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= -github.com/pmezard/go-difflib v0.0.0-20151028094244-d8ed2627bdf0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/polyfloyd/go-errorlint v0.0.0-20210722154253-910bb7978349/go.mod h1:wi9BfjxjF/bwiZ701TzmfKu6UKC357IOAtNr0Td0Lvw= github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod h1:p2iRAGwDERtqlqzRXnrOVns+ignqQo//hLXqYxZYVNs= -github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= github.com/prometheus/client_golang v1.3.0/go.mod h1:hJaj2vgQTGQmVCsAACORcieXFeDPbaTKGT+JTgUa3og= github.com/prometheus/client_golang v1.4.0/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU= github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= -github.com/prometheus/client_golang v1.8.0/go.mod h1:O9VU6huf47PktckDQfMTX0Y8tY0/7TSWwj+ITvv0TnM= -github.com/prometheus/client_golang v1.11.0 h1:HNkLOAEQMIDv/K+04rukrLx6ch7msSRwf3/SASFAGtQ= -github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= +github.com/prometheus/client_golang v1.14.0 h1:nJdhIvne2eSX/XRAFV9PcvFFRbrjbcTUj0VP62TMhnw= +github.com/prometheus/client_golang v1.14.0/go.mod h1:8vpkKitgIVNcqrRBWh1C4TIUQgYNtG/XQE4E/Zae36Y= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= @@ -1636,123 +889,72 @@ github.com/prometheus/client_model v0.1.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6T github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.3.0 h1:UBgGFHqYdG/TPFD1B1ogZywDqEkwp3fBMvqdiQ7Xew4= github.com/prometheus/client_model v0.3.0/go.mod h1:LDGWKZIo7rky3hgvBe+caln+Dr3dPggB5dvjtD7w9+w= -github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.7.0/go.mod h1:DjGbpBbp5NYNiECxcL/VnbXCCaQpKd3tt26CguLLsqA= github.com/prometheus/common v0.9.1/go.mod h1:yhUN8i9wzaXS3w1O07YhxHEBxD+W35wd8bs7vj7HSQ4= github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= -github.com/prometheus/common v0.14.0/go.mod h1:U+gB1OBLb1lF3O42bTCL+FK18tX9Oar16Clt/msog/s= github.com/prometheus/common v0.15.0/go.mod h1:U+gB1OBLb1lF3O42bTCL+FK18tX9Oar16Clt/msog/s= -github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= -github.com/prometheus/common v0.29.0 h1:3jqPBvKT4OHAbje2Ql7KeaaSicDBCxMYwEJU1zRJceE= -github.com/prometheus/common v0.29.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= +github.com/prometheus/common v0.42.0 h1:EKsfXEYo4JpWMHH5cg+KOUWeuJSov1Id8zGR8eeI1YM= +github.com/prometheus/common v0.42.0/go.mod h1:xBwqVerjNdUDjgODMpudtOMwlOwf2SaTr1yjz4b7Zbc= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= -github.com/prometheus/procfs v0.2.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= github.com/prometheus/procfs v0.3.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= -github.com/prometheus/procfs v0.6.0 h1:mxy4L2jP6qMonqmq+aTtOx1ifVWUgG/TAmntgbh3xv4= -github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= -github.com/prometheus/tsdb v0.6.2-0.20190402121629-4f204dcbc150/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/pseudomuto/protoc-gen-doc v1.3.2/go.mod h1:y5+P6n3iGrbKG+9O04V5ld71in3v/bX88wUwgt+U8EA= -github.com/pseudomuto/protokit v0.2.0/go.mod h1:2PdH30hxVHsup8KpBTOXTBeMVhJZVio3Q8ViKSAXT0Q= -github.com/quasilyte/go-consistent v0.0.0-20190521200055-c6f3937de18c/go.mod h1:5STLWrekHfjyYwxBRVRXNOSewLJ3PWfDJd1VyTS21fI= -github.com/quasilyte/go-ruleguard v0.3.1-0.20210203134552-1b5a410e1cc8/go.mod h1:KsAh3x0e7Fkpgs+Q9pNLS5XpFSvYCEVl5gP9Pp1xp30= -github.com/quasilyte/go-ruleguard v0.3.4/go.mod h1:57FZgMnoo6jqxkYKmVj5Fc8vOt0rVzoE/UNAmFFIPqA= -github.com/quasilyte/go-ruleguard/dsl v0.3.0/go.mod h1:KeCP03KrjuSO0H1kTuZQCWlQPulDV6YMIXmpQss17rU= -github.com/quasilyte/go-ruleguard/dsl v0.3.2/go.mod h1:KeCP03KrjuSO0H1kTuZQCWlQPulDV6YMIXmpQss17rU= -github.com/quasilyte/go-ruleguard/rules v0.0.0-20201231183845-9e62ed36efe1/go.mod h1:7JTjp89EGyU1d6XfBiXihJNG37wB2VRkd125Q1u7Plc= -github.com/quasilyte/go-ruleguard/rules v0.0.0-20210203162857-b223e0831f88/go.mod h1:4cgAphtvu7Ftv7vOT2ZOYhC6CvBxZixcasr8qIOTA50= -github.com/quasilyte/regex/syntax v0.0.0-20200407221936-30656e2c4a95/go.mod h1:rlzQ04UMyJXu/aOvhd8qT+hvDrFpiwqp8MRXDY9szc0= +github.com/prometheus/procfs v0.9.0 h1:wzCHvIvM5SxWqYvwgVL7yJY8Lz3PKn49KQtpgMYJfhI= +github.com/prometheus/procfs v0.9.0/go.mod h1:+pB4zwohETzFnmlpe6yd2lSc+0/46IYZRB/chUwxUZY= github.com/rakyll/statik v0.1.7 h1:OF3QCZUuyPxuGEP7B4ypUa7sB/iHtqOTDYZXGM8KOdQ= github.com/rakyll/statik v0.1.7/go.mod h1:AlZONWzMtEnMs7W4e/1LURLiI49pIMmp6V9Unghqrcc= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= -github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0 h1:MkV+77GLUNo5oJ0jf870itWm3D0Sjh7+Za9gazKc5LQ= -github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= -github.com/regen-network/cosmos-proto v0.3.1 h1:rV7iM4SSFAagvy8RiyhiACbWEGotmqzywPxOvwMdxcg= -github.com/regen-network/cosmos-proto v0.3.1/go.mod h1:jO0sVX6a1B36nmE8C9xBFXpNwWejXC7QqCOnH3O0+YM= -github.com/regen-network/protobuf v1.3.3-alpha.regen.1 h1:OHEc+q5iIAXpqiqFKeLpu5NwTIkVXUs48vFMwzqpqY4= -github.com/regen-network/protobuf v1.3.3-alpha.regen.1/go.mod h1:2DjTFR1HhMQhiWC5sZ4OhQ3+NtdbZ6oBDKQwq5Ou+FI= -github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= -github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= -github.com/rjeczalik/notify v0.9.1/go.mod h1:rKwnCoCGeuQnwBtTSPL9Dad03Vh2n40ePRrjvIXnJho= +github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 h1:N/ElC8H3+5XpJzTSTfLsJV/mx9Q9g7kxmchpfZyxgzM= +github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= +github.com/regen-network/gocuke v0.6.2 h1:pHviZ0kKAq2U2hN2q3smKNxct6hS0mGByFMHGnWA97M= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= -github.com/rogpeppe/go-internal v1.6.2/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= github.com/rogpeppe/go-internal v1.8.0/go.mod h1:WmiCO8CzOY8rg0OYDC4/i/2WRWAB6poM+XZ2dLUbcbE= github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= -github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= -github.com/rs/cors v0.0.0-20160617231935-a62a804a8a00/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= -github.com/rs/cors v1.7.0 h1:+88SsELBHx5r+hZ8TCkggzSstaWNbDvThkVK8H6f9ik= github.com/rs/cors v1.7.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= -github.com/rs/xhandler v0.0.0-20160618193221-ed27b6fd6521/go.mod h1:RvLn4FgxWubrpZHtQLnOf6EwhN2hEMusxZOhcW9H3UQ= -github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= -github.com/rs/zerolog v1.23.0 h1:UskrK+saS9P9Y789yNNulYKdARjPZuS35B8gJF2x60g= -github.com/rs/zerolog v1.23.0/go.mod h1:6c7hFfxPOy7TacJc4Fcdi24/J0NKYGzjG8FWRI916Qo= +github.com/rs/cors v1.8.2 h1:KCooALfAYGs415Cwu5ABvv9n9509fSiG5SQJn/AQo4U= +github.com/rs/cors v1.8.2/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU= +github.com/rs/xid v1.4.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg= +github.com/rs/zerolog v1.29.1 h1:cO+d60CHkknCbvzEWxP0S9K6KqyTjrCNUy1LdQLCGPc= +github.com/rs/zerolog v1.29.1/go.mod h1:Le6ESbR7hc+DP6Lt1THiV8CQSdkkNrd3R0XbEgp3ZBU= github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/ruudk/golang-pdf417 v0.0.0-20181029194003-1af4ab5afa58/go.mod h1:6lfFZQK844Gfx8o5WFuvpxWRwnSoipWe/p622j1v06w= -github.com/ruudk/golang-pdf417 v0.0.0-20201230142125-a7e3863a1245/go.mod h1:pQAZKsJ8yyVxGRWYNEm9oFB8ieLgKFnamEyDmSA0BRk= -github.com/ryancurrah/gomodguard v1.2.3/go.mod h1:rYbA/4Tg5c54mV1sv4sQTP5WOPBcoLtnBZ7/TEhXAbg= -github.com/ryanrolds/sqlclosecheck v0.3.0/go.mod h1:1gREqxyTGR3lVtpngyFo3hZAgk0KCtEdgEkHwDbigdA= github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E= -github.com/sanposhiho/wastedassign/v2 v2.0.6/go.mod h1:KyZ0MWTwxxBmfwn33zh3k1dmsbF2ud9pAAGfoLfjhtI= -github.com/sasha-s/go-deadlock v0.2.1-0.20190427202633-1595213edefa h1:0U2s5loxrTy6/VgfVoLuVLFJcURKLH49ie0zSch7gh4= -github.com/sasha-s/go-deadlock v0.2.1-0.20190427202633-1595213edefa/go.mod h1:F73l+cr82YSh10GxyRI6qZiCgK64VaZjwesgfQ1/iLM= +github.com/sasha-s/go-deadlock v0.3.1 h1:sqv7fDNShgjcaxkO0JNcOAlr8B9+cV5Ey/OB71efZx0= +github.com/sasha-s/go-deadlock v0.3.1/go.mod h1:F73l+cr82YSh10GxyRI6qZiCgK64VaZjwesgfQ1/iLM= github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= -github.com/seccomp/libseccomp-golang v0.9.1/go.mod h1:GbW5+tmTXfcxTToHLXlScSlAvWlF4P2Ca7zGrPiEpWo= -github.com/securego/gosec/v2 v2.8.1/go.mod h1:pUmsq6+VyFEElJMUX+QB3p3LWNHXg1R3xh2ssVJPs8Q= -github.com/segmentio/fasthash v1.0.3/go.mod h1:waKX8l2N8yckOgmSsXJi7x1ZfdKZ4x7KRMzBtS3oedY= -github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= -github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c/go.mod h1:/PevMnwAxekIXwN8qQyfc5gl2NlkB3CQlkizAbOkeBs= -github.com/shirou/gopsutil v2.20.5+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA= -github.com/shirou/gopsutil/v3 v3.21.7/go.mod h1:RGl11Y7XMTQPmHh8F0ayC6haKNBgH4PXMJuTAcMOlz4= -github.com/shurcooL/go v0.0.0-20180423040247-9e1955d9fb6e/go.mod h1:TDJrrUr11Vxrven61rcy3hJMUqaf/CLWYhHNPmT14Lk= -github.com/shurcooL/go-goon v0.0.0-20170922171312-37c2f522c041/go.mod h1:N5mDOmsrJOB+vfqUK+7DmDyjhSLIIBnXo9lvZJj3MWQ= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= -github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= -github.com/sirupsen/logrus v1.8.1 h1:dJKuHgqk1NNQlqoA6BTlM1Wf9DOH3NBjQyu0h9+AZZE= -github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= -github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d h1:zE9ykElWQ6/NYmHa3jpm/yHnI4xSofP+UP6SpjHcSeM= +github.com/sirupsen/logrus v1.9.0 h1:trlNQbNUG3OdDrDil03MCb1H2o9nJ1x4/5LYw7byDE0= +github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= -github.com/smartystreets/goconvey v1.6.4 h1:fv0U8FUIMPNf1L9lnHLvLhgicrIVChEkdzIKYqbNC9s= github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= -github.com/snikch/goodman v0.0.0-20171125024755-10e37e294daa/go.mod h1:oJyF+mSPHbB5mVY2iO9KV3pTt/QbIkGaO8gQ2WrDbP4= github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= -github.com/sonatard/noctx v0.0.1/go.mod h1:9D2D/EoULe8Yy2joDHJj7bv3sZoq9AaSb8B4lqBjiZI= github.com/sony/gobreaker v0.4.1/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJOjmxWY= -github.com/sourcegraph/go-diff v0.6.1/go.mod h1:iBszgVvyxdc8SFZ7gm69go2KDdt3ag071iBaWPF6cjs= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spaolacci/murmur3 v1.1.0 h1:7c1g84S4BPRrfL5Xrdp6fOJ206sU9y293DDHaoy0bLI= github.com/spaolacci/murmur3 v1.1.0/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= -github.com/spf13/afero v1.3.3/go.mod h1:5KUK8ByomD5Ti5Artl0RtHeI5pTF7MIDuXL3yY520V4= -github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I= github.com/spf13/afero v1.9.2 h1:j49Hj62F0n+DaZ1dDCvhABaPNSGNkt32oRFxI33IEMw= github.com/spf13/afero v1.9.2/go.mod h1:iUV7ddyEEZPO5gA3zD4fJt6iStLlL+Lg4m2cihcDf8Y= github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/cast v1.3.1 h1:nFm6S0SMdyzrzcmThSipiEubIDy8WEXKNZ0UOgiRpng= -github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= +github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w= github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU= github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/cobra v0.0.5/go.mod h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tLCHU= -github.com/spf13/cobra v1.1.1/go.mod h1:WnodtKOvamDL/PwE2M4iKs8aMDBZ5Q5klgD3qfVJQMI= -github.com/spf13/cobra v1.2.1 h1:+KmjbUw1hriSNMF55oPrkZcb27aECyrj8V2ytv7kWDw= -github.com/spf13/cobra v1.2.1/go.mod h1:ExllRjgxM/piMAM+3tAZvg8fsklGAf3tPfi+i8t68Nk= +github.com/spf13/cobra v1.6.1 h1:o94oiPyS4KD1mPy2fmcYYHHfCxLqYjJOhGsCHFZtEzA= github.com/spf13/cobra v1.6.1/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= @@ -1762,15 +964,8 @@ github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnIn github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= -github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= -github.com/spf13/viper v1.7.1/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= -github.com/spf13/viper v1.8.1 h1:Kq1fyeebqsBfbjZj4EL7gj2IO0mMaiyjYUWcUsl2O44= -github.com/spf13/viper v1.8.1/go.mod h1:o0Pch8wJ9BVSWGQMbra6iw0oQ5oktSIBaujf1rJH9Ns= +github.com/spf13/viper v1.14.0 h1:Rg7d3Lo706X9tHsJMUjdiwMpHB7W8WnSVOssIY+JElU= github.com/spf13/viper v1.14.0/go.mod h1:WT//axPky3FdvXHzGw33dNdXXXfFQqmEalje+egj8As= -github.com/ssgreg/nlreturn/v2 v2.1.0/go.mod h1:E/iiPB78hV7Szg2YfRgyIrk1AD6JVMTRkkxBiELzh2I= -github.com/status-im/keycard-go v0.0.0-20190316090335-8537d3370df4/go.mod h1:RZLeN1LMWmRsyYjvAu+I6Dm9QmlDaIIt+Y+4Kd7Tp+Q= -github.com/steakknife/bloomfilter v0.0.0-20180922174646-6819c0d2a570/go.mod h1:8OR4w3TdeIHIh1g6EMY5p0gVNOovcWC+1vpc7naMuAw= -github.com/steakknife/hamming v0.0.0-20180906055917-c99c65617cd3/go.mod h1:hpGUWaI9xL8pRQCTXQgocU38Qw1g0Us7n5PxxTwTCYU= github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI= @@ -1780,8 +975,6 @@ github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoH github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= -github.com/stretchr/testify v0.0.0-20170130113145-4d4bfba8f1d1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -github.com/stretchr/testify v1.1.4/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= @@ -1791,95 +984,46 @@ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8= -github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/subosito/gotenv v1.2.0 h1:Slr1R9HxAlEKefgq5jn9U+DnETlIUa6HfgEzj0g5d7s= -github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= -github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= -github.com/syndtr/goleveldb v1.0.1-0.20200815110645-5c35d600f0ca h1:Ld/zXl5t4+D69SiV4JoN7kkfvJdOWlPpfxrzxpLMoUk= -github.com/syndtr/goleveldb v1.0.1-0.20200815110645-5c35d600f0ca/go.mod h1:u2MKkTVTVJWe5D1rCvame8WqhBd88EuIwODJZ1VHCPM= -github.com/tdakkota/asciicheck v0.0.0-20200416200610-e657995f937b/go.mod h1:yHp0ai0Z9gUljN3o0xMhYJnH/IcvkdTBOX2fmJ93JEM= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/subosito/gotenv v1.4.1 h1:jyEFiXpy21Wm81FBN71l9VoMMV8H8jG+qIK3GCpY6Qs= +github.com/subosito/gotenv v1.4.1/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= +github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 h1:epCh84lMvA70Z7CTTCmYQn2CKbY8j86K7/FAIr141uY= +github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc= github.com/tecbot/gorocksdb v0.0.0-20191217155057-f0fad39f321c h1:g+WoO5jjkqGAzHWCjJB1zZfXPIAaDpzXIEJ0eS6B5Ok= github.com/tecbot/gorocksdb v0.0.0-20191217155057-f0fad39f321c/go.mod h1:ahpPrc7HpcfEWDQRZEmnXMzHY03mLDYMCxeDzy46i+8= -github.com/tendermint/btcd v0.1.1 h1:0VcxPfflS2zZ3RiOAHkBiFUcPvbtRj5O7zHmcJWHV7s= -github.com/tendermint/btcd v0.1.1/go.mod h1:DC6/m53jtQzr/NFmMNEu0rxf18/ktVoVtMrnDD5pN+U= -github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15 h1:hqAk8riJvK4RMWx1aInLzndwxKalgi5rTqgfXxOxbEI= -github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15/go.mod h1:z4YtwM70uOnk8h0pjJYlj3zdYwi9l03By6iAIF5j/Pk= github.com/tendermint/go-amino v0.16.0 h1:GyhmgQKvqF82e2oZeuMSp9JTN0N09emoSZlb2lyGa2E= github.com/tendermint/go-amino v0.16.0/go.mod h1:TQU0M1i/ImAo+tYpZi73AU3V/dKeCoMC9Sphe2ZwGME= -github.com/tendermint/spm v0.1.9 h1:O1DJF4evS8wgk5SZqRcO29irNNtKQmTpvQ0xFzUiczI= -github.com/tendermint/spm v0.1.9/go.mod h1:iHgfQ5YOI6ONc9E7ugGQolVdfSMHpeXfZ/OpXuN/42Q= -github.com/cometbft/cometbft-db v0.6.4 h1:3N2jlnYQkXNQclQwd/eKV/NzlqPlfK21cpRRIx80XXQ= -github.com/cometbft/cometbft-db v0.6.4/go.mod h1:dptYhIpJ2M5kUuenLr+Yyf3zQOv1SgBZcl8/BmWlMBw= -github.com/tetafro/godot v1.4.9/go.mod h1:LR3CJpxDVGlYOWn3ZZg1PgNZdTUvzsZWu8xaEohUpn8= -github.com/tidwall/gjson v1.6.7/go.mod h1:zeFuBCIqD4sN/gmqBzZ4j7Jd6UcA2Fc56x7QFsv+8fI= -github.com/tidwall/match v1.0.3/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM= -github.com/tidwall/pretty v1.0.2/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk= -github.com/tidwall/sjson v1.1.4/go.mod h1:wXpKXu8CtDjKAZ+3DrKY5ROCorDFahq8l0tey/Lx1fg= -github.com/timakin/bodyclose v0.0.0-20200424151742-cb6215831a94/go.mod h1:Qimiffbc6q9tBWlVV6x0P9sat/ao1xEkREYPPj9hphk= -github.com/tklauser/go-sysconf v0.3.7/go.mod h1:JZIdXh4RmBvZDBZ41ld2bGxRV3n4daiiqA3skYhAoQ4= -github.com/tklauser/numcpus v0.2.3/go.mod h1:vpEPS/JC+oZGGQ/My/vJnNsvMDQL6PwOqt8dsCw5j+E= +github.com/tidwall/btree v1.6.0 h1:LDZfKfQIBHGHWSwckhXI0RPSXzlo+KYdjK7FWSqOzzg= +github.com/tidwall/btree v1.6.0/go.mod h1:twD9XRA5jj9VUQGELzDO4HPQTNJsoWWfYEL+EUQ2cKY= github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/tmc/grpc-websocket-proxy v0.0.0-20200427203606-3cfed13b9966/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/tomarrell/wrapcheck/v2 v2.3.0/go.mod h1:aF5rnkdtqNWP/gC7vPUO5pKsB0Oac2FDTQP4F+dpZMU= -github.com/tomasen/realip v0.0.0-20180522021738-f0c99a92ddce/go.mod h1:o8v6yHRoik09Xen7gje4m9ERNah1d1PPsVq1VEx9vE4= -github.com/tommy-muehle/go-mnd/v2 v2.4.0/go.mod h1:WsUAkMJMYww6l/ufffCD3m+P7LEvr8TnZn9lwVDlgzw= github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM= -github.com/tyler-smith/go-bip39 v1.0.1-0.20181017060643-dbb3b84ba2ef/go.mod h1:sJ5fKU0s6JVwZjjcUEX2zFOnvq0ASQ2K9Zr6cf67kNs= -github.com/tyler-smith/go-bip39 v1.0.2/go.mod h1:sJ5fKU0s6JVwZjjcUEX2zFOnvq0ASQ2K9Zr6cf67kNs= github.com/ugorji/go v1.1.7 h1:/68gy2h+1mWMrwZFeD1kQialdSzAb432dtpeJ42ovdo= github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw= github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= github.com/ugorji/go/codec v1.1.7 h1:2SvQaVZ1ouYrrKKwoSk2pzd4A9evlKJb9oTL+OaLUSs= github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY= -github.com/ultraware/funlen v0.0.3/go.mod h1:Dp4UiAus7Wdb9KUZsYWZEWiRzGuM2kXM1lPbfaF6xhA= -github.com/ultraware/whitespace v0.0.4/go.mod h1:aVMh/gQve5Maj9hQ/hg+F75lr/X5A89uZnzAmWSineA= +github.com/ulikunitz/xz v0.5.10/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= +github.com/ulikunitz/xz v0.5.11 h1:kpFauv27b6ynzBNT/Xy+1k+fK4WswhN/6PN5WhFAGw8= +github.com/ulikunitz/xz v0.5.11/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= -github.com/uudashr/gocognit v1.0.5/go.mod h1:wgYz0mitoKOTysqxTDMOUXg+Jb5SvtihkfmugIZYpEA= -github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= -github.com/valyala/fasthttp v1.16.0/go.mod h1:YOKImeEosDdBPnxc0gy7INqi3m1zK6A+xl6TwOBhHCA= -github.com/valyala/quicktemplate v1.6.3/go.mod h1:fwPzK2fHuYEODzJ9pkw0ipCPNHZ2tD5KW4lOuSdPKzY= -github.com/valyala/tcplisten v0.0.0-20161114210144-ceec8f93295a/go.mod h1:v3UYOV9WzVtRmSR+PDvWpU/qWl4Wa5LApYYX4ZtKbio= -github.com/viki-org/dnscache v0.0.0-20130720023526-c70c1f23c5d8/go.mod h1:dniwbG03GafCjFohMDmz6Zc6oCuiqgH6tGNyXTkHzXE= -github.com/vishvananda/netlink v1.1.0/go.mod h1:cTgwzPIzzgDAYoQrMm0EdrjRUBkTqKYppBueQtXaqoE= -github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df/go.mod h1:JP3t17pCcGlemwknint6hfoeCVQrEMVwxRLRjXpq+BU= -github.com/vmihailenco/msgpack/v5 v5.1.4/go.mod h1:C5gboKD0TJPqWDTVTtrQNfRbiBwHZGo8UTqP/9/XvLI= -github.com/vmihailenco/tagparser v0.1.2/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI= -github.com/wsddn/go-ecdh v0.0.0-20161211032359-48726bab9208/go.mod h1:IotVbo4F+mw0EzQ08zFqg7pK3FebNXpaMsRy2RT+Ees= github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= -github.com/xo/terminfo v0.0.0-20210125001918-ca9a967f8778/go.mod h1:2MuV+tbUrU1zIOPMxZ5EncGwgmMJsa+9ucAQZXxsObs= github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= -github.com/ybbus/jsonrpc v2.1.2+incompatible/go.mod h1:XJrh1eMSzdIYFbM08flv0wp5G35eRniyeGut1z+LSiE= -github.com/yeya24/promlinter v0.1.0/go.mod h1:rs5vtZzeBHqqMwXqFScncpCF6u06lezhZepno9AB1Oc= -github.com/yudai/gojsondiff v1.0.0/go.mod h1:AY32+k2cwILAkW1fbgxQ5mUmMiZFgLIV+FBNExI05xg= -github.com/yudai/golcs v0.0.0-20170316035057-ecda9a501e82/go.mod h1:lgjkn3NuSvDfVJdfcVVdX+jpBxNmX4rDAzaS45IcYoM= -github.com/yudai/pp v2.0.1+incompatible/go.mod h1:PuxR/8QJ7cyCkFp/aUDS+JY727OFEZkTdatxwunjIkc= github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= -github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= -github.com/zeebo/assert v1.3.0/go.mod h1:Pq9JiuJQpG8JLJdtkwrJESF0Foym2/D9XMU5ciN/wJ0= -github.com/zeebo/xxh3 v1.0.2/go.mod h1:5NWz9Sef7zIDm2JHfFlcQvNekmcEl9ekUZQQKCYaDcA= -github.com/zigbee-alliance/tendermint v0.34.140 h1:QqY9+zNDZNtYGte62UnrBWuJNsu0zSizqA3FY4E2Jp4= -github.com/zigbee-alliance/tendermint v0.34.140/go.mod h1:FrwVm3TvsVicI9Z7FlucHV6Znfd5KBc/Lpp69cCwtk0= -github.com/zondax/hid v0.9.0 h1:eiT3P6vNxAEVxXMw66eZUAAnU2zD33JBkfG/EnfAKl8= -github.com/zondax/hid v0.9.0/go.mod h1:l5wttcP0jwtdLjqjMMWFVEE7d1zO0jvSPA9OPZxWpEM= -go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= +github.com/zondax/hid v0.9.1 h1:gQe66rtmyZ8VeGFcOpbuH3r7erYtNEAezCAYu8LdkJo= +github.com/zondax/hid v0.9.1/go.mod h1:l5wttcP0jwtdLjqjMMWFVEE7d1zO0jvSPA9OPZxWpEM= +github.com/zondax/ledger-go v0.14.0 h1:dlMC7aO8Wss1CxBq2I96kZ69Nh1ligzbs8UWOtq/AsA= +github.com/zondax/ledger-go v0.14.0/go.mod h1:fZ3Dqg6qcdXWSOJFKMG8GCTnD7slO/RL2feOQv8K320= go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= -go.etcd.io/bbolt v1.3.4/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= -go.etcd.io/bbolt v1.3.5 h1:XAzx9gjCb0Rxj7EoqcClPD1d5ZBxZJk0jbuoPHenBt0= -go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= +go.etcd.io/bbolt v1.3.7 h1:j+zJOnnEjF/kyHlDDgGnVL/AIqIJPq8UoB2GSNfkUfQ= +go.etcd.io/bbolt v1.3.7/go.mod h1:N9Mkw9X8x5fupy0IKsmuqVtoGDyxsaDlbk4Rd05IAQw= go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg= -go.etcd.io/etcd v0.0.0-20200513171258-e048e166ab9c/go.mod h1:xCI7ZzBfRuGgBXyXO6yfWfDmlWd35khcWpUa4L0xI/k= -go.etcd.io/etcd/api/v3 v3.5.0/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs= -go.etcd.io/etcd/client/pkg/v3 v3.5.0/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= -go.etcd.io/etcd/client/v2 v2.305.0/go.mod h1:h9puh54ZTgAKtEbut2oe9P4L/oqKCVB6xsXlzd7alYQ= -go.mozilla.org/mozlog v0.0.0-20170222151521-4bb13139d403/go.mod h1:jHoPAGnDrCy6kaI2tAze5Prf0Nr0w/oNkROt2lw3n3o= go.opencensus.io v0.20.1/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= go.opencensus.io v0.20.2/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= @@ -1889,65 +1033,55 @@ go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= +go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.36.3 h1:syAz40OyelLZo42+3U68Phisvrx4qh+4wpdZw7eUUdY= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.36.3/go.mod h1:Dts42MGkzZne2yCru741+bFiTMWkIj/LLRizad7b9tw= +go.opentelemetry.io/otel v1.19.0 h1:MuS/TNf4/j4IXsZuJegVzI1cwut7Qc00344rgH7p8bs= +go.opentelemetry.io/otel v1.19.0/go.mod h1:i0QyjOq3UPoTzff0PJB2N66fb4S0+rSbSB15/oyH9fY= +go.opentelemetry.io/otel/metric v1.19.0 h1:aTzpGtV0ar9wlV4Sna9sdJyII5jTVJEvKETPiOKwvpE= +go.opentelemetry.io/otel/metric v1.19.0/go.mod h1:L5rUsV9kM1IxCj1MmSdS+JQAcVm319EUrDVLrt7jqt8= +go.opentelemetry.io/otel/sdk v1.19.0 h1:6USY6zH+L8uMH8L3t1enZPR3WFEmSTADlqldyHtJi3o= +go.opentelemetry.io/otel/trace v1.19.0 h1:DFVQmlVbfVeOuBRrwdtaehRrWiL1JoVs9CPIQ1Dzxpg= +go.opentelemetry.io/otel/trace v1.19.0/go.mod h1:mfaSyvGyEJEI0nyV2I4qhNQnbBOUUmYZpYojqMnX2vo= go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= -go.opentelemetry.io/proto/otlp v0.15.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= -go.opentelemetry.io/proto/otlp v0.19.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= +go.uber.org/atomic v1.10.0 h1:9qC72Qh0+3MqyJbAn8YU5xVq1frD8bn3JtD2oXtafVQ= +go.uber.org/atomic v1.10.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0= +go.uber.org/goleak v1.1.11 h1:wy28qYRKZgnJTxGxvye5/wgWr1EKjmUDGYox5mGlRlI= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= -go.uber.org/multierr v1.4.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= -go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= +go.uber.org/multierr v1.8.0 h1:dg6GjLku4EH+249NNmoIciG9N/jURbDG+pFlTkhzIC8= +go.uber.org/multierr v1.8.0/go.mod h1:7EAYxJLBy9rStEaz58O2t4Uvip6FSURkq8/ppBp95ak= go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= -go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= -golang.org/x/crypto v0.0.0-20170930174604-9419663f5a44/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20180501155221-613d6eafa307/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +go.uber.org/zap v1.23.0 h1:OjGQ5KQDEUawVHxNwQgPpiypGHOxo2mNZsOqTak4fFY= +go.uber.org/zap v1.23.0/go.mod h1:D+nX8jyLsMHMYrln8A0rJjFt/T/9/bGgIhAqxv5URuY= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190909091759-094676da4a83/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191206172530-e9b2fee46413/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20200115085410-6d4e4cb37c7d/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20201117144127-c1f2f97bffc9/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= -golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= -golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a/go.mod h1:P+XmwS30IXTQdn5tA2iutPOUgjI07+tq3H3K9MVA1s8= golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20220314234659-1baeb1ce4c0b/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= -golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU= -golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0= -golang.org/x/crypto v0.11.0 h1:6Ewdq3tDic1mg5xRO4milcWCfMVQhI4NkqWWvqejpuA= -golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio= -golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/crypto v0.16.0 h1:mMMrFzRSCF0GvB7Ne27XVtVAaXLrPmgPC7/v0tkwHaY= +golang.org/x/crypto v0.16.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190125153040-c74c464bbbf2/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= -golang.org/x/exp v0.0.0-20190731235908-ec7cb31e5a56/go.mod h1:JhuoJpWY28nO4Vef9tZUw9qufEGTyX1+7lmHxV5q5G4= golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= -golang.org/x/exp v0.0.0-20191002040644-a1355ae1e2c3/go.mod h1:NOZ3BPKG0ec/BKJQgnvsSFpcKLM5xXVWnvZS97DWHgE= golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= @@ -1955,20 +1089,10 @@ golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u0 golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= golang.org/x/exp v0.0.0-20200331195152-e8c3332aa8e5/go.mod h1:4M0jN8W1tt0AVLNr8HDosyJCDCDuyL9N9+3m7wDWgKw= -golang.org/x/exp v0.0.0-20220827204233-334a2380cb91/go.mod h1:cyybsKvd6eL0RnXn6p/Grxp8F5bW7iYuBgsNCOHpMYE= -golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs= +golang.org/x/exp v0.0.0-20230515195305-f3d0a9c9a5cc h1:mCRnTeVUjcrhlRmO0VK8a6k6Rrf6TF9htwo2pJVSjIU= +golang.org/x/exp v0.0.0-20230515195305-f3d0a9c9a5cc/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/image v0.0.0-20190910094157-69e4b8554b2a/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/image v0.0.0-20200119044424-58c23975cae1/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/image v0.0.0-20200430140353-33d19683fad8/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/image v0.0.0-20200618115811-c13761719519/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/image v0.0.0-20201208152932-35266b937fa6/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/image v0.0.0-20210216034530-4410531fe030/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/image v0.0.0-20210607152325-775e3b0c77b9/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= -golang.org/x/image v0.0.0-20210628002857-a66eb6448b8d/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= -golang.org/x/image v0.0.0-20211028202545-6944b10bf410/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= -golang.org/x/image v0.0.0-20220302094943-723b81ca9867/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -1983,29 +1107,21 @@ golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPI golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= -golang.org/x/mobile v0.0.0-20200801112145-973feb4309de/go.mod h1:skQtrUTUwhdJvXM/2KKJzY8pDgNr9I/FOMqDVRPBUS4= golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.1.1-0.20191209134235-331c550502dd/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.5.0/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= -golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/mod v0.7.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.8.0 h1:LUYupSeNrTNCGzR/hVBk2NHZO4hXcVaW1k4Qx7rjPx8= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/net v0.0.0-20180719180050-a680a1efc54d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181011144130-49bb7cea24b1/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -2023,8 +1139,6 @@ golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLL golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190923162816-aa69164e4478/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20191002035440-2ec189313ef0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= @@ -2038,12 +1152,10 @@ golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/ golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200602114024-627f9648deb9/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200813134508-3edf25e44fcc/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200904194848-62affa334b73/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= @@ -2053,13 +1165,8 @@ golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc= golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= -golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk= golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20210903162142-ad29c8ab022f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220325170049-de3da57026de/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= @@ -2070,18 +1177,10 @@ golang.org/x/net v0.0.0-20220617184016-355a448f1bc9/go.mod h1:XRhObCWvk6IyKnWLug golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.0.0-20220909164309-bea034e7d591/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= -golang.org/x/net v0.0.0-20221012135044-0b7e1fb9d458/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.0.0-20221014081412-f15817d10f9b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= -golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= -golang.org/x/net v0.4.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE= -golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= -golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= -golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= -golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns= -golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= -golang.org/x/net v0.12.0 h1:cfawfvKITfUsFCeJIHJrbSxpeu/E81khclypR0GVT50= -golang.org/x/net v0.12.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA= +golang.org/x/net v0.19.0 h1:zTwKpTd2XuCqf8huc7Fo2iSy+4RHPd10s4KzeTnVr1c= +golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -2093,7 +1192,6 @@ golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210402161424-2e8d93401602/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= @@ -2106,17 +1204,14 @@ golang.org/x/oauth2 v0.0.0-20220608161450-d0670ef3b1eb/go.mod h1:jaDAt6Dkxork7Lm golang.org/x/oauth2 v0.0.0-20220622183110-fd043fe589d2/go.mod h1:jaDAt6Dkxork7LmZnYtzbRWj0W47D86a3TGe0YHBvmE= golang.org/x/oauth2 v0.0.0-20220822191816-0ebed06d0094/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= -golang.org/x/oauth2 v0.0.0-20221006150949-b44042a4b9c1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= -golang.org/x/oauth2 v0.5.0/go.mod h1:9/XBHVqLaWO3/BRHs5jbpYCnOZVjj5V0ndyaAM7KB4I= -golang.org/x/oauth2 v0.6.0/go.mod h1:ycmewcwgD4Rpr3eZJLSB4Kyyljb3qDh40vJ8STE5HKw= -golang.org/x/oauth2 v0.7.0/go.mod h1:hPLQkd9LyjfXTiRohC/41GhcFqxisoUQ99sCUOHO9x4= -golang.org/x/oauth2 v0.8.0/go.mod h1:yr7u4HXZRm1R1kBWqr/xKNqewf0plRYoB7sla+BCIXE= +golang.org/x/oauth2 v0.1.0/go.mod h1:G9FE4dLTsbXUu90h/Pf85g4w1D+SSAgR+q46nJZ8M4A= +golang.org/x/oauth2 v0.15.0 h1:s8pnnxNVzjWyrvYdFUQq5llS1PX2zhPXmccZv99h7uQ= +golang.org/x/oauth2 v0.15.0/go.mod h1:q48ptWNTY5XWf+JNten23lcvHpLJ0ZSxF5ttTHKVCAM= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190412183630-56d357773e84/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -2126,10 +1221,9 @@ golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20220819030929-7fc1605a5dde/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.4.0 h1:zxkM55ReGkDlKSM+Fu41A+zmbZuaPVbGMzvvdUPznYQ= +golang.org/x/sync v0.4.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -2141,27 +1235,21 @@ golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5h golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190130150945-aca44879d564/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190606203320-7fc4e5ec1444/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190712062909-fae7ac547cb7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190924154521-2837fb4f24fe/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191008105621-543471e840be/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191115151921-52ab43148777/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191220142924-d4481acd189f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -2182,53 +1270,45 @@ golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200602225109-6fdc65e7d980/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200814200057-3d37ad5750ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200824131525-c12d262b63d8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200909081042-eff7692f9009/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201015000850-e3ed0017c211/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210304124612-50617c2ba197/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210426230700-d19ff857e887/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210603125802-9665404d3644/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210816183151-1e6c022a8912/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210819135213-f52c844e1c1c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210903071746-97244b99971b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211210111614-af8b64212486/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220310020820-b874c991c1a5/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220315194320-039c03cc5b86/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220328115105-d36c6a25d886/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220502124256-b6088ccd6cba/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -2237,31 +1317,21 @@ golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220615213510-4f61da869c0c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220624220833-87e55d714810/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220829200755-d48e67d00261/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20221010170243-090e33056c14/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.10.0 h1:SqMFp9UcQJZa+pmYuAKjd9xq1f0j5rLcDIk0mj4qAsA= -golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= +golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc= +golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= -golang.org/x/term v0.3.0/go.mod h1:q750SLmJuPmVoN1blW3UFBPREJfb1KmY3vwxfr+nFDA= -golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= -golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= -golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY= -golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= -golang.org/x/term v0.10.0 h1:3R7pNqamzBraeqj/Tj8qt1aQ2HpmlC+Cx/qL/7hn4/c= -golang.org/x/term v0.10.0/go.mod h1:lpqdcUyK/oCiQxvxVrppt5ggO2KCZ5QblwqPnfZ6d5o= +golang.org/x/term v0.15.0 h1:y/Oo/a/q3IXu26lQgl04j/gjuBDOBlx7X6Om1j2CPW4= +golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -2273,63 +1343,44 @@ golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.5.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= -golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= -golang.org/x/text v0.11.0 h1:LAntKIrcmeSKERyiOh0XMV39LXS8IE9UL2yP7+f5ij4= -golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= +golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20220922220347-f3bd1da661af/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.1.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/time v0.0.0-20220609170525-579cf78fd858 h1:Dpdu/EMxGMFgq0CeYMh4fazTD2vtlZRYE7wyynxJb9U= +golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190110163146-51295c7ec13a/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190206041539-40960b6deb8e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= -golang.org/x/tools v0.0.0-20190307163923-6a08e3108db3/go.mod h1:25r3+/G6/xytQM8iWZKq3Hn0kr0rgFKPUNVEL/dr3z4= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190311215038-5c2858a9cfe5/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190321232350-e250d351ecad/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190322203728-c1a832b0ad89/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190624222133-a101b041ded4/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190910044552-dd2b5c81c578/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190916130336-e45ffcd953cc/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190927191325-030b2cf1153e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191010075000-0337d82405ff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191112195655-aa38f8e97acc/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191216052735-49a3e744a425/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200103221440-774c71fcf114/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200117012304-6edc0a871e69/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200117220505-0cba7a3a9ee9/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= @@ -2339,47 +1390,19 @@ golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapK golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200324003944-a576cf524670/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= -golang.org/x/tools v0.0.0-20200329025819-fd4102a86c65/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= -golang.org/x/tools v0.0.0-20200414032229-332987a829c3/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200422022333-3d57cf2e726e/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200426102838-f3a5411a4c3b/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200522201501-cb1345f3a375/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200622203043-20e05c1c8ffa/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200624225443-88f3c62a19ff/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200625211823-6506e20df31f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200626171337-aa94e735be7f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200630154851-b2d8b0336632/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200706234117-b22de6825cf7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200717024301-6ddee64345a6/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200724022722-7017fd6b1305/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200812195022-5ae4c3c160a0/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200820010801-b793a1359eac/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200831203904-5a2aa26beb65/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= -golang.org/x/tools v0.0.0-20201001104356-43ebab892c4c/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU= -golang.org/x/tools v0.0.0-20201002184944-ecd9fd270d5d/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU= -golang.org/x/tools v0.0.0-20201023174141-c8cfbd0f21e6/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201028025901-8cd080b735b3/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201114224030-61ea331ec02b/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201118003311-bd56c0adb394/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201124115921-2c860bdd6e78/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201230224404-63754364767c/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20210101214203-2dba1e4ea05c/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20210104081019-d8d6ddbec6ee/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= @@ -2389,12 +1412,9 @@ golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.9/go.mod h1:nABZi5QlRsZVlzPpHl034qft6wpY4eDcsTt5AaioBiU= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.3.0/go.mod h1:/rWhSS2+zyEVwoJf8YAX6L2f0ntZ7Kn/mGgAWcipA5k= +golang.org/x/tools v0.6.0 h1:BOw41kyTf3PuCW1pVQf8+Cyg8pMlkYB1oo9iJ6D/lKM= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= -golang.org/x/tools v0.7.0/go.mod h1:4pg6aUX35JBAogB10C9AtvVL+qowtN4pT3CGSQex14s= -golang.org/x/tools v0.9.1/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -2402,21 +1422,13 @@ golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8T golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= +golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 h1:H2TDz8ibqkAF6YGhCdN3jS9O0/s90v0rJh3X/OLHEUk= golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= -gonum.org/v1/gonum v0.0.0-20180816165407-929014505bf4/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo= -gonum.org/v1/gonum v0.8.2/go.mod h1:oe/vMfY3deqTw+1EZJhuvEW2iwGF1bW9wwu7XCu0+v0= -gonum.org/v1/gonum v0.9.3/go.mod h1:TZumC3NeyVQskjXqmyWt4S3bINhy7B4eYwW69EbyX+0= -gonum.org/v1/gonum v0.11.0/go.mod h1:fSG4YDCxxUZQJ7rKsQrj0gMOg00Il0Z96/qMA4bVQhA= -gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= -gonum.org/v1/plot v0.0.0-20190515093506-e2840ee46a6b/go.mod h1:Wt8AAjI+ypCyYX3nZBvf6cAIx93T+c/OS2HFAYskSZc= -gonum.org/v1/plot v0.9.0/go.mod h1:3Pcqqmp6RHvJI72kgb8fThyUnav364FOsdDo2aGW5lY= -gonum.org/v1/plot v0.10.1/go.mod h1:VZW5OlhkL1mysU9vaqNHnsy86inf6Ot+jB3r+BczCEo= google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.10.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= @@ -2434,7 +1446,6 @@ google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34q google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU= google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94= -google.golang.org/api v0.44.0/go.mod h1:EBOGZqzyhtvMDoxwS97ctnh0zUmYY6CxqXsc1AvkYD8= google.golang.org/api v0.47.0/go.mod h1:Wbvgpq1HddcWVtzsVLyfLp8lDg6AA241LmgIL59tHXo= google.golang.org/api v0.48.0/go.mod h1:71Pr1vy+TAZRPkPs/xlCf5SsU8WjuAWv1Pfjbtukyy4= google.golang.org/api v0.50.0/go.mod h1:4bNT5pAuq5ji4SRZm+5QIkjny9JAyVD/3gaSihNefaw= @@ -2461,34 +1472,21 @@ google.golang.org/api v0.95.0/go.mod h1:eADj+UBuxkh5zlrSntJghuNeg8HwQ1w5lTKkuqaE google.golang.org/api v0.96.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= google.golang.org/api v0.97.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= google.golang.org/api v0.98.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= -google.golang.org/api v0.99.0/go.mod h1:1YOf74vkVndF7pG6hIHuINsM7eWwpVTAfNMNiL91A08= google.golang.org/api v0.100.0/go.mod h1:ZE3Z2+ZOr87Rx7dqFsdRQkRBk36kDtp/h+QpHbB7a70= -google.golang.org/api v0.102.0/go.mod h1:3VFl6/fzoA+qNuS1N1/VfXY4LjoXN/wzeIp7TweWwGo= -google.golang.org/api v0.103.0/go.mod h1:hGtW6nK1AC+d9si/UBhw8Xli+QMOf6xyNAyJw4qU9w0= -google.golang.org/api v0.106.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/O9MY= -google.golang.org/api v0.107.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/O9MY= -google.golang.org/api v0.108.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/O9MY= -google.golang.org/api v0.110.0/go.mod h1:7FC4Vvx1Mooxh8C5HWjzZHcavuS2f6pmJpZx60ca7iI= -google.golang.org/api v0.111.0/go.mod h1:qtFHvU9mhgTJegR31csQ+rwxyUTHOKFqCKWp1J0fdw0= -google.golang.org/api v0.114.0/go.mod h1:ifYI2ZsFK6/uGddGfAD5BMxlnkBqCmqHSDUVi45N5Yg= -google.golang.org/api v0.118.0/go.mod h1:76TtD3vkgmZ66zZzp72bUUklpmQmKlhh6sYtIjYK+5E= -google.golang.org/api v0.122.0/go.mod h1:gcitW0lvnyWjSp9nKxAbdHKIZ6vF4aajGueeslZOyms= -google.golang.org/api v0.124.0/go.mod h1:xu2HQurE5gi/3t1aFCvhPD781p0a3p11sdunTJ2BlP4= -google.golang.org/api v0.125.0/go.mod h1:mBwVAtz+87bEN6CbA1GtZPDOqY2R5ONPqJeIlvyo4Aw= -google.golang.org/api v0.126.0/go.mod h1:mBwVAtz+87bEN6CbA1GtZPDOqY2R5ONPqJeIlvyo4Aw= +google.golang.org/api v0.149.0 h1:b2CqT6kG+zqJIVKRQ3ELJVLN1PwHZ6DJ3dW8yl82rgY= +google.golang.org/api v0.149.0/go.mod h1:Mwn1B7JTXrzXtnvmzQE2BD6bYZQ8DShKZDZbeN9I7qI= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= -google.golang.org/appengine v1.6.2/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/genproto v0.0.0-20170818010345-ee236bd376b0/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/appengine v1.6.8 h1:IhEN5q69dyKagZPYMSdIjS2HqprW324FRQZJcGqPAsM= +google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJffLiz/Ds= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20180831171423-11092d34479b/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20181107211654-5fc9ac540362/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= @@ -2497,7 +1495,6 @@ google.golang.org/genproto v0.0.0-20190530194941-fb225487d101/go.mod h1:z3L6/3dT google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= -google.golang.org/genproto v0.0.0-20190927181202-20e1ac93f88c/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= @@ -2510,7 +1507,6 @@ google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfG google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200324203455-a04cca1dde73/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200423170343-7949de9c1215/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= @@ -2519,14 +1515,11 @@ google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfG google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= -google.golang.org/genproto v0.0.0-20200626011028-ee7919e894b5/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200707001353-8e8330bf89df/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201119123407-9b1e624d6bc4/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= @@ -2565,8 +1558,8 @@ google.golang.org/genproto v0.0.0-20220218161850-94dd64e39d7c/go.mod h1:kGP+zUP2 google.golang.org/genproto v0.0.0-20220222213610-43724f9ea8cf/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= +google.golang.org/genproto v0.0.0-20220314164441-57ef72a4c106/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E= -google.golang.org/genproto v0.0.0-20220329172620-7be39ac1afc7/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= google.golang.org/genproto v0.0.0-20220414192740-2d67ff6cf2b4/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo= @@ -2599,65 +1592,57 @@ google.golang.org/genproto v0.0.0-20220926220553-6981cbe3cfce/go.mod h1:woMGP53B google.golang.org/genproto v0.0.0-20221010155953-15ba04fc1c0e/go.mod h1:3526vdqwhZAwq4wsRUaVG555sVgsNmIjRtO7t/JH29U= google.golang.org/genproto v0.0.0-20221014173430-6e2ab493f96b/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM= google.golang.org/genproto v0.0.0-20221014213838-99cd37c6964a/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM= -google.golang.org/genproto v0.0.0-20221024153911-1573dae28c9c/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= -google.golang.org/genproto v0.0.0-20221024183307-1bc688fe9f3e/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= -google.golang.org/genproto v0.0.0-20221027153422-115e99e71e1c/go.mod h1:CGI5F/G+E5bKwmfYo09AXuVN4dD894kIKUFmVbP2/Fo= -google.golang.org/genproto v0.0.0-20221109142239-94d6d90a7d66/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= -google.golang.org/genproto v0.0.0-20221114212237-e4508ebdbee1/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= -google.golang.org/genproto v0.0.0-20221117204609-8f9c96812029/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= -google.golang.org/genproto v0.0.0-20221118155620-16455021b5e6/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= -google.golang.org/genproto v0.0.0-20221201164419-0e50fba7f41c/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= -google.golang.org/genproto v0.0.0-20221201204527-e3fa12d562f3/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= -google.golang.org/genproto v0.0.0-20221202195650-67e5cbc046fd/go.mod h1:cTsE614GARnxrLsqKREzmNYJACSWWpAWdNMwnD7c2BE= -google.golang.org/genproto v0.0.0-20221227171554-f9683d7f8bef/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/genproto v0.0.0-20230112194545-e10362b5ecf9/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/genproto v0.0.0-20230113154510-dbe35b8444a5/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/genproto v0.0.0-20230123190316-2c411cf9d197/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/genproto v0.0.0-20230124163310-31e0e69b6fc2/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/genproto v0.0.0-20230125152338-dcaf20b6aeaa/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/genproto v0.0.0-20230127162408-596548ed4efa/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/genproto v0.0.0-20230209215440-0dfe4f8abfcc/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= -google.golang.org/genproto v0.0.0-20230216225411-c8e22ba71e44/go.mod h1:8B0gmkoRebU8ukX6HP+4wrVQUY1+6PkQ44BSyIlflHA= -google.golang.org/genproto v0.0.0-20230222225845-10f96fb3dbec/go.mod h1:3Dl5ZL0q0isWJt+FVcfpQyirqemEuLAK/iFvg1UP1Hw= -google.golang.org/genproto v0.0.0-20230223222841-637eb2293923/go.mod h1:3Dl5ZL0q0isWJt+FVcfpQyirqemEuLAK/iFvg1UP1Hw= -google.golang.org/genproto v0.0.0-20230303212802-e74f57abe488/go.mod h1:TvhZT5f700eVlTNwND1xoEZQeWTB2RY/65kplwl/bFA= -google.golang.org/genproto v0.0.0-20230306155012-7f2fa6fef1f4/go.mod h1:NWraEVixdDnqcqQ30jipen1STv2r/n24Wb7twVTGR4s= -google.golang.org/genproto v0.0.0-20230320184635-7606e756e683/go.mod h1:NWraEVixdDnqcqQ30jipen1STv2r/n24Wb7twVTGR4s= -google.golang.org/genproto v0.0.0-20230323212658-478b75c54725/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= -google.golang.org/genproto v0.0.0-20230330154414-c0448cd141ea/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= -google.golang.org/genproto v0.0.0-20230331144136-dcfb400f0633/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= -google.golang.org/genproto v0.0.0-20230403163135-c38d8f061ccd/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= -google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1/go.mod h1:nKE/iIaLqn2bQwXBg8f1g2Ylh6r5MN5CmZvuzZCgsCU= -google.golang.org/genproto v0.0.0-20230525234025-438c736192d0/go.mod h1:9ExIQyXL5hZrHzQceCwuSYwZZ5QZBazOcprJ5rgs3lY= -google.golang.org/genproto v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:xZnkP7mREFX5MORlOPEzLMr+90PPZQ2QWzrVTWfAq64= -google.golang.org/genproto v0.0.0-20230629202037-9506855d4529/go.mod h1:xZnkP7mREFX5MORlOPEzLMr+90PPZQ2QWzrVTWfAq64= -google.golang.org/genproto v0.0.0-20230706204954-ccb25ca9f130 h1:Au6te5hbKUV8pIYWHqOUZ1pva5qK/rwbIhoXEUB9Lu8= -google.golang.org/genproto v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:O9kGHb51iE/nOGvQaDUuadVYqovW56s5emA88lQnj6Y= -google.golang.org/genproto/googleapis/api v0.0.0-20230525234020-1aefcd67740a/go.mod h1:ts19tUU+Z0ZShN1y3aPyq2+O3d5FUNNgT6FtOzmrNn8= -google.golang.org/genproto/googleapis/api v0.0.0-20230525234035-dd9d682886f9/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig= -google.golang.org/genproto/googleapis/api v0.0.0-20230526203410-71b5a4ffd15e/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig= -google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig= -google.golang.org/genproto/googleapis/api v0.0.0-20230629202037-9506855d4529/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig= -google.golang.org/genproto/googleapis/api v0.0.0-20230724170836-66ad5b6ff146 h1:P60zJj7Yxq1VhZIxpRO7A5lDFyy07D6Dqa+HCixuFBM= -google.golang.org/genproto/googleapis/api v0.0.0-20230724170836-66ad5b6ff146/go.mod h1:rsr7RhLuwsDKL7RmgDDCUc6yaGr1iqceVb5Wv6f6YvQ= -google.golang.org/genproto/googleapis/bytestream v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:ylj+BE99M198VPbBh6A8d9n3w8fChvyLK3wwBOjXBFA= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234015-3fc162c6f38a/go.mod h1:xURIpW9ES5+/GZhnV6beoEtxQrnkRGIfP5VQG2tCBLc= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230526203410-71b5a4ffd15e/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230629202037-9506855d4529/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:8mL13HKkDa+IuJ8yruA3ci0q+0vsUz4m//+ottjwS5o= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230724170836-66ad5b6ff146 h1:0PjALPu/U/4OVXKQM2P8b8NJGd4V+xbZSP+uuBJpGm0= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230724170836-66ad5b6ff146/go.mod h1:TUfxEVdsvPg18p6AslUXFoLdpED4oBnGwyqk3dV1XzM= +google.golang.org/genproto v0.0.0-20221025140454-527a21cfbd71/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= +google.golang.org/genproto v0.0.0-20231212172506-995d672761c0 h1:YJ5pD9rF8o9Qtta0Cmy9rdBwkSjrTCT6XTiUQVOtIos= +google.golang.org/genproto v0.0.0-20231212172506-995d672761c0/go.mod h1:l/k7rMz0vFTBPy+tFSGvXEd3z+BcoG1k7EHbqm+YBsY= +google.golang.org/genproto/googleapis/api v0.0.0-20240102182953-50ed04b92917 h1:rcS6EyEaoCO52hQDupoSfrxI3R6C2Tq741is7X8OvnM= +google.golang.org/genproto/googleapis/api v0.0.0-20240102182953-50ed04b92917/go.mod h1:CmlNWB9lSezaYELKS5Ym1r44VrrbPUa7JTvw+6MbpJ0= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240102182953-50ed04b92917 h1:6G8oQ016D88m1xAKljMlBOOGWDZkes4kMhgGFlf8WcQ= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240102182953-50ed04b92917/go.mod h1:xtjpI3tXFPP051KaWnhvxkiubL/6dJ18vLVf7q2pTOU= +google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.20.0/go.mod h1:chYK+tFQF0nDUGJgXMSgLCQk3phJEuONr2DCgLDdAQM= +google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= +google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= +google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= +google.golang.org/grpc v1.22.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.23.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= +google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= +google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= +google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/grpc v1.32.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= -google.golang.org/grpc v1.33.2 h1:EQyQC3sa8M+p6Ulc8yy9SWSS2GVwyRc83gAbG8lrl4o= google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= -google.golang.org/grpc v1.56.2/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s= +google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8= +google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/grpc v1.36.1/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= +google.golang.org/grpc v1.37.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= +google.golang.org/grpc v1.37.1/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= +google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= +google.golang.org/grpc v1.39.0/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= +google.golang.org/grpc v1.39.1/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= +google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= +google.golang.org/grpc v1.40.1/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= +google.golang.org/grpc v1.44.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= +google.golang.org/grpc v1.45.0/go.mod h1:lN7owxKUQEqMfSyQikvvk5tf/6zMPsrK+ONuO11+0rQ= +google.golang.org/grpc v1.46.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= +google.golang.org/grpc v1.46.2/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= +google.golang.org/grpc v1.47.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= +google.golang.org/grpc v1.48.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= +google.golang.org/grpc v1.49.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= +google.golang.org/grpc v1.50.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= +google.golang.org/grpc v1.50.1/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= +google.golang.org/grpc v1.60.1 h1:26+wFr+cNqSGFcOXcabYC0lUVJVRa2Sb2ortSK7VrEU= +google.golang.org/grpc v1.60.1/go.mod h1:OlCHIeLYqSSsLi6i49B5QGdzaMZK9+M7LXN2FKz4eGM= +google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0 h1:M1YKkFIboKNieVO5DLUEVzQfGwJD30Nv2jfUgzb5UcE= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= @@ -2669,39 +1654,31 @@ google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2 google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= -google.golang.org/protobuf v1.25.1-0.20200805231151-a709e31e5d12/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.27.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.29.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= -google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.32.0 h1:pPC6BG5ex8PDFnkbrGU3EixyhKcQ2aDuBS36lqK/C7I= +google.golang.org/protobuf v1.32.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= gopkg.in/cheggaaa/pb.v1 v1.0.25/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= -gopkg.in/cheggaaa/pb.v1 v1.0.28/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= +gopkg.in/cheggaaa/pb.v1 v1.0.27/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= gopkg.in/gcfg.v1 v1.2.3/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o= -gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/ini.v1 v1.62.0 h1:duBzk771uxoUuOlyRLkHsygud9+5lrlGjdFBb4mSKDU= -gopkg.in/ini.v1 v1.62.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce/go.mod h1:5AcXVHNjg+BDxry382+8OKon8SEWiKktQR07RKPsv1c= -gopkg.in/olebedev/go-duktape.v3 v3.0.0-20200619000410-60c24ae608a6/go.mod h1:uAJfkITjFhyEEuUfm7bsmCZRbW5WRq8s9EY8HZ6hCns= +gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA= +gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= -gopkg.in/urfave/cli.v1 v1.20.0/go.mod h1:vuBzUtMdQeixQj8LVd+/98pzhxNGQoyuPBlsXHOQNO0= gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= @@ -2709,7 +1686,6 @@ gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.6/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= @@ -2718,7 +1694,10 @@ gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= +gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo= +gotest.tools/v3 v3.0.2/go.mod h1:3SzNCllyD9/Y+b5r9JIKQ474KzkZyqLqEfYqMsX94Bk= +gotest.tools/v3 v3.4.0 h1:ZazjZUfuVeZGLAmlKKuyv3IKP5orXcwtOwDQH6YVr6o= +honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= @@ -2726,67 +1705,11 @@ honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWh honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -honnef.co/go/tools v0.1.3/go.mod h1:NgwopIslSNH47DimFoV78dnkksY2EFtX0ajyb3K/las= -honnef.co/go/tools v0.2.1/go.mod h1:lPVVZ2BS5TfnjLyizF7o7hv7j9/L+8cZY2hLyjP9cGY= -lukechampine.com/uint128 v1.1.1/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk= -lukechampine.com/uint128 v1.2.0/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk= -modernc.org/cc/v3 v3.36.0/go.mod h1:NFUHyPn4ekoC/JHeZFfZurN6ixxawE1BnVonP/oahEI= -modernc.org/cc/v3 v3.36.2/go.mod h1:NFUHyPn4ekoC/JHeZFfZurN6ixxawE1BnVonP/oahEI= -modernc.org/cc/v3 v3.36.3/go.mod h1:NFUHyPn4ekoC/JHeZFfZurN6ixxawE1BnVonP/oahEI= -modernc.org/cc/v3 v3.37.0/go.mod h1:vtL+3mdHx/wcj3iEGz84rQa8vEqR6XM84v5Lcvfph20= -modernc.org/cc/v3 v3.40.0/go.mod h1:/bTg4dnWkSXowUO6ssQKnOV0yMVxDYNIsIrzqTFDGH0= -modernc.org/ccgo/v3 v3.0.0-20220428102840-41399a37e894/go.mod h1:eI31LL8EwEBKPpNpA4bU1/i+sKOwOrQy8D87zWUcRZc= -modernc.org/ccgo/v3 v3.0.0-20220430103911-bc99d88307be/go.mod h1:bwdAnOoaIt8Ax9YdWGjxWsdkPcZyRPHqrOvJxaKAKGw= -modernc.org/ccgo/v3 v3.0.0-20220904174949-82d86e1b6d56/go.mod h1:YSXjPL62P2AMSxBphRHPn7IkzhVHqkvOnRKAKh+W6ZI= -modernc.org/ccgo/v3 v3.16.4/go.mod h1:tGtX0gE9Jn7hdZFeU88slbTh1UtCYKusWOoCJuvkWsQ= -modernc.org/ccgo/v3 v3.16.6/go.mod h1:tGtX0gE9Jn7hdZFeU88slbTh1UtCYKusWOoCJuvkWsQ= -modernc.org/ccgo/v3 v3.16.8/go.mod h1:zNjwkizS+fIFDrDjIAgBSCLkWbJuHF+ar3QRn+Z9aws= -modernc.org/ccgo/v3 v3.16.9/go.mod h1:zNMzC9A9xeNUepy6KuZBbugn3c0Mc9TeiJO4lgvkJDo= -modernc.org/ccgo/v3 v3.16.13-0.20221017192402-261537637ce8/go.mod h1:fUB3Vn0nVPReA+7IG7yZDfjv1TMWjhQP8gCxrFAtL5g= -modernc.org/ccgo/v3 v3.16.13/go.mod h1:2Quk+5YgpImhPjv2Qsob1DnZ/4som1lJTodubIcoUkY= -modernc.org/ccorpus v1.11.6/go.mod h1:2gEUTrWqdpH2pXsmTM1ZkjeSrUWDpjMu2T6m29L/ErQ= -modernc.org/httpfs v1.0.6/go.mod h1:7dosgurJGp0sPaRanU53W4xZYKh14wfzX420oZADeHM= -modernc.org/libc v0.0.0-20220428101251-2d5f3daf273b/go.mod h1:p7Mg4+koNjc8jkqwcoFBJx7tXkpj00G77X7A72jXPXA= -modernc.org/libc v1.16.0/go.mod h1:N4LD6DBE9cf+Dzf9buBlzVJndKr/iJHG97vGLHYnb5A= -modernc.org/libc v1.16.1/go.mod h1:JjJE0eu4yeK7tab2n4S1w8tlWd9MxXLRzheaRnAKymU= -modernc.org/libc v1.16.17/go.mod h1:hYIV5VZczAmGZAnG15Vdngn5HSF5cSkbvfz2B7GRuVU= -modernc.org/libc v1.16.19/go.mod h1:p7Mg4+koNjc8jkqwcoFBJx7tXkpj00G77X7A72jXPXA= -modernc.org/libc v1.17.0/go.mod h1:XsgLldpP4aWlPlsjqKRdHPqCxCjISdHfM/yeWC5GyW0= -modernc.org/libc v1.17.1/go.mod h1:FZ23b+8LjxZs7XtFMbSzL/EhPxNbfZbErxEHc7cbD9s= -modernc.org/libc v1.17.4/go.mod h1:WNg2ZH56rDEwdropAJeZPQkXmDwh+JCA1s/htl6r2fA= -modernc.org/libc v1.18.0/go.mod h1:vj6zehR5bfc98ipowQOM2nIDUZnVew/wNC/2tOGS+q0= -modernc.org/libc v1.20.3/go.mod h1:ZRfIaEkgrYgZDl6pa4W39HgN5G/yDW+NRmNKZBDFrk0= -modernc.org/libc v1.21.4/go.mod h1:przBsL5RDOZajTVslkugzLBj1evTue36jEomFQOoYuI= -modernc.org/libc v1.22.2/go.mod h1:uvQavJ1pZ0hIoC/jfqNoMLURIMhKzINIWypNM17puug= -modernc.org/mathutil v1.2.2/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= -modernc.org/mathutil v1.4.1/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= -modernc.org/mathutil v1.5.0/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= -modernc.org/memory v1.1.1/go.mod h1:/0wo5ibyrQiaoUoH7f9D8dnglAmILJ5/cxZlRECf+Nw= -modernc.org/memory v1.2.0/go.mod h1:/0wo5ibyrQiaoUoH7f9D8dnglAmILJ5/cxZlRECf+Nw= -modernc.org/memory v1.2.1/go.mod h1:PkUhL0Mugw21sHPeskwZW4D6VscE/GQJOnIpCnW6pSU= -modernc.org/memory v1.3.0/go.mod h1:PkUhL0Mugw21sHPeskwZW4D6VscE/GQJOnIpCnW6pSU= -modernc.org/memory v1.4.0/go.mod h1:PkUhL0Mugw21sHPeskwZW4D6VscE/GQJOnIpCnW6pSU= -modernc.org/memory v1.5.0/go.mod h1:PkUhL0Mugw21sHPeskwZW4D6VscE/GQJOnIpCnW6pSU= -modernc.org/opt v0.1.1/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0= -modernc.org/opt v0.1.3/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0= -modernc.org/sqlite v1.18.1/go.mod h1:6ho+Gow7oX5V+OiOQ6Tr4xeqbx13UZ6t+Fw9IRUG4d4= -modernc.org/sqlite v1.18.2/go.mod h1:kvrTLEWgxUcHa2GfHBQtanR1H9ht3hTJNtKpzH9k1u0= -modernc.org/strutil v1.1.1/go.mod h1:DE+MQQ/hjKBZS2zNInV5hhcipt5rLPWkmpbGeW5mmdw= -modernc.org/strutil v1.1.3/go.mod h1:MEHNA7PdEnEwLvspRMtWTNnp2nnyvMfkimT1NKNAGbw= -modernc.org/tcl v1.13.1/go.mod h1:XOLfOwzhkljL4itZkK6T72ckMgvj0BDsnKNdZVUOecw= -modernc.org/tcl v1.13.2/go.mod h1:7CLiGIPo1M8Rv1Mitpv5akc2+8fxUd2y2UzC/MfMzy0= -modernc.org/token v1.0.0/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM= -modernc.org/token v1.0.1/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM= -modernc.org/token v1.1.0/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM= -modernc.org/z v1.5.1/go.mod h1:eWFB510QWW5Th9YGZT81s+LwvaAs3Q2yr4sP0rmLkv8= -mvdan.cc/gofumpt v0.1.1/go.mod h1:yXG1r1WqZVKWbVRtBWKWX9+CxGYfA51nSomhM0woR48= -mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed/go.mod h1:Xkxe497xwlCKkIaQYRfC7CSLworTXY9RMqwhhCm+8Nc= -mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b/go.mod h1:2odslEg/xrtNQqCYg2/jCoyKnw3vv5biOc3JnIcYfL4= -mvdan.cc/unparam v0.0.0-20210104141923-aac4ce9116a7/go.mod h1:hBpJkZE8H/sb+VRFvw2+rBpHNsTBcvSpk61hr8mzXZE= nhooyr.io/websocket v1.8.6 h1:s+C3xAMLwGmlI31Nyn/eAehUlZPwfYZu2JXM621Q5/k= nhooyr.io/websocket v1.8.6/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0= +pgregory.net/rapid v0.5.5 h1:jkgx1TjbQPD/feRoK+S/mXw9e1uj6WilpHrXJowi6oA= +pgregory.net/rapid v0.5.5/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= -rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= diff --git a/integration_tests/constants/constants.go b/integration_tests/constants/constants.go index 2c6990ffa..7d017656b 100644 --- a/integration_tests/constants/constants.go +++ b/integration_tests/constants/constants.go @@ -18,7 +18,8 @@ import ( "github.com/cosmos/cosmos-sdk/codec" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/zigbee-alliance/distributed-compliance-ledger/app" + "github.com/cosmos/cosmos-sdk/types/module/testutil" + "github.com/zigbee-alliance/distributed-compliance-ledger/x/common/types" ) @@ -34,7 +35,7 @@ func strToPubKey(pkStr string, cdc codec.Codec) cryptotypes.PubKey { var ( // default context // TODO issue 99: design test context better. - defEncConfig = app.MakeEncodingConfig() + defEncConfig = testutil.MakeTestEncodingConfig() // Base constants. JackAccount = "jack" diff --git a/integration_tests/grpc_rest/compliance/helpers.go b/integration_tests/grpc_rest/compliance/helpers.go index 9677a50a4..8f07693d9 100644 --- a/integration_tests/grpc_rest/compliance/helpers.go +++ b/integration_tests/grpc_rest/compliance/helpers.go @@ -26,7 +26,6 @@ import ( test_dclauth "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/grpc_rest/dclauth" test_model "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/grpc_rest/model" "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/utils" - dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/compliance" compliancetypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" dclauthtypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" ) @@ -39,7 +38,7 @@ import ( TODO: provide tests for error cases */ -func GetAllComplianceInfo(suite *utils.TestSuite) (res []dclcompltypes.ComplianceInfo, err error) { +func GetAllComplianceInfo(suite *utils.TestSuite) (res []compliancetypes.ComplianceInfo, err error) { if suite.Rest { var resp compliancetypes.QueryAllComplianceInfoResponse err := suite.QueryREST("/dcl/compliance/compliance-info", &resp) @@ -68,8 +67,8 @@ func GetAllComplianceInfo(suite *utils.TestSuite) (res []dclcompltypes.Complianc func GetComplianceInfo( suite *utils.TestSuite, vid int32, pid int32, sv uint32, ct string, -) (*dclcompltypes.ComplianceInfo, error) { - var res dclcompltypes.ComplianceInfo +) (*compliancetypes.ComplianceInfo, error) { + var res compliancetypes.ComplianceInfo if suite.Rest { var resp compliancetypes.QueryGetComplianceInfoResponse @@ -113,8 +112,8 @@ func GetComplianceInfo( func GetComplianceInfoByHexVidAndPid( suite *utils.TestSuite, vid string, pid string, sv uint32, ct string, -) (*dclcompltypes.ComplianceInfo, error) { - var res dclcompltypes.ComplianceInfo +) (*compliancetypes.ComplianceInfo, error) { + var res compliancetypes.ComplianceInfo if suite.Rest { var resp compliancetypes.QueryGetComplianceInfoResponse @@ -613,17 +612,17 @@ func CDCertificateIDUpdateChangesOnlyOneComplianceInfo(suite *utils.TestSuite) { Vid: vid, Pid: pid, SoftwareVersion: svFirst, - CertificationType: dclcompltypes.ZigbeeCertificationType, + CertificationType: compliancetypes.ZigbeeCertificationType, CDCertificateId: cdCertificateIDNew, CDVersionNumber: "312", } _, err = suite.BuildAndBroadcastTx([]sdk.Msg{&updateComplianceInfoMsg}, certCenter, certCenterAccount) require.NoError(suite.T, err) - firstComplianceInfo, err := GetComplianceInfo(suite, vid, pid, svFirst, dclcompltypes.ZigbeeCertificationType) + firstComplianceInfo, err := GetComplianceInfo(suite, vid, pid, svFirst, compliancetypes.ZigbeeCertificationType) require.NoError(suite.T, err) - secondComplianceInfo, err := GetComplianceInfo(suite, vid, pid, svSecond, dclcompltypes.ZigbeeCertificationType) + secondComplianceInfo, err := GetComplianceInfo(suite, vid, pid, svSecond, compliancetypes.ZigbeeCertificationType) require.NoError(suite.T, err) assert.Equal(suite.T, cdCertificateIDNew, firstComplianceInfo.CDCertificateId) @@ -890,13 +889,13 @@ func DemoTrackCompliance(suite *utils.TestSuite) { require.NoError(suite.T, err) // Check if model either certified or revoked before Compliance record was created - _, err = GetComplianceInfo(suite, vid, pid, sv, dclcompltypes.ZigbeeCertificationType) + _, err = GetComplianceInfo(suite, vid, pid, sv, compliancetypes.ZigbeeCertificationType) suite.AssertNotFound(err) - _, err = GetRevokedModel(suite, vid, pid, sv, dclcompltypes.ZigbeeCertificationType) + _, err = GetRevokedModel(suite, vid, pid, sv, compliancetypes.ZigbeeCertificationType) suite.AssertNotFound(err) - _, err = GetCertifiedModel(suite, vid, pid, sv, dclcompltypes.ZigbeeCertificationType) + _, err = GetCertifiedModel(suite, vid, pid, sv, compliancetypes.ZigbeeCertificationType) suite.AssertNotFound(err) - _, err = GetProvisionalModel(suite, vid, pid, sv, dclcompltypes.ZigbeeCertificationType) + _, err = GetProvisionalModel(suite, vid, pid, sv, compliancetypes.ZigbeeCertificationType) suite.AssertNotFound(err) // Certify model @@ -923,8 +922,8 @@ func DemoTrackCompliance(suite *utils.TestSuite) { require.True(suite.T, compliancetypes.ErrAlreadyCertified.Is(err)) // Check model is certified - complianceInfo, _ := GetComplianceInfo(suite, vid, pid, sv, dclcompltypes.ZigbeeCertificationType) - require.Equal(suite.T, dclcompltypes.ZigbeeCertificationType, complianceInfo.CertificationType) + complianceInfo, _ := GetComplianceInfo(suite, vid, pid, sv, compliancetypes.ZigbeeCertificationType) + require.Equal(suite.T, compliancetypes.ZigbeeCertificationType, complianceInfo.CertificationType) require.Equal(suite.T, uint32(2), complianceInfo.SoftwareVersionCertificationStatus) require.Equal(suite.T, vid, complianceInfo.Vid) require.Equal(suite.T, pid, complianceInfo.Pid) @@ -932,18 +931,18 @@ func DemoTrackCompliance(suite *utils.TestSuite) { require.Equal(suite.T, testconstants.CDCertificateID, complianceInfo.CDCertificateId) require.Equal(suite.T, certReason, complianceInfo.Reason) require.Equal(suite.T, certDate, complianceInfo.Date) - modelIsCertified, _ := GetCertifiedModel(suite, vid, pid, sv, dclcompltypes.ZigbeeCertificationType) + modelIsCertified, _ := GetCertifiedModel(suite, vid, pid, sv, compliancetypes.ZigbeeCertificationType) require.True(suite.T, modelIsCertified.Value) - modelIsRevoked, _ := GetRevokedModel(suite, vid, pid, sv, dclcompltypes.ZigbeeCertificationType) + modelIsRevoked, _ := GetRevokedModel(suite, vid, pid, sv, compliancetypes.ZigbeeCertificationType) require.False(suite.T, modelIsRevoked.Value) - modelIsProvisional, _ := GetProvisionalModel(suite, vid, pid, sv, dclcompltypes.ZigbeeCertificationType) + modelIsProvisional, _ := GetProvisionalModel(suite, vid, pid, sv, compliancetypes.ZigbeeCertificationType) require.False(suite.T, modelIsProvisional.Value) // Check device software compliance deviceSoftwareCompliance, _ := GetDeviceSoftwareCompliance(suite, testconstants.CDCertificateID) require.Equal(suite.T, testconstants.CDCertificateID, deviceSoftwareCompliance.CDCertificateId) require.Equal(suite.T, 1, len(deviceSoftwareCompliance.ComplianceInfo)) - require.Equal(suite.T, dclcompltypes.ZigbeeCertificationType, deviceSoftwareCompliance.ComplianceInfo[0].CertificationType) + require.Equal(suite.T, compliancetypes.ZigbeeCertificationType, deviceSoftwareCompliance.ComplianceInfo[0].CertificationType) require.Equal(suite.T, uint32(2), deviceSoftwareCompliance.ComplianceInfo[0].SoftwareVersionCertificationStatus) require.Equal(suite.T, vid, deviceSoftwareCompliance.ComplianceInfo[0].Vid) require.Equal(suite.T, pid, deviceSoftwareCompliance.ComplianceInfo[0].Pid) @@ -964,7 +963,7 @@ func DemoTrackCompliance(suite *utils.TestSuite) { deviceSoftwareCompliances, _ := GetAllDeviceSoftwareCompliance(suite) require.Equal(suite.T, len(inputAllDeviceSoftwareCompliance)+1, len(deviceSoftwareCompliances)) - oldComplianceInfo, _ := GetComplianceInfo(suite, vid, pid, sv, dclcompltypes.ZigbeeCertificationType) + oldComplianceInfo, _ := GetComplianceInfo(suite, vid, pid, sv, compliancetypes.ZigbeeCertificationType) updateComplianceInfoMsg := compliancetypes.MsgUpdateComplianceInfo{ Creator: certCenterAccount.Address, @@ -973,7 +972,7 @@ func DemoTrackCompliance(suite *utils.TestSuite) { SoftwareVersion: sv, CDCertificateId: testconstants.CDCertificateID, CDVersionNumber: "312", - CertificationType: dclcompltypes.ZigbeeCertificationType, + CertificationType: compliancetypes.ZigbeeCertificationType, ProgramType: "new program type", Reason: "new reason", ParentChild: "child", @@ -981,7 +980,7 @@ func DemoTrackCompliance(suite *utils.TestSuite) { _, err = suite.BuildAndBroadcastTx([]sdk.Msg{&updateComplianceInfoMsg}, certCenter, certCenterAccount) require.NoError(suite.T, err) - updatedComplianceInfo, _ := GetComplianceInfo(suite, vid, pid, sv, dclcompltypes.ZigbeeCertificationType) + updatedComplianceInfo, _ := GetComplianceInfo(suite, vid, pid, sv, compliancetypes.ZigbeeCertificationType) // updated fields require.Equal(suite.T, updatedComplianceInfo.ProgramType, updateComplianceInfoMsg.ProgramType) @@ -1013,19 +1012,19 @@ func DemoTrackCompliance(suite *utils.TestSuite) { require.NoError(suite.T, err) // Check model is revoked - complianceInfo, _ = GetComplianceInfo(suite, vid, pid, sv, dclcompltypes.ZigbeeCertificationType) - require.Equal(suite.T, dclcompltypes.ZigbeeCertificationType, complianceInfo.CertificationType) + complianceInfo, _ = GetComplianceInfo(suite, vid, pid, sv, compliancetypes.ZigbeeCertificationType) + require.Equal(suite.T, compliancetypes.ZigbeeCertificationType, complianceInfo.CertificationType) require.Equal(suite.T, uint32(3), complianceInfo.SoftwareVersionCertificationStatus) require.Equal(suite.T, vid, complianceInfo.Vid) require.Equal(suite.T, pid, complianceInfo.Pid) require.Equal(suite.T, sv, complianceInfo.SoftwareVersion) require.Equal(suite.T, revocReason, complianceInfo.Reason) require.Equal(suite.T, revocDate, complianceInfo.Date) - modelIsCertified, _ = GetCertifiedModel(suite, vid, pid, sv, dclcompltypes.ZigbeeCertificationType) + modelIsCertified, _ = GetCertifiedModel(suite, vid, pid, sv, compliancetypes.ZigbeeCertificationType) require.False(suite.T, modelIsCertified.Value) - modelIsRevoked, _ = GetRevokedModel(suite, vid, pid, sv, dclcompltypes.ZigbeeCertificationType) + modelIsRevoked, _ = GetRevokedModel(suite, vid, pid, sv, compliancetypes.ZigbeeCertificationType) require.True(suite.T, modelIsRevoked.Value) - modelIsProvisional, _ = GetProvisionalModel(suite, vid, pid, sv, dclcompltypes.ZigbeeCertificationType) + modelIsProvisional, _ = GetProvisionalModel(suite, vid, pid, sv, compliancetypes.ZigbeeCertificationType) require.False(suite.T, modelIsProvisional.Value) // Check modek is revoked from the entity Device Software Compliance @@ -1086,9 +1085,9 @@ func DemoTrackCompliance(suite *utils.TestSuite) { require.NoError(suite.T, err) // Check model is certified - complianceInfo, _ = GetComplianceInfo(suite, vid, pid, sv, dclcompltypes.ZigbeeCertificationType) + complianceInfo, _ = GetComplianceInfo(suite, vid, pid, sv, compliancetypes.ZigbeeCertificationType) - require.Equal(suite.T, dclcompltypes.ZigbeeCertificationType, complianceInfo.CertificationType) + require.Equal(suite.T, compliancetypes.ZigbeeCertificationType, complianceInfo.CertificationType) require.Equal(suite.T, uint32(2), complianceInfo.SoftwareVersionCertificationStatus) require.Equal(suite.T, vid, complianceInfo.Vid) require.Equal(suite.T, pid, complianceInfo.Pid) @@ -1107,18 +1106,18 @@ func DemoTrackCompliance(suite *utils.TestSuite) { require.Equal(suite.T, testconstants.ParentChild1, complianceInfo.ParentChild) require.Equal(suite.T, testconstants.CertificationIDOfSoftwareComponent, complianceInfo.CertificationIdOfSoftwareComponent) - modelIsCertified, _ = GetCertifiedModel(suite, vid, pid, sv, dclcompltypes.ZigbeeCertificationType) + modelIsCertified, _ = GetCertifiedModel(suite, vid, pid, sv, compliancetypes.ZigbeeCertificationType) require.True(suite.T, modelIsCertified.Value) - modelIsRevoked, _ = GetRevokedModel(suite, vid, pid, sv, dclcompltypes.ZigbeeCertificationType) + modelIsRevoked, _ = GetRevokedModel(suite, vid, pid, sv, compliancetypes.ZigbeeCertificationType) require.False(suite.T, modelIsRevoked.Value) - modelIsProvisional, _ = GetProvisionalModel(suite, vid, pid, sv, dclcompltypes.ZigbeeCertificationType) + modelIsProvisional, _ = GetProvisionalModel(suite, vid, pid, sv, compliancetypes.ZigbeeCertificationType) require.False(suite.T, modelIsProvisional.Value) // Check Device Software Compliance deviceSoftwareCompliance, _ = GetDeviceSoftwareCompliance(suite, testconstants.CDCertificateID) require.Equal(suite.T, testconstants.CDCertificateID, deviceSoftwareCompliance.CDCertificateId) require.Equal(suite.T, 1, len(deviceSoftwareCompliance.ComplianceInfo)) - require.Equal(suite.T, dclcompltypes.ZigbeeCertificationType, deviceSoftwareCompliance.ComplianceInfo[0].CertificationType) + require.Equal(suite.T, compliancetypes.ZigbeeCertificationType, deviceSoftwareCompliance.ComplianceInfo[0].CertificationType) require.Equal(suite.T, uint32(2), deviceSoftwareCompliance.ComplianceInfo[0].SoftwareVersionCertificationStatus) require.Equal(suite.T, vid, deviceSoftwareCompliance.ComplianceInfo[0].Vid) require.Equal(suite.T, pid, deviceSoftwareCompliance.ComplianceInfo[0].Pid) @@ -1245,19 +1244,19 @@ func DemoTrackRevocation(suite *utils.TestSuite) { require.True(suite.T, compliancetypes.ErrAlreadyRevoked.Is(err)) // Check non-certified model is revoked - complianceInfo, _ := GetComplianceInfo(suite, vid, pid, sv, dclcompltypes.ZigbeeCertificationType) - require.Equal(suite.T, dclcompltypes.ZigbeeCertificationType, complianceInfo.CertificationType) + complianceInfo, _ := GetComplianceInfo(suite, vid, pid, sv, compliancetypes.ZigbeeCertificationType) + require.Equal(suite.T, compliancetypes.ZigbeeCertificationType, complianceInfo.CertificationType) require.Equal(suite.T, uint32(3), complianceInfo.SoftwareVersionCertificationStatus) require.Equal(suite.T, vid, complianceInfo.Vid) require.Equal(suite.T, pid, complianceInfo.Pid) require.Equal(suite.T, sv, complianceInfo.SoftwareVersion) require.Equal(suite.T, revocReason, complianceInfo.Reason) require.Equal(suite.T, revocDate, complianceInfo.Date) - _, err = GetCertifiedModel(suite, vid, pid, sv, dclcompltypes.ZigbeeCertificationType) + _, err = GetCertifiedModel(suite, vid, pid, sv, compliancetypes.ZigbeeCertificationType) suite.AssertNotFound(err) - modelIsRevoked, _ := GetRevokedModel(suite, vid, pid, sv, dclcompltypes.ZigbeeCertificationType) + modelIsRevoked, _ := GetRevokedModel(suite, vid, pid, sv, compliancetypes.ZigbeeCertificationType) require.True(suite.T, modelIsRevoked.Value) - _, err = GetProvisionalModel(suite, vid, pid, sv, dclcompltypes.ZigbeeCertificationType) + _, err = GetProvisionalModel(suite, vid, pid, sv, compliancetypes.ZigbeeCertificationType) suite.AssertNotFound(err) // Get all @@ -1291,8 +1290,8 @@ func DemoTrackRevocation(suite *utils.TestSuite) { require.NoError(suite.T, err) // Check model is certified - complianceInfo, _ = GetComplianceInfo(suite, vid, pid, sv, dclcompltypes.ZigbeeCertificationType) - require.Equal(suite.T, dclcompltypes.ZigbeeCertificationType, complianceInfo.CertificationType) + complianceInfo, _ = GetComplianceInfo(suite, vid, pid, sv, compliancetypes.ZigbeeCertificationType) + require.Equal(suite.T, compliancetypes.ZigbeeCertificationType, complianceInfo.CertificationType) require.Equal(suite.T, uint32(2), complianceInfo.SoftwareVersionCertificationStatus) require.Equal(suite.T, vid, complianceInfo.Vid) require.Equal(suite.T, pid, complianceInfo.Pid) @@ -1300,18 +1299,18 @@ func DemoTrackRevocation(suite *utils.TestSuite) { require.Equal(suite.T, testconstants.CDCertificateID, complianceInfo.CDCertificateId) require.Equal(suite.T, certReason, complianceInfo.Reason) require.Equal(suite.T, certDate, complianceInfo.Date) - certifiedModel, _ := GetCertifiedModel(suite, vid, pid, sv, dclcompltypes.ZigbeeCertificationType) + certifiedModel, _ := GetCertifiedModel(suite, vid, pid, sv, compliancetypes.ZigbeeCertificationType) require.True(suite.T, certifiedModel.Value) - revokedModel, _ := GetRevokedModel(suite, vid, pid, sv, dclcompltypes.ZigbeeCertificationType) + revokedModel, _ := GetRevokedModel(suite, vid, pid, sv, compliancetypes.ZigbeeCertificationType) require.False(suite.T, revokedModel.Value) - provisionalModel, _ := GetProvisionalModel(suite, vid, pid, sv, dclcompltypes.ZigbeeCertificationType) + provisionalModel, _ := GetProvisionalModel(suite, vid, pid, sv, compliancetypes.ZigbeeCertificationType) require.False(suite.T, provisionalModel.Value) // Check Device Software Compliance deviceSoftwareCompliance, _ := GetDeviceSoftwareCompliance(suite, testconstants.CDCertificateID) require.Equal(suite.T, testconstants.CDCertificateID, deviceSoftwareCompliance.CDCertificateId) require.Equal(suite.T, 2, len(deviceSoftwareCompliance.ComplianceInfo)) - require.Equal(suite.T, dclcompltypes.ZigbeeCertificationType, deviceSoftwareCompliance.ComplianceInfo[1].CertificationType) + require.Equal(suite.T, compliancetypes.ZigbeeCertificationType, deviceSoftwareCompliance.ComplianceInfo[1].CertificationType) require.Equal(suite.T, uint32(2), deviceSoftwareCompliance.ComplianceInfo[1].SoftwareVersionCertificationStatus) require.Equal(suite.T, vid, deviceSoftwareCompliance.ComplianceInfo[1].Vid) require.Equal(suite.T, pid, deviceSoftwareCompliance.ComplianceInfo[1].Pid) @@ -1428,8 +1427,8 @@ func DemoTrackProvision(suite *utils.TestSuite) { require.True(suite.T, compliancetypes.ErrAlreadyProvisional.Is(err)) // Check non-existent model is provisioned - complianceInfo, _ := GetComplianceInfo(suite, vid, pid, sv, dclcompltypes.MatterCertificationType) - require.Equal(suite.T, dclcompltypes.MatterCertificationType, complianceInfo.CertificationType) + complianceInfo, _ := GetComplianceInfo(suite, vid, pid, sv, compliancetypes.MatterCertificationType) + require.Equal(suite.T, compliancetypes.MatterCertificationType, complianceInfo.CertificationType) require.Equal(suite.T, uint32(1), complianceInfo.SoftwareVersionCertificationStatus) require.Equal(suite.T, vid, complianceInfo.Vid) require.Equal(suite.T, pid, complianceInfo.Pid) @@ -1437,11 +1436,11 @@ func DemoTrackProvision(suite *utils.TestSuite) { require.Equal(suite.T, testconstants.CDCertificateID, complianceInfo.CDCertificateId) require.Equal(suite.T, provReason, complianceInfo.Reason) require.Equal(suite.T, provDate, complianceInfo.Date) - _, err = GetCertifiedModel(suite, vid, pid, sv, dclcompltypes.MatterCertificationType) + _, err = GetCertifiedModel(suite, vid, pid, sv, compliancetypes.MatterCertificationType) suite.AssertNotFound(err) - _, err = GetRevokedModel(suite, vid, pid, sv, dclcompltypes.MatterCertificationType) + _, err = GetRevokedModel(suite, vid, pid, sv, compliancetypes.MatterCertificationType) suite.AssertNotFound(err) - provisionModel, _ := GetProvisionalModel(suite, vid, pid, sv, dclcompltypes.MatterCertificationType) + provisionModel, _ := GetProvisionalModel(suite, vid, pid, sv, compliancetypes.MatterCertificationType) require.True(suite.T, provisionModel.Value) // Get all @@ -1474,8 +1473,8 @@ func DemoTrackProvision(suite *utils.TestSuite) { require.NoError(suite.T, err) // Check model is certified - complianceInfo, _ = GetComplianceInfo(suite, vid, pid, sv, dclcompltypes.MatterCertificationType) - require.Equal(suite.T, dclcompltypes.MatterCertificationType, complianceInfo.CertificationType) + complianceInfo, _ = GetComplianceInfo(suite, vid, pid, sv, compliancetypes.MatterCertificationType) + require.Equal(suite.T, compliancetypes.MatterCertificationType, complianceInfo.CertificationType) require.Equal(suite.T, uint32(2), complianceInfo.SoftwareVersionCertificationStatus) require.Equal(suite.T, vid, complianceInfo.Vid) require.Equal(suite.T, pid, complianceInfo.Pid) @@ -1483,18 +1482,18 @@ func DemoTrackProvision(suite *utils.TestSuite) { require.Equal(suite.T, testconstants.CDCertificateID, complianceInfo.CDCertificateId) require.Equal(suite.T, certReason, complianceInfo.Reason) require.Equal(suite.T, certDate, complianceInfo.Date) - certifiedModel, _ := GetCertifiedModel(suite, vid, pid, sv, dclcompltypes.MatterCertificationType) + certifiedModel, _ := GetCertifiedModel(suite, vid, pid, sv, compliancetypes.MatterCertificationType) require.True(suite.T, certifiedModel.Value) - revokedModel, _ := GetRevokedModel(suite, vid, pid, sv, dclcompltypes.MatterCertificationType) + revokedModel, _ := GetRevokedModel(suite, vid, pid, sv, compliancetypes.MatterCertificationType) require.False(suite.T, revokedModel.Value) - provisionalModel, _ := GetProvisionalModel(suite, vid, pid, sv, dclcompltypes.MatterCertificationType) + provisionalModel, _ := GetProvisionalModel(suite, vid, pid, sv, compliancetypes.MatterCertificationType) require.False(suite.T, provisionalModel.Value) // Check Device Software Compliance deviceSoftwareCompliance, _ := GetDeviceSoftwareCompliance(suite, testconstants.CDCertificateID) require.Equal(suite.T, testconstants.CDCertificateID, deviceSoftwareCompliance.CDCertificateId) require.Equal(suite.T, 3, len(deviceSoftwareCompliance.ComplianceInfo)) - require.Equal(suite.T, dclcompltypes.MatterCertificationType, deviceSoftwareCompliance.ComplianceInfo[2].CertificationType) + require.Equal(suite.T, compliancetypes.MatterCertificationType, deviceSoftwareCompliance.ComplianceInfo[2].CertificationType) require.Equal(suite.T, uint32(2), deviceSoftwareCompliance.ComplianceInfo[2].SoftwareVersionCertificationStatus) require.Equal(suite.T, vid, deviceSoftwareCompliance.ComplianceInfo[2].Vid) require.Equal(suite.T, pid, deviceSoftwareCompliance.ComplianceInfo[2].Pid) @@ -1561,9 +1560,9 @@ func DemoTrackProvision(suite *utils.TestSuite) { require.NoError(suite.T, err) // Check non-existed model is provisioned - complianceInfo, _ = GetComplianceInfo(suite, vid, pid, sv, dclcompltypes.MatterCertificationType) + complianceInfo, _ = GetComplianceInfo(suite, vid, pid, sv, compliancetypes.MatterCertificationType) - require.Equal(suite.T, dclcompltypes.MatterCertificationType, complianceInfo.CertificationType) + require.Equal(suite.T, compliancetypes.MatterCertificationType, complianceInfo.CertificationType) require.Equal(suite.T, uint32(1), complianceInfo.SoftwareVersionCertificationStatus) require.Equal(suite.T, vid, complianceInfo.Vid) require.Equal(suite.T, pid, complianceInfo.Pid) @@ -1582,11 +1581,11 @@ func DemoTrackProvision(suite *utils.TestSuite) { require.Equal(suite.T, testconstants.ParentChild1, complianceInfo.ParentChild) require.Equal(suite.T, testconstants.CertificationIDOfSoftwareComponent, complianceInfo.CertificationIdOfSoftwareComponent) - _, err = GetCertifiedModel(suite, vid, pid, sv, dclcompltypes.MatterCertificationType) + _, err = GetCertifiedModel(suite, vid, pid, sv, compliancetypes.MatterCertificationType) suite.AssertNotFound(err) - _, err = GetRevokedModel(suite, vid, pid, sv, dclcompltypes.MatterCertificationType) + _, err = GetRevokedModel(suite, vid, pid, sv, compliancetypes.MatterCertificationType) suite.AssertNotFound(err) - provisionModel, _ = GetProvisionalModel(suite, vid, pid, sv, dclcompltypes.MatterCertificationType) + provisionModel, _ = GetProvisionalModel(suite, vid, pid, sv, compliancetypes.MatterCertificationType) require.True(suite.T, provisionModel.Value) // Get all @@ -1625,10 +1624,10 @@ func DemoTrackProvision(suite *utils.TestSuite) { require.NoError(suite.T, err) // Check model is certified - complianceInfo, _ = GetComplianceInfo(suite, vid, pid, sv, dclcompltypes.MatterCertificationType) + complianceInfo, _ = GetComplianceInfo(suite, vid, pid, sv, compliancetypes.MatterCertificationType) // After certify model tx some fields will be update and another fields should be no change - require.Equal(suite.T, dclcompltypes.MatterCertificationType, complianceInfo.CertificationType) + require.Equal(suite.T, compliancetypes.MatterCertificationType, complianceInfo.CertificationType) require.Equal(suite.T, uint32(2), complianceInfo.SoftwareVersionCertificationStatus) require.Equal(suite.T, vid, complianceInfo.Vid) require.Equal(suite.T, pid, complianceInfo.Pid) @@ -1647,18 +1646,18 @@ func DemoTrackProvision(suite *utils.TestSuite) { require.Equal(suite.T, testconstants.Transport, complianceInfo.Transport) require.Equal(suite.T, testconstants.ParentChild1, complianceInfo.ParentChild) - certifiedModel, _ = GetCertifiedModel(suite, vid, pid, sv, dclcompltypes.MatterCertificationType) + certifiedModel, _ = GetCertifiedModel(suite, vid, pid, sv, compliancetypes.MatterCertificationType) require.True(suite.T, certifiedModel.Value) - revokedModel, _ = GetRevokedModel(suite, vid, pid, sv, dclcompltypes.MatterCertificationType) + revokedModel, _ = GetRevokedModel(suite, vid, pid, sv, compliancetypes.MatterCertificationType) require.False(suite.T, revokedModel.Value) - provisionalModel, _ = GetProvisionalModel(suite, vid, pid, sv, dclcompltypes.MatterCertificationType) + provisionalModel, _ = GetProvisionalModel(suite, vid, pid, sv, compliancetypes.MatterCertificationType) require.False(suite.T, provisionalModel.Value) // Check Device Software Compliance deviceSoftwareCompliance, _ = GetDeviceSoftwareCompliance(suite, testconstants.CDCertificateID) require.Equal(suite.T, 4, len(deviceSoftwareCompliance.ComplianceInfo)) require.Equal(suite.T, testconstants.CDCertificateID, deviceSoftwareCompliance.CDCertificateId) - require.Equal(suite.T, dclcompltypes.MatterCertificationType, deviceSoftwareCompliance.ComplianceInfo[3].CertificationType) + require.Equal(suite.T, compliancetypes.MatterCertificationType, deviceSoftwareCompliance.ComplianceInfo[3].CertificationType) require.Equal(suite.T, uint32(2), deviceSoftwareCompliance.ComplianceInfo[3].SoftwareVersionCertificationStatus) require.Equal(suite.T, vid, deviceSoftwareCompliance.ComplianceInfo[3].Vid) require.Equal(suite.T, pid, deviceSoftwareCompliance.ComplianceInfo[3].Pid) @@ -1756,13 +1755,13 @@ func DemoTrackComplianceWithHexVidAndPid(suite *utils.TestSuite) { require.NoError(suite.T, err) // Check if model either certified or revoked before Compliance record was created - _, err = GetComplianceInfoByHexVidAndPid(suite, testconstants.TestVID1String, testconstants.TestPID1String, sv, dclcompltypes.ZigbeeCertificationType) + _, err = GetComplianceInfoByHexVidAndPid(suite, testconstants.TestVID1String, testconstants.TestPID1String, sv, compliancetypes.ZigbeeCertificationType) suite.AssertNotFound(err) - _, err = GetRevokedModelByHexVidAndPid(suite, testconstants.TestVID1String, testconstants.TestPID1String, sv, dclcompltypes.ZigbeeCertificationType) + _, err = GetRevokedModelByHexVidAndPid(suite, testconstants.TestVID1String, testconstants.TestPID1String, sv, compliancetypes.ZigbeeCertificationType) suite.AssertNotFound(err) - _, err = GetCertifiedModelByHexVidAndPid(suite, testconstants.TestVID1String, testconstants.TestPID1String, sv, dclcompltypes.ZigbeeCertificationType) + _, err = GetCertifiedModelByHexVidAndPid(suite, testconstants.TestVID1String, testconstants.TestPID1String, sv, compliancetypes.ZigbeeCertificationType) suite.AssertNotFound(err) - _, err = GetProvisionalModelByHexVidAndPid(suite, testconstants.TestVID1String, testconstants.TestPID1String, sv, dclcompltypes.ZigbeeCertificationType) + _, err = GetProvisionalModelByHexVidAndPid(suite, testconstants.TestVID1String, testconstants.TestPID1String, sv, compliancetypes.ZigbeeCertificationType) suite.AssertNotFound(err) // Certify model @@ -1788,8 +1787,8 @@ func DemoTrackComplianceWithHexVidAndPid(suite *utils.TestSuite) { require.True(suite.T, compliancetypes.ErrAlreadyCertified.Is(err)) // Check model is certified - complianceInfo, _ := GetComplianceInfoByHexVidAndPid(suite, testconstants.TestVID1String, testconstants.TestPID1String, sv, dclcompltypes.ZigbeeCertificationType) - require.Equal(suite.T, dclcompltypes.ZigbeeCertificationType, complianceInfo.CertificationType) + complianceInfo, _ := GetComplianceInfoByHexVidAndPid(suite, testconstants.TestVID1String, testconstants.TestPID1String, sv, compliancetypes.ZigbeeCertificationType) + require.Equal(suite.T, compliancetypes.ZigbeeCertificationType, complianceInfo.CertificationType) require.Equal(suite.T, uint32(2), complianceInfo.SoftwareVersionCertificationStatus) require.Equal(suite.T, vid, complianceInfo.Vid) require.Equal(suite.T, pid, complianceInfo.Pid) @@ -1797,11 +1796,11 @@ func DemoTrackComplianceWithHexVidAndPid(suite *utils.TestSuite) { require.Equal(suite.T, testconstants.CDCertificateID, complianceInfo.CDCertificateId) require.Equal(suite.T, certReason, complianceInfo.Reason) require.Equal(suite.T, certDate, complianceInfo.Date) - modelIsCertified, _ := GetCertifiedModel(suite, vid, pid, sv, dclcompltypes.ZigbeeCertificationType) + modelIsCertified, _ := GetCertifiedModel(suite, vid, pid, sv, compliancetypes.ZigbeeCertificationType) require.True(suite.T, modelIsCertified.Value) - modelIsRevoked, _ := GetRevokedModel(suite, vid, pid, sv, dclcompltypes.ZigbeeCertificationType) + modelIsRevoked, _ := GetRevokedModel(suite, vid, pid, sv, compliancetypes.ZigbeeCertificationType) require.False(suite.T, modelIsRevoked.Value) - modelIsProvisional, _ := GetProvisionalModel(suite, vid, pid, sv, dclcompltypes.ZigbeeCertificationType) + modelIsProvisional, _ := GetProvisionalModel(suite, vid, pid, sv, compliancetypes.ZigbeeCertificationType) require.False(suite.T, modelIsProvisional.Value) } @@ -1893,19 +1892,19 @@ func DemoTrackRevocationWithHexVidAndPid(suite *utils.TestSuite) { require.True(suite.T, compliancetypes.ErrAlreadyRevoked.Is(err)) // Check non-certified model is revoked - complianceInfo, _ := GetComplianceInfoByHexVidAndPid(suite, testconstants.TestVID2String, testconstants.TestPID2String, sv, dclcompltypes.ZigbeeCertificationType) - require.Equal(suite.T, dclcompltypes.ZigbeeCertificationType, complianceInfo.CertificationType) + complianceInfo, _ := GetComplianceInfoByHexVidAndPid(suite, testconstants.TestVID2String, testconstants.TestPID2String, sv, compliancetypes.ZigbeeCertificationType) + require.Equal(suite.T, compliancetypes.ZigbeeCertificationType, complianceInfo.CertificationType) require.Equal(suite.T, uint32(3), complianceInfo.SoftwareVersionCertificationStatus) require.Equal(suite.T, vid, complianceInfo.Vid) require.Equal(suite.T, pid, complianceInfo.Pid) require.Equal(suite.T, sv, complianceInfo.SoftwareVersion) require.Equal(suite.T, revocReason, complianceInfo.Reason) require.Equal(suite.T, revocDate, complianceInfo.Date) - _, err = GetCertifiedModelByHexVidAndPid(suite, testconstants.TestVID2String, testconstants.TestPID2String, sv, dclcompltypes.ZigbeeCertificationType) + _, err = GetCertifiedModelByHexVidAndPid(suite, testconstants.TestVID2String, testconstants.TestPID2String, sv, compliancetypes.ZigbeeCertificationType) suite.AssertNotFound(err) - modelIsRevoked, _ := GetRevokedModelByHexVidAndPid(suite, testconstants.TestVID2String, testconstants.TestPID2String, sv, dclcompltypes.ZigbeeCertificationType) + modelIsRevoked, _ := GetRevokedModelByHexVidAndPid(suite, testconstants.TestVID2String, testconstants.TestPID2String, sv, compliancetypes.ZigbeeCertificationType) require.True(suite.T, modelIsRevoked.Value) - _, err = GetProvisionalModelByHexVidAndPid(suite, testconstants.TestVID2String, testconstants.TestPID2String, sv, dclcompltypes.ZigbeeCertificationType) + _, err = GetProvisionalModelByHexVidAndPid(suite, testconstants.TestVID2String, testconstants.TestPID2String, sv, compliancetypes.ZigbeeCertificationType) suite.AssertNotFound(err) // Certify model @@ -1927,8 +1926,8 @@ func DemoTrackRevocationWithHexVidAndPid(suite *utils.TestSuite) { require.NoError(suite.T, err) // Check model is certified - complianceInfo, _ = GetComplianceInfoByHexVidAndPid(suite, testconstants.TestVID2String, testconstants.TestPID2String, sv, dclcompltypes.ZigbeeCertificationType) - require.Equal(suite.T, dclcompltypes.ZigbeeCertificationType, complianceInfo.CertificationType) + complianceInfo, _ = GetComplianceInfoByHexVidAndPid(suite, testconstants.TestVID2String, testconstants.TestPID2String, sv, compliancetypes.ZigbeeCertificationType) + require.Equal(suite.T, compliancetypes.ZigbeeCertificationType, complianceInfo.CertificationType) require.Equal(suite.T, uint32(2), complianceInfo.SoftwareVersionCertificationStatus) require.Equal(suite.T, vid, complianceInfo.Vid) require.Equal(suite.T, pid, complianceInfo.Pid) @@ -1936,11 +1935,11 @@ func DemoTrackRevocationWithHexVidAndPid(suite *utils.TestSuite) { require.Equal(suite.T, testconstants.CDCertificateID, complianceInfo.CDCertificateId) require.Equal(suite.T, certReason, complianceInfo.Reason) require.Equal(suite.T, certDate, complianceInfo.Date) - certifiedModel, _ := GetCertifiedModelByHexVidAndPid(suite, testconstants.TestVID2String, testconstants.TestPID2String, sv, dclcompltypes.ZigbeeCertificationType) + certifiedModel, _ := GetCertifiedModelByHexVidAndPid(suite, testconstants.TestVID2String, testconstants.TestPID2String, sv, compliancetypes.ZigbeeCertificationType) require.True(suite.T, certifiedModel.Value) - revokedModel, _ := GetRevokedModelByHexVidAndPid(suite, testconstants.TestVID2String, testconstants.TestPID2String, sv, dclcompltypes.ZigbeeCertificationType) + revokedModel, _ := GetRevokedModelByHexVidAndPid(suite, testconstants.TestVID2String, testconstants.TestPID2String, sv, compliancetypes.ZigbeeCertificationType) require.False(suite.T, revokedModel.Value) - provisionalModel, _ := GetProvisionalModelByHexVidAndPid(suite, testconstants.TestVID2String, testconstants.TestPID2String, sv, dclcompltypes.ZigbeeCertificationType) + provisionalModel, _ := GetProvisionalModelByHexVidAndPid(suite, testconstants.TestVID2String, testconstants.TestPID2String, sv, compliancetypes.ZigbeeCertificationType) require.False(suite.T, provisionalModel.Value) } @@ -2032,8 +2031,8 @@ func DemoTrackProvisionByHexVidAndPid(suite *utils.TestSuite) { require.True(suite.T, compliancetypes.ErrAlreadyProvisional.Is(err)) // Check non-existent model is provisioned - complianceInfo, _ := GetComplianceInfoByHexVidAndPid(suite, testconstants.TestVID3String, testconstants.TestPID3String, sv, dclcompltypes.MatterCertificationType) - require.Equal(suite.T, dclcompltypes.MatterCertificationType, complianceInfo.CertificationType) + complianceInfo, _ := GetComplianceInfoByHexVidAndPid(suite, testconstants.TestVID3String, testconstants.TestPID3String, sv, compliancetypes.MatterCertificationType) + require.Equal(suite.T, compliancetypes.MatterCertificationType, complianceInfo.CertificationType) require.Equal(suite.T, uint32(1), complianceInfo.SoftwareVersionCertificationStatus) require.Equal(suite.T, vid, complianceInfo.Vid) require.Equal(suite.T, pid, complianceInfo.Pid) @@ -2041,11 +2040,11 @@ func DemoTrackProvisionByHexVidAndPid(suite *utils.TestSuite) { require.Equal(suite.T, testconstants.CDCertificateID, complianceInfo.CDCertificateId) require.Equal(suite.T, provReason, complianceInfo.Reason) require.Equal(suite.T, provDate, complianceInfo.Date) - _, err = GetCertifiedModelByHexVidAndPid(suite, testconstants.TestVID3String, testconstants.TestPID3String, sv, dclcompltypes.MatterCertificationType) + _, err = GetCertifiedModelByHexVidAndPid(suite, testconstants.TestVID3String, testconstants.TestPID3String, sv, compliancetypes.MatterCertificationType) suite.AssertNotFound(err) - _, err = GetRevokedModelByHexVidAndPid(suite, testconstants.TestVID3String, testconstants.TestPID3String, sv, dclcompltypes.MatterCertificationType) + _, err = GetRevokedModelByHexVidAndPid(suite, testconstants.TestVID3String, testconstants.TestPID3String, sv, compliancetypes.MatterCertificationType) suite.AssertNotFound(err) - provisionModel, _ := GetProvisionalModelByHexVidAndPid(suite, testconstants.TestVID3String, testconstants.TestPID3String, sv, dclcompltypes.MatterCertificationType) + provisionModel, _ := GetProvisionalModelByHexVidAndPid(suite, testconstants.TestVID3String, testconstants.TestPID3String, sv, compliancetypes.MatterCertificationType) require.True(suite.T, provisionModel.Value) // Certify model @@ -2066,8 +2065,8 @@ func DemoTrackProvisionByHexVidAndPid(suite *utils.TestSuite) { require.NoError(suite.T, err) // Check model is certified - complianceInfo, _ = GetComplianceInfoByHexVidAndPid(suite, testconstants.TestVID3String, testconstants.TestPID3String, sv, dclcompltypes.MatterCertificationType) - require.Equal(suite.T, dclcompltypes.MatterCertificationType, complianceInfo.CertificationType) + complianceInfo, _ = GetComplianceInfoByHexVidAndPid(suite, testconstants.TestVID3String, testconstants.TestPID3String, sv, compliancetypes.MatterCertificationType) + require.Equal(suite.T, compliancetypes.MatterCertificationType, complianceInfo.CertificationType) require.Equal(suite.T, uint32(2), complianceInfo.SoftwareVersionCertificationStatus) require.Equal(suite.T, vid, complianceInfo.Vid) require.Equal(suite.T, pid, complianceInfo.Pid) @@ -2075,11 +2074,11 @@ func DemoTrackProvisionByHexVidAndPid(suite *utils.TestSuite) { require.Equal(suite.T, testconstants.CDCertificateID, complianceInfo.CDCertificateId) require.Equal(suite.T, certReason, complianceInfo.Reason) require.Equal(suite.T, certDate, complianceInfo.Date) - certifiedModel, _ := GetCertifiedModelByHexVidAndPid(suite, testconstants.TestVID3String, testconstants.TestPID3String, sv, dclcompltypes.MatterCertificationType) + certifiedModel, _ := GetCertifiedModelByHexVidAndPid(suite, testconstants.TestVID3String, testconstants.TestPID3String, sv, compliancetypes.MatterCertificationType) require.True(suite.T, certifiedModel.Value) - revokedModel, _ := GetRevokedModelByHexVidAndPid(suite, testconstants.TestVID3String, testconstants.TestPID3String, sv, dclcompltypes.MatterCertificationType) + revokedModel, _ := GetRevokedModelByHexVidAndPid(suite, testconstants.TestVID3String, testconstants.TestPID3String, sv, compliancetypes.MatterCertificationType) require.False(suite.T, revokedModel.Value) - provisionalModel, _ := GetProvisionalModelByHexVidAndPid(suite, testconstants.TestVID3String, testconstants.TestPID3String, sv, dclcompltypes.MatterCertificationType) + provisionalModel, _ := GetProvisionalModelByHexVidAndPid(suite, testconstants.TestVID3String, testconstants.TestPID3String, sv, compliancetypes.MatterCertificationType) require.False(suite.T, provisionalModel.Value) // Can not provision certified model diff --git a/integration_tests/grpc_rest/dclauth/helpers.go b/integration_tests/grpc_rest/dclauth/helpers.go index e8ee7b0c3..41755f475 100644 --- a/integration_tests/grpc_rest/dclauth/helpers.go +++ b/integration_tests/grpc_rest/dclauth/helpers.go @@ -394,7 +394,7 @@ func RejectAddAccount( return suite.BuildAndBroadcastTx([]sdk.Msg{msg}, signerName, signerAccount) } -func CreateAccountInfo(suite *utils.TestSuite, accountName string) keyring.Info { +func CreateAccountInfo(suite *utils.TestSuite, accountName string) keyring.Record { entropySeed, err := bip39.NewEntropy(256) require.NoError(suite.T, err) @@ -404,7 +404,7 @@ func CreateAccountInfo(suite *utils.TestSuite, accountName string) keyring.Info accountInfo, err := suite.Kr.NewAccount(accountName, mnemonic, testconstants.Passphrase, sdk.FullFundraiserPath, hd.Secp256k1) require.NoError(suite.T, err) - return accountInfo + return *accountInfo } func CreateAccount( @@ -420,11 +420,15 @@ func CreateAccount( info string, ) *dclauthtypes.Account { accountInfo := CreateAccountInfo(suite, accountName) + address, err := accountInfo.GetAddress() + require.NoError(suite.T, err) + pubKey, err := accountInfo.GetPubKey() + require.NoError(suite.T, err) - _, err := ProposeAddAccount( + _, err = ProposeAddAccount( suite, - accountInfo.GetAddress(), - accountInfo.GetPubKey(), + address, + pubKey, roles, vendorID, productIDs, @@ -434,16 +438,21 @@ func CreateAccount( ) require.NoError(suite.T, err) + address, err = accountInfo.GetAddress() + require.NoError(suite.T, err) _, err = ApproveAddAccount( suite, - accountInfo.GetAddress(), + address, approverName, approverAccount, info, ) require.NoError(suite.T, err) - account, err := GetAccount(suite, accountInfo.GetAddress()) + address, err = accountInfo.GetAddress() + require.NoError(suite.T, err) + + account, err := GetAccount(suite, address) require.NoError(suite.T, err) return account @@ -462,11 +471,15 @@ func CreateVendorAccount( info string, ) *dclauthtypes.Account { accountInfo := CreateAccountInfo(suite, accountName) + address, err := accountInfo.GetAddress() + require.NoError(suite.T, err) + pubKey, err := accountInfo.GetPubKey() + require.NoError(suite.T, err) - _, err := ProposeAddAccount( + _, err = ProposeAddAccount( suite, - accountInfo.GetAddress(), - accountInfo.GetPubKey(), + address, + pubKey, roles, vendorID, productIDs, @@ -476,7 +489,10 @@ func CreateVendorAccount( ) require.NoError(suite.T, err) - account, err := GetAccount(suite, accountInfo.GetAddress()) + address, err = accountInfo.GetAddress() + require.NoError(suite.T, err) + + account, err := GetAccount(suite, address) require.NoError(suite.T, err) return account @@ -512,19 +528,25 @@ func AuthDemo(suite *utils.TestSuite) { jackName := testconstants.JackAccount jackKeyInfo, err := suite.Kr.Key(jackName) require.NoError(suite.T, err) - jackAccount, err := GetAccount(suite, jackKeyInfo.GetAddress()) + address, err := jackKeyInfo.GetAddress() + require.NoError(suite.T, err) + jackAccount, err := GetAccount(suite, address) require.NoError(suite.T, err) aliceName := testconstants.AliceAccount aliceKeyInfo, err := suite.Kr.Key(aliceName) require.NoError(suite.T, err) - aliceAccount, err := GetAccount(suite, aliceKeyInfo.GetAddress()) + address, err = aliceKeyInfo.GetAddress() + require.NoError(suite.T, err) + aliceAccount, err := GetAccount(suite, address) require.NoError(suite.T, err) bobName := testconstants.BobAccount bobKeyInfo, err := suite.Kr.Key(bobName) require.NoError(suite.T, err) - bobAccount, err := GetAccount(suite, bobKeyInfo.GetAddress()) + address, err = bobKeyInfo.GetAddress() + require.NoError(suite.T, err) + bobAccount, err := GetAccount(suite, address) require.NoError(suite.T, err) // Query all active accounts @@ -548,8 +570,10 @@ func AuthDemo(suite *utils.TestSuite) { accountName := utils.RandString() accountInfo := CreateAccountInfo(suite, accountName) - testAccPubKey := accountInfo.GetPubKey() - testAccAddr := accountInfo.GetAddress() + testAccPubKey, err := accountInfo.GetPubKey() + require.NoError(suite.T, err) + testAccAddr, err := accountInfo.GetAddress() + require.NoError(suite.T, err) // Query unknown account _, err = GetAccount(suite, testAccAddr) @@ -947,8 +971,10 @@ func AuthDemo(suite *utils.TestSuite) { accountName = utils.RandString() accountInfo = CreateAccountInfo(suite, accountName) - testAccPubKey = accountInfo.GetPubKey() - testAccAddr = accountInfo.GetAddress() + testAccPubKey, err = accountInfo.GetPubKey() + require.NoError(suite.T, err) + testAccAddr, err = accountInfo.GetAddress() + require.NoError(suite.T, err) // Query unknown account _, err = GetAccount(suite, testAccAddr) @@ -1022,8 +1048,10 @@ func AuthDemo(suite *utils.TestSuite) { accountName = utils.RandString() accountInfo = CreateAccountInfo(suite, accountName) - testAccPubKey = accountInfo.GetPubKey() - testAccAddr = accountInfo.GetAddress() + testAccPubKey, err = accountInfo.GetPubKey() + require.NoError(suite.T, err) + testAccAddr, err = accountInfo.GetAddress() + require.NoError(suite.T, err) // Query unknown account _, err = GetAccount(suite, testAccAddr) @@ -1075,8 +1103,10 @@ func AuthDemo(suite *utils.TestSuite) { accountName = utils.RandString() accountInfo = CreateAccountInfo(suite, accountName) - testAccPubKey = accountInfo.GetPubKey() - testAccAddr = accountInfo.GetAddress() + testAccPubKey, err = accountInfo.GetPubKey() + require.NoError(suite.T, err) + testAccAddr, err = accountInfo.GetAddress() + require.NoError(suite.T, err) // Jack proposes new account _, err = ProposeAddAccount( @@ -1099,8 +1129,10 @@ func AuthDemo(suite *utils.TestSuite) { accountName = utils.RandString() accountInfo = CreateAccountInfo(suite, accountName) - testAccPubKey = accountInfo.GetPubKey() - testAccAddr = accountInfo.GetAddress() + testAccPubKey, err = accountInfo.GetPubKey() + require.NoError(suite.T, err) + testAccAddr, err = accountInfo.GetAddress() + require.NoError(suite.T, err) // Jack proposes new account _, err = ProposeAddAccount( @@ -1135,8 +1167,10 @@ func AuthDemo(suite *utils.TestSuite) { accountName = utils.RandString() accountInfo = CreateAccountInfo(suite, accountName) - testAccPubKey = accountInfo.GetPubKey() - testAccAddr = accountInfo.GetAddress() + testAccPubKey, err = accountInfo.GetPubKey() + require.NoError(suite.T, err) + testAccAddr, err = accountInfo.GetAddress() + require.NoError(suite.T, err) // Query unknown account _, err = GetAccount(suite, testAccAddr) diff --git a/integration_tests/utils/sign_helper.go b/integration_tests/utils/sign_helper.go index 9806fb3c1..91032aceb 100644 --- a/integration_tests/utils/sign_helper.go +++ b/integration_tests/utils/sign_helper.go @@ -9,7 +9,7 @@ import ( // GenTx generates a signed mock transaction. func GenTx(txf clienttx.Factory, gen client.TxConfig, msgs []sdk.Msg, signer string) (sdk.Tx, error) { // tx, err := txf.BuildUnsignedTx(msgs...) - tx, err := clienttx.BuildUnsignedTx(txf, msgs...) + tx, err := txf.BuildUnsignedTx(msgs...) if err != nil { return nil, err } diff --git a/proto/buf.gen.gogo.yaml b/proto/buf.gen.gogo.yaml new file mode 100644 index 000000000..1dd458128 --- /dev/null +++ b/proto/buf.gen.gogo.yaml @@ -0,0 +1,20 @@ +# This file is auto-generated from Ignite. You can edit +# the file content but do not change the file name or path. +# +# buf.gen.gogo.yaml +# +version: v1 +plugins: + - name: gocosmos + out: ../x + opt: + - paths=source_relative + - plugins=grpc + - Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types + - Mcosmos/orm/v1/orm.proto=cosmossdk.io/orm + - name: grpc-gateway + out: ../x + opt: + - paths=source_relative + - logtostderr=true + - allow_colon_final_segments=true diff --git a/proto/buf.gen.pulsar.yaml b/proto/buf.gen.pulsar.yaml new file mode 100644 index 000000000..2af664896 --- /dev/null +++ b/proto/buf.gen.pulsar.yaml @@ -0,0 +1,19 @@ +# This file is auto-generated from Ignite. You can edit +# the file content but do not change the file name or path. +# +# buf.gen.pulsar.yaml +# +version: v1 +managed: + enabled: true + go_package_prefix: + default: github.com/zigbee-alliance/distributed-compliance-ledger + except: + - buf.build/googleapis/googleapis + - buf.build/cosmos/gogo-proto + - buf.build/cosmos/cosmos-proto + override: +plugins: + - name: go-grpc + out: ../types + opt: paths=source_relative diff --git a/proto/buf.gen.sta.yaml b/proto/buf.gen.sta.yaml new file mode 100644 index 000000000..aa88b8330 --- /dev/null +++ b/proto/buf.gen.sta.yaml @@ -0,0 +1,15 @@ +# This file is auto-generated from Ignite. You can edit +# the file content but do not change the file name or path. +# +# buf.gen.sta.yaml +# +version: v1 +plugins: + - name: openapiv2 + out: . + opt: + - logtostderr=true + - openapi_naming_strategy=simple + - ignore_comments=true + - simple_operation_ids=true + - json_names_for_fields=false diff --git a/proto/buf.gen.swagger.yaml b/proto/buf.gen.swagger.yaml new file mode 100644 index 000000000..c3d781e2c --- /dev/null +++ b/proto/buf.gen.swagger.yaml @@ -0,0 +1,16 @@ +# This file is auto-generated from Ignite. You can edit +# the file content but do not change the file name or path. +# +# buf.gen.swagger.yaml +# +version: v1 +plugins: + - name: openapiv2 + out: . + opt: + - paths=source_relative + - logtostderr=true + - openapi_naming_strategy=fqn + - json_names_for_fields=false + - simple_operation_ids=true + - generate_unbound_methods=true \ No newline at end of file diff --git a/proto/buf.gen.ts.yaml b/proto/buf.gen.ts.yaml new file mode 100644 index 000000000..c484fb3ad --- /dev/null +++ b/proto/buf.gen.ts.yaml @@ -0,0 +1,18 @@ +# This file is auto-generated from Ignite. You can edit +# the file content but do not change the file name or path. +# +# buf.gen.ts.yaml +# +version: v1 +managed: + enabled: true +plugins: + - plugin: buf.build/community/stephenh-ts-proto + out: . + opt: + - logtostderr=true + - allow_merge=true + - json_names_for_fields=false + - ts_proto_opt=snakeToCamel=true + - ts_proto_opt=esModuleInterop=true + - ts_proto_out=. diff --git a/proto/buf.lock b/proto/buf.lock new file mode 100644 index 000000000..77287f75c --- /dev/null +++ b/proto/buf.lock @@ -0,0 +1,31 @@ +# This file is auto-generated from Ignite. +# DO NOT EDIT +# +# buf.lock +# +version: v1 +deps: + - remote: buf.build + owner: cosmos + repository: cosmos-proto + commit: 1935555c206d4afb9e94615dfd0fad31 + - remote: buf.build + owner: cosmos + repository: cosmos-sdk + commit: 954f7b05f38440fc8250134b15adec47 + - remote: buf.build + owner: cosmos + repository: gogo-proto + commit: 34d970b699f84aa382f3c29773a60836 + - remote: buf.build + owner: cosmos + repository: ics23 + commit: 3c44d8daa8b44059ac744cd17d4a49d7 + - remote: buf.build + owner: googleapis + repository: googleapis + commit: 75b4300737fb4efca0831636be94e517 + - remote: buf.build + owner: protocolbuffers + repository: wellknowntypes + commit: 44e83bc050a4497fa7b36b34d95ca156 diff --git a/proto/buf.yaml b/proto/buf.yaml new file mode 100644 index 000000000..7a86adcfa --- /dev/null +++ b/proto/buf.yaml @@ -0,0 +1,29 @@ +# This file is auto-generated from Ignite. You can edit +# the file content but do not change the file name or path. +# +# buf.yaml +# +version: v1 +deps: + - buf.build/protocolbuffers/wellknowntypes + - buf.build/cosmos/cosmos-sdk + - buf.build/cosmos/cosmos-proto + - buf.build/cosmos/gogo-proto + - buf.build/googleapis/googleapis + - buf.build/cosmos/ics23 +breaking: + use: + - FILE +lint: + use: + - DEFAULT + - COMMENTS + - FILE_LOWER_SNAKE_CASE + except: + - UNARY_RPC + - COMMENT_FIELD + - SERVICE_SUFFIX + - PACKAGE_VERSION_SUFFIX + - RPC_REQUEST_STANDARD_NAME + ignore: + - tendermint diff --git a/proto/common/uint16_range.proto b/proto/common/types/uint16_range.proto similarity index 84% rename from proto/common/uint16_range.proto rename to proto/common/types/uint16_range.proto index d2320643b..99a4a1570 100644 --- a/proto/common/uint16_range.proto +++ b/proto/common/types/uint16_range.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.common; +package common.types; import "gogoproto/gogo.proto"; diff --git a/proto/compliance/certified_model.proto b/proto/compliance/types/certified_model.proto similarity index 81% rename from proto/compliance/certified_model.proto rename to proto/compliance/types/certified_model.proto index fbe9fd4c0..e5d9606ee 100644 --- a/proto/compliance/certified_model.proto +++ b/proto/compliance/types/certified_model.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.compliance; +package compliance.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types"; diff --git a/proto/compliance/compliance_history_item.proto b/proto/compliance/types/compliance_history_item.proto similarity index 81% rename from proto/compliance/compliance_history_item.proto rename to proto/compliance/types/compliance_history_item.proto index 3b41d2c88..5952356e3 100644 --- a/proto/compliance/compliance_history_item.proto +++ b/proto/compliance/types/compliance_history_item.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.compliance; +package compliance.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types"; diff --git a/proto/compliance/compliance_info.proto b/proto/compliance/types/compliance_info.proto similarity index 89% rename from proto/compliance/compliance_info.proto rename to proto/compliance/types/compliance_info.proto index bc847b8be..711dc7d1c 100644 --- a/proto/compliance/compliance_info.proto +++ b/proto/compliance/types/compliance_info.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.compliance; +package compliance.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types"; -import "compliance/compliance_history_item.proto"; +import "compliance/types/compliance_history_item.proto"; import "cosmos_proto/cosmos.proto"; message ComplianceInfo { diff --git a/proto/compliance/device_software_compliance.proto b/proto/compliance/types/device_software_compliance.proto similarity index 69% rename from proto/compliance/device_software_compliance.proto rename to proto/compliance/types/device_software_compliance.proto index 98b68dcae..0f4d2e693 100644 --- a/proto/compliance/device_software_compliance.proto +++ b/proto/compliance/types/device_software_compliance.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.compliance; +package compliance.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types"; -import "compliance/compliance_info.proto"; +import "compliance/types/compliance_info.proto"; message DeviceSoftwareCompliance { string cDCertificateId = 1; diff --git a/proto/compliance/genesis.proto b/proto/compliance/types/genesis.proto similarity index 73% rename from proto/compliance/genesis.proto rename to proto/compliance/types/genesis.proto index 8f5c68118..115c8ed1e 100644 --- a/proto/compliance/genesis.proto +++ b/proto/compliance/types/genesis.proto @@ -1,11 +1,11 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.compliance; +package compliance.types; -import "compliance/compliance_info.proto"; -import "compliance/certified_model.proto"; -import "compliance/revoked_model.proto"; -import "compliance/provisional_model.proto"; -import "compliance/device_software_compliance.proto"; +import "compliance/types/compliance_info.proto"; +import "compliance/types/certified_model.proto"; +import "compliance/types/revoked_model.proto"; +import "compliance/types/provisional_model.proto"; +import "compliance/types/device_software_compliance.proto"; // this line is used by starport scaffolding # genesis/proto/import import "gogoproto/gogo.proto"; diff --git a/proto/compliance/provisional_model.proto b/proto/compliance/types/provisional_model.proto similarity index 81% rename from proto/compliance/provisional_model.proto rename to proto/compliance/types/provisional_model.proto index 913b16c33..2ff25945b 100644 --- a/proto/compliance/provisional_model.proto +++ b/proto/compliance/types/provisional_model.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.compliance; +package compliance.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types"; diff --git a/proto/compliance/query.proto b/proto/compliance/types/query.proto similarity index 95% rename from proto/compliance/query.proto rename to proto/compliance/types/query.proto index 738520588..320a848a0 100644 --- a/proto/compliance/query.proto +++ b/proto/compliance/types/query.proto @@ -1,13 +1,13 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.compliance; +package compliance.types; import "google/api/annotations.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; -import "compliance/compliance_info.proto"; -import "compliance/certified_model.proto"; -import "compliance/revoked_model.proto"; -import "compliance/provisional_model.proto"; -import "compliance/device_software_compliance.proto"; +import "compliance/types/compliance_info.proto"; +import "compliance/types/certified_model.proto"; +import "compliance/types/revoked_model.proto"; +import "compliance/types/provisional_model.proto"; +import "compliance/types/device_software_compliance.proto"; // this line is used by starport scaffolding # 1 import "gogoproto/gogo.proto"; diff --git a/proto/compliance/revoked_model.proto b/proto/compliance/types/revoked_model.proto similarity index 80% rename from proto/compliance/revoked_model.proto rename to proto/compliance/types/revoked_model.proto index 9676865bd..399c97925 100644 --- a/proto/compliance/revoked_model.proto +++ b/proto/compliance/types/revoked_model.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.compliance; +package compliance.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types"; diff --git a/proto/compliance/tx.proto b/proto/compliance/types/tx.proto similarity index 99% rename from proto/compliance/tx.proto rename to proto/compliance/types/tx.proto index debf0538c..980d9e36e 100644 --- a/proto/compliance/tx.proto +++ b/proto/compliance/types/tx.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.compliance; +package compliance.types; // this line is used by starport scaffolding # proto/tx/import diff --git a/proto/dclauth/account.proto b/proto/dclauth/types/account.proto similarity index 82% rename from proto/dclauth/account.proto rename to proto/dclauth/types/account.proto index 14e2e0562..03d7b663f 100644 --- a/proto/dclauth/account.proto +++ b/proto/dclauth/types/account.proto @@ -1,12 +1,12 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.dclauth; +package dclauth.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types"; import "gogoproto/gogo.proto"; import "cosmos/auth/v1beta1/auth.proto"; -import "common/uint16_range.proto"; -import "dclauth/grant.proto"; +import "common/types/uint16_range.proto"; +import "dclauth/types/grant.proto"; message Account { @@ -22,6 +22,6 @@ message Account { repeated Grant approvals = 3; int32 vendorID = 4; repeated Grant rejects = 5; - repeated common.Uint16Range productIDs = 6; + repeated common.types.Uint16Range productIDs = 6; } diff --git a/proto/dclauth/account_stat.proto b/proto/dclauth/types/account_stat.proto similarity index 73% rename from proto/dclauth/account_stat.proto rename to proto/dclauth/types/account_stat.proto index e20783f8f..ec47e5245 100644 --- a/proto/dclauth/account_stat.proto +++ b/proto/dclauth/types/account_stat.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.dclauth; +package dclauth.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types"; diff --git a/proto/dclauth/genesis.proto b/proto/dclauth/types/genesis.proto similarity index 73% rename from proto/dclauth/genesis.proto rename to proto/dclauth/types/genesis.proto index f68cf4d81..f89d2d174 100644 --- a/proto/dclauth/genesis.proto +++ b/proto/dclauth/types/genesis.proto @@ -1,12 +1,12 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.dclauth; +package dclauth.types; -import "dclauth/account.proto"; -import "dclauth/pending_account.proto"; -import "dclauth/pending_account_revocation.proto"; -import "dclauth/account_stat.proto"; -import "dclauth/revoked_account.proto"; -import "dclauth/rejected_account.proto"; +import "dclauth/types/account.proto"; +import "dclauth/types/pending_account.proto"; +import "dclauth/types/pending_account_revocation.proto"; +import "dclauth/types/account_stat.proto"; +import "dclauth/types/revoked_account.proto"; +import "dclauth/types/rejected_account.proto"; // this line is used by starport scaffolding # genesis/proto/import import "gogoproto/gogo.proto"; diff --git a/proto/dclauth/grant.proto b/proto/dclauth/types/grant.proto similarity index 85% rename from proto/dclauth/grant.proto rename to proto/dclauth/types/grant.proto index 53f7ed323..a26c9da8a 100644 --- a/proto/dclauth/grant.proto +++ b/proto/dclauth/types/grant.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.dclauth; +package dclauth.types; import "cosmos_proto/cosmos.proto"; diff --git a/proto/dclauth/pending_account.proto b/proto/dclauth/types/pending_account.proto similarity index 80% rename from proto/dclauth/pending_account.proto rename to proto/dclauth/types/pending_account.proto index 1d5fd1899..2fc6e70ce 100644 --- a/proto/dclauth/pending_account.proto +++ b/proto/dclauth/types/pending_account.proto @@ -1,10 +1,10 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.dclauth; +package dclauth.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types"; import "gogoproto/gogo.proto"; -import "dclauth/account.proto"; +import "dclauth/types/account.proto"; message PendingAccount { // TODO issue 99: do we need that ??? diff --git a/proto/dclauth/pending_account_revocation.proto b/proto/dclauth/types/pending_account_revocation.proto similarity index 80% rename from proto/dclauth/pending_account_revocation.proto rename to proto/dclauth/types/pending_account_revocation.proto index 0ce68d342..e109f3794 100644 --- a/proto/dclauth/pending_account_revocation.proto +++ b/proto/dclauth/types/pending_account_revocation.proto @@ -1,11 +1,11 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.dclauth; +package dclauth.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types"; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; -import "dclauth/grant.proto"; +import "dclauth/types/grant.proto"; message PendingAccountRevocation { option (gogoproto.goproto_stringer) = false; diff --git a/proto/dclauth/query.proto b/proto/dclauth/types/query.proto similarity index 94% rename from proto/dclauth/query.proto rename to proto/dclauth/types/query.proto index ba628b68c..7b59cb1b5 100644 --- a/proto/dclauth/query.proto +++ b/proto/dclauth/types/query.proto @@ -1,14 +1,14 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.dclauth; +package dclauth.types; import "google/api/annotations.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; -import "dclauth/account.proto"; -import "dclauth/pending_account.proto"; -import "dclauth/pending_account_revocation.proto"; -import "dclauth/account_stat.proto"; -import "dclauth/revoked_account.proto"; -import "dclauth/rejected_account.proto"; +import "dclauth/types/account.proto"; +import "dclauth/types/pending_account.proto"; +import "dclauth/types/pending_account_revocation.proto"; +import "dclauth/types/account_stat.proto"; +import "dclauth/types/revoked_account.proto"; +import "dclauth/types/rejected_account.proto"; // this line is used by starport scaffolding # 1 import "gogoproto/gogo.proto"; diff --git a/proto/dclauth/rejected_account.proto b/proto/dclauth/types/rejected_account.proto similarity index 65% rename from proto/dclauth/rejected_account.proto rename to proto/dclauth/types/rejected_account.proto index 277e0d8c2..d65a54ae3 100644 --- a/proto/dclauth/rejected_account.proto +++ b/proto/dclauth/types/rejected_account.proto @@ -1,11 +1,11 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.dclauth; +package dclauth.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types"; import "gogoproto/gogo.proto"; -import "dclauth/account.proto"; -import "dclauth/grant.proto"; +import "dclauth/types/account.proto"; +import "dclauth/types/grant.proto"; message RejectedAccount { Account account = 1 [(gogoproto.embed) = true]; diff --git a/proto/dclauth/revoked_account.proto b/proto/dclauth/types/revoked_account.proto similarity index 74% rename from proto/dclauth/revoked_account.proto rename to proto/dclauth/types/revoked_account.proto index 8ce6d5025..17d42a1d7 100644 --- a/proto/dclauth/revoked_account.proto +++ b/proto/dclauth/types/revoked_account.proto @@ -1,11 +1,11 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.dclauth; +package dclauth.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types"; import "gogoproto/gogo.proto"; -import "dclauth/account.proto"; -import "dclauth/grant.proto"; +import "dclauth/types/account.proto"; +import "dclauth/types/grant.proto"; message RevokedAccount { Account account = 1 [(gogoproto.embed) = true]; diff --git a/proto/dclauth/tx.proto b/proto/dclauth/types/tx.proto similarity index 95% rename from proto/dclauth/tx.proto rename to proto/dclauth/types/tx.proto index 72c172244..0c1b85e0b 100644 --- a/proto/dclauth/tx.proto +++ b/proto/dclauth/types/tx.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.dclauth; +package dclauth.types; // this line is used by starport scaffolding # proto/tx/import @@ -8,7 +8,7 @@ option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/ import "google/protobuf/any.proto"; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; -import "common/uint16_range.proto"; +import "common/types/uint16_range.proto"; // Msg defines the Msg service. service Msg { @@ -28,7 +28,7 @@ message MsgProposeAddAccount { int32 vendorID = 5 [(gogoproto.moretags) = "validate:\"gte=0,lte=65535\""]; string info = 6 [(gogoproto.moretags) = "validate:\"max=4096\""]; int64 time = 7; - repeated common.Uint16Range productIDs = 8; + repeated common.types.Uint16Range productIDs = 8; } message MsgProposeAddAccountResponse { diff --git a/proto/dclgenutil/genesis.proto b/proto/dclgenutil/types/genesis.proto similarity index 89% rename from proto/dclgenutil/genesis.proto rename to proto/dclgenutil/types/genesis.proto index 92f1a2eb2..1271e7b64 100644 --- a/proto/dclgenutil/genesis.proto +++ b/proto/dclgenutil/types/genesis.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.dclgenutil; +package dclgenutil.types; // this line is used by starport scaffolding # genesis/proto/import diff --git a/proto/dclgenutil/query.proto b/proto/dclgenutil/types/query.proto similarity index 85% rename from proto/dclgenutil/query.proto rename to proto/dclgenutil/types/query.proto index 315d5556d..6930fb68c 100644 --- a/proto/dclgenutil/query.proto +++ b/proto/dclgenutil/types/query.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.dclgenutil; +package dclgenutil.types; import "google/api/annotations.proto"; // this line is used by starport scaffolding # 1 diff --git a/proto/dclgenutil/tx.proto b/proto/dclgenutil/types/tx.proto similarity index 85% rename from proto/dclgenutil/tx.proto rename to proto/dclgenutil/types/tx.proto index 570252719..c107a53b7 100644 --- a/proto/dclgenutil/tx.proto +++ b/proto/dclgenutil/types/tx.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.dclgenutil; +package dclgenutil.types; // this line is used by starport scaffolding # proto/tx/import diff --git a/proto/dclupgrade/approved_upgrade.proto b/proto/dclupgrade/types/approved_upgrade.proto similarity index 83% rename from proto/dclupgrade/approved_upgrade.proto rename to proto/dclupgrade/types/approved_upgrade.proto index f569b9bbb..c8ff32b53 100644 --- a/proto/dclupgrade/approved_upgrade.proto +++ b/proto/dclupgrade/types/approved_upgrade.proto @@ -1,10 +1,10 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.dclupgrade; +package dclupgrade.types; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; import "cosmos/upgrade/v1beta1/upgrade.proto"; -import "dclupgrade/grant.proto"; +import "dclupgrade/types/grant.proto"; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclupgrade/types"; diff --git a/proto/dclupgrade/genesis.proto b/proto/dclupgrade/types/genesis.proto similarity index 76% rename from proto/dclupgrade/genesis.proto rename to proto/dclupgrade/types/genesis.proto index 2e4d821c3..b827b38ff 100644 --- a/proto/dclupgrade/genesis.proto +++ b/proto/dclupgrade/types/genesis.proto @@ -1,10 +1,10 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.dclupgrade; +package dclupgrade.types; import "gogoproto/gogo.proto"; -import "dclupgrade/proposed_upgrade.proto"; -import "dclupgrade/approved_upgrade.proto"; -import "dclupgrade/rejected_upgrade.proto"; +import "dclupgrade/types/proposed_upgrade.proto"; +import "dclupgrade/types/approved_upgrade.proto"; +import "dclupgrade/types/rejected_upgrade.proto"; // this line is used by starport scaffolding # genesis/proto/import option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclupgrade/types"; diff --git a/proto/dclupgrade/grant.proto b/proto/dclupgrade/types/grant.proto similarity index 84% rename from proto/dclupgrade/grant.proto rename to proto/dclupgrade/types/grant.proto index 7ac0410e8..fad97aeb9 100644 --- a/proto/dclupgrade/grant.proto +++ b/proto/dclupgrade/types/grant.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.dclupgrade; +package dclupgrade.types; import "cosmos_proto/cosmos.proto"; diff --git a/proto/dclupgrade/proposed_upgrade.proto b/proto/dclupgrade/types/proposed_upgrade.proto similarity index 83% rename from proto/dclupgrade/proposed_upgrade.proto rename to proto/dclupgrade/types/proposed_upgrade.proto index ce4a4d73a..c2d8b4f99 100644 --- a/proto/dclupgrade/proposed_upgrade.proto +++ b/proto/dclupgrade/types/proposed_upgrade.proto @@ -1,10 +1,10 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.dclupgrade; +package dclupgrade.types; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; import "cosmos/upgrade/v1beta1/upgrade.proto"; -import "dclupgrade/grant.proto"; +import "dclupgrade/types/grant.proto"; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclupgrade/types"; diff --git a/proto/dclupgrade/query.proto b/proto/dclupgrade/types/query.proto similarity index 94% rename from proto/dclupgrade/query.proto rename to proto/dclupgrade/types/query.proto index 0ba9cce64..a681c79f7 100644 --- a/proto/dclupgrade/query.proto +++ b/proto/dclupgrade/types/query.proto @@ -1,12 +1,12 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.dclupgrade; +package dclupgrade.types; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; -import "dclupgrade/proposed_upgrade.proto"; -import "dclupgrade/approved_upgrade.proto"; -import "dclupgrade/rejected_upgrade.proto"; +import "dclupgrade/types/proposed_upgrade.proto"; +import "dclupgrade/types/approved_upgrade.proto"; +import "dclupgrade/types/rejected_upgrade.proto"; // this line is used by starport scaffolding # 1 option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclupgrade/types"; diff --git a/proto/dclupgrade/rejected_upgrade.proto b/proto/dclupgrade/types/rejected_upgrade.proto similarity index 83% rename from proto/dclupgrade/rejected_upgrade.proto rename to proto/dclupgrade/types/rejected_upgrade.proto index 2a166e6a1..3cd51b69c 100644 --- a/proto/dclupgrade/rejected_upgrade.proto +++ b/proto/dclupgrade/types/rejected_upgrade.proto @@ -1,10 +1,10 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.dclupgrade; +package dclupgrade.types; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; import "cosmos/upgrade/v1beta1/upgrade.proto"; -import "dclupgrade/grant.proto"; +import "dclupgrade/types/grant.proto"; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclupgrade/types"; diff --git a/proto/dclupgrade/tx.proto b/proto/dclupgrade/types/tx.proto similarity index 96% rename from proto/dclupgrade/tx.proto rename to proto/dclupgrade/types/tx.proto index 5a2194edc..5cc59e88f 100644 --- a/proto/dclupgrade/tx.proto +++ b/proto/dclupgrade/types/tx.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.dclupgrade; +package dclupgrade.types; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; diff --git a/proto/model/genesis.proto b/proto/model/types/genesis.proto similarity index 77% rename from proto/model/genesis.proto rename to proto/model/types/genesis.proto index c515742f0..0fefcc288 100644 --- a/proto/model/genesis.proto +++ b/proto/model/types/genesis.proto @@ -1,10 +1,10 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.model; +package model.types; -import "model/vendor_products.proto"; -import "model/model.proto"; -import "model/model_version.proto"; -import "model/model_versions.proto"; +import "model/types/vendor_products.proto"; +import "model/types/model.proto"; +import "model/types/model_version.proto"; +import "model/types/model_versions.proto"; // this line is used by starport scaffolding # genesis/proto/import import "gogoproto/gogo.proto"; diff --git a/proto/model/model.proto b/proto/model/types/model.proto similarity index 93% rename from proto/model/model.proto rename to proto/model/types/model.proto index 0765405f3..a7c8b6d7a 100644 --- a/proto/model/model.proto +++ b/proto/model/types/model.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.model; +package model.types; import "cosmos_proto/cosmos.proto"; diff --git a/proto/model/model_version.proto b/proto/model/types/model_version.proto similarity index 92% rename from proto/model/model_version.proto rename to proto/model/types/model_version.proto index 4f576fa4a..ebccc087c 100644 --- a/proto/model/model_version.proto +++ b/proto/model/types/model_version.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.model; +package model.types; import "cosmos_proto/cosmos.proto"; diff --git a/proto/model/model_versions.proto b/proto/model/types/model_versions.proto similarity index 79% rename from proto/model/model_versions.proto rename to proto/model/types/model_versions.proto index fb30a7ed8..4ecaa5c36 100644 --- a/proto/model/model_versions.proto +++ b/proto/model/types/model_versions.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.model; +package model.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/types"; diff --git a/proto/model/product.proto b/proto/model/types/product.proto similarity index 77% rename from proto/model/product.proto rename to proto/model/types/product.proto index f1e1297bc..b5ab57455 100644 --- a/proto/model/product.proto +++ b/proto/model/types/product.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.model; +package model.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/types"; diff --git a/proto/model/query.proto b/proto/model/types/query.proto similarity index 92% rename from proto/model/query.proto rename to proto/model/types/query.proto index 7c3a30b5f..cceed0178 100644 --- a/proto/model/query.proto +++ b/proto/model/types/query.proto @@ -1,12 +1,12 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.model; +package model.types; import "google/api/annotations.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; -import "model/vendor_products.proto"; -import "model/model.proto"; -import "model/model_version.proto"; -import "model/model_versions.proto"; +import "model/types/vendor_products.proto"; +import "model/types/model.proto"; +import "model/types/model_version.proto"; +import "model/types/model_versions.proto"; // this line is used by starport scaffolding # 1 import "gogoproto/gogo.proto"; diff --git a/proto/model/tx.proto b/proto/model/types/tx.proto similarity index 98% rename from proto/model/tx.proto rename to proto/model/types/tx.proto index c0a49b5e7..93ed5f700 100644 --- a/proto/model/tx.proto +++ b/proto/model/types/tx.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.model; +package model.types; -import "model/model.proto"; -import "model/model_version.proto"; +import "model/types/model.proto"; +import "model/types/model_version.proto"; // this line is used by starport scaffolding # proto/tx/import import "gogoproto/gogo.proto"; diff --git a/proto/model/vendor_products.proto b/proto/model/types/vendor_products.proto similarity index 68% rename from proto/model/vendor_products.proto rename to proto/model/types/vendor_products.proto index 5dd01a95a..616122570 100644 --- a/proto/model/vendor_products.proto +++ b/proto/model/types/vendor_products.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.model; +package model.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/types"; -import "model/product.proto"; +import "model/types/product.proto"; message VendorProducts { int32 vid = 1; diff --git a/proto/pki/approved_certificates.proto b/proto/pki/types/approved_certificates.proto similarity index 72% rename from proto/pki/approved_certificates.proto rename to proto/pki/types/approved_certificates.proto index 942d43fb1..59317a5a1 100644 --- a/proto/pki/approved_certificates.proto +++ b/proto/pki/types/approved_certificates.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.pki; +package pki.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types"; -import "pki/certificate.proto"; +import "pki/types/certificate.proto"; message ApprovedCertificates { string subject = 1; diff --git a/proto/pki/approved_certificates_by_subject.proto b/proto/pki/types/approved_certificates_by_subject.proto similarity index 79% rename from proto/pki/approved_certificates_by_subject.proto rename to proto/pki/types/approved_certificates_by_subject.proto index 40d34442f..79260ed02 100644 --- a/proto/pki/approved_certificates_by_subject.proto +++ b/proto/pki/types/approved_certificates_by_subject.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.pki; +package pki.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types"; diff --git a/proto/pki/approved_certificates_by_subject_key_id.proto b/proto/pki/types/approved_certificates_by_subject_key_id.proto similarity index 71% rename from proto/pki/approved_certificates_by_subject_key_id.proto rename to proto/pki/types/approved_certificates_by_subject_key_id.proto index 82486062d..94dbe1553 100644 --- a/proto/pki/approved_certificates_by_subject_key_id.proto +++ b/proto/pki/types/approved_certificates_by_subject_key_id.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.pki; +package pki.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types"; -import "pki/certificate.proto"; +import "pki/types/certificate.proto"; message ApprovedCertificatesBySubjectKeyId { string subjectKeyId = 1; diff --git a/proto/pki/approved_root_certificates.proto b/proto/pki/types/approved_root_certificates.proto similarity index 66% rename from proto/pki/approved_root_certificates.proto rename to proto/pki/types/approved_root_certificates.proto index d211918e6..da7f85302 100644 --- a/proto/pki/approved_root_certificates.proto +++ b/proto/pki/types/approved_root_certificates.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.pki; +package pki.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types"; -import "pki/certificate_identifier.proto"; +import "pki/types/certificate_identifier.proto"; message ApprovedRootCertificates { repeated CertificateIdentifier certs = 1; diff --git a/proto/pki/certificate.proto b/proto/pki/types/certificate.proto similarity index 89% rename from proto/pki/certificate.proto rename to proto/pki/types/certificate.proto index 3d183f413..27136f5af 100644 --- a/proto/pki/certificate.proto +++ b/proto/pki/types/certificate.proto @@ -1,12 +1,12 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.pki; +package pki.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types"; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; -import "pki/grant.proto"; +import "pki/types/grant.proto"; message Certificate { diff --git a/proto/pki/certificate_identifier.proto b/proto/pki/types/certificate_identifier.proto similarity index 78% rename from proto/pki/certificate_identifier.proto rename to proto/pki/types/certificate_identifier.proto index e5d918f78..8bd85f6ce 100644 --- a/proto/pki/certificate_identifier.proto +++ b/proto/pki/types/certificate_identifier.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.pki; +package pki.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types"; diff --git a/proto/pki/child_certificates.proto b/proto/pki/types/child_certificates.proto similarity index 71% rename from proto/pki/child_certificates.proto rename to proto/pki/types/child_certificates.proto index 5b0967fdf..c5f224bba 100644 --- a/proto/pki/child_certificates.proto +++ b/proto/pki/types/child_certificates.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.pki; +package pki.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types"; -import "pki/certificate_identifier.proto"; +import "pki/types/certificate_identifier.proto"; message ChildCertificates { string issuer = 1; diff --git a/proto/pki/genesis.proto b/proto/pki/types/genesis.proto similarity index 69% rename from proto/pki/genesis.proto rename to proto/pki/types/genesis.proto index 02b63170b..10e864338 100644 --- a/proto/pki/genesis.proto +++ b/proto/pki/types/genesis.proto @@ -1,19 +1,19 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.pki; +package pki.types; -import "pki/approved_certificates.proto"; -import "pki/proposed_certificate.proto"; -import "pki/child_certificates.proto"; -import "pki/proposed_certificate_revocation.proto"; -import "pki/revoked_certificates.proto"; -import "pki/unique_certificate.proto"; -import "pki/approved_root_certificates.proto"; -import "pki/revoked_root_certificates.proto"; -import "pki/approved_certificates_by_subject.proto"; -import "pki/rejected_certificate.proto"; -import "pki/pki_revocation_distribution_point.proto"; -import "pki/pki_revocation_distribution_points_by_issuer_subject_key_id.proto"; -import "pki/approved_certificates_by_subject_key_id.proto"; +import "pki/types/approved_certificates.proto"; +import "pki/types/proposed_certificate.proto"; +import "pki/types/child_certificates.proto"; +import "pki/types/proposed_certificate_revocation.proto"; +import "pki/types/revoked_certificates.proto"; +import "pki/types/unique_certificate.proto"; +import "pki/types/approved_root_certificates.proto"; +import "pki/types/revoked_root_certificates.proto"; +import "pki/types/approved_certificates_by_subject.proto"; +import "pki/types/rejected_certificate.proto"; +import "pki/types/pki_revocation_distribution_point.proto"; +import "pki/types/pki_revocation_distribution_points_by_issuer_subject_key_id.proto"; +import "pki/types/approved_certificates_by_subject_key_id.proto"; // this line is used by starport scaffolding # genesis/proto/import import "gogoproto/gogo.proto"; diff --git a/proto/pki/grant.proto b/proto/pki/types/grant.proto similarity index 85% rename from proto/pki/grant.proto rename to proto/pki/types/grant.proto index 5c76753c3..dc6d93fbd 100644 --- a/proto/pki/grant.proto +++ b/proto/pki/types/grant.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.pki; +package pki.types; import "cosmos_proto/cosmos.proto"; diff --git a/proto/pki/pki_revocation_distribution_point.proto b/proto/pki/types/pki_revocation_distribution_point.proto similarity index 88% rename from proto/pki/pki_revocation_distribution_point.proto rename to proto/pki/types/pki_revocation_distribution_point.proto index 2aef749e9..7787735d8 100644 --- a/proto/pki/pki_revocation_distribution_point.proto +++ b/proto/pki/types/pki_revocation_distribution_point.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.pki; +package pki.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types"; diff --git a/proto/pki/pki_revocation_distribution_points_by_issuer_subject_key_id.proto b/proto/pki/types/pki_revocation_distribution_points_by_issuer_subject_key_id.proto similarity index 70% rename from proto/pki/pki_revocation_distribution_points_by_issuer_subject_key_id.proto rename to proto/pki/types/pki_revocation_distribution_points_by_issuer_subject_key_id.proto index eacb70355..f626675e6 100644 --- a/proto/pki/pki_revocation_distribution_points_by_issuer_subject_key_id.proto +++ b/proto/pki/types/pki_revocation_distribution_points_by_issuer_subject_key_id.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.pki; +package pki.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types"; -import "pki/pki_revocation_distribution_point.proto"; +import "pki/types/pki_revocation_distribution_point.proto"; message PkiRevocationDistributionPointsByIssuerSubjectKeyID { string issuerSubjectKeyID = 1; diff --git a/proto/pki/proposed_certificate.proto b/proto/pki/types/proposed_certificate.proto similarity index 87% rename from proto/pki/proposed_certificate.proto rename to proto/pki/types/proposed_certificate.proto index ffed8e509..71bc5bc01 100644 --- a/proto/pki/proposed_certificate.proto +++ b/proto/pki/types/proposed_certificate.proto @@ -1,11 +1,11 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.pki; +package pki.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types"; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; -import "pki/grant.proto"; +import "pki/types/grant.proto"; message ProposedCertificate { string subject = 1; diff --git a/proto/pki/proposed_certificate_revocation.proto b/proto/pki/types/proposed_certificate_revocation.proto similarity index 76% rename from proto/pki/proposed_certificate_revocation.proto rename to proto/pki/types/proposed_certificate_revocation.proto index b1588ef94..8207c9121 100644 --- a/proto/pki/proposed_certificate_revocation.proto +++ b/proto/pki/types/proposed_certificate_revocation.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.pki; +package pki.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types"; -import "pki/grant.proto"; +import "pki/types/grant.proto"; message ProposedCertificateRevocation { string subject = 1; diff --git a/proto/pki/query.proto b/proto/pki/types/query.proto similarity index 93% rename from proto/pki/query.proto rename to proto/pki/types/query.proto index 4c99abd33..2d7c9023b 100644 --- a/proto/pki/query.proto +++ b/proto/pki/types/query.proto @@ -1,19 +1,19 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.pki; +package pki.types; import "google/api/annotations.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; -import "pki/approved_certificates.proto"; -import "pki/proposed_certificate.proto"; -import "pki/child_certificates.proto"; -import "pki/proposed_certificate_revocation.proto"; -import "pki/revoked_certificates.proto"; -import "pki/approved_root_certificates.proto"; -import "pki/revoked_root_certificates.proto"; -import "pki/approved_certificates_by_subject.proto"; -import "pki/rejected_certificate.proto"; -import "pki/pki_revocation_distribution_point.proto"; -import "pki/pki_revocation_distribution_points_by_issuer_subject_key_id.proto"; +import "pki/types/approved_certificates.proto"; +import "pki/types/proposed_certificate.proto"; +import "pki/types/child_certificates.proto"; +import "pki/types/proposed_certificate_revocation.proto"; +import "pki/types/revoked_certificates.proto"; +import "pki/types/approved_root_certificates.proto"; +import "pki/types/revoked_root_certificates.proto"; +import "pki/types/approved_certificates_by_subject.proto"; +import "pki/types/rejected_certificate.proto"; +import "pki/types/pki_revocation_distribution_point.proto"; +import "pki/types/pki_revocation_distribution_points_by_issuer_subject_key_id.proto"; // this line is used by starport scaffolding # 1 import "gogoproto/gogo.proto"; diff --git a/proto/pki/rejected_certificate.proto b/proto/pki/types/rejected_certificate.proto similarity index 72% rename from proto/pki/rejected_certificate.proto rename to proto/pki/types/rejected_certificate.proto index 895c700f5..2b00b3284 100644 --- a/proto/pki/rejected_certificate.proto +++ b/proto/pki/types/rejected_certificate.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.pki; +package pki.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types"; -import "pki/certificate.proto"; +import "pki/types/certificate.proto"; message RejectedCertificate { string subject = 1; diff --git a/proto/pki/revoked_certificates.proto b/proto/pki/types/revoked_certificates.proto similarity index 72% rename from proto/pki/revoked_certificates.proto rename to proto/pki/types/revoked_certificates.proto index 08094cc55..28a973910 100644 --- a/proto/pki/revoked_certificates.proto +++ b/proto/pki/types/revoked_certificates.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.pki; +package pki.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types"; -import "pki/certificate.proto"; +import "pki/types/certificate.proto"; message RevokedCertificates { string subject = 1; diff --git a/proto/pki/revoked_root_certificates.proto b/proto/pki/types/revoked_root_certificates.proto similarity index 66% rename from proto/pki/revoked_root_certificates.proto rename to proto/pki/types/revoked_root_certificates.proto index 37af6b296..b57db7484 100644 --- a/proto/pki/revoked_root_certificates.proto +++ b/proto/pki/types/revoked_root_certificates.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.pki; +package pki.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types"; -import "pki/certificate_identifier.proto"; +import "pki/types/certificate_identifier.proto"; message RevokedRootCertificates { repeated CertificateIdentifier certs = 1; diff --git a/proto/pki/tx.proto b/proto/pki/types/tx.proto similarity index 99% rename from proto/pki/tx.proto rename to proto/pki/types/tx.proto index d69827353..f8d58da60 100644 --- a/proto/pki/tx.proto +++ b/proto/pki/types/tx.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.pki; +package pki.types; // this line is used by starport scaffolding # proto/tx/import diff --git a/proto/pki/unique_certificate.proto b/proto/pki/types/unique_certificate.proto similarity index 79% rename from proto/pki/unique_certificate.proto rename to proto/pki/types/unique_certificate.proto index 211fa2d24..c1ddf2148 100644 --- a/proto/pki/unique_certificate.proto +++ b/proto/pki/types/unique_certificate.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.pki; +package pki.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types"; diff --git a/proto/validator/description.proto b/proto/validator/types/description.proto similarity index 88% rename from proto/validator/description.proto rename to proto/validator/types/description.proto index cab63b793..e9eda48a1 100644 --- a/proto/validator/description.proto +++ b/proto/validator/types/description.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.validator; +package validator.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/types"; diff --git a/proto/validator/disabled_validator.proto b/proto/validator/types/disabled_validator.proto similarity index 81% rename from proto/validator/disabled_validator.proto rename to proto/validator/types/disabled_validator.proto index a26faeb86..c7a4ba008 100644 --- a/proto/validator/disabled_validator.proto +++ b/proto/validator/types/disabled_validator.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.validator; +package validator.types; import "cosmos_proto/cosmos.proto"; -import "validator/grant.proto"; +import "validator/types/grant.proto"; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/types"; diff --git a/proto/validator/genesis.proto b/proto/validator/types/genesis.proto similarity index 73% rename from proto/validator/genesis.proto rename to proto/validator/types/genesis.proto index 81310e6f2..809544ebc 100644 --- a/proto/validator/genesis.proto +++ b/proto/validator/types/genesis.proto @@ -1,11 +1,11 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.validator; +package validator.types; -import "validator/validator.proto"; -import "validator/last_validator_power.proto"; -import "validator/proposed_disable_validator.proto"; -import "validator/disabled_validator.proto"; -import "validator/rejected_validator.proto"; +import "validator/types/validator.proto"; +import "validator/types/last_validator_power.proto"; +import "validator/types/proposed_disable_validator.proto"; +import "validator/types/disabled_validator.proto"; +import "validator/types/rejected_validator.proto"; // this line is used by starport scaffolding # genesis/proto/import import "gogoproto/gogo.proto"; diff --git a/proto/validator/grant.proto b/proto/validator/types/grant.proto similarity index 84% rename from proto/validator/grant.proto rename to proto/validator/types/grant.proto index 3284611f9..3dbc019a3 100644 --- a/proto/validator/grant.proto +++ b/proto/validator/types/grant.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.validator; +package validator.types; import "cosmos_proto/cosmos.proto"; diff --git a/proto/validator/last_validator_power.proto b/proto/validator/types/last_validator_power.proto similarity index 88% rename from proto/validator/last_validator_power.proto rename to proto/validator/types/last_validator_power.proto index bae289aa3..bc672692c 100644 --- a/proto/validator/last_validator_power.proto +++ b/proto/validator/types/last_validator_power.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.validator; +package validator.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/types"; diff --git a/proto/validator/proposed_disable_validator.proto b/proto/validator/types/proposed_disable_validator.proto similarity index 81% rename from proto/validator/proposed_disable_validator.proto rename to proto/validator/types/proposed_disable_validator.proto index ac2e56280..a10c77dd0 100644 --- a/proto/validator/proposed_disable_validator.proto +++ b/proto/validator/types/proposed_disable_validator.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.validator; +package validator.types; import "cosmos_proto/cosmos.proto"; -import "validator/grant.proto"; +import "validator/types/grant.proto"; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/types"; diff --git a/proto/validator/query.proto b/proto/validator/types/query.proto similarity index 94% rename from proto/validator/query.proto rename to proto/validator/types/query.proto index c46687c31..6250aea10 100644 --- a/proto/validator/query.proto +++ b/proto/validator/types/query.proto @@ -1,13 +1,13 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.validator; +package validator.types; import "google/api/annotations.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; -import "validator/validator.proto"; -import "validator/last_validator_power.proto"; -import "validator/proposed_disable_validator.proto"; -import "validator/disabled_validator.proto"; -import "validator/rejected_validator.proto"; +import "validator/types/validator.proto"; +import "validator/types/last_validator_power.proto"; +import "validator/types/proposed_disable_validator.proto"; +import "validator/types/disabled_validator.proto"; +import "validator/types/rejected_validator.proto"; // this line is used by starport scaffolding # 1 import "gogoproto/gogo.proto"; diff --git a/proto/validator/rejected_validator.proto b/proto/validator/types/rejected_validator.proto similarity index 81% rename from proto/validator/rejected_validator.proto rename to proto/validator/types/rejected_validator.proto index 9046b84c2..984a67e9d 100644 --- a/proto/validator/rejected_validator.proto +++ b/proto/validator/types/rejected_validator.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.validator; +package validator.types; import "cosmos_proto/cosmos.proto"; -import "validator/grant.proto"; +import "validator/types/grant.proto"; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/types"; diff --git a/proto/validator/tx.proto b/proto/validator/types/tx.proto similarity index 96% rename from proto/validator/tx.proto rename to proto/validator/types/tx.proto index d8c799d1f..ad4c042bc 100644 --- a/proto/validator/tx.proto +++ b/proto/validator/types/tx.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.validator; +package validator.types; // this line is used by starport scaffolding # proto/tx/import -import "validator/description.proto"; +import "validator/types/description.proto"; import "google/protobuf/any.proto"; import "gogoproto/gogo.proto"; diff --git a/proto/validator/validator.proto b/proto/validator/types/validator.proto similarity index 90% rename from proto/validator/validator.proto rename to proto/validator/types/validator.proto index d9d524a6f..7a9344844 100644 --- a/proto/validator/validator.proto +++ b/proto/validator/types/validator.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.validator; +package validator.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/types"; @@ -7,7 +7,7 @@ import "google/protobuf/any.proto"; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; -import "validator/description.proto"; +import "validator/types/description.proto"; message Validator { option (gogoproto.equal) = false; diff --git a/proto/vendorinfo/genesis.proto b/proto/vendorinfo/types/genesis.proto similarity index 81% rename from proto/vendorinfo/genesis.proto rename to proto/vendorinfo/types/genesis.proto index 2ac32008f..5f6d2e4a2 100644 --- a/proto/vendorinfo/genesis.proto +++ b/proto/vendorinfo/types/genesis.proto @@ -1,7 +1,7 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.vendorinfo; +package vendorinfo.types; -import "vendorinfo/vendor_info.proto"; +import "vendorinfo/types/vendor_info.proto"; // this line is used by starport scaffolding # genesis/proto/import import "gogoproto/gogo.proto"; diff --git a/proto/vendorinfo/query.proto b/proto/vendorinfo/types/query.proto similarity index 92% rename from proto/vendorinfo/query.proto rename to proto/vendorinfo/types/query.proto index f6fc5e55e..3e5bbe944 100644 --- a/proto/vendorinfo/query.proto +++ b/proto/vendorinfo/types/query.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.vendorinfo; +package vendorinfo.types; import "google/api/annotations.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; -import "vendorinfo/vendor_info.proto"; +import "vendorinfo/types/vendor_info.proto"; // this line is used by starport scaffolding # 1 import "gogoproto/gogo.proto"; diff --git a/proto/vendorinfo/tx.proto b/proto/vendorinfo/types/tx.proto similarity index 94% rename from proto/vendorinfo/tx.proto rename to proto/vendorinfo/types/tx.proto index 2aa6f9f1c..08fbd29cc 100644 --- a/proto/vendorinfo/tx.proto +++ b/proto/vendorinfo/types/tx.proto @@ -1,7 +1,7 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.vendorinfo; +package vendorinfo.types; -import "vendorinfo/vendor_info.proto"; +import "vendorinfo/types/vendor_info.proto"; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; // this line is used by starport scaffolding # proto/tx/import diff --git a/proto/vendorinfo/vendor_info.proto b/proto/vendorinfo/types/vendor_info.proto similarity index 86% rename from proto/vendorinfo/vendor_info.proto rename to proto/vendorinfo/types/vendor_info.proto index ceae0bd81..7a6c0b7c9 100644 --- a/proto/vendorinfo/vendor_info.proto +++ b/proto/vendorinfo/types/vendor_info.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package zigbeealliance.distributedcomplianceledger.vendorinfo; +package vendorinfo.types; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/vendorinfo/types"; diff --git a/testutil/keeper/model.go b/testutil/keeper/model.go index 6894f2621..4c5c225fb 100644 --- a/testutil/keeper/model.go +++ b/testutil/keeper/model.go @@ -16,7 +16,7 @@ import ( "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/types" ) -func ModelKeeper(tb testing.TB, dclauthKeeper types.DclauthKeeper, complianceKeeper types.ComplianceKeeper) (*keeper.Keeper, sdk.Context) { +func ModelKeeper(tb testing.TB, dclauthKeeper types.DclauthKeeper, complianceKeeper keeper.ComplianceKeeper) (*keeper.Keeper, sdk.Context) { tb.Helper() storeKey := sdk.NewKVStoreKey(types.StoreKey) memStoreKey := storetypes.NewMemoryStoreKey(types.MemStoreKey) diff --git a/third_party/proto/cosmos/auth/v1beta1/auth.proto b/third_party/proto/cosmos/auth/v1beta1/auth.proto deleted file mode 100644 index 981df4c0c..000000000 --- a/third_party/proto/cosmos/auth/v1beta1/auth.proto +++ /dev/null @@ -1,50 +0,0 @@ -syntax = "proto3"; -package cosmos.auth.v1beta1; - -import "cosmos_proto/cosmos.proto"; -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/auth/types"; - -// BaseAccount defines a base account type. It contains all the necessary fields -// for basic account functionality. Any custom account type should extend this -// type for additional functionality (e.g. vesting). -message BaseAccount { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - option (gogoproto.equal) = false; - - //option (cosmos_proto.implements_interface) = "AccountI"; - - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - google.protobuf.Any pub_key = 2 - [(gogoproto.jsontag) = "public_key,omitempty"]; - uint64 account_number = 3; - uint64 sequence = 4; -} - -// ModuleAccount defines an account for modules that holds coins on a pool. -message ModuleAccount { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - //option (cosmos_proto.implements_interface) = "ModuleAccountI"; - - BaseAccount base_account = 1 [(gogoproto.embed) = true]; - string name = 2; - repeated string permissions = 3; -} - -// Params defines the parameters for the auth module. -message Params { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = false; - - uint64 max_memo_characters = 1; - uint64 tx_sig_limit = 2; - uint64 tx_size_cost_per_byte = 3; - uint64 sig_verify_cost_ed25519 = 4 - [(gogoproto.customname) = "SigVerifyCostED25519"]; - uint64 sig_verify_cost_secp256k1 = 5 - [(gogoproto.customname) = "SigVerifyCostSecp256k1"]; -} diff --git a/third_party/proto/cosmos/base/abci/v1beta1/abci.proto b/third_party/proto/cosmos/base/abci/v1beta1/abci.proto deleted file mode 100644 index 8bfeaf8e1..000000000 --- a/third_party/proto/cosmos/base/abci/v1beta1/abci.proto +++ /dev/null @@ -1,137 +0,0 @@ -syntax = "proto3"; -package cosmos.base.abci.v1beta1; - -import "gogoproto/gogo.proto"; -import "tendermint/abci/types.proto"; -import "google/protobuf/any.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/types"; -option (gogoproto.goproto_stringer_all) = false; - -// TxResponse defines a structure containing relevant tx data and metadata. The -// tags are stringified and the log is JSON decoded. -message TxResponse { - option (gogoproto.goproto_getters) = false; - // The block height - int64 height = 1; - // The transaction hash. - string txhash = 2 [(gogoproto.customname) = "TxHash"]; - // Namespace for the Code - string codespace = 3; - // Response code. - uint32 code = 4; - // Result bytes, if any. - string data = 5; - // The output of the application's logger (raw string). May be - // non-deterministic. - string raw_log = 6; - // The output of the application's logger (typed). May be non-deterministic. - repeated ABCIMessageLog logs = 7 [(gogoproto.castrepeated) = "ABCIMessageLogs", (gogoproto.nullable) = false]; - // Additional information. May be non-deterministic. - string info = 8; - // Amount of gas requested for transaction. - int64 gas_wanted = 9; - // Amount of gas consumed by transaction. - int64 gas_used = 10; - // The request transaction bytes. - google.protobuf.Any tx = 11; - // Time of the previous block. For heights > 1, it's the weighted median of - // the timestamps of the valid votes in the block.LastCommit. For height == 1, - // it's genesis time. - string timestamp = 12; -} - -// ABCIMessageLog defines a structure containing an indexed tx ABCI message log. -message ABCIMessageLog { - option (gogoproto.stringer) = true; - - uint32 msg_index = 1; - string log = 2; - - // Events contains a slice of Event objects that were emitted during some - // execution. - repeated StringEvent events = 3 [(gogoproto.castrepeated) = "StringEvents", (gogoproto.nullable) = false]; -} - -// StringEvent defines en Event object wrapper where all the attributes -// contain key/value pairs that are strings instead of raw bytes. -message StringEvent { - option (gogoproto.stringer) = true; - - string type = 1; - repeated Attribute attributes = 2 [(gogoproto.nullable) = false]; -} - -// Attribute defines an attribute wrapper where the key and value are -// strings instead of raw bytes. -message Attribute { - string key = 1; - string value = 2; -} - -// GasInfo defines tx execution gas context. -message GasInfo { - // GasWanted is the maximum units of work we allow this tx to perform. - uint64 gas_wanted = 1; - - // GasUsed is the amount of gas actually consumed. - uint64 gas_used = 2; -} - -// Result is the union of ResponseFormat and ResponseCheckTx. -message Result { - option (gogoproto.goproto_getters) = false; - - // Data is any data returned from message or handler execution. It MUST be - // length prefixed in order to separate data from multiple message executions. - bytes data = 1; - - // Log contains the log information from message or handler execution. - string log = 2; - - // Events contains a slice of Event objects that were emitted during message - // or handler execution. - repeated tendermint.abci.Event events = 3 [(gogoproto.nullable) = false]; -} - -// SimulationResponse defines the response generated when a transaction is -// successfully simulated. -message SimulationResponse { - GasInfo gas_info = 1 [(gogoproto.embed) = true, (gogoproto.nullable) = false]; - Result result = 2; -} - -// MsgData defines the data returned in a Result object during message -// execution. -message MsgData { - option (gogoproto.stringer) = true; - - string msg_type = 1; - bytes data = 2; -} - -// TxMsgData defines a list of MsgData. A transaction will have a MsgData object -// for each message. -message TxMsgData { - option (gogoproto.stringer) = true; - - repeated MsgData data = 1; -} - -// SearchTxsResult defines a structure for querying txs pageable -message SearchTxsResult { - option (gogoproto.stringer) = true; - - // Count of all txs - uint64 total_count = 1 [(gogoproto.jsontag) = "total_count"]; - // Count of txs in current page - uint64 count = 2; - // Index of current page, start from 1 - uint64 page_number = 3 [(gogoproto.jsontag) = "page_number"]; - // Count of total pages - uint64 page_total = 4 [(gogoproto.jsontag) = "page_total"]; - // Max count txs per page - uint64 limit = 5; - // List of txs in current page - repeated TxResponse txs = 6; -} diff --git a/third_party/proto/cosmos/base/query/v1beta1/pagination.proto b/third_party/proto/cosmos/base/query/v1beta1/pagination.proto deleted file mode 100644 index cd5eb066d..000000000 --- a/third_party/proto/cosmos/base/query/v1beta1/pagination.proto +++ /dev/null @@ -1,55 +0,0 @@ -syntax = "proto3"; -package cosmos.base.query.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/types/query"; - -// PageRequest is to be embedded in gRPC request messages for efficient -// pagination. Ex: -// -// message SomeRequest { -// Foo some_parameter = 1; -// PageRequest pagination = 2; -// } -message PageRequest { - // key is a value returned in PageResponse.next_key to begin - // querying the next page most efficiently. Only one of offset or key - // should be set. - bytes key = 1; - - // offset is a numeric offset that can be used when key is unavailable. - // It is less efficient than using key. Only one of offset or key should - // be set. - uint64 offset = 2; - - // limit is the total number of results to be returned in the result page. - // If left empty it will default to a value to be set by each app. - uint64 limit = 3; - - // count_total is set to true to indicate that the result set should include - // a count of the total number of items available for pagination in UIs. - // count_total is only respected when offset is used. It is ignored when key - // is set. - bool count_total = 4; - - // reverse is set to true if results are to be returned in the descending order. - // - // Since: cosmos-sdk 0.43 - bool reverse = 5; -} - -// PageResponse is to be embedded in gRPC response messages where the -// corresponding request message has used PageRequest. -// -// message SomeResponse { -// repeated Bar results = 1; -// PageResponse page = 2; -// } -message PageResponse { - // next_key is the key to be passed to PageRequest.key to - // query the next page most efficiently - bytes next_key = 1; - - // total is total number of results available if PageRequest.count_total - // was set, its value is undefined otherwise - uint64 total = 2; -} diff --git a/third_party/proto/cosmos/upgrade/v1beta1/upgrade.proto b/third_party/proto/cosmos/upgrade/v1beta1/upgrade.proto deleted file mode 100644 index e888b393d..000000000 --- a/third_party/proto/cosmos/upgrade/v1beta1/upgrade.proto +++ /dev/null @@ -1,78 +0,0 @@ -syntax = "proto3"; -package cosmos.upgrade.v1beta1; - -import "google/protobuf/any.proto"; -import "gogoproto/gogo.proto"; -import "google/protobuf/timestamp.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/upgrade/types"; -option (gogoproto.goproto_getters_all) = false; - -// Plan specifies information about a planned upgrade and when it should occur. -message Plan { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = false; - - // Sets the name for the upgrade. This name will be used by the upgraded - // version of the software to apply any special "on-upgrade" commands during - // the first BeginBlock method after the upgrade is applied. It is also used - // to detect whether a software version can handle a given upgrade. If no - // upgrade handler with this name has been set in the software, it will be - // assumed that the software is out-of-date when the upgrade Time or Height is - // reached and the software will exit. - string name = 1; - - // Deprecated: Time based upgrades have been deprecated. Time based upgrade logic - // has been removed from the SDK. - // If this field is not empty, an error will be thrown. - google.protobuf.Timestamp time = 2 [deprecated = true, (gogoproto.stdtime) = true, (gogoproto.nullable) = false]; - - // The height at which the upgrade must be performed. - // Only used if Time is not set. - int64 height = 3; - - // Any application specific upgrade info to be included on-chain - // such as a git commit that validators could automatically upgrade to - string info = 4; - - // Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been - // moved to the IBC module in the sub module 02-client. - // If this field is not empty, an error will be thrown. - google.protobuf.Any upgraded_client_state = 5 - [deprecated = true, (gogoproto.moretags) = "yaml:\"upgraded_client_state\""]; -} - -// SoftwareUpgradeProposal is a gov Content type for initiating a software -// upgrade. -message SoftwareUpgradeProposal { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = false; - - string title = 1; - string description = 2; - Plan plan = 3 [(gogoproto.nullable) = false]; -} - -// CancelSoftwareUpgradeProposal is a gov Content type for cancelling a software -// upgrade. -message CancelSoftwareUpgradeProposal { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = false; - - string title = 1; - string description = 2; -} - -// ModuleVersion specifies a module and its consensus version. -// -// Since: cosmos-sdk 0.43 -message ModuleVersion { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = true; - - // name of the app module - string name = 1; - - // consensus version of the app module - uint64 version = 2; -} diff --git a/third_party/proto/cosmos_proto/cosmos.proto b/third_party/proto/cosmos_proto/cosmos.proto deleted file mode 100644 index 641ae4639..000000000 --- a/third_party/proto/cosmos_proto/cosmos.proto +++ /dev/null @@ -1,18 +0,0 @@ -syntax = "proto3"; -package cosmos_proto; - -import "google/protobuf/descriptor.proto"; - -option go_package = "github.com/cosmos/cosmos-proto"; - -extend google.protobuf.MessageOptions { - // implements_interface is used to annotate interface implementations - string implements_interface = 93001; -} - -extend google.protobuf.FieldOptions { - // accepts_interface is used to annote fields that accept interfaces - string accepts_interface = 93001; - // scalar is used to define scalar types - string scalar = 93002; -} \ No newline at end of file diff --git a/third_party/proto/gogoproto/gogo.proto b/third_party/proto/gogoproto/gogo.proto deleted file mode 100644 index 974b36a7c..000000000 --- a/third_party/proto/gogoproto/gogo.proto +++ /dev/null @@ -1,145 +0,0 @@ -// Protocol Buffers for Go with Gadgets -// -// Copyright (c) 2013, The GoGo Authors. All rights reserved. -// http://github.com/cosmos/gogoproto -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -syntax = "proto2"; -package gogoproto; - -import "google/protobuf/descriptor.proto"; - -option java_package = "com.google.protobuf"; -option java_outer_classname = "GoGoProtos"; -option go_package = "github.com/cosmos/gogoproto/gogoproto"; - -extend google.protobuf.EnumOptions { - optional bool goproto_enum_prefix = 62001; - optional bool goproto_enum_stringer = 62021; - optional bool enum_stringer = 62022; - optional string enum_customname = 62023; - optional bool enumdecl = 62024; -} - -extend google.protobuf.EnumValueOptions { - optional string enumvalue_customname = 66001; -} - -extend google.protobuf.FileOptions { - optional bool goproto_getters_all = 63001; - optional bool goproto_enum_prefix_all = 63002; - optional bool goproto_stringer_all = 63003; - optional bool verbose_equal_all = 63004; - optional bool face_all = 63005; - optional bool gostring_all = 63006; - optional bool populate_all = 63007; - optional bool stringer_all = 63008; - optional bool onlyone_all = 63009; - - optional bool equal_all = 63013; - optional bool description_all = 63014; - optional bool testgen_all = 63015; - optional bool benchgen_all = 63016; - optional bool marshaler_all = 63017; - optional bool unmarshaler_all = 63018; - optional bool stable_marshaler_all = 63019; - - optional bool sizer_all = 63020; - - optional bool goproto_enum_stringer_all = 63021; - optional bool enum_stringer_all = 63022; - - optional bool unsafe_marshaler_all = 63023; - optional bool unsafe_unmarshaler_all = 63024; - - optional bool goproto_extensions_map_all = 63025; - optional bool goproto_unrecognized_all = 63026; - optional bool gogoproto_import = 63027; - optional bool protosizer_all = 63028; - optional bool compare_all = 63029; - optional bool typedecl_all = 63030; - optional bool enumdecl_all = 63031; - - optional bool goproto_registration = 63032; - optional bool messagename_all = 63033; - - optional bool goproto_sizecache_all = 63034; - optional bool goproto_unkeyed_all = 63035; -} - -extend google.protobuf.MessageOptions { - optional bool goproto_getters = 64001; - optional bool goproto_stringer = 64003; - optional bool verbose_equal = 64004; - optional bool face = 64005; - optional bool gostring = 64006; - optional bool populate = 64007; - optional bool stringer = 67008; - optional bool onlyone = 64009; - - optional bool equal = 64013; - optional bool description = 64014; - optional bool testgen = 64015; - optional bool benchgen = 64016; - optional bool marshaler = 64017; - optional bool unmarshaler = 64018; - optional bool stable_marshaler = 64019; - - optional bool sizer = 64020; - - optional bool unsafe_marshaler = 64023; - optional bool unsafe_unmarshaler = 64024; - - optional bool goproto_extensions_map = 64025; - optional bool goproto_unrecognized = 64026; - - optional bool protosizer = 64028; - optional bool compare = 64029; - - optional bool typedecl = 64030; - - optional bool messagename = 64033; - - optional bool goproto_sizecache = 64034; - optional bool goproto_unkeyed = 64035; -} - -extend google.protobuf.FieldOptions { - optional bool nullable = 65001; - optional bool embed = 65002; - optional string customtype = 65003; - optional string customname = 65004; - optional string jsontag = 65005; - optional string moretags = 65006; - optional string casttype = 65007; - optional string castkey = 65008; - optional string castvalue = 65009; - - optional bool stdtime = 65010; - optional bool stdduration = 65011; - optional bool wktpointer = 65012; - - optional string castrepeated = 65013; -} diff --git a/third_party/proto/google/api/annotations.proto b/third_party/proto/google/api/annotations.proto deleted file mode 100644 index 85c361b47..000000000 --- a/third_party/proto/google/api/annotations.proto +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright (c) 2015, Google Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.api; - -import "google/api/http.proto"; -import "google/protobuf/descriptor.proto"; - -option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; -option java_multiple_files = true; -option java_outer_classname = "AnnotationsProto"; -option java_package = "com.google.api"; -option objc_class_prefix = "GAPI"; - -extend google.protobuf.MethodOptions { - // See `HttpRule`. - HttpRule http = 72295728; -} diff --git a/third_party/proto/google/api/http.proto b/third_party/proto/google/api/http.proto deleted file mode 100644 index 2bd3a19bf..000000000 --- a/third_party/proto/google/api/http.proto +++ /dev/null @@ -1,318 +0,0 @@ -// Copyright 2018 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.api; - -option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; -option java_multiple_files = true; -option java_outer_classname = "HttpProto"; -option java_package = "com.google.api"; -option objc_class_prefix = "GAPI"; - - -// Defines the HTTP configuration for an API service. It contains a list of -// [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method -// to one or more HTTP REST API methods. -message Http { - // A list of HTTP configuration rules that apply to individual API methods. - // - // **NOTE:** All service configuration rules follow "last one wins" order. - repeated HttpRule rules = 1; - - // When set to true, URL path parmeters will be fully URI-decoded except in - // cases of single segment matches in reserved expansion, where "%2F" will be - // left encoded. - // - // The default behavior is to not decode RFC 6570 reserved characters in multi - // segment matches. - bool fully_decode_reserved_expansion = 2; -} - -// `HttpRule` defines the mapping of an RPC method to one or more HTTP -// REST API methods. The mapping specifies how different portions of the RPC -// request message are mapped to URL path, URL query parameters, and -// HTTP request body. The mapping is typically specified as an -// `google.api.http` annotation on the RPC method, -// see "google/api/annotations.proto" for details. -// -// The mapping consists of a field specifying the path template and -// method kind. The path template can refer to fields in the request -// message, as in the example below which describes a REST GET -// operation on a resource collection of messages: -// -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http).get = "/v1/messages/{message_id}/{sub.subfield}"; -// } -// } -// message GetMessageRequest { -// message SubMessage { -// string subfield = 1; -// } -// string message_id = 1; // mapped to the URL -// SubMessage sub = 2; // `sub.subfield` is url-mapped -// } -// message Message { -// string text = 1; // content of the resource -// } -// -// The same http annotation can alternatively be expressed inside the -// `GRPC API Configuration` YAML file. -// -// http: -// rules: -// - selector: .Messaging.GetMessage -// get: /v1/messages/{message_id}/{sub.subfield} -// -// This definition enables an automatic, bidrectional mapping of HTTP -// JSON to RPC. Example: -// -// HTTP | RPC -// -----|----- -// `GET /v1/messages/123456/foo` | `GetMessage(message_id: "123456" sub: SubMessage(subfield: "foo"))` -// -// In general, not only fields but also field paths can be referenced -// from a path pattern. Fields mapped to the path pattern cannot be -// repeated and must have a primitive (non-message) type. -// -// Any fields in the request message which are not bound by the path -// pattern automatically become (optional) HTTP query -// parameters. Assume the following definition of the request message: -// -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http).get = "/v1/messages/{message_id}"; -// } -// } -// message GetMessageRequest { -// message SubMessage { -// string subfield = 1; -// } -// string message_id = 1; // mapped to the URL -// int64 revision = 2; // becomes a parameter -// SubMessage sub = 3; // `sub.subfield` becomes a parameter -// } -// -// -// This enables a HTTP JSON to RPC mapping as below: -// -// HTTP | RPC -// -----|----- -// `GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: "foo"))` -// -// Note that fields which are mapped to HTTP parameters must have a -// primitive type or a repeated primitive type. Message types are not -// allowed. In the case of a repeated type, the parameter can be -// repeated in the URL, as in `...?param=A¶m=B`. -// -// For HTTP method kinds which allow a request body, the `body` field -// specifies the mapping. Consider a REST update method on the -// message resource collection: -// -// -// service Messaging { -// rpc UpdateMessage(UpdateMessageRequest) returns (Message) { -// option (google.api.http) = { -// put: "/v1/messages/{message_id}" -// body: "message" -// }; -// } -// } -// message UpdateMessageRequest { -// string message_id = 1; // mapped to the URL -// Message message = 2; // mapped to the body -// } -// -// -// The following HTTP JSON to RPC mapping is enabled, where the -// representation of the JSON in the request body is determined by -// protos JSON encoding: -// -// HTTP | RPC -// -----|----- -// `PUT /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" message { text: "Hi!" })` -// -// The special name `*` can be used in the body mapping to define that -// every field not bound by the path template should be mapped to the -// request body. This enables the following alternative definition of -// the update method: -// -// service Messaging { -// rpc UpdateMessage(Message) returns (Message) { -// option (google.api.http) = { -// put: "/v1/messages/{message_id}" -// body: "*" -// }; -// } -// } -// message Message { -// string message_id = 1; -// string text = 2; -// } -// -// -// The following HTTP JSON to RPC mapping is enabled: -// -// HTTP | RPC -// -----|----- -// `PUT /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" text: "Hi!")` -// -// Note that when using `*` in the body mapping, it is not possible to -// have HTTP parameters, as all fields not bound by the path end in -// the body. This makes this option more rarely used in practice of -// defining REST APIs. The common usage of `*` is in custom methods -// which don't use the URL at all for transferring data. -// -// It is possible to define multiple HTTP methods for one RPC by using -// the `additional_bindings` option. Example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get: "/v1/messages/{message_id}" -// additional_bindings { -// get: "/v1/users/{user_id}/messages/{message_id}" -// } -// }; -// } -// } -// message GetMessageRequest { -// string message_id = 1; -// string user_id = 2; -// } -// -// -// This enables the following two alternative HTTP JSON to RPC -// mappings: -// -// HTTP | RPC -// -----|----- -// `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` -// `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: "123456")` -// -// # Rules for HTTP mapping -// -// The rules for mapping HTTP path, query parameters, and body fields -// to the request message are as follows: -// -// 1. The `body` field specifies either `*` or a field path, or is -// omitted. If omitted, it indicates there is no HTTP request body. -// 2. Leaf fields (recursive expansion of nested messages in the -// request) can be classified into three types: -// (a) Matched in the URL template. -// (b) Covered by body (if body is `*`, everything except (a) fields; -// else everything under the body field) -// (c) All other fields. -// 3. URL query parameters found in the HTTP request are mapped to (c) fields. -// 4. Any body sent with an HTTP request can contain only (b) fields. -// -// The syntax of the path template is as follows: -// -// Template = "/" Segments [ Verb ] ; -// Segments = Segment { "/" Segment } ; -// Segment = "*" | "**" | LITERAL | Variable ; -// Variable = "{" FieldPath [ "=" Segments ] "}" ; -// FieldPath = IDENT { "." IDENT } ; -// Verb = ":" LITERAL ; -// -// The syntax `*` matches a single path segment. The syntax `**` matches zero -// or more path segments, which must be the last part of the path except the -// `Verb`. The syntax `LITERAL` matches literal text in the path. -// -// The syntax `Variable` matches part of the URL path as specified by its -// template. A variable template must not contain other variables. If a variable -// matches a single path segment, its template may be omitted, e.g. `{var}` -// is equivalent to `{var=*}`. -// -// If a variable contains exactly one path segment, such as `"{var}"` or -// `"{var=*}"`, when such a variable is expanded into a URL path, all characters -// except `[-_.~0-9a-zA-Z]` are percent-encoded. Such variables show up in the -// Discovery Document as `{var}`. -// -// If a variable contains one or more path segments, such as `"{var=foo/*}"` -// or `"{var=**}"`, when such a variable is expanded into a URL path, all -// characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. Such variables -// show up in the Discovery Document as `{+var}`. -// -// NOTE: While the single segment variable matches the semantics of -// [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 -// Simple String Expansion, the multi segment variable **does not** match -// RFC 6570 Reserved Expansion. The reason is that the Reserved Expansion -// does not expand special characters like `?` and `#`, which would lead -// to invalid URLs. -// -// NOTE: the field paths in variables and in the `body` must not refer to -// repeated fields or map fields. -message HttpRule { - // Selects methods to which this rule applies. - // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax details. - string selector = 1; - - // Determines the URL pattern is matched by this rules. This pattern can be - // used with any of the {get|put|post|delete|patch} methods. A custom method - // can be defined using the 'custom' field. - oneof pattern { - // Used for listing and getting information about resources. - string get = 2; - - // Used for updating a resource. - string put = 3; - - // Used for creating a resource. - string post = 4; - - // Used for deleting a resource. - string delete = 5; - - // Used for updating a resource. - string patch = 6; - - // The custom pattern is used for specifying an HTTP method that is not - // included in the `pattern` field, such as HEAD, or "*" to leave the - // HTTP method unspecified for this rule. The wild-card rule is useful - // for services that provide content to Web (HTML) clients. - CustomHttpPattern custom = 8; - } - - // The name of the request field whose value is mapped to the HTTP body, or - // `*` for mapping all fields not captured by the path pattern to the HTTP - // body. NOTE: the referred field must not be a repeated field and must be - // present at the top-level of request message type. - string body = 7; - - // Optional. The name of the response field whose value is mapped to the HTTP - // body of response. Other response fields are ignored. When - // not set, the response message will be used as HTTP body of response. - string response_body = 12; - - // Additional HTTP bindings for the selector. Nested bindings must - // not contain an `additional_bindings` field themselves (that is, - // the nesting may only be one level deep). - repeated HttpRule additional_bindings = 11; -} - -// A custom pattern is used for defining custom HTTP verb. -message CustomHttpPattern { - // The name of this custom HTTP verb. - string kind = 1; - - // The path matched by this custom verb. - string path = 2; -} diff --git a/third_party/proto/google/api/httpbody.proto b/third_party/proto/google/api/httpbody.proto deleted file mode 100644 index 4428515c1..000000000 --- a/third_party/proto/google/api/httpbody.proto +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright 2018 Google LLC. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -syntax = "proto3"; - -package google.api; - -import "google/protobuf/any.proto"; - -option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/api/httpbody;httpbody"; -option java_multiple_files = true; -option java_outer_classname = "HttpBodyProto"; -option java_package = "com.google.api"; -option objc_class_prefix = "GAPI"; - -// Message that represents an arbitrary HTTP body. It should only be used for -// payload formats that can't be represented as JSON, such as raw binary or -// an HTML page. -// -// -// This message can be used both in streaming and non-streaming API methods in -// the request as well as the response. -// -// It can be used as a top-level request field, which is convenient if one -// wants to extract parameters from either the URL or HTTP template into the -// request fields and also want access to the raw HTTP body. -// -// Example: -// -// message GetResourceRequest { -// // A unique request id. -// string request_id = 1; -// -// // The raw HTTP body is bound to this field. -// google.api.HttpBody http_body = 2; -// } -// -// service ResourceService { -// rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); -// rpc UpdateResource(google.api.HttpBody) returns -// (google.protobuf.Empty); -// } -// -// Example with streaming methods: -// -// service CaldavService { -// rpc GetCalendar(stream google.api.HttpBody) -// returns (stream google.api.HttpBody); -// rpc UpdateCalendar(stream google.api.HttpBody) -// returns (stream google.api.HttpBody); -// } -// -// Use of this type only changes how the request and response bodies are -// handled, all other features will continue to work unchanged. -message HttpBody { - // The HTTP Content-Type header value specifying the content type of the body. - string content_type = 1; - - // The HTTP request/response body as raw binary. - bytes data = 2; - - // Application specific response metadata. Must be set in the first response - // for streaming APIs. - repeated google.protobuf.Any extensions = 3; -} \ No newline at end of file diff --git a/third_party/proto/google/protobuf/any.proto b/third_party/proto/google/protobuf/any.proto deleted file mode 100644 index 58b511583..000000000 --- a/third_party/proto/google/protobuf/any.proto +++ /dev/null @@ -1,164 +0,0 @@ -// Protocol Buffers - Google's data interchange format -// Copyright 2008 Google Inc. All rights reserved. -// https://developers.google.com/protocol-buffers/ -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -syntax = "proto3"; - -package google.protobuf; - -import "gogoproto/gogo.proto"; - -option csharp_namespace = "Google.Protobuf.WellKnownTypes"; -option go_package = "types"; -option java_package = "com.google.protobuf"; -option java_outer_classname = "AnyProto"; -option java_multiple_files = true; -option objc_class_prefix = "GPB"; - -// `Any` contains an arbitrary serialized protocol buffer message along with a -// URL that describes the type of the serialized message. -// -// Protobuf library provides support to pack/unpack Any values in the form -// of utility functions or additional generated methods of the Any type. -// -// Example 1: Pack and unpack a message in C++. -// -// Foo foo = ...; -// Any any; -// any.PackFrom(foo); -// ... -// if (any.UnpackTo(&foo)) { -// ... -// } -// -// Example 2: Pack and unpack a message in Java. -// -// Foo foo = ...; -// Any any = Any.pack(foo); -// ... -// if (any.is(Foo.class)) { -// foo = any.unpack(Foo.class); -// } -// -// Example 3: Pack and unpack a message in Python. -// -// foo = Foo(...) -// any = Any() -// any.Pack(foo) -// ... -// if any.Is(Foo.DESCRIPTOR): -// any.Unpack(foo) -// ... -// -// Example 4: Pack and unpack a message in Go -// -// foo := &pb.Foo{...} -// any, err := ptypes.MarshalAny(foo) -// ... -// foo := &pb.Foo{} -// if err := ptypes.UnmarshalAny(any, foo); err != nil { -// ... -// } -// -// The pack methods provided by protobuf library will by default use -// 'type.googleapis.com/full.type.name' as the type URL and the unpack -// methods only use the fully qualified type name after the last '/' -// in the type URL, for example "foo.bar.com/x/y.z" will yield type -// name "y.z". -// -// -// JSON -// ==== -// The JSON representation of an `Any` value uses the regular -// representation of the deserialized, embedded message, with an -// additional field `@type` which contains the type URL. Example: -// -// package google.profile; -// message Person { -// string first_name = 1; -// string last_name = 2; -// } -// -// { -// "@type": "type.googleapis.com/google.profile.Person", -// "firstName": , -// "lastName": -// } -// -// If the embedded message type is well-known and has a custom JSON -// representation, that representation will be embedded adding a field -// `value` which holds the custom JSON in addition to the `@type` -// field. Example (for message [google.protobuf.Duration][]): -// -// { -// "@type": "type.googleapis.com/google.protobuf.Duration", -// "value": "1.212s" -// } -// -message Any { - // A URL/resource name that uniquely identifies the type of the serialized - // protocol buffer message. This string must contain at least - // one "/" character. The last segment of the URL's path must represent - // the fully qualified name of the type (as in - // `path/google.protobuf.Duration`). The name should be in a canonical form - // (e.g., leading "." is not accepted). - // - // In practice, teams usually precompile into the binary all types that they - // expect it to use in the context of Any. However, for URLs which use the - // scheme `http`, `https`, or no scheme, one can optionally set up a type - // server that maps type URLs to message definitions as follows: - // - // * If no scheme is provided, `https` is assumed. - // * An HTTP GET on the URL must yield a [google.protobuf.Type][] - // value in binary format, or produce an error. - // * Applications are allowed to cache lookup results based on the - // URL, or have them precompiled into a binary to avoid any - // lookup. Therefore, binary compatibility needs to be preserved - // on changes to types. (Use versioned type names to manage - // breaking changes.) - // - // Note: this functionality is not currently available in the official - // protobuf release, and it is not used for type URLs beginning with - // type.googleapis.com. - // - // Schemes other than `http`, `https` (or the empty scheme) might be - // used with implementation specific semantics. - // - string type_url = 1; - - // Must be a valid serialized protocol buffer of the above specified type. - bytes value = 2; - - option (gogoproto.typedecl) = false; - option (gogoproto.goproto_stringer) = false; - option (gogoproto.gostring) = false; - option (gogoproto.stringer) = false; -} - -option (gogoproto.goproto_registration) = false; diff --git a/third_party/proto/tendermint/abci/types.proto b/third_party/proto/tendermint/abci/types.proto deleted file mode 100644 index d9846cdc2..000000000 --- a/third_party/proto/tendermint/abci/types.proto +++ /dev/null @@ -1,407 +0,0 @@ -syntax = "proto3"; -package tendermint.abci; - -option go_package = "github.com/cometbft/cometbft/abci/types"; - -// For more information on gogo.proto, see: -// https://github.com/cosmos/gogoproto/blob/master/extensions.md -import "tendermint/crypto/proof.proto"; -import "tendermint/types/types.proto"; -import "tendermint/crypto/keys.proto"; -import "tendermint/types/params.proto"; -import "google/protobuf/timestamp.proto"; -import "gogoproto/gogo.proto"; - -// This file is copied from http://github.com/tendermint/abci -// NOTE: When using custom types, mind the warnings. -// https://github.com/cosmos/gogoproto/blob/master/custom_types.md#warnings-and-issues - -//---------------------------------------- -// Request types - -message Request { - oneof value { - RequestEcho echo = 1; - RequestFlush flush = 2; - RequestInfo info = 3; - RequestSetOption set_option = 4; - RequestInitChain init_chain = 5; - RequestQuery query = 6; - RequestBeginBlock begin_block = 7; - RequestCheckTx check_tx = 8; - RequestDeliverTx deliver_tx = 9; - RequestEndBlock end_block = 10; - RequestCommit commit = 11; - RequestListSnapshots list_snapshots = 12; - RequestOfferSnapshot offer_snapshot = 13; - RequestLoadSnapshotChunk load_snapshot_chunk = 14; - RequestApplySnapshotChunk apply_snapshot_chunk = 15; - } -} - -message RequestEcho { - string message = 1; -} - -message RequestFlush {} - -message RequestInfo { - string version = 1; - uint64 block_version = 2; - uint64 p2p_version = 3; -} - -// nondeterministic -message RequestSetOption { - string key = 1; - string value = 2; -} - -message RequestInitChain { - google.protobuf.Timestamp time = 1 - [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - string chain_id = 2; - ConsensusParams consensus_params = 3; - repeated ValidatorUpdate validators = 4 [(gogoproto.nullable) = false]; - bytes app_state_bytes = 5; - int64 initial_height = 6; -} - -message RequestQuery { - bytes data = 1; - string path = 2; - int64 height = 3; - bool prove = 4; -} - -message RequestBeginBlock { - bytes hash = 1; - tendermint.types.Header header = 2 [(gogoproto.nullable) = false]; - LastCommitInfo last_commit_info = 3 [(gogoproto.nullable) = false]; - repeated Evidence byzantine_validators = 4 [(gogoproto.nullable) = false]; -} - -enum CheckTxType { - NEW = 0 [(gogoproto.enumvalue_customname) = "New"]; - RECHECK = 1 [(gogoproto.enumvalue_customname) = "Recheck"]; -} - -message RequestCheckTx { - bytes tx = 1; - CheckTxType type = 2; -} - -message RequestDeliverTx { - bytes tx = 1; -} - -message RequestEndBlock { - int64 height = 1; -} - -message RequestCommit {} - -// lists available snapshots -message RequestListSnapshots { -} - -// offers a snapshot to the application -message RequestOfferSnapshot { - Snapshot snapshot = 1; // snapshot offered by peers - bytes app_hash = 2; // light client-verified app hash for snapshot height -} - -// loads a snapshot chunk -message RequestLoadSnapshotChunk { - uint64 height = 1; - uint32 format = 2; - uint32 chunk = 3; -} - -// Applies a snapshot chunk -message RequestApplySnapshotChunk { - uint32 index = 1; - bytes chunk = 2; - string sender = 3; -} - -//---------------------------------------- -// Response types - -message Response { - oneof value { - ResponseException exception = 1; - ResponseEcho echo = 2; - ResponseFlush flush = 3; - ResponseInfo info = 4; - ResponseSetOption set_option = 5; - ResponseInitChain init_chain = 6; - ResponseQuery query = 7; - ResponseBeginBlock begin_block = 8; - ResponseCheckTx check_tx = 9; - ResponseDeliverTx deliver_tx = 10; - ResponseEndBlock end_block = 11; - ResponseCommit commit = 12; - ResponseListSnapshots list_snapshots = 13; - ResponseOfferSnapshot offer_snapshot = 14; - ResponseLoadSnapshotChunk load_snapshot_chunk = 15; - ResponseApplySnapshotChunk apply_snapshot_chunk = 16; - } -} - -// nondeterministic -message ResponseException { - string error = 1; -} - -message ResponseEcho { - string message = 1; -} - -message ResponseFlush {} - -message ResponseInfo { - string data = 1; - - string version = 2; - uint64 app_version = 3; - - int64 last_block_height = 4; - bytes last_block_app_hash = 5; -} - -// nondeterministic -message ResponseSetOption { - uint32 code = 1; - // bytes data = 2; - string log = 3; - string info = 4; -} - -message ResponseInitChain { - ConsensusParams consensus_params = 1; - repeated ValidatorUpdate validators = 2 [(gogoproto.nullable) = false]; - bytes app_hash = 3; -} - -message ResponseQuery { - uint32 code = 1; - // bytes data = 2; // use "value" instead. - string log = 3; // nondeterministic - string info = 4; // nondeterministic - int64 index = 5; - bytes key = 6; - bytes value = 7; - tendermint.crypto.ProofOps proof_ops = 8; - int64 height = 9; - string codespace = 10; -} - -message ResponseBeginBlock { - repeated Event events = 1 - [(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; -} - -message ResponseCheckTx { - uint32 code = 1; - bytes data = 2; - string log = 3; // nondeterministic - string info = 4; // nondeterministic - int64 gas_wanted = 5 [json_name = "gas_wanted"]; - int64 gas_used = 6 [json_name = "gas_used"]; - repeated Event events = 7 - [(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; - string codespace = 8; -} - -message ResponseDeliverTx { - uint32 code = 1; - bytes data = 2; - string log = 3; // nondeterministic - string info = 4; // nondeterministic - int64 gas_wanted = 5 [json_name = "gas_wanted"]; - int64 gas_used = 6 [json_name = "gas_used"]; - repeated Event events = 7 - [(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; - string codespace = 8; -} - -message ResponseEndBlock { - repeated ValidatorUpdate validator_updates = 1 - [(gogoproto.nullable) = false]; - ConsensusParams consensus_param_updates = 2; - repeated Event events = 3 - [(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; -} - -message ResponseCommit { - // reserve 1 - bytes data = 2; - int64 retain_height = 3; -} - -message ResponseListSnapshots { - repeated Snapshot snapshots = 1; -} - -message ResponseOfferSnapshot { - Result result = 1; - - enum Result { - UNKNOWN = 0; // Unknown result, abort all snapshot restoration - ACCEPT = 1; // Snapshot accepted, apply chunks - ABORT = 2; // Abort all snapshot restoration - REJECT = 3; // Reject this specific snapshot, try others - REJECT_FORMAT = 4; // Reject all snapshots of this format, try others - REJECT_SENDER = 5; // Reject all snapshots from the sender(s), try others - } -} - -message ResponseLoadSnapshotChunk { - bytes chunk = 1; -} - -message ResponseApplySnapshotChunk { - Result result = 1; - repeated uint32 refetch_chunks = 2; // Chunks to refetch and reapply - repeated string reject_senders = 3; // Chunk senders to reject and ban - - enum Result { - UNKNOWN = 0; // Unknown result, abort all snapshot restoration - ACCEPT = 1; // Chunk successfully accepted - ABORT = 2; // Abort all snapshot restoration - RETRY = 3; // Retry chunk (combine with refetch and reject) - RETRY_SNAPSHOT = 4; // Retry snapshot (combine with refetch and reject) - REJECT_SNAPSHOT = 5; // Reject this snapshot, try others - } -} - -//---------------------------------------- -// Misc. - -// ConsensusParams contains all consensus-relevant parameters -// that can be adjusted by the abci app -message ConsensusParams { - BlockParams block = 1; - tendermint.types.EvidenceParams evidence = 2; - tendermint.types.ValidatorParams validator = 3; - tendermint.types.VersionParams version = 4; -} - -// BlockParams contains limits on the block size. -message BlockParams { - // Note: must be greater than 0 - int64 max_bytes = 1; - // Note: must be greater or equal to -1 - int64 max_gas = 2; -} - -message LastCommitInfo { - int32 round = 1; - repeated VoteInfo votes = 2 [(gogoproto.nullable) = false]; -} - -// Event allows application developers to attach additional information to -// ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx. -// Later, transactions may be queried using these events. -message Event { - string type = 1; - repeated EventAttribute attributes = 2 [ - (gogoproto.nullable) = false, - (gogoproto.jsontag) = "attributes,omitempty" - ]; -} - -// EventAttribute is a single key-value pair, associated with an event. -message EventAttribute { - bytes key = 1; - bytes value = 2; - bool index = 3; // nondeterministic -} - -// TxResult contains results of executing the transaction. -// -// One usage is indexing transaction results. -message TxResult { - int64 height = 1; - uint32 index = 2; - bytes tx = 3; - ResponseDeliverTx result = 4 [(gogoproto.nullable) = false]; -} - -//---------------------------------------- -// Blockchain Types - -// Validator -message Validator { - bytes address = 1; // The first 20 bytes of SHA256(public key) - // PubKey pub_key = 2 [(gogoproto.nullable)=false]; - int64 power = 3; // The voting power -} - -// ValidatorUpdate -message ValidatorUpdate { - tendermint.crypto.PublicKey pub_key = 1 [(gogoproto.nullable) = false]; - int64 power = 2; -} - -// VoteInfo -message VoteInfo { - Validator validator = 1 [(gogoproto.nullable) = false]; - bool signed_last_block = 2; -} - -enum EvidenceType { - UNKNOWN = 0; - DUPLICATE_VOTE = 1; - LIGHT_CLIENT_ATTACK = 2; -} - -message Evidence { - EvidenceType type = 1; - // The offending validator - Validator validator = 2 [(gogoproto.nullable) = false]; - // The height when the offense occurred - int64 height = 3; - // The corresponding time where the offense occurred - google.protobuf.Timestamp time = 4 [ - (gogoproto.nullable) = false, - (gogoproto.stdtime) = true - ]; - // Total voting power of the validator set in case the ABCI application does - // not store historical validators. - // https://github.com/cometbft/cometbft/issues/4581 - int64 total_voting_power = 5; -} - -//---------------------------------------- -// State Sync Types - -message Snapshot { - uint64 height = 1; // The height at which the snapshot was taken - uint32 format = 2; // The application-specific snapshot format - uint32 chunks = 3; // Number of chunks in the snapshot - bytes hash = 4; // Arbitrary snapshot hash, equal only if identical - bytes metadata = 5; // Arbitrary application metadata -} - -//---------------------------------------- -// Service Definition - -service ABCIApplication { - rpc Echo(RequestEcho) returns (ResponseEcho); - rpc Flush(RequestFlush) returns (ResponseFlush); - rpc Info(RequestInfo) returns (ResponseInfo); - rpc SetOption(RequestSetOption) returns (ResponseSetOption); - rpc DeliverTx(RequestDeliverTx) returns (ResponseDeliverTx); - rpc CheckTx(RequestCheckTx) returns (ResponseCheckTx); - rpc Query(RequestQuery) returns (ResponseQuery); - rpc Commit(RequestCommit) returns (ResponseCommit); - rpc InitChain(RequestInitChain) returns (ResponseInitChain); - rpc BeginBlock(RequestBeginBlock) returns (ResponseBeginBlock); - rpc EndBlock(RequestEndBlock) returns (ResponseEndBlock); - rpc ListSnapshots(RequestListSnapshots) returns (ResponseListSnapshots); - rpc OfferSnapshot(RequestOfferSnapshot) returns (ResponseOfferSnapshot); - rpc LoadSnapshotChunk(RequestLoadSnapshotChunk) returns (ResponseLoadSnapshotChunk); - rpc ApplySnapshotChunk(RequestApplySnapshotChunk) returns (ResponseApplySnapshotChunk); -} diff --git a/third_party/proto/tendermint/crypto/keys.proto b/third_party/proto/tendermint/crypto/keys.proto deleted file mode 100644 index a5d3ce85d..000000000 --- a/third_party/proto/tendermint/crypto/keys.proto +++ /dev/null @@ -1,17 +0,0 @@ -syntax = "proto3"; -package tendermint.crypto; - -option go_package = "github.com/cometbft/cometbft/proto/tendermint/crypto"; - -import "gogoproto/gogo.proto"; - -// PublicKey defines the keys available for use with Tendermint Validators -message PublicKey { - option (gogoproto.compare) = true; - option (gogoproto.equal) = true; - - oneof sum { - bytes ed25519 = 1; - bytes secp256k1 = 2; - } -} diff --git a/third_party/proto/tendermint/crypto/proof.proto b/third_party/proto/tendermint/crypto/proof.proto deleted file mode 100644 index ae72195e8..000000000 --- a/third_party/proto/tendermint/crypto/proof.proto +++ /dev/null @@ -1,41 +0,0 @@ -syntax = "proto3"; -package tendermint.crypto; - -option go_package = "github.com/cometbft/cometbft/proto/tendermint/crypto"; - -import "gogoproto/gogo.proto"; - -message Proof { - int64 total = 1; - int64 index = 2; - bytes leaf_hash = 3; - repeated bytes aunts = 4; -} - -message ValueOp { - // Encoded in ProofOp.Key. - bytes key = 1; - - // To encode in ProofOp.Data - Proof proof = 2; -} - -message DominoOp { - string key = 1; - string input = 2; - string output = 3; -} - -// ProofOp defines an operation used for calculating Merkle root -// The data could be arbitrary format, providing nessecary data -// for example neighbouring node hash -message ProofOp { - string type = 1; - bytes key = 2; - bytes data = 3; -} - -// ProofOps is Merkle proof defined by the list of ProofOps -message ProofOps { - repeated ProofOp ops = 1 [(gogoproto.nullable) = false]; -} diff --git a/third_party/proto/tendermint/libs/bits/types.proto b/third_party/proto/tendermint/libs/bits/types.proto deleted file mode 100644 index e6afc5e8e..000000000 --- a/third_party/proto/tendermint/libs/bits/types.proto +++ /dev/null @@ -1,9 +0,0 @@ -syntax = "proto3"; -package tendermint.libs.bits; - -option go_package = "github.com/cometbft/cometbft/proto/tendermint/libs/bits"; - -message BitArray { - int64 bits = 1; - repeated uint64 elems = 2; -} diff --git a/third_party/proto/tendermint/p2p/types.proto b/third_party/proto/tendermint/p2p/types.proto deleted file mode 100644 index 157d8ba1c..000000000 --- a/third_party/proto/tendermint/p2p/types.proto +++ /dev/null @@ -1,34 +0,0 @@ -syntax = "proto3"; -package tendermint.p2p; - -option go_package = "github.com/cometbft/cometbft/proto/tendermint/p2p"; - -import "gogoproto/gogo.proto"; - -message NetAddress { - string id = 1 [(gogoproto.customname) = "ID"]; - string ip = 2 [(gogoproto.customname) = "IP"]; - uint32 port = 3; -} - -message ProtocolVersion { - uint64 p2p = 1 [(gogoproto.customname) = "P2P"]; - uint64 block = 2; - uint64 app = 3; -} - -message DefaultNodeInfo { - ProtocolVersion protocol_version = 1 [(gogoproto.nullable) = false]; - string default_node_id = 2 [(gogoproto.customname) = "DefaultNodeID"]; - string listen_addr = 3; - string network = 4; - string version = 5; - bytes channels = 6; - string moniker = 7; - DefaultNodeInfoOther other = 8 [(gogoproto.nullable) = false]; -} - -message DefaultNodeInfoOther { - string tx_index = 1; - string rpc_address = 2 [(gogoproto.customname) = "RPCAddress"]; -} diff --git a/third_party/proto/tendermint/types/block.proto b/third_party/proto/tendermint/types/block.proto deleted file mode 100644 index d531c06a0..000000000 --- a/third_party/proto/tendermint/types/block.proto +++ /dev/null @@ -1,15 +0,0 @@ -syntax = "proto3"; -package tendermint.types; - -option go_package = "github.com/cometbft/cometbft/proto/tendermint/types"; - -import "gogoproto/gogo.proto"; -import "tendermint/types/types.proto"; -import "tendermint/types/evidence.proto"; - -message Block { - Header header = 1 [(gogoproto.nullable) = false]; - Data data = 2 [(gogoproto.nullable) = false]; - tendermint.types.EvidenceList evidence = 3 [(gogoproto.nullable) = false]; - Commit last_commit = 4; -} diff --git a/third_party/proto/tendermint/types/evidence.proto b/third_party/proto/tendermint/types/evidence.proto deleted file mode 100644 index 9c169bb4c..000000000 --- a/third_party/proto/tendermint/types/evidence.proto +++ /dev/null @@ -1,38 +0,0 @@ -syntax = "proto3"; -package tendermint.types; - -option go_package = "github.com/cometbft/cometbft/proto/tendermint/types"; - -import "gogoproto/gogo.proto"; -import "google/protobuf/timestamp.proto"; -import "tendermint/types/types.proto"; -import "tendermint/types/validator.proto"; - -message Evidence { - oneof sum { - DuplicateVoteEvidence duplicate_vote_evidence = 1; - LightClientAttackEvidence light_client_attack_evidence = 2; - } -} - -// DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. -message DuplicateVoteEvidence { - tendermint.types.Vote vote_a = 1; - tendermint.types.Vote vote_b = 2; - int64 total_voting_power = 3; - int64 validator_power = 4; - google.protobuf.Timestamp timestamp = 5 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; -} - -// LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. -message LightClientAttackEvidence { - tendermint.types.LightBlock conflicting_block = 1; - int64 common_height = 2; - repeated tendermint.types.Validator byzantine_validators = 3; - int64 total_voting_power = 4; - google.protobuf.Timestamp timestamp = 5 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; -} - -message EvidenceList { - repeated Evidence evidence = 1 [(gogoproto.nullable) = false]; -} diff --git a/third_party/proto/tendermint/types/params.proto b/third_party/proto/tendermint/types/params.proto deleted file mode 100644 index 1eeb55538..000000000 --- a/third_party/proto/tendermint/types/params.proto +++ /dev/null @@ -1,80 +0,0 @@ -syntax = "proto3"; -package tendermint.types; - -option go_package = "github.com/cometbft/cometbft/proto/tendermint/types"; - -import "gogoproto/gogo.proto"; -import "google/protobuf/duration.proto"; - -option (gogoproto.equal_all) = true; - -// ConsensusParams contains consensus critical parameters that determine the -// validity of blocks. -message ConsensusParams { - BlockParams block = 1 [(gogoproto.nullable) = false]; - EvidenceParams evidence = 2 [(gogoproto.nullable) = false]; - ValidatorParams validator = 3 [(gogoproto.nullable) = false]; - VersionParams version = 4 [(gogoproto.nullable) = false]; -} - -// BlockParams contains limits on the block size. -message BlockParams { - // Max block size, in bytes. - // Note: must be greater than 0 - int64 max_bytes = 1; - // Max gas per block. - // Note: must be greater or equal to -1 - int64 max_gas = 2; - // Minimum time increment between consecutive blocks (in milliseconds) If the - // block header timestamp is ahead of the system clock, decrease this value. - // - // Not exposed to the application. - int64 time_iota_ms = 3; -} - -// EvidenceParams determine how we handle evidence of malfeasance. -message EvidenceParams { - // Max age of evidence, in blocks. - // - // The basic formula for calculating this is: MaxAgeDuration / {average block - // time}. - int64 max_age_num_blocks = 1; - - // Max age of evidence, in time. - // - // It should correspond with an app's "unbonding period" or other similar - // mechanism for handling [Nothing-At-Stake - // attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed). - google.protobuf.Duration max_age_duration = 2 - [(gogoproto.nullable) = false, (gogoproto.stdduration) = true]; - - // This sets the maximum size of total evidence in bytes that can be committed in a single block. - // and should fall comfortably under the max block bytes. - // Default is 1048576 or 1MB - int64 max_bytes = 3; -} - -// ValidatorParams restrict the public key types validators can use. -// NOTE: uses ABCI pubkey naming, not Amino names. -message ValidatorParams { - option (gogoproto.populate) = true; - option (gogoproto.equal) = true; - - repeated string pub_key_types = 1; -} - -// VersionParams contains the ABCI application version. -message VersionParams { - option (gogoproto.populate) = true; - option (gogoproto.equal) = true; - - uint64 app_version = 1; -} - -// HashedParams is a subset of ConsensusParams. -// -// It is hashed into the Header.ConsensusHash. -message HashedParams { - int64 block_max_bytes = 1; - int64 block_max_gas = 2; -} diff --git a/third_party/proto/tendermint/types/types.proto b/third_party/proto/tendermint/types/types.proto deleted file mode 100644 index 7a43c8efd..000000000 --- a/third_party/proto/tendermint/types/types.proto +++ /dev/null @@ -1,157 +0,0 @@ -syntax = "proto3"; -package tendermint.types; - -option go_package = "github.com/cometbft/cometbft/proto/tendermint/types"; - -import "gogoproto/gogo.proto"; -import "google/protobuf/timestamp.proto"; -import "tendermint/crypto/proof.proto"; -import "tendermint/version/types.proto"; -import "tendermint/types/validator.proto"; - -// BlockIdFlag indicates which BlcokID the signature is for -enum BlockIDFlag { - option (gogoproto.goproto_enum_stringer) = true; - option (gogoproto.goproto_enum_prefix) = false; - - BLOCK_ID_FLAG_UNKNOWN = 0 [(gogoproto.enumvalue_customname) = "BlockIDFlagUnknown"]; - BLOCK_ID_FLAG_ABSENT = 1 [(gogoproto.enumvalue_customname) = "BlockIDFlagAbsent"]; - BLOCK_ID_FLAG_COMMIT = 2 [(gogoproto.enumvalue_customname) = "BlockIDFlagCommit"]; - BLOCK_ID_FLAG_NIL = 3 [(gogoproto.enumvalue_customname) = "BlockIDFlagNil"]; -} - -// SignedMsgType is a type of signed message in the consensus. -enum SignedMsgType { - option (gogoproto.goproto_enum_stringer) = true; - option (gogoproto.goproto_enum_prefix) = false; - - SIGNED_MSG_TYPE_UNKNOWN = 0 [(gogoproto.enumvalue_customname) = "UnknownType"]; - // Votes - SIGNED_MSG_TYPE_PREVOTE = 1 [(gogoproto.enumvalue_customname) = "PrevoteType"]; - SIGNED_MSG_TYPE_PRECOMMIT = 2 [(gogoproto.enumvalue_customname) = "PrecommitType"]; - - // Proposals - SIGNED_MSG_TYPE_PROPOSAL = 32 [(gogoproto.enumvalue_customname) = "ProposalType"]; -} - -// PartsetHeader -message PartSetHeader { - uint32 total = 1; - bytes hash = 2; -} - -message Part { - uint32 index = 1; - bytes bytes = 2; - tendermint.crypto.Proof proof = 3 [(gogoproto.nullable) = false]; -} - -// BlockID -message BlockID { - bytes hash = 1; - PartSetHeader part_set_header = 2 [(gogoproto.nullable) = false]; -} - -// -------------------------------- - -// Header defines the structure of a Tendermint block header. -message Header { - // basic block info - tendermint.version.Consensus version = 1 [(gogoproto.nullable) = false]; - string chain_id = 2 [(gogoproto.customname) = "ChainID"]; - int64 height = 3; - google.protobuf.Timestamp time = 4 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - - // prev block info - BlockID last_block_id = 5 [(gogoproto.nullable) = false]; - - // hashes of block data - bytes last_commit_hash = 6; // commit from validators from the last block - bytes data_hash = 7; // transactions - - // hashes from the app output from the prev block - bytes validators_hash = 8; // validators for the current block - bytes next_validators_hash = 9; // validators for the next block - bytes consensus_hash = 10; // consensus params for current block - bytes app_hash = 11; // state after txs from the previous block - bytes last_results_hash = 12; // root hash of all results from the txs from the previous block - - // consensus info - bytes evidence_hash = 13; // evidence included in the block - bytes proposer_address = 14; // original proposer of the block -} - -// Data contains the set of transactions included in the block -message Data { - // Txs that will be applied by state @ block.Height+1. - // NOTE: not all txs here are valid. We're just agreeing on the order first. - // This means that block.AppHash does not include these txs. - repeated bytes txs = 1; -} - -// Vote represents a prevote, precommit, or commit vote from validators for -// consensus. -message Vote { - SignedMsgType type = 1; - int64 height = 2; - int32 round = 3; - BlockID block_id = 4 - [(gogoproto.nullable) = false, (gogoproto.customname) = "BlockID"]; // zero if vote is nil. - google.protobuf.Timestamp timestamp = 5 - [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - bytes validator_address = 6; - int32 validator_index = 7; - bytes signature = 8; -} - -// Commit contains the evidence that a block was committed by a set of validators. -message Commit { - int64 height = 1; - int32 round = 2; - BlockID block_id = 3 [(gogoproto.nullable) = false, (gogoproto.customname) = "BlockID"]; - repeated CommitSig signatures = 4 [(gogoproto.nullable) = false]; -} - -// CommitSig is a part of the Vote included in a Commit. -message CommitSig { - BlockIDFlag block_id_flag = 1; - bytes validator_address = 2; - google.protobuf.Timestamp timestamp = 3 - [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - bytes signature = 4; -} - -message Proposal { - SignedMsgType type = 1; - int64 height = 2; - int32 round = 3; - int32 pol_round = 4; - BlockID block_id = 5 [(gogoproto.customname) = "BlockID", (gogoproto.nullable) = false]; - google.protobuf.Timestamp timestamp = 6 - [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - bytes signature = 7; -} - -message SignedHeader { - Header header = 1; - Commit commit = 2; -} - -message LightBlock { - SignedHeader signed_header = 1; - tendermint.types.ValidatorSet validator_set = 2; -} - -message BlockMeta { - BlockID block_id = 1 [(gogoproto.customname) = "BlockID", (gogoproto.nullable) = false]; - int64 block_size = 2; - Header header = 3 [(gogoproto.nullable) = false]; - int64 num_txs = 4; -} - -// TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree. -message TxProof { - bytes root_hash = 1; - bytes data = 2; - tendermint.crypto.Proof proof = 3; -} diff --git a/third_party/proto/tendermint/types/validator.proto b/third_party/proto/tendermint/types/validator.proto deleted file mode 100644 index 3e170262c..000000000 --- a/third_party/proto/tendermint/types/validator.proto +++ /dev/null @@ -1,25 +0,0 @@ -syntax = "proto3"; -package tendermint.types; - -option go_package = "github.com/cometbft/cometbft/proto/tendermint/types"; - -import "gogoproto/gogo.proto"; -import "tendermint/crypto/keys.proto"; - -message ValidatorSet { - repeated Validator validators = 1; - Validator proposer = 2; - int64 total_voting_power = 3; -} - -message Validator { - bytes address = 1; - tendermint.crypto.PublicKey pub_key = 2 [(gogoproto.nullable) = false]; - int64 voting_power = 3; - int64 proposer_priority = 4; -} - -message SimpleValidator { - tendermint.crypto.PublicKey pub_key = 1; - int64 voting_power = 2; -} diff --git a/third_party/proto/tendermint/version/types.proto b/third_party/proto/tendermint/version/types.proto deleted file mode 100644 index 3b6ef4547..000000000 --- a/third_party/proto/tendermint/version/types.proto +++ /dev/null @@ -1,24 +0,0 @@ -syntax = "proto3"; -package tendermint.version; - -option go_package = "github.com/cometbft/cometbft/proto/tendermint/version"; - -import "gogoproto/gogo.proto"; - -// App includes the protocol and software version for the application. -// This information is included in ResponseInfo. The App.Protocol can be -// updated in ResponseEndBlock. -message App { - uint64 protocol = 1; - string software = 2; -} - -// Consensus captures the consensus rules for processing a block in the blockchain, -// including all blockchain data structures and the rules of the application's -// state transition machine. -message Consensus { - option (gogoproto.equal) = true; - - uint64 block = 1; - uint64 app = 2; -} diff --git a/tools/tools.go b/tools/tools.go index 7bdbae4da..a783a5fb6 100644 --- a/tools/tools.go +++ b/tools/tools.go @@ -7,6 +7,7 @@ import ( _ "github.com/cosmos/cosmos-proto/cmd/protoc-gen-go-pulsar" _ "github.com/cosmos/gogoproto/protoc-gen-gocosmos" _ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway" + _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2" _ "google.golang.org/grpc/cmd/protoc-gen-go-grpc" _ "google.golang.org/protobuf/cmd/protoc-gen-go" ) diff --git a/x/common/types/uint16_range.pb.go b/x/common/types/uint16_range.pb.go index 166dfedd1..167064ff5 100644 --- a/x/common/types/uint16_range.pb.go +++ b/x/common/types/uint16_range.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: common/uint16_range.proto +// source: common/types/uint16_range.proto package types @@ -32,7 +32,7 @@ func (m *Uint16Range) Reset() { *m = Uint16Range{} } func (m *Uint16Range) String() string { return proto.CompactTextString(m) } func (*Uint16Range) ProtoMessage() {} func (*Uint16Range) Descriptor() ([]byte, []int) { - return fileDescriptor_476afb83b0d37b89, []int{0} + return fileDescriptor_95b26dac6b1d57a7, []int{0} } func (m *Uint16Range) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -76,29 +76,28 @@ func (m *Uint16Range) GetMax() int32 { } func init() { - proto.RegisterType((*Uint16Range)(nil), "zigbeealliance.distributedcomplianceledger.common.Uint16Range") + proto.RegisterType((*Uint16Range)(nil), "common.types.Uint16Range") } -func init() { proto.RegisterFile("common/uint16_range.proto", fileDescriptor_476afb83b0d37b89) } +func init() { proto.RegisterFile("common/types/uint16_range.proto", fileDescriptor_95b26dac6b1d57a7) } -var fileDescriptor_476afb83b0d37b89 = []byte{ - // 246 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4c, 0xce, 0xcf, 0xcd, - 0xcd, 0xcf, 0xd3, 0x2f, 0xcd, 0xcc, 0x2b, 0x31, 0x34, 0x8b, 0x2f, 0x4a, 0xcc, 0x4b, 0x4f, 0xd5, - 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x32, 0xac, 0xca, 0x4c, 0x4f, 0x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 0x38, 0x89, 0x0d, 0xec, 0x39, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa7, 0xe1, - 0x11, 0x4e, 0x42, 0x01, 0x00, 0x00, +var fileDescriptor_95b26dac6b1d57a7 = []byte{ + // 237 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4f, 0xce, 0xcf, 0xcd, + 0xcd, 0xcf, 0xd3, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x2f, 0xcd, 0xcc, 0x2b, 0x31, 0x34, 0x8b, + 0x2f, 0x4a, 0xcc, 0x4b, 0x4f, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x81, 0x28, 0xd0, + 0x03, 0x2b, 0x90, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0x4b, 0xe8, 0x83, 0x58, 0x10, 0x35, 0x4a, + 0x85, 0x5c, 0xdc, 0xa1, 0x60, 0x9d, 0x41, 0x20, 0x8d, 0x42, 0x06, 0x5c, 0xcc, 0xb9, 0x99, 0x79, + 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0xac, 0x4e, 0x72, 0x9f, 0xee, 0xc9, 0x4b, 0x95, 0x25, 0xe6, 0x64, + 0xa6, 0x24, 0x96, 0xa4, 0x5a, 0x29, 0xa5, 0x97, 0xa4, 0xda, 0x1a, 0xe8, 0xe4, 0x94, 0xa4, 0xda, + 0x9a, 0x99, 0x9a, 0x1a, 0x9b, 0x2a, 0x05, 0x81, 0x94, 0x82, 0x75, 0x24, 0x56, 0x48, 0x30, 0x11, + 0xa9, 0x23, 0xb1, 0xc2, 0x29, 0xf1, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, + 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, + 0xdc, 0xd3, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0xab, 0x32, 0xd3, 0x93, + 0x52, 0x53, 0x75, 0x13, 0x73, 0x72, 0x32, 0x13, 0xf3, 0x92, 0x53, 0xf5, 0x53, 0x32, 0x8b, 0x4b, + 0x8a, 0x32, 0x93, 0x4a, 0x4b, 0x52, 0x53, 0x74, 0x93, 0xf3, 0x73, 0x0b, 0x20, 0xc2, 0xba, 0x39, + 0xa9, 0x29, 0xe9, 0xa9, 0x45, 0xfa, 0x15, 0xfa, 0xc8, 0x81, 0x91, 0xc4, 0x06, 0xf6, 0x9c, 0x31, + 0x20, 0x00, 0x00, 0xff, 0xff, 0x11, 0xfe, 0xa9, 0xe3, 0x23, 0x01, 0x00, 0x00, } func (m *Uint16Range) Marshal() (dAtA []byte, err error) { diff --git a/x/compliance/client/cli/query_compliance_info.go b/x/compliance/client/cli/query_compliance_info.go index 8632e8c75..2592f6239 100644 --- a/x/compliance/client/cli/query_compliance_info.go +++ b/x/compliance/client/cli/query_compliance_info.go @@ -6,7 +6,6 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/compliance" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" ) @@ -68,7 +67,7 @@ func CmdShowComplianceInfo() *cobra.Command { return err } - var res dclcompltypes.ComplianceInfo + var res types.ComplianceInfo return cli.QueryWithProof( clientCtx, diff --git a/x/compliance/genesis_test.go b/x/compliance/genesis_test.go index 6ffbec599..c58480708 100644 --- a/x/compliance/genesis_test.go +++ b/x/compliance/genesis_test.go @@ -5,14 +5,13 @@ import ( "github.com/stretchr/testify/require" keepertest "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/keeper" - dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/compliance" "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance" "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" ) func TestGenesis(t *testing.T) { genesisState := types.GenesisState{ - ComplianceInfoList: []dclcompltypes.ComplianceInfo{ + ComplianceInfoList: []types.ComplianceInfo{ { Vid: 0, Pid: 0, diff --git a/x/compliance/handler_certify_model_test.go b/x/compliance/handler_certify_model_test.go index 477207afe..432de4686 100644 --- a/x/compliance/handler_certify_model_test.go +++ b/x/compliance/handler_certify_model_test.go @@ -8,7 +8,6 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" - dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/compliance" "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" dclauthtypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" modeltypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/types" @@ -20,7 +19,7 @@ func setupCertifyModel(t *testing.T) (*TestSetup, int32, int32, uint32, string, vid, pid, softwareVersion, softwareVersionString := setup.addModelVersion( testconstants.Vid, testconstants.Pid, testconstants.SoftwareVersion, testconstants.SoftwareVersionString) - certificationType := dclcompltypes.ZigbeeCertificationType + certificationType := types.ZigbeeCertificationType return setup, vid, pid, softwareVersion, softwareVersionString, certificationType } @@ -43,7 +42,7 @@ func (setup *TestSetup) checkModelCertified(t *testing.T, certifyModelMsg *types require.False(t, provisionalModel.Value) } -func (setup *TestSetup) checkCertifiedModelMatchesMsg(t *testing.T, certifyModelMsg *types.MsgCertifyModel) *dclcompltypes.ComplianceInfo { +func (setup *TestSetup) checkCertifiedModelMatchesMsg(t *testing.T, certifyModelMsg *types.MsgCertifyModel) *types.ComplianceInfo { t.Helper() vid := certifyModelMsg.Vid @@ -57,7 +56,7 @@ func (setup *TestSetup) checkCertifiedModelMatchesMsg(t *testing.T, certifyModel return receivedComplianceInfo } -func (setup *TestSetup) checkDeviceSoftwareComplianceMatchesComplianceInfo(t *testing.T, complianceInfo *dclcompltypes.ComplianceInfo) { +func (setup *TestSetup) checkDeviceSoftwareComplianceMatchesComplianceInfo(t *testing.T, complianceInfo *types.ComplianceInfo) { receivedDeviceSoftwareCompliance, _ := queryDeviceSoftwareCompliance(setup, complianceInfo.CDCertificateId) require.Equal(t, receivedDeviceSoftwareCompliance.CDCertificateId, complianceInfo.CDCertificateId) checkDeviceSoftwareCompliance(t, receivedDeviceSoftwareCompliance.ComplianceInfo[0], complianceInfo) @@ -89,7 +88,7 @@ func TestHandler_CertifyModel_Zigbee_WithAllOptionalFlags(t *testing.T) { func TestHandler_CertifyModel_Matter(t *testing.T) { setup, vid, pid, softwareVersion, softwareVersionString, _ := setupCertifyModel(t) - certificationType := dclcompltypes.MatterCertificationType + certificationType := types.MatterCertificationType certifyModelMsg := newMsgCertifyModel(vid, pid, softwareVersion, softwareVersionString, certificationType, setup.CertificationCenter) _, certifyModelErr := setup.Handler(setup.Ctx, certifyModelMsg) @@ -102,7 +101,7 @@ func TestHandler_CertifyModel_Matter(t *testing.T) { func TestHandler_CertifyModel_Matter_WithAllOptionalFlags(t *testing.T) { setup, vid, pid, softwareVersion, softwareVersionString, _ := setupCertifyModel(t) - certificationType := dclcompltypes.MatterCertificationType + certificationType := types.MatterCertificationType certifyModelMsg := newMsgCertifyModelWithAllOptionalFlags(vid, pid, softwareVersion, softwareVersionString, certificationType, setup.CertificationCenter) _, certifyModelErr := setup.Handler(setup.Ctx, certifyModelMsg) @@ -127,7 +126,7 @@ func TestHandler_CertifyProvisionedModel(t *testing.T) { setup.checkModelCertified(t, certifyModelMsg) setup.checkDeviceSoftwareComplianceMatchesComplianceInfo(t, complianceInfo) require.Equal(t, 1, len(complianceInfo.History)) - require.Equal(t, dclcompltypes.CodeProvisional, complianceInfo.History[0].SoftwareVersionCertificationStatus) + require.Equal(t, types.CodeProvisional, complianceInfo.History[0].SoftwareVersionCertificationStatus) require.Equal(t, provisionModelMsg.ProvisionalDate, complianceInfo.History[0].Date) } @@ -145,7 +144,7 @@ func TestHandler_CertifyProvisionedModelWithAllOptionalFlags(t *testing.T) { setup.checkModelCertified(t, certifyModelMsg) setup.checkDeviceSoftwareComplianceMatchesComplianceInfo(t, complianceInfo) require.Equal(t, 1, len(complianceInfo.History)) - require.Equal(t, dclcompltypes.CodeProvisional, complianceInfo.History[0].SoftwareVersionCertificationStatus) + require.Equal(t, types.CodeProvisional, complianceInfo.History[0].SoftwareVersionCertificationStatus) require.Equal(t, provisionModelMsg.ProvisionalDate, complianceInfo.History[0].Date) } @@ -261,7 +260,7 @@ func TestHandler_CertifyRevokedModel(t *testing.T) { receivedComplianceInfo := setup.checkCertifiedModelMatchesMsg(t, certifyModelMsg) require.Equal(t, 1, len(receivedComplianceInfo.History)) - require.Equal(t, dclcompltypes.CodeRevoked, receivedComplianceInfo.History[0].SoftwareVersionCertificationStatus) + require.Equal(t, types.CodeRevoked, receivedComplianceInfo.History[0].SoftwareVersionCertificationStatus) require.Equal(t, revokeModelMsg.RevocationDate, receivedComplianceInfo.History[0].Date) receivedDeviceSoftwareCompliance, _ := queryDeviceSoftwareCompliance(setup, testconstants.CDCertificateID) diff --git a/x/compliance/handler_delete_compliance_info_test.go b/x/compliance/handler_delete_compliance_info_test.go index ecb7b4b0f..0a53a9f57 100644 --- a/x/compliance/handler_delete_compliance_info_test.go +++ b/x/compliance/handler_delete_compliance_info_test.go @@ -6,7 +6,6 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/require" testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" - dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/compliance" "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" ) @@ -15,7 +14,7 @@ func setupDeleteComplianceInfo(t *testing.T) (*TestSetup, int32, int32, uint32, vid, pid, softwareVersion, softwareVersionString := setup.addModelVersion( testconstants.Vid, testconstants.Pid, testconstants.SoftwareVersion, testconstants.SoftwareVersionString) - certificationType := dclcompltypes.ZigbeeCertificationType + certificationType := types.ZigbeeCertificationType return setup, vid, pid, softwareVersion, softwareVersionString, certificationType } diff --git a/x/compliance/handler_provision_model_test.go b/x/compliance/handler_provision_model_test.go index 363d23ff8..dd9e89b00 100644 --- a/x/compliance/handler_provision_model_test.go +++ b/x/compliance/handler_provision_model_test.go @@ -8,7 +8,6 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" - dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/compliance" "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" dclauthtypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" ) @@ -18,7 +17,7 @@ func setupProvisionModel(t *testing.T) (*TestSetup, int32, int32, uint32, string vid, pid, softwareVersion, softwareVersionString := setup.addModelVersion( testconstants.Vid, testconstants.Pid, testconstants.SoftwareVersion, testconstants.SoftwareVersionString) - certificationType := dclcompltypes.ZigbeeCertificationType + certificationType := types.ZigbeeCertificationType return setup, vid, pid, softwareVersion, softwareVersionString, certificationType } @@ -153,7 +152,7 @@ func TestHandler_ProvisionModel_AlreadyRevoked(t *testing.T) { func TestHandler_ProvisionModel_MoreThanOneModel(t *testing.T) { setup := setup(t) - certificationType := dclcompltypes.ZigbeeCertificationType + certificationType := types.ZigbeeCertificationType modelVersionsQuantity := 5 for i := 1; i < modelVersionsQuantity; i++ { diff --git a/x/compliance/handler_revoke_model_test.go b/x/compliance/handler_revoke_model_test.go index ae7bd24b4..d4478a32b 100644 --- a/x/compliance/handler_revoke_model_test.go +++ b/x/compliance/handler_revoke_model_test.go @@ -9,7 +9,6 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" - dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/compliance" "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" dclauthtypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" modeltypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/types" @@ -20,7 +19,7 @@ func setupRevokeModel(t *testing.T) (*TestSetup, int32, int32, uint32, string, s vid, pid, softwareVersion, softwareVersionString := setup.addModelVersion( testconstants.Vid, testconstants.Pid, testconstants.SoftwareVersion, testconstants.SoftwareVersionString) - certificationType := dclcompltypes.ZigbeeCertificationType + certificationType := types.ZigbeeCertificationType return setup, vid, pid, softwareVersion, softwareVersionString, certificationType } @@ -64,7 +63,7 @@ func (setup *TestSetup) checkModelStatusChangedToRevoked(t *testing.T, revokeMod require.False(t, certifiedModel.Value) } -func (setup *TestSetup) checkRevokedModelInfoEqualsMessageData(t *testing.T, revokeModelMsg *types.MsgRevokeModel) *dclcompltypes.ComplianceInfo { +func (setup *TestSetup) checkRevokedModelInfoEqualsMessageData(t *testing.T, revokeModelMsg *types.MsgRevokeModel) *types.ComplianceInfo { vid := revokeModelMsg.Vid pid := revokeModelMsg.Pid softwareVersion := revokeModelMsg.SoftwareVersion @@ -101,7 +100,7 @@ func TestHandler_RevokeCertifiedModel(t *testing.T) { complianceInfo := setup.checkRevokedModelInfoEqualsMessageData(t, revokeModelMsg) require.Equal(t, 1, len(complianceInfo.History)) - require.Equal(t, dclcompltypes.CodeCertified, complianceInfo.History[0].SoftwareVersionCertificationStatus) + require.Equal(t, types.CodeCertified, complianceInfo.History[0].SoftwareVersionCertificationStatus) require.Equal(t, certifyModelMsg.CertificationDate, complianceInfo.History[0].Date) setup.checkModelStatusChangedToRevoked(t, revokeModelMsg) @@ -118,7 +117,7 @@ func TestHandler_RevokeProvisionedModel(t *testing.T) { complianceInfo := setup.checkRevokedModelInfoEqualsMessageData(t, revokeModelMsg) require.Equal(t, 1, len(complianceInfo.History)) - require.Equal(t, dclcompltypes.CodeProvisional, complianceInfo.History[0].SoftwareVersionCertificationStatus) + require.Equal(t, types.CodeProvisional, complianceInfo.History[0].SoftwareVersionCertificationStatus) require.Equal(t, provisionModelMsg.ProvisionalDate, complianceInfo.History[0].Date) setup.checkModelStatusChangedToRevoked(t, revokeModelMsg) @@ -174,7 +173,7 @@ func TestHandler_RevokeModelTwice(t *testing.T) { func TestHandler_RevokeDifferentModels(t *testing.T) { setup := setup(t) - certificationType := dclcompltypes.ZigbeeCertificationType + certificationType := types.ZigbeeCertificationType modelVersionsQuantity := 5 for i := 1; i < modelVersionsQuantity; i++ { @@ -271,8 +270,8 @@ func TestHandler_CertifyRevokedModelThatWasCertifiedEarlier(t *testing.T) { setup.checkModelCertified(t, secondCertifyModelMsg) require.Equal(t, 2, len(complianceInfo.History)) - require.Equal(t, dclcompltypes.CodeCertified, complianceInfo.History[0].SoftwareVersionCertificationStatus) + require.Equal(t, types.CodeCertified, complianceInfo.History[0].SoftwareVersionCertificationStatus) require.Equal(t, certifyModelMsg.CertificationDate, complianceInfo.History[0].Date) - require.Equal(t, dclcompltypes.CodeRevoked, complianceInfo.History[1].SoftwareVersionCertificationStatus) + require.Equal(t, types.CodeRevoked, complianceInfo.History[1].SoftwareVersionCertificationStatus) require.Equal(t, revokeModelMsg.RevocationDate, complianceInfo.History[1].Date) } diff --git a/x/compliance/handler_test.go b/x/compliance/handler_test.go index 8ee017d92..f293af592 100644 --- a/x/compliance/handler_test.go +++ b/x/compliance/handler_test.go @@ -11,7 +11,6 @@ import ( "github.com/stretchr/testify/require" testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" testkeeper "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/keeper" - dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/compliance" "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" dclauthtypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" @@ -64,7 +63,7 @@ type TestSetup struct { Handler sdk.Handler // Querier sdk.Querier CertificationCenter sdk.AccAddress - CertificationTypes dclcompltypes.CertificationTypes + CertificationTypes types.CertificationTypes } func (setup *TestSetup) addAccount( @@ -112,7 +111,7 @@ func setup(t *testing.T) *TestSetup { certificationCenter := generateAccAddress() - certificationTypes := dclcompltypes.CertificationTypes{dclcompltypes.ZigbeeCertificationType, dclcompltypes.MatterCertificationType} + certificationTypes := types.CertificationTypes{types.ZigbeeCertificationType, types.MatterCertificationType} setup := &TestSetup{ T: t, @@ -137,7 +136,7 @@ func queryComplianceInfo( pid int32, softwareVersion uint32, certificationType string, -) (*dclcompltypes.ComplianceInfo, error) { +) (*types.ComplianceInfo, error) { req := &types.QueryGetComplianceInfoRequest{ Vid: vid, Pid: pid, @@ -163,7 +162,7 @@ func queryExistingComplianceInfo( pid int32, softwareVersion uint32, certificationType string, -) *dclcompltypes.ComplianceInfo { +) *types.ComplianceInfo { complianceInfo, err := queryComplianceInfo(setup, vid, pid, softwareVersion, certificationType) require.NoError(setup.T, err) @@ -281,12 +280,12 @@ func queryRevokedModel( func checkProvisionalModelInfo( t *testing.T, provisionalModelMsg *types.MsgProvisionModel, - receivedComplianceInfo *dclcompltypes.ComplianceInfo, + receivedComplianceInfo *types.ComplianceInfo, ) { t.Helper() require.Equal(t, provisionalModelMsg.Vid, receivedComplianceInfo.Vid) require.Equal(t, provisionalModelMsg.Pid, receivedComplianceInfo.Pid) - require.Equal(t, dclcompltypes.CodeProvisional, receivedComplianceInfo.SoftwareVersionCertificationStatus) + require.Equal(t, types.CodeProvisional, receivedComplianceInfo.SoftwareVersionCertificationStatus) require.Equal(t, provisionalModelMsg.ProvisionalDate, receivedComplianceInfo.Date) require.Equal(t, provisionalModelMsg.Reason, receivedComplianceInfo.Reason) require.Equal(t, provisionalModelMsg.CertificationType, receivedComplianceInfo.CertificationType) @@ -307,12 +306,12 @@ func checkProvisionalModelInfo( func checkCertifiedModelInfo( t *testing.T, certifyModelMsg *types.MsgCertifyModel, - receivedComplianceInfo *dclcompltypes.ComplianceInfo, + receivedComplianceInfo *types.ComplianceInfo, ) { t.Helper() require.Equal(t, certifyModelMsg.Vid, receivedComplianceInfo.Vid) require.Equal(t, certifyModelMsg.Pid, receivedComplianceInfo.Pid) - require.Equal(t, dclcompltypes.CodeCertified, receivedComplianceInfo.SoftwareVersionCertificationStatus) + require.Equal(t, types.CodeCertified, receivedComplianceInfo.SoftwareVersionCertificationStatus) require.Equal(t, certifyModelMsg.CertificationDate, receivedComplianceInfo.Date) require.Equal(t, certifyModelMsg.Reason, receivedComplianceInfo.Reason) require.Equal(t, certifyModelMsg.CertificationType, receivedComplianceInfo.CertificationType) @@ -332,8 +331,8 @@ func checkCertifiedModelInfo( func checkDeviceSoftwareCompliance( t *testing.T, - info *dclcompltypes.ComplianceInfo, - receivedComplianceInfo *dclcompltypes.ComplianceInfo, + info *types.ComplianceInfo, + receivedComplianceInfo *types.ComplianceInfo, ) { t.Helper() require.Equal(t, info.Vid, receivedComplianceInfo.Vid) @@ -359,12 +358,12 @@ func checkDeviceSoftwareCompliance( func checkRevokedModelInfo( t *testing.T, revokeModelMsg *types.MsgRevokeModel, - receivedComplianceInfo *dclcompltypes.ComplianceInfo, + receivedComplianceInfo *types.ComplianceInfo, ) { t.Helper() require.Equal(t, revokeModelMsg.Vid, receivedComplianceInfo.Vid) require.Equal(t, revokeModelMsg.Pid, receivedComplianceInfo.Pid) - require.Equal(t, dclcompltypes.CodeRevoked, receivedComplianceInfo.SoftwareVersionCertificationStatus) + require.Equal(t, types.CodeRevoked, receivedComplianceInfo.SoftwareVersionCertificationStatus) require.Equal(t, revokeModelMsg.RevocationDate, receivedComplianceInfo.Date) require.Equal(t, revokeModelMsg.Reason, receivedComplianceInfo.Reason) require.Equal(t, revokeModelMsg.CertificationType, receivedComplianceInfo.CertificationType) diff --git a/x/compliance/handler_update_compliance_info_test.go b/x/compliance/handler_update_compliance_info_test.go index 831e43604..6f0de7fa9 100644 --- a/x/compliance/handler_update_compliance_info_test.go +++ b/x/compliance/handler_update_compliance_info_test.go @@ -7,12 +7,11 @@ import ( "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" - dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/compliance" "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" dclauthtypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" ) -func (setup *TestSetup) checkAllComplianceInfoFieldsUpdated(t *testing.T, originalComplianceInfo *dclcompltypes.ComplianceInfo, updatedComplianceInfo *dclcompltypes.ComplianceInfo) { +func (setup *TestSetup) checkAllComplianceInfoFieldsUpdated(t *testing.T, originalComplianceInfo *types.ComplianceInfo, updatedComplianceInfo *types.ComplianceInfo) { require.Equal(t, originalComplianceInfo.Vid, updatedComplianceInfo.Vid) require.Equal(t, originalComplianceInfo.Pid, updatedComplianceInfo.Pid) require.Equal(t, originalComplianceInfo.SoftwareVersion, updatedComplianceInfo.SoftwareVersion) @@ -33,7 +32,7 @@ func (setup *TestSetup) checkAllComplianceInfoFieldsUpdated(t *testing.T, origin require.NotEqual(t, originalComplianceInfo.Transport, updatedComplianceInfo.Transport) } -func (setup *TestSetup) checkDeviceSoftwareComplianceUpdated(t *testing.T, originalComplianceInfo *dclcompltypes.ComplianceInfo, updatedDeviceSoftwareCompliance *types.DeviceSoftwareCompliance, isUpdatedMinimally bool) { +func (setup *TestSetup) checkDeviceSoftwareComplianceUpdated(t *testing.T, originalComplianceInfo *types.ComplianceInfo, updatedDeviceSoftwareCompliance *types.DeviceSoftwareCompliance, isUpdatedMinimally bool) { isFound := false for _, complianceInfo := range updatedDeviceSoftwareCompliance.ComplianceInfo { @@ -57,12 +56,12 @@ func (setup *TestSetup) checkDeviceSoftwareComplianceUpdated(t *testing.T, origi require.True(t, isFound) } -func setupUpdateComplianceInfo(t *testing.T) (*TestSetup, int32, int32, uint32, string, string, *dclcompltypes.ComplianceInfo, *types.DeviceSoftwareCompliance) { +func setupUpdateComplianceInfo(t *testing.T) (*TestSetup, int32, int32, uint32, string, string, *types.ComplianceInfo, *types.DeviceSoftwareCompliance) { setup := setup(t) vid, pid, softwareVersion, softwareVersionString := setup.addModelVersion( testconstants.Vid, testconstants.Pid, testconstants.SoftwareVersion, testconstants.SoftwareVersionString) - certificationType := dclcompltypes.ZigbeeCertificationType + certificationType := types.ZigbeeCertificationType certifyModelMsg := newMsgCertifyModel(vid, pid, softwareVersion, softwareVersionString, certificationType, setup.CertificationCenter) _, certifyModelErr := setup.Handler(setup.Ctx, certifyModelMsg) @@ -147,7 +146,7 @@ func TestHandler_UpdateComplianceInfo_NotByCertificationCenter(t *testing.T) { _, updateComplianceInfoErr := setup.Handler(setup.Ctx, updateComplianceInfoMsg) require.ErrorIs(t, updateComplianceInfoErr, sdkerrors.ErrUnauthorized) - updatedComplianceInfo := queryExistingComplianceInfo(setup, vid, pid, softwareVersion, dclcompltypes.ZigbeeCertificationType) + updatedComplianceInfo := queryExistingComplianceInfo(setup, vid, pid, softwareVersion, types.ZigbeeCertificationType) require.Equal(t, originalComplianceInfo, updatedComplianceInfo) } diff --git a/x/compliance/keeper/compliance_info.go b/x/compliance/keeper/compliance_info.go index f8a6b0ee1..f1a8f5672 100644 --- a/x/compliance/keeper/compliance_info.go +++ b/x/compliance/keeper/compliance_info.go @@ -3,8 +3,9 @@ package keeper import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" - dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/compliance" + "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" + dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" ) // SetComplianceInfo set a specific complianceInfo in the store from its index. diff --git a/x/compliance/keeper/compliance_info_test.go b/x/compliance/keeper/compliance_info_test.go index 0f68cc32e..9039d62c0 100644 --- a/x/compliance/keeper/compliance_info_test.go +++ b/x/compliance/keeper/compliance_info_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/require" keepertest "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/nullify" - dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/compliance" "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/keeper" + dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" ) // Prevent strconv unused error. diff --git a/x/compliance/keeper/grpc_query_compliance_info.go b/x/compliance/keeper/grpc_query_compliance_info.go index 36284e817..14fe13db5 100644 --- a/x/compliance/keeper/grpc_query_compliance_info.go +++ b/x/compliance/keeper/grpc_query_compliance_info.go @@ -6,12 +6,11 @@ import ( "github.com/cosmos/cosmos-sdk/store/prefix" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" - "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" - - dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/compliance" "google.golang.org/grpc/codes" - "google.golang.org/grpc/status" + + "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" + dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" ) func (k Keeper) ComplianceInfoAll(c context.Context, req *types.QueryAllComplianceInfoRequest) (*types.QueryAllComplianceInfoResponse, error) { diff --git a/x/compliance/keeper/msg_server_certify_model.go b/x/compliance/keeper/msg_server_certify_model.go index bfe12ed9c..6697cd496 100644 --- a/x/compliance/keeper/msg_server_certify_model.go +++ b/x/compliance/keeper/msg_server_certify_model.go @@ -7,8 +7,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/compliance" + "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" + dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" dclauthtypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" modeltypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/types" ) diff --git a/x/compliance/keeper/msg_server_provision_model.go b/x/compliance/keeper/msg_server_provision_model.go index 096b76690..7c3c11414 100644 --- a/x/compliance/keeper/msg_server_provision_model.go +++ b/x/compliance/keeper/msg_server_provision_model.go @@ -5,8 +5,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/compliance" + "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" + dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" dclauthtypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" modeltypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/types" ) diff --git a/x/compliance/keeper/msg_server_revoke_model.go b/x/compliance/keeper/msg_server_revoke_model.go index 7e7d30898..7071759ca 100644 --- a/x/compliance/keeper/msg_server_revoke_model.go +++ b/x/compliance/keeper/msg_server_revoke_model.go @@ -7,8 +7,9 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/compliance" + "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" + dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" dclauthtypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" modeltypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/types" ) diff --git a/x/compliance/types/certified_model.pb.go b/x/compliance/types/certified_model.pb.go index 41b645a56..04135e2fe 100644 --- a/x/compliance/types/certified_model.pb.go +++ b/x/compliance/types/certified_model.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: compliance/certified_model.proto +// source: compliance/types/certified_model.proto package types @@ -34,7 +34,7 @@ func (m *CertifiedModel) Reset() { *m = CertifiedModel{} } func (m *CertifiedModel) String() string { return proto.CompactTextString(m) } func (*CertifiedModel) ProtoMessage() {} func (*CertifiedModel) Descriptor() ([]byte, []int) { - return fileDescriptor_9158b154fcb2a9dd, []int{0} + return fileDescriptor_8e3f266d6845ce75, []int{0} } func (m *CertifiedModel) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -99,30 +99,32 @@ func (m *CertifiedModel) GetValue() bool { } func init() { - proto.RegisterType((*CertifiedModel)(nil), "zigbeealliance.distributedcomplianceledger.compliance.CertifiedModel") + proto.RegisterType((*CertifiedModel)(nil), "compliance.types.CertifiedModel") } -func init() { proto.RegisterFile("compliance/certified_model.proto", fileDescriptor_9158b154fcb2a9dd) } +func init() { + proto.RegisterFile("compliance/types/certified_model.proto", fileDescriptor_8e3f266d6845ce75) +} -var fileDescriptor_9158b154fcb2a9dd = []byte{ - // 272 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0x3d, 0x4e, 0xf4, 0x30, - 0x10, 0x86, 0xe3, 0x6f, 0xbf, 0x20, 0xb0, 0xc4, 0x5f, 0x44, 0x91, 0xca, 0x8a, 0xa8, 0x52, 0x90, - 0xb8, 0x40, 0x5c, 0x00, 0x4a, 0x44, 0x13, 0x21, 0x0a, 0x1a, 0xe4, 0xc4, 0xb3, 0x61, 0x24, 0x6f, - 0x6c, 0x39, 0xce, 0xc2, 0x72, 0x0a, 0xce, 0xc0, 0x69, 0x28, 0xb7, 0xa4, 0x44, 0xc9, 0x45, 0x50, - 0x30, 0xab, 0xac, 0xa0, 0xb3, 0x1f, 0x7b, 0x5e, 0xcd, 0xfb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, 0xcf, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0xb9, 0xa9, 0x16, 0xac, 0x6d, 0x01, 0x00, 0x00, +var fileDescriptor_8e3f266d6845ce75 = []byte{ + // 262 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0x31, 0x4e, 0xc3, 0x30, + 0x14, 0x40, 0x63, 0x4a, 0x10, 0x58, 0x02, 0x4a, 0xc4, 0x90, 0xc9, 0x8a, 0x18, 0x50, 0x06, 0x12, + 0x0f, 0xdc, 0x00, 0x46, 0xc4, 0x12, 0x21, 0x06, 0x16, 0xe4, 0xd8, 0xbf, 0xe1, 0x4b, 0x4e, 0x6c, + 0x39, 0x4e, 0xa1, 0x9c, 0x82, 0x33, 0x70, 0x1a, 0xc6, 0x8e, 0x8c, 0x28, 0xb9, 0x08, 0x4a, 0x5b, + 0x54, 0xa9, 0x6c, 0xf6, 0xfb, 0x6f, 0xf8, 0xff, 0xd1, 0x4b, 0x69, 0x6a, 0xab, 0x51, 0x34, 0x12, + 0xb8, 0x5f, 0x58, 0x68, 0xb9, 0x04, 0xe7, 0x71, 0x86, 0xa0, 0x9e, 0x6b, 0xa3, 0x40, 0xe7, 0xd6, + 0x19, 0x6f, 0xa2, 0xe9, 0xd6, 0xcb, 0x57, 0xde, 0xc5, 0x27, 0xa1, 0x27, 0xb7, 0x7f, 0xee, 0xfd, + 0xa8, 0x46, 0x53, 0x3a, 0x99, 0xa3, 0x8a, 0x49, 0x42, 0xd2, 0xb0, 0x18, 0x9f, 0x23, 0xb1, 0xa8, + 0xe2, 0xbd, 0x35, 0xb1, 0xa8, 0xa2, 0x94, 0x9e, 0xb6, 0x66, 0xe6, 0x5f, 0x85, 0x83, 0x47, 0x70, + 0x2d, 0x9a, 0x26, 0x9e, 0x24, 0x24, 0x3d, 0x2e, 0x76, 0x71, 0x74, 0x45, 0xcf, 0x36, 0xbb, 0x48, + 0xe1, 0xd1, 0x34, 0x0f, 0x0b, 0x0b, 0xf1, 0x7e, 0x42, 0xd2, 0xa3, 0xe2, 0xff, 0x20, 0x3a, 0xa7, + 0xe1, 0x5c, 0xe8, 0x0e, 0xe2, 0x30, 0x21, 0xe9, 0x61, 0xb1, 0xfe, 0xdc, 0xc0, 0x57, 0xcf, 0xc8, + 0xb2, 0x67, 0xe4, 0xa7, 0x67, 0xe4, 0x63, 0x60, 0xc1, 0x72, 0x60, 0xc1, 0xf7, 0xc0, 0x82, 0xa7, + 0xbb, 0x0a, 0xfd, 0x4b, 0x57, 0xe6, 0xd2, 0xd4, 0xfc, 0x1d, 0xab, 0x12, 0x20, 0x13, 0x7a, 0x13, + 0x42, 0x61, 0xeb, 0x1d, 0x96, 0x9d, 0x07, 0x95, 0x6d, 0xef, 0xce, 0x34, 0xa8, 0x0a, 0x1c, 0x7f, + 0xe3, 0xbb, 0xcd, 0xca, 0x83, 0x55, 0xa4, 0xeb, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x10, 0xd3, + 0xc5, 0xb4, 0x4e, 0x01, 0x00, 0x00, } func (m *CertifiedModel) Marshal() (dAtA []byte, err error) { diff --git a/types/compliance/compliance_history_item.pb.go b/x/compliance/types/compliance_history_item.pb.go similarity index 83% rename from types/compliance/compliance_history_item.pb.go rename to x/compliance/types/compliance_history_item.pb.go index a837b03cd..07f4dc317 100644 --- a/types/compliance/compliance_history_item.pb.go +++ b/x/compliance/types/compliance_history_item.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: compliance/compliance_history_item.proto +// source: compliance/types/compliance_history_item.proto package types @@ -33,7 +33,7 @@ func (m *ComplianceHistoryItem) Reset() { *m = ComplianceHistoryItem{} } func (m *ComplianceHistoryItem) String() string { return proto.CompactTextString(m) } func (*ComplianceHistoryItem) ProtoMessage() {} func (*ComplianceHistoryItem) Descriptor() ([]byte, []int) { - return fileDescriptor_5f19be5c9c9ea390, []int{0} + return fileDescriptor_b7c5db78a2e409f4, []int{0} } func (m *ComplianceHistoryItem) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -91,33 +91,32 @@ func (m *ComplianceHistoryItem) GetCDVersionNumber() uint32 { } func init() { - proto.RegisterType((*ComplianceHistoryItem)(nil), "zigbeealliance.distributedcomplianceledger.compliance.ComplianceHistoryItem") + proto.RegisterType((*ComplianceHistoryItem)(nil), "compliance.types.ComplianceHistoryItem") } func init() { - proto.RegisterFile("compliance/compliance_history_item.proto", fileDescriptor_5f19be5c9c9ea390) + proto.RegisterFile("compliance/types/compliance_history_item.proto", fileDescriptor_b7c5db78a2e409f4) } -var fileDescriptor_5f19be5c9c9ea390 = []byte{ - // 275 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0x31, 0x4b, 0xc3, 0x40, - 0x1c, 0xc5, 0x73, 0x5a, 0x0a, 0x1e, 0x88, 0x70, 0xa0, 0x64, 0x3a, 0x4a, 0xa7, 0x2c, 0x49, 0x06, - 0xf1, 0x0b, 0x58, 0x07, 0x45, 0xe8, 0x50, 0xc1, 0xc1, 0xa5, 0xdc, 0x25, 0xff, 0xa6, 0x7f, 0x48, - 0x72, 0xe1, 0xee, 0x1f, 0xb4, 0x7e, 0x0a, 0xbf, 0x90, 0xbb, 0x63, 0x47, 0x47, 0x49, 0xbe, 0x88, - 0x98, 0x54, 0x53, 0x9c, 0xba, 0xbd, 0xf7, 0x78, 0xf7, 0x8e, 0xff, 0x8f, 0x07, 0x89, 0x29, 0xaa, - 0x1c, 0x55, 0x99, 0x40, 0x3c, 0xc8, 0xe5, 0x1a, 0x1d, 0x19, 0xbb, 0x59, 0x22, 0x41, 0x11, 0x55, - 0xd6, 0x90, 0x11, 0x57, 0xaf, 0x98, 0x69, 0x00, 0x95, 0xf7, 0x95, 0x28, 0x45, 0x47, 0x16, 0x75, - 0x4d, 0x90, 0x0e, 0x0f, 0x73, 0x48, 0x33, 0xb0, 0xd1, 0x10, 0x4c, 0xdf, 0x19, 0x3f, 0x9f, 0xfd, - 0xd9, 0xdb, 0x7e, 0xf7, 0x8e, 0xa0, 0x10, 0x73, 0x3e, 0x75, 0x66, 0x45, 0xcf, 0xca, 0xc2, 0x23, - 0x58, 0x87, 0xa6, 0x9c, 0x81, 0x25, 0x5c, 0x61, 0xa2, 0x08, 0x4d, 0xf9, 0x40, 0x8a, 0x6a, 0xe7, - 0xb3, 0x09, 0x0b, 0x4e, 0x17, 0x07, 0x34, 0x85, 0xe0, 0xa3, 0x54, 0x11, 0xf8, 0x47, 0x13, 0x16, - 0x9c, 0x2c, 0x3a, 0x2d, 0x2e, 0xf8, 0xd8, 0x82, 0x72, 0xa6, 0xf4, 0x8f, 0xbb, 0x74, 0xe7, 0x44, - 0xc0, 0xcf, 0x92, 0x9b, 0xdd, 0xd6, 0xbc, 0x2e, 0x34, 0x58, 0x7f, 0xd4, 0x7d, 0xf4, 0x3f, 0xbe, - 0x86, 0x8f, 0x46, 0xb2, 0x6d, 0x23, 0xd9, 0x57, 0x23, 0xd9, 0x5b, 0x2b, 0xbd, 0x6d, 0x2b, 0xbd, - 0xcf, 0x56, 0x7a, 0x4f, 0xf7, 0x19, 0xd2, 0xba, 0xd6, 0x3f, 0xc7, 0xc6, 0x3d, 0x9b, 0xf0, 0x17, - 0x4e, 0xbc, 0x07, 0x27, 0x1c, 0x60, 0x84, 0x3d, 0x9e, 0xf8, 0x65, 0x0f, 0x75, 0x4c, 0x9b, 0x0a, - 0x9c, 0x1e, 0x77, 0x90, 0x2f, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xec, 0xe6, 0xca, 0xb9, 0x90, - 0x01, 0x00, 0x00, +var fileDescriptor_b7c5db78a2e409f4 = []byte{ + // 264 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x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x8f, 0x4e, 0xb2, 0x7d, 0x27, 0xd9, 0x57, 0x27, 0xd9, 0x5b, 0x2f, 0x83, 0x7d, 0x2f, 0x83, + 0xcf, 0x5e, 0x06, 0x4f, 0xf7, 0x05, 0xd2, 0xb6, 0xd5, 0x3f, 0x8a, 0xd2, 0x57, 0x2c, 0x34, 0x40, + 0xac, 0xca, 0xc1, 0x55, 0x8e, 0x8e, 0x2c, 0xea, 0x96, 0x20, 0x8f, 0x47, 0x25, 0x71, 0x09, 0x79, + 0x01, 0x36, 0x7d, 0x49, 0x0f, 0xb5, 0xea, 0xa9, 0xf7, 0x77, 0xf5, 0x1d, 0x00, 0x00, 0xff, 0xff, + 0x35, 0x19, 0xf4, 0x0b, 0x71, 0x01, 0x00, 0x00, } func (m *ComplianceHistoryItem) Marshal() (dAtA []byte, err error) { diff --git a/types/compliance/compliance_info.go b/x/compliance/types/compliance_info.go similarity index 100% rename from types/compliance/compliance_info.go rename to x/compliance/types/compliance_info.go diff --git a/types/compliance/compliance_info.pb.go b/x/compliance/types/compliance_info.pb.go similarity index 89% rename from types/compliance/compliance_info.pb.go rename to x/compliance/types/compliance_info.pb.go index fd13c7037..72c0258fe 100644 --- a/types/compliance/compliance_info.pb.go +++ b/x/compliance/types/compliance_info.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: compliance/compliance_info.proto +// source: compliance/types/compliance_info.proto package types @@ -53,7 +53,7 @@ func (m *ComplianceInfo) Reset() { *m = ComplianceInfo{} } func (m *ComplianceInfo) String() string { return proto.CompactTextString(m) } func (*ComplianceInfo) ProtoMessage() {} func (*ComplianceInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_96709118384d66e8, []int{0} + return fileDescriptor_8981313e22adc852, []int{0} } func (m *ComplianceInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -244,51 +244,52 @@ func (m *ComplianceInfo) GetCertificationIdOfSoftwareComponent() string { } func init() { - proto.RegisterType((*ComplianceInfo)(nil), "zigbeealliance.distributedcomplianceledger.compliance.ComplianceInfo") + proto.RegisterType((*ComplianceInfo)(nil), "compliance.types.ComplianceInfo") } -func init() { proto.RegisterFile("compliance/compliance_info.proto", fileDescriptor_96709118384d66e8) } +func init() { + proto.RegisterFile("compliance/types/compliance_info.proto", fileDescriptor_8981313e22adc852) +} -var fileDescriptor_96709118384d66e8 = []byte{ - // 601 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xcd, 0x6e, 0x13, 0x3d, - 0x14, 0xed, 0x7c, 0xfd, 0x77, 0xbf, 0xfe, 0x99, 0xb6, 0x98, 0x0a, 0x45, 0x51, 0x57, 0x59, 0x90, - 0x19, 0x89, 0x9f, 0x0d, 0x3b, 0x1a, 0x16, 0x44, 0xa0, 0x16, 0x4d, 0x80, 0x05, 0x9b, 0xca, 0x19, - 0xdf, 0x49, 0x2d, 0xcd, 0xd8, 0x23, 0xdb, 0x43, 0x09, 0x4f, 0xc1, 0x8a, 0x27, 0xe1, 0x21, 0x58, - 0x56, 0xac, 0x58, 0xa2, 0xf6, 0x45, 0x90, 0xed, 0x99, 0x4e, 0x9a, 0x04, 0xa9, 0x62, 0xe7, 0x7b, - 0xce, 0xbd, 0xe7, 0x5e, 0xfb, 0x1e, 0x19, 0xb5, 0x13, 0x99, 0x17, 0x19, 0xa7, 0x22, 0x81, 0xa8, - 0x39, 0x9e, 0x71, 0x91, 0xca, 0xb0, 0x50, 0xd2, 0x48, 0xfc, 0xec, 0x0b, 0x1f, 0x0d, 0x01, 0x68, - 0xe6, 0xa9, 0x90, 0x71, 0x6d, 0x14, 0x1f, 0x96, 0x06, 0x58, 0x53, 0x90, 0x01, 0x1b, 0x81, 0x0a, - 0x1b, 0xe0, 0xb0, 0x33, 0x5f, 0xf8, 0x9c, 0x6b, 0x23, 0xd5, 0xf8, 0x8c, 0x1b, 0xc8, 0x7d, 0x83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, 0x03, 0x7d, 0x76, 0x9a, 0x0e, - 0x2a, 0x03, 0x5b, 0x03, 0x48, 0x01, 0xc2, 0x90, 0xfb, 0xae, 0xf0, 0x0e, 0x99, 0xc7, 0xf0, 0xe3, - 0xaa, 0x15, 0x5c, 0x5e, 0xb5, 0x82, 0xdf, 0x57, 0xad, 0xe0, 0xeb, 0x75, 0x6b, 0xe1, 0xf2, 0xba, - 0xb5, 0xf0, 0xeb, 0xba, 0xb5, 0xf0, 0xf1, 0xf5, 0x88, 0x9b, 0xf3, 0x72, 0x68, 0x1d, 0x16, 0x79, - 0x43, 0x76, 0x6b, 0x47, 0x46, 0x13, 0x8e, 0xec, 0x36, 0x0e, 0xec, 0x7a, 0x4f, 0x46, 0x9f, 0x27, - 0xfe, 0xa9, 0xc8, 0x8c, 0x0b, 0xd0, 0xc3, 0x15, 0xf7, 0x0d, 0x3d, 0xf9, 0x13, 0x00, 0x00, 0xff, - 0xff, 0x04, 0x7c, 0x3a, 0x53, 0x26, 0x05, 0x00, 0x00, +var fileDescriptor_8981313e22adc852 = []byte{ + // 590 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xcb, 0x6e, 0xd4, 0x30, + 0x14, 0x6d, 0xe8, 0xdb, 0xa5, 0x2f, 0xd3, 0x16, 0x53, 0xa1, 0xd1, 0xa8, 0x0b, 0x98, 0x05, 0x93, + 0x48, 0xc0, 0x8a, 0x5d, 0x3b, 0x2c, 0x18, 0x21, 0xb5, 0x28, 0x03, 0x2c, 0xd8, 0x54, 0x9e, 0xf8, + 0x66, 0x6a, 0x29, 0xb1, 0x23, 0xdb, 0xa1, 0x0c, 0x5f, 0xc1, 0xc7, 0xf0, 0x11, 0x2c, 0x2b, 0x56, + 0x2c, 0x51, 0xfb, 0x05, 0xfc, 0x01, 0xb2, 0x9d, 0x69, 0xda, 0xcc, 0x80, 0xba, 0xcb, 0x3d, 0x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, 0x5d, 0x16, + 0x56, 0x06, 0xac, 0x97, 0x95, 0xda, 0x80, 0xd2, 0x64, 0xc7, 0x87, 0x7a, 0x8a, 0xb0, 0xe7, 0x9c, + 0x0c, 0x26, 0x4b, 0xed, 0xfa, 0x73, 0xae, 0x01, 0x77, 0x93, 0x54, 0x81, 0x30, 0xbd, 0x33, 0x9e, + 0x31, 0xb2, 0x57, 0xdd, 0x64, 0x0d, 0xd9, 0xd0, 0xde, 0x72, 0xa0, 0xcf, 0x4e, 0xd2, 0x41, 0x95, + 0x4d, 0x1b, 0x00, 0x29, 0x40, 0x18, 0xf2, 0xd0, 0x35, 0xde, 0x41, 0x79, 0x04, 0x3f, 0x2e, 0x5b, + 0xc1, 0xc5, 0x65, 0x2b, 0xf8, 0x7d, 0xd9, 0x0a, 0xbe, 0x5d, 0xb5, 0xe6, 0x2e, 0xae, 0x5a, 0x73, + 0xbf, 0xae, 0x5a, 0x73, 0x9f, 0xde, 0x8e, 0xb8, 0x39, 0x2b, 0x87, 0x36, 0x67, 0xd1, 0x57, 0x3e, + 0x1a, 0x02, 0x74, 0x69, 0x56, 0x3d, 0x34, 0x8c, 0x6b, 0xa3, 0xf8, 0xb0, 0x34, 0xc0, 0xba, 0x75, + 0x0e, 0xbb, 0x19, 0xb0, 0x11, 0xa8, 0xe8, 0x4b, 0xd4, 0x7c, 0x93, 0x86, 0x4b, 0xee, 0x85, 0x79, + 0xf1, 0x37, 0x00, 0x00, 0xff, 0xff, 0x67, 0xd1, 0x67, 0x61, 0xe8, 0x04, 0x00, 0x00, } func (m *ComplianceInfo) Marshal() (dAtA []byte, err error) { diff --git a/x/compliance/types/device_software_compliance.pb.go b/x/compliance/types/device_software_compliance.pb.go index 1fbbc7f60..7c1e3e0ea 100644 --- a/x/compliance/types/device_software_compliance.pb.go +++ b/x/compliance/types/device_software_compliance.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: compliance/device_software_compliance.proto +// source: compliance/types/device_software_compliance.proto package types @@ -9,8 +9,6 @@ import ( io "io" math "math" math_bits "math/bits" - - dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/compliance" ) // Reference imports to suppress errors if they are not otherwise used. @@ -26,14 +24,14 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type DeviceSoftwareCompliance struct { CDCertificateId string `protobuf:"bytes,1,opt,name=cDCertificateId,proto3" json:"cDCertificateId,omitempty"` - ComplianceInfo []*dclcompltypes.ComplianceInfo `protobuf:"bytes,2,rep,name=complianceInfo,proto3" json:"complianceInfo,omitempty"` + ComplianceInfo []*ComplianceInfo `protobuf:"bytes,2,rep,name=complianceInfo,proto3" json:"complianceInfo,omitempty"` } func (m *DeviceSoftwareCompliance) Reset() { *m = DeviceSoftwareCompliance{} } func (m *DeviceSoftwareCompliance) String() string { return proto.CompactTextString(m) } func (*DeviceSoftwareCompliance) ProtoMessage() {} func (*DeviceSoftwareCompliance) Descriptor() ([]byte, []int) { - return fileDescriptor_22c66eeddd1d6355, []int{0} + return fileDescriptor_86b963fbb0538655, []int{0} } func (m *DeviceSoftwareCompliance) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -69,7 +67,7 @@ func (m *DeviceSoftwareCompliance) GetCDCertificateId() string { return "" } -func (m *DeviceSoftwareCompliance) GetComplianceInfo() []*dclcompltypes.ComplianceInfo { +func (m *DeviceSoftwareCompliance) GetComplianceInfo() []*ComplianceInfo { if m != nil { return m.ComplianceInfo } @@ -77,31 +75,30 @@ func (m *DeviceSoftwareCompliance) GetComplianceInfo() []*dclcompltypes.Complian } func init() { - proto.RegisterType((*DeviceSoftwareCompliance)(nil), "zigbeealliance.distributedcomplianceledger.compliance.DeviceSoftwareCompliance") + proto.RegisterType((*DeviceSoftwareCompliance)(nil), "compliance.types.DeviceSoftwareCompliance") } func init() { - proto.RegisterFile("compliance/device_software_compliance.proto", fileDescriptor_22c66eeddd1d6355) + proto.RegisterFile("compliance/types/device_software_compliance.proto", fileDescriptor_86b963fbb0538655) } -var fileDescriptor_22c66eeddd1d6355 = []byte{ - // 249 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4e, 0xce, 0xcf, 0x2d, - 0xc8, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4f, 0x49, 0x2d, 0xcb, 0x4c, 0x4e, 0x8d, 0x2f, 0xce, - 0x4f, 0x2b, 0x29, 0x4f, 0x2c, 0x4a, 0x8d, 0x47, 0x48, 0xe9, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, - 0x99, 0x56, 0x65, 0xa6, 0x27, 0xa5, 0xa6, 0x26, 0xe6, 0x40, 0x45, 0x53, 0x32, 0x8b, 0x4b, 0x8a, - 0x32, 0x93, 0x4a, 0x4b, 0x52, 0x53, 0x10, 0x6a, 0x73, 0x52, 0x53, 0xd2, 0x53, 0x8b, 0xf4, 0x10, - 0x02, 0x52, 0x0a, 0x48, 0x76, 0x20, 0x98, 0xf1, 0x99, 0x79, 0x69, 0xf9, 0x10, 0x83, 0x95, 0x36, - 0x33, 0x72, 0x49, 0xb8, 0x80, 0x6d, 0x0f, 0x86, 0x5a, 0xee, 0x0c, 0x57, 0x27, 0xa4, 0xc1, 0xc5, - 0x9f, 0xec, 0xe2, 0x9c, 0x5a, 0x54, 0x92, 0x99, 0x96, 0x99, 0x9c, 0x58, 0x92, 0xea, 0x99, 0x22, - 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0x19, 0x84, 0x2e, 0x2c, 0x94, 0xcb, 0xc5, 0x87, 0x30, 0xdf, 0x33, - 0x2f, 0x2d, 0x5f, 0x82, 0x49, 0x81, 0x59, 0x83, 0xdb, 0xc8, 0x55, 0x8f, 0x2c, 0x87, 0xeb, 0x39, - 0xa3, 0x18, 0x16, 0x84, 0x66, 0xb8, 0x53, 0xea, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, - 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, - 0x31, 0x44, 0x79, 0xa7, 0x67, 0x96, 0x64, 0x94, 0x26, 0x81, 0xcc, 0xd2, 0x87, 0x58, 0xad, 0x0b, - 0xb3, 0x5b, 0x1f, 0xc9, 0x6e, 0x5d, 0x84, 0x81, 0xba, 0x10, 0xdb, 0xf5, 0x2b, 0x90, 0x42, 0x48, - 0xbf, 0xa4, 0xb2, 0x20, 0xb5, 0x38, 0x89, 0x0d, 0x1c, 0x46, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, - 0xff, 0x1d, 0x6f, 0xd6, 0x9c, 0xab, 0x01, 0x00, 0x00, +var fileDescriptor_86b963fbb0538655 = []byte{ + // 239 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4c, 0xce, 0xcf, 0x2d, + 0xc8, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x4f, 0x49, 0x2d, + 0xcb, 0x4c, 0x4e, 0x8d, 0x2f, 0xce, 0x4f, 0x2b, 0x29, 0x4f, 0x2c, 0x4a, 0x8d, 0x47, 0x28, 0xd0, + 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x40, 0x12, 0x01, 0x6b, 0x91, 0x52, 0xc3, 0x30, 0x04, + 0x21, 0x10, 0x9f, 0x99, 0x97, 0x96, 0x0f, 0xd1, 0xa9, 0xd4, 0xc7, 0xc8, 0x25, 0xe1, 0x02, 0x36, + 0x3e, 0x18, 0x6a, 0xba, 0x33, 0x5c, 0x9d, 0x90, 0x06, 0x17, 0x7f, 0xb2, 0x8b, 0x73, 0x6a, 0x51, + 0x49, 0x66, 0x5a, 0x66, 0x72, 0x62, 0x49, 0xaa, 0x67, 0x8a, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x67, + 0x10, 0xba, 0xb0, 0x90, 0x07, 0x17, 0x1f, 0xc2, 0x7c, 0xcf, 0xbc, 0xb4, 0x7c, 0x09, 0x26, 0x05, + 0x66, 0x0d, 0x6e, 0x23, 0x05, 0x3d, 0x74, 0x97, 0xe9, 0x39, 0xa3, 0xa8, 0x0b, 0x42, 0xd3, 0xe7, + 0x94, 0x7a, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x4e, 0x78, + 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0xde, 0xe9, 0x99, 0x25, + 0x19, 0xa5, 0x49, 0x20, 0x13, 0xf5, 0xab, 0x32, 0xd3, 0x93, 0x52, 0x53, 0x75, 0x13, 0x73, 0xa0, + 0x5e, 0x4c, 0xc9, 0x2c, 0x2e, 0x29, 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0xd1, 0x45, 0x18, 0xa8, + 0x9b, 0x93, 0x9a, 0x92, 0x9e, 0x5a, 0xa4, 0x5f, 0xa1, 0x8f, 0x1e, 0x1a, 0x49, 0x6c, 0x60, 0xef, + 0x1b, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xf8, 0x3d, 0xf9, 0x37, 0x6d, 0x01, 0x00, 0x00, } func (m *DeviceSoftwareCompliance) Marshal() (dAtA []byte, err error) { @@ -274,7 +271,7 @@ func (m *DeviceSoftwareCompliance) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ComplianceInfo = append(m.ComplianceInfo, &dclcompltypes.ComplianceInfo{}) + m.ComplianceInfo = append(m.ComplianceInfo, &ComplianceInfo{}) if err := m.ComplianceInfo[len(m.ComplianceInfo)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } diff --git a/x/compliance/types/genesis.go b/x/compliance/types/genesis.go index a97b3b947..3ce66c085 100644 --- a/x/compliance/types/genesis.go +++ b/x/compliance/types/genesis.go @@ -2,8 +2,6 @@ package types import ( "fmt" - - dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/compliance" ) // DefaultIndex is the default capability global index. @@ -12,7 +10,7 @@ const DefaultIndex uint64 = 1 // DefaultGenesis returns the default Capability genesis state. func DefaultGenesis() *GenesisState { return &GenesisState{ - ComplianceInfoList: []dclcompltypes.ComplianceInfo{}, + ComplianceInfoList: []ComplianceInfo{}, CertifiedModelList: []CertifiedModel{}, RevokedModelList: []RevokedModel{}, ProvisionalModelList: []ProvisionalModel{}, diff --git a/x/compliance/types/genesis.pb.go b/x/compliance/types/genesis.pb.go index 054f6d099..da720231d 100644 --- a/x/compliance/types/genesis.pb.go +++ b/x/compliance/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: compliance/genesis.proto +// source: compliance/types/genesis.proto package types @@ -10,8 +10,6 @@ import ( io "io" math "math" math_bits "math/bits" - - dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/compliance" ) // Reference imports to suppress errors if they are not otherwise used. @@ -27,18 +25,18 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // GenesisState defines the compliance module's genesis state. type GenesisState struct { - ComplianceInfoList []dclcompltypes.ComplianceInfo `protobuf:"bytes,1,rep,name=complianceInfoList,proto3" json:"complianceInfoList"` - CertifiedModelList []CertifiedModel `protobuf:"bytes,2,rep,name=certifiedModelList,proto3" json:"certifiedModelList"` - RevokedModelList []RevokedModel `protobuf:"bytes,3,rep,name=revokedModelList,proto3" json:"revokedModelList"` - ProvisionalModelList []ProvisionalModel `protobuf:"bytes,4,rep,name=provisionalModelList,proto3" json:"provisionalModelList"` - DeviceSoftwareComplianceList []DeviceSoftwareCompliance `protobuf:"bytes,5,rep,name=deviceSoftwareComplianceList,proto3" json:"deviceSoftwareComplianceList"` + ComplianceInfoList []ComplianceInfo `protobuf:"bytes,1,rep,name=complianceInfoList,proto3" json:"complianceInfoList"` + CertifiedModelList []CertifiedModel `protobuf:"bytes,2,rep,name=certifiedModelList,proto3" json:"certifiedModelList"` + RevokedModelList []RevokedModel `protobuf:"bytes,3,rep,name=revokedModelList,proto3" json:"revokedModelList"` + ProvisionalModelList []ProvisionalModel `protobuf:"bytes,4,rep,name=provisionalModelList,proto3" json:"provisionalModelList"` + DeviceSoftwareComplianceList []DeviceSoftwareCompliance `protobuf:"bytes,5,rep,name=deviceSoftwareComplianceList,proto3" json:"deviceSoftwareComplianceList"` } func (m *GenesisState) Reset() { *m = GenesisState{} } func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_a491f9d8ec824f82, []int{0} + return fileDescriptor_ae82675eed3bda25, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -67,7 +65,7 @@ func (m *GenesisState) XXX_DiscardUnknown() { var xxx_messageInfo_GenesisState proto.InternalMessageInfo -func (m *GenesisState) GetComplianceInfoList() []dclcompltypes.ComplianceInfo { +func (m *GenesisState) GetComplianceInfoList() []ComplianceInfo { if m != nil { return m.ComplianceInfoList } @@ -103,38 +101,37 @@ func (m *GenesisState) GetDeviceSoftwareComplianceList() []DeviceSoftwareComplia } func init() { - proto.RegisterType((*GenesisState)(nil), "zigbeealliance.distributedcomplianceledger.compliance.GenesisState") + proto.RegisterType((*GenesisState)(nil), "compliance.types.GenesisState") } -func init() { proto.RegisterFile("compliance/genesis.proto", fileDescriptor_a491f9d8ec824f82) } +func init() { proto.RegisterFile("compliance/types/genesis.proto", fileDescriptor_ae82675eed3bda25) } -var fileDescriptor_a491f9d8ec824f82 = []byte{ - // 391 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x93, 0xcf, 0x4e, 0xf2, 0x40, - 0x14, 0xc5, 0xdb, 0x0f, 0xf8, 0x16, 0xd5, 0x85, 0x69, 0x58, 0x10, 0x63, 0x2a, 0x61, 0x65, 0x62, - 0x68, 0x13, 0x8d, 0x2f, 0x00, 0x1a, 0x62, 0xd4, 0x68, 0x60, 0xe7, 0xa6, 0x69, 0xe9, 0x6d, 0x9d, - 0x58, 0x3a, 0x4d, 0x67, 0xc0, 0x7f, 0x2b, 0xdf, 0xc0, 0xad, 0x2b, 0x5f, 0x87, 0x25, 0x4b, 0x57, - 0xc6, 0xc0, 0x8b, 0x18, 0x66, 0x06, 0x67, 0x0a, 0xe8, 0xa2, 0xee, 0x6e, 0x7a, 0xcf, 0x9c, 0xdf, - 0xe9, 0xbd, 0x33, 0x46, 0xad, 0x8f, 0x07, 0x69, 0x8c, 0xbc, 0xa4, 0x0f, 0x4e, 0x04, 0x09, 0x10, - 0x44, 0xec, 0x34, 0xc3, 0x14, 0x9b, 0x47, 0x8f, 0x28, 0xf2, 0x01, 0xbc, 0x98, 0x77, 0xed, 0x00, - 0x11, 0x9a, 0x21, 0x7f, 0x48, 0x21, 0x90, 0x67, 0x62, 0x08, 0x22, 0xc8, 0x6c, 0xf9, 0x61, 0xbb, - 0xae, 0x18, 0xca, 0xd2, 0x45, 0x49, 0x88, 0xb9, 0x71, 0x5e, 0x01, 0x19, 0x45, 0x21, 0x82, 0xc0, - 0x1d, 0xe0, 0x00, 0x62, 0xa1, 0xb0, 0x14, 0x45, 0x06, 0x23, 0x7c, 0xbb, 0xd4, 0x6f, 0x28, 0xfd, - 0x34, 0xc3, 0x23, 0x44, 0x10, 0x4e, 0xbc, 0x38, 0xa7, 0xd9, 0x57, 0x34, 0x01, 0x8c, 0x50, 0x1f, - 0x5c, 0x82, 0x43, 0x7a, 0xe7, 0x65, 0xe0, 0xca, 0x96, 0x10, 0x57, 0x23, 0x1c, 0x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, 0xf1, 0xff, 0xb3, 0xf7, 0x70, 0xf8, 0x15, 0x00, 0x00, 0xff, 0xff, 0x90, - 0xd8, 0x15, 0xf3, 0x2d, 0x04, 0x00, 0x00, +var fileDescriptor_ae82675eed3bda25 = []byte{ + // 371 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xcf, 0x4a, 0xc3, 0x30, + 0x1c, 0xc7, 0x5b, 0x37, 0x3d, 0x54, 0x0f, 0xa3, 0xec, 0x20, 0x22, 0x71, 0x0c, 0x91, 0x21, 0xac, + 0x45, 0x7d, 0x83, 0x29, 0x88, 0xa8, 0x30, 0x36, 0xf0, 0x20, 0x42, 0x69, 0xd7, 0x5f, 0x6b, 0xb0, + 0x6b, 0x4a, 0x92, 0xcd, 0x3f, 0x4f, 0xe1, 0x63, 0xed, 0xb8, 0xa3, 0x27, 0x91, 0xcd, 0x07, 0x91, + 0xa5, 0xd1, 0x6c, 0x4d, 0xe7, 0xad, 0x24, 0x9f, 0xef, 0xe7, 0xd7, 0x7c, 0x13, 0x0b, 0x0d, 0xc8, + 0x30, 0x4b, 0xb0, 0x9f, 0x0e, 0xc0, 0xe5, 0xaf, 0x19, 0x30, 0x37, 0x86, 0x14, 0x18, 0x66, 0x4e, + 0x46, 0x09, 0x27, 0x76, 0x4d, 0xed, 0x3b, 0x62, 0x7f, 0xef, 0x48, 0x4b, 0xa8, 0x05, 0x0f, 0xa7, + 0x11, 0xc9, 0x93, 0x65, 0x1c, 0x50, 0x8e, 0x23, 0x0c, 0xa1, 0x37, 0x24, 0x21, 0x24, 0x92, 0x3b, + 0xd4, 0x38, 0x0a, 0x63, 0xf2, 0x54, 0xa0, 0x5a, 0x1a, 0x95, 0x51, 0x32, 0xc6, 0x0c, 0x93, 0xd4, + 0x4f, 0x56, 0xc8, 0x13, 0x8d, 0x0c, 0x61, 0x8c, 0x07, 0xe0, 0x31, 0x12, 0x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0x87, 0xb0, 0xad, 0xfe, 0xa7, 0x9d, 0x40, 0x18, 0x03, 0x75, 0x5f, 0xdc, 0xe2, 0x23, + 0x0c, 0xb6, 0xc4, 0xa3, 0x3a, 0xfb, 0x09, 0x00, 0x00, 0xff, 0xff, 0x8b, 0xfa, 0x07, 0x07, 0x71, + 0x03, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { @@ -344,7 +341,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ComplianceInfoList = append(m.ComplianceInfoList, dclcompltypes.ComplianceInfo{}) + m.ComplianceInfoList = append(m.ComplianceInfoList, ComplianceInfo{}) if err := m.ComplianceInfoList[len(m.ComplianceInfoList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } diff --git a/x/compliance/types/message_certify_model.go b/x/compliance/types/message_certify_model.go index ba6f9926d..03c361d05 100644 --- a/x/compliance/types/message_certify_model.go +++ b/x/compliance/types/message_certify_model.go @@ -5,7 +5,6 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/compliance" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" ) @@ -83,12 +82,12 @@ func (msg *MsgCertifyModel) ValidateBasic() error { return NewErrInvalidTestDateFormat(msg.CertificationDate) } - if !dclcompltypes.IsValidCertificationType(msg.CertificationType) { - return NewErrInvalidCertificationType(msg.CertificationType, dclcompltypes.CertificationTypesList) + if !IsValidCertificationType(msg.CertificationType) { + return NewErrInvalidCertificationType(msg.CertificationType, CertificationTypesList) } - if !dclcompltypes.IsValidPFCCertificationRoute(msg.ParentChild) { - return NewErrInvalidPFCCertificationRoute(msg.ParentChild, dclcompltypes.PFCCertificationRouteList) + if !IsValidPFCCertificationRoute(msg.ParentChild) { + return NewErrInvalidPFCCertificationRoute(msg.ParentChild, PFCCertificationRouteList) } return nil diff --git a/x/compliance/types/message_delete_compliance_info.go b/x/compliance/types/message_delete_compliance_info.go index 85ab60751..c9ebd243a 100644 --- a/x/compliance/types/message_delete_compliance_info.go +++ b/x/compliance/types/message_delete_compliance_info.go @@ -3,7 +3,6 @@ package types import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/compliance" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" ) @@ -55,8 +54,8 @@ func (msg *MsgDeleteComplianceInfo) ValidateBasic() error { return err } - if !dclcompltypes.IsValidCertificationType(msg.CertificationType) { - return NewErrInvalidCertificationType(msg.CertificationType, dclcompltypes.CertificationTypesList) + if !IsValidCertificationType(msg.CertificationType) { + return NewErrInvalidCertificationType(msg.CertificationType, CertificationTypesList) } return nil diff --git a/x/compliance/types/message_provision_model.go b/x/compliance/types/message_provision_model.go index 4dfcb13a9..c2aa54fd9 100644 --- a/x/compliance/types/message_provision_model.go +++ b/x/compliance/types/message_provision_model.go @@ -5,7 +5,6 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/compliance" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" ) @@ -83,12 +82,12 @@ func (msg *MsgProvisionModel) ValidateBasic() error { return NewErrInvalidTestDateFormat(msg.ProvisionalDate) } - if !dclcompltypes.IsValidCertificationType(msg.CertificationType) { - return NewErrInvalidCertificationType(msg.CertificationType, dclcompltypes.CertificationTypesList) + if !IsValidCertificationType(msg.CertificationType) { + return NewErrInvalidCertificationType(msg.CertificationType, CertificationTypesList) } - if !dclcompltypes.IsValidPFCCertificationRoute(msg.ParentChild) { - return NewErrInvalidPFCCertificationRoute(msg.ParentChild, dclcompltypes.PFCCertificationRouteList) + if !IsValidPFCCertificationRoute(msg.ParentChild) { + return NewErrInvalidPFCCertificationRoute(msg.ParentChild, PFCCertificationRouteList) } return nil diff --git a/x/compliance/types/message_revoke_model.go b/x/compliance/types/message_revoke_model.go index bfa89f4f3..08aee713f 100644 --- a/x/compliance/types/message_revoke_model.go +++ b/x/compliance/types/message_revoke_model.go @@ -5,7 +5,6 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/compliance" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" ) @@ -69,8 +68,8 @@ func (msg *MsgRevokeModel) ValidateBasic() error { return NewErrInvalidTestDateFormat(msg.RevocationDate) } - if !dclcompltypes.IsValidCertificationType(msg.CertificationType) { - return NewErrInvalidCertificationType(msg.CertificationType, dclcompltypes.CertificationTypesList) + if !IsValidCertificationType(msg.CertificationType) { + return NewErrInvalidCertificationType(msg.CertificationType, CertificationTypesList) } return nil diff --git a/x/compliance/types/message_update_compliance_info.go b/x/compliance/types/message_update_compliance_info.go index 6c2558316..e6775fc88 100644 --- a/x/compliance/types/message_update_compliance_info.go +++ b/x/compliance/types/message_update_compliance_info.go @@ -6,7 +6,6 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/compliance" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" ) @@ -96,12 +95,12 @@ func (msg *MsgUpdateComplianceInfo) ValidateBasic() error { } } - if !dclcompltypes.IsValidCertificationType(msg.CertificationType) { - return NewErrInvalidCertificationType(msg.CertificationType, dclcompltypes.CertificationTypesList) + if !IsValidCertificationType(msg.CertificationType) { + return NewErrInvalidCertificationType(msg.CertificationType, CertificationTypesList) } - if !dclcompltypes.IsValidPFCCertificationRoute(msg.ParentChild) { - return NewErrInvalidPFCCertificationRoute(msg.ParentChild, dclcompltypes.PFCCertificationRouteList) + if !IsValidPFCCertificationRoute(msg.ParentChild) { + return NewErrInvalidPFCCertificationRoute(msg.ParentChild, PFCCertificationRouteList) } return nil diff --git a/x/compliance/types/provisional_model.pb.go b/x/compliance/types/provisional_model.pb.go index 40e1f0d0a..2351b07e1 100644 --- a/x/compliance/types/provisional_model.pb.go +++ b/x/compliance/types/provisional_model.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: compliance/provisional_model.proto +// source: compliance/types/provisional_model.proto package types @@ -34,7 +34,7 @@ func (m *ProvisionalModel) Reset() { *m = ProvisionalModel{} } func (m *ProvisionalModel) String() string { return proto.CompactTextString(m) } func (*ProvisionalModel) ProtoMessage() {} func (*ProvisionalModel) Descriptor() ([]byte, []int) { - return fileDescriptor_228e3edf2a47c81f, []int{0} + return fileDescriptor_5b443e66c2ad3e9f, []int{0} } func (m *ProvisionalModel) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -99,33 +99,32 @@ func (m *ProvisionalModel) GetValue() bool { } func init() { - proto.RegisterType((*ProvisionalModel)(nil), "zigbeealliance.distributedcomplianceledger.compliance.ProvisionalModel") + proto.RegisterType((*ProvisionalModel)(nil), "compliance.types.ProvisionalModel") } func init() { - proto.RegisterFile("compliance/provisional_model.proto", fileDescriptor_228e3edf2a47c81f) + proto.RegisterFile("compliance/types/provisional_model.proto", fileDescriptor_5b443e66c2ad3e9f) } -var fileDescriptor_228e3edf2a47c81f = []byte{ - // 273 bytes of a gzipped FileDescriptorProto +var fileDescriptor_5b443e66c2ad3e9f = []byte{ + // 263 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0xb1, 0x4a, 0xc4, 0x30, - 0x1c, 0xc6, 0x2f, 0x9e, 0x15, 0x0d, 0x88, 0x67, 0x71, 0xe8, 0x14, 0xca, 0x4d, 0x1d, 0x6c, 0x3b, - 0x88, 0x2f, 0xe0, 0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0x23, 0xb8, + 0x69, 0x3b, 0x5e, 0x26, 0x84, 0x9f, 0x16, 0xfb, 0x38, 0xba, 0xa2, 0xe7, 0x12, 0x9c, 0xc7, 0x15, + 0x4a, 0xe1, 0xd1, 0x34, 0x0f, 0x6b, 0x0b, 0xf1, 0x61, 0x42, 0xf8, 0x49, 0xf1, 0x7f, 0x10, 0x5d, + 0xd0, 0xa0, 0x17, 0xba, 0x83, 0x38, 0x48, 0x08, 0x3f, 0x2e, 0x76, 0x9f, 0x1b, 0xf8, 0x1a, 0x18, + 0xd9, 0x0c, 0x8c, 0xfc, 0x0c, 0x8c, 0x7c, 0x8c, 0x6c, 0xb1, 0x19, 0xd9, 0xe2, 0x7b, 0x64, 0x8b, + 0xa7, 0xdb, 0x0a, 0xfd, 0x4b, 0x57, 0x66, 0xd2, 0xd4, 0xf9, 0x3b, 0x56, 0x25, 0x40, 0x2a, 0xf4, + 0x5f, 0x0c, 0x85, 0xad, 0x77, 0x58, 0x76, 0x1e, 0x54, 0x3a, 0x5f, 0x9e, 0x6a, 0x50, 0x15, 0xb8, + 0xfc, 0x2d, 0xdf, 0xef, 0x56, 0x1e, 0x6d, 0x33, 0x5d, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x7a, + 0x60, 0x3a, 0x19, 0x52, 0x01, 0x00, 0x00, } func (m *ProvisionalModel) Marshal() (dAtA []byte, err error) { diff --git a/x/compliance/types/query.pb.go b/x/compliance/types/query.pb.go index 07be9d7c4..d45033a96 100644 --- a/x/compliance/types/query.pb.go +++ b/x/compliance/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: compliance/query.proto +// source: compliance/types/query.proto package types @@ -17,8 +17,6 @@ import ( io "io" math "math" math_bits "math/bits" - - dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/compliance" ) // Reference imports to suppress errors if they are not otherwise used. @@ -43,7 +41,7 @@ func (m *QueryGetComplianceInfoRequest) Reset() { *m = QueryGetComplianc func (m *QueryGetComplianceInfoRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetComplianceInfoRequest) ProtoMessage() {} func (*QueryGetComplianceInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_06039bbcb314fcaf, []int{0} + return fileDescriptor_c669f40999a9a40d, []int{0} } func (m *QueryGetComplianceInfoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -101,14 +99,14 @@ func (m *QueryGetComplianceInfoRequest) GetCertificationType() string { } type QueryGetComplianceInfoResponse struct { - ComplianceInfo dclcompltypes.ComplianceInfo `protobuf:"bytes,1,opt,name=complianceInfo,proto3" json:"complianceInfo"` + ComplianceInfo ComplianceInfo `protobuf:"bytes,1,opt,name=complianceInfo,proto3" json:"complianceInfo"` } func (m *QueryGetComplianceInfoResponse) Reset() { *m = QueryGetComplianceInfoResponse{} } func (m *QueryGetComplianceInfoResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetComplianceInfoResponse) ProtoMessage() {} func (*QueryGetComplianceInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_06039bbcb314fcaf, []int{1} + return fileDescriptor_c669f40999a9a40d, []int{1} } func (m *QueryGetComplianceInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -137,11 +135,11 @@ func (m *QueryGetComplianceInfoResponse) XXX_DiscardUnknown() { var xxx_messageInfo_QueryGetComplianceInfoResponse proto.InternalMessageInfo -func (m *QueryGetComplianceInfoResponse) GetComplianceInfo() dclcompltypes.ComplianceInfo { +func (m *QueryGetComplianceInfoResponse) GetComplianceInfo() ComplianceInfo { if m != nil { return m.ComplianceInfo } - return dclcompltypes.ComplianceInfo{} + return ComplianceInfo{} } type QueryAllComplianceInfoRequest struct { @@ -152,7 +150,7 @@ func (m *QueryAllComplianceInfoRequest) Reset() { *m = QueryAllComplianc func (m *QueryAllComplianceInfoRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllComplianceInfoRequest) ProtoMessage() {} func (*QueryAllComplianceInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_06039bbcb314fcaf, []int{2} + return fileDescriptor_c669f40999a9a40d, []int{2} } func (m *QueryAllComplianceInfoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -189,7 +187,7 @@ func (m *QueryAllComplianceInfoRequest) GetPagination() *query.PageRequest { } type QueryAllComplianceInfoResponse struct { - ComplianceInfo []dclcompltypes.ComplianceInfo `protobuf:"bytes,1,rep,name=complianceInfo,proto3" json:"complianceInfo"` + ComplianceInfo []ComplianceInfo `protobuf:"bytes,1,rep,name=complianceInfo,proto3" json:"complianceInfo"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` } @@ -197,7 +195,7 @@ func (m *QueryAllComplianceInfoResponse) Reset() { *m = QueryAllComplian func (m *QueryAllComplianceInfoResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllComplianceInfoResponse) ProtoMessage() {} func (*QueryAllComplianceInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_06039bbcb314fcaf, []int{3} + return fileDescriptor_c669f40999a9a40d, []int{3} } func (m *QueryAllComplianceInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -226,7 +224,7 @@ func (m *QueryAllComplianceInfoResponse) XXX_DiscardUnknown() { var xxx_messageInfo_QueryAllComplianceInfoResponse proto.InternalMessageInfo -func (m *QueryAllComplianceInfoResponse) GetComplianceInfo() []dclcompltypes.ComplianceInfo { +func (m *QueryAllComplianceInfoResponse) GetComplianceInfo() []ComplianceInfo { if m != nil { return m.ComplianceInfo } @@ -251,7 +249,7 @@ func (m *QueryGetCertifiedModelRequest) Reset() { *m = QueryGetCertified func (m *QueryGetCertifiedModelRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetCertifiedModelRequest) ProtoMessage() {} func (*QueryGetCertifiedModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_06039bbcb314fcaf, []int{4} + return fileDescriptor_c669f40999a9a40d, []int{4} } func (m *QueryGetCertifiedModelRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -316,7 +314,7 @@ func (m *QueryGetCertifiedModelResponse) Reset() { *m = QueryGetCertifie func (m *QueryGetCertifiedModelResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetCertifiedModelResponse) ProtoMessage() {} func (*QueryGetCertifiedModelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_06039bbcb314fcaf, []int{5} + return fileDescriptor_c669f40999a9a40d, []int{5} } func (m *QueryGetCertifiedModelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -360,7 +358,7 @@ func (m *QueryAllCertifiedModelRequest) Reset() { *m = QueryAllCertified func (m *QueryAllCertifiedModelRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllCertifiedModelRequest) ProtoMessage() {} func (*QueryAllCertifiedModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_06039bbcb314fcaf, []int{6} + return fileDescriptor_c669f40999a9a40d, []int{6} } func (m *QueryAllCertifiedModelRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -405,7 +403,7 @@ func (m *QueryAllCertifiedModelResponse) Reset() { *m = QueryAllCertifie func (m *QueryAllCertifiedModelResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllCertifiedModelResponse) ProtoMessage() {} func (*QueryAllCertifiedModelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_06039bbcb314fcaf, []int{7} + return fileDescriptor_c669f40999a9a40d, []int{7} } func (m *QueryAllCertifiedModelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -459,7 +457,7 @@ func (m *QueryGetRevokedModelRequest) Reset() { *m = QueryGetRevokedMode func (m *QueryGetRevokedModelRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetRevokedModelRequest) ProtoMessage() {} func (*QueryGetRevokedModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_06039bbcb314fcaf, []int{8} + return fileDescriptor_c669f40999a9a40d, []int{8} } func (m *QueryGetRevokedModelRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -524,7 +522,7 @@ func (m *QueryGetRevokedModelResponse) Reset() { *m = QueryGetRevokedMod func (m *QueryGetRevokedModelResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetRevokedModelResponse) ProtoMessage() {} func (*QueryGetRevokedModelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_06039bbcb314fcaf, []int{9} + return fileDescriptor_c669f40999a9a40d, []int{9} } func (m *QueryGetRevokedModelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -568,7 +566,7 @@ func (m *QueryAllRevokedModelRequest) Reset() { *m = QueryAllRevokedMode func (m *QueryAllRevokedModelRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllRevokedModelRequest) ProtoMessage() {} func (*QueryAllRevokedModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_06039bbcb314fcaf, []int{10} + return fileDescriptor_c669f40999a9a40d, []int{10} } func (m *QueryAllRevokedModelRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -613,7 +611,7 @@ func (m *QueryAllRevokedModelResponse) Reset() { *m = QueryAllRevokedMod func (m *QueryAllRevokedModelResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllRevokedModelResponse) ProtoMessage() {} func (*QueryAllRevokedModelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_06039bbcb314fcaf, []int{11} + return fileDescriptor_c669f40999a9a40d, []int{11} } func (m *QueryAllRevokedModelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -667,7 +665,7 @@ func (m *QueryGetProvisionalModelRequest) Reset() { *m = QueryGetProvisi func (m *QueryGetProvisionalModelRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetProvisionalModelRequest) ProtoMessage() {} func (*QueryGetProvisionalModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_06039bbcb314fcaf, []int{12} + return fileDescriptor_c669f40999a9a40d, []int{12} } func (m *QueryGetProvisionalModelRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -732,7 +730,7 @@ func (m *QueryGetProvisionalModelResponse) Reset() { *m = QueryGetProvis func (m *QueryGetProvisionalModelResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetProvisionalModelResponse) ProtoMessage() {} func (*QueryGetProvisionalModelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_06039bbcb314fcaf, []int{13} + return fileDescriptor_c669f40999a9a40d, []int{13} } func (m *QueryGetProvisionalModelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -776,7 +774,7 @@ func (m *QueryAllProvisionalModelRequest) Reset() { *m = QueryAllProvisi func (m *QueryAllProvisionalModelRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllProvisionalModelRequest) ProtoMessage() {} func (*QueryAllProvisionalModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_06039bbcb314fcaf, []int{14} + return fileDescriptor_c669f40999a9a40d, []int{14} } func (m *QueryAllProvisionalModelRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -821,7 +819,7 @@ func (m *QueryAllProvisionalModelResponse) Reset() { *m = QueryAllProvis func (m *QueryAllProvisionalModelResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllProvisionalModelResponse) ProtoMessage() {} func (*QueryAllProvisionalModelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_06039bbcb314fcaf, []int{15} + return fileDescriptor_c669f40999a9a40d, []int{15} } func (m *QueryAllProvisionalModelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -874,7 +872,7 @@ func (m *QueryGetDeviceSoftwareComplianceRequest) Reset() { func (m *QueryGetDeviceSoftwareComplianceRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetDeviceSoftwareComplianceRequest) ProtoMessage() {} func (*QueryGetDeviceSoftwareComplianceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_06039bbcb314fcaf, []int{16} + return fileDescriptor_c669f40999a9a40d, []int{16} } func (m *QueryGetDeviceSoftwareComplianceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -920,7 +918,7 @@ func (m *QueryGetDeviceSoftwareComplianceResponse) Reset() { func (m *QueryGetDeviceSoftwareComplianceResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetDeviceSoftwareComplianceResponse) ProtoMessage() {} func (*QueryGetDeviceSoftwareComplianceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_06039bbcb314fcaf, []int{17} + return fileDescriptor_c669f40999a9a40d, []int{17} } func (m *QueryGetDeviceSoftwareComplianceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -966,7 +964,7 @@ func (m *QueryAllDeviceSoftwareComplianceRequest) Reset() { func (m *QueryAllDeviceSoftwareComplianceRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllDeviceSoftwareComplianceRequest) ProtoMessage() {} func (*QueryAllDeviceSoftwareComplianceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_06039bbcb314fcaf, []int{18} + return fileDescriptor_c669f40999a9a40d, []int{18} } func (m *QueryAllDeviceSoftwareComplianceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1013,7 +1011,7 @@ func (m *QueryAllDeviceSoftwareComplianceResponse) Reset() { func (m *QueryAllDeviceSoftwareComplianceResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllDeviceSoftwareComplianceResponse) ProtoMessage() {} func (*QueryAllDeviceSoftwareComplianceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_06039bbcb314fcaf, []int{19} + return fileDescriptor_c669f40999a9a40d, []int{19} } func (m *QueryAllDeviceSoftwareComplianceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1057,101 +1055,100 @@ func (m *QueryAllDeviceSoftwareComplianceResponse) GetPagination() *query.PageRe } func init() { - proto.RegisterType((*QueryGetComplianceInfoRequest)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryGetComplianceInfoRequest") - proto.RegisterType((*QueryGetComplianceInfoResponse)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryGetComplianceInfoResponse") - proto.RegisterType((*QueryAllComplianceInfoRequest)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryAllComplianceInfoRequest") - proto.RegisterType((*QueryAllComplianceInfoResponse)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryAllComplianceInfoResponse") - proto.RegisterType((*QueryGetCertifiedModelRequest)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryGetCertifiedModelRequest") - proto.RegisterType((*QueryGetCertifiedModelResponse)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryGetCertifiedModelResponse") - proto.RegisterType((*QueryAllCertifiedModelRequest)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryAllCertifiedModelRequest") - proto.RegisterType((*QueryAllCertifiedModelResponse)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryAllCertifiedModelResponse") - proto.RegisterType((*QueryGetRevokedModelRequest)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryGetRevokedModelRequest") - proto.RegisterType((*QueryGetRevokedModelResponse)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryGetRevokedModelResponse") - proto.RegisterType((*QueryAllRevokedModelRequest)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryAllRevokedModelRequest") - proto.RegisterType((*QueryAllRevokedModelResponse)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryAllRevokedModelResponse") - proto.RegisterType((*QueryGetProvisionalModelRequest)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryGetProvisionalModelRequest") - proto.RegisterType((*QueryGetProvisionalModelResponse)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryGetProvisionalModelResponse") - proto.RegisterType((*QueryAllProvisionalModelRequest)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryAllProvisionalModelRequest") - proto.RegisterType((*QueryAllProvisionalModelResponse)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryAllProvisionalModelResponse") - proto.RegisterType((*QueryGetDeviceSoftwareComplianceRequest)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryGetDeviceSoftwareComplianceRequest") - proto.RegisterType((*QueryGetDeviceSoftwareComplianceResponse)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryGetDeviceSoftwareComplianceResponse") - proto.RegisterType((*QueryAllDeviceSoftwareComplianceRequest)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryAllDeviceSoftwareComplianceRequest") - proto.RegisterType((*QueryAllDeviceSoftwareComplianceResponse)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryAllDeviceSoftwareComplianceResponse") -} - -func init() { proto.RegisterFile("compliance/query.proto", fileDescriptor_06039bbcb314fcaf) } - -var fileDescriptor_06039bbcb314fcaf = []byte{ - // 1098 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x98, 0x41, 0x6f, 0xdc, 0x44, - 0x14, 0xc7, 0x33, 0xbb, 0x2d, 0x52, 0x87, 0xd2, 0xa4, 0x43, 0x85, 0x56, 0xdb, 0xe2, 0x2c, 0x23, - 0xd4, 0xac, 0x42, 0xd7, 0x56, 0x83, 0xb8, 0x21, 0xa4, 0x6d, 0x02, 0x51, 0x85, 0x10, 0xa9, 0x13, - 0x02, 0x54, 0xa8, 0x2b, 0xef, 0x7a, 0x62, 0x46, 0x4c, 0x3c, 0x8e, 0xed, 0x2c, 0x84, 0x28, 0x17, - 0x2e, 0x9c, 0x90, 0x28, 0x08, 0x89, 0x0a, 0xf5, 0xc0, 0x17, 0xe1, 0xdc, 0x63, 0x25, 0x24, 0xc4, - 0x29, 0x42, 0x1b, 0x84, 0x04, 0x47, 0x3e, 0x01, 0xf2, 0x78, 0x9c, 0xb5, 0x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x08, 0x7d, 0x57, 0x81, 0xd7, 0xf3, 0x52, 0x05, 0x02, 0x79, 0x50, 0x70, - 0x90, 0x33, 0xc5, 0x74, 0x06, 0x37, 0x8c, 0x57, 0x04, 0xa6, 0x5b, 0x68, 0xf9, 0xec, 0x98, 0xee, - 0x90, 0x27, 0x03, 0x05, 0x3c, 0x1d, 0x28, 0xe0, 0x8f, 0x81, 0x02, 0xbe, 0x3d, 0x51, 0xe6, 0x9e, - 0x9e, 0x28, 0x73, 0xbf, 0x9f, 0x28, 0x73, 0xf7, 0xdf, 0xb5, 0xa8, 0xff, 0xe9, 0x7e, 0x37, 0xa8, - 0x44, 0x0b, 0x0b, 0x6f, 0x45, 0x95, 0x6b, 0xb1, 0xca, 0x63, 0x87, 0xb5, 0xc2, 0xda, 0xb5, 0x2f, - 0xe2, 0xb9, 0xfd, 0x03, 0x87, 0x78, 0xdd, 0xe7, 0xc4, 0x7f, 0xd9, 0x5f, 0xff, 0x2f, 0x00, 0x00, - 0xff, 0xff, 0x61, 0x71, 0x5b, 0x6a, 0xcb, 0x18, 0x00, 0x00, + proto.RegisterType((*QueryGetComplianceInfoRequest)(nil), "compliance.types.QueryGetComplianceInfoRequest") + proto.RegisterType((*QueryGetComplianceInfoResponse)(nil), "compliance.types.QueryGetComplianceInfoResponse") + proto.RegisterType((*QueryAllComplianceInfoRequest)(nil), "compliance.types.QueryAllComplianceInfoRequest") + proto.RegisterType((*QueryAllComplianceInfoResponse)(nil), "compliance.types.QueryAllComplianceInfoResponse") + proto.RegisterType((*QueryGetCertifiedModelRequest)(nil), "compliance.types.QueryGetCertifiedModelRequest") + proto.RegisterType((*QueryGetCertifiedModelResponse)(nil), "compliance.types.QueryGetCertifiedModelResponse") + proto.RegisterType((*QueryAllCertifiedModelRequest)(nil), "compliance.types.QueryAllCertifiedModelRequest") + proto.RegisterType((*QueryAllCertifiedModelResponse)(nil), "compliance.types.QueryAllCertifiedModelResponse") + proto.RegisterType((*QueryGetRevokedModelRequest)(nil), "compliance.types.QueryGetRevokedModelRequest") + proto.RegisterType((*QueryGetRevokedModelResponse)(nil), "compliance.types.QueryGetRevokedModelResponse") + proto.RegisterType((*QueryAllRevokedModelRequest)(nil), "compliance.types.QueryAllRevokedModelRequest") + proto.RegisterType((*QueryAllRevokedModelResponse)(nil), "compliance.types.QueryAllRevokedModelResponse") + proto.RegisterType((*QueryGetProvisionalModelRequest)(nil), "compliance.types.QueryGetProvisionalModelRequest") + proto.RegisterType((*QueryGetProvisionalModelResponse)(nil), "compliance.types.QueryGetProvisionalModelResponse") + proto.RegisterType((*QueryAllProvisionalModelRequest)(nil), "compliance.types.QueryAllProvisionalModelRequest") + proto.RegisterType((*QueryAllProvisionalModelResponse)(nil), "compliance.types.QueryAllProvisionalModelResponse") + proto.RegisterType((*QueryGetDeviceSoftwareComplianceRequest)(nil), "compliance.types.QueryGetDeviceSoftwareComplianceRequest") + proto.RegisterType((*QueryGetDeviceSoftwareComplianceResponse)(nil), "compliance.types.QueryGetDeviceSoftwareComplianceResponse") + proto.RegisterType((*QueryAllDeviceSoftwareComplianceRequest)(nil), "compliance.types.QueryAllDeviceSoftwareComplianceRequest") + proto.RegisterType((*QueryAllDeviceSoftwareComplianceResponse)(nil), "compliance.types.QueryAllDeviceSoftwareComplianceResponse") +} + +func init() { proto.RegisterFile("compliance/types/query.proto", fileDescriptor_c669f40999a9a40d) } + +var fileDescriptor_c669f40999a9a40d = []byte{ + // 1076 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcf, 0x6f, 0xdc, 0x44, + 0x14, 0xce, 0x64, 0x5b, 0xa4, 0x0e, 0x25, 0x49, 0x07, 0x0e, 0xab, 0x6d, 0x70, 0x96, 0x51, 0x95, + 0xac, 0xa2, 0xae, 0xcd, 0x86, 0x53, 0x11, 0x42, 0xda, 0x36, 0xa2, 0x54, 0x08, 0x94, 0x3a, 0x51, + 0x05, 0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xb4, + 0x53, 0x5b, 0x87, 0xb9, 0x31, 0xe5, 0x08, 0x1d, 0x03, 0x78, 0x53, 0x55, 0x2a, 0x6a, 0xc6, 0x1d, + 0xb5, 0xb2, 0x93, 0x92, 0x1b, 0x63, 0x06, 0xc0, 0x6b, 0x82, 0xdc, 0x6d, 0xb4, 0x3a, 0x3e, 0xb9, + 0xbb, 0xe4, 0xf8, 0x54, 0x03, 0x27, 0xa7, 0x1a, 0xf8, 0xeb, 0x54, 0x03, 0x5f, 0x9c, 0x69, 0x33, + 0x27, 0x67, 0xda, 0xcc, 0x1f, 0x67, 0xda, 0xcc, 0xe3, 0xf7, 0x1c, 0x1a, 0x3e, 0xd9, 0xef, 0x45, + 0x78, 0x8c, 0xcf, 0xa8, 0xd3, 0x23, 0xa4, 0x6d, 0xb1, 0xe4, 0x40, 0x1a, 0x84, 0x3e, 0xed, 0xed, + 0x87, 0xc4, 0x4e, 0x1d, 0xd6, 0x66, 0xc4, 0x76, 0x88, 0x6f, 0x3c, 0x35, 0xf2, 0xff, 0x9c, 0xf5, + 0x5e, 0x10, 0xff, 0x84, 0xbd, 0xf1, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x2a, 0x99, 0xc9, 0xad, + 0x6e, 0x14, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1198,7 +1195,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) ComplianceInfo(ctx context.Context, in *QueryGetComplianceInfoRequest, opts ...grpc.CallOption) (*QueryGetComplianceInfoResponse, error) { out := new(QueryGetComplianceInfoResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.compliance.Query/ComplianceInfo", in, out, opts...) + err := c.cc.Invoke(ctx, "/compliance.types.Query/ComplianceInfo", in, out, opts...) if err != nil { return nil, err } @@ -1207,7 +1204,7 @@ func (c *queryClient) ComplianceInfo(ctx context.Context, in *QueryGetCompliance func (c *queryClient) ComplianceInfoAll(ctx context.Context, in *QueryAllComplianceInfoRequest, opts ...grpc.CallOption) (*QueryAllComplianceInfoResponse, error) { out := new(QueryAllComplianceInfoResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.compliance.Query/ComplianceInfoAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/compliance.types.Query/ComplianceInfoAll", in, out, opts...) if err != nil { return nil, err } @@ -1216,7 +1213,7 @@ func (c *queryClient) ComplianceInfoAll(ctx context.Context, in *QueryAllComplia func (c *queryClient) CertifiedModel(ctx context.Context, in *QueryGetCertifiedModelRequest, opts ...grpc.CallOption) (*QueryGetCertifiedModelResponse, error) { out := new(QueryGetCertifiedModelResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.compliance.Query/CertifiedModel", in, out, opts...) + err := c.cc.Invoke(ctx, "/compliance.types.Query/CertifiedModel", in, out, opts...) if err != nil { return nil, err } @@ -1225,7 +1222,7 @@ func (c *queryClient) CertifiedModel(ctx context.Context, in *QueryGetCertifiedM func (c *queryClient) CertifiedModelAll(ctx context.Context, in *QueryAllCertifiedModelRequest, opts ...grpc.CallOption) (*QueryAllCertifiedModelResponse, error) { out := new(QueryAllCertifiedModelResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.compliance.Query/CertifiedModelAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/compliance.types.Query/CertifiedModelAll", in, out, opts...) if err != nil { return nil, err } @@ -1234,7 +1231,7 @@ func (c *queryClient) CertifiedModelAll(ctx context.Context, in *QueryAllCertifi func (c *queryClient) RevokedModel(ctx context.Context, in *QueryGetRevokedModelRequest, opts ...grpc.CallOption) (*QueryGetRevokedModelResponse, error) { out := new(QueryGetRevokedModelResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.compliance.Query/RevokedModel", in, out, opts...) + err := c.cc.Invoke(ctx, "/compliance.types.Query/RevokedModel", in, out, opts...) if err != nil { return nil, err } @@ -1243,7 +1240,7 @@ func (c *queryClient) RevokedModel(ctx context.Context, in *QueryGetRevokedModel func (c *queryClient) RevokedModelAll(ctx context.Context, in *QueryAllRevokedModelRequest, opts ...grpc.CallOption) (*QueryAllRevokedModelResponse, error) { out := new(QueryAllRevokedModelResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.compliance.Query/RevokedModelAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/compliance.types.Query/RevokedModelAll", in, out, opts...) if err != nil { return nil, err } @@ -1252,7 +1249,7 @@ func (c *queryClient) RevokedModelAll(ctx context.Context, in *QueryAllRevokedMo func (c *queryClient) ProvisionalModel(ctx context.Context, in *QueryGetProvisionalModelRequest, opts ...grpc.CallOption) (*QueryGetProvisionalModelResponse, error) { out := new(QueryGetProvisionalModelResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.compliance.Query/ProvisionalModel", in, out, opts...) + err := c.cc.Invoke(ctx, "/compliance.types.Query/ProvisionalModel", in, out, opts...) if err != nil { return nil, err } @@ -1261,7 +1258,7 @@ func (c *queryClient) ProvisionalModel(ctx context.Context, in *QueryGetProvisio func (c *queryClient) ProvisionalModelAll(ctx context.Context, in *QueryAllProvisionalModelRequest, opts ...grpc.CallOption) (*QueryAllProvisionalModelResponse, error) { out := new(QueryAllProvisionalModelResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.compliance.Query/ProvisionalModelAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/compliance.types.Query/ProvisionalModelAll", in, out, opts...) if err != nil { return nil, err } @@ -1270,7 +1267,7 @@ func (c *queryClient) ProvisionalModelAll(ctx context.Context, in *QueryAllProvi func (c *queryClient) DeviceSoftwareCompliance(ctx context.Context, in *QueryGetDeviceSoftwareComplianceRequest, opts ...grpc.CallOption) (*QueryGetDeviceSoftwareComplianceResponse, error) { out := new(QueryGetDeviceSoftwareComplianceResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.compliance.Query/DeviceSoftwareCompliance", in, out, opts...) + err := c.cc.Invoke(ctx, "/compliance.types.Query/DeviceSoftwareCompliance", in, out, opts...) if err != nil { return nil, err } @@ -1279,7 +1276,7 @@ func (c *queryClient) DeviceSoftwareCompliance(ctx context.Context, in *QueryGet func (c *queryClient) DeviceSoftwareComplianceAll(ctx context.Context, in *QueryAllDeviceSoftwareComplianceRequest, opts ...grpc.CallOption) (*QueryAllDeviceSoftwareComplianceResponse, error) { out := new(QueryAllDeviceSoftwareComplianceResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.compliance.Query/DeviceSoftwareComplianceAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/compliance.types.Query/DeviceSoftwareComplianceAll", in, out, opts...) if err != nil { return nil, err } @@ -1359,7 +1356,7 @@ func _Query_ComplianceInfo_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.compliance.Query/ComplianceInfo", + FullMethod: "/compliance.types.Query/ComplianceInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ComplianceInfo(ctx, req.(*QueryGetComplianceInfoRequest)) @@ -1377,7 +1374,7 @@ func _Query_ComplianceInfoAll_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.compliance.Query/ComplianceInfoAll", + FullMethod: "/compliance.types.Query/ComplianceInfoAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ComplianceInfoAll(ctx, req.(*QueryAllComplianceInfoRequest)) @@ -1395,7 +1392,7 @@ func _Query_CertifiedModel_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.compliance.Query/CertifiedModel", + FullMethod: "/compliance.types.Query/CertifiedModel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).CertifiedModel(ctx, req.(*QueryGetCertifiedModelRequest)) @@ -1413,7 +1410,7 @@ func _Query_CertifiedModelAll_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.compliance.Query/CertifiedModelAll", + FullMethod: "/compliance.types.Query/CertifiedModelAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).CertifiedModelAll(ctx, req.(*QueryAllCertifiedModelRequest)) @@ -1431,7 +1428,7 @@ func _Query_RevokedModel_Handler(srv interface{}, ctx context.Context, dec func( } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.compliance.Query/RevokedModel", + FullMethod: "/compliance.types.Query/RevokedModel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RevokedModel(ctx, req.(*QueryGetRevokedModelRequest)) @@ -1449,7 +1446,7 @@ func _Query_RevokedModelAll_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.compliance.Query/RevokedModelAll", + FullMethod: "/compliance.types.Query/RevokedModelAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RevokedModelAll(ctx, req.(*QueryAllRevokedModelRequest)) @@ -1467,7 +1464,7 @@ func _Query_ProvisionalModel_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.compliance.Query/ProvisionalModel", + FullMethod: "/compliance.types.Query/ProvisionalModel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ProvisionalModel(ctx, req.(*QueryGetProvisionalModelRequest)) @@ -1485,7 +1482,7 @@ func _Query_ProvisionalModelAll_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.compliance.Query/ProvisionalModelAll", + FullMethod: "/compliance.types.Query/ProvisionalModelAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ProvisionalModelAll(ctx, req.(*QueryAllProvisionalModelRequest)) @@ -1503,7 +1500,7 @@ func _Query_DeviceSoftwareCompliance_Handler(srv interface{}, ctx context.Contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.compliance.Query/DeviceSoftwareCompliance", + FullMethod: "/compliance.types.Query/DeviceSoftwareCompliance", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).DeviceSoftwareCompliance(ctx, req.(*QueryGetDeviceSoftwareComplianceRequest)) @@ -1521,7 +1518,7 @@ func _Query_DeviceSoftwareComplianceAll_Handler(srv interface{}, ctx context.Con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.compliance.Query/DeviceSoftwareComplianceAll", + FullMethod: "/compliance.types.Query/DeviceSoftwareComplianceAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).DeviceSoftwareComplianceAll(ctx, req.(*QueryAllDeviceSoftwareComplianceRequest)) @@ -1530,7 +1527,7 @@ func _Query_DeviceSoftwareComplianceAll_Handler(srv interface{}, ctx context.Con } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "zigbeealliance.distributedcomplianceledger.compliance.Query", + ServiceName: "compliance.types.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -1575,7 +1572,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "compliance/query.proto", + Metadata: "compliance/types/query.proto", } func (m *QueryGetComplianceInfoRequest) Marshal() (dAtA []byte, err error) { @@ -3072,7 +3069,7 @@ func (m *QueryAllComplianceInfoResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ComplianceInfo = append(m.ComplianceInfo, dclcompltypes.ComplianceInfo{}) + m.ComplianceInfo = append(m.ComplianceInfo, ComplianceInfo{}) if err := m.ComplianceInfo[len(m.ComplianceInfo)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } diff --git a/x/compliance/types/query.pb.gw.go b/x/compliance/types/query.pb.gw.go index a0569d9c5..a0a1aa47f 100644 --- a/x/compliance/types/query.pb.gw.go +++ b/x/compliance/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: compliance/query.proto +// source: compliance/types/query.proto /* Package types is a reverse proxy. @@ -1228,25 +1228,25 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } var ( - pattern_Query_ComplianceInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"dcl", "compliance", "compliance-info", "vid", "pid", "softwareVersion", "certificationType"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_ComplianceInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"dcl", "compliance", "compliance-info", "vid", "pid", "softwareVersion", "certificationType"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_ComplianceInfoAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "compliance", "compliance-info"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_ComplianceInfoAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "compliance", "compliance-info"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_CertifiedModel_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"dcl", "compliance", "certified-models", "vid", "pid", "softwareVersion", "certificationType"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_CertifiedModel_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"dcl", "compliance", "certified-models", "vid", "pid", "softwareVersion", "certificationType"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_CertifiedModelAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "compliance", "certified-models"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_CertifiedModelAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "compliance", "certified-models"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_RevokedModel_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"dcl", "compliance", "revoked-models", "vid", "pid", "softwareVersion", "certificationType"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_RevokedModel_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"dcl", "compliance", "revoked-models", "vid", "pid", "softwareVersion", "certificationType"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_RevokedModelAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "compliance", "revoked-models"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_RevokedModelAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "compliance", "revoked-models"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_ProvisionalModel_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"dcl", "compliance", "provisional-models", "vid", "pid", "softwareVersion", "certificationType"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_ProvisionalModel_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"dcl", "compliance", "provisional-models", "vid", "pid", "softwareVersion", "certificationType"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_ProvisionalModelAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "compliance", "provisional-models"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_ProvisionalModelAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "compliance", "provisional-models"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_DeviceSoftwareCompliance_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"dcl", "compliance", "device-software-compliance", "cDCertificateId"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_DeviceSoftwareCompliance_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"dcl", "compliance", "device-software-compliance", "cDCertificateId"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_DeviceSoftwareComplianceAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "compliance", "device-software-compliance"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_DeviceSoftwareComplianceAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "compliance", "device-software-compliance"}, "", runtime.AssumeColonVerbOpt(false))) ) var ( diff --git a/x/compliance/types/revoked_model.pb.go b/x/compliance/types/revoked_model.pb.go index cd0a56799..3892105b3 100644 --- a/x/compliance/types/revoked_model.pb.go +++ b/x/compliance/types/revoked_model.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: compliance/revoked_model.proto +// source: compliance/types/revoked_model.proto package types @@ -34,7 +34,7 @@ func (m *RevokedModel) Reset() { *m = RevokedModel{} } func (m *RevokedModel) String() string { return proto.CompactTextString(m) } func (*RevokedModel) ProtoMessage() {} func (*RevokedModel) Descriptor() ([]byte, []int) { - return fileDescriptor_6ab8669fdd49fd2f, []int{0} + return fileDescriptor_30c90f5fd9a3c3ba, []int{0} } func (m *RevokedModel) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -99,30 +99,32 @@ func (m *RevokedModel) GetValue() bool { } func init() { - proto.RegisterType((*RevokedModel)(nil), "zigbeealliance.distributedcomplianceledger.compliance.RevokedModel") + proto.RegisterType((*RevokedModel)(nil), "compliance.types.RevokedModel") } -func init() { proto.RegisterFile("compliance/revoked_model.proto", fileDescriptor_6ab8669fdd49fd2f) } +func init() { + proto.RegisterFile("compliance/types/revoked_model.proto", fileDescriptor_30c90f5fd9a3c3ba) +} -var fileDescriptor_6ab8669fdd49fd2f = []byte{ - // 271 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0x31, 0x4e, 0xec, 0x30, - 0x10, 0x86, 0xe3, 0xb7, 0x2f, 0x08, 0x2c, 0x10, 0x10, 0x51, 0xa4, 0xb2, 0x22, 0xaa, 0x14, 0x24, - 0x29, 0x10, 0x17, 0xa0, 0x45, 0x34, 0x16, 0xa2, 0xa0, 0x41, 0x4e, 0x3c, 0x1b, 0x46, 0x78, 0x63, - 0xcb, 0x71, 0x02, 0xcb, 0x29, 0x38, 0x02, 0xc7, 0xa1, 0xdc, 0x92, 0x12, 0x25, 0x17, 0x41, 0xc1, - 0x42, 0x59, 0x41, 0x67, 0x7f, 0x33, 0xf3, 0x4b, 0xdf, 0x4f, 0x59, 0xa5, 0x57, 0x46, 0xa1, 0x68, - 0x2a, 0x28, 0x2c, 0xf4, 0xfa, 0x11, 0xe4, 0xfd, 0x4a, 0x4b, 0x50, 0xb9, 0xb1, 0xda, 0xe9, 0xe8, - 0xe2, 0x05, 0xeb, 0x12, 0x40, 0x28, 0xbf, 0x93, 0x4b, 0x6c, 0x9d, 0xc5, 0xb2, 0x73, 0x20, 0xe7, - 0x4b, 0x05, 0xb2, 0x06, 0x9b, 0xcf, 0xe0, 0xf4, 0x8d, 0xd0, 0x7d, 0xee, 0xe3, 0xae, 0xa7, 0xb4, - 0xe8, 0x88, 0x2e, 0x7a, 0x94, 0x31, 0x49, 0x48, 0x1a, 0xf2, 0xe9, 0x39, 0x11, 0x83, 0x32, 0xfe, - 0xe7, 0x89, 0x41, 0x19, 0xa5, 0xf4, 0xb0, 0xd5, 0x4b, 0xf7, 0x24, 0x2c, 0xdc, 0x82, 0x6d, 0x51, - 0x37, 0xf1, 0x22, 0x21, 0xe9, 0x01, 0xff, 0x8d, 0xa3, 0x33, 0x7a, 0x5c, 0x81, 0x75, 0xb8, 0xc4, - 0x4a, 0x38, 0xd4, 0xcd, 0xcd, 0xda, 0x40, 0xfc, 0x3f, 0x21, 0xe9, 0x1e, 0xff, 0x3b, 0x88, 0x4e, - 0x68, 0xd8, 0x0b, 0xd5, 0x41, 0x1c, 0x26, 0x24, 0xdd, 0xe5, 0xfe, 0x73, 0x09, 0xef, 0x03, 0x23, - 0x9b, 0x81, 0x91, 0xcf, 0x81, 0x91, 0xd7, 0x91, 0x05, 0x9b, 0x91, 0x05, 0x1f, 0x23, 0x0b, 0xee, - 0xae, 0x6a, 0x74, 0x0f, 0x5d, 0x39, 0xf9, 0x14, 0x5e, 0x3f, 0xfb, 0xf1, 0x2f, 0xb6, 0xfc, 0xb3, - 0xd9, 0x37, 0xf3, 0x0d, 0x14, 0xcf, 0xc5, 0x56, 0x9d, 0x6e, 0x6d, 0xa0, 0x2d, 0x77, 0xbe, 0x7b, - 0x3c, 0xff, 0x0a, 0x00, 0x00, 0xff, 0xff, 0x37, 0xea, 0x5c, 0xd9, 0x69, 0x01, 0x00, 0x00, +var fileDescriptor_30c90f5fd9a3c3ba = []byte{ + // 262 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0xb1, 0x4e, 0xc3, 0x30, + 0x10, 0x40, 0x6b, 0x4a, 0x10, 0x58, 0x20, 0x4a, 0xc4, 0x90, 0xc9, 0x8a, 0x10, 0x43, 0x06, 0x92, + 0x0c, 0xfc, 0x01, 0x2b, 0x62, 0xb1, 0x10, 0x03, 0x0b, 0x72, 0xec, 0x6b, 0x38, 0xe1, 0xc4, 0x96, + 0xe3, 0x04, 0xca, 0x57, 0xf0, 0x09, 0x7c, 0x0e, 0x63, 0x47, 0x46, 0x94, 0xfc, 0x08, 0x4a, 0x83, + 0x54, 0xa9, 0x6c, 0x77, 0xef, 0xde, 0x72, 0x8f, 0x5e, 0x4a, 0x53, 0x59, 0x8d, 0xa2, 0x96, 0x90, + 0xfb, 0x95, 0x85, 0x26, 0x77, 0xd0, 0x99, 0x17, 0x50, 0x4f, 0x95, 0x51, 0xa0, 0x33, 0xeb, 0x8c, + 0x37, 0xe1, 0x62, 0x6b, 0x65, 0x1b, 0xeb, 0xe2, 0x93, 0xd0, 0x63, 0x3e, 0x99, 0x77, 0xa3, 0x18, + 0x2e, 0xe8, 0xbc, 0x43, 0x15, 0x91, 0x98, 0x24, 0x01, 0x1f, 0xc7, 0x91, 0x58, 0x54, 0xd1, 0xde, + 0x44, 0x2c, 0xaa, 0x30, 0xa1, 0xa7, 0x8d, 0x59, 0xfa, 0x57, 0xe1, 0xe0, 0x01, 0x5c, 0x83, 0xa6, + 0x8e, 0xe6, 0x31, 0x49, 0x4e, 0xf8, 0x2e, 0x0e, 0xaf, 0xe8, 0x99, 0x04, 0xe7, 0x71, 0x89, 0x52, + 0x78, 0x34, 0xf5, 0xfd, 0xca, 0x42, 0xb4, 0x1f, 0x93, 0xe4, 0x88, 0xff, 0x3f, 0x84, 0xe7, 0x34, + 0xe8, 0x84, 0x6e, 0x21, 0x0a, 0x62, 0x92, 0x1c, 0xf2, 0x69, 0xb9, 0x81, 0xaf, 0x9e, 0x91, 0x75, + 0xcf, 0xc8, 0x4f, 0xcf, 0xc8, 0xc7, 0xc0, 0x66, 0xeb, 0x81, 0xcd, 0xbe, 0x07, 0x36, 0x7b, 0xbc, + 0x2d, 0xd1, 0x3f, 0xb7, 0x45, 0x26, 0x4d, 0x95, 0xbf, 0x63, 0x59, 0x00, 0xa4, 0x42, 0xff, 0x45, + 0x50, 0xd8, 0x78, 0x87, 0x45, 0xeb, 0x41, 0xa5, 0xdb, 0xaf, 0x53, 0x0d, 0xaa, 0x04, 0x97, 0xbf, + 0xe5, 0xbb, 0xbd, 0x8a, 0x83, 0x4d, 0xa2, 0xeb, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xdc, 0xe2, + 0x39, 0xe5, 0x4a, 0x01, 0x00, 0x00, } func (m *RevokedModel) Marshal() (dAtA []byte, err error) { diff --git a/x/compliance/types/tx.pb.go b/x/compliance/types/tx.pb.go index ae9f90464..e1ac8e60c 100644 --- a/x/compliance/types/tx.pb.go +++ b/x/compliance/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: compliance/tx.proto +// source: compliance/types/tx.proto package types @@ -57,7 +57,7 @@ func (m *MsgCertifyModel) Reset() { *m = MsgCertifyModel{} } func (m *MsgCertifyModel) String() string { return proto.CompactTextString(m) } func (*MsgCertifyModel) ProtoMessage() {} func (*MsgCertifyModel) Descriptor() ([]byte, []int) { - return fileDescriptor_db4a0d801b7ae7cc, []int{0} + return fileDescriptor_8fca8f9417a053a7, []int{0} } func (m *MsgCertifyModel) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -240,7 +240,7 @@ func (m *MsgCertifyModelResponse) Reset() { *m = MsgCertifyModelResponse func (m *MsgCertifyModelResponse) String() string { return proto.CompactTextString(m) } func (*MsgCertifyModelResponse) ProtoMessage() {} func (*MsgCertifyModelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db4a0d801b7ae7cc, []int{1} + return fileDescriptor_8fca8f9417a053a7, []int{1} } func (m *MsgCertifyModelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -285,7 +285,7 @@ func (m *MsgRevokeModel) Reset() { *m = MsgRevokeModel{} } func (m *MsgRevokeModel) String() string { return proto.CompactTextString(m) } func (*MsgRevokeModel) ProtoMessage() {} func (*MsgRevokeModel) Descriptor() ([]byte, []int) { - return fileDescriptor_db4a0d801b7ae7cc, []int{2} + return fileDescriptor_8fca8f9417a053a7, []int{2} } func (m *MsgRevokeModel) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -384,7 +384,7 @@ func (m *MsgRevokeModelResponse) Reset() { *m = MsgRevokeModelResponse{} func (m *MsgRevokeModelResponse) String() string { return proto.CompactTextString(m) } func (*MsgRevokeModelResponse) ProtoMessage() {} func (*MsgRevokeModelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db4a0d801b7ae7cc, []int{3} + return fileDescriptor_8fca8f9417a053a7, []int{3} } func (m *MsgRevokeModelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -441,7 +441,7 @@ func (m *MsgProvisionModel) Reset() { *m = MsgProvisionModel{} } func (m *MsgProvisionModel) String() string { return proto.CompactTextString(m) } func (*MsgProvisionModel) ProtoMessage() {} func (*MsgProvisionModel) Descriptor() ([]byte, []int) { - return fileDescriptor_db4a0d801b7ae7cc, []int{4} + return fileDescriptor_8fca8f9417a053a7, []int{4} } func (m *MsgProvisionModel) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -624,7 +624,7 @@ func (m *MsgProvisionModelResponse) Reset() { *m = MsgProvisionModelResp func (m *MsgProvisionModelResponse) String() string { return proto.CompactTextString(m) } func (*MsgProvisionModelResponse) ProtoMessage() {} func (*MsgProvisionModelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db4a0d801b7ae7cc, []int{5} + return fileDescriptor_8fca8f9417a053a7, []int{5} } func (m *MsgProvisionModelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -681,7 +681,7 @@ func (m *MsgUpdateComplianceInfo) Reset() { *m = MsgUpdateComplianceInfo func (m *MsgUpdateComplianceInfo) String() string { return proto.CompactTextString(m) } func (*MsgUpdateComplianceInfo) ProtoMessage() {} func (*MsgUpdateComplianceInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_db4a0d801b7ae7cc, []int{6} + return fileDescriptor_8fca8f9417a053a7, []int{6} } func (m *MsgUpdateComplianceInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -864,7 +864,7 @@ func (m *MsgUpdateComplianceInfoResponse) Reset() { *m = MsgUpdateCompli func (m *MsgUpdateComplianceInfoResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateComplianceInfoResponse) ProtoMessage() {} func (*MsgUpdateComplianceInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db4a0d801b7ae7cc, []int{7} + return fileDescriptor_8fca8f9417a053a7, []int{7} } func (m *MsgUpdateComplianceInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -905,7 +905,7 @@ func (m *MsgDeleteComplianceInfo) Reset() { *m = MsgDeleteComplianceInfo func (m *MsgDeleteComplianceInfo) String() string { return proto.CompactTextString(m) } func (*MsgDeleteComplianceInfo) ProtoMessage() {} func (*MsgDeleteComplianceInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_db4a0d801b7ae7cc, []int{8} + return fileDescriptor_8fca8f9417a053a7, []int{8} } func (m *MsgDeleteComplianceInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -976,7 +976,7 @@ func (m *MsgDeleteComplianceInfoResponse) Reset() { *m = MsgDeleteCompli func (m *MsgDeleteComplianceInfoResponse) String() string { return proto.CompactTextString(m) } func (*MsgDeleteComplianceInfoResponse) ProtoMessage() {} func (*MsgDeleteComplianceInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db4a0d801b7ae7cc, []int{9} + return fileDescriptor_8fca8f9417a053a7, []int{9} } func (m *MsgDeleteComplianceInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1006,93 +1006,92 @@ func (m *MsgDeleteComplianceInfoResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgDeleteComplianceInfoResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*MsgCertifyModel)(nil), "zigbeealliance.distributedcomplianceledger.compliance.MsgCertifyModel") - proto.RegisterType((*MsgCertifyModelResponse)(nil), "zigbeealliance.distributedcomplianceledger.compliance.MsgCertifyModelResponse") - proto.RegisterType((*MsgRevokeModel)(nil), "zigbeealliance.distributedcomplianceledger.compliance.MsgRevokeModel") - proto.RegisterType((*MsgRevokeModelResponse)(nil), "zigbeealliance.distributedcomplianceledger.compliance.MsgRevokeModelResponse") - proto.RegisterType((*MsgProvisionModel)(nil), "zigbeealliance.distributedcomplianceledger.compliance.MsgProvisionModel") - proto.RegisterType((*MsgProvisionModelResponse)(nil), "zigbeealliance.distributedcomplianceledger.compliance.MsgProvisionModelResponse") - proto.RegisterType((*MsgUpdateComplianceInfo)(nil), "zigbeealliance.distributedcomplianceledger.compliance.MsgUpdateComplianceInfo") - proto.RegisterType((*MsgUpdateComplianceInfoResponse)(nil), "zigbeealliance.distributedcomplianceledger.compliance.MsgUpdateComplianceInfoResponse") - proto.RegisterType((*MsgDeleteComplianceInfo)(nil), "zigbeealliance.distributedcomplianceledger.compliance.MsgDeleteComplianceInfo") - proto.RegisterType((*MsgDeleteComplianceInfoResponse)(nil), "zigbeealliance.distributedcomplianceledger.compliance.MsgDeleteComplianceInfoResponse") -} - -func init() { proto.RegisterFile("compliance/tx.proto", fileDescriptor_db4a0d801b7ae7cc) } - -var fileDescriptor_db4a0d801b7ae7cc = []byte{ - // 1131 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x99, 0x4f, 0x6f, 0xe3, 0xc4, - 0x1b, 0xc7, 0xeb, 0xed, 0xbf, 0xed, 0xa4, 0x7f, 0x36, 0xd3, 0xf6, 0xb7, 0xd3, 0xac, 0x94, 0xf4, - 0x17, 0x2e, 0x3d, 0x6c, 0x93, 0x76, 0xbb, 0x5d, 0x24, 0x56, 0x15, 0x6a, 0xd3, 0xc2, 0x46, 0x4b, - 0xb6, 0x25, 0xdd, 0xee, 0x01, 0x0e, 0xc8, 0x8d, 0x9f, 0x78, 0x47, 0x38, 0x1e, 0x33, 0x33, 0xe9, - 0xb6, 0x1c, 0x11, 0xdc, 0x79, 0x0f, 0x48, 0x9c, 0x10, 0x27, 0xce, 0x48, 0xdc, 0x10, 0xa7, 0x15, - 0x27, 0x4e, 0x11, 0x6a, 0xdf, 0x41, 0x5e, 0x01, 0xb2, 0x9d, 0x38, 0xb6, 0xe3, 0xb8, 0xa6, 0xad, - 0x54, 0x10, 0xb9, 0x25, 0x93, 0xe7, 0xfb, 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a0, 0xdf, 0x47, 0xb3, - 0x1c, 0x4e, 0x58, 0x72, 0x3a, 0x87, 0xc2, 0x6f, 0x1f, 0xcd, 0x79, 0x82, 0xfe, 0x17, 0x5c, 0x4b, - 0xde, 0x32, 0xfb, 0x2a, 0x85, 0xd2, 0x15, 0xa1, 0x1f, 0x70, 0x76, 0x42, 0xed, 0x3e, 0x0f, 0x57, - 0xda, 0x2d, 0xae, 0xb4, 0x6d, 0x34, 0x67, 0x75, 0x27, 0x42, 0x35, 0x92, 0x2c, 0xb5, 0x70, 0xfc, - 0xf0, 0x1a, 0x30, 0xbc, 0x06, 0x0c, 0xaf, 0x01, 0xff, 0xb6, 0x6b, 0xc0, 0x03, 0xb4, 0xd4, 0xc7, - 0x60, 0x8f, 0xd0, 0x3f, 0xa6, 0x9c, 0x4b, 0xc2, 0x91, 0x65, 0xfb, 0x96, 0xbc, 0x67, 0xbe, 0xb2, - 0x59, 0x67, 0xb8, 0x8c, 0x26, 0x6b, 0x1c, 0x54, 0xc9, 0xae, 0x0c, 0xea, 0xae, 0xfe, 0x1f, 0x46, - 0xea, 0x8f, 0xa2, 0x30, 0x96, 0x8c, 0xd2, 0x11, 0x14, 0x2b, 0x47, 0x13, 0xba, 0x0f, 0x89, 0xac, - 0x41, 0x25, 0x34, 0x2c, 0x79, 0xe6, 0x87, 0x49, 0x10, 0xd1, 0x18, 0x8d, 0x69, 0x1e, 0x97, 0xab, - 0xce, 0x67, 0xfc, 0xd4, 0x83, 0xa4, 0x0b, 0xda, 0x77, 0xda, 0xad, 0x5c, 0x6e, 0x90, 0x6b, 0x18, - 0x97, 0x05, 0x34, 0xce, 0xde, 0xd8, 0x27, 0xad, 0x0b, 0x58, 0x32, 0x70, 0xa6, 0xdc, 0x30, 0xb7, - 0x2f, 0x41, 0x2e, 0xa2, 0xc4, 0x7d, 0x09, 0x82, 0x71, 0x3f, 0x72, 0x2f, 0xa7, 0x92, 0xb9, 0x45, - 0xed, 0xea, 0xed, 0xe0, 0xae, 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x94, 0x93, 0x57, 0xee, 0xcf, - 0x0a, 0x5a, 0x88, 0xbc, 0x3d, 0x5d, 0x63, 0xf6, 0xa2, 0xfc, 0x32, 0xaf, 0x6e, 0xd6, 0x2f, 0xd0, - 0x81, 0x48, 0x54, 0x5c, 0xa3, 0x03, 0x51, 0x7e, 0xd7, 0xe9, 0x40, 0xdc, 0x3e, 0xdc, 0x81, 0x5f, - 0xcf, 0xb3, 0xca, 0xdb, 0xf3, 0xac, 0xf2, 0xe7, 0x79, 0x56, 0xf9, 0xf6, 0x22, 0x3b, 0xf2, 0xf6, - 0x22, 0x3b, 0xf2, 0xc7, 0x45, 0x76, 0xe4, 0x93, 0xe7, 0x3a, 0x95, 0xaf, 0x9b, 0xc7, 0xb6, 0x59, - 0xd1, 0xcd, 0xbd, 0xda, 0x4d, 0x5e, 0xf4, 0x25, 0x5f, 0xed, 0x25, 0x5b, 0x75, 0xd3, 0x17, 0x4f, - 0x8b, 0xfe, 0xf7, 0x27, 0x67, 0x16, 0x88, 0xe3, 0x09, 0xe7, 0xdd, 0xc6, 0xc6, 0x5f, 0x01, 0x00, - 0x00, 0xff, 0xff, 0xc4, 0x25, 0xd9, 0xa6, 0x5a, 0x19, 0x00, 0x00, + proto.RegisterType((*MsgCertifyModel)(nil), "compliance.types.MsgCertifyModel") + proto.RegisterType((*MsgCertifyModelResponse)(nil), "compliance.types.MsgCertifyModelResponse") + proto.RegisterType((*MsgRevokeModel)(nil), "compliance.types.MsgRevokeModel") + proto.RegisterType((*MsgRevokeModelResponse)(nil), "compliance.types.MsgRevokeModelResponse") + proto.RegisterType((*MsgProvisionModel)(nil), "compliance.types.MsgProvisionModel") + proto.RegisterType((*MsgProvisionModelResponse)(nil), "compliance.types.MsgProvisionModelResponse") + proto.RegisterType((*MsgUpdateComplianceInfo)(nil), "compliance.types.MsgUpdateComplianceInfo") + proto.RegisterType((*MsgUpdateComplianceInfoResponse)(nil), "compliance.types.MsgUpdateComplianceInfoResponse") + proto.RegisterType((*MsgDeleteComplianceInfo)(nil), "compliance.types.MsgDeleteComplianceInfo") + proto.RegisterType((*MsgDeleteComplianceInfoResponse)(nil), "compliance.types.MsgDeleteComplianceInfoResponse") +} + +func init() { proto.RegisterFile("compliance/types/tx.proto", fileDescriptor_8fca8f9417a053a7) } + +var fileDescriptor_8fca8f9417a053a7 = []byte{ + // 1109 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x98, 0xcb, 0x6e, 0xdb, 0x46, + 0x1f, 0xc5, 0xad, 0xf8, 0x92, 0x78, 0xe4, 0x9b, 0xc6, 0xf6, 0x97, 0xb1, 0x02, 0x48, 0x8e, 0xb2, + 0xf1, 0x87, 0xc6, 0x96, 0x1d, 0xc7, 0x29, 0xd0, 0xc0, 0x28, 0x6c, 0x39, 0x68, 0x85, 0x54, 0x75, + 0x2a, 0xc7, 0x05, 0x7a, 0x01, 0x0a, 0x4a, 0xfc, 0x8b, 0x19, 0x94, 0xe2, 0xb0, 0x33, 0x23, 0xc7, + 0xee, 0xb2, 0xe8, 0xba, 0xe8, 0x93, 0x74, 0xd5, 0x17, 0xe8, 0xae, 0xe8, 0x2a, 0xe8, 0xaa, 0x2b, + 0xa1, 0xb0, 0xdf, 0x40, 0x4f, 0x50, 0x90, 0x94, 0x28, 0x92, 0x1a, 0x52, 0x6c, 0x36, 0x6e, 0x51, + 0xef, 0x24, 0xf2, 0x9c, 0xf3, 0x9f, 0x1b, 0x7f, 0x33, 0x24, 0x5a, 0x6b, 0xb2, 0xb6, 0x6d, 0x52, + 0xcd, 0x6a, 0x42, 0x59, 0x5e, 0xd8, 0x20, 0xca, 0xf2, 0x7c, 0xcb, 0xe6, 0x4c, 0x32, 0xbc, 0x34, + 0xbc, 0xb5, 0xe5, 0xde, 0xca, 0xaf, 0x35, 0x99, 0x68, 0x33, 0xf1, 0x95, 0x7b, 0xbf, 0xec, 0xfd, + 0xf1, 0xc4, 0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xe5, 0x6f, 0xa9, 0xd1, 0x00, 0xd8, 0xd4, 0xcc, 0xfe, 0xe7, 0x77, 0x9d, 0x0a, 0xc9, 0x69, + 0xa3, 0x23, 0x41, 0xdf, 0x1c, 0x96, 0xdc, 0x34, 0x41, 0x37, 0x80, 0x97, 0xcf, 0xcb, 0xd1, 0x2f, + 0xf5, 0x8d, 0x19, 0xf7, 0x23, 0xfb, 0xee, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x3c, 0x8e, 0x6e, + 0xca, 0xc4, 0x17, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1124,7 +1123,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { func (c *msgClient) CertifyModel(ctx context.Context, in *MsgCertifyModel, opts ...grpc.CallOption) (*MsgCertifyModelResponse, error) { out := new(MsgCertifyModelResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.compliance.Msg/CertifyModel", in, out, opts...) + err := c.cc.Invoke(ctx, "/compliance.types.Msg/CertifyModel", in, out, opts...) if err != nil { return nil, err } @@ -1133,7 +1132,7 @@ func (c *msgClient) CertifyModel(ctx context.Context, in *MsgCertifyModel, opts func (c *msgClient) RevokeModel(ctx context.Context, in *MsgRevokeModel, opts ...grpc.CallOption) (*MsgRevokeModelResponse, error) { out := new(MsgRevokeModelResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.compliance.Msg/RevokeModel", in, out, opts...) + err := c.cc.Invoke(ctx, "/compliance.types.Msg/RevokeModel", in, out, opts...) if err != nil { return nil, err } @@ -1142,7 +1141,7 @@ func (c *msgClient) RevokeModel(ctx context.Context, in *MsgRevokeModel, opts .. func (c *msgClient) ProvisionModel(ctx context.Context, in *MsgProvisionModel, opts ...grpc.CallOption) (*MsgProvisionModelResponse, error) { out := new(MsgProvisionModelResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.compliance.Msg/ProvisionModel", in, out, opts...) + err := c.cc.Invoke(ctx, "/compliance.types.Msg/ProvisionModel", in, out, opts...) if err != nil { return nil, err } @@ -1151,7 +1150,7 @@ func (c *msgClient) ProvisionModel(ctx context.Context, in *MsgProvisionModel, o func (c *msgClient) UpdateComplianceInfo(ctx context.Context, in *MsgUpdateComplianceInfo, opts ...grpc.CallOption) (*MsgUpdateComplianceInfoResponse, error) { out := new(MsgUpdateComplianceInfoResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.compliance.Msg/UpdateComplianceInfo", in, out, opts...) + err := c.cc.Invoke(ctx, "/compliance.types.Msg/UpdateComplianceInfo", in, out, opts...) if err != nil { return nil, err } @@ -1160,7 +1159,7 @@ func (c *msgClient) UpdateComplianceInfo(ctx context.Context, in *MsgUpdateCompl func (c *msgClient) DeleteComplianceInfo(ctx context.Context, in *MsgDeleteComplianceInfo, opts ...grpc.CallOption) (*MsgDeleteComplianceInfoResponse, error) { out := new(MsgDeleteComplianceInfoResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.compliance.Msg/DeleteComplianceInfo", in, out, opts...) + err := c.cc.Invoke(ctx, "/compliance.types.Msg/DeleteComplianceInfo", in, out, opts...) if err != nil { return nil, err } @@ -1210,7 +1209,7 @@ func _Msg_CertifyModel_Handler(srv interface{}, ctx context.Context, dec func(in } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.compliance.Msg/CertifyModel", + FullMethod: "/compliance.types.Msg/CertifyModel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).CertifyModel(ctx, req.(*MsgCertifyModel)) @@ -1228,7 +1227,7 @@ func _Msg_RevokeModel_Handler(srv interface{}, ctx context.Context, dec func(int } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.compliance.Msg/RevokeModel", + FullMethod: "/compliance.types.Msg/RevokeModel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).RevokeModel(ctx, req.(*MsgRevokeModel)) @@ -1246,7 +1245,7 @@ func _Msg_ProvisionModel_Handler(srv interface{}, ctx context.Context, dec func( } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.compliance.Msg/ProvisionModel", + FullMethod: "/compliance.types.Msg/ProvisionModel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ProvisionModel(ctx, req.(*MsgProvisionModel)) @@ -1264,7 +1263,7 @@ func _Msg_UpdateComplianceInfo_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.compliance.Msg/UpdateComplianceInfo", + FullMethod: "/compliance.types.Msg/UpdateComplianceInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).UpdateComplianceInfo(ctx, req.(*MsgUpdateComplianceInfo)) @@ -1282,7 +1281,7 @@ func _Msg_DeleteComplianceInfo_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.compliance.Msg/DeleteComplianceInfo", + FullMethod: "/compliance.types.Msg/DeleteComplianceInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).DeleteComplianceInfo(ctx, req.(*MsgDeleteComplianceInfo)) @@ -1291,7 +1290,7 @@ func _Msg_DeleteComplianceInfo_Handler(srv interface{}, ctx context.Context, dec } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "zigbeealliance.distributedcomplianceledger.compliance.Msg", + ServiceName: "compliance.types.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -1316,7 +1315,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "compliance/tx.proto", + Metadata: "compliance/types/tx.proto", } func (m *MsgCertifyModel) Marshal() (dAtA []byte, err error) { diff --git a/types/compliance/types.go b/x/compliance/types/types.go similarity index 100% rename from types/compliance/types.go rename to x/compliance/types/types.go diff --git a/x/dclauth/ante/ante.go b/x/dclauth/ante/ante.go index d175c1964..6b7ad2d88 100644 --- a/x/dclauth/ante/ante.go +++ b/x/dclauth/ante/ante.go @@ -37,7 +37,6 @@ func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error) { NewInfiniteGasSetUpContextDecorator(), // outermost AnteDecorator. SetUpContext must be called first // authante.NewSetUpContextDecorator(), // outermost AnteDecorator. SetUpContext must be called first - authante.NewRejectExtensionOptionsDecorator(), authante.NewValidateBasicDecorator(), authante.NewTxTimeoutHeightDecorator(), authante.NewValidateMemoDecorator(options.AccountKeeper), diff --git a/x/dclauth/base/keeper/grpc_query_account.go b/x/dclauth/base/keeper/grpc_query_account.go index a25facebe..2ea917bb6 100644 --- a/x/dclauth/base/keeper/grpc_query_account.go +++ b/x/dclauth/base/keeper/grpc_query_account.go @@ -8,9 +8,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/query" "github.com/cosmos/cosmos-sdk/x/auth/types" - authtypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" + + authtypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" ) func (k Keeper) Accounts(c context.Context, req *types.QueryAccountsRequest) (*types.QueryAccountsResponse, error) { @@ -75,3 +76,38 @@ func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types return &types.QueryParamsResponse{Params: params}, nil } + +func (k Keeper) AccountAddressByID(ctx context.Context, request *types.QueryAccountAddressByIDRequest) (*types.QueryAccountAddressByIDResponse, error) { + //TODO implement me + panic("implement me") +} + +func (k Keeper) ModuleAccounts(ctx context.Context, request *types.QueryModuleAccountsRequest) (*types.QueryModuleAccountsResponse, error) { + //TODO implement me + panic("implement me") +} + +func (k Keeper) ModuleAccountByName(ctx context.Context, request *types.QueryModuleAccountByNameRequest) (*types.QueryModuleAccountByNameResponse, error) { + //TODO implement me + panic("implement me") +} + +func (k Keeper) Bech32Prefix(ctx context.Context, request *types.Bech32PrefixRequest) (*types.Bech32PrefixResponse, error) { + //TODO implement me + panic("implement me") +} + +func (k Keeper) AddressBytesToString(ctx context.Context, request *types.AddressBytesToStringRequest) (*types.AddressBytesToStringResponse, error) { + //TODO implement me + panic("implement me") +} + +func (k Keeper) AddressStringToBytes(ctx context.Context, request *types.AddressStringToBytesRequest) (*types.AddressStringToBytesResponse, error) { + //TODO implement me + panic("implement me") +} + +func (k Keeper) AccountInfo(ctx context.Context, request *types.QueryAccountInfoRequest) (*types.QueryAccountInfoResponse, error) { + //TODO implement me + panic("implement me") +} diff --git a/x/dclauth/module.go b/x/dclauth/module.go index 1b74a9c42..dcaf2f60f 100644 --- a/x/dclauth/module.go +++ b/x/dclauth/module.go @@ -17,6 +17,7 @@ import ( "github.com/gorilla/mux" "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" + basekeeper "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/base/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/client/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" @@ -101,13 +102,15 @@ func (AppModuleBasic) GetQueryCmd() *cobra.Command { type AppModule struct { AppModuleBasic - keeper keeper.Keeper + keeper keeper.Keeper + basekeeper basekeeper.Keeper } -func NewAppModule(cdc codec.Codec, keeper keeper.Keeper) AppModule { +func NewAppModule(cdc codec.Codec, keeper keeper.Keeper, basekeeper basekeeper.Keeper) AppModule { return AppModule{ AppModuleBasic: NewAppModuleBasic(cdc), keeper: keeper, + basekeeper: basekeeper, } } @@ -133,6 +136,7 @@ func (am AppModule) WeightedOperations(_ module.SimulationState) []simtypes.Weig func (am AppModule) RegisterServices(cfg module.Configurator) { types.RegisterMsgServer(cfg.MsgServer(), keeper.NewMsgServerImpl(am.keeper)) types.RegisterQueryServer(cfg.QueryServer(), am.keeper) + basetypes.RegisterQueryServer(cfg.QueryServer(), am.basekeeper) } // RegisterInvariants registers the dclauth module's invariants. diff --git a/x/dclauth/types/account.pb.go b/x/dclauth/types/account.pb.go index 6009b595e..0a5359ebb 100644 --- a/x/dclauth/types/account.pb.go +++ b/x/dclauth/types/account.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclauth/account.proto +// source: dclauth/types/account.proto package types @@ -40,7 +40,7 @@ type Account struct { func (m *Account) Reset() { *m = Account{} } func (*Account) ProtoMessage() {} func (*Account) Descriptor() ([]byte, []int) { - return fileDescriptor_3a2d3e1e8208016c, []int{0} + return fileDescriptor_eea79e06d78ce375, []int{0} } func (m *Account) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -70,39 +70,38 @@ func (m *Account) XXX_DiscardUnknown() { var xxx_messageInfo_Account proto.InternalMessageInfo func init() { - proto.RegisterType((*Account)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.Account") + proto.RegisterType((*Account)(nil), "dclauth.types.Account") } -func init() { proto.RegisterFile("dclauth/account.proto", fileDescriptor_3a2d3e1e8208016c) } +func init() { proto.RegisterFile("dclauth/types/account.proto", fileDescriptor_eea79e06d78ce375) } -var fileDescriptor_3a2d3e1e8208016c = []byte{ - // 412 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x92, 0xcf, 0x8a, 0xd4, 0x30, - 0x1c, 0xc7, 0x5b, 0xbb, 0xb3, 0x7f, 0x52, 0x41, 0xa8, 0x0a, 0x75, 0x0e, 0x6d, 0x11, 0x84, 0x5e, - 0x26, 0x61, 0x46, 0x10, 0xf4, 0x20, 0x58, 0x16, 0x74, 0xae, 0x15, 0x11, 0x3c, 0xb8, 0x24, 0x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0x00, 0x00, +var fileDescriptor_eea79e06d78ce375 = []byte{ + // 400 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xcf, 0x8b, 0xd3, 0x40, + 0x18, 0x4d, 0xb6, 0xdb, 0xfd, 0x31, 0x51, 0x84, 0xb0, 0x87, 0x6c, 0x85, 0x24, 0x08, 0x42, 0x2e, + 0x9d, 0xa1, 0x15, 0x04, 0xbd, 0x19, 0x16, 0xb4, 0xd7, 0x80, 0x17, 0x2f, 0xcb, 0xcc, 0xe4, 0x23, + 0x8d, 0x24, 0x99, 0x30, 0x33, 0x29, 0xea, 0x5f, 0xe0, 0xd1, 0xa3, 0xc7, 0xfe, 0x29, 0x1e, 0x3d, + 0xf6, 0xe8, 0xa9, 0x48, 0xfb, 0x5f, 0x78, 0x92, 0x4c, 0xa6, 0xd6, 0x5e, 0xf6, 0x36, 0xf3, 0xbd, + 0xf7, 0xbd, 0xf7, 0x78, 0x1f, 0x7a, 0x9a, 0xf3, 0x8a, 0x76, 0x7a, 0x49, 0xf4, 0xe7, 0x16, 0x14, + 0xa1, 0x9c, 0x8b, 0xae, 0xd1, 0xb8, 0x95, 0x42, 0x0b, 0xff, 0xb1, 0x05, 0xb1, 0x01, 0x27, 0x37, + 0x85, 0x28, 0x84, 0x41, 0x48, 0xff, 0x1a, 0x48, 0x93, 0x90, 0x0b, 0x55, 0x0b, 0x45, 0x8c, 0xca, + 0x6a, 0xc6, 0x40, 0xd3, 0x99, 0xf9, 0x58, 0x3c, 0xe2, 0xa2, 0xae, 0x45, 0x63, 0x0d, 0xba, 0xb2, + 0xd1, 0xb3, 0x97, 0xf7, 0x92, 0x36, 0x05, 0x58, 0xc2, 0xed, 0x69, 0x84, 0x42, 0xd2, 0x43, 0x80, + 0x67, 0x3f, 0xce, 0xd0, 0xe5, 0x9b, 0x21, 0x92, 0xbf, 0x40, 0x8f, 0x18, 0x55, 0x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 0xa4, 0x0d, 0x07, 0x92, 0x97, 0x4a, 0xcb, 0x92, 0x75, 0x1a, 0xf2, 0x29, + 0x17, 0x75, 0x3b, 0x8c, 0xa7, 0x15, 0xe4, 0x05, 0x48, 0xf2, 0x89, 0x9c, 0x9c, 0x8c, 0x5d, 0x98, + 0x6b, 0xbd, 0xf8, 0x1b, 0x00, 0x00, 0xff, 0xff, 0xd4, 0xbc, 0x8a, 0xaa, 0x4d, 0x02, 0x00, 0x00, } func (m *Account) Marshal() (dAtA []byte, err error) { diff --git a/x/dclauth/types/account_stat.pb.go b/x/dclauth/types/account_stat.pb.go index 57886344b..5647f1520 100644 --- a/x/dclauth/types/account_stat.pb.go +++ b/x/dclauth/types/account_stat.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclauth/account_stat.proto +// source: dclauth/types/account_stat.proto package types @@ -30,7 +30,7 @@ func (m *AccountStat) Reset() { *m = AccountStat{} } func (m *AccountStat) String() string { return proto.CompactTextString(m) } func (*AccountStat) ProtoMessage() {} func (*AccountStat) Descriptor() ([]byte, []int) { - return fileDescriptor_2d7f051f29b648b0, []int{0} + return fileDescriptor_b518d69dc155db70, []int{0} } func (m *AccountStat) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -67,26 +67,25 @@ func (m *AccountStat) GetNumber() uint64 { } func init() { - proto.RegisterType((*AccountStat)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.AccountStat") + proto.RegisterType((*AccountStat)(nil), "dclauth.types.AccountStat") } -func init() { proto.RegisterFile("dclauth/account_stat.proto", fileDescriptor_2d7f051f29b648b0) } +func init() { proto.RegisterFile("dclauth/types/account_stat.proto", fileDescriptor_b518d69dc155db70) } -var fileDescriptor_2d7f051f29b648b0 = []byte{ - // 196 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4a, 0x49, 0xce, 0x49, - 0x2c, 0x2d, 0xc9, 0xd0, 0x4f, 0x4c, 0x4e, 0xce, 0x2f, 0xcd, 0x2b, 0x89, 0x2f, 0x2e, 0x49, 0x2c, - 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x32, 0xaa, 0xca, 0x4c, 0x4f, 0x4a, 0x4d, 0x4d, 0xcc, - 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4b, 0xc9, 0x2c, 0x2e, 0x29, 0xca, 0x4c, 0x2a, 0x2d, - 0x49, 0x4d, 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, 0xa7, 0x16, 0xe9, 0x41, - 0x8d, 0x51, 0x52, 0xe5, 0xe2, 0x76, 0x84, 0x98, 0x14, 0x5c, 0x92, 0x58, 0x22, 0x24, 0xc6, 0xc5, - 0x96, 0x57, 0x9a, 0x9b, 0x94, 0x5a, 0x24, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0x12, 0x04, 0xe5, 0x39, - 0x25, 0x9d, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, - 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x47, 0x7a, 0x66, 0x49, - 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x3e, 0xc4, 0x7e, 0x5d, 0x98, 0x03, 0xf4, 0x91, 0x1c, - 0xa0, 0x8b, 0x70, 0x81, 0x2e, 0xc4, 0x09, 0xfa, 0x15, 0xfa, 0x30, 0xbf, 0x94, 0x54, 0x16, 0xa4, - 0x16, 0x27, 0xb1, 0x81, 0x7d, 0x61, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x54, 0x33, 0x83, 0x86, - 0xe3, 0x00, 0x00, 0x00, +var fileDescriptor_b518d69dc155db70 = []byte{ + // 187 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x48, 0x49, 0xce, 0x49, + 0x2c, 0x2d, 0xc9, 0xd0, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x4f, 0x4c, 0x4e, 0xce, 0x2f, 0xcd, + 0x2b, 0x89, 0x2f, 0x2e, 0x49, 0x2c, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x85, 0xaa, + 0xd0, 0x03, 0xab, 0x50, 0x52, 0xe5, 0xe2, 0x76, 0x84, 0x28, 0x0a, 0x2e, 0x49, 0x2c, 0x11, 0x12, + 0xe3, 0x62, 0xcb, 0x2b, 0xcd, 0x4d, 0x4a, 0x2d, 0x92, 0x60, 0x54, 0x60, 0xd4, 0x60, 0x09, 0x82, + 0xf2, 0x9c, 0x92, 0x4e, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, + 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0xca, 0x23, 0x3d, + 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0xbf, 0x2a, 0x33, 0x3d, 0x29, 0x35, 0x55, + 0x37, 0x31, 0x27, 0x27, 0x33, 0x31, 0x2f, 0x39, 0x55, 0x3f, 0x25, 0xb3, 0xb8, 0xa4, 0x28, 0x33, + 0xa9, 0xb4, 0x24, 0x35, 0x45, 0x37, 0x39, 0x3f, 0xb7, 0x00, 0x22, 0xac, 0x9b, 0x93, 0x9a, 0x92, + 0x9e, 0x5a, 0xa4, 0x5f, 0xa1, 0x8f, 0xe2, 0xd8, 0x24, 0x36, 0xb0, 0x03, 0x8d, 0x01, 0x01, 0x00, + 0x00, 0xff, 0xff, 0xe7, 0x41, 0x15, 0x75, 0xc4, 0x00, 0x00, 0x00, } func (m *AccountStat) Marshal() (dAtA []byte, err error) { diff --git a/x/dclauth/types/genesis.pb.go b/x/dclauth/types/genesis.pb.go index 45c4d969f..7780e6da6 100644 --- a/x/dclauth/types/genesis.pb.go +++ b/x/dclauth/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclauth/genesis.proto +// source: dclauth/types/genesis.proto package types @@ -37,7 +37,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} } func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_b9b33ac10a70c596, []int{0} + return fileDescriptor_da8ac9ae8245f710, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -109,38 +109,37 @@ func (m *GenesisState) GetRejectedAccountList() []RejectedAccount { } func init() { - proto.RegisterType((*GenesisState)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.GenesisState") + proto.RegisterType((*GenesisState)(nil), "dclauth.types.GenesisState") } -func init() { proto.RegisterFile("dclauth/genesis.proto", fileDescriptor_b9b33ac10a70c596) } +func init() { proto.RegisterFile("dclauth/types/genesis.proto", fileDescriptor_da8ac9ae8245f710) } -var fileDescriptor_b9b33ac10a70c596 = []byte{ - // 394 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x93, 0x3f, 0x4f, 0xc2, 0x40, - 0x18, 0xc6, 0x5b, 0xf9, 0x33, 0x14, 0xa7, 0xaa, 0x09, 0x21, 0x5a, 0x89, 0x13, 0x0b, 0x6d, 0x82, - 0xa3, 0x83, 0x01, 0x07, 0x1d, 0x18, 0x4c, 0xdd, 0x5c, 0xc8, 0xf5, 0xfa, 0xe6, 0x38, 0x2d, 0xbd,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x15, 0xdd, 0x9c, 0xeb, 0x20, 0x75, 0xf5, 0x76, 0x71, 0xdd, - 0x17, 0x68, 0x52, 0xb9, 0xc5, 0xa1, 0x7f, 0xaa, 0xda, 0x69, 0x71, 0x6c, 0x2f, 0xff, 0x41, 0x1a, - 0xa2, 0x94, 0x86, 0xe8, 0xef, 0x1f, 0x62, 0xc5, 0x95, 0x71, 0xfe, 0xf4, 0xea, 0x68, 0xd9, 0x7b, - 0xf2, 0x1f, 0xea, 0xe5, 0xa6, 0xda, 0xaa, 0x75, 0xae, 0xf7, 0xe8, 0x3d, 0xc1, 0xd8, 0x79, 0x66, - 0xd2, 0xba, 0x3c, 0x3a, 0xf9, 0xd6, 0x2b, 0xbb, 0xb7, 0x6e, 0x17, 0x68, 0x59, 0xeb, 0x9b, 0x0e, - 0xfd, 0x5d, 0x3b, 0xca, 0x4e, 0x65, 0x5e, 0x5d, 0x4d, 0xd5, 0x37, 0xbb, 0xa9, 0x0b, 0x38, 0xe9, - 0xde, 0x66, 0xe9, 0x39, 0x93, 0xb9, 0xa1, 0x4e, 0xe7, 0x86, 0x3a, 0x9b, 0x1b, 0xea, 0xc7, 0xc2, - 0x50, 0xa6, 0x0b, 0x43, 0xf9, 0x5a, 0x18, 0xca, 0xe3, 0x1d, 0xa1, 0x7c, 0x18, 0x3b, 0x26, 0x66, - 0x23, 0x4b, 0x64, 0x68, 0x67, 0x21, 0xac, 0x5c, 0x88, 0xf6, 0x2a, 0x45, 0x5b, 0xc4, 0xb0, 0xc6, - 0x56, 0x76, 0xdb, 0xf8, 0x6b, 0x00, 0x91, 0x53, 0x4d, 0x6f, 0xd3, 0xe5, 0x4f, 0x00, 0x00, 0x00, - 0xff, 0xff, 0x61, 0x1d, 0x73, 0x1c, 0x6b, 0x04, 0x00, 0x00, +var fileDescriptor_da8ac9ae8245f710 = []byte{ + // 383 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff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 0xff, 0xff, 0xc3, 0x72, 0xaa, 0x63, 0x91, 0x03, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/dclauth/types/grant.pb.go b/x/dclauth/types/grant.pb.go index d825799e8..9f3909944 100644 --- a/x/dclauth/types/grant.pb.go +++ b/x/dclauth/types/grant.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclauth/grant.proto +// source: dclauth/types/grant.proto package types @@ -33,7 +33,7 @@ func (m *Grant) Reset() { *m = Grant{} } func (m *Grant) String() string { return proto.CompactTextString(m) } func (*Grant) ProtoMessage() {} func (*Grant) Descriptor() ([]byte, []int) { - return fileDescriptor_9332917d54e22b21, []int{0} + return fileDescriptor_c5cfa03262ebaddf, []int{0} } func (m *Grant) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -84,29 +84,28 @@ func (m *Grant) GetInfo() string { } func init() { - proto.RegisterType((*Grant)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.Grant") + proto.RegisterType((*Grant)(nil), "dclauth.types.Grant") } -func init() { proto.RegisterFile("dclauth/grant.proto", fileDescriptor_9332917d54e22b21) } +func init() { proto.RegisterFile("dclauth/types/grant.proto", fileDescriptor_c5cfa03262ebaddf) } -var fileDescriptor_9332917d54e22b21 = []byte{ - // 249 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x90, 0x3d, 0x4e, 0xc3, 0x30, - 0x18, 0x86, 0x63, 0xca, 0x8f, 0xc8, 0x18, 0x18, 0x02, 0x83, 0x55, 0x31, 0x75, 0x49, 0x2c, 0x95, - 0x13, 0xd0, 0x05, 0xe6, 0xb0, 0xb1, 0x20, 0xff, 0x7c, 0xb8, 0x96, 0x92, 0x38, 0xb2, 0xbf, 0x48, - 0xc0, 0x29, 0x38, 0x0c, 0x87, 0x60, 0xac, 0x98, 0x18, 0x51, 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, 0xff, - 0xff, 0x63, 0x02, 0x2c, 0x41, 0x35, 0x01, 0x00, 0x00, +var fileDescriptor_c5cfa03262ebaddf = []byte{ + // 239 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4c, 0x49, 0xce, 0x49, + 0x2c, 0x2d, 0xc9, 0xd0, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x4f, 0x2f, 0x4a, 0xcc, 0x2b, 0xd1, + 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x85, 0x4a, 0xe9, 0x81, 0xa5, 0xa4, 0x24, 0x93, 0xf3, + 0x8b, 0x73, 0xf3, 0x8b, 0xe3, 0xc1, 0x92, 0xfa, 0x10, 0x0e, 0x44, 0xa5, 0x52, 0x32, 0x17, 0xab, + 0x3b, 0x48, 0xa3, 0x90, 0x11, 0x17, 0x7b, 0x62, 0x4a, 0x4a, 0x51, 0x6a, 0x71, 0xb1, 0x04, 0xa3, + 0x02, 0xa3, 0x06, 0xa7, 0x93, 0xc4, 0xa5, 0x2d, 0xba, 0x22, 0x50, 0xb5, 0x8e, 0x10, 0x99, 0xe0, + 0x92, 0xa2, 0xcc, 0xbc, 0xf4, 0x20, 0x98, 0x42, 0x21, 0x21, 0x2e, 0x96, 0x92, 0xcc, 0xdc, 0x54, + 0x09, 0x26, 0x05, 0x46, 0x0d, 0xe6, 0x20, 0x30, 0x1b, 0x24, 0x96, 0x99, 0x97, 0x96, 0x2f, 0xc1, + 0x0c, 0x32, 0x24, 0x08, 0xcc, 0x76, 0x4a, 0x3a, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, + 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, + 0x86, 0x28, 0x8f, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0xfd, 0xaa, 0xcc, + 0xf4, 0xa4, 0xd4, 0x54, 0xdd, 0xc4, 0x9c, 0x9c, 0xcc, 0xc4, 0xbc, 0xe4, 0x54, 0xfd, 0x94, 0xcc, + 0xe2, 0x92, 0xa2, 0xcc, 0xa4, 0xd2, 0x92, 0xd4, 0x14, 0xdd, 0xe4, 0xfc, 0xdc, 0x02, 0x88, 0xb0, + 0x6e, 0x4e, 0x6a, 0x4a, 0x7a, 0x6a, 0x91, 0x7e, 0x85, 0x3e, 0x8a, 0xf7, 0x93, 0xd8, 0xc0, 0xfe, + 0x31, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x2c, 0x91, 0x86, 0x2a, 0x16, 0x01, 0x00, 0x00, } func (m *Grant) Marshal() (dAtA []byte, err error) { diff --git a/x/dclauth/types/pending_account.pb.go b/x/dclauth/types/pending_account.pb.go index a5eddb108..64cf7efcc 100644 --- a/x/dclauth/types/pending_account.pb.go +++ b/x/dclauth/types/pending_account.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclauth/pending_account.proto +// source: dclauth/types/pending_account.proto package types @@ -31,7 +31,7 @@ func (m *PendingAccount) Reset() { *m = PendingAccount{} } func (m *PendingAccount) String() string { return proto.CompactTextString(m) } func (*PendingAccount) ProtoMessage() {} func (*PendingAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_8e7d87157315e5f1, []int{0} + return fileDescriptor_6060dcc76949cc4b, []int{0} } func (m *PendingAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -61,28 +61,29 @@ func (m *PendingAccount) XXX_DiscardUnknown() { var xxx_messageInfo_PendingAccount proto.InternalMessageInfo func init() { - proto.RegisterType((*PendingAccount)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.PendingAccount") + proto.RegisterType((*PendingAccount)(nil), "dclauth.types.PendingAccount") } -func init() { proto.RegisterFile("dclauth/pending_account.proto", fileDescriptor_8e7d87157315e5f1) } +func init() { + proto.RegisterFile("dclauth/types/pending_account.proto", fileDescriptor_6060dcc76949cc4b) +} -var fileDescriptor_8e7d87157315e5f1 = []byte{ - // 228 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4d, 0x49, 0xce, 0x49, - 0x2c, 0x2d, 0xc9, 0xd0, 0x2f, 0x48, 0xcd, 0x4b, 0xc9, 0xcc, 0x4b, 0x8f, 0x4f, 0x4c, 0x4e, 0xce, - 0x2f, 0xcd, 0x2b, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x32, 0xaa, 0xca, 0x4c, 0x4f, 0x4a, - 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4b, 0xc9, 0x2c, 0x2e, 0x29, 0xca, - 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, 0xa7, - 0x16, 0xe9, 0x41, 0x4d, 0x92, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0x6b, 0xd7, 0x07, 0xb1, 0x20, - 0x26, 0x49, 0x89, 0xc2, 0x2c, 0x42, 0xb1, 0x40, 0x29, 0x97, 0x8b, 0x2f, 0x00, 0x62, 0xb3, 0x23, - 0x44, 0x5c, 0x28, 0x9a, 0x8b, 0x1d, 0xaa, 0x44, 0x82, 0x51, 0x81, 0x51, 0x83, 0xdb, 0xc8, 0x5a, - 0x8f, 0x74, 0x47, 0xe8, 0x41, 0x4d, 0x73, 0x62, 0xb9, 0x70, 0x4f, 0x9e, 0x31, 0x08, 0x66, 0xa2, - 0x53, 0xd2, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, - 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x79, 0xa4, 0x67, 0x96, - 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x43, 0xec, 0xd3, 0x85, 0x59, 0xa8, 0x8f, 0x64, - 0xa1, 0x2e, 0xc2, 0x46, 0x5d, 0x88, 0x95, 0xfa, 0x15, 0xfa, 0x30, 0xaf, 0x95, 0x54, 0x16, 0xa4, - 0x16, 0x27, 0xb1, 0x81, 0x7d, 0x66, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xf9, 0x0c, 0xb3, 0x09, - 0x5b, 0x01, 0x00, 0x00, +var fileDescriptor_6060dcc76949cc4b = []byte{ + // 219 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4e, 0x49, 0xce, 0x49, + 0x2c, 0x2d, 0xc9, 0xd0, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x2f, 0x48, 0xcd, 0x4b, 0xc9, 0xcc, + 0x4b, 0x8f, 0x4f, 0x4c, 0x4e, 0xce, 0x2f, 0xcd, 0x2b, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, + 0xe2, 0x85, 0x2a, 0xd2, 0x03, 0x2b, 0x92, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0xcb, 0xe8, 0x83, + 0x58, 0x10, 0x45, 0x52, 0xd2, 0xa8, 0x26, 0xa1, 0x98, 0xa0, 0xe4, 0xc1, 0xc5, 0x17, 0x00, 0x31, + 0xda, 0x11, 0x22, 0x2e, 0x64, 0xc6, 0xc5, 0x0e, 0x55, 0x22, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0x6d, + 0x24, 0xa6, 0x87, 0x62, 0x8b, 0x1e, 0x54, 0xa1, 0x13, 0xcb, 0x85, 0x7b, 0xf2, 0x8c, 0x41, 0x30, + 0xc5, 0x4e, 0x49, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3, + 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0xe5, 0x91, 0x9e, + 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x5f, 0x95, 0x99, 0x9e, 0x94, 0x9a, 0xaa, + 0x9b, 0x98, 0x93, 0x93, 0x99, 0x98, 0x97, 0x9c, 0xaa, 0x9f, 0x92, 0x59, 0x5c, 0x52, 0x94, 0x99, + 0x54, 0x5a, 0x92, 0x9a, 0xa2, 0x9b, 0x9c, 0x9f, 0x5b, 0x00, 0x11, 0xd6, 0xcd, 0x49, 0x4d, 0x49, + 0x4f, 0x2d, 0xd2, 0xaf, 0xd0, 0x47, 0x71, 0x7b, 0x12, 0x1b, 0xd8, 0xd1, 0xc6, 0x80, 0x00, 0x00, + 0x00, 0xff, 0xff, 0xbd, 0x2c, 0x90, 0xb7, 0x1d, 0x01, 0x00, 0x00, } func (m *PendingAccount) Marshal() (dAtA []byte, err error) { diff --git a/x/dclauth/types/pending_account_revocation.pb.go b/x/dclauth/types/pending_account_revocation.pb.go index 95929ad2a..f41857f1b 100644 --- a/x/dclauth/types/pending_account_revocation.pb.go +++ b/x/dclauth/types/pending_account_revocation.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclauth/pending_account_revocation.proto +// source: dclauth/types/pending_account_revocation.proto package types @@ -32,7 +32,7 @@ type PendingAccountRevocation struct { func (m *PendingAccountRevocation) Reset() { *m = PendingAccountRevocation{} } func (*PendingAccountRevocation) ProtoMessage() {} func (*PendingAccountRevocation) Descriptor() ([]byte, []int) { - return fileDescriptor_be1e09fa9f023dd9, []int{0} + return fileDescriptor_e3fe6ffb9f50598e, []int{0} } func (m *PendingAccountRevocation) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -76,34 +76,33 @@ func (m *PendingAccountRevocation) GetApprovals() []*Grant { } func init() { - proto.RegisterType((*PendingAccountRevocation)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.PendingAccountRevocation") + proto.RegisterType((*PendingAccountRevocation)(nil), "dclauth.types.PendingAccountRevocation") } func init() { - proto.RegisterFile("dclauth/pending_account_revocation.proto", fileDescriptor_be1e09fa9f023dd9) + proto.RegisterFile("dclauth/types/pending_account_revocation.proto", fileDescriptor_e3fe6ffb9f50598e) } -var fileDescriptor_be1e09fa9f023dd9 = []byte{ - // 304 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x90, 0xb1, 0x4e, 0xeb, 0x30, - 0x14, 0x86, 0xe3, 0x7b, 0x11, 0xa8, 0x61, 0x2b, 0x1d, 0x42, 0x07, 0x53, 0x31, 0x75, 0x89, 0x2d, - 0x95, 0x09, 0xb6, 0x76, 0x81, 0x11, 0x95, 0x01, 0x89, 0xa5, 0x72, 0x6c, 0xcb, 0xb5, 0x94, 0xfa, - 0x58, 0xb6, 0x53, 0x01, 0x4f, 0xc1, 0xc8, 0xc8, 0x0b, 0xb0, 0xf1, 0x10, 0x8c, 0x15, 0x13, 0x23, - 0x6a, 0x5e, 0x04, 0xb5, 0x4e, 0x28, 0x2b, 0x5b, 0x72, 0x7e, 0xfb, 0xff, 0x3e, 0x9f, 0x74, 0x28, - 0x78, 0xc9, 0xaa, 0x30, 0xa7, 0x56, 0x1a, 0xa1, 0x8d, 0x9a, 0x31, 0xce, 0xa1, 0x32, 0x61, 0xe6, - 0xe4, 0x12, 0x38, 0x0b, 0x1a, 0x0c, 0xb1, 0x0e, 0x02, 0x74, 0x47, 0x8f, 0x5a, 0x15, 0x52, 0x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0xff, 0xff, 0x16, 0x7c, 0x38, 0xf8, 0xc0, 0x01, 0x00, 0x00, +var fileDescriptor_e3fe6ffb9f50598e = []byte{ + // 288 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8f, 0x31, 0x4e, 0xc3, 0x30, + 0x14, 0x40, 0x63, 0x40, 0xa0, 0x06, 0xb1, 0x54, 0x1d, 0x42, 0x07, 0x53, 0x31, 0x75, 0x89, 0x2d, + 0x95, 0x8d, 0xad, 0x5d, 0x60, 0x44, 0x65, 0x63, 0xa9, 0x1c, 0xdb, 0x72, 0x2d, 0xa5, 0xfe, 0x96, + 0xed, 0x54, 0xc0, 0x09, 0x18, 0x19, 0x19, 0x39, 0x04, 0x87, 0x60, 0xac, 0x98, 0x18, 0x51, 0x72, + 0x11, 0xd4, 0xb8, 0x05, 0x65, 0xb3, 0xfd, 0x9e, 0xfc, 0xfe, 0x4f, 0x89, 0xe0, 0x25, 0xab, 0xc2, + 0x92, 0x86, 0x27, 0x2b, 0x3d, 0xb5, 0xd2, 0x08, 0x6d, 0xd4, 0x82, 0x71, 0x0e, 0x95, 0x09, 0x0b, + 0x27, 0xd7, 0xc0, 0x59, 0xd0, 0x60, 0x88, 0x75, 0x10, 0xa0, 0x7f, 0xb6, 0xf3, 0x49, 0xeb, 0x0f, + 0x07, 0x0a, 0x14, 0xb4, 0x84, 0x6e, 0x4f, 0x51, 0x1a, 0x9e, 0x73, 0xf0, 0x2b, 0xf0, 0x8b, 0x08, + 0xe2, 0x65, 0x8f, 0xba, 0x3d, 0xe5, 0x98, 0x09, 0x11, 0x5d, 0xbe, 0xa0, 0x34, 0xbb, 0x8b, 0xfd, + 0x69, 0xcc, 0xcf, 0xff, 0xea, 0xfd, 0x49, 0x7a, 0xc2, 0x84, 0x70, 0xd2, 0xfb, 0x0c, 0x8d, 0xd0, + 0xb8, 0x37, 0xcb, 0xbe, 0x3e, 0xf2, 0xc1, 0xee, 0xeb, 0x69, 0x24, 0xf7, 0xc1, 0x69, 0xa3, 0xe6, + 0x7b, 0xb1, 0x3f, 0x49, 0x7b, 0xcc, 0x5a, 0x07, 0x6b, 0x56, 0xfa, 0xec, 0x60, 0x74, 0x38, 0x3e, + 0x9d, 0x0c, 0x48, 0x67, 0x7e, 0x72, 0xb3, 0xed, 0xcf, 0xff, 0xb5, 0xeb, 0xa3, 0xb7, 0xf7, 0x8b, + 0x64, 0x56, 0x7c, 0xd6, 0x18, 0x6d, 0x6a, 0x8c, 0x7e, 0x6a, 0x8c, 0x5e, 0x1b, 0x9c, 0x6c, 0x1a, + 0x9c, 0x7c, 0x37, 0x38, 0x79, 0xb8, 0x55, 0x3a, 0x2c, 0xab, 0x82, 0x70, 0x58, 0xd1, 0x67, 0xad, + 0x0a, 0x29, 0x73, 0x56, 0x96, 0x9a, 0x19, 0x2e, 0xa9, 0xd0, 0x3e, 0x38, 0x5d, 0x54, 0x41, 0x8a, + 0x9c, 0xc3, 0xca, 0xc6, 0xe7, 0xbc, 0x94, 0x42, 0x49, 0x47, 0x1f, 0x69, 0x67, 0xf5, 0xe2, 0xb8, + 0xdd, 0xfa, 0xea, 0x37, 0x00, 0x00, 0xff, 0xff, 0x84, 0x49, 0x82, 0x9f, 0x82, 0x01, 0x00, 0x00, } func (m *PendingAccountRevocation) Marshal() (dAtA []byte, err error) { diff --git a/x/dclauth/types/query.pb.go b/x/dclauth/types/query.pb.go index c37a59e22..27410f673 100644 --- a/x/dclauth/types/query.pb.go +++ b/x/dclauth/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclauth/query.proto +// source: dclauth/types/query.proto package types @@ -39,7 +39,7 @@ func (m *QueryGetAccountRequest) Reset() { *m = QueryGetAccountRequest{} func (m *QueryGetAccountRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetAccountRequest) ProtoMessage() {} func (*QueryGetAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ea8dcf317d352d49, []int{0} + return fileDescriptor_81970586c652f7f1, []int{0} } func (m *QueryGetAccountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -83,7 +83,7 @@ func (m *QueryGetAccountResponse) Reset() { *m = QueryGetAccountResponse func (m *QueryGetAccountResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetAccountResponse) ProtoMessage() {} func (*QueryGetAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ea8dcf317d352d49, []int{1} + return fileDescriptor_81970586c652f7f1, []int{1} } func (m *QueryGetAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -127,7 +127,7 @@ func (m *QueryAllAccountRequest) Reset() { *m = QueryAllAccountRequest{} func (m *QueryAllAccountRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllAccountRequest) ProtoMessage() {} func (*QueryAllAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ea8dcf317d352d49, []int{2} + return fileDescriptor_81970586c652f7f1, []int{2} } func (m *QueryAllAccountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -172,7 +172,7 @@ func (m *QueryAllAccountResponse) Reset() { *m = QueryAllAccountResponse func (m *QueryAllAccountResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllAccountResponse) ProtoMessage() {} func (*QueryAllAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ea8dcf317d352d49, []int{3} + return fileDescriptor_81970586c652f7f1, []int{3} } func (m *QueryAllAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -223,7 +223,7 @@ func (m *QueryGetPendingAccountRequest) Reset() { *m = QueryGetPendingAc func (m *QueryGetPendingAccountRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetPendingAccountRequest) ProtoMessage() {} func (*QueryGetPendingAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ea8dcf317d352d49, []int{4} + return fileDescriptor_81970586c652f7f1, []int{4} } func (m *QueryGetPendingAccountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -267,7 +267,7 @@ func (m *QueryGetPendingAccountResponse) Reset() { *m = QueryGetPendingA func (m *QueryGetPendingAccountResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetPendingAccountResponse) ProtoMessage() {} func (*QueryGetPendingAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ea8dcf317d352d49, []int{5} + return fileDescriptor_81970586c652f7f1, []int{5} } func (m *QueryGetPendingAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -311,7 +311,7 @@ func (m *QueryAllPendingAccountRequest) Reset() { *m = QueryAllPendingAc func (m *QueryAllPendingAccountRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllPendingAccountRequest) ProtoMessage() {} func (*QueryAllPendingAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ea8dcf317d352d49, []int{6} + return fileDescriptor_81970586c652f7f1, []int{6} } func (m *QueryAllPendingAccountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -356,7 +356,7 @@ func (m *QueryAllPendingAccountResponse) Reset() { *m = QueryAllPendingA func (m *QueryAllPendingAccountResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllPendingAccountResponse) ProtoMessage() {} func (*QueryAllPendingAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ea8dcf317d352d49, []int{7} + return fileDescriptor_81970586c652f7f1, []int{7} } func (m *QueryAllPendingAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -409,7 +409,7 @@ func (m *QueryGetPendingAccountRevocationRequest) Reset() { func (m *QueryGetPendingAccountRevocationRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetPendingAccountRevocationRequest) ProtoMessage() {} func (*QueryGetPendingAccountRevocationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ea8dcf317d352d49, []int{8} + return fileDescriptor_81970586c652f7f1, []int{8} } func (m *QueryGetPendingAccountRevocationRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -455,7 +455,7 @@ func (m *QueryGetPendingAccountRevocationResponse) Reset() { func (m *QueryGetPendingAccountRevocationResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetPendingAccountRevocationResponse) ProtoMessage() {} func (*QueryGetPendingAccountRevocationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ea8dcf317d352d49, []int{9} + return fileDescriptor_81970586c652f7f1, []int{9} } func (m *QueryGetPendingAccountRevocationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -501,7 +501,7 @@ func (m *QueryAllPendingAccountRevocationRequest) Reset() { func (m *QueryAllPendingAccountRevocationRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllPendingAccountRevocationRequest) ProtoMessage() {} func (*QueryAllPendingAccountRevocationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ea8dcf317d352d49, []int{10} + return fileDescriptor_81970586c652f7f1, []int{10} } func (m *QueryAllPendingAccountRevocationRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -548,7 +548,7 @@ func (m *QueryAllPendingAccountRevocationResponse) Reset() { func (m *QueryAllPendingAccountRevocationResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllPendingAccountRevocationResponse) ProtoMessage() {} func (*QueryAllPendingAccountRevocationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ea8dcf317d352d49, []int{11} + return fileDescriptor_81970586c652f7f1, []int{11} } func (m *QueryAllPendingAccountRevocationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -598,7 +598,7 @@ func (m *QueryGetAccountStatRequest) Reset() { *m = QueryGetAccountStatR func (m *QueryGetAccountStatRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetAccountStatRequest) ProtoMessage() {} func (*QueryGetAccountStatRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ea8dcf317d352d49, []int{12} + return fileDescriptor_81970586c652f7f1, []int{12} } func (m *QueryGetAccountStatRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -635,7 +635,7 @@ func (m *QueryGetAccountStatResponse) Reset() { *m = QueryGetAccountStat func (m *QueryGetAccountStatResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetAccountStatResponse) ProtoMessage() {} func (*QueryGetAccountStatResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ea8dcf317d352d49, []int{13} + return fileDescriptor_81970586c652f7f1, []int{13} } func (m *QueryGetAccountStatResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -679,7 +679,7 @@ func (m *QueryGetRevokedAccountRequest) Reset() { *m = QueryGetRevokedAc func (m *QueryGetRevokedAccountRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetRevokedAccountRequest) ProtoMessage() {} func (*QueryGetRevokedAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ea8dcf317d352d49, []int{14} + return fileDescriptor_81970586c652f7f1, []int{14} } func (m *QueryGetRevokedAccountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -723,7 +723,7 @@ func (m *QueryGetRevokedAccountResponse) Reset() { *m = QueryGetRevokedA func (m *QueryGetRevokedAccountResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetRevokedAccountResponse) ProtoMessage() {} func (*QueryGetRevokedAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ea8dcf317d352d49, []int{15} + return fileDescriptor_81970586c652f7f1, []int{15} } func (m *QueryGetRevokedAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -767,7 +767,7 @@ func (m *QueryAllRevokedAccountRequest) Reset() { *m = QueryAllRevokedAc func (m *QueryAllRevokedAccountRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllRevokedAccountRequest) ProtoMessage() {} func (*QueryAllRevokedAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ea8dcf317d352d49, []int{16} + return fileDescriptor_81970586c652f7f1, []int{16} } func (m *QueryAllRevokedAccountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -812,7 +812,7 @@ func (m *QueryAllRevokedAccountResponse) Reset() { *m = QueryAllRevokedA func (m *QueryAllRevokedAccountResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllRevokedAccountResponse) ProtoMessage() {} func (*QueryAllRevokedAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ea8dcf317d352d49, []int{17} + return fileDescriptor_81970586c652f7f1, []int{17} } func (m *QueryAllRevokedAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -863,7 +863,7 @@ func (m *QueryGetRejectedAccountRequest) Reset() { *m = QueryGetRejected func (m *QueryGetRejectedAccountRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetRejectedAccountRequest) ProtoMessage() {} func (*QueryGetRejectedAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ea8dcf317d352d49, []int{18} + return fileDescriptor_81970586c652f7f1, []int{18} } func (m *QueryGetRejectedAccountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -907,7 +907,7 @@ func (m *QueryGetRejectedAccountResponse) Reset() { *m = QueryGetRejecte func (m *QueryGetRejectedAccountResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetRejectedAccountResponse) ProtoMessage() {} func (*QueryGetRejectedAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ea8dcf317d352d49, []int{19} + return fileDescriptor_81970586c652f7f1, []int{19} } func (m *QueryGetRejectedAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -951,7 +951,7 @@ func (m *QueryAllRejectedAccountRequest) Reset() { *m = QueryAllRejected func (m *QueryAllRejectedAccountRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllRejectedAccountRequest) ProtoMessage() {} func (*QueryAllRejectedAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ea8dcf317d352d49, []int{20} + return fileDescriptor_81970586c652f7f1, []int{20} } func (m *QueryAllRejectedAccountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -996,7 +996,7 @@ func (m *QueryAllRejectedAccountResponse) Reset() { *m = QueryAllRejecte func (m *QueryAllRejectedAccountResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllRejectedAccountResponse) ProtoMessage() {} func (*QueryAllRejectedAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ea8dcf317d352d49, []int{21} + return fileDescriptor_81970586c652f7f1, []int{21} } func (m *QueryAllRejectedAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1040,101 +1040,99 @@ func (m *QueryAllRejectedAccountResponse) GetPagination() *query.PageResponse { } func init() { - proto.RegisterType((*QueryGetAccountRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryGetAccountRequest") - proto.RegisterType((*QueryGetAccountResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryGetAccountResponse") - proto.RegisterType((*QueryAllAccountRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryAllAccountRequest") - proto.RegisterType((*QueryAllAccountResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryAllAccountResponse") - proto.RegisterType((*QueryGetPendingAccountRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryGetPendingAccountRequest") - proto.RegisterType((*QueryGetPendingAccountResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryGetPendingAccountResponse") - proto.RegisterType((*QueryAllPendingAccountRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryAllPendingAccountRequest") - proto.RegisterType((*QueryAllPendingAccountResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryAllPendingAccountResponse") - proto.RegisterType((*QueryGetPendingAccountRevocationRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryGetPendingAccountRevocationRequest") - proto.RegisterType((*QueryGetPendingAccountRevocationResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryGetPendingAccountRevocationResponse") - proto.RegisterType((*QueryAllPendingAccountRevocationRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryAllPendingAccountRevocationRequest") - proto.RegisterType((*QueryAllPendingAccountRevocationResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryAllPendingAccountRevocationResponse") - proto.RegisterType((*QueryGetAccountStatRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryGetAccountStatRequest") - proto.RegisterType((*QueryGetAccountStatResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryGetAccountStatResponse") - proto.RegisterType((*QueryGetRevokedAccountRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryGetRevokedAccountRequest") - proto.RegisterType((*QueryGetRevokedAccountResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryGetRevokedAccountResponse") - proto.RegisterType((*QueryAllRevokedAccountRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryAllRevokedAccountRequest") - proto.RegisterType((*QueryAllRevokedAccountResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryAllRevokedAccountResponse") - proto.RegisterType((*QueryGetRejectedAccountRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryGetRejectedAccountRequest") - proto.RegisterType((*QueryGetRejectedAccountResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryGetRejectedAccountResponse") - proto.RegisterType((*QueryAllRejectedAccountRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryAllRejectedAccountRequest") - proto.RegisterType((*QueryAllRejectedAccountResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryAllRejectedAccountResponse") -} - -func init() { proto.RegisterFile("dclauth/query.proto", fileDescriptor_ea8dcf317d352d49) } - -var fileDescriptor_ea8dcf317d352d49 = []byte{ - // 1059 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x98, 0xcf, 0x6f, 0xdc, 0x44, - 0x14, 0xc7, 0x33, 0xbb, 0x40, 0xc4, 0x54, 0x4a, 0xd5, 0x69, 0xa0, 0x5b, 0x27, 0x71, 0x90, 0x29, - 0x49, 0x84, 0x58, 0x9b, 0x2e, 0x17, 0x7e, 0x1c, 0xd0, 0x06, 0x89, 0x22, 0xa8, 0xa0, 0xd9, 0xdc, - 0x08, 0x28, 0x78, 0xed, 0x91, 0x63, 0x70, 0x3c, 0x8e, 0x3d, 0x1b, 0x51, 0x10, 0x17, 0x84, 0x10, - 0x27, 0x40, 0x20, 0xf1, 0x97, 0x70, 0xe3, 0x80, 0xb8, 0xe5, 0x46, 0x05, 0x17, 0x24, 0xa4, 0x16, - 0x25, 0x80, 0x04, 0x7f, 0x05, 0xb2, 0xe7, 0x59, 0xfe, 0xb1, 0xe3, 0x34, 0x8d, 0x67, 0xb9, 0x6d, - 0x3c, 0x9e, 0xef, 0x9b, 0xcf, 0xf7, 0xbd, 0x7d, 0xf3, 0xb2, 0xf8, 0xb2, 0xeb, 0x04, 0xf6, 0x84, - 0xef, 0x59, 0x07, 0x13, 0x1a, 0xdf, 0x36, 0xa3, 0x98, 0x71, 0x46, 0x06, 0x1f, 0xf9, 0xde, 0x98, - 0x52, 0x3b, 0x08, 0x7c, 0x3b, 0x74, 0xa8, 0xe9, 0xfa, 0x09, 0x8f, 0xfd, 0xf1, 0x84, 0x53, 0xd7, - 0x61, 0xfb, 0x91, 0x78, 0x1a, 0x50, 0xd7, 0xa3, 0xb1, 0x09, 0xfb, 0xb5, 0x65, 0x8f, 0x31, 0x2f, - 0xa0, 0x96, 0x1d, 0xf9, 0x96, 0x1d, 0x86, 0x8c, 0xdb, 0xdc, 0x67, 0x61, 0x22, 0x14, 0xb5, 0xa7, - 0x1d, 0x96, 0xec, 0xb3, 0xc4, 0x1a, 0xdb, 0x09, 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x82, 0x66, 0x7a, 0x92, 0x37, 0xb4, 0x8c, - 0x66, 0x91, 0x90, 0x69, 0x1a, 0xf2, 0x37, 0xc2, 0x0b, 0xd5, 0xdb, 0x8f, 0x6c, 0xb5, 0x71, 0x52, - 0x3a, 0x9a, 0x6a, 0x23, 0x95, 0x92, 0x40, 0xd5, 0xcf, 0xa8, 0xd6, 0xc9, 0x53, 0x05, 0x55, 0x14, - 0xb3, 0x88, 0x25, 0xd4, 0xed, 0x4b, 0x92, 0x75, 0x0f, 0xe1, 0x4b, 0x55, 0xa5, 0x34, 0x67, 0x5b, - 0x6d, 0x7c, 0x56, 0xcd, 0xda, 0x38, 0x6f, 0x1b, 0x4f, 0x66, 0xac, 0x2b, 0x64, 0xe9, 0x14, 0x56, - 0xf2, 0x55, 0x07, 0xf7, 0x9a, 0x06, 0x19, 0xb2, 0xa3, 0x32, 0x03, 0xb5, 0x59, 0x50, 0x7b, 0x67, - 0x36, 0xe2, 0x00, 0xff, 0x7c, 0x06, 0x3f, 0x20, 0xcf, 0x4a, 0xe0, 0x8b, 0x5f, 0x21, 0x64, 0x39, - 0xff, 0xa2, 0x83, 0x97, 0x9a, 0xe4, 0xd3, 0xec, 0xef, 0xa8, 0x4c, 0x95, 0x3a, 0x53, 0xce, 0x30, - 0x09, 0x1b, 0x66, 0x66, 0xca, 0x06, 0x59, 0x3b, 0x9b, 0x29, 0xe4, 0x67, 0x54, 0x19, 0x11, 0xc9, - 0x9b, 0x0a, 0xda, 0x65, 0x69, 0x42, 0xd5, 0xde, 0x52, 0xa6, 0x07, 0x80, 0xab, 0x19, 0xe0, 0x55, - 0x72, 0x45, 0xd2, 0x82, 0x93, 0x94, 0xe0, 0x2f, 0x84, 0x17, 0xaa, 0x53, 0x4e, 0xbb, 0xce, 0x25, - 0x9d, 0xff, 0xda, 0x75, 0x2e, 0xf9, 0xa0, 0x67, 0x3c, 0x93, 0xa1, 0xad, 0x91, 0x6b, 0x05, 0x1a, - 0x0c, 0x66, 0xb2, 0x22, 0xbe, 0x8b, 0xf0, 0xa5, 0xaa, 0x50, 0xeb, 0xc6, 0xa5, 0x1a, 0xb5, 0x71, - 0xa6, 0x35, 0x8c, 0x0c, 0x75, 0x99, 0x68, 0xcd, 0xa8, 0xe4, 0x1f, 0x84, 0x2f, 0xd6, 0xe6, 0x11, - 0xd2, 0xd2, 0x76, 0xd9, 0xb4, 0xa6, 0x6d, 0x2b, 0xd5, 0x6c, 0xbe, 0x85, 0xf2, 0x21, 0x4a, 0x96, - 0xcc, 0x63, 0x84, 0x49, 0x4d, 0x2a, 0xcd, 0x66, 0x4b, 0xeb, 0x15, 0xe3, 0x36, 0x4f, 0xa1, 0xb2, - 0x8b, 0x68, 0x0a, 0x77, 0x73, 0x7c, 0x74, 0xac, 0xa3, 0x3b, 0xc7, 0x3a, 0xfa, 0xe3, 0x58, 0x47, - 0x5f, 0x9f, 0xe8, 0x73, 0x77, 0x4e, 0xf4, 0xb9, 0xdf, 0x4e, 0xf4, 0xb9, 0xb7, 0x5f, 0xf3, 0x7c, - 0xbe, 0x37, 0x19, 0x9b, 0x0e, 0xdb, 0xb7, 0xc4, 0xe9, 0xfa, 0xf9, 0xf1, 0xac, 0xd2, 0xf1, 0xfa, - 0xc5, 0xf9, 0xfa, 0xe2, 0x80, 0xd6, 0x87, 0x56, 0xfe, 0x1b, 0x31, 0xbf, 0x1d, 0xd1, 0x64, 0xfc, - 0x48, 0xf6, 0x43, 0xef, 0x73, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0xd5, 0x00, 0x82, 0x90, 0x69, - 0x17, 0x00, 0x00, + proto.RegisterType((*QueryGetAccountRequest)(nil), "dclauth.types.QueryGetAccountRequest") + proto.RegisterType((*QueryGetAccountResponse)(nil), "dclauth.types.QueryGetAccountResponse") + proto.RegisterType((*QueryAllAccountRequest)(nil), "dclauth.types.QueryAllAccountRequest") + proto.RegisterType((*QueryAllAccountResponse)(nil), "dclauth.types.QueryAllAccountResponse") + proto.RegisterType((*QueryGetPendingAccountRequest)(nil), "dclauth.types.QueryGetPendingAccountRequest") + proto.RegisterType((*QueryGetPendingAccountResponse)(nil), "dclauth.types.QueryGetPendingAccountResponse") + proto.RegisterType((*QueryAllPendingAccountRequest)(nil), "dclauth.types.QueryAllPendingAccountRequest") + proto.RegisterType((*QueryAllPendingAccountResponse)(nil), "dclauth.types.QueryAllPendingAccountResponse") + proto.RegisterType((*QueryGetPendingAccountRevocationRequest)(nil), "dclauth.types.QueryGetPendingAccountRevocationRequest") + proto.RegisterType((*QueryGetPendingAccountRevocationResponse)(nil), "dclauth.types.QueryGetPendingAccountRevocationResponse") + proto.RegisterType((*QueryAllPendingAccountRevocationRequest)(nil), "dclauth.types.QueryAllPendingAccountRevocationRequest") + proto.RegisterType((*QueryAllPendingAccountRevocationResponse)(nil), "dclauth.types.QueryAllPendingAccountRevocationResponse") + proto.RegisterType((*QueryGetAccountStatRequest)(nil), "dclauth.types.QueryGetAccountStatRequest") + proto.RegisterType((*QueryGetAccountStatResponse)(nil), "dclauth.types.QueryGetAccountStatResponse") + proto.RegisterType((*QueryGetRevokedAccountRequest)(nil), "dclauth.types.QueryGetRevokedAccountRequest") + proto.RegisterType((*QueryGetRevokedAccountResponse)(nil), "dclauth.types.QueryGetRevokedAccountResponse") + proto.RegisterType((*QueryAllRevokedAccountRequest)(nil), "dclauth.types.QueryAllRevokedAccountRequest") + proto.RegisterType((*QueryAllRevokedAccountResponse)(nil), "dclauth.types.QueryAllRevokedAccountResponse") + proto.RegisterType((*QueryGetRejectedAccountRequest)(nil), "dclauth.types.QueryGetRejectedAccountRequest") + proto.RegisterType((*QueryGetRejectedAccountResponse)(nil), "dclauth.types.QueryGetRejectedAccountResponse") + proto.RegisterType((*QueryAllRejectedAccountRequest)(nil), "dclauth.types.QueryAllRejectedAccountRequest") + proto.RegisterType((*QueryAllRejectedAccountResponse)(nil), "dclauth.types.QueryAllRejectedAccountResponse") +} + +func init() { proto.RegisterFile("dclauth/types/query.proto", fileDescriptor_81970586c652f7f1) } + +var fileDescriptor_81970586c652f7f1 = []byte{ + // 1035 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0xcf, 0x6f, 0xdc, 0x44, + 0x14, 0xce, 0x74, 0x81, 0x88, 0xa9, 0x9a, 0xaa, 0xa3, 0xa8, 0xdd, 0x38, 0x89, 0x53, 0x4d, 0xd3, + 0x24, 0x54, 0x59, 0x9b, 0x06, 0x29, 0xfc, 0xb8, 0x6d, 0x0e, 0x14, 0x09, 0x84, 0xda, 0xcd, 0x0d, + 0x09, 0x05, 0xaf, 0x3d, 0x72, 0x0c, 0x8e, 0xc7, 0xb1, 0xbd, 0x85, 0x82, 0xe0, 0x80, 0xc4, 0x1d, + 0x09, 0x2a, 0x21, 0x40, 0xe2, 0x9f, 0x40, 0x1c, 0x7a, 0xe0, 0x86, 0xd4, 0x63, 0x05, 0x17, 0x4e, + 0x11, 0x4a, 0xf8, 0x43, 0x90, 0xc7, 0xcf, 0x5a, 0x8f, 0x77, 0x66, 0xe3, 0x0d, 0xee, 0x2d, 0xd9, + 0xf7, 0xeb, 0xfb, 0xbe, 0x37, 0xf3, 0xde, 0xec, 0xe2, 0x25, 0xcf, 0x0d, 0x9d, 0x51, 0x76, 0x68, + 0x67, 0x8f, 0x62, 0x96, 0xda, 0xc7, 0x23, 0x96, 0x3c, 0xb2, 0xe2, 0x84, 0x67, 0x9c, 0x5c, 0x01, + 0x93, 0x25, 0x4c, 0xc6, 0x8a, 0xcf, 0xb9, 0x1f, 0x32, 0xdb, 0x89, 0x03, 0xdb, 0x89, 0x22, 0x9e, + 0x39, 0x59, 0xc0, 0xa3, 0xb4, 0x70, 0x36, 0xee, 0xb8, 0x3c, 0x3d, 0xe2, 0xa9, 0x3d, 0x74, 0x52, + 0x56, 0x64, 0xb1, 0x1f, 0xde, 0x1d, 0xb2, 0xcc, 0xb9, 0x6b, 0xc7, 0x8e, 0x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e, 0x20, 0xf9, 0x05, 0xe1, 0xab, 0xb5, 0x99, 0x4f, 0xf4, 0x3a, 0xa8, 0xf6, + 0x98, 0x61, 0x35, 0x75, 0xd7, 0xcf, 0x9f, 0x72, 0xbd, 0xa8, 0x84, 0xfb, 0x01, 0x61, 0x52, 0x4b, + 0x95, 0x2b, 0xa7, 0xd7, 0xa2, 0x39, 0x48, 0xfd, 0xc2, 0x54, 0x8d, 0xa0, 0x09, 0x90, 0x7b, 0xc3, + 0xa7, 0xa7, 0x26, 0x7a, 0x76, 0x6a, 0xa2, 0x7f, 0x4e, 0x4d, 0xf4, 0xed, 0x99, 0x39, 0xf7, 0xec, + 0xcc, 0x9c, 0xfb, 0xfb, 0xcc, 0x9c, 0xfb, 0xe0, 0x1d, 0x3f, 0xc8, 0x0e, 0x47, 0x43, 0xcb, 0xe5, + 0x47, 0xf6, 0xe7, 0x81, 0x3f, 0x64, 0xac, 0xe7, 0x84, 0x61, 0xe0, 0x44, 0x2e, 0xb3, 0xbd, 0x20, + 0xcd, 0x92, 0x60, 0x38, 0xca, 0x53, 0xb9, 0xfc, 0x28, 0x2e, 0x3e, 0xee, 0x85, 0xcc, 0xf3, 0x59, + 0x62, 0x7f, 0x66, 0x4b, 0x3f, 0xae, 0x0c, 0x5f, 0x12, 0xbf, 0x8d, 0xbc, 0xf6, 0x5f, 0x00, 0x00, + 0x00, 0xff, 0xff, 0x31, 0x6d, 0xb0, 0x3e, 0xa1, 0x12, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1183,7 +1181,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) Account(ctx context.Context, in *QueryGetAccountRequest, opts ...grpc.CallOption) (*QueryGetAccountResponse, error) { out := new(QueryGetAccountResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclauth.Query/Account", in, out, opts...) + err := c.cc.Invoke(ctx, "/dclauth.types.Query/Account", in, out, opts...) if err != nil { return nil, err } @@ -1192,7 +1190,7 @@ func (c *queryClient) Account(ctx context.Context, in *QueryGetAccountRequest, o func (c *queryClient) AccountAll(ctx context.Context, in *QueryAllAccountRequest, opts ...grpc.CallOption) (*QueryAllAccountResponse, error) { out := new(QueryAllAccountResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclauth.Query/AccountAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/dclauth.types.Query/AccountAll", in, out, opts...) if err != nil { return nil, err } @@ -1201,7 +1199,7 @@ func (c *queryClient) AccountAll(ctx context.Context, in *QueryAllAccountRequest func (c *queryClient) PendingAccount(ctx context.Context, in *QueryGetPendingAccountRequest, opts ...grpc.CallOption) (*QueryGetPendingAccountResponse, error) { out := new(QueryGetPendingAccountResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclauth.Query/PendingAccount", in, out, opts...) + err := c.cc.Invoke(ctx, "/dclauth.types.Query/PendingAccount", in, out, opts...) if err != nil { return nil, err } @@ -1210,7 +1208,7 @@ func (c *queryClient) PendingAccount(ctx context.Context, in *QueryGetPendingAcc func (c *queryClient) PendingAccountAll(ctx context.Context, in *QueryAllPendingAccountRequest, opts ...grpc.CallOption) (*QueryAllPendingAccountResponse, error) { out := new(QueryAllPendingAccountResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclauth.Query/PendingAccountAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/dclauth.types.Query/PendingAccountAll", in, out, opts...) if err != nil { return nil, err } @@ -1219,7 +1217,7 @@ func (c *queryClient) PendingAccountAll(ctx context.Context, in *QueryAllPending func (c *queryClient) PendingAccountRevocation(ctx context.Context, in *QueryGetPendingAccountRevocationRequest, opts ...grpc.CallOption) (*QueryGetPendingAccountRevocationResponse, error) { out := new(QueryGetPendingAccountRevocationResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclauth.Query/PendingAccountRevocation", in, out, opts...) + err := c.cc.Invoke(ctx, "/dclauth.types.Query/PendingAccountRevocation", in, out, opts...) if err != nil { return nil, err } @@ -1228,7 +1226,7 @@ func (c *queryClient) PendingAccountRevocation(ctx context.Context, in *QueryGet func (c *queryClient) PendingAccountRevocationAll(ctx context.Context, in *QueryAllPendingAccountRevocationRequest, opts ...grpc.CallOption) (*QueryAllPendingAccountRevocationResponse, error) { out := new(QueryAllPendingAccountRevocationResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclauth.Query/PendingAccountRevocationAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/dclauth.types.Query/PendingAccountRevocationAll", in, out, opts...) if err != nil { return nil, err } @@ -1237,7 +1235,7 @@ func (c *queryClient) PendingAccountRevocationAll(ctx context.Context, in *Query func (c *queryClient) AccountStat(ctx context.Context, in *QueryGetAccountStatRequest, opts ...grpc.CallOption) (*QueryGetAccountStatResponse, error) { out := new(QueryGetAccountStatResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclauth.Query/AccountStat", in, out, opts...) + err := c.cc.Invoke(ctx, "/dclauth.types.Query/AccountStat", in, out, opts...) if err != nil { return nil, err } @@ -1246,7 +1244,7 @@ func (c *queryClient) AccountStat(ctx context.Context, in *QueryGetAccountStatRe func (c *queryClient) RevokedAccount(ctx context.Context, in *QueryGetRevokedAccountRequest, opts ...grpc.CallOption) (*QueryGetRevokedAccountResponse, error) { out := new(QueryGetRevokedAccountResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclauth.Query/RevokedAccount", in, out, opts...) + err := c.cc.Invoke(ctx, "/dclauth.types.Query/RevokedAccount", in, out, opts...) if err != nil { return nil, err } @@ -1255,7 +1253,7 @@ func (c *queryClient) RevokedAccount(ctx context.Context, in *QueryGetRevokedAcc func (c *queryClient) RevokedAccountAll(ctx context.Context, in *QueryAllRevokedAccountRequest, opts ...grpc.CallOption) (*QueryAllRevokedAccountResponse, error) { out := new(QueryAllRevokedAccountResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclauth.Query/RevokedAccountAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/dclauth.types.Query/RevokedAccountAll", in, out, opts...) if err != nil { return nil, err } @@ -1264,7 +1262,7 @@ func (c *queryClient) RevokedAccountAll(ctx context.Context, in *QueryAllRevoked func (c *queryClient) RejectedAccount(ctx context.Context, in *QueryGetRejectedAccountRequest, opts ...grpc.CallOption) (*QueryGetRejectedAccountResponse, error) { out := new(QueryGetRejectedAccountResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclauth.Query/RejectedAccount", in, out, opts...) + err := c.cc.Invoke(ctx, "/dclauth.types.Query/RejectedAccount", in, out, opts...) if err != nil { return nil, err } @@ -1273,7 +1271,7 @@ func (c *queryClient) RejectedAccount(ctx context.Context, in *QueryGetRejectedA func (c *queryClient) RejectedAccountAll(ctx context.Context, in *QueryAllRejectedAccountRequest, opts ...grpc.CallOption) (*QueryAllRejectedAccountResponse, error) { out := new(QueryAllRejectedAccountResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclauth.Query/RejectedAccountAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/dclauth.types.Query/RejectedAccountAll", in, out, opts...) if err != nil { return nil, err } @@ -1358,7 +1356,7 @@ func _Query_Account_Handler(srv interface{}, ctx context.Context, dec func(inter } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.dclauth.Query/Account", + FullMethod: "/dclauth.types.Query/Account", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Account(ctx, req.(*QueryGetAccountRequest)) @@ -1376,7 +1374,7 @@ func _Query_AccountAll_Handler(srv interface{}, ctx context.Context, dec func(in } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.dclauth.Query/AccountAll", + FullMethod: "/dclauth.types.Query/AccountAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).AccountAll(ctx, req.(*QueryAllAccountRequest)) @@ -1394,7 +1392,7 @@ func _Query_PendingAccount_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.dclauth.Query/PendingAccount", + FullMethod: "/dclauth.types.Query/PendingAccount", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).PendingAccount(ctx, req.(*QueryGetPendingAccountRequest)) @@ -1412,7 +1410,7 @@ func _Query_PendingAccountAll_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.dclauth.Query/PendingAccountAll", + FullMethod: "/dclauth.types.Query/PendingAccountAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).PendingAccountAll(ctx, req.(*QueryAllPendingAccountRequest)) @@ -1430,7 +1428,7 @@ func _Query_PendingAccountRevocation_Handler(srv interface{}, ctx context.Contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.dclauth.Query/PendingAccountRevocation", + FullMethod: "/dclauth.types.Query/PendingAccountRevocation", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).PendingAccountRevocation(ctx, req.(*QueryGetPendingAccountRevocationRequest)) @@ -1448,7 +1446,7 @@ func _Query_PendingAccountRevocationAll_Handler(srv interface{}, ctx context.Con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.dclauth.Query/PendingAccountRevocationAll", + FullMethod: "/dclauth.types.Query/PendingAccountRevocationAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).PendingAccountRevocationAll(ctx, req.(*QueryAllPendingAccountRevocationRequest)) @@ -1466,7 +1464,7 @@ func _Query_AccountStat_Handler(srv interface{}, ctx context.Context, dec func(i } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.dclauth.Query/AccountStat", + FullMethod: "/dclauth.types.Query/AccountStat", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).AccountStat(ctx, req.(*QueryGetAccountStatRequest)) @@ -1484,7 +1482,7 @@ func _Query_RevokedAccount_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.dclauth.Query/RevokedAccount", + FullMethod: "/dclauth.types.Query/RevokedAccount", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RevokedAccount(ctx, req.(*QueryGetRevokedAccountRequest)) @@ -1502,7 +1500,7 @@ func _Query_RevokedAccountAll_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.dclauth.Query/RevokedAccountAll", + FullMethod: "/dclauth.types.Query/RevokedAccountAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RevokedAccountAll(ctx, req.(*QueryAllRevokedAccountRequest)) @@ -1520,7 +1518,7 @@ func _Query_RejectedAccount_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.dclauth.Query/RejectedAccount", + FullMethod: "/dclauth.types.Query/RejectedAccount", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RejectedAccount(ctx, req.(*QueryGetRejectedAccountRequest)) @@ -1538,7 +1536,7 @@ func _Query_RejectedAccountAll_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.dclauth.Query/RejectedAccountAll", + FullMethod: "/dclauth.types.Query/RejectedAccountAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RejectedAccountAll(ctx, req.(*QueryAllRejectedAccountRequest)) @@ -1547,7 +1545,7 @@ func _Query_RejectedAccountAll_Handler(srv interface{}, ctx context.Context, dec } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "zigbeealliance.distributedcomplianceledger.dclauth.Query", + ServiceName: "dclauth.types.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -1596,7 +1594,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "dclauth/query.proto", + Metadata: "dclauth/types/query.proto", } func (m *QueryGetAccountRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/dclauth/types/query.pb.gw.go b/x/dclauth/types/query.pb.gw.go index b57708c79..cb9c75608 100644 --- a/x/dclauth/types/query.pb.gw.go +++ b/x/dclauth/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: dclauth/query.proto +// source: dclauth/types/query.proto /* Package types is a reverse proxy. @@ -1025,27 +1025,27 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } var ( - pattern_Query_Account_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"dcl", "auth", "accounts", "address"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_Account_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"dcl", "auth", "accounts", "address"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_AccountAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "auth", "accounts"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_AccountAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "auth", "accounts"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_PendingAccount_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"dcl", "auth", "proposed-accounts", "address"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_PendingAccount_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"dcl", "auth", "proposed-accounts", "address"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_PendingAccountAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "auth", "proposed-accounts"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_PendingAccountAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "auth", "proposed-accounts"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_PendingAccountRevocation_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"dcl", "auth", "proposed-revocation-accounts", "address"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_PendingAccountRevocation_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"dcl", "auth", "proposed-revocation-accounts", "address"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_PendingAccountRevocationAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "auth", "proposed-revocation-accounts"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_PendingAccountRevocationAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "auth", "proposed-revocation-accounts"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_AccountStat_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"dcl", "auth", "accounts", "stat"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_AccountStat_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"dcl", "auth", "accounts", "stat"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_RevokedAccount_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"dcl", "auth", "revoked-accounts", "address"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_RevokedAccount_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"dcl", "auth", "revoked-accounts", "address"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_RevokedAccountAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "auth", "revoked-accounts"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_RevokedAccountAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "auth", "revoked-accounts"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_RejectedAccount_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"dcl", "auth", "rejected-accounts", "address"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_RejectedAccount_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"dcl", "auth", "rejected-accounts", "address"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_RejectedAccountAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "auth", "rejected-accounts"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_RejectedAccountAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "auth", "rejected-accounts"}, "", runtime.AssumeColonVerbOpt(false))) ) var ( diff --git a/x/dclauth/types/rejected_account.pb.go b/x/dclauth/types/rejected_account.pb.go index a79212ed7..ff2e44756 100644 --- a/x/dclauth/types/rejected_account.pb.go +++ b/x/dclauth/types/rejected_account.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclauth/rejected_account.proto +// source: dclauth/types/rejected_account.proto package types @@ -31,7 +31,7 @@ func (m *RejectedAccount) Reset() { *m = RejectedAccount{} } func (m *RejectedAccount) String() string { return proto.CompactTextString(m) } func (*RejectedAccount) ProtoMessage() {} func (*RejectedAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_591d10421fdd78e4, []int{0} + return fileDescriptor_02aba9c3807e0382, []int{0} } func (m *RejectedAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -61,28 +61,30 @@ func (m *RejectedAccount) XXX_DiscardUnknown() { var xxx_messageInfo_RejectedAccount proto.InternalMessageInfo func init() { - proto.RegisterType((*RejectedAccount)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.RejectedAccount") + proto.RegisterType((*RejectedAccount)(nil), "dclauth.types.RejectedAccount") } -func init() { proto.RegisterFile("dclauth/rejected_account.proto", fileDescriptor_591d10421fdd78e4) } +func init() { + proto.RegisterFile("dclauth/types/rejected_account.proto", fileDescriptor_02aba9c3807e0382) +} -var fileDescriptor_591d10421fdd78e4 = []byte{ - // 238 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0x49, 0xce, 0x49, - 0x2c, 0x2d, 0xc9, 0xd0, 0x2f, 0x4a, 0xcd, 0x4a, 0x4d, 0x2e, 0x49, 0x4d, 0x89, 0x4f,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x30, 0x9f, 0x95, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0xbd, 0x66, - 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x66, 0xd2, 0xf3, 0x64, 0x72, 0x01, 0x00, 0x00, +var fileDescriptor_02aba9c3807e0382 = []byte{ + // 229 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x49, 0x49, 0xce, 0x49, + 0x2c, 0x2d, 0xc9, 0xd0, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x2f, 0x4a, 0xcd, 0x4a, 0x4d, 0x2e, + 0x49, 0x4d, 0x89, 0x4f, 0x4c, 0x4e, 0xce, 0x2f, 0xcd, 0x2b, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, + 0x17, 0xe2, 0x85, 0xaa, 0xd2, 0x03, 0xab, 0x92, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0xcb, 0xe8, + 0x83, 0x58, 0x10, 0x45, 0x52, 0xd2, 0xa8, 0x46, 0xa1, 0x98, 0x20, 0x25, 0x89, 0x2a, 0x99, 0x5e, + 0x94, 0x08, 0x93, 0x52, 0xf2, 0xe4, 0xe2, 0x0f, 0x82, 0x5a, 0xeb, 0x08, 0xd1, 0x23, 0x64, 0xc6, + 0xc5, 0x0e, 0xd5, 0x2e, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0x6d, 0x24, 0xa6, 0x87, 0xe2, 0x02, 0x3d, + 0xa8, 0x42, 0x27, 0x96, 0x0b, 0xf7, 0xe4, 0x19, 0x83, 0x60, 0x8a, 0x9d, 0x92, 0x4e, 0x3c, 0x92, + 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, + 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0xca, 0x23, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, + 0x39, 0x3f, 0x57, 0xbf, 0x2a, 0x33, 0x3d, 0x29, 0x35, 0x55, 0x37, 0x31, 0x27, 0x27, 0x33, 0x31, + 0x2f, 0x39, 0x55, 0x3f, 0x25, 0xb3, 0xb8, 0xa4, 0x28, 0x33, 0xa9, 0xb4, 0x24, 0x35, 0x45, 0x37, + 0x39, 0x3f, 0xb7, 0x00, 0x22, 0xac, 0x9b, 0x93, 0x9a, 0x92, 0x9e, 0x5a, 0xa4, 0x5f, 0xa1, 0x8f, + 0xe2, 0xf4, 0x24, 0x36, 0xb0, 0xab, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x9d, 0x6c, 0x30, + 0x4d, 0x3a, 0x01, 0x00, 0x00, } func (m *RejectedAccount) Marshal() (dAtA []byte, err error) { diff --git a/x/dclauth/types/revoked_account.pb.go b/x/dclauth/types/revoked_account.pb.go index 35b3ee78c..e8f5547e5 100644 --- a/x/dclauth/types/revoked_account.pb.go +++ b/x/dclauth/types/revoked_account.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclauth/revoked_account.proto +// source: dclauth/types/revoked_account.proto package types @@ -45,20 +45,20 @@ func (x RevokedAccount_Reason) String() string { } func (RevokedAccount_Reason) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_eabe3211506422ff, []int{0, 0} + return fileDescriptor_754d7727b571bacb, []int{0, 0} } type RevokedAccount struct { *Account `protobuf:"bytes,1,opt,name=account,proto3,embedded=account" json:"account,omitempty"` RevokeApprovals []*Grant `protobuf:"bytes,2,rep,name=revokeApprovals,proto3" json:"revokeApprovals,omitempty"` - Reason RevokedAccount_Reason `protobuf:"varint,3,opt,name=reason,proto3,enum=zigbeealliance.distributedcomplianceledger.dclauth.RevokedAccount_Reason" json:"reason,omitempty"` + Reason RevokedAccount_Reason `protobuf:"varint,3,opt,name=reason,proto3,enum=dclauth.types.RevokedAccount_Reason" json:"reason,omitempty"` } func (m *RevokedAccount) Reset() { *m = RevokedAccount{} } func (m *RevokedAccount) String() string { return proto.CompactTextString(m) } func (*RevokedAccount) ProtoMessage() {} func (*RevokedAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_eabe3211506422ff, []int{0} + return fileDescriptor_754d7727b571bacb, []int{0} } func (m *RevokedAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -102,36 +102,37 @@ func (m *RevokedAccount) GetReason() RevokedAccount_Reason { } func init() { - proto.RegisterEnum("zigbeealliance.distributedcomplianceledger.dclauth.RevokedAccount_Reason", RevokedAccount_Reason_name, RevokedAccount_Reason_value) - proto.RegisterType((*RevokedAccount)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.RevokedAccount") + proto.RegisterEnum("dclauth.types.RevokedAccount_Reason", RevokedAccount_Reason_name, RevokedAccount_Reason_value) + proto.RegisterType((*RevokedAccount)(nil), "dclauth.types.RevokedAccount") } -func init() { proto.RegisterFile("dclauth/revoked_account.proto", fileDescriptor_eabe3211506422ff) } +func init() { + proto.RegisterFile("dclauth/types/revoked_account.proto", fileDescriptor_754d7727b571bacb) +} -var fileDescriptor_eabe3211506422ff = []byte{ - // 341 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x91, 0x3f, 0x4f, 0xc2, 0x40, - 0x18, 0xc6, 0x7b, 0x60, 0x30, 0x39, 0x22, 0x62, 0xfd, 0x13, 0x42, 0x62, 0x25, 0x4c, 0x2c, 0x5c, - 0x93, 0x32, 0x19, 0x27, 0x58, 0xd4, 0xc1, 0xa5, 0x31, 0x0c, 0x3a, 0x98, 0xeb, 0xf5, 0x72, 0x5c, - 0x3c, 0xfa, 0x36, 0xd7, 0x2b, 0x51, 0x3f, 0x85, 0x1f, 0xcb, 0x91, 0xd1, 0xc9, 0x18, 0xd8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79, 0x66, 0x38, 0x1f, 0x83, 0x91, 0x89, 0x68, 0x3a, 0xee, 0x09, - 0x76, 0x6f, 0xa8, 0x92, 0x4c, 0x42, 0x9e, 0x8d, 0xa9, 0x92, 0x31, 0x35, 0xa0, 0x9b, 0x68, 0x14, - 0xbd, 0x2d, 0x3c, 0x34, 0x5f, 0x78, 0xe8, 0x73, 0xe1, 0xa1, 0xd7, 0xa5, 0xe7, 0xcc, 0x97, 0x9e, - 0xf3, 0xbe, 0xf4, 0x9c, 0xbb, 0x2b, 0x21, 0xcd, 0x24, 0x8f, 0x08, 0x83, 0xa9, 0x6f, 0x5d, 0xfb, - 0xa5, 0xac, 0xff, 0x4b, 0xb6, 0xff, 0x63, 0xdb, 0xb7, 0xba, 0xfe, 0x93, 0x5f, 0x9e, 0xd5, 0x3c, - 0xa7, 0x3c, 0x8b, 0x6a, 0xeb, 0xbb, 0x0e, 0xbe, 0x03, 0x00, 0x00, 0xff, 0xff, 0x59, 0x0c, 0xe4, - 0x82, 0x6e, 0x02, 0x00, 0x00, +var fileDescriptor_754d7727b571bacb = []byte{ + // 329 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x90, 0x31, 0x4b, 0xc3, 0x40, + 0x14, 0xc7, 0x73, 0x56, 0x2a, 0x5c, 0x69, 0xad, 0x47, 0x29, 0xb5, 0x42, 0x2c, 0xd5, 0xa1, 0x4b, + 0x73, 0xd0, 0x82, 0x93, 0x08, 0xed, 0xa2, 0x8b, 0x4b, 0x90, 0x0e, 0x2e, 0x72, 0xb9, 0x1c, 0xd7, + 0xc3, 0x6b, 0x5e, 0xb8, 0x5c, 0x8a, 0xfa, 0x29, 0xfc, 0x58, 0x8e, 0x1d, 0x9d, 0x44, 0xda, 0x8f, + 0xe1, 0x22, 0x4d, 0xd2, 0x21, 0xd9, 0x8e, 0xf7, 0xff, 0xfd, 0xde, 0x7b, 0xf7, 0xf0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a, 0xdc, 0xb9, 0xce, 0x66, 0xe7, 0x3a, 0xdf, 0x3b, 0xd7, 0x79, 0x7e, 0x90, 0xca, + 0x2e, 0xd3, 0xc0, 0xe3, 0xb0, 0xa2, 0x1f, 0x4a, 0x06, 0x42, 0x8c, 0x99, 0xd6, 0x8a, 0x45, 0x5c, + 0xd0, 0x50, 0x25, 0xd6, 0xa8, 0x20, 0xb5, 0x22, 0x1c, 0x73, 0x58, 0xc5, 0x79, 0x79, 0xac, 0x45, + 0x28, 0x85, 0xa1, 0x6f, 0xb4, 0x74, 0xed, 0xa0, 0x9e, 0x1d, 0x7a, 0xfa, 0x1f, 0x00, 0x00, 0xff, + 0xff, 0x87, 0xa5, 0x73, 0x07, 0xec, 0x01, 0x00, 0x00, } func (m *RevokedAccount) Marshal() (dAtA []byte, err error) { diff --git a/x/dclauth/types/tx.pb.go b/x/dclauth/types/tx.pb.go index 011c18ff4..5e67f12ab 100644 --- a/x/dclauth/types/tx.pb.go +++ b/x/dclauth/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclauth/tx.proto +// source: dclauth/types/tx.proto package types @@ -46,7 +46,7 @@ func (m *MsgProposeAddAccount) Reset() { *m = MsgProposeAddAccount{} } func (m *MsgProposeAddAccount) String() string { return proto.CompactTextString(m) } func (*MsgProposeAddAccount) ProtoMessage() {} func (*MsgProposeAddAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_ba91727cb044acc7, []int{0} + return fileDescriptor_bcdf25acae73dc9d, []int{0} } func (m *MsgProposeAddAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -138,7 +138,7 @@ func (m *MsgProposeAddAccountResponse) Reset() { *m = MsgProposeAddAccou func (m *MsgProposeAddAccountResponse) String() string { return proto.CompactTextString(m) } func (*MsgProposeAddAccountResponse) ProtoMessage() {} func (*MsgProposeAddAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ba91727cb044acc7, []int{1} + return fileDescriptor_bcdf25acae73dc9d, []int{1} } func (m *MsgProposeAddAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -178,7 +178,7 @@ func (m *MsgApproveAddAccount) Reset() { *m = MsgApproveAddAccount{} } func (m *MsgApproveAddAccount) String() string { return proto.CompactTextString(m) } func (*MsgApproveAddAccount) ProtoMessage() {} func (*MsgApproveAddAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_ba91727cb044acc7, []int{2} + return fileDescriptor_bcdf25acae73dc9d, []int{2} } func (m *MsgApproveAddAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -242,7 +242,7 @@ func (m *MsgApproveAddAccountResponse) Reset() { *m = MsgApproveAddAccou func (m *MsgApproveAddAccountResponse) String() string { return proto.CompactTextString(m) } func (*MsgApproveAddAccountResponse) ProtoMessage() {} func (*MsgApproveAddAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ba91727cb044acc7, []int{3} + return fileDescriptor_bcdf25acae73dc9d, []int{3} } func (m *MsgApproveAddAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -282,7 +282,7 @@ func (m *MsgProposeRevokeAccount) Reset() { *m = MsgProposeRevokeAccount func (m *MsgProposeRevokeAccount) String() string { return proto.CompactTextString(m) } func (*MsgProposeRevokeAccount) ProtoMessage() {} func (*MsgProposeRevokeAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_ba91727cb044acc7, []int{4} + return fileDescriptor_bcdf25acae73dc9d, []int{4} } func (m *MsgProposeRevokeAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -346,7 +346,7 @@ func (m *MsgProposeRevokeAccountResponse) Reset() { *m = MsgProposeRevok func (m *MsgProposeRevokeAccountResponse) String() string { return proto.CompactTextString(m) } func (*MsgProposeRevokeAccountResponse) ProtoMessage() {} func (*MsgProposeRevokeAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ba91727cb044acc7, []int{5} + return fileDescriptor_bcdf25acae73dc9d, []int{5} } func (m *MsgProposeRevokeAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -386,7 +386,7 @@ func (m *MsgApproveRevokeAccount) Reset() { *m = MsgApproveRevokeAccount func (m *MsgApproveRevokeAccount) String() string { return proto.CompactTextString(m) } func (*MsgApproveRevokeAccount) ProtoMessage() {} func (*MsgApproveRevokeAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_ba91727cb044acc7, []int{6} + return fileDescriptor_bcdf25acae73dc9d, []int{6} } func (m *MsgApproveRevokeAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -450,7 +450,7 @@ func (m *MsgApproveRevokeAccountResponse) Reset() { *m = MsgApproveRevok func (m *MsgApproveRevokeAccountResponse) String() string { return proto.CompactTextString(m) } func (*MsgApproveRevokeAccountResponse) ProtoMessage() {} func (*MsgApproveRevokeAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ba91727cb044acc7, []int{7} + return fileDescriptor_bcdf25acae73dc9d, []int{7} } func (m *MsgApproveRevokeAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -490,7 +490,7 @@ func (m *MsgRejectAddAccount) Reset() { *m = MsgRejectAddAccount{} } func (m *MsgRejectAddAccount) String() string { return proto.CompactTextString(m) } func (*MsgRejectAddAccount) ProtoMessage() {} func (*MsgRejectAddAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_ba91727cb044acc7, []int{8} + return fileDescriptor_bcdf25acae73dc9d, []int{8} } func (m *MsgRejectAddAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -554,7 +554,7 @@ func (m *MsgRejectAddAccountResponse) Reset() { *m = MsgRejectAddAccount func (m *MsgRejectAddAccountResponse) String() string { return proto.CompactTextString(m) } func (*MsgRejectAddAccountResponse) ProtoMessage() {} func (*MsgRejectAddAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ba91727cb044acc7, []int{9} + return fileDescriptor_bcdf25acae73dc9d, []int{9} } func (m *MsgRejectAddAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -584,67 +584,66 @@ func (m *MsgRejectAddAccountResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgRejectAddAccountResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*MsgProposeAddAccount)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.MsgProposeAddAccount") - proto.RegisterType((*MsgProposeAddAccountResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.MsgProposeAddAccountResponse") - proto.RegisterType((*MsgApproveAddAccount)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.MsgApproveAddAccount") - proto.RegisterType((*MsgApproveAddAccountResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.MsgApproveAddAccountResponse") - proto.RegisterType((*MsgProposeRevokeAccount)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.MsgProposeRevokeAccount") - proto.RegisterType((*MsgProposeRevokeAccountResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.MsgProposeRevokeAccountResponse") - proto.RegisterType((*MsgApproveRevokeAccount)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.MsgApproveRevokeAccount") - proto.RegisterType((*MsgApproveRevokeAccountResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.MsgApproveRevokeAccountResponse") - proto.RegisterType((*MsgRejectAddAccount)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.MsgRejectAddAccount") - proto.RegisterType((*MsgRejectAddAccountResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.MsgRejectAddAccountResponse") -} - -func init() { proto.RegisterFile("dclauth/tx.proto", fileDescriptor_ba91727cb044acc7) } - -var fileDescriptor_ba91727cb044acc7 = []byte{ - // 720 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x96, 0x4f, 0x4f, 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x26, - 0x27, 0xd2, 0x7b, 0x84, 0xff, 0xef, 0xbe, 0x2b, 0xd6, 0xd4, 0x8b, 0x5f, 0x70, 0x6a, 0xaf, 0xf3, - 0x24, 0xb7, 0x35, 0x2c, 0xa5, 0x24, 0x79, 0x98, 0xb8, 0xfb, 0x58, 0x1a, 0x34, 0x71, 0x97, 0xd2, - 0xc0, 0x89, 0xfb, 0x9e, 0x1e, 0xd2, 0x47, 0x84, 0xb3, 0x3d, 0x8f, 0x8e, 0x8d, 0xcb, 0xc1, 0xe9, - 0x10, 0xcb, 0x6d, 0x0f, 0x51, 0xac, 0x23, 0x7a, 0xcf, 0x1d, 0xbe, 0x71, 0x39, 0x4a, 0xc3, 0x89, - 0xfe, 0xbb, 0xbd, 0x28, 0xbd, 0x43, 0x78, 0xaa, 0x6b, 0x23, 0xae, 0x0e, 0xe8, 0x74, 0x5e, 0x28, - 0xf7, 0x70, 0x48, 0x42, 0x49, 0xdc, 0x9a, 0xf9, 0xe9, 0x48, 0x41, 0x07, 0x47, 0x0a, 0xfa, 0x76, - 0xa4, 0xa0, 0x37, 0xc7, 0xca, 0xc8, 0xc1, 0xb1, 0x32, 0xf2, 0xf5, 0x58, 0x19, 0x79, 0xbc, 0x46, - 0x1c, 0xb1, 0x17, 0x98, 0xa7, 0x37, 0xba, 0x16, 0x99, 0x96, 0x13, 0x57, 0xed, 0x8c, 0x6b, 0xb9, - 0x6d, 0x5b, 0x8e, 0x7c, 0xb5, 0x7d, 0xad, 0xf5, 0xe7, 0xda, 0xf4, 0x81, 0x9b, 0x99, 0xf0, 0xb7, - 0x6a, 0xfe, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 0x2c, 0x26, 0xc6, 0x46, 0xd1, 0x0a, 0x00, 0x00, + proto.RegisterType((*MsgProposeAddAccount)(nil), "dclauth.types.MsgProposeAddAccount") + proto.RegisterType((*MsgProposeAddAccountResponse)(nil), "dclauth.types.MsgProposeAddAccountResponse") + proto.RegisterType((*MsgApproveAddAccount)(nil), "dclauth.types.MsgApproveAddAccount") + proto.RegisterType((*MsgApproveAddAccountResponse)(nil), "dclauth.types.MsgApproveAddAccountResponse") + proto.RegisterType((*MsgProposeRevokeAccount)(nil), "dclauth.types.MsgProposeRevokeAccount") + proto.RegisterType((*MsgProposeRevokeAccountResponse)(nil), "dclauth.types.MsgProposeRevokeAccountResponse") + proto.RegisterType((*MsgApproveRevokeAccount)(nil), "dclauth.types.MsgApproveRevokeAccount") + proto.RegisterType((*MsgApproveRevokeAccountResponse)(nil), "dclauth.types.MsgApproveRevokeAccountResponse") + proto.RegisterType((*MsgRejectAddAccount)(nil), "dclauth.types.MsgRejectAddAccount") + proto.RegisterType((*MsgRejectAddAccountResponse)(nil), "dclauth.types.MsgRejectAddAccountResponse") +} + +func init() { proto.RegisterFile("dclauth/types/tx.proto", fileDescriptor_bcdf25acae73dc9d) } + +var fileDescriptor_bcdf25acae73dc9d = []byte{ + // 702 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x96, 0xcf, 0x4f, 0x13, 0x41, + 0x14, 0xc7, 0x59, 0xb7, 0x14, 0x18, 0x62, 0xa2, 0x4b, 0x03, 0x4b, 0xd5, 0x6d, 0x5d, 0x13, 0xd2, + 0x88, 0xdd, 0x45, 0x10, 0x12, 0x88, 0x1c, 0xda, 0x90, 0x28, 0x31, 0x24, 0x64, 0x8d, 0x17, 0x13, + 0x43, 0xf6, 0xc7, 0x63, 0x58, 0xdd, 0xce, 0xac, 0x33, 0xb3, 0x0d, 0xf5, 0x2f, 0xf0, 0xe8, 0xcd, + 0x7f, 0xc4, 0x3f, 0xc2, 0x78, 0x22, 0x9e, 0x3c, 0x11, 0x03, 0x47, 0x13, 0x0f, 0x1c, 0xbd, 0x68, + 0xba, 0xbb, 0x6d, 0x29, 0xdd, 0x0a, 0x1a, 0x0f, 0x46, 0x6f, 0xd3, 0x99, 0xef, 0xbc, 0xef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7d, 0xb1, 0x17, 0x39, 0xed, 0x07, 0xc6, 0x7c, 0xe5, 0x63, 0x07, 0xa0, 0x6a, 0x07, 0x81, + 0x6f, 0x13, 0x17, 0x4c, 0xcf, 0xe7, 0x82, 0xf9, 0x4e, 0x24, 0xc0, 0xab, 0xba, 0xb4, 0x11, 0x26, + 0xd3, 0xd5, 0x00, 0x3c, 0x0c, 0xcc, 0xdc, 0x37, 0xfb, 0xfe, 0x04, 0x39, 0xf9, 0xf8, 0xe9, 0x5e, + 0xfa, 0x11, 0x00, 0x00, 0xff, 0xff, 0x06, 0xee, 0x96, 0x5f, 0x1c, 0x09, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -676,7 +675,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { func (c *msgClient) ProposeAddAccount(ctx context.Context, in *MsgProposeAddAccount, opts ...grpc.CallOption) (*MsgProposeAddAccountResponse, error) { out := new(MsgProposeAddAccountResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclauth.Msg/ProposeAddAccount", in, out, opts...) + err := c.cc.Invoke(ctx, "/dclauth.types.Msg/ProposeAddAccount", in, out, opts...) if err != nil { return nil, err } @@ -685,7 +684,7 @@ func (c *msgClient) ProposeAddAccount(ctx context.Context, in *MsgProposeAddAcco func (c *msgClient) ApproveAddAccount(ctx context.Context, in *MsgApproveAddAccount, opts ...grpc.CallOption) (*MsgApproveAddAccountResponse, error) { out := new(MsgApproveAddAccountResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclauth.Msg/ApproveAddAccount", in, out, opts...) + err := c.cc.Invoke(ctx, "/dclauth.types.Msg/ApproveAddAccount", in, out, opts...) if err != nil { return nil, err } @@ -694,7 +693,7 @@ func (c *msgClient) ApproveAddAccount(ctx context.Context, in *MsgApproveAddAcco func (c *msgClient) ProposeRevokeAccount(ctx context.Context, in *MsgProposeRevokeAccount, opts ...grpc.CallOption) (*MsgProposeRevokeAccountResponse, error) { out := new(MsgProposeRevokeAccountResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclauth.Msg/ProposeRevokeAccount", in, out, opts...) + err := c.cc.Invoke(ctx, "/dclauth.types.Msg/ProposeRevokeAccount", in, out, opts...) if err != nil { return nil, err } @@ -703,7 +702,7 @@ func (c *msgClient) ProposeRevokeAccount(ctx context.Context, in *MsgProposeRevo func (c *msgClient) ApproveRevokeAccount(ctx context.Context, in *MsgApproveRevokeAccount, opts ...grpc.CallOption) (*MsgApproveRevokeAccountResponse, error) { out := new(MsgApproveRevokeAccountResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclauth.Msg/ApproveRevokeAccount", in, out, opts...) + err := c.cc.Invoke(ctx, "/dclauth.types.Msg/ApproveRevokeAccount", in, out, opts...) if err != nil { return nil, err } @@ -712,7 +711,7 @@ func (c *msgClient) ApproveRevokeAccount(ctx context.Context, in *MsgApproveRevo func (c *msgClient) RejectAddAccount(ctx context.Context, in *MsgRejectAddAccount, opts ...grpc.CallOption) (*MsgRejectAddAccountResponse, error) { out := new(MsgRejectAddAccountResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclauth.Msg/RejectAddAccount", in, out, opts...) + err := c.cc.Invoke(ctx, "/dclauth.types.Msg/RejectAddAccount", in, out, opts...) if err != nil { return nil, err } @@ -762,7 +761,7 @@ func _Msg_ProposeAddAccount_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.dclauth.Msg/ProposeAddAccount", + FullMethod: "/dclauth.types.Msg/ProposeAddAccount", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ProposeAddAccount(ctx, req.(*MsgProposeAddAccount)) @@ -780,7 +779,7 @@ func _Msg_ApproveAddAccount_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.dclauth.Msg/ApproveAddAccount", + FullMethod: "/dclauth.types.Msg/ApproveAddAccount", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ApproveAddAccount(ctx, req.(*MsgApproveAddAccount)) @@ -798,7 +797,7 @@ func _Msg_ProposeRevokeAccount_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.dclauth.Msg/ProposeRevokeAccount", + FullMethod: "/dclauth.types.Msg/ProposeRevokeAccount", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ProposeRevokeAccount(ctx, req.(*MsgProposeRevokeAccount)) @@ -816,7 +815,7 @@ func _Msg_ApproveRevokeAccount_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.dclauth.Msg/ApproveRevokeAccount", + FullMethod: "/dclauth.types.Msg/ApproveRevokeAccount", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ApproveRevokeAccount(ctx, req.(*MsgApproveRevokeAccount)) @@ -834,7 +833,7 @@ func _Msg_RejectAddAccount_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.dclauth.Msg/RejectAddAccount", + FullMethod: "/dclauth.types.Msg/RejectAddAccount", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).RejectAddAccount(ctx, req.(*MsgRejectAddAccount)) @@ -843,7 +842,7 @@ func _Msg_RejectAddAccount_Handler(srv interface{}, ctx context.Context, dec fun } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "zigbeealliance.distributedcomplianceledger.dclauth.Msg", + ServiceName: "dclauth.types.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -868,7 +867,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "dclauth/tx.proto", + Metadata: "dclauth/types/tx.proto", } func (m *MsgProposeAddAccount) Marshal() (dAtA []byte, err error) { diff --git a/x/dclgenutil/client/cli/gentx.go b/x/dclgenutil/client/cli/gentx.go index 661223b07..9cc6ed7d9 100644 --- a/x/dclgenutil/client/cli/gentx.go +++ b/x/dclgenutil/client/cli/gentx.go @@ -186,7 +186,6 @@ $ %s gentx my-key-name --home=/path/to/home/dir --keyring-backend=os --chain-id= cmd.Flags().String(flags.FlagHome, defaultNodeHome, "The application home directory") cmd.Flags().String(flags.FlagOutputDocument, "", "Write the genesis transaction JSON document to the given file instead of the default location") - cmd.Flags().String(flags.FlagChainID, "", "The network chain ID") cmd.Flags().AddFlagSet(fsCreateValidator) cli.AddTxFlagsToCmd(cmd) diff --git a/x/dclgenutil/types/genesis.pb.go b/x/dclgenutil/types/genesis.pb.go index cbd364b9f..3730b00d5 100644 --- a/x/dclgenutil/types/genesis.pb.go +++ b/x/dclgenutil/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclgenutil/genesis.proto +// source: dclgenutil/types/genesis.proto package types @@ -34,7 +34,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} } func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_72454a08e2a56bab, []int{0} + return fileDescriptor_e9ac2e84fd5b68af, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -71,29 +71,29 @@ func (m *GenesisState) GetGenTxs() []encoding_json.RawMessage { } func init() { - proto.RegisterType((*GenesisState)(nil), "zigbeealliance.distributedcomplianceledger.dclgenutil.GenesisState") + proto.RegisterType((*GenesisState)(nil), "dclgenutil.types.GenesisState") } -func init() { proto.RegisterFile("dclgenutil/genesis.proto", fileDescriptor_72454a08e2a56bab) } +func init() { proto.RegisterFile("dclgenutil/types/genesis.proto", fileDescriptor_e9ac2e84fd5b68af) } -var fileDescriptor_72454a08e2a56bab = []byte{ - // 251 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0xd0, 0x31, 0x4b, 0x03, 0x31, - 0x14, 0xc0, 0xf1, 0x1e, 0x42, 0x85, 0xa3, 0x53, 0x71, 0x38, 0x1c, 0x52, 0x71, 0x10, 0x97, 0x4b, - 0x06, 0x71, 0x16, 0xba, 0x38, 0x88, 0x08, 0xd5, 0xc9, 0x45, 0x72, 0xc9, 0xe3, 0x19, 0x49, 0x93, - 0xe3, 0xde, 0x3b, 0x3c, 0xfd, 0x14, 0x7e, 0x2c, 0xc7, 0x8e, 0x4e, 0x45, 0xee, 0x36, 0x3f, 0x82, - 0x93, 0xb4, 0x41, 0xda, 0x2d, 0x84, 0xc7, 0x9f, 0xf7, 0x7b, 0x79, 0x61, 0x8d, 0x47, 0x08, 0x2d, - 0x3b, 0xaf, 0x10, 0x02, 0x90, 0x23, 0x59, 0x37, 0x91, 0xe3, 0xf4, 0xf2, 0xdd, 0x61, 0x05, 0xa0, - 0xbd, 0x77, 0x3a, 0x18, 0x90, 0xd6, 0x11, 0x37, 0xae, 0x6a, 0x19, 0xac, 0x89, 0xcb, 0x3a, 0xfd, - 0x7a, 0xb0, 0x08, 0x8d, 0xdc, 0x45, 0x8e, 0x8f, 0x30, 0x62, 0xdc, 0x16, 0xd4, 0xe6, 0x95, 0x62, - 0xa7, 0x77, 0xf9, 0xe4, 0x3a, 0xd5, 0xef, 0x59, 0x33, 0x4c, 0xaf, 0xf2, 0x43, 0x84, 0xf0, 0xc4, - 0x1d, 0x15, 0xd9, 0xc9, 0xc1, 0xf9, 0x64, 0x7e, 0xf6, 0xb3, 0x9e, 0x8d, 0x11, 0x02, 0x77, 0xf4, - 0xbb, 0x9e, 0x15, 0x10, 0x4c, 0xb4, 0x2e, 0xa0, 0x7a, 0xa1, 0x18, 0xe4, 0x42, 0xbf, 0xde, 0x02, - 0x91, 0x46, 0x58, 0x6c, 0x66, 0x1e, 0x3a, 0x9a, 0xc3, 0x67, 0x2f, 0xb2, 0x55, 0x2f, 0xb2, 0xef, - 0x5e, 0x64, 0x1f, 0x83, 0x18, 0xad, 0x06, 0x31, 0xfa, 0x1a, 0xc4, 0xe8, 0xf1, 0x06, 0x1d, 0x3f, - 0xb7, 0x95, 0x34, 0x71, 0xa9, 0x12, 0xa1, 0xfc, 0x37, 0xa8, 0x3d, 0x43, 0xb9, 0x43, 0x94, 0x49, - 0xa1, 0x3a, 0xb5, 0x77, 0x0c, 0x7e, 0xab, 0x81, 0xaa, 0xf1, 0x76, 0xfd, 0x8b, 0xbf, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x14, 0xce, 0x8b, 0x18, 0x27, 0x01, 0x00, 0x00, +var fileDescriptor_e9ac2e84fd5b68af = []byte{ + // 242 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x8f, 0xb1, 0x4a, 0xc4, 0x40, + 0x10, 0x86, 0x13, 0x84, 0x13, 0xc2, 0x15, 0x72, 0x58, 0x1c, 0x16, 0x7b, 0x62, 0x21, 0x36, 0xc9, + 0x16, 0x3e, 0x80, 0x70, 0x8d, 0x85, 0x88, 0x70, 0x5a, 0xd9, 0xc8, 0x66, 0x77, 0x18, 0x57, 0xf6, + 0x76, 0x42, 0x66, 0x82, 0xd1, 0xa7, 0xf0, 0xb1, 0x2c, 0xaf, 0xb4, 0x3a, 0x24, 0xe9, 0x7c, 0x04, + 0x2b, 0xb9, 0xa4, 0x10, 0xae, 0x1b, 0xe6, 0xfb, 0x7e, 0xf8, 0xff, 0x4c, 0x39, 0x1b, 0x10, 0x62, + 0x23, 0x3e, 0x68, 0x79, 0xab, 0x80, 0x35, 0x42, 0x04, 0xf6, 0x5c, 0x54, 0x35, 0x09, 0xcd, 0x8e, + 0xfe, 0x79, 0x31, 0xf0, 0x93, 0x63, 0x24, 0xa4, 0x01, 0xea, 0xdd, 0x35, 0x7a, 0x67, 0x77, 0xd9, + 0xf4, 0x7a, 0x0c, 0xde, 0x8b, 0x11, 0x98, 0x5d, 0x65, 0x87, 0x08, 0xf1, 0x49, 0x5a, 0x9e, 0xa7, + 0xa7, 0x07, 0x17, 0xd3, 0xe5, 0xf9, 0xcf, 0x76, 0x31, 0x41, 0x88, 0xd2, 0xf2, 0xef, 0x76, 0x31, + 0x87, 0x68, 0xc9, 0xf9, 0x88, 0xfa, 0x85, 0x29, 0x16, 0x2b, 0xf3, 0x7a, 0x0b, 0xcc, 0x06, 0x61, + 0xb5, 0x73, 0x1e, 0x5a, 0x5e, 0xc2, 0x67, 0xa7, 0xd2, 0x4d, 0xa7, 0xd2, 0xef, 0x4e, 0xa5, 0x1f, + 0xbd, 0x4a, 0x36, 0xbd, 0x4a, 0xbe, 0x7a, 0x95, 0x3c, 0xde, 0xa0, 0x97, 0xe7, 0xa6, 0x2c, 0x2c, + 0xad, 0xf5, 0xbb, 0xc7, 0x12, 0x20, 0x37, 0x21, 0x78, 0x13, 0x2d, 0x68, 0xe7, 0x59, 0x6a, 0x5f, + 0x36, 0x02, 0x2e, 0xb7, 0xb4, 0xae, 0xc6, 0x77, 0x1e, 0xc0, 0x21, 0xd4, 0xba, 0xd5, 0xfb, 0x6b, + 0xcb, 0xc9, 0x50, 0xff, 0xf2, 0x2f, 0x00, 0x00, 0xff, 0xff, 0xd0, 0x7d, 0x45, 0xe7, 0x08, 0x01, + 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/dclgenutil/types/query.pb.go b/x/dclgenutil/types/query.pb.go index f1c20e917..43c57b0ea 100644 --- a/x/dclgenutil/types/query.pb.go +++ b/x/dclgenutil/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclgenutil/query.proto +// source: dclgenutil/types/query.proto package types @@ -24,23 +24,22 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -func init() { proto.RegisterFile("dclgenutil/query.proto", fileDescriptor_3af04d6515a37d3f) } +func init() { proto.RegisterFile("dclgenutil/types/query.proto", fileDescriptor_c92f05c0099f8333) } -var fileDescriptor_3af04d6515a37d3f = []byte{ - // 195 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0xcf, 0x3d, 0x4e, 0xc4, 0x30, - 0x10, 0x86, 0xe1, 0xa4, 0x00, 0xa4, 0x94, 0x14, 0x14, 0x08, 0xf9, 0x06, 0xb1, 0x25, 0x10, 0x17, - 0xa0, 0xa5, 0xa2, 0xa5, 0xf3, 0xcf, 0xc8, 0x8c, 0xe4, 0x78, 0x8c, 0x33, 0x96, 0x08, 0xa7, 0xe0, - 0x58, 0x94, 0x29, 0xb7, 0x5c, 0x25, 0x17, 0x59, 0xed, 0x5a, 0xab, 0xa4, 0x9d, 0xe2, 0x7b, 0x9f, - 0xe9, 0x1e, 0x9c, 0x0d, 0x1e, 0x62, 0x61, 0x0c, 0xea, 0xbb, 0x40, 0x9e, 0x64, 0xca, 0xc4, 0x74, - 0xff, 0xfa, 0x8b, 0xde, 0x00, 0xe8, 0x10, 0x50, 0x47, 0x0b, 0xd2, 0xe1, 0xc8, 0x19, 0x4d, 0x61, - 0x70, 0x96, 0x86, 0x54, 0xaf, 0x01, 0x9c, 0x87, 0x2c, 0xb7, 0x89, 0xc7, 0x27, 0x4f, 0xe4, 0x03, - 0x28, 0x9d, 0x50, 0xe9, 0x18, 0x89, 0x35, 0x23, 0xc5, 0xb1, 0x8e, 0x3e, 0xdf, 0x75, 0x37, 0x1f, - 0xe7, 0xc6, 0x1b, 0xfc, 0x2f, 0xa2, 0x9d, 0x17, 0xd1, 0x1e, 0x17, 0xd1, 0xfe, 0xad, 0xa2, 0x99, - 0x57, 0xd1, 0x1c, 0x56, 0xd1, 0x7c, 0xbe, 0x7b, 0xe4, 0xaf, 0x62, 0xa4, 0xa5, 0x41, 0x55, 0x42, - 0x7f, 0x35, 0xa8, 0x9d, 0xa1, 0xdf, 0x10, 0x7d, 0x55, 0xa8, 0x1f, 0xb5, 0x7b, 0x85, 0xa7, 0x04, - 0xa3, 0xb9, 0xbd, 0x64, 0x5f, 0x4e, 0x01, 0x00, 0x00, 0xff, 0xff, 0x5c, 0x53, 0x41, 0x67, 0xe5, - 0x00, 0x00, 0x00, +var fileDescriptor_c92f05c0099f8333 = []byte{ + // 186 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x49, 0x49, 0xce, 0x49, + 0x4f, 0xcd, 0x2b, 0x2d, 0xc9, 0xcc, 0xd1, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x2f, 0x2c, 0x4d, + 0x2d, 0xaa, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x40, 0xc8, 0xea, 0x81, 0x65, 0xa5, + 0x64, 0xd2, 0xf3, 0xf3, 0xd3, 0x73, 0x52, 0xf5, 0x13, 0x0b, 0x32, 0xf5, 0x13, 0xf3, 0xf2, 0xf2, + 0x4b, 0x12, 0x4b, 0x32, 0xf3, 0xf3, 0x8a, 0x21, 0xea, 0x8d, 0xd8, 0xb9, 0x58, 0x03, 0x41, 0xda, + 0x9d, 0x52, 0x4f, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, + 0x8f, 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0xca, 0x3b, 0x3d, 0xb3, + 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0xbf, 0x2a, 0x33, 0x3d, 0x29, 0x35, 0x55, 0x37, + 0x31, 0x27, 0x27, 0x33, 0x31, 0x2f, 0x39, 0x55, 0x3f, 0x25, 0xb3, 0xb8, 0xa4, 0x28, 0x33, 0xa9, + 0xb4, 0x24, 0x35, 0x45, 0x37, 0x39, 0x3f, 0xb7, 0x00, 0x22, 0xac, 0x9b, 0x93, 0x9a, 0x92, 0x9e, + 0x5a, 0xa4, 0x5f, 0xa1, 0x8f, 0xee, 0xd6, 0x24, 0x36, 0xb0, 0xb5, 0xc6, 0x80, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xcf, 0x4b, 0x82, 0x47, 0xc6, 0x00, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -78,9 +77,9 @@ func RegisterQueryServer(s grpc1.Server, srv QueryServer) { } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "zigbeealliance.distributedcomplianceledger.dclgenutil.Query", + ServiceName: "dclgenutil.types.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{}, - Metadata: "dclgenutil/query.proto", + Metadata: "dclgenutil/types/query.proto", } diff --git a/x/dclgenutil/types/tx.pb.go b/x/dclgenutil/types/tx.pb.go index fda80cf4b..6076c092a 100644 --- a/x/dclgenutil/types/tx.pb.go +++ b/x/dclgenutil/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclgenutil/tx.proto +// source: dclgenutil/types/tx.proto package types @@ -23,21 +23,20 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -func init() { proto.RegisterFile("dclgenutil/tx.proto", fileDescriptor_7ace9c235adb391f) } +func init() { proto.RegisterFile("dclgenutil/types/tx.proto", fileDescriptor_fac6b518f1ce9d40) } -var fileDescriptor_7ace9c235adb391f = []byte{ - // 165 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4e, 0x49, 0xce, 0x49, - 0x4f, 0xcd, 0x2b, 0x2d, 0xc9, 0xcc, 0xd1, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, - 0x32, 0xad, 0xca, 0x4c, 0x4f, 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, - 0x4b, 0xc9, 0x2c, 0x2e, 0x29, 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0x49, 0xce, 0xcf, 0x2d, 0x80, - 0x88, 0xe6, 0xa4, 0xa6, 0xa4, 0xa7, 0x16, 0xe9, 0x21, 0xf4, 0x1b, 0xb1, 0x72, 0x31, 0xfb, 0x16, - 0xa7, 0x3b, 0xa5, 0x9e, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, - 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x77, 0x7a, - 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x3e, 0xc4, 0x0a, 0x5d, 0x98, 0x1d, 0xfa, - 0x48, 0x76, 0xe8, 0x22, 0x2c, 0xd1, 0x85, 0xd8, 0xa2, 0x5f, 0xa1, 0x8f, 0xec, 0xce, 0xca, 0x82, - 0xd4, 0xe2, 0x24, 0x36, 0xb0, 0x5b, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0xa2, 0x16, 0xbc, - 0x02, 0xc2, 0x00, 0x00, 0x00, +var fileDescriptor_fac6b518f1ce9d40 = []byte{ + // 157 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4c, 0x49, 0xce, 0x49, + 0x4f, 0xcd, 0x2b, 0x2d, 0xc9, 0xcc, 0xd1, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x2f, 0xa9, 0xd0, + 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x40, 0x48, 0xe9, 0x81, 0xa5, 0x8c, 0x58, 0xb9, 0x98, + 0x7d, 0x8b, 0xd3, 0x9d, 0x52, 0x4f, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, + 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0xca, + 0x3b, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0xbf, 0x2a, 0x33, 0x3d, 0x29, + 0x35, 0x55, 0x37, 0x31, 0x27, 0x27, 0x33, 0x31, 0x2f, 0x39, 0x55, 0x3f, 0x25, 0xb3, 0xb8, 0xa4, + 0x28, 0x33, 0xa9, 0xb4, 0x24, 0x35, 0x45, 0x37, 0x39, 0x3f, 0xb7, 0x00, 0x22, 0xac, 0x9b, 0x93, + 0x9a, 0x92, 0x9e, 0x5a, 0xa4, 0x5f, 0xa1, 0x8f, 0xee, 0x90, 0x24, 0x36, 0xb0, 0x33, 0x8c, 0x01, + 0x01, 0x00, 0x00, 0xff, 0xff, 0xf9, 0x55, 0x5a, 0x9b, 0xa3, 0x00, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -75,9 +74,9 @@ func RegisterMsgServer(s grpc1.Server, srv MsgServer) { } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "zigbeealliance.distributedcomplianceledger.dclgenutil.Msg", + ServiceName: "dclgenutil.types.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{}, - Metadata: "dclgenutil/tx.proto", + Metadata: "dclgenutil/types/tx.proto", } diff --git a/x/dclupgrade/types/approved_upgrade.pb.go b/x/dclupgrade/types/approved_upgrade.pb.go index b3066d6e1..e8f120c29 100644 --- a/x/dclupgrade/types/approved_upgrade.pb.go +++ b/x/dclupgrade/types/approved_upgrade.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclupgrade/approved_upgrade.proto +// source: dclupgrade/types/approved_upgrade.proto package types @@ -36,7 +36,7 @@ func (m *ApprovedUpgrade) Reset() { *m = ApprovedUpgrade{} } func (m *ApprovedUpgrade) String() string { return proto.CompactTextString(m) } func (*ApprovedUpgrade) ProtoMessage() {} func (*ApprovedUpgrade) Descriptor() ([]byte, []int) { - return fileDescriptor_1eadd88919c82ffc, []int{0} + return fileDescriptor_d406f10bed8b6e58, []int{0} } func (m *ApprovedUpgrade) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -94,36 +94,37 @@ func (m *ApprovedUpgrade) GetRejects() []*Grant { } func init() { - proto.RegisterType((*ApprovedUpgrade)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.ApprovedUpgrade") + proto.RegisterType((*ApprovedUpgrade)(nil), "dclupgrade.types.ApprovedUpgrade") } -func init() { proto.RegisterFile("dclupgrade/approved_upgrade.proto", fileDescriptor_1eadd88919c82ffc) } +func init() { + proto.RegisterFile("dclupgrade/types/approved_upgrade.proto", fileDescriptor_d406f10bed8b6e58) +} -var fileDescriptor_1eadd88919c82ffc = []byte{ - // 354 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x91, 0xbd, 0x4e, 0x2a, 0x41, - 0x14, 0x80, 0x77, 0x81, 0x5c, 0xc2, 0x52, 0xdc, 0x64, 0x43, 0x6e, 0xf6, 0x92, 0x9b, 0xbd, 0x68, - 0x2c, 0x68, 0x76, 0x26, 0x60, 0xb4, 0xb2, 0x81, 0xc6, 0xc2, 0xc6, 0x60, 0xb4, 0xa0, 0x21, 0xb3, - 0x33, 0x27, 0xe3, 0x9a, 0x61, 0x67, 0x32, 0x33, 0x10, 0xf5, 0x29, 0x7c, 0x15, 0x13, 0x1f, 0x82, - 0x92, 0x58, 0x59, 0x19, 0x03, 0x2f, 0x62, 0x60, 0x76, 0x03, 0xb6, 0xc6, 0x6e, 0xe7, 0x9c, 0xb3, - 0xdf, 0x77, 0x7e, 0x82, 0x03, 0x46, 0xc5, 0x4c, 0x71, 0x4d, 0x18, 0x60, 0xa2, 0x94, 0x96, 0x73, - 0x60, 0x93, 0x22, 0x80, 0x94, 0x96, 0x56, 0x86, 0x27, 0x8f, 0x19, 0x4f, 0x01, 0x88, 0x10, 0x19, - 0xc9, 0x29, 0x20, 0x96, 0x19, 0xab, 0xb3, 0x74, 0x66, 0x81, 0x51, 0x39, 0x55, 0x2e, 0x2a, 0x80, - 0x71, 0xd0, 0x68, 0x47, 0x6b, 0xb7, 0xb8, 0xe4, 0x72, 0x4b, 0xc0, 0x9b, 0x2f, 0x07, 0x6b, 0xff, - 0xa5, 0xd2, 0x4c, 0xa5, 0x99, 0xb8, 0x84, 0x7b, 0x14, 0xa9, 0x23, 0xf7, 0xc2, 0x65, 0x3b, 0xf3, - 0x5e, 0x0a, 0x96, 0xf4, 0xf0, 0x97, 0x6e, 0xda, 0x7f, 0xf6, 0x1a, 0xe6, 0x9a, 0xe4, 0xd6, 0xc5, - 0x0f, 0x9f, 0x2b, 0xc1, 0xef, 0x41, 0x31, 0xc0, 0xb5, 0xcb, 0x87, 0xa7, 0x41, 0x4d, 0x09, 0x92, - 0x47, 0x7e, 0xc7, 0xef, 0x36, 0xfb, 0xff, 0x50, 0xa1, 0x2b, 0x81, 0x85, 0x00, 0x5d, 0x0a, 0x92, - 0x0f, 0x6b, 0x8b, 0xf7, 0xff, 0xde, 0x68, 0x5b, 0x1f, 0xf6, 0x83, 0x3a, 0xd5, 0x40, 0xac, 0xd4, - 0x51, 0xa5, 0xe3, 0x77, 0x1b, 0xc3, 0xe8, 0xf5, 0x25, 0x69, 0x15, 0x7f, 0x0f, 0x18, 0xd3, 0x60, - 0xcc, 0x95, 0xd5, 0x59, 0xce, 0x47, 0x65, 0x61, 0x38, 0x0e, 0x1a, 0x6e, 0x7f, 0x44, 0x98, 0xa8, - 0xda, 0xa9, 0x76, 0x9b, 0xfd, 0x33, 0xf4, 0xad, 0xcd, 0xa1, 0xf3, 0xcd, 0x58, 0xa3, 0x1d, 0x2e, - 0xbc, 0x09, 0xea, 0x1a, 0xee, 0x80, 0x5a, 0x13, 0xd5, 0x7e, 0x80, 0x5c, 0xc2, 0x86, 0xb0, 0x58, - 0xc5, 0xfe, 0x72, 0x15, 0xfb, 0x1f, 0xab, 0xd8, 0x7f, 0x5a, 0xc7, 0xde, 0x72, 0x1d, 0x7b, 0x6f, - 0xeb, 0xd8, 0x1b, 0x5f, 0xf0, 0xcc, 0xde, 0xce, 0x52, 0x44, 0xe5, 0x14, 0x3b, 0x55, 0x52, 0xba, - 0xf0, 0x9e, 0x2b, 0xd9, 0xc9, 0x12, 0x67, 0xc3, 0xf7, 0x78, 0xef, 0x40, 0xf6, 0x41, 0x81, 0x49, - 0x7f, 0x6d, 0x2f, 0x74, 0xfc, 0x19, 0x00, 0x00, 0xff, 0xff, 0x4e, 0x3c, 0xba, 0xcf, 0x6c, 0x02, - 0x00, 0x00, +var fileDescriptor_d406f10bed8b6e58 = []byte{ + // 343 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0x2b, 0x31, + 0x14, 0x86, 0x67, 0x6e, 0xcb, 0x2d, 0x9d, 0x2e, 0xee, 0x65, 0x28, 0xdc, 0xb9, 0xa5, 0x8c, 0x45, + 0x04, 0x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 0xa6, 0xc1, 0x98, 0x2b, 0xab, 0xb3, 0x9c, 0x4f, 0x2a, + 0x30, 0x3c, 0x0d, 0x9a, 0xae, 0x20, 0x22, 0x4c, 0x54, 0xeb, 0xd5, 0xfa, 0xad, 0xe1, 0x3f, 0xb4, + 0x5f, 0x0d, 0x3a, 0xdf, 0x26, 0x9e, 0xec, 0xc8, 0x70, 0x10, 0x34, 0x34, 0xdc, 0x01, 0xb5, 0x26, + 0xaa, 0xff, 0x7c, 0x54, 0x71, 0x63, 0x58, 0xae, 0x63, 0x7f, 0xb5, 0x8e, 0xfd, 0xf7, 0x75, 0xec, + 0x3f, 0x6d, 0x62, 0x6f, 0xb5, 0x89, 0xbd, 0xd7, 0x4d, 0xec, 0xdd, 0x5c, 0xf0, 0xcc, 0xde, 0xce, + 0x53, 0x44, 0xe5, 0x0c, 0x3f, 0x66, 0x3c, 0x05, 0x48, 0x88, 0x10, 0x19, 0xc9, 0x29, 0x60, 0x96, + 0x19, 0xab, 0xb3, 0x74, 0x6e, 0x81, 0x25, 0x54, 0xce, 0x94, 0x5b, 0x27, 0x02, 0x18, 0x07, 0x8d, + 0xef, 0xf1, 0x7e, 0xb9, 0xe9, 0xef, 0xa2, 0xd7, 0x93, 0xcf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x45, + 0x84, 0xf4, 0x56, 0x09, 0x02, 0x00, 0x00, } func (m *ApprovedUpgrade) Marshal() (dAtA []byte, err error) { diff --git a/x/dclupgrade/types/genesis.pb.go b/x/dclupgrade/types/genesis.pb.go index f2f0d06b9..161f2c669 100644 --- a/x/dclupgrade/types/genesis.pb.go +++ b/x/dclupgrade/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclupgrade/genesis.proto +// source: dclupgrade/types/genesis.proto package types @@ -34,7 +34,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} } func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_322f03871f60c416, []int{0} + return fileDescriptor_e7309d947528e267, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -85,32 +85,32 @@ func (m *GenesisState) GetRejectedUpgradeList() []RejectedUpgrade { } func init() { - proto.RegisterType((*GenesisState)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.GenesisState") + proto.RegisterType((*GenesisState)(nil), "dclupgrade.types.GenesisState") } -func init() { proto.RegisterFile("dclupgrade/genesis.proto", fileDescriptor_322f03871f60c416) } +func init() { proto.RegisterFile("dclupgrade/types/genesis.proto", fileDescriptor_e7309d947528e267) } -var fileDescriptor_322f03871f60c416 = []byte{ - // 299 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x48, 0x49, 0xce, 0x29, - 0x2d, 0x48, 0x2f, 0x4a, 0x4c, 0x49, 0xd5, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, - 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x32, 0xad, 0xca, 0x4c, 0x4f, 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, - 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4b, 0xc9, 0x2c, 0x2e, 0x29, 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, - 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, 0xa7, 0x16, 0xe9, 0x21, 0x0c, 0x91, - 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0x9b, 0xa0, 0x0f, 0x62, 0x41, 0x0c, 0x93, 0x52, 0x44, 0xb2, - 0xa6, 0xa0, 0x28, 0xbf, 0x20, 0xbf, 0x38, 0x35, 0x25, 0x1e, 0x2a, 0x80, 0x45, 0x49, 0x62, 0x41, - 0x41, 0x51, 0x7e, 0x19, 0x5e, 0x25, 0x45, 0xa9, 0x59, 0xa9, 0xc9, 0x25, 0xe8, 0x4a, 0x94, 0xfa, - 0x98, 0xb9, 0x78, 0xdc, 0x21, 0xfe, 0x08, 0x2e, 0x49, 0x2c, 0x49, 0x15, 0xaa, 0xe3, 0x12, 0x86, - 0x59, 0x18, 0x0a, 0x51, 0xe9, 0x93, 0x59, 0x5c, 0x22, 0xc1, 0xa8, 0xc0, 0xac, 0xc1, 0x6d, 0xe4, - 0xa6, 0x47, 0x96, 0x27, 0xf5, 0x02, 0x50, 0x4d, 0x74, 0x62, 0x39, 0x71, 0x4f, 0x9e, 0x21, 0x08, - 0x9b, 0x45, 0x20, 0xfb, 0x61, 0xbe, 0x41, 0xb6, 0x9f, 0x89, 0x22, 0xfb, 0x1d, 0x51, 0x4d, 0x84, - 0xd9, 0x8f, 0xc5, 0x22, 0x90, 0xfd, 0xb0, 0xa0, 0x42, 0xb6, 0x9f, 0x99, 0x22, 0xfb, 0x83, 0x50, - 0x4d, 0x84, 0xd9, 0x8f, 0xc5, 0x22, 0xa7, 0xd4, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, - 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, - 0x63, 0x88, 0xf2, 0x4e, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x87, 0x38, - 0x43, 0x17, 0xe6, 0x0e, 0x7d, 0x24, 0x77, 0xe8, 0x22, 0x1c, 0xa2, 0x0b, 0x71, 0x89, 0x7e, 0x85, - 0x3e, 0x52, 0x42, 0x28, 0xa9, 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, 0x47, 0xbf, 0x31, 0x20, 0x00, - 0x00, 0xff, 0xff, 0x13, 0x39, 0x47, 0xf1, 0xd0, 0x02, 0x00, 0x00, +var fileDescriptor_e7309d947528e267 = []byte{ + // 289 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0x49, 0xce, 0x29, + 0x2d, 0x48, 0x2f, 0x4a, 0x4c, 0x49, 0xd5, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x4f, 0x4f, 0xcd, + 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x40, 0xc8, 0xeb, 0x81, + 0xe5, 0xa5, 0x44, 0xd2, 0xf3, 0xd3, 0xf3, 0xc1, 0x92, 0xfa, 0x20, 0x16, 0x44, 0x9d, 0x94, 0x3a, + 0x86, 0x39, 0x05, 0x45, 0xf9, 0x05, 0xf9, 0xc5, 0xa9, 0x29, 0xf1, 0x30, 0xed, 0xb8, 0x14, 0x26, + 0x16, 0x14, 0x14, 0xe5, 0x97, 0x11, 0xa1, 0xb0, 0x28, 0x35, 0x2b, 0x35, 0xb9, 0x04, 0x5d, 0xa1, + 0xd2, 0x7c, 0x26, 0x2e, 0x1e, 0x77, 0x88, 0xa3, 0x83, 0x4b, 0x12, 0x4b, 0x52, 0x85, 0x22, 0xb9, + 0x84, 0x61, 0x96, 0x87, 0x42, 0x54, 0xfa, 0x64, 0x16, 0x97, 0x48, 0x30, 0x2a, 0x30, 0x6b, 0x70, + 0x1b, 0x29, 0xea, 0xa1, 0xfb, 0x48, 0x2f, 0x00, 0x55, 0xb1, 0x13, 0xcb, 0x89, 0x7b, 0xf2, 0x0c, + 0x41, 0xd8, 0xcc, 0x00, 0x19, 0x0d, 0x73, 0x2e, 0xb2, 0xd1, 0x4c, 0xb8, 0x8c, 0x76, 0x44, 0x55, + 0x0c, 0x33, 0x1a, 0x8b, 0x19, 0x20, 0xa3, 0x61, 0x1e, 0x44, 0x36, 0x9a, 0x19, 0x97, 0xd1, 0x41, + 0xa8, 0x8a, 0x61, 0x46, 0x63, 0x31, 0xc3, 0x29, 0xf5, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, + 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, 0x8f, + 0xe5, 0x18, 0xa2, 0xbc, 0xd3, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0xab, + 0x32, 0xd3, 0x93, 0x52, 0x53, 0x75, 0x13, 0x73, 0x72, 0x32, 0x13, 0xf3, 0x92, 0x53, 0xf5, 0x53, + 0x32, 0x8b, 0x4b, 0x8a, 0x32, 0x93, 0x4a, 0x4b, 0x52, 0x53, 0x74, 0x93, 0xf3, 0x73, 0x0b, 0x20, + 0xc2, 0xba, 0x39, 0xa9, 0x29, 0xe9, 0xa9, 0x45, 0xfa, 0x15, 0xfa, 0xe8, 0xf1, 0x93, 0xc4, 0x06, + 0x8e, 0x0f, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x66, 0x18, 0x27, 0xa1, 0x54, 0x02, 0x00, + 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/dclupgrade/types/grant.pb.go b/x/dclupgrade/types/grant.pb.go index 11cf2b3e7..1eafe5e8c 100644 --- a/x/dclupgrade/types/grant.pb.go +++ b/x/dclupgrade/types/grant.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclupgrade/grant.proto +// source: dclupgrade/types/grant.proto package types @@ -33,7 +33,7 @@ func (m *Grant) Reset() { *m = Grant{} } func (m *Grant) String() string { return proto.CompactTextString(m) } func (*Grant) ProtoMessage() {} func (*Grant) Descriptor() ([]byte, []int) { - return fileDescriptor_71d47e1bdab8c79d, []int{0} + return fileDescriptor_a721964bea150254, []int{0} } func (m *Grant) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -84,29 +84,29 @@ func (m *Grant) GetInfo() string { } func init() { - proto.RegisterType((*Grant)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.Grant") + proto.RegisterType((*Grant)(nil), "dclupgrade.types.Grant") } -func init() { proto.RegisterFile("dclupgrade/grant.proto", fileDescriptor_71d47e1bdab8c79d) } +func init() { proto.RegisterFile("dclupgrade/types/grant.proto", fileDescriptor_a721964bea150254) } -var fileDescriptor_71d47e1bdab8c79d = []byte{ - // 252 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4b, 0x49, 0xce, 0x29, - 0x2d, 0x48, 0x2f, 0x4a, 0x4c, 0x49, 0xd5, 0x4f, 0x2f, 0x4a, 0xcc, 0x2b, 0xd1, 0x2b, 0x28, 0xca, - 0x2f, 0xc9, 0x17, 0x32, 0xad, 0xca, 0x4c, 0x4f, 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, - 0x4b, 0x4e, 0xd5, 0x4b, 0xc9, 0x2c, 0x2e, 0x29, 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0x49, 0xce, - 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, 0xa7, 0x16, 0xe9, 0x21, 0x8c, 0x90, 0x92, 0x4c, - 0xce, 0x2f, 0xce, 0xcd, 0x2f, 0x8e, 0x07, 0x1b, 0xa2, 0x0f, 0xe1, 0x40, 0x4c, 0x54, 0x4a, 0xe6, - 0x62, 0x75, 0x07, 0x59, 0x20, 0x64, 0xc4, 0xc5, 0x9e, 0x98, 0x92, 0x52, 0x94, 0x5a, 0x5c, 0x2c, - 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0xe9, 0x24, 0x71, 0x69, 0x8b, 0xae, 0x08, 0x54, 0xad, 0x23, 0x44, - 0x26, 0xb8, 0xa4, 0x28, 0x33, 0x2f, 0x3d, 0x08, 0xa6, 0x50, 0x48, 0x88, 0x8b, 0xa5, 0x24, 0x33, - 0x37, 0x55, 0x82, 0x49, 0x81, 0x51, 0x83, 0x39, 0x08, 0xcc, 0x06, 0x89, 0x65, 0xe6, 0xa5, 0xe5, - 0x4b, 0x30, 0x83, 0x0c, 0x09, 0x02, 0xb3, 0x9d, 0x52, 0x4f, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, - 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63, 0xb8, 0xf1, - 0x58, 0x8e, 0x21, 0xca, 0x3b, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0x1f, - 0xe2, 0x37, 0x5d, 0x98, 0xe7, 0xf4, 0x91, 0x3c, 0xa7, 0x8b, 0xf0, 0x9d, 0x2e, 0xc4, 0x7b, 0xfa, - 0x15, 0xfa, 0x48, 0x61, 0x54, 0x52, 0x59, 0x90, 0x5a, 0x9c, 0xc4, 0x06, 0xf6, 0x92, 0x31, 0x20, - 0x00, 0x00, 0xff, 0xff, 0x86, 0x7d, 0x1f, 0xa6, 0x3e, 0x01, 0x00, 0x00, +var fileDescriptor_a721964bea150254 = []byte{ + // 242 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x49, 0x49, 0xce, 0x29, + 0x2d, 0x48, 0x2f, 0x4a, 0x4c, 0x49, 0xd5, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x4f, 0x2f, 0x4a, + 0xcc, 0x2b, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x40, 0xc8, 0xea, 0x81, 0x65, 0xa5, + 0x24, 0x93, 0xf3, 0x8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0xb2, 0xed, 0x96, 0xbf, 0x1f, 0x01, + 0x00, 0x00, } func (m *Grant) Marshal() (dAtA []byte, err error) { diff --git a/x/dclupgrade/types/proposed_upgrade.pb.go b/x/dclupgrade/types/proposed_upgrade.pb.go index 742850df4..36a38a8d2 100644 --- a/x/dclupgrade/types/proposed_upgrade.pb.go +++ b/x/dclupgrade/types/proposed_upgrade.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclupgrade/proposed_upgrade.proto +// source: dclupgrade/types/proposed_upgrade.proto package types @@ -36,7 +36,7 @@ func (m *ProposedUpgrade) Reset() { *m = ProposedUpgrade{} } func (m *ProposedUpgrade) String() string { return proto.CompactTextString(m) } func (*ProposedUpgrade) ProtoMessage() {} func (*ProposedUpgrade) Descriptor() ([]byte, []int) { - return fileDescriptor_0b2f793e220daf3a, []int{0} + return fileDescriptor_ad4d1daffe89db3c, []int{0} } func (m *ProposedUpgrade) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -94,36 +94,37 @@ func (m *ProposedUpgrade) GetRejects() []*Grant { } func init() { - proto.RegisterType((*ProposedUpgrade)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.ProposedUpgrade") + proto.RegisterType((*ProposedUpgrade)(nil), "dclupgrade.types.ProposedUpgrade") } -func init() { proto.RegisterFile("dclupgrade/proposed_upgrade.proto", fileDescriptor_0b2f793e220daf3a) } +func init() { + proto.RegisterFile("dclupgrade/types/proposed_upgrade.proto", fileDescriptor_ad4d1daffe89db3c) +} -var fileDescriptor_0b2f793e220daf3a = []byte{ - // 356 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x91, 0xbd, 0x4e, 0x2a, 0x41, - 0x14, 0x80, 0x77, 0x81, 0x5c, 0xc2, 0x52, 0xdc, 0x64, 0x43, 0x6e, 0xf6, 0x92, 0x9b, 0xbd, 0x68, - 0x2c, 0x68, 0x76, 0x26, 0x60, 0xb4, 0xb2, 0x91, 0xc6, 0xc2, 0x86, 0x60, 0xb4, 0xa0, 0x21, 0xb3, - 0x33, 0x27, 0xe3, 0x9a, 0x61, 0x67, 0x32, 0x33, 0x10, 0xf5, 0x29, 0x7c, 0x15, 0x13, 0x1f, 0x82, - 0x92, 0x58, 0x59, 0x19, 0x03, 0x2f, 0x62, 0x60, 0x76, 0x03, 0xb6, 0xc6, 0x6e, 0xcf, 0xcf, 0x7e, - 0xdf, 0x39, 0x73, 0x82, 0x03, 0x46, 0xc5, 0x4c, 0x71, 0x4d, 0x18, 0x60, 0xa5, 0xa5, 0x92, 0x06, - 0xd8, 0xa4, 0x48, 0x20, 0xa5, 0xa5, 0x95, 0xe1, 0xc9, 0x63, 0xc6, 0x53, 0x00, 0x22, 0x44, 0x46, - 0x72, 0x0a, 0x88, 0x65, 0xc6, 0xea, 0x2c, 0x9d, 0x59, 0x60, 0x54, 0x4e, 0x95, 0xcb, 0x0a, 0x60, - 0x1c, 0x34, 0xda, 0xd1, 0xda, 0x2d, 0x2e, 0xb9, 0xdc, 0x12, 0xf0, 0xe6, 0xcb, 0xc1, 0xda, 0x7f, - 0xa9, 0x34, 0x53, 0x69, 0x26, 0xae, 0xe0, 0x82, 0xa2, 0x74, 0xe4, 0x22, 0x5c, 0x8e, 0x33, 0xef, - 0xa5, 0x60, 0x49, 0x0f, 0x7f, 0x99, 0xa6, 0xfd, 0x67, 0x6f, 0x60, 0xae, 0x49, 0x6e, 0x5d, 0xfe, - 0xf0, 0xb9, 0x12, 0xfc, 0x1e, 0x16, 0x0b, 0x5c, 0xbb, 0x7a, 0x78, 0x1a, 0xd4, 0x94, 0x20, 0x79, - 0xe4, 0x77, 0xfc, 0x6e, 0xb3, 0xff, 0x0f, 0x15, 0xba, 0x12, 0x58, 0x08, 0xd0, 0x50, 0x90, 0x7c, - 0x50, 0x5b, 0xbc, 0xff, 0xf7, 0x46, 0xdb, 0xfe, 0xb0, 0x1f, 0xd4, 0xa9, 0x06, 0x62, 0xa5, 0x8e, - 0x2a, 0x1d, 0xbf, 0xdb, 0x18, 0x44, 0xaf, 0x2f, 0x49, 0xab, 0xf8, 0xfb, 0x9c, 0x31, 0x0d, 0xc6, - 0x5c, 0x59, 0x9d, 0xe5, 0x7c, 0x54, 0x36, 0x86, 0xe3, 0xa0, 0x41, 0x94, 0xd2, 0x72, 0x4e, 0x84, - 0x89, 0xaa, 0x9d, 0x6a, 0xb7, 0xd9, 0x3f, 0x43, 0xdf, 0x7a, 0x39, 0x74, 0xb1, 0x59, 0x6b, 0xb4, - 0xc3, 0x85, 0x37, 0x41, 0x5d, 0xc3, 0x1d, 0x50, 0x6b, 0xa2, 0xda, 0x0f, 0x90, 0x4b, 0xd8, 0x00, - 0x16, 0xab, 0xd8, 0x5f, 0xae, 0x62, 0xff, 0x63, 0x15, 0xfb, 0x4f, 0xeb, 0xd8, 0x5b, 0xae, 0x63, - 0xef, 0x6d, 0x1d, 0x7b, 0xe3, 0x4b, 0x9e, 0xd9, 0xdb, 0x59, 0x8a, 0xa8, 0x9c, 0x62, 0xa7, 0x4a, - 0x4a, 0x17, 0xde, 0x73, 0x25, 0x3b, 0x59, 0xe2, 0x6c, 0xf8, 0x1e, 0xef, 0x1d, 0xc8, 0x3e, 0x28, - 0x30, 0xe9, 0xaf, 0xed, 0x85, 0x8e, 0x3f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x42, 0xaa, 0xfd, 0x84, - 0x6c, 0x02, 0x00, 0x00, +var fileDescriptor_ad4d1daffe89db3c = []byte{ + // 345 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0x2b, 0x31, + 0x14, 0x86, 0x67, 0x6e, 0xcb, 0x2d, 0x9d, 0x2e, 0xee, 0x65, 0x28, 0xdc, 0xb9, 0xa5, 0x8c, 0x45, + 0x04, 0xbb, 0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xe6, 0xca, 0xea, 0x2c, 0xe7, 0x93, 0x0a, + 0x0c, 0x4f, 0x83, 0x26, 0x51, 0x4a, 0xcb, 0x05, 0x11, 0x26, 0xaa, 0xf5, 0x6a, 0xfd, 0xd6, 0xf0, + 0x1f, 0xda, 0xaf, 0x06, 0x5d, 0x6c, 0x13, 0x4f, 0x76, 0x64, 0x38, 0x08, 0x1a, 0x1a, 0xee, 0x80, + 0x5a, 0x13, 0xd5, 0x7f, 0x3e, 0xaa, 0xb8, 0x11, 0x2c, 0xd7, 0xb1, 0xbf, 0x5a, 0xc7, 0xfe, 0xfb, + 0x3a, 0xf6, 0x9f, 0x36, 0xb1, 0xb7, 0xda, 0xc4, 0xde, 0xeb, 0x26, 0xf6, 0x6e, 0x2e, 0x79, 0x66, + 0x6f, 0xe7, 0x29, 0xa2, 0x72, 0x86, 0x1f, 0x33, 0x9e, 0x02, 0x24, 0x44, 0x88, 0x8c, 0xe4, 0x14, + 0x30, 0xcb, 0x8c, 0xd5, 0x59, 0x3a, 0xb7, 0xc0, 0x12, 0x2a, 0x67, 0xca, 0xad, 0x13, 0x01, 0x8c, + 0x83, 0xc6, 0xf7, 0x78, 0xbf, 0xdc, 0xf4, 0x77, 0xd1, 0xeb, 0xc9, 0x67, 0x00, 0x00, 0x00, 0xff, + 0xff, 0x17, 0x23, 0x23, 0x33, 0x09, 0x02, 0x00, 0x00, } func (m *ProposedUpgrade) Marshal() (dAtA []byte, err error) { diff --git a/x/dclupgrade/types/query.pb.go b/x/dclupgrade/types/query.pb.go index 18075ac70..2290b2d20 100644 --- a/x/dclupgrade/types/query.pb.go +++ b/x/dclupgrade/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclupgrade/query.proto +// source: dclupgrade/types/query.proto package types @@ -38,7 +38,7 @@ func (m *QueryGetProposedUpgradeRequest) Reset() { *m = QueryGetProposed func (m *QueryGetProposedUpgradeRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetProposedUpgradeRequest) ProtoMessage() {} func (*QueryGetProposedUpgradeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_24d33970bdf865fd, []int{0} + return fileDescriptor_cf74218b4f5d5331, []int{0} } func (m *QueryGetProposedUpgradeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -82,7 +82,7 @@ func (m *QueryGetProposedUpgradeResponse) Reset() { *m = QueryGetPropose func (m *QueryGetProposedUpgradeResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetProposedUpgradeResponse) ProtoMessage() {} func (*QueryGetProposedUpgradeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_24d33970bdf865fd, []int{1} + return fileDescriptor_cf74218b4f5d5331, []int{1} } func (m *QueryGetProposedUpgradeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -126,7 +126,7 @@ func (m *QueryAllProposedUpgradeRequest) Reset() { *m = QueryAllProposed func (m *QueryAllProposedUpgradeRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllProposedUpgradeRequest) ProtoMessage() {} func (*QueryAllProposedUpgradeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_24d33970bdf865fd, []int{2} + return fileDescriptor_cf74218b4f5d5331, []int{2} } func (m *QueryAllProposedUpgradeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -171,7 +171,7 @@ func (m *QueryAllProposedUpgradeResponse) Reset() { *m = QueryAllPropose func (m *QueryAllProposedUpgradeResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllProposedUpgradeResponse) ProtoMessage() {} func (*QueryAllProposedUpgradeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_24d33970bdf865fd, []int{3} + return fileDescriptor_cf74218b4f5d5331, []int{3} } func (m *QueryAllProposedUpgradeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -222,7 +222,7 @@ func (m *QueryGetApprovedUpgradeRequest) Reset() { *m = QueryGetApproved func (m *QueryGetApprovedUpgradeRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetApprovedUpgradeRequest) ProtoMessage() {} func (*QueryGetApprovedUpgradeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_24d33970bdf865fd, []int{4} + return fileDescriptor_cf74218b4f5d5331, []int{4} } func (m *QueryGetApprovedUpgradeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -266,7 +266,7 @@ func (m *QueryGetApprovedUpgradeResponse) Reset() { *m = QueryGetApprove func (m *QueryGetApprovedUpgradeResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetApprovedUpgradeResponse) ProtoMessage() {} func (*QueryGetApprovedUpgradeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_24d33970bdf865fd, []int{5} + return fileDescriptor_cf74218b4f5d5331, []int{5} } func (m *QueryGetApprovedUpgradeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -310,7 +310,7 @@ func (m *QueryAllApprovedUpgradeRequest) Reset() { *m = QueryAllApproved func (m *QueryAllApprovedUpgradeRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllApprovedUpgradeRequest) ProtoMessage() {} func (*QueryAllApprovedUpgradeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_24d33970bdf865fd, []int{6} + return fileDescriptor_cf74218b4f5d5331, []int{6} } func (m *QueryAllApprovedUpgradeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -355,7 +355,7 @@ func (m *QueryAllApprovedUpgradeResponse) Reset() { *m = QueryAllApprove func (m *QueryAllApprovedUpgradeResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllApprovedUpgradeResponse) ProtoMessage() {} func (*QueryAllApprovedUpgradeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_24d33970bdf865fd, []int{7} + return fileDescriptor_cf74218b4f5d5331, []int{7} } func (m *QueryAllApprovedUpgradeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -406,7 +406,7 @@ func (m *QueryGetRejectedUpgradeRequest) Reset() { *m = QueryGetRejected func (m *QueryGetRejectedUpgradeRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetRejectedUpgradeRequest) ProtoMessage() {} func (*QueryGetRejectedUpgradeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_24d33970bdf865fd, []int{8} + return fileDescriptor_cf74218b4f5d5331, []int{8} } func (m *QueryGetRejectedUpgradeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -450,7 +450,7 @@ func (m *QueryGetRejectedUpgradeResponse) Reset() { *m = QueryGetRejecte func (m *QueryGetRejectedUpgradeResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetRejectedUpgradeResponse) ProtoMessage() {} func (*QueryGetRejectedUpgradeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_24d33970bdf865fd, []int{9} + return fileDescriptor_cf74218b4f5d5331, []int{9} } func (m *QueryGetRejectedUpgradeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -494,7 +494,7 @@ func (m *QueryAllRejectedUpgradeRequest) Reset() { *m = QueryAllRejected func (m *QueryAllRejectedUpgradeRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllRejectedUpgradeRequest) ProtoMessage() {} func (*QueryAllRejectedUpgradeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_24d33970bdf865fd, []int{10} + return fileDescriptor_cf74218b4f5d5331, []int{10} } func (m *QueryAllRejectedUpgradeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -539,7 +539,7 @@ func (m *QueryAllRejectedUpgradeResponse) Reset() { *m = QueryAllRejecte func (m *QueryAllRejectedUpgradeResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllRejectedUpgradeResponse) ProtoMessage() {} func (*QueryAllRejectedUpgradeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_24d33970bdf865fd, []int{11} + return fileDescriptor_cf74218b4f5d5331, []int{11} } func (m *QueryAllRejectedUpgradeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -583,65 +583,64 @@ func (m *QueryAllRejectedUpgradeResponse) GetPagination() *query.PageResponse { } func init() { - proto.RegisterType((*QueryGetProposedUpgradeRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.QueryGetProposedUpgradeRequest") - proto.RegisterType((*QueryGetProposedUpgradeResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.QueryGetProposedUpgradeResponse") - proto.RegisterType((*QueryAllProposedUpgradeRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.QueryAllProposedUpgradeRequest") - proto.RegisterType((*QueryAllProposedUpgradeResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.QueryAllProposedUpgradeResponse") - proto.RegisterType((*QueryGetApprovedUpgradeRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.QueryGetApprovedUpgradeRequest") - proto.RegisterType((*QueryGetApprovedUpgradeResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.QueryGetApprovedUpgradeResponse") - proto.RegisterType((*QueryAllApprovedUpgradeRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.QueryAllApprovedUpgradeRequest") - proto.RegisterType((*QueryAllApprovedUpgradeResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.QueryAllApprovedUpgradeResponse") - proto.RegisterType((*QueryGetRejectedUpgradeRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.QueryGetRejectedUpgradeRequest") - proto.RegisterType((*QueryGetRejectedUpgradeResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.QueryGetRejectedUpgradeResponse") - proto.RegisterType((*QueryAllRejectedUpgradeRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.QueryAllRejectedUpgradeRequest") - proto.RegisterType((*QueryAllRejectedUpgradeResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.QueryAllRejectedUpgradeResponse") -} - -func init() { proto.RegisterFile("dclupgrade/query.proto", fileDescriptor_24d33970bdf865fd) } - -var fileDescriptor_24d33970bdf865fd = []byte{ - // 644 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0x4f, 0x6b, 0xd4, 0x40, - 0x14, 0xdf, 0x74, 0xab, 0x60, 0x7a, 0x28, 0x0c, 0x22, 0xb2, 0x48, 0x6a, 0x23, 0x68, 0x2d, 0x6c, - 0xc6, 0x56, 0xfd, 0x00, 0xdb, 0x43, 0x7b, 0xf0, 0x52, 0x17, 0xea, 0xc1, 0x8b, 0x4c, 0x92, 0x47, - 0x1a, 0xc9, 0x66, 0xa6, 0x99, 0xd9, 0xc5, 0x2a, 0x5e, 0xfc, 0x04, 0x82, 0x27, 0x3f, 0x8a, 0xdf, - 0xa0, 0xc7, 0x82, 0x17, 0x4f, 0x22, 0xbb, 0x9e, 0x3d, 0xf8, 0x09, 0xca, 0x26, 0x13, 0x36, 0x99, - 0xcd, 0x6c, 0xd9, 0x66, 0x73, 0x0b, 0x33, 0x6f, 0xde, 0x7b, 0xbf, 0x3f, 0xbc, 0x47, 0xcc, 0x7b, - 0xbe, 0x17, 0x0d, 0x59, 0x90, 0x10, 0x1f, 0xf0, 0xd9, 0x10, 0x92, 0x73, 0x87, 0x25, 0x54, 0x50, - 0xf4, 0xf2, 0x63, 0x18, 0xb8, 0x00, 0x24, 0x8a, 0x42, 0x12, 0x7b, 0xe0, 0xf8, 0x21, 0x17, 0x49, - 0xe8, 0x0e, 0x05, 0xf8, 0x1e, 0x1d, 0xb0, 0xec, 0x34, 0x02, 0x3f, 0x80, 0xc4, 0x99, 0xa5, 0xe8, - 0xdc, 0x0d, 0x68, 0x40, 0xd3, 0x0c, 0x78, 0xfa, 0x95, 0x25, 0xeb, 0x3c, 0x08, 0x28, 0x0d, 0x22, - 0xc0, 0x84, 0x85, 0x98, 0xc4, 0x31, 0x15, 0x44,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0xd2, - 0x93, 0x2e, 0x5b, 0xd2, 0x20, 0x73, 0xcf, 0x66, 0xd4, 0x90, 0xf2, 0x55, 0x4d, 0x83, 0x28, 0x85, - 0x72, 0x6a, 0x94, 0x22, 0x45, 0x83, 0x68, 0x10, 0x35, 0x61, 0x90, 0xa5, 0x58, 0x68, 0x37, 0xce, - 0x42, 0x23, 0x06, 0xe9, 0xcb, 0x19, 0xb3, 0xa4, 0x41, 0xe6, 0x9e, 0xcd, 0xa8, 0x49, 0xca, 0x57, - 0x35, 0x0d, 0xa2, 0x14, 0xca, 0xa9, 0x51, 0x8a, 0x14, 0x0d, 0xa2, 0x41, 0xd4, 0x84, 0x41, 0x96, - 0x62, 0xa1, 0xdd, 0x38, 0x0b, 0x2b, 0x33, 0xc8, 0xfe, 0x8f, 0x0d, 0xf3, 0x56, 0x0a, 0x12, 0xfd, - 0x37, 0xcc, 0x4d, 0x65, 0x7e, 0xa1, 0x93, 0x1b, 0xa2, 0x58, 0xbc, 0xb5, 0x3a, 0x6f, 0x56, 0x9d, - 0x36, 0x03, 0x66, 0x3f, 0xfb, 0xf2, 0xf3, 0xef, 0xb7, 0xb5, 0x5d, 0xb4, 0x83, 0x7d, 0x2f, 0xc2, - 0x15, 0x5b, 0xba, 0x2b, 0x0f, 0x38, 0xfe, 0x34, 0x35, 0xfa, 0x67, 0xf4, 0xcf, 0x30, 0x91, 0x92, - 0xad, 0x17, 0x45, 0xf5, 0x70, 0x6b, 0x77, 0x5b, 0x3d, 0xdc, 0xfa, 0x3d, 0x66, 0x3f, 0x4d, 0x71, - 0x3f, 0x42, 0xdb, 0xd7, 0xe2, 0x4e, 0x55, 0x56, 0x86, 0x50, 0x6d, 0x95, 0xab, 0x07, 0x75, 0x6d, - 0x95, 0x35, 0x43, 0x59, 0xaf, 0x72, 0x3e, 0x45, 0x2b, 0x55, 0x56, 0xb2, 0xad, 0x42, 0xe5, 0x26, - 0x70, 0xeb, 0x97, 0x91, 0x5e, 0xe5, 0x39, 0xdc, 0xa9, 0xca, 0xca, 0x24, 0xa9, 0xad, 0x72, 0xf5, - 0xb4, 0xad, 0xad, 0xb2, 0x66, 0xb2, 0xea, 0x55, 0xce, 0x47, 0x61, 0xa5, 0xca, 0x4a, 0xb6, 0x55, - 0xa8, 0xdc, 0x04, 0x6e, 0xfd, 0x46, 0xd1, 0xab, 0x3c, 0x87, 0xfb, 0x00, 0x2e, 0xc6, 0x96, 0x71, - 0x39, 0xb6, 0x8c, 0x3f, 0x63, 0xcb, 0xf8, 0x3a, 0xb1, 0x5a, 0x97, 0x13, 0xab, 0xf5, 0x6b, 0x62, - 0xb5, 0xde, 0xbe, 0x0a, 0x42, 0x71, 0x3a, 0x74, 0x1d, 0x8f, 0x0e, 0x70, 0xd6, 0x66, 0x37, 0xef, - 0x13, 0x17, 0xfa, 0xec, 0xce, 0x1a, 0xed, 0x66, 0x9d, 0xe2, 0x0f, 0xc5, 0x92, 0xe2, 0x9c, 0x01, - 0x77, 0x6f, 0xa7, 0x3f, 0x23, 0xcf, 0xaf, 0x02, 0x00, 0x00, 0xff, 0xff, 0xb1, 0x16, 0x1e, 0x91, - 0xa6, 0x0d, 0x00, 0x00, + proto.RegisterType((*QueryGetProposedUpgradeRequest)(nil), "dclupgrade.types.QueryGetProposedUpgradeRequest") + proto.RegisterType((*QueryGetProposedUpgradeResponse)(nil), "dclupgrade.types.QueryGetProposedUpgradeResponse") + proto.RegisterType((*QueryAllProposedUpgradeRequest)(nil), "dclupgrade.types.QueryAllProposedUpgradeRequest") + proto.RegisterType((*QueryAllProposedUpgradeResponse)(nil), "dclupgrade.types.QueryAllProposedUpgradeResponse") + proto.RegisterType((*QueryGetApprovedUpgradeRequest)(nil), "dclupgrade.types.QueryGetApprovedUpgradeRequest") + proto.RegisterType((*QueryGetApprovedUpgradeResponse)(nil), "dclupgrade.types.QueryGetApprovedUpgradeResponse") + proto.RegisterType((*QueryAllApprovedUpgradeRequest)(nil), "dclupgrade.types.QueryAllApprovedUpgradeRequest") + proto.RegisterType((*QueryAllApprovedUpgradeResponse)(nil), "dclupgrade.types.QueryAllApprovedUpgradeResponse") + proto.RegisterType((*QueryGetRejectedUpgradeRequest)(nil), "dclupgrade.types.QueryGetRejectedUpgradeRequest") + proto.RegisterType((*QueryGetRejectedUpgradeResponse)(nil), "dclupgrade.types.QueryGetRejectedUpgradeResponse") + proto.RegisterType((*QueryAllRejectedUpgradeRequest)(nil), "dclupgrade.types.QueryAllRejectedUpgradeRequest") + proto.RegisterType((*QueryAllRejectedUpgradeResponse)(nil), "dclupgrade.types.QueryAllRejectedUpgradeResponse") +} + +func init() { proto.RegisterFile("dclupgrade/types/query.proto", fileDescriptor_cf74218b4f5d5331) } + +var fileDescriptor_cf74218b4f5d5331 = []byte{ + // 630 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x96, 0xcf, 0x6e, 0xd3, 0x4a, + 0x14, 0xc6, 0xe3, 0xa6, 0xf7, 0x22, 0xcc, 0xa2, 0x68, 0xc4, 0x02, 0x45, 0x95, 0x4b, 0x8d, 0x44, + 0x4b, 0xa5, 0x78, 0x9a, 0xc2, 0x0b, 0xa4, 0x0b, 0xba, 0x60, 0xd3, 0x46, 0x62, 0xc3, 0x06, 0x8d, + 0xed, 0x23, 0xd7, 0xc8, 0xf1, 0x4c, 0x3d, 0x93, 0x8a, 0x82, 0xd8, 0xf0, 0x04, 0x48, 0xbc, 0x02, + 0x0b, 0x5e, 0x82, 0x7d, 0x97, 0x95, 0xd8, 0xb0, 0x42, 0x28, 0xe1, 0x35, 0x90, 0x50, 0xc6, 0x63, + 0x25, 0x19, 0x7b, 0x1c, 0xac, 0x90, 0x5d, 0xe4, 0xf3, 0x67, 0x7e, 0xe7, 0xfb, 0x3c, 0x27, 0xb6, + 0xb7, 0xc3, 0x20, 0x19, 0xb1, 0x28, 0x23, 0x21, 0x60, 0x71, 0xc5, 0x80, 0xe3, 0x8b, 0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 0xda, 0x5d, 0x4a, 0x2b, 0x15, 0xd5, 0x6e, + 0x69, 0x9d, 0xa2, 0xd5, 0xfb, 0xa7, 0x4e, 0x51, 0xc3, 0x1a, 0x31, 0x2b, 0x5a, 0x2c, 0x87, 0x4a, + 0x45, 0xb5, 0x6e, 0x4b, 0x14, 0x6d, 0x48, 0x6b, 0x5e, 0x7a, 0x66, 0x45, 0x4b, 0xb4, 0x52, 0x51, + 0xed, 0x86, 0xd4, 0x29, 0x5a, 0x7d, 0xf7, 0xeb, 0x14, 0x35, 0x5c, 0x61, 0xb3, 0xa2, 0xc5, 0xc5, + 0xac, 0x54, 0x54, 0xeb, 0xb6, 0x44, 0xd1, 0x86, 0xb4, 0xe6, 0x85, 0x63, 0x56, 0xb4, 0x44, 0x7b, + 0x0c, 0xd7, 0x63, 0xc7, 0xba, 0x19, 0x3b, 0xd6, 0xcf, 0xb1, 0x63, 0x7d, 0x9c, 0x38, 0xad, 0x9b, + 0x89, 0xd3, 0xfa, 0x3e, 0x71, 0x5a, 0x2f, 0x9f, 0x47, 0xb1, 0x38, 0x1f, 0xf9, 0x5e, 0x40, 0x87, + 0xf8, 0x6d, 0x1c, 0xf9, 0x00, 0x5d, 0x92, 0x24, 0x31, 0x49, 0x03, 0xc0, 0x61, 0xcc, 0x45, 0x16, + 0xfb, 0xa3, 0x69, 0xab, 0x80, 0x0e, 0x59, 0xfe, 0xb8, 0x9b, 0x40, 0x18, 0x41, 0x86, 0xdf, 0x60, + 0xfd, 0xfb, 0xcf, 0xff, 0x5f, 0x7e, 0xef, 0x3d, 0xf9, 0x13, 0x00, 0x00, 0xff, 0xff, 0xb2, 0x03, + 0x42, 0xaf, 0xfc, 0x0a, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -680,7 +679,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) ProposedUpgrade(ctx context.Context, in *QueryGetProposedUpgradeRequest, opts ...grpc.CallOption) (*QueryGetProposedUpgradeResponse, error) { out := new(QueryGetProposedUpgradeResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclupgrade.Query/ProposedUpgrade", in, out, opts...) + err := c.cc.Invoke(ctx, "/dclupgrade.types.Query/ProposedUpgrade", in, out, opts...) if err != nil { return nil, err } @@ -689,7 +688,7 @@ func (c *queryClient) ProposedUpgrade(ctx context.Context, in *QueryGetProposedU func (c *queryClient) ProposedUpgradeAll(ctx context.Context, in *QueryAllProposedUpgradeRequest, opts ...grpc.CallOption) (*QueryAllProposedUpgradeResponse, error) { out := new(QueryAllProposedUpgradeResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclupgrade.Query/ProposedUpgradeAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/dclupgrade.types.Query/ProposedUpgradeAll", in, out, opts...) if err != nil { return nil, err } @@ -698,7 +697,7 @@ func (c *queryClient) ProposedUpgradeAll(ctx context.Context, in *QueryAllPropos func (c *queryClient) ApprovedUpgrade(ctx context.Context, in *QueryGetApprovedUpgradeRequest, opts ...grpc.CallOption) (*QueryGetApprovedUpgradeResponse, error) { out := new(QueryGetApprovedUpgradeResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclupgrade.Query/ApprovedUpgrade", in, out, opts...) + err := c.cc.Invoke(ctx, "/dclupgrade.types.Query/ApprovedUpgrade", in, out, opts...) if err != nil { return nil, err } @@ -707,7 +706,7 @@ func (c *queryClient) ApprovedUpgrade(ctx context.Context, in *QueryGetApprovedU func (c *queryClient) ApprovedUpgradeAll(ctx context.Context, in *QueryAllApprovedUpgradeRequest, opts ...grpc.CallOption) (*QueryAllApprovedUpgradeResponse, error) { out := new(QueryAllApprovedUpgradeResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclupgrade.Query/ApprovedUpgradeAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/dclupgrade.types.Query/ApprovedUpgradeAll", in, out, opts...) if err != nil { return nil, err } @@ -716,7 +715,7 @@ func (c *queryClient) ApprovedUpgradeAll(ctx context.Context, in *QueryAllApprov func (c *queryClient) RejectedUpgrade(ctx context.Context, in *QueryGetRejectedUpgradeRequest, opts ...grpc.CallOption) (*QueryGetRejectedUpgradeResponse, error) { out := new(QueryGetRejectedUpgradeResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclupgrade.Query/RejectedUpgrade", in, out, opts...) + err := c.cc.Invoke(ctx, "/dclupgrade.types.Query/RejectedUpgrade", in, out, opts...) if err != nil { return nil, err } @@ -725,7 +724,7 @@ func (c *queryClient) RejectedUpgrade(ctx context.Context, in *QueryGetRejectedU func (c *queryClient) RejectedUpgradeAll(ctx context.Context, in *QueryAllRejectedUpgradeRequest, opts ...grpc.CallOption) (*QueryAllRejectedUpgradeResponse, error) { out := new(QueryAllRejectedUpgradeResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclupgrade.Query/RejectedUpgradeAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/dclupgrade.types.Query/RejectedUpgradeAll", in, out, opts...) if err != nil { return nil, err } @@ -785,7 +784,7 @@ func _Query_ProposedUpgrade_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.dclupgrade.Query/ProposedUpgrade", + FullMethod: "/dclupgrade.types.Query/ProposedUpgrade", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ProposedUpgrade(ctx, req.(*QueryGetProposedUpgradeRequest)) @@ -803,7 +802,7 @@ func _Query_ProposedUpgradeAll_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.dclupgrade.Query/ProposedUpgradeAll", + FullMethod: "/dclupgrade.types.Query/ProposedUpgradeAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ProposedUpgradeAll(ctx, req.(*QueryAllProposedUpgradeRequest)) @@ -821,7 +820,7 @@ func _Query_ApprovedUpgrade_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.dclupgrade.Query/ApprovedUpgrade", + FullMethod: "/dclupgrade.types.Query/ApprovedUpgrade", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ApprovedUpgrade(ctx, req.(*QueryGetApprovedUpgradeRequest)) @@ -839,7 +838,7 @@ func _Query_ApprovedUpgradeAll_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.dclupgrade.Query/ApprovedUpgradeAll", + FullMethod: "/dclupgrade.types.Query/ApprovedUpgradeAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ApprovedUpgradeAll(ctx, req.(*QueryAllApprovedUpgradeRequest)) @@ -857,7 +856,7 @@ func _Query_RejectedUpgrade_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.dclupgrade.Query/RejectedUpgrade", + FullMethod: "/dclupgrade.types.Query/RejectedUpgrade", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RejectedUpgrade(ctx, req.(*QueryGetRejectedUpgradeRequest)) @@ -875,7 +874,7 @@ func _Query_RejectedUpgradeAll_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.dclupgrade.Query/RejectedUpgradeAll", + FullMethod: "/dclupgrade.types.Query/RejectedUpgradeAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RejectedUpgradeAll(ctx, req.(*QueryAllRejectedUpgradeRequest)) @@ -884,7 +883,7 @@ func _Query_RejectedUpgradeAll_Handler(srv interface{}, ctx context.Context, dec } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "zigbeealliance.distributedcomplianceledger.dclupgrade.Query", + ServiceName: "dclupgrade.types.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -913,7 +912,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "dclupgrade/query.proto", + Metadata: "dclupgrade/types/query.proto", } func (m *QueryGetProposedUpgradeRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/dclupgrade/types/query.pb.gw.go b/x/dclupgrade/types/query.pb.gw.go index 370bfc28b..b81ea6eee 100644 --- a/x/dclupgrade/types/query.pb.gw.go +++ b/x/dclupgrade/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: dclupgrade/query.proto +// source: dclupgrade/types/query.proto /* Package types is a reverse proxy. @@ -612,17 +612,17 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } var ( - pattern_Query_ProposedUpgrade_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"dcl", "dclupgrade", "proposed-upgrades", "name"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_ProposedUpgrade_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"dcl", "dclupgrade", "proposed-upgrades", "name"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_ProposedUpgradeAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "dclupgrade", "proposed-upgrades"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_ProposedUpgradeAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "dclupgrade", "proposed-upgrades"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_ApprovedUpgrade_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"dcl", "dclupgrade", "approved-upgrades", "name"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_ApprovedUpgrade_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"dcl", "dclupgrade", "approved-upgrades", "name"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_ApprovedUpgradeAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "dclupgrade", "approved-upgrades"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_ApprovedUpgradeAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "dclupgrade", "approved-upgrades"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_RejectedUpgrade_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"dcl", "dclupgrade", "rejected-upgrades", "name"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_RejectedUpgrade_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"dcl", "dclupgrade", "rejected-upgrades", "name"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_RejectedUpgradeAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "dclupgrade", "rejected-upgrades"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_RejectedUpgradeAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "dclupgrade", "rejected-upgrades"}, "", runtime.AssumeColonVerbOpt(false))) ) var ( diff --git a/x/dclupgrade/types/rejected_upgrade.pb.go b/x/dclupgrade/types/rejected_upgrade.pb.go index d43620d08..87f4865a2 100644 --- a/x/dclupgrade/types/rejected_upgrade.pb.go +++ b/x/dclupgrade/types/rejected_upgrade.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclupgrade/rejected_upgrade.proto +// source: dclupgrade/types/rejected_upgrade.proto package types @@ -36,7 +36,7 @@ func (m *RejectedUpgrade) Reset() { *m = RejectedUpgrade{} } func (m *RejectedUpgrade) String() string { return proto.CompactTextString(m) } func (*RejectedUpgrade) ProtoMessage() {} func (*RejectedUpgrade) Descriptor() ([]byte, []int) { - return fileDescriptor_688c74160bb15b26, []int{0} + return fileDescriptor_806b8863845d17f2, []int{0} } func (m *RejectedUpgrade) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -94,35 +94,37 @@ func (m *RejectedUpgrade) GetRejects() []*Grant { } func init() { - proto.RegisterType((*RejectedUpgrade)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.RejectedUpgrade") + proto.RegisterType((*RejectedUpgrade)(nil), "dclupgrade.types.RejectedUpgrade") } -func init() { proto.RegisterFile("dclupgrade/rejected_upgrade.proto", fileDescriptor_688c74160bb15b26) } +func init() { + proto.RegisterFile("dclupgrade/types/rejected_upgrade.proto", fileDescriptor_806b8863845d17f2) +} -var fileDescriptor_688c74160bb15b26 = []byte{ - // 351 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x91, 0x3f, 0x4b, 0xc3, 0x40, - 0x14, 0xc0, 0x93, 0xb6, 0x58, 0x9a, 0x0e, 0x42, 0x28, 0x12, 0x8b, 0xc4, 0x2a, 0x0e, 0x5d, 0x72, - 0x47, 0x2b, 0x3a, 0xb9, 0xd8, 0xc5, 0xc1, 0x45, 0x22, 0x3a, 0x74,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, 0x82, 0x8f, 0xf7, 0xa8, 0x55, 0xfc, 0x7d, 0x49, 0xa9, 0x02, 0xad, 0x6f, 0x8d, 0xca, - 0x72, 0x16, 0x97, 0x8d, 0xfe, 0xd0, 0x6b, 0x10, 0x29, 0x95, 0x98, 0x12, 0xae, 0x83, 0x6a, 0xa7, - 0xda, 0x6d, 0xf6, 0x2f, 0xd0, 0x9f, 0x5e, 0x0e, 0x5d, 0xad, 0xd6, 0x8a, 0x37, 0x38, 0xff, 0xde, - 0xab, 0xdb, 0xdb, 0xe8, 0xa0, 0xf6, 0x0f, 0xe4, 0x12, 0x36, 0x80, 0xd9, 0x22, 0x74, 0xe7, 0x8b, - 0xd0, 0xfd, 0x5e, 0x84, 0xee, 0xeb, 0x32, 0x74, 0xe6, 0xcb, 0xd0, 0xf9, 0x5c, 0x86, 0xce, 0xf0, - 0x9a, 0x65, 0xe6, 0x61, 0x92, 0xa0, 0x54, 0x8c, 0xb1, 0x55, 0x45, 0xa5, 0x0b, 0x6f, 0xb9, 0xa2, - 0x8d, 0x2c, 0xb2, 0x36, 0xfc, 0x84, 0xb7, 0x0e, 0x64, 0x9e, 0x25, 0xe8, 0x64, 0x67, 0x7d, 0xa1, - 0xd3, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x5e, 0xb6, 0x31, 0xc0, 0x6c, 0x02, 0x00, 0x00, +var fileDescriptor_806b8863845d17f2 = []byte{ + // 339 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4b, 0xc3, 0x30, + 0x18, 0x86, 0x5b, 0x37, 0x1c, 0xeb, 0x0e, 0x4a, 0x19, 0x58, 0xc7, 0xa8, 0x43, 0x04, 0x77, 0x69, + 0xc3, 0x26, 0x7a, 0x77, 0x17, 0x0f, 0x5e, 0xa4, 0xe2, 0xc5, 0xcb, 0x48, 0x93, 0x8f, 0x58, 0xc9, + 0x9a,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0x1d, 0xd4, 0x7a, 0xb5, 0x7e, 0x6b, 0x78, 0x10, 0x6f, 0x57, + 0x13, 0x5f, 0xad, 0x13, 0x27, 0x1b, 0xd2, 0x1f, 0x78, 0x0d, 0xdb, 0xab, 0x0e, 0xea, 0xff, 0x1f, + 0x55, 0xdc, 0x08, 0xe6, 0xcb, 0xd0, 0x5d, 0x2c, 0x43, 0xf7, 0x6b, 0x19, 0xba, 0xaf, 0xab, 0xd0, + 0x59, 0xac, 0x42, 0xe7, 0x63, 0x15, 0x3a, 0xf7, 0xd7, 0x2c, 0x33, 0x0f, 0xd3, 0x34, 0x26, 0x62, + 0x82, 0x5e, 0x32, 0x96, 0x02, 0x44, 0x98, 0xf3, 0x0c, 0xe7, 0x04, 0x10, 0xcd, 0xb4, 0x51, 0x59, + 0x3a, 0x35, 0x40, 0x23, 0x22, 0x26, 0xd2, 0xae, 0x23, 0x0e, 0x94, 0x81, 0x42, 0x4f, 0x68, 0xbb, + 0xdc, 0x74, 0xb7, 0xe8, 0xf5, 0xec, 0x27, 0x00, 0x00, 0xff, 0xff, 0x55, 0x0a, 0xf2, 0x43, 0x09, + 0x02, 0x00, 0x00, } func (m *RejectedUpgrade) Marshal() (dAtA []byte, err error) { diff --git a/x/dclupgrade/types/tx.pb.go b/x/dclupgrade/types/tx.pb.go index be7bf8165..48029f29a 100644 --- a/x/dclupgrade/types/tx.pb.go +++ b/x/dclupgrade/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclupgrade/tx.proto +// source: dclupgrade/types/tx.proto package types @@ -41,7 +41,7 @@ func (m *MsgProposeUpgrade) Reset() { *m = MsgProposeUpgrade{} } func (m *MsgProposeUpgrade) String() string { return proto.CompactTextString(m) } func (*MsgProposeUpgrade) ProtoMessage() {} func (*MsgProposeUpgrade) Descriptor() ([]byte, []int) { - return fileDescriptor_c6618e43a1731fe5, []int{0} + return fileDescriptor_7b824029e78264c9, []int{0} } func (m *MsgProposeUpgrade) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -105,7 +105,7 @@ func (m *MsgProposeUpgradeResponse) Reset() { *m = MsgProposeUpgradeResp func (m *MsgProposeUpgradeResponse) String() string { return proto.CompactTextString(m) } func (*MsgProposeUpgradeResponse) ProtoMessage() {} func (*MsgProposeUpgradeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c6618e43a1731fe5, []int{1} + return fileDescriptor_7b824029e78264c9, []int{1} } func (m *MsgProposeUpgradeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -145,7 +145,7 @@ func (m *MsgApproveUpgrade) Reset() { *m = MsgApproveUpgrade{} } func (m *MsgApproveUpgrade) String() string { return proto.CompactTextString(m) } func (*MsgApproveUpgrade) ProtoMessage() {} func (*MsgApproveUpgrade) Descriptor() ([]byte, []int) { - return fileDescriptor_c6618e43a1731fe5, []int{2} + return fileDescriptor_7b824029e78264c9, []int{2} } func (m *MsgApproveUpgrade) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -209,7 +209,7 @@ func (m *MsgApproveUpgradeResponse) Reset() { *m = MsgApproveUpgradeResp func (m *MsgApproveUpgradeResponse) String() string { return proto.CompactTextString(m) } func (*MsgApproveUpgradeResponse) ProtoMessage() {} func (*MsgApproveUpgradeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c6618e43a1731fe5, []int{3} + return fileDescriptor_7b824029e78264c9, []int{3} } func (m *MsgApproveUpgradeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -249,7 +249,7 @@ func (m *MsgRejectUpgrade) Reset() { *m = MsgRejectUpgrade{} } func (m *MsgRejectUpgrade) String() string { return proto.CompactTextString(m) } func (*MsgRejectUpgrade) ProtoMessage() {} func (*MsgRejectUpgrade) Descriptor() ([]byte, []int) { - return fileDescriptor_c6618e43a1731fe5, []int{4} + return fileDescriptor_7b824029e78264c9, []int{4} } func (m *MsgRejectUpgrade) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -313,7 +313,7 @@ func (m *MsgRejectUpgradeResponse) Reset() { *m = MsgRejectUpgradeRespon func (m *MsgRejectUpgradeResponse) String() string { return proto.CompactTextString(m) } func (*MsgRejectUpgradeResponse) ProtoMessage() {} func (*MsgRejectUpgradeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c6618e43a1731fe5, []int{5} + return fileDescriptor_7b824029e78264c9, []int{5} } func (m *MsgRejectUpgradeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -343,50 +343,49 @@ func (m *MsgRejectUpgradeResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgRejectUpgradeResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*MsgProposeUpgrade)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.MsgProposeUpgrade") - proto.RegisterType((*MsgProposeUpgradeResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.MsgProposeUpgradeResponse") - proto.RegisterType((*MsgApproveUpgrade)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.MsgApproveUpgrade") - proto.RegisterType((*MsgApproveUpgradeResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.MsgApproveUpgradeResponse") - proto.RegisterType((*MsgRejectUpgrade)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.MsgRejectUpgrade") - proto.RegisterType((*MsgRejectUpgradeResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.MsgRejectUpgradeResponse") -} - -func init() { proto.RegisterFile("dclupgrade/tx.proto", fileDescriptor_c6618e43a1731fe5) } - -var fileDescriptor_c6618e43a1731fe5 = []byte{ - // 506 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x94, 0xc1, 0x8a, 0xd3, 0x40, - 0x18, 0xc7, 0x3b, 0x36, 0x28, 0x8e, 0x28, 0x9a, 0x5d, 0x30, 0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ea, 0x63, 0x09, 0x96, 0xfe, 0x78, 0xb7, 0xbf, 0x2e, - 0x25, 0x83, 0x5d, 0xe1, 0x2e, 0xec, 0xcf, 0x0a, 0xb8, 0x75, 0xa5, 0x55, 0x70, 0xff, 0xbf, 0x05, - 0xf6, 0x17, 0x84, 0x2f, 0xd7, 0x57, 0xe0, 0xd1, 0xe9, 0x3d, 0x6a, 0x42, 0xee, 0xb3, 0x35, 0x09, - 0x19, 0xd6, 0x2e, 0x1c, 0x8e, 0x3d, 0x74, 0x34, 0xf6, 0xd0, 0xef, 0xb1, 0x87, 0x3e, 0x4f, 0xbc, - 0xc6, 0xd1, 0xc4, 0x6b, 0xfc, 0x9a, 0x78, 0x8d, 0x97, 0x4f, 0x29, 0x53, 0x6f, 0x06, 0x71, 0x90, - 0xf0, 0x3c, 0xd4, 0xa6, 0x1d, 0xe3, 0x1a, 0xce, 0xb9, 0x76, 0x66, 0xb6, 0x1d, 0xed, 0x1b, 0x8e, - 0xc2, 0xf9, 0xc7, 0xf8, 0x7d, 0x09, 0x32, 0x3e, 0x5f, 0x3d, 0x81, 0x77, 0xfe, 0x06, 0x00, 0x00, - 0xff, 0xff, 0x59, 0x25, 0x85, 0x35, 0xa7, 0x05, 0x00, 0x00, + proto.RegisterType((*MsgProposeUpgrade)(nil), "dclupgrade.types.MsgProposeUpgrade") + proto.RegisterType((*MsgProposeUpgradeResponse)(nil), "dclupgrade.types.MsgProposeUpgradeResponse") + proto.RegisterType((*MsgApproveUpgrade)(nil), "dclupgrade.types.MsgApproveUpgrade") + proto.RegisterType((*MsgApproveUpgradeResponse)(nil), "dclupgrade.types.MsgApproveUpgradeResponse") + proto.RegisterType((*MsgRejectUpgrade)(nil), "dclupgrade.types.MsgRejectUpgrade") + proto.RegisterType((*MsgRejectUpgradeResponse)(nil), "dclupgrade.types.MsgRejectUpgradeResponse") +} + +func init() { proto.RegisterFile("dclupgrade/types/tx.proto", fileDescriptor_7b824029e78264c9) } + +var fileDescriptor_7b824029e78264c9 = []byte{ + // 492 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x94, 0xc1, 0x6e, 0xd3, 0x30, + 0x1c, 0xc6, 0x9b, 0x35, 0x02, 0x61, 0x04, 0x1a, 0x61, 0x12, 0x69, 0x40, 0x59, 0x15, 0x38, 0x54, + 0x54, 0x4d, 0xd8, 0x40, 0x93, 0x40, 0xe2, 0xb0, 0xde, 0x10, 0xaa, 0x34, 0x05, 0x71, 0xe1, 0x32, + 0x39, 0xf1, 0x1f, 0x63, 0x94, 0xc4, 0xc6, 0x76, 0xab, 0xc2, 0x8d, 0x37, 0xe0, 0x49, 0x38, 0xf1, + 0x10, 0x3b, 0x70, 0x98, 0xb8, 0xc0, 0x69, 0x42, 0xed, 0x1b, 0xf0, 0x04, 0x68, 0x4e, 0xb3, 0x91, + 0xb4, 0x08, 0x0e, 0xdd, 0xcd, 0xce, 0xf7, 0x73, 0xbe, 0xef, 0xb3, 0x13, 0xa3, 0x0e, 0x49, 0xb3, + 0xb1, 0xa0, 0x12, 0x13, 0x88, 0xf4, 0x7b, 0x01, 0x2a, 0xd2, 0xd3, 0x50, 0x48, 0xae, 0xb9, 0xb3, + 0x79, 0x2e, 0x85, 0x46, 0xf2, 0xb6, 0x28, 0xa7, 0xdc, 0x88, 0xd1, 0xe9, 0xa8, 0xe4, 0xbc, 0x4e, + 0xca, 0x55, 0xce, 0xd5, 0x61, 0x29, 0x94, 0x93, 0x85, 0x74, 0xaf, 0x9c, 0x45, 0x95, 0xc3, 0x64, + 0x27, 0x01, 0x8d, 0x77, 0xaa, 0x79, 0x49, 0x05, 0xdf, 0x2d, 0x74, 0x63, 0xa4, 0xe8, 0x81, 0xe4, + 0x82, 0x2b, 0x78, 0x59, 0x6a, 0xce, 0x33, 0x74, 0x39, 0x95, 0x80, 0x35, 0x97, 0xae, 0xd5, 0xb5, + 0x7a, 0x57, 0x86, 0xd1, 0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0xcf, 0xf0, 0x6e, 0xd8, 0xfc, 0x0d, + 0xc2, 0xa5, 0x23, 0xf5, 0xfa, 0xff, 0x01, 0x55, 0x5e, 0xa7, 0x1e, 0x8d, 0x33, 0x5f, 0xed, 0x51, + 0x87, 0xfe, 0xe2, 0xb1, 0x7a, 0xbf, 0x9d, 0x43, 0x74, 0xad, 0xbe, 0xd7, 0xc1, 0xca, 0xd5, 0x35, + 0xc6, 0xbb, 0xff, 0x6f, 0xa6, 0x32, 0x18, 0xc2, 0xd1, 0xcc, 0xb7, 0x8e, 0x67, 0xbe, 0xf5, 0x73, + 0xe6, 0x5b, 0x9f, 0xe6, 0x7e, 0xeb, 0x78, 0xee, 0xb7, 0x7e, 0xcc, 0xfd, 0xd6, 0xab, 0xe7, 0x94, + 0xe9, 0x37, 0xe3, 0x24, 0x4c, 0x79, 0x1e, 0x7d, 0x60, 0x34, 0x01, 0x18, 0xe0, 0x2c, 0x63, 0xb8, + 0x48, 0x21, 0x22, 0x4c, 0x69, 0xc9, 0x92, 0xb1, 0x06, 0x32, 0x48, 0x79, 0x2e, 0xca, 0xc7, 0x83, + 0x0c, 0x08, 0x05, 0x19, 0x4d, 0xa3, 0xe6, 0x65, 0x94, 0x5c, 0x32, 0x37, 0xc4, 0xc3, 0xdf, 0x01, + 0x00, 0x00, 0xff, 0xff, 0xa1, 0xd7, 0xa5, 0xd1, 0xa7, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -416,7 +415,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { func (c *msgClient) ProposeUpgrade(ctx context.Context, in *MsgProposeUpgrade, opts ...grpc.CallOption) (*MsgProposeUpgradeResponse, error) { out := new(MsgProposeUpgradeResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclupgrade.Msg/ProposeUpgrade", in, out, opts...) + err := c.cc.Invoke(ctx, "/dclupgrade.types.Msg/ProposeUpgrade", in, out, opts...) if err != nil { return nil, err } @@ -425,7 +424,7 @@ func (c *msgClient) ProposeUpgrade(ctx context.Context, in *MsgProposeUpgrade, o func (c *msgClient) ApproveUpgrade(ctx context.Context, in *MsgApproveUpgrade, opts ...grpc.CallOption) (*MsgApproveUpgradeResponse, error) { out := new(MsgApproveUpgradeResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclupgrade.Msg/ApproveUpgrade", in, out, opts...) + err := c.cc.Invoke(ctx, "/dclupgrade.types.Msg/ApproveUpgrade", in, out, opts...) if err != nil { return nil, err } @@ -434,7 +433,7 @@ func (c *msgClient) ApproveUpgrade(ctx context.Context, in *MsgApproveUpgrade, o func (c *msgClient) RejectUpgrade(ctx context.Context, in *MsgRejectUpgrade, opts ...grpc.CallOption) (*MsgRejectUpgradeResponse, error) { out := new(MsgRejectUpgradeResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclupgrade.Msg/RejectUpgrade", in, out, opts...) + err := c.cc.Invoke(ctx, "/dclupgrade.types.Msg/RejectUpgrade", in, out, opts...) if err != nil { return nil, err } @@ -476,7 +475,7 @@ func _Msg_ProposeUpgrade_Handler(srv interface{}, ctx context.Context, dec func( } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.dclupgrade.Msg/ProposeUpgrade", + FullMethod: "/dclupgrade.types.Msg/ProposeUpgrade", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ProposeUpgrade(ctx, req.(*MsgProposeUpgrade)) @@ -494,7 +493,7 @@ func _Msg_ApproveUpgrade_Handler(srv interface{}, ctx context.Context, dec func( } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.dclupgrade.Msg/ApproveUpgrade", + FullMethod: "/dclupgrade.types.Msg/ApproveUpgrade", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ApproveUpgrade(ctx, req.(*MsgApproveUpgrade)) @@ -512,7 +511,7 @@ func _Msg_RejectUpgrade_Handler(srv interface{}, ctx context.Context, dec func(i } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.dclupgrade.Msg/RejectUpgrade", + FullMethod: "/dclupgrade.types.Msg/RejectUpgrade", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).RejectUpgrade(ctx, req.(*MsgRejectUpgrade)) @@ -521,7 +520,7 @@ func _Msg_RejectUpgrade_Handler(srv interface{}, ctx context.Context, dec func(i } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "zigbeealliance.distributedcomplianceledger.dclupgrade.Msg", + ServiceName: "dclupgrade.types.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -538,7 +537,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "dclupgrade/tx.proto", + Metadata: "dclupgrade/types/tx.proto", } func (m *MsgProposeUpgrade) Marshal() (dAtA []byte, err error) { diff --git a/x/model/client/cli/tx_model_test.go b/x/model/client/cli/tx_model_test.go index 699901bd4..6de05bc97 100644 --- a/x/model/client/cli/tx_model_test.go +++ b/x/model/client/cli/tx_model_test.go @@ -41,7 +41,7 @@ func TestCreateModel(t *testing.T) { common := []string{ fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()), fmt.Sprintf("--%s", flags.FlagSkipConfirmation), - fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastBlock), + fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync), } for _, tc := range []struct { @@ -83,7 +83,7 @@ func TestUpdateModel(t *testing.T) { common := []string{ fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()), fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation), - fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastBlock), + fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync), } args := []string{ @@ -169,7 +169,7 @@ func TestDeleteModel(t *testing.T) { common := []string{ fmt.Sprintf("--%s=%s", flags.FlagFrom, val.Address.String()), fmt.Sprintf("--%s=true", flags.FlagSkipConfirmation), - fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastBlock), + fmt.Sprintf("--%s=%s", flags.FlagBroadcastMode, flags.BroadcastSync), } args := []string{ diff --git a/x/model/handler_test.go b/x/model/handler_test.go index 854e241da..1fd3d60dc 100644 --- a/x/model/handler_test.go +++ b/x/model/handler_test.go @@ -26,8 +26,8 @@ import ( testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" testkeeper "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/testdata" - dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/compliance" commontypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/common/types" + dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" dclauthtypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/types" @@ -83,7 +83,7 @@ func (m *ComplianceKeeperMock) GetComplianceInfo( return val, args.Bool(0) } -var _ types.ComplianceKeeper = &ComplianceKeeperMock{} +var _ keeper.ComplianceKeeper = &ComplianceKeeperMock{} type TestSetup struct { T *testing.T diff --git a/x/model/keeper/keeper.go b/x/model/keeper/keeper.go index 7aeaa8f1c..7694cf029 100644 --- a/x/model/keeper/keeper.go +++ b/x/model/keeper/keeper.go @@ -7,6 +7,7 @@ import ( "github.com/cosmos/cosmos-sdk/codec" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" + compliancetypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/types" ) @@ -17,7 +18,7 @@ type ( memKey storetypes.StoreKey dclauthKeeper types.DclauthKeeper - complianceKeeper types.ComplianceKeeper + complianceKeeper ComplianceKeeper } ) @@ -27,7 +28,7 @@ func NewKeeper( memKey storetypes.StoreKey, dclauthKeeper types.DclauthKeeper, - complianceKeeper types.ComplianceKeeper, + complianceKeeper ComplianceKeeper, ) *Keeper { return &Keeper{ cdc: cdc, @@ -39,10 +40,21 @@ func NewKeeper( } } -func (k *Keeper) SetComplianceKeeper(complianceKeeper types.ComplianceKeeper) { +func (k *Keeper) SetComplianceKeeper(complianceKeeper ComplianceKeeper) { k.complianceKeeper = complianceKeeper } func (k Keeper) Logger(ctx sdk.Context) log.Logger { return ctx.Logger().With("module", fmt.Sprintf("x/%s", types.ModuleName)) } + +type ComplianceKeeper interface { + // Methods imported from compliance should be defined here + GetComplianceInfo( + ctx sdk.Context, + vid int32, + pid int32, + softwareVersion uint32, + certificationType string, + ) (val compliancetypes.ComplianceInfo, found bool) +} diff --git a/x/model/keeper/msg_server_model_version.go b/x/model/keeper/msg_server_model_version.go index ee87ac939..0fdca5469 100644 --- a/x/model/keeper/msg_server_model_version.go +++ b/x/model/keeper/msg_server_model_version.go @@ -5,7 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/compliance" + + dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/types" ) diff --git a/x/model/types/expected_keepers.go b/x/model/types/expected_keepers.go index 5e4c0c7c2..17f9f964a 100644 --- a/x/model/types/expected_keepers.go +++ b/x/model/types/expected_keepers.go @@ -2,7 +2,7 @@ package types import ( sdk "github.com/cosmos/cosmos-sdk/types" - dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/compliance" + "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" ) @@ -12,14 +12,3 @@ type DclauthKeeper interface { HasVendorID(ctx sdk.Context, addr sdk.AccAddress, vid int32) bool HasRightsToChange(ctx sdk.Context, addr sdk.AccAddress, pid int32) bool } - -type ComplianceKeeper interface { - // Methods imported from compliance should be defined here - GetComplianceInfo( - ctx sdk.Context, - vid int32, - pid int32, - softwareVersion uint32, - certificationType string, - ) (val dclcompltypes.ComplianceInfo, found bool) -} diff --git a/x/model/types/genesis.pb.go b/x/model/types/genesis.pb.go index efb153deb..83782fdb1 100644 --- a/x/model/types/genesis.pb.go +++ b/x/model/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: model/genesis.proto +// source: model/types/genesis.proto package types @@ -35,7 +35,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} } func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_e97faa271237aab5, []int{0} + return fileDescriptor_cf0581302bd2e3d5, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -93,34 +93,34 @@ func (m *GenesisState) GetModelVersionsList() []ModelVersions { } func init() { - proto.RegisterType((*GenesisState)(nil), "zigbeealliance.distributedcomplianceledger.model.GenesisState") + proto.RegisterType((*GenesisState)(nil), "model.types.GenesisState") } -func init() { proto.RegisterFile("model/genesis.proto", fileDescriptor_e97faa271237aab5) } +func init() { proto.RegisterFile("model/types/genesis.proto", fileDescriptor_cf0581302bd2e3d5) } -var fileDescriptor_e97faa271237aab5 = []byte{ - // 334 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x92, 0x31, 0x4b, 0x33, 0x31, - 0x18, 0xc7, 0xef, 0xde, 0x96, 0x17, 0x8c, 0x0e, 0x36, 0x3a, 0x68, 0x85, 0x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x07, 0xb4, 0xe2, 0x6e, 0x38, 0xdd, 0x3f, 0xa7, 0x3b, 0x59, 0x5e, 0x77, 0x3d, - 0x59, 0x83, 0x65, 0xc6, 0xc3, 0x05, 0x5a, 0x77, 0x87, 0x96, 0x1f, 0x89, 0x73, 0x54, 0x9c, 0xe3, - 0xf4, 0x97, 0x8e, 0x40, 0x0a, 0xaa, 0x39, 0x3a, 0x36, 0xa8, 0x56, 0xce, 0xfc, 0x14, 0xab, 0x4e, - 0x79, 0xf6, 0x37, 0xe5, 0x74, 0x88, 0xf3, 0xfc, 0xe6, 0xe3, 0x60, 0x44, 0xe2, 0xe1, 0x88, 0xc4, - 0x5f, 0x23, 0x12, 0xbf, 0x8d, 0x49, 0x34, 0x1c, 0x93, 0xe8, 0x63, 0x4c, 0xa2, 0xfb, 0x0b, 0x21, - 0xed, 0x53, 0x2f, 0xa1, 0xa9, 0xea, 0x32, 0x6f, 0x6f, 0x4c, 0xf5, 0xac, 0xa4, 0x6f, 0xcc, 0xfc, - 0x0d, 0xdf, 0x00, 0x7b, 0xf6, 0xbf, 0x89, 0xd9, 0x97, 0x02, 0x4c, 0xf2, 0xdf, 0xfd, 0x9a, 0xe3, - 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x2c, 0x08, 0xde, 0x8c, 0xfb, 0x02, 0x00, 0x00, +var fileDescriptor_cf0581302bd2e3d5 = []byte{ + // 324 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xcc, 0xcd, 0x4f, 0x49, + 0xcd, 0xd1, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, + 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x06, 0x4b, 0xe9, 0x81, 0xa5, 0xa4, 0x14, 0x91, 0xd5, + 0x95, 0xa5, 0xe6, 0xa5, 0xe4, 0x17, 0xc5, 0x17, 0x14, 0xe5, 0xa7, 0x94, 0x26, 0x97, 0x40, 0xd5, + 0x4b, 0x89, 0x23, 0x2b, 0x81, 0xe8, 0x85, 0x48, 0xc8, 0x63, 0x48, 0xc4, 0x97, 0xa5, 0x16, 0x15, + 0x67, 0xe6, 0xe7, 0x41, 0x15, 0x28, 0xe0, 0x54, 0x00, 0x33, 0x5b, 0x24, 0x3d, 0x3f, 0x3d, 0x1f, + 0xcc, 0xd4, 0x07, 0xb1, 0x20, 0xa2, 0x4a, 0xdb, 0x98, 0xb8, 0x78, 0xdc, 0x21, 0x6e, 0x0e, 0x2e, + 0x49, 0x2c, 0x49, 0x15, 0x0a, 0xe4, 0x12, 0x82, 0xb8, 0x2d, 0x00, 0xea, 0x34, 0x9f, 0xcc, 0xe2, + 0x12, 0x09, 0x46, 0x05, 0x66, 0x0d, 0x6e, 0x23, 0x69, 0x3d, 0x24, 0xff, 0xe8, 0x85, 0xa1, 0x28, + 0x73, 0x62, 0x39, 0x71, 0x4f, 0x9e, 0x21, 0x08, 0x8b, 0x66, 0x21, 0x33, 0x2e, 0x4e, 0xb0, 0x3e, + 0xb0, 0x49, 0x4c, 0x60, 0x93, 0x84, 0x50, 0x4c, 0xf2, 0x05, 0xb1, 0xa1, 0x06, 0x20, 0x94, 0x0a, + 0x79, 0x73, 0x09, 0x80, 0x39, 0x61, 0x10, 0x8f, 0x80, 0xb5, 0x33, 0x83, 0xb5, 0x4b, 0x62, 0x6a, + 0x87, 0x2a, 0x82, 0x9a, 0x82, 0xa1, 0x51, 0xc8, 0x8f, 0x4b, 0x10, 0x59, 0x0c, 0xe2, 0x2d, 0x16, + 0xb0, 0x69, 0x52, 0x38, 0x4d, 0x83, 0xf9, 0x0a, 0x53, 0xab, 0x53, 0xc2, 0x89, 0x47, 0x72, 0x8c, + 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, + 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0xb9, 0xa5, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, + 0xe7, 0xea, 0x57, 0x65, 0xa6, 0x27, 0xa5, 0xa6, 0xea, 0x26, 0xe6, 0xe4, 0x64, 0x26, 0xe6, 0x25, + 0xa7, 0xea, 0xa7, 0x64, 0x16, 0x97, 0x14, 0x65, 0x26, 0x95, 0x96, 0xa4, 0xa6, 0xe8, 0x26, 0xe7, + 0xe7, 0x16, 0x40, 0x84, 0x75, 0x73, 0x52, 0x53, 0xd2, 0x53, 0x8b, 0xf4, 0x2b, 0xf4, 0x91, 0x62, + 0x31, 0x89, 0x0d, 0x1c, 0x43, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6d, 0x3f, 0xeb, 0x61, + 0x60, 0x02, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/model/types/model.pb.go b/x/model/types/model.pb.go index 966614c75..9d09e0863 100644 --- a/x/model/types/model.pb.go +++ b/x/model/types/model.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: model/model.proto +// source: model/types/model.proto package types @@ -48,7 +48,7 @@ func (m *Model) Reset() { *m = Model{} } func (m *Model) String() string { return proto.CompactTextString(m) } func (*Model) ProtoMessage() {} func (*Model) Descriptor() ([]byte, []int) { - return fileDescriptor_312ac5bcab6cbb43, []int{0} + return fileDescriptor_d80b9ba641dc9845, []int{0} } func (m *Model) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -204,46 +204,45 @@ func (m *Model) GetCreator() string { } func init() { - proto.RegisterType((*Model)(nil), "zigbeealliance.distributedcomplianceledger.model.Model") + proto.RegisterType((*Model)(nil), "model.types.Model") } -func init() { proto.RegisterFile("model/model.proto", fileDescriptor_312ac5bcab6cbb43) } +func init() { proto.RegisterFile("model/types/model.proto", fileDescriptor_d80b9ba641dc9845) } -var fileDescriptor_312ac5bcab6cbb43 = []byte{ - // 514 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x4f, 0x6f, 0xd3, 0x30, - 0x1c, 0x5d, 0x18, 0xed, 0x98, 0xb7, 0xc2, 0x66, 0x21, 0x30, 0x3b, 0x44, 0x65, 0x70, 0xa8, 0x90, - 0xda, 0x20, 0xb8, 0x70, 0x42, 0x62, 0x48, 0x13, 0x95, 0xb6, 0x09, 0xb5, 0x70, 0xd9, 0x01, 0x70, - 0xec, 0xdf, 0x8a, 0x25, 0xc7, 0xb6, 0x6c, 0xa7, 0x50, 0x3e, 0x05, 0x1f, 0x86, 0x0f, 0xc1, 0x71, - 0xe2, 0xc4, 0x0d, 0xd4, 0x7e, 0x11, 0x64, 0xa7, 0xa3, 0xa9, 0xd0, 0xfe, 0x70, 0x89, 0xe2, 0xf7, - 0xde, 0xef, 0x97, 0xa7, 0xe4, 0xbd, 0xa0, 0xed, 0x42, 0x73, 0x90, 0x59, 0xbc, 0xf6, 0x8c, 0xd5, - 0x5e, 0xe3, 0xc7, 0x5f, 0xc4, 0x28, 0x07, 0xa0, 0x52, 0x0a, 0xaa, 0x18, 0xf4, 0xb8, 0x70, 0xde, - 0x8a, 0xbc, 0xf4, 0xc0, 0x99, 0x2e, 0x4c, 0x85, 0x4a, 0xe0, 0x23, 0xb0, 0xbd, 0x38, 0xb7, 0x73, - 0x8f, 0x69, 0x57, 0x68, 0xf7, 0x3e, 0xce, 0x67, 0xd5, 0xa1, 0x5a, 0xb6, 0xfb, 0xab, 0x89, 0x1a, - 0x87, 0x41, 0x84, 0xb7, 0xd0, 0xea, 0x58, 0x70, 0x92, 0xb4, 0x93, 0x4e, 0x63, 0x10, 0x6e, 0x03, - 0x62, 0x04, 0x27, 0xd7, 0x2a, 0xc4, 0x08, 0x8e, 0x77, 0xd1, 0x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x3e, 0x47, 0x2b, 0xae, 0x58, 0x06, 0x43, 0x36, 0x5c, 0x69, 0x8c, 0xb6, 0x3e, 0x48, 0x6e, - 0x56, 0xd9, 0x58, 0x20, 0x31, 0x3b, 0x55, 0x96, 0x02, 0x7f, 0x6b, 0x9e, 0x9d, 0xbf, 0x08, 0xbe, - 0x83, 0x9a, 0xd2, 0x9d, 0x04, 0x6e, 0x2b, 0x72, 0xf3, 0x53, 0x48, 0xae, 0x74, 0x27, 0x03, 0x18, - 0x8b, 0x60, 0x96, 0x6c, 0xc7, 0x1c, 0xd5, 0x21, 0xfc, 0x04, 0xad, 0x31, 0x0b, 0xd4, 0x6b, 0x4b, - 0x70, 0x18, 0xdd, 0x23, 0x3f, 0xbe, 0x75, 0x6f, 0xcf, 0x0b, 0xf5, 0x82, 0x73, 0x0b, 0xce, 0x0d, - 0xbd, 0x15, 0x6a, 0x34, 0x38, 0x13, 0xee, 0x7d, 0xf8, 0x3e, 0x4d, 0x93, 0xd3, 0x69, 0x9a, 0xfc, - 0x9e, 0xa6, 0xc9, 0xd7, 0x59, 0xba, 0x72, 0x3a, 0x4b, 0x57, 0x7e, 0xce, 0xd2, 0x95, 0xe3, 0xfd, - 0x91, 0xf0, 0x1f, 0xcb, 0xbc, 0xc7, 0x74, 0x91, 0x55, 0x9d, 0xee, 0x9e, 0x95, 0x3a, 0xab, 0x95, - 0xba, 0xbb, 0x68, 0x75, 0xb7, 0xaa, 0x75, 0xf6, 0xb9, 0xfa, 0x21, 0x64, 0x7e, 0x62, 0xc0, 0xe5, - 0xcd, 0x58, 0xe5, 0xa7, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xe2, 0xf9, 0xa4, 0x96, 0x2c, 0x04, - 0x00, 0x00, +var fileDescriptor_d80b9ba641dc9845 = []byte{ + // 500 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0xcd, 0x6e, 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c9, 0xed, 0xd8, 0xa3, 0xa6, + 0x84, 0x1f, 0xa3, 0x35, 0x66, 0x81, 0x7a, 0x6d, 0x09, 0x0e, 0x57, 0xf7, 0xc8, 0xf7, 0xaf, 0x83, + 0x3b, 0x8b, 0x85, 0x7a, 0xce, 0xb9, 0x05, 0xe7, 0xc6, 0xde, 0x0a, 0x55, 0x8c, 0xfe, 0x80, 0x7b, + 0xef, 0xbf, 0xcd, 0xd2, 0xe4, 0x74, 0x96, 0x26, 0xbf, 0x66, 0x69, 0xf2, 0x65, 0x9e, 0xae, 0x9c, + 0xce, 0xd3, 0x95, 0x1f, 0xf3, 0x74, 0xe5, 0x78, 0xbf, 0x10, 0xfe, 0x43, 0x95, 0xef, 0x32, 0x5d, + 0x66, 0x9f, 0x45, 0x91, 0x03, 0x0c, 0xa8, 0x94, 0x82, 0x2a, 0x06, 0x19, 0x17, 0xce, 0x5b, 0x91, + 0x57, 0x1e, 0xf8, 0x80, 0xe9, 0xd2, 0xd4, 0xf2, 0x40, 0x02, 0x2f, 0xc0, 0x66, 0x9f, 0xb2, 0xc6, + 0xde, 0xe7, 0xed, 0xb8, 0xca, 0x4f, 0x7e, 0x07, 0x00, 0x00, 0xff, 0xff, 0x0c, 0x66, 0x5d, 0x08, + 0x0d, 0x04, 0x00, 0x00, } func (m *Model) Marshal() (dAtA []byte, err error) { diff --git a/x/model/types/model_version.pb.go b/x/model/types/model_version.pb.go index 3d794e160..965307897 100644 --- a/x/model/types/model_version.pb.go +++ b/x/model/types/model_version.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: model/model_version.proto +// source: model/types/model_version.proto package types @@ -45,7 +45,7 @@ func (m *ModelVersion) Reset() { *m = ModelVersion{} } func (m *ModelVersion) String() string { return proto.CompactTextString(m) } func (*ModelVersion) ProtoMessage() {} func (*ModelVersion) Descriptor() ([]byte, []int) { - return fileDescriptor_a0324d25600a9825, []int{0} + return fileDescriptor_48ee588b61525123, []int{0} } func (m *ModelVersion) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -180,42 +180,42 @@ func (m *ModelVersion) GetCreator() string { } func init() { - proto.RegisterType((*ModelVersion)(nil), "zigbeealliance.distributedcomplianceledger.model.ModelVersion") -} - -func init() { proto.RegisterFile("model/model_version.proto", fileDescriptor_a0324d25600a9825) } - -var fileDescriptor_a0324d25600a9825 = []byte{ - // 463 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0xc1, 0x6e, 0x13, 0x31, - 0x10, 0xad, 0x69, 0x93, 0xb6, 0x6e, 0x4b, 0x91, 0x29, 0xc8, 0x45, 0x68, 0xb5, 0xe2, 0xb4, 0x97, - 0x64, 0xab, 0xc2, 0x0f, 0x34, 0x48, 0x95, 0x38, 0xd0, 0xc3, 0x06, 0x7a, 0xe0, 0x52, 0xbc, 0xeb, - 0x49, 0x6a, 0x61, 0xaf, 0x57, 0xb6, 0x53, 0xda, 0x7e, 0x04, 0xe2, 0x63, 0xf8, 0x08, 0x8e, 0x15, - 0x27, 0x8e, 0x28, 0xf9, 0x11, 0x64, 0x7b, 0x2b, 0xa2, 0x55, 0xe8, 0x65, 0xb5, 0xf3, 0xe6, 0xcd, - 0x1b, 0x8f, 0xc7, 0x0f, 0x1f, 0x2a, 0xcd, 0x41, 0xe6, 0xe1, 0x7b, 0x71, 0x05, 0xc6, 0x0a, 0x5d, - 0x0f, 0x1b, 0xa3, 0x9d, 0x26, 0x47, 0xb7, 0x62, 0x5a, 0x02, 0x30, 0x29, 0x05, 0xab, 0x2b, 0x18, - 0x72, 0x61, 0x9d, 0x11, 0xe5, 0xcc, 0x01, 0xaf, 0xb4, 0x6a, 0x22, 0x2a, 0x81, 0x4f, 0xc1, 0x0c, - 0x43, 0xfd, 0x8b, 0xc3, 0x4a, 0x5b, 0xa5, 0xed, 0x45, 0xa8, 0xcf, 0x63, 0x10, 0xc5,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0xe3, 0xce, 0x0a, 0x76, 0xc3, 0x0a, 0x1e, 0xe4, 0x04, 0x0d, 0x76, - 0xfd, 0x7f, 0x8d, 0xbd, 0x56, 0xe3, 0x01, 0x8e, 0x3f, 0xb1, 0x01, 0x09, 0xcc, 0xc2, 0x99, 0x76, - 0x60, 0xfd, 0xb5, 0x3c, 0x0e, 0x73, 0x75, 0x61, 0x72, 0x8c, 0x37, 0x2b, 0x03, 0xcc, 0x69, 0x43, - 0xf7, 0x3d, 0x63, 0x44, 0x7f, 0xfd, 0x18, 0x1c, 0xb4, 0xef, 0xef, 0x84, 0x73, 0x03, 0xd6, 0xc6, - 0x95, 0x17, 0xf7, 0xc4, 0xd1, 0xe7, 0x9f, 0xf3, 0x04, 0xdd, 0xcd, 0x13, 0xf4, 0x67, 0x9e, 0xa0, - 0xef, 0x8b, 0x64, 0xed, 0x6e, 0x91, 0xac, 0xfd, 0x5e, 0x24, 0x6b, 0x9f, 0x4e, 0xa7, 0xc2, 0x5d, - 0xce, 0xca, 0x61, 0xa5, 0x55, 0x1e, 0x2d, 0x30, 0xb8, 0xf7, 0x40, 0xbe, 0xe4, 0x81, 0xc1, 0x3f, - 0x13, 0x0c, 0xa2, 0x0b, 0xf2, 0xeb, 0xe8, 0xa3, 0xdc, 0xdd, 0x34, 0x60, 0xcb, 0x7e, 0x78, 0xf9, - 0xaf, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0xf0, 0x4d, 0x3f, 0xcf, 0x63, 0x03, 0x00, 0x00, + proto.RegisterType((*ModelVersion)(nil), "model.types.ModelVersion") +} + +func init() { proto.RegisterFile("model/types/model_version.proto", fileDescriptor_48ee588b61525123) } + +var fileDescriptor_48ee588b61525123 = []byte{ + // 452 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x93, 0x41, 0x6f, 0xd3, 0x30, + 0x14, 0xc7, 0x6b, 0xb6, 0x76, 0x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bd, 0x3f, 0xab, 0xa8, 0xf7, 0xf9, 0x74, 0x2e, 0xdc, 0xe5, 0x22, 0x1f, 0x17, 0x5a, 0xa5, + 0xb7, 0x62, 0x9e, 0x03, 0x8c, 0x98, 0x94, 0x82, 0x95, 0x05, 0xa4, 0x5c, 0x58, 0x67, 0x44, 0xbe, + 0x70, 0xc0, 0x47, 0x85, 0x56, 0x55, 0x8d, 0x47, 0x12, 0xf8, 0x1c, 0x4c, 0x7a, 0x9d, 0xb6, 0x7e, + 0x97, 0x7c, 0x10, 0x36, 0xff, 0xcd, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6d, 0xe4, 0x16, 0xa5, + 0x44, 0x03, 0x00, 0x00, } func (m *ModelVersion) Marshal() (dAtA []byte, err error) { diff --git a/x/model/types/model_versions.pb.go b/x/model/types/model_versions.pb.go index 6a6f486d4..36678dbfb 100644 --- a/x/model/types/model_versions.pb.go +++ b/x/model/types/model_versions.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: model/model_versions.proto +// source: model/types/model_versions.proto package types @@ -32,7 +32,7 @@ func (m *ModelVersions) Reset() { *m = ModelVersions{} } func (m *ModelVersions) String() string { return proto.CompactTextString(m) } func (*ModelVersions) ProtoMessage() {} func (*ModelVersions) Descriptor() ([]byte, []int) { - return fileDescriptor_f2ffc766b6a650e7, []int{0} + return fileDescriptor_bb9624ed7f26c9c3, []int{0} } func (m *ModelVersions) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -83,27 +83,27 @@ func (m *ModelVersions) GetSoftwareVersions() []uint32 { } func init() { - proto.RegisterType((*ModelVersions)(nil), "zigbeealliance.distributedcomplianceledger.model.ModelVersions") + proto.RegisterType((*ModelVersions)(nil), "model.types.ModelVersions") } -func init() { proto.RegisterFile("model/model_versions.proto", fileDescriptor_f2ffc766b6a650e7) } +func init() { proto.RegisterFile("model/types/model_versions.proto", fileDescriptor_bb9624ed7f26c9c3) } -var fileDescriptor_f2ffc766b6a650e7 = []byte{ - // 223 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xca, 0xcd, 0x4f, 0x49, - 0xcd, 0xd1, 0x07, 0x93, 0xf1, 0x65, 0xa9, 0x45, 0xc5, 0x99, 0xf9, 0x79, 0xc5, 0x7a, 0x05, 0x45, - 0xf9, 0x25, 0xf9, 0x42, 0x06, 0x55, 0x99, 0xe9, 0x49, 0xa9, 0xa9, 0x89, 0x39, 0x39, 0x99, 0x89, - 0x79, 0xc9, 0xa9, 0x7a, 0x29, 0x99, 0xc5, 0x25, 0x45, 0x99, 0x49, 0xa5, 0x25, 0xa9, 0x29, 0xc9, - 0xf9, 0xb9, 0x05, 0x10, 0xd1, 0x9c, 0xd4, 0x94, 0xf4, 0xd4, 0x22, 0x3d, 0xb0, 0x01, 0x4a, 0xf1, - 0x5c, 0xbc, 0xbe, 0x20, 0x46, 0x18, 0xd4, 0x20, 0x21, 0x01, 0x2e, 0xe6, 0xb2, 0xcc, 0x14, 0x09, - 0x46, 0x05, 0x46, 0x0d, 0xd6, 0x20, 0x10, 0x13, 0x24, 0x52, 0x90, 0x99, 0x22, 0xc1, 0x04, 0x11, - 0x29, 0xc8, 0x4c, 0x11, 0xd2, 0xe2, 0x12, 0x28, 0xce, 0x4f, 0x2b, 0x29, 0x4f, 0x2c, 0x4a, 0x85, - 0xe9, 0x93, 0x60, 0x56, 0x60, 0xd6, 0xe0, 0x0d, 0xc2, 0x10, 0x77, 0x4a, 0x38, 0xf1, 0x48, 0x8e, - 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, - 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0xb7, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, - 0xfc, 0x5c, 0x7d, 0x88, 0xbb, 0x75, 0x61, 0x0e, 0xd7, 0x47, 0x72, 0xb8, 0x2e, 0xc2, 0xe5, 0xba, - 0x10, 0xa7, 0xeb, 0x57, 0x40, 0x7c, 0xaf, 0x5f, 0x52, 0x59, 0x90, 0x5a, 0x9c, 0xc4, 0x06, 0xf6, - 0xbb, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x4c, 0xb5, 0x84, 0xae, 0x19, 0x01, 0x00, 0x00, +var fileDescriptor_bb9624ed7f26c9c3 = []byte{ + // 214 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0xc8, 0xcd, 0x4f, 0x49, + 0xcd, 0xd1, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x07, 0xb3, 0xe3, 0xcb, 0x52, 0x8b, 0x8a, 0x33, + 0xf3, 0xf3, 0x8a, 0xf5, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0xb8, 0xc1, 0xa2, 0x7a, 0x60, 0x15, + 0x4a, 0xf1, 0x5c, 0xbc, 0xbe, 0x20, 0x6e, 0x18, 0x54, 0x8d, 0x90, 0x00, 0x17, 0x73, 0x59, 0x66, + 0x8a, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x6b, 0x10, 0x88, 0x09, 0x12, 0x29, 0xc8, 0x4c, 0x91, 0x60, + 0x82, 0x88, 0x14, 0x64, 0xa6, 0x08, 0x69, 0x71, 0x09, 0x14, 0xe7, 0xa7, 0x95, 0x94, 0x27, 0x16, + 0xa5, 0xc2, 0xf4, 0x49, 0x30, 0x2b, 0x30, 0x6b, 0xf0, 0x06, 0x61, 0x88, 0x3b, 0x25, 0x9c, 0x78, + 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, + 0x78, 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x5b, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, + 0x5e, 0x72, 0x7e, 0xae, 0x7e, 0x55, 0x66, 0x7a, 0x52, 0x6a, 0xaa, 0x6e, 0x62, 0x4e, 0x4e, 0x66, + 0x62, 0x5e, 0x72, 0xaa, 0x7e, 0x4a, 0x66, 0x71, 0x49, 0x51, 0x66, 0x52, 0x69, 0x49, 0x6a, 0x8a, + 0x6e, 0x72, 0x7e, 0x6e, 0x01, 0x44, 0x58, 0x37, 0x27, 0x35, 0x25, 0x3d, 0xb5, 0x48, 0xbf, 0x42, + 0x1f, 0xc9, 0x93, 0x49, 0x6c, 0x60, 0x6f, 0x19, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x0a, 0x36, + 0x7e, 0xee, 0xfa, 0x00, 0x00, 0x00, } func (m *ModelVersions) Marshal() (dAtA []byte, err error) { diff --git a/x/model/types/product.pb.go b/x/model/types/product.pb.go index ffa148926..57517f0fa 100644 --- a/x/model/types/product.pb.go +++ b/x/model/types/product.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: model/product.proto +// source: model/types/product.proto package types @@ -32,7 +32,7 @@ func (m *Product) Reset() { *m = Product{} } func (m *Product) String() string { return proto.CompactTextString(m) } func (*Product) ProtoMessage() {} func (*Product) Descriptor() ([]byte, []int) { - return fileDescriptor_84a2bcf6440d083f, []int{0} + return fileDescriptor_23133626a9497b10, []int{0} } func (m *Product) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -83,27 +83,26 @@ func (m *Product) GetPartNumber() string { } func init() { - proto.RegisterType((*Product)(nil), "zigbeealliance.distributedcomplianceledger.model.Product") + proto.RegisterType((*Product)(nil), "model.types.Product") } -func init() { proto.RegisterFile("model/product.proto", fileDescriptor_84a2bcf6440d083f) } +func init() { proto.RegisterFile("model/types/product.proto", fileDescriptor_23133626a9497b10) } -var fileDescriptor_84a2bcf6440d083f = []byte{ - // 219 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0xcf, 0xbd, 0x4a, 0xc5, 0x30, - 0x1c, 0x05, 0xf0, 0xc6, 0xeb, 0x07, 0x66, 0x92, 0xb8, 0x74, 0x0a, 0x17, 0xa7, 0xbb, 0x34, 0x11, - 0x7c, 0x03, 0x07, 0x47, 0x95, 0x8e, 0x4e, 0xe6, 0xe3, 0x4f, 0x0d, 0x24, 0x4d, 0x48, 0x13, 0x50, - 0x9f, 0xc2, 0xc7, 0x72, 0xec, 0xe8, 0x28, 0xed, 0x8b, 0x88, 0x09, 0x62, 0xb7, 0xc3, 0x09, 0xf9, - 0xf3, 0x3b, 0xf8, 0xd2, 0x79, 0x0d, 0x96, 0x87, 0xe8, 0x75, 0x56, 0x89, 0x85, 0xe8, 0x93, 0x27, - 0xd7, 0xef, 0x66, 0x90, 0x00, 0xc2, 0x5a, 0x23, 0x46, 0x05, 0x4c, 0x9b, 0x29, 0x45, 0x23, 0x73, - 0x02, 0xad, 0xbc, 0x0b, 0xb5, 0xb5, 0xa0, 0x07, 0x88, 0xac, 0xfc, 0xbf, 0x7a, 0xc0, 0x67, 0x8f, - 0xf5, 0x04, 0xb9, 0xc0, 0xbb, 0x60, 0x74, 0x8b, 0xf6, 0xe8, 0x70, 0xd2, 0xff, 0x46, 0x42, 0xf0, - 0xf1, 0x28, 0x1c, 0xb4, 0x47, 0x7b, 0x74, 0x38, 0xef, 0x4b, 0x26, 0x14, 0xe3, 0x20, 0x62, 0xba, - 0xcf, 0x4e, 0x42, 0x6c, 0x77, 0xe5, 0x65, 0xd3, 0xdc, 0x3e, 0x7f, 0x2e, 0x14, 0xcd, 0x0b, 0x45, - 0xdf, 0x0b, 0x45, 0x1f, 0x2b, 0x6d, 0xe6, 0x95, 0x36, 0x5f, 0x2b, 0x6d, 0x9e, 0xee, 0x06, 0x93, - 0x5e, 0xb2, 0x64, 0xca, 0x3b, 0x5e, 0x9d, 0xdd, 0x1f, 0x94, 0x6f, 0xa0, 0xdd, 0xbf, 0xb4, 0xab, - 0x54, 0xfe, 0xca, 0xeb, 0xd8, 0xf4, 0x16, 0x60, 0x92, 0xa7, 0x65, 0xeb, 0xcd, 0x4f, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x2c, 0x1b, 0x69, 0x2b, 0x02, 0x01, 0x00, 0x00, +var fileDescriptor_23133626a9497b10 = []byte{ + // 208 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0xcf, 0xad, 0x4e, 0xc5, 0x30, + 0x18, 0xc6, 0xf1, 0x95, 0xf1, 0x11, 0x8a, 0x21, 0x55, 0xc3, 0x34, 0x0b, 0x6a, 0x66, 0xab, 0xe0, + 0x0e, 0x10, 0x48, 0x20, 0x93, 0x28, 0xfa, 0xf1, 0x66, 0x34, 0x69, 0xd7, 0xa6, 0x6b, 0x13, 0xe0, + 0x2a, 0xb8, 0x2c, 0xe4, 0xe4, 0x91, 0x27, 0xdb, 0x8d, 0x9c, 0x9c, 0xce, 0xcc, 0x3d, 0x79, 0x7e, + 0xea, 0x8f, 0x1f, 0xac, 0x53, 0x60, 0x58, 0xfc, 0xf1, 0x30, 0x31, 0x1f, 0x9c, 0x4a, 0x32, 0x76, + 0x3e, 0xb8, 0xe8, 0xc8, 0x5d, 0xa6, 0x2e, 0xd3, 0xe3, 0x1b, 0xbe, 0x79, 0xdf, 0x94, 0xdc, 0xe3, + 0xd2, 0x6b, 0x55, 0xa1, 0x1a, 0x35, 0x57, 0xfd, 0x79, 0x12, 0x82, 0x2f, 0x47, 0x6e, 0xa1, 0xba, + 0xa8, 0x51, 0x73, 0xdb, 0xe7, 0x4d, 0x28, 0xc6, 0x9e, 0x87, 0xf8, 0x9a, 0xac, 0x80, 0x50, 0x95, + 0x59, 0x76, 0xcf, 0xf3, 0xe7, 0xff, 0x42, 0xd1, 0xbc, 0x50, 0x74, 0x5c, 0x28, 0xfa, 0x5b, 0x69, + 0x31, 0xaf, 0xb4, 0x38, 0xac, 0xb4, 0xf8, 0x78, 0x19, 0x74, 0xfc, 0x4a, 0xa2, 0x93, 0xce, 0xb2, + 0x5f, 0x3d, 0x08, 0x80, 0x96, 0x1b, 0xa3, 0xf9, 0x28, 0x81, 0x29, 0x3d, 0xc5, 0xa0, 0x45, 0x8a, + 0xa0, 0x5a, 0xe9, 0xac, 0xdf, 0xee, 0xd6, 0x80, 0x1a, 0x20, 0xb0, 0x6f, 0xb6, 0xab, 0x11, 0xd7, + 0x39, 0xe3, 0xe9, 0x14, 0x00, 0x00, 0xff, 0xff, 0x3d, 0x9f, 0x7f, 0x9d, 0xe3, 0x00, 0x00, 0x00, } func (m *Product) Marshal() (dAtA []byte, err error) { diff --git a/x/model/types/query.pb.go b/x/model/types/query.pb.go index f9055f57d..8ba749d27 100644 --- a/x/model/types/query.pb.go +++ b/x/model/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: model/query.proto +// source: model/types/query.proto package types @@ -38,7 +38,7 @@ func (m *QueryGetVendorProductsRequest) Reset() { *m = QueryGetVendorPro func (m *QueryGetVendorProductsRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetVendorProductsRequest) ProtoMessage() {} func (*QueryGetVendorProductsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7ed1e5616dfbc517, []int{0} + return fileDescriptor_c9acda84995c2b09, []int{0} } func (m *QueryGetVendorProductsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -82,7 +82,7 @@ func (m *QueryGetVendorProductsResponse) Reset() { *m = QueryGetVendorPr func (m *QueryGetVendorProductsResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetVendorProductsResponse) ProtoMessage() {} func (*QueryGetVendorProductsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7ed1e5616dfbc517, []int{1} + return fileDescriptor_c9acda84995c2b09, []int{1} } func (m *QueryGetVendorProductsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -127,7 +127,7 @@ func (m *QueryGetModelRequest) Reset() { *m = QueryGetModelRequest{} } func (m *QueryGetModelRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetModelRequest) ProtoMessage() {} func (*QueryGetModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7ed1e5616dfbc517, []int{2} + return fileDescriptor_c9acda84995c2b09, []int{2} } func (m *QueryGetModelRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -178,7 +178,7 @@ func (m *QueryGetModelResponse) Reset() { *m = QueryGetModelResponse{} } func (m *QueryGetModelResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetModelResponse) ProtoMessage() {} func (*QueryGetModelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7ed1e5616dfbc517, []int{3} + return fileDescriptor_c9acda84995c2b09, []int{3} } func (m *QueryGetModelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -222,7 +222,7 @@ func (m *QueryAllModelRequest) Reset() { *m = QueryAllModelRequest{} } func (m *QueryAllModelRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllModelRequest) ProtoMessage() {} func (*QueryAllModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7ed1e5616dfbc517, []int{4} + return fileDescriptor_c9acda84995c2b09, []int{4} } func (m *QueryAllModelRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -267,7 +267,7 @@ func (m *QueryAllModelResponse) Reset() { *m = QueryAllModelResponse{} } func (m *QueryAllModelResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllModelResponse) ProtoMessage() {} func (*QueryAllModelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7ed1e5616dfbc517, []int{5} + return fileDescriptor_c9acda84995c2b09, []int{5} } func (m *QueryAllModelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -320,7 +320,7 @@ func (m *QueryGetModelVersionRequest) Reset() { *m = QueryGetModelVersio func (m *QueryGetModelVersionRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetModelVersionRequest) ProtoMessage() {} func (*QueryGetModelVersionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7ed1e5616dfbc517, []int{6} + return fileDescriptor_c9acda84995c2b09, []int{6} } func (m *QueryGetModelVersionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -378,7 +378,7 @@ func (m *QueryGetModelVersionResponse) Reset() { *m = QueryGetModelVersi func (m *QueryGetModelVersionResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetModelVersionResponse) ProtoMessage() {} func (*QueryGetModelVersionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7ed1e5616dfbc517, []int{7} + return fileDescriptor_c9acda84995c2b09, []int{7} } func (m *QueryGetModelVersionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -423,7 +423,7 @@ func (m *QueryGetModelVersionsRequest) Reset() { *m = QueryGetModelVersi func (m *QueryGetModelVersionsRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetModelVersionsRequest) ProtoMessage() {} func (*QueryGetModelVersionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7ed1e5616dfbc517, []int{8} + return fileDescriptor_c9acda84995c2b09, []int{8} } func (m *QueryGetModelVersionsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -474,7 +474,7 @@ func (m *QueryGetModelVersionsResponse) Reset() { *m = QueryGetModelVers func (m *QueryGetModelVersionsResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetModelVersionsResponse) ProtoMessage() {} func (*QueryGetModelVersionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7ed1e5616dfbc517, []int{9} + return fileDescriptor_c9acda84995c2b09, []int{9} } func (m *QueryGetModelVersionsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -511,68 +511,66 @@ func (m *QueryGetModelVersionsResponse) GetModelVersions() ModelVersions { } func init() { - proto.RegisterType((*QueryGetVendorProductsRequest)(nil), "zigbeealliance.distributedcomplianceledger.model.QueryGetVendorProductsRequest") - proto.RegisterType((*QueryGetVendorProductsResponse)(nil), "zigbeealliance.distributedcomplianceledger.model.QueryGetVendorProductsResponse") - proto.RegisterType((*QueryGetModelRequest)(nil), "zigbeealliance.distributedcomplianceledger.model.QueryGetModelRequest") - proto.RegisterType((*QueryGetModelResponse)(nil), "zigbeealliance.distributedcomplianceledger.model.QueryGetModelResponse") - proto.RegisterType((*QueryAllModelRequest)(nil), "zigbeealliance.distributedcomplianceledger.model.QueryAllModelRequest") - proto.RegisterType((*QueryAllModelResponse)(nil), "zigbeealliance.distributedcomplianceledger.model.QueryAllModelResponse") - proto.RegisterType((*QueryGetModelVersionRequest)(nil), "zigbeealliance.distributedcomplianceledger.model.QueryGetModelVersionRequest") - proto.RegisterType((*QueryGetModelVersionResponse)(nil), "zigbeealliance.distributedcomplianceledger.model.QueryGetModelVersionResponse") - proto.RegisterType((*QueryGetModelVersionsRequest)(nil), "zigbeealliance.distributedcomplianceledger.model.QueryGetModelVersionsRequest") - proto.RegisterType((*QueryGetModelVersionsResponse)(nil), "zigbeealliance.distributedcomplianceledger.model.QueryGetModelVersionsResponse") -} - -func init() { proto.RegisterFile("model/query.proto", fileDescriptor_7ed1e5616dfbc517) } - -var fileDescriptor_7ed1e5616dfbc517 = []byte{ - // 722 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0x41, 0x4f, 0xd4, 0x40, - 0x14, 0xc7, 0x77, 0xc0, 0x35, 0x64, 0x04, 0x94, 0x11, 0x23, 0x2c, 0xd0, 0xc5, 0x26, 0x0a, 0x31, - 0xa1, 0xe3, 0xc2, 0xc1, 0xe8, 0x41, 0x85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26, 0xd0, 0x1f, 0x00, 0xfb, 0xd3, 0x23, - 0x88, 0x96, 0xcf, 0xd9, 0xb9, 0xec, 0x3d, 0x53, 0x7a, 0xdc, 0x2d, 0x39, 0x6d, 0xe5, 0x9e, 0xb4, - 0x32, 0x87, 0x2a, 0x29, 0x2b, 0xc9, 0xdf, 0xe5, 0xf4, 0x89, 0xe0, 0x9d, 0xdc, 0x1d, 0xb5, 0x8b, - 0x7e, 0x00, 0x38, 0x90, 0xd9, 0x36, 0xd4, 0x25, 0xb8, 0x7f, 0xab, 0xb3, 0xd2, 0x35, 0x3d, 0xed, - 0x76, 0x4a, 0xba, 0xbd, 0x81, 0xca, 0x67, 0xb8, 0x5d, 0x78, 0xb1, 0x7f, 0x68, 0x80, 0x83, 0x43, - 0x03, 0xfc, 0x3a, 0x34, 0xc0, 0xde, 0x91, 0x51, 0x38, 0x38, 0x32, 0x0a, 0xdf, 0x8f, 0x8c, 0xc2, - 0xb3, 0x45, 0x97, 0x8a, 0x8d, 0x66, 0xcd, 0xaa, 0xb3, 0x06, 0x56, 0x74, 0x33, 0x09, 0x1e, 0x4e, - 0xe1, 0xcd, 0xb4, 0xf8, 0x66, 0x14, 0x20, 0x7e, 0xad, 0x0b, 0x8a, 0xed, 0x80, 0xf0, 0xda, 0x45, - 0xf9, 0xef, 0xcd, 0xdc, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x5d, 0x86, 0x55, 0x63, 0xec, 0x09, - 0x00, 0x00, + proto.RegisterType((*QueryGetVendorProductsRequest)(nil), "model.types.QueryGetVendorProductsRequest") + proto.RegisterType((*QueryGetVendorProductsResponse)(nil), "model.types.QueryGetVendorProductsResponse") + proto.RegisterType((*QueryGetModelRequest)(nil), "model.types.QueryGetModelRequest") + proto.RegisterType((*QueryGetModelResponse)(nil), "model.types.QueryGetModelResponse") + proto.RegisterType((*QueryAllModelRequest)(nil), "model.types.QueryAllModelRequest") + proto.RegisterType((*QueryAllModelResponse)(nil), "model.types.QueryAllModelResponse") + proto.RegisterType((*QueryGetModelVersionRequest)(nil), "model.types.QueryGetModelVersionRequest") + proto.RegisterType((*QueryGetModelVersionResponse)(nil), "model.types.QueryGetModelVersionResponse") + proto.RegisterType((*QueryGetModelVersionsRequest)(nil), "model.types.QueryGetModelVersionsRequest") + proto.RegisterType((*QueryGetModelVersionsResponse)(nil), "model.types.QueryGetModelVersionsResponse") +} + +func init() { proto.RegisterFile("model/types/query.proto", fileDescriptor_c9acda84995c2b09) } + +var fileDescriptor_c9acda84995c2b09 = []byte{ + // 696 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x95, 0x4f, 0x4f, 0xd4, 0x4e, + 0x18, 0xc7, 0xb7, 0xf0, 0xdb, 0x5f, 0xcc, 0xf0, 0x47, 0x1d, 0x31, 0xc0, 0x02, 0x5d, 0x68, 0xa2, + 0xac, 0x18, 0x3a, 0x59, 0x38, 0xe9, 0x0d, 0x4c, 0x20, 0x1e, 0x4c, 0x70, 0x0f, 0x1c, 0x3c, 0x88, + 0xdd, 0x76, 0xac, 0x13, 0xba, 0x9d, 0xd2, 0x99, 0xad, 0x22, 0xe1, 0xe2, 0xd1, 0x8b, 0x24, 0xde, + 0x7d, 0x05, 0xbe, 0x10, 0x8e, 0x24, 0x5e, 0x3c, 0x19, 0x03, 0xbe, 0x10, 0xd3, 0x99, 0xa9, 0xdb, + 0xe9, 0x6e, 0xd9, 0xe5, 0xb2, 0x99, 0x3c, 0xf3, 0x7c, 0x9f, 0xef, 0x67, 0x9f, 0x3e, 0x4f, 0x0b, + 0x66, 0x3b, 0xd4, 0xc3, 0x01, 0xe2, 0xc7, 0x11, 0x66, 0xe8, 0xa8, 0x8b, 0xe3, 0x63, 0x3b, 0x8a, + 0x29, 0xa7, 0x70, 0x42, 0x5c, 0xd8, 0xe2, 0xa2, 0xb6, 0xe8, 0x53, 0xea, 0x07, 0x18, 0x39, 0x11, + 0x41, 0x4e, 0x18, 0x52, 0xee, 0x70, 0x42, 0x43, 0x26, 0x53, 0x6b, 0x6b, 0x2e, 0x65, 0x1d, 0xca, + 0x50, 0xdb, 0x61, 0x58, 0xd6, 0x40, 0x49, 0xb3, 0x8d, 0xb9, 0xd3, 0x44, 0x91, 0xe3, 0x93, 0x50, + 0x24, 0xab, 0xdc, 0x95, 0xbc, 0x5f, 0x82, 0x43, 0x8f, 0xc6, 0x07, 0x51, 0x4c, 0xbd, 0xae, 0xcb, + 0xb3, 0x72, 0x1a, 0x92, 0xa4, 0x90, 0x17, 0xf5, 0xbe, 0x8b, 0x83, 0x04, 0xc7, 0xac, 0x57, 0x7c, + 0xb9, 0x34, 0x21, 0xab, 0x3d, 0xe3, 0x53, 0x9f, 0x8a, 0x23, 0x4a, 0x4f, 0x32, 0x6a, 0x35, 0xc1, + 0xd2, 0xcb, 0x14, 0x7b, 0x17, 0xf3, 0x7d, 0x81, 0xb4, 0xa7, 0x88, 0x5a, 0xf8, 0xa8, 0x8b, 0x19, + 0x87, 0x77, 0xc0, 0x78, 0x42, 0xbc, 0x39, 0x63, 0xd9, 0x68, 0x54, 0x5b, 0xe9, 0xd1, 0x3a, 0x04, + 0x66, 0x99, 0x84, 0x45, 0x34, 0x64, 0x18, 0x3e, 0x07, 0xd3, 0x89, 0x76, 0x23, 0xe4, 0x13, 0x1b, + 0x0b, 0x76, 0xae, 0xb3, 0xb6, 0x2e, 0xde, 0xfe, 0xef, 0xfc, 0x57, 0xbd, 0xd2, 0x2a, 0x08, 0xad, + 0xa7, 0x60, 0x26, 0x33, 0x7b, 0x91, 0x6a, 0x4b, 0xb1, 0xd2, 0x48, 0x44, 0xbc, 0xb9, 0x31, 0x19, + 0x89, 0x88, 0x67, 0xed, 0x82, 0xfb, 0x05, 0xad, 0xe2, 0xb3, 0x41, 0x55, 0x80, 0x28, 0x2c, 0xa8, + 0x61, 0x89, 0x54, 0x45, 0x23, 0xd3, 0xac, 0xd7, 0x0a, 0x62, 0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f, 0x3e, 0x57, 0x9b, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, + 0x5d, 0xd7, 0x4f, 0x46, 0xb5, 0x07, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -609,7 +607,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) VendorProducts(ctx context.Context, in *QueryGetVendorProductsRequest, opts ...grpc.CallOption) (*QueryGetVendorProductsResponse, error) { out := new(QueryGetVendorProductsResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.model.Query/VendorProducts", in, out, opts...) + err := c.cc.Invoke(ctx, "/model.types.Query/VendorProducts", in, out, opts...) if err != nil { return nil, err } @@ -618,7 +616,7 @@ func (c *queryClient) VendorProducts(ctx context.Context, in *QueryGetVendorProd func (c *queryClient) Model(ctx context.Context, in *QueryGetModelRequest, opts ...grpc.CallOption) (*QueryGetModelResponse, error) { out := new(QueryGetModelResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.model.Query/Model", in, out, opts...) + err := c.cc.Invoke(ctx, "/model.types.Query/Model", in, out, opts...) if err != nil { return nil, err } @@ -627,7 +625,7 @@ func (c *queryClient) Model(ctx context.Context, in *QueryGetModelRequest, opts func (c *queryClient) ModelAll(ctx context.Context, in *QueryAllModelRequest, opts ...grpc.CallOption) (*QueryAllModelResponse, error) { out := new(QueryAllModelResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.model.Query/ModelAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/model.types.Query/ModelAll", in, out, opts...) if err != nil { return nil, err } @@ -636,7 +634,7 @@ func (c *queryClient) ModelAll(ctx context.Context, in *QueryAllModelRequest, op func (c *queryClient) ModelVersion(ctx context.Context, in *QueryGetModelVersionRequest, opts ...grpc.CallOption) (*QueryGetModelVersionResponse, error) { out := new(QueryGetModelVersionResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.model.Query/ModelVersion", in, out, opts...) + err := c.cc.Invoke(ctx, "/model.types.Query/ModelVersion", in, out, opts...) if err != nil { return nil, err } @@ -645,7 +643,7 @@ func (c *queryClient) ModelVersion(ctx context.Context, in *QueryGetModelVersion func (c *queryClient) ModelVersions(ctx context.Context, in *QueryGetModelVersionsRequest, opts ...grpc.CallOption) (*QueryGetModelVersionsResponse, error) { out := new(QueryGetModelVersionsResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.model.Query/ModelVersions", in, out, opts...) + err := c.cc.Invoke(ctx, "/model.types.Query/ModelVersions", in, out, opts...) if err != nil { return nil, err } @@ -700,7 +698,7 @@ func _Query_VendorProducts_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.model.Query/VendorProducts", + FullMethod: "/model.types.Query/VendorProducts", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).VendorProducts(ctx, req.(*QueryGetVendorProductsRequest)) @@ -718,7 +716,7 @@ func _Query_Model_Handler(srv interface{}, ctx context.Context, dec func(interfa } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.model.Query/Model", + FullMethod: "/model.types.Query/Model", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Model(ctx, req.(*QueryGetModelRequest)) @@ -736,7 +734,7 @@ func _Query_ModelAll_Handler(srv interface{}, ctx context.Context, dec func(inte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.model.Query/ModelAll", + FullMethod: "/model.types.Query/ModelAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ModelAll(ctx, req.(*QueryAllModelRequest)) @@ -754,7 +752,7 @@ func _Query_ModelVersion_Handler(srv interface{}, ctx context.Context, dec func( } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.model.Query/ModelVersion", + FullMethod: "/model.types.Query/ModelVersion", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ModelVersion(ctx, req.(*QueryGetModelVersionRequest)) @@ -772,7 +770,7 @@ func _Query_ModelVersions_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.model.Query/ModelVersions", + FullMethod: "/model.types.Query/ModelVersions", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ModelVersions(ctx, req.(*QueryGetModelVersionsRequest)) @@ -781,7 +779,7 @@ func _Query_ModelVersions_Handler(srv interface{}, ctx context.Context, dec func } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "zigbeealliance.distributedcomplianceledger.model.Query", + ServiceName: "model.types.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -806,7 +804,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "model/query.proto", + Metadata: "model/types/query.proto", } func (m *QueryGetVendorProductsRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/model/types/query.pb.gw.go b/x/model/types/query.pb.gw.go index 337a48713..22c2baf99 100644 --- a/x/model/types/query.pb.gw.go +++ b/x/model/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: model/query.proto +// source: model/types/query.proto /* Package types is a reverse proxy. @@ -639,15 +639,15 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } var ( - pattern_Query_VendorProducts_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"dcl", "model", "models", "vid"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_VendorProducts_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"dcl", "model", "models", "vid"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_Model_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"dcl", "model", "models", "vid", "pid"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_Model_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"dcl", "model", "models", "vid", "pid"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_ModelAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "model", "models"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_ModelAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "model", "models"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_ModelVersion_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"dcl", "model", "versions", "vid", "pid", "softwareVersion"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_ModelVersion_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"dcl", "model", "versions", "vid", "pid", "softwareVersion"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_ModelVersions_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"dcl", "model", "versions", "vid", "pid"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_ModelVersions_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"dcl", "model", "versions", "vid", "pid"}, "", runtime.AssumeColonVerbOpt(false))) ) var ( diff --git a/x/model/types/tx.pb.go b/x/model/types/tx.pb.go index 0d604f85b..27d3d63f2 100644 --- a/x/model/types/tx.pb.go +++ b/x/model/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: model/tx.proto +// source: model/types/tx.proto package types @@ -53,7 +53,7 @@ func (m *MsgCreateModel) Reset() { *m = MsgCreateModel{} } func (m *MsgCreateModel) String() string { return proto.CompactTextString(m) } func (*MsgCreateModel) ProtoMessage() {} func (*MsgCreateModel) Descriptor() ([]byte, []int) { - return fileDescriptor_8898c625fa4755dc, []int{0} + return fileDescriptor_e89f2cfd31c6ce5d, []int{0} } func (m *MsgCreateModel) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -208,7 +208,7 @@ func (m *MsgCreateModelResponse) Reset() { *m = MsgCreateModelResponse{} func (m *MsgCreateModelResponse) String() string { return proto.CompactTextString(m) } func (*MsgCreateModelResponse) ProtoMessage() {} func (*MsgCreateModelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8898c625fa4755dc, []int{1} + return fileDescriptor_e89f2cfd31c6ce5d, []int{1} } func (m *MsgCreateModelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -258,7 +258,7 @@ func (m *MsgUpdateModel) Reset() { *m = MsgUpdateModel{} } func (m *MsgUpdateModel) String() string { return proto.CompactTextString(m) } func (*MsgUpdateModel) ProtoMessage() {} func (*MsgUpdateModel) Descriptor() ([]byte, []int) { - return fileDescriptor_8898c625fa4755dc, []int{2} + return fileDescriptor_e89f2cfd31c6ce5d, []int{2} } func (m *MsgUpdateModel) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -392,7 +392,7 @@ func (m *MsgUpdateModelResponse) Reset() { *m = MsgUpdateModelResponse{} func (m *MsgUpdateModelResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateModelResponse) ProtoMessage() {} func (*MsgUpdateModelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8898c625fa4755dc, []int{3} + return fileDescriptor_e89f2cfd31c6ce5d, []int{3} } func (m *MsgUpdateModelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -431,7 +431,7 @@ func (m *MsgDeleteModel) Reset() { *m = MsgDeleteModel{} } func (m *MsgDeleteModel) String() string { return proto.CompactTextString(m) } func (*MsgDeleteModel) ProtoMessage() {} func (*MsgDeleteModel) Descriptor() ([]byte, []int) { - return fileDescriptor_8898c625fa4755dc, []int{4} + return fileDescriptor_e89f2cfd31c6ce5d, []int{4} } func (m *MsgDeleteModel) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -488,7 +488,7 @@ func (m *MsgDeleteModelResponse) Reset() { *m = MsgDeleteModelResponse{} func (m *MsgDeleteModelResponse) String() string { return proto.CompactTextString(m) } func (*MsgDeleteModelResponse) ProtoMessage() {} func (*MsgDeleteModelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8898c625fa4755dc, []int{5} + return fileDescriptor_e89f2cfd31c6ce5d, []int{5} } func (m *MsgDeleteModelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -539,7 +539,7 @@ func (m *MsgCreateModelVersion) Reset() { *m = MsgCreateModelVersion{} } func (m *MsgCreateModelVersion) String() string { return proto.CompactTextString(m) } func (*MsgCreateModelVersion) ProtoMessage() {} func (*MsgCreateModelVersion) Descriptor() ([]byte, []int) { - return fileDescriptor_8898c625fa4755dc, []int{6} + return fileDescriptor_e89f2cfd31c6ce5d, []int{6} } func (m *MsgCreateModelVersion) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -680,7 +680,7 @@ func (m *MsgCreateModelVersionResponse) Reset() { *m = MsgCreateModelVer func (m *MsgCreateModelVersionResponse) String() string { return proto.CompactTextString(m) } func (*MsgCreateModelVersionResponse) ProtoMessage() {} func (*MsgCreateModelVersionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8898c625fa4755dc, []int{7} + return fileDescriptor_e89f2cfd31c6ce5d, []int{7} } func (m *MsgCreateModelVersionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -727,7 +727,7 @@ func (m *MsgUpdateModelVersion) Reset() { *m = MsgUpdateModelVersion{} } func (m *MsgUpdateModelVersion) String() string { return proto.CompactTextString(m) } func (*MsgUpdateModelVersion) ProtoMessage() {} func (*MsgUpdateModelVersion) Descriptor() ([]byte, []int) { - return fileDescriptor_8898c625fa4755dc, []int{8} + return fileDescriptor_e89f2cfd31c6ce5d, []int{8} } func (m *MsgUpdateModelVersion) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -840,7 +840,7 @@ func (m *MsgUpdateModelVersionResponse) Reset() { *m = MsgUpdateModelVer func (m *MsgUpdateModelVersionResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateModelVersionResponse) ProtoMessage() {} func (*MsgUpdateModelVersionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8898c625fa4755dc, []int{9} + return fileDescriptor_e89f2cfd31c6ce5d, []int{9} } func (m *MsgUpdateModelVersionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -880,7 +880,7 @@ func (m *MsgDeleteModelVersion) Reset() { *m = MsgDeleteModelVersion{} } func (m *MsgDeleteModelVersion) String() string { return proto.CompactTextString(m) } func (*MsgDeleteModelVersion) ProtoMessage() {} func (*MsgDeleteModelVersion) Descriptor() ([]byte, []int) { - return fileDescriptor_8898c625fa4755dc, []int{10} + return fileDescriptor_e89f2cfd31c6ce5d, []int{10} } func (m *MsgDeleteModelVersion) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -944,7 +944,7 @@ func (m *MsgDeleteModelVersionResponse) Reset() { *m = MsgDeleteModelVer func (m *MsgDeleteModelVersionResponse) String() string { return proto.CompactTextString(m) } func (*MsgDeleteModelVersionResponse) ProtoMessage() {} func (*MsgDeleteModelVersionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8898c625fa4755dc, []int{11} + return fileDescriptor_e89f2cfd31c6ce5d, []int{11} } func (m *MsgDeleteModelVersionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -974,107 +974,105 @@ func (m *MsgDeleteModelVersionResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgDeleteModelVersionResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*MsgCreateModel)(nil), "zigbeealliance.distributedcomplianceledger.model.MsgCreateModel") - proto.RegisterType((*MsgCreateModelResponse)(nil), "zigbeealliance.distributedcomplianceledger.model.MsgCreateModelResponse") - proto.RegisterType((*MsgUpdateModel)(nil), "zigbeealliance.distributedcomplianceledger.model.MsgUpdateModel") - proto.RegisterType((*MsgUpdateModelResponse)(nil), "zigbeealliance.distributedcomplianceledger.model.MsgUpdateModelResponse") - proto.RegisterType((*MsgDeleteModel)(nil), "zigbeealliance.distributedcomplianceledger.model.MsgDeleteModel") - proto.RegisterType((*MsgDeleteModelResponse)(nil), "zigbeealliance.distributedcomplianceledger.model.MsgDeleteModelResponse") - proto.RegisterType((*MsgCreateModelVersion)(nil), "zigbeealliance.distributedcomplianceledger.model.MsgCreateModelVersion") - proto.RegisterType((*MsgCreateModelVersionResponse)(nil), "zigbeealliance.distributedcomplianceledger.model.MsgCreateModelVersionResponse") - proto.RegisterType((*MsgUpdateModelVersion)(nil), "zigbeealliance.distributedcomplianceledger.model.MsgUpdateModelVersion") - proto.RegisterType((*MsgUpdateModelVersionResponse)(nil), "zigbeealliance.distributedcomplianceledger.model.MsgUpdateModelVersionResponse") - proto.RegisterType((*MsgDeleteModelVersion)(nil), "zigbeealliance.distributedcomplianceledger.model.MsgDeleteModelVersion") - proto.RegisterType((*MsgDeleteModelVersionResponse)(nil), "zigbeealliance.distributedcomplianceledger.model.MsgDeleteModelVersionResponse") -} - -func init() { proto.RegisterFile("model/tx.proto", fileDescriptor_8898c625fa4755dc) } - -var fileDescriptor_8898c625fa4755dc = []byte{ - // 1315 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x99, 0xbd, 0x6f, 0xdb, 0x46, - 0x18, 0xc6, 0xc3, 0x26, 0xfe, 0x3a, 0x59, 0x71, 0x73, 0xf9, 0x62, 0xd5, 0x54, 0x74, 0x19, 0xa0, - 0x30, 0x02, 0x59, 0x72, 0xe4, 0xc8, 0x0d, 0x82, 0x0a, 0x48, 0xe4, 0x36, 0xb1, 0x81, 0x38, 0x09, - 0xe8, 0x24, 0x28, 0x02, 0x34, 0x29, 0x45, 0x9e, 0xe4, 0x43, 0x49, 0x1e, 0x7b, 0x77, 0xf4, 0x47, - 0xa6, 0x0e, 0xfd, 0x03, 0xba, 0x76, 0xe9, 0xd4, 0xb9, 0x53, 0xf7, 0xae, 0x1d, 0x83, 0x4e, 0x9d, - 0x88, 0x22, 0x59, 0x3b, 0x14, 0x9c, 0x3a, 0x74, 0x28, 0x78, 0xa2, 0x25, 0x52, 0xa2, 0x3e, 0x6c, - 0xc9, 0x43, 0xb2, 0x18, 0x26, 0x79, 0xcf, 0x73, 0xef, 0x7b, 0xf7, 0xbe, 0x3f, 0x9e, 0x24, 0x70, - 0xd6, 0x26, 0x26, 0xb2, 0x4a, 0x7c, 0xbf, 0xe8, 0x52, 0xc2, 0x09, 0x5c, 0x79, 0x89, 0x9b, 0x75, - 0x84, 0x74, 0xcb, 0xc2, 0xba, 0x63, 0xa0, 0xa2, 0x89, 0x19, 0xa7, 0xb8, 0xee, 0x71, 0x64, 0x1a, - 0xc4, 0x76, 0x5b, 0x77, 0x2d, 0x64, 0x36, 0x11, 0x2d, 0x0a, 0x69, 0xee, 0x5c, 0xcb, 0x41, 0xfc, - 0x6d, 0x99, 0xe4, 0x3e, 0x88, 0xdd, 0x7a, 0xb1, 0x8b, 0x28, 0xc3, 0xc4, 0x89, 0x1e, 0x5d, 0x68, - 0x92, 0x26, 0x11, 0xff, 0x96, 0xc2, 0xff, 0x0e, 0x05, 0x06, 0x61, 0x36, 0x61, 0x2f, 0x5a, 0x0f, - 0x5a, 0x17, 0xad, 0x47, 0xea, 0xcf, 0x19, 0x70, 0x76, 0x8b, 0x35, 0xd7, 0x29, 0xd2, 0x39, 0xda, - 0x0a, 0x1d, 0xe1, 0x26, 0x98, 0x31, 0xc2, 0x4b, 0x42, 0x65, 0x69, 0x51, 0x5a, 0x9a, 0xab, 0x95, - 0x02, 0x5f, 0x39, 0xbf, 0xab, 0x5b, 0xd8, 0xd4, 0x39, 0xba, 0xa5, 0x52, 0xf4, 0xad, 0x87, 0x29, - 0x32, 0xd5, 0x3f, 0x7e, 0x5d, 0xbe, 0x10, 0x99, 0xdd, 0x31, 0x4d, 0x8a, 0x18, 0xdb, 0xe6, 0x14, - 0x3b, 0x4d, 0xed, 0x50, 0x0f, 0x57, 0xc0, 0xe9, 0x5d, 0x6c, 0xca, 0xef, 0x2d, 0x4a, 0x4b, 0x53, - 0xb5, 0x7c, 0xe0, 0x2b, 0xb9, 0x8e, 0x4d, 0x93, 0xa3, 0xea, 0xf5, 0x82, 0xc5, 0x51, 0x75, 0xad, - 0x52, 0x59, 0xad, 0xa8, 0x5a, 0x38, 0x34, 0x54, 0xb8, 0xd8, 0x94, 0x4f, 0x8f, 0xa6, 0x70, 0xb1, - 0x09, 0x6b, 0x60, 0xde, 0x44, 0xbb, 0xd8, 0x40, 0x8f, 0x0f, 0x5c, 0xb4, 0x69, 0xca, 0x67, 0xfa, - 0x49, 0x57, 0xe2, 0xd2, 0x84, 0x06, 0xde, 0x01, 0x19, 0x97, 0x12, 0xd3, 0x33, 0xf8, 0x03, 0xdd, - 0x46, 0xf2, 0x94, 0x48, 0x5b, 0x09, 0x7c, 0xe5, 0xc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xf2, 0xa7, 0xfe, 0x7c, 0x93, 0x3f, 0xf5, 0xec, 0x6e, 0x13, - 0xf3, 0x1d, 0xaf, 0x5e, 0x34, 0x88, 0x5d, 0x6a, 0x4d, 0xba, 0x7c, 0x38, 0x6b, 0x29, 0x36, 0xeb, - 0x72, 0x67, 0xda, 0xe5, 0xd6, 0xbc, 0xa5, 0xfd, 0x52, 0xf4, 0x73, 0xc7, 0x81, 0x8b, 0x58, 0x7d, - 0x5a, 0xfc, 0xc2, 0xb0, 0xfa, 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x67, 0x32, 0x63, 0xed, 0x04, - 0x19, 0x00, 0x00, + proto.RegisterType((*MsgCreateModel)(nil), "model.types.MsgCreateModel") + proto.RegisterType((*MsgCreateModelResponse)(nil), "model.types.MsgCreateModelResponse") + proto.RegisterType((*MsgUpdateModel)(nil), "model.types.MsgUpdateModel") + proto.RegisterType((*MsgUpdateModelResponse)(nil), "model.types.MsgUpdateModelResponse") + proto.RegisterType((*MsgDeleteModel)(nil), "model.types.MsgDeleteModel") + proto.RegisterType((*MsgDeleteModelResponse)(nil), "model.types.MsgDeleteModelResponse") + proto.RegisterType((*MsgCreateModelVersion)(nil), "model.types.MsgCreateModelVersion") + proto.RegisterType((*MsgCreateModelVersionResponse)(nil), "model.types.MsgCreateModelVersionResponse") + proto.RegisterType((*MsgUpdateModelVersion)(nil), "model.types.MsgUpdateModelVersion") + proto.RegisterType((*MsgUpdateModelVersionResponse)(nil), "model.types.MsgUpdateModelVersionResponse") + proto.RegisterType((*MsgDeleteModelVersion)(nil), "model.types.MsgDeleteModelVersion") + proto.RegisterType((*MsgDeleteModelVersionResponse)(nil), "model.types.MsgDeleteModelVersionResponse") +} + +func init() { proto.RegisterFile("model/types/tx.proto", fileDescriptor_e89f2cfd31c6ce5d) } + +var fileDescriptor_e89f2cfd31c6ce5d = []byte{ + // 1295 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x98, 0xbf, 0x6f, 0xdb, 0x46, + 0x14, 0xc7, 0xa3, 0xc6, 0x96, 0xe5, 0x93, 0x15, 0x37, 0x17, 0x27, 0x61, 0x95, 0x54, 0x74, 0x19, + 0xa0, 0x30, 0x02, 0xd9, 0x4a, 0xe4, 0xc8, 0x0d, 0x82, 0x0a, 0x48, 0xe4, 0x36, 0x88, 0x81, 0x38, + 0x09, 0xe8, 0x24, 0x28, 0x02, 0x34, 0x2e, 0x45, 0x9e, 0xe4, 0x43, 0x49, 0x1e, 0x7b, 0x77, 0xf4, + 0xaf, 0xa9, 0x43, 0xff, 0x80, 0xfe, 0x05, 0x9d, 0x3a, 0x75, 0xee, 0xde, 0xb5, 0x63, 0xd0, 0xa9, + 0x13, 0x51, 0xd8, 0xff, 0x40, 0xc1, 0xa9, 0x43, 0x87, 0x82, 0x27, 0x5a, 0x22, 0x25, 0x8a, 0x92, + 0x6b, 0x7b, 0x70, 0x36, 0xf1, 0xde, 0x7b, 0xdf, 0xe3, 0x3b, 0xbe, 0xf7, 0xd1, 0x23, 0xc1, 0x9c, + 0x45, 0x0c, 0x64, 0x56, 0xf8, 0x9e, 0x83, 0x58, 0x85, 0xef, 0x2e, 0x39, 0x94, 0x70, 0x02, 0xf3, + 0x62, 0x75, 0x49, 0xac, 0x16, 0xaf, 0x47, 0x5d, 0x3a, 0x06, 0xe1, 0x55, 0x94, 0x07, 0x0c, 0x9b, + 0xdb, 0x88, 0x32, 0x4c, 0xec, 0xd0, 0x61, 0xae, 0x4d, 0xda, 0x44, 0xfc, 0xac, 0x04, 0xbf, 0xc2, + 0xd5, 0x8f, 0x74, 0xc2, 0x2c, 0xc2, 0x36, 0x3b, 0x86, 0xce, 0x45, 0xc7, 0xa4, 0xfc, 0x9c, 0x07, + 0x97, 0xd6, 0x59, 0x7b, 0x95, 0x22, 0x8d, 0xa3, 0xf5, 0x40, 0x11, 0xae, 0x81, 0x29, 0x3d, 0xb8, +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 0x85, 0x3b, 0xe0, 0xf6, + 0x08, 0xb7, 0x68, 0x22, 0x85, 0xf4, 0x44, 0x8e, 0x21, 0x05, 0xdf, 0x82, 0x82, 0xcb, 0x10, 0x5d, + 0xd7, 0x6c, 0x57, 0x33, 0x83, 0x02, 0xb9, 0x24, 0xb4, 0xef, 0xfb, 0x9e, 0x7c, 0xaf, 0xa7, 0x7d, + 0x8c, 0x47, 0x1f, 0x97, 0x83, 0x5f, 0x01, 0xc0, 0x5c, 0xc7, 0x21, 0x94, 0x07, 0xe2, 0xb3, 0x27, + 0x14, 0x8f, 0x68, 0x05, 0xca, 0x61, 0x17, 0x06, 0xca, 0x1f, 0x9e, 0x54, 0xb9, 0xa7, 0x05, 0x5f, + 0x80, 0xac, 0xc9, 0x5a, 0x81, 0xea, 0xe5, 0x13, 0xaa, 0x86, 0x3a, 0x8a, 0x04, 0xae, 0xc5, 0x29, + 0xad, 0x22, 0xe6, 0x10, 0x9b, 0x21, 0xe5, 0xdf, 0x9c, 0x00, 0xf8, 0x2b, 0xc7, 0x38, 0xaf, 0x00, + 0xbf, 0x1f, 0x87, 0xef, 0xc4, 0x30, 0x70, 0x8e, 0x66, 0xee, 0xe4, 0xff, 0x66, 0x6e, 0x76, 0x5c, + 0xe6, 0xee, 0xa6, 0xc2, 0x71, 0xea, 0x84, 0x8f, 0x3b, 0x0d, 0x7b, 0xc7, 0x01, 0x55, 0xee, 0xb4, + 0x40, 0x75, 0x3c, 0xac, 0x4c, 0x9f, 0x21, 0x56, 0xc0, 0x59, 0x62, 0x25, 0x7f, 0x66, 0x58, 0x99, + 0x39, 0x13, 0xac, 0x14, 0x4e, 0x07, 0x2b, 0xf0, 0x21, 0xc8, 0x9b, 0xac, 0xa5, 0xa2, 0x6d, 0x1c, + 0x3c, 0x14, 0x81, 0xee, 0xd1, 0xa3, 0x53, 0x34, 0x24, 0x04, 0x53, 0x84, 0x3e, 0x5d, 0x30, 0xfd, + 0x96, 0x11, 0x60, 0xfa, 0x02, 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 0x2f, 0x17, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1107,7 +1105,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { func (c *msgClient) CreateModel(ctx context.Context, in *MsgCreateModel, opts ...grpc.CallOption) (*MsgCreateModelResponse, error) { out := new(MsgCreateModelResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.model.Msg/CreateModel", in, out, opts...) + err := c.cc.Invoke(ctx, "/model.types.Msg/CreateModel", in, out, opts...) if err != nil { return nil, err } @@ -1116,7 +1114,7 @@ func (c *msgClient) CreateModel(ctx context.Context, in *MsgCreateModel, opts .. func (c *msgClient) UpdateModel(ctx context.Context, in *MsgUpdateModel, opts ...grpc.CallOption) (*MsgUpdateModelResponse, error) { out := new(MsgUpdateModelResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.model.Msg/UpdateModel", in, out, opts...) + err := c.cc.Invoke(ctx, "/model.types.Msg/UpdateModel", in, out, opts...) if err != nil { return nil, err } @@ -1125,7 +1123,7 @@ func (c *msgClient) UpdateModel(ctx context.Context, in *MsgUpdateModel, opts .. func (c *msgClient) DeleteModel(ctx context.Context, in *MsgDeleteModel, opts ...grpc.CallOption) (*MsgDeleteModelResponse, error) { out := new(MsgDeleteModelResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.model.Msg/DeleteModel", in, out, opts...) + err := c.cc.Invoke(ctx, "/model.types.Msg/DeleteModel", in, out, opts...) if err != nil { return nil, err } @@ -1134,7 +1132,7 @@ func (c *msgClient) DeleteModel(ctx context.Context, in *MsgDeleteModel, opts .. func (c *msgClient) CreateModelVersion(ctx context.Context, in *MsgCreateModelVersion, opts ...grpc.CallOption) (*MsgCreateModelVersionResponse, error) { out := new(MsgCreateModelVersionResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.model.Msg/CreateModelVersion", in, out, opts...) + err := c.cc.Invoke(ctx, "/model.types.Msg/CreateModelVersion", in, out, opts...) if err != nil { return nil, err } @@ -1143,7 +1141,7 @@ func (c *msgClient) CreateModelVersion(ctx context.Context, in *MsgCreateModelVe func (c *msgClient) UpdateModelVersion(ctx context.Context, in *MsgUpdateModelVersion, opts ...grpc.CallOption) (*MsgUpdateModelVersionResponse, error) { out := new(MsgUpdateModelVersionResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.model.Msg/UpdateModelVersion", in, out, opts...) + err := c.cc.Invoke(ctx, "/model.types.Msg/UpdateModelVersion", in, out, opts...) if err != nil { return nil, err } @@ -1152,7 +1150,7 @@ func (c *msgClient) UpdateModelVersion(ctx context.Context, in *MsgUpdateModelVe func (c *msgClient) DeleteModelVersion(ctx context.Context, in *MsgDeleteModelVersion, opts ...grpc.CallOption) (*MsgDeleteModelVersionResponse, error) { out := new(MsgDeleteModelVersionResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.model.Msg/DeleteModelVersion", in, out, opts...) + err := c.cc.Invoke(ctx, "/model.types.Msg/DeleteModelVersion", in, out, opts...) if err != nil { return nil, err } @@ -1206,7 +1204,7 @@ func _Msg_CreateModel_Handler(srv interface{}, ctx context.Context, dec func(int } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.model.Msg/CreateModel", + FullMethod: "/model.types.Msg/CreateModel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).CreateModel(ctx, req.(*MsgCreateModel)) @@ -1224,7 +1222,7 @@ func _Msg_UpdateModel_Handler(srv interface{}, ctx context.Context, dec func(int } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.model.Msg/UpdateModel", + FullMethod: "/model.types.Msg/UpdateModel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).UpdateModel(ctx, req.(*MsgUpdateModel)) @@ -1242,7 +1240,7 @@ func _Msg_DeleteModel_Handler(srv interface{}, ctx context.Context, dec func(int } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.model.Msg/DeleteModel", + FullMethod: "/model.types.Msg/DeleteModel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).DeleteModel(ctx, req.(*MsgDeleteModel)) @@ -1260,7 +1258,7 @@ func _Msg_CreateModelVersion_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.model.Msg/CreateModelVersion", + FullMethod: "/model.types.Msg/CreateModelVersion", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).CreateModelVersion(ctx, req.(*MsgCreateModelVersion)) @@ -1278,7 +1276,7 @@ func _Msg_UpdateModelVersion_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.model.Msg/UpdateModelVersion", + FullMethod: "/model.types.Msg/UpdateModelVersion", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).UpdateModelVersion(ctx, req.(*MsgUpdateModelVersion)) @@ -1296,7 +1294,7 @@ func _Msg_DeleteModelVersion_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.model.Msg/DeleteModelVersion", + FullMethod: "/model.types.Msg/DeleteModelVersion", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).DeleteModelVersion(ctx, req.(*MsgDeleteModelVersion)) @@ -1305,7 +1303,7 @@ func _Msg_DeleteModelVersion_Handler(srv interface{}, ctx context.Context, dec f } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "zigbeealliance.distributedcomplianceledger.model.Msg", + ServiceName: "model.types.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -1334,7 +1332,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "model/tx.proto", + Metadata: "model/types/tx.proto", } func (m *MsgCreateModel) Marshal() (dAtA []byte, err error) { diff --git a/x/model/types/vendor_products.pb.go b/x/model/types/vendor_products.pb.go index ead549a34..1786805b2 100644 --- a/x/model/types/vendor_products.pb.go +++ b/x/model/types/vendor_products.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: model/vendor_products.proto +// source: model/types/vendor_products.proto package types @@ -31,7 +31,7 @@ func (m *VendorProducts) Reset() { *m = VendorProducts{} } func (m *VendorProducts) String() string { return proto.CompactTextString(m) } func (*VendorProducts) ProtoMessage() {} func (*VendorProducts) Descriptor() ([]byte, []int) { - return fileDescriptor_1f57b2346708f393, []int{0} + return fileDescriptor_f16e674a2ad785be, []int{0} } func (m *VendorProducts) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -75,28 +75,27 @@ func (m *VendorProducts) GetProducts() []*Product { } func init() { - proto.RegisterType((*VendorProducts)(nil), "zigbeealliance.distributedcomplianceledger.model.VendorProducts") + proto.RegisterType((*VendorProducts)(nil), "model.types.VendorProducts") } -func init() { proto.RegisterFile("model/vendor_products.proto", fileDescriptor_1f57b2346708f393) } +func init() { proto.RegisterFile("model/types/vendor_products.proto", fileDescriptor_f16e674a2ad785be) } -var fileDescriptor_1f57b2346708f393 = []byte{ - // 225 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xce, 0xcd, 0x4f, 0x49, - 0xcd, 0xd1, 0x2f, 0x4b, 0xcd, 0x4b, 0xc9, 0x2f, 0x8a, 0x2f, 0x28, 0xca, 0x4f, 0x29, 0x4d, 0x2e, - 0x29, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x32, 0xa8, 0xca, 0x4c, 0x4f, 0x4a, 0x4d, 0x4d, - 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4b, 0xc9, 0x2c, 0x2e, 0x29, 0xca, 0x4c, 0x2a, - 0x2d, 0x49, 0x4d, 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, 0xa7, 0x16, 0xe9, - 0x81, 0xcd, 0x91, 0x12, 0x86, 0x18, 0x07, 0x35, 0x07, 0x62, 0x8c, 0x52, 0x25, 0x17, 0x5f, 0x18, - 0xd8, 0xfc, 0x00, 0xa8, 0xf1, 0x42, 0x02, 0x5c, 0xcc, 0x65, 0x99, 0x29, 0x12, 0x8c, 0x0a, 0x8c, - 0x1a, 0xac, 0x41, 0x20, 0xa6, 0x50, 0x28, 0x17, 0x07, 0xcc, 0x72, 0x09, 0x26, 0x05, 0x66, 0x0d, - 0x6e, 0x23, 0x4b, 0x3d, 0x52, 0x6d, 0xd7, 0x83, 0x9a, 0x1f, 0x04, 0x37, 0xca, 0x29, 0xe1, 0xc4, - 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, - 0xc2, 0x63, 0x39, 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0xdc, 0xd2, 0x33, 0x4b, 0x32, 0x4a, 0x93, - 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x21, 0x16, 0xe9, 0xc2, 0x6c, 0xd2, 0x47, 0xb2, 0x49, 0x17, 0x61, - 0x95, 0x2e, 0xc4, 0x2e, 0xfd, 0x0a, 0x7d, 0x88, 0x27, 0x4b, 0x2a, 0x0b, 0x52, 0x8b, 0x93, 0xd8, - 0xc0, 0x7e, 0x34, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x20, 0xa1, 0xf6, 0xb1, 0x49, 0x01, 0x00, - 0x00, +var fileDescriptor_f16e674a2ad785be = []byte{ + // 215 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0xcc, 0xcd, 0x4f, 0x49, + 0xcd, 0xd1, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x2f, 0x4b, 0xcd, 0x4b, 0xc9, 0x2f, 0x8a, 0x2f, + 0x28, 0xca, 0x4f, 0x29, 0x4d, 0x2e, 0x29, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x06, + 0x2b, 0xd1, 0x03, 0x2b, 0x91, 0x92, 0x44, 0x56, 0x0f, 0x55, 0x08, 0x51, 0xa7, 0x14, 0xc2, 0xc5, + 0x17, 0x06, 0x36, 0x20, 0x00, 0xaa, 0x5f, 0x48, 0x80, 0x8b, 0xb9, 0x2c, 0x33, 0x45, 0x82, 0x51, + 0x81, 0x51, 0x83, 0x35, 0x08, 0xc4, 0x14, 0x32, 0xe0, 0xe2, 0x80, 0x99, 0x2e, 0xc1, 0xa4, 0xc0, + 0xac, 0xc1, 0x6d, 0x24, 0xa2, 0x87, 0x64, 0xbc, 0x1e, 0x54, 0x6b, 0x10, 0x5c, 0x95, 0x53, 0xc2, + 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, + 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0xb9, 0xa5, 0x67, 0x96, 0x64, 0x94, + 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x57, 0x65, 0xa6, 0x27, 0xa5, 0xa6, 0xea, 0x26, 0xe6, 0xe4, + 0x64, 0x26, 0xe6, 0x25, 0xa7, 0xea, 0xa7, 0x64, 0x16, 0x97, 0x14, 0x65, 0x26, 0x95, 0x96, 0xa4, + 0xa6, 0xe8, 0x26, 0xe7, 0xe7, 0x16, 0x40, 0x84, 0x75, 0x73, 0x52, 0x53, 0xd2, 0x53, 0x8b, 0xf4, + 0x2b, 0xf4, 0x91, 0x7c, 0x91, 0xc4, 0x06, 0x76, 0xbe, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xef, + 0x72, 0x06, 0xeb, 0x0b, 0x01, 0x00, 0x00, } func (m *VendorProducts) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/approved_certificates.pb.go b/x/pki/types/approved_certificates.pb.go index e6bce45f2..d9aa1cfca 100644 --- a/x/pki/types/approved_certificates.pb.go +++ b/x/pki/types/approved_certificates.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/approved_certificates.proto +// source: pki/types/approved_certificates.proto package types @@ -32,7 +32,7 @@ func (m *ApprovedCertificates) Reset() { *m = ApprovedCertificates{} } func (m *ApprovedCertificates) String() string { return proto.CompactTextString(m) } func (*ApprovedCertificates) ProtoMessage() {} func (*ApprovedCertificates) Descriptor() ([]byte, []int) { - return fileDescriptor_3ce3f4f36edbe99d, []int{0} + return fileDescriptor_b58f8792aa7e8abe, []int{0} } func (m *ApprovedCertificates) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -83,29 +83,31 @@ func (m *ApprovedCertificates) GetCerts() []*Certificate { } func init() { - proto.RegisterType((*ApprovedCertificates)(nil), "zigbeealliance.distributedcomplianceledger.pki.ApprovedCertificates") + proto.RegisterType((*ApprovedCertificates)(nil), "pki.types.ApprovedCertificates") } -func init() { proto.RegisterFile("pki/approved_certificates.proto", fileDescriptor_3ce3f4f36edbe99d) } +func init() { + proto.RegisterFile("pki/types/approved_certificates.proto", fileDescriptor_b58f8792aa7e8abe) +} -var fileDescriptor_3ce3f4f36edbe99d = []byte{ - // 253 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 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 0x88, 0x72, 0x49, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, - 0x87, 0xd8, 0xa3, 0x0b, 0xb3, 0x48, 0x1f, 0xc9, 0x22, 0x5d, 0x84, 0x4d, 0xba, 0x10, 0xab, 0xf4, - 0x2b, 0xf4, 0x41, 0xa1, 0x52, 0x52, 0x59, 0x90, 0x5a, 0x9c, 0xc4, 0x06, 0x0e, 0x10, 0x63, 0x40, - 0x00, 0x00, 0x00, 0xff, 0xff, 0xce, 0x98, 0xae, 0x5a, 0x7a, 0x01, 0x00, 0x00, +var fileDescriptor_b58f8792aa7e8abe = []byte{ + // 243 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x2d, 0xc8, 0xce, 0xd4, + 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x4f, 0x2c, 0x28, 0x28, 0xca, 0x2f, 0x4b, 0x4d, 0x89, 0x4f, + 0x4e, 0x2d, 0x2a, 0xc9, 0x4c, 0xcb, 0x4c, 0x4e, 0x2c, 0x49, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, + 0xc9, 0x17, 0xe2, 0x2c, 0xc8, 0xce, 0xd4, 0x03, 0x2b, 0x93, 0x92, 0x46, 0xe8, 0x40, 0x52, 0x08, + 0x51, 0xa7, 0xd4, 0xc4, 0xc8, 0x25, 0xe2, 0x08, 0x35, 0xc7, 0x19, 0xc9, 0x18, 0x21, 0x09, 0x2e, + 0xf6, 0xe2, 0xd2, 0xa4, 0xac, 0xd4, 0xe4, 0x12, 0x09, 0x46, 0x05, 0x46, 0x0d, 0xce, 0x20, 0x18, + 0x57, 0x48, 0x89, 0x8b, 0x07, 0xca, 0xf4, 0x4e, 0xad, 0xf4, 0x4c, 0x91, 0x60, 0x02, 0x4b, 0xa3, + 0x88, 0x09, 0xe9, 0x70, 0xb1, 0x82, 0xec, 0x2a, 0x96, 0x60, 0x56, 0x60, 0xd6, 0xe0, 0x36, 0x12, + 0xd3, 0x83, 0x3b, 0x47, 0x0f, 0xc9, 0x96, 0x20, 0x88, 0x22, 0xa7, 0xb8, 0x13, 0x8f, 0xe4, 0x18, + 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, + 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x88, 0x72, 0x49, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, + 0xcf, 0xd5, 0xaf, 0xca, 0x4c, 0x4f, 0x4a, 0x4d, 0xd5, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, + 0x4e, 0xd5, 0x4f, 0xc9, 0x2c, 0x2e, 0x29, 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0xd1, 0x4d, 0xce, + 0xcf, 0x2d, 0x80, 0x08, 0xeb, 0xe6, 0xa4, 0xa6, 0xa4, 0xa7, 0x16, 0xe9, 0x57, 0xe8, 0xc3, 0xbd, + 0x9d, 0xc4, 0x06, 0xf6, 0xab, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xa6, 0x2c, 0xdb, 0x4f, 0x3c, + 0x01, 0x00, 0x00, } func (m *ApprovedCertificates) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/approved_certificates_by_subject.pb.go b/x/pki/types/approved_certificates_by_subject.pb.go index d76a68d5d..9c8da9076 100644 --- a/x/pki/types/approved_certificates_by_subject.pb.go +++ b/x/pki/types/approved_certificates_by_subject.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/approved_certificates_by_subject.proto +// source: pki/types/approved_certificates_by_subject.proto package types @@ -31,7 +31,7 @@ func (m *ApprovedCertificatesBySubject) Reset() { *m = ApprovedCertifica func (m *ApprovedCertificatesBySubject) String() string { return proto.CompactTextString(m) } func (*ApprovedCertificatesBySubject) ProtoMessage() {} func (*ApprovedCertificatesBySubject) Descriptor() ([]byte, []int) { - return fileDescriptor_32862c9c0c83a774, []int{0} + return fileDescriptor_76f1aaa6ac15f6ff, []int{0} } func (m *ApprovedCertificatesBySubject) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -75,30 +75,30 @@ func (m *ApprovedCertificatesBySubject) GetSubjectKeyIds() []string { } func init() { - proto.RegisterType((*ApprovedCertificatesBySubject)(nil), "zigbeealliance.distributedcomplianceledger.pki.ApprovedCertificatesBySubject") + proto.RegisterType((*ApprovedCertificatesBySubject)(nil), "pki.types.ApprovedCertificatesBySubject") } func init() { - proto.RegisterFile("pki/approved_certificates_by_subject.proto", fileDescriptor_32862c9c0c83a774) + proto.RegisterFile("pki/types/approved_certificates_by_subject.proto", fileDescriptor_76f1aaa6ac15f6ff) } -var fileDescriptor_32862c9c0c83a774 = []byte{ - // 235 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x2a, 0xc8, 0xce, 0xd4, - 0x4f, 0x2c, 0x28, 0x28, 0xca, 0x2f, 0x4b, 0x4d, 0x89, 0x4f, 0x4e, 0x2d, 0x2a, 0xc9, 0x4c, 0xcb, - 0x4c, 0x4e, 0x2c, 0x49, 0x2d, 0x8e, 0x4f, 0xaa, 0x8c, 0x2f, 0x2e, 0x4d, 0xca, 0x4a, 0x4d, 0x2e, - 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xd2, 0xab, 0xca, 0x4c, 0x4f, 0x4a, 0x4d, 0x4d, 0xcc, - 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4b, 0xc9, 0x2c, 0x2e, 0x29, 0xca, 0x4c, 0x2a, 0x2d, - 0x49, 0x4d, 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, 0xa7, 0x16, 0xe9, 0x15, - 0x64, 0x67, 0x2a, 0xc5, 0x73, 0xc9, 0x3a, 0x42, 0x4d, 0x76, 0x46, 0x32, 0xd8, 0xa9, 0x32, 0x18, - 0x62, 0xac, 0x90, 0x04, 0x17, 0x3b, 0xd4, 0x06, 0x09, 0x46, 0x05, 0x46, 0x0d, 0xce, 0x20, 0x18, - 0x57, 0x48, 0x85, 0x8b, 0x17, 0xca, 0xf4, 0x4e, 0xad, 0xf4, 0x4c, 0x29, 0x96, 0x60, 0x52, 0x60, - 0xd6, 0xe0, 0x0c, 0x42, 0x15, 0x74, 0x8a, 0x3b, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, - 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, - 0x86, 0x28, 0x97, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0x88, 0xab, - 0x75, 0x61, 0xce, 0xd6, 0x47, 0x72, 0xb6, 0x2e, 0xc2, 0xdd, 0xba, 0x10, 0x87, 0xeb, 0x57, 0xe8, - 0x83, 0x42, 0xa4, 0xa4, 0xb2, 0x20, 0xb5, 0x38, 0x89, 0x0d, 0xec, 0x6f, 0x63, 0x40, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x46, 0x08, 0xcb, 0x07, 0x25, 0x01, 0x00, 0x00, +var fileDescriptor_76f1aaa6ac15f6ff = []byte{ + // 225 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x28, 0xc8, 0xce, 0xd4, + 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x4f, 0x2c, 0x28, 0x28, 0xca, 0x2f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0xec, 0x25, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe3, 0x66, 0xad, 0xc4, 0x06, 0x01, 0x00, + 0x00, } func (m *ApprovedCertificatesBySubject) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/approved_certificates_by_subject_key_id.pb.go b/x/pki/types/approved_certificates_by_subject_key_id.pb.go index 31714501e..b57adbe73 100644 --- a/x/pki/types/approved_certificates_by_subject_key_id.pb.go +++ b/x/pki/types/approved_certificates_by_subject_key_id.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/approved_certificates_by_subject_key_id.proto +// source: pki/types/approved_certificates_by_subject_key_id.proto package types @@ -31,7 +31,7 @@ func (m *ApprovedCertificatesBySubjectKeyId) Reset() { *m = ApprovedCert func (m *ApprovedCertificatesBySubjectKeyId) String() string { return proto.CompactTextString(m) } func (*ApprovedCertificatesBySubjectKeyId) ProtoMessage() {} func (*ApprovedCertificatesBySubjectKeyId) Descriptor() ([]byte, []int) { - return fileDescriptor_3c174758e89e6673, []int{0} + return fileDescriptor_58fc71280f93a310, []int{0} } func (m *ApprovedCertificatesBySubjectKeyId) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -75,32 +75,31 @@ func (m *ApprovedCertificatesBySubjectKeyId) GetCerts() []*Certificate { } func init() { - proto.RegisterType((*ApprovedCertificatesBySubjectKeyId)(nil), "zigbeealliance.distributedcomplianceledger.pki.ApprovedCertificatesBySubjectKeyId") + proto.RegisterType((*ApprovedCertificatesBySubjectKeyId)(nil), "pki.types.ApprovedCertificatesBySubjectKeyId") } func init() { - proto.RegisterFile("pki/approved_certificates_by_subject_key_id.proto", fileDescriptor_3c174758e89e6673) + proto.RegisterFile("pki/types/approved_certificates_by_subject_key_id.proto", fileDescriptor_58fc71280f93a310) } -var fileDescriptor_3c174758e89e6673 = []byte{ - // 258 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0xd0, 0x31, 0x4b, 0xc4, 0x30, - 0x18, 0xc6, 0xf1, 0x46, 0x51, 0xb0, 0x3a, 0x15, 0x84, 0xc3, 0x21, 0x1c, 0x9d, 0x6e, 0x69, 0x8a, - 0x3a, 0x3a, 0x79, 0xba, 0x88, 0x93, 0xe7, 0xe6, 0x60, 0x69, 0x92, 0xd7, 0xfa, 0xda, 0x9e, 0x0d, - 0x49, 0x2a, 0xc6, 0x4f, 0xe1, 0xee, 0x17, 0x72, 0xbc, 0xd1, 0x51, 0xda, 0x2f, 0x22, 0x35, 0x8a, - 0x71, 0xbc, 0x31, 0xef, 0xf0, 0xff, 0x85, 0x27, 0x3e, 0x54, 0x35, 0xe6, 0xa5, 0x52, 0xba, 0x7d, - 0x02, 0x59, 0x08, 0xd0, 0x16, 0xef, 0x50, 0x94, 0x16, 0x4c, 0xc1, 0x5d, 0x61, 0x3a, 0xfe, 0x00, - 0xc2, 0x16, 0x35, 0xb8, 0x02, 0x25, 0x53, 0xba, 0xb5, 0x6d, 0xc2, 0x5e, 0xb0, 0xe2, 0x00, 0x65, - 0xd3, 0x60, 0xf9, 0x28, 0x80, 0x49, 0x34, 0x56, 0x23, 0xef, 0x2c, 0x48, 0xd1, 0x2e, 0x95, 0xbf, - 0x36, 0x20, 0x2b, 0xd0, 0x4c, 0xd5, 0x78, 0xb0, 0x3f, 0x12, 0x41, 0xd9, 0x67, 0xd2, 0x37, 0x12, - 0xa7, 0xa7, 0x3f, 0xf0, 0x59, 0xe0, 0xce, 0xdd, 0xb5, 0x57, 0x2f, 0xc1, 0x5d, 0xc8, 0x24, 0x8d, - 0xf7, 0x4c, 0xf0, 0x9e, 0x90, 0x29, 0x99, 0xed, 0x2c, 0xfe, 0xdd, 0x92, 0xab, 0x78, 0x6b, 0xec, - 0x9b, 0xc9, 0xc6, 0x74, 0x73, 0xb6, 0x7b, 0x74, 0xb2, 0xe6, 0x0f, 0x59, 0xc0, 0x2f, 0x7c, 0x69, - 0x7e, 0xfb, 0xde, 0x53, 0xb2, 0xea, 0x29, 0xf9, 0xec, 0x29, 0x79, 0x1d, 0x68, 0xb4, 0x1a, 0x68, - 0xf4, 0x31, 0xd0, 0xe8, 0xe6, 0xbc, 0x42, 0x7b, 0xdf, 0x71, 0x26, 0xda, 0x65, 0xee, 0x9d, 0xec, - 0x17, 0xca, 0x03, 0x28, 0xfb, 0x93, 0x32, 0x4f, 0xe5, 0xcf, 0xf9, 0xb8, 0x84, 0x75, 0x0a, 0x0c, - 0xdf, 0xfe, 0x1e, 0xe1, 0xf8, 0x2b, 0x00, 0x00, 0xff, 0xff, 0x29, 0xe4, 0x03, 0x2a, 0x80, 0x01, - 0x00, 0x00, +var fileDescriptor_58fc71280f93a310 = []byte{ + // 250 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0xcf, 0xb1, 0x4e, 0xc3, 0x30, + 0x14, 0x05, 0xd0, 0x1a, 0x04, 0x52, 0x03, 0x53, 0x06, 0x54, 0x81, 0x64, 0x55, 0x99, 0x3a, 0x10, + 0x5b, 0x82, 0x81, 0x99, 0xc2, 0x82, 0xd8, 0xca, 0xc6, 0x80, 0x15, 0xdb, 0x8f, 0xf0, 0x48, 0x8a, + 0x2d, 0xdb, 0xa9, 0x30, 0x5f, 0xc1, 0x67, 0x31, 0x76, 0x64, 0x44, 0xc9, 0x8f, 0x20, 0x1a, 0x54, + 0xc2, 0xe8, 0xa7, 0x7b, 0x8f, 0x7c, 0x93, 0x0b, 0x5b, 0x21, 0x0f, 0xd1, 0x82, 0xe7, 0x85, 0xb5, + 0xce, 0xac, 0x40, 0x0b, 0x05, 0x2e, 0xe0, 0x23, 0xaa, 0x22, 0x80, 0x17, 0x32, 0x0a, 0xdf, 0xc8, + 0x67, 0x50, 0x41, 0x54, 0x10, 0x05, 0x6a, 0x66, 0x9d, 0x09, 0x26, 0x1d, 0xdb, 0x0a, 0xd9, 0xa6, + 0x78, 0x7c, 0xf2, 0x67, 0x0c, 0xaa, 0x7d, 0x2e, 0x5b, 0x25, 0xd9, 0xe5, 0x2f, 0x7c, 0x35, 0x70, + 0xe7, 0xf1, 0xae, 0x57, 0x6f, 0x21, 0xde, 0xe8, 0x34, 0x4b, 0x0e, 0xfd, 0xe0, 0x3d, 0x21, 0x53, + 0x32, 0x1b, 0x2f, 0xfe, 0xdd, 0xd2, 0xd3, 0x64, 0xef, 0x87, 0xf7, 0x93, 0x9d, 0xe9, 0xee, 0xec, + 0xe0, 0xec, 0x88, 0x6d, 0x7f, 0xc0, 0x06, 0xf2, 0xa2, 0x0f, 0xcd, 0x1f, 0x3e, 0x5a, 0x4a, 0xd6, + 0x2d, 0x25, 0x5f, 0x2d, 0x25, 0xef, 0x1d, 0x1d, 0xad, 0x3b, 0x3a, 0xfa, 0xec, 0xe8, 0xe8, 0xfe, + 0xba, 0xc4, 0xf0, 0xd4, 0x48, 0xa6, 0xcc, 0x92, 0xbf, 0x61, 0x29, 0x01, 0xf2, 0xa2, 0xae, 0xb1, + 0x78, 0x51, 0xc0, 0x35, 0xfa, 0xe0, 0x50, 0x36, 0x01, 0x74, 0xae, 0xcc, 0xd2, 0xf6, 0xe7, 0xbc, + 0x06, 0x5d, 0x82, 0xe3, 0xaf, 0x7c, 0xbb, 0x54, 0xee, 0x6f, 0xe6, 0x9d, 0x7f, 0x07, 0x00, 0x00, + 0xff, 0xff, 0x19, 0xf3, 0x0b, 0x17, 0x41, 0x01, 0x00, 0x00, } func (m *ApprovedCertificatesBySubjectKeyId) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/approved_root_certificates.pb.go b/x/pki/types/approved_root_certificates.pb.go index 216ba9b41..af8bac567 100644 --- a/x/pki/types/approved_root_certificates.pb.go +++ b/x/pki/types/approved_root_certificates.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/approved_root_certificates.proto +// source: pki/types/approved_root_certificates.proto package types @@ -30,7 +30,7 @@ func (m *ApprovedRootCertificates) Reset() { *m = ApprovedRootCertificat func (m *ApprovedRootCertificates) String() string { return proto.CompactTextString(m) } func (*ApprovedRootCertificates) ProtoMessage() {} func (*ApprovedRootCertificates) Descriptor() ([]byte, []int) { - return fileDescriptor_ba0e460850872043, []int{0} + return fileDescriptor_9407518e8df2b59a, []int{0} } func (m *ApprovedRootCertificates) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -67,30 +67,30 @@ func (m *ApprovedRootCertificates) GetCerts() []*CertificateIdentifier { } func init() { - proto.RegisterType((*ApprovedRootCertificates)(nil), "zigbeealliance.distributedcomplianceledger.pki.ApprovedRootCertificates") + proto.RegisterType((*ApprovedRootCertificates)(nil), "pki.types.ApprovedRootCertificates") } func init() { - proto.RegisterFile("pki/approved_root_certificates.proto", fileDescriptor_ba0e460850872043) + proto.RegisterFile("pki/types/approved_root_certificates.proto", fileDescriptor_9407518e8df2b59a) } -var fileDescriptor_ba0e460850872043 = []byte{ - // 235 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0xcf, 0xbb, 0x4e, 0xc3, 0x30, - 0x14, 0xc6, 0xf1, 0x44, 0x08, 0x86, 0xb0, 0x75, 0xaa, 0x18, 0xac, 0x0a, 0x31, 0xb0, 0xc4, 0x96, - 0xe0, 0x09, 0xb8, 0x0d, 0xac, 0x1d, 0x41, 0x22, 0x8a, 0xed, 0x43, 0x38, 0x6a, 0xda, 0x63, 0xd9, - 0xa7, 0xdc, 0x9e, 0x82, 0xc7, 0x62, 0xec, 0xc8, 0x88, 0x92, 0x17, 0x41, 0xc6, 0x5c, 0xbc, 0x76, - 0xb4, 0x2d, 0xff, 0x7f, 0xfa, 0xaa, 0x23, 0xb7, 0x40, 0xd5, 0x3a, 0xe7, 0xe9, 0x11, 0x6c, 0xe3, - 0x89, 0xb8, 0x31, 0xe0, 0x19, 0xef, 0xd1, 0xb4, 0x0c, 0x41, 0x3a, 0x4f, 0x4c, 0x13, 0xf9, 0x8a, - 0x9d, 0x06, 0x68, 0xfb, 0x1e, 0xdb, 0x95, 0x01, 0x69, 0x31, 0xb0, 0x47, 0xbd, 0x66, 0xb0, 0x86, - 0x96, 0x2e, 0xdd, 0xf6, 0x60, 0x3b, 0xf0, 0xd2, 0x2d, 0xf0, 0x60, 0x16, 0xab, 0x59, 0xa7, 0x41, - 0x0b, 0xab, 0x78, 0x88, 0xef, 0xb1, 0x78, 0xf8, 0x54, 0x4d, 0xcf, 0x7e, 0xd4, 0x39, 0x11, 0x5f, - 0x64, 0xe6, 0xe4, 0xb6, 0xda, 0x8d, 0x7f, 0xc3, 0xb4, 0x9c, 0xed, 0x1c, 0xef, 0x9f, 0x5c, 0x6d, - 0xa9, 0xcb, 0x2c, 0x76, 0xfd, 0xe7, 0xce, 0x53, 0xf3, 0xfc, 0xee, 0x7d, 0x10, 0xe5, 0x66, 0x10, - 0xe5, 0xe7, 0x20, 0xca, 0xb7, 0x51, 0x14, 0x9b, 0x51, 0x14, 0x1f, 0xa3, 0x28, 0x6e, 0x2e, 0x3b, - 0xe4, 0x87, 0xb5, 0x96, 0x86, 0x96, 0x2a, 0x89, 0xf5, 0x2f, 0xa9, 0x32, 0xb2, 0xfe, 0x37, 0xeb, - 0x84, 0xaa, 0x67, 0x15, 0xf7, 0xf2, 0x8b, 0x83, 0xa0, 0xf7, 0xbe, 0xf7, 0x9d, 0x7e, 0x05, 0x00, - 0x00, 0xff, 0xff, 0x24, 0xbc, 0x4b, 0x25, 0x59, 0x01, 0x00, 0x00, +var fileDescriptor_9407518e8df2b59a = []byte{ + // 227 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x2a, 0xc8, 0xce, 0xd4, + 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0x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, 0x87, 0x7b, 0x28, + 0x89, 0x0d, 0xec, 0x74, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x0e, 0xaf, 0x86, 0x5e, 0x1b, + 0x01, 0x00, 0x00, } func (m *ApprovedRootCertificates) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/certificate.pb.go b/x/pki/types/certificate.pb.go index cf8bd489e..093045789 100644 --- a/x/pki/types/certificate.pb.go +++ b/x/pki/types/certificate.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/certificate.proto +// source: pki/types/certificate.proto package types @@ -45,7 +45,7 @@ func (m *Certificate) Reset() { *m = Certificate{} } func (m *Certificate) String() string { return proto.CompactTextString(m) } func (*Certificate) ProtoMessage() {} func (*Certificate) Descriptor() ([]byte, []int) { - return fileDescriptor_2657e3d88fce7825, []int{0} + return fileDescriptor_a5c82100d3da891c, []int{0} } func (m *Certificate) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -173,44 +173,43 @@ func (m *Certificate) GetVid() int32 { } func init() { - proto.RegisterType((*Certificate)(nil), "zigbeealliance.distributedcomplianceledger.pki.Certificate") + proto.RegisterType((*Certificate)(nil), "pki.types.Certificate") } -func init() { proto.RegisterFile("pki/certificate.proto", fileDescriptor_2657e3d88fce7825) } +func init() { proto.RegisterFile("pki/types/certificate.proto", fileDescriptor_a5c82100d3da891c) } -var fileDescriptor_2657e3d88fce7825 = []byte{ - // 482 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x92, 0x41, 0x8b, 0xd3, 0x40, - 0x14, 0xc7, 0x1b, 0xbb, 0x6d, 0xb7, 0xd3, 0xdd, 0x55, 0x86, 0x55, 0xc6, 0x1e, 0x62, 0x28, 0x22, - 0x45, 0x6c, 0xa2, 0x2e, 0xf5, 0x20, 0xec, 0x61, 0xab, 0x20, 0x22, 0x28, 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9, 0xdb, 0xaf, 0x4b, 0xdb, 0xba, 0x58, - 0xda, 0xd6, 0xaf, 0xa5, 0x6d, 0x7d, 0x5e, 0xd9, 0x8d, 0x8b, 0x95, 0xdd, 0xf8, 0xbe, 0xb2, 0x1b, - 0x6f, 0x9e, 0xc6, 0x02, 0x4f, 0xf3, 0xc0, 0x0d, 0x65, 0xea, 0x19, 0xaa, 0xd1, 0x1a, 0xcb, 0xab, - 0x61, 0x8d, 0x36, 0x5c, 0x23, 0x03, 0xe6, 0x9d, 0x7b, 0xc5, 0x2f, 0xc6, 0x45, 0x06, 0x3a, 0x68, - 0x97, 0xdf, 0xf8, 0xe8, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe1, 0x61, 0x0c, 0x53, 0x51, 0x03, - 0x00, 0x00, +var fileDescriptor_a5c82100d3da891c = []byte{ + // 473 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0x41, 0x6e, 0xd3, 0x40, + 0x14, 0x86, 0x63, 0xd2, 0x24, 0xcd, 0xa4, 0xad, 0xaa, 0x51, 0x41, 0x43, 0x90, 0x8c, 0x15, 0x21, + 0x14, 0x55, 0xc4, 0x06, 0xaa, 0xb0, 0x40, 0xea, 0xa2, 0x01, 0x09, 0x21, 0x24, 0x16, 0x2e, 0x2b, + 0x16, 0xa0, 0xb1, 0xfd, 0x70, 0x87, 0xda, 0x19, 0x6b, 0xe6, 0x39, 0x34, 0x9c, 0x02, 0x89, 0xab, + 0x70, 0x08, 0x96, 0x15, 0x2b, 0x56, 0x08, 0x25, 0x37, 0xe0, 0x04, 0xc8, 0x33, 0x6e, 0x93, 0x82, + 0xba, 0xf3, 0xff, 0xfd, 0xff, 0x3c, 0x3f, 0xfd, 0x33, 0xe4, 0x4e, 0x71, 0x2a, 0x02, 0x9c, 0x17, + 0xa0, 0x83, 0x18, 0x14, 0x8a, 0x0f, 0x22, 0xe6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, 0xee, 0x02, 0x00, 0x00, } func (m *Certificate) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/certificate_identifier.pb.go b/x/pki/types/certificate_identifier.pb.go index 956f1d4fe..bb058038f 100644 --- a/x/pki/types/certificate_identifier.pb.go +++ b/x/pki/types/certificate_identifier.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/certificate_identifier.proto +// source: pki/types/certificate_identifier.proto package types @@ -31,7 +31,7 @@ func (m *CertificateIdentifier) Reset() { *m = CertificateIdentifier{} } func (m *CertificateIdentifier) String() string { return proto.CompactTextString(m) } func (*CertificateIdentifier) ProtoMessage() {} func (*CertificateIdentifier) Descriptor() ([]byte, []int) { - return fileDescriptor_e27460f91c3cafeb, []int{0} + return fileDescriptor_203e44a69345fedc, []int{0} } func (m *CertificateIdentifier) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -75,27 +75,28 @@ func (m *CertificateIdentifier) GetSubjectKeyId() string { } func init() { - proto.RegisterType((*CertificateIdentifier)(nil), "zigbeealliance.distributedcomplianceledger.pki.CertificateIdentifier") + proto.RegisterType((*CertificateIdentifier)(nil), "pki.types.CertificateIdentifier") } -func init() { proto.RegisterFile("pki/certificate_identifier.proto", fileDescriptor_e27460f91c3cafeb) } +func init() { + proto.RegisterFile("pki/types/certificate_identifier.proto", fileDescriptor_203e44a69345fedc) +} -var fileDescriptor_e27460f91c3cafeb = []byte{ - // 216 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x28, 0xc8, 0xce, 0xd4, - 0x4f, 0x4e, 0x2d, 0x2a, 0xc9, 0x4c, 0xcb, 0x4c, 0x4e, 0x2c, 0x49, 0x8d, 0xcf, 0x4c, 0x49, 0xcd, - 0x03, 0x71, 0x52, 0x8b, 0xf4, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0xf4, 0xaa, 0x32, 0xd3, 0x93, - 0x52, 0x53, 0x13, 0x73, 0x72, 0x32, 0x13, 0xf3, 0x92, 0x53, 0xf5, 0x52, 0x32, 0x8b, 0x4b, 0x8a, - 0x32, 0x93, 0x4a, 0x4b, 0x52, 0x53, 0x92, 0xf3, 0x73, 0x0b, 0x20, 0xa2, 0x39, 0xa9, 0x29, 0xe9, - 0x20, 0x1d, 0xd9, 0x99, 0x4a, 0xa1, 0x5c, 0xa2, 0xce, 0x08, 0xf3, 0x3c, 0xe1, 0xc6, 0x09, 0x49, - 0x70, 0xb1, 0x17, 0x97, 0x26, 0x65, 0xa5, 0x26, 0x97, 0x48, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x06, - 0xc1, 0xb8, 0x42, 0x4a, 0x5c, 0x3c, 0x50, 0xa6, 0x77, 0x6a, 0xa5, 0x67, 0x8a, 0x04, 0x13, 0x58, - 0x1a, 0x45, 0xcc, 0x29, 0xee, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, 0x92, - 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0x5c, - 0xd2, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x21, 0x6e, 0xd5, 0x85, 0x39, - 0x56, 0x1f, 0xc9, 0xb1, 0xba, 0x08, 0xd7, 0xea, 0x42, 0x9c, 0xab, 0x5f, 0xa1, 0x0f, 0xf2, 0x7d, - 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0xd8, 0xb7, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, - 0xc9, 0x5e, 0x10, 0xd7, 0x11, 0x01, 0x00, 0x00, +var fileDescriptor_203e44a69345fedc = []byte{ + // 208 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 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d, 0xb8, 0xf7, 0x92, 0xd8, 0xc0, + 0x1e, 0x31, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0xa2, 0xf9, 0x55, 0x77, 0xf2, 0x00, 0x00, 0x00, } func (m *CertificateIdentifier) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/child_certificates.pb.go b/x/pki/types/child_certificates.pb.go index c34be8b56..af3691eb4 100644 --- a/x/pki/types/child_certificates.pb.go +++ b/x/pki/types/child_certificates.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/child_certificates.proto +// source: pki/types/child_certificates.proto package types @@ -32,7 +32,7 @@ func (m *ChildCertificates) Reset() { *m = ChildCertificates{} } func (m *ChildCertificates) String() string { return proto.CompactTextString(m) } func (*ChildCertificates) ProtoMessage() {} func (*ChildCertificates) Descriptor() ([]byte, []int) { - return fileDescriptor_1f81991ee339011f, []int{0} + return fileDescriptor_ff6cc91e15e999b2, []int{0} } func (m *ChildCertificates) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -83,30 +83,32 @@ func (m *ChildCertificates) GetCertIds() []*CertificateIdentifier { } func init() { - proto.RegisterType((*ChildCertificates)(nil), "zigbeealliance.distributedcomplianceledger.pki.ChildCertificates") + proto.RegisterType((*ChildCertificates)(nil), "pki.types.ChildCertificates") } -func init() { proto.RegisterFile("pki/child_certificates.proto", fileDescriptor_1f81991ee339011f) } +func init() { + proto.RegisterFile("pki/types/child_certificates.proto", fileDescriptor_ff6cc91e15e999b2) +} -var fileDescriptor_1f81991ee339011f = []byte{ - // 270 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x29, 0xc8, 0xce, 0xd4, - 0x4f, 0xce, 0xc8, 0xcc, 0x49, 0x89, 0x4f, 0x4e, 0x2d, 0x2a, 0xc9, 0x4c, 0xcb, 0x4c, 0x4e, 0x2c, - 0x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2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, - 0xd5, 0x87, 0xd8, 0xa9, 0x0b, 0xb3, 0x54, 0x1f, 0xc9, 0x52, 0x5d, 0x84, 0xad, 0xba, 0x10, 0x6b, - 0xf5, 0x2b, 0xf4, 0x41, 0xa1, 0x55, 0x52, 0x59, 0x90, 0x5a, 0x9c, 0xc4, 0x06, 0x0e, 0x1d, 0x63, - 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0xef, 0x80, 0x6d, 0x3d, 0x8f, 0x01, 0x00, 0x00, +var fileDescriptor_ff6cc91e15e999b2 = []byte{ + // 259 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x50, 0x3d, 0x4b, 0xc3, 0x40, + 0x18, 0xce, 0x59, 0xa8, 0x34, 0x82, 0x60, 0x06, 0x09, 0x0e, 0x47, 0xe8, 0x50, 0xba, 0xe4, 0x0e, + 0x74, 0x73, 0xb4, 0x2e, 0xc1, 0xad, 0xa3, 0x83, 0x25, 0xb9, 0x7b, 0x4d, 0x5e, 0x9a, 0xf6, 0x8e, + 0xbb, 0x0b, 0x18, 0xff, 0x84, 0xfe, 0x2c, 0xc7, 0x8e, 0x8e, 0x92, 0xfc, 0x11, 0x49, 0xaa, 0x31, + 0x38, 0x3e, 0xcf, 0x3d, 0x5f, 0xf7, 0xfa, 0x73, 0xbd, 0x45, 0xee, 0x6a, 0x0d, 0x96, 0x8b, 0x02, + 0x4b, 0xb9, 0x11, 0x60, 0x1c, 0x3e, 0xa3, 0x48, 0x1d, 0x58, 0xa6, 0x8d, 0x72, 0x2a, 0x98, 0xe9, + 0x2d, 0xb2, 0x5e, 0x73, 0xb5, 0x18, 0xc9, 0xff, 0x84, 0x1b, 0x94, 0xb0, 0xef, 0x00, 0x98, 0xa3, + 0x65, 0xfe, 0x46, 0xfc, 0x8b, 0x55, 0x97, 0xb7, 0x1a, 0xc5, 0x05, 0x97, 0xfe, 0x14, 0xad, 0xad, + 0xc0, 0x84, 0x24, 0x22, 0xcb, 0xd9, 0xfa, 0x07, 0x05, 0x0b, 0xff, 0x3c, 0xad, 0x5c, 0xa1, 0x0c, + 0xba, 0xfa, 0x01, 0xea, 0x44, 0x86, 0x27, 0xfd, 0xfb, 0x3f, 0x36, 0xb8, 0xf5, 0x4f, 0xbb, 0xd6, + 0x44, 0xda, 0x70, 0x12, 0x4d, 0x96, 0x67, 0xd7, 0x11, 0x1b, 0xa6, 0xb1, 0x51, 0x53, 0x32, 0xcc, + 0x59, 0xff, 0x1a, 0xee, 0x9e, 0x3e, 0x1a, 0x4a, 0x0e, 0x0d, 0x25, 0x5f, 0x0d, 0x25, 0xef, 0x2d, + 0xf5, 0x0e, 0x2d, 0xf5, 0x3e, 0x5b, 0xea, 0x3d, 0xde, 0xe7, 0xe8, 0x8a, 0x2a, 0x63, 0x42, 0xed, + 0xf8, 0x2b, 0xe6, 0x19, 0x40, 0x9c, 0x96, 0x25, 0xa6, 0x7b, 0x01, 0x5c, 0xa2, 0x75, 0x06, 0xb3, + 0xca, 0x81, 0x8c, 0x85, 0xda, 0xe9, 0x23, 0x1d, 0x97, 0x20, 0x73, 0x30, 0xfc, 0x85, 0x0f, 0xe7, + 0xc8, 0xa6, 0xfd, 0xc7, 0x6f, 0xbe, 0x03, 0x00, 0x00, 0xff, 0xff, 0x56, 0x82, 0xd7, 0xd1, 0x51, + 0x01, 0x00, 0x00, } func (m *ChildCertificates) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/genesis.pb.go b/x/pki/types/genesis.pb.go index 3e44d84c1..d6ffb7cc1 100644 --- a/x/pki/types/genesis.pb.go +++ b/x/pki/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/genesis.proto +// source: pki/types/genesis.proto package types @@ -44,7 +44,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} } func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_9478608499b59120, []int{0} + return fileDescriptor_dc06e1a663d144bc, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -165,55 +165,54 @@ func (m *GenesisState) GetApprovedCertificatesBySubjectKeyIdList() []ApprovedCer } func init() { - proto.RegisterType((*GenesisState)(nil), "zigbeealliance.distributedcomplianceledger.pki.GenesisState") + proto.RegisterType((*GenesisState)(nil), "pki.types.GenesisState") } -func init() { proto.RegisterFile("pki/genesis.proto", fileDescriptor_9478608499b59120) } +func init() { proto.RegisterFile("pki/types/genesis.proto", fileDescriptor_dc06e1a663d144bc) } -var fileDescriptor_9478608499b59120 = []byte{ - // 669 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0xcb, 0x6e, 0xd3, 0x40, - 0x14, 0x86, 0x63, 0x5a, 0x0a, 0xb8, 0x45, 0x08, 0x0b, 0x44, 0x54, 0x21, 0xb7, 0x14, 0x84, 0x0a, - 0x28, 0xb6, 0x28, 0x0b, 0xd6, 0xb9, 0xa0, 0x52, 0x71, 0x51, 0xe4, 0x8a, 0x0d, 0x0b, 0x2c, 0x5f, - 0x06, 0x77, 0x70, 0x9a, 0x31, 0xf6, 0xb8, 0xc2, 0x48, 0x2c, 0x10, 0x88, 0x35, 0xaf, 0x80, 0xc4, - 0x03, 0xb0, 0xe6, 0x09, 0xba, 0xec, 0x92, 0x15, 0x42, 0xc9, 0x8b, 0xa0, 0x39, 0x1e, 0x37, 0x4e, - 0x3c, 0x4e, 0x13, 0x2b, 0xbb, 0x64, 0x3c, 0xfe, 0xff, 0xef, 0xcc, 0xf9, 0x8f, 0x6d, 0xf9, 0x6a, - 0xe0, 0x63, 0xdd, 0x43, 0x7d, 0x14, 0xe1, 0x48, 0x0b,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57, 0xe0, 0x1b, 0xe1, 0xd1, 0xff, - 0x00, 0x00, 0x00, 0xff, 0xff, 0xcd, 0xae, 0x7b, 0x69, 0x84, 0x0a, 0x00, 0x00, +var fileDescriptor_dc06e1a663d144bc = []byte{ + // 642 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x4d, 0x6f, 0xd3, 0x40, + 0x14, 0x8c, 0x69, 0x29, 0xd4, 0x29, 0x17, 0x0b, 0xd4, 0xaa, 0x42, 0x6e, 0x09, 0x1f, 0x4a, 0x91, + 0x12, 0x43, 0x39, 0xf4, 0x86, 0xd4, 0x34, 0x12, 0xaa, 0xca, 0x21, 0x4a, 0x85, 0x84, 0x10, 0xaa, + 0xe5, 0x8f, 0xc5, 0x5d, 0x9c, 0x66, 0x8d, 0xbd, 0xae, 0x30, 0x42, 0xe2, 0x07, 0x70, 0xe1, 0x17, + 0x71, 0xee, 0x31, 0x47, 0x4e, 0x08, 0x25, 0x7f, 0x04, 0xf9, 0x79, 0x1d, 0x6f, 0xb3, 0x6b, 0xc7, + 0x70, 0x73, 0x76, 0xe7, 0xcd, 0xcc, 0xce, 0x7b, 0x5e, 0x47, 0xdd, 0x0c, 0x7c, 0x6c, 0xd0, 0x24, + 0x40, 0x91, 0xe1, 0xa1, 0x31, 0x8a, 0x70, 0xd4, 0x0d, 0x42, 0x42, 0x89, 0xb6, 0x1e, 0xf8, 0xb8, + 0x0b, 0x1b, 0xdb, 0x8f, 0x0b, 0x8c, 0x15, 0x04, 0x21, 0xb9, 0x44, 0xae, 0xe9, 0xa0, 0x90, 0xe2, + 0x0f, 0xd8, 0xb1, 0x28, 0x62, 0x15, 0xdb, 0x8f, 0x0a, 0x58, 0x10, 0x92, 0x80, 0x44, 0xd7, 0x61, + 0x0c, 0xd5, 0x2a, 0x50, 0xce, 0x39, 0x1e, 0x49, 0x99, 0x8c, 0x6a, 0x26, 0x33, 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0x6c, 0x6d, 0x80, 0xad, 0x97, 0xb5, + 0x6d, 0x49, 0x99, 0x98, 0xd7, 0xff, 0x35, 0xa1, 0x7d, 0x57, 0xd4, 0x27, 0x95, 0x7d, 0x4c, 0xa1, + 0x2e, 0xf8, 0xbd, 0x03, 0x7e, 0x3b, 0x75, 0xa7, 0x04, 0x0a, 0x99, 0xbd, 0x9a, 0x12, 0xbd, 0xb3, + 0xab, 0xa9, 0xae, 0x4c, 0xa6, 0xba, 0xf2, 0x67, 0xaa, 0x2b, 0x3f, 0x66, 0x7a, 0x63, 0x32, 0xd3, + 0x1b, 0xbf, 0x66, 0x7a, 0xe3, 0x5d, 0xdf, 0xc3, 0xf4, 0x3c, 0xb6, 0xbb, 0x0e, 0xb9, 0x30, 0xbe, + 0x60, 0xcf, 0x46, 0xa8, 0x63, 0x8d, 0x46, 0xd8, 0x1a, 0x3b, 0xc8, 0x98, 0x7f, 0x8a, 0x90, 0xdb, + 0x71, 0xc8, 0x45, 0x90, 0x2d, 0x77, 0x46, 0xc8, 0xf5, 0x50, 0x68, 0x7c, 0x2e, 0xfe, 0x20, 0xd8, + 0x6b, 0xf0, 0xe5, 0x78, 0xf1, 0x37, 0x00, 0x00, 0xff, 0xff, 0xcb, 0x68, 0x1b, 0x5a, 0xc9, 0x08, + 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/grant.pb.go b/x/pki/types/grant.pb.go index 7e8fddf45..d9c8ff655 100644 --- a/x/pki/types/grant.pb.go +++ b/x/pki/types/grant.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/grant.proto +// source: pki/types/grant.proto package types @@ -33,7 +33,7 @@ func (m *Grant) Reset() { *m = Grant{} } func (m *Grant) String() string { return proto.CompactTextString(m) } func (*Grant) ProtoMessage() {} func (*Grant) Descriptor() ([]byte, []int) { - return fileDescriptor_e48633ba4b90fc0a, []int{0} + return fileDescriptor_fb8d2c59fc7b3df7, []int{0} } func (m *Grant) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -84,29 +84,28 @@ func (m *Grant) GetInfo() string { } func init() { - proto.RegisterType((*Grant)(nil), "zigbeealliance.distributedcomplianceledger.pki.Grant") + proto.RegisterType((*Grant)(nil), "pki.types.Grant") } -func init() { proto.RegisterFile("pki/grant.proto", fileDescriptor_e48633ba4b90fc0a) } +func init() { proto.RegisterFile("pki/types/grant.proto", fileDescriptor_fb8d2c59fc7b3df7) } -var fileDescriptor_e48633ba4b90fc0a = []byte{ - // 246 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x2f, 0xc8, 0xce, 0xd4, - 0x4f, 0x2f, 0x4a, 0xcc, 0x2b, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xd2, 0xab, 0xca, 0x4c, - 0x4f, 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4b, 0xc9, 0x2c, 0x2e, - 0x29, 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, - 0xa4, 0xa7, 0x16, 0xe9, 0x15, 0x64, 0x67, 0x4a, 0x49, 0x26, 0xe7, 0x17, 0xe7, 0xe6, 0x17, 0xc7, - 0x83, 0x75, 0xeb, 0x43, 0x38, 0x10, 0xa3, 0x94, 0x92, 0xb9, 0x58, 0xdd, 0x41, 0x26, 0x0b, 0x19, - 0x71, 0xb1, 0x27, 0xa6, 0xa4, 0x14, 0xa5, 0x16, 0x17, 0x4b, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x3a, - 0x49, 0x5c, 0xda, 0xa2, 0x2b, 0x02, 0x55, 0xeb, 0x08, 0x91, 0x09, 0x2e, 0x29, 0xca, 0xcc, 0x4b, - 0x0f, 0x82, 0x29, 0x14, 0x12, 0xe2, 0x62, 0x29, 0xc9, 0xcc, 0x4d, 0x95, 0x60, 0x52, 0x60, 0xd4, - 0x60, 0x0e, 0x02, 0xb3, 0x41, 0x62, 0x99, 0x79, 0x69, 0xf9, 0x12, 0xcc, 0x20, 0x43, 0x82, 0xc0, - 0x6c, 0xa7, 0xb8, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, - 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x88, 0x72, 0x49, 0xcf, - 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x87, 0x78, 0x4a, 0x17, 0xe6, 0x2b, 0x7d, - 0x24, 0x5f, 0xe9, 0x22, 0xbc, 0xa5, 0x0b, 0xf1, 0x97, 0x7e, 0x85, 0x3e, 0x28, 0x54, 0x4a, 0x2a, - 0x0b, 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0x7e, 0x31, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0xf0, 0x1d, - 0xea, 0x1b, 0x29, 0x01, 0x00, 0x00, +var fileDescriptor_fb8d2c59fc7b3df7 = []byte{ + // 236 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2d, 0xc8, 0xce, 0xd4, + 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x4f, 0x2f, 0x4a, 0xcc, 0x2b, 0xd1, 0x2b, 0x28, 0xca, 0x2f, + 0xc9, 0x17, 0xe2, 0x2c, 0xc8, 0xce, 0xd4, 0x03, 0x0b, 0x4b, 0x49, 0x26, 0xe7, 0x17, 0xe7, 0xe6, + 0x17, 0xc7, 0x83, 0x25, 0xf4, 0x21, 0x1c, 0x88, 0x2a, 0xa5, 0x64, 0x2e, 0x56, 0x77, 0x90, 0x26, + 0x21, 0x23, 0x2e, 0xf6, 0xc4, 0x94, 0x94, 0xa2, 0xd4, 0xe2, 0x62, 0x09, 0x46, 0x05, 0x46, 0x0d, + 0x4e, 0x27, 0x89, 0x4b, 0x5b, 0x74, 0x45, 0xa0, 0x6a, 0x1d, 0x21, 0x32, 0xc1, 0x25, 0x45, 0x99, + 0x79, 0xe9, 0x41, 0x30, 0x85, 0x42, 0x42, 0x5c, 0x2c, 0x25, 0x99, 0xb9, 0xa9, 0x12, 0x4c, 0x0a, + 0x8c, 0x1a, 0xcc, 0x41, 0x60, 0x36, 0x48, 0x2c, 0x33, 0x2f, 0x2d, 0x5f, 0x82, 0x19, 0x64, 0x48, + 0x10, 0x98, 0xed, 0x14, 0x77, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, + 0x31, 0x4e, 0x78, 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0x2e, + 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0x55, 0x99, 0xe9, 0x49, 0xa9, + 0xa9, 0xba, 0x89, 0x39, 0x39, 0x99, 0x89, 0x79, 0xc9, 0xa9, 0xfa, 0x29, 0x99, 0xc5, 0x25, 0x45, + 0x99, 0x49, 0xa5, 0x25, 0xa9, 0x29, 0xba, 0xc9, 0xf9, 0xb9, 0x05, 0x10, 0x61, 0xdd, 0x9c, 0xd4, + 0x94, 0xf4, 0xd4, 0x22, 0xfd, 0x0a, 0x7d, 0xb8, 0xb7, 0x93, 0xd8, 0xc0, 0x7e, 0x31, 0x06, 0x04, + 0x00, 0x00, 0xff, 0xff, 0xa4, 0xe3, 0xb3, 0x9e, 0x0a, 0x01, 0x00, 0x00, } func (m *Grant) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/pki_revocation_distribution_point.pb.go b/x/pki/types/pki_revocation_distribution_point.pb.go index 6e4738883..2b21cd2e3 100644 --- a/x/pki/types/pki_revocation_distribution_point.pb.go +++ b/x/pki/types/pki_revocation_distribution_point.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/pki_revocation_distribution_point.proto +// source: pki/types/pki_revocation_distribution_point.proto package types @@ -40,7 +40,7 @@ func (m *PkiRevocationDistributionPoint) Reset() { *m = PkiRevocationDis func (m *PkiRevocationDistributionPoint) String() string { return proto.CompactTextString(m) } func (*PkiRevocationDistributionPoint) ProtoMessage() {} func (*PkiRevocationDistributionPoint) Descriptor() ([]byte, []int) { - return fileDescriptor_35504fa19b856908, []int{0} + return fileDescriptor_60aeebb59a5fcc06, []int{0} } func (m *PkiRevocationDistributionPoint) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -147,39 +147,38 @@ func (m *PkiRevocationDistributionPoint) GetRevocationType() uint32 { } func init() { - proto.RegisterType((*PkiRevocationDistributionPoint)(nil), "zigbeealliance.distributedcomplianceledger.pki.PkiRevocationDistributionPoint") + proto.RegisterType((*PkiRevocationDistributionPoint)(nil), "pki.types.PkiRevocationDistributionPoint") } func init() { - proto.RegisterFile("pki/pki_revocation_distribution_point.proto", fileDescriptor_35504fa19b856908) + proto.RegisterFile("pki/types/pki_revocation_distribution_point.proto", fileDescriptor_60aeebb59a5fcc06) } -var fileDescriptor_35504fa19b856908 = []byte{ - // 374 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0xbb, 0x8a, 0xdb, 0x40, - 0x14, 0x86, 0x3d, 0xf1, 0x7d, 0x72, 0x21, 0x0c, 0x2e, 0xa6, 0x1a, 0x84, 0x8b, 0x20, 0x08, 0x96, - 0x20, 0x79, 0x02, 0x27, 0x22, 0x10, 0x92, 0xc2, 0xc8, 0x49, 0x93, 0x22, 0x46, 0x97, 0x13, 0xe5, - 0xac, 0x64, 0x69, 0x18, 0x8d, 0xcc, 0xda, 0xe5, 0x3e, 0xc1, 0x3e, 0xd6, 0x96, 0x2e, 0xb7, 0x5c, - 0xec, 0x17, 0x59, 0xa4, 0xc1, 0xb7, 0xc5, 0xdd, 0xfc, 0xff, 0xfc, 0x7c, 0xcd, 0x77, 0xe8, 0x47, - 0x99, 0xa2, 0x2b, 0x53, 0x5c, 0x28, 0x58, 0x15, 0x51, 0xa0, 0xb1, 0xc8, 0x17, 0x31, 0x96, 0x5a, - 0x61, 0x58, 0x35, 0x41, 0x16, 0x98, 0x6b, 0x47, 0xaa, 0x42, 0x17, 0xcc, 0xd9, 0x60, 0x12, 0x02, - 0x04, 0x59, 0x86, 0x41, 0x1e, 0x81, 0x73, 0x1c, 0x42, 0x1c, 0x15, 0x4b, 0x69, 0xda, 0x0c, 0xe2, - 0x04, 0x94, 0x23, 0x53, 0x1c, 0xdf, 0xb5, 0xa9, 0x98, 0xa5, 0xe8, 0x1f, 0xd1, 0xde, 0x19, 0x79, - 0x56, 0x83, 0xd9, 0x7b, 0xda, 0x5e, 0x61, 0xcc, 0x89, 0x45, 0xec, 0xae, 0x5f, 0x3f, 0xd9, 0x88, - 0x76, 0xb3, 0x20, 0x84, 0x8c, 0xbf, 0xb2, 0x88, 0x3d, 0xf4, 0x4d, 0x60, 0x0e, 0x65, 0x58, 0x96, - 0x15, 0xa8, 0x79, 0x15, 0xde, 0x40, 0xa4, 0x7f, 0xc0, 0xfa, 0xbb, 0xc7, 0xdb, 0xcd, 0xe4, 0xca, - 0x4f, 0xcd, 0x95, 0x18, 0xf3, 0x8e, 0xe1, 0x4a, 0xc3, 0xc5, 0x72, 0x36, 0x9d, 0xf2, 0xae, 0x45, - 0xec, 0x81, 0x6f, 0x02, 0xfb, 0x44, 0x47, 0x91, 0xca, 0xe6, 0x98, 0xe4, 0xa0, 0xbe, 0x82, 0xd2, - 0xf8, 0x0f, 0xa3, 0x40, 0x03, 0xef, 0x35, 0xe4, 0xab, 0x7f, 0x8c, 0xd3, 0x7e, 0x1c, 0xe8, 0xe0, - 0xb7, 0xff, 0x93, 0xf7, 0x9b, 0xd9, 0x21, 0xb2, 0x31, 0x7d, 0x53, 0x3f, 0xbf, 0x61, 0x06, 0x73, - 0xdc, 0x00, 0x1f, 0x58, 0xc4, 0xee, 0xf8, 0x17, 0x1d, 0x13, 0x94, 0xd6, 0xd9, 0xc3, 0x04, 0x4a, - 0xcd, 0x87, 0x0d, 0xe0, 0xac, 0x61, 0x1f, 0xe8, 0xbb, 0x53, 0xfa, 0xb5, 0x96, 0xc0, 0xa9, 0x45, - 0xec, 0xb7, 0xfe, 0x8b, 0xb6, 0xde, 0x9d, 0x9c, 0x35, 0xbb, 0xd7, 0x66, 0x77, 0xd9, 0x7e, 0xf9, - 0xfb, 0xb0, 0x13, 0x64, 0xbb, 0x13, 0xe4, 0x69, 0x27, 0xc8, 0xfd, 0x5e, 0xb4, 0xb6, 0x7b, 0xd1, - 0x7a, 0xdc, 0x8b, 0xd6, 0x1f, 0x2f, 0x41, 0xfd, 0xbf, 0x0a, 0x9d, 0xa8, 0x58, 0xba, 0xc6, 0xec, - 0xe4, 0xa0, 0xd6, 0x3d, 0x53, 0x3b, 0x39, 0xb9, 0x9d, 0x18, 0xb9, 0xee, 0x6d, 0x7d, 0x32, 0xae, - 0x5e, 0x4b, 0x28, 0xc3, 0x5e, 0x73, 0x1b, 0x9f, 0x9f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xed, 0x64, - 0x00, 0x15, 0x4a, 0x02, 0x00, 0x00, +var fileDescriptor_60aeebb59a5fcc06 = []byte{ + // 366 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0xbb, 0x6e, 0xdb, 0x30, + 0x18, 0x85, 0xcd, 0xfa, 0xce, 0x5e, 0x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0x39, 0xa8, 0xef, 0xa0, + 0x34, 0x5e, 0x61, 0x14, 0x68, 0xe0, 0x3d, 0xd3, 0x7c, 0xf1, 0xc6, 0x38, 0xed, 0xc7, 0x81, 0x0e, + 0xfe, 0xfa, 0xbf, 0x79, 0xdf, 0xd8, 0x5e, 0x90, 0x8d, 0xe9, 0xbb, 0xfa, 0xf9, 0x03, 0x33, 0x98, + 0xe3, 0x06, 0xf8, 0xc0, 0x22, 0x76, 0xc7, 0x3f, 0xd3, 0x98, 0xa0, 0xb4, 0x66, 0x0f, 0x13, 0x28, + 0x35, 0x1f, 0x9a, 0x82, 0x13, 0x85, 0x7d, 0xa2, 0x1f, 0x8e, 0xf4, 0x67, 0x2d, 0x81, 0x53, 0x8b, + 0xd8, 0xef, 0xfd, 0x57, 0x6a, 0xed, 0x3b, 0xce, 0x61, 0x7c, 0x6f, 0x1b, 0xdf, 0xb9, 0xfa, 0xed, + 0xff, 0xc3, 0x4e, 0x90, 0xed, 0x4e, 0x90, 0xa7, 0x9d, 0x20, 0xf7, 0x7b, 0xd1, 0xda, 0xee, 0x45, + 0xeb, 0x71, 0x2f, 0x5a, 0xff, 0xbc, 0x04, 0xf5, 0x75, 0x15, 0x3a, 0x51, 0xb1, 0x74, 0x37, 0x98, + 0x84, 0x00, 0x93, 0x20, 0xcb, 0x30, 0xc8, 0x23, 0x70, 0x0f, 0xf3, 0x42, 0x3c, 0x89, 0x8a, 0xa5, + 0x6c, 0xe4, 0x49, 0x06, 0x71, 0x02, 0xca, 0xbd, 0x75, 0x0f, 0xff, 0x22, 0xec, 0x99, 0xd9, 0xbf, + 0x3e, 0x07, 0x00, 0x00, 0xff, 0xff, 0x4b, 0xb9, 0xe8, 0x3a, 0x2b, 0x02, 0x00, 0x00, } func (m *PkiRevocationDistributionPoint) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/pki_revocation_distribution_points_by_issuer_subject_key_id.pb.go b/x/pki/types/pki_revocation_distribution_points_by_issuer_subject_key_id.pb.go index c53f6b976..a7f192370 100644 --- a/x/pki/types/pki_revocation_distribution_points_by_issuer_subject_key_id.pb.go +++ b/x/pki/types/pki_revocation_distribution_points_by_issuer_subject_key_id.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/pki_revocation_distribution_points_by_issuer_subject_key_id.proto +// source: pki/types/pki_revocation_distribution_points_by_issuer_subject_key_id.proto package types @@ -35,7 +35,7 @@ func (m *PkiRevocationDistributionPointsByIssuerSubjectKeyID) String() string { } func (*PkiRevocationDistributionPointsByIssuerSubjectKeyID) ProtoMessage() {} func (*PkiRevocationDistributionPointsByIssuerSubjectKeyID) Descriptor() ([]byte, []int) { - return fileDescriptor_304eb676640a574a, []int{0} + return fileDescriptor_2a11ed52a286946c, []int{0} } func (m *PkiRevocationDistributionPointsByIssuerSubjectKeyID) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -79,33 +79,32 @@ func (m *PkiRevocationDistributionPointsByIssuerSubjectKeyID) GetPoints() []*Pki } func init() { - proto.RegisterType((*PkiRevocationDistributionPointsByIssuerSubjectKeyID)(nil), "zigbeealliance.distributedcomplianceledger.pki.PkiRevocationDistributionPointsByIssuerSubjectKeyID") + proto.RegisterType((*PkiRevocationDistributionPointsByIssuerSubjectKeyID)(nil), "pki.types.PkiRevocationDistributionPointsByIssuerSubjectKeyID") } func init() { - proto.RegisterFile("pki/pki_revocation_distribution_points_by_issuer_subject_key_id.proto", fileDescriptor_304eb676640a574a) + proto.RegisterFile("pki/types/pki_revocation_distribution_points_by_issuer_subject_key_id.proto", fileDescriptor_2a11ed52a286946c) } -var fileDescriptor_304eb676640a574a = []byte{ - // 276 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x90, 0x41, 0x4b, 0xc3, 0x30, - 0x14, 0xc7, 0x1b, 0x85, 0x81, 0xf5, 0xd6, 0xd3, 0xf0, 0x10,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, 0xf3, 0xeb, 0xe7, 0x8e, 0x92, 0x75, 0x47, 0xc9, 0x5b, 0x47, 0xc9, 0x53, 0x4f, 0xbd, 0x75, - 0x4f, 0xbd, 0xd7, 0x9e, 0x7a, 0x57, 0x71, 0x81, 0xe6, 0xb6, 0x15, 0x2c, 0x93, 0xab, 0xc8, 0xb1, - 0xc3, 0x2f, 0x78, 0xb4, 0x05, 0x0f, 0xbf, 0xe9, 0xa1, 0xc3, 0x47, 0x0f, 0x1f, 0x6d, 0x46, 0xc6, - 0x2a, 0xd0, 0x62, 0x34, 0xd4, 0x36, 0x7b, 0x0f, 0x00, 0x00, 0xff, 0xff, 0x01, 0x2f, 0xb0, 0x5d, - 0xdc, 0x01, 0x00, 0x00, +var fileDescriptor_2a11ed52a286946c = []byte{ + // 267 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x50, 0xbf, 0x4a, 0xfc, 0x30, + 0x1c, 0x6f, 0x7e, 0x3f, 0x38, 0xb8, 0xba, 0x75, 0x3a, 0x1c, 0xc2, 0xe1, 0x74, 0x0e, 0x4d, 0xd0, + 0x7b, 0x02, 0x8f, 0x2e, 0xc7, 0x2d, 0x47, 0xdd, 0x1c, 0x0c, 0x4d, 0xfb, 0xa5, 0x7e, 0x6d, 0xaf, + 0x09, 0x4d, 0x2a, 0xc6, 0xa7, 0xf0, 0x31, 0x7c, 0x14, 0xc7, 0x1b, 0x1d, 0xa5, 0x7d, 0x11, 0x21, + 0x95, 0x22, 0x28, 0x82, 0x63, 0xbe, 0xf9, 0xfc, 0x0f, 0x77, 0xba, 0x42, 0x6e, 0x9d, 0x06, 0xc3, + 0x75, 0x85, 0xa2, 0x85, 0x07, 0x95, 0x67, 0x16, 0x55, 0x23, 0x0a, 0x34, 0xb6, 0x45, 0xd9, 0xf9, + 0x87, 0x56, 0xd8, 0x58, 0x23, 0xa4, 0x13, 0x68, 0x4c, 0x07, 0xad, 0x30, 0x9d, 0xbc, 0x87, 0xdc, + 0x8a, 0x0a, 0x9c, 0xc0, 0x82, 0xe9, 0x56, 0x59, 0x15, 0xcd, 0x75, 0x85, 0xcc, 0x8b, 0x9d, 0x5e, + 0xfc, 0x41, 0x77, 0x64, 0x9f, 0xbd, 0x90, 0x70, 0xbd, 0xaf, 0x30, 0x9d, 0xa0, 0xc9, 0x17, 0xe4, + 0xde, 0x07, 0xd8, 0xb8, 0xad, 0xb7, 0xbf, 0x1e, 0xdd, 0x77, 0xe0, 0xb6, 0x49, 0xc4, 0xc2, 0x08, + 0xbf, 0x5d, 0x17, 0x64, 0x49, 0x56, 0xf3, 0xf4, 0x87, 0x9f, 0xe8, 0x2a, 0x9c, 0x8d, 0x75, 0x16, + 0xff, 0x96, 0xff, 0x57, 0x27, 0x97, 0xe7, 0x6c, 0x8a, 0xcd, 0x7e, 0xf7, 0x4f, 0x3f, 0x89, 0x9b, + 0xdb, 0xd7, 0x9e, 0x92, 0x63, 0x4f, 0xc9, 0x7b, 0x4f, 0xc9, 0xf3, 0x40, 0x83, 0xe3, 0x40, 0x83, + 0xb7, 0x81, 0x06, 0x37, 0x49, 0x89, 0xf6, 0xae, 0x93, 0x2c, 0x57, 0x07, 0xfe, 0x84, 0xa5, 0x04, + 0x88, 0xb3, 0xba, 0xc6, 0xac, 0xc9, 0x81, 0x4f, 0xcd, 0xa1, 0x88, 0x73, 0x75, 0xd0, 0xe3, 0x39, + 0xae, 0xa1, 0x28, 0xa1, 0xe5, 0x8f, 0x7c, 0x9a, 0x4c, 0xce, 0xfc, 0x22, 0xeb, 0x8f, 0x00, 0x00, + 0x00, 0xff, 0xff, 0xb1, 0x8f, 0x6f, 0x95, 0x9e, 0x01, 0x00, 0x00, } func (m *PkiRevocationDistributionPointsByIssuerSubjectKeyID) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/proposed_certificate.pb.go b/x/pki/types/proposed_certificate.pb.go index d801e0f5a..45c0a6683 100644 --- a/x/pki/types/proposed_certificate.pb.go +++ b/x/pki/types/proposed_certificate.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/proposed_certificate.proto +// source: pki/types/proposed_certificate.proto package types @@ -40,7 +40,7 @@ func (m *ProposedCertificate) Reset() { *m = ProposedCertificate{} } func (m *ProposedCertificate) String() string { return proto.CompactTextString(m) } func (*ProposedCertificate) ProtoMessage() {} func (*ProposedCertificate) Descriptor() ([]byte, []int) { - return fileDescriptor_589d443e04a789ec, []int{0} + return fileDescriptor_e8b80ec00b512641, []int{0} } func (m *ProposedCertificate) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -133,40 +133,41 @@ func (m *ProposedCertificate) GetVid() int32 { } func init() { - proto.RegisterType((*ProposedCertificate)(nil), "zigbeealliance.distributedcomplianceledger.pki.ProposedCertificate") + proto.RegisterType((*ProposedCertificate)(nil), "pki.types.ProposedCertificate") } -func init() { proto.RegisterFile("pki/proposed_certificate.proto", fileDescriptor_589d443e04a789ec) } +func init() { + proto.RegisterFile("pki/types/proposed_certificate.proto", fileDescriptor_e8b80ec00b512641) +} -var fileDescriptor_589d443e04a789ec = []byte{ - // 424 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x92, 0xb1, 0x6e, 0x13, 0x31, - 0x1c, 0xc6, 0x73, 0x84, 0x34, 0xc4, 0x80, 0x90, 0x4c, 0x07, 0x93, 0xc1, 0x44, 0x11, 0x43, 0x06, - 0x72, 0x07, 0x54, 0xc7, 0x80, 0xd4, 0xa1, 0x01, 0x09, 0x21, 0x24, 0x40, 0x57, 0x26, 0x06, 0x2a, - 0xdf, 0xf9, 0x8f, 0x31, 0xbd, 0x3b, 0x5b, 0xb6, 0x2f, 0xb4, 0x3c, 0x05, 0x0f, 0xc3, 0xce, 0xca, - 0x58, 0x31, 0x31, 0x21, 0x94, 0xbc, 0x01, 0x4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19, 0x59, 0x8b, - 0x2c, 0x1c, 0xc3, 0x87, 0x68, 0xc4, 0xb4, 0x36, 0x6a, 0xc9, 0x4a, 0x4b, 0x76, 0x26, 0xfd, 0xd9, - 0xf5, 0x47, 0xe9, 0x7f, 0xfe, 0x64, 0xfc, 0xdc, 0xff, 0x49, 0xb6, 0xed, 0xc1, 0xf7, 0xd0, 0xcd, - 0xee, 0x49, 0x07, 0xf6, 0x2d, 0x9c, 0x38, 0x32, 0x6c, 0x49, 0x2f, 0x9a, 0xf8, 0x35, 0x1a, 0x1a, - 0xf0, 0xda, 0x92, 0x6b, 0x97, 0xb9, 0x78, 0xd3, 0x82, 0x1f, 0xa0, 0xfe, 0x52, 0x72, 0x32, 0x9a, - 0x44, 0xb3, 0xc1, 0x82, 0xfe, 0xfd, 0x7d, 0x77, 0xbc, 0x64, 0xa5, 0xe4, 0xcc, 0xc1, 0x93, 0xa9, - 0x70, 0xb0, 0xff, 0xf0, 0x7e, 0xe9, 0x60, 0xff, 0x71, 0x9a, 0xee, 0xa5, 0xd3, 0xcc, 0x1f, 0x5d, - 0xbc, 0xff, 0xb1, 0xa2, 0xd1, 0xd9, 0x8a, 0x46, 0x7f, 0x56, 0x34, 0xfa, 0xba, 0xa6, 0xbd, 0xb3, - 0x35, 0xed, 0xfd, 0x5a, 0xd3, 0xde, 0xbb, 0x67, 0x42, 0xba, 0x8f, 0x4d, 0x1e, 0x17, 0xaa, 0x4a, - 0x02, 0xd5, 0x7c, 0x83, 0x95, 0x9c, 0xc3, 0x9a, 0x6f, 0xb9, 0xe6, 0x01, 0x2c, 0x39, 0x49, 0xfc, - 0x9c, 0xb8, 0x53, 0x0d, 0x36, 0xdf, 0x69, 0x07, 0x65, 0xef, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, - 0xf2, 0x05, 0x51, 0xbe, 0xbc, 0x02, 0x00, 0x00, +var fileDescriptor_e8b80ec00b512641 = []byte{ + // 415 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b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d1, 0x17, 0xc1, 0x13, + 0x80, 0x80, 0x66, 0x99, 0xa0, 0x45, 0x0a, 0x11, 0x13, 0xc6, 0x6a, 0x91, 0x94, 0x16, 0x58, 0x90, + 0xca, 0x5c, 0x35, 0x38, 0xc8, 0x80, 0x71, 0xd0, 0xd1, 0x22, 0xda, 0xed, 0x38, 0x39, 0xae, 0xd7, + 0x7b, 0xf6, 0x2f, 0x00, 0x00, 0xff, 0xff, 0xea, 0x25, 0x0d, 0x7e, 0x59, 0x02, 0x00, 0x00, } func (m *ProposedCertificate) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/proposed_certificate_revocation.pb.go b/x/pki/types/proposed_certificate_revocation.pb.go index 00683dcaf..d1c59516c 100644 --- a/x/pki/types/proposed_certificate_revocation.pb.go +++ b/x/pki/types/proposed_certificate_revocation.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/proposed_certificate_revocation.proto +// source: pki/types/proposed_certificate_revocation.proto package types @@ -33,7 +33,7 @@ func (m *ProposedCertificateRevocation) Reset() { *m = ProposedCertifica func (m *ProposedCertificateRevocation) String() string { return proto.CompactTextString(m) } func (*ProposedCertificateRevocation) ProtoMessage() {} func (*ProposedCertificateRevocation) Descriptor() ([]byte, []int) { - return fileDescriptor_24b0dc6e71a9ad57, []int{0} + return fileDescriptor_e20d94df22edeaac, []int{0} } func (m *ProposedCertificateRevocation) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -91,34 +91,33 @@ func (m *ProposedCertificateRevocation) GetSubjectAsText() string { } func init() { - proto.RegisterType((*ProposedCertificateRevocation)(nil), "zigbeealliance.distributedcomplianceledger.pki.ProposedCertificateRevocation") + proto.RegisterType((*ProposedCertificateRevocation)(nil), "pki.types.ProposedCertificateRevocation") } func init() { - proto.RegisterFile("pki/proposed_certificate_revocation.proto", fileDescriptor_24b0dc6e71a9ad57) + proto.RegisterFile("pki/types/proposed_certificate_revocation.proto", fileDescriptor_e20d94df22edeaac) } -var fileDescriptor_24b0dc6e71a9ad57 = []byte{ - // 290 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x90, 0x4d, 0x4b, 0xc3, 0x30, - 0x1c, 0xc6, 0x1b, 0x27, 0xca, 0xa2, 0x22, 0xf4, 0x54, 0x04, 0xc3, 0x18, 0x1e, 0xe6, 0xa1, 0x29, - 0x28, 0x7e, 0x00, 0x5f, 0x40, 0xc4, 0x8b, 0x54, 0x4f, 0x1e, 0x1c, 0x69, 0xfa, 0xb7, 0xc6, 0x75, - 0x4d, 0x48, 0xd2, 0xb1, 0xf9, 0x29, 0xfc, 0x58, 0x1e, 0x77, 0xdc, 0x51, 0xda, 0x2f, 0x22, 0x7d, - 0x99, 0x75, 0x47, 0x6f, 0xc9, 0xf3, 0x87, 0xe7, 0xf7, 0xe3, 0xc1, 0xa7, 0x6a, 0x22, 0x02, 0xa5, - 0xa5, 0x92, 0x06, 0xe2, 0x31, 0x07, 0x6d, 0xc5, 0xab, 0xe0, 0xcc, 0xc2, 0x58, 0xc3, 0x4c, 0x72, - 0x66, 0x85, 0xcc, 0xa8, 0xd2, 0xd2, 0x4a, 0x97, 0x7e, 0x88, 0x24, 0x02, 0x60, 0x69, 0x2a, 0x58, - 0xc6, 0x81, 0xc6, 0xc2, 0x58, 0x2d, 0xa2, 0xdc, 0x42, 0xcc, 0xe5, 0x54, 0x35, 0x69, 0x0a, 0x71, - 0x02, 0x9a, 0xaa, 0x89, 0x38, 0x3a, 0xac, 0xaa, 0x13, 0xcd, 0x32, 0xdb, 0x14, 0x0c, 0x57, 0x08, - 0x1f, 0x3f, 0xb4, 0xa8, 0xeb, 0x8e, 0x14, 0xfe, 0x82, 0x5c, 0x0f, 0xef, 0x9a, 0x3c, 0x7a, 0x07, - 0x6e, 0x3d, 0x34, 0x40, 0xa3, 0x7e, 0xb8, 0xfe, 0xba, 0x43, 0xbc, 0xdf, 0x3e, 0xef, 0x61, 0x71, - 0x17, 0x7b, 0x5b, 0xf5, 0x79, 0x23, 0x73, 0x1f, 0x71, 0x9f, 0x29, 0xa5, 0xe5, 0x8c, 0xa5, 0xc6, - 0xeb, 0x0d, 0x7a, 0xa3, 0xbd, 0xb3, 0x8b, 0x7f, 0x4a, 0xd3, 0xdb, 0xca, 0x37, 0xec, 0x7a, 0xdc, - 0x13, 0x7c, 0xd0, 0x42, 0x2e, 0xcd, 0x13, 0xcc, 0xad, 0xb7, 0x5d, 0x93, 0x37, 0xc3, 0xab, 0x97, - 0xaf, 0x82, 0xa0, 0x65, 0x41, 0xd0, 0x77, 0x41, 0xd0, 0x67, 0x49, 0x9c, 0x65, 0x49, 0x9c, 0x55, - 0x49, 0x9c, 0xe7, 0x9b, 0x44, 0xd8, 0xb7, 0x3c, 0xa2, 0x5c, 0x4e, 0x83, 0xc6, 0xc5, 0x5f, 0xcb, - 0x04, 0x7f, 0x64, 0xfc, 0xce, 0xc6, 0x6f, 0x74, 0x82, 0x79, 0x50, 0x0d, 0x68, 0x17, 0x0a, 0x4c, - 0xb4, 0x53, 0x2f, 0x78, 0xfe, 0x13, 0x00, 0x00, 0xff, 0xff, 0x43, 0x2d, 0x6b, 0x9b, 0xaf, 0x01, - 0x00, 0x00, +var fileDescriptor_e20d94df22edeaac = []byte{ + // 283 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0xcf, 0x4a, 0xf3, 0x40, + 0x14, 0xc5, 0x3b, 0x5f, 0x3f, 0x94, 0x8e, 0x0a, 0x12, 0x10, 0x82, 0xe0, 0x50, 0x8a, 0x8b, 0x6e, + 0x32, 0x03, 0xfa, 0x04, 0xfe, 0x01, 0x11, 0x37, 0x12, 0x5c, 0xb9, 0xb0, 0x4c, 0x26, 0xd7, 0x38, + 0x36, 0xcd, 0x0c, 0x33, 0x37, 0xa5, 0xf5, 0x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 0x3c, + 0xd7, 0xb2, 0x50, 0x20, 0x52, 0xed, 0xd1, 0xe9, 0xa4, 0x44, 0x48, 0x23, 0x65, 0x66, 0x76, 0x2d, + 0x47, 0x39, 0xa4, 0x19, 0x38, 0xb1, 0xe8, 0xd6, 0x4d, 0x76, 0x9a, 0x71, 0xce, 0x7f, 0x02, 0x00, + 0x00, 0xff, 0xff, 0xd5, 0xd1, 0xbe, 0x14, 0x71, 0x01, 0x00, 0x00, } func (m *ProposedCertificateRevocation) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/query.pb.go b/x/pki/types/query.pb.go index 400301b7e..4104b08d1 100644 --- a/x/pki/types/query.pb.go +++ b/x/pki/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/query.proto +// source: pki/types/query.proto package types @@ -40,7 +40,7 @@ func (m *QueryGetApprovedCertificatesRequest) Reset() { *m = QueryGetApp func (m *QueryGetApprovedCertificatesRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetApprovedCertificatesRequest) ProtoMessage() {} func (*QueryGetApprovedCertificatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{0} + return fileDescriptor_8c5b539172f0c209, []int{0} } func (m *QueryGetApprovedCertificatesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -91,7 +91,7 @@ func (m *QueryGetApprovedCertificatesResponse) Reset() { *m = QueryGetAp func (m *QueryGetApprovedCertificatesResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetApprovedCertificatesResponse) ProtoMessage() {} func (*QueryGetApprovedCertificatesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{1} + return fileDescriptor_8c5b539172f0c209, []int{1} } func (m *QueryGetApprovedCertificatesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -136,7 +136,7 @@ func (m *QueryAllApprovedCertificatesRequest) Reset() { *m = QueryAllApp func (m *QueryAllApprovedCertificatesRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllApprovedCertificatesRequest) ProtoMessage() {} func (*QueryAllApprovedCertificatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{2} + return fileDescriptor_8c5b539172f0c209, []int{2} } func (m *QueryAllApprovedCertificatesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -188,7 +188,7 @@ func (m *QueryAllApprovedCertificatesResponse) Reset() { *m = QueryAllAp func (m *QueryAllApprovedCertificatesResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllApprovedCertificatesResponse) ProtoMessage() {} func (*QueryAllApprovedCertificatesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{3} + return fileDescriptor_8c5b539172f0c209, []int{3} } func (m *QueryAllApprovedCertificatesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -240,7 +240,7 @@ func (m *QueryGetProposedCertificateRequest) Reset() { *m = QueryGetProp func (m *QueryGetProposedCertificateRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetProposedCertificateRequest) ProtoMessage() {} func (*QueryGetProposedCertificateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{4} + return fileDescriptor_8c5b539172f0c209, []int{4} } func (m *QueryGetProposedCertificateRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -291,7 +291,7 @@ func (m *QueryGetProposedCertificateResponse) Reset() { *m = QueryGetPro func (m *QueryGetProposedCertificateResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetProposedCertificateResponse) ProtoMessage() {} func (*QueryGetProposedCertificateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{5} + return fileDescriptor_8c5b539172f0c209, []int{5} } func (m *QueryGetProposedCertificateResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -335,7 +335,7 @@ func (m *QueryAllProposedCertificateRequest) Reset() { *m = QueryAllProp func (m *QueryAllProposedCertificateRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllProposedCertificateRequest) ProtoMessage() {} func (*QueryAllProposedCertificateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{6} + return fileDescriptor_8c5b539172f0c209, []int{6} } func (m *QueryAllProposedCertificateRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -380,7 +380,7 @@ func (m *QueryAllProposedCertificateResponse) Reset() { *m = QueryAllPro func (m *QueryAllProposedCertificateResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllProposedCertificateResponse) ProtoMessage() {} func (*QueryAllProposedCertificateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{7} + return fileDescriptor_8c5b539172f0c209, []int{7} } func (m *QueryAllProposedCertificateResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -432,7 +432,7 @@ func (m *QueryGetChildCertificatesRequest) Reset() { *m = QueryGetChildC func (m *QueryGetChildCertificatesRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetChildCertificatesRequest) ProtoMessage() {} func (*QueryGetChildCertificatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{8} + return fileDescriptor_8c5b539172f0c209, []int{8} } func (m *QueryGetChildCertificatesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -483,7 +483,7 @@ func (m *QueryGetChildCertificatesResponse) Reset() { *m = QueryGetChild func (m *QueryGetChildCertificatesResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetChildCertificatesResponse) ProtoMessage() {} func (*QueryGetChildCertificatesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{9} + return fileDescriptor_8c5b539172f0c209, []int{9} } func (m *QueryGetChildCertificatesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -532,7 +532,7 @@ func (m *QueryGetProposedCertificateRevocationRequest) String() string { } func (*QueryGetProposedCertificateRevocationRequest) ProtoMessage() {} func (*QueryGetProposedCertificateRevocationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{10} + return fileDescriptor_8c5b539172f0c209, []int{10} } func (m *QueryGetProposedCertificateRevocationRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -587,7 +587,7 @@ func (m *QueryGetProposedCertificateRevocationResponse) String() string { } func (*QueryGetProposedCertificateRevocationResponse) ProtoMessage() {} func (*QueryGetProposedCertificateRevocationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{11} + return fileDescriptor_8c5b539172f0c209, []int{11} } func (m *QueryGetProposedCertificateRevocationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -635,7 +635,7 @@ func (m *QueryAllProposedCertificateRevocationRequest) String() string { } func (*QueryAllProposedCertificateRevocationRequest) ProtoMessage() {} func (*QueryAllProposedCertificateRevocationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{12} + return fileDescriptor_8c5b539172f0c209, []int{12} } func (m *QueryAllProposedCertificateRevocationRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -684,7 +684,7 @@ func (m *QueryAllProposedCertificateRevocationResponse) String() string { } func (*QueryAllProposedCertificateRevocationResponse) ProtoMessage() {} func (*QueryAllProposedCertificateRevocationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{13} + return fileDescriptor_8c5b539172f0c209, []int{13} } func (m *QueryAllProposedCertificateRevocationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -736,7 +736,7 @@ func (m *QueryGetRevokedCertificatesRequest) Reset() { *m = QueryGetRevo func (m *QueryGetRevokedCertificatesRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetRevokedCertificatesRequest) ProtoMessage() {} func (*QueryGetRevokedCertificatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{14} + return fileDescriptor_8c5b539172f0c209, []int{14} } func (m *QueryGetRevokedCertificatesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -787,7 +787,7 @@ func (m *QueryGetRevokedCertificatesResponse) Reset() { *m = QueryGetRev func (m *QueryGetRevokedCertificatesResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetRevokedCertificatesResponse) ProtoMessage() {} func (*QueryGetRevokedCertificatesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{15} + return fileDescriptor_8c5b539172f0c209, []int{15} } func (m *QueryGetRevokedCertificatesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -831,7 +831,7 @@ func (m *QueryAllRevokedCertificatesRequest) Reset() { *m = QueryAllRevo func (m *QueryAllRevokedCertificatesRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllRevokedCertificatesRequest) ProtoMessage() {} func (*QueryAllRevokedCertificatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{16} + return fileDescriptor_8c5b539172f0c209, []int{16} } func (m *QueryAllRevokedCertificatesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -876,7 +876,7 @@ func (m *QueryAllRevokedCertificatesResponse) Reset() { *m = QueryAllRev func (m *QueryAllRevokedCertificatesResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllRevokedCertificatesResponse) ProtoMessage() {} func (*QueryAllRevokedCertificatesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{17} + return fileDescriptor_8c5b539172f0c209, []int{17} } func (m *QueryAllRevokedCertificatesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -928,7 +928,7 @@ func (m *QueryGetApprovedRootCertificatesRequest) Reset() { func (m *QueryGetApprovedRootCertificatesRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetApprovedRootCertificatesRequest) ProtoMessage() {} func (*QueryGetApprovedRootCertificatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{18} + return fileDescriptor_8c5b539172f0c209, []int{18} } func (m *QueryGetApprovedRootCertificatesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -967,7 +967,7 @@ func (m *QueryGetApprovedRootCertificatesResponse) Reset() { func (m *QueryGetApprovedRootCertificatesResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetApprovedRootCertificatesResponse) ProtoMessage() {} func (*QueryGetApprovedRootCertificatesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{19} + return fileDescriptor_8c5b539172f0c209, []int{19} } func (m *QueryGetApprovedRootCertificatesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1012,7 +1012,7 @@ func (m *QueryGetRevokedRootCertificatesRequest) Reset() { func (m *QueryGetRevokedRootCertificatesRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetRevokedRootCertificatesRequest) ProtoMessage() {} func (*QueryGetRevokedRootCertificatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{20} + return fileDescriptor_8c5b539172f0c209, []int{20} } func (m *QueryGetRevokedRootCertificatesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1051,7 +1051,7 @@ func (m *QueryGetRevokedRootCertificatesResponse) Reset() { func (m *QueryGetRevokedRootCertificatesResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetRevokedRootCertificatesResponse) ProtoMessage() {} func (*QueryGetRevokedRootCertificatesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{21} + return fileDescriptor_8c5b539172f0c209, []int{21} } func (m *QueryGetRevokedRootCertificatesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1099,7 +1099,7 @@ func (m *QueryGetApprovedCertificatesBySubjectRequest) String() string { } func (*QueryGetApprovedCertificatesBySubjectRequest) ProtoMessage() {} func (*QueryGetApprovedCertificatesBySubjectRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{22} + return fileDescriptor_8c5b539172f0c209, []int{22} } func (m *QueryGetApprovedCertificatesBySubjectRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1147,7 +1147,7 @@ func (m *QueryGetApprovedCertificatesBySubjectResponse) String() string { } func (*QueryGetApprovedCertificatesBySubjectResponse) ProtoMessage() {} func (*QueryGetApprovedCertificatesBySubjectResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{23} + return fileDescriptor_8c5b539172f0c209, []int{23} } func (m *QueryGetApprovedCertificatesBySubjectResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1192,7 +1192,7 @@ func (m *QueryGetRejectedCertificatesRequest) Reset() { *m = QueryGetRej func (m *QueryGetRejectedCertificatesRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetRejectedCertificatesRequest) ProtoMessage() {} func (*QueryGetRejectedCertificatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{24} + return fileDescriptor_8c5b539172f0c209, []int{24} } func (m *QueryGetRejectedCertificatesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1243,7 +1243,7 @@ func (m *QueryGetRejectedCertificatesResponse) Reset() { *m = QueryGetRe func (m *QueryGetRejectedCertificatesResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetRejectedCertificatesResponse) ProtoMessage() {} func (*QueryGetRejectedCertificatesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{25} + return fileDescriptor_8c5b539172f0c209, []int{25} } func (m *QueryGetRejectedCertificatesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1287,7 +1287,7 @@ func (m *QueryAllRejectedCertificatesRequest) Reset() { *m = QueryAllRej func (m *QueryAllRejectedCertificatesRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllRejectedCertificatesRequest) ProtoMessage() {} func (*QueryAllRejectedCertificatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{26} + return fileDescriptor_8c5b539172f0c209, []int{26} } func (m *QueryAllRejectedCertificatesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1332,7 +1332,7 @@ func (m *QueryAllRejectedCertificatesResponse) Reset() { *m = QueryAllRe func (m *QueryAllRejectedCertificatesResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllRejectedCertificatesResponse) ProtoMessage() {} func (*QueryAllRejectedCertificatesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{27} + return fileDescriptor_8c5b539172f0c209, []int{27} } func (m *QueryAllRejectedCertificatesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1389,7 +1389,7 @@ func (m *QueryGetPkiRevocationDistributionPointRequest) String() string { } func (*QueryGetPkiRevocationDistributionPointRequest) ProtoMessage() {} func (*QueryGetPkiRevocationDistributionPointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{28} + return fileDescriptor_8c5b539172f0c209, []int{28} } func (m *QueryGetPkiRevocationDistributionPointRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1451,7 +1451,7 @@ func (m *QueryGetPkiRevocationDistributionPointResponse) String() string { } func (*QueryGetPkiRevocationDistributionPointResponse) ProtoMessage() {} func (*QueryGetPkiRevocationDistributionPointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{29} + return fileDescriptor_8c5b539172f0c209, []int{29} } func (m *QueryGetPkiRevocationDistributionPointResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1499,7 +1499,7 @@ func (m *QueryAllPkiRevocationDistributionPointRequest) String() string { } func (*QueryAllPkiRevocationDistributionPointRequest) ProtoMessage() {} func (*QueryAllPkiRevocationDistributionPointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{30} + return fileDescriptor_8c5b539172f0c209, []int{30} } func (m *QueryAllPkiRevocationDistributionPointRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1548,7 +1548,7 @@ func (m *QueryAllPkiRevocationDistributionPointResponse) String() string { } func (*QueryAllPkiRevocationDistributionPointResponse) ProtoMessage() {} func (*QueryAllPkiRevocationDistributionPointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{31} + return fileDescriptor_8c5b539172f0c209, []int{31} } func (m *QueryAllPkiRevocationDistributionPointResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1603,7 +1603,7 @@ func (m *QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDRequest) Str } func (*QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDRequest) ProtoMessage() {} func (*QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{32} + return fileDescriptor_8c5b539172f0c209, []int{32} } func (m *QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1651,7 +1651,7 @@ func (m *QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDResponse) St } func (*QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDResponse) ProtoMessage() {} func (*QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_62972e0134af9ed2, []int{33} + return fileDescriptor_8c5b539172f0c209, []int{33} } func (m *QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1688,149 +1688,146 @@ func (m *QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDResponse) Ge } func init() { - proto.RegisterType((*QueryGetApprovedCertificatesRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetApprovedCertificatesRequest") - proto.RegisterType((*QueryGetApprovedCertificatesResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetApprovedCertificatesResponse") - proto.RegisterType((*QueryAllApprovedCertificatesRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryAllApprovedCertificatesRequest") - proto.RegisterType((*QueryAllApprovedCertificatesResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryAllApprovedCertificatesResponse") - proto.RegisterType((*QueryGetProposedCertificateRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetProposedCertificateRequest") - proto.RegisterType((*QueryGetProposedCertificateResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetProposedCertificateResponse") - proto.RegisterType((*QueryAllProposedCertificateRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryAllProposedCertificateRequest") - proto.RegisterType((*QueryAllProposedCertificateResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryAllProposedCertificateResponse") - proto.RegisterType((*QueryGetChildCertificatesRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetChildCertificatesRequest") - proto.RegisterType((*QueryGetChildCertificatesResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetChildCertificatesResponse") - proto.RegisterType((*QueryGetProposedCertificateRevocationRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetProposedCertificateRevocationRequest") - proto.RegisterType((*QueryGetProposedCertificateRevocationResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetProposedCertificateRevocationResponse") - proto.RegisterType((*QueryAllProposedCertificateRevocationRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryAllProposedCertificateRevocationRequest") - proto.RegisterType((*QueryAllProposedCertificateRevocationResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryAllProposedCertificateRevocationResponse") - proto.RegisterType((*QueryGetRevokedCertificatesRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetRevokedCertificatesRequest") - proto.RegisterType((*QueryGetRevokedCertificatesResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetRevokedCertificatesResponse") - proto.RegisterType((*QueryAllRevokedCertificatesRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryAllRevokedCertificatesRequest") - proto.RegisterType((*QueryAllRevokedCertificatesResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryAllRevokedCertificatesResponse") - proto.RegisterType((*QueryGetApprovedRootCertificatesRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetApprovedRootCertificatesRequest") - proto.RegisterType((*QueryGetApprovedRootCertificatesResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetApprovedRootCertificatesResponse") - proto.RegisterType((*QueryGetRevokedRootCertificatesRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetRevokedRootCertificatesRequest") - proto.RegisterType((*QueryGetRevokedRootCertificatesResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetRevokedRootCertificatesResponse") - proto.RegisterType((*QueryGetApprovedCertificatesBySubjectRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetApprovedCertificatesBySubjectRequest") - proto.RegisterType((*QueryGetApprovedCertificatesBySubjectResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetApprovedCertificatesBySubjectResponse") - proto.RegisterType((*QueryGetRejectedCertificatesRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetRejectedCertificatesRequest") - proto.RegisterType((*QueryGetRejectedCertificatesResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetRejectedCertificatesResponse") - proto.RegisterType((*QueryAllRejectedCertificatesRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryAllRejectedCertificatesRequest") - proto.RegisterType((*QueryAllRejectedCertificatesResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryAllRejectedCertificatesResponse") - proto.RegisterType((*QueryGetPkiRevocationDistributionPointRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetPkiRevocationDistributionPointRequest") - proto.RegisterType((*QueryGetPkiRevocationDistributionPointResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetPkiRevocationDistributionPointResponse") - proto.RegisterType((*QueryAllPkiRevocationDistributionPointRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryAllPkiRevocationDistributionPointRequest") - proto.RegisterType((*QueryAllPkiRevocationDistributionPointResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryAllPkiRevocationDistributionPointResponse") - proto.RegisterType((*QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDRequest") - proto.RegisterType((*QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDResponse") -} - -func init() { proto.RegisterFile("pki/query.proto", fileDescriptor_62972e0134af9ed2) } - -var fileDescriptor_62972e0134af9ed2 = []byte{ - // 1646 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0xcf, 0x6f, 0xdc, 0xc4, - 0x17, 0xcf, 0x78, 0xbf, 0xed, 0x57, 0xdf, 0xf9, 0x22, 0xa0, 0xd3, 0xd0, 0x84, 0x55, 0xb3, 0x49, - 0xa7, 0x25, 0xfd, 0x45, 0xd6, 0xa4, 0x15, 0x2d, 0x1c, 0x4a, 0x95, 0x1f, 0xa5, 0x2d, 0x08, 0x94, - 0x6e, 0x10, 0x45, 0xa8, 0x74, 0xe5, 0xf5, 0x9a, 0xad, 0x89, 0xb3, 0xe3, 0xda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xad, 0x43, 0xde, 0x92, - 0xf0, 0x9e, 0x64, 0x8f, 0x6e, 0x86, 0x64, 0xef, 0x59, 0x86, 0xc8, 0x55, 0x6a, 0xe1, 0x49, 0x74, - 0x48, 0xf4, 0x72, 0x45, 0xbe, 0x91, 0xf0, 0xd1, 0x0c, 0x5a, 0x04, 0xb1, 0x86, 0x13, 0xe7, 0x24, - 0x69, 0xa8, 0x68, 0xdf, 0x56, 0x9f, 0x40, 0xe2, 0x71, 0x4e, 0xe2, 0x2c, 0x91, 0x07, 0x4c, 0xb8, - 0xf9, 0x8b, 0xd7, 0x6f, 0x96, 0xd0, 0x8d, 0x9b, 0x25, 0xf4, 0xc3, 0xcd, 0x12, 0x7a, 0x67, 0xa3, - 0x34, 0x72, 0x63, 0xa3, 0x34, 0xf2, 0xed, 0x46, 0x69, 0xe4, 0xf9, 0xc5, 0x86, 0xee, 0x5c, 0x6a, - 0xd5, 0xca, 0x2a, 0x5b, 0x95, 0x3d, 0x44, 0x33, 0x3e, 0x24, 0x39, 0x04, 0x69, 0x26, 0xc0, 0x34, - 0xe3, 0x81, 0x92, 0x5f, 0xe1, 0x0b, 0x70, 0xda, 0xa6, 0x66, 0xd7, 0xb6, 0xf3, 0x7f, 0xb5, 0x1d, - 0xfd, 0x37, 0x00, 0x00, 0xff, 0xff, 0x44, 0x5c, 0xcd, 0xf0, 0x48, 0x29, 0x00, 0x00, + proto.RegisterType((*QueryGetApprovedCertificatesRequest)(nil), "pki.types.QueryGetApprovedCertificatesRequest") + proto.RegisterType((*QueryGetApprovedCertificatesResponse)(nil), "pki.types.QueryGetApprovedCertificatesResponse") + proto.RegisterType((*QueryAllApprovedCertificatesRequest)(nil), "pki.types.QueryAllApprovedCertificatesRequest") + proto.RegisterType((*QueryAllApprovedCertificatesResponse)(nil), "pki.types.QueryAllApprovedCertificatesResponse") + proto.RegisterType((*QueryGetProposedCertificateRequest)(nil), "pki.types.QueryGetProposedCertificateRequest") + proto.RegisterType((*QueryGetProposedCertificateResponse)(nil), "pki.types.QueryGetProposedCertificateResponse") + proto.RegisterType((*QueryAllProposedCertificateRequest)(nil), "pki.types.QueryAllProposedCertificateRequest") + proto.RegisterType((*QueryAllProposedCertificateResponse)(nil), "pki.types.QueryAllProposedCertificateResponse") + proto.RegisterType((*QueryGetChildCertificatesRequest)(nil), "pki.types.QueryGetChildCertificatesRequest") + proto.RegisterType((*QueryGetChildCertificatesResponse)(nil), "pki.types.QueryGetChildCertificatesResponse") + proto.RegisterType((*QueryGetProposedCertificateRevocationRequest)(nil), "pki.types.QueryGetProposedCertificateRevocationRequest") + proto.RegisterType((*QueryGetProposedCertificateRevocationResponse)(nil), "pki.types.QueryGetProposedCertificateRevocationResponse") + proto.RegisterType((*QueryAllProposedCertificateRevocationRequest)(nil), "pki.types.QueryAllProposedCertificateRevocationRequest") + proto.RegisterType((*QueryAllProposedCertificateRevocationResponse)(nil), "pki.types.QueryAllProposedCertificateRevocationResponse") + proto.RegisterType((*QueryGetRevokedCertificatesRequest)(nil), "pki.types.QueryGetRevokedCertificatesRequest") + proto.RegisterType((*QueryGetRevokedCertificatesResponse)(nil), "pki.types.QueryGetRevokedCertificatesResponse") + proto.RegisterType((*QueryAllRevokedCertificatesRequest)(nil), "pki.types.QueryAllRevokedCertificatesRequest") + proto.RegisterType((*QueryAllRevokedCertificatesResponse)(nil), "pki.types.QueryAllRevokedCertificatesResponse") + proto.RegisterType((*QueryGetApprovedRootCertificatesRequest)(nil), "pki.types.QueryGetApprovedRootCertificatesRequest") + proto.RegisterType((*QueryGetApprovedRootCertificatesResponse)(nil), "pki.types.QueryGetApprovedRootCertificatesResponse") + proto.RegisterType((*QueryGetRevokedRootCertificatesRequest)(nil), "pki.types.QueryGetRevokedRootCertificatesRequest") + proto.RegisterType((*QueryGetRevokedRootCertificatesResponse)(nil), "pki.types.QueryGetRevokedRootCertificatesResponse") + proto.RegisterType((*QueryGetApprovedCertificatesBySubjectRequest)(nil), "pki.types.QueryGetApprovedCertificatesBySubjectRequest") + proto.RegisterType((*QueryGetApprovedCertificatesBySubjectResponse)(nil), "pki.types.QueryGetApprovedCertificatesBySubjectResponse") + proto.RegisterType((*QueryGetRejectedCertificatesRequest)(nil), "pki.types.QueryGetRejectedCertificatesRequest") + proto.RegisterType((*QueryGetRejectedCertificatesResponse)(nil), "pki.types.QueryGetRejectedCertificatesResponse") + proto.RegisterType((*QueryAllRejectedCertificatesRequest)(nil), "pki.types.QueryAllRejectedCertificatesRequest") + proto.RegisterType((*QueryAllRejectedCertificatesResponse)(nil), "pki.types.QueryAllRejectedCertificatesResponse") + proto.RegisterType((*QueryGetPkiRevocationDistributionPointRequest)(nil), "pki.types.QueryGetPkiRevocationDistributionPointRequest") + proto.RegisterType((*QueryGetPkiRevocationDistributionPointResponse)(nil), "pki.types.QueryGetPkiRevocationDistributionPointResponse") + proto.RegisterType((*QueryAllPkiRevocationDistributionPointRequest)(nil), "pki.types.QueryAllPkiRevocationDistributionPointRequest") + proto.RegisterType((*QueryAllPkiRevocationDistributionPointResponse)(nil), "pki.types.QueryAllPkiRevocationDistributionPointResponse") + proto.RegisterType((*QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDRequest)(nil), "pki.types.QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDRequest") + proto.RegisterType((*QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDResponse)(nil), "pki.types.QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDResponse") +} + +func init() { proto.RegisterFile("pki/types/query.proto", fileDescriptor_8c5b539172f0c209) } + +var fileDescriptor_8c5b539172f0c209 = []byte{ + // 1599 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x5a, 0xcf, 0x6f, 0x1b, 0x45, + 0x14, 0xce, 0xc4, 0xb4, 0xa8, 0x03, 0x42, 0x74, 0x9a, 0x36, 0xa9, 0xd5, 0x38, 0xe9, 0xb4, 0x4d,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0x68, 0xe2, 0x55, 0x0d, 0x53, 0xf1, 0xa5, 0xbc, 0xd4, 0x71, 0xd7, 0x57, 0x99, 0xeb, 0x4b, + 0x48, 0x1f, 0x72, 0x71, 0xd7, 0x5f, 0xbf, 0xfb, 0xa0, 0x04, 0xee, 0x3d, 0x28, 0x81, 0xbf, 0x1e, + 0x94, 0xc0, 0x87, 0x0f, 0x4b, 0x63, 0xf7, 0x1e, 0x96, 0xc6, 0xfe, 0x78, 0x58, 0x1a, 0x7b, 0x6d, + 0xa3, 0x61, 0x7a, 0x37, 0xdb, 0x55, 0xad, 0x46, 0xb7, 0xf4, 0xb7, 0xcd, 0x46, 0x95, 0x90, 0x45, + 0xc3, 0xb2, 0x4c, 0xa3, 0x55, 0x23, 0xfa, 0xce, 0xcf, 0xf3, 0x7e, 0xf0, 0xd3, 0x2d, 0x3b, 0xf8, + 0xbc, 0x68, 0x91, 0x7a, 0x83, 0x38, 0xfa, 0x5b, 0xd1, 0x1f, 0x22, 0xaa, 0x7b, 0xd9, 0x6f, 0xed, + 0x2b, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, 0x2f, 0x91, 0x92, 0xcc, 0x01, 0x22, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1891,7 +1888,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) ApprovedCertificates(ctx context.Context, in *QueryGetApprovedCertificatesRequest, opts ...grpc.CallOption) (*QueryGetApprovedCertificatesResponse, error) { out := new(QueryGetApprovedCertificatesResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/ApprovedCertificates", in, out, opts...) + err := c.cc.Invoke(ctx, "/pki.types.Query/ApprovedCertificates", in, out, opts...) if err != nil { return nil, err } @@ -1900,7 +1897,7 @@ func (c *queryClient) ApprovedCertificates(ctx context.Context, in *QueryGetAppr func (c *queryClient) ApprovedCertificatesAll(ctx context.Context, in *QueryAllApprovedCertificatesRequest, opts ...grpc.CallOption) (*QueryAllApprovedCertificatesResponse, error) { out := new(QueryAllApprovedCertificatesResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/ApprovedCertificatesAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/pki.types.Query/ApprovedCertificatesAll", in, out, opts...) if err != nil { return nil, err } @@ -1909,7 +1906,7 @@ func (c *queryClient) ApprovedCertificatesAll(ctx context.Context, in *QueryAllA func (c *queryClient) ProposedCertificate(ctx context.Context, in *QueryGetProposedCertificateRequest, opts ...grpc.CallOption) (*QueryGetProposedCertificateResponse, error) { out := new(QueryGetProposedCertificateResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/ProposedCertificate", in, out, opts...) + err := c.cc.Invoke(ctx, "/pki.types.Query/ProposedCertificate", in, out, opts...) if err != nil { return nil, err } @@ -1918,7 +1915,7 @@ func (c *queryClient) ProposedCertificate(ctx context.Context, in *QueryGetPropo func (c *queryClient) ProposedCertificateAll(ctx context.Context, in *QueryAllProposedCertificateRequest, opts ...grpc.CallOption) (*QueryAllProposedCertificateResponse, error) { out := new(QueryAllProposedCertificateResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/ProposedCertificateAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/pki.types.Query/ProposedCertificateAll", in, out, opts...) if err != nil { return nil, err } @@ -1927,7 +1924,7 @@ func (c *queryClient) ProposedCertificateAll(ctx context.Context, in *QueryAllPr func (c *queryClient) ChildCertificates(ctx context.Context, in *QueryGetChildCertificatesRequest, opts ...grpc.CallOption) (*QueryGetChildCertificatesResponse, error) { out := new(QueryGetChildCertificatesResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/ChildCertificates", in, out, opts...) + err := c.cc.Invoke(ctx, "/pki.types.Query/ChildCertificates", in, out, opts...) if err != nil { return nil, err } @@ -1936,7 +1933,7 @@ func (c *queryClient) ChildCertificates(ctx context.Context, in *QueryGetChildCe func (c *queryClient) ProposedCertificateRevocation(ctx context.Context, in *QueryGetProposedCertificateRevocationRequest, opts ...grpc.CallOption) (*QueryGetProposedCertificateRevocationResponse, error) { out := new(QueryGetProposedCertificateRevocationResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/ProposedCertificateRevocation", in, out, opts...) + err := c.cc.Invoke(ctx, "/pki.types.Query/ProposedCertificateRevocation", in, out, opts...) if err != nil { return nil, err } @@ -1945,7 +1942,7 @@ func (c *queryClient) ProposedCertificateRevocation(ctx context.Context, in *Que func (c *queryClient) ProposedCertificateRevocationAll(ctx context.Context, in *QueryAllProposedCertificateRevocationRequest, opts ...grpc.CallOption) (*QueryAllProposedCertificateRevocationResponse, error) { out := new(QueryAllProposedCertificateRevocationResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/ProposedCertificateRevocationAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/pki.types.Query/ProposedCertificateRevocationAll", in, out, opts...) if err != nil { return nil, err } @@ -1954,7 +1951,7 @@ func (c *queryClient) ProposedCertificateRevocationAll(ctx context.Context, in * func (c *queryClient) RevokedCertificates(ctx context.Context, in *QueryGetRevokedCertificatesRequest, opts ...grpc.CallOption) (*QueryGetRevokedCertificatesResponse, error) { out := new(QueryGetRevokedCertificatesResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/RevokedCertificates", in, out, opts...) + err := c.cc.Invoke(ctx, "/pki.types.Query/RevokedCertificates", in, out, opts...) if err != nil { return nil, err } @@ -1963,7 +1960,7 @@ func (c *queryClient) RevokedCertificates(ctx context.Context, in *QueryGetRevok func (c *queryClient) RevokedCertificatesAll(ctx context.Context, in *QueryAllRevokedCertificatesRequest, opts ...grpc.CallOption) (*QueryAllRevokedCertificatesResponse, error) { out := new(QueryAllRevokedCertificatesResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/RevokedCertificatesAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/pki.types.Query/RevokedCertificatesAll", in, out, opts...) if err != nil { return nil, err } @@ -1972,7 +1969,7 @@ func (c *queryClient) RevokedCertificatesAll(ctx context.Context, in *QueryAllRe func (c *queryClient) ApprovedRootCertificates(ctx context.Context, in *QueryGetApprovedRootCertificatesRequest, opts ...grpc.CallOption) (*QueryGetApprovedRootCertificatesResponse, error) { out := new(QueryGetApprovedRootCertificatesResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/ApprovedRootCertificates", in, out, opts...) + err := c.cc.Invoke(ctx, "/pki.types.Query/ApprovedRootCertificates", in, out, opts...) if err != nil { return nil, err } @@ -1981,7 +1978,7 @@ func (c *queryClient) ApprovedRootCertificates(ctx context.Context, in *QueryGet func (c *queryClient) RevokedRootCertificates(ctx context.Context, in *QueryGetRevokedRootCertificatesRequest, opts ...grpc.CallOption) (*QueryGetRevokedRootCertificatesResponse, error) { out := new(QueryGetRevokedRootCertificatesResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/RevokedRootCertificates", in, out, opts...) + err := c.cc.Invoke(ctx, "/pki.types.Query/RevokedRootCertificates", in, out, opts...) if err != nil { return nil, err } @@ -1990,7 +1987,7 @@ func (c *queryClient) RevokedRootCertificates(ctx context.Context, in *QueryGetR func (c *queryClient) ApprovedCertificatesBySubject(ctx context.Context, in *QueryGetApprovedCertificatesBySubjectRequest, opts ...grpc.CallOption) (*QueryGetApprovedCertificatesBySubjectResponse, error) { out := new(QueryGetApprovedCertificatesBySubjectResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/ApprovedCertificatesBySubject", in, out, opts...) + err := c.cc.Invoke(ctx, "/pki.types.Query/ApprovedCertificatesBySubject", in, out, opts...) if err != nil { return nil, err } @@ -1999,7 +1996,7 @@ func (c *queryClient) ApprovedCertificatesBySubject(ctx context.Context, in *Que func (c *queryClient) RejectedCertificate(ctx context.Context, in *QueryGetRejectedCertificatesRequest, opts ...grpc.CallOption) (*QueryGetRejectedCertificatesResponse, error) { out := new(QueryGetRejectedCertificatesResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/RejectedCertificate", in, out, opts...) + err := c.cc.Invoke(ctx, "/pki.types.Query/RejectedCertificate", in, out, opts...) if err != nil { return nil, err } @@ -2008,7 +2005,7 @@ func (c *queryClient) RejectedCertificate(ctx context.Context, in *QueryGetRejec func (c *queryClient) RejectedCertificateAll(ctx context.Context, in *QueryAllRejectedCertificatesRequest, opts ...grpc.CallOption) (*QueryAllRejectedCertificatesResponse, error) { out := new(QueryAllRejectedCertificatesResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/RejectedCertificateAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/pki.types.Query/RejectedCertificateAll", in, out, opts...) if err != nil { return nil, err } @@ -2017,7 +2014,7 @@ func (c *queryClient) RejectedCertificateAll(ctx context.Context, in *QueryAllRe func (c *queryClient) PkiRevocationDistributionPoint(ctx context.Context, in *QueryGetPkiRevocationDistributionPointRequest, opts ...grpc.CallOption) (*QueryGetPkiRevocationDistributionPointResponse, error) { out := new(QueryGetPkiRevocationDistributionPointResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/PkiRevocationDistributionPoint", in, out, opts...) + err := c.cc.Invoke(ctx, "/pki.types.Query/PkiRevocationDistributionPoint", in, out, opts...) if err != nil { return nil, err } @@ -2026,7 +2023,7 @@ func (c *queryClient) PkiRevocationDistributionPoint(ctx context.Context, in *Qu func (c *queryClient) PkiRevocationDistributionPointAll(ctx context.Context, in *QueryAllPkiRevocationDistributionPointRequest, opts ...grpc.CallOption) (*QueryAllPkiRevocationDistributionPointResponse, error) { out := new(QueryAllPkiRevocationDistributionPointResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/PkiRevocationDistributionPointAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/pki.types.Query/PkiRevocationDistributionPointAll", in, out, opts...) if err != nil { return nil, err } @@ -2035,7 +2032,7 @@ func (c *queryClient) PkiRevocationDistributionPointAll(ctx context.Context, in func (c *queryClient) PkiRevocationDistributionPointsByIssuerSubjectKeyID(ctx context.Context, in *QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDRequest, opts ...grpc.CallOption) (*QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDResponse, error) { out := new(QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/PkiRevocationDistributionPointsByIssuerSubjectKeyID", in, out, opts...) + err := c.cc.Invoke(ctx, "/pki.types.Query/PkiRevocationDistributionPointsByIssuerSubjectKeyID", in, out, opts...) if err != nil { return nil, err } @@ -2150,7 +2147,7 @@ func _Query_ApprovedCertificates_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/ApprovedCertificates", + FullMethod: "/pki.types.Query/ApprovedCertificates", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ApprovedCertificates(ctx, req.(*QueryGetApprovedCertificatesRequest)) @@ -2168,7 +2165,7 @@ func _Query_ApprovedCertificatesAll_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/ApprovedCertificatesAll", + FullMethod: "/pki.types.Query/ApprovedCertificatesAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ApprovedCertificatesAll(ctx, req.(*QueryAllApprovedCertificatesRequest)) @@ -2186,7 +2183,7 @@ func _Query_ProposedCertificate_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/ProposedCertificate", + FullMethod: "/pki.types.Query/ProposedCertificate", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ProposedCertificate(ctx, req.(*QueryGetProposedCertificateRequest)) @@ -2204,7 +2201,7 @@ func _Query_ProposedCertificateAll_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/ProposedCertificateAll", + FullMethod: "/pki.types.Query/ProposedCertificateAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ProposedCertificateAll(ctx, req.(*QueryAllProposedCertificateRequest)) @@ -2222,7 +2219,7 @@ func _Query_ChildCertificates_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/ChildCertificates", + FullMethod: "/pki.types.Query/ChildCertificates", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ChildCertificates(ctx, req.(*QueryGetChildCertificatesRequest)) @@ -2240,7 +2237,7 @@ func _Query_ProposedCertificateRevocation_Handler(srv interface{}, ctx context.C } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/ProposedCertificateRevocation", + FullMethod: "/pki.types.Query/ProposedCertificateRevocation", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ProposedCertificateRevocation(ctx, req.(*QueryGetProposedCertificateRevocationRequest)) @@ -2258,7 +2255,7 @@ func _Query_ProposedCertificateRevocationAll_Handler(srv interface{}, ctx contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/ProposedCertificateRevocationAll", + FullMethod: "/pki.types.Query/ProposedCertificateRevocationAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ProposedCertificateRevocationAll(ctx, req.(*QueryAllProposedCertificateRevocationRequest)) @@ -2276,7 +2273,7 @@ func _Query_RevokedCertificates_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/RevokedCertificates", + FullMethod: "/pki.types.Query/RevokedCertificates", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RevokedCertificates(ctx, req.(*QueryGetRevokedCertificatesRequest)) @@ -2294,7 +2291,7 @@ func _Query_RevokedCertificatesAll_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/RevokedCertificatesAll", + FullMethod: "/pki.types.Query/RevokedCertificatesAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RevokedCertificatesAll(ctx, req.(*QueryAllRevokedCertificatesRequest)) @@ -2312,7 +2309,7 @@ func _Query_ApprovedRootCertificates_Handler(srv interface{}, ctx context.Contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/ApprovedRootCertificates", + FullMethod: "/pki.types.Query/ApprovedRootCertificates", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ApprovedRootCertificates(ctx, req.(*QueryGetApprovedRootCertificatesRequest)) @@ -2330,7 +2327,7 @@ func _Query_RevokedRootCertificates_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/RevokedRootCertificates", + FullMethod: "/pki.types.Query/RevokedRootCertificates", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RevokedRootCertificates(ctx, req.(*QueryGetRevokedRootCertificatesRequest)) @@ -2348,7 +2345,7 @@ func _Query_ApprovedCertificatesBySubject_Handler(srv interface{}, ctx context.C } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/ApprovedCertificatesBySubject", + FullMethod: "/pki.types.Query/ApprovedCertificatesBySubject", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ApprovedCertificatesBySubject(ctx, req.(*QueryGetApprovedCertificatesBySubjectRequest)) @@ -2366,7 +2363,7 @@ func _Query_RejectedCertificate_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/RejectedCertificate", + FullMethod: "/pki.types.Query/RejectedCertificate", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RejectedCertificate(ctx, req.(*QueryGetRejectedCertificatesRequest)) @@ -2384,7 +2381,7 @@ func _Query_RejectedCertificateAll_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/RejectedCertificateAll", + FullMethod: "/pki.types.Query/RejectedCertificateAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RejectedCertificateAll(ctx, req.(*QueryAllRejectedCertificatesRequest)) @@ -2402,7 +2399,7 @@ func _Query_PkiRevocationDistributionPoint_Handler(srv interface{}, ctx context. } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/PkiRevocationDistributionPoint", + FullMethod: "/pki.types.Query/PkiRevocationDistributionPoint", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).PkiRevocationDistributionPoint(ctx, req.(*QueryGetPkiRevocationDistributionPointRequest)) @@ -2420,7 +2417,7 @@ func _Query_PkiRevocationDistributionPointAll_Handler(srv interface{}, ctx conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/PkiRevocationDistributionPointAll", + FullMethod: "/pki.types.Query/PkiRevocationDistributionPointAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).PkiRevocationDistributionPointAll(ctx, req.(*QueryAllPkiRevocationDistributionPointRequest)) @@ -2438,7 +2435,7 @@ func _Query_PkiRevocationDistributionPointsByIssuerSubjectKeyID_Handler(srv inte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/PkiRevocationDistributionPointsByIssuerSubjectKeyID", + FullMethod: "/pki.types.Query/PkiRevocationDistributionPointsByIssuerSubjectKeyID", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).PkiRevocationDistributionPointsByIssuerSubjectKeyID(ctx, req.(*QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDRequest)) @@ -2447,7 +2444,7 @@ func _Query_PkiRevocationDistributionPointsByIssuerSubjectKeyID_Handler(srv inte } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "zigbeealliance.distributedcomplianceledger.pki.Query", + ServiceName: "pki.types.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -2520,7 +2517,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "pki/query.proto", + Metadata: "pki/types/query.proto", } func (m *QueryGetApprovedCertificatesRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/query.pb.gw.go b/x/pki/types/query.pb.gw.go index 84d899b34..0bfec408c 100644 --- a/x/pki/types/query.pb.gw.go +++ b/x/pki/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: pki/query.proto +// source: pki/types/query.proto /* Package types is a reverse proxy. diff --git a/x/pki/types/rejected_certificate.pb.go b/x/pki/types/rejected_certificate.pb.go index 7c9c0a12a..97e955d9d 100644 --- a/x/pki/types/rejected_certificate.pb.go +++ b/x/pki/types/rejected_certificate.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/rejected_certificate.proto +// source: pki/types/rejected_certificate.proto package types @@ -32,7 +32,7 @@ func (m *RejectedCertificate) Reset() { *m = RejectedCertificate{} } func (m *RejectedCertificate) String() string { return proto.CompactTextString(m) } func (*RejectedCertificate) ProtoMessage() {} func (*RejectedCertificate) Descriptor() ([]byte, []int) { - return fileDescriptor_830b292fc8b89847, []int{0} + return fileDescriptor_0e6e5d8003b38e6d, []int{0} } func (m *RejectedCertificate) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -83,29 +83,30 @@ func (m *RejectedCertificate) GetCerts() []*Certificate { } func init() { - proto.RegisterType((*RejectedCertificate)(nil), "zigbeealliance.distributedcomplianceledger.pki.RejectedCertificate") + proto.RegisterType((*RejectedCertificate)(nil), "pki.types.RejectedCertificate") } -func init() { proto.RegisterFile("pki/rejected_certificate.proto", fileDescriptor_830b292fc8b89847) } +func init() { + proto.RegisterFile("pki/types/rejected_certificate.proto", fileDescriptor_0e6e5d8003b38e6d) +} -var fileDescriptor_830b292fc8b89847 = []byte{ - // 247 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2b, 0xc8, 0xce, 0xd4, - 0x2f, 0x4a, 0xcd, 0x4a, 0x4d, 0x2e, 0x49, 0x4d, 0x89, 0x4f, 0x4e, 0x2d, 0x2a, 0xc9, 0x4c, 0xcb, - 0x4c, 0x4e, 0x2c, 0x49, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xd2, 0xab, 0xca, 0x4c, 0x4f, - 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4b, 0xc9, 0x2c, 0x2e, 0x29, - 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, - 0xa7, 0x16, 0xe9, 0x15, 0x64, 0x67, 0x4a, 0x89, 0x82, 0xcc, 0xc3, 0x30, 0x46, 0x69, 0x19, 0x23, - 0x97, 0x70, 0x10, 0xd4, 0x16, 0x67, 0x84, 0xac, 0x90, 0x04, 0x17, 0x7b, 0x71, 0x69, 0x12, 0x48, - 0x5c, 0x82, 0x51, 0x81, 0x51, 0x83, 0x33, 0x08, 0xc6, 0x15, 0x52, 0xe2, 0xe2, 0x81, 0x32, 0xbd, - 0x53, 0x2b, 0x3d, 0x53, 0x24, 0x98, 0xc0, 0xd2, 0x28, 0x62, 0x42, 0x81, 0x5c, 0xac, 0x20, 0xab, - 0x8a, 0x25, 0x98, 0x15, 0x98, 0x35, 0xb8, 0x8d, 0xac, 0x49, 0x74, 0xac, 0x1e, 0x92, 0x4b, 0x82, - 0x20, 0x26, 0x39, 0xc5, 0x9d, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, - 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x4b, - 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x3e, 0xc4, 0x1e, 0x5d, 0x98, 0x45, - 0xfa, 0x48, 0x16, 0xe9, 0x22, 0x6c, 0xd2, 0x85, 0x58, 0xa5, 0x5f, 0xa1, 0x0f, 0x0a, 0x94, 0x92, - 0xca, 0x82, 0xd4, 0xe2, 0x24, 0x36, 0x70, 0x78, 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xb5, - 0x7e, 0x7f, 0xe1, 0x78, 0x01, 0x00, 0x00, +var fileDescriptor_0e6e5d8003b38e6d = []byte{ + // 238 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x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0x54, 0xfd, 0x94, 0xcc, 0xe2, + 0x92, 0xa2, 0xcc, 0xa4, 0xd2, 0x92, 0xd4, 0x14, 0xdd, 0xe4, 0xfc, 0xdc, 0x02, 0x88, 0xb0, 0x6e, + 0x4e, 0x6a, 0x4a, 0x7a, 0x6a, 0x91, 0x7e, 0x85, 0x3e, 0xdc, 0xd7, 0x49, 0x6c, 0x60, 0xaf, 0x1a, + 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x9f, 0xf1, 0x0e, 0x07, 0x3a, 0x01, 0x00, 0x00, } func (m *RejectedCertificate) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/revoked_certificates.pb.go b/x/pki/types/revoked_certificates.pb.go index e3fd339b4..8135b44ac 100644 --- a/x/pki/types/revoked_certificates.pb.go +++ b/x/pki/types/revoked_certificates.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/revoked_certificates.proto +// source: pki/types/revoked_certificates.proto package types @@ -32,7 +32,7 @@ func (m *RevokedCertificates) Reset() { *m = RevokedCertificates{} } func (m *RevokedCertificates) String() string { return proto.CompactTextString(m) } func (*RevokedCertificates) ProtoMessage() {} func (*RevokedCertificates) Descriptor() ([]byte, []int) { - return fileDescriptor_cca42ddac598ffcf, []int{0} + return fileDescriptor_19c24231c4530274, []int{0} } func (m *RevokedCertificates) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -83,29 +83,31 @@ func (m *RevokedCertificates) GetCerts() []*Certificate { } func init() { - proto.RegisterType((*RevokedCertificates)(nil), "zigbeealliance.distributedcomplianceledger.pki.RevokedCertificates") + proto.RegisterType((*RevokedCertificates)(nil), "pki.types.RevokedCertificates") } -func init() { proto.RegisterFile("pki/revoked_certificates.proto", fileDescriptor_cca42ddac598ffcf) } +func init() { + proto.RegisterFile("pki/types/revoked_certificates.proto", fileDescriptor_19c24231c4530274) +} -var fileDescriptor_cca42ddac598ffcf = []byte{ - // 252 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2b, 0xc8, 0xce, 0xd4, - 0x2f, 0x4a, 0x2d, 0xcb, 0xcf, 0x4e, 0x4d, 0x89, 0x4f, 0x4e, 0x2d, 0x2a, 0xc9, 0x4c, 0xcb, 0x4c, - 0x4e, 0x2c, 0x49, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xd2, 0xab, 0xca, 0x4c, 0x4f, - 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4b, 0xc9, 0x2c, 0x2e, 0x29, - 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, - 0xa7, 0x16, 0xe9, 0x15, 0x64, 0x67, 0x4a, 0x89, 0x82, 0xcc, 0x43, 0x32, 0x07, 0x62, 0x8c, 0xd2, - 0x32, 0x46, 0x2e, 0xe1, 0x20, 0x88, 0x2d, 0xce, 0x48, 0x96, 0x08, 0x49, 0x70, 0xb1, 0x17, 0x97, - 0x26, 0x65, 0xa5, 0x26, 0x97, 0x48, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x06, 0xc1, 0xb8, 0x42, 0x4a, - 0x5c, 0x3c, 0x50, 0xa6, 0x77, 0x6a, 0xa5, 0x67, 0x8a, 0x04, 0x13, 0x58, 0x1a, 0x45, 0x4c, 0x28, - 0x90, 0x8b, 0x15, 0x64, 0x55, 0xb1, 0x04, 0xb3, 0x02, 0xb3, 0x06, 0xb7, 0x91, 0x35, 0x89, 0x8e, - 0xd5, 0x43, 0x72, 0x4a, 0x10, 0xc4, 0x24, 0xa7, 0xb8, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, - 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, - 0x96, 0x63, 0x88, 0x72, 0x49, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x87, - 0xd8, 0xa3, 0x0b, 0xb3, 0x48, 0x1f, 0xc9, 0x22, 0x5d, 0x84, 0x4d, 0xba, 0x10, 0xab, 0xf4, 0x2b, - 0xf4, 0x41, 0x81, 0x52, 0x52, 0x59, 0x90, 0x5a, 0x9c, 0xc4, 0x06, 0x0e, 0x0f, 0x63, 0x40, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x8d, 0xd7, 0xf0, 0x66, 0x78, 0x01, 0x00, 0x00, +var fileDescriptor_19c24231c4530274 = []byte{ + // 242 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x29, 0xc8, 0xce, 0xd4, + 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x2f, 0x4a, 0x2d, 0xcb, 0xcf, 0x4e, 0x4d, 0x89, 0x4f, 0x4e, + 0x2d, 0x2a, 0xc9, 0x4c, 0xcb, 0x4c, 0x4e, 0x2c, 0x49, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, + 0x17, 0xe2, 0x2c, 0xc8, 0xce, 0xd4, 0x03, 0xab, 0x92, 0x92, 0x46, 0x68, 0x40, 0x52, 0x08, 0x51, + 0xa7, 0xd4, 0xc8, 0xc8, 0x25, 0x1c, 0x04, 0x31, 0xc6, 0x19, 0xc9, 0x14, 0x21, 0x09, 0x2e, 0xf6, + 0xe2, 0xd2, 0xa4, 0xac, 0xd4, 0xe4, 0x12, 0x09, 0x46, 0x05, 0x46, 0x0d, 0xce, 0x20, 0x18, 0x57, + 0x48, 0x89, 0x8b, 0x07, 0xca, 0xf4, 0x4e, 0xad, 0xf4, 0x4c, 0x91, 0x60, 0x02, 0x4b, 0xa3, 0x88, + 0x09, 0xe9, 0x70, 0xb1, 0x82, 0xac, 0x2a, 0x96, 0x60, 0x56, 0x60, 0xd6, 0xe0, 0x36, 0x12, 0xd3, + 0x83, 0xbb, 0x46, 0x0f, 0xc9, 0x96, 0x20, 0x88, 0x22, 0xa7, 0xb8, 0x13, 0x8f, 0xe4, 0x18, 0x2f, + 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, + 0x6e, 0x3c, 0x96, 0x63, 0x88, 0x72, 0x49, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, + 0xd5, 0xaf, 0xca, 0x4c, 0x4f, 0x4a, 0x4d, 0xd5, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, + 0xd5, 0x4f, 0xc9, 0x2c, 0x2e, 0x29, 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0xd1, 0x4d, 0xce, 0xcf, + 0x2d, 0x80, 0x08, 0xeb, 0xe6, 0xa4, 0xa6, 0xa4, 0xa7, 0x16, 0xe9, 0x57, 0xe8, 0xc3, 0x7d, 0x9d, + 0xc4, 0x06, 0xf6, 0xaa, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xc0, 0x27, 0x1f, 0x81, 0x3a, 0x01, + 0x00, 0x00, } func (m *RevokedCertificates) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/revoked_root_certificates.pb.go b/x/pki/types/revoked_root_certificates.pb.go index 299017e96..fe97be813 100644 --- a/x/pki/types/revoked_root_certificates.pb.go +++ b/x/pki/types/revoked_root_certificates.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/revoked_root_certificates.proto +// source: pki/types/revoked_root_certificates.proto package types @@ -30,7 +30,7 @@ func (m *RevokedRootCertificates) Reset() { *m = RevokedRootCertificates func (m *RevokedRootCertificates) String() string { return proto.CompactTextString(m) } func (*RevokedRootCertificates) ProtoMessage() {} func (*RevokedRootCertificates) Descriptor() ([]byte, []int) { - return fileDescriptor_7c9e175bb3093f48, []int{0} + return fileDescriptor_cd73b1042fd4ac3e, []int{0} } func (m *RevokedRootCertificates) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -67,30 +67,30 @@ func (m *RevokedRootCertificates) GetCerts() []*CertificateIdentifier { } func init() { - proto.RegisterType((*RevokedRootCertificates)(nil), "zigbeealliance.distributedcomplianceledger.pki.RevokedRootCertificates") + proto.RegisterType((*RevokedRootCertificates)(nil), "pki.types.RevokedRootCertificates") } func init() { - proto.RegisterFile("pki/revoked_root_certificates.proto", fileDescriptor_7c9e175bb3093f48) + proto.RegisterFile("pki/types/revoked_root_certificates.proto", fileDescriptor_cd73b1042fd4ac3e) } -var fileDescriptor_7c9e175bb3093f48 = []byte{ - // 233 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0xcf, 0x3d, 0x4e, 0xc4, 0x30, - 0x10, 0x86, 0xe1, 0x44, 0x08, 0x8a, 0xd0, 0x6d, 0x03, 0xa2, 0xb0, 0x56, 0xd0, 0xd0, 0xc4, 0x96, - 0xe0, 0x06, 0xfc, 0x14, 0xb4, 0x29, 0x41, 0x22, 0x4a, 0xec, 0x21, 0x8c, 0x92, 0xdd, 0xb1, 0xec, - 0xd9, 0x15, 0x70, 0x0a, 0x8e, 0x45, 0x99, 0x92, 0x12, 0x25, 0x17, 0x41, 0xc6, 0x02, 0xdc, 0x6e, - 0x69, 0x5b, 0x7e, 0x1f, 0x7d, 0xc5, 0x99, 0xed, 0x51, 0x39, 0xd8, 0x52, 0x0f, 0xa6, 0x76, 0x44, - 0x5c, 0x6b, 0x70, 0x8c, 0x4f, 0xa8, 0x1b, 0x06, 0x2f, 0xad, 0x23, 0xa6, 0x85, 0x7c, 0xc3, 0xae, - 0x05, 0x68, 0x86, 0x01, 0x9b, 0xb5, 0x06, 0x69, 0xd0, 0xb3, 0xc3, 0x76, 0xc3, 0x60, 0x34, 0xad, - 0x6c, 0xbc, 0x1d, 0xc0, 0x74, 0xe0, 0xa4, 0xed, 0xf1, 0x64, 0x19, 0xa2, 0x49, 0xa7, 0x46, 0x03, - 0xeb, 0x70, 0x08, 0xef, 0xa1, 0x78, 0xba, 0x2d, 0x8e, 0xaa, 0x88, 0x56, 0x44, 0x7c, 0x9d, 0x90, - 0x8b, 0x87, 0x62, 0x3f, 0x7c, 0xf5, 0xc7, 0xf9, 0x72, 0xef, 0xfc, 0xf0, 0xe2, 0x76, 0x47, 0x5c, - 0x26, 0xb1, 0xbb, 0x3f, 0xb6, 0x8a, 0xcd, 0xab, 0xc7, 0x8f, 0x49, 0xe4, 0xe3, 0x24, 0xf2, 0xaf, - 0x49, 0xe4, 0xef, 0xb3, 0xc8, 0xc6, 0x59, 0x64, 0x9f, 0xb3, 0xc8, 0xee, 0x6f, 0x3a, 0xe4, 0xe7, - 0x4d, 0x2b, 0x35, 0xad, 0x54, 0x14, 0xcb, 0x5f, 0x52, 0x25, 0x64, 0xf9, 0x6f, 0x96, 0x11, 0x55, - 0x2f, 0x2a, 0xcc, 0xe5, 0x57, 0x0b, 0xbe, 0x3d, 0xf8, 0x99, 0x77, 0xf9, 0x1d, 0x00, 0x00, 0xff, - 0xff, 0x30, 0x6d, 0xb9, 0xc8, 0x57, 0x01, 0x00, 0x00, +var fileDescriptor_cd73b1042fd4ac3e = []byte{ + // 226 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x2c, 0xc8, 0xce, 0xd4, + 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x2f, 0x4a, 0x2d, 0xcb, 0xcf, 0x4e, 0x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 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x7d, 0xda, 0xde, 0xf7, 0x19, 0x01, + 0x00, 0x00, } func (m *RevokedRootCertificates) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/tx.pb.go b/x/pki/types/tx.pb.go index c450f59c9..280e0b9f7 100644 --- a/x/pki/types/tx.pb.go +++ b/x/pki/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/tx.proto +// source: pki/types/tx.proto package types @@ -41,7 +41,7 @@ func (m *MsgProposeAddX509RootCert) Reset() { *m = MsgProposeAddX509Root func (m *MsgProposeAddX509RootCert) String() string { return proto.CompactTextString(m) } func (*MsgProposeAddX509RootCert) ProtoMessage() {} func (*MsgProposeAddX509RootCert) Descriptor() ([]byte, []int) { - return fileDescriptor_badfdb2b39855d16, []int{0} + return fileDescriptor_b08eeccb97bc31ec, []int{0} } func (m *MsgProposeAddX509RootCert) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -112,7 +112,7 @@ func (m *MsgProposeAddX509RootCertResponse) Reset() { *m = MsgProposeAdd func (m *MsgProposeAddX509RootCertResponse) String() string { return proto.CompactTextString(m) } func (*MsgProposeAddX509RootCertResponse) ProtoMessage() {} func (*MsgProposeAddX509RootCertResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_badfdb2b39855d16, []int{1} + return fileDescriptor_b08eeccb97bc31ec, []int{1} } func (m *MsgProposeAddX509RootCertResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -153,7 +153,7 @@ func (m *MsgApproveAddX509RootCert) Reset() { *m = MsgApproveAddX509Root func (m *MsgApproveAddX509RootCert) String() string { return proto.CompactTextString(m) } func (*MsgApproveAddX509RootCert) ProtoMessage() {} func (*MsgApproveAddX509RootCert) Descriptor() ([]byte, []int) { - return fileDescriptor_badfdb2b39855d16, []int{2} + return fileDescriptor_b08eeccb97bc31ec, []int{2} } func (m *MsgApproveAddX509RootCert) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -224,7 +224,7 @@ func (m *MsgApproveAddX509RootCertResponse) Reset() { *m = MsgApproveAdd func (m *MsgApproveAddX509RootCertResponse) String() string { return proto.CompactTextString(m) } func (*MsgApproveAddX509RootCertResponse) ProtoMessage() {} func (*MsgApproveAddX509RootCertResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_badfdb2b39855d16, []int{3} + return fileDescriptor_b08eeccb97bc31ec, []int{3} } func (m *MsgApproveAddX509RootCertResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -264,7 +264,7 @@ func (m *MsgAddX509Cert) Reset() { *m = MsgAddX509Cert{} } func (m *MsgAddX509Cert) String() string { return proto.CompactTextString(m) } func (*MsgAddX509Cert) ProtoMessage() {} func (*MsgAddX509Cert) Descriptor() ([]byte, []int) { - return fileDescriptor_badfdb2b39855d16, []int{4} + return fileDescriptor_b08eeccb97bc31ec, []int{4} } func (m *MsgAddX509Cert) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -328,7 +328,7 @@ func (m *MsgAddX509CertResponse) Reset() { *m = MsgAddX509CertResponse{} func (m *MsgAddX509CertResponse) String() string { return proto.CompactTextString(m) } func (*MsgAddX509CertResponse) ProtoMessage() {} func (*MsgAddX509CertResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_badfdb2b39855d16, []int{5} + return fileDescriptor_b08eeccb97bc31ec, []int{5} } func (m *MsgAddX509CertResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -369,7 +369,7 @@ func (m *MsgProposeRevokeX509RootCert) Reset() { *m = MsgProposeRevokeX5 func (m *MsgProposeRevokeX509RootCert) String() string { return proto.CompactTextString(m) } func (*MsgProposeRevokeX509RootCert) ProtoMessage() {} func (*MsgProposeRevokeX509RootCert) Descriptor() ([]byte, []int) { - return fileDescriptor_badfdb2b39855d16, []int{6} + return fileDescriptor_b08eeccb97bc31ec, []int{6} } func (m *MsgProposeRevokeX509RootCert) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -440,7 +440,7 @@ func (m *MsgProposeRevokeX509RootCertResponse) Reset() { *m = MsgPropose func (m *MsgProposeRevokeX509RootCertResponse) String() string { return proto.CompactTextString(m) } func (*MsgProposeRevokeX509RootCertResponse) ProtoMessage() {} func (*MsgProposeRevokeX509RootCertResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_badfdb2b39855d16, []int{7} + return fileDescriptor_b08eeccb97bc31ec, []int{7} } func (m *MsgProposeRevokeX509RootCertResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -481,7 +481,7 @@ func (m *MsgApproveRevokeX509RootCert) Reset() { *m = MsgApproveRevokeX5 func (m *MsgApproveRevokeX509RootCert) String() string { return proto.CompactTextString(m) } func (*MsgApproveRevokeX509RootCert) ProtoMessage() {} func (*MsgApproveRevokeX509RootCert) Descriptor() ([]byte, []int) { - return fileDescriptor_badfdb2b39855d16, []int{8} + return fileDescriptor_b08eeccb97bc31ec, []int{8} } func (m *MsgApproveRevokeX509RootCert) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -552,7 +552,7 @@ func (m *MsgApproveRevokeX509RootCertResponse) Reset() { *m = MsgApprove func (m *MsgApproveRevokeX509RootCertResponse) String() string { return proto.CompactTextString(m) } func (*MsgApproveRevokeX509RootCertResponse) ProtoMessage() {} func (*MsgApproveRevokeX509RootCertResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_badfdb2b39855d16, []int{9} + return fileDescriptor_b08eeccb97bc31ec, []int{9} } func (m *MsgApproveRevokeX509RootCertResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -593,7 +593,7 @@ func (m *MsgRevokeX509Cert) Reset() { *m = MsgRevokeX509Cert{} } func (m *MsgRevokeX509Cert) String() string { return proto.CompactTextString(m) } func (*MsgRevokeX509Cert) ProtoMessage() {} func (*MsgRevokeX509Cert) Descriptor() ([]byte, []int) { - return fileDescriptor_badfdb2b39855d16, []int{10} + return fileDescriptor_b08eeccb97bc31ec, []int{10} } func (m *MsgRevokeX509Cert) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -664,7 +664,7 @@ func (m *MsgRevokeX509CertResponse) Reset() { *m = MsgRevokeX509CertResp func (m *MsgRevokeX509CertResponse) String() string { return proto.CompactTextString(m) } func (*MsgRevokeX509CertResponse) ProtoMessage() {} func (*MsgRevokeX509CertResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_badfdb2b39855d16, []int{11} + return fileDescriptor_b08eeccb97bc31ec, []int{11} } func (m *MsgRevokeX509CertResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -705,7 +705,7 @@ func (m *MsgRejectAddX509RootCert) Reset() { *m = MsgRejectAddX509RootCe func (m *MsgRejectAddX509RootCert) String() string { return proto.CompactTextString(m) } func (*MsgRejectAddX509RootCert) ProtoMessage() {} func (*MsgRejectAddX509RootCert) Descriptor() ([]byte, []int) { - return fileDescriptor_badfdb2b39855d16, []int{12} + return fileDescriptor_b08eeccb97bc31ec, []int{12} } func (m *MsgRejectAddX509RootCert) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -776,7 +776,7 @@ func (m *MsgRejectAddX509RootCertResponse) Reset() { *m = MsgRejectAddX5 func (m *MsgRejectAddX509RootCertResponse) String() string { return proto.CompactTextString(m) } func (*MsgRejectAddX509RootCertResponse) ProtoMessage() {} func (*MsgRejectAddX509RootCertResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_badfdb2b39855d16, []int{13} + return fileDescriptor_b08eeccb97bc31ec, []int{13} } func (m *MsgRejectAddX509RootCertResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -824,7 +824,7 @@ func (m *MsgAddPkiRevocationDistributionPoint) Reset() { *m = MsgAddPkiR func (m *MsgAddPkiRevocationDistributionPoint) String() string { return proto.CompactTextString(m) } func (*MsgAddPkiRevocationDistributionPoint) ProtoMessage() {} func (*MsgAddPkiRevocationDistributionPoint) Descriptor() ([]byte, []int) { - return fileDescriptor_badfdb2b39855d16, []int{14} + return fileDescriptor_b08eeccb97bc31ec, []int{14} } func (m *MsgAddPkiRevocationDistributionPoint) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -948,7 +948,7 @@ func (m *MsgAddPkiRevocationDistributionPointResponse) String() string { } func (*MsgAddPkiRevocationDistributionPointResponse) ProtoMessage() {} func (*MsgAddPkiRevocationDistributionPointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_badfdb2b39855d16, []int{15} + return fileDescriptor_b08eeccb97bc31ec, []int{15} } func (m *MsgAddPkiRevocationDistributionPointResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -995,7 +995,7 @@ func (m *MsgUpdatePkiRevocationDistributionPoint) Reset() { func (m *MsgUpdatePkiRevocationDistributionPoint) String() string { return proto.CompactTextString(m) } func (*MsgUpdatePkiRevocationDistributionPoint) ProtoMessage() {} func (*MsgUpdatePkiRevocationDistributionPoint) Descriptor() ([]byte, []int) { - return fileDescriptor_badfdb2b39855d16, []int{16} + return fileDescriptor_b08eeccb97bc31ec, []int{16} } func (m *MsgUpdatePkiRevocationDistributionPoint) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1098,7 +1098,7 @@ func (m *MsgUpdatePkiRevocationDistributionPointResponse) String() string { } func (*MsgUpdatePkiRevocationDistributionPointResponse) ProtoMessage() {} func (*MsgUpdatePkiRevocationDistributionPointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_badfdb2b39855d16, []int{17} + return fileDescriptor_b08eeccb97bc31ec, []int{17} } func (m *MsgUpdatePkiRevocationDistributionPointResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1140,7 +1140,7 @@ func (m *MsgDeletePkiRevocationDistributionPoint) Reset() { func (m *MsgDeletePkiRevocationDistributionPoint) String() string { return proto.CompactTextString(m) } func (*MsgDeletePkiRevocationDistributionPoint) ProtoMessage() {} func (*MsgDeletePkiRevocationDistributionPoint) Descriptor() ([]byte, []int) { - return fileDescriptor_badfdb2b39855d16, []int{18} + return fileDescriptor_b08eeccb97bc31ec, []int{18} } func (m *MsgDeletePkiRevocationDistributionPoint) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1208,7 +1208,7 @@ func (m *MsgDeletePkiRevocationDistributionPointResponse) String() string { } func (*MsgDeletePkiRevocationDistributionPointResponse) ProtoMessage() {} func (*MsgDeletePkiRevocationDistributionPointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_badfdb2b39855d16, []int{19} + return fileDescriptor_b08eeccb97bc31ec, []int{19} } func (m *MsgDeletePkiRevocationDistributionPointResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1248,7 +1248,7 @@ func (m *MsgAssignVid) Reset() { *m = MsgAssignVid{} } func (m *MsgAssignVid) String() string { return proto.CompactTextString(m) } func (*MsgAssignVid) ProtoMessage() {} func (*MsgAssignVid) Descriptor() ([]byte, []int) { - return fileDescriptor_badfdb2b39855d16, []int{20} + return fileDescriptor_b08eeccb97bc31ec, []int{20} } func (m *MsgAssignVid) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1312,7 +1312,7 @@ func (m *MsgAssignVidResponse) Reset() { *m = MsgAssignVidResponse{} } func (m *MsgAssignVidResponse) String() string { return proto.CompactTextString(m) } func (*MsgAssignVidResponse) ProtoMessage() {} func (*MsgAssignVidResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_badfdb2b39855d16, []int{21} + return fileDescriptor_b08eeccb97bc31ec, []int{21} } func (m *MsgAssignVidResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1342,106 +1342,104 @@ func (m *MsgAssignVidResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgAssignVidResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*MsgProposeAddX509RootCert)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgProposeAddX509RootCert") - proto.RegisterType((*MsgProposeAddX509RootCertResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgProposeAddX509RootCertResponse") - proto.RegisterType((*MsgApproveAddX509RootCert)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgApproveAddX509RootCert") - proto.RegisterType((*MsgApproveAddX509RootCertResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgApproveAddX509RootCertResponse") - proto.RegisterType((*MsgAddX509Cert)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgAddX509Cert") - proto.RegisterType((*MsgAddX509CertResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgAddX509CertResponse") - proto.RegisterType((*MsgProposeRevokeX509RootCert)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgProposeRevokeX509RootCert") - proto.RegisterType((*MsgProposeRevokeX509RootCertResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgProposeRevokeX509RootCertResponse") - proto.RegisterType((*MsgApproveRevokeX509RootCert)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgApproveRevokeX509RootCert") - proto.RegisterType((*MsgApproveRevokeX509RootCertResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgApproveRevokeX509RootCertResponse") - proto.RegisterType((*MsgRevokeX509Cert)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgRevokeX509Cert") - proto.RegisterType((*MsgRevokeX509CertResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgRevokeX509CertResponse") - proto.RegisterType((*MsgRejectAddX509RootCert)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgRejectAddX509RootCert") - proto.RegisterType((*MsgRejectAddX509RootCertResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgRejectAddX509RootCertResponse") - proto.RegisterType((*MsgAddPkiRevocationDistributionPoint)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgAddPkiRevocationDistributionPoint") - proto.RegisterType((*MsgAddPkiRevocationDistributionPointResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgAddPkiRevocationDistributionPointResponse") - proto.RegisterType((*MsgUpdatePkiRevocationDistributionPoint)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgUpdatePkiRevocationDistributionPoint") - proto.RegisterType((*MsgUpdatePkiRevocationDistributionPointResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgUpdatePkiRevocationDistributionPointResponse") - proto.RegisterType((*MsgDeletePkiRevocationDistributionPoint)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgDeletePkiRevocationDistributionPoint") - proto.RegisterType((*MsgDeletePkiRevocationDistributionPointResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgDeletePkiRevocationDistributionPointResponse") - proto.RegisterType((*MsgAssignVid)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgAssignVid") - proto.RegisterType((*MsgAssignVidResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgAssignVidResponse") -} - -func init() { proto.RegisterFile("pki/tx.proto", fileDescriptor_badfdb2b39855d16) } - -var fileDescriptor_badfdb2b39855d16 = []byte{ - // 1149 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0xdf, 0x6f, 0xdb, 0x54, - 0x14, 0xae, 0xf3, 0xa3, 0x3f, 0xce, 0x4a, 0x05, 0x97, 0xd2, 0xb9, 0x6e, 0x95, 0x64, 0x5e, 0xb5, - 0x55, 0xa2, 0x4d, 0xd2, 0xae, 0x29, 0xeb, 0x44, 0x41, 0xe9, 0xa2, 0x8d, 0x6a, 0xad, 0x54, 0xdc, - 0x0e, 0x10, 0x42, 0x4c, 0x4e, 0x7c, 0x67, 0x2e, 0x75, 0x72, 0x8d, 0xaf, 0x53, 0xb5, 0xfb, 0x27, - 0x40, 0x42, 0xbc, 0x00, 0xda, 0x1b, 0x48, 0x3c, 0x83, 0x78, 0xe5, 0x95, 0xc7, 0x09, 0x21, 0xc1, - 0x53, 0x34, 0xb5, 0xff, 0x41, 0xde, 0x91, 0x90, 0xed, 0xc4, 0xae, 0x5b, 0x3b, 0x4d, 0xdc, 0xf4, - 0x81, 0xd2, 0x37, 0xfb, 0xe6, 0x7e, 0xdf, 0x39, 0xe7, 0x3b, 0x9f, 0xe3, 0x7b, 0x12, 0x18, 0xd5, - 0x77, 0x49, 0xce, 0xdc, 0xcf, 0xea, 0x06, 0x35, 0x29, 0xca, 0x3e, 0x23, 0x6a, 0x19, 0x63, 0x59, - 0xd3, 0x88, 0x5c, 0xab, 0xe0, 0xac, 0x42, 0x98, 0x69, 0x90, 0x72, 0xdd, 0xc4, 0x4a, 0x85, 0x56, - 0x75, 0x67, 0x55, 0xc3, 0x8a, 0x8a, 0x8d, 0xac, 0xbe, 0x4b, 0x84, 0xc9, 0x0a, 0x65, 0x55, 0xca, - 0x9e, 0xd8, 0xe8, 0x9c, 0x73, 0xe3, 0x50, 0x09, 0xe3, 0x2a, 0x55, 0xa9, 0xb3, 0x6e, 0x5d, 0x39, - 0xab, 0xe2, 0xb7, 0x31, 0x98, 0xdc, 0x64, 0xea, 0x96, 0x41, 0x75, 0xca, 0x70, 0x51, 0x51, 0x3e, - 0x2a, 0xe4, 0x57, 0x24, 0x4a, 0xcd, 0xfb, 0xd8, 0x30, 0xd1, 0x43, 0x18, 0x64, 0x44, 0xad, 0x61, - 0x83, 0xe7, 0x32, 0xdc, 0xec, 0xc8, 0x5a, 0xae, 0xd9, 0x48, 0xbf, 0xbe, 0x27, 0x6b, 0x44, 0x91, - 0x4d, 0x7c, 0x4f, 0x34, 0xf0, 0x17, 0x75, 0x62, 0x60, 0x45, 0xfc, 0xe3, 0x97, 0xf9, 0xf1, 0x56, - 0xb0, 0xa2, 0xa2, 0x18, 0x98, 0xb1, 0x6d, 0xd3, 0x20, 0x35, 0x55, 0x6a, 0xc1, 0xd1, 0x5d, 0x48, - 0x54, 0xb0, 0x61, 0xf2, 0x31, 0x9b, 0x66, 0xa6,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, - 0x65, 0x31, 0xa1, 0xc8, 0xc3, 0x84, 0xbf, 0x2a, 0xb7, 0xe0, 0x9f, 0x62, 0x30, 0xed, 0x99, 0x4c, - 0xc2, 0x7b, 0x74, 0x17, 0x5f, 0x39, 0x28, 0xd8, 0x41, 0xb7, 0x60, 0xa6, 0x93, 0x54, 0x27, 0x35, - 0x6d, 0x59, 0xed, 0x7f, 0xa1, 0x69, 0xb2, 0x17, 0x4d, 0x07, 0x4f, 0x69, 0x1a, 0x2a, 0x95, 0xab, - 0xe9, 0xf3, 0x18, 0xbc, 0xb6, 0xc9, 0x54, 0x6f, 0xc7, 0x95, 0x39, 0xfd, 0xe6, 0x9c, 0xb2, 0x5f, - 0x03, 0x7e, 0x7d, 0x5c, 0xf5, 0x7e, 0x88, 0x01, 0x6f, 0x7f, 0x6a, 0x05, 0xbc, 0x7a, 0x47, 0x84, - 0x8a, 0x28, 0x42, 0x26, 0x4c, 0x26, 0x57, 0xcb, 0xef, 0x92, 0x8e, 0x65, 0x15, 0x65, 0x6b, 0x97, - 0x58, 0x7a, 0x57, 0x64, 0x93, 0xd0, 0x5a, 0xa9, 0x7d, 0x34, 0x22, 0xb4, 0xb6, 0x45, 0x49, 0xad, - 0x8f, 0xba, 0xb6, 0x8e, 0x10, 0xb1, 0xde, 0x8f, 0x10, 0x28, 0x0f, 0x71, 0x9d, 0x38, 0x6a, 0x26, - 0xd7, 0x52, 0xcd, 0x46, 0x5a, 0xf0, 0x43, 0xf3, 0x1e, 0x54, 0x94, 0xac, 0xad, 0x68, 0x1c, 0x92, - 0x84, 0x6d, 0x15, 0x8b, 0xb6, 0x88, 0xc3, 0x92, 0x73, 0x83, 0xe6, 0x21, 0xa9, 0xc9, 0x65, 0xac, - 0x05, 0x3f, 0xe8, 0x5e, 0x50, 0x67, 0x17, 0x7a, 0x04, 0xe3, 0x15, 0x43, 0xdb, 0xb6, 0xd3, 0xb7, - 0xc4, 0x23, 0x4f, 0x49, 0x45, 0x36, 0x9d, 0x27,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 0x17, 0x93, 0x9b, 0xf5, 0x5f, 0x1c, 0xdc, 0x38, 0x7b, 0xe6, 0xd8, 0x89, - 0xf6, 0x20, 0x75, 0x66, 0x15, 0x3e, 0xb9, 0x08, 0x56, 0xb7, 0xb2, 0x97, 0x1c, 0xcc, 0x74, 0x75, - 0xfe, 0xfc, 0x30, 0x42, 0x1a, 0xdd, 0x10, 0x0b, 0x4f, 0x2e, 0x88, 0xd8, 0x57, 0x62, 0x57, 0xe7, - 0xa5, 0x28, 0x25, 0x76, 0x43, 0x1c, 0xa9, 0xc4, 0x5e, 0x8e, 0x2e, 0xe8, 0x4b, 0x0e, 0x46, 0xbc, - 0x73, 0xcb, 0xdb, 0x51, 0x1c, 0xd3, 0x46, 0x0b, 0xa5, 0xf3, 0xa0, 0xdb, 0x19, 0xad, 0x7d, 0xfa, - 0xfb, 0x61, 0x8a, 0x7b, 0x71, 0x98, 0xe2, 0x5e, 0x1e, 0xa6, 0xb8, 0xaf, 0x8e, 0x52, 0x03, 0x2f, - 0x8e, 0x52, 0x03, 0x7f, 0x1f, 0xa5, 0x06, 0x3e, 0x2e, 0xa9, 0xc4, 0xfc, 0xac, 0x5e, 0xce, 0x56, - 0x68, 0x35, 0xe7, 0x44, 0x9a, 0x6f, 0x87, 0xca, 0x1d, 0x0b, 0x35, 0xef, 0xc5, 0x9a, 0x77, 0x82, - 0xe5, 0xf6, 0x73, 0xf6, 0xff, 0x23, 0x07, 0x3a, 0x66, 0xe5, 0x41, 0xfb, 0x2f, 0x8c, 0x3b, 0xff, - 0x06, 0x00, 0x00, 0xff, 0xff, 0xd7, 0xa4, 0x88, 0x75, 0x33, 0x19, 0x00, 0x00, + proto.RegisterType((*MsgProposeAddX509RootCert)(nil), "pki.types.MsgProposeAddX509RootCert") + proto.RegisterType((*MsgProposeAddX509RootCertResponse)(nil), "pki.types.MsgProposeAddX509RootCertResponse") + proto.RegisterType((*MsgApproveAddX509RootCert)(nil), "pki.types.MsgApproveAddX509RootCert") + proto.RegisterType((*MsgApproveAddX509RootCertResponse)(nil), "pki.types.MsgApproveAddX509RootCertResponse") + proto.RegisterType((*MsgAddX509Cert)(nil), "pki.types.MsgAddX509Cert") + proto.RegisterType((*MsgAddX509CertResponse)(nil), "pki.types.MsgAddX509CertResponse") + proto.RegisterType((*MsgProposeRevokeX509RootCert)(nil), "pki.types.MsgProposeRevokeX509RootCert") + proto.RegisterType((*MsgProposeRevokeX509RootCertResponse)(nil), "pki.types.MsgProposeRevokeX509RootCertResponse") + proto.RegisterType((*MsgApproveRevokeX509RootCert)(nil), "pki.types.MsgApproveRevokeX509RootCert") + proto.RegisterType((*MsgApproveRevokeX509RootCertResponse)(nil), "pki.types.MsgApproveRevokeX509RootCertResponse") + proto.RegisterType((*MsgRevokeX509Cert)(nil), "pki.types.MsgRevokeX509Cert") + proto.RegisterType((*MsgRevokeX509CertResponse)(nil), "pki.types.MsgRevokeX509CertResponse") + proto.RegisterType((*MsgRejectAddX509RootCert)(nil), "pki.types.MsgRejectAddX509RootCert") + proto.RegisterType((*MsgRejectAddX509RootCertResponse)(nil), "pki.types.MsgRejectAddX509RootCertResponse") + proto.RegisterType((*MsgAddPkiRevocationDistributionPoint)(nil), "pki.types.MsgAddPkiRevocationDistributionPoint") + proto.RegisterType((*MsgAddPkiRevocationDistributionPointResponse)(nil), "pki.types.MsgAddPkiRevocationDistributionPointResponse") + proto.RegisterType((*MsgUpdatePkiRevocationDistributionPoint)(nil), "pki.types.MsgUpdatePkiRevocationDistributionPoint") + proto.RegisterType((*MsgUpdatePkiRevocationDistributionPointResponse)(nil), "pki.types.MsgUpdatePkiRevocationDistributionPointResponse") + proto.RegisterType((*MsgDeletePkiRevocationDistributionPoint)(nil), "pki.types.MsgDeletePkiRevocationDistributionPoint") + proto.RegisterType((*MsgDeletePkiRevocationDistributionPointResponse)(nil), "pki.types.MsgDeletePkiRevocationDistributionPointResponse") + proto.RegisterType((*MsgAssignVid)(nil), "pki.types.MsgAssignVid") + proto.RegisterType((*MsgAssignVidResponse)(nil), "pki.types.MsgAssignVidResponse") +} + +func init() { proto.RegisterFile("pki/types/tx.proto", fileDescriptor_b08eeccb97bc31ec) } + +var fileDescriptor_b08eeccb97bc31ec = []byte{ + // 1118 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x58, 0x4f, 0x6f, 0xe3, 0x44, + 0x14, 0xaf, 0xf3, 0xa7, 0x6d, 0xde, 0x96, 0x4a, 0x0c, 0xa5, 0x75, 0xdd, 0x2a, 0x4e, 0xdd, 0x6a, + 0x5b, 0x69, 0xdb, 0x38, 0xed, 0x36, 0xd9, 0x6d, 0xa5, 0x0a, 0xa5, 0x1b, 0x58, 0xa1, 0x52, 0xa9, + 0x72, 0x77, 0x11, 0xe2, 0x00, 0x72, 0xe2, 0x59, 0x33, 0xd4, 0x89, 0x8d, 0xc7, 0xa9, 0xda, 0xfd, + 0x0e, 0x48, 0x48, 0x48, 0x1c, 0x40, 0xe2, 0x06, 0x12, 0x77, 0x3e, 0x04, 0xc7, 0x15, 0xe2, 0xc0, + 0x29, 0x42, 0xad, 0xc4, 0x07, 0xc8, 0x1d, 0x09, 0xd9, 0x4e, 0xec, 0xd8, 0xb5, 0x13, 0x07, 0xc1, + 0x81, 0x6e, 0x6f, 0xe3, 0x79, 0xef, 0xf7, 0xde, 0xcc, 0xef, 0xfd, 0xec, 0x99, 0x67, 0x40, 0xc6, + 0x19, 0x11, 0xad, 0x4b, 0x03, 0x53, 0xd1, 0xba, 0x28, 0x1a, 0xa6, 0x6e, 0xe9, 0x28, 0x67, 0x9c, + 0x91, 0xa2, 0x33, 0xc7, 0x2d, 0x36, 0x74, 0xda, 0xd4, 0xe9, 0xa7, 0x8e, 0x41, 0x74, 0x1f, 0x5c, + 0x2f, 0x6e, 0x4e, 0xd5, 0x55, 0xdd, 0x9d, 0xb7, 0x47, 0xee, 0xac, 0xf0, 0x6d, 0x0a, 0x16, 0x8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d6, 0x31, 0xde, 0x92, 0x35, + 0x8d, 0xc8, 0xad, 0x06, 0x16, 0x95, 0xfe, 0xb2, 0xb0, 0xb2, 0xd5, 0xd0, 0x9b, 0x86, 0x3b, 0xbd, + 0xa5, 0x61, 0x45, 0xc5, 0xa6, 0x78, 0x21, 0x7a, 0xbf, 0x72, 0xeb, 0x93, 0xce, 0xcf, 0xd8, 0x87, + 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0x00, 0x94, 0x47, 0x67, 0xde, 0x15, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1479,7 +1477,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { func (c *msgClient) ProposeAddX509RootCert(ctx context.Context, in *MsgProposeAddX509RootCert, opts ...grpc.CallOption) (*MsgProposeAddX509RootCertResponse, error) { out := new(MsgProposeAddX509RootCertResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Msg/ProposeAddX509RootCert", in, out, opts...) + err := c.cc.Invoke(ctx, "/pki.types.Msg/ProposeAddX509RootCert", in, out, opts...) if err != nil { return nil, err } @@ -1488,7 +1486,7 @@ func (c *msgClient) ProposeAddX509RootCert(ctx context.Context, in *MsgProposeAd func (c *msgClient) ApproveAddX509RootCert(ctx context.Context, in *MsgApproveAddX509RootCert, opts ...grpc.CallOption) (*MsgApproveAddX509RootCertResponse, error) { out := new(MsgApproveAddX509RootCertResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Msg/ApproveAddX509RootCert", in, out, opts...) + err := c.cc.Invoke(ctx, "/pki.types.Msg/ApproveAddX509RootCert", in, out, opts...) if err != nil { return nil, err } @@ -1497,7 +1495,7 @@ func (c *msgClient) ApproveAddX509RootCert(ctx context.Context, in *MsgApproveAd func (c *msgClient) AddX509Cert(ctx context.Context, in *MsgAddX509Cert, opts ...grpc.CallOption) (*MsgAddX509CertResponse, error) { out := new(MsgAddX509CertResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Msg/AddX509Cert", in, out, opts...) + err := c.cc.Invoke(ctx, "/pki.types.Msg/AddX509Cert", in, out, opts...) if err != nil { return nil, err } @@ -1506,7 +1504,7 @@ func (c *msgClient) AddX509Cert(ctx context.Context, in *MsgAddX509Cert, opts .. func (c *msgClient) ProposeRevokeX509RootCert(ctx context.Context, in *MsgProposeRevokeX509RootCert, opts ...grpc.CallOption) (*MsgProposeRevokeX509RootCertResponse, error) { out := new(MsgProposeRevokeX509RootCertResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Msg/ProposeRevokeX509RootCert", in, out, opts...) + err := c.cc.Invoke(ctx, "/pki.types.Msg/ProposeRevokeX509RootCert", in, out, opts...) if err != nil { return nil, err } @@ -1515,7 +1513,7 @@ func (c *msgClient) ProposeRevokeX509RootCert(ctx context.Context, in *MsgPropos func (c *msgClient) ApproveRevokeX509RootCert(ctx context.Context, in *MsgApproveRevokeX509RootCert, opts ...grpc.CallOption) (*MsgApproveRevokeX509RootCertResponse, error) { out := new(MsgApproveRevokeX509RootCertResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Msg/ApproveRevokeX509RootCert", in, out, opts...) + err := c.cc.Invoke(ctx, "/pki.types.Msg/ApproveRevokeX509RootCert", in, out, opts...) if err != nil { return nil, err } @@ -1524,7 +1522,7 @@ func (c *msgClient) ApproveRevokeX509RootCert(ctx context.Context, in *MsgApprov func (c *msgClient) RevokeX509Cert(ctx context.Context, in *MsgRevokeX509Cert, opts ...grpc.CallOption) (*MsgRevokeX509CertResponse, error) { out := new(MsgRevokeX509CertResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Msg/RevokeX509Cert", in, out, opts...) + err := c.cc.Invoke(ctx, "/pki.types.Msg/RevokeX509Cert", in, out, opts...) if err != nil { return nil, err } @@ -1533,7 +1531,7 @@ func (c *msgClient) RevokeX509Cert(ctx context.Context, in *MsgRevokeX509Cert, o func (c *msgClient) RejectAddX509RootCert(ctx context.Context, in *MsgRejectAddX509RootCert, opts ...grpc.CallOption) (*MsgRejectAddX509RootCertResponse, error) { out := new(MsgRejectAddX509RootCertResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Msg/RejectAddX509RootCert", in, out, opts...) + err := c.cc.Invoke(ctx, "/pki.types.Msg/RejectAddX509RootCert", in, out, opts...) if err != nil { return nil, err } @@ -1542,7 +1540,7 @@ func (c *msgClient) RejectAddX509RootCert(ctx context.Context, in *MsgRejectAddX func (c *msgClient) AddPkiRevocationDistributionPoint(ctx context.Context, in *MsgAddPkiRevocationDistributionPoint, opts ...grpc.CallOption) (*MsgAddPkiRevocationDistributionPointResponse, error) { out := new(MsgAddPkiRevocationDistributionPointResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Msg/AddPkiRevocationDistributionPoint", in, out, opts...) + err := c.cc.Invoke(ctx, "/pki.types.Msg/AddPkiRevocationDistributionPoint", in, out, opts...) if err != nil { return nil, err } @@ -1551,7 +1549,7 @@ func (c *msgClient) AddPkiRevocationDistributionPoint(ctx context.Context, in *M func (c *msgClient) UpdatePkiRevocationDistributionPoint(ctx context.Context, in *MsgUpdatePkiRevocationDistributionPoint, opts ...grpc.CallOption) (*MsgUpdatePkiRevocationDistributionPointResponse, error) { out := new(MsgUpdatePkiRevocationDistributionPointResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Msg/UpdatePkiRevocationDistributionPoint", in, out, opts...) + err := c.cc.Invoke(ctx, "/pki.types.Msg/UpdatePkiRevocationDistributionPoint", in, out, opts...) if err != nil { return nil, err } @@ -1560,7 +1558,7 @@ func (c *msgClient) UpdatePkiRevocationDistributionPoint(ctx context.Context, in func (c *msgClient) DeletePkiRevocationDistributionPoint(ctx context.Context, in *MsgDeletePkiRevocationDistributionPoint, opts ...grpc.CallOption) (*MsgDeletePkiRevocationDistributionPointResponse, error) { out := new(MsgDeletePkiRevocationDistributionPointResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Msg/DeletePkiRevocationDistributionPoint", in, out, opts...) + err := c.cc.Invoke(ctx, "/pki.types.Msg/DeletePkiRevocationDistributionPoint", in, out, opts...) if err != nil { return nil, err } @@ -1569,7 +1567,7 @@ func (c *msgClient) DeletePkiRevocationDistributionPoint(ctx context.Context, in func (c *msgClient) AssignVid(ctx context.Context, in *MsgAssignVid, opts ...grpc.CallOption) (*MsgAssignVidResponse, error) { out := new(MsgAssignVidResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Msg/AssignVid", in, out, opts...) + err := c.cc.Invoke(ctx, "/pki.types.Msg/AssignVid", in, out, opts...) if err != nil { return nil, err } @@ -1643,7 +1641,7 @@ func _Msg_ProposeAddX509RootCert_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Msg/ProposeAddX509RootCert", + FullMethod: "/pki.types.Msg/ProposeAddX509RootCert", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ProposeAddX509RootCert(ctx, req.(*MsgProposeAddX509RootCert)) @@ -1661,7 +1659,7 @@ func _Msg_ApproveAddX509RootCert_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Msg/ApproveAddX509RootCert", + FullMethod: "/pki.types.Msg/ApproveAddX509RootCert", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ApproveAddX509RootCert(ctx, req.(*MsgApproveAddX509RootCert)) @@ -1679,7 +1677,7 @@ func _Msg_AddX509Cert_Handler(srv interface{}, ctx context.Context, dec func(int } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Msg/AddX509Cert", + FullMethod: "/pki.types.Msg/AddX509Cert", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).AddX509Cert(ctx, req.(*MsgAddX509Cert)) @@ -1697,7 +1695,7 @@ func _Msg_ProposeRevokeX509RootCert_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Msg/ProposeRevokeX509RootCert", + FullMethod: "/pki.types.Msg/ProposeRevokeX509RootCert", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ProposeRevokeX509RootCert(ctx, req.(*MsgProposeRevokeX509RootCert)) @@ -1715,7 +1713,7 @@ func _Msg_ApproveRevokeX509RootCert_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Msg/ApproveRevokeX509RootCert", + FullMethod: "/pki.types.Msg/ApproveRevokeX509RootCert", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ApproveRevokeX509RootCert(ctx, req.(*MsgApproveRevokeX509RootCert)) @@ -1733,7 +1731,7 @@ func _Msg_RevokeX509Cert_Handler(srv interface{}, ctx context.Context, dec func( } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Msg/RevokeX509Cert", + FullMethod: "/pki.types.Msg/RevokeX509Cert", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).RevokeX509Cert(ctx, req.(*MsgRevokeX509Cert)) @@ -1751,7 +1749,7 @@ func _Msg_RejectAddX509RootCert_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Msg/RejectAddX509RootCert", + FullMethod: "/pki.types.Msg/RejectAddX509RootCert", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).RejectAddX509RootCert(ctx, req.(*MsgRejectAddX509RootCert)) @@ -1769,7 +1767,7 @@ func _Msg_AddPkiRevocationDistributionPoint_Handler(srv interface{}, ctx context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Msg/AddPkiRevocationDistributionPoint", + FullMethod: "/pki.types.Msg/AddPkiRevocationDistributionPoint", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).AddPkiRevocationDistributionPoint(ctx, req.(*MsgAddPkiRevocationDistributionPoint)) @@ -1787,7 +1785,7 @@ func _Msg_UpdatePkiRevocationDistributionPoint_Handler(srv interface{}, ctx cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Msg/UpdatePkiRevocationDistributionPoint", + FullMethod: "/pki.types.Msg/UpdatePkiRevocationDistributionPoint", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).UpdatePkiRevocationDistributionPoint(ctx, req.(*MsgUpdatePkiRevocationDistributionPoint)) @@ -1805,7 +1803,7 @@ func _Msg_DeletePkiRevocationDistributionPoint_Handler(srv interface{}, ctx cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Msg/DeletePkiRevocationDistributionPoint", + FullMethod: "/pki.types.Msg/DeletePkiRevocationDistributionPoint", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).DeletePkiRevocationDistributionPoint(ctx, req.(*MsgDeletePkiRevocationDistributionPoint)) @@ -1823,7 +1821,7 @@ func _Msg_AssignVid_Handler(srv interface{}, ctx context.Context, dec func(inter } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Msg/AssignVid", + FullMethod: "/pki.types.Msg/AssignVid", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).AssignVid(ctx, req.(*MsgAssignVid)) @@ -1832,7 +1830,7 @@ func _Msg_AssignVid_Handler(srv interface{}, ctx context.Context, dec func(inter } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "zigbeealliance.distributedcomplianceledger.pki.Msg", + ServiceName: "pki.types.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -1881,7 +1879,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "pki/tx.proto", + Metadata: "pki/types/tx.proto", } func (m *MsgProposeAddX509RootCert) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/unique_certificate.pb.go b/x/pki/types/unique_certificate.pb.go index c3f5b2c52..d602df981 100644 --- a/x/pki/types/unique_certificate.pb.go +++ b/x/pki/types/unique_certificate.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/unique_certificate.proto +// source: pki/types/unique_certificate.proto package types @@ -32,7 +32,7 @@ func (m *UniqueCertificate) Reset() { *m = UniqueCertificate{} } func (m *UniqueCertificate) String() string { return proto.CompactTextString(m) } func (*UniqueCertificate) ProtoMessage() {} func (*UniqueCertificate) Descriptor() ([]byte, []int) { - return fileDescriptor_13bd02dd73fed7e6, []int{0} + return fileDescriptor_e8d0a359373833f4, []int{0} } func (m *UniqueCertificate) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -83,28 +83,30 @@ func (m *UniqueCertificate) GetPresent() bool { } func init() { - proto.RegisterType((*UniqueCertificate)(nil), "zigbeealliance.distributedcomplianceledger.pki.UniqueCertificate") + proto.RegisterType((*UniqueCertificate)(nil), "pki.types.UniqueCertificate") } -func init() { proto.RegisterFile("pki/unique_certificate.proto", fileDescriptor_13bd02dd73fed7e6) } +func init() { + proto.RegisterFile("pki/types/unique_certificate.proto", fileDescriptor_e8d0a359373833f4) +} -var fileDescriptor_13bd02dd73fed7e6 = []byte{ - // 239 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0xbf, 0x4e, 0xc3, 0x30, - 0x10, 0xc6, 0x63, 0x90, 0x0a, 0x58, 0x2c, 0x64, 0x40, 0x19, 0x90, 0x55, 0x75, 0xea, 0x12, 0x7b, - 0xe0, 0x0d, 0x80, 0x99, 0xa1, 0x12, 0x0b, 0x03, 0x28, 0x76, 0x8e, 0x70, 0x6a, 0xfe, 0x98, 0xf3, - 0x59, 0x02, 0x9e, 0x82, 0xc7, 0x62, 0xec, 0xc8, 0x88, 0x92, 0x17, 0x41, 0x24, 0x54, 0xa5, 0xe3, - 0xf7, 0x9d, 0xf4, 0xe9, 0x7e, 0x3f, 0x79, 0xe1, 0xd7, 0x68, 0x62, 0x8b, 0x2f, 0x11, 0x1e, 0x1d, - 0x10, 0xe3, 0x13, 0xba, 0x82, 0x41, 0x7b, 0xea, 0xb8, 0x4b, 0xf5, 0x3b, 0x56, 0x16, 0xa0, 0xa8, - 0x6b, 0x2c, 0x5a, 0x07, 0xba, 0xc4, 0xc0, 0x84, 0x36, 0x32, 0x94, 0xae, 0x6b, 0xfc, 0xd4, 0xd6, - 0x50, 0x56, 0x40, 0xda, 0xaf, 0x71, 0x81, 0xf2, 0xec, 0x6e, 0xdc, 0xba, 0xde, 0x4d, 0xa5, 0xe7, - 0x72, 0x86, 0x21, 0x44, 0xa0, 0x4c, 0xcc, 0xc5, 0xf2, 0x64, 0xf5, 0x97, 0xd2, 0x85, 0x3c, 0x0d, - 0x40, 0x58, 0xd4, 0xb7, 0xb1, 0xb1, 0x40, 0xd9, 0xc1, 0x78, 0xdd, 0xeb, 0xd2, 0x4c, 0x1e, 0x79, - 0x82, 0x00, 0x2d, 0x67, 0x87, 0x73, 0xb1, 0x3c, 0x5e, 0x6d, 0xe3, 0xd5, 0xc3, 0x67, 0xaf, 0xc4, - 0xa6, 0x57, 0xe2, 0xbb, 0x57, 0xe2, 0x63, 0x50, 0xc9, 0x66, 0x50, 0xc9, 0xd7, 0xa0, 0x92, 0xfb, - 0x9b, 0x0a, 0xf9, 0x39, 0x5a, 0xed, 0xba, 0xc6, 0x4c, 0xff, 0xe7, 0x5b, 0x00, 0xf3, 0x0f, 0x20, - 0xdf, 0x11, 0xe4, 0x13, 0x82, 0x79, 0x35, 0xbf, 0x36, 0xf8, 0xcd, 0x43, 0xb0, 0xb3, 0xd1, 0xc0, - 0xe5, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x97, 0x5d, 0xbe, 0x96, 0x21, 0x01, 0x00, 0x00, +var fileDescriptor_e8d0a359373833f4 = []byte{ + // 227 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8f, 0xbd, 0x4e, 0xc3, 0x30, + 0x14, 0x46, 0x63, 0x90, 0x0a, 0xb5, 0x58, 0xc8, 0x80, 0x32, 0x59, 0x55, 0xa6, 0x2e, 0x89, 0x07, + 0xde, 0x00, 0x98, 0x19, 0x2a, 0xb1, 0x30, 0x80, 0x62, 0xe7, 0x12, 0xae, 0x9a, 0xc4, 0xe6, 0xfa, + 0x5a, 0x02, 0x9e, 0x82, 0xc7, 0x62, 0xec, 0xc8, 0x88, 0x92, 0x17, 0x41, 0x32, 0x7f, 0xea, 0xf8, + 0x9d, 0xef, 0x2c, 0x47, 0x96, 0x7e, 0x8b, 0x9a, 0x5f, 0x3c, 0x04, 0x1d, 0x47, 0x7c, 0x8a, 0x70, + 0x6f, 0x81, 0x18, 0x1f, 0xd0, 0x36, 0x0c, 0xb5, 0x27, 0xc7, 0x2e, 0x5f, 0xfa, 0x2d, 0xd6, 0xc9, + 0x29, 0x51, 0x9e, 0xde, 0x24, 0xed, 0xf2, 0xdf, 0xca, 0xcf, 0xe4, 0x02, 0x43, 0x88, 0x40, 0x85, + 0x58, 0x89, 0xf5, 0x72, 0xf3, 0xb3, 0xf2, 0x52, 0x9e, 0x04, 0x20, 0x6c, 0xfa, 0xeb, 0x38, 0x18, + 0xa0, 0xe2, 0x20, 0xbd, 0x7b, 0x2c, 0x2f, 0xe4, 0x91, 0x27, 0x08, 0x30, 0x72, 0x71, 0xb8, 0x12, + 0xeb, 0xe3, 0xcd, 0xef, 0xbc, 0xb8, 0x7b, 0x9f, 0x94, 0xd8, 0x4d, 0x4a, 0x7c, 0x4e, 0x4a, 0xbc, + 0xcd, 0x2a, 0xdb, 0xcd, 0x2a, 0xfb, 0x98, 0x55, 0x76, 0x7b, 0xd5, 0x21, 0x3f, 0x46, 0x53, 0x5b, + 0x37, 0xe8, 0x57, 0xec, 0x0c, 0x40, 0xd5, 0xf4, 0x3d, 0x36, 0xa3, 0x05, 0xdd, 0x62, 0x60, 0x42, + 0x13, 0x19, 0xda, 0xca, 0xba, 0xc1, 0x7f, 0xe3, 0xaa, 0x87, 0xb6, 0x03, 0xd2, 0xcf, 0xfa, 0x2f, + 0xd7, 0x2c, 0x52, 0xdc, 0xf9, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 0xfd, 0x58, 0x12, 0xd8, 0x02, + 0x01, 0x00, 0x00, } func (m *UniqueCertificate) Marshal() (dAtA []byte, err error) { diff --git a/x/validator/keeper/rejected_node.go b/x/validator/keeper/rejected_node.go index 825e8b938..5ee8bbc6f 100644 --- a/x/validator/keeper/rejected_node.go +++ b/x/validator/keeper/rejected_node.go @@ -10,8 +10,12 @@ import ( func (k Keeper) SetRejectedNode(ctx sdk.Context, rejectedDisableValidator types.RejectedDisableValidator) { store := prefix.NewStore(ctx.KVStore(k.storeKey), types.KeyPrefix(types.RejectedNodeKeyPrefix)) b := k.cdc.MustMarshal(&rejectedDisableValidator) + address, err := sdk.ValAddressFromBech32(rejectedDisableValidator.GetAddress()) + if err != nil { + return + } store.Set(types.RejectedNodeKey( - rejectedDisableValidator.GetAddress(), + address, ), b) } diff --git a/x/validator/types/description.pb.go b/x/validator/types/description.pb.go index 575ac1ebe..991686100 100644 --- a/x/validator/types/description.pb.go +++ b/x/validator/types/description.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: validator/description.proto +// source: validator/types/description.proto package types @@ -37,7 +37,7 @@ type Description struct { func (m *Description) Reset() { *m = Description{} } func (*Description) ProtoMessage() {} func (*Description) Descriptor() ([]byte, []int) { - return fileDescriptor_39ba45542c55bc8c, []int{0} + return fileDescriptor_b1779b7fa53dde10, []int{0} } func (m *Description) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -95,30 +95,29 @@ func (m *Description) GetDetails() string { } func init() { - proto.RegisterType((*Description)(nil), "zigbeealliance.distributedcomplianceledger.validator.Description") + proto.RegisterType((*Description)(nil), "validator.types.Description") } -func init() { proto.RegisterFile("validator/description.proto", fileDescriptor_39ba45542c55bc8c) } +func init() { proto.RegisterFile("validator/types/description.proto", fileDescriptor_b1779b7fa53dde10) } -var fileDescriptor_39ba45542c55bc8c = []byte{ - // 261 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x90, 0xb1, 0x4e, 0xc3, 0x30, - 0x14, 0x45, 0x63, 0x40, 0x50, 0xc2, 0x16, 0x31, 0x44, 0x45, 0x72, 0x11, 0x13, 0x4b, 0xe2, 0x01, - 0x26, 0x46, 0xc4, 0xc4, 0xc8, 0xc8, 0x16, 0xc7, 0x4f, 0xe6, 0x09, 0x27, 0x8e, 0xec, 0x57, 0xa0, - 0x6c, 0xfc, 0x01, 0x23, 0x63, 0x3f, 0x87, 0xb1, 0x23, 0x23, 0x4a, 0x16, 0x3e, 0x03, 0x25, 0x6e, - 0x9b, 0x6e, 0x3e, 0xbe, 0xba, 0xd7, 0x3a, 0x8e, 0xcf, 0x5e, 0x0a, 0x83, 0xaa, 0x20, 0xeb, 0x84, - 0x02, 0x5f, 0x3a, 0x6c, 0x08, 0x6d, 0x9d, 0x37, 0xce, 0x92, 0x4d, 0xae, 0xdf, 0x51, 0x4b, 0x80, - 0xc2, 0x18, 0x2c, 0xea, 0x12, 0x72, 0x85, 0x9e, 0x1c, 0xca, 0x39, 0x81, 0x2a, 0x6d, 0xd5, 0x84, - 0x5b, 0x03, 0x4a, 0x83, 0xcb, 0xb7, 0x3b, 0xd3, 0x53, 0x6d, 0xb5, 0x1d, 0x06, 0x44, 0x7f, 0x0a, - 0x5b, 0x17, 0x1f, 0x2c, 0x3e, 0xb9, 0x1b, 0x5f, 0x48, 0xd2, 0xf8, 0xa8, 0xb2, 0x35, 0x3e, 0x83, - 0x4b, 0xd9, 0x39, 0xbb, 0x3c, 0x7e, 0xd8, 0x60, 0x32, 0x8d, 0x27, 0xa8, 0xa0, 0x26, 0xa4, 0x45, - 0xba, 0x37, 0x44, 0x5b, 0xee, 0x5b, 0xaf, 0x20, 0x3d, 0x12, 0xa4, 0xfb, 0xa1, 0xb5, 0xc6, 0x3e, - 0x51, 0x40, 0x05, 0x1a, 0x9f, 0x1e, 0x84, 0x64, 0x8d, 0x37, 0x93, 0xaf, 0xe5, 0x2c, 0xfa, 0x5b, - 0xce, 0xd8, 0xad, 0xfa, 0x6e, 0x39, 0x5b, 0xb5, 0x9c, 0xfd, 0xb6, 0x9c, 0x7d, 0x76, 0x3c, 0x5a, - 0x75, 0x3c, 0xfa, 0xe9, 0x78, 0xf4, 0x78, 0xaf, 0x91, 0x9e, 0xe6, 0x32, 0x2f, 0x6d, 0x25, 0x82, - 0x74, 0xb6, 0xb1, 0x16, 0x3b, 0xd6, 0xd9, 0xa8, 0x9d, 0x05, 0x6f, 0xf1, 0x26, 0xc6, 0x1f, 0xa4, - 0x45, 0x03, 0x5e, 0x1e, 0x0e, 0xc2, 0x57, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0x3a, 0x9e, 0xc4, - 0xa1, 0x5b, 0x01, 0x00, 0x00, +var fileDescriptor_b1779b7fa53dde10 = []byte{ + // 253 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x90, 0xb1, 0x4e, 0xc3, 0x30, + 0x10, 0x86, 0x63, 0x40, 0x50, 0xc2, 0x80, 0x14, 0x31, 0x58, 0x1d, 0x5c, 0x60, 0x62, 0x49, 0x3c, + 0xb0, 0x31, 0x22, 0x26, 0x46, 0x46, 0x36, 0x3b, 0x3e, 0x99, 0x13, 0x4e, 0x1c, 0xd9, 0x57, 0xa0, + 0x6c, 0xbc, 0x01, 0x23, 0x63, 0x1f, 0x87, 0xb1, 0x23, 0x23, 0x4a, 0x16, 0x1e, 0x03, 0x25, 0x29, + 0x45, 0xea, 0x76, 0xdf, 0x7d, 0xff, 0x3f, 0xdc, 0xa5, 0x67, 0x4f, 0xca, 0xa1, 0x51, 0xe4, 0x83, + 0xa4, 0x45, 0x03, 0x51, 0x1a, 0x88, 0x65, 0xc0, 0x86, 0xd0, 0xd7, 0x45, 0x13, 0x3c, 0xf9, 0xec, + 0x78, 0x13, 0x29, 0x86, 0xc8, 0xf4, 0xc4, 0x7a, 0xeb, 0x07, 0x27, 0xfb, 0x69, 0x8c, 0x9d, 0xbf, + 0xb1, 0xf4, 0xe8, 0xe6, 0xbf, 0x9c, 0xf1, 0xf4, 0xa0, 0xf2, 0x35, 0x3e, 0x42, 0xe0, 0xec, 0x94, + 0x5d, 0x1c, 0xde, 0xfd, 0x61, 0x36, 0x4d, 0x27, 0x68, 0xa0, 0x26, 0xa4, 0x05, 0xdf, 0x19, 0xd4, + 0x86, 0xfb, 0xd6, 0x33, 0xe8, 0x88, 0x04, 0x7c, 0x77, 0x6c, 0xad, 0xb1, 0x37, 0x06, 0x48, 0xa1, + 0x8b, 0x7c, 0x6f, 0x34, 0x6b, 0xbc, 0x9a, 0x7c, 0x2c, 0x67, 0xc9, 0xcf, 0x72, 0xc6, 0xae, 0xcd, + 0x67, 0x2b, 0xd8, 0xaa, 0x15, 0xec, 0xbb, 0x15, 0xec, 0xbd, 0x13, 0xc9, 0xaa, 0x13, 0xc9, 0x57, + 0x27, 0x92, 0xfb, 0x5b, 0x8b, 0xf4, 0x30, 0xd7, 0x45, 0xe9, 0x2b, 0xf9, 0x8a, 0x56, 0x03, 0xe4, + 0xca, 0x39, 0x54, 0x75, 0x09, 0xd2, 0x60, 0xa4, 0x80, 0x7a, 0x4e, 0x60, 0xf2, 0xd2, 0x57, 0xcd, + 0xb8, 0xce, 0x1d, 0x18, 0x0b, 0x41, 0xbe, 0xc8, 0xad, 0x17, 0xe9, 0xfd, 0xe1, 0xe0, 0xcb, 0xdf, + 0x00, 0x00, 0x00, 0xff, 0xff, 0x15, 0xfb, 0xe0, 0xe8, 0x3c, 0x01, 0x00, 0x00, } func (this *Description) Equal(that interface{}) bool { diff --git a/x/validator/types/disabled_validator.pb.go b/x/validator/types/disabled_validator.pb.go index db458854f..cd7427de6 100644 --- a/x/validator/types/disabled_validator.pb.go +++ b/x/validator/types/disabled_validator.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: validator/disabled_validator.proto +// source: validator/types/disabled_validator.proto package types @@ -35,7 +35,7 @@ func (m *DisabledValidator) Reset() { *m = DisabledValidator{} } func (m *DisabledValidator) String() string { return proto.CompactTextString(m) } func (*DisabledValidator) ProtoMessage() {} func (*DisabledValidator) Descriptor() ([]byte, []int) { - return fileDescriptor_7d5907d654e5cf90, []int{0} + return fileDescriptor_ec54050e6a8ccf12, []int{0} } func (m *DisabledValidator) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -100,36 +100,35 @@ func (m *DisabledValidator) GetRejects() []*Grant { } func init() { - proto.RegisterType((*DisabledValidator)(nil), "zigbeealliance.distributedcomplianceledger.validator.DisabledValidator") + proto.RegisterType((*DisabledValidator)(nil), "validator.types.DisabledValidator") } func init() { - proto.RegisterFile("validator/disabled_validator.proto", fileDescriptor_7d5907d654e5cf90) + proto.RegisterFile("validator/types/disabled_validator.proto", fileDescriptor_ec54050e6a8ccf12) } -var fileDescriptor_7d5907d654e5cf90 = []byte{ - // 329 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x91, 0xb1, 0x4e, 0xc3, 0x30, - 0x10, 0x86, 0x9b, 0x16, 0x28, 0x0d, 0x13, 0x01, 0xa4, 0xd0, 0xc1, 0xaa, 0x3a, 0x75, 0x89, 0x8d, - 0x0a, 0x1b, 0x53, 0x2b, 0x24, 0x24, 0x06, 0x86, 0x22, 0x90, 0x60, 0xa9, 0x1c, 0xfb, 0x14, 0x8c, - 0x9c, 0x38, 0xb2, 0xdd, 0x8a, 0xf2, 0x14, 0x3c, 0x0c, 0x0f, 0xc1, 0x58, 0x31, 0xb1, 0x81, 0xda, - 0x17, 0x41, 0xad, 0x9b, 0x86, 0x01, 0x09, 0x09, 0x46, 0xdf, 0xfd, 0xff, 0xff, 0xdd, 0xf9, 0xfc, - 0xf6, 0x98, 0x4a, 0xc1, 0xa9, 0x55, 0x9a, 0x70, 0x61, 0x68, 0x2c, 0x81, 0x0f, 0xd7, 0x25, 0x9c, - 0x6b, 0x65, 0x55, 0x70, 0xf2, 0x24, 0x92, 0x18, 0x80, 0x4a, 0x29, 0x68, 0xc6, 0x00, 0x73, 0x61, - 0xac, 0x16, 0xf1, 0xc8, 0x02, 0x67, 0x2a, 0xcd, 0x5d, 0x55, 0x02, 0x4f, 0x40, 0xe3, 0xb5, 0xb7, - 0x79, 0xc8, 0x94, 0x49, 0x95, 0x19, 0x2e, 0x33, 0x88, 0x7b, 0xb8, 0xc0, 0xe6, 0x41, 0x09, 0x4d, - 0x34, 0xcd, 0xac, 0x2b, 0xb7, 0x3f, 0xaa, 0xfe, 0xee, 0xd9, 0x6a, 0x88, 0x9b, 0x42, 0x11, 0x74, - 0xfd, 0x3a, 0xe5, 0x5c, 0x83, 0x31, 0xa1, 0xd7, 0xf2, 0x3a, 0x8d, 0x7e, 0xf8, 0xf6, 0x12, 0xed, - 0xaf, 0xf2, 0x7a, 0xae, 0x73, 0x65, 0xb5, 0xc8, 0x92, 0x41, 0x21, 0x5c, 0x78, 0x98, 0x86, 0x85, - 0x3d, 0xac, 0xfe, 0xe6, 0x59, 0x09, 0x83, 0x5b, 0xbf, 0x41, 0xf3, 0x5c, 0xab, 0x31, 0x95, 0x26, - 0xac, 0xb5, 0x6a, 0x9d, 0x9d, 0xee, 0x29, 0xfe, 0xcb, 0xe6, 0xf8, 0x7c, 0xb1, 0xd3, 0xa0, 0x4c, - 0x0b, 0x8e, 0xfc, 0xbd, 0xe2, 0x73, 0xfb, 0x93, 0x4b, 0xc5, 0xa1, 0xc7, 0x53, 0x91, 0x85, 0x1b, - 0x2d, 0xaf, 0xb3, 0x3d, 0xf8, 0xa9, 0x15, 0x5c, 0xfb, 0x75, 0x0d, 0x0f, 0xc0, 0xac, 0x09, 0x37, - 0xff, 0x3f, 0x4a, 0x91, 0xd5, 0xe7, 0xaf, 0x33, 0xe4, 0x4d, 0x67, 0xc8, 0xfb, 0x9c, 0x21, 0xef, - 0x79, 0x8e, 0x2a, 0xd3, 0x39, 0xaa, 0xbc, 0xcf, 0x51, 0xe5, 0xee, 0x22, 0x11, 0xf6, 0x7e, 0x14, - 0x63, 0xa6, 0x52, 0xe2, 0x48, 0x51, 0x81, 0x22, 0xdf, 0x50, 0x51, 0xc9, 0x8a, 0x1c, 0x8c, 0x3c, - 0x92, 0xf2, 0x9a, 0x76, 0x92, 0x83, 0x89, 0xb7, 0x96, 0xe7, 0x3c, 0xfe, 0x0a, 0x00, 0x00, 0xff, - 0xff, 0xa5, 0x68, 0xf8, 0x13, 0x5c, 0x02, 0x00, 0x00, +var fileDescriptor_ec54050e6a8ccf12 = []byte{ + // 318 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xc1, 0x4a, 0xc3, 0x30, + 0x18, 0xc7, 0xd7, 0x4d, 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0xf4, 0xbb, 0xe8, 0xb0, 0xfa, 0x98, + 0xc1, 0xf4, 0x46, 0x0b, 0xe8, 0x8b, 0x54, 0x66, 0x78, 0xab, 0xe3, 0x05, 0xbb, 0xc3, 0xdf, 0x90, + 0xdf, 0x45, 0x4d, 0x03, 0x8f, 0xc0, 0x9d, 0xc5, 0xdb, 0x7f, 0x6e, 0xa9, 0xb4, 0x81, 0x78, 0x9f, + 0x13, 0x6f, 0x36, 0x27, 0xde, 0xd7, 0x9c, 0x78, 0x2f, 0x0b, 0x52, 0x9b, 0x2d, 0x48, 0xed, 0x73, + 0x41, 0x6a, 0xf7, 0xd7, 0x89, 0x74, 0x0f, 0xe3, 0x38, 0xe2, 0x3a, 0xa5, 0xcf, 0x32, 0x89, 0x01, + 0x42, 0xa6, 0x94, 0x64, 0x19, 0x87, 0x22, 0x2f, 0x67, 0x64, 0x3c, 0x76, 0x20, 0x42, 0xae, 0xd3, + 0xbc, 0x2c, 0x87, 0x0a, 0x44, 0x02, 0x86, 0x3e, 0xd1, 0x8d, 0x24, 0xe2, 0x9d, 0x65, 0x08, 0xe7, + 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x62, 0x4a, 0x98, 0x56, 0xf9, 0x01, 0x00, 0x00, } func (m *DisabledValidator) Marshal() (dAtA []byte, err error) { diff --git a/x/validator/types/genesis.pb.go b/x/validator/types/genesis.pb.go index b1c971bcf..e067f404b 100644 --- a/x/validator/types/genesis.pb.go +++ b/x/validator/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: validator/genesis.proto +// source: validator/types/genesis.proto package types @@ -36,7 +36,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} } func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_8143c6ee7ddaa59a, []int{0} + return fileDescriptor_f66af4485373cdcb, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -101,38 +101,37 @@ func (m *GenesisState) GetRejectedValidatorList() []RejectedDisableValidator { } func init() { - proto.RegisterType((*GenesisState)(nil), "zigbeealliance.distributedcomplianceledger.validator.GenesisState") + proto.RegisterType((*GenesisState)(nil), "validator.types.GenesisState") } -func init() { proto.RegisterFile("validator/genesis.proto", fileDescriptor_8143c6ee7ddaa59a) } +func init() { proto.RegisterFile("validator/types/genesis.proto", fileDescriptor_f66af4485373cdcb) } -var fileDescriptor_8143c6ee7ddaa59a = []byte{ - // 393 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2f, 0x4b, 0xcc, 0xc9, - 0x4c, 0x49, 0x2c, 0xc9, 0x2f, 0xd2, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, - 0xca, 0x2f, 0xc9, 0x17, 0x32, 0xa9, 0xca, 0x4c, 0x4f, 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, - 0xcc, 0x4b, 0x4e, 0xd5, 0x4b, 0xc9, 0x2c, 0x2e, 0x29, 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0x49, - 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, 0xa7, 0x16, 0xe9, 0xc1, 0xcd, 0x90, 0x92, - 0x44, 0x18, 0x07, 0x67, 0x41, 0x0c, 0x94, 0x52, 0x41, 0x48, 0xe5, 0x24, 0x16, 0x97, 0xc4, 0xc3, - 0xb9, 0xf1, 0x05, 0xf9, 0xe5, 0xa9, 0x30, 0x55, 0x5a, 0x08, 0x55, 0x05, 0x45, 0xf9, 0x05, 0xf9, - 0xc5, 0xa9, 0x29, 0xf1, 0x29, 0x99, 0xc5, 0x89, 0x49, 0x39, 0xa9, 0xf1, 0xe8, 0x26, 0x2a, 0x21, - 0xd4, 0x42, 0x95, 0xa4, 0xe0, 0x53, 0x53, 0x94, 0x9a, 0x95, 0x9a, 0x5c, 0x82, 0x45, 0x8d, 0x48, - 0x7a, 0x7e, 0x7a, 0x3e, 0x98, 0xa9, 0x0f, 0x62, 0x41, 0x44, 0x95, 0x36, 0xb1, 0x72, 0xf1, 0xb8, - 0x43, 0x82, 0x24, 0xb8, 0x24, 0xb1, 0x24, 0x55, 0x28, 0x9b, 0x8b, 0x17, 0xae, 0xd3, 0x27, 0xb3, - 0xb8, 0x44, 0x82, 0x51, 0x81, 0x59, 0x83, 0xdb, 0xc8, 0x5e, 0x8f, 0x9c, 0x90, 0xd2, 0x0b, 0x83, - 0xb1, 0x9c, 0x58, 0x4e, 0xdc, 0x93, 0x67, 0x08, 0x42, 0x35, 0x5b, 0xa8, 0x8d, 0x91, 0x4b, 0x0c, - 0x14, 0x4c, 0x70, 0x65, 0x01, 0xa0, 0x40, 0x02, 0x5b, 0xcb, 0x04, 0xb6, 0xd6, 0x83, 0x3c, 0x6b, - 0x7d, 0x30, 0xcc, 0x84, 0xda, 0x8f, 0xc3, 0x36, 0xa1, 0x19, 0x8c, 0x5c, 0x32, 0xb0, 0x98, 0x70, - 0x81, 0x84, 0x72, 0x18, 0x4a, 0x28, 0x30, 0x83, 0x9d, 0xe3, 0x47, 0x9e, 0x73, 0x02, 0x70, 0x98, - 0x0c, 0x75, 0x14, 0x5e, 0x9b, 0x85, 0x9a, 0x19, 0xb9, 0x44, 0x61, 0x11, 0x8f, 0xea, 0x26, 0x16, - 0xb0, 0x9b, 0xdc, 0xc9, 0x73, 0x93, 0x0b, 0xba, 0x91, 0x50, 0xc7, 0x60, 0xb7, 0x4b, 0xa8, 0x8b, - 0x91, 0x4b, 0x14, 0x96, 0xb4, 0x50, 0x5d, 0xc1, 0x4a, 0x49, 0xc8, 0x04, 0x41, 0x8d, 0xc4, 0x11, - 0x32, 0xd8, 0xad, 0x74, 0x4a, 0x39, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, - 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, - 0xaf, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0x88, 0x83, 0x74, 0x61, - 0x2e, 0xd2, 0x47, 0x72, 0x91, 0x2e, 0xc2, 0x49, 0xba, 0x10, 0x37, 0xe9, 0x57, 0x20, 0xb2, 0xb2, - 0x7e, 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0x38, 0x87, 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, - 0xff, 0x36, 0x1c, 0xd4, 0x18, 0x3d, 0x04, 0x00, 0x00, +var fileDescriptor_f66af4485373cdcb = []byte{ + // 370 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xcd, 0x4a, 0xf3, 0x40, + 0x18, 0x85, 0x93, 0xaf, 0xfd, 0x5c, 0x8c, 0x8a, 0x10, 0xac, 0x48, 0xd1, 0x54, 0xea, 0xa6, 0x0a, + 0x4d, 0x44, 0xef, 0xa0, 0x14, 0x05, 0xe9, 0xa2, 0x54, 0xe8, 0xc2, 0x85, 0x61, 0x92, 0x79, 0x89, + 0x23, 0x69, 0x27, 0x64, 0xa6, 0xfe, 0x5d, 0x85, 0x97, 0xd5, 0x65, 0x97, 0xae, 0x44, 0xda, 0x6b, + 0x70, 0x2f, 0x99, 0xfc, 0x48, 0x26, 0x8d, 0xee, 0x26, 0x33, 0xcf, 0x39, 0x27, 0x73, 0xe6, 0x45, + 0x87, 0x8f, 0x38, 0xa0, 0x04, 0x0b, 0x16, 0xd9, 0xe2, 0x25, 0x04, 0x6e, 0xfb, 0x30, 0x05, 0x4e,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, 0xdc, 0x66, 0x94, 0xd2, 0x15, 0xb7, 0x59, 0xef, 0xd6, 0x23, + 0xf3, 0xa5, 0xa9, 0x2f, 0x96, 0xa6, 0xfe, 0xb9, 0x34, 0xf5, 0xb7, 0x95, 0xa9, 0x2d, 0x56, 0xa6, + 0xf6, 0xbe, 0x32, 0xb5, 0xdb, 0x6b, 0x9f, 0x8a, 0xfb, 0x99, 0x6b, 0x79, 0x6c, 0x62, 0xbf, 0x52, + 0xdf, 0x05, 0xe8, 0xe2, 0x20, 0xa0, 0x78, 0xea, 0x41, 0x3c, 0x86, 0x22, 0xa2, 0xee, 0x4c, 0x00, + 0xe9, 0x7a, 0x6c, 0x12, 0x26, 0xdb, 0xdd, 0x00, 0x88, 0x0f, 0x91, 0xfd, 0x6c, 0x2b, 0xc3, 0xe8, + 0x6e, 0xc8, 0x21, 0xbb, 0xf8, 0x0e, 0x00, 0x00, 0xff, 0xff, 0xef, 0x44, 0xa4, 0x03, 0x7f, 0x03, + 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/validator/types/grant.pb.go b/x/validator/types/grant.pb.go index cdd3e4483..e9b8438c0 100644 --- a/x/validator/types/grant.pb.go +++ b/x/validator/types/grant.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: validator/grant.proto +// source: validator/types/grant.proto package types @@ -33,7 +33,7 @@ func (m *Grant) Reset() { *m = Grant{} } func (m *Grant) String() string { return proto.CompactTextString(m) } func (*Grant) ProtoMessage() {} func (*Grant) Descriptor() ([]byte, []int) { - return fileDescriptor_c52d4dfaf8316eeb, []int{0} + return fileDescriptor_a8c632e2a335c07e, []int{0} } func (m *Grant) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -84,29 +84,29 @@ func (m *Grant) GetInfo() string { } func init() { - proto.RegisterType((*Grant)(nil), "zigbeealliance.distributedcomplianceledger.validator.Grant") + proto.RegisterType((*Grant)(nil), "validator.types.Grant") } -func init() { proto.RegisterFile("validator/grant.proto", fileDescriptor_c52d4dfaf8316eeb) } +func init() { proto.RegisterFile("validator/types/grant.proto", fileDescriptor_a8c632e2a335c07e) } -var fileDescriptor_c52d4dfaf8316eeb = []byte{ - // 251 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2d, 0x4b, 0xcc, 0xc9, - 0x4c, 0x49, 0x2c, 0xc9, 0x2f, 0xd2, 0x4f, 0x2f, 0x4a, 0xcc, 0x2b, 0xd1, 0x2b, 0x28, 0xca, 0x2f, - 0xc9, 0x17, 0x32, 0xa9, 0xca, 0x4c, 0x4f, 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, - 0x4e, 0xd5, 0x4b, 0xc9, 0x2c, 0x2e, 0x29, 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0x49, 0xce, 0xcf, - 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, 0xa7, 0x16, 0xe9, 0xc1, 0x4d, 0x90, 0x92, 0x4c, 0xce, - 0x2f, 0xce, 0xcd, 0x2f, 0x8e, 0x07, 0x9b, 0xa1, 0x0f, 0xe1, 0x40, 0x0c, 0x54, 0x4a, 0xe6, 0x62, - 0x75, 0x07, 0x99, 0x2f, 0x64, 0xc4, 0xc5, 0x9e, 0x98, 0x92, 0x52, 0x94, 0x5a, 0x5c, 0x2c, 0xc1, - 0xa8, 0xc0, 0xa8, 0xc1, 0xe9, 0x24, 0x71, 0x69, 0x8b, 0xae, 0x08, 0x54, 0xad, 0x23, 0x44, 0x26, - 0xb8, 0xa4, 0x28, 0x33, 0x2f, 0x3d, 0x08, 0xa6, 0x50, 0x48, 0x88, 0x8b, 0xa5, 0x24, 0x33, 0x37, - 0x55, 0x82, 0x49, 0x81, 0x51, 0x83, 0x39, 0x08, 0xcc, 0x06, 0x89, 0x65, 0xe6, 0xa5, 0xe5, 0x4b, - 0x30, 0x83, 0x0c, 0x09, 0x02, 0xb3, 0x9d, 0x52, 0x4e, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, - 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63, 0xb8, 0xf1, 0x58, - 0x8e, 0x21, 0xca, 0x2b, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0x1f, 0xe2, - 0x35, 0x5d, 0x98, 0xdf, 0xf4, 0x91, 0xfc, 0xa6, 0x8b, 0xf0, 0x9c, 0x2e, 0xc4, 0x77, 0xfa, 0x15, - 0xfa, 0x88, 0x10, 0x2a, 0xa9, 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, 0xfb, 0xc8, 0x18, 0x10, 0x00, - 0x00, 0xff, 0xff, 0xa6, 0x9d, 0xa7, 0x32, 0x3b, 0x01, 0x00, 0x00, +var fileDescriptor_a8c632e2a335c07e = []byte{ + // 241 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2e, 0x4b, 0xcc, 0xc9, + 0x4c, 0x49, 0x2c, 0xc9, 0x2f, 0xd2, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x4f, 0x2f, 0x4a, 0xcc, + 0x2b, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x87, 0x4b, 0xea, 0x81, 0x25, 0xa5, 0x24, + 0x93, 0xf3, 0x8b, 0x73, 0xf3, 0x8b, 0xe3, 0xc1, 0xd2, 0xfa, 0x10, 0x0e, 0x44, 0xad, 0x52, 0x32, + 0x17, 0xab, 0x3b, 0x48, 0xab, 0x90, 0x11, 0x17, 0x7b, 0x62, 0x4a, 0x4a, 0x51, 0x6a, 0x71, 0xb1, + 0x04, 0xa3, 0x02, 0xa3, 0x06, 0xa7, 0x93, 0xc4, 0xa5, 0x2d, 0xba, 0x22, 0x50, 0xb5, 0x8e, 0x10, + 0x99, 0xe0, 0x92, 0xa2, 0xcc, 0xbc, 0xf4, 0x20, 0x98, 0x42, 0x21, 0x21, 0x2e, 0x96, 0x92, 0xcc, + 0xdc, 0x54, 0x09, 0x26, 0x05, 0x46, 0x0d, 0xe6, 0x20, 0x30, 0x1b, 0x24, 0x96, 0x99, 0x97, 0x96, + 0x2f, 0xc1, 0x0c, 0x32, 0x24, 0x08, 0xcc, 0x76, 0x4a, 0x39, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, + 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, + 0x63, 0x39, 0x86, 0x28, 0xaf, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0xfd, + 0xaa, 0xcc, 0xf4, 0xa4, 0xd4, 0x54, 0xdd, 0xc4, 0x9c, 0x9c, 0xcc, 0xc4, 0xbc, 0xe4, 0x54, 0xfd, + 0x94, 0xcc, 0xe2, 0x92, 0xa2, 0xcc, 0xa4, 0xd2, 0x92, 0xd4, 0x14, 0xdd, 0xe4, 0xfc, 0xdc, 0x02, + 0x88, 0xb0, 0x6e, 0x4e, 0x6a, 0x4a, 0x7a, 0x6a, 0x91, 0x7e, 0x85, 0x3e, 0x5a, 0x10, 0x24, 0xb1, + 0x81, 0x7d, 0x64, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x1b, 0xe8, 0xd7, 0x6b, 0x1c, 0x01, 0x00, + 0x00, } func (m *Grant) Marshal() (dAtA []byte, err error) { diff --git a/x/validator/types/last_validator_power.pb.go b/x/validator/types/last_validator_power.pb.go index 473badadc..52e8b90bf 100644 --- a/x/validator/types/last_validator_power.pb.go +++ b/x/validator/types/last_validator_power.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: validator/last_validator_power.proto +// source: validator/types/last_validator_power.proto package types @@ -32,7 +32,7 @@ type LastValidatorPower struct { func (m *LastValidatorPower) Reset() { *m = LastValidatorPower{} } func (*LastValidatorPower) ProtoMessage() {} func (*LastValidatorPower) Descriptor() ([]byte, []int) { - return fileDescriptor_830cb29c5288b722, []int{0} + return fileDescriptor_5df33c5cbbad925f, []int{0} } func (m *LastValidatorPower) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -62,33 +62,32 @@ func (m *LastValidatorPower) XXX_DiscardUnknown() { var xxx_messageInfo_LastValidatorPower proto.InternalMessageInfo func init() { - proto.RegisterType((*LastValidatorPower)(nil), "zigbeealliance.distributedcomplianceledger.validator.LastValidatorPower") + proto.RegisterType((*LastValidatorPower)(nil), "validator.types.LastValidatorPower") } func init() { - proto.RegisterFile("validator/last_validator_power.proto", fileDescriptor_830cb29c5288b722) + proto.RegisterFile("validator/types/last_validator_power.proto", fileDescriptor_5df33c5cbbad925f) } -var fileDescriptor_830cb29c5288b722 = []byte{ - // 280 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x29, 0x4b, 0xcc, 0xc9, - 0x4c, 0x49, 0x2c, 0xc9, 0x2f, 0xd2, 0xcf, 0x49, 0x2c, 0x2e, 0x89, 0x87, 0x73, 0xe3, 0x0b, 0xf2, - 0xcb, 0x53, 0x8b, 0xf4, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0x4c, 0xaa, 0x32, 0xd3, 0x93, 0x52, - 0x53, 0x13, 0x73, 0x72, 0x32, 0x13, 0xf3, 0x92, 0x53, 0xf5, 0x52, 0x32, 0x8b, 0x4b, 0x8a, 0x32, - 0x93, 0x4a, 0x4b, 0x52, 0x53, 0x92, 0xf3, 0x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 0x22, 0x2c, - 0x4b, 0x2a, 0x0b, 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0xde, 0x32, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, - 0x68, 0x1e, 0x4e, 0x66, 0x65, 0x01, 0x00, 0x00, +var fileDescriptor_5df33c5cbbad925f = []byte{ + // 270 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x2a, 0x4b, 0xcc, 0xc9, + 0x4c, 0x49, 0x2c, 0xc9, 0x2f, 0xd2, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0xcf, 0x49, 0x2c, 0x2e, + 0x89, 0x87, 0x0b, 0xc6, 0x17, 0xe4, 0x97, 0xa7, 0x16, 0xe9, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, + 0xf1, 0xc3, 0x85, 0xf5, 0xc0, 0x6a, 0xa5, 0x44, 0xd2, 0xf3, 0xd3, 0xf3, 0xc1, 0x72, 0xfa, 0x20, + 0x16, 0x44, 0x99, 0x94, 0x64, 0x72, 0x7e, 0x71, 0x6e, 0x7e, 0x71, 0x3c, 0x44, 0x02, 0xc2, 0x81, + 0x48, 0x29, 0x65, 0x70, 0x09, 0xf9, 0x24, 0x16, 0x97, 0x84, 0xc1, 0xcc, 0x09, 0x00, 0x99, 0x2e, + 0xa4, 0xc7, 0xc5, 0x9a, 0x5f, 0x9e, 0x97, 0x5a, 0x24, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0xe9, 0x24, + 0x71, 0x69, 0x8b, 0xae, 0x08, 0x54, 0x9b, 0x63, 0x4a, 0x4a, 0x51, 0x6a, 0x71, 0x71, 0x70, 0x49, + 0x51, 0x66, 0x5e, 0x7a, 0x10, 0x44, 0x99, 0x90, 0x08, 0x17, 0x2b, 0xd8, 0x59, 0x12, 0x4c, 0x0a, + 0x8c, 0x1a, 0xac, 0x41, 0x10, 0x8e, 0x15, 0x4f, 0xc7, 0x02, 0x79, 0x86, 0x19, 0x0b, 0xe4, 0x19, + 0x5e, 0x2c, 0x90, 0x67, 0x70, 0x4a, 0x39, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, + 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, + 0x28, 0xaf, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0xfd, 0xaa, 0xcc, 0xf4, + 0xa4, 0xd4, 0x54, 0xdd, 0xc4, 0x9c, 0x9c, 0xcc, 0xc4, 0xbc, 0xe4, 0x54, 0xfd, 0x94, 0xcc, 0xe2, + 0x92, 0xa2, 0xcc, 0xa4, 0xd2, 0x92, 0xd4, 0x14, 0xdd, 0xe4, 0xfc, 0xdc, 0x02, 0x88, 0xb0, 0x6e, + 0x4e, 0x6a, 0x4a, 0x7a, 0x6a, 0x91, 0x7e, 0x85, 0x3e, 0x5a, 0x60, 0x25, 0xb1, 0x81, 0xbd, 0x65, + 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x08, 0x16, 0x2b, 0x04, 0x46, 0x01, 0x00, 0x00, } func (m *LastValidatorPower) Marshal() (dAtA []byte, err error) { diff --git a/x/validator/types/proposed_disable_validator.pb.go b/x/validator/types/proposed_disable_validator.pb.go index 9d80a84c6..e9c0a4dc9 100644 --- a/x/validator/types/proposed_disable_validator.pb.go +++ b/x/validator/types/proposed_disable_validator.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: validator/proposed_disable_validator.proto +// source: validator/types/proposed_disable_validator.proto package types @@ -34,7 +34,7 @@ func (m *ProposedDisableValidator) Reset() { *m = ProposedDisableValidat func (m *ProposedDisableValidator) String() string { return proto.CompactTextString(m) } func (*ProposedDisableValidator) ProtoMessage() {} func (*ProposedDisableValidator) Descriptor() ([]byte, []int) { - return fileDescriptor_f7ffedaeb03ca643, []int{0} + return fileDescriptor_42352dab5ffe7470, []int{0} } func (m *ProposedDisableValidator) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -92,35 +92,34 @@ func (m *ProposedDisableValidator) GetRejects() []*Grant { } func init() { - proto.RegisterType((*ProposedDisableValidator)(nil), "zigbeealliance.distributedcomplianceledger.validator.ProposedDisableValidator") + proto.RegisterType((*ProposedDisableValidator)(nil), "validator.types.ProposedDisableValidator") } func init() { - proto.RegisterFile("validator/proposed_disable_validator.proto", fileDescriptor_f7ffedaeb03ca643) + proto.RegisterFile("validator/types/proposed_disable_validator.proto", fileDescriptor_42352dab5ffe7470) } -var fileDescriptor_f7ffedaeb03ca643 = []byte{ - // 311 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x91, 0xc1, 0x4a, 0x03, 0x31, - 0x10, 0x86, 0xbb, 0xad, 0x58, 0xba, 0xde, 0x16, 0x85, 0xd8, 0x43, 0x28, 0x9e, 0x8a, 0xb0, 0x09, - 0x54, 0x6f, 0x9e, 0x2c, 0x82, 0xe0, 0x49, 0x2a, 0x0a, 0x7a, 0x29, 0xd9, 0x64, 0x58, 0x23, 0x69, - 0x13, 0x92, 0xb4, 0xa8, 0x4f, 0xe1, 0xc3, 0xf4, 0x21, 0x3c, 0x16, 0x4f, 0x1e, 0xa5, 0x7d, 0x11, - 0xd9, 0x66, 0xb7, 0xeb, 0x4d, 0xd0, 0xe3, 0xce, 0xcc, 0xff, 0x7d, 0xb3, 0x99, 0xf8, 0x78, 0xce, - 0x94, 0x14, 0xcc, 0x6b, 0x4b, 0x8d, 0xd5, 0x46, 0x3b, 0x10, 0x63, 0x21, 0x1d, 0xcb, 0x14, 0x8c, - 0xb7, 0x2d, 0x62, 0xac, 0xf6, 0x3a, 0x39, 0x7d, 0x95, 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, 0xf9, 0x17, 0x03, 0x2e, 0xdb, 0xdd, 0xdc, 0xe8, 0xe4, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xb6, - 0xd3, 0xb2, 0xf7, 0x39, 0x02, 0x00, 0x00, +var fileDescriptor_42352dab5ffe7470 = []byte{ + // 301 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xc1, 0x4a, 0x03, 0x31, + 0x10, 0x86, 0x1b, 0x2b, 0x96, 0xae, 0x07, 0x61, 0x11, 0x89, 0x15, 0x42, 0xf1, 0xd4, 0xcb, 0x6e, + 0x4a, 0xf5, 0x05, 0x2c, 0x82, 0xe0, 0x49, 0x2a, 0x78, 0xf0, 0x52, 0xb2, 0xc9, 0xb0, 0x46, 0xd2, + 0x26, 0x24, 0x69, 0x51, 0x9f, 0xc2, 0x87, 0xf1, 0x21, 0x3c, 0x16, 0x4f, 0x1e, 0xa5, 0xbd, 0xf9, + 0x14, 0xb2, 0x9b, 0x5d, 0x0b, 0x7b, 0xd0, 0x63, 0xe6, 0xff, 0xbe, 0x99, 0xcc, 0x44, 0xc3, 0x25, + 0x53, 0x52, 0x30, 0xaf, 0x2d, 0xf5, 0xcf, 0x06, 0x1c, 0x35, 0x56, 0x1b, 0xed, 0x40, 0x4c, 0x85, + 0x74, 0x2c, 0x53, 0x30, 0xfd, 0x05, 0x52, 0x63, 0xb5, 0xd7, 0xf1, 0xc1, 0xb6, 0x50, 0x1a, 0xbd, + 0x63, 0xae, 0xdd, 0x4c, 0xbb, 0x69, 0x19, 0xd3, 0xf0, 0x08, 0x6c, 0xef, 0xa4, 0xd9, 0x3d, 0xb7, + 0x6c, 0xee, 0x43, 0x78, 0xfa, 0x8d, 0x22, 0x7c, 0x53, 0x4d, 0xbb, 0x0c, 0xc3, 0xee, 0x6a, 0x3c, + 0x1e, 0x45, 0x1d, 0x26, 0x84, 0x05, 0xe7, 0x30, 0xea, 0xa3, 0x41, 0x77, 0x8c, 0x3f, 0xde, 0x92, + 0xc3, 0xaa, 0xf9, 0x45, 0x48, 0x6e, 0xbd, 0x95, 0xf3, 0x7c, 0x52, 0x83, 0x85, 0xc3, 0x2d, 0x14, + 0x3a, 0xde, 0xf9, 0xcf, 0xa9, 0xc0, 0xf8, 0x3c, 0xea, 0x32, 0x63, 0xac, 0x5e, 0x32, 0xe5, 0x70, + 0xbb, 0xdf, 0x1e, 0xec, 0x8f, 0x8e, 0xd2, 0xc6, 0x86, 0xe9, 0x55, 0xf1, 0xeb, 0xc9, 0x16, 0x8c, + 0x87, 0x51, 0xc7, 0xc2, 0x23, 0x70, 0xef, 0xf0, 0xee, 0x9f, 0x4e, 0x8d, 0x8d, 0xc5, 0xfb, 0x9a, + 0xa0, 0xd5, 0x9a, 0xa0, 0xaf, 0x35, 0x41, 0xaf, 0x1b, 0xd2, 0x5a, 0x6d, 0x48, 0xeb, 0x73, 0x43, + 0x5a, 0xf7, 0xd7, 0xb9, 0xf4, 0x0f, 0x8b, 0x2c, 0xe5, 0x7a, 0x46, 0x5f, 0x64, 0x9e, 0x01, 0x24, + 0x4c, 0x29, 0xc9, 0xe6, 0x1c, 0xa8, 0x90, 0xce, 0x5b, 0x99, 0x2d, 0x3c, 0x88, 0x84, 0xeb, 0x99, + 0x09, 0xe5, 0x44, 0x81, 0xc8, 0xc1, 0xd2, 0x27, 0xda, 0x38, 0x6f, 0xb6, 0x57, 0x5e, 0xf6, 0xec, + 0x27, 0x00, 0x00, 0xff, 0xff, 0x87, 0x52, 0xe2, 0xb3, 0xd6, 0x01, 0x00, 0x00, } func (m *ProposedDisableValidator) Marshal() (dAtA []byte, err error) { diff --git a/x/validator/types/query.pb.go b/x/validator/types/query.pb.go index e70f1ff65..e25d3482e 100644 --- a/x/validator/types/query.pb.go +++ b/x/validator/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: validator/query.proto +// source: validator/types/query.proto package types @@ -39,7 +39,7 @@ func (m *QueryGetValidatorRequest) Reset() { *m = QueryGetValidatorReque func (m *QueryGetValidatorRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetValidatorRequest) ProtoMessage() {} func (*QueryGetValidatorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_31b4d73ed8fedd8d, []int{0} + return fileDescriptor_c66276dea6fc0623, []int{0} } func (m *QueryGetValidatorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -83,7 +83,7 @@ func (m *QueryGetValidatorResponse) Reset() { *m = QueryGetValidatorResp func (m *QueryGetValidatorResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetValidatorResponse) ProtoMessage() {} func (*QueryGetValidatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_31b4d73ed8fedd8d, []int{1} + return fileDescriptor_c66276dea6fc0623, []int{1} } func (m *QueryGetValidatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -127,7 +127,7 @@ func (m *QueryAllValidatorRequest) Reset() { *m = QueryAllValidatorReque func (m *QueryAllValidatorRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllValidatorRequest) ProtoMessage() {} func (*QueryAllValidatorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_31b4d73ed8fedd8d, []int{2} + return fileDescriptor_c66276dea6fc0623, []int{2} } func (m *QueryAllValidatorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -172,7 +172,7 @@ func (m *QueryAllValidatorResponse) Reset() { *m = QueryAllValidatorResp func (m *QueryAllValidatorResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllValidatorResponse) ProtoMessage() {} func (*QueryAllValidatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_31b4d73ed8fedd8d, []int{3} + return fileDescriptor_c66276dea6fc0623, []int{3} } func (m *QueryAllValidatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -223,7 +223,7 @@ func (m *QueryGetLastValidatorPowerRequest) Reset() { *m = QueryGetLastV func (m *QueryGetLastValidatorPowerRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetLastValidatorPowerRequest) ProtoMessage() {} func (*QueryGetLastValidatorPowerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_31b4d73ed8fedd8d, []int{4} + return fileDescriptor_c66276dea6fc0623, []int{4} } func (m *QueryGetLastValidatorPowerRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -267,7 +267,7 @@ func (m *QueryGetLastValidatorPowerResponse) Reset() { *m = QueryGetLast func (m *QueryGetLastValidatorPowerResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetLastValidatorPowerResponse) ProtoMessage() {} func (*QueryGetLastValidatorPowerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_31b4d73ed8fedd8d, []int{5} + return fileDescriptor_c66276dea6fc0623, []int{5} } func (m *QueryGetLastValidatorPowerResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -311,7 +311,7 @@ func (m *QueryAllLastValidatorPowerRequest) Reset() { *m = QueryAllLastV func (m *QueryAllLastValidatorPowerRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllLastValidatorPowerRequest) ProtoMessage() {} func (*QueryAllLastValidatorPowerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_31b4d73ed8fedd8d, []int{6} + return fileDescriptor_c66276dea6fc0623, []int{6} } func (m *QueryAllLastValidatorPowerRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -356,7 +356,7 @@ func (m *QueryAllLastValidatorPowerResponse) Reset() { *m = QueryAllLast func (m *QueryAllLastValidatorPowerResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllLastValidatorPowerResponse) ProtoMessage() {} func (*QueryAllLastValidatorPowerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_31b4d73ed8fedd8d, []int{7} + return fileDescriptor_c66276dea6fc0623, []int{7} } func (m *QueryAllLastValidatorPowerResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -409,7 +409,7 @@ func (m *QueryGetProposedDisableValidatorRequest) Reset() { func (m *QueryGetProposedDisableValidatorRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetProposedDisableValidatorRequest) ProtoMessage() {} func (*QueryGetProposedDisableValidatorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_31b4d73ed8fedd8d, []int{8} + return fileDescriptor_c66276dea6fc0623, []int{8} } func (m *QueryGetProposedDisableValidatorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -455,7 +455,7 @@ func (m *QueryGetProposedDisableValidatorResponse) Reset() { func (m *QueryGetProposedDisableValidatorResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetProposedDisableValidatorResponse) ProtoMessage() {} func (*QueryGetProposedDisableValidatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_31b4d73ed8fedd8d, []int{9} + return fileDescriptor_c66276dea6fc0623, []int{9} } func (m *QueryGetProposedDisableValidatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -501,7 +501,7 @@ func (m *QueryAllProposedDisableValidatorRequest) Reset() { func (m *QueryAllProposedDisableValidatorRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllProposedDisableValidatorRequest) ProtoMessage() {} func (*QueryAllProposedDisableValidatorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_31b4d73ed8fedd8d, []int{10} + return fileDescriptor_c66276dea6fc0623, []int{10} } func (m *QueryAllProposedDisableValidatorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -548,7 +548,7 @@ func (m *QueryAllProposedDisableValidatorResponse) Reset() { func (m *QueryAllProposedDisableValidatorResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllProposedDisableValidatorResponse) ProtoMessage() {} func (*QueryAllProposedDisableValidatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_31b4d73ed8fedd8d, []int{11} + return fileDescriptor_c66276dea6fc0623, []int{11} } func (m *QueryAllProposedDisableValidatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -599,7 +599,7 @@ func (m *QueryGetDisabledValidatorRequest) Reset() { *m = QueryGetDisabl func (m *QueryGetDisabledValidatorRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetDisabledValidatorRequest) ProtoMessage() {} func (*QueryGetDisabledValidatorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_31b4d73ed8fedd8d, []int{12} + return fileDescriptor_c66276dea6fc0623, []int{12} } func (m *QueryGetDisabledValidatorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -643,7 +643,7 @@ func (m *QueryGetDisabledValidatorResponse) Reset() { *m = QueryGetDisab func (m *QueryGetDisabledValidatorResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetDisabledValidatorResponse) ProtoMessage() {} func (*QueryGetDisabledValidatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_31b4d73ed8fedd8d, []int{13} + return fileDescriptor_c66276dea6fc0623, []int{13} } func (m *QueryGetDisabledValidatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -687,7 +687,7 @@ func (m *QueryAllDisabledValidatorRequest) Reset() { *m = QueryAllDisabl func (m *QueryAllDisabledValidatorRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllDisabledValidatorRequest) ProtoMessage() {} func (*QueryAllDisabledValidatorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_31b4d73ed8fedd8d, []int{14} + return fileDescriptor_c66276dea6fc0623, []int{14} } func (m *QueryAllDisabledValidatorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -732,7 +732,7 @@ func (m *QueryAllDisabledValidatorResponse) Reset() { *m = QueryAllDisab func (m *QueryAllDisabledValidatorResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllDisabledValidatorResponse) ProtoMessage() {} func (*QueryAllDisabledValidatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_31b4d73ed8fedd8d, []int{15} + return fileDescriptor_c66276dea6fc0623, []int{15} } func (m *QueryAllDisabledValidatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -785,7 +785,7 @@ func (m *QueryGetRejectedDisableValidatorRequest) Reset() { func (m *QueryGetRejectedDisableValidatorRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetRejectedDisableValidatorRequest) ProtoMessage() {} func (*QueryGetRejectedDisableValidatorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_31b4d73ed8fedd8d, []int{16} + return fileDescriptor_c66276dea6fc0623, []int{16} } func (m *QueryGetRejectedDisableValidatorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -831,7 +831,7 @@ func (m *QueryGetRejectedDisableValidatorResponse) Reset() { func (m *QueryGetRejectedDisableValidatorResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetRejectedDisableValidatorResponse) ProtoMessage() {} func (*QueryGetRejectedDisableValidatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_31b4d73ed8fedd8d, []int{17} + return fileDescriptor_c66276dea6fc0623, []int{17} } func (m *QueryGetRejectedDisableValidatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -877,7 +877,7 @@ func (m *QueryAllRejectedDisableValidatorRequest) Reset() { func (m *QueryAllRejectedDisableValidatorRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllRejectedDisableValidatorRequest) ProtoMessage() {} func (*QueryAllRejectedDisableValidatorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_31b4d73ed8fedd8d, []int{18} + return fileDescriptor_c66276dea6fc0623, []int{18} } func (m *QueryAllRejectedDisableValidatorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -924,7 +924,7 @@ func (m *QueryAllRejectedDisableValidatorResponse) Reset() { func (m *QueryAllRejectedDisableValidatorResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllRejectedDisableValidatorResponse) ProtoMessage() {} func (*QueryAllRejectedDisableValidatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_31b4d73ed8fedd8d, []int{19} + return fileDescriptor_c66276dea6fc0623, []int{19} } func (m *QueryAllRejectedDisableValidatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -968,99 +968,97 @@ func (m *QueryAllRejectedDisableValidatorResponse) GetPagination() *query.PageRe } func init() { - proto.RegisterType((*QueryGetValidatorRequest)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryGetValidatorRequest") - proto.RegisterType((*QueryGetValidatorResponse)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryGetValidatorResponse") - proto.RegisterType((*QueryAllValidatorRequest)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryAllValidatorRequest") - proto.RegisterType((*QueryAllValidatorResponse)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryAllValidatorResponse") - proto.RegisterType((*QueryGetLastValidatorPowerRequest)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryGetLastValidatorPowerRequest") - proto.RegisterType((*QueryGetLastValidatorPowerResponse)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryGetLastValidatorPowerResponse") - proto.RegisterType((*QueryAllLastValidatorPowerRequest)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryAllLastValidatorPowerRequest") - proto.RegisterType((*QueryAllLastValidatorPowerResponse)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryAllLastValidatorPowerResponse") - proto.RegisterType((*QueryGetProposedDisableValidatorRequest)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryGetProposedDisableValidatorRequest") - proto.RegisterType((*QueryGetProposedDisableValidatorResponse)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryGetProposedDisableValidatorResponse") - proto.RegisterType((*QueryAllProposedDisableValidatorRequest)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryAllProposedDisableValidatorRequest") - proto.RegisterType((*QueryAllProposedDisableValidatorResponse)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryAllProposedDisableValidatorResponse") - proto.RegisterType((*QueryGetDisabledValidatorRequest)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryGetDisabledValidatorRequest") - proto.RegisterType((*QueryGetDisabledValidatorResponse)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryGetDisabledValidatorResponse") - proto.RegisterType((*QueryAllDisabledValidatorRequest)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryAllDisabledValidatorRequest") - proto.RegisterType((*QueryAllDisabledValidatorResponse)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryAllDisabledValidatorResponse") - proto.RegisterType((*QueryGetRejectedDisableValidatorRequest)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryGetRejectedDisableValidatorRequest") - proto.RegisterType((*QueryGetRejectedDisableValidatorResponse)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryGetRejectedDisableValidatorResponse") - proto.RegisterType((*QueryAllRejectedDisableValidatorRequest)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryAllRejectedDisableValidatorRequest") - proto.RegisterType((*QueryAllRejectedDisableValidatorResponse)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryAllRejectedDisableValidatorResponse") -} - -func init() { proto.RegisterFile("validator/query.proto", fileDescriptor_31b4d73ed8fedd8d) } - -var fileDescriptor_31b4d73ed8fedd8d = []byte{ - // 1063 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0x41, 0x6f, 0xdc, 0x44, - 0x18, 0xcd, 0xec, 0x52, 0x50, 0x06, 0x2e, 0x19, 0xb6, 0x68, 0xbb, 0x84, 0x6d, 0x19, 0xa5, 0xa4, - 0x44, 0xb2, 0xad, 0x14, 0x10, 0x17, 0xa4, 0x6a, 0x03, 0x22, 0xa8, 0x42, 0x10, 0xb6, 0x52, 0x82, - 0x90, 0xca, 0xca, 0xbb, 0x1e, 0x19, 0x97, 0x89, 0xc7, 0xb1, 0x9d, 0x96, 0x52, 0x15, 0xa1, 0x1e, - 0xb8, 0x70, 0x89, 0xe0, 0x0f, 0x70, 0xe0, 0xce, 0x85, 0x2b, 0x12, 0xc7, 0x72, 0x40, 0xaa, 0xca, - 0x85, 0x13, 0x42, 0x09, 0x17, 0x0e, 0xf4, 0x82, 0x90, 0x38, 0x56, 0xb6, 0xbf, 0x59, 0x6f, 0xd6, - 0x9e, 0x75, 0xb2, 0xf6, 0xee, 0xcd, 0xce, 0x8c, 0xdf, 0x37, 0xef, 0x7d, 0xcf, 0x9f, 0xdf, 0x06, - 0x9f, 0xbd, 0x69, 0x72, 0xc7, 0x32, 0x43, 0xe1, 0x1b, 0x7b, 0xfb, 0xcc, 0xbf, 0xad, 0x7b, 0xbe, - 0x08, 0x05, 0x79, 0xf5, 0x73, 0xc7, 0xee, 0x33, 0x66, 0x72, 0xee, 0x98, 0xee, 0x80, 0xe9, 0x96, - 0x13, 0x84, 0xbe, 0xd3, 0xdf, 0x0f, 0x99, 0x35, 0x10, 0xbb, 0x5e, 0xf2, 0x57, 0xce, 0x2c, 0x9b, - 0xf9, 0xfa, 0x10, 0xa1, 0xb5, 0x6c, 0x0b, 0x61, 0x73, 0x66, 0x98, 0x9e, 0x63, 0x98, 0xae, 0x2b, - 0x42, 0x33, 0x74, 0x84, 0x1b, 0x24, 0x98, 0xad, 0xb5, 0x81, 0x08, 0x76, 0x45, 0x60, 0xf4, 0xcd, - 0x80, 0x25, 0xc5, 0x8c, 0x9b, 0xeb, 0x7d, 0x16, 0x9a, 0xeb, 0x86, 0x67, 0xda, 0x8e, 0x1b, 0x6f, - 0x86, 0xbd, 0xe7, 0xd2, 0x63, 0x0d, 0xaf, 0x60, 0x69, 0x25, 0x5d, 0xe2, 0x66, 0x10, 0xf6, 0x86, - 0xb7, 0x3d, 0x4f, 0xdc, 0x62, 0x72, 0xd7, 0x5a, 0xba, 0xcb, 0xf3, 0x85, 0x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x34, 0x09, 0x54, 0xd8, 0x15, 0x4c, 0x82, 0x59, 0xaa, - 0x72, 0x82, 0x84, 0xa9, 0x9c, 0x04, 0xf9, 0xaa, 0x6c, 0x58, 0xf7, 0x0f, 0xdb, 0xe8, 0xc1, 0x61, - 0x1b, 0xfd, 0x79, 0xd8, 0x46, 0x07, 0x47, 0xed, 0x85, 0x07, 0x47, 0xed, 0x85, 0xdf, 0x8f, 0xda, - 0x0b, 0x1f, 0x5d, 0xb5, 0x9d, 0xf0, 0x93, 0xfd, 0xbe, 0x3e, 0x10, 0xbb, 0x46, 0x72, 0x64, 0x4d, - 0x9e, 0xd9, 0x18, 0x39, 0xb3, 0x96, 0x1e, 0x5a, 0x4b, 0x4e, 0x6d, 0x7c, 0x36, 0x52, 0x36, 0xbc, - 0xed, 0xb1, 0xa0, 0xff, 0x64, 0xfc, 0x2f, 0xda, 0x57, 0x1e, 0x07, 0x00, 0x00, 0xff, 0xff, 0x08, - 0x12, 0xe3, 0x6f, 0x21, 0x17, 0x00, 0x00, + proto.RegisterType((*QueryGetValidatorRequest)(nil), "validator.types.QueryGetValidatorRequest") + proto.RegisterType((*QueryGetValidatorResponse)(nil), "validator.types.QueryGetValidatorResponse") + proto.RegisterType((*QueryAllValidatorRequest)(nil), "validator.types.QueryAllValidatorRequest") + proto.RegisterType((*QueryAllValidatorResponse)(nil), "validator.types.QueryAllValidatorResponse") + proto.RegisterType((*QueryGetLastValidatorPowerRequest)(nil), "validator.types.QueryGetLastValidatorPowerRequest") + proto.RegisterType((*QueryGetLastValidatorPowerResponse)(nil), "validator.types.QueryGetLastValidatorPowerResponse") + proto.RegisterType((*QueryAllLastValidatorPowerRequest)(nil), "validator.types.QueryAllLastValidatorPowerRequest") + proto.RegisterType((*QueryAllLastValidatorPowerResponse)(nil), "validator.types.QueryAllLastValidatorPowerResponse") + proto.RegisterType((*QueryGetProposedDisableValidatorRequest)(nil), "validator.types.QueryGetProposedDisableValidatorRequest") + proto.RegisterType((*QueryGetProposedDisableValidatorResponse)(nil), "validator.types.QueryGetProposedDisableValidatorResponse") + proto.RegisterType((*QueryAllProposedDisableValidatorRequest)(nil), "validator.types.QueryAllProposedDisableValidatorRequest") + proto.RegisterType((*QueryAllProposedDisableValidatorResponse)(nil), "validator.types.QueryAllProposedDisableValidatorResponse") + proto.RegisterType((*QueryGetDisabledValidatorRequest)(nil), "validator.types.QueryGetDisabledValidatorRequest") + proto.RegisterType((*QueryGetDisabledValidatorResponse)(nil), "validator.types.QueryGetDisabledValidatorResponse") + proto.RegisterType((*QueryAllDisabledValidatorRequest)(nil), "validator.types.QueryAllDisabledValidatorRequest") + proto.RegisterType((*QueryAllDisabledValidatorResponse)(nil), "validator.types.QueryAllDisabledValidatorResponse") + proto.RegisterType((*QueryGetRejectedDisableValidatorRequest)(nil), "validator.types.QueryGetRejectedDisableValidatorRequest") + proto.RegisterType((*QueryGetRejectedDisableValidatorResponse)(nil), "validator.types.QueryGetRejectedDisableValidatorResponse") + proto.RegisterType((*QueryAllRejectedDisableValidatorRequest)(nil), "validator.types.QueryAllRejectedDisableValidatorRequest") + proto.RegisterType((*QueryAllRejectedDisableValidatorResponse)(nil), "validator.types.QueryAllRejectedDisableValidatorResponse") +} + +func init() { proto.RegisterFile("validator/types/query.proto", fileDescriptor_c66276dea6fc0623) } + +var fileDescriptor_c66276dea6fc0623 = []byte{ + // 1032 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0x41, 0x6f, 0xdc, 0x44, + 0x14, 0xce, 0x74, 0x29, 0x28, 0x03, 0x08, 0x65, 0xb4, 0xa0, 0xed, 0x36, 0x6c, 0xca, 0xd0, 0x92, + 0x34, 0xd2, 0x7a, 0xd8, 0xad, 0x10, 0x45, 0x42, 0xa0, 0x0d, 0x88, 0x4a, 0x15, 0x87, 0xb0, 0x95, + 0x2a, 0x01, 0x42, 0x2b, 0xef, 0x7a, 0x64, 0xdc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 0xf2, 0xd9, 0x4d, 0xdb, 0x09, 0xbf, 0x3c, 0x18, 0x1b, 0x13, 0xb9, 0xc7, + 0xbe, 0x76, 0xec, 0x31, 0xe7, 0x5d, 0x53, 0x08, 0xc7, 0x74, 0x27, 0x3c, 0xaa, 0x68, 0xe8, 0x3b, + 0xe3, 0x83, 0x08, 0x6f, 0x22, 0xf7, 0xbc, 0xf8, 0x71, 0x57, 0x70, 0xcb, 0xe6, 0x3e, 0xfb, 0x8a, + 0x65, 0x7e, 0x88, 0x19, 0x3f, 0xab, 0x7e, 0x45, 0xb9, 0xf6, 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, + 0x64, 0x60, 0x21, 0x74, 0xc3, 0x12, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1107,7 +1105,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) Validator(ctx context.Context, in *QueryGetValidatorRequest, opts ...grpc.CallOption) (*QueryGetValidatorResponse, error) { out := new(QueryGetValidatorResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.validator.Query/Validator", in, out, opts...) + err := c.cc.Invoke(ctx, "/validator.types.Query/Validator", in, out, opts...) if err != nil { return nil, err } @@ -1116,7 +1114,7 @@ func (c *queryClient) Validator(ctx context.Context, in *QueryGetValidatorReques func (c *queryClient) ValidatorAll(ctx context.Context, in *QueryAllValidatorRequest, opts ...grpc.CallOption) (*QueryAllValidatorResponse, error) { out := new(QueryAllValidatorResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.validator.Query/ValidatorAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/validator.types.Query/ValidatorAll", in, out, opts...) if err != nil { return nil, err } @@ -1125,7 +1123,7 @@ func (c *queryClient) ValidatorAll(ctx context.Context, in *QueryAllValidatorReq func (c *queryClient) LastValidatorPower(ctx context.Context, in *QueryGetLastValidatorPowerRequest, opts ...grpc.CallOption) (*QueryGetLastValidatorPowerResponse, error) { out := new(QueryGetLastValidatorPowerResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.validator.Query/LastValidatorPower", in, out, opts...) + err := c.cc.Invoke(ctx, "/validator.types.Query/LastValidatorPower", in, out, opts...) if err != nil { return nil, err } @@ -1134,7 +1132,7 @@ func (c *queryClient) LastValidatorPower(ctx context.Context, in *QueryGetLastVa func (c *queryClient) LastValidatorPowerAll(ctx context.Context, in *QueryAllLastValidatorPowerRequest, opts ...grpc.CallOption) (*QueryAllLastValidatorPowerResponse, error) { out := new(QueryAllLastValidatorPowerResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.validator.Query/LastValidatorPowerAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/validator.types.Query/LastValidatorPowerAll", in, out, opts...) if err != nil { return nil, err } @@ -1143,7 +1141,7 @@ func (c *queryClient) LastValidatorPowerAll(ctx context.Context, in *QueryAllLas func (c *queryClient) ProposedDisableValidator(ctx context.Context, in *QueryGetProposedDisableValidatorRequest, opts ...grpc.CallOption) (*QueryGetProposedDisableValidatorResponse, error) { out := new(QueryGetProposedDisableValidatorResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.validator.Query/ProposedDisableValidator", in, out, opts...) + err := c.cc.Invoke(ctx, "/validator.types.Query/ProposedDisableValidator", in, out, opts...) if err != nil { return nil, err } @@ -1152,7 +1150,7 @@ func (c *queryClient) ProposedDisableValidator(ctx context.Context, in *QueryGet func (c *queryClient) ProposedDisableValidatorAll(ctx context.Context, in *QueryAllProposedDisableValidatorRequest, opts ...grpc.CallOption) (*QueryAllProposedDisableValidatorResponse, error) { out := new(QueryAllProposedDisableValidatorResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.validator.Query/ProposedDisableValidatorAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/validator.types.Query/ProposedDisableValidatorAll", in, out, opts...) if err != nil { return nil, err } @@ -1161,7 +1159,7 @@ func (c *queryClient) ProposedDisableValidatorAll(ctx context.Context, in *Query func (c *queryClient) DisabledValidator(ctx context.Context, in *QueryGetDisabledValidatorRequest, opts ...grpc.CallOption) (*QueryGetDisabledValidatorResponse, error) { out := new(QueryGetDisabledValidatorResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.validator.Query/DisabledValidator", in, out, opts...) + err := c.cc.Invoke(ctx, "/validator.types.Query/DisabledValidator", in, out, opts...) if err != nil { return nil, err } @@ -1170,7 +1168,7 @@ func (c *queryClient) DisabledValidator(ctx context.Context, in *QueryGetDisable func (c *queryClient) DisabledValidatorAll(ctx context.Context, in *QueryAllDisabledValidatorRequest, opts ...grpc.CallOption) (*QueryAllDisabledValidatorResponse, error) { out := new(QueryAllDisabledValidatorResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.validator.Query/DisabledValidatorAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/validator.types.Query/DisabledValidatorAll", in, out, opts...) if err != nil { return nil, err } @@ -1179,7 +1177,7 @@ func (c *queryClient) DisabledValidatorAll(ctx context.Context, in *QueryAllDisa func (c *queryClient) RejectedDisableValidator(ctx context.Context, in *QueryGetRejectedDisableValidatorRequest, opts ...grpc.CallOption) (*QueryGetRejectedDisableValidatorResponse, error) { out := new(QueryGetRejectedDisableValidatorResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.validator.Query/RejectedDisableValidator", in, out, opts...) + err := c.cc.Invoke(ctx, "/validator.types.Query/RejectedDisableValidator", in, out, opts...) if err != nil { return nil, err } @@ -1188,7 +1186,7 @@ func (c *queryClient) RejectedDisableValidator(ctx context.Context, in *QueryGet func (c *queryClient) RejectedDisableValidatorAll(ctx context.Context, in *QueryAllRejectedDisableValidatorRequest, opts ...grpc.CallOption) (*QueryAllRejectedDisableValidatorResponse, error) { out := new(QueryAllRejectedDisableValidatorResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.validator.Query/RejectedDisableValidatorAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/validator.types.Query/RejectedDisableValidatorAll", in, out, opts...) if err != nil { return nil, err } @@ -1268,7 +1266,7 @@ func _Query_Validator_Handler(srv interface{}, ctx context.Context, dec func(int } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.validator.Query/Validator", + FullMethod: "/validator.types.Query/Validator", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Validator(ctx, req.(*QueryGetValidatorRequest)) @@ -1286,7 +1284,7 @@ func _Query_ValidatorAll_Handler(srv interface{}, ctx context.Context, dec func( } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.validator.Query/ValidatorAll", + FullMethod: "/validator.types.Query/ValidatorAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ValidatorAll(ctx, req.(*QueryAllValidatorRequest)) @@ -1304,7 +1302,7 @@ func _Query_LastValidatorPower_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.validator.Query/LastValidatorPower", + FullMethod: "/validator.types.Query/LastValidatorPower", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).LastValidatorPower(ctx, req.(*QueryGetLastValidatorPowerRequest)) @@ -1322,7 +1320,7 @@ func _Query_LastValidatorPowerAll_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.validator.Query/LastValidatorPowerAll", + FullMethod: "/validator.types.Query/LastValidatorPowerAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).LastValidatorPowerAll(ctx, req.(*QueryAllLastValidatorPowerRequest)) @@ -1340,7 +1338,7 @@ func _Query_ProposedDisableValidator_Handler(srv interface{}, ctx context.Contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.validator.Query/ProposedDisableValidator", + FullMethod: "/validator.types.Query/ProposedDisableValidator", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ProposedDisableValidator(ctx, req.(*QueryGetProposedDisableValidatorRequest)) @@ -1358,7 +1356,7 @@ func _Query_ProposedDisableValidatorAll_Handler(srv interface{}, ctx context.Con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.validator.Query/ProposedDisableValidatorAll", + FullMethod: "/validator.types.Query/ProposedDisableValidatorAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ProposedDisableValidatorAll(ctx, req.(*QueryAllProposedDisableValidatorRequest)) @@ -1376,7 +1374,7 @@ func _Query_DisabledValidator_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.validator.Query/DisabledValidator", + FullMethod: "/validator.types.Query/DisabledValidator", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).DisabledValidator(ctx, req.(*QueryGetDisabledValidatorRequest)) @@ -1394,7 +1392,7 @@ func _Query_DisabledValidatorAll_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.validator.Query/DisabledValidatorAll", + FullMethod: "/validator.types.Query/DisabledValidatorAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).DisabledValidatorAll(ctx, req.(*QueryAllDisabledValidatorRequest)) @@ -1412,7 +1410,7 @@ func _Query_RejectedDisableValidator_Handler(srv interface{}, ctx context.Contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.validator.Query/RejectedDisableValidator", + FullMethod: "/validator.types.Query/RejectedDisableValidator", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RejectedDisableValidator(ctx, req.(*QueryGetRejectedDisableValidatorRequest)) @@ -1430,7 +1428,7 @@ func _Query_RejectedDisableValidatorAll_Handler(srv interface{}, ctx context.Con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.validator.Query/RejectedDisableValidatorAll", + FullMethod: "/validator.types.Query/RejectedDisableValidatorAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RejectedDisableValidatorAll(ctx, req.(*QueryAllRejectedDisableValidatorRequest)) @@ -1439,7 +1437,7 @@ func _Query_RejectedDisableValidatorAll_Handler(srv interface{}, ctx context.Con } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "zigbeealliance.distributedcomplianceledger.validator.Query", + ServiceName: "validator.types.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -1484,7 +1482,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "validator/query.proto", + Metadata: "validator/types/query.proto", } func (m *QueryGetValidatorRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/validator/types/query.pb.gw.go b/x/validator/types/query.pb.gw.go index a21de7909..6ec6a3ff4 100644 --- a/x/validator/types/query.pb.gw.go +++ b/x/validator/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: validator/query.proto +// source: validator/types/query.proto /* Package types is a reverse proxy. @@ -964,25 +964,25 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } var ( - pattern_Query_Validator_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"dcl", "validator", "nodes", "owner"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_Validator_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"dcl", "validator", "nodes", "owner"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_ValidatorAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "validator", "nodes"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_ValidatorAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "validator", "nodes"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_LastValidatorPower_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"dcl", "validator", "last-powers", "owner"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_LastValidatorPower_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"dcl", "validator", "last-powers", "owner"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_LastValidatorPowerAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "validator", "last-powers"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_LastValidatorPowerAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "validator", "last-powers"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_ProposedDisableValidator_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"dcl", "validator", "proposed-disable-nodes", "address"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_ProposedDisableValidator_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"dcl", "validator", "proposed-disable-nodes", "address"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_ProposedDisableValidatorAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "validator", "proposed-disable-nodes"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_ProposedDisableValidatorAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "validator", "proposed-disable-nodes"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_DisabledValidator_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"dcl", "validator", "disabled-nodes", "address"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_DisabledValidator_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"dcl", "validator", "disabled-nodes", "address"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_DisabledValidatorAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "validator", "disabled-nodes"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_DisabledValidatorAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "validator", "disabled-nodes"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_RejectedDisableValidator_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"dcl", "validator", "rejected-disable-nodes", "owner"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_RejectedDisableValidator_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"dcl", "validator", "rejected-disable-nodes", "owner"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_RejectedDisableValidatorAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "validator", "rejected-disable-nodes"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_RejectedDisableValidatorAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "validator", "rejected-disable-nodes"}, "", runtime.AssumeColonVerbOpt(false))) ) var ( diff --git a/x/validator/types/rejected_validator.pb.go b/x/validator/types/rejected_validator.pb.go index ebc51c6f9..5bb597749 100644 --- a/x/validator/types/rejected_validator.pb.go +++ b/x/validator/types/rejected_validator.pb.go @@ -1,12 +1,11 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: validator/rejected_validator.proto +// source: validator/types/rejected_validator.proto package types import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" - sdk "github.com/cosmos/cosmos-sdk/types" proto "github.com/cosmos/gogoproto/proto" io "io" math "math" @@ -35,7 +34,7 @@ func (m *RejectedDisableValidator) Reset() { *m = RejectedDisableValidat func (m *RejectedDisableValidator) String() string { return proto.CompactTextString(m) } func (*RejectedDisableValidator) ProtoMessage() {} func (*RejectedDisableValidator) Descriptor() ([]byte, []int) { - return fileDescriptor_e8d82fd5546ec0be, []int{0} + return fileDescriptor_75752f9564777e24, []int{0} } func (m *RejectedDisableValidator) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -64,9 +63,11 @@ func (m *RejectedDisableValidator) XXX_DiscardUnknown() { var xxx_messageInfo_RejectedDisableValidator proto.InternalMessageInfo -func (m *RejectedDisableValidator) GetAddress() sdk.ValAddress { - valAddr, _ := sdk.ValAddressFromBech32(m.Address) - return valAddr +func (m *RejectedDisableValidator) GetAddress() string { + if m != nil { + return m.Address + } + return "" } func (m *RejectedDisableValidator) GetCreator() string { @@ -91,35 +92,34 @@ func (m *RejectedDisableValidator) GetRejects() []*Grant { } func init() { - proto.RegisterType((*RejectedDisableValidator)(nil), "zigbeealliance.distributedcomplianceledger.validator.RejectedDisableValidator") + proto.RegisterType((*RejectedDisableValidator)(nil), "validator.types.RejectedDisableValidator") } func init() { - proto.RegisterFile("validator/rejected_validator.proto", fileDescriptor_e8d82fd5546ec0be) + proto.RegisterFile("validator/types/rejected_validator.proto", fileDescriptor_75752f9564777e24) } -var fileDescriptor_e8d82fd5546ec0be = []byte{ - // 307 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x91, 0x41, 0x4b, 0xf3, 0x30, - 0x18, 0xc7, 0xd7, 0xed, 0xe5, 0x1d, 0xab, 0xb7, 0xa2, 0x10, 0x77, 0x08, 0x63, 0xa7, 0x5d, 0x9a, - 0xc0, 0xf4, 0xe6, 0xc9, 0x21, 0x08, 0x1e, 0x27, 0x0a, 0x7a, 0x19, 0x69, 0xf2, 0x50, 0x23, 0x59, - 0x53, 0x92, 0x6c, 0xa8, 0x9f, 0xc2, 0x0f, 0xb3, 0x0f, 0xe1, 0x71, 0x78, 0xf2, 0x28, 0xed, 0x17, - 0x91, 0x2e, 0xed, 0xea, 0x4d, 0xd0, 0x63, 0x9e, 0x3c, 0xff, 0xdf, 0x2f, 0x79, 0x9e, 0x70, 0xbc, - 0x66, 0x4a, 0x0a, 0xe6, 0xb4, 0xa1, 0x06, 0x1e, 0x81, 0x3b, 0x10, 0x8b, 0x7d, 0x89, 0xe4, 0x46, - 0x3b, 0x1d, 0x9d, 0xbe, 0xc8, 0x34, 0x01, 0x60, 0x4a, 0x49, 0x96, 0x71, 0x20, 0x42, 0x5a, 0x67, - 0x64, 0xb2, 0x72, 0x20, 0xb8, 0x5e, 0xe6, 0xbe, 0xaa, 0x40, 0xa4, 0x60, 0xc8, 0x3e, 0x3b, 0x3c, - 0xe6, 0xda, 0x2e, 0xb5, 0x5d, 0xec, 0x18, 0xd4, 0x1f, 0x3c, 0x70, 0x78, 0xd4, 0x4a, 0x53, 0xc3, - 0x32, 0xe7, 0xcb, 0xe3, 0x4d, 0x37, 0x44, 0xf3, 0xfa, 0x11, 0x17, 0xd2, 0xb2, 0x44, 0xc1, 0x6d, - 0xd3, 0x18, 0x4d, 0xc3, 0x3e, 0x13, 0xc2, 0x80, 0xb5, 0x28, 0x18, 0x05, 0x93, 0xc1, 0x0c, 0xbd, - 0x6f, 0xe2, 0xc3, 0x1a, 0x7b, 0xee, 0x6f, 0xae, 0x9d, 0x91, 0x59, 0x3a, 0x6f, 0x1a, 0xab, 0x0c, - 0x37, 0x50, 0xc5, 0x51, 0xf7, 0xa7, 0x4c, 0xdd, 0x18, 0xdd, 0x85, 0x03, 0x96, 0xe7, 0x46, 0xaf, - 0x99, 0xb2, 0xa8, 0x37, 0xea, 0x4d, 0x0e, 0xa6, 0x67, 0xe4, 0x37, 0x03, 0x20, 0x97, 0xd5, 0xd7, - 0xe6, 0x2d, 0x2d, 0xba, 0x09, 0xfb, 0x7e, 0xc6, 0x16, 0xfd, 0xfb, 0x3b, 0xb8, 0x61, 0xcd, 0xc4, - 0x5b, 0x81, 0x83, 0x6d, 0x81, 0x83, 0xcf, 0x02, 0x07, 0xaf, 0x25, 0xee, 0x6c, 0x4b, 0xdc, 0xf9, - 0x28, 0x71, 0xe7, 0xfe, 0x2a, 0x95, 0xee, 0x61, 0x95, 0x10, 0xae, 0x97, 0xd4, 0x9b, 0xe2, 0x46, - 0x45, 0xbf, 0xa9, 0xe2, 0xd6, 0x15, 0x7b, 0x19, 0x7d, 0xa2, 0xed, 0x8a, 0xdc, 0x73, 0x0e, 0x36, - 0xf9, 0xbf, 0xdb, 0xd1, 0xc9, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd9, 0xce, 0x16, 0x1a, 0x31, - 0x02, 0x00, 0x00, +var fileDescriptor_75752f9564777e24 = []byte{ + // 295 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xc1, 0x4a, 0xc3, 0x30, + 0x18, 0xc7, 0x17, 0x27, 0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, 0x6f, 0xc1, 0xf0, 0x2c, 0x18, 0xf8, + 0x7e, 0x2c, 0xde, 0xfd, 0xd3, 0x69, 0xb1, 0x99, 0x78, 0x2f, 0x08, 0xda, 0x14, 0x04, 0x7d, 0x15, + 0x04, 0xbd, 0x96, 0xa4, 0xb7, 0x29, 0x49, 0xef, 0xb3, 0x24, 0xbd, 0xfb, 0x9b, 0x54, 0xba, 0x87, + 0x55, 0x12, 0x73, 0xbd, 0xa4, 0x2f, 0x32, 0x4d, 0x00, 0x22, 0xa6, 0x94, 0x64, 0x19, 0x07, 0x2a, + 0xa4, 0x75, 0x46, 0x26, 0x2b, 0x07, 0x22, 0xe2, 0x7a, 0x99, 0xfb, 0x71, 0xa4, 0x40, 0xa4, 0x60, + 0xe8, 0x13, 0xed, 0xd4, 0x9b, 0xec, 0xd5, 0xcd, 0x9e, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x1f, + 0xd5, 0xb9, 0xec, 0xce, 0x01, 0x00, 0x00, } func (m *RejectedDisableValidator) Marshal() (dAtA []byte, err error) { diff --git a/x/validator/types/tx.pb.go b/x/validator/types/tx.pb.go index 8c0811aa7..b53259413 100644 --- a/x/validator/types/tx.pb.go +++ b/x/validator/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: validator/tx.proto +// source: validator/types/tx.proto package types @@ -40,7 +40,7 @@ func (m *MsgCreateValidator) Reset() { *m = MsgCreateValidator{} } func (m *MsgCreateValidator) String() string { return proto.CompactTextString(m) } func (*MsgCreateValidator) ProtoMessage() {} func (*MsgCreateValidator) Descriptor() ([]byte, []int) { - return fileDescriptor_3d1df81e3a65fd6a, []int{0} + return fileDescriptor_d6a4cc0edbf10f22, []int{0} } func (m *MsgCreateValidator) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -76,7 +76,7 @@ func (m *MsgCreateValidatorResponse) Reset() { *m = MsgCreateValidatorRe func (m *MsgCreateValidatorResponse) String() string { return proto.CompactTextString(m) } func (*MsgCreateValidatorResponse) ProtoMessage() {} func (*MsgCreateValidatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3d1df81e3a65fd6a, []int{1} + return fileDescriptor_d6a4cc0edbf10f22, []int{1} } func (m *MsgCreateValidatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -116,7 +116,7 @@ func (m *MsgProposeDisableValidator) Reset() { *m = MsgProposeDisableVal func (m *MsgProposeDisableValidator) String() string { return proto.CompactTextString(m) } func (*MsgProposeDisableValidator) ProtoMessage() {} func (*MsgProposeDisableValidator) Descriptor() ([]byte, []int) { - return fileDescriptor_3d1df81e3a65fd6a, []int{2} + return fileDescriptor_d6a4cc0edbf10f22, []int{2} } func (m *MsgProposeDisableValidator) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -180,7 +180,7 @@ func (m *MsgProposeDisableValidatorResponse) Reset() { *m = MsgProposeDi func (m *MsgProposeDisableValidatorResponse) String() string { return proto.CompactTextString(m) } func (*MsgProposeDisableValidatorResponse) ProtoMessage() {} func (*MsgProposeDisableValidatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3d1df81e3a65fd6a, []int{3} + return fileDescriptor_d6a4cc0edbf10f22, []int{3} } func (m *MsgProposeDisableValidatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -220,7 +220,7 @@ func (m *MsgApproveDisableValidator) Reset() { *m = MsgApproveDisableVal func (m *MsgApproveDisableValidator) String() string { return proto.CompactTextString(m) } func (*MsgApproveDisableValidator) ProtoMessage() {} func (*MsgApproveDisableValidator) Descriptor() ([]byte, []int) { - return fileDescriptor_3d1df81e3a65fd6a, []int{4} + return fileDescriptor_d6a4cc0edbf10f22, []int{4} } func (m *MsgApproveDisableValidator) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -284,7 +284,7 @@ func (m *MsgApproveDisableValidatorResponse) Reset() { *m = MsgApproveDi func (m *MsgApproveDisableValidatorResponse) String() string { return proto.CompactTextString(m) } func (*MsgApproveDisableValidatorResponse) ProtoMessage() {} func (*MsgApproveDisableValidatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3d1df81e3a65fd6a, []int{5} + return fileDescriptor_d6a4cc0edbf10f22, []int{5} } func (m *MsgApproveDisableValidatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -321,7 +321,7 @@ func (m *MsgDisableValidator) Reset() { *m = MsgDisableValidator{} } func (m *MsgDisableValidator) String() string { return proto.CompactTextString(m) } func (*MsgDisableValidator) ProtoMessage() {} func (*MsgDisableValidator) Descriptor() ([]byte, []int) { - return fileDescriptor_3d1df81e3a65fd6a, []int{6} + return fileDescriptor_d6a4cc0edbf10f22, []int{6} } func (m *MsgDisableValidator) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -364,7 +364,7 @@ func (m *MsgDisableValidatorResponse) Reset() { *m = MsgDisableValidator func (m *MsgDisableValidatorResponse) String() string { return proto.CompactTextString(m) } func (*MsgDisableValidatorResponse) ProtoMessage() {} func (*MsgDisableValidatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3d1df81e3a65fd6a, []int{7} + return fileDescriptor_d6a4cc0edbf10f22, []int{7} } func (m *MsgDisableValidatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -401,7 +401,7 @@ func (m *MsgEnableValidator) Reset() { *m = MsgEnableValidator{} } func (m *MsgEnableValidator) String() string { return proto.CompactTextString(m) } func (*MsgEnableValidator) ProtoMessage() {} func (*MsgEnableValidator) Descriptor() ([]byte, []int) { - return fileDescriptor_3d1df81e3a65fd6a, []int{8} + return fileDescriptor_d6a4cc0edbf10f22, []int{8} } func (m *MsgEnableValidator) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -444,7 +444,7 @@ func (m *MsgEnableValidatorResponse) Reset() { *m = MsgEnableValidatorRe func (m *MsgEnableValidatorResponse) String() string { return proto.CompactTextString(m) } func (*MsgEnableValidatorResponse) ProtoMessage() {} func (*MsgEnableValidatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3d1df81e3a65fd6a, []int{9} + return fileDescriptor_d6a4cc0edbf10f22, []int{9} } func (m *MsgEnableValidatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -484,7 +484,7 @@ func (m *MsgRejectDisableValidator) Reset() { *m = MsgRejectDisableValid func (m *MsgRejectDisableValidator) String() string { return proto.CompactTextString(m) } func (*MsgRejectDisableValidator) ProtoMessage() {} func (*MsgRejectDisableValidator) Descriptor() ([]byte, []int) { - return fileDescriptor_3d1df81e3a65fd6a, []int{10} + return fileDescriptor_d6a4cc0edbf10f22, []int{10} } func (m *MsgRejectDisableValidator) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -548,7 +548,7 @@ func (m *MsgRejectDisableValidatorResponse) Reset() { *m = MsgRejectDisa func (m *MsgRejectDisableValidatorResponse) String() string { return proto.CompactTextString(m) } func (*MsgRejectDisableValidatorResponse) ProtoMessage() {} func (*MsgRejectDisableValidatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3d1df81e3a65fd6a, []int{11} + return fileDescriptor_d6a4cc0edbf10f22, []int{11} } func (m *MsgRejectDisableValidatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -578,67 +578,66 @@ func (m *MsgRejectDisableValidatorResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgRejectDisableValidatorResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*MsgCreateValidator)(nil), "zigbeealliance.distributedcomplianceledger.validator.MsgCreateValidator") - proto.RegisterType((*MsgCreateValidatorResponse)(nil), "zigbeealliance.distributedcomplianceledger.validator.MsgCreateValidatorResponse") - proto.RegisterType((*MsgProposeDisableValidator)(nil), "zigbeealliance.distributedcomplianceledger.validator.MsgProposeDisableValidator") - proto.RegisterType((*MsgProposeDisableValidatorResponse)(nil), "zigbeealliance.distributedcomplianceledger.validator.MsgProposeDisableValidatorResponse") - proto.RegisterType((*MsgApproveDisableValidator)(nil), "zigbeealliance.distributedcomplianceledger.validator.MsgApproveDisableValidator") - proto.RegisterType((*MsgApproveDisableValidatorResponse)(nil), "zigbeealliance.distributedcomplianceledger.validator.MsgApproveDisableValidatorResponse") - proto.RegisterType((*MsgDisableValidator)(nil), "zigbeealliance.distributedcomplianceledger.validator.MsgDisableValidator") - proto.RegisterType((*MsgDisableValidatorResponse)(nil), "zigbeealliance.distributedcomplianceledger.validator.MsgDisableValidatorResponse") - proto.RegisterType((*MsgEnableValidator)(nil), "zigbeealliance.distributedcomplianceledger.validator.MsgEnableValidator") - proto.RegisterType((*MsgEnableValidatorResponse)(nil), "zigbeealliance.distributedcomplianceledger.validator.MsgEnableValidatorResponse") - proto.RegisterType((*MsgRejectDisableValidator)(nil), "zigbeealliance.distributedcomplianceledger.validator.MsgRejectDisableValidator") - proto.RegisterType((*MsgRejectDisableValidatorResponse)(nil), "zigbeealliance.distributedcomplianceledger.validator.MsgRejectDisableValidatorResponse") -} - -func init() { proto.RegisterFile("validator/tx.proto", fileDescriptor_3d1df81e3a65fd6a) } - -var fileDescriptor_3d1df81e3a65fd6a = []byte{ - // 678 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x96, 0x4d, 0x6b, 0x13, 0x41, - 0x18, 0xc7, 0x33, 0x6d, 0xa8, 0xed, 0xf4, 0xa0, 0x4c, 0x8b, 0x4d, 0x53, 0xdd, 0xd4, 0xd5, 0x43, - 0x41, 0xb2, 0x2b, 0xb5, 0x08, 0x16, 0x3c, 0x24, 0x56, 0x7c, 0x23, 0x58, 0x57, 0x50, 0x11, 0xa4, - 0xee, 0xcb, 0x74, 0x1c, 0xd9, 0xec, 0xac, 0x33, 0x93, 0xda, 0xf8, 0x09, 0x3c, 0xfa, 0x11, 0xfa, - 0x05, 0x04, 0x05, 0x3f, 0x81, 0x20, 0x14, 0x4f, 0xc5, 0x93, 0xa7, 0x22, 0xed, 0xc5, 0x8b, 0x17, - 0xfd, 0x02, 0x92, 0x7d, 0xc9, 0x6e, 0x37, 0x5d, 0x85, 0x6d, 0x7a, 0xf2, 0xb6, 0x9b, 0x27, 0xcf, - 0xef, 0xff, 0x3c, 0xff, 0x67, 0xe6, 0x61, 0x21, 0xda, 0x30, 0x5d, 0xea, 0x98, 0x92, 0x71, 0x5d, - 0x6e, 0x6a, 0x3e, 0x67, 0x92, 0xa1, 0xa5, 0xd7, 0x94, 0x58, 0x18, 0x9b, 0xae, 0x4b, 0x4d, 0xcf, - 0xc6, 0x9a, 0x43, 0x85, 0xe4, 0xd4, 0xea, 0x48, 0xec, 0xd8, 0xac, 0xed, 0x87, 0xbf, 0xba, 0xd8, - 0x21, 0x98, 0x6b, 0xfd, 0xf4, 0xea, 0x5c, 0x42, 0x72, 0xb0, 0xb0, 0x39, 0xf5, 0x25, 0x65, 0x5e, - 0x88, 0xac, 0xce, 0x12, 0xc6, 0x88, 0x8b, 0xf5, 0xe0, 0xcd, 0xea, 0xac, 0xeb, 0xa6, 0xd7, 0x8d, - 0x42, 0xd3, 0x84, 0x11, 0x16, 0x3c, 0xea, 0xbd, 0xa7, 0x38, 0xc1, 0x66, 0xa2, 0xcd, 0xc4, 0x5a, - 0x18, 0x08, 0x5f, 0xc2, 0x90, 0xfa, 0x61, 0x04, 0xa2, 0x96, 0x20, 0xd7, 0x39, 0x36, 0x25, 0x7e, - 0x18, 0x8b, 0xa2, 0x9b, 0x70, 0x4c, 0x50, 0xe2, 0x61, 0x5e, 0x01, 0xf3, 0x60, 0x61, 0xa2, 0xa9, - 0xff, 0xda, 0xad, 0x4d, 0x45, 0x35, 0xe1, 0x65, 0x95, 0xe3, 0x97, 0x1d, 0xca, 0xb1, 0xa3, 0x7e, - 0xfd, 0x58, 0x9f, 0x8e, 0x78, 0x0d, 0xc7, 0xe1, 0x58, 0x88, 0x07, 0x92, 0x53, 0x8f, 0x18, 0x51, - 0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0xa5, 0x9d, 0x7d, 0xa5, 0xf4, - 0x6d, 0x5f, 0x29, 0x3d, 0xb9, 0x43, 0xa8, 0x7c, 0xde, 0xb1, 0x34, 0x9b, 0xb5, 0xf5, 0x50, 0xbc, - 0x1e, 0xab, 0xeb, 0x29, 0xf5, 0x7a, 0x22, 0x5f, 0x0f, 0xf5, 0xf5, 0x4d, 0x3d, 0xf5, 0x7d, 0xda, - 0xf5, 0xb1, 0xb0, 0xc6, 0x82, 0xaf, 0xb0, 0xcb, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x29, 0x83, - 0x28, 0x2c, 0xb9, 0x0a, 0x00, 0x00, + proto.RegisterType((*MsgCreateValidator)(nil), "validator.types.MsgCreateValidator") + proto.RegisterType((*MsgCreateValidatorResponse)(nil), "validator.types.MsgCreateValidatorResponse") + proto.RegisterType((*MsgProposeDisableValidator)(nil), "validator.types.MsgProposeDisableValidator") + proto.RegisterType((*MsgProposeDisableValidatorResponse)(nil), "validator.types.MsgProposeDisableValidatorResponse") + proto.RegisterType((*MsgApproveDisableValidator)(nil), "validator.types.MsgApproveDisableValidator") + proto.RegisterType((*MsgApproveDisableValidatorResponse)(nil), "validator.types.MsgApproveDisableValidatorResponse") + proto.RegisterType((*MsgDisableValidator)(nil), "validator.types.MsgDisableValidator") + proto.RegisterType((*MsgDisableValidatorResponse)(nil), "validator.types.MsgDisableValidatorResponse") + proto.RegisterType((*MsgEnableValidator)(nil), "validator.types.MsgEnableValidator") + proto.RegisterType((*MsgEnableValidatorResponse)(nil), "validator.types.MsgEnableValidatorResponse") + proto.RegisterType((*MsgRejectDisableValidator)(nil), "validator.types.MsgRejectDisableValidator") + proto.RegisterType((*MsgRejectDisableValidatorResponse)(nil), "validator.types.MsgRejectDisableValidatorResponse") +} + +func init() { proto.RegisterFile("validator/types/tx.proto", fileDescriptor_d6a4cc0edbf10f22) } + +var fileDescriptor_d6a4cc0edbf10f22 = []byte{ + // 660 bytes of a gzipped FileDescriptorProto + 0x1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, 0xa5, 0x6d, 0xcc, 0x81, 0xca, 0xdb, 0x58, 0x71, 0xa3, 0x61, 0x17, 0x5c, 0xaa, 0xb8, + 0xce, 0x57, 0xcb, 0x68, 0xca, 0xb1, 0xfa, 0xea, 0xe9, 0xb1, 0x99, 0x72, 0x33, 0xd8, 0x3f, 0x32, + 0xd4, 0x83, 0x23, 0x43, 0xfd, 0x7a, 0x64, 0xa8, 0xef, 0x8f, 0x0d, 0xe5, 0xe0, 0xd8, 0x50, 0xbe, + 0x1c, 0x1b, 0xca, 0x93, 0x07, 0x98, 0x88, 0xe7, 0x1d, 0xcf, 0xf2, 0x69, 0xdb, 0x7e, 0x4d, 0xb0, + 0x87, 0x50, 0xc3, 0x0d, 0x43, 0xe2, 0x46, 0x3e, 0xb2, 0x03, 0xc2, 0x05, 0x23, 0x5e, 0x47, 0xa0, + 0xa0, 0xe1, 0xd3, 0x76, 0x9c, 0xfc, 0xdc, 0x08, 0x51, 0x80, 0x11, 0xb3, 0xbb, 0x76, 0xee, 0xa3, + 0xc3, 0x1b, 0x93, 0x7f, 0xcf, 0x6b, 0x3f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xf3, 0x20, 0x8e, 0xf3, + 0xb9, 0x08, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -671,7 +670,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { func (c *msgClient) CreateValidator(ctx context.Context, in *MsgCreateValidator, opts ...grpc.CallOption) (*MsgCreateValidatorResponse, error) { out := new(MsgCreateValidatorResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.validator.Msg/CreateValidator", in, out, opts...) + err := c.cc.Invoke(ctx, "/validator.types.Msg/CreateValidator", in, out, opts...) if err != nil { return nil, err } @@ -680,7 +679,7 @@ func (c *msgClient) CreateValidator(ctx context.Context, in *MsgCreateValidator, func (c *msgClient) ProposeDisableValidator(ctx context.Context, in *MsgProposeDisableValidator, opts ...grpc.CallOption) (*MsgProposeDisableValidatorResponse, error) { out := new(MsgProposeDisableValidatorResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.validator.Msg/ProposeDisableValidator", in, out, opts...) + err := c.cc.Invoke(ctx, "/validator.types.Msg/ProposeDisableValidator", in, out, opts...) if err != nil { return nil, err } @@ -689,7 +688,7 @@ func (c *msgClient) ProposeDisableValidator(ctx context.Context, in *MsgProposeD func (c *msgClient) ApproveDisableValidator(ctx context.Context, in *MsgApproveDisableValidator, opts ...grpc.CallOption) (*MsgApproveDisableValidatorResponse, error) { out := new(MsgApproveDisableValidatorResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.validator.Msg/ApproveDisableValidator", in, out, opts...) + err := c.cc.Invoke(ctx, "/validator.types.Msg/ApproveDisableValidator", in, out, opts...) if err != nil { return nil, err } @@ -698,7 +697,7 @@ func (c *msgClient) ApproveDisableValidator(ctx context.Context, in *MsgApproveD func (c *msgClient) DisableValidator(ctx context.Context, in *MsgDisableValidator, opts ...grpc.CallOption) (*MsgDisableValidatorResponse, error) { out := new(MsgDisableValidatorResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.validator.Msg/DisableValidator", in, out, opts...) + err := c.cc.Invoke(ctx, "/validator.types.Msg/DisableValidator", in, out, opts...) if err != nil { return nil, err } @@ -707,7 +706,7 @@ func (c *msgClient) DisableValidator(ctx context.Context, in *MsgDisableValidato func (c *msgClient) EnableValidator(ctx context.Context, in *MsgEnableValidator, opts ...grpc.CallOption) (*MsgEnableValidatorResponse, error) { out := new(MsgEnableValidatorResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.validator.Msg/EnableValidator", in, out, opts...) + err := c.cc.Invoke(ctx, "/validator.types.Msg/EnableValidator", in, out, opts...) if err != nil { return nil, err } @@ -716,7 +715,7 @@ func (c *msgClient) EnableValidator(ctx context.Context, in *MsgEnableValidator, func (c *msgClient) RejectDisableValidator(ctx context.Context, in *MsgRejectDisableValidator, opts ...grpc.CallOption) (*MsgRejectDisableValidatorResponse, error) { out := new(MsgRejectDisableValidatorResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.validator.Msg/RejectDisableValidator", in, out, opts...) + err := c.cc.Invoke(ctx, "/validator.types.Msg/RejectDisableValidator", in, out, opts...) if err != nil { return nil, err } @@ -770,7 +769,7 @@ func _Msg_CreateValidator_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.validator.Msg/CreateValidator", + FullMethod: "/validator.types.Msg/CreateValidator", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).CreateValidator(ctx, req.(*MsgCreateValidator)) @@ -788,7 +787,7 @@ func _Msg_ProposeDisableValidator_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.validator.Msg/ProposeDisableValidator", + FullMethod: "/validator.types.Msg/ProposeDisableValidator", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ProposeDisableValidator(ctx, req.(*MsgProposeDisableValidator)) @@ -806,7 +805,7 @@ func _Msg_ApproveDisableValidator_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.validator.Msg/ApproveDisableValidator", + FullMethod: "/validator.types.Msg/ApproveDisableValidator", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ApproveDisableValidator(ctx, req.(*MsgApproveDisableValidator)) @@ -824,7 +823,7 @@ func _Msg_DisableValidator_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.validator.Msg/DisableValidator", + FullMethod: "/validator.types.Msg/DisableValidator", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).DisableValidator(ctx, req.(*MsgDisableValidator)) @@ -842,7 +841,7 @@ func _Msg_EnableValidator_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.validator.Msg/EnableValidator", + FullMethod: "/validator.types.Msg/EnableValidator", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).EnableValidator(ctx, req.(*MsgEnableValidator)) @@ -860,7 +859,7 @@ func _Msg_RejectDisableValidator_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.validator.Msg/RejectDisableValidator", + FullMethod: "/validator.types.Msg/RejectDisableValidator", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).RejectDisableValidator(ctx, req.(*MsgRejectDisableValidator)) @@ -869,7 +868,7 @@ func _Msg_RejectDisableValidator_Handler(srv interface{}, ctx context.Context, d } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "zigbeealliance.distributedcomplianceledger.validator.Msg", + ServiceName: "validator.types.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -898,7 +897,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "validator/tx.proto", + Metadata: "validator/types/tx.proto", } func (m *MsgCreateValidator) Marshal() (dAtA []byte, err error) { diff --git a/x/validator/types/validator.pb.go b/x/validator/types/validator.pb.go index 0f9e8d2f4..f5f348723 100644 --- a/x/validator/types/validator.pb.go +++ b/x/validator/types/validator.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: validator/validator.proto +// source: validator/types/validator.proto package types @@ -43,7 +43,7 @@ type Validator struct { func (m *Validator) Reset() { *m = Validator{} } func (*Validator) ProtoMessage() {} func (*Validator) Descriptor() ([]byte, []int) { - return fileDescriptor_e972accd7c1f0747, []int{0} + return fileDescriptor_dff93f2fc445dec7, []int{0} } func (m *Validator) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -73,38 +73,38 @@ func (m *Validator) XXX_DiscardUnknown() { var xxx_messageInfo_Validator proto.InternalMessageInfo func init() { - proto.RegisterType((*Validator)(nil), "zigbeealliance.distributedcomplianceledger.validator.Validator") + proto.RegisterType((*Validator)(nil), "validator.types.Validator") } -func init() { proto.RegisterFile("validator/validator.proto", fileDescriptor_e972accd7c1f0747) } +func init() { proto.RegisterFile("validator/types/validator.proto", fileDescriptor_dff93f2fc445dec7) } -var fileDescriptor_e972accd7c1f0747 = []byte{ - // 394 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0xb1, 0x8e, 0xd4, 0x30, - 0x10, 0x86, 0xe3, 0x83, 0x44, 0x9c, 0xef, 0xaa, 0x28, 0x42, 0xde, 0x43, 0xca, 0x46, 0x57, 0xa5, - 0x89, 0x2d, 0x01, 0x15, 0xdd, 0xae, 0x10, 0x05, 0x34, 0x28, 0x48, 0x14, 0x34, 0x28, 0x89, 0x8d, - 0x31, 0xca, 0x66, 0x22, 0xdb, 0xe1, 0x08, 0x4f, 0x40, 0x49, 0x49, 0xb9, 0x0f, 0xc1, 0x43, 0x9c, - 0xa8, 0x56, 0x54, 0x94, 0x68, 0xb7, 0xe1, 0x31, 0xd0, 0xc6, 0xd9, 0xcd, 0xd2, 0xd2, 0xfd, 0x33, - 0xbf, 0xe7, 0xd7, 0xcc, 0x27, 0xe3, 0xd9, 0xc7, 0xa2, 0x56, 0xbc, 0xb0, 0xa0, 0xd9, 0x51, 0xd1, - 0x56, 0x83, 0x85, 0xf0, 0xf1, 0x67, 0x25, 0x4b, 0x21, 0x8a, 0xba, 0x56, 0x45, 0x53, 0x09, 0xca, - 0x95, 0xb1, 0x5a, 0x95, 0x9d, 0x15, 0xbc, 0x82, 0x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 0xc2, 0x40, - 0x43, 0x82, 0x3d, 0x91, 0xfc, 0x9f, 0xde, 0x93, 0xcb, 0x2f, 0xeb, 0xb9, 0xf7, 0x6d, 0x3d, 0xf7, - 0xfe, 0xac, 0xe7, 0xde, 0x92, 0xdf, 0x6e, 0x63, 0xb4, 0xd9, 0xc6, 0xe8, 0xf7, 0x36, 0x46, 0x5f, - 0x77, 0xb1, 0xb7, 0xd9, 0xc5, 0xde, 0xaf, 0x5d, 0xec, 0xbd, 0x79, 0x2e, 0x95, 0x7d, 0xdf, 0x95, - 0xb4, 0x82, 0x15, 0x73, 0x6c, 0xb2, 0x03, 0x1c, 0x76, 0x02, 0x27, 0x9b, 0xe8, 0x64, 0x0e, 0x0f, - 0xfb, 0x34, 0xfd, 0x27, 0x66, 0xfb, 0x56, 0x98, 0x32, 0x18, 0xae, 0x7e, 0xf4, 0x37, 0x00, 0x00, - 0xff, 0xff, 0x58, 0x0e, 0xb0, 0x72, 0x73, 0x02, 0x00, 0x00, +var fileDescriptor_dff93f2fc445dec7 = []byte{ + // 386 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x91, 0x31, 0x8b, 0xd4, 0x40, + 0x18, 0x86, 0x33, 0xa7, 0x09, 0xde, 0xdc, 0x81, 0x10, 0x82, 0xcc, 0x1d, 0x92, 0xc4, 0xab, 0xd2, + 0x64, 0x06, 0xb4, 0xb3, 0x10, 0x6e, 0x11, 0x0b, 0x6d, 0x24, 0x82, 0x85, 0x8d, 0x24, 0x99, 0x71, + 0x1c, 0xc9, 0xe6, 0x0b, 0x33, 0x13, 0xd7, 0xf8, 0x0b, 0x2c, 0x2d, 0x2d, 0x17, 0xfc, 0x0b, 0xfe, + 0x08, 0xb1, 0x5a, 0xac, 0x2c, 0x65, 0xb7, 0xf1, 0x67, 0xc8, 0x66, 0xb2, 0xee, 0xba, 0xdd, 0xf7, + 0xbe, 0xdf, 0x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0x2b, 0x55, 0x23, 0x38, 0xf1, 0x53, 0x94, + 0xdd, 0x2a, 0x26, 0x15, 0x5e, 0xe1, 0x73, 0x37, 0x15, 0xa2, 0x34, 0xd0, 0x92, 0x60, 0x5b, 0xb6, + 0xf8, 0xcf, 0x7b, 0x78, 0xfe, 0x69, 0x99, 0x78, 0x5f, 0x96, 0x89, 0xf7, 0x67, 0x99, 0x78, 0x33, + 0xfe, 0x7d, 0x1d, 0xa3, 0xd5, 0x3a, 0x46, 0xbf, 0xd7, 0x31, 0xfa, 0xbc, 0x89, 0xbd, 0xd5, 0x26, + 0xf6, 0x7e, 0x6d, 0x62, 0xef, 0xd5, 0x53, 0xa9, 0xec, 0xdb, 0xbe, 0xa2, 0x35, 0xcc, 0xd9, 0x47, + 0x25, 0x2b, 0x21, 0xf2, 0xb2, 0x69, 0x54, 0xd9, 0xd6, 0x82, 0x71, 0x65, 0xac, 0x56, 0x55, 0x6f, + 0x05, 0xcf, 0x6b, 0x98, 0x77, 0xce, 0xce, 0x1b, 0xc1, 0xa5, 0xd0, 0xec, 0x03, 0x3b, 0x7a, 0x9d, + 0x2a, 0x18, 0x5b, 0x3f, 0xf8, 0x1b, 0x00, 0x00, 0xff, 0xff, 0xbe, 0x35, 0xbd, 0xf4, 0x35, 0x02, + 0x00, 0x00, } func (m *Validator) Marshal() (dAtA []byte, err error) { diff --git a/x/vendorinfo/types/genesis.pb.go b/x/vendorinfo/types/genesis.pb.go index c5735874f..d001c3d07 100644 --- a/x/vendorinfo/types/genesis.pb.go +++ b/x/vendorinfo/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: vendorinfo/genesis.proto +// source: vendorinfo/types/genesis.proto package types @@ -32,7 +32,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} } func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_742c4342512de36b, []int{0} + return fileDescriptor_97a57510e28cd194, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -69,28 +69,28 @@ func (m *GenesisState) GetVendorInfoList() []VendorInfo { } func init() { - proto.RegisterType((*GenesisState)(nil), "zigbeealliance.distributedcomplianceledger.vendorinfo.GenesisState") + proto.RegisterType((*GenesisState)(nil), "vendorinfo.types.GenesisState") } -func init() { proto.RegisterFile("vendorinfo/genesis.proto", fileDescriptor_742c4342512de36b) } +func init() { proto.RegisterFile("vendorinfo/types/genesis.proto", fileDescriptor_97a57510e28cd194) } -var fileDescriptor_742c4342512de36b = []byte{ - // 239 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x28, 0x4b, 0xcd, 0x4b, - 0xc9, 0x2f, 0xca, 0xcc, 0x4b, 0xcb, 0xd7, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, - 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x32, 0xad, 0xca, 0x4c, 0x4f, 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, - 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4b, 0xc9, 0x2c, 0x2e, 0x29, 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, - 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, 0xa7, 0x16, 0xe9, 0x21, 0x0c, 0x91, - 0x92, 0x41, 0x32, 0x10, 0xc2, 0x8c, 0x07, 0xb1, 0x21, 0x86, 0x4a, 0x89, 0xa4, 0xe7, 0xa7, 0xe7, - 0x83, 0x99, 0xfa, 0x20, 0x16, 0x44, 0x54, 0xa9, 0x9e, 0x8b, 0xc7, 0x1d, 0x62, 0x77, 0x70, 0x49, - 0x62, 0x49, 0xaa, 0x50, 0x3e, 0x17, 0x1f, 0x44, 0xab, 0x67, 0x5e, 0x5a, 0xbe, 0x4f, 0x66, 0x71, - 0x89, 0x04, 0xa3, 0x02, 0xb3, 0x06, 0xb7, 0x91, 0xa3, 0x1e, 0x59, 0x6e, 0xd2, 0x0b, 0x83, 0x1b, - 0xe6, 0xc4, 0x72, 0xe2, 0x9e, 0x3c, 0x43, 0x10, 0x9a, 0xf1, 0x4e, 0xa9, 0x27, 0x1e, 0xc9, 0x31, - 0x5e, 0x78, 0x24, 0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, - 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0xe5, 0x9d, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, - 0x9f, 0xab, 0x0f, 0xb1, 0x5c, 0x17, 0x66, 0xbb, 0x3e, 0x92, 0xed, 0xba, 0x08, 0xeb, 0x75, 0x21, - 0xf6, 0xeb, 0x57, 0xe8, 0x23, 0x85, 0x44, 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0xd8, 0xbb, - 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc4, 0xf8, 0x50, 0xfd, 0x75, 0x01, 0x00, 0x00, +var fileDescriptor_97a57510e28cd194 = []byte{ + // 229 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2b, 0x4b, 0xcd, 0x4b, + 0xc9, 0x2f, 0xca, 0xcc, 0x4b, 0xcb, 0xd7, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x4f, 0x4f, 0xcd, + 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x40, 0xc8, 0xeb, 0x81, + 0xe5, 0xa5, 0x94, 0x30, 0x74, 0x40, 0x04, 0xe2, 0xc1, 0x6a, 0xc0, 0xba, 0xa4, 0x44, 0xd2, 0xf3, + 0xd3, 0xf3, 0xc1, 0x4c, 0x7d, 0x10, 0x0b, 0x22, 0xaa, 0x14, 0xc5, 0xc5, 0xe3, 0x0e, 0x31, 0x3c, + 0xb8, 0x24, 0xb1, 0x24, 0x55, 0xc8, 0x8b, 0x8b, 0x0f, 0xa2, 0xd5, 0x33, 0x2f, 0x2d, 0xdf, 0x27, + 0xb3, 0xb8, 0x44, 0x82, 0x51, 0x81, 0x59, 0x83, 0xdb, 0x48, 0x46, 0x0f, 0xdd, 0x52, 0xbd, 0x30, + 0xb8, 0x3a, 0x27, 0x96, 0x13, 0xf7, 0xe4, 0x19, 0x82, 0xd0, 0x74, 0x3a, 0xa5, 0x9e, 0x78, 0x24, + 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, + 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x77, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, + 0x72, 0x7e, 0xae, 0x7e, 0x55, 0x66, 0x7a, 0x52, 0x6a, 0xaa, 0x6e, 0x62, 0x4e, 0x4e, 0x66, 0x62, + 0x5e, 0x72, 0xaa, 0x7e, 0x4a, 0x66, 0x71, 0x49, 0x51, 0x66, 0x52, 0x69, 0x49, 0x6a, 0x8a, 0x6e, + 0x72, 0x7e, 0x6e, 0x01, 0x44, 0x58, 0x37, 0x27, 0x35, 0x25, 0x3d, 0xb5, 0x48, 0xbf, 0x42, 0x1f, + 0xdd, 0xab, 0x49, 0x6c, 0x60, 0x9f, 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x9d, 0xb4, 0x02, + 0x36, 0x37, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/vendorinfo/types/query.pb.go b/x/vendorinfo/types/query.pb.go index 7544b3fd6..fe6f94c87 100644 --- a/x/vendorinfo/types/query.pb.go +++ b/x/vendorinfo/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: vendorinfo/query.proto +// source: vendorinfo/types/query.proto package types @@ -38,7 +38,7 @@ func (m *QueryGetVendorInfoRequest) Reset() { *m = QueryGetVendorInfoReq func (m *QueryGetVendorInfoRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetVendorInfoRequest) ProtoMessage() {} func (*QueryGetVendorInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e4af47a04389bb67, []int{0} + return fileDescriptor_d8594c616d7eb3b1, []int{0} } func (m *QueryGetVendorInfoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -82,7 +82,7 @@ func (m *QueryGetVendorInfoResponse) Reset() { *m = QueryGetVendorInfoRe func (m *QueryGetVendorInfoResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetVendorInfoResponse) ProtoMessage() {} func (*QueryGetVendorInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e4af47a04389bb67, []int{1} + return fileDescriptor_d8594c616d7eb3b1, []int{1} } func (m *QueryGetVendorInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -126,7 +126,7 @@ func (m *QueryAllVendorInfoRequest) Reset() { *m = QueryAllVendorInfoReq func (m *QueryAllVendorInfoRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllVendorInfoRequest) ProtoMessage() {} func (*QueryAllVendorInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e4af47a04389bb67, []int{2} + return fileDescriptor_d8594c616d7eb3b1, []int{2} } func (m *QueryAllVendorInfoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -171,7 +171,7 @@ func (m *QueryAllVendorInfoResponse) Reset() { *m = QueryAllVendorInfoRe func (m *QueryAllVendorInfoResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllVendorInfoResponse) ProtoMessage() {} func (*QueryAllVendorInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e4af47a04389bb67, []int{3} + return fileDescriptor_d8594c616d7eb3b1, []int{3} } func (m *QueryAllVendorInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -215,46 +215,45 @@ func (m *QueryAllVendorInfoResponse) GetPagination() *query.PageResponse { } func init() { - proto.RegisterType((*QueryGetVendorInfoRequest)(nil), "zigbeealliance.distributedcomplianceledger.vendorinfo.QueryGetVendorInfoRequest") - proto.RegisterType((*QueryGetVendorInfoResponse)(nil), "zigbeealliance.distributedcomplianceledger.vendorinfo.QueryGetVendorInfoResponse") - proto.RegisterType((*QueryAllVendorInfoRequest)(nil), "zigbeealliance.distributedcomplianceledger.vendorinfo.QueryAllVendorInfoRequest") - proto.RegisterType((*QueryAllVendorInfoResponse)(nil), "zigbeealliance.distributedcomplianceledger.vendorinfo.QueryAllVendorInfoResponse") + proto.RegisterType((*QueryGetVendorInfoRequest)(nil), "vendorinfo.types.QueryGetVendorInfoRequest") + proto.RegisterType((*QueryGetVendorInfoResponse)(nil), "vendorinfo.types.QueryGetVendorInfoResponse") + proto.RegisterType((*QueryAllVendorInfoRequest)(nil), "vendorinfo.types.QueryAllVendorInfoRequest") + proto.RegisterType((*QueryAllVendorInfoResponse)(nil), "vendorinfo.types.QueryAllVendorInfoResponse") } -func init() { proto.RegisterFile("vendorinfo/query.proto", fileDescriptor_e4af47a04389bb67) } +func init() { proto.RegisterFile("vendorinfo/types/query.proto", fileDescriptor_d8594c616d7eb3b1) } -var fileDescriptor_e4af47a04389bb67 = []byte{ - // 467 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x94, 0xc1, 0x6b, 0xd4, 0x40, - 0x14, 0xc6, 0x37, 0xad, 0x15, 0x19, 0xf1, 0x32, 0x88, 0xda, 0x50, 0x52, 0x09, 0xa2, 0x52, 0xd8, - 0x19, 0x5a, 0x11, 0xcf, 0x5b, 0xc4, 0x52, 0xbc, 0xb4, 0x7b, 0xf0, 0xe0, 0x45, 0x26, 0xc9, 0xeb, - 0x38, 0x30, 0x3b, 0x2f, 0xcd, 0xcc, 0x2e, 0x56, 0xf1, 0x22, 0x78, 0x17, 0xfc, 0x83, 0xbc, 0xf6, - 0x24, 0x05, 0x11, 0xbc, 0x28, 0xb2, 0xeb, 0x1f, 0x22, 0xc9, 0x64, 0x9b, 0x68, 0x77, 0x11, 0xba, - 0xf6, 0xf6, 0x32, 0x99, 0xf7, 0xbd, 0xef, 0xf7, 0xf2, 0x11, 0x72, 0x63, 0x04, 0x26, 0xc3, 0x42, - 0x99, 0x03, 0xe4, 0x87, 0x43, 0x28, 0x8e, 0x58, 0x5e, 0xa0, 0x43, 0xfa, 0xf0, 0xb5, 0x92, 0x09, - 0x80, 0xd0, 0x5a, 0x09, 0x93, 0x02, 0xcb, 0x94, 0x75, 0x85, 0x4a, 0x86, 0x0e, 0xb2, 0x14, 0x07, - 0xb9, 0x3f, 0xd5, 0x90, 0x49, 0x28, 0x58, 0x23, 0x11, 0xae, 0x49, 0x44, 0xa9, 0x81, 0x8b, 0x5c, - 0x71, 0x61, 0x0c, 0x3a, 0xe1, 0x14, 0x1a, 0xeb, 0x45, 0xc3, 0x8d, 0x14, 0xed, 0x00, 0x2d, 0x4f, - 0x84, 0x05, 0x3f, 0x8d, 0x8f, 0x36, 0x13, 0x70, 0x62, 0x93, 0xe7, 0x42, 0x2a, 0x53, 0x5d, 0xae, - 0xef, 0xae, 0xb5, 0x8c, 0xf9, 0xf2, 0x45, 0x59, 0xd7, 0x6f, 0xaf, 0x4b, 0x94, 0x58, 0x95, 0xbc, - 0xac, 0xfc, 0x69, 0xfc, 0x88, 0xac, 0xee, 0x97, 0xaa, 0x3b, 0xe0, 0x9e, 0x55, 0x2d, 0xbb, 0xe6, - 0x00, 0xfb, 0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, 0x9b, 0x73, 0x10, 0xb7, 0xe1, 0x78, 0x1c, 0x05, - 0x27, 0xe3, 0x28, 0xf8, 0x39, 0x8e, 0x82, 0x0f, 0x93, 0xa8, 0x73, 0x32, 0x89, 0x3a, 0xdf, 0x26, - 0x51, 0xe7, 0xf9, 0x53, 0xa9, 0xdc, 0xcb, 0x61, 0xc2, 0x52, 0x1c, 0x70, 0xef, 0xab, 0x3b, 0x35, - 0xc6, 0x5b, 0xc6, 0xba, 0x8d, 0xb3, 0xae, 0xb7, 0xc6, 0x5f, 0xb5, 0x07, 0xb9, 0xa3, 0x1c, 0x6c, - 0x72, 0xb9, 0xfa, 0x4d, 0x3c, 0xf8, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x4e, 0x8c, 0xd6, 0x1e, 0xf5, - 0x04, 0x00, 0x00, +var fileDescriptor_d8594c616d7eb3b1 = []byte{ + // 458 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0x41, 0x6b, 0x14, 0x31, + 0x14, 0xc7, 0x77, 0x56, 0x2b, 0x12, 0x11, 0x24, 0x08, 0xda, 0x61, 0x99, 0x4a, 0x10, 0x95, 0xea, + 0x26, 0xb4, 0x1e, 0x3c, 0x77, 0x11, 0x4b, 0xf1, 0xa2, 0x7b, 0xf0, 0xe0, 0x45, 0x33, 0x33, 0xaf, + 0x31, 0x90, 0x4d, 0xa6, 0x93, 0xec, 0x62, 0x15, 0x2f, 0x5e, 0xbd, 0x08, 0xfd, 0x14, 0xe2, 0x17, + 0xe9, 0xb1, 0xe0, 0xc5, 0x93, 0xc8, 0xae, 0x1f, 0x44, 0x36, 0x19, 0x77, 0xc6, 0xdd, 0x1d, 0xb4, + 0xb7, 0xcc, 0x9b, 0xf7, 0x7f, 0xff, 0x5f, 0xfe, 0x49, 0x50, 0x6f, 0x02, 0x3a, 0x37, 0xa5, 0xd4, + 0x87, 0x86, 0xb9, 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0xc7, 0x85, 0xf3, 0xef, 0x03, + 0xef, 0xff, 0x85, 0xda, 0xf5, 0xa8, 0x77, 0xff, 0x89, 0x1a, 0x00, 0x9a, 0xac, 0xbb, 0x5f, 0xbb, + 0x68, 0xc3, 0xb3, 0xe2, 0x93, 0x08, 0xa1, 0xda, 0x13, 0xdf, 0x5f, 0x25, 0x6a, 0x3d, 0xd4, 0xf8, + 0xc1, 0xff, 0x35, 0x07, 0x7f, 0xb2, 0xfd, 0xf1, 0xdb, 0xaf, 0x93, 0xee, 0x6d, 0x4c, 0x58, 0x9e, + 0x29, 0xd6, 0xb8, 0x66, 0x61, 0x69, 0xd9, 0xfb, 0x3f, 0x37, 0xe2, 0x03, 0xfe, 0x14, 0xa1, 0xab, + 0xf5, 0x88, 0x3d, 0xa5, 0x5a, 0xc1, 0xd6, 0x1d, 0x69, 0x2b, 0xd8, 0xda, 0x93, 0x21, 0x5b, 0x1e, + 0x6c, 0x13, 0xdf, 0x68, 0x01, 0x1b, 0xc0, 0xe9, 0x34, 0x89, 0xce, 0xa6, 0x49, 0xf4, 0x73, 0x9a, + 0x44, 0x9f, 0x67, 0x49, 0xe7, 0x6c, 0x96, 0x74, 0xbe, 0xcf, 0x92, 0xce, 0xcb, 0xa7, 0x42, 0xba, + 0x37, 0xe3, 0x94, 0x66, 0x66, 0xc4, 0xde, 0x49, 0x91, 0x02, 0xf4, 0xb9, 0x52, 0x92, 0xeb, 0x0c, + 0x58, 0x2e, 0xad, 0x2b, 0x65, 0x3a, 0x76, 0x90, 0xf7, 0x33, 0x33, 0x2a, 0x42, 0xb9, 0xaf, 0x20, + 0x17, 0x50, 0xb2, 0xb7, 0x6c, 0xf9, 0xa1, 0xa5, 0x97, 0xfc, 0x3b, 0x7a, 0xf8, 0x3b, 0x00, 0x00, + 0xff, 0xff, 0x4b, 0x20, 0x16, 0x8d, 0xfd, 0x03, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -285,7 +284,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) VendorInfo(ctx context.Context, in *QueryGetVendorInfoRequest, opts ...grpc.CallOption) (*QueryGetVendorInfoResponse, error) { out := new(QueryGetVendorInfoResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.vendorinfo.Query/VendorInfo", in, out, opts...) + err := c.cc.Invoke(ctx, "/vendorinfo.types.Query/VendorInfo", in, out, opts...) if err != nil { return nil, err } @@ -294,7 +293,7 @@ func (c *queryClient) VendorInfo(ctx context.Context, in *QueryGetVendorInfoRequ func (c *queryClient) VendorInfoAll(ctx context.Context, in *QueryAllVendorInfoRequest, opts ...grpc.CallOption) (*QueryAllVendorInfoResponse, error) { out := new(QueryAllVendorInfoResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.vendorinfo.Query/VendorInfoAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/vendorinfo.types.Query/VendorInfoAll", in, out, opts...) if err != nil { return nil, err } @@ -334,7 +333,7 @@ func _Query_VendorInfo_Handler(srv interface{}, ctx context.Context, dec func(in } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.vendorinfo.Query/VendorInfo", + FullMethod: "/vendorinfo.types.Query/VendorInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).VendorInfo(ctx, req.(*QueryGetVendorInfoRequest)) @@ -352,7 +351,7 @@ func _Query_VendorInfoAll_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.vendorinfo.Query/VendorInfoAll", + FullMethod: "/vendorinfo.types.Query/VendorInfoAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).VendorInfoAll(ctx, req.(*QueryAllVendorInfoRequest)) @@ -361,7 +360,7 @@ func _Query_VendorInfoAll_Handler(srv interface{}, ctx context.Context, dec func } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "zigbeealliance.distributedcomplianceledger.vendorinfo.Query", + ServiceName: "vendorinfo.types.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -374,7 +373,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "vendorinfo/query.proto", + Metadata: "vendorinfo/types/query.proto", } func (m *QueryGetVendorInfoRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/vendorinfo/types/query.pb.gw.go b/x/vendorinfo/types/query.pb.gw.go index a002c11a5..c57a5e7f4 100644 --- a/x/vendorinfo/types/query.pb.gw.go +++ b/x/vendorinfo/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: vendorinfo/query.proto +// source: vendorinfo/types/query.proto /* Package types is a reverse proxy. @@ -260,9 +260,9 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } var ( - pattern_Query_VendorInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"dcl", "vendorinfo", "vendors", "vendorID"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_VendorInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"dcl", "vendorinfo", "vendors", "vendorID"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_Query_VendorInfoAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "vendorinfo", "vendors"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_VendorInfoAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"dcl", "vendorinfo", "vendors"}, "", runtime.AssumeColonVerbOpt(false))) ) var ( diff --git a/x/vendorinfo/types/tx.pb.go b/x/vendorinfo/types/tx.pb.go index 13663cb6d..597948aee 100644 --- a/x/vendorinfo/types/tx.pb.go +++ b/x/vendorinfo/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: vendorinfo/tx.proto +// source: vendorinfo/types/tx.proto package types @@ -42,7 +42,7 @@ func (m *MsgCreateVendorInfo) Reset() { *m = MsgCreateVendorInfo{} } func (m *MsgCreateVendorInfo) String() string { return proto.CompactTextString(m) } func (*MsgCreateVendorInfo) ProtoMessage() {} func (*MsgCreateVendorInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_193d895112924f09, []int{0} + return fileDescriptor_cf1cc0ab68adeeb3, []int{0} } func (m *MsgCreateVendorInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -120,7 +120,7 @@ func (m *MsgCreateVendorInfoResponse) Reset() { *m = MsgCreateVendorInfo func (m *MsgCreateVendorInfoResponse) String() string { return proto.CompactTextString(m) } func (*MsgCreateVendorInfoResponse) ProtoMessage() {} func (*MsgCreateVendorInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_193d895112924f09, []int{1} + return fileDescriptor_cf1cc0ab68adeeb3, []int{1} } func (m *MsgCreateVendorInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -162,7 +162,7 @@ func (m *MsgUpdateVendorInfo) Reset() { *m = MsgUpdateVendorInfo{} } func (m *MsgUpdateVendorInfo) String() string { return proto.CompactTextString(m) } func (*MsgUpdateVendorInfo) ProtoMessage() {} func (*MsgUpdateVendorInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_193d895112924f09, []int{2} + return fileDescriptor_cf1cc0ab68adeeb3, []int{2} } func (m *MsgUpdateVendorInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -240,7 +240,7 @@ func (m *MsgUpdateVendorInfoResponse) Reset() { *m = MsgUpdateVendorInfo func (m *MsgUpdateVendorInfoResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateVendorInfoResponse) ProtoMessage() {} func (*MsgUpdateVendorInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_193d895112924f09, []int{3} + return fileDescriptor_cf1cc0ab68adeeb3, []int{3} } func (m *MsgUpdateVendorInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -270,50 +270,49 @@ func (m *MsgUpdateVendorInfoResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgUpdateVendorInfoResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*MsgCreateVendorInfo)(nil), "zigbeealliance.distributedcomplianceledger.vendorinfo.MsgCreateVendorInfo") - proto.RegisterType((*MsgCreateVendorInfoResponse)(nil), "zigbeealliance.distributedcomplianceledger.vendorinfo.MsgCreateVendorInfoResponse") - proto.RegisterType((*MsgUpdateVendorInfo)(nil), "zigbeealliance.distributedcomplianceledger.vendorinfo.MsgUpdateVendorInfo") - proto.RegisterType((*MsgUpdateVendorInfoResponse)(nil), "zigbeealliance.distributedcomplianceledger.vendorinfo.MsgUpdateVendorInfoResponse") -} - -func init() { proto.RegisterFile("vendorinfo/tx.proto", fileDescriptor_193d895112924f09) } - -var fileDescriptor_193d895112924f09 = []byte{ - // 543 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x95, 0x41, 0x6b, 0x13, 0x4f, - 0x18, 0xc6, 0xb3, 0xcd, 0xbf, 0xfd, 0xeb, 0x9c, 0xca, 0x26, 0x87, 0x98, 0xd6, 0xdd, 0xb0, 0x78, - 0xe8, 0x21, 0xd9, 0xa5, 0x29, 0x29, 0x52, 0x08, 0x6a, 0xf4, 0x12, 0x9b, 0x4a, 0x59, 0xad, 0x88, - 0x97, 0x32, 0xc9, 0xbc, 0x19, 0x07, 0x76, 0x77, 0xd6, 0x99, 0x49, 0x49, 0xfc, 0x14, 0x7e, 0x16, - 0xf1, 0x43, 0x78, 0x2c, 0x9e, 0x44, 0x24, 0x48, 0xf2, 0x01, 0x84, 0x7c, 0x02, 0xc9, 0x4e, 0x62, - 0x42, 0xb3, 0x6d, 0xc1, 0x7a, 0x10, 0x6f, 0xef, 0xbe, 0xb3, 0xef, 0xef, 0x79, 0x98, 0x67, 0x76, - 0x16, 0xe5, 0xce, 0x20, 0x22, 0x5c, 0xb0, 0xa8, 0xcb, 0x3d, 0xd5, 0x77, 0x63, 0xc1, 0x15, 0x37, - 0x6b, 0xef, 0x18, 0x6d, 0x03, 0xe0, 0x20, 0x60, 0x38, 0xea, 0x80, 0x4b, 0x98, 0x54, 0x82, 0xb5, - 0x7b, 0x0a, 0x48, 0x87, 0x87, 0xb1, 0xee, 0x06, 0x40, 0x28, 0x08, 0x77, 0x31, 0x5f, 0xdc, 0x5e, - 0x62, 0xe9, 0xf2, 0x74, 0x5a, 0x6b, 0x68, 0x31, 0x4f, 0x39, 0xe5, 0x49, 0xe9, 0x4d, 0xab, 0x59, - 0xf7, 0x4e, 0x87, 0xcb, 0x90, 0xcb, 0x53, 0xbd, 0xa0, 0x1f, 0xf4, 0x92, 0xf3, 0x35, 0x8b, 0x72, - 0x47, 0x92, 0x3e, 0x16, 0x80, 0x15, 0xbc, 0x4c, 0x78, 0xcd, 0xa8, 0xcb, 0xcd, 0x26, 0xfa, 0xbf, - 0x33, 0xed, 0x71, 0x51, 0x30, 0x4a, 0xc6, 0xce, 0xed, 0x86, 0x37, 0x19, 0xda, 0xb9, 0x33, 0x1c, - 0x30, 0x82, 0x15, 0x1c, 0x38, 0x02, 0xde, 0xf6, 0x98, 0x00, 0xe2, 0x7c, 0xfe, 0x58, 0xc9, 0xcf, - 0x88, 0x8f, 0x08, 0x11, 0x20, 0xe5, 0x73, 0x25, 0x58, 0x44, 0xfd, 0xf9, 0xbc, 0x79, 0x80, 0x6e, - 0x69, 0xa3, 0xcd, 0x27, 0x85, 0xb5, 0x92, 0xb1, 0xb3, 0xde, 0xb0, 0x26, 0x43, 0xbb, 0xb8, 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18, 0x68, 0x73, 0xe5, 0xf3, 0x7f, 0xea, 0xfe, 0xd6, 0xed, 0xe4, 0xa6, - 0x1c, 0xb7, 0xa2, 0xff, 0xe7, 0x58, 0x73, 0xf3, 0x89, 0xe9, 0x95, 0x73, 0x7b, 0x03, 0xd3, 0x17, - 0x59, 0x37, 0x31, 0x7d, 0xd9, 0x8e, 0x37, 0xe0, 0xd3, 0xc8, 0x32, 0xce, 0x47, 0x96, 0xf1, 0x7d, - 0x64, 0x19, 0xef, 0xc7, 0x56, 0xe6, 0x7c, 0x6c, 0x65, 0xbe, 0x8c, 0xad, 0xcc, 0xeb, 0x43, 0xca, - 0xd4, 0x9b, 0x5e, 0xdb, 0xed, 0xf0, 0xd0, 0xd3, 0xba, 0x95, 0xb9, 0xb0, 0xb7, 0x24, 0x5c, 0x59, - 0x28, 0x57, 0xb4, 0xb4, 0xd7, 0xf7, 0x96, 0xff, 0x2d, 0x83, 0x18, 0x64, 0x7b, 0x23, 0xb9, 0xd9, - 0xf7, 0x7e, 0x06, 0x00, 0x00, 0xff, 0xff, 0x3e, 0x03, 0x41, 0x03, 0x76, 0x06, 0x00, 0x00, + proto.RegisterType((*MsgCreateVendorInfo)(nil), "vendorinfo.types.MsgCreateVendorInfo") + proto.RegisterType((*MsgCreateVendorInfoResponse)(nil), "vendorinfo.types.MsgCreateVendorInfoResponse") + proto.RegisterType((*MsgUpdateVendorInfo)(nil), "vendorinfo.types.MsgUpdateVendorInfo") + proto.RegisterType((*MsgUpdateVendorInfoResponse)(nil), "vendorinfo.types.MsgUpdateVendorInfoResponse") +} + +func init() { proto.RegisterFile("vendorinfo/types/tx.proto", fileDescriptor_cf1cc0ab68adeeb3) } + +var fileDescriptor_cf1cc0ab68adeeb3 = []byte{ + // 528 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x94, 0xc1, 0x6e, 0xd3, 0x40, + 0x10, 0x86, 0x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0xbf, 0xf6, 0x1b, 0xa7, 0xcc, 0xef, 0xac, 0x35, 0xff, 0x66, 0xaf, 0xfe, 0x17, 0xf7, 0x57, 0xdd, + 0x5d, 0xb8, 0x5f, 0xff, 0x66, 0xa0, 0xdc, 0x89, 0xa4, 0xe6, 0x05, 0xca, 0xa7, 0xfe, 0xfe, 0x47, + 0xb5, 0xd5, 0xed, 0x53, 0xcb, 0xb8, 0x48, 0xa5, 0xea, 0x5f, 0x95, 0x2d, 0x3a, 0xce, 0x3a, 0xa5, + 0xee, 0x5a, 0x76, 0xa7, 0xd5, 0xb2, 0x35, 0x9d, 0xd6, 0xbd, 0x5b, 0x0b, 0x3e, 0x4f, 0x2c, 0xe3, + 0x6a, 0x62, 0x19, 0x3f, 0x27, 0x96, 0xf1, 0x71, 0x6a, 0x6d, 0x5c, 0x4d, 0xad, 0x8d, 0xaf, 0x53, + 0x6b, 0xe3, 0xdd, 0x31, 0x65, 0xea, 0x62, 0xd0, 0xad, 0xf5, 0x78, 0xe0, 0x7e, 0x60, 0xb4, 0x0b, + 0x50, 0xc5, 0xbe, 0xcf, 0x70, 0xd8, 0x03, 0x97, 0x30, 0xa9, 0x04, 0xeb, 0x0e, 0x14, 0x90, 0xea, + 0xcc, 0xab, 0x24, 0x5c, 0xf5, 0x81, 0x50, 0x10, 0xee, 0xd0, 0x5d, 0xdd, 0xbf, 0xdd, 0x2d, 0xbd, + 0x43, 0x0f, 0x7e, 0x05, 0x00, 0x00, 0xff, 0xff, 0x3a, 0x78, 0xab, 0x73, 0xc7, 0x05, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -342,7 +341,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { func (c *msgClient) CreateVendorInfo(ctx context.Context, in *MsgCreateVendorInfo, opts ...grpc.CallOption) (*MsgCreateVendorInfoResponse, error) { out := new(MsgCreateVendorInfoResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.vendorinfo.Msg/CreateVendorInfo", in, out, opts...) + err := c.cc.Invoke(ctx, "/vendorinfo.types.Msg/CreateVendorInfo", in, out, opts...) if err != nil { return nil, err } @@ -351,7 +350,7 @@ func (c *msgClient) CreateVendorInfo(ctx context.Context, in *MsgCreateVendorInf func (c *msgClient) UpdateVendorInfo(ctx context.Context, in *MsgUpdateVendorInfo, opts ...grpc.CallOption) (*MsgUpdateVendorInfoResponse, error) { out := new(MsgUpdateVendorInfoResponse) - err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.vendorinfo.Msg/UpdateVendorInfo", in, out, opts...) + err := c.cc.Invoke(ctx, "/vendorinfo.types.Msg/UpdateVendorInfo", in, out, opts...) if err != nil { return nil, err } @@ -389,7 +388,7 @@ func _Msg_CreateVendorInfo_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.vendorinfo.Msg/CreateVendorInfo", + FullMethod: "/vendorinfo.types.Msg/CreateVendorInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).CreateVendorInfo(ctx, req.(*MsgCreateVendorInfo)) @@ -407,7 +406,7 @@ func _Msg_UpdateVendorInfo_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/zigbeealliance.distributedcomplianceledger.vendorinfo.Msg/UpdateVendorInfo", + FullMethod: "/vendorinfo.types.Msg/UpdateVendorInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).UpdateVendorInfo(ctx, req.(*MsgUpdateVendorInfo)) @@ -416,7 +415,7 @@ func _Msg_UpdateVendorInfo_Handler(srv interface{}, ctx context.Context, dec fun } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "zigbeealliance.distributedcomplianceledger.vendorinfo.Msg", + ServiceName: "vendorinfo.types.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -429,7 +428,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "vendorinfo/tx.proto", + Metadata: "vendorinfo/types/tx.proto", } func (m *MsgCreateVendorInfo) Marshal() (dAtA []byte, err error) { diff --git a/x/vendorinfo/types/vendor_info.pb.go b/x/vendorinfo/types/vendor_info.pb.go index 29a52aa8e..8bf2024bf 100644 --- a/x/vendorinfo/types/vendor_info.pb.go +++ b/x/vendorinfo/types/vendor_info.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: vendorinfo/vendor_info.proto +// source: vendorinfo/types/vendor_info.proto package types @@ -36,7 +36,7 @@ func (m *VendorInfo) Reset() { *m = VendorInfo{} } func (m *VendorInfo) String() string { return proto.CompactTextString(m) } func (*VendorInfo) ProtoMessage() {} func (*VendorInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_45c44599adc45c13, []int{0} + return fileDescriptor_626e7f57c2a6c82c, []int{0} } func (m *VendorInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -108,34 +108,35 @@ func (m *VendorInfo) GetCreator() string { } func init() { - proto.RegisterType((*VendorInfo)(nil), "zigbeealliance.distributedcomplianceledger.vendorinfo.VendorInfo") + proto.RegisterType((*VendorInfo)(nil), "vendorinfo.types.VendorInfo") } -func init() { proto.RegisterFile("vendorinfo/vendor_info.proto", fileDescriptor_45c44599adc45c13) } +func init() { + proto.RegisterFile("vendorinfo/types/vendor_info.proto", fileDescriptor_626e7f57c2a6c82c) +} -var fileDescriptor_45c44599adc45c13 = []byte{ - // 325 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x91, 0x41, 0x4b, 0xc3, 0x30, - 0x14, 0xc7, 0xd7, 0xe9, 0xa6, 0xe6, 0x24, 0x65, 0x87, 0x3a, 0x24, 0x0c, 0x4f, 0x43, 0x68, 0x0b, - 0x13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x36, 0x22, 0x0c, 0x1e, 0x93, 0x61, 0xd0, 0x70, 0x3b, - 0xfb, 0x66, 0x7e, 0x0f, 0x1d, 0x65, 0x0a, 0x88, 0x91, 0x2a, 0x68, 0x96, 0x58, 0x3f, 0xf8, 0xfa, - 0x08, 0x5b, 0x9b, 0x17, 0xb8, 0xa1, 0x54, 0x81, 0xd6, 0x0f, 0x46, 0x71, 0xc1, 0x92, 0x2d, 0xd8, - 0x87, 0xcf, 0x15, 0xf6, 0x96, 0x2b, 0xec, 0xfd, 0xac, 0xb0, 0xb7, 0x58, 0xe3, 0xda, 0x72, 0x8d, - 0x6b, 0xdf, 0x6b, 0x5c, 0x7b, 0xbe, 0x63, 0xdc, 0xbc, 0xcc, 0xd2, 0x28, 0x93, 0x45, 0xec, 0x4c, - 0x84, 0x5b, 0x15, 0x71, 0x45, 0x45, 0xb8, 0x73, 0x11, 0x3a, 0x19, 0xf1, 0x5b, 0x5c, 0xf1, 0x6a, - 0xe6, 0x53, 0xd0, 0x69, 0xd3, 0x0a, 0xb8, 0xfa, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x95, 0x55, 0xc1, - 0x4c, 0xf2, 0x01, 0x00, 0x00, +var fileDescriptor_626e7f57c2a6c82c = []byte{ + // 314 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x91, 0x4f, 0x4e, 0x02, 0x31, + 0x14, 0xc6, 0x19, 0x14, 0xd4, 0xae, 0xc8, 0x84, 0xc5, 0xc8, 0xa2, 0x21, 0xac, 0x88, 0xc9, 0xd0, + 0x04, 0x4f, 0x20, 0x71, 0x43, 0x24, 0x86, 0x8c, 0xd1, 0x85, 0x1b, 0xd2, 0x99, 0x3e, 0x6a, 0x93, + 0x99, 0x96, 0xb4, 0xc5, 0x88, 0xa7, 0xe0, 0x30, 0x1e, 0xc2, 0x25, 0x71, 0xe5, 0xd2, 0x30, 0x17, + 0x31, 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, 0xa6, 0xc4, 0xb5, 0xf7, 0x12, 0xd7, 0xee, 0xaf, + 0xb8, 0xb0, 0x0f, 0xcb, 0x74, 0x90, 0xa9, 0x82, 0x3c, 0x0b, 0x9e, 0x02, 0xc4, 0x34, 0xcf, 0x05, + 0x95, 0x19, 0x10, 0x26, 0x8c, 0xd5, 0x22, 0x5d, 0x5a, 0x60, 0x71, 0xf5, 0x7c, 0x8f, 0xe3, 0x1c, + 0x18, 0x07, 0x4d, 0x9e, 0xc8, 0xdf, 0xc5, 0xa5, 0x4d, 0xb7, 0x80, 0xf3, 0xcf, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xb0, 0x24, 0xfc, 0x39, 0xd3, 0x01, 0x00, 0x00, } func (m *VendorInfo) Marshal() (dAtA []byte, err error) { From c5ece4d5c68dd8e816ce32b4fee08d0a28d64cff Mon Sep 17 00:00:00 2001 From: Abdulbois Date: Thu, 25 Jan 2024 18:56:43 +0500 Subject: [PATCH 03/29] #303 Upgrade Cosmos-SDK to v0.47.3 FIx linter errors Signed-off-by: Abdulbois Signed-off-by: Abdulbois --- .golangci.yml | 27 +++ Makefile | 2 +- app/app.go | 8 +- app/encoding.go | 1 + app/export.go | 3 +- cmd/dcld/cmd/genaccounts.go | 11 +- cmd/dcld/cmd/root.go | 28 ++- cmd/dcld/main.go | 9 +- go.mod | 11 +- go.sum | 20 +-- .../grpc_rest/compliance/helpers.go | 114 ++++++------ .../grpc_rest/dclauth/helpers.go | 4 +- integration_tests/utils/client.go | 4 +- integration_tests/utils/common.go | 1 + integration_tests/utils/grpc_rest.go | 17 +- integration_tests/utils/sign_helper.go | 2 +- testutil/cli/cli.go | 4 +- testutil/network/network.go | 3 +- types/pki/errors.go | 166 +++++++++--------- utils/cli/utils.go | 3 +- utils/misc.go | 3 +- utils/validator/errors.go | 14 +- utils/validator/validator.go | 18 +- x/compliance/client/cli/query.go | 2 +- x/compliance/handler_certify_model_test.go | 1 + .../handler_delete_compliance_info_test.go | 1 + x/compliance/keeper/compliance_info.go | 9 +- .../keeper/grpc_query_compliance_info.go | 5 +- .../keeper/msg_server_certify_model.go | 11 +- .../keeper/msg_server_provision_model.go | 13 +- x/compliance/module.go | 4 +- x/compliance/simulation/certify_model.go | 2 +- .../simulation/delete_compliance_info.go | 2 +- x/compliance/simulation/provision_model.go | 2 +- .../simulation/update_compliance_info.go | 2 +- x/compliance/types/codec.go | 2 +- x/compliance/types/errors.go | 48 ++--- x/dclauth/ante/ante.go | 7 +- x/dclauth/base/keeper/account.go | 2 +- x/dclauth/client/cli/query.go | 2 +- x/dclauth/keeper/account.go | 4 +- .../msg_server_approve_revoke_account.go | 2 +- .../msg_server_propose_revoke_account.go | 2 +- x/dclauth/keeper/msg_server_test.go | 2 +- x/dclauth/keeper/revoked_account.go | 2 +- x/dclauth/module.go | 16 +- x/dclauth/simulation/approve_add_account.go | 5 +- .../simulation/approve_revoke_account.go | 5 +- x/dclauth/simulation/propose_add_account.go | 5 +- .../simulation/propose_revoke_account.go | 2 +- x/dclauth/simulation/reject_add_account.go | 5 +- x/dclauth/types/codec.go | 2 +- x/dclauth/types/errors.go | 34 ++-- x/dclgenutil/client/cli/gentx.go | 3 +- x/dclgenutil/client/cli/query.go | 2 +- x/dclgenutil/gentx.go | 4 +- x/dclgenutil/module.go | 4 +- x/dclupgrade/client/cli/query.go | 2 +- x/dclupgrade/keeper/msg_server_test.go | 2 +- x/dclupgrade/module.go | 10 +- x/dclupgrade/types/codec.go | 2 +- x/dclupgrade/types/errors.go | 14 +- x/model/client/cli/query.go | 2 +- x/model/keeper/msg_server_test.go | 2 +- x/model/module.go | 4 +- x/model/types/errors.go | 72 ++++---- x/model/types/messages_model.go | 8 +- x/model/types/messages_model_test.go | 1 - x/pki/client/cli/query.go | 2 +- x/pki/keeper/msg_server_add_x_509_cert.go | 5 +- x/pki/keeper/msg_server_test.go | 2 +- x/pki/module.go | 4 +- x/pki/simulation/add_x_509_cert.go | 2 +- .../simulation/approve_add_x_509_root_cert.go | 2 +- ...elete_pki_revocation_distribution_point.go | 2 +- .../simulation/propose_add_x_509_root_cert.go | 2 +- .../simulation/reject_add_x_509_root_cert.go | 2 +- x/pki/types/codec.go | 1 + x/validator/abci.go | 2 +- x/validator/client/cli/query.go | 2 +- x/validator/keeper/process_malicious.go | 4 +- x/validator/keeper/validator.go | 12 +- x/validator/module.go | 4 +- x/validator/simulation/disable_validator.go | 2 +- x/validator/simulation/enable_validator.go | 2 +- x/validator/types/message_create_validator.go | 12 +- x/validator/types/validator.go | 11 +- x/vendorinfo/client/cli/query.go | 2 +- x/vendorinfo/keeper/check_vendor_rights.go | 16 +- x/vendorinfo/keeper/msg_server_vendor_info.go | 8 +- x/vendorinfo/module.go | 7 +- x/vendorinfo/types/codec.go | 1 + x/vendorinfo/types/errors.go | 8 +- 93 files changed, 471 insertions(+), 452 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index defc6bc77..ccdebc489 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -50,3 +50,30 @@ linters: - nonamedreturns - exhaustruct - gofumpt + - depguard + - deadcode + - godot + - inamedparam + - goconst + +issues: + exclude-rules: + - path: _test\.go$ + linters: + - goconst + - stylecheck + - testifylint + - nosnakecase + - perfsprint + - dupword + - testifylint + - path: helpers\.go$ + linters: + - goconst + - stylecheck + - testifylint + - nosnakecase + - perfsprint + - dupword + - testifylint + diff --git a/Makefile b/Makefile index 58ceaae89..08a905c1a 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ endif ### Process build tags -build_tags = netgo +build_tags = netgo cgo ifeq ($(LEDGER_ENABLED),true) ifeq ($(OS),Windows_NT) GCCEXE = $(shell where gcc.exe 2> NUL) diff --git a/app/app.go b/app/app.go index d665ab8f9..0175b9f16 100644 --- a/app/app.go +++ b/app/app.go @@ -132,8 +132,7 @@ var ( ) // module account permissions. - maccPerms = map[string][]string{ - /* + /* maccPerms = map[string][]string{ authtypes.FeeCollectorName: nil, distrtypes.ModuleName: nil, minttypes.ModuleName: {authtypes.Minter}, @@ -142,8 +141,8 @@ var ( govtypes.ModuleName: {authtypes.Burner}, ibctransfertypes.ModuleName: {authtypes.Minter, authtypes.Burner}, // this line is used by starport scaffolding # stargate/app/maccPerms - */ } + */ ) var ( @@ -248,7 +247,6 @@ func New( homePath string, invCheckPeriod uint, encodingConfig appparams.EncodingConfig, - appOpts servertypes.AppOptions, baseAppOptions ...func(*baseapp.BaseApp), ) *App { appCodec := encodingConfig.Codec @@ -573,7 +571,7 @@ func New( ) // app.mm.RegisterInvariants(&app.CrisisKeeper) - //app.mm.RegisterRoutes(app.Router(), app.QueryRouter(), encodingConfig.Amino) + // app.mm.RegisterRoutes(app.Router(), app.QueryRouter(), encodingConfig.Amino) app.configurator = module.NewConfigurator(app.appCodec, app.MsgServiceRouter(), app.GRPCQueryRouter()) app.mm.RegisterServices(app.configurator) diff --git a/app/encoding.go b/app/encoding.go index 6d719643b..491837f23 100644 --- a/app/encoding.go +++ b/app/encoding.go @@ -31,5 +31,6 @@ func MakeEncodingConfig() params.EncodingConfig { std.RegisterInterfaces(encodingConfig.InterfaceRegistry) ModuleBasics.RegisterLegacyAminoCodec(encodingConfig.Amino) ModuleBasics.RegisterInterfaces(encodingConfig.InterfaceRegistry) + return encodingConfig } diff --git a/app/export.go b/app/export.go index 210794e7e..eaac059df 100644 --- a/app/export.go +++ b/app/export.go @@ -10,8 +10,7 @@ import ( // ExportAppStateAndValidators exports the state of the application for a genesis // file. -func (app *App) ExportAppStateAndValidators(forZeroHeight bool, jailAllowedAddrs []string, modulesToExport []string) (servertypes.ExportedApp, error) { - +func (app *App) ExportAppStateAndValidators(_ bool, _ []string, modulesToExport []string) (servertypes.ExportedApp, error) { // as if they could withdraw from the start of the next block ctx := app.NewContext(true, tmproto.Header{Height: app.LastBlockHeight()}) diff --git a/cmd/dcld/cmd/genaccounts.go b/cmd/dcld/cmd/genaccounts.go index 26cac3af7..2f05de12a 100644 --- a/cmd/dcld/cmd/genaccounts.go +++ b/cmd/dcld/cmd/genaccounts.go @@ -6,17 +6,18 @@ import ( "fmt" "strings" + "github.com/spf13/cast" + "github.com/spf13/cobra" + "github.com/spf13/viper" + "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - // "github.com/cosmos/cosmos-sdk/crypto/keyring". "github.com/cosmos/cosmos-sdk/crypto/keyring" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" "github.com/cosmos/cosmos-sdk/server" sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/spf13/cast" - "github.com/spf13/cobra" - "github.com/spf13/viper" + "github.com/zigbee-alliance/distributed-compliance-ledger/x/common/types" dclauthtypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclgenutil" @@ -32,8 +33,6 @@ const ( ) // AddGenesisAccountCmd returns add-genesis-account cobra Command. -// -//nolint:staticcheck func AddGenesisAccountCmd(defaultNodeHome string) *cobra.Command { cmd := &cobra.Command{ Use: "add-genesis-account ", diff --git a/cmd/dcld/cmd/root.go b/cmd/dcld/cmd/root.go index b51e22923..bd3e95f8e 100644 --- a/cmd/dcld/cmd/root.go +++ b/cmd/dcld/cmd/root.go @@ -2,15 +2,19 @@ package cmd import ( "errors" - tmtypes "github.com/cometbft/cometbft/types" "io" "os" "path/filepath" + "github.com/spf13/cast" + "github.com/spf13/cobra" + "github.com/spf13/pflag" + rosettaCmd "cosmossdk.io/tools/rosetta/cmd" dbm "github.com/cometbft/cometbft-db" tmcfg "github.com/cometbft/cometbft/config" "github.com/cometbft/cometbft/libs/log" + tmtypes "github.com/cometbft/cometbft/types" "github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/config" @@ -27,9 +31,6 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authcmd "github.com/cosmos/cosmos-sdk/x/auth/client/cli" "github.com/cosmos/cosmos-sdk/x/crisis" - "github.com/spf13/cast" - "github.com/spf13/cobra" - "github.com/spf13/pflag" "github.com/zigbee-alliance/distributed-compliance-ledger/app" appparams "github.com/zigbee-alliance/distributed-compliance-ledger/app/params" @@ -54,13 +55,7 @@ type rootOptions struct { // envPrefix string } -func newRootOptions(options ...Option) rootOptions { - opts := rootOptions{} - opts.apply(options...) - - return opts -} - +//nolint:unused func (s *rootOptions) apply(options ...Option) { for _, o := range options { o(s) @@ -143,6 +138,7 @@ func NewRootCmd() (*cobra.Command, appparams.EncodingConfig) { // return tmcfg.DefaultConfig if no custom configuration is required for the application. func initTendermintConfig() *tmcfg.Config { cfg := tmcfg.DefaultConfig() + return cfg } @@ -304,15 +300,15 @@ func (a appCreator) newApp( ) homeDir := cast.ToString(appOpts.Get(flags.FlagHome)) - chainID_ := cast.ToString(appOpts.Get(flags.FlagChainID)) - if chainID_ == "" { + appChainID := cast.ToString(appOpts.Get(flags.FlagChainID)) + if appChainID == "" { // fallback to genesis chain-id appGenesis, err := tmtypes.GenesisDocFromFile(filepath.Join(homeDir, "config", "genesis.json")) if err != nil { panic(err) } - chainID_ = appGenesis.ChainID + appChainID = appGenesis.ChainID } return app.New( @@ -324,7 +320,6 @@ func (a appCreator) newApp( cast.ToString(appOpts.Get(flags.FlagHome)), cast.ToUint(appOpts.Get(server.FlagInvCheckPeriod)), a.encodingConfig, - appOpts, baseapp.SetPruning(pruningOpts), baseapp.SetMinGasPrices(cast.ToString(appOpts.Get(server.FlagMinGasPrices))), baseapp.SetHaltHeight(cast.ToUint64(appOpts.Get(server.FlagHaltHeight))), @@ -335,7 +330,7 @@ func (a appCreator) newApp( baseapp.SetIndexEvents(cast.ToStringSlice(appOpts.Get(server.FlagIndexEvents))), baseapp.SetSnapshot(snapshotStore, snapshotOptions), baseapp.SetIAVLCacheSize(cast.ToInt(appOpts.Get(server.FlagIAVLCacheSize))), - baseapp.SetChainID(chainID_), + baseapp.SetChainID(appChainID), ) } @@ -364,7 +359,6 @@ func (a appCreator) appExport( homePath, uint(1), a.encodingConfig, - appOpts, ) if height != -1 { diff --git a/cmd/dcld/main.go b/cmd/dcld/main.go index 77835581d..b05728e2e 100644 --- a/cmd/dcld/main.go +++ b/cmd/dcld/main.go @@ -1,9 +1,10 @@ package main import ( - "github.com/cosmos/cosmos-sdk/server" + "errors" "os" + "github.com/cosmos/cosmos-sdk/server" svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" "github.com/zigbee-alliance/distributed-compliance-ledger/app" @@ -13,10 +14,10 @@ import ( func main() { rootCmd, _ := cmd.NewRootCmd() if err := svrcmd.Execute(rootCmd, "", app.DefaultNodeHome); err != nil { - switch e := err.(type) { - case server.ErrorCode: + var e server.ErrorCode + switch { + case errors.As(err, &e): os.Exit(e.Code) - default: os.Exit(1) } diff --git a/go.mod b/go.mod index 20ec9a9d6..ed3343d72 100644 --- a/go.mod +++ b/go.mod @@ -5,6 +5,7 @@ go 1.20 require ( cosmossdk.io/api v0.3.1 cosmossdk.io/core v0.5.1 + cosmossdk.io/errors v1.0.0-beta.7 cosmossdk.io/math v1.0.1 cosmossdk.io/tools/rosetta v0.2.1 github.com/bufbuild/buf v1.7.0 @@ -41,9 +42,9 @@ require ( cloud.google.com/go/iam v1.1.5 // indirect cloud.google.com/go/storage v1.30.1 // indirect cosmossdk.io/depinject v1.0.0-alpha.3 // indirect - cosmossdk.io/errors v1.0.0-beta.7 // indirect cosmossdk.io/log v1.1.0 // indirect filippo.io/edwards25519 v1.0.0 // indirect + github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect github.com/99designs/keyring v1.2.1 // indirect github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d // indirect @@ -131,7 +132,6 @@ require ( github.com/jhump/protoreflect v1.15.1 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect github.com/jmhodges/levigo v1.0.0 // indirect - github.com/keybase/go-keychain v0.0.0-20190712205309-48d3d31d256d // indirect github.com/klauspost/compress v1.16.3 // indirect github.com/klauspost/pgzip v1.2.5 // indirect github.com/leodido/go-urn v1.2.1 // indirect @@ -179,8 +179,8 @@ require ( github.com/tendermint/go-amino v0.16.0 // indirect github.com/tidwall/btree v1.6.0 // indirect github.com/ulikunitz/xz v0.5.11 // indirect - github.com/zondax/hid v0.9.1 // indirect - github.com/zondax/ledger-go v0.14.0 // indirect + github.com/zondax/hid v0.9.2 // indirect + github.com/zondax/ledger-go v0.14.3 // indirect go.etcd.io/bbolt v1.3.7 // indirect go.opencensus.io v0.24.0 // indirect go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.36.3 // indirect @@ -212,7 +212,6 @@ require ( ) replace ( - cosmossdk.io/simapp => cosmossdk.io/simapp v0.0.0-20240119091742-c5826868d4e5 - github.com/99designs/keyring => github.com/cosmos/keyring v1.1.7-0.20210622111912-ef00f8ac3d76 + github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0 github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 ) diff --git a/go.sum b/go.sum index b66093fe8..2f95f2e10 100644 --- a/go.sum +++ b/go.sum @@ -204,6 +204,8 @@ cosmossdk.io/tools/rosetta v0.2.1/go.mod h1:Pqdc1FdvkNV3LcNIkYWt2RQY6IP1ge6YWZk8 dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= filippo.io/edwards25519 v1.0.0 h1:0wAIcmJUqRdI8IJ/3eGi5/HwXZWPujYXXlkrQogz0Ek= filippo.io/edwards25519 v1.0.0/go.mod h1:N1IkdkCkiLB6tki+MYJoSx2JTY9NUlxZE7eHn5EwJns= +github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 h1:/vQbFIOMbk2FiG/kXiLl8BRyzTWDw7gX/Hz7Dd5eDMs= +github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4/go.mod h1:hN7oaIRCjzsZ2dE+yG5k+rsdt3qcwykqK6HVGcKwsw4= github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 h1:UQHMgLO+TxOElx5B5HZ4hJQsoJ/PvUvKRhJHDQXO8P8= github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= @@ -340,8 +342,8 @@ github.com/cosmos/gogoproto v1.4.10 h1:QH/yT8X+c0F4ZDacDv3z+xE3WU1P1Z3wQoLMBRJoK github.com/cosmos/gogoproto v1.4.10/go.mod h1:3aAZzeRWpAwr+SS/LLkICX2/kDFyaYVzckBDzygIxek= github.com/cosmos/iavl v0.20.0 h1:fTVznVlepH0KK8NyKq8w+U7c2L6jofa27aFX6YGlm38= github.com/cosmos/iavl v0.20.0/go.mod h1:WO7FyvaZJoH65+HFOsDir7xU9FWk2w9cHXNW1XHcl7A= -github.com/cosmos/keyring v1.1.7-0.20210622111912-ef00f8ac3d76 h1:DdzS1m6o/pCqeZ8VOAit/gyATedRgjvkVI+UCrLpyuU= -github.com/cosmos/keyring v1.1.7-0.20210622111912-ef00f8ac3d76/go.mod h1:0mkLWIoZuQ7uBoospo5Q9zIpqq6rYCPJDSUdeCJvPM8= +github.com/cosmos/keyring v1.2.0 h1:8C1lBP9xhImmIabyXW4c3vFjjLiBdGCmfLUfeZlV1Yo= +github.com/cosmos/keyring v1.2.0/go.mod h1:fc+wB5KTk9wQ9sDx0kFXB3A0MaeGHM9AwRStKOQ5vOA= github.com/cosmos/ledger-cosmos-go v0.12.1 h1:sMBxza5p/rNK/06nBSNmsI/WDqI0pVJFVNihy1Y984w= github.com/cosmos/ledger-cosmos-go v0.12.1/go.mod h1:dhO6kj+Y+AHIOgAe4L9HL/6NDdyyth4q238I9yFpD2g= github.com/cosmos/rosetta-sdk-go v0.10.0 h1:E5RhTruuoA7KTIXUcMicL76cffyeoyvNybzUGSKFTcM= @@ -358,7 +360,6 @@ github.com/creack/pty v1.1.11 h1:07n33Z8lZxZ2qwegKbObQohDhXDQxiMMz1NOUGYlesw= github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/cucumber/common/gherkin/go/v22 v22.0.0 h1:4K8NqptbvdOrjL9DEea6HFjSpbdT9+Q5kgLpmmsHYl0= github.com/cucumber/common/messages/go/v17 v17.1.1 h1:RNqopvIFyLWnKv0LfATh34SWBhXeoFTJnSrgm9cT/Ts= -github.com/danieljoos/wincred v1.0.2/go.mod h1:SnuYRW9lp1oJrZX/dXJqr0cPK5gYXqx3EJbmjhLdK9U= github.com/danieljoos/wincred v1.1.2 h1:QLdCxFs1/Yl4zduvBdcHB8goaYk9RARS2SgLLRuAyr0= github.com/danieljoos/wincred v1.1.2/go.mod h1:GijpziifJoIBfYh+S7BbkdUTU4LfM+QnGqR5Vl2tAx0= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -390,7 +391,6 @@ github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:Htrtb github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= -github.com/dvsekhvalnov/jose2go v0.0.0-20200901110807-248326c1351b/go.mod h1:7BvyPhdbLxMXIYTFPLsyJRFMsKmOZnQmzh6Gb+uquuM= github.com/dvsekhvalnov/jose2go v1.5.0 h1:3j8ya4Z4kMCwT5nXIKFSV84YS+HdqSSO0VsTQxaLAeM= github.com/dvsekhvalnov/jose2go v1.5.0/go.mod h1:QsHjhyTlD/lAVqn/NSbVZmSCGeDehTB/mPZadG+mhXU= github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= @@ -712,8 +712,6 @@ github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/X github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= -github.com/keybase/go-keychain v0.0.0-20190712205309-48d3d31d256d h1:Z+RDyXzjKE0i2sTjZ/b1uxiGtPhFy34Ou/Tk0qwN0kM= -github.com/keybase/go-keychain v0.0.0-20190712205309-48d3d31d256d/go.mod h1:JJNrCn9otv/2QP4D7SMJBgaleKpOf66PnW6F5WGNRIc= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= @@ -971,7 +969,6 @@ github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3 github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= @@ -1016,10 +1013,10 @@ github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= -github.com/zondax/hid v0.9.1 h1:gQe66rtmyZ8VeGFcOpbuH3r7erYtNEAezCAYu8LdkJo= -github.com/zondax/hid v0.9.1/go.mod h1:l5wttcP0jwtdLjqjMMWFVEE7d1zO0jvSPA9OPZxWpEM= -github.com/zondax/ledger-go v0.14.0 h1:dlMC7aO8Wss1CxBq2I96kZ69Nh1ligzbs8UWOtq/AsA= -github.com/zondax/ledger-go v0.14.0/go.mod h1:fZ3Dqg6qcdXWSOJFKMG8GCTnD7slO/RL2feOQv8K320= +github.com/zondax/hid v0.9.2 h1:WCJFnEDMiqGF64nlZz28E9qLVZ0KSJ7xpc5DLEyma2U= +github.com/zondax/hid v0.9.2/go.mod h1:l5wttcP0jwtdLjqjMMWFVEE7d1zO0jvSPA9OPZxWpEM= +github.com/zondax/ledger-go v0.14.3 h1:wEpJt2CEcBJ428md/5MgSLsXLBos98sBOyxNmCjfUCw= +github.com/zondax/ledger-go v0.14.3/go.mod h1:IKKaoxupuB43g4NxeQmbLXv7T9AlQyie1UpHb342ycI= go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.etcd.io/bbolt v1.3.7 h1:j+zJOnnEjF/kyHlDDgGnVL/AIqIJPq8UoB2GSNfkUfQ= go.etcd.io/bbolt v1.3.7/go.mod h1:N9Mkw9X8x5fupy0IKsmuqVtoGDyxsaDlbk4Rd05IAQw= @@ -1243,7 +1240,6 @@ golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190712062909-fae7ac547cb7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= diff --git a/integration_tests/grpc_rest/compliance/helpers.go b/integration_tests/grpc_rest/compliance/helpers.go index 8f07693d9..33df3f33f 100644 --- a/integration_tests/grpc_rest/compliance/helpers.go +++ b/integration_tests/grpc_rest/compliance/helpers.go @@ -23,8 +23,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" - test_dclauth "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/grpc_rest/dclauth" - test_model "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/grpc_rest/model" + testDclauth "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/grpc_rest/dclauth" + testModel "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/grpc_rest/model" "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/utils" compliancetypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" dclauthtypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" @@ -507,7 +507,7 @@ func CDCertificateIDUpdateChangesOnlyOneComplianceInfo(suite *utils.TestSuite) { require.NoError(suite.T, err) address, err := aliceKeyInfo.GetAddress() require.NoError(suite.T, err) - aliceAccount, err := test_dclauth.GetAccount(suite, address) + aliceAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) jackName := testconstants.JackAccount @@ -515,13 +515,13 @@ func CDCertificateIDUpdateChangesOnlyOneComplianceInfo(suite *utils.TestSuite) { require.NoError(suite.T, err) address, err = jackKeyInfo.GetAddress() require.NoError(suite.T, err) - jackAccount, err := test_dclauth.GetAccount(suite, address) + jackAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) // Register new Vendor account vid := int32(tmrand.Uint16()) vendorName := utils.RandString() - vendorAccount := test_dclauth.CreateVendorAccount( + vendorAccount := testDclauth.CreateVendorAccount( suite, vendorName, dclauthtypes.AccountRoles{dclauthtypes.Vendor}, @@ -537,7 +537,7 @@ func CDCertificateIDUpdateChangesOnlyOneComplianceInfo(suite *utils.TestSuite) { // Register new CertificationCenter account certCenter := utils.RandString() - certCenterAccount := test_dclauth.CreateAccount( + certCenterAccount := testDclauth.CreateAccount( suite, certCenter, dclauthtypes.AccountRoles{dclauthtypes.CertificationCenter}, @@ -553,21 +553,21 @@ func CDCertificateIDUpdateChangesOnlyOneComplianceInfo(suite *utils.TestSuite) { // Publish model info pid := int32(tmrand.Uint16()) - firstModel := test_model.NewMsgCreateModel(vid, pid, vendorAccount.Address) + firstModel := testModel.NewMsgCreateModel(vid, pid, vendorAccount.Address) _, err = suite.BuildAndBroadcastTx([]sdk.Msg{firstModel}, vendorName, vendorAccount) require.NoError(suite.T, err) // Publish modelVersion svFirst := tmrand.Uint32() svsFirst := utils.RandString() - firstModelVersion := test_model.NewMsgCreateModelVersion(vid, pid, svFirst, svsFirst, vendorAccount.Address) + firstModelVersion := testModel.NewMsgCreateModelVersion(vid, pid, svFirst, svsFirst, vendorAccount.Address) _, err = suite.BuildAndBroadcastTx([]sdk.Msg{firstModelVersion}, vendorName, vendorAccount) require.NoError(suite.T, err) // Publish second modelVersion svSecond := tmrand.Uint32() svsSecond := utils.RandString() - secondModelVersion := test_model.NewMsgCreateModelVersion(vid, pid, svSecond, svsSecond, vendorAccount.Address) + secondModelVersion := testModel.NewMsgCreateModelVersion(vid, pid, svSecond, svsSecond, vendorAccount.Address) _, err = suite.BuildAndBroadcastTx([]sdk.Msg{secondModelVersion}, vendorName, vendorAccount) require.NoError(suite.T, err) @@ -636,7 +636,7 @@ func DeleteComplianceInfoForAllCertStatuses(suite *utils.TestSuite) { require.NoError(suite.T, err) address, err := aliceKeyInfo.GetAddress() require.NoError(suite.T, err) - aliceAccount, err := test_dclauth.GetAccount(suite, address) + aliceAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) jackName := testconstants.JackAccount @@ -644,13 +644,13 @@ func DeleteComplianceInfoForAllCertStatuses(suite *utils.TestSuite) { require.NoError(suite.T, err) address, err = jackKeyInfo.GetAddress() require.NoError(suite.T, err) - jackAccount, err := test_dclauth.GetAccount(suite, address) + jackAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) // Register new Vendor account vid := int32(tmrand.Uint16()) vendorName := utils.RandString() - vendorAccount := test_dclauth.CreateVendorAccount( + vendorAccount := testDclauth.CreateVendorAccount( suite, vendorName, dclauthtypes.AccountRoles{dclauthtypes.Vendor}, @@ -666,7 +666,7 @@ func DeleteComplianceInfoForAllCertStatuses(suite *utils.TestSuite) { // Register new CertificationCenter account certCenter := utils.RandString() - certCenterAccount := test_dclauth.CreateAccount( + certCenterAccount := testDclauth.CreateAccount( suite, certCenter, dclauthtypes.AccountRoles{dclauthtypes.CertificationCenter}, @@ -682,14 +682,14 @@ func DeleteComplianceInfoForAllCertStatuses(suite *utils.TestSuite) { // Publish model info pid := int32(tmrand.Uint16()) - firstModel := test_model.NewMsgCreateModel(vid, pid, vendorAccount.Address) + firstModel := testModel.NewMsgCreateModel(vid, pid, vendorAccount.Address) _, err = suite.BuildAndBroadcastTx([]sdk.Msg{firstModel}, vendorName, vendorAccount) require.NoError(suite.T, err) // Publish modelVersion sv := tmrand.Uint32() svs := utils.RandString() - firstModelVersion := test_model.NewMsgCreateModelVersion(vid, pid, sv, svs, vendorAccount.Address) + firstModelVersion := testModel.NewMsgCreateModelVersion(vid, pid, sv, svs, vendorAccount.Address) _, err = suite.BuildAndBroadcastTx([]sdk.Msg{firstModelVersion}, vendorName, vendorAccount) require.NoError(suite.T, err) @@ -728,7 +728,7 @@ func DeleteComplianceInfoForAllCertStatuses(suite *utils.TestSuite) { // Publish modelVersion sv = tmrand.Uint32() svs = utils.RandString() - secondModelVersion := test_model.NewMsgCreateModelVersion(vid, pid, sv, svs, vendorAccount.Address) + secondModelVersion := testModel.NewMsgCreateModelVersion(vid, pid, sv, svs, vendorAccount.Address) _, err = suite.BuildAndBroadcastTx([]sdk.Msg{secondModelVersion}, vendorName, vendorAccount) require.NoError(suite.T, err) @@ -766,7 +766,7 @@ func DeleteComplianceInfoForAllCertStatuses(suite *utils.TestSuite) { // Publish modelVersion sv = tmrand.Uint32() svs = utils.RandString() - thirdModelVersion := test_model.NewMsgCreateModelVersion(vid, pid, sv, svs, vendorAccount.Address) + thirdModelVersion := testModel.NewMsgCreateModelVersion(vid, pid, sv, svs, vendorAccount.Address) _, err = suite.BuildAndBroadcastTx([]sdk.Msg{thirdModelVersion}, vendorName, vendorAccount) require.NoError(suite.T, err) @@ -831,7 +831,7 @@ func DemoTrackCompliance(suite *utils.TestSuite) { require.NoError(suite.T, err) address, err := aliceKeyInfo.GetAddress() require.NoError(suite.T, err) - aliceAccount, err := test_dclauth.GetAccount(suite, address) + aliceAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) jackName := testconstants.JackAccount @@ -839,13 +839,13 @@ func DemoTrackCompliance(suite *utils.TestSuite) { require.NoError(suite.T, err) address, err = jackKeyInfo.GetAddress() require.NoError(suite.T, err) - jackAccount, err := test_dclauth.GetAccount(suite, address) + jackAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) // Register new Vendor account vid := int32(tmrand.Uint16()) vendorName := utils.RandString() - vendorAccount := test_dclauth.CreateVendorAccount( + vendorAccount := testDclauth.CreateVendorAccount( suite, vendorName, dclauthtypes.AccountRoles{dclauthtypes.Vendor}, @@ -861,7 +861,7 @@ func DemoTrackCompliance(suite *utils.TestSuite) { // Register new CertificationCenter account certCenter := utils.RandString() - certCenterAccount := test_dclauth.CreateAccount( + certCenterAccount := testDclauth.CreateAccount( suite, certCenter, dclauthtypes.AccountRoles{dclauthtypes.CertificationCenter}, @@ -877,14 +877,14 @@ func DemoTrackCompliance(suite *utils.TestSuite) { // Publish model info pid := int32(tmrand.Uint16()) - firstModel := test_model.NewMsgCreateModel(vid, pid, vendorAccount.Address) + firstModel := testModel.NewMsgCreateModel(vid, pid, vendorAccount.Address) _, err = suite.BuildAndBroadcastTx([]sdk.Msg{firstModel}, vendorName, vendorAccount) require.NoError(suite.T, err) // Publish modelVersion sv := tmrand.Uint32() svs := utils.RandString() - firstModelVersion := test_model.NewMsgCreateModelVersion(vid, pid, sv, svs, vendorAccount.Address) + firstModelVersion := testModel.NewMsgCreateModelVersion(vid, pid, sv, svs, vendorAccount.Address) _, err = suite.BuildAndBroadcastTx([]sdk.Msg{firstModelVersion}, vendorName, vendorAccount) require.NoError(suite.T, err) @@ -1045,14 +1045,14 @@ func DemoTrackCompliance(suite *utils.TestSuite) { // Publish model info pid = int32(tmrand.Uint16()) - secondModel := test_model.NewMsgCreateModel(vid, pid, vendorAccount.Address) + secondModel := testModel.NewMsgCreateModel(vid, pid, vendorAccount.Address) _, err = suite.BuildAndBroadcastTx([]sdk.Msg{secondModel}, vendorName, vendorAccount) require.NoError(suite.T, err) // Publish model version sv = tmrand.Uint32() svs = utils.RandString() - secondModelVersion := test_model.NewMsgCreateModelVersion(vid, pid, sv, svs, vendorAccount.Address) + secondModelVersion := testModel.NewMsgCreateModelVersion(vid, pid, sv, svs, vendorAccount.Address) _, err = suite.BuildAndBroadcastTx([]sdk.Msg{secondModelVersion}, vendorName, vendorAccount) require.NoError(suite.T, err) @@ -1164,7 +1164,7 @@ func DemoTrackRevocation(suite *utils.TestSuite) { require.NoError(suite.T, err) address, err := aliceKeyInfo.GetAddress() require.NoError(suite.T, err) - aliceAccount, err := test_dclauth.GetAccount(suite, address) + aliceAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) jackName := testconstants.JackAccount @@ -1172,13 +1172,13 @@ func DemoTrackRevocation(suite *utils.TestSuite) { require.NoError(suite.T, err) address, err = jackKeyInfo.GetAddress() require.NoError(suite.T, err) - jackAccount, err := test_dclauth.GetAccount(suite, address) + jackAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) // Register new Vendor account vid := int32(tmrand.Uint16()) vendorName := utils.RandString() - vendorAccount := test_dclauth.CreateVendorAccount( + vendorAccount := testDclauth.CreateVendorAccount( suite, vendorName, dclauthtypes.AccountRoles{dclauthtypes.Vendor}, @@ -1194,7 +1194,7 @@ func DemoTrackRevocation(suite *utils.TestSuite) { // Register new CertificationCenter account certCenter := utils.RandString() - certCenterAccount := test_dclauth.CreateAccount( + certCenterAccount := testDclauth.CreateAccount( suite, certCenter, dclauthtypes.AccountRoles{dclauthtypes.CertificationCenter}, @@ -1210,14 +1210,14 @@ func DemoTrackRevocation(suite *utils.TestSuite) { // Publish model info pid := int32(tmrand.Uint16()) - firstModel := test_model.NewMsgCreateModel(vid, pid, vendorAccount.Address) + firstModel := testModel.NewMsgCreateModel(vid, pid, vendorAccount.Address) _, err = suite.BuildAndBroadcastTx([]sdk.Msg{firstModel}, vendorName, vendorAccount) require.NoError(suite.T, err) // Publish modelVersion sv := tmrand.Uint32() svs := utils.RandString() - firstModelVersion := test_model.NewMsgCreateModelVersion(vid, pid, sv, svs, vendorAccount.Address) + firstModelVersion := testModel.NewMsgCreateModelVersion(vid, pid, sv, svs, vendorAccount.Address) _, err = suite.BuildAndBroadcastTx([]sdk.Msg{firstModelVersion}, vendorName, vendorAccount) require.NoError(suite.T, err) @@ -1347,7 +1347,7 @@ func DemoTrackProvision(suite *utils.TestSuite) { require.NoError(suite.T, err) address, err := aliceKeyInfo.GetAddress() require.NoError(suite.T, err) - aliceAccount, err := test_dclauth.GetAccount(suite, address) + aliceAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) jackName := testconstants.JackAccount @@ -1355,13 +1355,13 @@ func DemoTrackProvision(suite *utils.TestSuite) { require.NoError(suite.T, err) address, err = jackKeyInfo.GetAddress() require.NoError(suite.T, err) - jackAccount, err := test_dclauth.GetAccount(suite, address) + jackAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) // Register new Vendor account vid := int32(tmrand.Uint16()) vendorName := utils.RandString() - vendorAccount := test_dclauth.CreateVendorAccount( + vendorAccount := testDclauth.CreateVendorAccount( suite, vendorName, dclauthtypes.AccountRoles{dclauthtypes.Vendor}, @@ -1377,7 +1377,7 @@ func DemoTrackProvision(suite *utils.TestSuite) { // Register new CertificationCenter account certCenter := utils.RandString() - certCenterAccount := test_dclauth.CreateAccount( + certCenterAccount := testDclauth.CreateAccount( suite, certCenter, dclauthtypes.AccountRoles{dclauthtypes.CertificationCenter}, @@ -1395,12 +1395,12 @@ func DemoTrackProvision(suite *utils.TestSuite) { sv := tmrand.Uint32() svs := utils.RandString() - firstModel := test_model.NewMsgCreateModel(vid, pid, vendorAccount.Address) + firstModel := testModel.NewMsgCreateModel(vid, pid, vendorAccount.Address) _, err = suite.BuildAndBroadcastTx([]sdk.Msg{firstModel}, vendorName, vendorAccount) require.NoError(suite.T, err) // Publish modelVersion - firstModelVersion := test_model.NewMsgCreateModelVersion(vid, pid, sv, svs, vendorAccount.Address) + firstModelVersion := testModel.NewMsgCreateModelVersion(vid, pid, sv, svs, vendorAccount.Address) _, err = suite.BuildAndBroadcastTx([]sdk.Msg{firstModelVersion}, vendorName, vendorAccount) require.NoError(suite.T, err) @@ -1523,11 +1523,11 @@ func DemoTrackProvision(suite *utils.TestSuite) { sv = tmrand.Uint32() svs = utils.RandString() - secondModel := test_model.NewMsgCreateModel(vid, pid, vendorAccount.Address) + secondModel := testModel.NewMsgCreateModel(vid, pid, vendorAccount.Address) _, err = suite.BuildAndBroadcastTx([]sdk.Msg{secondModel}, vendorName, vendorAccount) require.NoError(suite.T, err) - secondModelVersion := test_model.NewMsgCreateModelVersion(vid, pid, sv, svs, vendorAccount.Address) + secondModelVersion := testModel.NewMsgCreateModelVersion(vid, pid, sv, svs, vendorAccount.Address) _, err = suite.BuildAndBroadcastTx([]sdk.Msg{secondModelVersion}, vendorName, vendorAccount) require.NoError(suite.T, err) @@ -1696,7 +1696,7 @@ func DemoTrackComplianceWithHexVidAndPid(suite *utils.TestSuite) { require.NoError(suite.T, err) address, err := aliceKeyInfo.GetAddress() require.NoError(suite.T, err) - aliceAccount, err := test_dclauth.GetAccount(suite, address) + aliceAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) jackName := testconstants.JackAccount @@ -1704,13 +1704,13 @@ func DemoTrackComplianceWithHexVidAndPid(suite *utils.TestSuite) { require.NoError(suite.T, err) address, err = jackKeyInfo.GetAddress() require.NoError(suite.T, err) - jackAccount, err := test_dclauth.GetAccount(suite, address) + jackAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) // Register new Vendor account var vid int32 = 0xA13 vendorName := utils.RandString() - vendorAccount := test_dclauth.CreateVendorAccount( + vendorAccount := testDclauth.CreateVendorAccount( suite, vendorName, dclauthtypes.AccountRoles{dclauthtypes.Vendor}, @@ -1727,7 +1727,7 @@ func DemoTrackComplianceWithHexVidAndPid(suite *utils.TestSuite) { // Register new CertificationCenter account certCenter := utils.RandString() - certCenterAccount := test_dclauth.CreateAccount( + certCenterAccount := testDclauth.CreateAccount( suite, certCenter, dclauthtypes.AccountRoles{dclauthtypes.CertificationCenter}, @@ -1743,14 +1743,14 @@ func DemoTrackComplianceWithHexVidAndPid(suite *utils.TestSuite) { // Publish model info var pid int32 = 0xA11 - firstModel := test_model.NewMsgCreateModel(vid, pid, vendorAccount.Address) + firstModel := testModel.NewMsgCreateModel(vid, pid, vendorAccount.Address) _, err = suite.BuildAndBroadcastTx([]sdk.Msg{firstModel}, vendorName, vendorAccount) require.NoError(suite.T, err) // Publish modelVersion sv := tmrand.Uint32() svs := utils.RandString() - firstModelVersion := test_model.NewMsgCreateModelVersion(vid, pid, sv, svs, vendorAccount.Address) + firstModelVersion := testModel.NewMsgCreateModelVersion(vid, pid, sv, svs, vendorAccount.Address) _, err = suite.BuildAndBroadcastTx([]sdk.Msg{firstModelVersion}, vendorName, vendorAccount) require.NoError(suite.T, err) @@ -1811,7 +1811,7 @@ func DemoTrackRevocationWithHexVidAndPid(suite *utils.TestSuite) { require.NoError(suite.T, err) address, err := aliceKeyInfo.GetAddress() require.NoError(suite.T, err) - aliceAccount, err := test_dclauth.GetAccount(suite, address) + aliceAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) jackName := testconstants.JackAccount @@ -1819,13 +1819,13 @@ func DemoTrackRevocationWithHexVidAndPid(suite *utils.TestSuite) { require.NoError(suite.T, err) address, err = jackKeyInfo.GetAddress() require.NoError(suite.T, err) - jackAccount, err := test_dclauth.GetAccount(suite, address) + jackAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) // Register new Vendor account var vid int32 = 0xA14 vendorName := utils.RandString() - vendorAccount := test_dclauth.CreateVendorAccount( + vendorAccount := testDclauth.CreateVendorAccount( suite, vendorName, dclauthtypes.AccountRoles{dclauthtypes.Vendor}, @@ -1842,7 +1842,7 @@ func DemoTrackRevocationWithHexVidAndPid(suite *utils.TestSuite) { // Register new CertificationCenter account certCenter := utils.RandString() - certCenterAccount := test_dclauth.CreateAccount( + certCenterAccount := testDclauth.CreateAccount( suite, certCenter, dclauthtypes.AccountRoles{dclauthtypes.CertificationCenter}, @@ -1858,14 +1858,14 @@ func DemoTrackRevocationWithHexVidAndPid(suite *utils.TestSuite) { // Publish model info var pid int32 = 0xA15 - firstModel := test_model.NewMsgCreateModel(vid, pid, vendorAccount.Address) + firstModel := testModel.NewMsgCreateModel(vid, pid, vendorAccount.Address) _, err = suite.BuildAndBroadcastTx([]sdk.Msg{firstModel}, vendorName, vendorAccount) require.NoError(suite.T, err) // Publish modelVersion sv := tmrand.Uint32() svs := utils.RandString() - firstModelVersion := test_model.NewMsgCreateModelVersion(vid, pid, sv, svs, vendorAccount.Address) + firstModelVersion := testModel.NewMsgCreateModelVersion(vid, pid, sv, svs, vendorAccount.Address) _, err = suite.BuildAndBroadcastTx([]sdk.Msg{firstModelVersion}, vendorName, vendorAccount) require.NoError(suite.T, err) @@ -1950,7 +1950,7 @@ func DemoTrackProvisionByHexVidAndPid(suite *utils.TestSuite) { require.NoError(suite.T, err) address, err := aliceKeyInfo.GetAddress() require.NoError(suite.T, err) - aliceAccount, err := test_dclauth.GetAccount(suite, address) + aliceAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) jackName := testconstants.JackAccount @@ -1958,13 +1958,13 @@ func DemoTrackProvisionByHexVidAndPid(suite *utils.TestSuite) { require.NoError(suite.T, err) address, err = jackKeyInfo.GetAddress() require.NoError(suite.T, err) - jackAccount, err := test_dclauth.GetAccount(suite, address) + jackAccount, err := testDclauth.GetAccount(suite, address) require.NoError(suite.T, err) // Register new Vendor account var vid int32 = 0xA16 vendorName := utils.RandString() - vendorAccount := test_dclauth.CreateVendorAccount( + vendorAccount := testDclauth.CreateVendorAccount( suite, vendorName, dclauthtypes.AccountRoles{dclauthtypes.Vendor}, @@ -1980,7 +1980,7 @@ func DemoTrackProvisionByHexVidAndPid(suite *utils.TestSuite) { // Register new CertificationCenter account certCenter := utils.RandString() - certCenterAccount := test_dclauth.CreateAccount( + certCenterAccount := testDclauth.CreateAccount( suite, certCenter, dclauthtypes.AccountRoles{dclauthtypes.CertificationCenter}, @@ -1999,12 +1999,12 @@ func DemoTrackProvisionByHexVidAndPid(suite *utils.TestSuite) { svs := utils.RandString() // Publish model info - firstModel := test_model.NewMsgCreateModel(vid, pid, vendorAccount.Address) + firstModel := testModel.NewMsgCreateModel(vid, pid, vendorAccount.Address) _, err = suite.BuildAndBroadcastTx([]sdk.Msg{firstModel}, vendorName, vendorAccount) require.NoError(suite.T, err) // Publish modelVersion - firstModelVersion := test_model.NewMsgCreateModelVersion(vid, pid, sv, svs, vendorAccount.Address) + firstModelVersion := testModel.NewMsgCreateModelVersion(vid, pid, sv, svs, vendorAccount.Address) _, err = suite.BuildAndBroadcastTx([]sdk.Msg{firstModelVersion}, vendorName, vendorAccount) require.NoError(suite.T, err) diff --git a/integration_tests/grpc_rest/dclauth/helpers.go b/integration_tests/grpc_rest/dclauth/helpers.go index 41755f475..1b448060e 100644 --- a/integration_tests/grpc_rest/dclauth/helpers.go +++ b/integration_tests/grpc_rest/dclauth/helpers.go @@ -466,8 +466,8 @@ func CreateVendorAccount( productIDs []*types.Uint16Range, proposerName string, proposerAccount *dclauthtypes.Account, - approverName string, - approverAccount *dclauthtypes.Account, + _ string, + _ *dclauthtypes.Account, info string, ) *dclauthtypes.Account { accountInfo := CreateAccountInfo(suite, accountName) diff --git a/integration_tests/utils/client.go b/integration_tests/utils/client.go index 05e5bc878..5c6a23307 100644 --- a/integration_tests/utils/client.go +++ b/integration_tests/utils/client.go @@ -17,7 +17,7 @@ package utils import ( "bytes" "fmt" - "io/ioutil" + "io" "net/http" "strings" ) @@ -103,5 +103,5 @@ func sendRequest(uri string, method string, body []byte, account string, passphr func ReadResponseBody(resp *http.Response) ([]byte, error) { defer resp.Body.Close() - return ioutil.ReadAll(resp.Body) + return io.ReadAll(resp.Body) } diff --git a/integration_tests/utils/common.go b/integration_tests/utils/common.go index 302baf5e0..855b96a25 100644 --- a/integration_tests/utils/common.go +++ b/integration_tests/utils/common.go @@ -21,6 +21,7 @@ import ( "time" ) +// nolint func RandString() string { rand.Seed(time.Now().UnixNano()) diff --git a/integration_tests/utils/grpc_rest.go b/integration_tests/utils/grpc_rest.go index 2006d545c..4b993ba62 100644 --- a/integration_tests/utils/grpc_rest.go +++ b/integration_tests/utils/grpc_rest.go @@ -18,20 +18,21 @@ import ( "bufio" "context" "errors" - "github.com/zigbee-alliance/distributed-compliance-ledger/app" "os" "path/filepath" "testing" + //nolint:staticcheck + "github.com/golang/protobuf/proto" + "github.com/stretchr/testify/require" + + sdkerrors "cosmossdk.io/errors" clienttx "github.com/cosmos/cosmos-sdk/client/tx" "github.com/cosmos/cosmos-sdk/crypto/keyring" sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/cosmos/cosmos-sdk/types/tx" - //nolint:staticcheck - "github.com/golang/protobuf/proto" - "github.com/stretchr/testify/require" + "github.com/zigbee-alliance/distributed-compliance-ledger/app" appparams "github.com/zigbee-alliance/distributed-compliance-ledger/app/params" dclauthtypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" "google.golang.org/grpc" @@ -131,12 +132,13 @@ func (suite *TestSuite) BuildTx( return txBytes } +//nolint:nosnakecase func (suite *TestSuite) BroadcastTx(txBytes []byte) (*sdk.TxResponse, error) { var broadcastResp *tx.BroadcastTxResponse var err error body := tx.BroadcastTxRequest{ - Mode: tx.BroadcastMode_BROADCAST_MODE_SYNC, + Mode: tx.BroadcastMode_BROADCAST_MODE_SYNC, //nolint:nosnakecase TxBytes: txBytes, } @@ -204,6 +206,7 @@ func (suite *TestSuite) AssertNotFound(err error) { if !errors.As(err, &resterr) { panic("REST error is not RESTError type") } - require.Equal(suite.T, resterr.resp.StatusCode, 404) + + require.Equal(suite.T, 404, resterr.resp.StatusCode) } } diff --git a/integration_tests/utils/sign_helper.go b/integration_tests/utils/sign_helper.go index 91032aceb..d22584cd5 100644 --- a/integration_tests/utils/sign_helper.go +++ b/integration_tests/utils/sign_helper.go @@ -7,7 +7,7 @@ import ( ) // GenTx generates a signed mock transaction. -func GenTx(txf clienttx.Factory, gen client.TxConfig, msgs []sdk.Msg, signer string) (sdk.Tx, error) { +func GenTx(txf clienttx.Factory, _ client.TxConfig, msgs []sdk.Msg, signer string) (sdk.Tx, error) { // tx, err := txf.BuildUnsignedTx(msgs...) tx, err := txf.BuildUnsignedTx(msgs...) if err != nil { diff --git a/testutil/cli/cli.go b/testutil/cli/cli.go index 89cb75d26..3a8ec3d24 100644 --- a/testutil/cli/cli.go +++ b/testutil/cli/cli.go @@ -3,10 +3,10 @@ package cli import ( "testing" + "cosmossdk.io/errors" "github.com/cosmos/cosmos-sdk/client" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" sdk "github.com/cosmos/cosmos-sdk/types" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/spf13/cobra" "github.com/stretchr/testify/require" ) @@ -22,7 +22,7 @@ func ExecTestCLITxCmd(t *testing.T, clientCtx client.Context, cmd *cobra.Command require.NoError(t, err) if resp.Code != 0 { - err = sdkerrors.ABCIError(resp.Codespace, resp.Code, resp.RawLog) + err = errors.ABCIError(resp.Codespace, resp.Code, resp.RawLog) return nil, err } diff --git a/testutil/network/network.go b/testutil/network/network.go index dfccdafd5..db105e097 100644 --- a/testutil/network/network.go +++ b/testutil/network/network.go @@ -1,3 +1,4 @@ +//nolint:blank-imports,staticcheck package network import ( @@ -41,7 +42,6 @@ import ( pruningtypes "github.com/cosmos/cosmos-sdk/store/pruning/types" "github.com/cosmos/cosmos-sdk/testutil" "github.com/cosmos/cosmos-sdk/testutil/network" - simtestutil "github.com/cosmos/cosmos-sdk/testutil/sims" sdk "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/cosmos-sdk/x/auth" _ "github.com/cosmos/cosmos-sdk/x/auth/tx/config" @@ -100,7 +100,6 @@ func DefaultConfig() Config { val.GetCtx().Config.RootDir, 0, encoding, - simtestutil.EmptyAppOptions{}, baseapp.SetPruning(pruningtypes.NewPruningOptionsFromString(val.GetAppConfig().Pruning)), baseapp.SetMinGasPrices(val.GetAppConfig().MinGasPrices), baseapp.SetChainID(chainID), diff --git a/types/pki/errors.go b/types/pki/errors.go index 9ca238801..ee92791ea 100644 --- a/types/pki/errors.go +++ b/types/pki/errors.go @@ -3,70 +3,72 @@ package types // DONTCOVER import ( + "cosmossdk.io/errors" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" ) // x/pki module sentinel errors. var ( - ErrProposedCertificateAlreadyExists = sdkerrors.Register(ModuleName, 401, "proposed certificate already exists") - ErrProposedCertificateDoesNotExist = sdkerrors.Register(ModuleName, 402, "proposed certificate does not exist") - ErrCertificateAlreadyExists = sdkerrors.Register(ModuleName, 403, "certificate already exists") - ErrCertificateDoesNotExist = sdkerrors.Register(ModuleName, 404, "certificate does not exist") - ErrProposedCertificateRevocationAlreadyExists = sdkerrors.Register(ModuleName, 405, "proposed certificate revocation already exists") - ErrProposedCertificateRevocationDoesNotExist = sdkerrors.Register(ModuleName, 406, "proposed certificate revocation does not exist") - ErrRevokedCertificateDoesNotExist = sdkerrors.Register(ModuleName, 407, "revoked certificate does not exist") - ErrInappropriateCertificateType = sdkerrors.Register(ModuleName, 408, "inappropriate certificate type") - ErrInvalidCertificate = sdkerrors.Register(ModuleName, 409, "invalid certificate") - ErrInvalidDataDigestType = sdkerrors.Register(ModuleName, 410, "invalid data digest type") - ErrInvalidRevocationType = sdkerrors.Register(ModuleName, 411, "invalid revocation type") - ErrNotEmptyPid = sdkerrors.Register(ModuleName, 412, "pid is not empty") - ErrNotEmptyVid = sdkerrors.Register(ModuleName, 413, "vid is not empty") - ErrRootCertificateIsNotSelfSigned = sdkerrors.Register(ModuleName, 414, "Root certificate is not self-signed") - ErrCRLSignerCertificatePidNotEqualRevocationPointPid = sdkerrors.Register(ModuleName, 415, "CRLSignerCertificate pid does not equal revocation point pid") - ErrCRLSignerCertificateVidNotEqualRevocationPointVid = sdkerrors.Register(ModuleName, 416, "CRLSignerCertificate vid does not equal revocation point pid") - ErrCRLSignerCertificatePidNotEqualMsgPid = sdkerrors.Register(ModuleName, 417, "CRLSignerCertificate pid does not equal message pid") - ErrCRLSignerCertificateVidNotEqualMsgVid = sdkerrors.Register(ModuleName, 418, "CRLSignerCertificate vid does not equal message vid") - ErrMessageVidNotEqualAccountVid = sdkerrors.Register(ModuleName, 419, "Message vid does not equal the account vid") - ErrNonRootCertificateSelfSigned = sdkerrors.Register(ModuleName, 420, "Intermediate or leaf certificate must not be self-signed") - ErrEmptyDataFileSize = sdkerrors.Register(ModuleName, 421, "empty data file size") - ErrEmptyDataDigest = sdkerrors.Register(ModuleName, 422, "empty data digest") - ErrEmptyDataDigestType = sdkerrors.Register(ModuleName, 423, "empty data digest type") - ErrNotEmptyDataDigestType = sdkerrors.Register(ModuleName, 424, "not empty data digest type") - ErrDataFieldPresented = sdkerrors.Register(ModuleName, 425, "one or more of DataDigest, DataDigestType, DataFileSize fields presented") - ErrWrongSubjectKeyIDFormat = sdkerrors.Register(ModuleName, 426, "wrong SubjectKeyID format") - ErrVidNotFound = sdkerrors.Register(ModuleName, 427, "vid not found") - ErrPidNotFound = sdkerrors.Register(ModuleName, 428, "pid not found") - ErrPemValuesNotEqual = sdkerrors.Register(ModuleName, 429, "pem values of certificates are not equal") - ErrPkiRevocationDistributionPointAlreadyExists = sdkerrors.Register(ModuleName, 430, "pki revocation distribution point already exists") - ErrPkiRevocationDistributionPointDoesNotExists = sdkerrors.Register(ModuleName, 431, "pki revocaition distribution point does not exist") - ErrUnsupportedOperation = sdkerrors.Register(ModuleName, 432, "unsupported operation") - ErrInvalidVidFormat = sdkerrors.Register(ModuleName, 433, "invalid vid format") - ErrInvalidPidFormat = sdkerrors.Register(ModuleName, 434, "invalid pid format") - ErrInvalidDataURLFormat = sdkerrors.Register(ModuleName, 435, "invalid data url format") - ErrCertificateVidNotEqualMsgVid = sdkerrors.Register(ModuleName, 436, "certificate's vid is not equal to the message vid") - ErrMessageVidNotEqualRootCertVid = sdkerrors.Register(ModuleName, 437, "Message vid is not equal to ledger's root certificate vid") - ErrCertNotChainedBack = sdkerrors.Register(ModuleName, 438, "Certificate is not chained back to a root certificate on DCL") + ErrProposedCertificateAlreadyExists = errors.Register(ModuleName, 401, "proposed certificate already exists") + ErrProposedCertificateDoesNotExist = errors.Register(ModuleName, 402, "proposed certificate does not exist") + ErrCertificateAlreadyExists = errors.Register(ModuleName, 403, "certificate already exists") + ErrCertificateDoesNotExist = errors.Register(ModuleName, 404, "certificate does not exist") + ErrProposedCertificateRevocationAlreadyExists = errors.Register(ModuleName, 405, "proposed certificate revocation already exists") + ErrProposedCertificateRevocationDoesNotExist = errors.Register(ModuleName, 406, "proposed certificate revocation does not exist") + ErrRevokedCertificateDoesNotExist = errors.Register(ModuleName, 407, "revoked certificate does not exist") + ErrInappropriateCertificateType = errors.Register(ModuleName, 408, "inappropriate certificate type") + ErrInvalidCertificate = errors.Register(ModuleName, 409, "invalid certificate") + ErrInvalidDataDigestType = errors.Register(ModuleName, 410, "invalid data digest type") + ErrInvalidRevocationType = errors.Register(ModuleName, 411, "invalid revocation type") + ErrNotEmptyPid = errors.Register(ModuleName, 412, "pid is not empty") + ErrNotEmptyVid = errors.Register(ModuleName, 413, "vid is not empty") + ErrRootCertificateIsNotSelfSigned = errors.Register(ModuleName, 414, "Root certificate is not self-signed") + ErrCRLSignerCertificatePidNotEqualRevocationPointPid = errors.Register(ModuleName, 415, "CRLSignerCertificate pid does not equal revocation point pid") + ErrCRLSignerCertificateVidNotEqualRevocationPointVid = errors.Register(ModuleName, 416, "CRLSignerCertificate vid does not equal revocation point pid") + ErrCRLSignerCertificatePidNotEqualMsgPid = errors.Register(ModuleName, 417, "CRLSignerCertificate pid does not equal message pid") + ErrCRLSignerCertificateVidNotEqualMsgVid = errors.Register(ModuleName, 418, "CRLSignerCertificate vid does not equal message vid") + ErrMessageVidNotEqualAccountVid = errors.Register(ModuleName, 419, "Message vid does not equal the account vid") + ErrNonRootCertificateSelfSigned = errors.Register(ModuleName, 420, "Intermediate or leaf certificate must not be self-signed") + ErrEmptyDataFileSize = errors.Register(ModuleName, 421, "empty data file size") + ErrEmptyDataDigest = errors.Register(ModuleName, 422, "empty data digest") + ErrEmptyDataDigestType = errors.Register(ModuleName, 423, "empty data digest type") + ErrNotEmptyDataDigestType = errors.Register(ModuleName, 424, "not empty data digest type") + ErrDataFieldPresented = errors.Register(ModuleName, 425, "one or more of DataDigest, DataDigestType, DataFileSize fields presented") + ErrWrongSubjectKeyIDFormat = errors.Register(ModuleName, 426, "wrong SubjectKeyID format") + ErrVidNotFound = errors.Register(ModuleName, 427, "vid not found") + ErrPidNotFound = errors.Register(ModuleName, 428, "pid not found") + ErrPemValuesNotEqual = errors.Register(ModuleName, 429, "pem values of certificates are not equal") + ErrPkiRevocationDistributionPointAlreadyExists = errors.Register(ModuleName, 430, "pki revocation distribution point already exists") + ErrPkiRevocationDistributionPointDoesNotExists = errors.Register(ModuleName, 431, "pki revocaition distribution point does not exist") + ErrUnsupportedOperation = errors.Register(ModuleName, 432, "unsupported operation") + ErrInvalidVidFormat = errors.Register(ModuleName, 433, "invalid vid format") + ErrInvalidPidFormat = errors.Register(ModuleName, 434, "invalid pid format") + ErrInvalidDataURLFormat = errors.Register(ModuleName, 435, "invalid data url format") + ErrCertificateVidNotEqualMsgVid = errors.Register(ModuleName, 436, "certificate's vid is not equal to the message vid") + ErrMessageVidNotEqualRootCertVid = errors.Register(ModuleName, 437, "Message vid is not equal to ledger's root certificate vid") + ErrCertNotChainedBack = errors.Register(ModuleName, 438, "Certificate is not chained back to a root certificate on DCL") ) func NewErrUnauthorizedRole(transactionName string, requiredRole types.AccountRole) error { - return sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return errors.Wrapf(sdkerrors.ErrUnauthorized, "%s transaction should be signed by an account with the \"%s\" role", transactionName, requiredRole) } func NewErrInvalidAddress(err error) error { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%v)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%v)", err) } func NewErrProposedCertificateAlreadyExists(subject string, subjectKeyID string) error { - return sdkerrors.Wrapf(ErrProposedCertificateAlreadyExists, + return errors.Wrapf(ErrProposedCertificateAlreadyExists, "Proposed X509 root certificate associated with the combination "+ "of subject=%v and subjectKeyID=%v already exists on the ledger", subject, subjectKeyID) } func NewErrProposedCertificateDoesNotExist(subject string, subjectKeyID string) error { - return sdkerrors.Wrapf(ErrProposedCertificateDoesNotExist, + return errors.Wrapf(ErrProposedCertificateDoesNotExist, "No proposed X509 root certificate associated "+ "with the combination of subject=%v and subjectKeyID=%v on the ledger. "+ "The cerificate either does not exists or already approved.", @@ -74,21 +76,21 @@ func NewErrProposedCertificateDoesNotExist(subject string, subjectKeyID string) } func NewErrCertificateAlreadyExists(issuer string, serialNumber string) error { - return sdkerrors.Wrapf(ErrCertificateAlreadyExists, + return errors.Wrapf(ErrCertificateAlreadyExists, "X509 certificate associated with the combination of "+ "issuer=%v and serialNumber=%v already exists on the ledger", issuer, serialNumber) } func NewErrCertificateDoesNotExist(subject string, subjectKeyID string) error { - return sdkerrors.Wrapf(ErrCertificateDoesNotExist, + return errors.Wrapf(ErrCertificateDoesNotExist, "No X509 certificate associated with the "+ "combination of subject=%v and subjectKeyID=%v on the ledger", subject, subjectKeyID) } func NewErrRootCertificateDoesNotExist(subject string, subjectKeyID string) error { - return sdkerrors.Wrapf(ErrCertificateDoesNotExist, + return errors.Wrapf(ErrCertificateDoesNotExist, "No X509 root certificate associated with the "+ "combination of subject=%s and subjectKeyID=%s on the ledger", subject, subjectKeyID, @@ -96,77 +98,77 @@ func NewErrRootCertificateDoesNotExist(subject string, subjectKeyID string) erro } func NewErrProposedCertificateRevocationAlreadyExists(subject string, subjectKeyID string) error { - return sdkerrors.Wrapf(ErrProposedCertificateRevocationAlreadyExists, + return errors.Wrapf(ErrProposedCertificateRevocationAlreadyExists, "Proposed X509 root certificate revocation associated with the combination "+ "of subject=%v and subjectKeyID=%v already exists on the ledger", subject, subjectKeyID) } func NewErrProposedCertificateRevocationDoesNotExist(subject string, subjectKeyID string) error { - return sdkerrors.Wrapf(ErrProposedCertificateRevocationDoesNotExist, + return errors.Wrapf(ErrProposedCertificateRevocationDoesNotExist, "No proposed X509 root certificate revocation associated "+ "with the combination of subject=%v and subjectKeyID=%v on the ledger.", subject, subjectKeyID) } func NewErrRevokedCertificateDoesNotExist(subject string, subjectKeyID string) error { - return sdkerrors.Wrapf(ErrRevokedCertificateDoesNotExist, + return errors.Wrapf(ErrRevokedCertificateDoesNotExist, "No revoked X509 certificate associated with the "+ "combination of subject=%v and subjectKeyID=%v on the ledger", subject, subjectKeyID) } func NewErrInappropriateCertificateType(e interface{}) error { - return sdkerrors.Wrapf(ErrInappropriateCertificateType, "%v", + return errors.Wrapf(ErrInappropriateCertificateType, "%v", e) } func NewErrInvalidCertificate(e interface{}) error { - return sdkerrors.Wrapf(ErrInvalidCertificate, "%v", + return errors.Wrapf(ErrInvalidCertificate, "%v", e) } func NewErrInvalidDataDigestType(dataDigestType uint32, allowedDataDigestTypes []uint32) error { - return sdkerrors.Wrapf(ErrInvalidDataDigestType, + return errors.Wrapf(ErrInvalidDataDigestType, "Invalid DataDigestType: %d. Supported types are: %v", dataDigestType, allowedDataDigestTypes) } func NewErrInvalidRevocationType(revocationType uint32, allowedRevocationTypes []uint32) error { - return sdkerrors.Wrapf(ErrInvalidRevocationType, + return errors.Wrapf(ErrInvalidRevocationType, "Invalid RevocationType: %d. Supported types are: %v", revocationType, allowedRevocationTypes) } func NewErrNotEmptyPidForRootCertificate() error { - return sdkerrors.Wrapf(ErrNotEmptyPid, + return errors.Wrapf(ErrNotEmptyPid, "Product ID (pid) must be empty for root certificates") } func NewErrNotEmptyPidForNonRootCertificate() error { - return sdkerrors.Wrapf(ErrNotEmptyPid, + return errors.Wrapf(ErrNotEmptyPid, "Product ID (pid) must be empty when it is not found in non-root CRL Signer Certificate") } func NewErrNotEmptyVid(e interface{}) error { - return sdkerrors.Wrapf(ErrNotEmptyVid, "%v", + return errors.Wrapf(ErrNotEmptyVid, "%v", e) } func NewErrRootCertificateIsNotSelfSigned() error { - return sdkerrors.Wrapf( + return errors.Wrapf( ErrRootCertificateIsNotSelfSigned, "Provided root certificate must be self-signed", ) } func NewErrNonRootCertificateSelfSigned() error { - return sdkerrors.Wrapf( + return errors.Wrapf( ErrNonRootCertificateSelfSigned, "Provided non-root certificate must not be self-signed", ) } func NewErrCRLSignerCertificatePidNotEqualMsgPid(certificatePid int32, messagePid int32) error { - return sdkerrors.Wrapf( + return errors.Wrapf( ErrCRLSignerCertificatePidNotEqualMsgPid, "CRL Signer Certificate's pid=%d must be equal to the provided pid=%d in the message", certificatePid, messagePid, @@ -174,7 +176,7 @@ func NewErrCRLSignerCertificatePidNotEqualMsgPid(certificatePid int32, messagePi } func NewErrCRLSignerCertificateVidNotEqualMsgVid(certificateVid int32, messageVid int32) error { - return sdkerrors.Wrapf( + return errors.Wrapf( ErrCRLSignerCertificateVidNotEqualMsgVid, "CRL Signer Certificate's vid=%d must be equal to the provided vid=%d in the message", certificateVid, messageVid, @@ -182,48 +184,48 @@ func NewErrCRLSignerCertificateVidNotEqualMsgVid(certificateVid int32, messageVi } func NewErrMessageVidNotEqualRootCertVid(vid1 int32, vid2 int32) error { - return sdkerrors.Wrapf(ErrMessageVidNotEqualRootCertVid, + return errors.Wrapf(ErrMessageVidNotEqualRootCertVid, "Message vid=%d is not equal to ledger's root certificate vid=%d", vid1, vid2) } func NewErrCRLSignerCertificatePidNotEqualRevocationPointPid(certificatePid int32, revocationPointPid int32) error { - return sdkerrors.Wrapf( + return errors.Wrapf( ErrCRLSignerCertificatePidNotEqualRevocationPointPid, "CRL Signer Certificate's pid=%d must be equal to the provided pid=%d in the reovocation point", certificatePid, revocationPointPid) } func NewErrCRLSignerCertificateVidNotEqualRevocationPointVid(vid1 int32, vid2 int32) error { - return sdkerrors.Wrapf(ErrCRLSignerCertificateVidNotEqualRevocationPointVid, + return errors.Wrapf(ErrCRLSignerCertificateVidNotEqualRevocationPointVid, "CRL Signer Certificate's vid=%d must be equal to the provided vid=%d in the reovocation point", vid1, vid2) } func NewErrNonEmptyDataDigest() error { - return sdkerrors.Wrapf(ErrEmptyDataFileSize, "Data Digest must be provided only if Data File Size is provided") + return errors.Wrapf(ErrEmptyDataFileSize, "Data Digest must be provided only if Data File Size is provided") } func NewErrNotEmptyDataDigestType() error { - return sdkerrors.Wrapf(ErrNotEmptyDataDigestType, "Data Digest Type must be provided only if Data Digest is provided") + return errors.Wrapf(ErrNotEmptyDataDigestType, "Data Digest Type must be provided only if Data Digest is provided") } func NewErrEmptyDataDigest() error { - return sdkerrors.Wrapf(ErrEmptyDataDigest, "Data Digest must be provided if Data File Size is provided") + return errors.Wrapf(ErrEmptyDataDigest, "Data Digest must be provided if Data File Size is provided") } func NewErrEmptyDataDigestType() error { - return sdkerrors.Wrapf(ErrEmptyDataDigestType, "Data Digest Type must be provided if Data Digest is provided") + return errors.Wrapf(ErrEmptyDataDigestType, "Data Digest Type must be provided if Data Digest is provided") } func NewErrDataFieldPresented(revocationType uint32) error { - return sdkerrors.Wrapf( + return errors.Wrapf( ErrDataFieldPresented, "Data Digest, Data File Size and Data Digest Type must be omitted for Revocation Type %d", revocationType, ) } func NewErrWrongSubjectKeyIDFormat() error { - return sdkerrors.Wrapf( + return errors.Wrapf( ErrWrongSubjectKeyIDFormat, "Wrong IssuerSubjectKeyID format. It must consist of even number of uppercase hexadecimal characters ([0-9A-F]), "+ "with no whitespace and no non-hexadecimal characters", @@ -231,26 +233,26 @@ func NewErrWrongSubjectKeyIDFormat() error { } func NewErrVidNotFound(e interface{}) error { - return sdkerrors.Wrapf(ErrVidNotFound, "%v", + return errors.Wrapf(ErrVidNotFound, "%v", e) } func NewErrPidNotFoundInCertificateButProvidedInRevocationPoint() error { - return sdkerrors.Wrapf( + return errors.Wrapf( ErrPidNotFound, "Product ID (pid) not found in CRL Signer Certificate when it is provided in the revocation point", ) } func NewErrPidNotFoundInMessage(certificatePid int32) error { - return sdkerrors.Wrapf( + return errors.Wrapf( ErrPidNotFound, "Product ID (pid) must be provided when pid=%d in non-root CRL Signer Certificate", certificatePid, ) } func NewErrPemValuesNotEqual(subject string, subjectKeyID string) error { - return sdkerrors.Wrapf( + return errors.Wrapf( ErrPemValuesNotEqual, "PEM values of the CRL signer certificate and a certificate found by subject=%s and subjectKeyID=%s are not equal", subject, subjectKeyID, @@ -258,7 +260,7 @@ func NewErrPemValuesNotEqual(subject string, subjectKeyID string) error { } func NewErrPkiRevocationDistributionPointWithVidAndLabelAlreadyExists(vid int32, label string, issuerSubjectKeyID string) error { - return sdkerrors.Wrapf( + return errors.Wrapf( ErrPkiRevocationDistributionPointAlreadyExists, "PKI revocation distribution point associated with vid=%d and label=%s already exist for issuerSubjectKeyID=%s", vid, label, issuerSubjectKeyID, @@ -266,7 +268,7 @@ func NewErrPkiRevocationDistributionPointWithVidAndLabelAlreadyExists(vid int32, } func NewErrPkiRevocationDistributionPointWithDataURLAlreadyExists(dataURL string, issuerSubjectKeyID string) error { - return sdkerrors.Wrapf( + return errors.Wrapf( ErrPkiRevocationDistributionPointAlreadyExists, "PKI revocation distribution point associated with dataUrl=%s already exist for issuerSubjectKeyID=%s", dataURL, issuerSubjectKeyID, @@ -274,7 +276,7 @@ func NewErrPkiRevocationDistributionPointWithDataURLAlreadyExists(dataURL string } func NewErrPkiRevocationDistributionPointDoesNotExists(vid int32, label string, issuerSubjectKeyID string) error { - return sdkerrors.Wrapf( + return errors.Wrapf( ErrPkiRevocationDistributionPointDoesNotExists, "PKI revocation distribution point associated with vid=%d and label=%s does not exist for issuerSubjectKeyID=%s", vid, label, issuerSubjectKeyID, @@ -282,29 +284,29 @@ func NewErrPkiRevocationDistributionPointDoesNotExists(vid int32, label string, } func NewErrMessageVidNotEqualAccountVid(msgVid int32, accountVid int32) error { - return sdkerrors.Wrapf(ErrMessageVidNotEqualAccountVid, "Message vid=%d is not equal to account vid=%d", msgVid, accountVid) + return errors.Wrapf(ErrMessageVidNotEqualAccountVid, "Message vid=%d is not equal to account vid=%d", msgVid, accountVid) } func NewErrUnsupportedOperation(e interface{}) error { - return sdkerrors.Wrapf(ErrUnsupportedOperation, "%v", e) + return errors.Wrapf(ErrUnsupportedOperation, "%v", e) } func NewErrInvalidVidFormat(e interface{}) error { - return sdkerrors.Wrapf(ErrInvalidVidFormat, "Could not parse vid: %v", e) + return errors.Wrapf(ErrInvalidVidFormat, "Could not parse vid: %v", e) } func NewErrInvalidPidFormat(e interface{}) error { - return sdkerrors.Wrapf(ErrInvalidPidFormat, "Could not parse pid: %v", e) + return errors.Wrapf(ErrInvalidPidFormat, "Could not parse pid: %v", e) } func NewErrInvalidDataURLSchema() error { - return sdkerrors.Wrapf(ErrInvalidDataURLFormat, "Data Url must start with https:// or http://") + return errors.Wrapf(ErrInvalidDataURLFormat, "Data Url must start with https:// or http://") } func NewErrCertificateVidNotEqualMsgVid(e interface{}) error { - return sdkerrors.Wrapf(ErrCertificateVidNotEqualMsgVid, "%v", e) + return errors.Wrapf(ErrCertificateVidNotEqualMsgVid, "%v", e) } func NewErrCertNotChainedBack() error { - return sdkerrors.Wrapf(ErrCertNotChainedBack, "CRL Signer Certificate is not chained back to root certificate on DCL") + return errors.Wrapf(ErrCertNotChainedBack, "CRL Signer Certificate is not chained back to root certificate on DCL") } diff --git a/utils/cli/utils.go b/utils/cli/utils.go index b628ea669..8050d21cd 100644 --- a/utils/cli/utils.go +++ b/utils/cli/utils.go @@ -3,7 +3,6 @@ package cli import ( "errors" "fmt" - "io/ioutil" "os" "strings" @@ -74,7 +73,7 @@ func QueryWithProofList(clientCtx client.Context, storeName string, keyPrefix st func ReadFromFile(target string) (string, error) { if _, err := os.Stat(target); err == nil { // check whether it is a path - bytes, err := ioutil.ReadFile(target) + bytes, err := os.ReadFile(target) if err != nil { return "", err } diff --git a/utils/misc.go b/utils/misc.go index e1ff4e3ec..2771a7030 100644 --- a/utils/misc.go +++ b/utils/misc.go @@ -1,13 +1,12 @@ package utils import ( - "io/ioutil" "os" ) func ReadFromFile(target string) (string, error) { if _, err := os.Stat(target); err == nil { // check whether it is a path - bytes, err := ioutil.ReadFile(target) + bytes, err := os.ReadFile(target) if err != nil { return "", err } diff --git a/utils/validator/errors.go b/utils/validator/errors.go index 188301b62..17f14c9ad 100644 --- a/utils/validator/errors.go +++ b/utils/validator/errors.go @@ -15,7 +15,7 @@ package validator import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "cosmossdk.io/errors" ) const ( @@ -23,10 +23,10 @@ const ( ) var ( - ErrRequiredFieldMissing = sdkerrors.Register(Codespace, 900, "required field missing") - ErrFieldMaxLengthExceeded = sdkerrors.Register(Codespace, 901, "field max length exceeded") - ErrFieldNotValid = sdkerrors.Register(Codespace, 902, "field not valid") - ErrFieldLowerBoundViolated = sdkerrors.Register(Codespace, 903, "field lower bound violated") - ErrFieldUpperBoundViolated = sdkerrors.Register(Codespace, 904, "field upper bound violated") - ErrFieldMinLengthNotReached = sdkerrors.Register(Codespace, 905, "field min length not reached") + ErrRequiredFieldMissing = errors.Register(Codespace, 900, "required field missing") + ErrFieldMaxLengthExceeded = errors.Register(Codespace, 901, "field max length exceeded") + ErrFieldNotValid = errors.Register(Codespace, 902, "field not valid") + ErrFieldLowerBoundViolated = errors.Register(Codespace, 903, "field lower bound violated") + ErrFieldUpperBoundViolated = errors.Register(Codespace, 904, "field upper bound violated") + ErrFieldMinLengthNotReached = errors.Register(Codespace, 905, "field min length not reached") ) diff --git a/utils/validator/validator.go b/utils/validator/validator.go index c2a7d554f..7272924eb 100644 --- a/utils/validator/validator.go +++ b/utils/validator/validator.go @@ -18,11 +18,11 @@ import ( "fmt" "strings" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "cosmossdk.io/errors" "github.com/go-playground/locales/en" ut "github.com/go-playground/universal-translator" "github.com/go-playground/validator/v10" - en_translations "github.com/go-playground/validator/v10/translations/en" + enTranslations "github.com/go-playground/validator/v10/translations/en" ) var ( @@ -39,7 +39,7 @@ func Validate(s interface{}) error { vl = validator.New() - _ = en_translations.RegisterDefaultTranslations(vl, trans) + _ = enTranslations.RegisterDefaultTranslations(vl, trans) _ = vl.RegisterTranslation("required", trans, func(ut ut.Translator) error { return ut.Add("required", "{0} is a required field", true) // see universal-translator for details @@ -137,27 +137,27 @@ func Validate(s interface{}) error { for _, e := range errs.(validator.ValidationErrors) { if e.Tag() == "required" || e.Tag() == "required_with" || e.Tag() == "required_if" || e.Tag() == "required_unless" { - return sdkerrors.Wrap(ErrRequiredFieldMissing, e.Translate(trans)) + return errors.Wrap(ErrRequiredFieldMissing, e.Translate(trans)) } if e.Tag() == "max" { - return sdkerrors.Wrap(ErrFieldMaxLengthExceeded, e.Translate(trans)) + return errors.Wrap(ErrFieldMaxLengthExceeded, e.Translate(trans)) } if e.Tag() == "min" { - return sdkerrors.Wrap(ErrFieldMinLengthNotReached, e.Translate(trans)) + return errors.Wrap(ErrFieldMinLengthNotReached, e.Translate(trans)) } if e.Tag() == "url" || e.Tag() == "startsnotwith" || e.Tag() == "gtecsfield" { - return sdkerrors.Wrap(ErrFieldNotValid, e.Translate(trans)) + return errors.Wrap(ErrFieldNotValid, e.Translate(trans)) } if e.Tag() == "gte" { - return sdkerrors.Wrap(ErrFieldLowerBoundViolated, e.Translate(trans)) + return errors.Wrap(ErrFieldLowerBoundViolated, e.Translate(trans)) } if e.Tag() == "lte" { - return sdkerrors.Wrap(ErrFieldUpperBoundViolated, e.Translate(trans)) + return errors.Wrap(ErrFieldUpperBoundViolated, e.Translate(trans)) } } } diff --git a/x/compliance/client/cli/query.go b/x/compliance/client/cli/query.go index bba98485d..333fe4732 100644 --- a/x/compliance/client/cli/query.go +++ b/x/compliance/client/cli/query.go @@ -12,7 +12,7 @@ import ( ) // GetQueryCmd returns the cli query commands for this module. -func GetQueryCmd(queryRoute string) *cobra.Command { +func GetQueryCmd(_ string) *cobra.Command { // Group compliance queries under a subcommand cmd := &cobra.Command{ Use: types.ModuleName, diff --git a/x/compliance/handler_certify_model_test.go b/x/compliance/handler_certify_model_test.go index 432de4686..cfe69d97f 100644 --- a/x/compliance/handler_certify_model_test.go +++ b/x/compliance/handler_certify_model_test.go @@ -57,6 +57,7 @@ func (setup *TestSetup) checkCertifiedModelMatchesMsg(t *testing.T, certifyModel } func (setup *TestSetup) checkDeviceSoftwareComplianceMatchesComplianceInfo(t *testing.T, complianceInfo *types.ComplianceInfo) { + t.Helper() receivedDeviceSoftwareCompliance, _ := queryDeviceSoftwareCompliance(setup, complianceInfo.CDCertificateId) require.Equal(t, receivedDeviceSoftwareCompliance.CDCertificateId, complianceInfo.CDCertificateId) checkDeviceSoftwareCompliance(t, receivedDeviceSoftwareCompliance.ComplianceInfo[0], complianceInfo) diff --git a/x/compliance/handler_delete_compliance_info_test.go b/x/compliance/handler_delete_compliance_info_test.go index 0a53a9f57..6810bdd77 100644 --- a/x/compliance/handler_delete_compliance_info_test.go +++ b/x/compliance/handler_delete_compliance_info_test.go @@ -10,6 +10,7 @@ import ( ) func setupDeleteComplianceInfo(t *testing.T) (*TestSetup, int32, int32, uint32, string, string) { + t.Helper() setup := setup(t) vid, pid, softwareVersion, softwareVersionString := setup.addModelVersion( diff --git a/x/compliance/keeper/compliance_info.go b/x/compliance/keeper/compliance_info.go index f1a8f5672..c1f7ac36e 100644 --- a/x/compliance/keeper/compliance_info.go +++ b/x/compliance/keeper/compliance_info.go @@ -5,11 +5,10 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" - dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" ) // SetComplianceInfo set a specific complianceInfo in the store from its index. -func (k Keeper) SetComplianceInfo(ctx sdk.Context, complianceInfo dclcompltypes.ComplianceInfo) { +func (k Keeper) SetComplianceInfo(ctx sdk.Context, complianceInfo types.ComplianceInfo) { store := prefix.NewStore(ctx.KVStore(k.storeKey), types.KeyPrefix(types.ComplianceInfoKeyPrefix)) b := k.cdc.MustMarshal(&complianceInfo) store.Set(types.ComplianceInfoKey( @@ -27,7 +26,7 @@ func (k Keeper) GetComplianceInfo( pid int32, softwareVersion uint32, certificationType string, -) (val dclcompltypes.ComplianceInfo, found bool) { +) (val types.ComplianceInfo, found bool) { store := prefix.NewStore(ctx.KVStore(k.storeKey), types.KeyPrefix(types.ComplianceInfoKeyPrefix)) b := store.Get(types.ComplianceInfoKey( @@ -63,14 +62,14 @@ func (k Keeper) RemoveComplianceInfo( } // GetAllComplianceInfo returns all complianceInfo. -func (k Keeper) GetAllComplianceInfo(ctx sdk.Context) (list []dclcompltypes.ComplianceInfo) { +func (k Keeper) GetAllComplianceInfo(ctx sdk.Context) (list []types.ComplianceInfo) { store := prefix.NewStore(ctx.KVStore(k.storeKey), types.KeyPrefix(types.ComplianceInfoKeyPrefix)) iterator := sdk.KVStorePrefixIterator(store, []byte{}) defer iterator.Close() for ; iterator.Valid(); iterator.Next() { - var val dclcompltypes.ComplianceInfo + var val types.ComplianceInfo k.cdc.MustUnmarshal(iterator.Value(), &val) list = append(list, val) } diff --git a/x/compliance/keeper/grpc_query_compliance_info.go b/x/compliance/keeper/grpc_query_compliance_info.go index 14fe13db5..50d252fbf 100644 --- a/x/compliance/keeper/grpc_query_compliance_info.go +++ b/x/compliance/keeper/grpc_query_compliance_info.go @@ -10,7 +10,6 @@ import ( "google.golang.org/grpc/status" "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" - dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" ) func (k Keeper) ComplianceInfoAll(c context.Context, req *types.QueryAllComplianceInfoRequest) (*types.QueryAllComplianceInfoResponse, error) { @@ -18,14 +17,14 @@ func (k Keeper) ComplianceInfoAll(c context.Context, req *types.QueryAllComplian return nil, status.Error(codes.InvalidArgument, "invalid request") } - var complianceInfos []dclcompltypes.ComplianceInfo + var complianceInfos []types.ComplianceInfo ctx := sdk.UnwrapSDKContext(c) store := ctx.KVStore(k.storeKey) complianceInfoStore := prefix.NewStore(store, types.KeyPrefix(types.ComplianceInfoKeyPrefix)) pageRes, err := query.Paginate(complianceInfoStore, req.Pagination, func(key []byte, value []byte) error { - var complianceInfo dclcompltypes.ComplianceInfo + var complianceInfo types.ComplianceInfo if err := k.cdc.Unmarshal(value, &complianceInfo); err != nil { return err } diff --git a/x/compliance/keeper/msg_server_certify_model.go b/x/compliance/keeper/msg_server_certify_model.go index 6697cd496..a344e7884 100644 --- a/x/compliance/keeper/msg_server_certify_model.go +++ b/x/compliance/keeper/msg_server_certify_model.go @@ -9,7 +9,6 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" - dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" dclauthtypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" modeltypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/types" ) @@ -58,7 +57,7 @@ func (k msgServer) CertifyModel(goCtx context.Context, msg *types.MsgCertifyMode // and so the test results are not required to be present. // check if compliance is already in certified state - if complianceInfo.SoftwareVersionCertificationStatus == dclcompltypes.CodeCertified { + if complianceInfo.SoftwareVersionCertificationStatus == types.CodeCertified { return nil, types.NewErrAlreadyCertified(msg.Vid, msg.Pid, msg.SoftwareVersion, msg.CertificationType) } @@ -82,7 +81,7 @@ func (k msgServer) CertifyModel(goCtx context.Context, msg *types.MsgCertifyMode } else { // There is no compliance record yet. So certification will be tracked on ledger. - complianceInfo = dclcompltypes.ComplianceInfo{ + complianceInfo = types.ComplianceInfo{ Vid: msg.Vid, Pid: msg.Pid, SoftwareVersion: msg.SoftwareVersion, @@ -91,14 +90,14 @@ func (k msgServer) CertifyModel(goCtx context.Context, msg *types.MsgCertifyMode Date: msg.CertificationDate, Reason: msg.Reason, Owner: msg.Signer, - SoftwareVersionCertificationStatus: dclcompltypes.CodeCertified, - History: []*dclcompltypes.ComplianceHistoryItem{}, + SoftwareVersionCertificationStatus: types.CodeCertified, + History: []*types.ComplianceHistoryItem{}, CDVersionNumber: msg.CDVersionNumber, CDCertificateId: msg.CDCertificateId, } } - optionalFields := &dclcompltypes.OptionalFields{ + optionalFields := &types.OptionalFields{ ProgramTypeVersion: msg.ProgramTypeVersion, FamilyID: msg.FamilyId, SupportedClusters: msg.SupportedClusters, diff --git a/x/compliance/keeper/msg_server_provision_model.go b/x/compliance/keeper/msg_server_provision_model.go index 7c3c11414..a953d6184 100644 --- a/x/compliance/keeper/msg_server_provision_model.go +++ b/x/compliance/keeper/msg_server_provision_model.go @@ -7,7 +7,6 @@ import ( sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" - dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" dclauthtypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" modeltypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/types" ) @@ -33,11 +32,11 @@ func (k msgServer) ProvisionModel(goCtx context.Context, msg *types.MsgProvision complianceInfo, found := k.GetComplianceInfo(ctx, msg.Vid, msg.Pid, msg.SoftwareVersion, msg.CertificationType) if found { switch status := complianceInfo.SoftwareVersionCertificationStatus; status { - case dclcompltypes.CodeProvisional: + case types.CodeProvisional: return nil, types.NewErrAlreadyProvisional(msg.Vid, msg.Pid, msg.SoftwareVersion, msg.CertificationType) - case dclcompltypes.CodeCertified: + case types.CodeCertified: return nil, types.NewErrAlreadyCertified(msg.Vid, msg.Pid, msg.SoftwareVersion, msg.CertificationType) - case dclcompltypes.CodeRevoked: + case types.CodeRevoked: return nil, types.NewErrAlreadyRevoked(msg.Vid, msg.Pid, msg.SoftwareVersion, msg.CertificationType) default: return nil, types.NewErrComplianceInfoAlreadyExist(msg.Vid, msg.Pid, msg.SoftwareVersion, msg.CertificationType) @@ -58,7 +57,7 @@ func (k msgServer) ProvisionModel(goCtx context.Context, msg *types.MsgProvision return nil, types.NewErrModelVersionCDVersionNumberDoesNotMatch(msg.Vid, msg.Pid, msg.SoftwareVersion, msg.CDVersionNumber) } - complianceInfo = dclcompltypes.ComplianceInfo{ + complianceInfo = types.ComplianceInfo{ Vid: msg.Vid, Pid: msg.Pid, SoftwareVersion: msg.SoftwareVersion, @@ -67,8 +66,8 @@ func (k msgServer) ProvisionModel(goCtx context.Context, msg *types.MsgProvision Date: msg.ProvisionalDate, Reason: msg.Reason, Owner: msg.Signer, - SoftwareVersionCertificationStatus: dclcompltypes.CodeProvisional, - History: []*dclcompltypes.ComplianceHistoryItem{}, + SoftwareVersionCertificationStatus: types.CodeProvisional, + History: []*types.ComplianceHistoryItem{}, CDVersionNumber: msg.CDVersionNumber, ProgramTypeVersion: msg.ProgramTypeVersion, CDCertificateId: msg.CDCertificateId, diff --git a/x/compliance/module.go b/x/compliance/module.go index cd8505ede..fdf5024fa 100644 --- a/x/compliance/module.go +++ b/x/compliance/module.go @@ -61,7 +61,7 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { } // ValidateGenesis performs genesis state validation for the capability module. -func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error { +func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, bz json.RawMessage) error { var genState types.GenesisState if err := cdc.UnmarshalJSON(bz, &genState); err != nil { return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) @@ -71,7 +71,7 @@ func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncod } // RegisterRESTRoutes registers the capability module's REST service handlers. -func (AppModuleBasic) RegisterRESTRoutes(clientCtx client.Context, rtr *mux.Router) { +func (AppModuleBasic) RegisterRESTRoutes(_ client.Context, _ *mux.Router) { } // RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the module. diff --git a/x/compliance/simulation/certify_model.go b/x/compliance/simulation/certify_model.go index da8a9627c..98e167927 100644 --- a/x/compliance/simulation/certify_model.go +++ b/x/compliance/simulation/certify_model.go @@ -11,7 +11,7 @@ import ( ) func SimulateMsgCertifyModel( - k keeper.Keeper, + _ keeper.Keeper, ) simtypes.Operation { return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { diff --git a/x/compliance/simulation/delete_compliance_info.go b/x/compliance/simulation/delete_compliance_info.go index 926897bdb..642f8ce8e 100644 --- a/x/compliance/simulation/delete_compliance_info.go +++ b/x/compliance/simulation/delete_compliance_info.go @@ -11,7 +11,7 @@ import ( ) func SimulateMsgDeleteComplianceInfo( - k keeper.Keeper, + _ keeper.Keeper, ) simtypes.Operation { return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { diff --git a/x/compliance/simulation/provision_model.go b/x/compliance/simulation/provision_model.go index 7bd76f8f3..57162ef53 100644 --- a/x/compliance/simulation/provision_model.go +++ b/x/compliance/simulation/provision_model.go @@ -11,7 +11,7 @@ import ( ) func SimulateMsgProvisionModel( - k keeper.Keeper, + _ keeper.Keeper, ) simtypes.Operation { return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { diff --git a/x/compliance/simulation/update_compliance_info.go b/x/compliance/simulation/update_compliance_info.go index b6dd675e1..033db00d5 100644 --- a/x/compliance/simulation/update_compliance_info.go +++ b/x/compliance/simulation/update_compliance_info.go @@ -11,7 +11,7 @@ import ( ) func SimulateMsgUpdateComplianceInfo( - k keeper.Keeper, + _ keeper.Keeper, ) simtypes.Operation { return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { diff --git a/x/compliance/types/codec.go b/x/compliance/types/codec.go index f8fe5af5c..855b20188 100644 --- a/x/compliance/types/codec.go +++ b/x/compliance/types/codec.go @@ -36,7 +36,7 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { ) // this line is used by starport scaffolding # 3 - msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) + msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) //nolint:nosnakecase } var ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) diff --git a/x/compliance/types/errors.go b/x/compliance/types/errors.go index 58647e0c2..c035b001c 100644 --- a/x/compliance/types/errors.go +++ b/x/compliance/types/errors.go @@ -3,26 +3,26 @@ package types // DONTCOVER import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "cosmossdk.io/errors" ) // x/compliance module sentinel errors. var ( - ErrComplianceInfoAlreadyExist = sdkerrors.Register(ModuleName, 301, "compliance info already exist") - ErrInconsistentDates = sdkerrors.Register(ModuleName, 302, "inconsistent dates") - ErrAlreadyCertified = sdkerrors.Register(ModuleName, 303, "model already certified") - ErrAlreadyRevoked = sdkerrors.Register(ModuleName, 304, "model already revoked") - ErrAlreadyProvisional = sdkerrors.Register(ModuleName, 305, "model already in provisional state") - ErrModelVersionStringDoesNotMatch = sdkerrors.Register(ModuleName, 306, "model version does not match") - ErrInvalidTestDateFormat = sdkerrors.Register(ModuleName, 307, "test date must be in RFC3339 format") - ErrInvalidCertificationType = sdkerrors.Register(ModuleName, 308, "invalid certification type") - ErrInvalidPFCCertificationRoute = sdkerrors.Register(ModuleName, 309, "invalid PFC certification route") - ErrComplianceInfoDoesNotExist = sdkerrors.Register(ModuleName, 310, "compliance info not found") - ErrInvalidUint32ForCdVersionNumber = sdkerrors.Register(ModuleName, 311, "invalid uint32 for cd version number") + ErrComplianceInfoAlreadyExist = errors.Register(ModuleName, 301, "compliance info already exist") + ErrInconsistentDates = errors.Register(ModuleName, 302, "inconsistent dates") + ErrAlreadyCertified = errors.Register(ModuleName, 303, "model already certified") + ErrAlreadyRevoked = errors.Register(ModuleName, 304, "model already revoked") + ErrAlreadyProvisional = errors.Register(ModuleName, 305, "model already in provisional state") + ErrModelVersionStringDoesNotMatch = errors.Register(ModuleName, 306, "model version does not match") + ErrInvalidTestDateFormat = errors.Register(ModuleName, 307, "test date must be in RFC3339 format") + ErrInvalidCertificationType = errors.Register(ModuleName, 308, "invalid certification type") + ErrInvalidPFCCertificationRoute = errors.Register(ModuleName, 309, "invalid PFC certification route") + ErrComplianceInfoDoesNotExist = errors.Register(ModuleName, 310, "compliance info not found") + ErrInvalidUint32ForCdVersionNumber = errors.Register(ModuleName, 311, "invalid uint32 for cd version number") ) func NewErrInconsistentDates(err interface{}) error { - return sdkerrors.Wrapf( + return errors.Wrapf( ErrInconsistentDates, "%v", err, @@ -30,7 +30,7 @@ func NewErrInconsistentDates(err interface{}) error { } func NewErrAlreadyCertified(vid interface{}, pid interface{}, sv interface{}, certificationType interface{}) error { - return sdkerrors.Wrapf( + return errors.Wrapf( ErrAlreadyCertified, "Model with vid=%v, pid=%v, softwareVersion=%v, certificationType=%v already certified on the ledger", vid, pid, sv, certificationType, @@ -38,7 +38,7 @@ func NewErrAlreadyCertified(vid interface{}, pid interface{}, sv interface{}, ce } func NewErrAlreadyRevoked(vid interface{}, pid interface{}, sv interface{}, certificationType interface{}) error { - return sdkerrors.Wrapf( + return errors.Wrapf( ErrAlreadyRevoked, "Model with vid=%v, pid=%v, softwareVersion=%v, certificationType=%v already revoked on the ledger", vid, pid, sv, certificationType, @@ -46,7 +46,7 @@ func NewErrAlreadyRevoked(vid interface{}, pid interface{}, sv interface{}, cert } func NewErrAlreadyProvisional(vid interface{}, pid interface{}, sv interface{}, certificationType interface{}) error { - return sdkerrors.Wrapf( + return errors.Wrapf( ErrAlreadyProvisional, "Model with vid=%v, pid=%v, softwareVersion=%v, certificationType=%v is already in provisional state on the ledger", vid, pid, sv, certificationType, @@ -54,7 +54,7 @@ func NewErrAlreadyProvisional(vid interface{}, pid interface{}, sv interface{}, } func NewErrComplianceInfoAlreadyExist(vid interface{}, pid interface{}, sv interface{}, certificationType interface{}) error { - return sdkerrors.Wrapf( + return errors.Wrapf( ErrComplianceInfoAlreadyExist, "Model with vid=%v, pid=%v, softwareVersion=%v, certificationType=%v already has compliance info on the ledger", vid, pid, sv, certificationType, @@ -62,7 +62,7 @@ func NewErrComplianceInfoAlreadyExist(vid interface{}, pid interface{}, sv inter } func NewErrComplianceInfoDoesNotExist(vid interface{}, pid interface{}, sv interface{}, certificationType interface{}) error { - return sdkerrors.Wrapf( + return errors.Wrapf( ErrComplianceInfoDoesNotExist, "Model with vid=%v, pid=%v, softwareVersion=%v, certificationType=%v has no compliance info on the ledger", vid, pid, sv, certificationType, @@ -70,7 +70,7 @@ func NewErrComplianceInfoDoesNotExist(vid interface{}, pid interface{}, sv inter } func NewErrInvalidUint32ForCdVersionNumber(vid interface{}, pid interface{}, sv interface{}, certificationType interface{}, cdVersionNumber interface{}) error { - return sdkerrors.Wrapf( + return errors.Wrapf( ErrInvalidUint32ForCdVersionNumber, "Compliance info with vid=%v, pid=%v, softwareVersion=%v, certificationType=%v cannot be updated with an invalid uint32 cd version number %v", vid, pid, sv, certificationType, cdVersionNumber, @@ -80,7 +80,7 @@ func NewErrInvalidUint32ForCdVersionNumber(vid interface{}, pid interface{}, sv func NewErrModelVersionStringDoesNotMatch(vid interface{}, pid interface{}, softwareVersion interface{}, softwareVersionString interface{}, ) error { - return sdkerrors.Wrapf( + return errors.Wrapf( ErrModelVersionStringDoesNotMatch, "Model with vid=%v, pid=%v, softwareVersion=%v present on the ledger does not have"+ " matching softwareVersionString=%v", @@ -91,7 +91,7 @@ func NewErrModelVersionStringDoesNotMatch(vid interface{}, pid interface{}, func NewErrModelVersionCDVersionNumberDoesNotMatch(vid interface{}, pid interface{}, softwareVersion interface{}, cDVersionNumber interface{}, ) error { - return sdkerrors.Wrapf( + return errors.Wrapf( ErrModelVersionStringDoesNotMatch, "Model with vid=%v, pid=%v, softwareVersion=%v present on the ledger does not have"+ " matching CDVersionNumber=%v", @@ -100,21 +100,21 @@ func NewErrModelVersionCDVersionNumberDoesNotMatch(vid interface{}, pid interfac } func NewErrInvalidTestDateFormat(testDate interface{}) error { - return sdkerrors.Wrapf(ErrInvalidTestDateFormat, + return errors.Wrapf(ErrInvalidTestDateFormat, "Invalid TestDate \"%v\": it must be RFC3339 encoded date, for example 2019-10-12T07:20:50.52Z", testDate, ) } func NewErrInvalidCertificationType(certType interface{}, certList interface{}) error { - return sdkerrors.Wrapf(ErrInvalidCertificationType, + return errors.Wrapf(ErrInvalidCertificationType, "Invalid CertificationType: \"%s\". Supported types: [%s]", certType, certList, ) } func NewErrInvalidPFCCertificationRoute(certRoute interface{}, certList interface{}) error { - return sdkerrors.Wrapf(ErrInvalidPFCCertificationRoute, + return errors.Wrapf(ErrInvalidPFCCertificationRoute, "Invalid PFCCertificationRoute: \"%s\". Supported types: [%s]", certRoute, certList, ) diff --git a/x/dclauth/ante/ante.go b/x/dclauth/ante/ante.go index 6b7ad2d88..0b8263f5b 100644 --- a/x/dclauth/ante/ante.go +++ b/x/dclauth/ante/ante.go @@ -1,6 +1,7 @@ package ante import ( + "cosmossdk.io/errors" "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519" "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" "github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1" @@ -24,7 +25,7 @@ type HandlerOptions struct { // signer. func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error) { if options.AccountKeeper == nil { - return nil, sdkerrors.Wrap(sdkerrors.ErrLogic, "account keeper is required for ante builder") + return nil, errors.Wrap(sdkerrors.ErrLogic, "account keeper is required for ante builder") } // sigGasConsumer := options.SigGasConsumer @@ -68,7 +69,7 @@ func DefaultSigVerificationGasConsumer( case *ed25519.PubKey: meter.ConsumeGas(params.SigVerifyCostED25519, "ante verify: ed25519") - return sdkerrors.Wrap(sdkerrors.ErrInvalidPubKey, "ED25519 public keys are unsupported") + return errors.Wrap(sdkerrors.ErrInvalidPubKey, "ED25519 public keys are unsupported") case *secp256k1.PubKey: meter.ConsumeGas(params.SigVerifyCostSecp256k1, "ante verify: secp256k1") @@ -94,6 +95,6 @@ func DefaultSigVerificationGasConsumer( */ default: - return sdkerrors.Wrapf(sdkerrors.ErrInvalidPubKey, "unrecognized public key type: %T", pubkey) + return errors.Wrapf(sdkerrors.ErrInvalidPubKey, "unrecognized public key type: %T", pubkey) } } diff --git a/x/dclauth/base/keeper/account.go b/x/dclauth/base/keeper/account.go index d42e2119d..be1b28e05 100644 --- a/x/dclauth/base/keeper/account.go +++ b/x/dclauth/base/keeper/account.go @@ -65,6 +65,6 @@ func (k Keeper) IterateAccounts(ctx sdk.Context, cb func(account types.Account) } // just a stub to have AccountKeeper.GetModuleAddress API filled. -func (k Keeper) GetModuleAddress(moduleName string) sdk.AccAddress { +func (k Keeper) GetModuleAddress(_ string) sdk.AccAddress { return nil } diff --git a/x/dclauth/client/cli/query.go b/x/dclauth/client/cli/query.go index f4a20d849..fb10bf8b2 100644 --- a/x/dclauth/client/cli/query.go +++ b/x/dclauth/client/cli/query.go @@ -13,7 +13,7 @@ import ( ) // GetQueryCmd returns the cli query commands for this module. -func GetQueryCmd(queryRoute string) *cobra.Command { +func GetQueryCmd(_ string) *cobra.Command { // Group dclauth queries under a subcommand cmd := &cobra.Command{ Use: types.CmdName, diff --git a/x/dclauth/keeper/account.go b/x/dclauth/keeper/account.go index 0c040764e..a34bfe44e 100644 --- a/x/dclauth/keeper/account.go +++ b/x/dclauth/keeper/account.go @@ -174,11 +174,11 @@ func (k Keeper) CountAccountsWithRole(ctx sdk.Context, roleToCount types.Account } // just a stub to have AccountKeeper.GetModuleAddress API filled. -func (k Keeper) GetModuleAddress(moduleName string) sdk.AccAddress { +func (k Keeper) GetModuleAddress(_ string) sdk.AccAddress { return nil } -func (k Keeper) GetParams(ctx sdk.Context) (params authtypes.Params) { +func (k Keeper) GetParams(_ sdk.Context) (params authtypes.Params) { return authtypes.Params{ MaxMemoCharacters: types.DclMaxMemoCharacters, TxSigLimit: types.DclTxSigLimit, diff --git a/x/dclauth/keeper/msg_server_approve_revoke_account.go b/x/dclauth/keeper/msg_server_approve_revoke_account.go index e791205fb..842141e3d 100644 --- a/x/dclauth/keeper/msg_server_approve_revoke_account.go +++ b/x/dclauth/keeper/msg_server_approve_revoke_account.go @@ -58,7 +58,7 @@ func (k msgServer) ApproveRevokeAccount(goCtx context.Context, msg *types.MsgApp if len(revoc.Approvals) >= k.AccountApprovalsCount(ctx, types.AccountApprovalsPercent) { // Move account to entity revoked account revokedAccount, err := k.AddAccountToRevokedAccount( - ctx, accAddr, revoc.Approvals, types.RevokedAccount_TrusteeVoting) + ctx, accAddr, revoc.Approvals, types.RevokedAccount_TrusteeVoting) //nolint:nosnakecase if err != nil { return nil, err } diff --git a/x/dclauth/keeper/msg_server_propose_revoke_account.go b/x/dclauth/keeper/msg_server_propose_revoke_account.go index b939735a2..31c476606 100644 --- a/x/dclauth/keeper/msg_server_propose_revoke_account.go +++ b/x/dclauth/keeper/msg_server_propose_revoke_account.go @@ -54,7 +54,7 @@ func (k msgServer) ProposeRevokeAccount(goCtx context.Context, msg *types.MsgPro // Move account to entity revoked account revokedAccount, err := k.AddAccountToRevokedAccount( - ctx, accAddr, revokedApproval, types.RevokedAccount_TrusteeVoting) + ctx, accAddr, revokedApproval, types.RevokedAccount_TrusteeVoting) //nolint:nosnakecase if err != nil { return nil, err } diff --git a/x/dclauth/keeper/msg_server_test.go b/x/dclauth/keeper/msg_server_test.go index 85f7375f8..9cfe72671 100644 --- a/x/dclauth/keeper/msg_server_test.go +++ b/x/dclauth/keeper/msg_server_test.go @@ -10,7 +10,7 @@ import ( "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" ) -//nolint:deadcode,unused +//nolint:unused func setupMsgServer(tb testing.TB) (types.MsgServer, context.Context) { tb.Helper() k, ctx := keepertest.DclauthKeeper(tb) diff --git a/x/dclauth/keeper/revoked_account.go b/x/dclauth/keeper/revoked_account.go index 291e6947c..01045196c 100644 --- a/x/dclauth/keeper/revoked_account.go +++ b/x/dclauth/keeper/revoked_account.go @@ -64,7 +64,7 @@ func (k Keeper) GetAllRevokedAccount(ctx sdk.Context) (list []types.RevokedAccou func (k Keeper) AddAccountToRevokedAccount( ctx sdk.Context, accAddr sdk.AccAddress, approvals []*types.Grant, - reason types.RevokedAccount_Reason, + reason types.RevokedAccount_Reason, //nolint:nosnakecase ) (*types.RevokedAccount, error) { // get account account, ok := k.GetAccountO(ctx, accAddr) diff --git a/x/dclauth/module.go b/x/dclauth/module.go index dcaf2f60f..b95955d09 100644 --- a/x/dclauth/module.go +++ b/x/dclauth/module.go @@ -4,8 +4,10 @@ import ( "context" "encoding/json" "fmt" - simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/cosmos/cosmos-sdk/x/auth/simulation" + + "github.com/gorilla/mux" + "github.com/grpc-ecosystem/grpc-gateway/runtime" + "github.com/spf13/cobra" abci "github.com/cometbft/cometbft/abci/types" "github.com/cosmos/cosmos-sdk/client" @@ -13,10 +15,10 @@ import ( cdctypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" + simtypes "github.com/cosmos/cosmos-sdk/types/simulation" + "github.com/cosmos/cosmos-sdk/x/auth/simulation" basetypes "github.com/cosmos/cosmos-sdk/x/auth/types" - "github.com/gorilla/mux" - "github.com/grpc-ecosystem/grpc-gateway/runtime" - "github.com/spf13/cobra" + basekeeper "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/base/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/client/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/keeper" @@ -65,7 +67,7 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { } // ValidateGenesis performs genesis state validation for the dclauth module. -func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error { +func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, bz json.RawMessage) error { var genState types.GenesisState if err := cdc.UnmarshalJSON(bz, &genState); err != nil { return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) @@ -75,7 +77,7 @@ func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncod } // RegisterRESTRoutes registers the dclauth module's REST service handlers. -func (AppModuleBasic) RegisterRESTRoutes(clientCtx client.Context, rtr *mux.Router) { +func (AppModuleBasic) RegisterRESTRoutes(_ client.Context, _ *mux.Router) { } // RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the module. diff --git a/x/dclauth/simulation/approve_add_account.go b/x/dclauth/simulation/approve_add_account.go index 13565cb4e..8accab262 100644 --- a/x/dclauth/simulation/approve_add_account.go +++ b/x/dclauth/simulation/approve_add_account.go @@ -6,13 +6,10 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" ) -func SimulateMsgApproveAddAccount( - k keeper.Keeper, -) simtypes.Operation { +func SimulateMsgApproveAddAccount() simtypes.Operation { return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { simAccount, _ := simtypes.RandomAcc(r, accs) diff --git a/x/dclauth/simulation/approve_revoke_account.go b/x/dclauth/simulation/approve_revoke_account.go index 2ddef7249..aa858ab62 100644 --- a/x/dclauth/simulation/approve_revoke_account.go +++ b/x/dclauth/simulation/approve_revoke_account.go @@ -6,13 +6,10 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" ) -func SimulateMsgApproveRevokeAccount( - k keeper.Keeper, -) simtypes.Operation { +func SimulateMsgApproveRevokeAccount() simtypes.Operation { return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { simAccount, _ := simtypes.RandomAcc(r, accs) diff --git a/x/dclauth/simulation/propose_add_account.go b/x/dclauth/simulation/propose_add_account.go index 2ecc19150..4bd9f2f43 100644 --- a/x/dclauth/simulation/propose_add_account.go +++ b/x/dclauth/simulation/propose_add_account.go @@ -6,13 +6,10 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" ) -func SimulateMsgProposeAddAccount( - k keeper.Keeper, -) simtypes.Operation { +func SimulateMsgProposeAddAccount() simtypes.Operation { return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { simAccount, _ := simtypes.RandomAcc(r, accs) diff --git a/x/dclauth/simulation/propose_revoke_account.go b/x/dclauth/simulation/propose_revoke_account.go index 8709493ae..be7113ea0 100644 --- a/x/dclauth/simulation/propose_revoke_account.go +++ b/x/dclauth/simulation/propose_revoke_account.go @@ -11,7 +11,7 @@ import ( ) func SimulateMsgProposeRevokeAccount( - k keeper.Keeper, + _ keeper.Keeper, ) simtypes.Operation { return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { diff --git a/x/dclauth/simulation/reject_add_account.go b/x/dclauth/simulation/reject_add_account.go index 9d478b92f..f8d36a317 100644 --- a/x/dclauth/simulation/reject_add_account.go +++ b/x/dclauth/simulation/reject_add_account.go @@ -6,13 +6,10 @@ import ( "github.com/cosmos/cosmos-sdk/baseapp" sdk "github.com/cosmos/cosmos-sdk/types" simtypes "github.com/cosmos/cosmos-sdk/types/simulation" - "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" ) -func SimulateMsgRejectAddAccount( - k keeper.Keeper, -) simtypes.Operation { +func SimulateMsgRejectAddAccount() simtypes.Operation { return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { simAccount, _ := simtypes.RandomAcc(r, accs) diff --git a/x/dclauth/types/codec.go b/x/dclauth/types/codec.go index b85b86a5e..e6627e0d3 100644 --- a/x/dclauth/types/codec.go +++ b/x/dclauth/types/codec.go @@ -35,7 +35,7 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { ) // this line is used by starport scaffolding # 3 - msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) + msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) //nolint:nosnakecase } var ( diff --git a/x/dclauth/types/errors.go b/x/dclauth/types/errors.go index c3d5e8263..770069046 100644 --- a/x/dclauth/types/errors.go +++ b/x/dclauth/types/errors.go @@ -5,57 +5,57 @@ package types import ( "fmt" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "cosmossdk.io/errors" ) // x/dclauth module sentinel errors. var ( - AccountAlreadyExists = sdkerrors.Register(ModuleName, 101, "account already exists") - AccountDoesNotExist = sdkerrors.Register(ModuleName, 102, "account not found") - PendingAccountAlreadyExists = sdkerrors.Register(ModuleName, 103, "pending account already exists") - PendingAccountDoesNotExist = sdkerrors.Register(ModuleName, 104, "pending account not found") - PendingAccountRevocationAlreadyExists = sdkerrors.Register(ModuleName, 105, "pending account revocation already exists") - PendingAccountRevocationDoesNotExist = sdkerrors.Register(ModuleName, 106, "pending account revocation not found") - MissingVendorIDForVendorAccount = sdkerrors.Register(ModuleName, 107, "no Vendor ID provided") - MissingRoles = sdkerrors.Register(ModuleName, 108, "no roles provided") + AccountAlreadyExists = errors.Register(ModuleName, 101, "account already exists") + AccountDoesNotExist = errors.Register(ModuleName, 102, "account not found") + PendingAccountAlreadyExists = errors.Register(ModuleName, 103, "pending account already exists") + PendingAccountDoesNotExist = errors.Register(ModuleName, 104, "pending account not found") + PendingAccountRevocationAlreadyExists = errors.Register(ModuleName, 105, "pending account revocation already exists") + PendingAccountRevocationDoesNotExist = errors.Register(ModuleName, 106, "pending account revocation not found") + MissingVendorIDForVendorAccount = errors.Register(ModuleName, 107, "no Vendor ID provided") + MissingRoles = errors.Register(ModuleName, 108, "no roles provided") ) func ErrAccountAlreadyExists(address interface{}) error { - return sdkerrors.Wrapf(AccountAlreadyExists, + return errors.Wrapf(AccountAlreadyExists, fmt.Sprintf("Account associated with the address=%v already exists on the ledger", address)) } func ErrAccountDoesNotExist(address interface{}) error { - return sdkerrors.Wrapf(AccountDoesNotExist, + return errors.Wrapf(AccountDoesNotExist, fmt.Sprintf("No account associated with the address=%v on the ledger", address)) } func ErrPendingAccountAlreadyExists(address interface{}) error { - return sdkerrors.Wrapf(PendingAccountAlreadyExists, + return errors.Wrapf(PendingAccountAlreadyExists, fmt.Sprintf("Pending account associated with the address=%v already exists on the ledger", address)) } func ErrPendingAccountDoesNotExist(address interface{}) error { - return sdkerrors.Wrapf(PendingAccountDoesNotExist, + return errors.Wrapf(PendingAccountDoesNotExist, fmt.Sprintf("No pending account associated with the address=%v on the ledger", address)) } func ErrPendingAccountRevocationAlreadyExists(address interface{}) error { - return sdkerrors.Wrapf(PendingAccountRevocationAlreadyExists, + return errors.Wrapf(PendingAccountRevocationAlreadyExists, fmt.Sprintf("Pending account revocation associated with the address=%v already exists on the ledger", address)) } func ErrPendingAccountRevocationDoesNotExist(address interface{}) error { - return sdkerrors.Wrapf(PendingAccountRevocationDoesNotExist, + return errors.Wrapf(PendingAccountRevocationDoesNotExist, fmt.Sprintf("No pending account revocation associated with the address=%v on the ledger", address)) } func ErrMissingVendorIDForVendorAccount() error { - return sdkerrors.Wrapf(MissingVendorIDForVendorAccount, + return errors.Wrapf(MissingVendorIDForVendorAccount, "No Vendor ID is provided in the Vendor Role for the new account") } func ErrMissingRoles() error { - return sdkerrors.Wrapf(MissingRoles, + return errors.Wrapf(MissingRoles, "No roles provided") } diff --git a/x/dclgenutil/client/cli/gentx.go b/x/dclgenutil/client/cli/gentx.go index 9cc6ed7d9..22e666f1f 100644 --- a/x/dclgenutil/client/cli/gentx.go +++ b/x/dclgenutil/client/cli/gentx.go @@ -137,6 +137,7 @@ $ %s gentx my-key-name --home=/path/to/home/dir --keyring-backend=os --chain-id= if key.GetType() == keyring.TypeOffline || key.GetType() == keyring.TypeMulti { cmd.PrintErrln("Offline key passed in. Use `tx sign` command to sign.") + return txBldr.PrintUnsignedTx(clientCtx, msg) } @@ -216,7 +217,7 @@ func readUnsignedGenTxFile(clientCtx client.Context, r io.Reader) (sdk.Tx, error } func writeSignedGenTx(clientCtx client.Context, outputDocument string, tx sdk.Tx) error { - outputFile, err := os.OpenFile(outputDocument, os.O_CREATE|os.O_EXCL|os.O_WRONLY, 0o644) + outputFile, err := os.OpenFile(outputDocument, os.O_CREATE|os.O_EXCL|os.O_WRONLY, 0o644) //nolint:nosnakecase if err != nil { return err } diff --git a/x/dclgenutil/client/cli/query.go b/x/dclgenutil/client/cli/query.go index 1c0dcfccd..088eff169 100644 --- a/x/dclgenutil/client/cli/query.go +++ b/x/dclgenutil/client/cli/query.go @@ -13,7 +13,7 @@ import ( ) // GetQueryCmd returns the cli query commands for this module. -func GetQueryCmd(queryRoute string) *cobra.Command { +func GetQueryCmd() *cobra.Command { // Group dclgenutil queries under a subcommand cmd := &cobra.Command{ Use: types.ModuleName, diff --git a/x/dclgenutil/gentx.go b/x/dclgenutil/gentx.go index 4c65b8bda..77082cbf2 100644 --- a/x/dclgenutil/gentx.go +++ b/x/dclgenutil/gentx.go @@ -3,11 +3,13 @@ package dclgenutil import ( "encoding/json" + "cosmossdk.io/errors" abci "github.com/cometbft/cometbft/abci/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + dclauthtypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclgenutil/types" ) @@ -63,7 +65,7 @@ func ValidateAccountInGenesis( } if !accountIsInGenesis { - return sdkerrors.Wrapf(sdkerrors.ErrUnknownRequest, + return errors.Wrapf(sdkerrors.ErrUnknownRequest, "Error account %s in not in the app_state.accounts array of genesis.json", addr, ) } diff --git a/x/dclgenutil/module.go b/x/dclgenutil/module.go index c39827962..6e42ea24d 100644 --- a/x/dclgenutil/module.go +++ b/x/dclgenutil/module.go @@ -35,7 +35,7 @@ func (AppModuleBasic) Name() string { return types.ModuleName } -func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) {} +func (AppModuleBasic) RegisterLegacyAminoCodec(_ *codec.LegacyAmino) {} // RegisterInterfaces registers the module's interface types. func (a AppModuleBasic) RegisterInterfaces(_ cdctypes.InterfaceRegistry) {} @@ -115,7 +115,7 @@ func (am AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, gs json.Ra } // ExportGenesis returns the dclgenutil module's exported genesis state as raw JSON bytes. -func (am AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.RawMessage { +func (am AppModule) ExportGenesis(_ sdk.Context, cdc codec.JSONCodec) json.RawMessage { return am.DefaultGenesis(cdc) } diff --git a/x/dclupgrade/client/cli/query.go b/x/dclupgrade/client/cli/query.go index 8a6c9868f..e656eb180 100644 --- a/x/dclupgrade/client/cli/query.go +++ b/x/dclupgrade/client/cli/query.go @@ -14,7 +14,7 @@ import ( ) // GetQueryCmd returns the cli query commands for this module. -func GetQueryCmd(queryRoute string) *cobra.Command { +func GetQueryCmd(_ string) *cobra.Command { // Group dclupgrade queries under a subcommand cmd := &cobra.Command{ Use: types.ModuleName, diff --git a/x/dclupgrade/keeper/msg_server_test.go b/x/dclupgrade/keeper/msg_server_test.go index ed6f922aa..e7fded3f4 100644 --- a/x/dclupgrade/keeper/msg_server_test.go +++ b/x/dclupgrade/keeper/msg_server_test.go @@ -10,7 +10,7 @@ import ( "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclupgrade/types" ) -//nolint:deadcode,unused +//nolint:unused func setupMsgServer(tb testing.TB) (types.MsgServer, context.Context) { tb.Helper() k, ctx := keepertest.DclupgradeKeeper(tb, nil, nil) diff --git a/x/dclupgrade/module.go b/x/dclupgrade/module.go index d554a3b00..a5eb8811e 100644 --- a/x/dclupgrade/module.go +++ b/x/dclupgrade/module.go @@ -2,21 +2,21 @@ package dclupgrade import ( "context" - "cosmossdk.io/core/appmodule" "encoding/json" "fmt" + abci "github.com/cometbft/cometbft/abci/types" "github.com/gorilla/mux" "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/spf13/cobra" - abci "github.com/cometbft/cometbft/abci/types" - + "cosmossdk.io/core/appmodule" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" cdctypes "github.com/cosmos/cosmos-sdk/codec/types" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/module" + "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclupgrade/client/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclupgrade/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclupgrade/types" @@ -64,7 +64,7 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { } // ValidateGenesis performs genesis state validation for the capability module. -func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error { +func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, bz json.RawMessage) error { var genState types.GenesisState if err := cdc.UnmarshalJSON(bz, &genState); err != nil { return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) @@ -74,7 +74,7 @@ func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncod } // RegisterRESTRoutes registers the capability module's REST service handlers. -func (AppModuleBasic) RegisterRESTRoutes(clientCtx client.Context, rtr *mux.Router) { +func (AppModuleBasic) RegisterRESTRoutes(_ client.Context, _ *mux.Router) { } // RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the module. diff --git a/x/dclupgrade/types/codec.go b/x/dclupgrade/types/codec.go index 7dbb4c3ca..9c3777159 100644 --- a/x/dclupgrade/types/codec.go +++ b/x/dclupgrade/types/codec.go @@ -26,7 +26,7 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { ) // this line is used by starport scaffolding # 3 - msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) + msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) //nolint:nosnakecase } var ( diff --git a/x/dclupgrade/types/errors.go b/x/dclupgrade/types/errors.go index 43f0cadb0..46e16e08c 100644 --- a/x/dclupgrade/types/errors.go +++ b/x/dclupgrade/types/errors.go @@ -3,18 +3,18 @@ package types // DONTCOVER import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "cosmossdk.io/errors" ) // x/dclupgrade module sentinel errors. var ( - ErrProposedUpgradeAlreadyExists = sdkerrors.Register(ModuleName, 801, "proposed upgrade already exists") - ErrProposedUpgradeDoesNotExist = sdkerrors.Register(ModuleName, 802, "proposed upgrade does not exist") - ErrApprovedUpgradeAlreadyExists = sdkerrors.Register(ModuleName, 803, "approved upgrade already exists") + ErrProposedUpgradeAlreadyExists = errors.Register(ModuleName, 801, "proposed upgrade already exists") + ErrProposedUpgradeDoesNotExist = errors.Register(ModuleName, 802, "proposed upgrade does not exist") + ErrApprovedUpgradeAlreadyExists = errors.Register(ModuleName, 803, "approved upgrade already exists") ) func NewErrProposedUpgradeAlreadyExists(name interface{}) error { - return sdkerrors.Wrapf( + return errors.Wrapf( ErrProposedUpgradeAlreadyExists, "Proposed upgrade with name=%v already exists on the ledger", name, @@ -22,7 +22,7 @@ func NewErrProposedUpgradeAlreadyExists(name interface{}) error { } func NewErrProposedUpgradeDoesNotExist(name interface{}) error { - return sdkerrors.Wrapf( + return errors.Wrapf( ErrProposedUpgradeDoesNotExist, "Proposed upgrade with name=%v does not exist on the ledger", name, @@ -30,7 +30,7 @@ func NewErrProposedUpgradeDoesNotExist(name interface{}) error { } func NewErrApprovedUpgradeAlreadyExists(name interface{}) error { - return sdkerrors.Wrapf( + return errors.Wrapf( ErrApprovedUpgradeAlreadyExists, "Approved upgrade with name=%v already exists on the ledger", name, diff --git a/x/model/client/cli/query.go b/x/model/client/cli/query.go index 543a264ec..f7a82076f 100644 --- a/x/model/client/cli/query.go +++ b/x/model/client/cli/query.go @@ -13,7 +13,7 @@ import ( ) // GetQueryCmd returns the cli query commands for this module. -func GetQueryCmd(queryRoute string) *cobra.Command { +func GetQueryCmd(_ string) *cobra.Command { // Group model queries under a subcommand cmd := &cobra.Command{ Use: types.ModuleName, diff --git a/x/model/keeper/msg_server_test.go b/x/model/keeper/msg_server_test.go index e7a9fe046..d5c7ffd22 100644 --- a/x/model/keeper/msg_server_test.go +++ b/x/model/keeper/msg_server_test.go @@ -10,7 +10,7 @@ import ( "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/types" ) -//nolint:deadcode,unused +//nolint:unused func setupMsgServer(tb testing.TB) (types.MsgServer, context.Context) { tb.Helper() k, ctx := keepertest.ModelKeeper(tb, nil, nil) diff --git a/x/model/module.go b/x/model/module.go index 492513848..7b1146385 100644 --- a/x/model/module.go +++ b/x/model/module.go @@ -63,7 +63,7 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { } // ValidateGenesis performs genesis state validation for the capability module. -func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error { +func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, bz json.RawMessage) error { var genState types.GenesisState if err := cdc.UnmarshalJSON(bz, &genState); err != nil { return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) @@ -73,7 +73,7 @@ func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncod } // RegisterRESTRoutes registers the capability module's REST service handlers. -func (AppModuleBasic) RegisterRESTRoutes(clientCtx client.Context, rtr *mux.Router) { +func (AppModuleBasic) RegisterRESTRoutes(_ client.Context, _ *mux.Router) { } // RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the module. diff --git a/x/model/types/errors.go b/x/model/types/errors.go index 4676eb5bb..1050f9e1d 100644 --- a/x/model/types/errors.go +++ b/x/model/types/errors.go @@ -1,100 +1,100 @@ package types import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "cosmossdk.io/errors" ) var ( // Model Error Codes. - ErrModelAlreadyExists = sdkerrors.Register(ModuleName, 501, "model already exists") - ErrModelDoesNotExist = sdkerrors.Register(ModuleName, 502, "model does not exist") - ErrVendorProductsDoNotExist = sdkerrors.Register(ModuleName, 504, "vendor products do not exist") + ErrModelAlreadyExists = errors.Register(ModuleName, 501, "model already exists") + ErrModelDoesNotExist = errors.Register(ModuleName, 502, "model does not exist") + ErrVendorProductsDoNotExist = errors.Register(ModuleName, 504, "vendor products do not exist") // Model Version Error Codes. - ErrSoftwareVersionStringInvalid = sdkerrors.Register(ModuleName, 511, "software version string invalid") - ErrFirmwareInformationInvalid = sdkerrors.Register(ModuleName, 512, "firmware digests invalid") - ErrCDVersionNumberInvalid = sdkerrors.Register(ModuleName, 513, "CD version number invalid") - ErrOtaURLInvalid = sdkerrors.Register(ModuleName, 514, "OTA URL invalid") - ErrOtaMissingInformation = sdkerrors.Register(ModuleName, 515, "OTA missing information") - ErrReleaseNotesURLInvalid = sdkerrors.Register(ModuleName, 516, "release notes URL invalid") - ErrModelVersionDoesNotExist = sdkerrors.Register(ModuleName, 517, "model version does not exist") - ErrNoModelVersionsExist = sdkerrors.Register(ModuleName, 518, "no model versions exist") - ErrModelVersionAlreadyExists = sdkerrors.Register(ModuleName, 519, "model version already exists") - ErrOtaURLCannotBeSet = sdkerrors.Register(ModuleName, 520, "OTA URL cannot be set") - ErrMaxSVLessThanMinSV = sdkerrors.Register(ModuleName, 521, "max software version less than min software version") - ErrLsfRevisionIsNotValid = sdkerrors.Register(ModuleName, 522, "LsfRevision should monotonically increase by 1") - ErrLsfRevisionIsNotAllowed = sdkerrors.Register(ModuleName, 523, "LsfRevision is not allowed if LsfURL is not present") - ErrModelVersionDeletionCertified = sdkerrors.Register(ModuleName, 524, "model version has a compliance record and can not be deleted") - ErrModelDeletionCertified = sdkerrors.Register(ModuleName, 525, "model has a model version that has a compliance record and correcponding model can not be deleted") + ErrSoftwareVersionStringInvalid = errors.Register(ModuleName, 511, "software version string invalid") + ErrFirmwareInformationInvalid = errors.Register(ModuleName, 512, "firmware digests invalid") + ErrCDVersionNumberInvalid = errors.Register(ModuleName, 513, "CD version number invalid") + ErrOtaURLInvalid = errors.Register(ModuleName, 514, "OTA URL invalid") + ErrOtaMissingInformation = errors.Register(ModuleName, 515, "OTA missing information") + ErrReleaseNotesURLInvalid = errors.Register(ModuleName, 516, "release notes URL invalid") + ErrModelVersionDoesNotExist = errors.Register(ModuleName, 517, "model version does not exist") + ErrNoModelVersionsExist = errors.Register(ModuleName, 518, "no model versions exist") + ErrModelVersionAlreadyExists = errors.Register(ModuleName, 519, "model version already exists") + ErrOtaURLCannotBeSet = errors.Register(ModuleName, 520, "OTA URL cannot be set") + ErrMaxSVLessThanMinSV = errors.Register(ModuleName, 521, "max software version less than min software version") + ErrLsfRevisionIsNotValid = errors.Register(ModuleName, 522, "LsfRevision should monotonically increase by 1") + ErrLsfRevisionIsNotAllowed = errors.Register(ModuleName, 523, "LsfRevision is not allowed if LsfURL is not present") + ErrModelVersionDeletionCertified = errors.Register(ModuleName, 524, "model version has a compliance record and can not be deleted") + ErrModelDeletionCertified = errors.Register(ModuleName, 525, "model has a model version that has a compliance record and correcponding model can not be deleted") ) func NewErrModelAlreadyExists(vid interface{}, pid interface{}) error { - return sdkerrors.Wrapf(ErrModelAlreadyExists, + return errors.Wrapf(ErrModelAlreadyExists, "Model associated with vid=%v and pid=%v already exists on the ledger", vid, pid) } func NewErrModelDoesNotExist(vid interface{}, pid interface{}) error { - return sdkerrors.Wrapf(ErrModelDoesNotExist, + return errors.Wrapf(ErrModelDoesNotExist, "No model associated with vid=%v and pid=%v exist on the ledger", vid, pid) } func NewErrVendorProductsDoNotExist(vid interface{}) error { - return sdkerrors.Wrapf(ErrVendorProductsDoNotExist, + return errors.Wrapf(ErrVendorProductsDoNotExist, "No vendor products associated with vid=%v exist on the ledger", vid) } func NewErrSoftwareVersionStringInvalid(softwareVersion interface{}) error { - return sdkerrors.Wrapf(ErrSoftwareVersionStringInvalid, + return errors.Wrapf(ErrSoftwareVersionStringInvalid, "SoftwareVersionString %v is invalid. It should be greater then 1 and less then 64 character long", softwareVersion) } func NewErrFirmwareInformationInvalid(firmwareInformation interface{}) error { - return sdkerrors.Wrapf(ErrFirmwareInformationInvalid, + return errors.Wrapf(ErrFirmwareInformationInvalid, "firmwareInformation %v is of invalid length. Maximum length should be less then 512", firmwareInformation) } func NewErrCDVersionNumberInvalid(cdVersionNumber interface{}) error { - return sdkerrors.Wrapf(ErrCDVersionNumberInvalid, + return errors.Wrapf(ErrCDVersionNumberInvalid, "CDVersionNumber %v is invalid. It should be a 16 bit unsigned integer", cdVersionNumber) } func NewErrOtaURLInvalid(otaURL interface{}) error { - return sdkerrors.Wrapf(ErrOtaURLInvalid, + return errors.Wrapf(ErrOtaURLInvalid, "OtaURL %v is invalid. Maximum length should be less then 256", otaURL) } func NewErrOtaMissingInformation() error { - return sdkerrors.Wrap(ErrOtaMissingInformation, + return errors.Wrap(ErrOtaMissingInformation, "OtaFileSize, OtaChecksum and OtaChecksumType are required if OtaUrl is provided") } func NewErrReleaseNotesURLInvalid(releaseNotesURL interface{}) error { - return sdkerrors.Wrapf(ErrReleaseNotesURLInvalid, + return errors.Wrapf(ErrReleaseNotesURLInvalid, "ReleaseNotesURLInvalid %v is invalid. Maximum length should be less then 256", releaseNotesURL) } func NewErrModelVersionDoesNotExist(vid interface{}, pid interface{}, softwareVersion interface{}) error { - return sdkerrors.Wrapf(ErrModelVersionDoesNotExist, + return errors.Wrapf(ErrModelVersionDoesNotExist, "No model version associated with vid=%v, pid=%v and softwareVersion=%v exist on the ledger", vid, pid, softwareVersion) } func NewErrNoModelVersionsExist(vid interface{}, pid interface{}) error { - return sdkerrors.Wrapf(ErrNoModelVersionsExist, + return errors.Wrapf(ErrNoModelVersionsExist, "No versions associated with vid=%v and pid=%v exist on the ledger", vid, pid) } func NewErrModelVersionAlreadyExists(vid interface{}, pid interface{}, softwareVersion interface{}) error { - return sdkerrors.Wrapf(ErrModelVersionAlreadyExists, + return errors.Wrapf(ErrModelVersionAlreadyExists, "Model Version already exists on ledger with vid=%v pid=%v and softwareVersion=%v exist on the ledger", vid, pid, softwareVersion) } @@ -102,32 +102,32 @@ func NewErrModelVersionAlreadyExists(vid interface{}, pid interface{}, softwareV func NewErrMaxSVLessThanMinSV(minApplicableSoftwareVersion interface{}, maxApplicableSoftwareVersion interface{}, ) error { - return sdkerrors.Wrapf(ErrMaxSVLessThanMinSV, + return errors.Wrapf(ErrMaxSVLessThanMinSV, "MaxApplicableSoftwareVersion %v is less than MinApplicableSoftwareVersion %v", maxApplicableSoftwareVersion, minApplicableSoftwareVersion) } func NewErrLsfRevisionIsNotAllowed() error { - return sdkerrors.Wrapf(ErrLsfRevisionIsNotValid, + return errors.Wrapf(ErrLsfRevisionIsNotValid, "LsfRevision is only applicable if LsfURL is not present") } func NewErrLsfRevisionIsNotValid(previousLsfVersion interface{}, currentLsfVersion interface{}, ) error { - return sdkerrors.Wrapf(ErrLsfRevisionIsNotValid, + return errors.Wrapf(ErrLsfRevisionIsNotValid, "LsfRevision %v should be greater then existing lsfRevision %v by 1", currentLsfVersion, previousLsfVersion) } func NewErrModelDeletionCertified(vid interface{}, pid interface{}, softwareVersion interface{}) error { - return sdkerrors.Wrapf(ErrModelDeletionCertified, + return errors.Wrapf(ErrModelDeletionCertified, "Model version associated with vid=%v, pid=%v and softwareVersion=%v has a compliance record and the corresponding model can't be deleted", vid, pid, softwareVersion) } func NewErrModelVersionDeletionCertified(vid interface{}, pid interface{}, softwareVersion interface{}) error { - return sdkerrors.Wrapf(ErrModelVersionDeletionCertified, + return errors.Wrapf(ErrModelVersionDeletionCertified, "Model version associated with vid=%v, pid=%v and softwareVersion=%v has a compliance record and can't be deleted", vid, pid, softwareVersion) } diff --git a/x/model/types/messages_model.go b/x/model/types/messages_model.go index bc77f866e..57a0a2fff 100644 --- a/x/model/types/messages_model.go +++ b/x/model/types/messages_model.go @@ -1,8 +1,10 @@ package types import ( + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" ) @@ -80,7 +82,7 @@ func (msg *MsgCreateModel) GetSignBytes() []byte { func (msg *MsgCreateModel) ValidateBasic() error { _, err := sdk.AccAddressFromBech32(msg.Creator) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) } err = validator.Validate(msg) @@ -153,7 +155,7 @@ func (msg *MsgUpdateModel) GetSignBytes() []byte { func (msg *MsgUpdateModel) ValidateBasic() error { _, err := sdk.AccAddressFromBech32(msg.Creator) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) } err = validator.Validate(msg) @@ -204,7 +206,7 @@ func (msg *MsgDeleteModel) GetSignBytes() []byte { func (msg *MsgDeleteModel) ValidateBasic() error { _, err := sdk.AccAddressFromBech32(msg.Creator) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) } err = validator.Validate(msg) diff --git a/x/model/types/messages_model_test.go b/x/model/types/messages_model_test.go index 7d2ba459b..68f97e2a1 100644 --- a/x/model/types/messages_model_test.go +++ b/x/model/types/messages_model_test.go @@ -11,7 +11,6 @@ import ( "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" ) -//nolint:goconst func TestMsgCreateModel_ValidateBasic(t *testing.T) { negativeTests := []struct { name string diff --git a/x/pki/client/cli/query.go b/x/pki/client/cli/query.go index 372a3b7a6..45152ba54 100644 --- a/x/pki/client/cli/query.go +++ b/x/pki/client/cli/query.go @@ -12,7 +12,7 @@ import ( ) // GetQueryCmd returns the cli query commands for this module. -func GetQueryCmd(queryRoute string) *cobra.Command { +func GetQueryCmd(_ string) *cobra.Command { // Group pki queries under a subcommand cmd := &cobra.Command{ Use: pkitypes.ModuleName, diff --git a/x/pki/keeper/msg_server_add_x_509_cert.go b/x/pki/keeper/msg_server_add_x_509_cert.go index b5f13fc8f..5fe29fc80 100644 --- a/x/pki/keeper/msg_server_add_x_509_cert.go +++ b/x/pki/keeper/msg_server_add_x_509_cert.go @@ -3,6 +3,7 @@ package keeper import ( "context" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types" @@ -41,7 +42,7 @@ func (k msgServer) AddX509Cert(goCtx context.Context, msg *types.MsgAddX509Cert) // are not self-signed too, consequently are non-root certificates, before to match issuer and authorityKeyID. if certificates.Certs[0].IsRoot || x509Certificate.Issuer != certificates.Certs[0].Issuer || x509Certificate.AuthorityKeyID != certificates.Certs[0].AuthorityKeyId { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "Issuer and authorityKeyID of new certificate with subject=%v and subjectKeyID=%v "+ "must be the same as ones of existing certificates with the same subject and subjectKeyID", x509Certificate.Subject, x509Certificate.SubjectKeyID, @@ -50,7 +51,7 @@ func (k msgServer) AddX509Cert(goCtx context.Context, msg *types.MsgAddX509Cert) // signer must be same as owner of existing certificates if msg.Signer != certificates.Certs[0].Owner { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "Only owner of existing certificates with subject=%v and subjectKeyID=%v "+ "can add new certificate with the same subject and subjectKeyID", x509Certificate.Subject, x509Certificate.SubjectKeyID, diff --git a/x/pki/keeper/msg_server_test.go b/x/pki/keeper/msg_server_test.go index e990b9394..528a05540 100644 --- a/x/pki/keeper/msg_server_test.go +++ b/x/pki/keeper/msg_server_test.go @@ -10,7 +10,7 @@ import ( "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types" ) -//nolint:deadcode,unused +//nolint:unused func setupMsgServer(tb testing.TB) (types.MsgServer, context.Context) { tb.Helper() k, ctx := keepertest.PkiKeeper(tb, nil) diff --git a/x/pki/module.go b/x/pki/module.go index 0f359c1ae..2d2fe2571 100644 --- a/x/pki/module.go +++ b/x/pki/module.go @@ -62,7 +62,7 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { } // ValidateGenesis performs genesis state validation for the pki module. -func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error { +func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, bz json.RawMessage) error { var genState types.GenesisState if err := cdc.UnmarshalJSON(bz, &genState); err != nil { return fmt.Errorf("failed to unmarshal %s genesis state: %w", pkitypes.ModuleName, err) @@ -72,7 +72,7 @@ func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncod } // RegisterRESTRoutes registers the pki module's REST service handlers. -func (AppModuleBasic) RegisterRESTRoutes(clientCtx client.Context, rtr *mux.Router) { +func (AppModuleBasic) RegisterRESTRoutes(_ client.Context, _ *mux.Router) { } // RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the module. diff --git a/x/pki/simulation/add_x_509_cert.go b/x/pki/simulation/add_x_509_cert.go index 22e3a964b..ff3097e91 100644 --- a/x/pki/simulation/add_x_509_cert.go +++ b/x/pki/simulation/add_x_509_cert.go @@ -12,7 +12,7 @@ import ( ) func SimulateMsgAddX509Cert( - k keeper.Keeper, + _ keeper.Keeper, ) simtypes.Operation { return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { diff --git a/x/pki/simulation/approve_add_x_509_root_cert.go b/x/pki/simulation/approve_add_x_509_root_cert.go index 3dba479eb..381f2a79f 100644 --- a/x/pki/simulation/approve_add_x_509_root_cert.go +++ b/x/pki/simulation/approve_add_x_509_root_cert.go @@ -12,7 +12,7 @@ import ( ) func SimulateMsgApproveAddX509RootCert( - k keeper.Keeper, + _ keeper.Keeper, ) simtypes.Operation { return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { diff --git a/x/pki/simulation/delete_pki_revocation_distribution_point.go b/x/pki/simulation/delete_pki_revocation_distribution_point.go index fc6daff09..63d85590e 100644 --- a/x/pki/simulation/delete_pki_revocation_distribution_point.go +++ b/x/pki/simulation/delete_pki_revocation_distribution_point.go @@ -12,7 +12,7 @@ import ( ) func SimulateMsgDeletePkiRevocationDistributionPoint( - k keeper.Keeper, + _ keeper.Keeper, ) simtypes.Operation { return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { diff --git a/x/pki/simulation/propose_add_x_509_root_cert.go b/x/pki/simulation/propose_add_x_509_root_cert.go index e61784dd3..577a3a5aa 100644 --- a/x/pki/simulation/propose_add_x_509_root_cert.go +++ b/x/pki/simulation/propose_add_x_509_root_cert.go @@ -12,7 +12,7 @@ import ( ) func SimulateMsgProposeAddX509RootCert( - k keeper.Keeper, + _ keeper.Keeper, ) simtypes.Operation { return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { diff --git a/x/pki/simulation/reject_add_x_509_root_cert.go b/x/pki/simulation/reject_add_x_509_root_cert.go index 61577dc53..01d74cb72 100644 --- a/x/pki/simulation/reject_add_x_509_root_cert.go +++ b/x/pki/simulation/reject_add_x_509_root_cert.go @@ -12,7 +12,7 @@ import ( ) func SimulateMsgRejectAddX509RootCert( - k keeper.Keeper, + _ keeper.Keeper, ) simtypes.Operation { return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { diff --git a/x/pki/types/codec.go b/x/pki/types/codec.go index a91b5d20e..89c9f0f22 100644 --- a/x/pki/types/codec.go +++ b/x/pki/types/codec.go @@ -22,6 +22,7 @@ func RegisterCodec(cdc *codec.LegacyAmino) { // this line is used by starport scaffolding # 2 } +// nolint func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { registry.RegisterImplementations((*sdk.Msg)(nil), &MsgProposeAddX509RootCert{}, diff --git a/x/validator/abci.go b/x/validator/abci.go index 51b5b52c1..dc03df316 100644 --- a/x/validator/abci.go +++ b/x/validator/abci.go @@ -19,7 +19,7 @@ func BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock, k keeper.Keeper) // (double signing, light client attack, etc.) for _, tmEvidence := range req.ByzantineValidators { switch tmEvidence.Type { - case abci.MisbehaviorType_DUPLICATE_VOTE, abci.MisbehaviorType_LIGHT_CLIENT_ATTACK: + case abci.MisbehaviorType_DUPLICATE_VOTE, abci.MisbehaviorType_LIGHT_CLIENT_ATTACK: //nolint:nosnakecase evidence := evidencetypes.FromABCIEvidence(tmEvidence) k.HandleDoubleSign(ctx, evidence.(*evidencetypes.Equivocation)) default: diff --git a/x/validator/client/cli/query.go b/x/validator/client/cli/query.go index 1130dfcc1..6cd4a6914 100644 --- a/x/validator/client/cli/query.go +++ b/x/validator/client/cli/query.go @@ -13,7 +13,7 @@ import ( ) // GetQueryCmd returns the cli query commands for this module. -func GetQueryCmd(queryRoute string) *cobra.Command { +func GetQueryCmd(_ string) *cobra.Command { // Group validator queries under a subcommand cmd := &cobra.Command{ Use: types.ModuleName, diff --git a/x/validator/keeper/process_malicious.go b/x/validator/keeper/process_malicious.go index 996766dec..c407af3ec 100644 --- a/x/validator/keeper/process_malicious.go +++ b/x/validator/keeper/process_malicious.go @@ -78,7 +78,7 @@ func (k Keeper) HandleDoubleSign(ctx sdk.Context, evidence *evidencetypes.Equivo sdk.NewEvent( slashingtypes.EventTypeSlash, sdk.NewAttribute(slashingtypes.AttributeKeyAddress, consAddr.String()), - sdk.NewAttribute(slashingtypes.AttributeKeyPower, fmt.Sprintf("%d", evidence.GetValidatorPower())), + sdk.NewAttribute(slashingtypes.AttributeKeyPower, fmt.Sprintf("%d", evidence.GetValidatorPower())), //nolint:perfsprint sdk.NewAttribute(slashingtypes.AttributeKeyReason, slashingtypes.AttributeValueDoubleSign), sdk.NewAttribute(slashingtypes.AttributeKeyJailed, consAddr.String()), ), @@ -98,7 +98,7 @@ func (k Keeper) HandleDoubleSign(ctx sdk.Context, evidence *evidencetypes.Equivo // Move account to entity revoked account revokedAccount, err := k.dclauthKeeper.AddAccountToRevokedAccount( - ctx, accAddr, nil, dclauthTypes.RevokedAccount_MaliciousValidator) + ctx, accAddr, nil, dclauthTypes.RevokedAccount_MaliciousValidator) //nolint:nosnakecase if err != nil { logger.Info("Error:", err) } else { diff --git a/x/validator/keeper/validator.go b/x/validator/keeper/validator.go index d6d7a0eb8..2ed0022fb 100644 --- a/x/validator/keeper/validator.go +++ b/x/validator/keeper/validator.go @@ -64,15 +64,15 @@ func (k Keeper) RemoveValidator( if err != nil { // TODO ??? issue 99: the best way to deal with that panic(err) - } else { - store := prefix.NewStore(ctx.KVStore(k.storeKey), types.KeyPrefix(types.ValidatorByConsAddrKeyPrefix)) - store.Delete(types.ValidatorByConsAddrKey( - valConsAddr, - )) } + store := prefix.NewStore(ctx.KVStore(k.storeKey), types.KeyPrefix(types.ValidatorByConsAddrKeyPrefix)) + store.Delete(types.ValidatorByConsAddrKey( + valConsAddr, + )) + // FIXME issue 99: owner should be a key here - store := prefix.NewStore(ctx.KVStore(k.storeKey), types.KeyPrefix(types.LastValidatorPowerKeyPrefix)) + store = prefix.NewStore(ctx.KVStore(k.storeKey), types.KeyPrefix(types.LastValidatorPowerKeyPrefix)) store.Delete(types.LastValidatorPowerKey(owner)) store = prefix.NewStore(ctx.KVStore(k.storeKey), types.KeyPrefix(types.ValidatorKeyPrefix)) diff --git a/x/validator/module.go b/x/validator/module.go index 9b80561a6..2e3ed5ba7 100644 --- a/x/validator/module.go +++ b/x/validator/module.go @@ -61,7 +61,7 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { } // ValidateGenesis performs genesis state validation for the validator module. -func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error { +func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, bz json.RawMessage) error { var genState types.GenesisState if err := cdc.UnmarshalJSON(bz, &genState); err != nil { return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) @@ -71,7 +71,7 @@ func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncod } // RegisterRESTRoutes registers the validator module's REST service handlers. -func (AppModuleBasic) RegisterRESTRoutes(clientCtx client.Context, rtr *mux.Router) { +func (AppModuleBasic) RegisterRESTRoutes(_ client.Context, _ *mux.Router) { // rest.RegisterHandlers(clientCtx, rtr) // FIXME issue 99: verify } diff --git a/x/validator/simulation/disable_validator.go b/x/validator/simulation/disable_validator.go index 8ad904a5a..51ca095b5 100644 --- a/x/validator/simulation/disable_validator.go +++ b/x/validator/simulation/disable_validator.go @@ -11,7 +11,7 @@ import ( ) func SimulateMsgDisableValidator( - k keeper.Keeper, + _ keeper.Keeper, ) simtypes.Operation { return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { diff --git a/x/validator/simulation/enable_validator.go b/x/validator/simulation/enable_validator.go index 863bcb1d7..e5c3369a3 100644 --- a/x/validator/simulation/enable_validator.go +++ b/x/validator/simulation/enable_validator.go @@ -11,7 +11,7 @@ import ( ) func SimulateMsgEnableValidator( - k keeper.Keeper, + _ keeper.Keeper, ) simtypes.Operation { return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { diff --git a/x/validator/types/message_create_validator.go b/x/validator/types/message_create_validator.go index a3c61c337..9862466b2 100644 --- a/x/validator/types/message_create_validator.go +++ b/x/validator/types/message_create_validator.go @@ -1,10 +1,12 @@ package types import ( + "cosmossdk.io/errors" codectypes "github.com/cosmos/cosmos-sdk/codec/types" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" ) @@ -60,24 +62,24 @@ func (msg *MsgCreateValidator) GetSignBytes() []byte { func (msg *MsgCreateValidator) ValidateBasic() error { accAddr, err := sdk.ValAddressFromBech32(msg.Signer) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid signer address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid signer address (%s)", err) } if accAddr.Empty() { - return sdkerrors.Wrap(sdkerrors.ErrInvalidAddress, "Invalid Signer: it cannot be empty") + return errors.Wrap(sdkerrors.ErrInvalidAddress, "Invalid Signer: it cannot be empty") } if msg.PubKey == nil { - return sdkerrors.Wrap(sdkerrors.ErrInvalidPubKey, "Invalid Validator PubKey: it cannot be empty") + return errors.Wrap(sdkerrors.ErrInvalidPubKey, "Invalid Validator PubKey: it cannot be empty") } _, err2 := msg.PubKey.GetCachedValue().(cryptotypes.PubKey) if !err2 { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidType, "expecting cryptotypes.PubKey for PubKey, got %T", err) + return errors.Wrapf(sdkerrors.ErrInvalidType, "expecting cryptotypes.PubKey for PubKey, got %T", err) } if msg.Description == (Description{}) { - return sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "empty description") + return errors.Wrap(sdkerrors.ErrInvalidRequest, "empty description") } if err := msg.Description.Validate(); err != nil { diff --git a/x/validator/types/validator.go b/x/validator/types/validator.go index 814e1f860..64567105c 100644 --- a/x/validator/types/validator.go +++ b/x/validator/types/validator.go @@ -1,6 +1,7 @@ package types import ( + "cosmossdk.io/errors" abci "github.com/cometbft/cometbft/abci/types" tmprotocrypto "github.com/cometbft/cometbft/proto/tendermint/crypto" "github.com/cosmos/cosmos-sdk/codec" @@ -194,31 +195,31 @@ const ( // Ensure the length of a validator's description. func (d Description) Validate() error { if len(d.Moniker) == 0 { - return sdkerrors.Wrap(sdkerrors.ErrUnknownRequest, "Invalid Description Moniker: it cannot be empty") + return errors.Wrap(sdkerrors.ErrUnknownRequest, "Invalid Description Moniker: it cannot be empty") } if len(d.Moniker) > MaxNameLength { - return sdkerrors.Wrapf(sdkerrors.ErrUnknownRequest, + return errors.Wrapf(sdkerrors.ErrUnknownRequest, "Invalid Description Moniker: received string of length %v, max is %v", len(d.Moniker), MaxNameLength, ) } if len(d.Identity) > MaxIdentityLength { - return sdkerrors.Wrapf(sdkerrors.ErrUnknownRequest, + return errors.Wrapf(sdkerrors.ErrUnknownRequest, "Invalid Description Identity: "+ "received string of length %v, max is %v", len(d.Identity), MaxIdentityLength, ) } if len(d.Website) > MaxWebsiteLength { - return sdkerrors.Wrapf(sdkerrors.ErrUnknownRequest, + return errors.Wrapf(sdkerrors.ErrUnknownRequest, "Invalid Description Website: "+ "received string of length %v, max is %v", len(d.Website), MaxWebsiteLength, ) } if len(d.Details) > MaxDetailsLength { - return sdkerrors.Wrapf(sdkerrors.ErrUnknownRequest, + return errors.Wrapf(sdkerrors.ErrUnknownRequest, "Invalid Description Details: received string of length %v, max is %v", len(d.Details), MaxDetailsLength, ) diff --git a/x/vendorinfo/client/cli/query.go b/x/vendorinfo/client/cli/query.go index 61dcd0b0d..6d0a1e57c 100644 --- a/x/vendorinfo/client/cli/query.go +++ b/x/vendorinfo/client/cli/query.go @@ -13,7 +13,7 @@ import ( ) // GetQueryCmd returns the cli query commands for this module. -func GetQueryCmd(queryRoute string) *cobra.Command { +func GetQueryCmd() *cobra.Command { // Group vendorinfo queries under a subcommand cmd := &cobra.Command{ Use: types.ModuleName, diff --git a/x/vendorinfo/keeper/check_vendor_rights.go b/x/vendorinfo/keeper/check_vendor_rights.go index d24c1ca8e..b2d9dc0f8 100644 --- a/x/vendorinfo/keeper/check_vendor_rights.go +++ b/x/vendorinfo/keeper/check_vendor_rights.go @@ -3,24 +3,26 @@ package keeper import ( "fmt" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + dclauthtypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" ) -func checkAddVendorRights(ctx sdk.Context, k Keeper, signer sdk.AccAddress, vid int32) error { +func checkAddVendorRights(ctx sdk.Context, k Keeper, signer sdk.AccAddress, vid int32) error { //nolint:goconst // sender must have Vendor role and VendorID or VendorAdmin role to add a new vendorinfo isVendor := k.dclauthKeeper.HasRole(ctx, signer, dclauthtypes.Vendor) isVendorAdmin := k.dclauthKeeper.HasRole(ctx, signer, dclauthtypes.VendorAdmin) if !isVendor && !isVendorAdmin { - return sdkerrors.Wrap(sdkerrors.ErrUnauthorized, fmt.Sprintf("MsgAddVendorInfo transaction should be "+ + return errors.Wrap(sdkerrors.ErrUnauthorized, fmt.Sprintf("MsgAddVendorInfo transaction should be "+ "signed by an account with the %s or %s roles", dclauthtypes.Vendor, dclauthtypes.VendorAdmin)) } - // Checks if the the msg creator is the same as the current owner + // Checks if the msg creator is the same as the current owner if isVendor && !k.dclauthKeeper.HasVendorID(ctx, signer, vid) { - return sdkerrors.Wrap(sdkerrors.ErrUnauthorized, fmt.Sprintf("MsgAddVendorInfo transaction should be "+ + return errors.Wrap(sdkerrors.ErrUnauthorized, fmt.Sprintf("MsgAddVendorInfo transaction should be "+ "signed by a vendor account associated with the vendorID %v ", vid)) } @@ -33,13 +35,13 @@ func checkUpdateVendorRights(ctx sdk.Context, k Keeper, signer sdk.AccAddress, v isVendorAdmin := k.dclauthKeeper.HasRole(ctx, signer, dclauthtypes.VendorAdmin) if !isVendor && !isVendorAdmin { - return sdkerrors.Wrap(sdkerrors.ErrUnauthorized, fmt.Sprintf("MsgAddVendorInfo transaction should be "+ + return errors.Wrap(sdkerrors.ErrUnauthorized, fmt.Sprintf("MsgAddVendorInfo transaction should be "+ "signed by an account with the %s or %s roles", dclauthtypes.Vendor, dclauthtypes.VendorAdmin)) } - // Checks if the the msg creator is the same as the current owner + // Checks if the msg creator is the same as the current owner if isVendor && !k.dclauthKeeper.HasVendorID(ctx, signer, vid) { - return sdkerrors.Wrap(sdkerrors.ErrUnauthorized, fmt.Sprintf("MsgAddVendorInfo transaction should be "+ + return errors.Wrap(sdkerrors.ErrUnauthorized, fmt.Sprintf("MsgAddVendorInfo transaction should be "+ "signed by a vendor account associated with the vendorID %v ", vid)) } diff --git a/x/vendorinfo/keeper/msg_server_vendor_info.go b/x/vendorinfo/keeper/msg_server_vendor_info.go index ee79d9ae0..f8267c3df 100644 --- a/x/vendorinfo/keeper/msg_server_vendor_info.go +++ b/x/vendorinfo/keeper/msg_server_vendor_info.go @@ -3,8 +3,10 @@ package keeper import ( "context" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/zigbee-alliance/distributed-compliance-ledger/x/vendorinfo/types" ) @@ -23,7 +25,7 @@ func (k msgServer) CreateVendorInfo(goCtx context.Context, msg *types.MsgCreateV ) if isFound { - return nil, sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "index already set") + return nil, errors.Wrap(sdkerrors.ErrInvalidRequest, "index already set") } vendorInfo := types.VendorInfo{ @@ -58,7 +60,7 @@ func (k msgServer) UpdateVendorInfo(goCtx context.Context, msg *types.MsgUpdateV ) if !isFound { - return nil, sdkerrors.Wrap(sdkerrors.ErrKeyNotFound, "index not set") + return nil, errors.Wrap(sdkerrors.ErrKeyNotFound, "index not set") } // check if creator has enough rights to update vendorinfo @@ -106,7 +108,7 @@ func (k msgServer) UpdateVendorInfo(goCtx context.Context, msg *types.MsgUpdateV // return nil, sdkerrors.Wrap(sdkerrors.ErrKeyNotFound, "index not set") // } -// // Checks if the the msg creator is the same as the current owner +// // Checks if the msg creator is the same as the current owner // if msg.Creator != valFound.Creator { // return nil, sdkerrors.Wrap(sdkerrors.ErrUnauthorized, "incorrect owner") // } diff --git a/x/vendorinfo/module.go b/x/vendorinfo/module.go index 244e89585..92c5e5651 100644 --- a/x/vendorinfo/module.go +++ b/x/vendorinfo/module.go @@ -61,7 +61,7 @@ func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { } // ValidateGenesis performs genesis state validation for the vendorinfo module. -func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncodingConfig, bz json.RawMessage) error { +func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, _ client.TxEncodingConfig, bz json.RawMessage) error { var genState types.GenesisState if err := cdc.UnmarshalJSON(bz, &genState); err != nil { return fmt.Errorf("failed to unmarshal %s genesis state: %w", types.ModuleName, err) @@ -71,8 +71,7 @@ func (AppModuleBasic) ValidateGenesis(cdc codec.JSONCodec, config client.TxEncod } // RegisterRESTRoutes registers the vendorinfo module's REST service handlers. -func (AppModuleBasic) RegisterRESTRoutes(clientCtx client.Context, rtr *mux.Router) { -} +func (AppModuleBasic) RegisterRESTRoutes(_ client.Context, _ *mux.Router) {} // RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the module. func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux) { @@ -86,7 +85,7 @@ func (a AppModuleBasic) GetTxCmd() *cobra.Command { // GetQueryCmd returns the vendorinfo module's root query command. func (AppModuleBasic) GetQueryCmd() *cobra.Command { - return cli.GetQueryCmd(types.StoreKey) + return cli.GetQueryCmd() } // ---------------------------------------------------------------------------- diff --git a/x/vendorinfo/types/codec.go b/x/vendorinfo/types/codec.go index bc39ae8ca..56cb5ef82 100644 --- a/x/vendorinfo/types/codec.go +++ b/x/vendorinfo/types/codec.go @@ -14,6 +14,7 @@ func RegisterCodec(cdc *codec.LegacyAmino) { // this line is used by starport scaffolding # 2 } +// nolint func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { registry.RegisterImplementations((*sdk.Msg)(nil), &MsgCreateVendorInfo{}, diff --git a/x/vendorinfo/types/errors.go b/x/vendorinfo/types/errors.go index bbecb0371..9e9636f80 100644 --- a/x/vendorinfo/types/errors.go +++ b/x/vendorinfo/types/errors.go @@ -3,14 +3,14 @@ package types // DONTCOVER import ( - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "cosmossdk.io/errors" ) // x/vendorinfo module sentinel errors. var ( DefaultCodespace = ModuleName - CodeVendorDoesNotExist = sdkerrors.Register(ModuleName, 701, "Code vendor does not exist") - CodeMissingVendorIDForVendorAccount = sdkerrors.Register(ModuleName, 702, "Code missing vendor id for vendor account") - CodeVendorInfoAlreadyExists = sdkerrors.Register(ModuleName, 703, "Code vendorinfo already exists") + CodeVendorDoesNotExist = errors.Register(ModuleName, 701, "Code vendor does not exist") + CodeMissingVendorIDForVendorAccount = errors.Register(ModuleName, 702, "Code missing vendor id for vendor account") + CodeVendorInfoAlreadyExists = errors.Register(ModuleName, 703, "Code vendorinfo already exists") ) From f6b40e947fbfc9656d1a1715c55815616d3a788f Mon Sep 17 00:00:00 2001 From: Abdulbois Date: Fri, 26 Jan 2024 11:58:33 +0500 Subject: [PATCH 04/29] #303 Upgrade Cosmos-SDK to v0.47.3 Update docker files Signed-off-by: Abdulbois Signed-off-by: Abdulbois --- Dockerfile | 4 ++-- Dockerfile-build | 4 ++-- scripts/Dockerfile | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5f75e6d79..a64ecfb24 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,7 @@ FROM ubuntu:20.04 AS builder ARG GO_VERSION -ENV GO_VERSION=1.19.4 +ENV GO_VERSION=1.20 RUN apt-get update --fix-missing RUN apt-get install -y wget git gcc @@ -36,7 +36,7 @@ ENV GOPATH /go ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH" -RUN go install github.com/cosmos/cosmos-sdk/cosmovisor/cmd/cosmovisor@v1.0.0 +RUN go install github.com/cosmos/cosmos-sdk/cosmovisor/cmd/cosmovisor@v1.3.0 ############################ # STEP 2 build node image diff --git a/Dockerfile-build b/Dockerfile-build index e722e4afb..99292d1df 100644 --- a/Dockerfile-build +++ b/Dockerfile-build @@ -20,7 +20,7 @@ FROM ubuntu:20.04 AS builder ARG GO_VERSION -ENV GO_VERSION=1.19.4 +ENV GO_VERSION=1.20 RUN apt-get update RUN apt-get install -y wget git gcc make @@ -47,4 +47,4 @@ COPY docs/static ./docs/static/ ARG DCL_VERSION ARG DCL_COMMIT -RUN LEDGER_ENABLED=false make +RUN LEDGER_ENABLED=true make diff --git a/scripts/Dockerfile b/scripts/Dockerfile index 27c19d7c0..6967affba 100644 --- a/scripts/Dockerfile +++ b/scripts/Dockerfile @@ -6,7 +6,7 @@ FROM node # Install golang ARG GO_VERSION -ENV GO_VERSION=${GO_VERSION:-1.18} +ENV GO_VERSION=${GO_VERSION:-1.20} ENV BASH_ENV=/etc/bashrc ENV PATH="${PATH}:/usr/local/go/bin" RUN curl -L https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz -o /tmp/go.tar.gz \ From ed4bd87f5999e3ebc6d870d6c5eadff83bea4324 Mon Sep 17 00:00:00 2001 From: Abdulbois Date: Mon, 29 Jan 2024 13:11:09 +0500 Subject: [PATCH 05/29] #303 Upgrade Cosmos-SDK to v0.47.3 - Update version of linter - Fix linter errors Signed-off-by: Abdulbois Signed-off-by: Abdulbois --- .github/workflows/release.yml | 2 +- .github/workflows/verify.yml | 8 +-- app/app.go | 51 +++++++++++++------ integration_tests/utils/common.go | 3 +- integration_tests/utils/grpc_rest.go | 7 +-- testutil/network/network.go | 6 +-- x/compliance/handler.go | 4 +- .../handler_delete_compliance_info_test.go | 1 + x/compliance/handler_provision_model_test.go | 3 ++ x/compliance/handler_revoke_model_test.go | 4 ++ x/compliance/handler_test.go | 1 + .../handler_update_compliance_info_test.go | 3 ++ .../keeper/msg_server_certify_model.go | 5 +- .../msg_server_delete_compliance_info.go | 6 ++- .../keeper/msg_server_provision_model.go | 5 +- .../keeper/msg_server_revoke_model.go | 14 ++--- .../msg_server_update_compliance_info.go | 5 +- x/compliance/module_simulation.go | 2 +- x/compliance/simulation/revoke_model.go | 2 +- x/compliance/types/message_certify_model.go | 3 +- .../types/message_delete_compliance_info.go | 3 +- x/compliance/types/message_provision_model.go | 3 +- x/compliance/types/message_revoke_model.go | 3 +- .../types/message_update_compliance_info.go | 6 ++- x/dclauth/base/keeper/grpc_query_account.go | 35 +++++-------- x/dclauth/handler.go | 4 +- x/dclauth/keeper/account_stat_test.go | 2 +- .../keeper/msg_server_approve_add_account.go | 9 ++-- .../msg_server_approve_revoke_account.go | 9 ++-- .../keeper/msg_server_propose_add_account.go | 9 ++-- .../msg_server_propose_revoke_account.go | 7 +-- .../keeper/msg_server_reject_add_account.go | 9 ++-- x/dclauth/types/account.go | 5 +- .../types/message_approve_add_account.go | 9 ++-- .../types/message_approve_revoke_account.go | 9 ++-- .../types/message_propose_add_account.go | 18 ++++--- .../types/message_propose_add_account_test.go | 7 +-- .../types/message_propose_revoke_account.go | 9 ++-- x/dclauth/types/message_reject_add_account.go | 3 +- x/dclupgrade/handler.go | 3 +- .../keeper/msg_server_approve_upgrade.go | 7 +-- .../keeper/msg_server_propose_upgrade.go | 5 +- .../keeper/msg_server_reject_upgrade.go | 7 +-- x/dclupgrade/module_simulation.go | 2 +- x/dclupgrade/simulation/approve_upgrade.go | 2 +- x/dclupgrade/simulation/propose_upgrade.go | 2 +- x/dclupgrade/simulation/reject_upgrade.go | 2 +- x/dclupgrade/types/message_approve_upgrade.go | 3 +- x/dclupgrade/types/message_propose_upgrade.go | 3 +- x/dclupgrade/types/message_reject_upgrade.go | 3 +- x/model/handler.go | 3 +- x/model/keeper/check_model_rights.go | 7 +-- x/model/keeper/msg_server_model.go | 7 +-- x/model/keeper/msg_server_model_version.go | 7 +-- x/model/types/codec.go | 2 +- x/model/types/messages_model_version.go | 7 +-- x/pki/handler.go | 7 +-- x/pki/handler_update_revocation_test.go | 2 + .../keeper/approved_root_certificates_test.go | 2 +- .../msg_server_approve_add_x_509_root_cert.go | 7 +-- ...g_server_approve_revoke_x_509_root_cert.go | 7 +-- x/pki/keeper/msg_server_assign_vid.go | 5 +- .../msg_server_propose_add_x_509_root_cert.go | 9 ++-- ...g_server_propose_revoke_x_509_root_cert.go | 5 +- .../msg_server_reject_add_x_509_root_cert.go | 7 +-- x/pki/keeper/msg_server_revoke_x_509_cert.go | 3 +- .../keeper/revoked_root_certificates_test.go | 2 +- x/pki/module_simulation.go | 2 +- x/pki/revocation_message_utils_test.go | 1 + .../add_pki_revocation_distribution_point.go | 2 +- .../approve_revoke_x_509_root_cert.go | 2 +- x/pki/simulation/assign_vid.go | 2 +- .../propose_revoke_x_509_root_cert.go | 2 +- x/pki/simulation/revoke_x_509_cert.go | 2 +- ...pdate_pki_revocation_distribution_point.go | 2 +- x/pki/types/codec.go | 3 +- x/pki/types/message_add_x_509_cert.go | 3 +- .../message_approve_add_x_509_root_cert.go | 3 +- .../message_approve_revoke_x_509_root_cert.go | 3 +- x/pki/types/message_assign_vid.go | 3 +- .../message_propose_add_x_509_root_cert.go | 3 +- .../message_propose_revoke_x_509_root_cert.go | 3 +- .../message_reject_add_x_509_root_cert.go | 3 +- x/pki/types/message_revoke_x_509_cert.go | 3 +- x/validator/handler.go | 3 +- .../msg_server_approve_disable_validator.go | 9 ++-- .../keeper/msg_server_create_validator.go | 7 +-- .../keeper/msg_server_disable_validator.go | 5 +- .../keeper/msg_server_enable_validator.go | 5 +- .../msg_server_propose_disable_validator.go | 7 +-- .../keeper/msg_server_reject_disable_node.go | 9 ++-- x/validator/keeper/process_malicious.go | 3 +- x/validator/module_simulation.go | 2 +- .../simulation/approve_disable_validator.go | 2 +- .../simulation/propose_disable_validator.go | 2 +- x/validator/simulation/reject_disable_node.go | 2 +- x/validator/types/codec.go | 2 +- x/validator/types/errors.go | 22 ++++---- x/validator/types/expected_keepers.go | 2 +- .../message_approve_disable_validator.go | 5 +- .../types/message_disable_validator.go | 3 +- x/validator/types/message_enable_validator.go | 3 +- .../message_propose_disable_validator.go | 5 +- .../types/message_reject_disable_node.go | 3 +- x/validator/types/validator.go | 6 +-- x/vendorinfo/handler.go | 3 +- x/vendorinfo/types/codec.go | 3 +- x/vendorinfo/types/messages_vendor_info.go | 7 +-- 108 files changed, 341 insertions(+), 243 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b6a2144b8..1917bb598 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -131,7 +131,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v3 with: - go-version: ^1.16 + go-version: ^1.20 - name: Check out code into the Go module directory uses: actions/checkout@v2 diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 43ac1992a..522e0e4fe 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -87,7 +87,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: ^1.17 + go-version: ^1.20 - uses: actions/checkout@v3 - uses: actions/cache@v3 if: ${{ !env.ACT }} @@ -113,7 +113,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: ^1.17 + go-version: ^1.20 - uses: actions/checkout@v3 - uses: actions/cache@v3 with: @@ -136,11 +136,11 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: 1.17 + go-version: 1.20 - name: golangci-lint uses: golangci/golangci-lint-action@v3.6.0 with: - version: v1.46.0 + version: 1.55.2 args: --timeout 5m0s check: if: always() diff --git a/app/app.go b/app/app.go index 0175b9f16..87f56d261 100644 --- a/app/app.go +++ b/app/app.go @@ -6,7 +6,6 @@ import ( "os" "path/filepath" - autocliv1 "cosmossdk.io/api/cosmos/autocli/v1" reflectionv1 "cosmossdk.io/api/cosmos/reflection/v1" dbm "github.com/cometbft/cometbft-db" abci "github.com/cometbft/cometbft/abci/types" @@ -42,7 +41,7 @@ import ( dclpkitypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/pki" compliancemodule "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance" compliancemodulekeeper "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/keeper" - compliancetypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" + dclcompliancetypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" dclauthmodule "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/ante" baseauthmodulekeeper "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/base/keeper" @@ -55,7 +54,7 @@ import ( dclupgrademoduletypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclupgrade/types" modelmodule "github.com/zigbee-alliance/distributed-compliance-ledger/x/model" modelmodulekeeper "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/keeper" - modelmoduletypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/types" + dclmodeltypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/types" pkimodule "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki" pkimodulekeeper "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/keeper" validatormodule "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator" @@ -275,8 +274,8 @@ func New( dclupgrademoduletypes.StoreKey, dclpkitypes.StoreKey, vendorinfomoduletypes.StoreKey, - modelmoduletypes.StoreKey, - compliancetypes.StoreKey, + dclmodeltypes.StoreKey, + dclcompliancetypes.StoreKey, // this line is used by starport scaffolding # stargate/app/storeKey ) tkeys := sdk.NewTransientStoreKeys(paramstypes.TStoreKey) @@ -438,8 +437,8 @@ func New( app.ModelKeeper = *modelmodulekeeper.NewKeeper( appCodec, - keys[modelmoduletypes.StoreKey], - keys[modelmoduletypes.MemStoreKey], + keys[dclmodeltypes.StoreKey], + keys[dclmodeltypes.MemStoreKey], app.DclauthKeeper, app.ComplianceKeeper, @@ -447,8 +446,8 @@ func New( app.ComplianceKeeper = *compliancemodulekeeper.NewKeeper( appCodec, - keys[compliancetypes.StoreKey], - keys[compliancetypes.MemStoreKey], + keys[dclcompliancetypes.StoreKey], + keys[dclcompliancetypes.MemStoreKey], app.DclauthKeeper, app.ModelKeeper, ) @@ -529,12 +528,31 @@ func New( app.mm.SetOrderBeginBlockers( // TODO [issue 99] verify the order - upgradetypes.ModuleName, + dclauthmoduletypes.ModuleName, validatormoduletypes.ModuleName, + dclgenutilmoduletypes.ModuleName, + dclupgrademoduletypes.ModuleName, + upgradetypes.ModuleName, + dclpkitypes.ModuleName, + dclauthmoduletypes.ModuleName, + dclmodeltypes.ModuleName, + dclcompliancetypes.ModuleName, + vendorinfomoduletypes.ModuleName, + paramstypes.ModuleName, ) app.mm.SetOrderEndBlockers( + dclauthmoduletypes.ModuleName, validatormoduletypes.ModuleName, + dclgenutilmoduletypes.ModuleName, + dclupgrademoduletypes.ModuleName, + upgradetypes.ModuleName, + dclpkitypes.ModuleName, + dclauthmoduletypes.ModuleName, + dclmodeltypes.ModuleName, + dclcompliancetypes.ModuleName, + vendorinfomoduletypes.ModuleName, + paramstypes.ModuleName, ) // NOTE: The genutils module must occur after staking so that pools are @@ -565,8 +583,11 @@ func New( dclupgrademoduletypes.ModuleName, dclpkitypes.ModuleName, vendorinfomoduletypes.ModuleName, - modelmoduletypes.ModuleName, - compliancetypes.ModuleName, + dclmodeltypes.ModuleName, + dclcompliancetypes.ModuleName, + paramstypes.ModuleName, + upgradetypes.ModuleName, + dclupgrademoduletypes.ModuleName, // this line is used by starport scaffolding # stargate/app/initGenesis ) @@ -576,7 +597,7 @@ func New( app.configurator = module.NewConfigurator(app.appCodec, app.MsgServiceRouter(), app.GRPCQueryRouter()) app.mm.RegisterServices(app.configurator) - autocliv1.RegisterQueryServer(app.GRPCQueryRouter(), runtimeservices.NewAutoCLIQueryService(app.mm.Modules)) + // autocliv1.RegisterQueryServer(app.GRPCQueryRouter(), runtimeservices.NewAutoCLIQueryService(app.mm.Modules)) reflectionSvc, err := runtimeservices.NewReflectionService() if err != nil { panic(err) @@ -832,8 +853,8 @@ func initParamsKeeper(appCodec codec.BinaryCodec, legacyAmino *codec.LegacyAmino paramsKeeper.Subspace(dclupgrademoduletypes.ModuleName) paramsKeeper.Subspace(dclpkitypes.ModuleName) paramsKeeper.Subspace(vendorinfomoduletypes.ModuleName) - paramsKeeper.Subspace(modelmoduletypes.ModuleName) - paramsKeeper.Subspace(compliancetypes.ModuleName) + paramsKeeper.Subspace(dclmodeltypes.ModuleName) + paramsKeeper.Subspace(dclcompliancetypes.ModuleName) // this line is used by starport scaffolding # stargate/app/paramSubspace return paramsKeeper diff --git a/integration_tests/utils/common.go b/integration_tests/utils/common.go index 855b96a25..49f8a1ec3 100644 --- a/integration_tests/utils/common.go +++ b/integration_tests/utils/common.go @@ -21,9 +21,8 @@ import ( "time" ) -// nolint func RandString() string { - rand.Seed(time.Now().UnixNano()) + rand.Seed(time.Now().UnixNano()) //nolint:staticcheck chars := []rune("ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789") diff --git a/integration_tests/utils/grpc_rest.go b/integration_tests/utils/grpc_rest.go index 4b993ba62..33fcfe333 100644 --- a/integration_tests/utils/grpc_rest.go +++ b/integration_tests/utils/grpc_rest.go @@ -25,6 +25,8 @@ import ( //nolint:staticcheck "github.com/golang/protobuf/proto" "github.com/stretchr/testify/require" + "google.golang.org/grpc" + "google.golang.org/grpc/credentials/insecure" sdkerrors "cosmossdk.io/errors" clienttx "github.com/cosmos/cosmos-sdk/client/tx" @@ -35,7 +37,6 @@ import ( "github.com/zigbee-alliance/distributed-compliance-ledger/app" appparams "github.com/zigbee-alliance/distributed-compliance-ledger/app/params" dclauthtypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" - "google.golang.org/grpc" ) // NOTE @@ -55,8 +56,8 @@ type TestSuite struct { func (suite *TestSuite) GetGRPCConn() *grpc.ClientConn { // Create a connection to the gRPC server. grpcConn, err := grpc.Dial( - "127.0.0.1:26630", // Or your gRPC server address. - grpc.WithInsecure(), // The SDK doesn't support any transport security mechanism. + "127.0.0.1:26630", // Or your gRPC server address. + grpc.WithTransportCredentials(insecure.NewCredentials()), // The SDK doesn't support any transport security mechanism. ) require.NoError(suite.T, err) diff --git a/testutil/network/network.go b/testutil/network/network.go index db105e097..ce7a87c00 100644 --- a/testutil/network/network.go +++ b/testutil/network/network.go @@ -1,4 +1,4 @@ -//nolint:blank-imports,staticcheck +//nolint:staticcheck package network import ( @@ -43,10 +43,10 @@ import ( "github.com/cosmos/cosmos-sdk/testutil" "github.com/cosmos/cosmos-sdk/testutil/network" sdk "github.com/cosmos/cosmos-sdk/types" - _ "github.com/cosmos/cosmos-sdk/x/auth" + _ "github.com/cosmos/cosmos-sdk/x/auth" //nolint: nolintlint _ "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" + _ "github.com/cosmos/cosmos-sdk/x/bank" //nolint: nolintlint _ "github.com/cosmos/cosmos-sdk/x/consensus" _ "github.com/cosmos/cosmos-sdk/x/params" _ "github.com/cosmos/cosmos-sdk/x/staking" diff --git a/x/compliance/handler.go b/x/compliance/handler.go index 55261aecf..00fd5c4c0 100644 --- a/x/compliance/handler.go +++ b/x/compliance/handler.go @@ -3,8 +3,10 @@ package compliance import ( "fmt" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" ) @@ -41,7 +43,7 @@ func NewHandler(k keeper.Keeper) sdk.Handler { default: errMsg := fmt.Sprintf("unrecognized %s message type: %T", types.ModuleName, msg) - return nil, sdkerrors.Wrap(sdkerrors.ErrUnknownRequest, errMsg) + return nil, errors.Wrap(sdkerrors.ErrUnknownRequest, errMsg) } } } diff --git a/x/compliance/handler_delete_compliance_info_test.go b/x/compliance/handler_delete_compliance_info_test.go index 6810bdd77..049894fce 100644 --- a/x/compliance/handler_delete_compliance_info_test.go +++ b/x/compliance/handler_delete_compliance_info_test.go @@ -29,6 +29,7 @@ func (setup *TestSetup) deleteComplianceInfo(vid int32, pid int32, softwareVersi } func (setup *TestSetup) checkComplianceInfoDeleted(t *testing.T, deleteComplInfoMsg *types.MsgDeleteComplianceInfo) { + t.Helper() vid := deleteComplInfoMsg.Vid pid := deleteComplInfoMsg.Pid softwareVersion := deleteComplInfoMsg.SoftwareVersion diff --git a/x/compliance/handler_provision_model_test.go b/x/compliance/handler_provision_model_test.go index dd9e89b00..663366092 100644 --- a/x/compliance/handler_provision_model_test.go +++ b/x/compliance/handler_provision_model_test.go @@ -13,6 +13,7 @@ import ( ) func setupProvisionModel(t *testing.T) (*TestSetup, int32, int32, uint32, string, string) { + t.Helper() setup := setup(t) vid, pid, softwareVersion, softwareVersionString := setup.addModelVersion( @@ -48,6 +49,7 @@ func (setup *TestSetup) provisionModelWithAllOptionalFlags(vid int32, pid int32, } func (setup *TestSetup) checkComplianceInfoEqualsProvisionModelMsgData(t *testing.T, provisionModelMsg *types.MsgProvisionModel) { + t.Helper() vid := provisionModelMsg.Vid pid := provisionModelMsg.Pid softwareVersion := provisionModelMsg.SoftwareVersion @@ -59,6 +61,7 @@ func (setup *TestSetup) checkComplianceInfoEqualsProvisionModelMsgData(t *testin } func (setup *TestSetup) checkModelProvisioned(t *testing.T, provisionModelMsg *types.MsgProvisionModel) { + t.Helper() vid := provisionModelMsg.Vid pid := provisionModelMsg.Pid softwareVersion := provisionModelMsg.SoftwareVersion diff --git a/x/compliance/handler_revoke_model_test.go b/x/compliance/handler_revoke_model_test.go index d4478a32b..c8a99e2d4 100644 --- a/x/compliance/handler_revoke_model_test.go +++ b/x/compliance/handler_revoke_model_test.go @@ -15,6 +15,7 @@ import ( ) func setupRevokeModel(t *testing.T) (*TestSetup, int32, int32, uint32, string, string) { + t.Helper() setup := setup(t) vid, pid, softwareVersion, softwareVersionString := setup.addModelVersion( @@ -32,6 +33,7 @@ func (setup *TestSetup) revokeModel(vid int32, pid int32, softwareVersion uint32 } func (setup *TestSetup) checkModelRevoked(t *testing.T, revokeModelMsg *types.MsgRevokeModel) { + t.Helper() vid := revokeModelMsg.Vid pid := revokeModelMsg.Pid softwareVersion := revokeModelMsg.SoftwareVersion @@ -48,6 +50,7 @@ func (setup *TestSetup) checkModelRevoked(t *testing.T, revokeModelMsg *types.Ms } func (setup *TestSetup) checkModelStatusChangedToRevoked(t *testing.T, revokeModelMsg *types.MsgRevokeModel) { + t.Helper() vid := revokeModelMsg.Vid pid := revokeModelMsg.Pid softwareVersion := revokeModelMsg.SoftwareVersion @@ -64,6 +67,7 @@ func (setup *TestSetup) checkModelStatusChangedToRevoked(t *testing.T, revokeMod } func (setup *TestSetup) checkRevokedModelInfoEqualsMessageData(t *testing.T, revokeModelMsg *types.MsgRevokeModel) *types.ComplianceInfo { + t.Helper() vid := revokeModelMsg.Vid pid := revokeModelMsg.Pid softwareVersion := revokeModelMsg.SoftwareVersion diff --git a/x/compliance/handler_test.go b/x/compliance/handler_test.go index f293af592..6eb9fc164 100644 --- a/x/compliance/handler_test.go +++ b/x/compliance/handler_test.go @@ -370,6 +370,7 @@ func checkRevokedModelInfo( } func assertNotFound(t *testing.T, err error) { + t.Helper() require.Error(t, err) require.Equal(t, codes.NotFound, status.Code(err)) } diff --git a/x/compliance/handler_update_compliance_info_test.go b/x/compliance/handler_update_compliance_info_test.go index 6f0de7fa9..14920dc62 100644 --- a/x/compliance/handler_update_compliance_info_test.go +++ b/x/compliance/handler_update_compliance_info_test.go @@ -12,6 +12,7 @@ import ( ) func (setup *TestSetup) checkAllComplianceInfoFieldsUpdated(t *testing.T, originalComplianceInfo *types.ComplianceInfo, updatedComplianceInfo *types.ComplianceInfo) { + t.Helper() require.Equal(t, originalComplianceInfo.Vid, updatedComplianceInfo.Vid) require.Equal(t, originalComplianceInfo.Pid, updatedComplianceInfo.Pid) require.Equal(t, originalComplianceInfo.SoftwareVersion, updatedComplianceInfo.SoftwareVersion) @@ -33,6 +34,7 @@ func (setup *TestSetup) checkAllComplianceInfoFieldsUpdated(t *testing.T, origin } func (setup *TestSetup) checkDeviceSoftwareComplianceUpdated(t *testing.T, originalComplianceInfo *types.ComplianceInfo, updatedDeviceSoftwareCompliance *types.DeviceSoftwareCompliance, isUpdatedMinimally bool) { + t.Helper() isFound := false for _, complianceInfo := range updatedDeviceSoftwareCompliance.ComplianceInfo { @@ -57,6 +59,7 @@ func (setup *TestSetup) checkDeviceSoftwareComplianceUpdated(t *testing.T, origi } func setupUpdateComplianceInfo(t *testing.T) (*TestSetup, int32, int32, uint32, string, string, *types.ComplianceInfo, *types.DeviceSoftwareCompliance) { + t.Helper() setup := setup(t) vid, pid, softwareVersion, softwareVersionString := setup.addModelVersion( diff --git a/x/compliance/keeper/msg_server_certify_model.go b/x/compliance/keeper/msg_server_certify_model.go index a344e7884..82aaf5159 100644 --- a/x/compliance/keeper/msg_server_certify_model.go +++ b/x/compliance/keeper/msg_server_certify_model.go @@ -5,6 +5,7 @@ import ( "fmt" "time" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" @@ -18,13 +19,13 @@ func (k msgServer) CertifyModel(goCtx context.Context, msg *types.MsgCertifyMode signerAddr, err := sdk.AccAddressFromBech32(msg.Signer) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) } // check if sender has enough rights to certify model // sender must have CertificationCenter role to certify/revoke model if !k.dclauthKeeper.HasRole(ctx, signerAddr, dclauthtypes.CertificationCenter) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "MsgAddTestingResult transaction should be signed by an account with the %s role", dclauthtypes.CertificationCenter, ) diff --git a/x/compliance/keeper/msg_server_delete_compliance_info.go b/x/compliance/keeper/msg_server_delete_compliance_info.go index 5ae616867..6eda5ff5c 100644 --- a/x/compliance/keeper/msg_server_delete_compliance_info.go +++ b/x/compliance/keeper/msg_server_delete_compliance_info.go @@ -3,8 +3,10 @@ package keeper import ( "context" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" dclauthtypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" ) @@ -14,13 +16,13 @@ func (k msgServer) DeleteComplianceInfo(goCtx context.Context, msg *types.MsgDel signerAddr, err := sdk.AccAddressFromBech32(msg.Creator) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) } // check if sender has enough rights to delete model // sender must have CertificationCenter role to certify/revoke model if !k.dclauthKeeper.HasRole(ctx, signerAddr, dclauthtypes.CertificationCenter) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "MsgDeleteComplianceInfo transaction should be signed by an account with the %s role", dclauthtypes.CertificationCenter, ) diff --git a/x/compliance/keeper/msg_server_provision_model.go b/x/compliance/keeper/msg_server_provision_model.go index a953d6184..f4bc07e84 100644 --- a/x/compliance/keeper/msg_server_provision_model.go +++ b/x/compliance/keeper/msg_server_provision_model.go @@ -3,6 +3,7 @@ package keeper import ( "context" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" @@ -16,13 +17,13 @@ func (k msgServer) ProvisionModel(goCtx context.Context, msg *types.MsgProvision signerAddr, err := sdk.AccAddressFromBech32(msg.Signer) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) } // check if sender has enough rights to provision model // sender must have CertificationCenter role to certify/revoke model if !k.dclauthKeeper.HasRole(ctx, signerAddr, dclauthtypes.CertificationCenter) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "MsgAddTestingResult transaction should be signed by an account with the %s role", dclauthtypes.CertificationCenter, ) diff --git a/x/compliance/keeper/msg_server_revoke_model.go b/x/compliance/keeper/msg_server_revoke_model.go index 7071759ca..524080805 100644 --- a/x/compliance/keeper/msg_server_revoke_model.go +++ b/x/compliance/keeper/msg_server_revoke_model.go @@ -5,11 +5,11 @@ import ( "fmt" "time" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" - dclcompltypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" dclauthtypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" modeltypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/types" ) @@ -19,13 +19,13 @@ func (k msgServer) RevokeModel(goCtx context.Context, msg *types.MsgRevokeModel) signerAddr, err := sdk.AccAddressFromBech32(msg.Signer) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) } // check if sender has enough rights to revoke model // sender must have CertificationCenter role to certify/revoke model if !k.dclauthKeeper.HasRole(ctx, signerAddr, dclauthtypes.CertificationCenter) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "MsgAddTestingResult transaction should be signed by an account with the %s role", dclauthtypes.CertificationCenter, ) @@ -54,7 +54,7 @@ func (k msgServer) RevokeModel(goCtx context.Context, msg *types.MsgRevokeModel) // 2) We want to revoke certified or provisioned compliance. // check if compliance is already in revoked state - if complianceInfo.SoftwareVersionCertificationStatus == dclcompltypes.CodeRevoked { + if complianceInfo.SoftwareVersionCertificationStatus == types.CodeRevoked { return nil, types.NewErrAlreadyRevoked(msg.Vid, msg.Pid, msg.SoftwareVersion, msg.CertificationType) } // if state changes on `revoked` check that revocation date is after certification/provisional date @@ -111,7 +111,7 @@ func (k msgServer) RevokeModel(goCtx context.Context, msg *types.MsgRevokeModel) } else { // There is no compliance record yet. So only revocation will be tracked on ledger. - complianceInfo = dclcompltypes.ComplianceInfo{ + complianceInfo = types.ComplianceInfo{ Vid: msg.Vid, Pid: msg.Pid, SoftwareVersion: msg.SoftwareVersion, @@ -120,8 +120,8 @@ func (k msgServer) RevokeModel(goCtx context.Context, msg *types.MsgRevokeModel) Date: msg.RevocationDate, Reason: msg.Reason, Owner: msg.Signer, - SoftwareVersionCertificationStatus: dclcompltypes.CodeRevoked, - History: []*dclcompltypes.ComplianceHistoryItem{}, + SoftwareVersionCertificationStatus: types.CodeRevoked, + History: []*types.ComplianceHistoryItem{}, CDVersionNumber: msg.CDVersionNumber, } } diff --git a/x/compliance/keeper/msg_server_update_compliance_info.go b/x/compliance/keeper/msg_server_update_compliance_info.go index 50e147f98..84a402ed5 100644 --- a/x/compliance/keeper/msg_server_update_compliance_info.go +++ b/x/compliance/keeper/msg_server_update_compliance_info.go @@ -4,6 +4,7 @@ import ( "context" "strconv" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types" @@ -18,11 +19,11 @@ func (k msgServer) UpdateComplianceInfo(goCtx context.Context, msg *types.MsgUpd signerAddr, err := sdk.AccAddressFromBech32(msg.Creator) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) } if !k.dclauthKeeper.HasRole(ctx, signerAddr, dclauthtypes.CertificationCenter) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, "%s transaction should be "+ + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "%s transaction should be "+ "signed by an account with the %s role", "MsgUpdateComplianceInfo", dclauthtypes.CertificationCenter) } diff --git a/x/compliance/module_simulation.go b/x/compliance/module_simulation.go index 54752cbd3..59b76ec13 100644 --- a/x/compliance/module_simulation.go +++ b/x/compliance/module_simulation.go @@ -59,7 +59,7 @@ func (AppModule) GenerateGenesisState(simState *module.SimulationState) { } // ProposalContents doesn't return any content functions for governance proposals. -func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalContent { +func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalContent { //nolint:staticcheck return nil } diff --git a/x/compliance/simulation/revoke_model.go b/x/compliance/simulation/revoke_model.go index 8b466c87f..7d55aa013 100644 --- a/x/compliance/simulation/revoke_model.go +++ b/x/compliance/simulation/revoke_model.go @@ -11,7 +11,7 @@ import ( ) func SimulateMsgRevokeModel( - k keeper.Keeper, + _ keeper.Keeper, ) simtypes.Operation { return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { diff --git a/x/compliance/types/message_certify_model.go b/x/compliance/types/message_certify_model.go index 03c361d05..fa69ec358 100644 --- a/x/compliance/types/message_certify_model.go +++ b/x/compliance/types/message_certify_model.go @@ -3,6 +3,7 @@ package types import ( "time" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" @@ -69,7 +70,7 @@ func (msg *MsgCertifyModel) GetSignBytes() []byte { func (msg *MsgCertifyModel) ValidateBasic() error { _, err := sdk.AccAddressFromBech32(msg.Signer) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid signer address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid signer address (%s)", err) } err = validator.Validate(msg) diff --git a/x/compliance/types/message_delete_compliance_info.go b/x/compliance/types/message_delete_compliance_info.go index c9ebd243a..daec2ec7d 100644 --- a/x/compliance/types/message_delete_compliance_info.go +++ b/x/compliance/types/message_delete_compliance_info.go @@ -1,6 +1,7 @@ package types import ( + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" @@ -46,7 +47,7 @@ func (msg *MsgDeleteComplianceInfo) GetSignBytes() []byte { func (msg *MsgDeleteComplianceInfo) ValidateBasic() error { _, err := sdk.AccAddressFromBech32(msg.Creator) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid signer address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid signer address (%s)", err) } err = validator.Validate(msg) diff --git a/x/compliance/types/message_provision_model.go b/x/compliance/types/message_provision_model.go index c2aa54fd9..b70dce026 100644 --- a/x/compliance/types/message_provision_model.go +++ b/x/compliance/types/message_provision_model.go @@ -3,6 +3,7 @@ package types import ( "time" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" @@ -69,7 +70,7 @@ func (msg *MsgProvisionModel) GetSignBytes() []byte { func (msg *MsgProvisionModel) ValidateBasic() error { _, err := sdk.AccAddressFromBech32(msg.Signer) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid signer address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid signer address (%s)", err) } err = validator.Validate(msg) diff --git a/x/compliance/types/message_revoke_model.go b/x/compliance/types/message_revoke_model.go index 08aee713f..7d984a4e4 100644 --- a/x/compliance/types/message_revoke_model.go +++ b/x/compliance/types/message_revoke_model.go @@ -3,6 +3,7 @@ package types import ( "time" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" @@ -55,7 +56,7 @@ func (msg *MsgRevokeModel) GetSignBytes() []byte { func (msg *MsgRevokeModel) ValidateBasic() error { _, err := sdk.AccAddressFromBech32(msg.Signer) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid signer address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid signer address (%s)", err) } err = validator.Validate(msg) diff --git a/x/compliance/types/message_update_compliance_info.go b/x/compliance/types/message_update_compliance_info.go index e6775fc88..9282f4b8f 100644 --- a/x/compliance/types/message_update_compliance_info.go +++ b/x/compliance/types/message_update_compliance_info.go @@ -4,8 +4,10 @@ import ( "strconv" "time" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" ) @@ -66,7 +68,7 @@ func (msg *MsgUpdateComplianceInfo) ValidateBasic() error { _, err := sdk.AccAddressFromBech32(msg.Creator) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) } err = validator.Validate(msg) @@ -91,7 +93,7 @@ func (msg *MsgUpdateComplianceInfo) ValidateBasic() error { } if cdVersionNumber > 65535 { - return sdkerrors.Wrap(validator.ErrFieldUpperBoundViolated, "CDVersionNumber must not be greater than 65535: field upper bound violatedError") + return errors.Wrap(validator.ErrFieldUpperBoundViolated, "CDVersionNumber must not be greater than 65535: field upper bound violatedError") } } diff --git a/x/dclauth/base/keeper/grpc_query_account.go b/x/dclauth/base/keeper/grpc_query_account.go index 2ea917bb6..595671ce6 100644 --- a/x/dclauth/base/keeper/grpc_query_account.go +++ b/x/dclauth/base/keeper/grpc_query_account.go @@ -77,37 +77,30 @@ func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types return &types.QueryParamsResponse{Params: params}, nil } -func (k Keeper) AccountAddressByID(ctx context.Context, request *types.QueryAccountAddressByIDRequest) (*types.QueryAccountAddressByIDResponse, error) { - //TODO implement me - panic("implement me") +func (k Keeper) AccountAddressByID(_ context.Context, _ *types.QueryAccountAddressByIDRequest) (resp *types.QueryAccountAddressByIDResponse, e error) { + return resp, nil } -func (k Keeper) ModuleAccounts(ctx context.Context, request *types.QueryModuleAccountsRequest) (*types.QueryModuleAccountsResponse, error) { - //TODO implement me - panic("implement me") +func (k Keeper) ModuleAccounts(_ context.Context, _ *types.QueryModuleAccountsRequest) (resp *types.QueryModuleAccountsResponse, e error) { + return resp, nil } -func (k Keeper) ModuleAccountByName(ctx context.Context, request *types.QueryModuleAccountByNameRequest) (*types.QueryModuleAccountByNameResponse, error) { - //TODO implement me - panic("implement me") +func (k Keeper) ModuleAccountByName(_ context.Context, _ *types.QueryModuleAccountByNameRequest) (resp *types.QueryModuleAccountByNameResponse, e error) { + return resp, nil } -func (k Keeper) Bech32Prefix(ctx context.Context, request *types.Bech32PrefixRequest) (*types.Bech32PrefixResponse, error) { - //TODO implement me - panic("implement me") +func (k Keeper) Bech32Prefix(_ context.Context, _ *types.Bech32PrefixRequest) (resp *types.Bech32PrefixResponse, e error) { + return resp, nil } -func (k Keeper) AddressBytesToString(ctx context.Context, request *types.AddressBytesToStringRequest) (*types.AddressBytesToStringResponse, error) { - //TODO implement me - panic("implement me") +func (k Keeper) AddressBytesToString(_ context.Context, _ *types.AddressBytesToStringRequest) (resp *types.AddressBytesToStringResponse, e error) { + return resp, nil } -func (k Keeper) AddressStringToBytes(ctx context.Context, request *types.AddressStringToBytesRequest) (*types.AddressStringToBytesResponse, error) { - //TODO implement me - panic("implement me") +func (k Keeper) AddressStringToBytes(_ context.Context, _ *types.AddressStringToBytesRequest) (resp *types.AddressStringToBytesResponse, e error) { + return resp, nil } -func (k Keeper) AccountInfo(ctx context.Context, request *types.QueryAccountInfoRequest) (*types.QueryAccountInfoResponse, error) { - //TODO implement me - panic("implement me") +func (k Keeper) AccountInfo(_ context.Context, _ *types.QueryAccountInfoRequest) (resp *types.QueryAccountInfoResponse, e error) { + return resp, nil } diff --git a/x/dclauth/handler.go b/x/dclauth/handler.go index 6fada94f2..49659eb3f 100644 --- a/x/dclauth/handler.go +++ b/x/dclauth/handler.go @@ -3,8 +3,10 @@ package dclauth import ( "fmt" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" ) @@ -41,7 +43,7 @@ func NewHandler(k keeper.Keeper) sdk.Handler { default: errMsg := fmt.Sprintf("unrecognized %s message type: %T", types.ModuleName, msg) - return nil, sdkerrors.Wrap(sdkerrors.ErrUnknownRequest, errMsg) + return nil, errors.Wrap(sdkerrors.ErrUnknownRequest, errMsg) } } } diff --git a/x/dclauth/keeper/account_stat_test.go b/x/dclauth/keeper/account_stat_test.go index 89b02326f..5e81f55e5 100644 --- a/x/dclauth/keeper/account_stat_test.go +++ b/x/dclauth/keeper/account_stat_test.go @@ -11,7 +11,7 @@ import ( "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" ) -func createTestAccountStat(keeper *keeper.Keeper, ctx sdk.Context) types.AccountStat { +func createTestAccountStat(keeper *keeper.Keeper, ctx sdk.Context) types.AccountStat { //nolint:unparam item := types.AccountStat{} keeper.SetAccountStat(ctx, item) diff --git a/x/dclauth/keeper/msg_server_approve_add_account.go b/x/dclauth/keeper/msg_server_approve_add_account.go index 01812e58f..2e815a2ac 100644 --- a/x/dclauth/keeper/msg_server_approve_add_account.go +++ b/x/dclauth/keeper/msg_server_approve_add_account.go @@ -3,6 +3,7 @@ package keeper import ( "context" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" @@ -16,12 +17,12 @@ func (k msgServer) ApproveAddAccount( signerAddr, err := sdk.AccAddressFromBech32(msg.Signer) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Signer: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Signer: (%s)", err) } // check if sender has enough rights to create a validator node if !k.HasRole(ctx, signerAddr, types.Trustee) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "MsgApproveAddAccount transaction should be signed by an account with the %s role", types.Trustee, ) @@ -29,7 +30,7 @@ func (k msgServer) ApproveAddAccount( accAddr, err := sdk.AccAddressFromBech32(msg.Address) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) } // check if pending account exists @@ -42,7 +43,7 @@ func (k msgServer) ApproveAddAccount( // check if pending account already has approval from signer if pendAcc.HasApprovalFrom(signerAddr) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "Pending account associated with the address=%v already has approval from=%v", msg.Address, msg.Signer, diff --git a/x/dclauth/keeper/msg_server_approve_revoke_account.go b/x/dclauth/keeper/msg_server_approve_revoke_account.go index 842141e3d..0e5755ad7 100644 --- a/x/dclauth/keeper/msg_server_approve_revoke_account.go +++ b/x/dclauth/keeper/msg_server_approve_revoke_account.go @@ -3,6 +3,7 @@ package keeper import ( "context" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" @@ -14,12 +15,12 @@ func (k msgServer) ApproveRevokeAccount(goCtx context.Context, msg *types.MsgApp signerAddr, err := sdk.AccAddressFromBech32(msg.Signer) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Signer: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Signer: (%s)", err) } // check that sender has enough rights to approve account revocation if !k.HasRole(ctx, signerAddr, types.Trustee) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "MsgApproveRevokeAccount transaction should be signed by an account with the %s role", types.Trustee, ) @@ -27,7 +28,7 @@ func (k msgServer) ApproveRevokeAccount(goCtx context.Context, msg *types.MsgApp accAddr, err := sdk.AccAddressFromBech32(msg.Address) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) } // check that pending account revocation exists @@ -40,7 +41,7 @@ func (k msgServer) ApproveRevokeAccount(goCtx context.Context, msg *types.MsgApp // check if pending account revocation already has approval from signer if revoc.HasRevocationFrom(signerAddr) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "Pending account revocation associated with the address=%v already has approval from=%v", msg.Address, msg.Signer, diff --git a/x/dclauth/keeper/msg_server_propose_add_account.go b/x/dclauth/keeper/msg_server_propose_add_account.go index b54a19a18..e94de1314 100644 --- a/x/dclauth/keeper/msg_server_propose_add_account.go +++ b/x/dclauth/keeper/msg_server_propose_add_account.go @@ -3,6 +3,7 @@ package keeper import ( "context" + "cosmossdk.io/errors" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" @@ -16,12 +17,12 @@ func (k msgServer) ProposeAddAccount(goCtx context.Context, msg *types.MsgPropos signerAddr, err := sdk.AccAddressFromBech32(msg.Signer) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Signer: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Signer: (%s)", err) } // check if sender has enough rights to create a validator node if !k.HasRole(ctx, signerAddr, types.Trustee) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "MsgProposeAddAccount transaction should be signed by an account with the %s role", types.Trustee, ) @@ -34,7 +35,7 @@ func (k msgServer) ProposeAddAccount(goCtx context.Context, msg *types.MsgPropos accAddr, err := sdk.AccAddressFromBech32(msg.Address) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) } // check if active account already exists. @@ -50,7 +51,7 @@ func (k msgServer) ProposeAddAccount(goCtx context.Context, msg *types.MsgPropos // parse the key. pk, ok := msg.PubKey.GetCachedValue().(cryptotypes.PubKey) if !ok { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidType, "Expecting cryptotypes.PubKey, got %T", pk) + return nil, errors.Wrapf(sdkerrors.ErrInvalidType, "Expecting cryptotypes.PubKey, got %T", pk) } ba := authtypes.NewBaseAccount(accAddr, pk, 0, 0) diff --git a/x/dclauth/keeper/msg_server_propose_revoke_account.go b/x/dclauth/keeper/msg_server_propose_revoke_account.go index 31c476606..34c0802a0 100644 --- a/x/dclauth/keeper/msg_server_propose_revoke_account.go +++ b/x/dclauth/keeper/msg_server_propose_revoke_account.go @@ -3,6 +3,7 @@ package keeper import ( "context" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" @@ -13,12 +14,12 @@ func (k msgServer) ProposeRevokeAccount(goCtx context.Context, msg *types.MsgPro signerAddr, err := sdk.AccAddressFromBech32(msg.Signer) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Signer: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Signer: (%s)", err) } // check that sender has enough rights to propose account revocation if !k.HasRole(ctx, signerAddr, types.Trustee) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "MsgProposeRevokeAccount transaction should be signed by an account with the %s role", types.Trustee, ) @@ -26,7 +27,7 @@ func (k msgServer) ProposeRevokeAccount(goCtx context.Context, msg *types.MsgPro accAddr, err := sdk.AccAddressFromBech32(msg.Address) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) } // check that account exists diff --git a/x/dclauth/keeper/msg_server_reject_add_account.go b/x/dclauth/keeper/msg_server_reject_add_account.go index 94ecb840e..8315575b2 100644 --- a/x/dclauth/keeper/msg_server_reject_add_account.go +++ b/x/dclauth/keeper/msg_server_reject_add_account.go @@ -3,6 +3,7 @@ package keeper import ( "context" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" @@ -15,12 +16,12 @@ func (k msgServer) RejectAddAccount( signerAddr, err := sdk.AccAddressFromBech32(msg.Signer) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Signer: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Signer: (%s)", err) } // check if sendor has enough rights to reject a validator node if !k.HasRole(ctx, signerAddr, types.Trustee) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "MsgRejectAccount transaction should be signed by an account with the %s role", types.Trustee, ) @@ -28,7 +29,7 @@ func (k msgServer) RejectAddAccount( accAddr, err := sdk.AccAddressFromBech32(msg.Address) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) } // check if pending account exists @@ -41,7 +42,7 @@ func (k msgServer) RejectAddAccount( // check if pending account already has reject approval from signer if pendAcc.HasRejectApprovalFrom(signerAddr) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "Pending account associated with the address=%v already has reject from=%v", msg.Address, msg.Signer, diff --git a/x/dclauth/types/account.go b/x/dclauth/types/account.go index 2ee1693a8..a63eefc92 100644 --- a/x/dclauth/types/account.go +++ b/x/dclauth/types/account.go @@ -17,6 +17,7 @@ package types import ( "encoding/json" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" @@ -47,7 +48,7 @@ func (role AccountRole) Validate() error { } } - return sdkerrors.Wrapf(sdkerrors.ErrUnknownRequest, "Invalid Account Role: %v. Supported roles: [%v]", role, Roles) + return errors.Wrapf(sdkerrors.ErrUnknownRequest, "Invalid Account Role: %v. Supported roles: [%v]", role, Roles) } /* @@ -251,7 +252,7 @@ func (revoc PendingAccountRevocation) String() string { // Validate checks for errors on the vesting and module account parameters. func (revoc PendingAccountRevocation) Validate() error { if revoc.Address == "" { - return sdkerrors.Wrapf(sdkerrors.ErrUnknownRequest, + return errors.Wrapf(sdkerrors.ErrUnknownRequest, "Invalid Pending Account Revocation: Value: %s. Error: Missing Address", revoc.Address, ) } diff --git a/x/dclauth/types/message_approve_add_account.go b/x/dclauth/types/message_approve_add_account.go index 6316579be..0a6bb391a 100644 --- a/x/dclauth/types/message_approve_add_account.go +++ b/x/dclauth/types/message_approve_add_account.go @@ -3,6 +3,7 @@ package types import ( "time" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" @@ -46,21 +47,21 @@ func (msg *MsgApproveAddAccount) GetSignBytes() []byte { func (msg *MsgApproveAddAccount) ValidateBasic() error { if msg.Address == "" { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Account Address: it cannot be empty") + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Account Address: it cannot be empty") } _, err := sdk.AccAddressFromBech32(msg.Address) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid Account Address: (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid Account Address: (%s)", err) } if msg.Signer == "" { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Signer: it cannot be empty") + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Signer: it cannot be empty") } _, err = sdk.AccAddressFromBech32(msg.Signer) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid Signer: (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid Signer: (%s)", err) } err = validator.Validate(msg) diff --git a/x/dclauth/types/message_approve_revoke_account.go b/x/dclauth/types/message_approve_revoke_account.go index 47a01edee..8ba9b6d47 100644 --- a/x/dclauth/types/message_approve_revoke_account.go +++ b/x/dclauth/types/message_approve_revoke_account.go @@ -3,6 +3,7 @@ package types import ( "time" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" @@ -46,21 +47,21 @@ func (msg *MsgApproveRevokeAccount) GetSignBytes() []byte { func (msg *MsgApproveRevokeAccount) ValidateBasic() error { if msg.Address == "" { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Account Address: it cannot be empty") + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Account Address: it cannot be empty") } _, err := sdk.AccAddressFromBech32(msg.Address) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid Account Address: (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid Account Address: (%s)", err) } if msg.Signer == "" { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Signer: it cannot be empty") + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Signer: it cannot be empty") } _, err = sdk.AccAddressFromBech32(msg.Signer) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid Signer: (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid Signer: (%s)", err) } err = validator.Validate(msg) diff --git a/x/dclauth/types/message_propose_add_account.go b/x/dclauth/types/message_propose_add_account.go index 46f754d1d..328c27d61 100644 --- a/x/dclauth/types/message_propose_add_account.go +++ b/x/dclauth/types/message_propose_add_account.go @@ -5,10 +5,12 @@ import ( "fmt" "time" + "cosmossdk.io/errors" codectypes "github.com/cosmos/cosmos-sdk/codec/types" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" "github.com/zigbee-alliance/distributed-compliance-ledger/x/common/types" ) @@ -97,34 +99,34 @@ func (msg *MsgProposeAddAccount) GetSignBytes() []byte { func (msg *MsgProposeAddAccount) ValidateBasic() error { if msg.Address == "" { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Account Address: it cannot be empty") + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Account Address: it cannot be empty") } accAddr, err := sdk.AccAddressFromBech32(msg.Address) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Account Address: (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Account Address: (%s)", err) } if msg.Signer == "" { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Signer: it cannot be empty") + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Signer: it cannot be empty") } _, err = sdk.AccAddressFromBech32(msg.Signer) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Signer: (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Signer: (%s)", err) } if msg.PubKey == nil { - return sdkerrors.Wrapf(sdkerrors.ErrUnknownRequest, "Invalid PublicKey: it cannot be empty") + return errors.Wrapf(sdkerrors.ErrUnknownRequest, "Invalid PublicKey: it cannot be empty") } pk, err2 := msg.PubKey.GetCachedValue().(cryptotypes.PubKey) if !err2 { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidType, "expecting cryptotypes.PubKey for PubKey, got %T", err) + return errors.Wrapf(sdkerrors.ErrInvalidType, "expecting cryptotypes.PubKey for PubKey, got %T", err) } if !bytes.Equal(pk.Address().Bytes(), accAddr.Bytes()) { - return sdkerrors.Wrapf(sdkerrors.ErrUnknownRequest, "account address and pubkey address do not match") + return errors.Wrapf(sdkerrors.ErrUnknownRequest, "account address and pubkey address do not match") } if len(msg.Roles) == 0 { @@ -144,7 +146,7 @@ func (msg *MsgProposeAddAccount) ValidateBasic() error { err = msg.HasValidProductIDs() if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidRequest, "Invalid ProductID ranges are provided: %s", err) + return errors.Wrapf(sdkerrors.ErrInvalidRequest, "Invalid ProductID ranges are provided: %s", err) } err = validator.Validate(msg) diff --git a/x/dclauth/types/message_propose_add_account_test.go b/x/dclauth/types/message_propose_add_account_test.go index 296426ebd..d2db8d83f 100644 --- a/x/dclauth/types/message_propose_add_account_test.go +++ b/x/dclauth/types/message_propose_add_account_test.go @@ -5,6 +5,7 @@ import ( fmt "fmt" "testing" + "cosmossdk.io/errors" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" @@ -90,7 +91,7 @@ func TestValidateMsgProposeAddAccount(t *testing.T) { valid: false, msg: NewMsgProposeAddAccountWrapper(t, testconstants.Signer, testconstants.Address1, testconstants.PubKey1, AccountRoles{}, 1, testconstants.ProductIDsEmpty), // no roles provided - err: sdkerrors.Wrapf(MissingRoles, + err: errors.Wrapf(MissingRoles, "No roles provided"), }, // zero VID with Vendor role - error - can not create Vendor with vid=0 (reserved) @@ -98,7 +99,7 @@ func TestValidateMsgProposeAddAccount(t *testing.T) { valid: false, msg: NewMsgProposeAddAccountWrapper(t, testconstants.Signer, testconstants.Address1, testconstants.PubKey1, AccountRoles{Vendor, NodeAdmin}, 0, testconstants.ProductIDsEmpty), - err: sdkerrors.Wrapf(MissingVendorIDForVendorAccount, + err: errors.Wrapf(MissingVendorIDForVendorAccount, "No Vendor ID is provided in the Vendor Role for the new account"), }, // negative VID - error @@ -106,7 +107,7 @@ func TestValidateMsgProposeAddAccount(t *testing.T) { valid: false, msg: NewMsgProposeAddAccountWrapper(t, testconstants.Signer, testconstants.Address1, testconstants.PubKey1, AccountRoles{Vendor, NodeAdmin}, -1, testconstants.ProductIDsEmpty), - err: sdkerrors.Wrapf(MissingVendorIDForVendorAccount, + err: errors.Wrapf(MissingVendorIDForVendorAccount, "No Vendor ID is provided in the Vendor Role for the new account"), }, // too large VID - error diff --git a/x/dclauth/types/message_propose_revoke_account.go b/x/dclauth/types/message_propose_revoke_account.go index 1e2fefa5e..c4f1673f8 100644 --- a/x/dclauth/types/message_propose_revoke_account.go +++ b/x/dclauth/types/message_propose_revoke_account.go @@ -3,6 +3,7 @@ package types import ( "time" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" @@ -46,21 +47,21 @@ func (msg *MsgProposeRevokeAccount) GetSignBytes() []byte { func (msg *MsgProposeRevokeAccount) ValidateBasic() error { if msg.Address == "" { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Account Address: it cannot be empty") + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Account Address: it cannot be empty") } _, err := sdk.AccAddressFromBech32(msg.Address) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Account Address: (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Account Address: (%s)", err) } if msg.Signer == "" { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Signer: it cannot be empty") + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Signer: it cannot be empty") } _, err = sdk.AccAddressFromBech32(msg.Signer) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Signer: (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Signer: (%s)", err) } err = validator.Validate(msg) diff --git a/x/dclauth/types/message_reject_add_account.go b/x/dclauth/types/message_reject_add_account.go index 90035c9a3..a1874ed1c 100644 --- a/x/dclauth/types/message_reject_add_account.go +++ b/x/dclauth/types/message_reject_add_account.go @@ -3,6 +3,7 @@ package types import ( "time" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ) @@ -46,7 +47,7 @@ func (msg *MsgRejectAddAccount) GetSignBytes() []byte { func (msg *MsgRejectAddAccount) ValidateBasic() error { _, err := sdk.AccAddressFromBech32(msg.Signer) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid signer address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid signer address (%s)", err) } return nil diff --git a/x/dclupgrade/handler.go b/x/dclupgrade/handler.go index 679c4efbb..fd5b62674 100644 --- a/x/dclupgrade/handler.go +++ b/x/dclupgrade/handler.go @@ -3,6 +3,7 @@ package dclupgrade import ( "fmt" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclupgrade/keeper" @@ -33,7 +34,7 @@ func NewHandler(k keeper.Keeper) sdk.Handler { default: errMsg := fmt.Sprintf("unrecognized %s message type: %T", types.ModuleName, msg) - return nil, sdkerrors.Wrap(sdkerrors.ErrUnknownRequest, errMsg) + return nil, errors.Wrap(sdkerrors.ErrUnknownRequest, errMsg) } } } diff --git a/x/dclupgrade/keeper/msg_server_approve_upgrade.go b/x/dclupgrade/keeper/msg_server_approve_upgrade.go index 14d74c997..74ea5f618 100644 --- a/x/dclupgrade/keeper/msg_server_approve_upgrade.go +++ b/x/dclupgrade/keeper/msg_server_approve_upgrade.go @@ -3,6 +3,7 @@ package keeper import ( "context" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclupgrade/types" @@ -13,12 +14,12 @@ func (k msgServer) ApproveUpgrade(goCtx context.Context, msg *types.MsgApproveUp creatorAddr, err := sdk.AccAddressFromBech32(msg.Creator) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) } // check if message creator has enough rights to approve upgrade if !k.dclauthKeeper.HasRole(ctx, creatorAddr, types.UpgradeApprovalRole) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "MsgApproveUpgrade transaction should be signed by an account with the %s role", types.UpgradeApprovalRole, ) @@ -32,7 +33,7 @@ func (k msgServer) ApproveUpgrade(goCtx context.Context, msg *types.MsgApproveUp // check if proposed upgrade already has approval form message creator if proposedUpgrade.HasApprovalFrom(creatorAddr) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "Proposed upgrade with name=%v already has approval from=%v", msg.Name, msg.Creator, ) diff --git a/x/dclupgrade/keeper/msg_server_propose_upgrade.go b/x/dclupgrade/keeper/msg_server_propose_upgrade.go index 65d7ff58a..64cee40b2 100644 --- a/x/dclupgrade/keeper/msg_server_propose_upgrade.go +++ b/x/dclupgrade/keeper/msg_server_propose_upgrade.go @@ -3,6 +3,7 @@ package keeper import ( "context" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclupgrade/types" @@ -13,12 +14,12 @@ func (k msgServer) ProposeUpgrade(goCtx context.Context, msg *types.MsgProposeUp creatorAddr, err := sdk.AccAddressFromBech32(msg.Creator) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) } // check if message creator has enough rights to propose upgrade if !k.dclauthKeeper.HasRole(ctx, creatorAddr, types.UpgradeApprovalRole) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "MsgProposeUpgrade transaction should be signed by an account with the %s role", types.UpgradeApprovalRole, ) diff --git a/x/dclupgrade/keeper/msg_server_reject_upgrade.go b/x/dclupgrade/keeper/msg_server_reject_upgrade.go index 3bfda0bad..b67d36b24 100644 --- a/x/dclupgrade/keeper/msg_server_reject_upgrade.go +++ b/x/dclupgrade/keeper/msg_server_reject_upgrade.go @@ -3,6 +3,7 @@ package keeper import ( "context" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclupgrade/types" @@ -13,12 +14,12 @@ func (k msgServer) RejectUpgrade(goCtx context.Context, msg *types.MsgRejectUpgr creatorAddr, err := sdk.AccAddressFromBech32(msg.Creator) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) } // check if message creator has enough rights to reject upgrade if !k.dclauthKeeper.HasRole(ctx, creatorAddr, types.UpgradeApprovalRole) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "MsgApproveUpgrade transaction should be signed by an account with the %s role", types.UpgradeApprovalRole, ) @@ -32,7 +33,7 @@ func (k msgServer) RejectUpgrade(goCtx context.Context, msg *types.MsgRejectUpgr // check if proposed upgrade already has reject from message creator if proposedUpgrade.HasRejectFrom(creatorAddr) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "Proposed upgrade with name=%v already has reject from=%v", msg.Name, msg.Creator, ) diff --git a/x/dclupgrade/module_simulation.go b/x/dclupgrade/module_simulation.go index bb185f1f1..d15d1c771 100644 --- a/x/dclupgrade/module_simulation.go +++ b/x/dclupgrade/module_simulation.go @@ -50,7 +50,7 @@ func (AppModule) GenerateGenesisState(simState *module.SimulationState) { } // ProposalContents doesn't return any content functions for governance proposals. -func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalContent { +func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalContent { //nolint:staticcheck return nil } diff --git a/x/dclupgrade/simulation/approve_upgrade.go b/x/dclupgrade/simulation/approve_upgrade.go index d7f711448..4668b7472 100644 --- a/x/dclupgrade/simulation/approve_upgrade.go +++ b/x/dclupgrade/simulation/approve_upgrade.go @@ -10,7 +10,7 @@ import ( "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclupgrade/types" ) -func SimulateMsgApproveUpgrade(k keeper.Keeper) simtypes.Operation { +func SimulateMsgApproveUpgrade(_ keeper.Keeper) simtypes.Operation { return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { simAccount, _ := simtypes.RandomAcc(r, accs) diff --git a/x/dclupgrade/simulation/propose_upgrade.go b/x/dclupgrade/simulation/propose_upgrade.go index ba6342911..bc05fab0d 100644 --- a/x/dclupgrade/simulation/propose_upgrade.go +++ b/x/dclupgrade/simulation/propose_upgrade.go @@ -10,7 +10,7 @@ import ( "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclupgrade/types" ) -func SimulateMsgProposeUpgrade(k keeper.Keeper) simtypes.Operation { +func SimulateMsgProposeUpgrade(_ keeper.Keeper) simtypes.Operation { return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { simAccount, _ := simtypes.RandomAcc(r, accs) diff --git a/x/dclupgrade/simulation/reject_upgrade.go b/x/dclupgrade/simulation/reject_upgrade.go index 5c047f28c..6c87f92b9 100644 --- a/x/dclupgrade/simulation/reject_upgrade.go +++ b/x/dclupgrade/simulation/reject_upgrade.go @@ -11,7 +11,7 @@ import ( ) func SimulateMsgRejectUpgrade( - k keeper.Keeper, + _ keeper.Keeper, ) simtypes.Operation { return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { diff --git a/x/dclupgrade/types/message_approve_upgrade.go b/x/dclupgrade/types/message_approve_upgrade.go index 6e22ab25b..f0ad4d34f 100644 --- a/x/dclupgrade/types/message_approve_upgrade.go +++ b/x/dclupgrade/types/message_approve_upgrade.go @@ -3,6 +3,7 @@ package types import ( "time" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" @@ -47,7 +48,7 @@ func (msg *MsgApproveUpgrade) GetSignBytes() []byte { func (msg *MsgApproveUpgrade) ValidateBasic() error { _, err := sdk.AccAddressFromBech32(msg.Creator) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) } err = validator.Validate(msg) diff --git a/x/dclupgrade/types/message_propose_upgrade.go b/x/dclupgrade/types/message_propose_upgrade.go index 313241779..c434db726 100644 --- a/x/dclupgrade/types/message_propose_upgrade.go +++ b/x/dclupgrade/types/message_propose_upgrade.go @@ -3,6 +3,7 @@ package types import ( "time" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" @@ -47,7 +48,7 @@ func (msg *MsgProposeUpgrade) GetSignBytes() []byte { func (msg *MsgProposeUpgrade) ValidateBasic() error { _, err := sdk.AccAddressFromBech32(msg.Creator) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) } err = validator.Validate(msg) diff --git a/x/dclupgrade/types/message_reject_upgrade.go b/x/dclupgrade/types/message_reject_upgrade.go index e004f17d9..a162bf258 100644 --- a/x/dclupgrade/types/message_reject_upgrade.go +++ b/x/dclupgrade/types/message_reject_upgrade.go @@ -3,6 +3,7 @@ package types import ( "time" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ) @@ -46,7 +47,7 @@ func (msg *MsgRejectUpgrade) GetSignBytes() []byte { func (msg *MsgRejectUpgrade) ValidateBasic() error { _, err := sdk.AccAddressFromBech32(msg.Creator) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) } return nil diff --git a/x/model/handler.go b/x/model/handler.go index 4c0ad4a9a..8759f074a 100644 --- a/x/model/handler.go +++ b/x/model/handler.go @@ -3,6 +3,7 @@ package model import ( "fmt" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/keeper" @@ -45,7 +46,7 @@ func NewHandler(k keeper.Keeper) sdk.Handler { default: errMsg := fmt.Sprintf("unrecognized %s message type: %T", types.ModuleName, msg) - return nil, sdkerrors.Wrap(sdkerrors.ErrUnknownRequest, errMsg) + return nil, errors.Wrap(sdkerrors.ErrUnknownRequest, errMsg) } } } diff --git a/x/model/keeper/check_model_rights.go b/x/model/keeper/check_model_rights.go index dd09839d1..00baf4ac0 100644 --- a/x/model/keeper/check_model_rights.go +++ b/x/model/keeper/check_model_rights.go @@ -1,6 +1,7 @@ package keeper import ( + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" dclauthtypes "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types" @@ -9,17 +10,17 @@ import ( func checkModelRights(ctx sdk.Context, k Keeper, signer sdk.AccAddress, vid int32, pid int32, message string) error { // sender must have Vendor role to add new model if !k.dclauthKeeper.HasRole(ctx, signer, dclauthtypes.Vendor) { - return sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, "%s transaction should be "+ + return errors.Wrapf(sdkerrors.ErrUnauthorized, "%s transaction should be "+ "signed by an account with the %s role", message, dclauthtypes.Vendor) } if !k.dclauthKeeper.HasVendorID(ctx, signer, vid) { - return sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, "%s transaction should be "+ + return errors.Wrapf(sdkerrors.ErrUnauthorized, "%s transaction should be "+ "signed by a vendor account containing the vendorID %v ", message, vid) } if !k.dclauthKeeper.HasRightsToChange(ctx, signer, pid) { - return sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, "%s transaction should be "+ + return errors.Wrapf(sdkerrors.ErrUnauthorized, "%s transaction should be "+ "signed by a vendor account who has rights to modify the productID %v ", message, pid) } diff --git a/x/model/keeper/msg_server_model.go b/x/model/keeper/msg_server_model.go index 550d6acd0..849c89a98 100644 --- a/x/model/keeper/msg_server_model.go +++ b/x/model/keeper/msg_server_model.go @@ -3,6 +3,7 @@ package keeper import ( "context" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/types" @@ -14,7 +15,7 @@ func (k msgServer) CreateModel(goCtx context.Context, msg *types.MsgCreateModel) // check if signer has enough rights to create model signerAddr, err := sdk.AccAddressFromBech32(msg.Creator) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) } if err := checkModelRights(ctx, k.Keeper, signerAddr, msg.Vid, msg.Pid, "MsgCreateModel"); err != nil { return nil, err @@ -77,7 +78,7 @@ func (k msgServer) UpdateModel(goCtx context.Context, msg *types.MsgUpdateModel) // check if signer has enough rights to update model signerAddr, err := sdk.AccAddressFromBech32(msg.Creator) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) } if err := checkModelRights(ctx, k.Keeper, signerAddr, msg.Vid, msg.Pid, "MsgUpdateModel"); err != nil { return nil, err @@ -169,7 +170,7 @@ func (k msgServer) DeleteModel(goCtx context.Context, msg *types.MsgDeleteModel) // check if signer has enough rights to delete model signerAddr, err := sdk.AccAddressFromBech32(msg.Creator) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) } if err := checkModelRights(ctx, k.Keeper, signerAddr, msg.Vid, msg.Pid, "MsgDeleteModel"); err != nil { diff --git a/x/model/keeper/msg_server_model_version.go b/x/model/keeper/msg_server_model_version.go index 0fdca5469..4f7d819b5 100644 --- a/x/model/keeper/msg_server_model_version.go +++ b/x/model/keeper/msg_server_model_version.go @@ -3,6 +3,7 @@ package keeper import ( "context" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" @@ -16,7 +17,7 @@ func (k msgServer) CreateModelVersion(goCtx context.Context, msg *types.MsgCreat // check signer has enough rights to create model version signerAddr, err := sdk.AccAddressFromBech32(msg.Creator) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) } if err := checkModelRights(ctx, k.Keeper, signerAddr, msg.Vid, msg.Pid, "MsgCreateModelVersion"); err != nil { return nil, err @@ -79,7 +80,7 @@ func (k msgServer) UpdateModelVersion(goCtx context.Context, msg *types.MsgUpdat // check signer has enough rights to update model version signerAddr, err := sdk.AccAddressFromBech32(msg.Creator) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) } if err := checkModelRights(ctx, k.Keeper, signerAddr, msg.Vid, msg.Pid, "MsgUpdateModelVersion"); err != nil { return nil, err @@ -146,7 +147,7 @@ func (k msgServer) DeleteModelVersion(goCtx context.Context, msg *types.MsgDelet // check signer has enough rights to delete model version signerAddr, err := sdk.AccAddressFromBech32(msg.Creator) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) } if err := checkModelRights(ctx, k.Keeper, signerAddr, msg.Vid, msg.Pid, "MsgDeleteModelVersion"); err != nil { return nil, err diff --git a/x/model/types/codec.go b/x/model/types/codec.go index 96a4d1014..728482c22 100644 --- a/x/model/types/codec.go +++ b/x/model/types/codec.go @@ -30,7 +30,7 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { ) // this line is used by starport scaffolding # 3 - msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) + msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) //nolint:nosnakecase } var ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) diff --git a/x/model/types/messages_model_version.go b/x/model/types/messages_model_version.go index cbc455e24..d7a88cd08 100644 --- a/x/model/types/messages_model_version.go +++ b/x/model/types/messages_model_version.go @@ -1,6 +1,7 @@ package types import ( + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" @@ -76,7 +77,7 @@ func (msg *MsgCreateModelVersion) GetSignBytes() []byte { func (msg *MsgCreateModelVersion) ValidateBasic() error { _, err := sdk.AccAddressFromBech32(msg.Creator) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) } err = validator.Validate(msg) @@ -143,7 +144,7 @@ func (msg *MsgUpdateModelVersion) GetSignBytes() []byte { func (msg *MsgUpdateModelVersion) ValidateBasic() error { _, err := sdk.AccAddressFromBech32(msg.Creator) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) } err = validator.Validate(msg) @@ -191,7 +192,7 @@ func (msg *MsgDeleteModelVersion) GetSignBytes() []byte { func (msg *MsgDeleteModelVersion) ValidateBasic() error { _, err := sdk.AccAddressFromBech32(msg.Creator) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) } err = validator.Validate(msg) diff --git a/x/pki/handler.go b/x/pki/handler.go index 7ef7098b5..e2e62825b 100644 --- a/x/pki/handler.go +++ b/x/pki/handler.go @@ -3,10 +3,11 @@ package pki import ( "fmt" - pkitypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/pki" - + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + + pkitypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/pki" "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types" ) @@ -67,7 +68,7 @@ func NewHandler(k keeper.Keeper) sdk.Handler { default: errMsg := fmt.Sprintf("unrecognized %s message type: %T", pkitypes.ModuleName, msg) - return nil, sdkerrors.Wrap(sdkerrors.ErrUnknownRequest, errMsg) + return nil, errors.Wrap(sdkerrors.ErrUnknownRequest, errMsg) } } } diff --git a/x/pki/handler_update_revocation_test.go b/x/pki/handler_update_revocation_test.go index efb28c739..5ffa77ce8 100644 --- a/x/pki/handler_update_revocation_test.go +++ b/x/pki/handler_update_revocation_test.go @@ -585,6 +585,7 @@ func TestHandler_UpdatePkiRevocationDistributionPoint_PAI_VIDPID(t *testing.T) { } func compareUpdatedStringFields(t *testing.T, oldValue string, newValue string, updatedValue string) { + t.Helper() if newValue == "" { require.Equal(t, oldValue, updatedValue) } else { @@ -593,6 +594,7 @@ func compareUpdatedStringFields(t *testing.T, oldValue string, newValue string, } func compareUpdatedIntFields(t *testing.T, oldValue int, newValue int, updatedValue int) { + t.Helper() if newValue == 0 { require.Equal(t, oldValue, updatedValue) } else { diff --git a/x/pki/keeper/approved_root_certificates_test.go b/x/pki/keeper/approved_root_certificates_test.go index 159ee7962..7fa301ffa 100644 --- a/x/pki/keeper/approved_root_certificates_test.go +++ b/x/pki/keeper/approved_root_certificates_test.go @@ -11,7 +11,7 @@ import ( "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types" ) -func createTestApprovedRootCertificates(keeper *keeper.Keeper, ctx sdk.Context) types.ApprovedRootCertificates { +func createTestApprovedRootCertificates(keeper *keeper.Keeper, ctx sdk.Context) types.ApprovedRootCertificates { //nolint:unparam item := types.ApprovedRootCertificates{} keeper.SetApprovedRootCertificates(ctx, item) diff --git a/x/pki/keeper/msg_server_approve_add_x_509_root_cert.go b/x/pki/keeper/msg_server_approve_add_x_509_root_cert.go index 346bf8389..fc574813f 100644 --- a/x/pki/keeper/msg_server_approve_add_x_509_root_cert.go +++ b/x/pki/keeper/msg_server_approve_add_x_509_root_cert.go @@ -3,6 +3,7 @@ package keeper import ( "context" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" pkitypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/pki" @@ -14,12 +15,12 @@ func (k msgServer) ApproveAddX509RootCert(goCtx context.Context, msg *types.MsgA signerAddr, err := sdk.AccAddressFromBech32(msg.Signer) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) } // check if signer has root certificate approval role if !k.dclauthKeeper.HasRole(ctx, signerAddr, types.RootCertificateApprovalRole) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "MsgApproveAddX509RootCert transaction should be signed by an account with the \"%s\" role", types.RootCertificateApprovalRole, ) @@ -33,7 +34,7 @@ func (k msgServer) ApproveAddX509RootCert(goCtx context.Context, msg *types.MsgA // check if proposed certificate already has approval form signer if proposedCertificate.HasApprovalFrom(signerAddr.String()) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "Certificate associated with subject=%v and subjectKeyID=%v combination "+ "already has approval from=%v", msg.Subject, msg.SubjectKeyId, msg.Signer, diff --git a/x/pki/keeper/msg_server_approve_revoke_x_509_root_cert.go b/x/pki/keeper/msg_server_approve_revoke_x_509_root_cert.go index 6f757ba61..c2b0e73ef 100644 --- a/x/pki/keeper/msg_server_approve_revoke_x_509_root_cert.go +++ b/x/pki/keeper/msg_server_approve_revoke_x_509_root_cert.go @@ -3,6 +3,7 @@ package keeper import ( "context" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" pkitypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/pki" @@ -15,10 +16,10 @@ func (k msgServer) ApproveRevokeX509RootCert(goCtx context.Context, msg *types.M // check if signer has root certificate approval role signerAddr, err := sdk.AccAddressFromBech32(msg.Signer) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) } if !k.dclauthKeeper.HasRole(ctx, signerAddr, types.RootCertificateApprovalRole) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "MsgApproveRevokeX509RootCert transaction should be signed by "+ "an account with the \"%s\" role", types.RootCertificateApprovalRole, @@ -33,7 +34,7 @@ func (k msgServer) ApproveRevokeX509RootCert(goCtx context.Context, msg *types.M // check if proposed certificate revocation already has approval form signer if revocation.HasApprovalFrom(signerAddr.String()) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "Certificate revocation associated with subject=%v and subjectKeyID=%v combination "+ "already has approval from=%v", msg.Subject, msg.SubjectKeyId, msg.Signer, diff --git a/x/pki/keeper/msg_server_assign_vid.go b/x/pki/keeper/msg_server_assign_vid.go index baada16b4..ec7080b8a 100644 --- a/x/pki/keeper/msg_server_assign_vid.go +++ b/x/pki/keeper/msg_server_assign_vid.go @@ -4,6 +4,7 @@ import ( "context" "fmt" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" pkitypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/pki" @@ -17,12 +18,12 @@ func (k msgServer) AssignVid(goCtx context.Context, msg *types.MsgAssignVid) (*t signerAddr, err := sdk.AccAddressFromBech32(msg.Signer) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) } // check if signer has vendor admin role if !k.dclauthKeeper.HasRole(ctx, signerAddr, dclauthtypes.VendorAdmin) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "AssignVid transaction should be signed by an account with the \"%s\" role", dclauthtypes.VendorAdmin, ) } diff --git a/x/pki/keeper/msg_server_propose_add_x_509_root_cert.go b/x/pki/keeper/msg_server_propose_add_x_509_root_cert.go index 62a9f4e55..3da478827 100644 --- a/x/pki/keeper/msg_server_propose_add_x_509_root_cert.go +++ b/x/pki/keeper/msg_server_propose_add_x_509_root_cert.go @@ -3,6 +3,7 @@ package keeper import ( "context" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" pkitypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/pki" @@ -15,12 +16,12 @@ func (k msgServer) ProposeAddX509RootCert(goCtx context.Context, msg *types.MsgP signerAddr, err := sdk.AccAddressFromBech32(msg.Signer) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) } // check if sender has enough rights to propose a x509 root cert if !k.dclauthKeeper.HasRole(ctx, signerAddr, types.RootCertificateApprovalRole) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "MsgProposeAddX509RootCert transaction should be signed by an account with the %s role", types.RootCertificateApprovalRole, ) @@ -62,7 +63,7 @@ func (k msgServer) ProposeAddX509RootCert(goCtx context.Context, msg *types.MsgP // subjectKeyID. Since new certificate is self-signed, we have to ensure that the exisiting certificates are // self-signed too, consequently are root certificates. if !existingCertificates.Certs[0].IsRoot { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "Issuer and authorityKeyID of new certificate with subject=%v and subjectKeyID=%v "+ "must be the same as ones of existing certificates with the same subject and subjectKeyID", x509Certificate.Subject, x509Certificate.SubjectKeyID) @@ -70,7 +71,7 @@ func (k msgServer) ProposeAddX509RootCert(goCtx context.Context, msg *types.MsgP // signer must be same as owner of existing certificates if msg.Signer != existingCertificates.Certs[0].Owner { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "Only owner of existing certificates with subject=%v and subjectKeyID=%v "+ "can add new certificate with the same subject and subjectKeyID", x509Certificate.Subject, x509Certificate.SubjectKeyID) diff --git a/x/pki/keeper/msg_server_propose_revoke_x_509_root_cert.go b/x/pki/keeper/msg_server_propose_revoke_x_509_root_cert.go index 105b834c5..4e64ae250 100644 --- a/x/pki/keeper/msg_server_propose_revoke_x_509_root_cert.go +++ b/x/pki/keeper/msg_server_propose_revoke_x_509_root_cert.go @@ -4,6 +4,7 @@ import ( "context" "fmt" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" pkitypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/pki" @@ -16,10 +17,10 @@ func (k msgServer) ProposeRevokeX509RootCert(goCtx context.Context, msg *types.M // check if signer has root certificate approval role signerAddr, err := sdk.AccAddressFromBech32(msg.Signer) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) } if !k.dclauthKeeper.HasRole(ctx, signerAddr, types.RootCertificateApprovalRole) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "MsgProposeRevokeX509RootCert transaction should be signed by "+ "an account with the \"%s\" role", types.RootCertificateApprovalRole, diff --git a/x/pki/keeper/msg_server_reject_add_x_509_root_cert.go b/x/pki/keeper/msg_server_reject_add_x_509_root_cert.go index 3377a4f3f..762c18c07 100644 --- a/x/pki/keeper/msg_server_reject_add_x_509_root_cert.go +++ b/x/pki/keeper/msg_server_reject_add_x_509_root_cert.go @@ -3,6 +3,7 @@ package keeper import ( "context" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" pkitypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/pki" @@ -14,12 +15,12 @@ func (k msgServer) RejectAddX509RootCert(goCtx context.Context, msg *types.MsgRe signerAddr, err := sdk.AccAddressFromBech32(msg.Signer) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) } // check if signer has root certificate approval role if !k.dclauthKeeper.HasRole(ctx, signerAddr, types.RootCertificateApprovalRole) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "MsgApproveAddX509RootCert transaction should be signed by an account with the \"%s\" role", types.RootCertificateApprovalRole, ) @@ -33,7 +34,7 @@ func (k msgServer) RejectAddX509RootCert(goCtx context.Context, msg *types.MsgRe // check if proposed certificate already has reject approval form signer if proposedCertificate.HasRejectFrom(signerAddr.String()) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "Certificate associated with subject=%v and subjectKeyID=%v combination "+ "already has reject approval from=%v", msg.Subject, msg.SubjectKeyId, msg.Signer, diff --git a/x/pki/keeper/msg_server_revoke_x_509_cert.go b/x/pki/keeper/msg_server_revoke_x_509_cert.go index 7dd41ba40..65f692eda 100644 --- a/x/pki/keeper/msg_server_revoke_x_509_cert.go +++ b/x/pki/keeper/msg_server_revoke_x_509_cert.go @@ -4,6 +4,7 @@ import ( "context" "fmt" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" pkitypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/pki" @@ -27,7 +28,7 @@ func (k msgServer) RevokeX509Cert(goCtx context.Context, msg *types.MsgRevokeX50 } if msg.Signer != certificates.Certs[0].Owner { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "Only owner can revoke certificate using `REVOKE_X509_CERT`", ) } diff --git a/x/pki/keeper/revoked_root_certificates_test.go b/x/pki/keeper/revoked_root_certificates_test.go index 719d28ea4..653c25676 100644 --- a/x/pki/keeper/revoked_root_certificates_test.go +++ b/x/pki/keeper/revoked_root_certificates_test.go @@ -11,7 +11,7 @@ import ( "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types" ) -func createTestRevokedRootCertificates(keeper *keeper.Keeper, ctx sdk.Context) types.RevokedRootCertificates { +func createTestRevokedRootCertificates(keeper *keeper.Keeper, ctx sdk.Context) types.RevokedRootCertificates { //nolint:unparam item := types.RevokedRootCertificates{} keeper.SetRevokedRootCertificates(ctx, item) diff --git a/x/pki/module_simulation.go b/x/pki/module_simulation.go index ec4dfee73..27fd9111e 100644 --- a/x/pki/module_simulation.go +++ b/x/pki/module_simulation.go @@ -83,7 +83,7 @@ func (AppModule) GenerateGenesisState(simState *module.SimulationState) { } // ProposalContents doesn't return any content functions for governance proposals. -func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalContent { +func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalContent { //nolint:staticcheck return nil } diff --git a/x/pki/revocation_message_utils_test.go b/x/pki/revocation_message_utils_test.go index a1b2b8f67..cd738bcd4 100644 --- a/x/pki/revocation_message_utils_test.go +++ b/x/pki/revocation_message_utils_test.go @@ -67,6 +67,7 @@ func createAddRevocationMessageWithPAACertNoVid(signer string, vid int32) *types } func assertRevocationPointEqual(t *testing.T, expected *types.MsgAddPkiRevocationDistributionPoint, actual *types.PkiRevocationDistributionPoint) { + t.Helper() require.Equal(t, expected.CrlSignerCertificate, actual.CrlSignerCertificate) require.Equal(t, expected.CrlSignerCertificate, actual.CrlSignerCertificate) require.Equal(t, expected.DataDigest, actual.DataDigest) diff --git a/x/pki/simulation/add_pki_revocation_distribution_point.go b/x/pki/simulation/add_pki_revocation_distribution_point.go index 5dc6753ed..83344c657 100644 --- a/x/pki/simulation/add_pki_revocation_distribution_point.go +++ b/x/pki/simulation/add_pki_revocation_distribution_point.go @@ -12,7 +12,7 @@ import ( ) func SimulateMsgAddPkiRevocationDistributionPoint( - k keeper.Keeper, + _ keeper.Keeper, ) simtypes.Operation { return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { diff --git a/x/pki/simulation/approve_revoke_x_509_root_cert.go b/x/pki/simulation/approve_revoke_x_509_root_cert.go index 5ff7dfa25..8f23f314e 100644 --- a/x/pki/simulation/approve_revoke_x_509_root_cert.go +++ b/x/pki/simulation/approve_revoke_x_509_root_cert.go @@ -12,7 +12,7 @@ import ( ) func SimulateMsgApproveRevokeX509RootCert( - k keeper.Keeper, + _ keeper.Keeper, ) simtypes.Operation { return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { diff --git a/x/pki/simulation/assign_vid.go b/x/pki/simulation/assign_vid.go index a6cffddde..3093fe433 100644 --- a/x/pki/simulation/assign_vid.go +++ b/x/pki/simulation/assign_vid.go @@ -12,7 +12,7 @@ import ( ) func SimulateMsgAssignVid( - k keeper.Keeper, + _ keeper.Keeper, ) simtypes.Operation { return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { diff --git a/x/pki/simulation/propose_revoke_x_509_root_cert.go b/x/pki/simulation/propose_revoke_x_509_root_cert.go index 7590b97cc..89173a340 100644 --- a/x/pki/simulation/propose_revoke_x_509_root_cert.go +++ b/x/pki/simulation/propose_revoke_x_509_root_cert.go @@ -12,7 +12,7 @@ import ( ) func SimulateMsgProposeRevokeX509RootCert( - k keeper.Keeper, + _ keeper.Keeper, ) simtypes.Operation { return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { diff --git a/x/pki/simulation/revoke_x_509_cert.go b/x/pki/simulation/revoke_x_509_cert.go index a9dfe353b..74f416835 100644 --- a/x/pki/simulation/revoke_x_509_cert.go +++ b/x/pki/simulation/revoke_x_509_cert.go @@ -12,7 +12,7 @@ import ( ) func SimulateMsgRevokeX509Cert( - k keeper.Keeper, + _ keeper.Keeper, ) simtypes.Operation { return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { diff --git a/x/pki/simulation/update_pki_revocation_distribution_point.go b/x/pki/simulation/update_pki_revocation_distribution_point.go index e00f459d3..af10edef4 100644 --- a/x/pki/simulation/update_pki_revocation_distribution_point.go +++ b/x/pki/simulation/update_pki_revocation_distribution_point.go @@ -12,7 +12,7 @@ import ( ) func SimulateMsgUpdatePkiRevocationDistributionPoint( - k keeper.Keeper, + _ keeper.Keeper, ) simtypes.Operation { return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { diff --git a/x/pki/types/codec.go b/x/pki/types/codec.go index 89c9f0f22..44f792e94 100644 --- a/x/pki/types/codec.go +++ b/x/pki/types/codec.go @@ -22,7 +22,6 @@ func RegisterCodec(cdc *codec.LegacyAmino) { // this line is used by starport scaffolding # 2 } -// nolint func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { registry.RegisterImplementations((*sdk.Msg)(nil), &MsgProposeAddX509RootCert{}, @@ -59,7 +58,7 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { ) // this line is used by starport scaffolding # 3 - msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) + msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) //nolint:nosnakecase } var ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) diff --git a/x/pki/types/message_add_x_509_cert.go b/x/pki/types/message_add_x_509_cert.go index 15e50992d..da1bb4d03 100644 --- a/x/pki/types/message_add_x_509_cert.go +++ b/x/pki/types/message_add_x_509_cert.go @@ -1,6 +1,7 @@ package types import ( + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" pkitypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/pki" @@ -44,7 +45,7 @@ func (msg *MsgAddX509Cert) GetSignBytes() []byte { func (msg *MsgAddX509Cert) ValidateBasic() error { _, err := sdk.AccAddressFromBech32(msg.Signer) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid signer address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid signer address (%s)", err) } err = validator.Validate(msg) diff --git a/x/pki/types/message_approve_add_x_509_root_cert.go b/x/pki/types/message_approve_add_x_509_root_cert.go index a2244ff96..18328bbcd 100644 --- a/x/pki/types/message_approve_add_x_509_root_cert.go +++ b/x/pki/types/message_approve_add_x_509_root_cert.go @@ -3,6 +3,7 @@ package types import ( "time" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" pkitypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/pki" @@ -49,7 +50,7 @@ func (msg *MsgApproveAddX509RootCert) GetSignBytes() []byte { func (msg *MsgApproveAddX509RootCert) ValidateBasic() error { _, err := sdk.AccAddressFromBech32(msg.Signer) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid signer address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid signer address (%s)", err) } err = validator.Validate(msg) diff --git a/x/pki/types/message_approve_revoke_x_509_root_cert.go b/x/pki/types/message_approve_revoke_x_509_root_cert.go index aeaa07c36..f8c77eeed 100644 --- a/x/pki/types/message_approve_revoke_x_509_root_cert.go +++ b/x/pki/types/message_approve_revoke_x_509_root_cert.go @@ -3,6 +3,7 @@ package types import ( "time" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" pkitypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/pki" @@ -49,7 +50,7 @@ func (msg *MsgApproveRevokeX509RootCert) GetSignBytes() []byte { func (msg *MsgApproveRevokeX509RootCert) ValidateBasic() error { _, err := sdk.AccAddressFromBech32(msg.Signer) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid signer address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid signer address (%s)", err) } err = validator.Validate(msg) diff --git a/x/pki/types/message_assign_vid.go b/x/pki/types/message_assign_vid.go index 2b641e5f0..6f36aedc8 100644 --- a/x/pki/types/message_assign_vid.go +++ b/x/pki/types/message_assign_vid.go @@ -1,6 +1,7 @@ package types import ( + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" pkitypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/pki" @@ -46,7 +47,7 @@ func (msg *MsgAssignVid) GetSignBytes() []byte { func (msg *MsgAssignVid) ValidateBasic() error { _, err := sdk.AccAddressFromBech32(msg.Signer) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid signer address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid signer address (%s)", err) } err = validator.Validate(msg) diff --git a/x/pki/types/message_propose_add_x_509_root_cert.go b/x/pki/types/message_propose_add_x_509_root_cert.go index bf47ebcdc..8cc5c0388 100644 --- a/x/pki/types/message_propose_add_x_509_root_cert.go +++ b/x/pki/types/message_propose_add_x_509_root_cert.go @@ -4,6 +4,7 @@ import ( fmt "fmt" "time" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" pkitypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/pki" @@ -51,7 +52,7 @@ func (msg *MsgProposeAddX509RootCert) GetSignBytes() []byte { func (msg *MsgProposeAddX509RootCert) ValidateBasic() error { _, err := sdk.AccAddressFromBech32(msg.Signer) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid signer address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid signer address (%s)", err) } err = validator.Validate(msg) diff --git a/x/pki/types/message_propose_revoke_x_509_root_cert.go b/x/pki/types/message_propose_revoke_x_509_root_cert.go index dec750f7b..09fd6686c 100644 --- a/x/pki/types/message_propose_revoke_x_509_root_cert.go +++ b/x/pki/types/message_propose_revoke_x_509_root_cert.go @@ -3,6 +3,7 @@ package types import ( "time" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" pkitypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/pki" @@ -49,7 +50,7 @@ func (msg *MsgProposeRevokeX509RootCert) GetSignBytes() []byte { func (msg *MsgProposeRevokeX509RootCert) ValidateBasic() error { _, err := sdk.AccAddressFromBech32(msg.Signer) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid signer address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid signer address (%s)", err) } err = validator.Validate(msg) diff --git a/x/pki/types/message_reject_add_x_509_root_cert.go b/x/pki/types/message_reject_add_x_509_root_cert.go index 604501ec2..7ac2c2961 100644 --- a/x/pki/types/message_reject_add_x_509_root_cert.go +++ b/x/pki/types/message_reject_add_x_509_root_cert.go @@ -3,6 +3,7 @@ package types import ( "time" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" pkitypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/pki" @@ -48,7 +49,7 @@ func (msg *MsgRejectAddX509RootCert) GetSignBytes() []byte { func (msg *MsgRejectAddX509RootCert) ValidateBasic() error { _, err := sdk.AccAddressFromBech32(msg.Signer) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid signer address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid signer address (%s)", err) } return nil diff --git a/x/pki/types/message_revoke_x_509_cert.go b/x/pki/types/message_revoke_x_509_cert.go index 5c28cad8a..e0110c41a 100644 --- a/x/pki/types/message_revoke_x_509_cert.go +++ b/x/pki/types/message_revoke_x_509_cert.go @@ -3,6 +3,7 @@ package types import ( "time" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" pkitypes "github.com/zigbee-alliance/distributed-compliance-ledger/types/pki" @@ -49,7 +50,7 @@ func (msg *MsgRevokeX509Cert) GetSignBytes() []byte { func (msg *MsgRevokeX509Cert) ValidateBasic() error { _, err := sdk.AccAddressFromBech32(msg.Signer) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid signer address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid signer address (%s)", err) } err = validator.Validate(msg) diff --git a/x/validator/handler.go b/x/validator/handler.go index f33e21735..fe5e307e3 100644 --- a/x/validator/handler.go +++ b/x/validator/handler.go @@ -3,6 +3,7 @@ package validator import ( "fmt" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/keeper" @@ -45,7 +46,7 @@ func NewHandler(k keeper.Keeper) sdk.Handler { default: errMsg := fmt.Sprintf("unrecognized %s message type: %T", types.ModuleName, msg) - return nil, sdkerrors.Wrap(sdkerrors.ErrUnknownRequest, errMsg) + return nil, errors.Wrap(sdkerrors.ErrUnknownRequest, errMsg) } } } diff --git a/x/validator/keeper/msg_server_approve_disable_validator.go b/x/validator/keeper/msg_server_approve_disable_validator.go index c08ed07c0..62ad43365 100644 --- a/x/validator/keeper/msg_server_approve_disable_validator.go +++ b/x/validator/keeper/msg_server_approve_disable_validator.go @@ -3,6 +3,7 @@ package keeper import ( "context" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/types" @@ -13,17 +14,17 @@ func (k msgServer) ApproveDisableValidator(goCtx context.Context, msg *types.Msg creatorAddr, err := sdk.AccAddressFromBech32(msg.Creator) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid creator address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid creator address: (%s)", err) } validatorAddr, err := sdk.ValAddressFromBech32(msg.Address) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid validator address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid validator address: (%s)", err) } // check if message creator has enough rights to approve disable validator if !k.dclauthKeeper.HasRole(ctx, creatorAddr, types.VoteForDisableValidatorRole) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "MsgApproveDisableValidator transaction should be signed by an account with the %s role", types.VoteForDisableValidatorRole, ) @@ -37,7 +38,7 @@ func (k msgServer) ApproveDisableValidator(goCtx context.Context, msg *types.Msg // check if disable validator already has approval form message creator if proposedDisableValidator.HasApprovalFrom(creatorAddr) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "Disabled validator with address=%v already has approval from=%v", msg.Address, msg.Creator, ) diff --git a/x/validator/keeper/msg_server_create_validator.go b/x/validator/keeper/msg_server_create_validator.go index 9cd17be2a..a2fc9c8bd 100644 --- a/x/validator/keeper/msg_server_create_validator.go +++ b/x/validator/keeper/msg_server_create_validator.go @@ -3,6 +3,7 @@ package keeper import ( "context" + "cosmossdk.io/errors" tmstrings "github.com/cometbft/cometbft/libs/strings" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" sdk "github.com/cosmos/cosmos-sdk/types" @@ -22,7 +23,7 @@ func (k msgServer) CreateValidator(goCtx context.Context, msg *types.MsgCreateVa // check if sender has enough rights to create a validator node if !k.dclauthKeeper.HasRole(ctx, sdk.AccAddress(valAddr), dclauthtypes.NodeAdmin) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "CreateValidator transaction should be signed by an account with the \"%s\" role", types.EnableDisableValidatorRole, ) @@ -40,7 +41,7 @@ func (k msgServer) CreateValidator(goCtx context.Context, msg *types.MsgCreateVa pk, ok := msg.PubKey.GetCachedValue().(cryptotypes.PubKey) if !ok { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidType, "Expecting cryptotypes.PubKey, got %T", pk) + return nil, errors.Wrapf(sdkerrors.ErrInvalidType, "Expecting cryptotypes.PubKey, got %T", pk) } if _, found := k.GetValidatorByConsAddr(ctx, sdk.GetConsAddress(pk)); found { @@ -55,7 +56,7 @@ func (k msgServer) CreateValidator(goCtx context.Context, msg *types.MsgCreateVa cp := ctx.ConsensusParams() if cp != nil && cp.Validator != nil { if !tmstrings.StringInSlice(pk.Type(), cp.Validator.PubKeyTypes) { - return nil, sdkerrors.Wrapf( + return nil, errors.Wrapf( sdkstakingtypes.ErrValidatorPubKeyTypeNotSupported, "got: %s, expected: %s", pk.Type(), cp.Validator.PubKeyTypes, ) diff --git a/x/validator/keeper/msg_server_disable_validator.go b/x/validator/keeper/msg_server_disable_validator.go index 917c0ce82..40e2b3d83 100644 --- a/x/validator/keeper/msg_server_disable_validator.go +++ b/x/validator/keeper/msg_server_disable_validator.go @@ -3,6 +3,7 @@ package keeper import ( "context" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" sdkstakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" @@ -15,12 +16,12 @@ func (k msgServer) DisableValidator(goCtx context.Context, msg *types.MsgDisable creatorAddr, err := sdk.ValAddressFromBech32(msg.Creator) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) } // check if message creator has enough rights to propose disable validator if !k.dclauthKeeper.HasRole(ctx, sdk.AccAddress(creatorAddr), types.EnableDisableValidatorRole) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "Disable validator transaction should be signed by an account with the %s role", types.EnableDisableValidatorRole, ) diff --git a/x/validator/keeper/msg_server_enable_validator.go b/x/validator/keeper/msg_server_enable_validator.go index febe24a7c..f01251be1 100644 --- a/x/validator/keeper/msg_server_enable_validator.go +++ b/x/validator/keeper/msg_server_enable_validator.go @@ -3,6 +3,7 @@ package keeper import ( "context" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/types" @@ -13,12 +14,12 @@ func (k msgServer) EnableValidator(goCtx context.Context, msg *types.MsgEnableVa creatorAddr, err := sdk.ValAddressFromBech32(msg.Creator) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err) } // check if message creator has enough rights to propose disable validator if !k.dclauthKeeper.HasRole(ctx, sdk.AccAddress(creatorAddr), types.EnableDisableValidatorRole) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "Enable validator transaction should be signed by an account with the %s role", types.EnableDisableValidatorRole, ) diff --git a/x/validator/keeper/msg_server_propose_disable_validator.go b/x/validator/keeper/msg_server_propose_disable_validator.go index b8f6d0c36..a2d89f6c3 100644 --- a/x/validator/keeper/msg_server_propose_disable_validator.go +++ b/x/validator/keeper/msg_server_propose_disable_validator.go @@ -3,6 +3,7 @@ package keeper import ( "context" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" sdkstakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" @@ -14,17 +15,17 @@ func (k msgServer) ProposeDisableValidator(goCtx context.Context, msg *types.Msg creatorAddr, err := sdk.AccAddressFromBech32(msg.Creator) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid creator address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid creator address: (%s)", err) } validatorAddr, err := sdk.ValAddressFromBech32(msg.Address) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid validator address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid validator address: (%s)", err) } // check if message creator has enough rights to propose disable validator if !k.dclauthKeeper.HasRole(ctx, creatorAddr, types.VoteForDisableValidatorRole) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "MsgProposeDisableValidator transaction should be signed by an account with the %s role", types.VoteForDisableValidatorRole, ) diff --git a/x/validator/keeper/msg_server_reject_disable_node.go b/x/validator/keeper/msg_server_reject_disable_node.go index 1b19651d3..d19262a33 100644 --- a/x/validator/keeper/msg_server_reject_disable_node.go +++ b/x/validator/keeper/msg_server_reject_disable_node.go @@ -3,6 +3,7 @@ package keeper import ( "context" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/types" @@ -13,17 +14,17 @@ func (k msgServer) RejectDisableValidator(goCtx context.Context, msg *types.MsgR creatorAddr, err := sdk.AccAddressFromBech32(msg.Creator) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid creator address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid creator address: (%s)", err) } validatorAddr, err := sdk.ValAddressFromBech32(msg.Address) if err != nil { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid validator address: (%s)", err) + return nil, errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid validator address: (%s)", err) } // check if message creator has enough rights to reject disable validator if !k.dclauthKeeper.HasRole(ctx, creatorAddr, types.VoteForDisableValidatorRole) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "MsgRejectDisableValidator transaction should be signed by an account with the %s role", types.VoteForDisableValidatorRole, ) @@ -37,7 +38,7 @@ func (k msgServer) RejectDisableValidator(goCtx context.Context, msg *types.MsgR // check if disable validator already has reject from message creator if proposedDisableValidator.HasRejectDisableFrom(creatorAddr) { - return nil, sdkerrors.Wrapf(sdkerrors.ErrUnauthorized, + return nil, errors.Wrapf(sdkerrors.ErrUnauthorized, "Disabled validator with address=%v already has reject from=%v", msg.Address, msg.Creator, diff --git a/x/validator/keeper/process_malicious.go b/x/validator/keeper/process_malicious.go index c407af3ec..b33cc47e1 100644 --- a/x/validator/keeper/process_malicious.go +++ b/x/validator/keeper/process_malicious.go @@ -3,6 +3,7 @@ package keeper import ( "fmt" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" evidencetypes "github.com/cosmos/cosmos-sdk/x/evidence/types" @@ -91,7 +92,7 @@ func (k Keeper) HandleDoubleSign(ctx sdk.Context, evidence *evidencetypes.Equivo // Revoked Account valAddr, err := sdk.ValAddressFromBech32(validator.Owner) if err != nil { - logger.Info("Error:", sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err)) + logger.Info("Error:", errors.Wrapf(sdkerrors.ErrInvalidAddress, "Invalid Address: (%s)", err)) } accAddr := sdk.AccAddress(valAddr) diff --git a/x/validator/module_simulation.go b/x/validator/module_simulation.go index 774513e66..7f07e89f5 100644 --- a/x/validator/module_simulation.go +++ b/x/validator/module_simulation.go @@ -58,7 +58,7 @@ func (AppModule) GenerateGenesisState(simState *module.SimulationState) { } // ProposalContents doesn't return any content functions for governance proposals. -func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalContent { +func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalContent { //nolint:staticcheck return nil } diff --git a/x/validator/simulation/approve_disable_validator.go b/x/validator/simulation/approve_disable_validator.go index 12b6fc20d..0664af1ad 100644 --- a/x/validator/simulation/approve_disable_validator.go +++ b/x/validator/simulation/approve_disable_validator.go @@ -10,7 +10,7 @@ import ( "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/types" ) -func SimulateMsgApproveDisableValidator(k keeper.Keeper) simtypes.Operation { +func SimulateMsgApproveDisableValidator(_ keeper.Keeper) simtypes.Operation { return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { simAccount, _ := simtypes.RandomAcc(r, accs) diff --git a/x/validator/simulation/propose_disable_validator.go b/x/validator/simulation/propose_disable_validator.go index f323a9d14..042748c55 100644 --- a/x/validator/simulation/propose_disable_validator.go +++ b/x/validator/simulation/propose_disable_validator.go @@ -10,7 +10,7 @@ import ( "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/types" ) -func SimulateMsgProposeDisableValidator(k keeper.Keeper) simtypes.Operation { +func SimulateMsgProposeDisableValidator(_ keeper.Keeper) simtypes.Operation { return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { simAccount, _ := simtypes.RandomAcc(r, accs) diff --git a/x/validator/simulation/reject_disable_node.go b/x/validator/simulation/reject_disable_node.go index 891dd9a96..1df8a6393 100644 --- a/x/validator/simulation/reject_disable_node.go +++ b/x/validator/simulation/reject_disable_node.go @@ -11,7 +11,7 @@ import ( ) func SimulateMsgRejectDisableValidator( - k keeper.Keeper, + _ keeper.Keeper, ) simtypes.Operation { return func(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, accs []simtypes.Account, chainID string, ) (simtypes.OperationMsg, []simtypes.FutureOperation, error) { diff --git a/x/validator/types/codec.go b/x/validator/types/codec.go index fd20786b1..ddca41aea 100644 --- a/x/validator/types/codec.go +++ b/x/validator/types/codec.go @@ -38,7 +38,7 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { ) // this line is used by starport scaffolding # 3 - msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) + msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) //nolint:nosnakecase } var ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) diff --git a/x/validator/types/errors.go b/x/validator/types/errors.go index 9b534dfb9..d6a7266df 100644 --- a/x/validator/types/errors.go +++ b/x/validator/types/errors.go @@ -17,24 +17,24 @@ package types import ( "fmt" - sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" + "cosmossdk.io/errors" ) var ( - PoolIsFull = sdkerrors.Register(ModuleName, 601, "maximum number of active nodes reached") - ErrProposedDisableValidatorAlreadyExists = sdkerrors.Register(ModuleName, 602, "disable validator proposal already exists") - ErrProposedDisableValidatorDoesNotExist = sdkerrors.Register(ModuleName, 603, "disable validator proposal does not exist") - ErrDisabledValidatorAlreadytExists = sdkerrors.Register(ModuleName, 604, "disabled validator already exist") - ErrDisabledValidatorDoesNotExist = sdkerrors.Register(ModuleName, 605, "disabled validator does not exist") + PoolIsFull = errors.Register(ModuleName, 601, "maximum number of active nodes reached") + ErrProposedDisableValidatorAlreadyExists = errors.Register(ModuleName, 602, "disable validator proposal already exists") + ErrProposedDisableValidatorDoesNotExist = errors.Register(ModuleName, 603, "disable validator proposal does not exist") + ErrDisabledValidatorAlreadytExists = errors.Register(ModuleName, 604, "disabled validator already exist") + ErrDisabledValidatorDoesNotExist = errors.Register(ModuleName, 605, "disabled validator does not exist") ) func ErrPoolIsFull() error { - return sdkerrors.Wrapf(PoolIsFull, + return errors.Wrapf(PoolIsFull, fmt.Sprintf("Pool ledger already contains maximum number of active nodes: \"%v\"", MaxNodes)) } func NewErrProposedDisableValidatorAlreadyExists(name interface{}) error { - return sdkerrors.Wrapf( + return errors.Wrapf( ErrProposedDisableValidatorAlreadyExists, "Disable proposal with validator address=%v already exists on the ledger", name, @@ -42,7 +42,7 @@ func NewErrProposedDisableValidatorAlreadyExists(name interface{}) error { } func NewErrProposedDisableValidatorDoesNotExist(name interface{}) error { - return sdkerrors.Wrapf( + return errors.Wrapf( ErrProposedDisableValidatorDoesNotExist, "Disable proposal with validator address=%v does not exist on the ledger", name, @@ -50,7 +50,7 @@ func NewErrProposedDisableValidatorDoesNotExist(name interface{}) error { } func NewErrDisabledValidatorAlreadyExists(name interface{}) error { - return sdkerrors.Wrapf( + return errors.Wrapf( ErrDisabledValidatorAlreadytExists, "Disabled validator with address=%v already exists on the ledger", name, @@ -58,7 +58,7 @@ func NewErrDisabledValidatorAlreadyExists(name interface{}) error { } func NewErrDisabledValidatorDoesNotExist(name interface{}) error { - return sdkerrors.Wrapf( + return errors.Wrapf( ErrDisabledValidatorDoesNotExist, "Disabled validator with address=%v does not exist on the ledger", name, diff --git a/x/validator/types/expected_keepers.go b/x/validator/types/expected_keepers.go index 62950d893..963dde3f0 100644 --- a/x/validator/types/expected_keepers.go +++ b/x/validator/types/expected_keepers.go @@ -13,6 +13,6 @@ type DclauthKeeper interface { SetRevokedAccount(ctx sdk.Context, revokedAccount dclauthtypes.RevokedAccount) RemoveAccount(ctx sdk.Context, address sdk.AccAddress) AddAccountToRevokedAccount( - ctx sdk.Context, accAddr sdk.AccAddress, approvals []*dclauthtypes.Grant, reason dclauthtypes.RevokedAccount_Reason, + ctx sdk.Context, accAddr sdk.AccAddress, approvals []*dclauthtypes.Grant, reason dclauthtypes.RevokedAccount_Reason, //nolint:nosnakecase ) (*dclauthtypes.RevokedAccount, error) } diff --git a/x/validator/types/message_approve_disable_validator.go b/x/validator/types/message_approve_disable_validator.go index 2581a3311..4ff002212 100644 --- a/x/validator/types/message_approve_disable_validator.go +++ b/x/validator/types/message_approve_disable_validator.go @@ -3,6 +3,7 @@ package types import ( "time" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" @@ -47,12 +48,12 @@ func (msg *MsgApproveDisableValidator) GetSignBytes() []byte { func (msg *MsgApproveDisableValidator) ValidateBasic() error { _, err := sdk.AccAddressFromBech32(msg.Creator) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) } _, err = sdk.ValAddressFromBech32(msg.Address) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid validator address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid validator address (%s)", err) } err = validator.Validate(msg) diff --git a/x/validator/types/message_disable_validator.go b/x/validator/types/message_disable_validator.go index 47eb23b73..5c6141962 100644 --- a/x/validator/types/message_disable_validator.go +++ b/x/validator/types/message_disable_validator.go @@ -1,6 +1,7 @@ package types import ( + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" @@ -42,7 +43,7 @@ func (msg *MsgDisableValidator) GetSignBytes() []byte { func (msg *MsgDisableValidator) ValidateBasic() error { _, err := sdk.ValAddressFromBech32(msg.Creator) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid validator address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid validator address (%s)", err) } err = validator.Validate(msg) diff --git a/x/validator/types/message_enable_validator.go b/x/validator/types/message_enable_validator.go index 4dac7bbd2..9ada276fa 100644 --- a/x/validator/types/message_enable_validator.go +++ b/x/validator/types/message_enable_validator.go @@ -1,6 +1,7 @@ package types import ( + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" @@ -42,7 +43,7 @@ func (msg *MsgEnableValidator) GetSignBytes() []byte { func (msg *MsgEnableValidator) ValidateBasic() error { _, err := sdk.ValAddressFromBech32(msg.Creator) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid validator address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid validator address (%s)", err) } err = validator.Validate(msg) diff --git a/x/validator/types/message_propose_disable_validator.go b/x/validator/types/message_propose_disable_validator.go index ba56fda54..344e95188 100644 --- a/x/validator/types/message_propose_disable_validator.go +++ b/x/validator/types/message_propose_disable_validator.go @@ -3,6 +3,7 @@ package types import ( "time" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" @@ -47,12 +48,12 @@ func (msg *MsgProposeDisableValidator) GetSignBytes() []byte { func (msg *MsgProposeDisableValidator) ValidateBasic() error { _, err := sdk.AccAddressFromBech32(msg.Creator) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) } _, err = sdk.ValAddressFromBech32(msg.Address) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid validator address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid validator address (%s)", err) } err = validator.Validate(msg) diff --git a/x/validator/types/message_reject_disable_node.go b/x/validator/types/message_reject_disable_node.go index 61c7824ad..e458dbbb3 100644 --- a/x/validator/types/message_reject_disable_node.go +++ b/x/validator/types/message_reject_disable_node.go @@ -3,6 +3,7 @@ package types import ( "time" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ) @@ -46,7 +47,7 @@ func (msg *MsgRejectDisableValidator) GetSignBytes() []byte { func (msg *MsgRejectDisableValidator) ValidateBasic() error { _, err := sdk.AccAddressFromBech32(msg.Creator) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) } return nil diff --git a/x/validator/types/validator.go b/x/validator/types/validator.go index 64567105c..2618e02ab 100644 --- a/x/validator/types/validator.go +++ b/x/validator/types/validator.go @@ -46,7 +46,7 @@ func NewValidator(owner sdk.ValAddress, pubKey cryptotypes.PubKey, description D func (v Validator) GetConsAddress() (sdk.ConsAddress, error) { pk, ok := v.PubKey.GetCachedValue().(cryptotypes.PubKey) if !ok { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidType, "expecting cryptotypes.PubKey, got %T", pk) + return nil, errors.Wrapf(sdkerrors.ErrInvalidType, "expecting cryptotypes.PubKey, got %T", pk) } return sdk.ConsAddress(pk.Address()), nil @@ -55,7 +55,7 @@ func (v Validator) GetConsAddress() (sdk.ConsAddress, error) { func (v Validator) GetConsPubKey() (cryptotypes.PubKey, error) { pk, ok := v.PubKey.GetCachedValue().(cryptotypes.PubKey) if !ok { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidType, "expecting cryptotypes.PubKey, got %T", pk) + return nil, errors.Wrapf(sdkerrors.ErrInvalidType, "expecting cryptotypes.PubKey, got %T", pk) } return pk, nil @@ -160,7 +160,7 @@ func (v Validator) TmConsPublicKey() (tmprotocrypto.PublicKey, error) { func (v Validator) GetConsAddr() (sdk.ConsAddress, error) { pk, ok := v.PubKey.GetCachedValue().(cryptotypes.PubKey) if !ok { - return nil, sdkerrors.Wrapf(sdkerrors.ErrInvalidType, "expecting cryptotypes.PubKey, got %T", pk) + return nil, errors.Wrapf(sdkerrors.ErrInvalidType, "expecting cryptotypes.PubKey, got %T", pk) } return sdk.ConsAddress(pk.Address()), nil diff --git a/x/vendorinfo/handler.go b/x/vendorinfo/handler.go index 272b9d7e2..47ab766c9 100644 --- a/x/vendorinfo/handler.go +++ b/x/vendorinfo/handler.go @@ -3,6 +3,7 @@ package vendorinfo import ( "fmt" + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/x/vendorinfo/keeper" @@ -32,7 +33,7 @@ func NewHandler(k keeper.Keeper) sdk.Handler { default: errMsg := fmt.Sprintf("unrecognized %s message type: %T", types.ModuleName, msg) - return nil, sdkerrors.Wrap(sdkerrors.ErrUnknownRequest, errMsg) + return nil, errors.Wrap(sdkerrors.ErrUnknownRequest, errMsg) } } } diff --git a/x/vendorinfo/types/codec.go b/x/vendorinfo/types/codec.go index 56cb5ef82..10f806ea6 100644 --- a/x/vendorinfo/types/codec.go +++ b/x/vendorinfo/types/codec.go @@ -14,7 +14,6 @@ func RegisterCodec(cdc *codec.LegacyAmino) { // this line is used by starport scaffolding # 2 } -// nolint func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { registry.RegisterImplementations((*sdk.Msg)(nil), &MsgCreateVendorInfo{}, @@ -23,7 +22,7 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { ) // this line is used by starport scaffolding # 3 - msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) + msgservice.RegisterMsgServiceDesc(registry, &_Msg_serviceDesc) //nolint:nosnakecase } var ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) diff --git a/x/vendorinfo/types/messages_vendor_info.go b/x/vendorinfo/types/messages_vendor_info.go index 001740779..4e4564c93 100644 --- a/x/vendorinfo/types/messages_vendor_info.go +++ b/x/vendorinfo/types/messages_vendor_info.go @@ -1,6 +1,7 @@ package types import ( + "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/zigbee-alliance/distributed-compliance-ledger/utils/validator" @@ -52,7 +53,7 @@ func (msg *MsgCreateVendorInfo) GetSignBytes() []byte { func (msg *MsgCreateVendorInfo) ValidateBasic() error { _, err := sdk.AccAddressFromBech32(msg.Creator) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) } err = validator.Validate(msg) @@ -109,7 +110,7 @@ func (msg *MsgUpdateVendorInfo) GetSignBytes() []byte { func (msg *MsgUpdateVendorInfo) ValidateBasic() error { _, err := sdk.AccAddressFromBech32(msg.Creator) if err != nil { - return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) + return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) } err = validator.Validate(msg) @@ -157,7 +158,7 @@ func (msg *MsgUpdateVendorInfo) ValidateBasic() error { // func (msg *MsgDeleteVendorInfo) ValidateBasic() error { // _, err := sdk.AccAddressFromBech32(msg.Creator) // if err != nil { -// return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) +// return errors.Wrapf(sdkerrors.ErrInvalidAddress, "invalid creator address (%s)", err) // } // err = validator.Validate(msg) From a195ea8eed802c66f04d20e0281bd4db0713624d Mon Sep 17 00:00:00 2001 From: Abdulbois Date: Mon, 29 Jan 2024 13:31:43 +0500 Subject: [PATCH 06/29] #303 Upgrade Cosmos-SDK to v0.47.3 - Update version of linter Signed-off-by: Abdulbois Signed-off-by: Abdulbois --- .github/workflows/verify.yml | 10 +++--- integration_tests/cli/common.sh | 1 + .../types/message_propose_upgrade_test.go | 32 ------------------- 3 files changed, 6 insertions(+), 37 deletions(-) diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 522e0e4fe..5e1e5021e 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -111,7 +111,7 @@ jobs: needs: - changes steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v4 with: go-version: ^1.20 - uses: actions/checkout@v3 @@ -134,13 +134,13 @@ jobs: - changes steps: - uses: actions/checkout@v3 - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v4 with: - go-version: 1.20 + go-version: 1.21 - name: golangci-lint - uses: golangci/golangci-lint-action@v3.6.0 + uses: golangci/golangci-lint-action@v3 with: - version: 1.55.2 + version: v1.55 args: --timeout 5m0s check: if: always() diff --git a/integration_tests/cli/common.sh b/integration_tests/cli/common.sh index 44b2a4c94..b05ed4efa 100755 --- a/integration_tests/cli/common.sh +++ b/integration_tests/cli/common.sh @@ -192,6 +192,7 @@ wait_for_height() { fi while true; do + docker logs -n 100 node0 sleep "${wait_interval}" waited=$((waited + wait_interval)) diff --git a/x/dclupgrade/types/message_propose_upgrade_test.go b/x/dclupgrade/types/message_propose_upgrade_test.go index 35d3a886f..459f893d4 100644 --- a/x/dclupgrade/types/message_propose_upgrade_test.go +++ b/x/dclupgrade/types/message_propose_upgrade_test.go @@ -2,9 +2,7 @@ package types import ( "testing" - "time" - codectypes "github.com/cosmos/cosmos-sdk/codec/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" "github.com/stretchr/testify/require" testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" @@ -87,36 +85,6 @@ func TestMsgProposeUpgrade_ValidateBasic(t *testing.T) { }, err: sdkerrors.ErrInvalidRequest, }, - { - name: "plan time is not zero", - msg: MsgProposeUpgrade{ - Creator: sample.AccAddress(), - Plan: Plan{ - Name: testconstants.UpgradePlanName, - Height: testconstants.UpgradePlanHeight, - Info: testconstants.UpgradePlanInfo, - Time: time.Now(), - }, - Info: testconstants.Info, - Time: testconstants.Time, - }, - err: *sdkerrors.ErrInvalidRequest, - }, - { - name: "Plan upgradedClientState is not nil", - msg: MsgProposeUpgrade{ - Creator: sample.AccAddress(), - Plan: Plan{ - Name: testconstants.UpgradePlanName, - Height: testconstants.UpgradePlanHeight, - Info: testconstants.UpgradePlanInfo, - UpgradedClientState: &codectypes.Any{TypeUrl: "333"}, - }, - Info: testconstants.Info, - Time: testconstants.Time, - }, - err: *sdkerrors.ErrInvalidRequest, - }, } positiveTests := []struct { From 43e0a4ca4a417562a0c83f1aceca9f2915f872ad Mon Sep 17 00:00:00 2001 From: Abdulbois Date: Mon, 29 Jan 2024 18:34:29 +0500 Subject: [PATCH 07/29] #303 Upgrade Cosmos-SDK to v0.47.3 - Update `cosmovisor start` command Signed-off-by: Abdulbois Signed-off-by: Abdulbois --- .../bootstrap/molecule/default/tests/test_default.py | 2 +- deployment/cosmovisor.service | 2 +- deployment/scripts/run_dcl_node | 2 +- docker-compose.yml | 10 +++++----- integration_tests/cli/validator-demo.sh | 2 +- .../upgrade/add-new-node-after-upgrade.sh | 2 +- integration_tests/upgrade/test-upgrade-0.12-to-1.2.sh | 2 +- integration_tests/upgrade/test-upgrade-1.2-to-1.3.sh | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/deployment/ansible/roles/bootstrap/molecule/default/tests/test_default.py b/deployment/ansible/roles/bootstrap/molecule/default/tests/test_default.py index 3c55d96db..12afa79fa 100644 --- a/deployment/ansible/roles/bootstrap/molecule/default/tests/test_default.py +++ b/deployment/ansible/roles/bootstrap/molecule/default/tests/test_default.py @@ -33,6 +33,6 @@ def test_service(host): "User=cosmovisor", "Group=dcl", 'Environment="DAEMON_HOME=/var/lib/dcl/.dcl" "DAEMON_NAME=dcld"', - "ExecStart=/usr/bin/cosmovisor start", + "ExecStart=/usr/bin/cosmovisor run start", ]: assert prop in svc.content_string diff --git a/deployment/cosmovisor.service b/deployment/cosmovisor.service index bd21fd8f0..02e7c5acc 100644 --- a/deployment/cosmovisor.service +++ b/deployment/cosmovisor.service @@ -11,7 +11,7 @@ User=ubuntu Environment="DAEMON_HOME=/var/lib/ubuntu/.dcl" Environment="DAEMON_NAME=dcld" Environment="DAEMON_ALLOW_DOWNLOAD_BINARIES=true" -ExecStart=/usr/bin/cosmovisor start +ExecStart=/usr/bin/cosmovisor run start [Install] WantedBy=multi-user.target diff --git a/deployment/scripts/run_dcl_node b/deployment/scripts/run_dcl_node index a038ce462..4241e2a9b 100755 --- a/deployment/scripts/run_dcl_node +++ b/deployment/scripts/run_dcl_node @@ -346,7 +346,7 @@ function run_node { echo -e "\tUse 'systemctl status cosmovisor' to get the node service status." echo "Use 'journalctl -u cosmovisor.service -f' to see node logs." else - cosmovisor start >./cosmovisor.log 2>&1 & + cosmovisor run start >./cosmovisor.log 2>&1 & echo "Node has been stared in the backgroud." fi } diff --git a/docker-compose.yml b/docker-compose.yml index 6a518c325..92efda705 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -30,7 +30,7 @@ services: networks: localnet: ipv4_address: 192.167.10.2 - command: cosmovisor start + command: cosmovisor run start node1: image: dcledger @@ -46,7 +46,7 @@ services: networks: localnet: ipv4_address: 192.167.10.3 - command: cosmovisor start + command: cosmovisor run start node2: image: dcledger @@ -62,7 +62,7 @@ services: networks: localnet: ipv4_address: 192.167.10.4 - command: cosmovisor start + command: cosmovisor run start node3: image: dcledger @@ -78,7 +78,7 @@ services: networks: localnet: ipv4_address: 192.167.10.5 - command: cosmovisor start + command: cosmovisor run start observer0: image: dcledger @@ -96,7 +96,7 @@ services: networks: localnet: ipv4_address: 192.167.10.6 - command: cosmovisor start + command: cosmovisor run start lightclient0: image: dcledger diff --git a/integration_tests/cli/validator-demo.sh b/integration_tests/cli/validator-demo.sh index 2131ba7e9..22fbe7412 100755 --- a/integration_tests/cli/validator-demo.sh +++ b/integration_tests/cli/validator-demo.sh @@ -121,7 +121,7 @@ docker exec $container mkdir -p "$DCL_DIR"/cosmovisor/genesis/bin docker exec $container cp -f ./dcld "$DCL_DIR"/cosmovisor/genesis/bin/ echo "$account Start Node \"$node_name\"" -docker exec -d $container cosmovisor start +docker exec -d $container cosmovisor run start sleep 10 diff --git a/integration_tests/upgrade/add-new-node-after-upgrade.sh b/integration_tests/upgrade/add-new-node-after-upgrade.sh index 98b3e4804..b4620746d 100644 --- a/integration_tests/upgrade/add-new-node-after-upgrade.sh +++ b/integration_tests/upgrade/add-new-node-after-upgrade.sh @@ -81,7 +81,7 @@ check_adding_new_node() { test_divider echo "5. Start Node \"$node_name\"" - docker exec -d $node_name cosmovisor start + docker exec -d $node_name cosmovisor run start test_divider diff --git a/integration_tests/upgrade/test-upgrade-0.12-to-1.2.sh b/integration_tests/upgrade/test-upgrade-0.12-to-1.2.sh index ef9cd2dd7..bd21e75fe 100755 --- a/integration_tests/upgrade/test-upgrade-0.12-to-1.2.sh +++ b/integration_tests/upgrade/test-upgrade-0.12-to-1.2.sh @@ -174,7 +174,7 @@ EOF docker exec $container cp -f ./dcld "$DCL_DIR"/cosmovisor/genesis/bin/ echo "$account Start Node \"$node_name\"" - docker exec -d $container cosmovisor start + docker exec -d $container cosmovisor run start sleep 10 result=$(dcld query validator node --address "$address") diff --git a/integration_tests/upgrade/test-upgrade-1.2-to-1.3.sh b/integration_tests/upgrade/test-upgrade-1.2-to-1.3.sh index 326c33fd3..636ffca1b 100755 --- a/integration_tests/upgrade/test-upgrade-1.2-to-1.3.sh +++ b/integration_tests/upgrade/test-upgrade-1.2-to-1.3.sh @@ -180,7 +180,7 @@ EOF docker exec $container cp -f ./dcld "$DCL_DIR"/cosmovisor/genesis/bin/ echo "$account Start Node \"$node_name\"" - docker exec -d $container cosmovisor start + docker exec -d $container cosmovisor run start sleep 10 result=$(dcld query validator node --address "$address") From b6944c9e710c21f74b3fef730a42915fc9d1c7ed Mon Sep 17 00:00:00 2001 From: Abdulbois Date: Mon, 29 Jan 2024 19:38:21 +0500 Subject: [PATCH 08/29] #303 Upgrade Cosmos-SDK to v0.47.3 - Update `broadcast-mode` to `sync` Signed-off-by: Abdulbois Signed-off-by: Abdulbois --- bench/Dockerfile | 2 +- deployment/ansible/roles/configure/defaults/main.yml | 2 +- deployment/scripts/run_dcl_node | 2 +- genlocalnetconfig.sh | 6 +++--- integration_tests/cli/common.sh | 1 - integration_tests/cli/validator-demo.sh | 2 +- integration_tests/upgrade/test-upgrade-0.12-to-1.2.sh | 2 +- integration_tests/upgrade/test-upgrade-1.2-to-1.3.sh | 2 +- 8 files changed, 9 insertions(+), 10 deletions(-) diff --git a/bench/Dockerfile b/bench/Dockerfile index 46c9145ff..ea45dbeb0 100644 --- a/bench/Dockerfile +++ b/bench/Dockerfile @@ -20,5 +20,5 @@ WORKDIR /home/locust RUN dcld config node ${DCLD_NODE} RUN dcld config chain-id ${DCLD_CHAIN_ID} RUN dcld config keyring-backend test -RUN dcld config broadcast-mode block +RUN dcld config broadcast-mode sync RUN dcld config output json diff --git a/deployment/ansible/roles/configure/defaults/main.yml b/deployment/ansible/roles/configure/defaults/main.yml index 56d2d7cde..9e6025d15 100644 --- a/deployment/ansible/roles/configure/defaults/main.yml +++ b/deployment/ansible/roles/configure/defaults/main.yml @@ -28,6 +28,6 @@ client: # : to Tendermint RPC interface for this chain node: "tcp://localhost:26657" # Transaction broadcasting mode (sync|async|block) - broadcast-mode: block + broadcast-mode: sync config: {} app: {} diff --git a/deployment/scripts/run_dcl_node b/deployment/scripts/run_dcl_node index 4241e2a9b..2a390a6f0 100755 --- a/deployment/scripts/run_dcl_node +++ b/deployment/scripts/run_dcl_node @@ -230,7 +230,7 @@ function config_cli { ./dcld config chain-id "$_chain_id" ./dcld config output json - ./dcld config broadcast-mode block + ./dcld config broadcast-mode sync if [[ -n "$KEYRING_BACKEND" ]]; then ./dcld config keyring-backend "$KEYRING_BACKEND" fi diff --git a/genlocalnetconfig.sh b/genlocalnetconfig.sh index 145f899fe..439f6961e 100755 --- a/genlocalnetconfig.sh +++ b/genlocalnetconfig.sh @@ -53,7 +53,7 @@ $DCL_BINARY config chain-id "$CHAIN_ID" $DCL_BINARY config output json $DCL_BINARY config node "tcp://localhost:26657" $DCL_BINARY config keyring-backend test -$DCL_BINARY config broadcast-mode block +$DCL_BINARY config broadcast-mode sync (echo "$KEYPASSWD"; echo "$KEYPASSWD") | $DCL_BINARY keys add jack (echo "$KEYPASSWD"; echo "$KEYPASSWD") | $DCL_BINARY keys add alice @@ -197,9 +197,9 @@ function init_light_client_proxy { $DCL_BINARY config chain-id "$CHAIN_ID" $DCL_BINARY config node "tcp://localhost:26657" - $DCL_BINARY config broadcast-mode block + $DCL_BINARY config broadcast-mode sync $DCL_BINARY config keyring-backend test - $DCL_BINARY config broadcast-mode block + $DCL_BINARY config broadcast-mode sync cp -R "$LOCALNET_DIR"/client/* "$DCL_DIR" diff --git a/integration_tests/cli/common.sh b/integration_tests/cli/common.sh index b05ed4efa..44b2a4c94 100755 --- a/integration_tests/cli/common.sh +++ b/integration_tests/cli/common.sh @@ -192,7 +192,6 @@ wait_for_height() { fi while true; do - docker logs -n 100 node0 sleep "${wait_interval}" waited=$((waited + wait_interval)) diff --git a/integration_tests/cli/validator-demo.sh b/integration_tests/cli/validator-demo.sh index 22fbe7412..8d7cfb581 100755 --- a/integration_tests/cli/validator-demo.sh +++ b/integration_tests/cli/validator-demo.sh @@ -64,7 +64,7 @@ docker exec $container /bin/sh -c " ./dcld config output json && ./dcld config node $node0conn && ./dcld config keyring-backend test && - ./dcld config broadcast-mode block" + ./dcld config broadcast-mode sync" test_divider diff --git a/integration_tests/upgrade/test-upgrade-0.12-to-1.2.sh b/integration_tests/upgrade/test-upgrade-0.12-to-1.2.sh index bd21e75fe..5d05764e3 100755 --- a/integration_tests/upgrade/test-upgrade-0.12-to-1.2.sh +++ b/integration_tests/upgrade/test-upgrade-0.12-to-1.2.sh @@ -117,7 +117,7 @@ add_validator_node() { ./dcld config output json && ./dcld config node $node0conn && ./dcld config keyring-backend test && - ./dcld config broadcast-mode block" + ./dcld config broadcast-mode sync" test_divider diff --git a/integration_tests/upgrade/test-upgrade-1.2-to-1.3.sh b/integration_tests/upgrade/test-upgrade-1.2-to-1.3.sh index 636ffca1b..57b6aa3ba 100755 --- a/integration_tests/upgrade/test-upgrade-1.2-to-1.3.sh +++ b/integration_tests/upgrade/test-upgrade-1.2-to-1.3.sh @@ -121,7 +121,7 @@ add_validator_node() { ./dcld config output json && ./dcld config node $node0conn && ./dcld config keyring-backend test && - ./dcld config broadcast-mode block" + ./dcld config broadcast-mode sync" test_divider From e9279ccdca638ad64aa1df555dee12ca07de2645 Mon Sep 17 00:00:00 2001 From: Abdulbois Date: Mon, 29 Jan 2024 21:05:50 +0500 Subject: [PATCH 09/29] #303 Upgrade Cosmos-SDK to v0.47.3 - Run only 'grpc rest' integration tests Signed-off-by: Abdulbois Signed-off-by: Abdulbois --- integration_tests/run-all.sh | 136 +++++++++++++++++------------------ 1 file changed, 68 insertions(+), 68 deletions(-) diff --git a/integration_tests/run-all.sh b/integration_tests/run-all.sh index 41b62b79a..5836d52d6 100755 --- a/integration_tests/run-all.sh +++ b/integration_tests/run-all.sh @@ -105,48 +105,48 @@ make image &>${DETAILED_OUTPUT_TARGET} cleanup_pool # Cli shell tests -if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "cli" ]]; then - CLI_SHELL_TESTS=$(find integration_tests/cli -type f -name '*.sh' -not -name "common.sh") - - for CLI_SHELL_TEST in ${CLI_SHELL_TESTS}; do - init_pool - - log "*****************************************************************************************" - log "Running $CLI_SHELL_TEST" - log "*****************************************************************************************" - - if bash "$CLI_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then - log "$CLI_SHELL_TEST finished successfully" - else - log "$CLI_SHELL_TEST failed" - exit 1 - fi - - cleanup_pool - done -fi +#if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "cli" ]]; then +# CLI_SHELL_TESTS=$(find integration_tests/cli -type f -name '*.sh' -not -name "common.sh") +# +# for CLI_SHELL_TEST in ${CLI_SHELL_TESTS}; do +# init_pool +# +# log "*****************************************************************************************" +# log "Running $CLI_SHELL_TEST" +# log "*****************************************************************************************" +# +# if bash "$CLI_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then +# log "$CLI_SHELL_TEST finished successfully" +# else +# log "$CLI_SHELL_TEST failed" +# exit 1 +# fi +# +# cleanup_pool +# done +#fi # Light Client Proxy Cli shell tests -if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "light" ]]; then - CLI_SHELL_TESTS=$(find integration_tests/light_client_proxy -type f -name '*.sh' -not -name "common.sh") - - for CLI_SHELL_TEST in ${CLI_SHELL_TESTS}; do - init_pool - - log "*****************************************************************************************" - log "Running $CLI_SHELL_TEST" - log "*****************************************************************************************" - - if bash "$CLI_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then - log "$CLI_SHELL_TEST finished successfully" - else - log "$CLI_SHELL_TEST failed" - exit 1 - fi - - cleanup_pool - done -fi +#if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "light" ]]; then +# CLI_SHELL_TESTS=$(find integration_tests/light_client_proxy -type f -name '*.sh' -not -name "common.sh") +# +# for CLI_SHELL_TEST in ${CLI_SHELL_TESTS}; do +# init_pool +# +# log "*****************************************************************************************" +# log "Running $CLI_SHELL_TEST" +# log "*****************************************************************************************" +# +# if bash "$CLI_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then +# log "$CLI_SHELL_TEST finished successfully" +# else +# log "$CLI_SHELL_TEST failed" +# exit 1 +# fi +# +# cleanup_pool +# done +#fi # Go rest tests if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "rest" ]]; then @@ -175,33 +175,33 @@ if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "rest" ]]; then fi # Deploy tests -if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "deploy" ]]; then - DEPLOY_SHELL_TEST="./integration_tests/deploy/test_deploy.sh" - if bash "$DEPLOY_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then - log "$DEPLOY_SHELL_TEST finished successfully" - else - log "$DEPLOY_SHELL_TEST failed" - exit 1 - fi -fi +#if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "deploy" ]]; then +# DEPLOY_SHELL_TEST="./integration_tests/deploy/test_deploy.sh" +# if bash "$DEPLOY_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then +# log "$DEPLOY_SHELL_TEST finished successfully" +# else +# log "$DEPLOY_SHELL_TEST failed" +# exit 1 +# fi +#fi # Upgrade procedure tests -if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "upgrade" ]]; then - UPGRADE_SHELL_TESTS=$(find integration_tests/upgrade -type f -name '*.sh' -not -name "add-new-node-after-upgrade.sh" | sort) - - for UPGRADE_SHELL_TEST in ${UPGRADE_SHELL_TESTS}; do - log "*****************************************************************************************" - log "Running $UPGRADE_SHELL_TEST" - log "*****************************************************************************************" - - if bash "$UPGRADE_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then - log "$UPGRADE_SHELL_TEST finished successfully" - else - log "$UPGRADE_SHELL_TEST failed" - exit 1 - fi - - cleanup_pool - done - -fi \ No newline at end of file +#if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "upgrade" ]]; then +# UPGRADE_SHELL_TESTS=$(find integration_tests/upgrade -type f -name '*.sh' -not -name "add-new-node-after-upgrade.sh" | sort) +# +# for UPGRADE_SHELL_TEST in ${UPGRADE_SHELL_TESTS}; do +# log "*****************************************************************************************" +# log "Running $UPGRADE_SHELL_TEST" +# log "*****************************************************************************************" +# +# if bash "$UPGRADE_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then +# log "$UPGRADE_SHELL_TEST finished successfully" +# else +# log "$UPGRADE_SHELL_TEST failed" +# exit 1 +# fi +# +# cleanup_pool +# done +# +#fi \ No newline at end of file From f0b559f7b4519a2cd628bf3071b98aedb8ecad69 Mon Sep 17 00:00:00 2001 From: Abdulbois Date: Tue, 30 Jan 2024 14:36:59 +0500 Subject: [PATCH 10/29] #303 Upgrade Cosmos-SDK to v0.47.3 - Fix unit tests - Modify BroadcastTx of grpc integration tests due to cosmos-sdk API changes Signed-off-by: Abdulbois Signed-off-by: Abdulbois --- integration_tests/utils/grpc_rest.go | 21 +++++++++++++------ x/model/client/cli/tx_model_test.go | 31 ++++++++++++++++++++++------ 2 files changed, 40 insertions(+), 12 deletions(-) diff --git a/integration_tests/utils/grpc_rest.go b/integration_tests/utils/grpc_rest.go index 33fcfe333..e062ffd74 100644 --- a/integration_tests/utils/grpc_rest.go +++ b/integration_tests/utils/grpc_rest.go @@ -18,6 +18,7 @@ import ( "bufio" "context" "errors" + "fmt" "os" "path/filepath" "testing" @@ -135,7 +136,7 @@ func (suite *TestSuite) BuildTx( //nolint:nosnakecase func (suite *TestSuite) BroadcastTx(txBytes []byte) (*sdk.TxResponse, error) { - var broadcastResp *tx.BroadcastTxResponse + var txResponse *tx.GetTxResponse var err error body := tx.BroadcastTxRequest{ @@ -144,17 +145,20 @@ func (suite *TestSuite) BroadcastTx(txBytes []byte) (*sdk.TxResponse, error) { } if suite.Rest { - var _resp tx.BroadcastTxResponse + var _resp tx.GetTxResponse bodyBytes, err := suite.EncodingConfig.Codec.MarshalJSON(&body) require.NoError(suite.T, err) - respBytes, err := SendPostRequest("/cosmos/tx/v1beta1/txs", bodyBytes, "", "") + _, err = SendPostRequest("/cosmos/tx/v1beta1/txs", bodyBytes, "", "") if err != nil { return nil, err } + + respBytes, err := SendGetRequest(fmt.Sprintf("/cosmos/tx/v1beta1/txs/%s", _resp.GetTxResponse().TxHash)) + require.NoError(suite.T, err) require.NoError(suite.T, suite.EncodingConfig.Codec.UnmarshalJSON(respBytes, &_resp)) - broadcastResp = &_resp + txResponse = &_resp } else { grpcConn := suite.GetGRPCConn() defer grpcConn.Close() @@ -162,13 +166,18 @@ func (suite *TestSuite) BroadcastTx(txBytes []byte) (*sdk.TxResponse, error) { // Broadcast the tx via gRPC. We create a new client for the Protobuf Tx // service. txClient := tx.NewServiceClient(grpcConn) - broadcastResp, err = txClient.BroadcastTx(context.Background(), &body) + broadCastResponse, err := txClient.BroadcastTx(context.Background(), &body) + if err != nil { + return nil, err + } + + txResponse, err = txClient.GetTx(context.Background(), &tx.GetTxRequest{Hash: broadCastResponse.GetTxResponse().TxHash}) if err != nil { return nil, err } } - resp := broadcastResp.TxResponse + resp := txResponse.TxResponse if resp.Code != 0 { err = sdkerrors.ABCIError(resp.Codespace, resp.Code, resp.RawLog) diff --git a/x/model/client/cli/tx_model_test.go b/x/model/client/cli/tx_model_test.go index 6de05bc97..0badf0689 100644 --- a/x/model/client/cli/tx_model_test.go +++ b/x/model/client/cli/tx_model_test.go @@ -6,7 +6,9 @@ import ( "testing" "github.com/cosmos/cosmos-sdk/client/flags" + authtx "github.com/cosmos/cosmos-sdk/x/auth/tx" "github.com/stretchr/testify/require" + testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" testcli "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/network" @@ -65,9 +67,14 @@ func TestCreateModel(t *testing.T) { } args = append(args, fields...) args = append(args, common...) - _, err := testcli.ExecTestCLITxCmd(t, ctx, cli.CmdCreateModel(), args) + txResp, err := testcli.ExecTestCLITxCmd(t, ctx, cli.CmdCreateModel(), args) + require.NoError(t, err) + err = net.WaitForNextBlock() + require.NoError(t, err) if tc.err != nil { - require.ErrorIs(t, err, tc.err) + resp, err := authtx.QueryTx(ctx, txResp.TxHash) + require.NoError(t, err) + require.Contains(t, resp.RawLog, tc.err.Error()) } else { require.NoError(t, err) } @@ -107,6 +114,8 @@ func TestUpdateModel(t *testing.T) { args = append(args, common...) _, err := testcli.ExecTestCLITxCmd(t, ctx, cli.CmdCreateModel(), args) require.NoError(t, err) + err = net.WaitForNextBlock() + require.NoError(t, err) fields := []string{ fmt.Sprintf("--%s=%v", cli.FlagProductName, testconstants.ProductName) + "-updated", @@ -150,9 +159,13 @@ func TestUpdateModel(t *testing.T) { } args = append(args, fields...) args = append(args, common...) - _, err := testcli.ExecTestCLITxCmd(t, ctx, cli.CmdUpdateModel(), args) + txResp, err := testcli.ExecTestCLITxCmd(t, ctx, cli.CmdUpdateModel(), args) + require.NoError(t, err) + err = net.WaitForNextBlock() if tc.err != nil { - require.ErrorIs(t, err, tc.err) + resp, err := authtx.QueryTx(ctx, txResp.TxHash) + require.NoError(t, err) + require.Contains(t, resp.RawLog, tc.err.Error()) } else { require.NoError(t, err) } @@ -193,6 +206,8 @@ func TestDeleteModel(t *testing.T) { args = append(args, common...) _, err := testcli.ExecTestCLITxCmd(t, ctx, cli.CmdCreateModel(), args) require.NoError(t, err) + err = net.WaitForNextBlock() + require.NoError(t, err) for _, tc := range []struct { desc string @@ -221,9 +236,13 @@ func TestDeleteModel(t *testing.T) { fmt.Sprintf("--%s=%v", cli.FlagPid, tc.idPid), } args = append(args, common...) - _, err := testcli.ExecTestCLITxCmd(t, ctx, cli.CmdDeleteModel(), args) + txResp, err := testcli.ExecTestCLITxCmd(t, ctx, cli.CmdDeleteModel(), args) + waitErr := net.WaitForNextBlock() + require.NoError(t, waitErr) if tc.err != nil { - require.ErrorIs(t, err, tc.err) + resp, err := authtx.QueryTx(ctx, txResp.TxHash) + require.NoError(t, err) + require.Contains(t, resp.RawLog, tc.err.Error()) } else { require.NoError(t, err) } From 2552f31ce866631978c47825faa0ec5b9f217f56 Mon Sep 17 00:00:00 2001 From: Abdulbois Date: Wed, 31 Jan 2024 12:59:39 +0500 Subject: [PATCH 11/29] #303 Upgrade Cosmos-SDK to v0.47.3 - Fix unit tests - Update versions of deps Signed-off-by: Abdulbois Signed-off-by: Abdulbois --- Dockerfile-build | 2 +- Makefile | 2 +- cmd/dcld/cmd/root.go | 2 - go.mod | 54 ++++--- go.sum | 171 +++++++++++--------- integration_tests/run-all.sh | 1 + x/model/client/cli/tx_model_version_test.go | 20 ++- 7 files changed, 147 insertions(+), 105 deletions(-) diff --git a/Dockerfile-build b/Dockerfile-build index 99292d1df..815069b54 100644 --- a/Dockerfile-build +++ b/Dockerfile-build @@ -47,4 +47,4 @@ COPY docs/static ./docs/static/ ARG DCL_VERSION ARG DCL_COMMIT -RUN LEDGER_ENABLED=true make +RUN LEDGER_ENABLED=false make diff --git a/Makefile b/Makefile index 08a905c1a..58ceaae89 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ endif ### Process build tags -build_tags = netgo cgo +build_tags = netgo ifeq ($(LEDGER_ENABLED),true) ifeq ($(OS),Windows_NT) GCCEXE = $(shell where gcc.exe 2> NUL) diff --git a/cmd/dcld/cmd/root.go b/cmd/dcld/cmd/root.go index bd3e95f8e..65bf71b1d 100644 --- a/cmd/dcld/cmd/root.go +++ b/cmd/dcld/cmd/root.go @@ -10,7 +10,6 @@ import ( "github.com/spf13/cobra" "github.com/spf13/pflag" - rosettaCmd "cosmossdk.io/tools/rosetta/cmd" dbm "github.com/cometbft/cometbft-db" tmcfg "github.com/cometbft/cometbft/config" "github.com/cometbft/cometbft/libs/log" @@ -186,7 +185,6 @@ func initRootCmd( keys.Commands(app.DefaultNodeHome), ) - rootCmd.AddCommand(rosettaCmd.RosettaCommand(encodingConfig.InterfaceRegistry, encodingConfig.Codec)) } // queryCommand returns the sub-command to send queries to the app. diff --git a/go.mod b/go.mod index ed3343d72..44b2b567f 100644 --- a/go.mod +++ b/go.mod @@ -5,19 +5,18 @@ go 1.20 require ( cosmossdk.io/api v0.3.1 cosmossdk.io/core v0.5.1 - cosmossdk.io/errors v1.0.0-beta.7 - cosmossdk.io/math v1.0.1 - cosmossdk.io/tools/rosetta v0.2.1 + cosmossdk.io/errors v1.0.1 + cosmossdk.io/math v1.2.0 github.com/bufbuild/buf v1.7.0 - github.com/cometbft/cometbft v0.37.1 - github.com/cometbft/cometbft-db v0.7.0 + github.com/cometbft/cometbft v0.37.4 + github.com/cometbft/cometbft-db v0.8.0 github.com/cosmos/cosmos-proto v1.0.0-beta.2 - github.com/cosmos/cosmos-sdk v0.47.3 + github.com/cosmos/cosmos-sdk v0.47.8 github.com/cosmos/go-bip39 v1.0.0 github.com/cosmos/gogoproto v1.4.10 - github.com/go-playground/locales v0.14.0 - github.com/go-playground/universal-translator v0.18.0 - github.com/go-playground/validator/v10 v10.9.0 + github.com/go-playground/locales v0.14.1 + github.com/go-playground/universal-translator v0.18.1 + github.com/go-playground/validator/v10 v10.11.2 github.com/golang/protobuf v1.5.3 github.com/gorilla/mux v1.8.0 github.com/grpc-ecosystem/grpc-gateway v1.16.0 @@ -41,13 +40,14 @@ require ( cloud.google.com/go/compute/metadata v0.2.3 // indirect cloud.google.com/go/iam v1.1.5 // indirect cloud.google.com/go/storage v1.30.1 // indirect - cosmossdk.io/depinject v1.0.0-alpha.3 // indirect - cosmossdk.io/log v1.1.0 // indirect + cosmossdk.io/depinject v1.0.0-alpha.4 // indirect + cosmossdk.io/log v1.3.0 // indirect + cosmossdk.io/tools/rosetta v0.2.1 // indirect filippo.io/edwards25519 v1.0.0 // indirect github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect github.com/99designs/keyring v1.2.1 // indirect github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect - github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d // indirect + github.com/ChainSafe/go-schnorrkel v1.0.0 // indirect github.com/Microsoft/go-winio v0.6.0 // indirect github.com/armon/go-metrics v0.4.1 // indirect github.com/aws/aws-sdk-go v1.44.203 // indirect @@ -61,14 +61,17 @@ require ( github.com/cespare/xxhash v1.1.0 // indirect github.com/cespare/xxhash/v2 v2.2.0 // indirect github.com/chzyer/readline v1.5.1 // indirect + github.com/cockroachdb/errors v1.10.0 // indirect + github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect + github.com/cockroachdb/redact v1.1.5 // indirect github.com/coinbase/rosetta-sdk-go/types v1.0.0 // indirect github.com/confio/ics23/go v0.9.0 // indirect github.com/containerd/containerd v1.6.8 // indirect github.com/containerd/typeurl v1.0.2 // indirect github.com/cosmos/btcutil v1.0.5 // indirect github.com/cosmos/gogogateway v1.2.0 // indirect - github.com/cosmos/iavl v0.20.0 // indirect - github.com/cosmos/ledger-cosmos-go v0.12.1 // indirect + github.com/cosmos/iavl v0.20.1 // indirect + github.com/cosmos/ledger-cosmos-go v0.12.4 // indirect github.com/cosmos/rosetta-sdk-go v0.10.0 // indirect github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect github.com/creachadair/taskgroup v0.3.2 // indirect @@ -87,6 +90,7 @@ require ( github.com/dvsekhvalnov/jose2go v1.5.0 // indirect github.com/felixge/httpsnoop v1.0.2 // indirect github.com/fsnotify/fsnotify v1.6.0 // indirect + github.com/getsentry/sentry-go v0.23.0 // indirect github.com/ghodss/yaml v1.0.0 // indirect github.com/go-chi/chi/v5 v5.0.7 // indirect github.com/go-kit/kit v0.12.0 // indirect @@ -132,15 +136,18 @@ require ( github.com/jhump/protoreflect v1.15.1 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect github.com/jmhodges/levigo v1.0.0 // indirect - github.com/klauspost/compress v1.16.3 // indirect + github.com/klauspost/compress v1.16.7 // indirect github.com/klauspost/pgzip v1.2.5 // indirect + github.com/kr/pretty v0.3.1 // indirect + github.com/kr/text v0.2.0 // indirect github.com/leodido/go-urn v1.2.1 // indirect github.com/lib/pq v1.10.7 // indirect github.com/libp2p/go-buffer-pool v0.1.0 // indirect + github.com/linxGnu/grocksdb v1.7.16 // indirect github.com/magiconair/properties v1.8.6 // indirect github.com/manifoldco/promptui v0.9.0 // indirect github.com/mattn/go-colorable v0.1.13 // indirect - github.com/mattn/go-isatty v0.0.18 // indirect + github.com/mattn/go-isatty v0.0.20 // indirect github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect github.com/mimoo/StrobeGo v0.0.0-20210601165009-122bf33a46e0 // indirect github.com/minio/highwayhash v1.0.2 // indirect @@ -165,8 +172,9 @@ require ( github.com/prometheus/procfs v0.9.0 // indirect github.com/rakyll/statik v0.1.7 // indirect github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect + github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/rs/cors v1.8.2 // indirect - github.com/rs/zerolog v1.29.1 // indirect + github.com/rs/zerolog v1.31.0 // indirect github.com/russross/blackfriday/v2 v2.1.0 // indirect github.com/sasha-s/go-deadlock v0.3.1 // indirect github.com/sirupsen/logrus v1.9.0 // indirect @@ -175,7 +183,6 @@ require ( github.com/stretchr/objx v0.5.0 // indirect github.com/subosito/gotenv v1.4.1 // indirect github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect - github.com/tecbot/gorocksdb v0.0.0-20191217155057-f0fad39f321c // indirect github.com/tendermint/go-amino v0.16.0 // indirect github.com/tidwall/btree v1.6.0 // indirect github.com/ulikunitz/xz v0.5.11 // indirect @@ -191,19 +198,19 @@ require ( go.uber.org/multierr v1.8.0 // indirect go.uber.org/zap v1.23.0 // indirect golang.org/x/crypto v0.16.0 // indirect - golang.org/x/exp v0.0.0-20230515195305-f3d0a9c9a5cc // indirect - golang.org/x/mod v0.8.0 // indirect + golang.org/x/exp v0.0.0-20230711153332-06a737ee72cb // indirect + golang.org/x/mod v0.11.0 // indirect golang.org/x/net v0.19.0 // indirect golang.org/x/oauth2 v0.15.0 // indirect golang.org/x/sync v0.4.0 // indirect - golang.org/x/sys v0.15.0 // indirect + golang.org/x/sys v0.16.0 // indirect golang.org/x/term v0.15.0 // indirect golang.org/x/text v0.14.0 // indirect golang.org/x/tools v0.6.0 // indirect google.golang.org/api v0.149.0 // indirect google.golang.org/appengine v1.6.8 // indirect - google.golang.org/genproto v0.0.0-20231212172506-995d672761c0 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240102182953-50ed04b92917 // indirect + google.golang.org/genproto v0.0.0-20240102182953-50ed04b92917 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240108191215-35c7eff3a6b1 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect @@ -213,5 +220,6 @@ require ( replace ( github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0 + github.com/gin-gonic/gin => github.com/gin-gonic/gin v1.9.0 github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 ) diff --git a/go.sum b/go.sum index 2f95f2e10..4bfb625f7 100644 --- a/go.sum +++ b/go.sum @@ -191,14 +191,14 @@ cosmossdk.io/api v0.3.1 h1:NNiOclKRR0AOlO4KIqeaG6PS6kswOMhHD0ir0SscNXE= cosmossdk.io/api v0.3.1/go.mod h1:DfHfMkiNA2Uhy8fj0JJlOCYOBp4eWUUJ1te5zBGNyIw= cosmossdk.io/core v0.5.1 h1:vQVtFrIYOQJDV3f7rw4pjjVqc1id4+mE0L9hHP66pyI= cosmossdk.io/core v0.5.1/go.mod h1:KZtwHCLjcFuo0nmDc24Xy6CRNEL9Vl/MeimQ2aC7NLE= -cosmossdk.io/depinject v1.0.0-alpha.3 h1:6evFIgj//Y3w09bqOUOzEpFj5tsxBqdc5CfkO7z+zfw= -cosmossdk.io/depinject v1.0.0-alpha.3/go.mod h1:eRbcdQ7MRpIPEM5YUJh8k97nxHpYbc3sMUnEtt8HPWU= -cosmossdk.io/errors v1.0.0-beta.7 h1:gypHW76pTQGVnHKo6QBkb4yFOJjC+sUGRc5Al3Odj1w= -cosmossdk.io/errors v1.0.0-beta.7/go.mod h1:mz6FQMJRku4bY7aqS/Gwfcmr/ue91roMEKAmDUDpBfE= -cosmossdk.io/log v1.1.0 h1:v0ogPHYeTzPcBTcPR1A3j1hkei4pZama8kz8LKlCMv0= -cosmossdk.io/log v1.1.0/go.mod h1:6zjroETlcDs+mm62gd8Ig7mZ+N+fVOZS91V17H+M4N4= -cosmossdk.io/math v1.0.1 h1:Qx3ifyOPaMLNH/89WeZFH268yCvU4xEcnPLu3sJqPPg= -cosmossdk.io/math v1.0.1/go.mod h1:Ygz4wBHrgc7g0N+8+MrnTfS9LLn9aaTGa9hKopuym5k= +cosmossdk.io/depinject v1.0.0-alpha.4 h1:PLNp8ZYAMPTUKyG9IK2hsbciDWqna2z1Wsl98okJopc= +cosmossdk.io/depinject v1.0.0-alpha.4/go.mod h1:HeDk7IkR5ckZ3lMGs/o91AVUc7E596vMaOmslGFM3yU= +cosmossdk.io/errors v1.0.1 h1:bzu+Kcr0kS/1DuPBtUFdWjzLqyUuCiyHjyJB6srBV/0= +cosmossdk.io/errors v1.0.1/go.mod h1:MeelVSZThMi4bEakzhhhE/CKqVv3nOJDA25bIqRDu/U= +cosmossdk.io/log v1.3.0 h1:L0Z0XstClo2kOU4h3V1iDoE5Ji64sg5HLOogzGg67Oo= +cosmossdk.io/log v1.3.0/go.mod h1:HIDyvWLqZe2ovlWabsDN4aPMpY/nUEquAhgfTf2ZzB8= +cosmossdk.io/math v1.2.0 h1:8gudhTkkD3NxOP2YyyJIYYmt6dQ55ZfJkDOaxXpy7Ig= +cosmossdk.io/math v1.2.0/go.mod h1:l2Gnda87F0su8a/7FEKJfFdJrM0JZRXQaohlgJeyQh0= cosmossdk.io/tools/rosetta v0.2.1 h1:ddOMatOH+pbxWbrGJKRAawdBkPYLfKXutK9IETnjYxw= cosmossdk.io/tools/rosetta v0.2.1/go.mod h1:Pqdc1FdvkNV3LcNIkYWt2RQY6IP1ge6YWZk8MhhO9Hw= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= @@ -210,8 +210,8 @@ github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 h1:UQHMgLO+TxOEl github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d h1:nalkkPQcITbvhmL4+C4cKA87NW0tfm3Kl9VXRoPywFg= -github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d/go.mod h1:URdX5+vg25ts3aCh8H5IFZybJYKWhJHYMTnf+ULtoC4= +github.com/ChainSafe/go-schnorrkel v1.0.0 h1:3aDA67lAykLaG1y3AOjs88dMxC88PgUuHRrLeDnvGIM= +github.com/ChainSafe/go-schnorrkel v1.0.0/go.mod h1:dpzHYVxLZcp8pjlV+O+UR8K0Hp/z7vcchBSbMBEhCw4= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= github.com/Microsoft/go-winio v0.6.0 h1:slsWYD/zyx7lCXoZVlvQrj0hPTM1HI4+v1sIda2yDvg= @@ -225,7 +225,6 @@ github.com/VividCortex/gohistogram v1.0.0 h1:6+hBz+qvs0JOrrNhhmR7lFxo5sINxBCGXrd github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g= github.com/adlio/schema v1.3.3 h1:oBJn8I02PyTB466pZO1UZEn1TV5XLlifBSyMrmHl/1I= github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c= -github.com/alecthomas/participle/v2 v2.0.0-alpha7 h1:cK4vjj0VSgb3lN1nuKA5F7dw+1s1pWBe5bx7nNCnN+c= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= @@ -267,6 +266,9 @@ github.com/bufbuild/connect-go v1.0.0 h1:htSflKUT8y1jxhoPhPYTZMrsY3ipUXjjrbcZR5O github.com/bufbuild/connect-go v1.0.0/go.mod h1:9iNvh/NOsfhNBUH5CtvXeVUskQO1xsrEviH7ZArwZ3I= github.com/bufbuild/protocompile v0.4.0 h1:LbFKd2XowZvQ/kajzguUp2DC9UEIQhIq77fZZlaQsNA= github.com/bufbuild/protocompile v0.4.0/go.mod h1:3v93+mbWn/v3xzN+31nwkJfrEpAUwp+BagBSZWx+TP8= +github.com/bytedance/sonic v1.5.0/go.mod h1:ED5hyg4y6t3/9Ku1R6dU/4KyJ48DZ4jPhfY1O2AihPM= +github.com/bytedance/sonic v1.8.0 h1:ea0Xadu+sHlu7x5O3gKhRpQ1IKiMrSiHttPF0ybECuA= +github.com/bytedance/sonic v1.8.0/go.mod h1:i736AoUSYt75HyZLoJW9ERYxcy6eaN6h4BZXU064P/U= github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ= github.com/cenkalti/backoff v2.2.1+incompatible h1:tNowT99t7UNflLxfYYSlKYsBpXdEet03Pg2g16Swow4= github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= @@ -280,6 +282,9 @@ github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XL github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cheggaaa/pb v1.0.27/go.mod h1:pQciLPpbU0oxA0h+VJYYLxO+XeDQb5pZijXscXHm81s= +github.com/chenzhuoyu/base64x v0.0.0-20211019084208-fb5309c8db06/go.mod h1:DH46F32mSOjUmXrMHnKwZdA8wcEefY7UVqBKYGjpdQY= +github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 h1:qSGYFH7+jGhDF8vLC+iwCD4WpbV1EBDSzWkJODFLams= +github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311/go.mod h1:b583jCggY9gE99b6G5LEC39OIiVsWj+R97kbl5odCEk= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/logex v1.2.1 h1:XHDu3E6q+gdHgsdTPH6ImJMIp436vR6MPtH8gP05QzM= github.com/chzyer/logex v1.2.1/go.mod h1:JLbx6lG2kDbNRFnfkgvh4eRJRPX1QCoOIWomwysCBrQ= @@ -304,15 +309,20 @@ github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20230607035331-e9ce68804cb4 h1:/inchEIKaYC1Akx+H+gqO04wryn5h75LSazbRlnya1k= github.com/cockroachdb/apd/v2 v2.0.2 h1:weh8u7Cneje73dDh+2tEVLUvyBc89iwepWCD8b8034E= -github.com/cockroachdb/apd/v3 v3.1.0 h1:MK3Ow7LH0W8zkd5GMKA1PvS9qG3bWFI95WaVNfyZJ/w= github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= +github.com/cockroachdb/errors v1.10.0 h1:lfxS8zZz1+OjtV4MtNWgboi/W5tyLEB6VQZBXN+0VUU= +github.com/cockroachdb/errors v1.10.0/go.mod h1:lknhIsEVQ9Ss/qKDBQS/UqFSvPQjOwNq2qyKAxtHRqE= +github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b h1:r6VH0faHjZeQy818SGhaone5OnYfxFR/+AzdY3sf5aE= +github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b/go.mod h1:Vz9DsVWQQhf3vs21MhPMZpMGSht7O/2vFW2xusFUVOs= +github.com/cockroachdb/redact v1.1.5 h1:u1PMllDkdFfPWaNGMyLD1+so+aq3uUItthCFqzwPJ30= +github.com/cockroachdb/redact v1.1.5/go.mod h1:BVNblN9mBWFyMyqK1k3AAiSxhvhfK2oOZZ2lK+dpvRg= github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= github.com/coinbase/rosetta-sdk-go/types v1.0.0 h1:jpVIwLcPoOeCR6o1tU+Xv7r5bMONNbHU7MuEHboiFuA= github.com/coinbase/rosetta-sdk-go/types v1.0.0/go.mod h1:eq7W2TMRH22GTW0N0beDnN931DW0/WOI1R2sdHNHG4c= -github.com/cometbft/cometbft v0.37.1 h1:KLxkQTK2hICXYq21U2hn1W5hOVYUdQgDQ1uB+90xPIg= -github.com/cometbft/cometbft v0.37.1/go.mod h1:Y2MMMN//O5K4YKd8ze4r9jmk4Y7h0ajqILXbH5JQFVs= -github.com/cometbft/cometbft-db v0.7.0 h1:uBjbrBx4QzU0zOEnU8KxoDl18dMNgDh+zZRUE0ucsbo= -github.com/cometbft/cometbft-db v0.7.0/go.mod h1:yiKJIm2WKrt6x8Cyxtq9YTEcIMPcEe4XPxhgX59Fzf0= +github.com/cometbft/cometbft v0.37.4 h1:xyvvEqlyfK8MgNIIKVJaMsuIp03wxOcFmVkT26+Ikpg= +github.com/cometbft/cometbft v0.37.4/go.mod h1:Cmg5Hp4sNpapm7j+x0xRyt2g0juQfmB752ous+pA0G8= +github.com/cometbft/cometbft-db v0.8.0 h1:vUMDaH3ApkX8m0KZvOFFy9b5DZHBAjsnEuo9AKVZpjo= +github.com/cometbft/cometbft-db v0.8.0/go.mod h1:6ASCP4pfhmrCBpfk01/9E1SI29nD3HfVHrY4PG8x5c0= github.com/confio/ics23/go v0.9.0 h1:cWs+wdbS2KRPZezoaaj+qBleXgUk5WOQFMP3CQFGTr4= github.com/confio/ics23/go v0.9.0/go.mod h1:4LPZ2NYqnYIVRklaozjNR1FScgDJ2s5Xrp+e/mYVRak= github.com/containerd/containerd v1.6.8 h1:h4dOFDwzHmqFEP754PgfgTeVXFnLiRc6kiqC7tplDJs= @@ -330,8 +340,8 @@ github.com/cosmos/btcutil v1.0.5 h1:t+ZFcX77LpKtDBhjucvnOH8C2l2ioGsBNEQ3jef8xFk= github.com/cosmos/btcutil v1.0.5/go.mod h1:IyB7iuqZMJlthe2tkIFL33xPyzbFYP0XVdS8P5lUPis= github.com/cosmos/cosmos-proto v1.0.0-beta.2 h1:X3OKvWgK9Gsejo0F1qs5l8Qn6xJV/AzgIWR2wZ8Nua8= github.com/cosmos/cosmos-proto v1.0.0-beta.2/go.mod h1:+XRCLJ14pr5HFEHIUcn51IKXD1Fy3rkEQqt4WqmN4V0= -github.com/cosmos/cosmos-sdk v0.47.3 h1:r0hGmZoAzP2D+MaPaFGHwAaTdFQq3pNpHaUp1BsffbM= -github.com/cosmos/cosmos-sdk v0.47.3/go.mod h1:c4OfLdAykA9zsj1CqrxBRqXzVz48I++JSvIMPSPcEmk= +github.com/cosmos/cosmos-sdk v0.47.8 h1:kzYF2xhnfi8dy15t2VVS24tc2KcuU4JBgjh9yCFx4y4= +github.com/cosmos/cosmos-sdk v0.47.8/go.mod h1:VTAtthIsmfplanhFfUTfT6ED4F+kkJxT7nmvmKXRthI= github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y= github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY= github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw= @@ -340,12 +350,12 @@ github.com/cosmos/gogogateway v1.2.0/go.mod h1:iQpLkGWxYcnCdz5iAdLcRBSw3h7NXeOkZ github.com/cosmos/gogoproto v1.4.2/go.mod h1:cLxOsn1ljAHSV527CHOtaIP91kK6cCrZETRBrkzItWU= github.com/cosmos/gogoproto v1.4.10 h1:QH/yT8X+c0F4ZDacDv3z+xE3WU1P1Z3wQoLMBRJoKuI= github.com/cosmos/gogoproto v1.4.10/go.mod h1:3aAZzeRWpAwr+SS/LLkICX2/kDFyaYVzckBDzygIxek= -github.com/cosmos/iavl v0.20.0 h1:fTVznVlepH0KK8NyKq8w+U7c2L6jofa27aFX6YGlm38= -github.com/cosmos/iavl v0.20.0/go.mod h1:WO7FyvaZJoH65+HFOsDir7xU9FWk2w9cHXNW1XHcl7A= +github.com/cosmos/iavl v0.20.1 h1:rM1kqeG3/HBT85vsZdoSNsehciqUQPWrR4BYmqE2+zg= +github.com/cosmos/iavl v0.20.1/go.mod h1:WO7FyvaZJoH65+HFOsDir7xU9FWk2w9cHXNW1XHcl7A= github.com/cosmos/keyring v1.2.0 h1:8C1lBP9xhImmIabyXW4c3vFjjLiBdGCmfLUfeZlV1Yo= github.com/cosmos/keyring v1.2.0/go.mod h1:fc+wB5KTk9wQ9sDx0kFXB3A0MaeGHM9AwRStKOQ5vOA= -github.com/cosmos/ledger-cosmos-go v0.12.1 h1:sMBxza5p/rNK/06nBSNmsI/WDqI0pVJFVNihy1Y984w= -github.com/cosmos/ledger-cosmos-go v0.12.1/go.mod h1:dhO6kj+Y+AHIOgAe4L9HL/6NDdyyth4q238I9yFpD2g= +github.com/cosmos/ledger-cosmos-go v0.12.4 h1:drvWt+GJP7Aiw550yeb3ON/zsrgW0jgh5saFCr7pDnw= +github.com/cosmos/ledger-cosmos-go v0.12.4/go.mod h1:fjfVWRf++Xkygt9wzCsjEBdjcf7wiiY35fv3ctT+k4M= github.com/cosmos/rosetta-sdk-go v0.10.0 h1:E5RhTruuoA7KTIXUcMicL76cffyeoyvNybzUGSKFTcM= github.com/cosmos/rosetta-sdk-go v0.10.0/go.mod h1:SImAZkb96YbwvoRkzSMQB6noNJXFgWl/ENIznEoYQI4= github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= @@ -358,8 +368,6 @@ github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7Do github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/creack/pty v1.1.11 h1:07n33Z8lZxZ2qwegKbObQohDhXDQxiMMz1NOUGYlesw= github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/cucumber/common/gherkin/go/v22 v22.0.0 h1:4K8NqptbvdOrjL9DEea6HFjSpbdT9+Q5kgLpmmsHYl0= -github.com/cucumber/common/messages/go/v17 v17.1.1 h1:RNqopvIFyLWnKv0LfATh34SWBhXeoFTJnSrgm9cT/Ts= github.com/danieljoos/wincred v1.1.2 h1:QLdCxFs1/Yl4zduvBdcHB8goaYk9RARS2SgLLRuAyr0= github.com/danieljoos/wincred v1.1.2/go.mod h1:GijpziifJoIBfYh+S7BbkdUTU4LfM+QnGqR5Vl2tAx0= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -409,9 +417,6 @@ github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go. github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/envoyproxy/protoc-gen-validate v1.0.2 h1:QkIBuU5k+x7/QXPvPPnWXWlCdaBFApVqftFV6k087DA= -github.com/facebookgo/ensure v0.0.0-20200202191622-63f1cf65ac4c h1:8ISkoahWXwZR41ois5lSJBSVw4D0OV19Ht/JSTzvSv0= -github.com/facebookgo/stack v0.0.0-20160209184415-751773369052 h1:JWuenKqqX8nojtoVVWjGfOF9635RETekkoH6Cc9SX0A= -github.com/facebookgo/subset v0.0.0-20200203212716-c811ad88dec4 h1:7HZCaLC5+BZpmbhCOZJ293Lz68O7PYrF2EzeiFMwCLk= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/felixge/httpsnoop v1.0.2 h1:+nS9g82KMXccJ/wp0zyRW9ZBHFETmMGtkk+2CTTrW4o= @@ -424,14 +429,17 @@ github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMo github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY= github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw= +github.com/getsentry/sentry-go v0.23.0 h1:dn+QRCeJv4pPt9OjVXiMcGIBIefaTJPw/h0bZWO05nE= +github.com/getsentry/sentry-go v0.23.0/go.mod h1:lc76E2QywIyW8WuBnwl8Lc4bkmQH4+w1gwTf25trprY= github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= -github.com/gin-gonic/gin v1.6.3 h1:ahKqKTFpO5KTPHxWZjEdPScmYaGtLo8Y4DMHoEsnp14= -github.com/gin-gonic/gin v1.6.3/go.mod h1:75u5sXoLsGZoRN5Sgbi1eraJ4GU3++wFwWzhwvtwp4M= +github.com/gin-gonic/gin v1.9.0 h1:OjyFBKICoexlu99ctXNR2gg+c5pKrKMuyjgARg9qeY8= +github.com/gin-gonic/gin v1.9.0/go.mod h1:W1Me9+hsUSyj3CePGrd1/QrKJMSJ1Tu/0hFEH89961k= github.com/go-chi/chi/v5 v5.0.7 h1:rDTPXLDHGATaeHvVlLcR4Qe0zftYethFucbjVQ1PxU8= github.com/go-chi/chi/v5 v5.0.7/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= +github.com/go-errors/errors v1.4.2 h1:J6MZopCL4uSllY1OfXM374weqZFFItUbrImctkmUxIA= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= @@ -452,17 +460,14 @@ github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ= github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= -github.com/go-playground/assert/v2 v2.0.1 h1:MsBgLAaY856+nPRTKrp3/OZK38U/wa0CcBYNjji3q3A= -github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= -github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8= -github.com/go-playground/locales v0.14.0 h1:u50s323jtVGugKlcYeyzC0etD1HifMjqmJqb8WugfUU= -github.com/go-playground/locales v0.14.0/go.mod h1:sawfccIbzZTqEDETgFXqTho0QybSa7l++s0DH+LDiLs= -github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+Scu5vgOQjsIJAF8j9muTVoKLVtA= -github.com/go-playground/universal-translator v0.18.0 h1:82dyy6p4OuJq4/CByFNOn/jYrnRPArHwAcmLoJZxyho= -github.com/go-playground/universal-translator v0.18.0/go.mod h1:UvRDBj+xPUEGrFYl+lu/H90nyDXpg0fqeB/AQUGNTVA= -github.com/go-playground/validator/v10 v10.2.0/go.mod h1:uOYAAleCW8F/7oMFd6aG0GOhaH6EGOAJShg8Id5JGkI= -github.com/go-playground/validator/v10 v10.9.0 h1:NgTtmN58D0m8+UuxtYmGztBJB7VnPgjj221I1QHci2A= -github.com/go-playground/validator/v10 v10.9.0/go.mod h1:74x4gJWsvQexRdW8Pn3dXSGrTK4nAUsbPlLADvpJkos= +github.com/go-playground/assert/v2 v2.2.0 h1:JvknZsQTYeFEAhQwI4qEt9cyV5ONwRHC+lYKSsYSR8s= +github.com/go-playground/assert/v2 v2.2.0/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= +github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/oXslEjJA= +github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY= +github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY= +github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY= +github.com/go-playground/validator/v10 v10.11.2 h1:q3SHpufmypg+erIExEKUmsgmhDTyhcJ38oeKGACXohU= +github.com/go-playground/validator/v10 v10.11.2/go.mod h1:NieE624vt4SCTJtD87arVLvdmjPAeV8BQlHtMnw9D7s= github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee h1:s+21KNqlpePfkah2I+gwHF8xmJWRjooY+5248k6m4A0= @@ -471,6 +476,8 @@ github.com/gobwas/pool v0.2.0 h1:QEmUOlnSjWtnpRGHF3SauEiOsy82Cup83Vf2LcMlnc8= github.com/gobwas/pool v0.2.0/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw= github.com/gobwas/ws v1.0.2 h1:CoAavW/wd/kulfZmSIBt6p24n4j7tHgNVCjsfHVNUbo= github.com/gobwas/ws v1.0.2/go.mod h1:szmBTxLgaFppYjEmNtny/v3w89xOydFnnZMcgRRu/EM= +github.com/goccy/go-json v0.10.0 h1:mXKd9Qw4NuzShiRlOXKews24ufknHO7gx30lsDyokKA= +github.com/goccy/go-json v0.10.0/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 h1:ZpnhV/YsD2/4cESfV5+Hoeu/iUR3ruzNvZ+yQfO03a0= github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2/go.mod h1:bBOAhwG1umN6/6ZUMtDFBMQR8jRg9O75tm9K00oMsK4= github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= @@ -707,6 +714,7 @@ github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/u github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= +github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= @@ -720,8 +728,10 @@ github.com/klauspost/compress v1.10.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYs github.com/klauspost/compress v1.11.7/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= github.com/klauspost/compress v1.12.3/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg= github.com/klauspost/compress v1.15.11/go.mod h1:QPwzmACJjUTFsnSHH934V6woptycfrDDJnH7hvFVbGM= -github.com/klauspost/compress v1.16.3 h1:XuJt9zzcnaz6a16/OU53ZjWp/v7/42WcR5t2a0PcNQY= -github.com/klauspost/compress v1.16.3/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE= +github.com/klauspost/compress v1.16.7 h1:2mk3MPGNzKyxErAw8YaohYh69+pa4sIQSC0fPGCFR9I= +github.com/klauspost/compress v1.16.7/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE= +github.com/klauspost/cpuid/v2 v2.0.9 h1:lgaqFMSdTdQYdZ04uHyN2d/eKdOMyi2YLSvlQIBFYa4= +github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= github.com/klauspost/pgzip v1.2.5 h1:qnWYvvKqedOF2ulHpMG72XQol4ILEJ8k2wwRl/Km8oE= github.com/klauspost/pgzip v1.2.5/go.mod h1:Ch1tH69qFZu15pkjo5kYi6mth2Zzwzt50oCQKQE9RUs= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= @@ -732,11 +742,11 @@ github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORN github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= +github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= github.com/leodido/go-urn v1.2.1 h1:BqpAaACuzVSgi/VLzGZIobT2z4v53pjosyNd9Yv6n/w= github.com/leodido/go-urn v1.2.1/go.mod h1:zt4jvISO2HfUBqxjfIshjdMTYS56ZS/qv49ictyFfxY= github.com/lib/pq v1.10.7 h1:p7ZhMD+KsSRozJr34udlUrhboJwWAgCg34+/ZZNvZZw= @@ -745,6 +755,8 @@ github.com/libp2p/go-buffer-pool v0.1.0 h1:oK4mSFcQz7cTQIfqbe4MIj9gLW+mnanjyFtc6 github.com/libp2p/go-buffer-pool v0.1.0/go.mod h1:N+vh8gMqimBzdKkSMVuydVDq+UV5QTWy5HSiZacSbPg= github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM= github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4= +github.com/linxGnu/grocksdb v1.7.16 h1:Q2co1xrpdkr5Hx3Fp+f+f7fRGhQFQhvi/+226dtLmA8= +github.com/linxGnu/grocksdb v1.7.16/go.mod h1:JkS7pl5qWpGpuVb3bPqTz8nC12X3YtPZT+Xq7+QfQo4= github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/magiconair/properties v1.8.6 h1:5ibWZ6iY0NctNGWo87LalDlEZ6R41TqbbDamhfG/Qzo= @@ -752,16 +764,15 @@ github.com/magiconair/properties v1.8.6/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPK github.com/manifoldco/promptui v0.9.0 h1:3V4HzJk1TtXW1MTZMP7mdlwbBpIinw3HztaIlYthEiA= github.com/manifoldco/promptui v0.9.0/go.mod h1:ka04sppxSGFAtxX0qhlYQjISsg9mR4GWtQEhdbn6Pgg= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= -github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= -github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= -github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= -github.com/mattn/go-isatty v0.0.18 h1:DOKFKCQ7FNG2L1rbrmstDN4QVRdS89Nkh85u68Uwp98= -github.com/mattn/go-isatty v0.0.18/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= +github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= +github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= @@ -796,6 +807,7 @@ github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJ github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= +github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= github.com/morikuni/aec v1.0.0 h1:nP9CBfwrvYnBRgY6qfDQkygYDmYwOilePFkwzv4dU8A= github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= github.com/mtibben/percent v0.2.1 h1:5gssi8Nqo8QU/r2pynCm+hBQHpkB/uNK7BJCFogWdzs= @@ -849,6 +861,7 @@ github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtP github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8= github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= +github.com/pelletier/go-toml/v2 v2.0.6/go.mod h1:eumQOmlWiOPt5WriQQqoM5y18pDHwha2N+QD+EUNTek= github.com/pelletier/go-toml/v2 v2.0.7 h1:muncTPStnKRos5dpVKULv2FVd4bMOhNePj9CjgDb8Us= github.com/pelletier/go-toml/v2 v2.0.7/go.mod h1:eumQOmlWiOPt5WriQQqoM5y18pDHwha2N+QD+EUNTek= github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac= @@ -857,6 +870,7 @@ github.com/petermattis/goid v0.0.0-20230317030725-371a4b8eda08 h1:hDSdbBuw3Lefr6 github.com/petermattis/goid v0.0.0-20230317030725-371a4b8eda08/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4= github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= +github.com/pingcap/errors v0.11.4 h1:lFuQV/oaUMGcD2tqt+01ROSmJs75VG1ToEOkZIZ4nE4= github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 h1:KoWmjvw+nsYOo29YJK9vDA65RGE3NrOnUtO7a+RF9HU= github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8/go.mod h1:HKlIX3XHQyzLZPlr7++PzdhaXEj94dEiJgZDTsxEqUI= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= @@ -908,19 +922,20 @@ github.com/rakyll/statik v0.1.7/go.mod h1:AlZONWzMtEnMs7W4e/1LURLiI49pIMmp6V9Ung github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 h1:N/ElC8H3+5XpJzTSTfLsJV/mx9Q9g7kxmchpfZyxgzM= github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= -github.com/regen-network/gocuke v0.6.2 h1:pHviZ0kKAq2U2hN2q3smKNxct6hS0mGByFMHGnWA97M= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= github.com/rogpeppe/go-internal v1.8.0/go.mod h1:WmiCO8CzOY8rg0OYDC4/i/2WRWAB6poM+XZ2dLUbcbE= -github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= +github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= +github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= +github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= github.com/rs/cors v1.7.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU= github.com/rs/cors v1.8.2 h1:KCooALfAYGs415Cwu5ABvv9n9509fSiG5SQJn/AQo4U= github.com/rs/cors v1.8.2/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU= -github.com/rs/xid v1.4.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg= -github.com/rs/zerolog v1.29.1 h1:cO+d60CHkknCbvzEWxP0S9K6KqyTjrCNUy1LdQLCGPc= -github.com/rs/zerolog v1.29.1/go.mod h1:Le6ESbR7hc+DP6Lt1THiV8CQSdkkNrd3R0XbEgp3ZBU= +github.com/rs/xid v1.5.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg= +github.com/rs/zerolog v1.31.0 h1:FcTR3NnLWW+NnTwwhFWiJSZr4ECLpqCm6QsEnyvbV4A= +github.com/rs/zerolog v1.31.0/go.mod h1:/7mN4D5sKwJLZQ2b/znpjC3/GQWY/xaDXUM0kKWRHss= github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= @@ -987,19 +1002,17 @@ github.com/subosito/gotenv v1.4.1 h1:jyEFiXpy21Wm81FBN71l9VoMMV8H8jG+qIK3GCpY6Qs github.com/subosito/gotenv v1.4.1/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 h1:epCh84lMvA70Z7CTTCmYQn2CKbY8j86K7/FAIr141uY= github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc= -github.com/tecbot/gorocksdb v0.0.0-20191217155057-f0fad39f321c h1:g+WoO5jjkqGAzHWCjJB1zZfXPIAaDpzXIEJ0eS6B5Ok= -github.com/tecbot/gorocksdb v0.0.0-20191217155057-f0fad39f321c/go.mod h1:ahpPrc7HpcfEWDQRZEmnXMzHY03mLDYMCxeDzy46i+8= github.com/tendermint/go-amino v0.16.0 h1:GyhmgQKvqF82e2oZeuMSp9JTN0N09emoSZlb2lyGa2E= github.com/tendermint/go-amino v0.16.0/go.mod h1:TQU0M1i/ImAo+tYpZi73AU3V/dKeCoMC9Sphe2ZwGME= github.com/tidwall/btree v1.6.0 h1:LDZfKfQIBHGHWSwckhXI0RPSXzlo+KYdjK7FWSqOzzg= github.com/tidwall/btree v1.6.0/go.mod h1:twD9XRA5jj9VUQGELzDO4HPQTNJsoWWfYEL+EUQ2cKY= github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM= -github.com/ugorji/go v1.1.7 h1:/68gy2h+1mWMrwZFeD1kQialdSzAb432dtpeJ42ovdo= -github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw= +github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS4MhqMhdFk5YI= +github.com/twitchyliquid64/golang-asm v0.15.1/go.mod h1:a1lVb/DtPvCB8fslRZhAngC2+aY1QWCk3Cedj/Gdt08= github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= -github.com/ugorji/go/codec v1.1.7 h1:2SvQaVZ1ouYrrKKwoSk2pzd4A9evlKJb9oTL+OaLUSs= -github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY= +github.com/ugorji/go/codec v1.2.9 h1:rmenucSohSTiyL09Y+l2OCk+FrMxGMzho2+tjr5ticU= +github.com/ugorji/go/codec v1.2.9/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZgYf6w6lg= github.com/ulikunitz/xz v0.5.10/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= github.com/ulikunitz/xz v0.5.11 h1:kpFauv27b6ynzBNT/Xy+1k+fK4WswhN/6PN5WhFAGw8= github.com/ulikunitz/xz v0.5.11/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= @@ -1058,6 +1071,8 @@ go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= go.uber.org/zap v1.23.0 h1:OjGQ5KQDEUawVHxNwQgPpiypGHOxo2mNZsOqTak4fFY= go.uber.org/zap v1.23.0/go.mod h1:D+nX8jyLsMHMYrln8A0rJjFt/T/9/bGgIhAqxv5URuY= +golang.org/x/arch v0.0.0-20210923205945-b76863e36670 h1:18EFjUmQOcUvxNYSkA6jO9VAiXCnxFY6NyDX0bHDmkU= +golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= @@ -1070,9 +1085,9 @@ golang.org/x/crypto v0.0.0-20191206172530-e9b2fee46413/go.mod h1:LzIPMQfyMNhhGPh golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= -golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.5.0/go.mod h1:NK/OQwhpMQP3MwtdjgLlYHnH9ebylxKWv3e0fK+mkQU= golang.org/x/crypto v0.16.0 h1:mMMrFzRSCF0GvB7Ne27XVtVAaXLrPmgPC7/v0tkwHaY= golang.org/x/crypto v0.16.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -1086,8 +1101,8 @@ golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u0 golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= golang.org/x/exp v0.0.0-20200331195152-e8c3332aa8e5/go.mod h1:4M0jN8W1tt0AVLNr8HDosyJCDCDuyL9N9+3m7wDWgKw= -golang.org/x/exp v0.0.0-20230515195305-f3d0a9c9a5cc h1:mCRnTeVUjcrhlRmO0VK8a6k6Rrf6TF9htwo2pJVSjIU= -golang.org/x/exp v0.0.0-20230515195305-f3d0a9c9a5cc/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w= +golang.org/x/exp v0.0.0-20230711153332-06a737ee72cb h1:xIApU0ow1zwMa2uL1VDNeQlNVFTWMQxZUZCMDy0Q4Us= +golang.org/x/exp v0.0.0-20230711153332-06a737ee72cb/go.mod h1:FXUEEKJgO7OQYeo8N01OfiKP8RXMtf6e8aTskBGqWdc= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -1114,8 +1129,8 @@ golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/mod v0.8.0 h1:LUYupSeNrTNCGzR/hVBk2NHZO4hXcVaW1k4Qx7rjPx8= -golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.11.0 h1:bUO06HqtnRcc/7l71XBe4WcqTZ+3AH1J59zWDDwLKgU= +golang.org/x/mod v0.11.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -1176,6 +1191,8 @@ golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug golang.org/x/net v0.0.0-20220909164309-bea034e7d591/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.0.0-20221014081412-f15817d10f9b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= +golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws= +golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.19.0 h1:zTwKpTd2XuCqf8huc7Fo2iSy+4RHPd10s4KzeTnVr1c= golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= @@ -1252,7 +1269,6 @@ golang.org/x/sys v0.0.0-20191220142924-d4481acd189f/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -1296,7 +1312,6 @@ golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20210819135213-f52c844e1c1c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211210111614-af8b64212486/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -1320,12 +1335,17 @@ golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20221010170243-090e33056c14/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc= -golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU= +golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/term v0.4.0/go.mod h1:9P2UbLfCdcvo3p/nzKvsmas4TnlujnuoV9hGgYzW1lQ= +golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= golang.org/x/term v0.15.0 h1:y/Oo/a/q3IXu26lQgl04j/gjuBDOBlx7X6Om1j2CPW4= golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -1339,13 +1359,15 @@ golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20220609170525-579cf78fd858 h1:Dpdu/EMxGMFgq0CeYMh4fazTD2vtlZRYE7wyynxJb9U= +golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4= golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -1589,12 +1611,12 @@ google.golang.org/genproto v0.0.0-20221010155953-15ba04fc1c0e/go.mod h1:3526vdqw google.golang.org/genproto v0.0.0-20221014173430-6e2ab493f96b/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM= google.golang.org/genproto v0.0.0-20221014213838-99cd37c6964a/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM= google.golang.org/genproto v0.0.0-20221025140454-527a21cfbd71/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= -google.golang.org/genproto v0.0.0-20231212172506-995d672761c0 h1:YJ5pD9rF8o9Qtta0Cmy9rdBwkSjrTCT6XTiUQVOtIos= -google.golang.org/genproto v0.0.0-20231212172506-995d672761c0/go.mod h1:l/k7rMz0vFTBPy+tFSGvXEd3z+BcoG1k7EHbqm+YBsY= +google.golang.org/genproto v0.0.0-20240102182953-50ed04b92917 h1:nz5NESFLZbJGPFxDT/HCn+V1mZ8JGNoY4nUpmW/Y2eg= +google.golang.org/genproto v0.0.0-20240102182953-50ed04b92917/go.mod h1:pZqR+glSb11aJ+JQcczCvgf47+duRuzNSKqE8YAQnV0= google.golang.org/genproto/googleapis/api v0.0.0-20240102182953-50ed04b92917 h1:rcS6EyEaoCO52hQDupoSfrxI3R6C2Tq741is7X8OvnM= google.golang.org/genproto/googleapis/api v0.0.0-20240102182953-50ed04b92917/go.mod h1:CmlNWB9lSezaYELKS5Ym1r44VrrbPUa7JTvw+6MbpJ0= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240102182953-50ed04b92917 h1:6G8oQ016D88m1xAKljMlBOOGWDZkes4kMhgGFlf8WcQ= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240102182953-50ed04b92917/go.mod h1:xtjpI3tXFPP051KaWnhvxkiubL/6dJ18vLVf7q2pTOU= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240108191215-35c7eff3a6b1 h1:gphdwh0npgs8elJ4T6J+DQJHPVF7RsuJHCfwztUb4J4= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240108191215-35c7eff3a6b1/go.mod h1:daQN87bsDqDoe316QbbvX60nMoJQa4r6Ds0ZuoAe5yA= google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.0/go.mod h1:chYK+tFQF0nDUGJgXMSgLCQk3phJEuONr2DCgLDdAQM= @@ -1692,7 +1714,7 @@ gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo= gotest.tools/v3 v3.0.2/go.mod h1:3SzNCllyD9/Y+b5r9JIKQ474KzkZyqLqEfYqMsX94Bk= -gotest.tools/v3 v3.4.0 h1:ZazjZUfuVeZGLAmlKKuyv3IKP5orXcwtOwDQH6YVr6o= +gotest.tools/v3 v3.5.1 h1:EENdUnS3pdur5nybKYIh2Vfgc8IUNBjxDPSjtiJcOzU= honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= @@ -1706,6 +1728,7 @@ nhooyr.io/websocket v1.8.6/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0 pgregory.net/rapid v0.5.5 h1:jkgx1TjbQPD/feRoK+S/mXw9e1uj6WilpHrXJowi6oA= pgregory.net/rapid v0.5.5/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= +rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= diff --git a/integration_tests/run-all.sh b/integration_tests/run-all.sh index 5836d52d6..9da30cef0 100755 --- a/integration_tests/run-all.sh +++ b/integration_tests/run-all.sh @@ -76,6 +76,7 @@ init_pool() { make localnet_start &>${DETAILED_OUTPUT_TARGET} log "-> Waiting for the second block (needed to request proofs)" >${DETAILED_OUTPUT_TARGET} + sleep 10 wait_for_height 2 20 } diff --git a/x/model/client/cli/tx_model_version_test.go b/x/model/client/cli/tx_model_version_test.go index 8648e0df5..dab5963df 100644 --- a/x/model/client/cli/tx_model_version_test.go +++ b/x/model/client/cli/tx_model_version_test.go @@ -6,7 +6,9 @@ import ( "testing" "github.com/cosmos/cosmos-sdk/client/flags" + authtx "github.com/cosmos/cosmos-sdk/x/auth/tx" "github.com/stretchr/testify/require" + testconstants "github.com/zigbee-alliance/distributed-compliance-ledger/integration_tests/constants" testcli "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/cli" "github.com/zigbee-alliance/distributed-compliance-ledger/testutil/network" @@ -86,9 +88,13 @@ func TestCreateModelVersion(t *testing.T) { } args = append(args, fields...) args = append(args, common...) - _, err := testcli.ExecTestCLITxCmd(t, ctx, cli.CmdCreateModelVersion(), args) + txResp, err := testcli.ExecTestCLITxCmd(t, ctx, cli.CmdCreateModelVersion(), args) + waitErr := net.WaitForNextBlock() + require.NoError(t, waitErr) if tc.err != nil { - require.ErrorIs(t, err, tc.err) + resp, err := authtx.QueryTx(ctx, txResp.TxHash) + require.NoError(t, err) + require.Contains(t, resp.RawLog, tc.err.Error()) } else { require.NoError(t, err) } @@ -126,6 +132,8 @@ func TestUpdateModelVersion(t *testing.T) { args = append(args, common...) _, err := testcli.ExecTestCLITxCmd(t, ctx, cli.CmdCreateModelVersion(), args) require.NoError(t, err) + err = net.WaitForNextBlock() + require.NoError(t, err) fields := []string{ fmt.Sprintf("--%s=%v", cli.FlagSoftwareVersionValid, !testconstants.SoftwareVersionValid), @@ -166,9 +174,13 @@ func TestUpdateModelVersion(t *testing.T) { } args = append(args, fields...) args = append(args, common...) - _, err := testcli.ExecTestCLITxCmd(t, ctx, cli.CmdUpdateModelVersion(), args) + txResp, err := testcli.ExecTestCLITxCmd(t, ctx, cli.CmdUpdateModelVersion(), args) + waitErr := net.WaitForNextBlock() + require.NoError(t, waitErr) if tc.err != nil { - require.ErrorIs(t, err, tc.err) + resp, err := authtx.QueryTx(ctx, txResp.TxHash) + require.NoError(t, err) + require.Contains(t, resp.RawLog, tc.err.Error()) } else { require.NoError(t, err) } From bd627782b126afdc8322a20ad84e76ceb0d3ed8e Mon Sep 17 00:00:00 2001 From: Abdulbois Date: Thu, 1 Feb 2024 14:55:20 +0500 Subject: [PATCH 12/29] #303 Upgrade Cosmos-SDK to v0.47.3 - Modify BroadcastTx method - Enable external access of REST and gRPC endpoints Signed-off-by: Abdulbois Signed-off-by: Abdulbois --- cmd/dcld/cmd/root.go | 1 - genlocalnetconfig.sh | 4 +++ integration_tests/run-all.sh | 2 +- integration_tests/utils/grpc_rest.go | 42 ++++++++++++++++++++-------- 4 files changed, 35 insertions(+), 14 deletions(-) diff --git a/cmd/dcld/cmd/root.go b/cmd/dcld/cmd/root.go index 65bf71b1d..ba3e9f237 100644 --- a/cmd/dcld/cmd/root.go +++ b/cmd/dcld/cmd/root.go @@ -184,7 +184,6 @@ func initRootCmd( txCommand(), keys.Commands(app.DefaultNodeHome), ) - } // queryCommand returns the sub-command to send queries to the app. diff --git a/genlocalnetconfig.sh b/genlocalnetconfig.sh index 439f6961e..49598d0a7 100755 --- a/genlocalnetconfig.sh +++ b/genlocalnetconfig.sh @@ -173,6 +173,10 @@ for node_name in node0 node1 node2 node3 observer0; do if [[ -d "$LOCALNET_DIR/${node_name}" ]]; then # Make RPC endpoints available externally sed -i $SED_EXT 's/laddr = "tcp:\/\/127.0.0.1:26657"/laddr = "tcp:\/\/0.0.0.0:26657"/g' "$LOCALNET_DIR/${node_name}/config/config.toml" + # Make REST endpoints available externally + sed -i $SED_EXT 's/address = "tcp:\/\/localhost:1317"/address = "tcp:\/\/0.0.0.0:1317"/g' "$LOCALNET_DIR/${node_name}/config/app.toml" + # Make gRPC endpoints available externally + sed -i $SED_EXT 's/address = "localhost:9090"/address = "0.0.0.0:9090"/g' "$LOCALNET_DIR/${node_name}/config/app.toml" # sets proper moniker sed -i $SED_EXT "s/moniker = .*/moniker = \"$node_name\"/g" "$LOCALNET_DIR/${node_name}/config/config.toml" diff --git a/integration_tests/run-all.sh b/integration_tests/run-all.sh index 9da30cef0..f54837ede 100755 --- a/integration_tests/run-all.sh +++ b/integration_tests/run-all.sh @@ -76,7 +76,7 @@ init_pool() { make localnet_start &>${DETAILED_OUTPUT_TARGET} log "-> Waiting for the second block (needed to request proofs)" >${DETAILED_OUTPUT_TARGET} - sleep 10 + sleep 20 wait_for_height 2 20 } diff --git a/integration_tests/utils/grpc_rest.go b/integration_tests/utils/grpc_rest.go index e062ffd74..2ce8c4cc7 100644 --- a/integration_tests/utils/grpc_rest.go +++ b/integration_tests/utils/grpc_rest.go @@ -21,16 +21,18 @@ import ( "fmt" "os" "path/filepath" + "strings" "testing" + "time" - //nolint:staticcheck - "github.com/golang/protobuf/proto" + "github.com/cosmos/gogoproto/proto" "github.com/stretchr/testify/require" "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" sdkerrors "cosmossdk.io/errors" clienttx "github.com/cosmos/cosmos-sdk/client/tx" + "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/crypto/keyring" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/types/tx" @@ -59,6 +61,7 @@ func (suite *TestSuite) GetGRPCConn() *grpc.ClientConn { grpcConn, err := grpc.Dial( "127.0.0.1:26630", // Or your gRPC server address. grpc.WithTransportCredentials(insecure.NewCredentials()), // The SDK doesn't support any transport security mechanism. + grpc.WithDefaultCallOptions(grpc.ForceCodec(codec.NewProtoCodec(suite.EncodingConfig.InterfaceRegistry).GRPCCodec())), ) require.NoError(suite.T, err) @@ -144,21 +147,30 @@ func (suite *TestSuite) BroadcastTx(txBytes []byte) (*sdk.TxResponse, error) { TxBytes: txBytes, } - if suite.Rest { - var _resp tx.GetTxResponse + if suite.Rest { //nolint:nestif + var _getResp tx.GetTxResponse + var _brdResp tx.BroadcastTxResponse bodyBytes, err := suite.EncodingConfig.Codec.MarshalJSON(&body) require.NoError(suite.T, err) - _, err = SendPostRequest("/cosmos/tx/v1beta1/txs", bodyBytes, "", "") + respBytes, err := SendPostRequest("/cosmos/tx/v1beta1/txs", bodyBytes, "", "") + require.NoError(suite.T, err) + require.NoError(suite.T, suite.EncodingConfig.Codec.UnmarshalJSON(respBytes, &_brdResp)) + + for i := 1; i <= 10; i++ { + respBytes, err = SendGetRequest(fmt.Sprintf("/cosmos/tx/v1beta1/txs/%s", _brdResp.GetTxResponse().TxHash)) + if err == nil { + require.NoError(suite.T, suite.EncodingConfig.Codec.UnmarshalJSON(respBytes, &_getResp)) + + break + } + time.Sleep(2 * time.Second) + } if err != nil { return nil, err } - - respBytes, err := SendGetRequest(fmt.Sprintf("/cosmos/tx/v1beta1/txs/%s", _resp.GetTxResponse().TxHash)) - require.NoError(suite.T, err) - require.NoError(suite.T, suite.EncodingConfig.Codec.UnmarshalJSON(respBytes, &_resp)) - txResponse = &_resp + txResponse = &_getResp } else { grpcConn := suite.GetGRPCConn() defer grpcConn.Close() @@ -171,7 +183,13 @@ func (suite *TestSuite) BroadcastTx(txBytes []byte) (*sdk.TxResponse, error) { return nil, err } - txResponse, err = txClient.GetTx(context.Background(), &tx.GetTxRequest{Hash: broadCastResponse.GetTxResponse().TxHash}) + for i := 1; i <= 10; i++ { + txResponse, err = txClient.GetTx(context.Background(), &tx.GetTxRequest{Hash: broadCastResponse.GetTxResponse().TxHash}) + if err == nil && !strings.Contains(txResponse.TxResponse.RawLog, "tx not found") { + break + } + time.Sleep(2 * time.Second) + } if err != nil { return nil, err } @@ -209,7 +227,7 @@ func (suite *TestSuite) QueryREST(uri string, resp proto.Message) error { func (suite *TestSuite) AssertNotFound(err error) { require.Error(suite.T, err) - require.Contains(suite.T, err.Error(), "rpc error: code = NotFound desc = not found") + require.Contains(suite.T, err.Error(), "not found") if suite.Rest { var resterr *RESTError From f672d50d283a95932b06886d12f4f64251ce6cc7 Mon Sep 17 00:00:00 2001 From: Abdulbois Date: Fri, 2 Feb 2024 19:27:45 +0500 Subject: [PATCH 13/29] #303 Upgrade Cosmos-SDK to v0.47.3 - Add extra line into shell tests to get `txn` status Signed-off-by: Abdulbois Signed-off-by: Abdulbois --- genlocalnetconfig.sh | 1 + integration_tests/cli/auth-demo-hex.sh | 4 + integration_tests/cli/auth-demo.sh | 53 ++++++++++++ integration_tests/cli/common.sh | 24 ++++++ integration_tests/cli/compliance-demo-hex.sh | 11 +++ integration_tests/cli/compliance-demo.sh | 21 +++++ .../cli/compliance-provisioning.sh | 12 +++ .../cli/compliance-revocation.sh | 6 ++ integration_tests/cli/model-demo-hex.sh | 4 + integration_tests/cli/model-demo.sh | 9 +++ integration_tests/cli/model-negative-cases.sh | 21 ++++- .../cli/model-validation-cases.sh | 20 +++++ .../cli/modelversion-demo-hex.sh | 6 ++ integration_tests/cli/modelversion-demo.sh | 6 ++ integration_tests/cli/pki-approval.sh | 18 +++++ integration_tests/cli/pki-assign-vid.sh | 3 + integration_tests/cli/pki-demo.sh | 31 +++++++ .../cli/pki-revocation-points.sh | 28 +++++++ integration_tests/cli/upgrade-demo.sh | 28 +++++++ integration_tests/cli/validator-demo.sh | 11 +++ integration_tests/cli/vendorinfo-demo-hex.sh | 4 + integration_tests/cli/vendorinfo-demo.sh | 7 ++ integration_tests/deploy/test_deploy.sh | 7 +- integration_tests/light_client_proxy/auth.sh | 3 + .../light_client_proxy/compliance.sh | 3 + integration_tests/light_client_proxy/model.sh | 3 + integration_tests/light_client_proxy/pki.sh | 6 ++ .../light_client_proxy/vendorinfo.sh | 2 + integration_tests/run-all.sh | 80 +++++++++---------- .../upgrade/test-upgrade-0.12-to-1.2.sh | 7 ++ .../upgrade/test-upgrade-1.2-to-1.3.sh | 7 ++ 31 files changed, 403 insertions(+), 43 deletions(-) diff --git a/genlocalnetconfig.sh b/genlocalnetconfig.sh index 49598d0a7..cefb50c1e 100755 --- a/genlocalnetconfig.sh +++ b/genlocalnetconfig.sh @@ -215,6 +215,7 @@ if [[ -n "$DCL_LIGHT_CLIENT_PROXY" ]]; then init_light_client_proxy lightclient0 fi +chmod 777 -R $DCL_DIR #if [ -n "$MAINNET_STABLE_VERSION" ]; then # rm dcld #fi \ No newline at end of file diff --git a/integration_tests/cli/auth-demo-hex.sh b/integration_tests/cli/auth-demo-hex.sh index 0c3127a78..9492284f5 100644 --- a/integration_tests/cli/auth-demo-hex.sh +++ b/integration_tests/cli/auth-demo-hex.sh @@ -44,6 +44,7 @@ pid=2577 echo "Jack proposes account for $user" result=$(echo $passphrase | dcld tx auth propose-add-account --info="Jack is proposing this account" --address="$user_address" --pubkey="$user_pubkey" --roles="Vendor" --vid="$vid_in_hex_format" --from jack --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -77,6 +78,7 @@ test_divider productName="Device #1" echo "$user adds Model with VID: $vid_in_hex_format PID: $pid" result=$(echo "test1234" | dcld tx model add-model --vid=$vid_in_hex_format --pid=$pid_in_hex_format --productName="$productName" --productLabel="Device Description" --commissioningCustomFlow=0 --deviceTypeID=12 --partNumber=12 --from=$user_address --yes) +result=$(get_txn_result "$result") check_response_and_report "$result" "\"code\": 0" test_divider @@ -85,12 +87,14 @@ vid_plus_one_in_hex_format=0xA14 vidPlusOne=$((vid_in_hex_format+1)) echo "$user adds Model with a VID: $vid_plus_one_in_hex_format PID: $pid_in_hex_format, This fails with Permission denied as the VID is not associated with this vendor account." result=$(echo "test1234" | dcld tx model add-model --vid=$vid_plus_one_in_hex_format --pid=$pid_in_hex_format --productName="$productName" --productLabel="Device Description" --commissioningCustomFlow=0 --deviceTypeID=12 --partNumber=12 --from=$user_address --yes 2>&1) || true +result=$(get_txn_result "$result") check_response_and_report "$result" "transaction should be signed by a vendor account containing the vendorID $vidPlusOne" test_divider echo "$user updates Model with VID: $vid_in_hex_format PID: $pid_in_hex_format" result=$(echo "test1234" | dcld tx model update-model --vid=$vid_in_hex_format --pid=$pid_in_hex_format --productName="$productName" --productLabel="Device Description" --partNumber=12 --from=$user_address --yes) +result=$(get_txn_result "$result") check_response_and_report "$result" "\"code\": 0" test_divider diff --git a/integration_tests/cli/auth-demo.sh b/integration_tests/cli/auth-demo.sh index 895d8b03c..1e7109ac6 100755 --- a/integration_tests/cli/auth-demo.sh +++ b/integration_tests/cli/auth-demo.sh @@ -84,6 +84,7 @@ test_divider echo "Jack proposes account for $user" result=$(echo $passphrase | dcld tx auth propose-add-account --info="Jack is proposing this account" --address="$user_address" --pubkey="$user_pubkey" --roles="NodeAdmin" --from jack --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -96,6 +97,7 @@ test_divider echo "Get an account for $user is not found" result=$(dcld query auth account --address=$user_address) +result=$(get_txn_result "$result") check_response "$result" "Not Found" echo "Get a proposed account for $user and confirm that the approval contains Jack's address" @@ -122,12 +124,14 @@ test_divider echo "Alice approves account for \"$user\"" result=$(echo $passphrase | dcld tx auth approve-add-account --address="$user_address" --info="Alice is approving this account" --from alice --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Alice cannot reject account for \"$user\"" result=$(echo $passphrase | dcld tx auth reject-add-account --address="$user_address" --info="Alice is rejecting this account" --from alice --yes 2>&1 || true) +result=$(get_txn_result "$result") response_does_not_contain "$result" "\"code\": 0" test_divider @@ -184,6 +188,7 @@ test_divider echo "Alice proposes to revoke account for $user" result=$(echo $passphrase | dcld tx auth propose-revoke-account --address="$user_address" --info="Alice proposes to revoke account" --from alice --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" @@ -227,6 +232,7 @@ test_divider echo "Bob approves to revoke account for $user" result=$(echo $passphrase | dcld tx auth approve-revoke-account --address="$user_address" --from bob --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -279,6 +285,7 @@ test_divider echo "Jack proposes account for $user" result=$(echo $passphrase | dcld tx auth propose-add-account --info="Jack is proposing this account" --address="$user_address" --pubkey="$user_pubkey" --roles="NodeAdmin" --from jack --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -323,6 +330,7 @@ test_divider echo "Alice approves account for \"$user\"" result=$(echo $passphrase | dcld tx auth approve-add-account --address="$user_address" --info="Alice is approving this account" --from alice --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -377,6 +385,7 @@ test_divider echo "Alice proposes to revoke account for $user" result=$(echo $passphrase | dcld tx auth propose-revoke-account --address="$user_address" --info="Alice proposes to revoke account" --from alice --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" @@ -420,6 +429,7 @@ test_divider echo "Bob approves to revoke account for $user" result=$(echo $passphrase | dcld tx auth approve-revoke-account --address="$user_address" --from bob --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -462,6 +472,7 @@ test_divider echo "Jack proposes account for $user" result=$(echo $passphrase | dcld tx auth propose-add-account --info="Jack is proposing this account" --address="$user_address" --pubkey="$user_pubkey" --roles="NodeAdmin" --from jack --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -477,6 +488,7 @@ test_divider echo "Alice rejects account for \"$user\"" result=$(echo $passphrase | dcld tx auth reject-add-account --address="$user_address" --info="Alice is rejecting this account" --from alice --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -541,6 +553,7 @@ test_divider echo "Bob rejects account for \"$user\"" result=$(echo $passphrase | dcld tx auth reject-add-account --address="$user_address" --info="Bob is rejecting this account" --from bob --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -616,6 +629,7 @@ pid=$RANDOM productName="Device #2" echo "$user adds Model with VID: $vid PID: $pid" result=$(echo "test1234" | dcld tx model add-model --vid=$vid --pid=$pid --productName="$productName" --productLabel="Device Description" --commissioningCustomFlow=0 --deviceTypeID=12 --partNumber=12 --from=$user_address --yes 2>&1) || true +result=$(get_txn_result "$result") check_response_and_report "$result" "key not found" raw @@ -642,6 +656,7 @@ test_divider echo "Jack proposes account for $user" result=$(echo $passphrase | dcld tx auth propose-add-account --info="Jack is proposing this account" --address="$user_address" --pubkey="$user_pubkey" --roles="Vendor,NodeAdmin" --vid=$vid --from jack --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -674,6 +689,7 @@ test_divider echo "Alice approves account for \"$user\"" result=$(echo $passphrase | dcld tx auth approve-add-account --address="$user_address" --info="Alice is approving this account" --from alice --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -731,6 +747,7 @@ test_divider echo "Jack proposes account for $user" result=$(echo $passphrase | dcld tx auth propose-add-account --info="Jack is proposing this account" --address="$user_address" --pubkey="$user_pubkey" --roles="Vendor" --vid=$vid --from jack --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -786,6 +803,7 @@ test_divider echo "Jack proposes account for $user" result=$(echo $passphrase | dcld tx auth propose-add-account --info="Jack is proposing this account" --address="$user_address" --pubkey="$user_pubkey" --roles="Vendor" --vid=$vid --pid_ranges=$pid_ranges --from jack --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -841,6 +859,7 @@ test_divider echo "Jack proposes account for $user" result=$(echo $passphrase | dcld tx auth propose-add-account --info="Jack is proposing this account" --address="$user_address" --pubkey="$user_pubkey" --roles="Vendor" --vid=$vid --pid_ranges=$invalid_pid_ranges --from jack --yes 2>&1) || true +result=$(get_txn_result "$result") check_response "$result" "invalid PID Range is provided" raw echo "Get an proposed account for $user is not found" @@ -881,10 +900,12 @@ test_divider echo "Jack proposes account for $new_trustee1" result=$(echo $passphrase | dcld tx auth propose-add-account --info="Jack is proposing this account" --address="$new_trustee_address1" --pubkey="$new_trustee_pubkey1" --roles="Trustee" --from jack --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "Alice approves account for \"$new_trustee1\"" result=$(echo $passphrase | dcld tx auth approve-add-account --address="$new_trustee_address1" --info="Alice is approving this account" --from alice --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -909,24 +930,29 @@ test_divider echo "Jack proposes account for $new_trustee2" result=$(echo $passphrase | dcld tx auth propose-add-account --info="Jack is proposing this account" --address="$new_trustee_address2" --pubkey="$new_trustee_pubkey2" --roles="Trustee" --from jack --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "Alice approves account for \"$new_trustee2\"" result=$(echo $passphrase | dcld tx auth approve-add-account --address="$new_trustee_address2" --info="Alice is approving this account" --from alice --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "Jack can reject account for \"$user\" even if Jack already approved account" result=$(echo $passphrase | dcld tx auth reject-add-account --address="$new_trustee_address2" --info="Jack is rejecting this account" --from jack --yes 2>&1 || true) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "Jack re-approves account for \"$user\"" result=$(echo $passphrase | dcld tx auth approve-add-account --address="$new_trustee_address2" --info="Jack is proposing this account" --from jack --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Bob approves account for \"$new_trustee2\"" result=$(echo $passphrase | dcld tx auth approve-add-account --address="$new_trustee_address2" --info="Bob is approving this account" --from bob --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -954,6 +980,7 @@ test_divider echo "Jack proposes account for $user" result=$(echo $passphrase | dcld tx auth propose-add-account --info="Jack is proposing this account" --address="$user_address" --pubkey="$user_pubkey" --roles="Vendor" --vid=$vid --from jack --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -986,6 +1013,7 @@ test_divider echo "Alice approves account for \"$user\"" result=$(echo $passphrase | dcld tx auth approve-add-account --address="$user_address" --info="Alice is approving this account" --from alice --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -1034,6 +1062,7 @@ test_divider # REVOKE ACCOUNT, WE NEED 4 TRUSTEE'S APPROVALS, BECAUSE WE HAVE 5 TRUSTEES echo "Alice proposes to revoke account for $user" result=$(echo $passphrase | dcld tx auth propose-revoke-account --address="$user_address" --info="Alice proposes to revoke account" --from alice --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -1048,6 +1077,7 @@ test_divider echo "Bob approves to revoke account for $user" result=$(echo $passphrase | dcld tx auth approve-revoke-account --address="$user_address" --from bob --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -1063,18 +1093,22 @@ test_divider # REMOVE TRUSTEE ACCOUNT echo "Alice proposes to revoke account for $new_trustee1" result=$(echo $passphrase | dcld tx auth propose-revoke-account --address="$new_trustee_address1" --from alice --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "Bob approves to revoke account for $new_trustee1" result=$(echo $passphrase | dcld tx auth approve-revoke-account --address="$new_trustee_address1" --from bob --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "Jack approves to revoke account for $new_trustee1" result=$(echo $passphrase | dcld tx auth approve-revoke-account --address="$new_trustee_address1" --from jack --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$new_trustee1 approves to revoke account for $new_trustee1" result=$(echo $passphrase | dcld tx auth approve-revoke-account --address="$new_trustee_address1" --from $new_trustee1 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "Get revoked account $new_trustee1" @@ -1103,6 +1137,7 @@ test_divider # REJECT A NEW ACCOUNT, WE NEED 3 TRUSTEE'S REJECTS, BECAUSE WE HAVE 4 TRUSTEES echo "Jack proposes account for $user" result=$(echo $passphrase | dcld tx auth propose-add-account --info="Jack is proposing this account" --address="$user_address" --pubkey="$user_pubkey" --roles="Vendor,NodeAdmin" --vid=$vid --from jack --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -1118,6 +1153,7 @@ test_divider echo "Bob rejects account for \"$user\"" result=$(echo $passphrase | dcld tx auth reject-add-account --address="$user_address" --info="Bob is rejecting this account" --from bob --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -1135,14 +1171,17 @@ test_divider # WE REMOVE TRUSTEE ACCOUNT echo "Alice proposes to revoke account for $new_trustee2" result=$(echo $passphrase | dcld tx auth propose-revoke-account --address="$new_trustee_address2" --from alice --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "Bob approves to revoke account for $new_trustee2" result=$(echo $passphrase | dcld tx auth approve-revoke-account --address="$new_trustee_address2" --from bob --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "Jack approves to revoke account for $new_trustee2" result=$(echo $passphrase | dcld tx auth approve-revoke-account --address="$new_trustee_address2" --from jack --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "Get revoked account $new_trustee2" @@ -1155,6 +1194,7 @@ test_divider # REJECT A NEW ACCOUNT echo "Alice rejects account for \"$user\"" result=$(echo $passphrase | dcld tx auth reject-add-account --address="$user_address" --info="Alice is rejecting this account" --from alice --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -1194,10 +1234,12 @@ new_trustee_pubkey=$(echo $passphrase | dcld keys show $new_trustee -p) echo "Jack proposes account for $new_trustee" result=$(echo $passphrase | dcld tx auth propose-add-account --info="Jack is proposing this account" --address="$new_trustee_address" --pubkey="$new_trustee_pubkey" --roles="Trustee" --from jack --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "Alice approves account for \"$new_trustee\"" result=$(echo $passphrase | dcld tx auth approve-add-account --address="$new_trustee_address" --info="Alice is approving this account" --from alice --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -1205,6 +1247,7 @@ test_divider # ADD A NEW ACCOUNT, WE NEED 3 TRUSTEE'S APPROVALS, BECAUSE WE HAVE 4 TRUSTEES echo "Jack proposes account for $user" result=$(echo $passphrase | dcld tx auth propose-add-account --info="Jack is proposing this account" --address="$user_address" --pubkey="$user_pubkey" --roles="Vendor,NodeAdmin" --vid=$vid --from jack --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -1219,6 +1262,7 @@ test_divider echo "Bob approves account for \"$new_trustee\"" result=$(echo $passphrase | dcld tx auth approve-add-account --info="Bob is approving this account" --address="$user_address" --from bob --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -1236,14 +1280,17 @@ test_divider # WE REMOVE TRUSTEE ACCOUNT echo "Alice proposes to revoke account for $new_trustee" result=$(echo $passphrase | dcld tx auth propose-revoke-account --address="$new_trustee_address" --from alice --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "Bob approves to revoke account for $new_trustee" result=$(echo $passphrase | dcld tx auth approve-revoke-account --address="$new_trustee_address" --from bob --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "Jack approves to revoke account for $new_trustee" result=$(echo $passphrase | dcld tx auth approve-revoke-account --address="$new_trustee_address" --from jack --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "Get revoked account $new_trustee" @@ -1256,6 +1303,7 @@ test_divider # ADD A NEW ACCOUNT echo "Alice approves account for \"$user\"" result=$(echo $passphrase | dcld tx auth approve-add-account --address="$user_address" --info="Alice is approving this account" --from alice --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -1289,6 +1337,7 @@ test_divider productName="Device #1" echo "$user adds Model with VID: $vid PID: $pid" result=$(echo "test1234" | dcld tx model add-model --vid=$vid --pid=$pid --productName="$productName" --productLabel="Device Description" --commissioningCustomFlow=0 --deviceTypeID=12 --partNumber=12 --from=$user_address --yes) +result=$(get_txn_result "$result") check_response_and_report "$result" "\"code\": 0" test_divider @@ -1296,11 +1345,13 @@ test_divider vidPlusOne=$((vid+1)) echo "$user adds Model with a VID: $vidPlusOne PID: $pid, This fails with Permission denied as the VID is not associated with this vendor account." result=$(echo "test1234" | dcld tx model add-model --vid=$vidPlusOne --pid=$pid --productName="$productName" --productLabel="Device Description" --commissioningCustomFlow=0 --deviceTypeID=12 --partNumber=12 --from=$user_address --yes 2>&1) || true +result=$(get_txn_result "$result") check_response_and_report "$result" "transaction should be signed by a vendor account containing the vendorID $vidPlusOne" test_divider echo "$user updates Model with VID: $vid PID: $pid" result=$(echo "test1234" | dcld tx model update-model --vid=$vid --pid=$pid --productName="$productName" --productLabel="Device Description" --partNumber=12 --from=$user_address --yes) +result=$(get_txn_result "$result") check_response_and_report "$result" "\"code\": 0" test_divider @@ -1332,10 +1383,12 @@ user_pubkey=$(echo $passphrase | dcld keys show $user -p) echo "jack (Trustee) propose account" result=$(dcld tx auth propose-add-account --info="Jack is proposing this account" --address="$user_address" --pubkey="$user_pubkey" --roles="NodeAdmin" --from jack --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "jack (Trustee) rejects account" result=$(dcld tx auth reject-add-account --address="$user_address" --info="Jack is rejecting this account" --from jack --yes 2>&1 || true) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider diff --git a/integration_tests/cli/common.sh b/integration_tests/cli/common.sh index 44b2a4c94..b2f4522d6 100755 --- a/integration_tests/cli/common.sh +++ b/integration_tests/cli/common.sh @@ -122,11 +122,13 @@ create_new_account(){ echo "Jack proposes account for \"$name\" with roles: \"$roles\"" result=$(echo $passphrase | dcld tx auth propose-add-account --address="$address" --pubkey="$pubkey" --roles=$roles --from jack --yes) + result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" echo "Alice approves account for \"$name\" with roles: \"$roles\"" result=$(echo $passphrase | dcld tx auth approve-add-account --address="$address" --from alice --yes) + result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" } @@ -149,6 +151,7 @@ create_new_vendor_account(){ echo "Jack proposes account for \"$_name\" with Vendor role" _result=$(echo $passphrase | dcld tx auth propose-add-account --address="$_address" --pubkey="$_pubkey" --roles=Vendor --vid=$_vid --from jack --yes) fi + _result=$(get_txn_result "$_result") check_response "$_result" "\"code\": 0" } @@ -160,8 +163,10 @@ create_model_and_version() { local _softwareVersionString="$4" local _user_address="$5" result=$(echo "$passphrase" | dcld tx model add-model --vid=$_vid --pid=$_pid --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from=$_user_address --yes) + result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" result=$(echo "$passphrase" | dcld tx model add-model-version --cdVersionNumber=1 --maxApplicableSoftwareVersion=10 --minApplicableSoftwareVersion=1 --vid=$_vid --pid=$_pid --softwareVersion=$_softwareVersion --softwareVersionString=$_softwareVersionString --from=$_user_address --yes) + result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" } @@ -238,3 +243,22 @@ execute_with_retry() { echo "$_result" } + + +get_txn_result() { + local _broadcast_result=${1} + local _txHash=$(echo "$_broadcast_result" | jq -r '.txhash') + local _command="dcld query tx $_txHash" + local _result=$($_command 2>&1) + + for i in {1..10}; do + if [[ "$(_check_response "$_result" "not found" "raw")" == true ]]; then + sleep 2 + _result=$($_command 2>&1) + else + break + fi + done + + echo "$_result" +} diff --git a/integration_tests/cli/compliance-demo-hex.sh b/integration_tests/cli/compliance-demo-hex.sh index 04fd97ea7..a2ad30958 100644 --- a/integration_tests/cli/compliance-demo-hex.sh +++ b/integration_tests/cli/compliance-demo-hex.sh @@ -48,6 +48,7 @@ cd_certificate_id="some ID" echo "Add Model with VID: $vid_in_hex_format PID: $pid_in_hex_format" result=$(echo "$passphrase" | dcld tx model add-model --vid=$vid_in_hex_format --pid=$pid_in_hex_format --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from $vendor_account --yes) +result=$(get_txn_result "$result") echo $result check_response "$result" "\"code\": 0" @@ -55,6 +56,7 @@ test_divider echo "Certify unknown Model Version with VID: $vid_in_hex_format PID: $pid_in_hex_format SV: ${sv} with zigbee certification" result=$(echo "$passphrase" | dcld tx compliance certify-model --vid=$vid_in_hex_format --pid=$pid_in_hex_format --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$zigbee_certification_type" --certificationDate="$certification_date" --cdCertificateId="$cd_certificate_id" --from $zb_account --yes) +result=$(get_txn_result "$result") echo "$result" check_response "$result" "\"code\": 517" check_response "$result" "No model version" @@ -63,6 +65,7 @@ test_divider echo "Add Model Version with VID: $vid_in_hex_format PID: $pid_in_hex_format SV: $sv SoftwareVersionString:$svs" result=$(echo '$passphrase' | dcld tx model add-model-version --cdVersionNumber=1 --maxApplicableSoftwareVersion=10 --minApplicableSoftwareVersion=1 --vid=$vid_in_hex_format --pid=$pid_in_hex_format --softwareVersion=$sv --softwareVersionString=$svs --from=$vendor_account --yes) +result=$(get_txn_result "$result") echo $result check_response "$result" "\"code\": 0" @@ -116,6 +119,7 @@ test_divider invalid_svs=$RANDOM echo "Certify Model with VID: $vid_in_hex_format PID: $pid_in_hex_format SV: ${sv} with zigbee certification and invalid SoftwareVersionString: $invalid_svs" result=$(echo "$passphrase" | dcld tx compliance certify-model --vid=$vid_in_hex_format --pid=$pid_in_hex_format --softwareVersion=$sv --softwareVersionString=$invalid_svs --certificationType="$zigbee_certification_type" --certificationDate="$certification_date" --cdCertificateId="$cd_certificate_id" --from $zb_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 306" # check_response "$result" "failed to execute message; message index: 0: Model with vid=$vid, pid=$pid, softwareVersion=$sv present on the ledger does not have matching softwareVersionString=$invalid_svs: model version does not match" @@ -123,6 +127,7 @@ test_divider echo "Certify Model with VID: $vid_in_hex_format PID: $pid_in_hex_format SV: ${sv} with zigbee certification" result=$(echo "$passphrase" | dcld tx compliance certify-model --vid=$vid_in_hex_format --pid=$pid_in_hex_format --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$zigbee_certification_type" --certificationDate="$certification_date" --cdCertificateId="$cd_certificate_id" --cdVersionNumber=1 --from $zb_account --yes) +result=$(get_txn_result "$result") echo "$result" check_response "$result" "\"code\": 0" @@ -131,6 +136,7 @@ test_divider echo "Certify Model with VID: $vid_in_hex_format PID: $pid_in_hex_format SV: ${sv} with matter certification" echo "dcld tx compliance certify-model --vid=$vid_in_hex_format --pid=$pid_in_hex_format --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$matter_certification_type" --certificationDate="$certification_date" --from $zb_account --yes" result=$(echo "$passphrase" | dcld tx compliance certify-model --vid=$vid_in_hex_format --pid=$pid_in_hex_format --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$matter_certification_type" --certificationDate="$certification_date" --cdCertificateId="$cd_certificate_id" --cdVersionNumber=1 --from $zb_account --yes) +result=$(get_txn_result "$result") echo "$result" check_response "$result" "\"code\": 0" @@ -139,6 +145,7 @@ test_divider echo "ReCertify Model with VID: $vid_in_hex_format PID: $pid_in_hex_format SV: ${sv} by different account" zigbee_certification_type="zigbee" result=$(echo "$passphrase" | dcld tx compliance certify-model --vid=$vid_in_hex_format --pid=$pid_in_hex_format --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$zigbee_certification_type" --certificationDate="$certification_date" --cdCertificateId="$cd_certificate_id" --cdVersionNumber=1 --from $second_zb_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 303" check_response "$result" "already certified on the ledger" echo "$result" @@ -148,6 +155,7 @@ test_divider echo "ReCertify Model with VID: $vid_in_hex_format PID: $pid_in_hex_format SV: ${sv} by same account" zigbee_certification_type="zigbee" result=$(echo "$passphrase" | dcld tx compliance certify-model --vid=$vid_in_hex_format --pid=$pid_in_hex_format --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$zigbee_certification_type" --certificationDate="$certification_date" --cdCertificateId="$cd_certificate_id" --cdVersionNumber=1 --from $zb_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 303" check_response "$result" "already certified on the ledger" echo "$result" @@ -249,6 +257,7 @@ revocation_reason="some reason" echo "Revoke Certification for Model with VID: $vid_in_hex_format PID: $pid_in_hex_format SV: ${sv} from the past" revocation_date_past="2020-01-01T00:00:00Z" result=$(echo "$passphrase" | dcld tx compliance revoke-model --vid=$vid_in_hex_format --pid=$pid_in_hex_format --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$zigbee_certification_type" --revocationDate="$revocation_date_past" --reason "$revocation_reason" --cdVersionNumber=1 --from $zb_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 302" check_response "$result" "must be after" echo "$result" @@ -259,6 +268,7 @@ test_divider echo "Revoke Certification for Model with VID: $vid_in_hex_format PID: $pid_in_hex_format SV: ${sv} " revocation_date="2020-02-02T02:20:20Z" result=$(echo "$passphrase" | dcld tx compliance revoke-model --vid=$vid_in_hex_format --pid=$pid_in_hex_format --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$zigbee_certification_type" --revocationDate="$revocation_date" --reason "$revocation_reason" --cdVersionNumber=1 --from $zb_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -314,6 +324,7 @@ test_divider echo "Again Certify Model with VID: $vid_in_hex_format PID: $pid_in_hex_format SV: ${sv}" certification_date="2020-03-03T00:00:00Z" result=$(echo "$passphrase" | dcld tx compliance certify-model --vid=$vid_in_hex_format --pid=$pid_in_hex_format --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$zigbee_certification_type" --certificationDate="$certification_date" --cdCertificateId="$cd_certificate_id" --cdVersionNumber=1 --from $zb_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" diff --git a/integration_tests/cli/compliance-demo.sh b/integration_tests/cli/compliance-demo.sh index 5685e7c60..b5a849094 100755 --- a/integration_tests/cli/compliance-demo.sh +++ b/integration_tests/cli/compliance-demo.sh @@ -47,6 +47,7 @@ cd_version_number=1 echo "Certify unknown Model with VID: $vid PID: $pid SV: ${sv} with zigbee certification" result=$(echo "$passphrase" | dcld tx compliance certify-model --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$zigbee_certification_type" --certificationDate="$certification_date" --cdCertificateId="$cd_certificate_id" --from $zb_account --yes) +result=$(get_txn_result "$result") echo "$result" check_response "$result" "\"code\": 517" check_response "$result" "No model version" @@ -55,6 +56,7 @@ test_divider echo "Add Model with VID: $vid PID: $pid" result=$(echo "$passphrase" | dcld tx model add-model --vid=$vid --pid=$pid --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from $vendor_account --yes) +result=$(get_txn_result "$result") echo $result check_response "$result" "\"code\": 0" @@ -62,6 +64,7 @@ test_divider echo "Certify unknown Model Version with VID: $vid PID: $pid SV: ${sv} with zigbee certification" result=$(echo "$passphrase" | dcld tx compliance certify-model --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$zigbee_certification_type" --certificationDate="$certification_date" --cdCertificateId="$cd_certificate_id" --from $zb_account --yes) +result=$(get_txn_result "$result") echo "$result" check_response "$result" "\"code\": 517" check_response "$result" "No model version" @@ -70,6 +73,7 @@ test_divider echo "Add Model Version with VID: $vid PID: $pid SV: $sv SoftwareVersionString:$svs" result=$(echo '$passphrase' | dcld tx model add-model-version --cdVersionNumber=$cd_version_number --maxApplicableSoftwareVersion=10 --minApplicableSoftwareVersion=1 --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$svs --from=$vendor_account --yes) +result=$(get_txn_result "$result") echo $result check_response "$result" "\"code\": 0" @@ -168,6 +172,7 @@ test_divider invalid_svs=$RANDOM echo "Certify Model with VID: $vid PID: $pid SV: ${sv} with zigbee certification and invalid SoftwareVersionString: $invalid_svs" result=$(echo "$passphrase" | dcld tx compliance certify-model --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$invalid_svs --certificationType="$zigbee_certification_type" --certificationDate="$certification_date" --cdCertificateId="$cd_certificate_id" --from $zb_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 306" # check_response "$result" "failed to execute message; message index: 0: Model with vid=$vid, pid=$pid, softwareVersion=$svs present on the ledger does not have matching softwareVersionString=$invalid_svs: model version does not match" @@ -175,6 +180,7 @@ test_divider echo "Certify Model with VID: $vid PID: $pid SV: ${sv} with zigbee certification and invalid CDVersionNumber" result=$(echo "$passphrase" | dcld tx compliance certify-model --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$zigbee_certification_type" --certificationDate="$certification_date" --cdCertificateId="$cd_certificate_id" --from $zb_account --yes) +result=$(get_txn_result "$result") echo "$result" check_response "$result" "\"code\": 306" check_response "$result" "ledger does not have matching CDVersionNumber=0: model version does not match" @@ -183,6 +189,7 @@ test_divider echo "Certify Model with VID: $vid PID: $pid SV: ${sv} with zigbee certification" result=$(echo "$passphrase" | dcld tx compliance certify-model --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$zigbee_certification_type" --certificationDate="$certification_date" --cdCertificateId="$cd_certificate_id" --cdVersionNumber=$cd_version_number --from $zb_account --yes) +result=$(get_txn_result "$result") echo "$result" check_response "$result" "\"code\": 0" @@ -191,6 +198,7 @@ test_divider echo "Certify Model with VID: $vid PID: $pid SV: ${sv} with matter certification" echo "dcld tx compliance certify-model --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$matter_certification_type" --certificationDate="$certification_date" --from $zb_account --yes" result=$(echo "$passphrase" | dcld tx compliance certify-model --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$matter_certification_type" --certificationDate="$certification_date" --cdCertificateId="$cd_certificate_id" --cdVersionNumber=$cd_version_number --from $zb_account --yes) +result=$(get_txn_result "$result") echo "$result" check_response "$result" "\"code\": 0" @@ -199,6 +207,7 @@ test_divider echo "ReCertify Model with VID: $vid PID: $pid SV: ${sv} by different account" zigbee_certification_type="zigbee" result=$(echo "$passphrase" | dcld tx compliance certify-model --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$zigbee_certification_type" --certificationDate="$certification_date" --cdCertificateId="$cd_certificate_id" --cdVersionNumber=$cd_version_number --from $second_zb_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 303" check_response "$result" "already certified on the ledger" echo "$result" @@ -208,6 +217,7 @@ test_divider echo "ReCertify Model with VID: $vid PID: $pid SV: ${sv} by same account" zigbee_certification_type="zigbee" result=$(echo "$passphrase" | dcld tx compliance certify-model --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$zigbee_certification_type" --certificationDate="$certification_date" --cdCertificateId="$cd_certificate_id" --cdVersionNumber=$cd_version_number --from $zb_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 303" check_response "$result" "already certified on the ledger" echo "$result" @@ -360,6 +370,7 @@ revocation_reason="some reason" echo "Revoke Certification for Model with VID: $vid PID: $pid SV: ${sv} from the past" revocation_date_past="2020-01-01T00:00:00Z" result=$(echo "$passphrase" | dcld tx compliance revoke-model --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$zigbee_certification_type" --revocationDate="$revocation_date_past" --reason "$revocation_reason" --cdVersionNumber=$cd_version_number --from $zb_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 302" check_response "$result" "must be after" echo "$result" @@ -370,6 +381,7 @@ test_divider echo "Revoke Certification for Model with VID: $vid PID: $pid SV: ${sv} " revocation_date="2020-02-02T02:20:20Z" result=$(echo "$passphrase" | dcld tx compliance revoke-model --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$zigbee_certification_type" --revocationDate="$revocation_date" --reason "$revocation_reason" --cdVersionNumber=$cd_version_number --from $zb_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -446,6 +458,7 @@ test_divider echo "Again Certify Model with VID: $vid PID: $pid SV: ${sv}" certification_date="2020-03-03T00:00:00Z" result=$(echo "$passphrase" | dcld tx compliance certify-model --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$zigbee_certification_type" --certificationDate="$certification_date" --cdCertificateId="$cd_certificate_id" --cdVersionNumber=$cd_version_number --from $zb_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -536,6 +549,7 @@ svs=$RANDOM # ADD MODEL echo "Add Model with VID: $vid PID: $pid" result=$(echo "$passphrase" | dcld tx model add-model --vid=$vid --pid=$pid --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from $vendor_account --yes) +result=$(get_txn_result "$result") echo $result check_response "$result" "\"code\": 0" @@ -544,6 +558,7 @@ test_divider # ADD MODEL VERSION echo "Add Model Version with VID: $vid PID: $pid SV: $sv SoftwareVersionString:$svs" result=$(echo '$passphrase' | dcld tx model add-model-version --cdVersionNumber=$cd_version_number --maxApplicableSoftwareVersion=10 --minApplicableSoftwareVersion=1 --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$svs --from=$vendor_account --yes) +result=$(get_txn_result "$result") echo $result check_response "$result" "\"code\": 0" @@ -552,6 +567,7 @@ test_divider # ADD CERTIFY MODEL WITH ALL OPTIONAL FIELDS echo "Certify Model with VID: $vid PID: $pid SV: ${sv} with zigbee certification" result=$(echo "$passphrase" | dcld tx compliance certify-model --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$zigbee_certification_type" --certificationDate="$certification_date" --cdCertificateId="$cd_certificate_id" --cdVersionNumber=$cd_version_number --programTypeVersion="1.0" --familyId="someFID" --supportedClusters="someClusters" --compliantPlatformUsed="WIFI" --compliantPlatformVersion="V1" --OSVersion="someV" --certificationRoute="Full" --programType="pType" --transport="someTransport" --parentChild="parent" --certificationIDOfSoftwareComponent="someIDOfSoftwareComponent" --from $zb_account --yes) +result=$(get_txn_result "$result") echo "$result" check_response "$result" "\"code\": 0" @@ -624,6 +640,7 @@ new_transport="new_transport" # UPDATE COMPLIANCE INFO BY CERTIFICATION CENTER ACCOUNT echo "Update Compliance Info for Model with VID: ${vid} PID: ${pid} SV: ${sv} for $zigbee_certification_type with some optional fields set" result=$(echo "$passphrase" | dcld tx compliance update-compliance-info --vid=$vid --pid=$pid --softwareVersion=$sv --certificationType=$zigbee_certification_type --reason=$new_reason --programType=$new_program_type --parentChild=$new_parent_child --transport=$new_transport --from=$zb_account --yes) +result=$(get_txn_result "$result") echo "$result" result=$(dcld query compliance compliance-info --vid=$vid --pid=$pid --softwareVersion=$sv --certificationType=$zigbee_certification_type) @@ -657,6 +674,7 @@ test_divider # UPDATE COMPLIANCE INFO BY *NON CERTIFICATION CENTER ACCOUNT echo "Update Compliance Info for Model with VID: ${vid} PID: ${pid} SV: ${sv} for $zigbee_certification_type by non Certification Center account" result=$(echo "$passphrase" | dcld tx compliance update-compliance-info --vid=$vid --pid=$pid --softwareVersion=$sv --certificationType=$zigbee_certification_type --reason=$by_vendor_reason --programType=$by_vendor_program_type --parentChild=$by_vendor_parent_child --transport=$by_vendor_transport --from=$vendor_account --yes) +result=$(get_txn_result "$result") check_response "$result" "unauthorized" echo "Compliance Info for Model with VID: ${vid} PID: ${pid} SV: ${sv} for $zigbee_certification_type is not updated by non CertificationCenter account" @@ -686,6 +704,7 @@ test_divider # UPDATE COMPLIANCE INFO WITH NO OPTIONAL FIELDS SET echo "Update Compliance Info for Model with VID: ${vid} PID: ${pid} SV: ${sv} for $zigbee_certification_type with no optional fields set" result=$(echo "$passphrase" | dcld tx compliance update-compliance-info --vid=$vid --pid=$pid --softwareVersion=$sv --certificationType=$zigbee_certification_type --from=$zb_account --yes) +result=$(get_txn_result "$result") echo "$result" echo "Compliance Info for Model with VID: ${vid} PID: ${pid} SV: ${sv} for $zigbee_certification_type is not updated" @@ -731,6 +750,7 @@ upd_certification_id_of_software_component="brand_new_component" echo "Update Compliance Info for Model with VID: ${vid} PID: ${pid} SV: ${sv} for $zigbee_certification_type with all optional fields set" result=$(echo "$passphrase" | dcld tx compliance update-compliance-info --vid=$vid --pid=$pid --softwareVersion=$sv --certificationType=$zigbee_certification_type --cdVersionNumber=$upd_cd_version_number --certificationDate=$upd_certification_date --reason=$upd_reason --cdCertificateId=$upd_cd_certificate_id --certificationRoute=$upd_certification_route --programType=$upd_program_type --programTypeVersion=$upd_program_type_version --compliantPlatformUsed=$upd_compliant_platform_used --compliantPlatformVersion=$upd_compliant_platform_version --transport=$upd_transport --familyId=$upd_familyID --supportedClusters=$upd_supported_clusters --OSVersion=$upd_os_version --parentChild=$upd_parent_child --certificationIDOfSoftwareComponent=$upd_certification_id_of_software_component --from=$zb_account --yes) +result=$(get_txn_result "$result") echo "$result" echo "Compliance Info for Model with VID: ${vid} PID: ${pid} SV: ${sv} for $zigbee_certification_type all fields updated" @@ -766,6 +786,7 @@ check_response "$result" "\"pid\": $pid" # delete compliance info echo "delete compliance info vid=$vid pid=$pid softwareVerion=$sv certificationType=$zigbee_certification_type" result=$(echo "$passphrase" | dcld tx compliance delete-compliance-info --vid=$vid --pid=$pid --softwareVersion=$sv --certificationType=$zigbee_certification_type --from=$zb_account --yes) +result=$(get_txn_result "$result") test_divider diff --git a/integration_tests/cli/compliance-provisioning.sh b/integration_tests/cli/compliance-provisioning.sh index 380810655..c6a318cdc 100755 --- a/integration_tests/cli/compliance-provisioning.sh +++ b/integration_tests/cli/compliance-provisioning.sh @@ -48,6 +48,7 @@ create_model_and_version $vid $pid $sv $svs $vendor_account echo "Provision for uncertificate Model with VID: $vid PID: $pid for ZB" result=$(echo "$passphrase" | dcld tx compliance provision-model --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$certification_type_zb" --provisionalDate="$provision_date" --reason "$provision_reason" --cdCertificateId="$cd_certificate_id" --cdVersionNumber=1 --from $zb_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -55,6 +56,7 @@ test_divider echo "Provision for uncertificate Model with VID: $vid PID: $pid for Matter" result=$(echo "$passphrase" | dcld tx compliance provision-model --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$certification_type_matter" --provisionalDate="$provision_date" --reason "$provision_reason" --cdCertificateId="$cd_certificate_id" --cdVersionNumber=1 --from $zb_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -63,6 +65,7 @@ test_divider echo "ReProvision Model with VID: $vid PID: $pid SV: ${sv} by different account" result=$(echo "$passphrase" | dcld tx compliance provision-model --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$certification_type_zb" --provisionalDate="$provision_date" --reason "$provision_reason" --cdCertificateId="$cd_certificate_id" --cdVersionNumber=1 --from $zb_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 305" check_response "$result" "already in provisional state" echo "$result" @@ -71,6 +74,7 @@ test_divider echo "ReProvision Model with VID: $vid PID: $pid SV: ${sv} by same account" result=$(echo "$passphrase" | dcld tx compliance provision-model --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$certification_type_zb" --provisionalDate="$provision_date" --reason "$provision_reason" --cdCertificateId="$cd_certificate_id" --cdVersionNumber=1 --from $zb_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 305" check_response "$result" "already in provisional state" echo "$result" @@ -230,6 +234,7 @@ echo "Certify Model with VID: $vid PID: $pid2 for Matter" certification_date="2021-02-02T02:20:19Z" certification_reason="some reason 2" result=$(echo "$passphrase" | dcld tx compliance certify-model --vid=$vid --pid=$pid2 --softwareVersion=$sv2 --softwareVersionString=$svs2 --certificationType="$certification_type_matter" --certificationDate="$certification_date" --reason "$certification_reason" --cdCertificateId="$cd_certificate_id" --cdVersionNumber=1 --from $zb_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -250,6 +255,7 @@ test_divider echo "Provision for already certified Model with VID: $vid PID: $pid2 for Matter" result=$(echo "$passphrase" | dcld tx compliance provision-model --vid=$vid --pid=$pid2 --softwareVersion=$sv2 --softwareVersionString=$svs2 --certificationType="$certification_type_matter" --provisionalDate="$provision_date" --reason "$provision_reason" --cdCertificateId="$cd_certificate_id" --cdVersionNumber=1 --from $zb_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 303" check_response "$result" "already certified on the ledger" echo "$result" @@ -269,6 +275,7 @@ echo "Revoke Certification for uncertificate Model with VID: $vid PID: $pid3" revocation_date="2021-02-02T02:20:20Z" revocation_reason="some reason 11" result=$(echo "$passphrase" | dcld tx compliance revoke-model --vid=$vid --pid=$pid3 --softwareVersion=$sv3 --softwareVersionString=$svs3 --certificationType="$certification_type_zb" --revocationDate="$revocation_date" --reason "$revocation_reason" --cdVersionNumber=1 --from $zb_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -276,6 +283,7 @@ test_divider echo "Provision for already revoked Model with VID: $vid PID: $pid3 for Matter" result=$(echo "$passphrase" | dcld tx compliance provision-model --vid=$vid --pid=$pid3 --softwareVersion=$sv3 --softwareVersionString=$svs3 --certificationType="$certification_type_zb" --provisionalDate="$provision_date" --reason "$provision_reason" --cdCertificateId="$cd_certificate_id" --cdVersionNumber=1 --from $zb_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 304" check_response "$result" "already revoked on the ledger" echo "$result" @@ -288,6 +296,7 @@ echo "Certify provisioned Model with VID: $vid PID: $pid" certification_date="2021-02-02T02:20:19Z" certification_reason="some reason 2" result=$(echo "$passphrase" | dcld tx compliance certify-model --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$certification_type_zb" --certificationDate="$certification_date" --reason "$certification_reason" --cdCertificateId="$cd_certificate_id" --cdVersionNumber=1 --from $zb_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -297,6 +306,7 @@ echo "Revoke provisioned Model with VID: $vid PID: $pid" revocation_date="2021-02-02T02:20:20Z" revocation_reason="some reason 22" result=$(echo "$passphrase" | dcld tx compliance revoke-model --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$certification_type_matter" --revocationDate="$revocation_date" --reason "$revocation_reason" --cdVersionNumber=1 --from $zb_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -462,6 +472,7 @@ create_model_and_version $vid $pid $sv $svs $vendor_account # ADD PROVISION MODEL WITH ALL OPTIONAL FIELDS echo "Provision Model with VID: $vid PID: $pid SV: ${sv} with zigbee certification" result=$(echo "$passphrase" | dcld tx compliance provision-model --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$certification_type_zb" --provisionalDate="$provision_date" --reason "$provision_reason" --cdCertificateId="$cd_certificate_id" --programTypeVersion="1.0" --familyId="someFID" --supportedClusters="someClusters" --compliantPlatformUsed="WIFI" --compliantPlatformVersion="V1" --OSVersion="someV" --certificationRoute="Full" --programType="pType" --transport="someTransport" --parentChild="parent" --certificationIDOfSoftwareComponent="someIDOfSoftwareComponent1" --cdVersionNumber=1 --from $zb_account --yes) +result=$(get_txn_result "$result") echo "$result" check_response "$result" "\"code\": 0" @@ -503,6 +514,7 @@ test_divider # ADD CERTIFY MODEL WITH SOME OPTIONAL FIELDS echo "Certify Model with VID: $vid PID: $pid SV: ${sv} with zigbee certification" result=$(echo "$passphrase" | dcld tx compliance certify-model --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$certification_type_zb" --cdVersionNumber=1 --certificationDate="$certification_date" --cdCertificateId="$cd_certificate_id" --programTypeVersion="2.0" --familyId="someFID2" --supportedClusters="someClusters2" --compliantPlatformUsed="ETHERNET" --compliantPlatformVersion="V2" --certificationIDOfSoftwareComponent="someIDOfSoftwareComponent2" --from $zb_account --yes) +result=$(get_txn_result "$result") echo "$result" check_response "$result" "\"code\": 0" diff --git a/integration_tests/cli/compliance-revocation.sh b/integration_tests/cli/compliance-revocation.sh index abc0447ed..20832be73 100755 --- a/integration_tests/cli/compliance-revocation.sh +++ b/integration_tests/cli/compliance-revocation.sh @@ -49,6 +49,7 @@ echo "Revoke Certification for uncertificate Model with VID: $vid PID: $pid" revocation_date="2020-02-02T02:20:20Z" revocation_reason="some reason" result=$(echo "$passphrase" | dcld tx compliance revoke-model --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$certification_type" --revocationDate="$revocation_date" --reason "$revocation_reason" --cdVersionNumber=1 --from $zb_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -56,6 +57,7 @@ test_divider echo "ReRevoke Model with VID: $vid PID: $pid SV: ${sv} by different account" result=$(echo "$passphrase" | dcld tx compliance revoke-model --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$certification_type" --revocationDate="$revocation_date" --from $second_zb_account --cdVersionNumber=1 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 304" check_response "$result" "already revoked on the ledger" echo "$result" @@ -64,6 +66,7 @@ test_divider echo "ReRevoke Model with VID: $vid PID: $pid SV: ${sv} by same account" result=$(echo "$passphrase" | dcld tx compliance revoke-model --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$certification_type" --revocationDate="$revocation_date" --cdVersionNumber=1 --from $zb_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 304" check_response "$result" "already revoked on the ledger" echo "$result" @@ -74,6 +77,7 @@ echo "Revoke Certification for uncertificate Model with VID: $vid PID: $pid for revocation_date="2020-02-02T02:20:20Z" revocation_reason="some reason" result=$(echo "$passphrase" | dcld tx compliance revoke-model --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$certification_type_matter" --revocationDate="$revocation_date" --reason "$revocation_reason" --cdVersionNumber=1 --from $zb_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -202,6 +206,7 @@ certification_reason="some reason 2" echo "Certify revoked Model with VID: $vid PID: $pid from the past" certification_date_past="2020-02-02T02:20:19Z" result=$(echo "$passphrase" | dcld tx compliance certify-model --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$certification_type" --certificationDate="$certification_date_past" --reason "$certification_reason" --cdCertificateId="$cd_certificate_id" --cdVersionNumber=1 --from $zb_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 302" check_response "$result" "must be after" echo "$result" @@ -211,6 +216,7 @@ test_divider echo "Certify revoked Model with VID: $vid PID: $pid for ZB" certification_date="2020-02-02T02:20:21Z" result=$(echo "$passphrase" | dcld tx compliance certify-model --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$svs --certificationType="$certification_type" --certificationDate="$certification_date" --reason "$certification_reason" --cdCertificateId="$cd_certificate_id" --cdVersionNumber=1 --from $zb_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" diff --git a/integration_tests/cli/model-demo-hex.sh b/integration_tests/cli/model-demo-hex.sh index c6b4d26a9..ea8e2103f 100644 --- a/integration_tests/cli/model-demo-hex.sh +++ b/integration_tests/cli/model-demo-hex.sh @@ -58,6 +58,7 @@ test_divider productLabel="Device #1" echo "Add Model with VID: $vid_in_hex_format PID: $pid_in_hex_format" result=$(echo "test1234" | dcld tx model add-model --vid=$vid_in_hex_format --pid=$pid_in_hex_format --deviceTypeID=1 --productName=TestProduct --productLabel="$productLabel" --partNumber=1 --commissioningCustomFlow=0 --from=$vendor_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -90,6 +91,7 @@ test_divider echo "Update Model with VID: ${vid_in_hex_format} PID: ${pid_in_hex_format} with new description" description="New Device Description" result=$(echo "test1234" | dcld tx model update-model --vid=$vid_in_hex_format --pid=$pid_in_hex_format --from $vendor_account --yes --productLabel "$description") +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -107,6 +109,7 @@ test_divider echo "Update Model with VID: ${vid_in_hex_format} PID: ${pid_in_hex_format} modifying supportURL" supportURL="https://newsupporturl.test" result=$(echo "test1234" | dcld tx model update-model --vid=$vid_in_hex_format --pid=$pid_in_hex_format --from $vendor_account --yes --supportURL "$supportURL") +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -123,6 +126,7 @@ test_divider echo "Delete Model with VID: ${vid_in_hex_format} PID: ${pid_in_hex_format}" result=$(dcld tx model delete-model --vid=$vid_in_hex_format --pid=$pid_in_hex_format --from=$vendor_account --yes) +result=$(get_txn_result "$result") echo "$result" test_divider diff --git a/integration_tests/cli/model-demo.sh b/integration_tests/cli/model-demo.sh index 6f804ad3e..9730d4d1d 100755 --- a/integration_tests/cli/model-demo.sh +++ b/integration_tests/cli/model-demo.sh @@ -60,6 +60,7 @@ test_divider productLabel="Device #1" echo "Add Model with VID: $vid PID: $pid" result=$(echo "test1234" | dcld tx model add-model --vid=$vid --pid=$pid --deviceTypeID=1 --productName=TestProduct --productLabel="$productLabel" --partNumber=1 --commissioningCustomFlow=0 --from=$vendor_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -68,6 +69,7 @@ test_divider productLabel="Device #1" echo "Add Model with VID: $vid_with_pids PID: $pid" result=$(echo "test1234" | dcld tx model add-model --vid=$vid_with_pids --pid=$pid --deviceTypeID=1 --productName=TestProduct --productLabel="$productLabel" --partNumber=1 --commissioningCustomFlow=0 --from=$vendor_account_with_pids --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -86,6 +88,7 @@ sv=1 cd_version_num=10 echo "Create Model Versions with VID: $vid PID: $pid SoftwareVersion: $sv" result=$(echo "test1234" | dcld tx model add-model-version --vid=$vid --pid=$pid --softwareVersion=$sv --minApplicableSoftwareVersion=1 --maxApplicableSoftwareVersion=15 --softwareVersionString=$sv --cdVersionNumber=$cd_version_num --from=$vendor_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -93,6 +96,7 @@ test_divider echo "Create Model Versions with VID: $vid_with_pids PID: $pid SoftwareVersion: $sv" result=$(echo "test1234" | dcld tx model add-model-version --vid=$vid_with_pids --pid=$pid --softwareVersion=$sv --minApplicableSoftwareVersion=1 --maxApplicableSoftwareVersion=15 --softwareVersionString=$sv --cdVersionNumber=$cd_version_num --from=$vendor_account_with_pids --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -116,6 +120,7 @@ test_divider echo "Update Model with VID: ${vid} PID: ${pid} with new description" description="New Device Description" result=$(echo "test1234" | dcld tx model update-model --vid=$vid --pid=$pid --from $vendor_account --yes --productLabel "$description") +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -123,6 +128,7 @@ test_divider echo "Update Model with VID: ${vid_with_pids} PID: ${pid} with new description" result=$(echo "test1234" | dcld tx model update-model --vid=$vid_with_pids --pid=$pid --from $vendor_account_with_pids --yes --productLabel "$description") +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -140,6 +146,7 @@ test_divider echo "Update Model with VID: ${vid} PID: ${pid} modifying supportURL" supportURL="https://newsupporturl.test" result=$(echo "test1234" | dcld tx model update-model --vid=$vid --pid=$pid --from $vendor_account --yes --supportURL "$supportURL") +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -156,12 +163,14 @@ test_divider echo "Delete Model with VID: ${vid} PID: ${pid}" result=$(dcld tx model delete-model --vid=$vid --pid=$pid --from=$vendor_account --yes) +result=$(get_txn_result "$result") echo "$result" test_divider echo "Delete Model with VID: ${vid_with_pids} PID: ${pid}" result=$(dcld tx model delete-model --vid=$vid_with_pids --pid=$pid --from=$vendor_account_with_pids --yes) +result=$(get_txn_result "$result") echo "$result" test_divider diff --git a/integration_tests/cli/model-negative-cases.sh b/integration_tests/cli/model-negative-cases.sh index 3e84c4af9..0e9389982 100755 --- a/integration_tests/cli/model-negative-cases.sh +++ b/integration_tests/cli/model-negative-cases.sh @@ -45,11 +45,13 @@ create_new_vendor_account $vendor_account_with_pids $vid_with_pids $pid_ranges echo "Add Model with VID: $vid PID: $pid: Not Vendor" result=$(echo "test1234" | dcld tx model add-model --vid=$vid --pid=$pid --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from=$certification_house --yes) +result=$(get_txn_result "$result") check_response_and_report "$result" "\"code\": 4" echo "$result" echo "Add Model with VID: $vid_with_pids PID: 101 :Vendor with non-associated PID" result=$(echo "test1234" | dcld tx model add-model --vid=$vid_with_pids --pid=101 --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from=$vendor_account_with_pids --yes) +result=$(get_txn_result "$result") check_response_and_report "$result" "\"code\": 4" echo "$result" @@ -58,6 +60,7 @@ test_divider vid1=$RANDOM echo "Add Model with VID: $vid1 PID: $pid: Vendor ID does not belong to vendor" result=$(echo "test1234" | dcld tx model add-model --vid=$vid1 --pid=$pid --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from=$vendor_account --yes) +result=$(get_txn_result "$result") check_response_and_report "$result" "\"code\": 4" echo "$result" @@ -66,6 +69,7 @@ test_divider echo "Add Model with VID: $vid PID: $pid: Twice" result=$(echo "test1234" | dcld tx model add-model --vid=$vid --pid=$pid --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from=$vendor_account --yes) result=$(echo "test1234" | dcld tx model add-model --vid=$vid --pid=$pid --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from=$vendor_account --yes) +result=$(get_txn_result "$result") check_response_and_report "$result" "\"code\": 501" echo "$result" @@ -75,6 +79,7 @@ sv=$RANDOM svs=$RANDOM echo "Create a Device Model Version with VID: $vid PID: $pid SV: $sv" result=$(echo 'test1234' | dcld tx model add-model-version --cdVersionNumber=1 --maxApplicableSoftwareVersion=10 --minApplicableSoftwareVersion=1 --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$softwareVersionString --from=$vendor_account --yes) +result=$(get_txn_result "$result") echo "$result" check_response "$result" "\"code\": 0" @@ -83,10 +88,12 @@ zigbee_certification_type="zigbee" matter_certification_type="matter" cd_certificate_id="123" result=$(echo 'test1234' | dcld tx compliance certify-model --vid=$vid --pid=$pid --softwareVersion=$sv --cdVersionNumber=1 --certificationType="$zigbee_certification_type" --certificationDate="$certification_date" --softwareVersionString=$softwareVersionString --cdCertificateId="$cd_certificate_id" --from $zb_account --yes) +result=$(get_txn_result "$result") echo "$result" echo "Delete Model with VID: ${vid} PID: ${pid}" result=$(dcld tx model delete-model --vid=$vid --pid=$pid --from=$vendor_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 525" # code for model certified error @@ -95,6 +102,7 @@ check_response "$result" "\"code\": 525" # code for model certified error echo "Add Model with VID: $vid PID: $pid: Unknown account" result=$(echo "test1234" | dcld tx model add-model --vid=$vid --pid=$pid --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from=$vendor_account --yes) result=$(dcld tx model add-model --vid=$vid --pid=$pid --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from "Unknown" 2>&1) || true +result=$(get_txn_result "$result") check_response_and_report "$result" "key not found" raw test_divider @@ -102,48 +110,59 @@ test_divider echo "Add model with invalid VID/PID" i="-1" result=$(echo "test1234" | dcld tx model add-model --vid=$i --pid=$pid --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from $vendor_account --yes 2>&1) || true +result=$(get_txn_result "$result") check_response_and_report "$result" "Vid must not be less than 1" raw result=$(echo "test1234" | dcld tx model add-model --vid=$vid --pid=$i --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from $vendor_account --yes 2>&1) || true -check_response_and_report "$result" "Pid must not be less than 1" raw +result=$(get_txn_result "$result") +heck_response_and_report "$result" "Pid must not be less than 1" raw i="0" result=$(echo "test1234" | dcld tx model add-model --vid=$i --pid=$pid --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from $vendor_account --yes 2>&1) || true +result=$(get_txn_result "$result") check_response_and_report "$result" "Vid must not be less than 1" raw result=$(echo "test1234" | dcld tx model add-model --vid=$vid --pid=$i --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from $vendor_account --yes 2>&1) || true +result=$(get_txn_result "$result") check_response_and_report "$result" "Pid must not be less than 1" raw i="65536" result=$(echo "test1234" | dcld tx model add-model --vid=$i --pid=$pid --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from $vendor_account --yes 2>&1) || true +result=$(get_txn_result "$result") check_response_and_report "$result" "Vid must not be greater than 65535" raw result=$(echo "test1234" | dcld tx model add-model --vid=$vid --pid=$i --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from $vendor_account --yes 2>&1) || true +result=$(get_txn_result "$result") check_response_and_report "$result" "Pid must not be greater than 65535" raw i="string" result=$(echo "test1234" | dcld tx model add-model --vid=$i --pid=$pid --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from $vendor_account --yes 2>&1) || true +result=$(get_txn_result "$result") check_response_and_report "$result" "invalid syntax" raw result=$(echo "test1234" | dcld tx model add-model --vid=$vid --pid=$i --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from $vendor_account --yes 2>&1) || true +result=$(get_txn_result "$result") check_response_and_report "$result" "invalid syntax" raw test_divider echo "Add model with empty name" result=$(echo "test1234" | dcld tx model add-model --vid=$vid --pid=$pid --deviceTypeID=1 --productName="" --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from $vendor_account --yes 2>&1) || true +result=$(get_txn_result "$result") check_response_and_report "$result" "ProductName is a required field" raw test_divider echo "Add model with empty --from flag" result=$(dcld tx model add-model --vid=$vid --pid=$pid --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from "" --yes 2>&1) || true +result=$(get_txn_result "$result") check_response_and_report "$result" "invalid creator address (empty address string is not allowed)" raw test_divider echo "Add model without --from flag" result=$(dcld tx model add-model --vid=$vid --pid=$pid --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --yes 2>&1) || true +result=$(get_txn_result "$result") check_response_and_report "$result" "required flag(s) \"from\" not set" raw test_divider diff --git a/integration_tests/cli/model-validation-cases.sh b/integration_tests/cli/model-validation-cases.sh index 967ee0459..d490a26e5 100755 --- a/integration_tests/cli/model-validation-cases.sh +++ b/integration_tests/cli/model-validation-cases.sh @@ -33,6 +33,7 @@ test_divider # Create a new model with minimum fields echo "Add Model with minimum required fields with VID: $vid_1 PID: $pid_1" result=$(echo "test1234" | dcld tx model add-model --vid=$vid_1 --pid=$pid_1 --deviceTypeID=1 --productName=TestProduct --productLabel="Test Product" --partNumber=1 --from=$vendor_account_1 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -55,6 +56,7 @@ result=$(echo "test1234" | dcld tx model add-model --vid=$vid_1 --pid=$pid_2 --d --commissioningModeInitialStepsHint=1 --commissioningModeInitialStepsInstruction="Initial Instructions" \ --commissioningModeSecondaryStepsHint=2 --commissioningModeSecondaryStepsInstruction="Secondary Steps Instruction" \ --userManualURL="https://usermanual.url" --productURL="https://product.url.info" --lsfURL="https://lsf.url.info" --supportURL="https://support.url.info" --from=$vendor_account_1 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -90,6 +92,7 @@ result=$(echo "test1234" | dcld tx model add-model --vid=$vid_1 --pid=$pid_3 --d --commissioningModeInitialStepsHint=1 --commissioningModeInitialStepsInstruction="Initial Instructions" \ --commissioningModeSecondaryStepsHint=2 --commissioningModeSecondaryStepsInstruction="Secondary Steps Instruction" \ --from=$vendor_account_1 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -118,6 +121,7 @@ test_divider # Update model with mutable fields and make sure they are updated properly echo "Update model with mutable fields and make sure they are updated properly VID: $vid_1 PID: $pid_1" result=$(echo "test1234" | dcld tx model update-model --vid=$vid_1 --pid=$pid_1 --productName="Updated Product Name" --productLabel="Updated Test Product" --partNumber="2" --lsfURL="https://lsf.url.info?v=1" --lsfRevision=1 --from=$vendor_account_1 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -138,6 +142,7 @@ test_divider # Update model with just one mutable fields and make sure they are updated properly echo "Update model with just one mutable field and make sure they are updated properly VID: $vid_1 PID: $pid_1" result=$(echo "test1234" | dcld tx model update-model --vid=$vid_1 --pid=$pid_1 --productLabel="Updated Test Product V2" --from=$vendor_account_1 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -159,6 +164,7 @@ result=$(echo "test1234" | dcld tx model update-model --vid=$vid_1 --pid=$pid_1 --productLabel="Updated Test Product V3" --commissioningModeInitialStepsInstruction="Instructions updated v3" \ --commissioningModeSecondaryStepsInstruction="Secondary Instructions v3" --userManualURL="https://userManual.info/v3" \ --supportURL="https://support.url.info/v3" --productURL="https://product.landingpage.url" --lsfURL="https://lsf.url.info?v=2" --lsfRevision=2 --from=$vendor_account_1 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -185,6 +191,7 @@ test_divider # Update model with just one mutable fields and make sure they are updated properly echo "Update model with just one mutable field and make sure all other mutated fields are still the same for VID: $vid_1 PID: $pid_1" result=$(echo "test1234" | dcld tx model update-model --vid=$vid_1 --pid=$pid_1 --productLabel="Updated Test Product V4" --from=$vendor_account_1 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -210,6 +217,7 @@ test_divider # Update model with just one mutable fields and make sure they are updated properly echo "Update model with no fields are still the same for VID: $vid_1 PID: $pid_1" result=$(echo "test1234" | dcld tx model update-model --vid=$vid_1 --pid=$pid_1 --from=$vendor_account_1 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -237,12 +245,14 @@ test_divider # Update the model with lsfRevision equal to the existing lsfRevision echo "Update the model with lsfRevision equal to the existing lsfRevision make sure we get error back VID: $vid_1 PID: $pid_1" result=$(echo "test1234" | dcld tx model update-model --vid=$vid_1 --pid=$pid_1 --lsfURL="https://lsf.url.info?v=3" --lsfRevision=2 --from=$vendor_account_1 --yes 2>&1) || true +result=$(get_txn_result "$result") check_response_and_report "$result" "LsfRevision should monotonically increase by 1" raw test_divider echo "Update the model with lsfRevision less then the existing lsfRevision make sure we get error back VID: $vid_1 PID: $pid_1" result=$(echo "test1234" | dcld tx model update-model --vid=$vid_1 --pid=$pid_1 --lsfURL="https://lsf.url.info?v=3" --lsfRevision=1 --from=$vendor_account_1 --yes 2>&1) || true +result=$(get_txn_result "$result") check_response_and_report "$result" "LsfRevision should monotonically increase by 1" raw test_divider @@ -255,6 +265,7 @@ sv_1=$RANDOM # Create a new model version echo "Create a Device Model Version with minimum mandatory fields for VID: $vid_1 PID: $pid_1 SV: $sv_1" result=$(echo 'test1234' | dcld tx model add-model-version --cdVersionNumber=1 --maxApplicableSoftwareVersion=20 --minApplicableSoftwareVersion=10 --vid=$vid_1 --pid=$pid_1 --softwareVersion=$sv_1 --softwareVersionString=1 --from=$vendor_account_1 --yes) +result=$(get_txn_result "$result") echo "$result" check_response_and_report "$result" "\"code\": 0" @@ -278,6 +289,7 @@ test_divider # Update the model version with only one mutable field and make sure all other fields are still the same echo "Update Device Model Version with only one mutable field and make sure all other fields are still the same for VID: $vid_1 PID: $pid_1 SV: $sv_1" result=$(echo "test1234" | dcld tx model update-model-version --vid=$vid_1 --pid=$pid_1 --softwareVersion=$sv_1 --softwareVersionValid=false --from=$vendor_account_1 --yes) +result=$(get_txn_result "$result") check_response_and_report "$result" "\"code\": 0" test_divider @@ -301,6 +313,7 @@ test_divider echo "Update Device Model Version with few mutable fields and make sure all other fields are still the same for VID: $vid_1 PID: $pid_1 SV: $sv_1" result=$(echo "test1234" | dcld tx model update-model-version --vid=$vid_1 --pid=$pid_1 --softwareVersion=$sv_1 --softwareVersionValid=true \ --releaseNotesURL="https://release.url.info" --otaURL="https://ota.url.com" --otaFileSize=123 --otaChecksum="123123123" --minApplicableSoftwareVersion=2 --maxApplicableSoftwareVersion=20 --from=$vendor_account_1 --yes) +result=$(get_txn_result "$result") check_response_and_report "$result" "\"code\": 0" test_divider @@ -332,6 +345,7 @@ result=$(echo 'test1234' | dcld tx model add-model-version --vid=$vid_1 --pid=$p --softwareVersionValid=true --otaURL="https://ota.url.info" --otaFileSize=123456789 \ --otaChecksum="123456789012345678901234567890123456789012345678901234567890123" --releaseNotesURL="https://release.notes.url.info" \ --otaChecksumType=1 --maxApplicableSoftwareVersion=32 --minApplicableSoftwareVersion=5 --from=$vendor_account_1 --yes) +result=$(get_txn_result "$result") echo "$result" check_response_and_report "$result" "\"code\": 0" @@ -361,6 +375,7 @@ test_divider # Update the model version with minimum fields i.e. no update at all echo "Update Device Model Version with only one mutable field and make sure all other fields are still the same for VID: $vid_1 PID: $pid_1 SV: $sv_1" result=$(echo "test1234" | dcld tx model update-model-version --vid=$vid_1 --pid=$pid_1 --softwareVersion=$sv_1 --from=$vendor_account_1 --yes) +result=$(get_txn_result "$result") check_response_and_report "$result" "\"code\": 0" test_divider @@ -389,6 +404,7 @@ test_divider # Update the model version with only one mutable field and make sure all other fields are still the same echo "Update Device Model Version with only one mutable field and make sure all other fields are still the same for VID: $vid_1 PID: $pid_1 SV: $sv_1" result=$(echo "test1234" | dcld tx model update-model-version --vid=$vid_1 --pid=$pid_1 --softwareVersion=$sv_1 --softwareVersionValid=false --from=$vendor_account_1 --yes) +result=$(get_txn_result "$result") check_response_and_report "$result" "\"code\": 0" test_divider @@ -418,6 +434,7 @@ echo "Update Device Model Version with all mutable fields for VID: $vid_1 PID: $ result=$(echo 'test1234' | dcld tx model update-model-version --vid=$vid_1 --pid=$pid_1 --softwareVersion=$sv_1 \ --softwareVersionValid=true --otaURL="https://updated.ota.url.info" --releaseNotesURL="https://updated.release.notes.url.info" \ --maxApplicableSoftwareVersion=25 --minApplicableSoftwareVersion=15 --from=$vendor_account_1 --yes) +result=$(get_txn_result "$result") echo "$result" check_response_and_report "$result" "\"code\": 0" @@ -450,6 +467,7 @@ result=$(echo 'test1234' | dcld tx model add-model-version --vid=$vid_1 --pid=$p --softwareVersionValid=true --otaURL="https://ota.url.info" --otaFileSize=123456789 \ --otaChecksum="123456789012345678901234567890123456789012345678901234567890123" \ --otaChecksumType=1 --maxApplicableSoftwareVersion=32 --minApplicableSoftwareVersion=5 --from=$vendor_account_1 --yes) +result=$(get_txn_result "$result") echo "$result" check_response_and_report "$result" "\"code\": 0" @@ -480,6 +498,7 @@ test_divider # Update the model version with maxApplicableSoftwareVersion less then minApplicableSoftwareVersion echo "Update the model version with maxApplicableSoftwareVersion less then minApplicableSoftwareVersion and make sure we get error back VID: $vid_1 PID: $pid_1 SV: $sv_1" result=$(echo "test1234" | dcld tx model update-model-version --vid=$vid_1 --pid=$pid_1 --softwareVersion=$sv_1 --maxApplicableSoftwareVersion=3 --minApplicableSoftwareVersion=5 --from=$vendor_account_1 --yes 2>&1) || true +result=$(get_txn_result "$result") check_response_and_report "$result" "MaxApplicableSoftwareVersion must not be less than MinApplicableSoftwareVersion" raw test_divider @@ -487,6 +506,7 @@ test_divider # Update the model version with minApplicableSoftwareVersion greater then maxApplicableSoftwareVersion echo "Update the model version with minApplicableSoftwareVersion greater then maxApplicableSoftwareVersion and make sure we get error back VID: $vid_1 PID: $pid_1 SV: $sv_1" result=$(echo "test1234" | dcld tx model update-model-version --vid=$vid_1 --pid=$pid_1 --softwareVersion=$sv_1 --maxApplicableSoftwareVersion=32 --minApplicableSoftwareVersion=33 --from=$vendor_account_1 --yes 2>&1) || true +result=$(get_txn_result "$result") check_response_and_report "$result" "MaxApplicableSoftwareVersion must not be less than MinApplicableSoftwareVersion" raw test_divider diff --git a/integration_tests/cli/modelversion-demo-hex.sh b/integration_tests/cli/modelversion-demo-hex.sh index a878811e5..6a2fbb68d 100644 --- a/integration_tests/cli/modelversion-demo-hex.sh +++ b/integration_tests/cli/modelversion-demo-hex.sh @@ -32,6 +32,7 @@ create_new_vendor_account $vendor_account $vid_in_hex_format echo "Add Model with VID: $vid_in_hex_format PID: $pid_in_hex_format" result=$(echo "test1234" | dcld tx model add-model --vid=$vid_in_hex_format --pid=$pid_in_hex_format --deviceTypeID=1 --productName=TestProduct --productLabel="Test Product" --partNumber=1 --commissioningCustomFlow=0 --from=$vendor_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -39,6 +40,7 @@ test_divider sv=$RANDOM echo "Create a Device Model Version with VID: $vid PID: $pid SV: $sv" result=$(echo 'test1234' | dcld tx model add-model-version --cdVersionNumber=1 --maxApplicableSoftwareVersion=10 --minApplicableSoftwareVersion=1 --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=1 --from=$vendor_account --yes) +result=$(get_txn_result "$result") echo "$result" check_response "$result" "\"code\": 0" @@ -91,6 +93,7 @@ test_divider # Update the existing model version echo "Update Device Model Version with VID: $vid_in_hex_format PID: $pid_in_hex_format SV: $sv" result=$(echo 'test1234' | dcld tx model update-model-version --vid=$vid_in_hex_format --pid=$pid_in_hex_format --minApplicableSoftwareVersion=2 --maxApplicableSoftwareVersion=10 --softwareVersion=$sv --softwareVersionValid=false --from=$vendor_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -114,6 +117,7 @@ test_divider sv2=$RANDOM echo "Create a Second Device Model Version with VID: $vid_in_hex_format PID: $pid_in_hex_format SV: $sv2" result=$(echo 'test1234' | dcld tx model add-model-version --cdVersionNumber=1 --maxApplicableSoftwareVersion=10 --minApplicableSoftwareVersion=1 --vid=$vid --pid=$pid --softwareVersion=$sv2 --softwareVersionString=1 --from=$vendor_account --yes) +result=$(get_txn_result "$result") echo "$result" check_response "$result" "\"code\": 0" @@ -138,6 +142,7 @@ new_vid_in_hex_format="0xB17" different_vendor_account=vendor_account_$new_vid_in_hex_format create_new_vendor_account $different_vendor_account $new_vid_in_hex_format result=$(echo 'test1234' | dcld tx model add-model-version --cdVersionNumber=1 --maxApplicableSoftwareVersion=10 --minApplicableSoftwareVersion=1 --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=1 --from=$different_vendor_account --yes) +result=$(get_txn_result "$result") check_response_and_report "$result" "transaction should be signed by a vendor account containing the vendorID $vid" test_divider @@ -145,5 +150,6 @@ test_divider # Update model version with vid belonging to another vendor echo "Update a Device Model Version with VID: $vid_in_hex_format PID: $pid_in_hex_format SV: $sv from a different vendor account" result=$(echo 'test1234' | dcld tx model update-model-version --vid=$vid_in_hex_format --pid=$pid_in_hex_format --softwareVersion=$sv --softwareVersionValid=false --from=$different_vendor_account --yes) +result=$(get_txn_result "$result") check_response_and_report "$result" "transaction should be signed by a vendor account containing the vendorID $vid" diff --git a/integration_tests/cli/modelversion-demo.sh b/integration_tests/cli/modelversion-demo.sh index 4a7fa98e2..1921ea428 100755 --- a/integration_tests/cli/modelversion-demo.sh +++ b/integration_tests/cli/modelversion-demo.sh @@ -30,6 +30,7 @@ create_new_vendor_account $vendor_account $vid echo "Add Model with VID: $vid PID: $pid" result=$(echo "test1234" | dcld tx model add-model --vid=$vid --pid=$pid --deviceTypeID=1 --productName=TestProduct --productLabel="Test Product" --partNumber=1 --commissioningCustomFlow=0 --from=$vendor_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -37,6 +38,7 @@ test_divider sv=$RANDOM echo "Create a Device Model Version with VID: $vid PID: $pid SV: $sv" result=$(echo 'test1234' | dcld tx model add-model-version --cdVersionNumber=1 --maxApplicableSoftwareVersion=10 --minApplicableSoftwareVersion=1 --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=1 --from=$vendor_account --yes) +result=$(get_txn_result "$result") echo "$result" check_response "$result" "\"code\": 0" @@ -89,6 +91,7 @@ test_divider # Update the existing model version echo "Update Device Model Version with VID: $vid PID: $pid SV: $sv" result=$(echo 'test1234' | dcld tx model update-model-version --vid=$vid --pid=$pid --minApplicableSoftwareVersion=2 --maxApplicableSoftwareVersion=10 --softwareVersion=$sv --softwareVersionValid=false --from=$vendor_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -112,6 +115,7 @@ test_divider sv2=$RANDOM echo "Create a Second Device Model Version with VID: $vid PID: $pid SV: $sv2" result=$(echo 'test1234' | dcld tx model add-model-version --cdVersionNumber=1 --maxApplicableSoftwareVersion=10 --minApplicableSoftwareVersion=1 --vid=$vid --pid=$pid --softwareVersion=$sv2 --softwareVersionString=1 --from=$vendor_account --yes) +result=$(get_txn_result "$result") echo "$result" check_response "$result" "\"code\": 0" @@ -136,6 +140,7 @@ newvid=$RANDOM different_vendor_account=vendor_account_$newvid create_new_vendor_account $different_vendor_account $newvid result=$(echo 'test1234' | dcld tx model add-model-version --cdVersionNumber=1 --maxApplicableSoftwareVersion=10 --minApplicableSoftwareVersion=1 --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=1 --from=$different_vendor_account --yes) +result=$(get_txn_result "$result") check_response_and_report "$result" "transaction should be signed by a vendor account containing the vendorID $vid" test_divider @@ -148,6 +153,7 @@ check_response_and_report "$result" "transaction should be signed by a vendor ac # Delete existing model version echo "Delete a Device Model Version with VID: $vid PID: $pid SV: $sv" result=$(echo 'test1234' | dcld tx model delete-model-version --vid=$vid --pid=$pid --softwareVersion=$sv --from=$vendor_account --yes) +result=$(get_txn_result "$result") echo "$result" check_response "$result" "\"code\": 0" diff --git a/integration_tests/cli/pki-approval.sh b/integration_tests/cli/pki-approval.sh index 0b8d441a7..3f0c9b48d 100755 --- a/integration_tests/cli/pki-approval.sh +++ b/integration_tests/cli/pki-approval.sh @@ -58,10 +58,12 @@ fourth_trustee_pubkey=$(echo $passphrase | dcld keys show $fourth_trustee_accoun echo "$first_trustee_account proposes account for $fourth_trustee_account" result=$(echo $passphrase | dcld tx auth propose-add-account --info="Jack is proposing this account" --address="$fourth_trustee_address" --pubkey="$fourth_trustee_pubkey" --roles="Trustee" --from $first_trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$second_trustee_account approves account for $fourth_trustee_account" result=$(echo $passphrase | dcld tx auth approve-add-account --address="$fourth_trustee_address" --from $second_trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "Verify that the account is now present" @@ -80,14 +82,17 @@ fifth_trustee_pubkey=$(echo $passphrase | dcld keys show $fifth_trustee_account echo "$first_trustee_account proposes account for $fifth_trustee_account" result=$(echo $passphrase | dcld tx auth propose-add-account --info="Jack is proposing this account" --address="$fifth_trustee_address" --pubkey="$fifth_trustee_pubkey" --roles="Trustee" --from $first_trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$second_trustee_account approves account for $fifth_trustee_account" result=$(echo $passphrase | dcld tx auth approve-add-account --address="$fifth_trustee_address" --from $second_trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$third_trustee_account approves account for $fifth_trustee_account" result=$(echo $passphrase | dcld tx auth approve-add-account --address="$fifth_trustee_address" --from $third_trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "Verify that fifth account is now present" @@ -105,18 +110,22 @@ sixth_trustee_pubkey=$(echo $passphrase | dcld keys show $sixth_trustee_account echo "$first_trustee_account proposes account for $sixth_trustee_account" result=$(echo $passphrase | dcld tx auth propose-add-account --info="Jack is proposing this account" --address="$sixth_trustee_address" --pubkey="$sixth_trustee_pubkey" --roles="Trustee" --from $first_trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$second_trustee_account approves account for $sixth_trustee_account" result=$(echo $passphrase | dcld tx auth approve-add-account --address="$sixth_trustee_address" --from $second_trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$third_trustee_account approves account for $sixth_trustee_account" result=$(echo $passphrase | dcld tx auth approve-add-account --address="$sixth_trustee_address" --from $third_trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$fourth_trustee_account approves account for $sixth_trustee_account" result=$(echo $passphrase | dcld tx auth approve-add-account --address="$sixth_trustee_address" --from $fourth_trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "Verify that sixth account is now present" @@ -129,10 +138,12 @@ echo "PROPOSE ROOT CERT" echo "$user_account (Not Trustee) propose Root certificate" root_path="integration_tests/constants/root_cert" result=$(echo "$passphrase" | dcld tx pki propose-add-x509-root-cert --certificate="$root_path" --vid $vid --from $user_account --yes) +result=$(get_txn_result "$result") response_does_not_contain "$result" "\"code\": 0" echo "$fourth_trustee_account (Trustee) propose Root certificate" result=$(echo "$passphrase" | dcld tx pki propose-add-x509-root-cert --certificate="$root_path" --vid $vid --from $fourth_trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -141,6 +152,7 @@ echo "Approve Root certificate now 4 Approvals are needed as we have 6 trustees" echo "$first_trustee_account (Trustee) approve Root certificate" result=$(echo "$passphrase" | dcld tx pki approve-add-x509-root-cert --subject="$root_cert_subject" --subject-key-id="$root_cert_subject_key_id" --from $first_trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -153,6 +165,7 @@ test_divider echo "$second_trustee_account (Trustee) approve Root certificate" result=$(echo "$passphrase" | dcld tx pki approve-add-x509-root-cert --subject="$root_cert_subject" --subject-key-id="$root_cert_subject_key_id" --from $second_trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -165,6 +178,7 @@ test_divider echo "$third_trustee_account (Trustee) approve Root certificate" result=$(echo "$passphrase" | dcld tx pki approve-add-x509-root-cert --subject="$root_cert_subject" --subject-key-id="$root_cert_subject_key_id" --from $third_trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -181,6 +195,7 @@ test_divider echo "$sixth_trustee_account proposes revoke Root certificate" result=$(echo "$passphrase" | dcld tx pki propose-revoke-x509-root-cert --subject="$root_cert_subject" --subject-key-id="$root_cert_subject_key_id" --from $sixth_trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "Request root certificate proposed to revoke and verify that it contains approval from $sixth_trustee_account" @@ -194,6 +209,7 @@ test_divider echo "$fifth_trustee_account revokes Root certificate" result=$(echo "$passphrase" | dcld tx pki approve-revoke-x509-root-cert --subject="$root_cert_subject" --subject-key-id="$root_cert_subject_key_id" --from $fifth_trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "Request root certificate proposed to revoke and verify that it contains approval from $fifth_trustee_account" @@ -206,6 +222,7 @@ check_response "$result" "\"address\": \"$fifth_trustee_address\"" echo "$fourth_trustee_account revokes Root certificate" result=$(echo "$passphrase" | dcld tx pki approve-revoke-x509-root-cert --subject="$root_cert_subject" --subject-key-id="$root_cert_subject_key_id" --from $fourth_trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "Request root certificate proposed to revoke and verify that it contains approval from $fourth_trustee_account" @@ -219,6 +236,7 @@ check_response "$result" "\"address\": \"$fourth_trustee_address\"" echo "$third_trustee_account revokes Root certificate" result=$(echo "$passphrase" | dcld tx pki approve-revoke-x509-root-cert --subject="$root_cert_subject" --subject-key-id="$root_cert_subject_key_id" --from $third_trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "Verify Root certificate is now revoked" diff --git a/integration_tests/cli/pki-assign-vid.sh b/integration_tests/cli/pki-assign-vid.sh index 552968031..e765c95c6 100755 --- a/integration_tests/cli/pki-assign-vid.sh +++ b/integration_tests/cli/pki-assign-vid.sh @@ -19,12 +19,15 @@ echo "ASSIGN VID TO ROOT CERTIFICATE THAT ALREADY HAS VID" echo "Propose and approve root certificate" result=$(echo "$passphrase" | dcld tx pki propose-add-x509-root-cert --certificate="$root_cert_subject_path" --vid "$root_cert_vid" --from $trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" result=$(echo "$passphrase" | dcld tx pki approve-add-x509-root-cert --subject="$root_cert_subject" --subject-key-id="$root_cert_subject_key_id" --from $second_trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "Assing VID" result=$(dcld tx pki assign-vid --subject="$root_cert_subject" --subject-key-id="$root_cert_subject_key_id" --vid="$root_cert_vid" --from $vendor_admin_account --yes) +result=$(get_txn_result "$result") check_response "$result" "vid is not empty" test_divider diff --git a/integration_tests/cli/pki-demo.sh b/integration_tests/cli/pki-demo.sh index dfb9a9df2..11cc35224 100755 --- a/integration_tests/cli/pki-demo.sh +++ b/integration_tests/cli/pki-demo.sh @@ -180,10 +180,12 @@ test_divider echo "$user_account (Not Trustee) propose Root certificate" root_path="integration_tests/constants/root_cert" result=$(echo "$passphrase" | dcld tx pki propose-add-x509-root-cert --certificate="$root_path" --from $user_account --vid $vid --yes) +result=$(get_txn_result "$result") response_does_not_contain "$result" "\"code\": 0" echo "$trustee_account (Trustee) propose Root certificate" result=$(echo "$passphrase" | dcld tx pki propose-add-x509-root-cert --certificate="$root_path" --from $trustee_account --vid $vid --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -304,6 +306,7 @@ test_divider echo "$second_trustee_account (Second Trustee) approves Root certificate" result=$(echo "$passphrase" | dcld tx pki approve-add-x509-root-cert --subject="$root_cert_subject" --subject-key-id="$root_cert_subject_key_id" --from $second_trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" @@ -377,6 +380,7 @@ test_divider echo "$user_account (Not Trustee) adds Intermediate certificate" intermediate_path="integration_tests/constants/intermediate_cert" result=$(echo "$passphrase" | dcld tx pki add-x509-cert --certificate="$intermediate_path" --from $user_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" @@ -445,6 +449,7 @@ test_divider echo "$trustee_account (Trustee) add Leaf certificate" leaf_path="integration_tests/constants/leaf_cert" result=$(echo "$passphrase" | dcld tx pki add-x509-cert --certificate="$leaf_path" --from $trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -652,6 +657,7 @@ test_divider echo "$user_account (Not Trustee) revokes Intermediate certificate. This must also revoke its child - Leaf certificate." result=$(echo "$passphrase" | dcld tx pki revoke-x509-cert --subject="$intermediate_cert_subject" --subject-key-id="$intermediate_cert_subject_key_id" --from=$user_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -792,6 +798,7 @@ test_divider echo "$trustee_account (Trustee) proposes to revoke Root certificate" result=$(echo "$passphrase" | dcld tx pki propose-revoke-x509-root-cert --subject="$root_cert_subject" --subject-key-id="$root_cert_subject_key_id" --from $trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -898,6 +905,7 @@ test_divider echo "$second_trustee_account (Second Trustee) approves to revoke Root certificate" result=$(echo "$passphrase" | dcld tx pki approve-revoke-x509-root-cert --subject="$root_cert_subject" --subject-key-id="$root_cert_subject_key_id" --from $second_trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -1150,11 +1158,13 @@ test_divider echo "$user_account (Not Trustee) propose Root certificate" google_root_path="integration_tests/constants/google_root_cert" result=$(echo "$passphrase" | dcld tx pki propose-add-x509-root-cert --certificate="$google_root_path" --from $user_account --vid=$google_cert_vid --yes) +result=$(get_txn_result "$result") response_does_not_contain "$result" "\"code\": 0" echo "$trustee_account (Trustee) propose Root certificate" google_root_path="integration_tests/constants/google_root_cert" result=$(echo "$passphrase" | dcld tx pki propose-add-x509-root-cert --certificate="$google_root_path" --from $trustee_account --vid=$google_cert_vid --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -1261,6 +1271,7 @@ test_divider echo "$second_trustee_account (Second Trustee) approves Root certificate" result=$(echo "$passphrase" | dcld tx pki approve-add-x509-root-cert --subject="$google_cert_subject" --subject-key-id="$google_cert_subject_key_id" --from $second_trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -1328,6 +1339,7 @@ test_divider echo "$trustee_account (Trustee) proposes to revoke Root certificate" result=$(echo "$passphrase" | dcld tx pki propose-revoke-x509-root-cert --subject="$google_cert_subject" --subject-key-id="$google_cert_subject_key_id" --from $trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -1404,6 +1416,7 @@ test_divider echo "$second_trustee_account (Second Trustee) approves to revoke Root certificate" result=$(echo "$passphrase" | dcld tx pki approve-revoke-x509-root-cert --subject="$google_cert_subject" --subject-key-id="$google_cert_subject_key_id" --from $second_trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -1492,10 +1505,12 @@ test_divider echo "$trustee_account (Trustee) propose Root certificate" test_root_path="integration_tests/constants/test_root_cert" result=$(echo "$passphrase" | dcld tx pki propose-add-x509-root-cert --certificate="$test_root_path" --vid=$test_cert_vid --from $trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$trustee_account (Trustee) rejects Root certificate" result=$(echo $passphrase | dcld tx pki reject-add-x509-root-cert --subject="$test_cert_subject" --subject-key-id="$test_cert_subject_key_id" --from $trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -1532,11 +1547,13 @@ test_divider echo "$user_account (Not Trustee) propose Root certificate" test_root_path="integration_tests/constants/test_root_cert" result=$(echo "$passphrase" | dcld tx pki propose-add-x509-root-cert --certificate="$test_root_path" --vid=$test_cert_vid --from $user_account --yes) +result=$(get_txn_result "$result") response_does_not_contain "$result" "\"code\": 0" echo "$trustee_account (Trustee) propose Root certificate" test_root_path="integration_tests/constants/test_root_cert" result=$(echo "$passphrase" | dcld tx pki propose-add-x509-root-cert --certificate="$test_root_path" --vid=$test_cert_vid --from $trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -1576,40 +1593,47 @@ test_divider echo "Jack proposes account for $new_trustee1" result=$(echo $passphrase | dcld tx auth propose-add-account --info="Jack is proposing this account" --address="$new_trustee_address1" --pubkey="$new_trustee_pubkey1" --roles="Trustee" --from jack --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "Alice approves account for \"$new_trustee1\"" result=$(echo $passphrase | dcld tx auth approve-add-account --address="$new_trustee_address1" --info="Alice is approving this account" --from alice --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Bob (Trustee) approves Root certificate" result=$(echo $passphrase | dcld tx pki approve-add-x509-root-cert --subject="$test_cert_subject" --subject-key-id="$test_cert_subject_key_id" --from bob --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "$trustee_account (Trustee) rejects Root certificate" result=$(echo $passphrase | dcld tx pki reject-add-x509-root-cert --subject="$test_cert_subject" --subject-key-id="$test_cert_subject_key_id" --from $trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "$trustee_account (Trustee) can approve Root certificate even if already has rejected" result=$(echo $passphrase | dcld tx pki approve-add-x509-root-cert --subject="$test_cert_subject" --subject-key-id="$test_cert_subject_key_id" --from $trustee_account --yes 2>&1 || true) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "$trustee_account (Trustee) rejects Root certificate" result=$(echo $passphrase | dcld tx pki reject-add-x509-root-cert --subject="$test_cert_subject" --subject-key-id="$test_cert_subject_key_id" --from $trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "$trustee_account (Trustee) cannot reject Root certificate for the second time" result=$(echo $passphrase | dcld tx pki reject-add-x509-root-cert --subject="$test_cert_subject" --subject-key-id="$test_cert_subject_key_id" --from $trustee_account --yes 2>&1 || true) +result=$(get_txn_result "$result") response_does_not_contain "$result" "\"code\": 0" test_divider @@ -1639,20 +1663,24 @@ test_divider echo "$second_trustee_account (Second Trustee) rejects Root certificate" result=$(echo "$passphrase" | dcld tx pki reject-add-x509-root-cert --subject="$test_cert_subject" --subject-key-id="$test_cert_subject_key_id" --from $second_trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Alice proposes to revoke account for $new_trustee1" result=$(echo $passphrase | dcld tx auth propose-revoke-account --address="$new_trustee_address1" --from alice --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "Bob approves to revoke account for $new_trustee1" result=$(echo $passphrase | dcld tx auth approve-revoke-account --address="$new_trustee_address1" --from bob --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "Jack approves to revoke account for $new_trustee1" result=$(echo $passphrase | dcld tx auth approve-revoke-account --address="$new_trustee_address1" --from jack --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" @@ -1702,11 +1730,13 @@ test_divider echo "$user_account (Not Trustee) propose Root certificate" test_root_path="integration_tests/constants/test_root_cert" result=$(echo "$passphrase" | dcld tx pki propose-add-x509-root-cert --certificate="$test_root_path" --vid $test_cert_vid --from $user_account --yes) +result=$(get_txn_result "$result") response_does_not_contain "$result" "\"code\": 0" echo "$trustee_account (Trustee) propose Root certificate" test_root_path="integration_tests/constants/test_root_cert" result=$(echo "$passphrase" | dcld tx pki propose-add-x509-root-cert --certificate="$test_root_path" --vid $test_cert_vid --from $trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -1735,6 +1765,7 @@ test_divider echo "$second_trustee_account (Trustee) approve Root certificate" result=$(echo $passphrase | dcld tx pki approve-add-x509-root-cert --subject="$test_cert_subject" --subject-key-id="$test_cert_subject_key_id" --from $second_trustee_account_address --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider diff --git a/integration_tests/cli/pki-revocation-points.sh b/integration_tests/cli/pki-revocation-points.sh index e6e1778d9..8c56ccc9d 100755 --- a/integration_tests/cli/pki-revocation-points.sh +++ b/integration_tests/cli/pki-revocation-points.sh @@ -89,6 +89,7 @@ test_divider echo "4. ADD REVOCATION POINT NOT BY VENDOR" result=$(dcld tx pki add-revocation-point --vid=$vid --is-paa="true" --certificate="$paa_cert_with_numeric_vid_path" --label="$label" --data-url="$data_url" --issuer-subject-key-id=$issuer_subject_key_id --revocation-type=1 --from=$trustee_account --yes) +result=$(get_txn_result "$result") response_does_not_contain "$result" "\"code\": 0" echo $result @@ -98,6 +99,7 @@ test_divider echo "5. ADD REVOCATION POINT FOR PAA WHEN SENDER VID IS NOT EQUAL VID FIELD" result=$(dcld tx pki add-revocation-point --vid=$vid --is-paa="true" --certificate="$paa_cert_with_numeric_vid_path" --label="$label" --data-url="$data_url" --issuer-subject-key-id=$issuer_subject_key_id --revocation-type=1 --from=$vendor_account_65522 --yes) +result=$(get_txn_result "$result") response_does_not_contain "$result" "\"code\": 0" echo $result @@ -107,6 +109,7 @@ test_divider echo "6. ADD REVOCATION POINT FOR PAA WHEN CERTIFICATE DOES NOT EXIST" result=$(dcld tx pki add-revocation-point --vid=$vid --is-paa="true" --certificate="$paa_cert_with_numeric_vid_path" --label="$label" --data-url="$data_url" --issuer-subject-key-id=$issuer_subject_key_id --revocation-type=1 --from=$vendor_account --yes) +result=$(get_txn_result "$result") response_does_not_contain "$result" "\"code\": 0" echo $result @@ -115,26 +118,34 @@ test_divider echo "Trustees add PAA cert with numeric vid to the ledger" result=$(echo "$passphrase" | dcld tx pki propose-add-x509-root-cert --certificate="$paa_cert_with_numeric_vid_path" --vid $vid --from $trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" result=$(echo "$passphrase" | dcld tx pki approve-add-x509-root-cert --subject="$paa_cert_with_numeric_vid_subject" --subject-key-id="$paa_cert_with_numeric_vid_subject_key_id" --from $second_trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "Trustees add PAA no VID" result=$(echo "$passphrase" | dcld tx pki propose-add-x509-root-cert --certificate="$paa_cert_no_vid_path" --vid $vid_non_vid_scoped --from $trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" result=$(echo "$passphrase" | dcld tx pki approve-add-x509-root-cert --subject="$paa_cert_no_vid_subject" --subject-key-id="$paa_cert_no_vid_subject_key_id" --from $second_trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "Trustees add root cert" result=$(echo "$passphrase" | dcld tx pki propose-add-x509-root-cert --certificate="$root_cert_path" --vid $vid --from $trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" result=$(echo "$passphrase" | dcld tx pki approve-add-x509-root-cert --subject="$root_cert_subject" --subject-key-id="$root_cert_subject_key_id" --from $second_trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "Trustees add test root cert" result=$(echo "$passphrase" | dcld tx pki propose-add-x509-root-cert --certificate="$test_root_cert_path" --vid $vid_non_vid_scoped --from $trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" result=$(echo "$passphrase" | dcld tx pki approve-add-x509-root-cert --subject="$test_root_cert_subject" --subject-key-id="$test_root_cert_subject_key_id" --from $second_trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -142,6 +153,7 @@ test_divider echo "7. ADD REVOCATION POINT FOR PAA WHEN CRL SIGNER CERTIFICATE PEM VALUE IS NOT EQUAL TO STORED CERTIFICATE PEM VALUE" result=$(dcld tx pki add-revocation-point --vid=$vid_65522 --is-paa="true" --certificate="$paa_cert_with_numeric_vid1_path" --label="$label" --data-url="$data_url" --issuer-subject-key-id=$issuer_subject_key_id --revocation-type=1 --from=$vendor_account_65522 --yes) +result=$(get_txn_result "$result") response_does_not_contain "$result" "\"code\": 0" echo $result @@ -150,6 +162,7 @@ test_divider echo "8. ADD REVOCATION POINT FOR PAI NOT BY VENDOR" result=$(dcld tx pki add-revocation-point --vid=$vid --pid=$pid --is-paa="false" --certificate="$pai_cert_with_numeric_vid_pid_path" --label="$label" --data-url="$data_url" --issuer-subject-key-id=$issuer_subject_key_id --revocation-type=1 --from=$trustee_account --yes) +result=$(get_txn_result "$result") response_does_not_contain "$result" "\"code\": 0" echo $result @@ -159,6 +172,7 @@ test_divider echo "9. ADD REVOCATION POINT FOR VID-SCOPED PAA" result=$(dcld tx pki add-revocation-point --vid=$vid --is-paa="true" --certificate="$paa_cert_with_numeric_vid_path" --label="$label" --data-url="$data_url" --issuer-subject-key-id=$issuer_subject_key_id --revocation-type=1 --from=$vendor_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo $result @@ -179,11 +193,13 @@ check_response "$result" "\"issuerSubjectKeyID\": \"$issuer_subject_key_id\"" echo "Can not add the same REVOCATION POINT second time: (vid, issuer, label) - key already exist" result=$(dcld tx pki add-revocation-point --vid=$vid --is-paa="true" --certificate="$paa_cert_with_numeric_vid_path" --label="$label" --data-url="$data_url-new" --issuer-subject-key-id=$issuer_subject_key_id --revocation-type=1 --from=$vendor_account --yes) +result=$(get_txn_result "$result") response_does_not_contain "$result" "\"code\": 0" echo $result echo "Can not add the same REVOCATION POINT second time: (vid, issuer, dataURL) - key already exist" result=$(dcld tx pki add-revocation-point --vid=$vid --is-paa="true" --certificate="$paa_cert_with_numeric_vid_path" --label="$label-new" --data-url="$data_url" --issuer-subject-key-id=$issuer_subject_key_id --revocation-type=1 --from=$vendor_account --yes) +result=$(get_txn_result "$result") response_does_not_contain "$result" "\"code\": 0" echo $result @@ -192,6 +208,7 @@ test_divider echo "10. ADD REVOCATION POINT FOR NON-VID-SCOPED PAA" result=$(dcld tx pki add-revocation-point --vid=$vid_non_vid_scoped --is-paa="true" --certificate="$paa_cert_no_vid_path" --label="$label_non_vid_scoped" --data-url="$data_url_non_vid_scoped" --issuer-subject-key-id=$issuer_subject_key_id --revocation-type=1 --from=$vendor_account_non_vid_scoped --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo $result @@ -221,6 +238,7 @@ test_divider echo "11. ADD REVOCATION POINT FOR PAI" result=$(dcld tx pki add-revocation-point --vid=$vid_65522 --is-paa="false" --certificate="$pai_cert_with_numeric_vid_path" --label="$label_pai" --data-url="$data_url" --issuer-subject-key-id=$issuer_subject_key_id --revocation-type=1 --from=$vendor_account_65522 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo $result @@ -256,6 +274,7 @@ test_divider echo "12. UPDATE REVOCATION POINT WHEN POINT NOT FOUND" result=$(dcld tx pki update-revocation-point --vid=$vid_65522 --certificate="$pai_cert_with_numeric_vid_pid_path" --label="$label" --data-url="$data_url" --issuer-subject-key-id=$issuer_subject_key_id --from=$vendor_account_65522 --yes) +result=$(get_txn_result "$result") response_does_not_contain "$result" "\"code\": 0" echo $result @@ -264,6 +283,7 @@ test_divider echo "13. UPDATE REVOCATION POINT FOR PAA WHEN NEW CERT IS NOT PAA" result=$(dcld tx pki update-revocation-point --vid=$vid --certificate="$pai_cert_with_numeric_vid_pid_path" --label="$label" --data-url="$data_url" --issuer-subject-key-id=$issuer_subject_key_id --from=$vendor_account --yes) +result=$(get_txn_result "$result") response_does_not_contain "$result" "\"code\": 0" echo $result @@ -272,6 +292,7 @@ test_divider echo "14. UPDATE REVOCATION POINT WHEN SENDER IS NOT VENDOR" result=$(dcld tx pki update-revocation-point --vid=$vid --certificate="$paa_cert_with_numeric_vid_path" --label="$label" --data-url="$data_url" --issuer-subject-key-id=$issuer_subject_key_id --from=$trustee_account --yes) +result=$(get_txn_result "$result") response_does_not_contain "$result" "\"code\": 0" echo $result @@ -280,6 +301,7 @@ test_divider echo "15. UPDATE REVOCATION POINT FOR PAA WHEN SENDER VID IS NOT EQUAL TO CERT VID" result=$(dcld tx pki update-revocation-point --vid=$vid --certificate="$paa_cert_with_numeric_vid_path" --label="$label" --data-url="$data_url" --issuer-subject-key-id=$issuer_subject_key_id --from=$vendor_account_65522 --yes) +result=$(get_txn_result "$result") response_does_not_contain "$result" "\"code\": 0" echo $result @@ -288,6 +310,7 @@ test_divider echo "16. UPDATE REVOCATION POINT FOR PAA WHEN MSG VID IS NOT EQUAL TO CERT VID" result=$(dcld tx pki update-revocation-point --vid=$vid_65522 --certificate="$paa_cert_with_numeric_vid_path" --label="$label" --data-url="$data_url" --issuer-subject-key-id=$issuer_subject_key_id --from=$vendor_account --yes) +result=$(get_txn_result "$result") response_does_not_contain "$result" "\"code\": 0" echo $result @@ -296,6 +319,7 @@ test_divider echo "17. UPDATE REVOCATION POINT FOR VID-SCOPED PAA" result=$(dcld tx pki update-revocation-point --vid=$vid --certificate="$root_cert_path" --label="$label" --data-url="$data_url" --issuer-subject-key-id=$issuer_subject_key_id --from=$vendor_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo $result @@ -310,6 +334,7 @@ test_divider echo "18. UPDATE REVOCATION POINT FOR NON-VID SCOPED PAA" result=$(dcld tx pki update-revocation-point --vid=$vid_non_vid_scoped --certificate="$test_root_cert_path" --label="$label_non_vid_scoped" --data-url="$data_url_non_vid_scoped" --issuer-subject-key-id=$issuer_subject_key_id --from=$vendor_account_non_vid_scoped --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo $result @@ -324,6 +349,7 @@ test_divider echo "19. UPDATE REVOCATION POINT FOR PAI" result=$(dcld tx pki update-revocation-point --vid=$vid_65522 --certificate="$pai_cert_vid_path" --label="$label_pai" --data-url="$data_url" --issuer-subject-key-id=$issuer_subject_key_id --from=$vendor_account_65522 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo $result @@ -338,6 +364,7 @@ test_divider echo "20. DELETE REVOCATION PAA" result=$(dcld tx pki delete-revocation-point --vid=$vid --label="$label" --issuer-subject-key-id=$issuer_subject_key_id --from=$vendor_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo $result @@ -349,6 +376,7 @@ test_divider echo "21. DELETE REVOCATION PAI" result=$(dcld tx pki delete-revocation-point --vid=$vid_65522 --label="$label_pai" --issuer-subject-key-id=$issuer_subject_key_id --from=$vendor_account_65522 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo $result diff --git a/integration_tests/cli/upgrade-demo.sh b/integration_tests/cli/upgrade-demo.sh index f4e412b77..7008523eb 100755 --- a/integration_tests/cli/upgrade-demo.sh +++ b/integration_tests/cli/upgrade-demo.sh @@ -24,6 +24,7 @@ echo "Create Trustee account" create_new_account trustee_account "Trustee" random_string upgrade_name propose=$(dcld tx dclupgrade propose-upgrade --name=$upgrade_name --upgrade-height=$upgrade_height --upgrade-info=$upgrade_info --from $trustee_account --yes) +propose=$(get_txn_result "$propose") echo "propose upgrade response: $propose" check_response "$propose" "\"code\": 0" @@ -34,14 +35,17 @@ check_response_and_report "$proposed_dclupgrade_query" "\"height\": \"$upgrade_h check_response_and_report "$proposed_dclupgrade_query" "\"info\": \"$upgrade_info\"" approve=$(dcld tx dclupgrade approve-upgrade --name=$upgrade_name --from alice --yes) +approve=$(get_txn_result "$approve") echo "approve upgrade response: $approve" check_response "$approve" "\"code\": 0" reject=$(dcld tx dclupgrade reject-upgrade --name=$upgrade_name --from alice --yes) +reject=$(get_txn_result "$reject") echo "reject upgrade response: $reject" check_response "$reject" "\"code\": 0" approve=$(dcld tx dclupgrade approve-upgrade --name=$upgrade_name --from alice --yes) +approve=$(get_txn_result "$approve") echo "approve upgrade response: $approve" check_response "$approve" "\"code\": 0" @@ -59,6 +63,7 @@ plan_query=$(dcld query upgrade plan 2>&1) || true check_response "$plan_query" "no upgrade scheduled" raw approve=$(dcld tx dclupgrade approve-upgrade --name=$upgrade_name --from bob --yes) +approve=$(get_txn_result "$approve") echo "approve upgrade response: $approve" check_response "$approve" "\"code\": 0" @@ -85,10 +90,12 @@ test_divider echo "proposer cannot approve upgrade" random_string upgrade_name propose=$(dcld tx dclupgrade propose-upgrade --name=$upgrade_name --upgrade-height=$upgrade_height --upgrade-info=$upgrade_info --from alice --yes) +propose=$(get_txn_result "$propose") echo "propose upgrade response: $propose" check_response "$propose" "\"code\": 0" approve=$(dcld tx dclupgrade approve-upgrade --name=$upgrade_name --from alice --yes) +approve=$(get_txn_result "$approve") echo "approve upgrade response: $approve" check_response_and_report "$approve" "unauthorized" raw @@ -99,14 +106,17 @@ test_divider echo "cannot approve upgrade twice" random_string upgrade_name propose=$(dcld tx dclupgrade propose-upgrade --name=$upgrade_name --upgrade-height=$upgrade_height --upgrade-info=$upgrade_info --from alice --yes) +propose=$(get_txn_result "$propose") echo "propose upgrade response: $propose" check_response "$propose" "\"code\": 0" approve=$(dcld tx dclupgrade approve-upgrade --name=$upgrade_name --from bob --yes) +approve=$(get_txn_result "$approve") echo "approve upgrade response: $approve" check_response "$approve" "\"code\": 0" second_approve=$(dcld tx dclupgrade approve-upgrade --name=$upgrade_name --from bob --yes) +second_approve=$(get_txn_result "$second_approve") echo "second approve upgrade response: $second_approve" check_response_and_report "$second_approve" "unauthorized" raw @@ -116,10 +126,12 @@ test_divider echo "cannot propose upgrade twice" random_string upgrade_name propose=$(dcld tx dclupgrade propose-upgrade --name=$upgrade_name --upgrade-height=$upgrade_height --upgrade-info=$upgrade_info --from alice --yes) +propose=$(get_txn_result "$propose") echo "propose upgrade response: $propose" check_response "$propose" "\"code\": 0" second_propose=$(dcld tx dclupgrade propose-upgrade --name=$upgrade_name --upgrade-height=$upgrade_height --upgrade-info=$upgrade_info --from alice --yes) +second_propose=$(get_txn_result "$second_propose") echo "second propose upgrade response: $second_propose" check_response_and_report "$second_propose" "proposed upgrade already exists" raw @@ -131,6 +143,7 @@ echo "upgrade height < current height" random_string upgrade_name height=1 propose=$(dcld tx dclupgrade propose-upgrade --name=$upgrade_name --upgrade-height=$height --upgrade-info=$upgrade_info --from alice --yes) +propose=$(get_txn_result "$propose") echo "propose upgrade response: $propose" check_response_and_report "$propose" "upgrade cannot be scheduled in the past" raw @@ -143,12 +156,14 @@ random_string upgrade_info echo "propose and reject upgrade" random_string upgrade_name propose=$(dcld tx dclupgrade propose-upgrade --name=$upgrade_name --upgrade-height=$upgrade_height --upgrade-info=$upgrade_info --from $trustee_account --yes) +propose=$(get_txn_result "$propose") echo "propose upgrade response: $propose" check_response "$propose" "\"code\": 0" test_divider approve=$(dcld tx dclupgrade approve-upgrade --name=$upgrade_name --from alice --yes) +approve=$(get_txn_result "$approve") echo "approve upgrade response: $approve" check_response "$approve" "\"code\": 0" @@ -163,24 +178,28 @@ check_response_and_report "$proposed_dclupgrade_query" "\"info\": \"$upgrade_inf test_divider reject=$(dcld tx dclupgrade reject-upgrade --name=$upgrade_name --from $trustee_account --yes) +reject=$(get_txn_result "$reject") echo "reject upgrade response: $reject" check_response "$reject" "\"code\": 0" test_divider approve=$(dcld tx dclupgrade approve-upgrade --name=$upgrade_name --from $trustee_account --yes) +approve=$(get_txn_result "$approve") echo "approve upgrade response: $approve" check_response "$approve" "\"code\": 0" test_divider reject=$(dcld tx dclupgrade reject-upgrade --name=$upgrade_name --from alice --yes) +reject=$(get_txn_result "$reject") echo "reject upgrade response: $reject" check_response "$reject" "\"code\": 0" test_divider second_reject=$(dcld tx dclupgrade reject-upgrade --name=$upgrade_name --from alice --yes) +second_reject=$(get_txn_result "$second_reject") echo "second_reject upgrade response: $reject" response_does_not_contain "$second_reject" "\"code\": 0" @@ -215,6 +234,7 @@ check_response "$approved_dclupgrade_query" "Not Found" test_divider reject=$(dcld tx dclupgrade reject-upgrade --name=$upgrade_name --from bob --yes) +reject=$(get_txn_result "$reject") echo "reject upgrade response: $reject" check_response "$reject" "\"code\": 0" @@ -251,6 +271,7 @@ random_string upgrade_info echo "propose upgrade's plan height bigger than block height" propose=$(dcld tx dclupgrade propose-upgrade --name=$upgrade_name --upgrade-height=$plan_height --upgrade-info=$upgrade_info --from jack --yes) +propose=$(get_txn_result "$propose") echo "propose upgrade response: $propose" check_response "$propose" "\"code\": 0" @@ -266,6 +287,7 @@ echo "Current height is $current_height" echo "approve upgrade's plan height less than block height" approve=$(dcld tx dclupgrade approve-upgrade --name=$upgrade_name --from alice --yes) +approve=$(get_txn_result "$approve") echo "approve upgrade response: $approve" check_response_and_report "$approve" "upgrade cannot be scheduled in the past" raw @@ -275,6 +297,7 @@ plan_height=$(expr $current_height + 3) echo "re-propose upgrade's plan height bigger than block height" propose=$(dcld tx dclupgrade propose-upgrade --name=$upgrade_name --upgrade-height=$plan_height --upgrade-info=$upgrade_info --from jack --yes) +propose=$(get_txn_result "$propose") echo "propose upgrade response: $propose" check_response "$propose" "\"code\": 0" @@ -297,6 +320,7 @@ random_string upgrade_info echo "propose upgrade's plan height bigger than block height" propose=$(dcld tx dclupgrade propose-upgrade --name=$upgrade_name --upgrade-height=$plan_height --upgrade-info=$upgrade_info --from jack --yes) +propose=$(get_txn_result "$propose") echo "propose upgrade response: $propose" check_response "$propose" "\"code\": 0" @@ -312,11 +336,13 @@ echo "Current height is $current_height" echo "approve upgrade's plan height less than block height" approve=$(dcld tx dclupgrade approve-upgrade --name=$upgrade_name --from alice --yes) +approve=$(get_txn_result "$approve") echo "approve upgrade response: $approve" check_response_and_report "$approve" "upgrade cannot be scheduled in the past" raw echo "re-propose upgrade's plan height bigger than block height" propose=$(dcld tx dclupgrade propose-upgrade --name=$upgrade_name --upgrade-height=$plan_height --upgrade-info=$upgrade_info --from jack --yes) +propose=$(get_txn_result "$propose") echo "propose upgrade response: $propose" check_response_and_report "$propose" "upgrade cannot be scheduled in the past" raw ########################################################################################################################################### @@ -334,10 +360,12 @@ test_divider echo "jack (Trustee) propose upgrade" result=$(dcld tx dclupgrade propose-upgrade --name=$upgrade_name --upgrade-height=$plan_height --upgrade-info=$upgrade_info --from jack --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "jack (Trustee) rejects upgrade" result=$(dcld tx dclupgrade reject-upgrade --name=$upgrade_name --from jack --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider diff --git a/integration_tests/cli/validator-demo.sh b/integration_tests/cli/validator-demo.sh index 8d7cfb581..b6a37ccf5 100755 --- a/integration_tests/cli/validator-demo.sh +++ b/integration_tests/cli/validator-demo.sh @@ -109,6 +109,7 @@ echo "$account Add Node \"$node_name\" to validator set" set -eu; echo test1234 | dcld tx validator add-node --pubkey='$vpubkey' --moniker="$node_name" --from="$account" --yes EOF result="$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator add-node --pubkey='$vpubkey' --moniker="$node_name" --from="$account" --yes")" +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -166,6 +167,7 @@ pid=$RANDOM productName="TestingProductLabel" echo "Add Model with VID: $vid PID: $pid" result=$(echo 'test1234' | dcld tx model add-model --vid=$vid --pid=$pid --deviceTypeID=1 --productName=TestProduct --productLabel="$productName" --partNumber=1 --commissioningCustomFlow=0 --from=$vendor_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -200,10 +202,12 @@ test_divider # TEST PROPOSE AND REJECT DISABLE VALIDATOR echo "jack (Trustee) propose disable validator" result=$(dcld tx validator propose-disable-node --address="$validator_address" --from alice --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "jack (Trustee) rejects disable validator" result=$(dcld tx validator reject-disable-node --address="$validator_address" --from alice --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -229,6 +233,7 @@ check_response "$result" "Not Found" echo "node admin disables validator" result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator disable-node --from "$account" --yes") +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -236,6 +241,7 @@ test_divider echo "node admin doesn't add a new validator with new pubkey, because node admin already has disabled validator" result="$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator add-node --pubkey='$pubkey' --moniker="$node_name" --from="$account" --yes 2>&1 || true")" +result=$(get_txn_result "$result") response_does_not_contain "$result" "\"code\": 0" test_divider @@ -261,6 +267,7 @@ test_divider echo "node admin enables validator" result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from "$account" --yes") +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -293,6 +300,7 @@ test_divider echo "Alice proposes to disable validator $address" result=$(dcld tx validator propose-disable-node --address="$validator_address" --from alice --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -326,6 +334,7 @@ test_divider echo "Bob approves to disable validator $address" result=$(dcld tx validator approve-disable-node --address="$validator_address" --from bob --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -334,12 +343,14 @@ test_divider echo "node admin doesn't add a new validator with new pubkey, because node admin already has disabled validator" result="$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator add-node --pubkey='$pubkey' --moniker="$node_name" --from="$account" --yes 2>&1 || true")" +result=$(get_txn_result "$result") response_does_not_contain "$result" "\"code\": 0" test_divider echo "node admin enables validator" result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from "$account" --yes") +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" diff --git a/integration_tests/cli/vendorinfo-demo-hex.sh b/integration_tests/cli/vendorinfo-demo-hex.sh index e5909f066..4732d816d 100644 --- a/integration_tests/cli/vendorinfo-demo-hex.sh +++ b/integration_tests/cli/vendorinfo-demo-hex.sh @@ -35,6 +35,7 @@ echo "Create VendorInfo Record for VID: $vid_in_hex_format" companyLegalName="XYZ IOT Devices Inc" vendorName="XYZ Devices" result=$(echo "test1234" | dcld tx vendorinfo add-vendor --vid=$vid_in_hex_format --companyLegalName="$companyLegalName" --vendorName="$vendorName" --from=$vendor_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -55,6 +56,7 @@ echo "Update vendor info record for VID: $vid_in_hex_format" companyLegalName="ABC Subsidiary Corporation" vendorLandingPageURL="https://www.w3.org/" result=$(echo "test1234" | dcld tx vendorinfo update-vendor --vid=$vid_in_hex_format --companyLegalName="$companyLegalName" --vendorLandingPageURL=$vendorLandingPageURL --vendorName="$vendorName" --from=$vendor_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -75,6 +77,7 @@ test_divider vid1_in_hex_format=0xA15 vid1=2581 result=$(echo "test1234" | dcld tx vendorinfo add-vendor --vid=$vid1_in_hex_format --companyLegalName="$companyLegalName" --vendorName="$vendorName" --from=$vendor_account --yes 2>&1) || true +result=$(get_txn_result "$result") echo "$result" check_response_and_report "$result" "transaction should be signed by a vendor account associated with the vendorID $vid1" @@ -82,6 +85,7 @@ test_divider # Update a vendor info record from a vendor account belonging to another vendor_account result=$(echo "test1234" | dcld tx vendorinfo update-vendor --vid=$vid_in_hex_format --companyLegalName="$companyLegalName" --vendorName="$vendorName" --from=$second_vendor_account --yes 2>&1) || true +result=$(get_txn_result "$result") echo "$result" check_response_and_report "$result" "transaction should be signed by a vendor account associated with the vendorID $vid" diff --git a/integration_tests/cli/vendorinfo-demo.sh b/integration_tests/cli/vendorinfo-demo.sh index 7c8eeb288..bf6e5cfb4 100755 --- a/integration_tests/cli/vendorinfo-demo.sh +++ b/integration_tests/cli/vendorinfo-demo.sh @@ -51,6 +51,7 @@ echo "Create VendorInfo Record for VID: $vid" companyLegalName="XYZ IOT Devices Inc" vendorName="XYZ Devices" result=$(echo "test1234" | dcld tx vendorinfo add-vendor --vid=$vid --companyLegalName="$companyLegalName" --vendorName="$vendorName" --from=$vendor_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -78,6 +79,7 @@ test_divider # Update vendor info with empty optional fields echo "Update vendor info record for VID: $vid (with required fields only)" result=$(dcld tx vendorinfo update-vendor --vid=$vid --from=$vendor_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -98,6 +100,7 @@ echo "Update vendor info record for VID: $vid" companyLegalName="ABC Subsidiary Corporation" vendorLandingPageURL="https://www.w3.org/" result=$(echo "test1234" | dcld tx vendorinfo update-vendor --vid=$vid --companyLegalName="$companyLegalName" --vendorLandingPageURL=$vendorLandingPageURL --vendorName="$vendorName" --from=$vendor_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -117,6 +120,7 @@ test_divider # Create a vendor info record from a vendor account belonging to another vendor_account vid1=$RANDOM result=$(echo "test1234" | dcld tx vendorinfo add-vendor --vid=$vid1 --companyLegalName="$companyLegalName" --vendorName="$vendorName" --from=$vendor_account --yes 2>&1) || true +result=$(get_txn_result "$result") echo "$result" check_response_and_report "$result" "transaction should be signed by a vendor account associated with the vendorID $vid1" @@ -124,6 +128,7 @@ test_divider # Update a vendor info record from a vendor account belonging to another vendor_account result=$(echo "test1234" | dcld tx vendorinfo update-vendor --vid=$vid --companyLegalName="$companyLegalName" --vendorName="$vendorName" --from=$second_vendor_account --yes 2>&1) || true +result=$(get_txn_result "$result") echo "$result" check_response_and_report "$result" "transaction should be signed by a vendor account associated with the vendorID $vid" @@ -133,6 +138,7 @@ test_divider echo "Create a vendor info reacord from a vendor admin account" vid=$RANDOM result=$(echo "test1234" | dcld tx vendorinfo add-vendor --vid=$vid --companyLegalName="$companyLegalName" --vendorName="$vendorName" --from=$vendor_admin_account --yes 2>&1) || true +result=$(get_txn_result "$result") echo "$result" check_response "$result" "\"code\": 0" echo "$result" @@ -144,6 +150,7 @@ echo "Update the vendor info record by a vendor admin account" companyLegalName1="New Corp" vendorName1="New Vendor Name" result=$(echo "test1234" | dcld tx vendorinfo update-vendor --vid=$vid --companyLegalName="$companyLegalName1" --vendorName="$vendorName1" --from=$vendor_admin_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" diff --git a/integration_tests/deploy/test_deploy.sh b/integration_tests/deploy/test_deploy.sh index 30e2eb9a4..469e90373 100755 --- a/integration_tests/deploy/test_deploy.sh +++ b/integration_tests/deploy/test_deploy.sh @@ -136,17 +136,20 @@ vn_admin_pubkey="$(docker_exec "$VN_NAME" ./dcld keys show "$vn_admin_name" -p)" # ensure that the genesis node is ready wait_for_height 2 15 normal "tcp://$GVN_IP:26657" -docker_exec "$GVN_NAME" ./dcld tx auth propose-add-account --address "$vn_admin_addr" --pubkey "$vn_admin_pubkey" --roles="NodeAdmin" --from "${GVN_NAME}_tr" --yes +result="$(docker_exec "$GVN_NAME" ./dcld tx auth propose-add-account --address "$vn_admin_addr" --pubkey "$vn_admin_pubkey" --roles="NodeAdmin" --from "${GVN_NAME}_tr" --yes)" +result=$(get_txn_result "$result") #dcld tx auth approve-add-account --address="$vn_admin_addr" --from alice --yes echo "$GVN_NAME: Add Node \"$VN_NAME\" to validator set" # ensure that the validator node is ready wait_for_height 4 30 normal "tcp://$VN_IP:26657" -docker_exec "$VN_NAME" ./dcld tx validator add-node --pubkey="$vn_pubkey" --moniker="$VN_NAME" --from="$vn_admin_name" --yes +result="$(docker_exec "$VN_NAME" ./dcld tx validator add-node --pubkey="$vn_pubkey" --moniker="$VN_NAME" --from="$vn_admin_name" --yes)" +result=$(get_txn_result "$result") echo "Check node \"$VN_NAME\" is in the validator set" result=$(docker_exec "$GVN_NAME" ./dcld query validator all-nodes) +result=$(get_txn_result "$result") check_response "$result" "\"moniker\": \"$VN_NAME\"" check_response "$result" "\"pubKey\":$vn_pubkey" raw diff --git a/integration_tests/light_client_proxy/auth.sh b/integration_tests/light_client_proxy/auth.sh index 6e4fa8c01..59fd9fb04 100644 --- a/integration_tests/light_client_proxy/auth.sh +++ b/integration_tests/light_client_proxy/auth.sh @@ -82,12 +82,14 @@ vid=$RANDOM echo "Jack proposes account for $user" result=$(echo $passphrase | dcld tx auth propose-add-account --address="$user_address" --pubkey="$user_pubkey" --roles="NodeAdmin" --from jack --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Alice approves account for \"$user\"" result=$(echo $passphrase | dcld tx auth approve-add-account --address="$user_address" --from alice --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -145,6 +147,7 @@ test_divider echo "Add vendorinfo" result=$(echo $passphrase | dcld tx auth propose-add-account --address="$user_address" --pubkey="$user_pubkey" --roles="NodeAdmin" --from $user_address --yes) +result=$(get_txn_result "$result") echo "$result" check_response "$result" "Write requests don't work with a Light Client Proxy" diff --git a/integration_tests/light_client_proxy/compliance.sh b/integration_tests/light_client_proxy/compliance.sh index 0b4ed678a..6f9ae366d 100644 --- a/integration_tests/light_client_proxy/compliance.sh +++ b/integration_tests/light_client_proxy/compliance.sh @@ -114,6 +114,8 @@ test_divider echo "Certify Model with VID: $vid PID: $pid SV: ${sv} with zigbee certification" result=$(echo "$passphrase" | dcld tx compliance certify-model --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$svs --certificationType="zigbee" --certificationDate="$certification_date" --cdCertificateId="$cd_certificate_id" --cdVersionNumber=1 --from $zb_account --yes) +result=$(get_txn_result "$result") + echo "$result" check_response "$result" "\"code\": 0" @@ -216,6 +218,7 @@ test_divider echo "Add compliance info" result=$(echo "$passphrase" | dcld tx compliance certify-model --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$svs --certificationType="zigbee" --certificationDate="$certification_date" --cdCertificateId="$cd_certificate_id" --cdVersionNumber=1 --from $zb_account --yes) +result=$(get_txn_result "$result") echo "$result" check_response "$result" "Write requests don't work with a Light Client Proxy" diff --git a/integration_tests/light_client_proxy/model.sh b/integration_tests/light_client_proxy/model.sh index d8c35f850..e221a0a4a 100644 --- a/integration_tests/light_client_proxy/model.sh +++ b/integration_tests/light_client_proxy/model.sh @@ -77,6 +77,7 @@ test_divider productLabel="Device #1" echo "Add Model with VID: $vid PID: $pid" result=$(echo "test1234" | dcld tx model add-model --vid=$vid --pid=$pid --deviceTypeID=1 --productName=TestProduct --productLabel="$productLabel" --partNumber=1 --commissioningCustomFlow=0 --from=$vendor_account --yes) +result=$(get_txn_result "$result") echo "$result" check_response "$result" "\"code\": 0" @@ -84,6 +85,7 @@ test_divider echo "Create a Device Model Version with VID: $vid PID: $pid SV: $sv" result=$(echo 'test1234' | dcld tx model add-model-version --cdVersionNumber=1 --maxApplicableSoftwareVersion=10 --minApplicableSoftwareVersion=1 --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=1 --from=$vendor_account --yes) +result=$(get_txn_result "$result") echo "$result" check_response "$result" "\"code\": 0" @@ -185,6 +187,7 @@ test_divider echo "Add Model with VID: $vid PID: $pid" result=$(echo "test1234" | dcld tx model add-model --vid=$vid --pid=$pid --deviceTypeID=1 --productName=TestProduct --productLabel="$productLabel" --partNumber=1 --commissioningCustomFlow=0 --from=$vendor_account --yes) +result=$(get_txn_result "$result") echo "$result" check_response "$result" "Write requests don't work with a Light Client Proxy" diff --git a/integration_tests/light_client_proxy/pki.sh b/integration_tests/light_client_proxy/pki.sh index a83a8ba08..0c22cb4f1 100644 --- a/integration_tests/light_client_proxy/pki.sh +++ b/integration_tests/light_client_proxy/pki.sh @@ -139,6 +139,7 @@ test_divider echo "$user_account (Not Trustee) propose Root certificate" root_path="integration_tests/constants/root_cert" result=$(echo "$passphrase" | dcld tx pki propose-add-x509-root-cert --certificate="$root_path" --vid $vid --from $user_account --yes) +result=$(get_txn_result "$result") response_does_not_contain "$result" "\"code\": 0" echo "$result" @@ -147,6 +148,7 @@ test_divider echo "$trustee_account (Trustee) propose Root certificate" root_path="integration_tests/constants/root_cert" result=$(echo "$passphrase" | dcld tx pki propose-add-x509-root-cert --certificate="$root_path" --vid $vid --from $trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -154,6 +156,7 @@ test_divider echo "$second_trustee_account (Trustee) approve Root certificate" result=$(echo "$passphrase" | dcld tx pki approve-add-x509-root-cert --subject="$root_cert_subject" --subject-key-id="$root_cert_subject_key_id" --from $second_trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -162,6 +165,7 @@ test_divider echo "$user_account (Not Trustee) add Intermediate certificate" intermediate_path="integration_tests/constants/intermediate_cert" result=$(echo "$passphrase" | dcld tx pki add-x509-cert --certificate="$intermediate_path" --from $user_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -170,6 +174,7 @@ test_divider echo "$trustee_account (Trustee) add Leaf certificate" leaf_path="integration_tests/constants/leaf_cert" result=$(echo "$passphrase" | dcld tx pki add-x509-cert --certificate="$leaf_path" --from $trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -177,6 +182,7 @@ test_divider echo "$trustee_account (Trustee) revokes Leaf certificate." result=$(echo "$passphrase" | dcld tx pki revoke-x509-cert --subject="$leaf_cert_subject" --subject-key-id="$leaf_cert_subject_key_id" --from=$trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" diff --git a/integration_tests/light_client_proxy/vendorinfo.sh b/integration_tests/light_client_proxy/vendorinfo.sh index e29bf1979..2d9aa6701 100644 --- a/integration_tests/light_client_proxy/vendorinfo.sh +++ b/integration_tests/light_client_proxy/vendorinfo.sh @@ -53,6 +53,7 @@ echo "Create VendorInfo Record for VID: $vid" companyLegalName="XYZ IOT Devices Inc" vendorName="XYZ Devices" result=$(echo "test1234" | dcld tx vendorinfo add-vendor --vid=$vid --companyLegalName="$companyLegalName" --vendorName="$vendorName" --from=$vendor_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -101,6 +102,7 @@ test_divider echo "Add vendorinfo" result=$(echo "test1234" | dcld tx vendorinfo add-vendor --vid=$vid --companyLegalName="$companyLegalName" --vendorName="$vendorName" --from=$vendor_account --yes) +result=$(get_txn_result "$result") echo "$result" check_response "$result" "Write requests don't work with a Light Client Proxy" diff --git a/integration_tests/run-all.sh b/integration_tests/run-all.sh index f54837ede..82a695d65 100755 --- a/integration_tests/run-all.sh +++ b/integration_tests/run-all.sh @@ -76,7 +76,7 @@ init_pool() { make localnet_start &>${DETAILED_OUTPUT_TARGET} log "-> Waiting for the second block (needed to request proofs)" >${DETAILED_OUTPUT_TARGET} - sleep 20 + execute_with_retry "dcld status" wait_for_height 2 20 } @@ -106,26 +106,26 @@ make image &>${DETAILED_OUTPUT_TARGET} cleanup_pool # Cli shell tests -#if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "cli" ]]; then -# CLI_SHELL_TESTS=$(find integration_tests/cli -type f -name '*.sh' -not -name "common.sh") -# -# for CLI_SHELL_TEST in ${CLI_SHELL_TESTS}; do -# init_pool -# -# log "*****************************************************************************************" -# log "Running $CLI_SHELL_TEST" -# log "*****************************************************************************************" -# -# if bash "$CLI_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then -# log "$CLI_SHELL_TEST finished successfully" -# else -# log "$CLI_SHELL_TEST failed" -# exit 1 -# fi -# -# cleanup_pool -# done -#fi +if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "cli" ]]; then + CLI_SHELL_TESTS=$(find integration_tests/cli -type f -name '*.sh' -not -name "common.sh") + + for CLI_SHELL_TEST in ${CLI_SHELL_TESTS}; do + init_pool + + log "*****************************************************************************************" + log "Running $CLI_SHELL_TEST" + log "*****************************************************************************************" + + if bash "$CLI_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then + log "$CLI_SHELL_TEST finished successfully" + else + log "$CLI_SHELL_TEST failed" + exit 1 + fi + + cleanup_pool + done +fi # Light Client Proxy Cli shell tests #if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "light" ]]; then @@ -187,22 +187,22 @@ fi #fi # Upgrade procedure tests -#if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "upgrade" ]]; then -# UPGRADE_SHELL_TESTS=$(find integration_tests/upgrade -type f -name '*.sh' -not -name "add-new-node-after-upgrade.sh" | sort) -# -# for UPGRADE_SHELL_TEST in ${UPGRADE_SHELL_TESTS}; do -# log "*****************************************************************************************" -# log "Running $UPGRADE_SHELL_TEST" -# log "*****************************************************************************************" -# -# if bash "$UPGRADE_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then -# log "$UPGRADE_SHELL_TEST finished successfully" -# else -# log "$UPGRADE_SHELL_TEST failed" -# exit 1 -# fi -# -# cleanup_pool -# done -# -#fi \ No newline at end of file +if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "upgrade" ]]; then + UPGRADE_SHELL_TESTS=$(find integration_tests/upgrade -type f -name '*.sh' -not -name "add-new-node-after-upgrade.sh" | sort) + + for UPGRADE_SHELL_TEST in ${UPGRADE_SHELL_TESTS}; do + log "*****************************************************************************************" + log "Running $UPGRADE_SHELL_TEST" + log "*****************************************************************************************" + + if bash "$UPGRADE_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then + log "$UPGRADE_SHELL_TEST finished successfully" + else + log "$UPGRADE_SHELL_TEST failed" + exit 1 + fi + + cleanup_pool + done + +fi \ No newline at end of file diff --git a/integration_tests/upgrade/test-upgrade-0.12-to-1.2.sh b/integration_tests/upgrade/test-upgrade-0.12-to-1.2.sh index 5d05764e3..b106d5375 100755 --- a/integration_tests/upgrade/test-upgrade-0.12-to-1.2.sh +++ b/integration_tests/upgrade/test-upgrade-0.12-to-1.2.sh @@ -162,6 +162,7 @@ add_validator_node() { set -eu; echo test1234 | dcld tx validator add-node --pubkey='$vpubkey' --moniker="$node_name" --from="$account" --yes EOF result="$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator add-node --pubkey='$vpubkey' --moniker="$node_name" --from="$account" --yes")" + result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -552,6 +553,7 @@ test_divider echo "Disable node" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator disable-node --from=$account --yes") +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -559,6 +561,7 @@ test_divider echo "Enable node" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -584,6 +587,7 @@ test_divider echo "Enable node" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -1297,6 +1301,7 @@ test_divider echo "Disable node" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator disable-node --from=$account --yes") +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -1304,6 +1309,7 @@ test_divider echo "Enable node" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -1329,6 +1335,7 @@ test_divider echo "Enable node" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider diff --git a/integration_tests/upgrade/test-upgrade-1.2-to-1.3.sh b/integration_tests/upgrade/test-upgrade-1.2-to-1.3.sh index 57b6aa3ba..88314f227 100755 --- a/integration_tests/upgrade/test-upgrade-1.2-to-1.3.sh +++ b/integration_tests/upgrade/test-upgrade-1.2-to-1.3.sh @@ -168,6 +168,7 @@ add_validator_node() { set -eu; echo test1234 | dcld tx validator add-node --pubkey='$vpubkey' --moniker="$node_name" --from="$account" --yes EOF result="$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator add-node --pubkey='$vpubkey' --moniker="$node_name" --from="$account" --yes")" + result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -590,6 +591,7 @@ test_divider echo "Disable node" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator disable-node --from=$account --yes") +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -597,6 +599,7 @@ test_divider echo "Enable node" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -624,6 +627,7 @@ test_divider echo "Enable node" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -1340,6 +1344,7 @@ test_divider echo "Disable node" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator disable-node --from=$account --yes") +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -1347,6 +1352,7 @@ test_divider echo "Enable node" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -1372,6 +1378,7 @@ test_divider echo "Enable node" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider From 4762bcd21197e20fe1180cfe0f69763786d337ba Mon Sep 17 00:00:00 2001 From: Abdulbois Date: Sat, 3 Feb 2024 16:03:04 +0500 Subject: [PATCH 14/29] #303 Upgrade Cosmos-SDK to v0.47.3 - Change structure of proto folder to generate .pb files with `buf` util Signed-off-by: Abdulbois Signed-off-by: Abdulbois --- integration_tests/cli/auth-demo.sh | 4 +- integration_tests/cli/common.sh | 7 +- .../cli/model-validation-cases.sh | 2 - integration_tests/cli/validator-demo.sh | 24 +- integration_tests/run-all.sh | 2 +- proto/buf.gen.gogo.yaml | 6 +- .../common}/uint16_range.proto | 2 +- .../compliance}/certified_model.proto | 2 +- .../compliance}/compliance_history_item.proto | 2 +- .../compliance}/compliance_info.proto | 4 +- .../device_software_compliance.proto | 4 +- .../compliance}/genesis.proto | 12 +- .../compliance}/provisional_model.proto | 2 +- .../compliance}/query.proto | 12 +- .../compliance}/revoked_model.proto | 2 +- .../compliance}/tx.proto | 2 +- .../dclauth}/account.proto | 8 +- .../dclauth}/account_stat.proto | 2 +- .../dclauth}/genesis.proto | 14 +- .../dclauth}/grant.proto | 2 +- .../dclauth}/pending_account.proto | 4 +- .../dclauth}/pending_account_revocation.proto | 4 +- .../dclauth}/query.proto | 14 +- .../dclauth}/rejected_account.proto | 5 +- .../dclauth}/revoked_account.proto | 6 +- .../dclauth}/tx.proto | 6 +- .../dclgenutil}/genesis.proto | 2 +- .../dclgenutil}/query.proto | 2 +- .../dclgenutil}/tx.proto | 2 +- .../dclupgrade}/approved_upgrade.proto | 4 +- .../dclupgrade}/genesis.proto | 8 +- .../dclupgrade}/grant.proto | 2 +- .../dclupgrade}/proposed_upgrade.proto | 4 +- .../dclupgrade}/query.proto | 8 +- .../dclupgrade}/rejected_upgrade.proto | 4 +- .../dclupgrade}/tx.proto | 2 +- .../model}/genesis.proto | 10 +- .../model}/model.proto | 2 +- .../model}/model_version.proto | 2 +- .../model}/model_versions.proto | 2 +- .../model}/product.proto | 2 +- .../model}/query.proto | 10 +- .../model}/tx.proto | 6 +- .../model}/vendor_products.proto | 4 +- .../pki}/approved_certificates.proto | 4 +- .../approved_certificates_by_subject.proto | 2 +- ...roved_certificates_by_subject_key_id.proto | 4 +- .../pki}/approved_root_certificates.proto | 4 +- .../pki}/certificate.proto | 4 +- .../pki}/certificate_identifier.proto | 2 +- .../pki}/child_certificates.proto | 4 +- .../pki}/genesis.proto | 28 +- .../pki}/grant.proto | 2 +- .../pki_revocation_distribution_point.proto | 2 +- ...tion_points_by_issuer_subject_key_id.proto | 4 +- .../pki}/proposed_certificate.proto | 4 +- .../proposed_certificate_revocation.proto | 4 +- .../pki}/query.proto | 24 +- .../pki}/rejected_certificate.proto | 4 +- .../pki}/revoked_certificates.proto | 4 +- .../pki}/revoked_root_certificates.proto | 4 +- .../distributedcomplianceledger/pki}/tx.proto | 2 +- .../pki}/unique_certificate.proto | 2 +- .../validator}/description.proto | 2 +- .../validator}/disabled_validator.proto | 4 +- .../validator}/genesis.proto | 12 +- .../validator}/grant.proto | 2 +- .../validator}/last_validator_power.proto | 2 +- .../proposed_disable_validator.proto | 4 +- .../validator}/query.proto | 12 +- .../validator}/rejected_validator.proto | 4 +- .../validator}/tx.proto | 4 +- .../validator}/validator.proto | 4 +- .../vendorinfo}/genesis.proto | 4 +- .../vendorinfo}/query.proto | 4 +- .../vendorinfo}/tx.proto | 4 +- .../vendorinfo}/vendor_info.proto | 2 +- scripts/protocgen.sh | 14 + x/common/types/uint16_range.pb.go | 45 +- x/compliance/types/certified_model.pb.go | 46 +- .../types/compliance_history_item.pb.go | 47 +- x/compliance/types/compliance_info.pb.go | 87 ++-- .../types/device_software_compliance.pb.go | 43 +- x/compliance/types/genesis.pb.go | 63 +-- x/compliance/types/provisional_model.pb.go | 47 +- x/compliance/types/query.pb.go | 278 ++++++------ x/compliance/types/query.pb.gw.go | 2 +- x/compliance/types/revoked_model.pb.go | 46 +- x/compliance/types/tx.pb.go | 221 ++++----- x/dclauth/types/account.pb.go | 66 +-- x/dclauth/types/account_stat.pb.go | 39 +- x/dclauth/types/genesis.pb.go | 63 +-- x/dclauth/types/grant.pb.go | 45 +- x/dclauth/types/pending_account.pb.go | 41 +- .../types/pending_account_revocation.pb.go | 50 +- x/dclauth/types/query.pb.go | 284 ++++++------ x/dclauth/types/query.pb.gw.go | 2 +- x/dclauth/types/rejected_account.pb.go | 42 +- x/dclauth/types/revoked_account.pb.go | 61 +-- x/dclauth/types/tx.pb.go | 170 +++---- x/dclgenutil/types/genesis.pb.go | 46 +- x/dclgenutil/types/query.pb.go | 39 +- x/dclgenutil/types/tx.pb.go | 35 +- x/dclupgrade/types/approved_upgrade.pb.go | 57 +-- x/dclupgrade/types/genesis.pb.go | 52 ++- x/dclupgrade/types/grant.pb.go | 46 +- x/dclupgrade/types/proposed_upgrade.pb.go | 57 +-- x/dclupgrade/types/query.pb.go | 173 +++---- x/dclupgrade/types/query.pb.gw.go | 2 +- x/dclupgrade/types/rejected_upgrade.pb.go | 57 +-- x/dclupgrade/types/tx.pb.go | 119 ++--- x/model/types/genesis.pb.go | 57 +-- x/model/types/model.pb.go | 79 ++-- x/model/types/model_version.pb.go | 78 ++-- x/model/types/model_versions.pb.go | 42 +- x/model/types/product.pb.go | 41 +- x/model/types/query.pb.go | 170 +++---- x/model/types/query.pb.gw.go | 2 +- x/model/types/tx.pb.go | 256 +++++------ x/model/types/vendor_products.pb.go | 43 +- x/pki/types/approved_certificates.pb.go | 44 +- .../approved_certificates_by_subject.pb.go | 42 +- ...roved_certificates_by_subject_key_id.pb.go | 45 +- x/pki/types/approved_root_certificates.pb.go | 42 +- x/pki/types/certificate.pb.go | 75 +-- x/pki/types/certificate_identifier.pb.go | 39 +- x/pki/types/child_certificates.pb.go | 47 +- x/pki/types/genesis.pb.go | 98 ++-- x/pki/types/grant.pb.go | 45 +- .../pki_revocation_distribution_point.pb.go | 59 +-- ...tion_points_by_issuer_subject_key_id.pb.go | 47 +- x/pki/types/proposed_certificate.pb.go | 65 +-- .../proposed_certificate_revocation.pb.go | 49 +- x/pki/types/query.pb.go | 428 +++++++++--------- x/pki/types/query.pb.gw.go | 2 +- x/pki/types/rejected_certificate.pb.go | 43 +- x/pki/types/revoked_certificates.pb.go | 44 +- x/pki/types/revoked_root_certificates.pb.go | 42 +- x/pki/types/tx.pb.go | 295 ++++++------ x/pki/types/unique_certificate.pb.go | 43 +- x/validator/types/description.pb.go | 47 +- x/validator/types/disabled_validator.pb.go | 53 +-- x/validator/types/genesis.pb.go | 63 +-- x/validator/types/grant.pb.go | 46 +- x/validator/types/last_validator_power.pb.go | 47 +- .../types/proposed_disable_validator.pb.go | 51 ++- x/validator/types/query.pb.go | 272 +++++------ x/validator/types/query.pb.gw.go | 2 +- x/validator/types/rejected_validator.pb.go | 51 ++- x/validator/types/tx.pb.go | 177 ++++---- x/validator/types/validator.pb.go | 64 +-- x/vendorinfo/types/genesis.pb.go | 45 +- x/vendorinfo/types/query.pb.go | 97 ++-- x/vendorinfo/types/query.pb.gw.go | 2 +- x/vendorinfo/types/tx.pb.go | 112 ++--- x/vendorinfo/types/vendor_info.pb.go | 53 +-- 156 files changed, 3304 insertions(+), 3127 deletions(-) rename proto/{common/types => zigbeealliance/distributedcomplianceledger/common}/uint16_range.proto (84%) rename proto/{compliance/types => zigbeealliance/distributedcomplianceledger/compliance}/certified_model.proto (81%) rename proto/{compliance/types => zigbeealliance/distributedcomplianceledger/compliance}/compliance_history_item.proto (81%) rename proto/{compliance/types => zigbeealliance/distributedcomplianceledger/compliance}/compliance_info.proto (85%) rename proto/{compliance/types => zigbeealliance/distributedcomplianceledger/compliance}/device_software_compliance.proto (61%) rename proto/{compliance/types => zigbeealliance/distributedcomplianceledger/compliance}/genesis.proto (61%) rename proto/{compliance/types => zigbeealliance/distributedcomplianceledger/compliance}/provisional_model.proto (81%) rename proto/{compliance/types => zigbeealliance/distributedcomplianceledger/compliance}/query.proto (91%) rename proto/{compliance/types => zigbeealliance/distributedcomplianceledger/compliance}/revoked_model.proto (80%) rename proto/{compliance/types => zigbeealliance/distributedcomplianceledger/compliance}/tx.proto (99%) rename proto/{dclauth/types => zigbeealliance/distributedcomplianceledger/dclauth}/account.proto (75%) rename proto/{dclauth/types => zigbeealliance/distributedcomplianceledger/dclauth}/account_stat.proto (73%) rename proto/{dclauth/types => zigbeealliance/distributedcomplianceledger/dclauth}/genesis.proto (59%) rename proto/{dclauth/types => zigbeealliance/distributedcomplianceledger/dclauth}/grant.proto (85%) rename proto/{dclauth/types => zigbeealliance/distributedcomplianceledger/dclauth}/pending_account.proto (73%) rename proto/{dclauth/types => zigbeealliance/distributedcomplianceledger/dclauth}/pending_account_revocation.proto (74%) rename proto/{dclauth/types => zigbeealliance/distributedcomplianceledger/dclauth}/query.proto (90%) rename proto/{dclauth/types => zigbeealliance/distributedcomplianceledger/dclauth}/rejected_account.proto (62%) rename proto/{dclauth/types => zigbeealliance/distributedcomplianceledger/dclauth}/revoked_account.proto (63%) rename proto/{dclauth/types => zigbeealliance/distributedcomplianceledger/dclauth}/tx.proto (94%) rename proto/{dclgenutil/types => zigbeealliance/distributedcomplianceledger/dclgenutil}/genesis.proto (89%) rename proto/{dclgenutil/types => zigbeealliance/distributedcomplianceledger/dclgenutil}/query.proto (85%) rename proto/{dclgenutil/types => zigbeealliance/distributedcomplianceledger/dclgenutil}/tx.proto (85%) rename proto/{dclupgrade/types => zigbeealliance/distributedcomplianceledger/dclupgrade}/approved_upgrade.proto (77%) rename proto/{dclupgrade/types => zigbeealliance/distributedcomplianceledger/dclupgrade}/genesis.proto (65%) rename proto/{dclupgrade/types => zigbeealliance/distributedcomplianceledger/dclupgrade}/grant.proto (84%) rename proto/{dclupgrade/types => zigbeealliance/distributedcomplianceledger/dclupgrade}/proposed_upgrade.proto (77%) rename proto/{dclupgrade/types => zigbeealliance/distributedcomplianceledger/dclupgrade}/query.proto (90%) rename proto/{dclupgrade/types => zigbeealliance/distributedcomplianceledger/dclupgrade}/rejected_upgrade.proto (77%) rename proto/{dclupgrade/types => zigbeealliance/distributedcomplianceledger/dclupgrade}/tx.proto (96%) rename proto/{model/types => zigbeealliance/distributedcomplianceledger/model}/genesis.proto (64%) rename proto/{model/types => zigbeealliance/distributedcomplianceledger/model}/model.proto (93%) rename proto/{model/types => zigbeealliance/distributedcomplianceledger/model}/model_version.proto (92%) rename proto/{model/types => zigbeealliance/distributedcomplianceledger/model}/model_versions.proto (79%) rename proto/{model/types => zigbeealliance/distributedcomplianceledger/model}/product.proto (77%) rename proto/{model/types => zigbeealliance/distributedcomplianceledger/model}/query.proto (86%) rename proto/{model/types => zigbeealliance/distributedcomplianceledger/model}/tx.proto (97%) rename proto/{model/types => zigbeealliance/distributedcomplianceledger/model}/vendor_products.proto (60%) rename proto/{pki/types => zigbeealliance/distributedcomplianceledger/pki}/approved_certificates.proto (64%) rename proto/{pki/types => zigbeealliance/distributedcomplianceledger/pki}/approved_certificates_by_subject.proto (79%) rename proto/{pki/types => zigbeealliance/distributedcomplianceledger/pki}/approved_certificates_by_subject_key_id.proto (62%) rename proto/{pki/types => zigbeealliance/distributedcomplianceledger/pki}/approved_root_certificates.proto (58%) rename proto/{pki/types => zigbeealliance/distributedcomplianceledger/pki}/certificate.proto (84%) rename proto/{pki/types => zigbeealliance/distributedcomplianceledger/pki}/certificate_identifier.proto (78%) rename proto/{pki/types => zigbeealliance/distributedcomplianceledger/pki}/child_certificates.proto (63%) rename proto/{pki/types => zigbeealliance/distributedcomplianceledger/pki}/genesis.proto (56%) rename proto/{pki/types => zigbeealliance/distributedcomplianceledger/pki}/grant.proto (85%) rename proto/{pki/types => zigbeealliance/distributedcomplianceledger/pki}/pki_revocation_distribution_point.proto (88%) rename proto/{pki/types => zigbeealliance/distributedcomplianceledger/pki}/pki_revocation_distribution_points_by_issuer_subject_key_id.proto (63%) rename proto/{pki/types => zigbeealliance/distributedcomplianceledger/pki}/proposed_certificate.proto (81%) rename proto/{pki/types => zigbeealliance/distributedcomplianceledger/pki}/proposed_certificate_revocation.proto (68%) rename proto/{pki/types => zigbeealliance/distributedcomplianceledger/pki}/query.proto (89%) rename proto/{pki/types => zigbeealliance/distributedcomplianceledger/pki}/rejected_certificate.proto (63%) rename proto/{pki/types => zigbeealliance/distributedcomplianceledger/pki}/revoked_certificates.proto (64%) rename proto/{pki/types => zigbeealliance/distributedcomplianceledger/pki}/revoked_root_certificates.proto (57%) rename proto/{pki/types => zigbeealliance/distributedcomplianceledger/pki}/tx.proto (99%) rename proto/{pki/types => zigbeealliance/distributedcomplianceledger/pki}/unique_certificate.proto (79%) rename proto/{validator/types => zigbeealliance/distributedcomplianceledger/validator}/description.proto (88%) rename proto/{validator/types => zigbeealliance/distributedcomplianceledger/validator}/disabled_validator.proto (75%) rename proto/{validator/types => zigbeealliance/distributedcomplianceledger/validator}/genesis.proto (61%) rename proto/{validator/types => zigbeealliance/distributedcomplianceledger/validator}/grant.proto (84%) rename proto/{validator/types => zigbeealliance/distributedcomplianceledger/validator}/last_validator_power.proto (88%) rename proto/{validator/types => zigbeealliance/distributedcomplianceledger/validator}/proposed_disable_validator.proto (74%) rename proto/{validator/types => zigbeealliance/distributedcomplianceledger/validator}/query.proto (91%) rename proto/{validator/types => zigbeealliance/distributedcomplianceledger/validator}/rejected_validator.proto (74%) rename proto/{validator/types => zigbeealliance/distributedcomplianceledger/validator}/tx.proto (95%) rename proto/{validator/types => zigbeealliance/distributedcomplianceledger/validator}/validator.proto (86%) rename proto/{vendorinfo/types => zigbeealliance/distributedcomplianceledger/vendorinfo}/genesis.proto (75%) rename proto/{vendorinfo/types => zigbeealliance/distributedcomplianceledger/vendorinfo}/query.proto (89%) rename proto/{vendorinfo/types => zigbeealliance/distributedcomplianceledger/vendorinfo}/tx.proto (92%) rename proto/{vendorinfo/types => zigbeealliance/distributedcomplianceledger/vendorinfo}/vendor_info.proto (86%) create mode 100755 scripts/protocgen.sh diff --git a/integration_tests/cli/auth-demo.sh b/integration_tests/cli/auth-demo.sh index 1e7109ac6..445aa6160 100755 --- a/integration_tests/cli/auth-demo.sh +++ b/integration_tests/cli/auth-demo.sh @@ -97,7 +97,6 @@ test_divider echo "Get an account for $user is not found" result=$(dcld query auth account --address=$user_address) -result=$(get_txn_result "$result") check_response "$result" "Not Found" echo "Get a proposed account for $user and confirm that the approval contains Jack's address" @@ -560,6 +559,7 @@ test_divider echo "Bob cannot reject the same account \"$user\" for the second time" result=$(echo $passphrase | dcld tx auth reject-add-account --address="$user_address" --info="Bob is rejecting this account" --from bob --yes 2>&1 || true) +result=$(get_txn_result "$result") response_does_not_contain "$result" "\"code\": 0" test_divider @@ -629,7 +629,6 @@ pid=$RANDOM productName="Device #2" echo "$user adds Model with VID: $vid PID: $pid" result=$(echo "test1234" | dcld tx model add-model --vid=$vid --pid=$pid --productName="$productName" --productLabel="Device Description" --commissioningCustomFlow=0 --deviceTypeID=12 --partNumber=12 --from=$user_address --yes 2>&1) || true -result=$(get_txn_result "$result") check_response_and_report "$result" "key not found" raw @@ -859,7 +858,6 @@ test_divider echo "Jack proposes account for $user" result=$(echo $passphrase | dcld tx auth propose-add-account --info="Jack is proposing this account" --address="$user_address" --pubkey="$user_pubkey" --roles="Vendor" --vid=$vid --pid_ranges=$invalid_pid_ranges --from jack --yes 2>&1) || true -result=$(get_txn_result "$result") check_response "$result" "invalid PID Range is provided" raw echo "Get an proposed account for $user is not found" diff --git a/integration_tests/cli/common.sh b/integration_tests/cli/common.sh index b2f4522d6..37973d322 100755 --- a/integration_tests/cli/common.sh +++ b/integration_tests/cli/common.sh @@ -229,12 +229,13 @@ wait_for_height() { # TODO: see https://github.com/zigbee-alliance/distributed-compliance-ledger/issues/203 execute_with_retry() { local _command=${1} - + local _error=${2:-"EOF"} local _result=$($_command) for i in {1..10}; do - if [[ "$(_check_response "$_result" "EOF" "raw")" == true ]]; then + if [[ "$(_check_response "$_result" "$_error" "raw")" == true ]]; then #echo "EOF detected, re-trying" + sleep 2 _result=$($_command) else break @@ -251,7 +252,7 @@ get_txn_result() { local _command="dcld query tx $_txHash" local _result=$($_command 2>&1) - for i in {1..10}; do + for i in {1..20}; do if [[ "$(_check_response "$_result" "not found" "raw")" == true ]]; then sleep 2 _result=$($_command 2>&1) diff --git a/integration_tests/cli/model-validation-cases.sh b/integration_tests/cli/model-validation-cases.sh index d490a26e5..a447b6624 100755 --- a/integration_tests/cli/model-validation-cases.sh +++ b/integration_tests/cli/model-validation-cases.sh @@ -498,7 +498,6 @@ test_divider # Update the model version with maxApplicableSoftwareVersion less then minApplicableSoftwareVersion echo "Update the model version with maxApplicableSoftwareVersion less then minApplicableSoftwareVersion and make sure we get error back VID: $vid_1 PID: $pid_1 SV: $sv_1" result=$(echo "test1234" | dcld tx model update-model-version --vid=$vid_1 --pid=$pid_1 --softwareVersion=$sv_1 --maxApplicableSoftwareVersion=3 --minApplicableSoftwareVersion=5 --from=$vendor_account_1 --yes 2>&1) || true -result=$(get_txn_result "$result") check_response_and_report "$result" "MaxApplicableSoftwareVersion must not be less than MinApplicableSoftwareVersion" raw test_divider @@ -506,7 +505,6 @@ test_divider # Update the model version with minApplicableSoftwareVersion greater then maxApplicableSoftwareVersion echo "Update the model version with minApplicableSoftwareVersion greater then maxApplicableSoftwareVersion and make sure we get error back VID: $vid_1 PID: $pid_1 SV: $sv_1" result=$(echo "test1234" | dcld tx model update-model-version --vid=$vid_1 --pid=$pid_1 --softwareVersion=$sv_1 --maxApplicableSoftwareVersion=32 --minApplicableSoftwareVersion=33 --from=$vendor_account_1 --yes 2>&1) || true -result=$(get_txn_result "$result") check_response_and_report "$result" "MaxApplicableSoftwareVersion must not be less than MinApplicableSoftwareVersion" raw test_divider diff --git a/integration_tests/cli/validator-demo.sh b/integration_tests/cli/validator-demo.sh index b6a37ccf5..9e64eea3f 100755 --- a/integration_tests/cli/validator-demo.sh +++ b/integration_tests/cli/validator-demo.sh @@ -88,8 +88,8 @@ bob_address="$(dcld keys show bob -a)" jack_address="$(dcld keys show jack -a)" echo "Create account for $account and Assign NodeAdmin role" echo $passphrase | dcld tx auth propose-add-account --address="$address" --pubkey="$pubkey" --roles="NodeAdmin" --from jack --yes -echo $passphrase | dcld tx auth approve-add-account --address="$address" --from alice --yes - +result=$(echo $passphrase | dcld tx auth approve-add-account --address="$address" --from alice --yes) +result=$(get_txn_result "$result") test_divider vaddress=$(docker exec $container ./dcld tendermint show-address) @@ -390,6 +390,7 @@ test_divider echo "Alice proposes to disable validator $address" result=$(dcld tx validator propose-disable-node --address="$validator_address" --from alice --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -414,6 +415,7 @@ test_divider echo "Bob approves to disable validator $address" result=$(dcld tx validator approve-disable-node --address="$validator_address" --from bob --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -421,6 +423,7 @@ test_divider echo "Bob cannot reject to disable validator $address, because Bob already rejected to disable validator" result=$(dcld tx validator reject-disable-node --address="$validator_address" --from bob --yes) +result=$(get_txn_result "$result") response_does_not_contain "$result" "\"code\": 0" echo "$result" @@ -471,6 +474,7 @@ test_divider echo "node admin enables validator" result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from "$account" --yes") +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -496,16 +500,19 @@ test_divider echo "Jack proposes account for $new_trustee1" result=$(echo $passphrase | dcld tx auth propose-add-account --info="Jack is proposing this account" --address="$new_trustee_address1" --pubkey="$new_trustee_pubkey1" --roles="Trustee" --from jack --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "Alice approves account for \"$new_trustee1\"" result=$(echo $passphrase | dcld tx auth approve-add-account --address="$new_trustee_address1" --info="Alice is approving this account" --from alice --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Alice proposes to disable validator $address" result=$(dcld tx validator propose-disable-node --address="$validator_address" --from alice --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -513,6 +520,7 @@ test_divider echo "Bob approves to disable validator $address" result=$(dcld tx validator approve-disable-node --address="$validator_address" --from bob --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -520,6 +528,7 @@ test_divider echo "Bob can revote to reject disable validator $address even if Bob already approves to disable validator" result=$(dcld tx validator reject-disable-node --address="$validator_address" --from bob --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -527,19 +536,23 @@ test_divider echo "Bob approves to disable validator $address" result=$(dcld tx validator approve-disable-node --address="$validator_address" --from bob --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" echo "Alice proposes to revoke account for $new_trustee1" result=$(echo $passphrase | dcld tx auth propose-revoke-account --address="$new_trustee_address1" --from alice --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "Bob approves to revoke account for $new_trustee1" result=$(echo $passphrase | dcld tx auth approve-revoke-account --address="$new_trustee_address1" --from bob --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "Jack approves to revoke account for $new_trustee1" result=$(echo $passphrase | dcld tx auth approve-revoke-account --address="$new_trustee_address1" --from jack --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -570,6 +583,7 @@ test_divider echo "Bob rejects to disable validator $address" result=$(dcld tx validator reject-disable-node --address="$validator_address" --from bob --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -577,6 +591,7 @@ test_divider echo "Bob cannot reject to disable validator $address, because Bob already rejected to disable validator" result=$(dcld tx validator reject-disable-node --address="$validator_address" --from bob --yes) +result=$(get_txn_result "$result") response_does_not_contain "$result" "\"code\": 0" echo "$result" @@ -620,6 +635,7 @@ test_divider echo "Jack rejects to disable validator $address" result=$(dcld tx validator reject-disable-node --address="$validator_address" --from jack --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -627,6 +643,7 @@ test_divider echo "Jack cannot reject to disable validator $address, because Jack already rejected to disable validator" result=$(dcld tx validator reject-disable-node --address="$validator_address" --from jack --yes) +result=$(get_txn_result "$result") response_does_not_contain "$result" "\"code\": 0" echo "$result" @@ -661,6 +678,7 @@ echo "$result" echo "Alice proposes to disable validator $address" result=$(dcld tx validator propose-disable-node --address="$validator_address" --from alice --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -696,6 +714,7 @@ test_divider echo "Alice proposes to revoke NodeAdmin $address" result=$(dcld tx auth propose-revoke-account --address="$address" --from alice --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -703,6 +722,7 @@ test_divider echo "Bob approves to revoke NodeAdmin $address" result=$(dcld tx auth approve-revoke-account --address="$address" --from bob --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" diff --git a/integration_tests/run-all.sh b/integration_tests/run-all.sh index 82a695d65..32fc3bcdb 100755 --- a/integration_tests/run-all.sh +++ b/integration_tests/run-all.sh @@ -76,7 +76,7 @@ init_pool() { make localnet_start &>${DETAILED_OUTPUT_TARGET} log "-> Waiting for the second block (needed to request proofs)" >${DETAILED_OUTPUT_TARGET} - execute_with_retry "dcld status" + execute_with_retry "dcld status" "connection refused" wait_for_height 2 20 } diff --git a/proto/buf.gen.gogo.yaml b/proto/buf.gen.gogo.yaml index 1dd458128..0ace1a95a 100644 --- a/proto/buf.gen.gogo.yaml +++ b/proto/buf.gen.gogo.yaml @@ -6,15 +6,13 @@ version: v1 plugins: - name: gocosmos - out: ../x + out: .. opt: - - paths=source_relative - plugins=grpc - Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types - Mcosmos/orm/v1/orm.proto=cosmossdk.io/orm - name: grpc-gateway - out: ../x + out: .. opt: - - paths=source_relative - logtostderr=true - allow_colon_final_segments=true diff --git a/proto/common/types/uint16_range.proto b/proto/zigbeealliance/distributedcomplianceledger/common/uint16_range.proto similarity index 84% rename from proto/common/types/uint16_range.proto rename to proto/zigbeealliance/distributedcomplianceledger/common/uint16_range.proto index 99a4a1570..d2320643b 100644 --- a/proto/common/types/uint16_range.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/common/uint16_range.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package common.types; +package zigbeealliance.distributedcomplianceledger.common; import "gogoproto/gogo.proto"; diff --git a/proto/compliance/types/certified_model.proto b/proto/zigbeealliance/distributedcomplianceledger/compliance/certified_model.proto similarity index 81% rename from proto/compliance/types/certified_model.proto rename to proto/zigbeealliance/distributedcomplianceledger/compliance/certified_model.proto index e5d9606ee..fbe9fd4c0 100644 --- a/proto/compliance/types/certified_model.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/compliance/certified_model.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package compliance.types; +package zigbeealliance.distributedcomplianceledger.compliance; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types"; diff --git a/proto/compliance/types/compliance_history_item.proto b/proto/zigbeealliance/distributedcomplianceledger/compliance/compliance_history_item.proto similarity index 81% rename from proto/compliance/types/compliance_history_item.proto rename to proto/zigbeealliance/distributedcomplianceledger/compliance/compliance_history_item.proto index 5952356e3..3b41d2c88 100644 --- a/proto/compliance/types/compliance_history_item.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/compliance/compliance_history_item.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package compliance.types; +package zigbeealliance.distributedcomplianceledger.compliance; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types"; diff --git a/proto/compliance/types/compliance_info.proto b/proto/zigbeealliance/distributedcomplianceledger/compliance/compliance_info.proto similarity index 85% rename from proto/compliance/types/compliance_info.proto rename to proto/zigbeealliance/distributedcomplianceledger/compliance/compliance_info.proto index 711dc7d1c..67d7f6133 100644 --- a/proto/compliance/types/compliance_info.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/compliance/compliance_info.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package compliance.types; +package zigbeealliance.distributedcomplianceledger.compliance; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types"; -import "compliance/types/compliance_history_item.proto"; +import "zigbeealliance/distributedcomplianceledger/compliance/compliance_history_item.proto"; import "cosmos_proto/cosmos.proto"; message ComplianceInfo { diff --git a/proto/compliance/types/device_software_compliance.proto b/proto/zigbeealliance/distributedcomplianceledger/compliance/device_software_compliance.proto similarity index 61% rename from proto/compliance/types/device_software_compliance.proto rename to proto/zigbeealliance/distributedcomplianceledger/compliance/device_software_compliance.proto index 0f4d2e693..48343e133 100644 --- a/proto/compliance/types/device_software_compliance.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/compliance/device_software_compliance.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package compliance.types; +package zigbeealliance.distributedcomplianceledger.compliance; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types"; -import "compliance/types/compliance_info.proto"; +import "zigbeealliance/distributedcomplianceledger/compliance/compliance_info.proto"; message DeviceSoftwareCompliance { string cDCertificateId = 1; diff --git a/proto/compliance/types/genesis.proto b/proto/zigbeealliance/distributedcomplianceledger/compliance/genesis.proto similarity index 61% rename from proto/compliance/types/genesis.proto rename to proto/zigbeealliance/distributedcomplianceledger/compliance/genesis.proto index 115c8ed1e..0c0a55a7d 100644 --- a/proto/compliance/types/genesis.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/compliance/genesis.proto @@ -1,11 +1,11 @@ syntax = "proto3"; -package compliance.types; +package zigbeealliance.distributedcomplianceledger.compliance; -import "compliance/types/compliance_info.proto"; -import "compliance/types/certified_model.proto"; -import "compliance/types/revoked_model.proto"; -import "compliance/types/provisional_model.proto"; -import "compliance/types/device_software_compliance.proto"; +import "zigbeealliance/distributedcomplianceledger/compliance/compliance_info.proto"; +import "zigbeealliance/distributedcomplianceledger/compliance/certified_model.proto"; +import "zigbeealliance/distributedcomplianceledger/compliance/revoked_model.proto"; +import "zigbeealliance/distributedcomplianceledger/compliance/provisional_model.proto"; +import "zigbeealliance/distributedcomplianceledger/compliance/device_software_compliance.proto"; // this line is used by starport scaffolding # genesis/proto/import import "gogoproto/gogo.proto"; diff --git a/proto/compliance/types/provisional_model.proto b/proto/zigbeealliance/distributedcomplianceledger/compliance/provisional_model.proto similarity index 81% rename from proto/compliance/types/provisional_model.proto rename to proto/zigbeealliance/distributedcomplianceledger/compliance/provisional_model.proto index 2ff25945b..913b16c33 100644 --- a/proto/compliance/types/provisional_model.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/compliance/provisional_model.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package compliance.types; +package zigbeealliance.distributedcomplianceledger.compliance; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types"; diff --git a/proto/compliance/types/query.proto b/proto/zigbeealliance/distributedcomplianceledger/compliance/query.proto similarity index 91% rename from proto/compliance/types/query.proto rename to proto/zigbeealliance/distributedcomplianceledger/compliance/query.proto index 320a848a0..4516b6fc6 100644 --- a/proto/compliance/types/query.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/compliance/query.proto @@ -1,13 +1,13 @@ syntax = "proto3"; -package compliance.types; +package zigbeealliance.distributedcomplianceledger.compliance; import "google/api/annotations.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; -import "compliance/types/compliance_info.proto"; -import "compliance/types/certified_model.proto"; -import "compliance/types/revoked_model.proto"; -import "compliance/types/provisional_model.proto"; -import "compliance/types/device_software_compliance.proto"; +import "zigbeealliance/distributedcomplianceledger/compliance/compliance_info.proto"; +import "zigbeealliance/distributedcomplianceledger/compliance/certified_model.proto"; +import "zigbeealliance/distributedcomplianceledger/compliance/revoked_model.proto"; +import "zigbeealliance/distributedcomplianceledger/compliance/provisional_model.proto"; +import "zigbeealliance/distributedcomplianceledger/compliance/device_software_compliance.proto"; // this line is used by starport scaffolding # 1 import "gogoproto/gogo.proto"; diff --git a/proto/compliance/types/revoked_model.proto b/proto/zigbeealliance/distributedcomplianceledger/compliance/revoked_model.proto similarity index 80% rename from proto/compliance/types/revoked_model.proto rename to proto/zigbeealliance/distributedcomplianceledger/compliance/revoked_model.proto index 399c97925..9676865bd 100644 --- a/proto/compliance/types/revoked_model.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/compliance/revoked_model.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package compliance.types; +package zigbeealliance.distributedcomplianceledger.compliance; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/compliance/types"; diff --git a/proto/compliance/types/tx.proto b/proto/zigbeealliance/distributedcomplianceledger/compliance/tx.proto similarity index 99% rename from proto/compliance/types/tx.proto rename to proto/zigbeealliance/distributedcomplianceledger/compliance/tx.proto index 980d9e36e..debf0538c 100644 --- a/proto/compliance/types/tx.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/compliance/tx.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package compliance.types; +package zigbeealliance.distributedcomplianceledger.compliance; // this line is used by starport scaffolding # proto/tx/import diff --git a/proto/dclauth/types/account.proto b/proto/zigbeealliance/distributedcomplianceledger/dclauth/account.proto similarity index 75% rename from proto/dclauth/types/account.proto rename to proto/zigbeealliance/distributedcomplianceledger/dclauth/account.proto index 03d7b663f..f1213e518 100644 --- a/proto/dclauth/types/account.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/dclauth/account.proto @@ -1,12 +1,12 @@ syntax = "proto3"; -package dclauth.types; +package zigbeealliance.distributedcomplianceledger.dclauth; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types"; import "gogoproto/gogo.proto"; import "cosmos/auth/v1beta1/auth.proto"; -import "common/types/uint16_range.proto"; -import "dclauth/types/grant.proto"; +import "zigbeealliance/distributedcomplianceledger/common/uint16_range.proto"; +import "zigbeealliance/distributedcomplianceledger/dclauth/grant.proto"; message Account { @@ -22,6 +22,6 @@ message Account { repeated Grant approvals = 3; int32 vendorID = 4; repeated Grant rejects = 5; - repeated common.types.Uint16Range productIDs = 6; + repeated common.Uint16Range productIDs = 6; } diff --git a/proto/dclauth/types/account_stat.proto b/proto/zigbeealliance/distributedcomplianceledger/dclauth/account_stat.proto similarity index 73% rename from proto/dclauth/types/account_stat.proto rename to proto/zigbeealliance/distributedcomplianceledger/dclauth/account_stat.proto index ec47e5245..e20783f8f 100644 --- a/proto/dclauth/types/account_stat.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/dclauth/account_stat.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package dclauth.types; +package zigbeealliance.distributedcomplianceledger.dclauth; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types"; diff --git a/proto/dclauth/types/genesis.proto b/proto/zigbeealliance/distributedcomplianceledger/dclauth/genesis.proto similarity index 59% rename from proto/dclauth/types/genesis.proto rename to proto/zigbeealliance/distributedcomplianceledger/dclauth/genesis.proto index f89d2d174..88efceb25 100644 --- a/proto/dclauth/types/genesis.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/dclauth/genesis.proto @@ -1,12 +1,12 @@ syntax = "proto3"; -package dclauth.types; +package zigbeealliance.distributedcomplianceledger.dclauth; -import "dclauth/types/account.proto"; -import "dclauth/types/pending_account.proto"; -import "dclauth/types/pending_account_revocation.proto"; -import "dclauth/types/account_stat.proto"; -import "dclauth/types/revoked_account.proto"; -import "dclauth/types/rejected_account.proto"; +import "zigbeealliance/distributedcomplianceledger/dclauth/account.proto"; +import "zigbeealliance/distributedcomplianceledger/dclauth/pending_account.proto"; +import "zigbeealliance/distributedcomplianceledger/dclauth/pending_account_revocation.proto"; +import "zigbeealliance/distributedcomplianceledger/dclauth/account_stat.proto"; +import "zigbeealliance/distributedcomplianceledger/dclauth/revoked_account.proto"; +import "zigbeealliance/distributedcomplianceledger/dclauth/rejected_account.proto"; // this line is used by starport scaffolding # genesis/proto/import import "gogoproto/gogo.proto"; diff --git a/proto/dclauth/types/grant.proto b/proto/zigbeealliance/distributedcomplianceledger/dclauth/grant.proto similarity index 85% rename from proto/dclauth/types/grant.proto rename to proto/zigbeealliance/distributedcomplianceledger/dclauth/grant.proto index a26c9da8a..53f7ed323 100644 --- a/proto/dclauth/types/grant.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/dclauth/grant.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package dclauth.types; +package zigbeealliance.distributedcomplianceledger.dclauth; import "cosmos_proto/cosmos.proto"; diff --git a/proto/dclauth/types/pending_account.proto b/proto/zigbeealliance/distributedcomplianceledger/dclauth/pending_account.proto similarity index 73% rename from proto/dclauth/types/pending_account.proto rename to proto/zigbeealliance/distributedcomplianceledger/dclauth/pending_account.proto index 2fc6e70ce..6817024ec 100644 --- a/proto/dclauth/types/pending_account.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/dclauth/pending_account.proto @@ -1,10 +1,10 @@ syntax = "proto3"; -package dclauth.types; +package zigbeealliance.distributedcomplianceledger.dclauth; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types"; import "gogoproto/gogo.proto"; -import "dclauth/types/account.proto"; +import "zigbeealliance/distributedcomplianceledger/dclauth/account.proto"; message PendingAccount { // TODO issue 99: do we need that ??? diff --git a/proto/dclauth/types/pending_account_revocation.proto b/proto/zigbeealliance/distributedcomplianceledger/dclauth/pending_account_revocation.proto similarity index 74% rename from proto/dclauth/types/pending_account_revocation.proto rename to proto/zigbeealliance/distributedcomplianceledger/dclauth/pending_account_revocation.proto index e109f3794..0e9b29e84 100644 --- a/proto/dclauth/types/pending_account_revocation.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/dclauth/pending_account_revocation.proto @@ -1,11 +1,11 @@ syntax = "proto3"; -package dclauth.types; +package zigbeealliance.distributedcomplianceledger.dclauth; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types"; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; -import "dclauth/types/grant.proto"; +import "zigbeealliance/distributedcomplianceledger/dclauth/grant.proto"; message PendingAccountRevocation { option (gogoproto.goproto_stringer) = false; diff --git a/proto/dclauth/types/query.proto b/proto/zigbeealliance/distributedcomplianceledger/dclauth/query.proto similarity index 90% rename from proto/dclauth/types/query.proto rename to proto/zigbeealliance/distributedcomplianceledger/dclauth/query.proto index 7b59cb1b5..fb71b08e9 100644 --- a/proto/dclauth/types/query.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/dclauth/query.proto @@ -1,14 +1,14 @@ syntax = "proto3"; -package dclauth.types; +package zigbeealliance.distributedcomplianceledger.dclauth; import "google/api/annotations.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; -import "dclauth/types/account.proto"; -import "dclauth/types/pending_account.proto"; -import "dclauth/types/pending_account_revocation.proto"; -import "dclauth/types/account_stat.proto"; -import "dclauth/types/revoked_account.proto"; -import "dclauth/types/rejected_account.proto"; +import "zigbeealliance/distributedcomplianceledger/dclauth/account.proto"; +import "zigbeealliance/distributedcomplianceledger/dclauth/pending_account.proto"; +import "zigbeealliance/distributedcomplianceledger/dclauth/pending_account_revocation.proto"; +import "zigbeealliance/distributedcomplianceledger/dclauth/account_stat.proto"; +import "zigbeealliance/distributedcomplianceledger/dclauth/revoked_account.proto"; +import "zigbeealliance/distributedcomplianceledger/dclauth/rejected_account.proto"; // this line is used by starport scaffolding # 1 import "gogoproto/gogo.proto"; diff --git a/proto/dclauth/types/rejected_account.proto b/proto/zigbeealliance/distributedcomplianceledger/dclauth/rejected_account.proto similarity index 62% rename from proto/dclauth/types/rejected_account.proto rename to proto/zigbeealliance/distributedcomplianceledger/dclauth/rejected_account.proto index d65a54ae3..2a357e3fc 100644 --- a/proto/dclauth/types/rejected_account.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/dclauth/rejected_account.proto @@ -1,11 +1,10 @@ syntax = "proto3"; -package dclauth.types; +package zigbeealliance.distributedcomplianceledger.dclauth; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types"; import "gogoproto/gogo.proto"; -import "dclauth/types/account.proto"; -import "dclauth/types/grant.proto"; +import "zigbeealliance/distributedcomplianceledger/dclauth/account.proto"; message RejectedAccount { Account account = 1 [(gogoproto.embed) = true]; diff --git a/proto/dclauth/types/revoked_account.proto b/proto/zigbeealliance/distributedcomplianceledger/dclauth/revoked_account.proto similarity index 63% rename from proto/dclauth/types/revoked_account.proto rename to proto/zigbeealliance/distributedcomplianceledger/dclauth/revoked_account.proto index 17d42a1d7..f1098b335 100644 --- a/proto/dclauth/types/revoked_account.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/dclauth/revoked_account.proto @@ -1,11 +1,11 @@ syntax = "proto3"; -package dclauth.types; +package zigbeealliance.distributedcomplianceledger.dclauth; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclauth/types"; import "gogoproto/gogo.proto"; -import "dclauth/types/account.proto"; -import "dclauth/types/grant.proto"; +import "zigbeealliance/distributedcomplianceledger/dclauth/account.proto"; +import "zigbeealliance/distributedcomplianceledger/dclauth/grant.proto"; message RevokedAccount { Account account = 1 [(gogoproto.embed) = true]; diff --git a/proto/dclauth/types/tx.proto b/proto/zigbeealliance/distributedcomplianceledger/dclauth/tx.proto similarity index 94% rename from proto/dclauth/types/tx.proto rename to proto/zigbeealliance/distributedcomplianceledger/dclauth/tx.proto index 0c1b85e0b..c54ffd8b7 100644 --- a/proto/dclauth/types/tx.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/dclauth/tx.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package dclauth.types; +package zigbeealliance.distributedcomplianceledger.dclauth; // this line is used by starport scaffolding # proto/tx/import @@ -8,7 +8,7 @@ option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/ import "google/protobuf/any.proto"; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; -import "common/types/uint16_range.proto"; +import "zigbeealliance/distributedcomplianceledger/common/uint16_range.proto"; // Msg defines the Msg service. service Msg { @@ -28,7 +28,7 @@ message MsgProposeAddAccount { int32 vendorID = 5 [(gogoproto.moretags) = "validate:\"gte=0,lte=65535\""]; string info = 6 [(gogoproto.moretags) = "validate:\"max=4096\""]; int64 time = 7; - repeated common.types.Uint16Range productIDs = 8; + repeated common.Uint16Range productIDs = 8; } message MsgProposeAddAccountResponse { diff --git a/proto/dclgenutil/types/genesis.proto b/proto/zigbeealliance/distributedcomplianceledger/dclgenutil/genesis.proto similarity index 89% rename from proto/dclgenutil/types/genesis.proto rename to proto/zigbeealliance/distributedcomplianceledger/dclgenutil/genesis.proto index 1271e7b64..92f1a2eb2 100644 --- a/proto/dclgenutil/types/genesis.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/dclgenutil/genesis.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package dclgenutil.types; +package zigbeealliance.distributedcomplianceledger.dclgenutil; // this line is used by starport scaffolding # genesis/proto/import diff --git a/proto/dclgenutil/types/query.proto b/proto/zigbeealliance/distributedcomplianceledger/dclgenutil/query.proto similarity index 85% rename from proto/dclgenutil/types/query.proto rename to proto/zigbeealliance/distributedcomplianceledger/dclgenutil/query.proto index 6930fb68c..315d5556d 100644 --- a/proto/dclgenutil/types/query.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/dclgenutil/query.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package dclgenutil.types; +package zigbeealliance.distributedcomplianceledger.dclgenutil; import "google/api/annotations.proto"; // this line is used by starport scaffolding # 1 diff --git a/proto/dclgenutil/types/tx.proto b/proto/zigbeealliance/distributedcomplianceledger/dclgenutil/tx.proto similarity index 85% rename from proto/dclgenutil/types/tx.proto rename to proto/zigbeealliance/distributedcomplianceledger/dclgenutil/tx.proto index c107a53b7..570252719 100644 --- a/proto/dclgenutil/types/tx.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/dclgenutil/tx.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package dclgenutil.types; +package zigbeealliance.distributedcomplianceledger.dclgenutil; // this line is used by starport scaffolding # proto/tx/import diff --git a/proto/dclupgrade/types/approved_upgrade.proto b/proto/zigbeealliance/distributedcomplianceledger/dclupgrade/approved_upgrade.proto similarity index 77% rename from proto/dclupgrade/types/approved_upgrade.proto rename to proto/zigbeealliance/distributedcomplianceledger/dclupgrade/approved_upgrade.proto index c8ff32b53..ee17d0802 100644 --- a/proto/dclupgrade/types/approved_upgrade.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/dclupgrade/approved_upgrade.proto @@ -1,10 +1,10 @@ syntax = "proto3"; -package dclupgrade.types; +package zigbeealliance.distributedcomplianceledger.dclupgrade; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; import "cosmos/upgrade/v1beta1/upgrade.proto"; -import "dclupgrade/types/grant.proto"; +import "zigbeealliance/distributedcomplianceledger/dclupgrade/grant.proto"; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclupgrade/types"; diff --git a/proto/dclupgrade/types/genesis.proto b/proto/zigbeealliance/distributedcomplianceledger/dclupgrade/genesis.proto similarity index 65% rename from proto/dclupgrade/types/genesis.proto rename to proto/zigbeealliance/distributedcomplianceledger/dclupgrade/genesis.proto index b827b38ff..dcf20d665 100644 --- a/proto/dclupgrade/types/genesis.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/dclupgrade/genesis.proto @@ -1,10 +1,10 @@ syntax = "proto3"; -package dclupgrade.types; +package zigbeealliance.distributedcomplianceledger.dclupgrade; import "gogoproto/gogo.proto"; -import "dclupgrade/types/proposed_upgrade.proto"; -import "dclupgrade/types/approved_upgrade.proto"; -import "dclupgrade/types/rejected_upgrade.proto"; +import "zigbeealliance/distributedcomplianceledger/dclupgrade/proposed_upgrade.proto"; +import "zigbeealliance/distributedcomplianceledger/dclupgrade/approved_upgrade.proto"; +import "zigbeealliance/distributedcomplianceledger/dclupgrade/rejected_upgrade.proto"; // this line is used by starport scaffolding # genesis/proto/import option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclupgrade/types"; diff --git a/proto/dclupgrade/types/grant.proto b/proto/zigbeealliance/distributedcomplianceledger/dclupgrade/grant.proto similarity index 84% rename from proto/dclupgrade/types/grant.proto rename to proto/zigbeealliance/distributedcomplianceledger/dclupgrade/grant.proto index fad97aeb9..7ac0410e8 100644 --- a/proto/dclupgrade/types/grant.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/dclupgrade/grant.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package dclupgrade.types; +package zigbeealliance.distributedcomplianceledger.dclupgrade; import "cosmos_proto/cosmos.proto"; diff --git a/proto/dclupgrade/types/proposed_upgrade.proto b/proto/zigbeealliance/distributedcomplianceledger/dclupgrade/proposed_upgrade.proto similarity index 77% rename from proto/dclupgrade/types/proposed_upgrade.proto rename to proto/zigbeealliance/distributedcomplianceledger/dclupgrade/proposed_upgrade.proto index c2d8b4f99..ed8599d5d 100644 --- a/proto/dclupgrade/types/proposed_upgrade.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/dclupgrade/proposed_upgrade.proto @@ -1,10 +1,10 @@ syntax = "proto3"; -package dclupgrade.types; +package zigbeealliance.distributedcomplianceledger.dclupgrade; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; import "cosmos/upgrade/v1beta1/upgrade.proto"; -import "dclupgrade/types/grant.proto"; +import "zigbeealliance/distributedcomplianceledger/dclupgrade/grant.proto"; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclupgrade/types"; diff --git a/proto/dclupgrade/types/query.proto b/proto/zigbeealliance/distributedcomplianceledger/dclupgrade/query.proto similarity index 90% rename from proto/dclupgrade/types/query.proto rename to proto/zigbeealliance/distributedcomplianceledger/dclupgrade/query.proto index a681c79f7..e3e2f7df1 100644 --- a/proto/dclupgrade/types/query.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/dclupgrade/query.proto @@ -1,12 +1,12 @@ syntax = "proto3"; -package dclupgrade.types; +package zigbeealliance.distributedcomplianceledger.dclupgrade; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; -import "dclupgrade/types/proposed_upgrade.proto"; -import "dclupgrade/types/approved_upgrade.proto"; -import "dclupgrade/types/rejected_upgrade.proto"; +import "zigbeealliance/distributedcomplianceledger/dclupgrade/proposed_upgrade.proto"; +import "zigbeealliance/distributedcomplianceledger/dclupgrade/approved_upgrade.proto"; +import "zigbeealliance/distributedcomplianceledger/dclupgrade/rejected_upgrade.proto"; // this line is used by starport scaffolding # 1 option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclupgrade/types"; diff --git a/proto/dclupgrade/types/rejected_upgrade.proto b/proto/zigbeealliance/distributedcomplianceledger/dclupgrade/rejected_upgrade.proto similarity index 77% rename from proto/dclupgrade/types/rejected_upgrade.proto rename to proto/zigbeealliance/distributedcomplianceledger/dclupgrade/rejected_upgrade.proto index 3cd51b69c..8e5977762 100644 --- a/proto/dclupgrade/types/rejected_upgrade.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/dclupgrade/rejected_upgrade.proto @@ -1,10 +1,10 @@ syntax = "proto3"; -package dclupgrade.types; +package zigbeealliance.distributedcomplianceledger.dclupgrade; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; import "cosmos/upgrade/v1beta1/upgrade.proto"; -import "dclupgrade/types/grant.proto"; +import "zigbeealliance/distributedcomplianceledger/dclupgrade/grant.proto"; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/dclupgrade/types"; diff --git a/proto/dclupgrade/types/tx.proto b/proto/zigbeealliance/distributedcomplianceledger/dclupgrade/tx.proto similarity index 96% rename from proto/dclupgrade/types/tx.proto rename to proto/zigbeealliance/distributedcomplianceledger/dclupgrade/tx.proto index 5cc59e88f..5a2194edc 100644 --- a/proto/dclupgrade/types/tx.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/dclupgrade/tx.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package dclupgrade.types; +package zigbeealliance.distributedcomplianceledger.dclupgrade; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; diff --git a/proto/model/types/genesis.proto b/proto/zigbeealliance/distributedcomplianceledger/model/genesis.proto similarity index 64% rename from proto/model/types/genesis.proto rename to proto/zigbeealliance/distributedcomplianceledger/model/genesis.proto index 0fefcc288..e414e995d 100644 --- a/proto/model/types/genesis.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/model/genesis.proto @@ -1,10 +1,10 @@ syntax = "proto3"; -package model.types; +package zigbeealliance.distributedcomplianceledger.model; -import "model/types/vendor_products.proto"; -import "model/types/model.proto"; -import "model/types/model_version.proto"; -import "model/types/model_versions.proto"; +import "zigbeealliance/distributedcomplianceledger/model/vendor_products.proto"; +import "zigbeealliance/distributedcomplianceledger/model/model.proto"; +import "zigbeealliance/distributedcomplianceledger/model/model_version.proto"; +import "zigbeealliance/distributedcomplianceledger/model/model_versions.proto"; // this line is used by starport scaffolding # genesis/proto/import import "gogoproto/gogo.proto"; diff --git a/proto/model/types/model.proto b/proto/zigbeealliance/distributedcomplianceledger/model/model.proto similarity index 93% rename from proto/model/types/model.proto rename to proto/zigbeealliance/distributedcomplianceledger/model/model.proto index a7c8b6d7a..0765405f3 100644 --- a/proto/model/types/model.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/model/model.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package model.types; +package zigbeealliance.distributedcomplianceledger.model; import "cosmos_proto/cosmos.proto"; diff --git a/proto/model/types/model_version.proto b/proto/zigbeealliance/distributedcomplianceledger/model/model_version.proto similarity index 92% rename from proto/model/types/model_version.proto rename to proto/zigbeealliance/distributedcomplianceledger/model/model_version.proto index ebccc087c..4f576fa4a 100644 --- a/proto/model/types/model_version.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/model/model_version.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package model.types; +package zigbeealliance.distributedcomplianceledger.model; import "cosmos_proto/cosmos.proto"; diff --git a/proto/model/types/model_versions.proto b/proto/zigbeealliance/distributedcomplianceledger/model/model_versions.proto similarity index 79% rename from proto/model/types/model_versions.proto rename to proto/zigbeealliance/distributedcomplianceledger/model/model_versions.proto index 4ecaa5c36..fb30a7ed8 100644 --- a/proto/model/types/model_versions.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/model/model_versions.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package model.types; +package zigbeealliance.distributedcomplianceledger.model; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/types"; diff --git a/proto/model/types/product.proto b/proto/zigbeealliance/distributedcomplianceledger/model/product.proto similarity index 77% rename from proto/model/types/product.proto rename to proto/zigbeealliance/distributedcomplianceledger/model/product.proto index b5ab57455..f1e1297bc 100644 --- a/proto/model/types/product.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/model/product.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package model.types; +package zigbeealliance.distributedcomplianceledger.model; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/types"; diff --git a/proto/model/types/query.proto b/proto/zigbeealliance/distributedcomplianceledger/model/query.proto similarity index 86% rename from proto/model/types/query.proto rename to proto/zigbeealliance/distributedcomplianceledger/model/query.proto index cceed0178..be28cfc58 100644 --- a/proto/model/types/query.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/model/query.proto @@ -1,12 +1,12 @@ syntax = "proto3"; -package model.types; +package zigbeealliance.distributedcomplianceledger.model; import "google/api/annotations.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; -import "model/types/vendor_products.proto"; -import "model/types/model.proto"; -import "model/types/model_version.proto"; -import "model/types/model_versions.proto"; +import "zigbeealliance/distributedcomplianceledger/model/vendor_products.proto"; +import "zigbeealliance/distributedcomplianceledger/model/model.proto"; +import "zigbeealliance/distributedcomplianceledger/model/model_version.proto"; +import "zigbeealliance/distributedcomplianceledger/model/model_versions.proto"; // this line is used by starport scaffolding # 1 import "gogoproto/gogo.proto"; diff --git a/proto/model/types/tx.proto b/proto/zigbeealliance/distributedcomplianceledger/model/tx.proto similarity index 97% rename from proto/model/types/tx.proto rename to proto/zigbeealliance/distributedcomplianceledger/model/tx.proto index 93ed5f700..3cc0e944e 100644 --- a/proto/model/types/tx.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/model/tx.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package model.types; +package zigbeealliance.distributedcomplianceledger.model; -import "model/types/model.proto"; -import "model/types/model_version.proto"; +import "zigbeealliance/distributedcomplianceledger/model/model.proto"; +import "zigbeealliance/distributedcomplianceledger/model/model_version.proto"; // this line is used by starport scaffolding # proto/tx/import import "gogoproto/gogo.proto"; diff --git a/proto/model/types/vendor_products.proto b/proto/zigbeealliance/distributedcomplianceledger/model/vendor_products.proto similarity index 60% rename from proto/model/types/vendor_products.proto rename to proto/zigbeealliance/distributedcomplianceledger/model/vendor_products.proto index 616122570..a1dc3dc4b 100644 --- a/proto/model/types/vendor_products.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/model/vendor_products.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package model.types; +package zigbeealliance.distributedcomplianceledger.model; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/model/types"; -import "model/types/product.proto"; +import "zigbeealliance/distributedcomplianceledger/model/product.proto"; message VendorProducts { int32 vid = 1; diff --git a/proto/pki/types/approved_certificates.proto b/proto/zigbeealliance/distributedcomplianceledger/pki/approved_certificates.proto similarity index 64% rename from proto/pki/types/approved_certificates.proto rename to proto/zigbeealliance/distributedcomplianceledger/pki/approved_certificates.proto index 59317a5a1..179eeb169 100644 --- a/proto/pki/types/approved_certificates.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/pki/approved_certificates.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package pki.types; +package zigbeealliance.distributedcomplianceledger.pki; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types"; -import "pki/types/certificate.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/certificate.proto"; message ApprovedCertificates { string subject = 1; diff --git a/proto/pki/types/approved_certificates_by_subject.proto b/proto/zigbeealliance/distributedcomplianceledger/pki/approved_certificates_by_subject.proto similarity index 79% rename from proto/pki/types/approved_certificates_by_subject.proto rename to proto/zigbeealliance/distributedcomplianceledger/pki/approved_certificates_by_subject.proto index 79260ed02..40d34442f 100644 --- a/proto/pki/types/approved_certificates_by_subject.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/pki/approved_certificates_by_subject.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package pki.types; +package zigbeealliance.distributedcomplianceledger.pki; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types"; diff --git a/proto/pki/types/approved_certificates_by_subject_key_id.proto b/proto/zigbeealliance/distributedcomplianceledger/pki/approved_certificates_by_subject_key_id.proto similarity index 62% rename from proto/pki/types/approved_certificates_by_subject_key_id.proto rename to proto/zigbeealliance/distributedcomplianceledger/pki/approved_certificates_by_subject_key_id.proto index 94dbe1553..18348157d 100644 --- a/proto/pki/types/approved_certificates_by_subject_key_id.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/pki/approved_certificates_by_subject_key_id.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package pki.types; +package zigbeealliance.distributedcomplianceledger.pki; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types"; -import "pki/types/certificate.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/certificate.proto"; message ApprovedCertificatesBySubjectKeyId { string subjectKeyId = 1; diff --git a/proto/pki/types/approved_root_certificates.proto b/proto/zigbeealliance/distributedcomplianceledger/pki/approved_root_certificates.proto similarity index 58% rename from proto/pki/types/approved_root_certificates.proto rename to proto/zigbeealliance/distributedcomplianceledger/pki/approved_root_certificates.proto index da7f85302..c2edf4aab 100644 --- a/proto/pki/types/approved_root_certificates.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/pki/approved_root_certificates.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package pki.types; +package zigbeealliance.distributedcomplianceledger.pki; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types"; -import "pki/types/certificate_identifier.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/certificate_identifier.proto"; message ApprovedRootCertificates { repeated CertificateIdentifier certs = 1; diff --git a/proto/pki/types/certificate.proto b/proto/zigbeealliance/distributedcomplianceledger/pki/certificate.proto similarity index 84% rename from proto/pki/types/certificate.proto rename to proto/zigbeealliance/distributedcomplianceledger/pki/certificate.proto index 27136f5af..53375bcbc 100644 --- a/proto/pki/types/certificate.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/pki/certificate.proto @@ -1,12 +1,12 @@ syntax = "proto3"; -package pki.types; +package zigbeealliance.distributedcomplianceledger.pki; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types"; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; -import "pki/types/grant.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/grant.proto"; message Certificate { diff --git a/proto/pki/types/certificate_identifier.proto b/proto/zigbeealliance/distributedcomplianceledger/pki/certificate_identifier.proto similarity index 78% rename from proto/pki/types/certificate_identifier.proto rename to proto/zigbeealliance/distributedcomplianceledger/pki/certificate_identifier.proto index 8bd85f6ce..e5d918f78 100644 --- a/proto/pki/types/certificate_identifier.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/pki/certificate_identifier.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package pki.types; +package zigbeealliance.distributedcomplianceledger.pki; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types"; diff --git a/proto/pki/types/child_certificates.proto b/proto/zigbeealliance/distributedcomplianceledger/pki/child_certificates.proto similarity index 63% rename from proto/pki/types/child_certificates.proto rename to proto/zigbeealliance/distributedcomplianceledger/pki/child_certificates.proto index c5f224bba..6610e53a0 100644 --- a/proto/pki/types/child_certificates.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/pki/child_certificates.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package pki.types; +package zigbeealliance.distributedcomplianceledger.pki; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types"; -import "pki/types/certificate_identifier.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/certificate_identifier.proto"; message ChildCertificates { string issuer = 1; diff --git a/proto/pki/types/genesis.proto b/proto/zigbeealliance/distributedcomplianceledger/pki/genesis.proto similarity index 56% rename from proto/pki/types/genesis.proto rename to proto/zigbeealliance/distributedcomplianceledger/pki/genesis.proto index 10e864338..a4f0c8d07 100644 --- a/proto/pki/types/genesis.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/pki/genesis.proto @@ -1,19 +1,19 @@ syntax = "proto3"; -package pki.types; +package zigbeealliance.distributedcomplianceledger.pki; -import "pki/types/approved_certificates.proto"; -import "pki/types/proposed_certificate.proto"; -import "pki/types/child_certificates.proto"; -import "pki/types/proposed_certificate_revocation.proto"; -import "pki/types/revoked_certificates.proto"; -import "pki/types/unique_certificate.proto"; -import "pki/types/approved_root_certificates.proto"; -import "pki/types/revoked_root_certificates.proto"; -import "pki/types/approved_certificates_by_subject.proto"; -import "pki/types/rejected_certificate.proto"; -import "pki/types/pki_revocation_distribution_point.proto"; -import "pki/types/pki_revocation_distribution_points_by_issuer_subject_key_id.proto"; -import "pki/types/approved_certificates_by_subject_key_id.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/approved_certificates.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/proposed_certificate.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/child_certificates.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/proposed_certificate_revocation.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/revoked_certificates.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/unique_certificate.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/approved_root_certificates.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/revoked_root_certificates.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/approved_certificates_by_subject.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/rejected_certificate.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/pki_revocation_distribution_point.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/pki_revocation_distribution_points_by_issuer_subject_key_id.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/approved_certificates_by_subject_key_id.proto"; // this line is used by starport scaffolding # genesis/proto/import import "gogoproto/gogo.proto"; diff --git a/proto/pki/types/grant.proto b/proto/zigbeealliance/distributedcomplianceledger/pki/grant.proto similarity index 85% rename from proto/pki/types/grant.proto rename to proto/zigbeealliance/distributedcomplianceledger/pki/grant.proto index dc6d93fbd..5c76753c3 100644 --- a/proto/pki/types/grant.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/pki/grant.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package pki.types; +package zigbeealliance.distributedcomplianceledger.pki; import "cosmos_proto/cosmos.proto"; diff --git a/proto/pki/types/pki_revocation_distribution_point.proto b/proto/zigbeealliance/distributedcomplianceledger/pki/pki_revocation_distribution_point.proto similarity index 88% rename from proto/pki/types/pki_revocation_distribution_point.proto rename to proto/zigbeealliance/distributedcomplianceledger/pki/pki_revocation_distribution_point.proto index 7787735d8..2aef749e9 100644 --- a/proto/pki/types/pki_revocation_distribution_point.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/pki/pki_revocation_distribution_point.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package pki.types; +package zigbeealliance.distributedcomplianceledger.pki; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types"; diff --git a/proto/pki/types/pki_revocation_distribution_points_by_issuer_subject_key_id.proto b/proto/zigbeealliance/distributedcomplianceledger/pki/pki_revocation_distribution_points_by_issuer_subject_key_id.proto similarity index 63% rename from proto/pki/types/pki_revocation_distribution_points_by_issuer_subject_key_id.proto rename to proto/zigbeealliance/distributedcomplianceledger/pki/pki_revocation_distribution_points_by_issuer_subject_key_id.proto index f626675e6..c42657167 100644 --- a/proto/pki/types/pki_revocation_distribution_points_by_issuer_subject_key_id.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/pki/pki_revocation_distribution_points_by_issuer_subject_key_id.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package pki.types; +package zigbeealliance.distributedcomplianceledger.pki; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types"; -import "pki/types/pki_revocation_distribution_point.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/pki_revocation_distribution_point.proto"; message PkiRevocationDistributionPointsByIssuerSubjectKeyID { string issuerSubjectKeyID = 1; diff --git a/proto/pki/types/proposed_certificate.proto b/proto/zigbeealliance/distributedcomplianceledger/pki/proposed_certificate.proto similarity index 81% rename from proto/pki/types/proposed_certificate.proto rename to proto/zigbeealliance/distributedcomplianceledger/pki/proposed_certificate.proto index 71bc5bc01..42b6ba936 100644 --- a/proto/pki/types/proposed_certificate.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/pki/proposed_certificate.proto @@ -1,11 +1,11 @@ syntax = "proto3"; -package pki.types; +package zigbeealliance.distributedcomplianceledger.pki; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types"; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; -import "pki/types/grant.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/grant.proto"; message ProposedCertificate { string subject = 1; diff --git a/proto/pki/types/proposed_certificate_revocation.proto b/proto/zigbeealliance/distributedcomplianceledger/pki/proposed_certificate_revocation.proto similarity index 68% rename from proto/pki/types/proposed_certificate_revocation.proto rename to proto/zigbeealliance/distributedcomplianceledger/pki/proposed_certificate_revocation.proto index 8207c9121..8bfbbb1a7 100644 --- a/proto/pki/types/proposed_certificate_revocation.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/pki/proposed_certificate_revocation.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package pki.types; +package zigbeealliance.distributedcomplianceledger.pki; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types"; -import "pki/types/grant.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/grant.proto"; message ProposedCertificateRevocation { string subject = 1; diff --git a/proto/pki/types/query.proto b/proto/zigbeealliance/distributedcomplianceledger/pki/query.proto similarity index 89% rename from proto/pki/types/query.proto rename to proto/zigbeealliance/distributedcomplianceledger/pki/query.proto index 2d7c9023b..4617d30fe 100644 --- a/proto/pki/types/query.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/pki/query.proto @@ -1,19 +1,19 @@ syntax = "proto3"; -package pki.types; +package zigbeealliance.distributedcomplianceledger.pki; import "google/api/annotations.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; -import "pki/types/approved_certificates.proto"; -import "pki/types/proposed_certificate.proto"; -import "pki/types/child_certificates.proto"; -import "pki/types/proposed_certificate_revocation.proto"; -import "pki/types/revoked_certificates.proto"; -import "pki/types/approved_root_certificates.proto"; -import "pki/types/revoked_root_certificates.proto"; -import "pki/types/approved_certificates_by_subject.proto"; -import "pki/types/rejected_certificate.proto"; -import "pki/types/pki_revocation_distribution_point.proto"; -import "pki/types/pki_revocation_distribution_points_by_issuer_subject_key_id.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/approved_certificates.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/proposed_certificate.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/child_certificates.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/proposed_certificate_revocation.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/revoked_certificates.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/approved_root_certificates.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/revoked_root_certificates.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/approved_certificates_by_subject.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/rejected_certificate.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/pki_revocation_distribution_point.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/pki_revocation_distribution_points_by_issuer_subject_key_id.proto"; // this line is used by starport scaffolding # 1 import "gogoproto/gogo.proto"; diff --git a/proto/pki/types/rejected_certificate.proto b/proto/zigbeealliance/distributedcomplianceledger/pki/rejected_certificate.proto similarity index 63% rename from proto/pki/types/rejected_certificate.proto rename to proto/zigbeealliance/distributedcomplianceledger/pki/rejected_certificate.proto index 2b00b3284..7380a653d 100644 --- a/proto/pki/types/rejected_certificate.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/pki/rejected_certificate.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package pki.types; +package zigbeealliance.distributedcomplianceledger.pki; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types"; -import "pki/types/certificate.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/certificate.proto"; message RejectedCertificate { string subject = 1; diff --git a/proto/pki/types/revoked_certificates.proto b/proto/zigbeealliance/distributedcomplianceledger/pki/revoked_certificates.proto similarity index 64% rename from proto/pki/types/revoked_certificates.proto rename to proto/zigbeealliance/distributedcomplianceledger/pki/revoked_certificates.proto index 28a973910..5997f9f41 100644 --- a/proto/pki/types/revoked_certificates.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/pki/revoked_certificates.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package pki.types; +package zigbeealliance.distributedcomplianceledger.pki; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types"; -import "pki/types/certificate.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/certificate.proto"; message RevokedCertificates { string subject = 1; diff --git a/proto/pki/types/revoked_root_certificates.proto b/proto/zigbeealliance/distributedcomplianceledger/pki/revoked_root_certificates.proto similarity index 57% rename from proto/pki/types/revoked_root_certificates.proto rename to proto/zigbeealliance/distributedcomplianceledger/pki/revoked_root_certificates.proto index b57db7484..9ee282896 100644 --- a/proto/pki/types/revoked_root_certificates.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/pki/revoked_root_certificates.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package pki.types; +package zigbeealliance.distributedcomplianceledger.pki; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types"; -import "pki/types/certificate_identifier.proto"; +import "zigbeealliance/distributedcomplianceledger/pki/certificate_identifier.proto"; message RevokedRootCertificates { repeated CertificateIdentifier certs = 1; diff --git a/proto/pki/types/tx.proto b/proto/zigbeealliance/distributedcomplianceledger/pki/tx.proto similarity index 99% rename from proto/pki/types/tx.proto rename to proto/zigbeealliance/distributedcomplianceledger/pki/tx.proto index f8d58da60..d69827353 100644 --- a/proto/pki/types/tx.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/pki/tx.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package pki.types; +package zigbeealliance.distributedcomplianceledger.pki; // this line is used by starport scaffolding # proto/tx/import diff --git a/proto/pki/types/unique_certificate.proto b/proto/zigbeealliance/distributedcomplianceledger/pki/unique_certificate.proto similarity index 79% rename from proto/pki/types/unique_certificate.proto rename to proto/zigbeealliance/distributedcomplianceledger/pki/unique_certificate.proto index c1ddf2148..211fa2d24 100644 --- a/proto/pki/types/unique_certificate.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/pki/unique_certificate.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package pki.types; +package zigbeealliance.distributedcomplianceledger.pki; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types"; diff --git a/proto/validator/types/description.proto b/proto/zigbeealliance/distributedcomplianceledger/validator/description.proto similarity index 88% rename from proto/validator/types/description.proto rename to proto/zigbeealliance/distributedcomplianceledger/validator/description.proto index e9eda48a1..cab63b793 100644 --- a/proto/validator/types/description.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/validator/description.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package validator.types; +package zigbeealliance.distributedcomplianceledger.validator; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/types"; diff --git a/proto/validator/types/disabled_validator.proto b/proto/zigbeealliance/distributedcomplianceledger/validator/disabled_validator.proto similarity index 75% rename from proto/validator/types/disabled_validator.proto rename to proto/zigbeealliance/distributedcomplianceledger/validator/disabled_validator.proto index c7a4ba008..550a18a39 100644 --- a/proto/validator/types/disabled_validator.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/validator/disabled_validator.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package validator.types; +package zigbeealliance.distributedcomplianceledger.validator; import "cosmos_proto/cosmos.proto"; -import "validator/types/grant.proto"; +import "zigbeealliance/distributedcomplianceledger/validator/grant.proto"; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/types"; diff --git a/proto/validator/types/genesis.proto b/proto/zigbeealliance/distributedcomplianceledger/validator/genesis.proto similarity index 61% rename from proto/validator/types/genesis.proto rename to proto/zigbeealliance/distributedcomplianceledger/validator/genesis.proto index 809544ebc..460c6de27 100644 --- a/proto/validator/types/genesis.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/validator/genesis.proto @@ -1,11 +1,11 @@ syntax = "proto3"; -package validator.types; +package zigbeealliance.distributedcomplianceledger.validator; -import "validator/types/validator.proto"; -import "validator/types/last_validator_power.proto"; -import "validator/types/proposed_disable_validator.proto"; -import "validator/types/disabled_validator.proto"; -import "validator/types/rejected_validator.proto"; +import "zigbeealliance/distributedcomplianceledger/validator/validator.proto"; +import "zigbeealliance/distributedcomplianceledger/validator/last_validator_power.proto"; +import "zigbeealliance/distributedcomplianceledger/validator/proposed_disable_validator.proto"; +import "zigbeealliance/distributedcomplianceledger/validator/disabled_validator.proto"; +import "zigbeealliance/distributedcomplianceledger/validator/rejected_validator.proto"; // this line is used by starport scaffolding # genesis/proto/import import "gogoproto/gogo.proto"; diff --git a/proto/validator/types/grant.proto b/proto/zigbeealliance/distributedcomplianceledger/validator/grant.proto similarity index 84% rename from proto/validator/types/grant.proto rename to proto/zigbeealliance/distributedcomplianceledger/validator/grant.proto index 3dbc019a3..3284611f9 100644 --- a/proto/validator/types/grant.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/validator/grant.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package validator.types; +package zigbeealliance.distributedcomplianceledger.validator; import "cosmos_proto/cosmos.proto"; diff --git a/proto/validator/types/last_validator_power.proto b/proto/zigbeealliance/distributedcomplianceledger/validator/last_validator_power.proto similarity index 88% rename from proto/validator/types/last_validator_power.proto rename to proto/zigbeealliance/distributedcomplianceledger/validator/last_validator_power.proto index bc672692c..bae289aa3 100644 --- a/proto/validator/types/last_validator_power.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/validator/last_validator_power.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package validator.types; +package zigbeealliance.distributedcomplianceledger.validator; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/types"; diff --git a/proto/validator/types/proposed_disable_validator.proto b/proto/zigbeealliance/distributedcomplianceledger/validator/proposed_disable_validator.proto similarity index 74% rename from proto/validator/types/proposed_disable_validator.proto rename to proto/zigbeealliance/distributedcomplianceledger/validator/proposed_disable_validator.proto index a10c77dd0..63e5f7a93 100644 --- a/proto/validator/types/proposed_disable_validator.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/validator/proposed_disable_validator.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package validator.types; +package zigbeealliance.distributedcomplianceledger.validator; import "cosmos_proto/cosmos.proto"; -import "validator/types/grant.proto"; +import "zigbeealliance/distributedcomplianceledger/validator/grant.proto"; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/types"; diff --git a/proto/validator/types/query.proto b/proto/zigbeealliance/distributedcomplianceledger/validator/query.proto similarity index 91% rename from proto/validator/types/query.proto rename to proto/zigbeealliance/distributedcomplianceledger/validator/query.proto index 6250aea10..295c475be 100644 --- a/proto/validator/types/query.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/validator/query.proto @@ -1,13 +1,13 @@ syntax = "proto3"; -package validator.types; +package zigbeealliance.distributedcomplianceledger.validator; import "google/api/annotations.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; -import "validator/types/validator.proto"; -import "validator/types/last_validator_power.proto"; -import "validator/types/proposed_disable_validator.proto"; -import "validator/types/disabled_validator.proto"; -import "validator/types/rejected_validator.proto"; +import "zigbeealliance/distributedcomplianceledger/validator/validator.proto"; +import "zigbeealliance/distributedcomplianceledger/validator/last_validator_power.proto"; +import "zigbeealliance/distributedcomplianceledger/validator/proposed_disable_validator.proto"; +import "zigbeealliance/distributedcomplianceledger/validator/disabled_validator.proto"; +import "zigbeealliance/distributedcomplianceledger/validator/rejected_validator.proto"; // this line is used by starport scaffolding # 1 import "gogoproto/gogo.proto"; diff --git a/proto/validator/types/rejected_validator.proto b/proto/zigbeealliance/distributedcomplianceledger/validator/rejected_validator.proto similarity index 74% rename from proto/validator/types/rejected_validator.proto rename to proto/zigbeealliance/distributedcomplianceledger/validator/rejected_validator.proto index 984a67e9d..9c596bfa8 100644 --- a/proto/validator/types/rejected_validator.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/validator/rejected_validator.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package validator.types; +package zigbeealliance.distributedcomplianceledger.validator; import "cosmos_proto/cosmos.proto"; -import "validator/types/grant.proto"; +import "zigbeealliance/distributedcomplianceledger/validator/grant.proto"; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/types"; diff --git a/proto/validator/types/tx.proto b/proto/zigbeealliance/distributedcomplianceledger/validator/tx.proto similarity index 95% rename from proto/validator/types/tx.proto rename to proto/zigbeealliance/distributedcomplianceledger/validator/tx.proto index ad4c042bc..f6e932253 100644 --- a/proto/validator/types/tx.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/validator/tx.proto @@ -1,8 +1,8 @@ syntax = "proto3"; -package validator.types; +package zigbeealliance.distributedcomplianceledger.validator; // this line is used by starport scaffolding # proto/tx/import -import "validator/types/description.proto"; +import "zigbeealliance/distributedcomplianceledger/validator/description.proto"; import "google/protobuf/any.proto"; import "gogoproto/gogo.proto"; diff --git a/proto/validator/types/validator.proto b/proto/zigbeealliance/distributedcomplianceledger/validator/validator.proto similarity index 86% rename from proto/validator/types/validator.proto rename to proto/zigbeealliance/distributedcomplianceledger/validator/validator.proto index 7a9344844..521ae9751 100644 --- a/proto/validator/types/validator.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/validator/validator.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package validator.types; +package zigbeealliance.distributedcomplianceledger.validator; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/validator/types"; @@ -7,7 +7,7 @@ import "google/protobuf/any.proto"; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; -import "validator/types/description.proto"; +import "zigbeealliance/distributedcomplianceledger/validator/description.proto"; message Validator { option (gogoproto.equal) = false; diff --git a/proto/vendorinfo/types/genesis.proto b/proto/zigbeealliance/distributedcomplianceledger/vendorinfo/genesis.proto similarity index 75% rename from proto/vendorinfo/types/genesis.proto rename to proto/zigbeealliance/distributedcomplianceledger/vendorinfo/genesis.proto index 5f6d2e4a2..4aedab36a 100644 --- a/proto/vendorinfo/types/genesis.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/vendorinfo/genesis.proto @@ -1,7 +1,7 @@ syntax = "proto3"; -package vendorinfo.types; +package zigbeealliance.distributedcomplianceledger.vendorinfo; -import "vendorinfo/types/vendor_info.proto"; +import "zigbeealliance/distributedcomplianceledger/vendorinfo/vendor_info.proto"; // this line is used by starport scaffolding # genesis/proto/import import "gogoproto/gogo.proto"; diff --git a/proto/vendorinfo/types/query.proto b/proto/zigbeealliance/distributedcomplianceledger/vendorinfo/query.proto similarity index 89% rename from proto/vendorinfo/types/query.proto rename to proto/zigbeealliance/distributedcomplianceledger/vendorinfo/query.proto index 3e5bbe944..bd5df0509 100644 --- a/proto/vendorinfo/types/query.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/vendorinfo/query.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package vendorinfo.types; +package zigbeealliance.distributedcomplianceledger.vendorinfo; import "google/api/annotations.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; -import "vendorinfo/types/vendor_info.proto"; +import "zigbeealliance/distributedcomplianceledger/vendorinfo/vendor_info.proto"; // this line is used by starport scaffolding # 1 import "gogoproto/gogo.proto"; diff --git a/proto/vendorinfo/types/tx.proto b/proto/zigbeealliance/distributedcomplianceledger/vendorinfo/tx.proto similarity index 92% rename from proto/vendorinfo/types/tx.proto rename to proto/zigbeealliance/distributedcomplianceledger/vendorinfo/tx.proto index 08fbd29cc..6156f5f4d 100644 --- a/proto/vendorinfo/types/tx.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/vendorinfo/tx.proto @@ -1,7 +1,7 @@ syntax = "proto3"; -package vendorinfo.types; +package zigbeealliance.distributedcomplianceledger.vendorinfo; -import "vendorinfo/types/vendor_info.proto"; +import "zigbeealliance/distributedcomplianceledger/vendorinfo/vendor_info.proto"; import "gogoproto/gogo.proto"; import "cosmos_proto/cosmos.proto"; // this line is used by starport scaffolding # proto/tx/import diff --git a/proto/vendorinfo/types/vendor_info.proto b/proto/zigbeealliance/distributedcomplianceledger/vendorinfo/vendor_info.proto similarity index 86% rename from proto/vendorinfo/types/vendor_info.proto rename to proto/zigbeealliance/distributedcomplianceledger/vendorinfo/vendor_info.proto index 7a6c0b7c9..ceae0bd81 100644 --- a/proto/vendorinfo/types/vendor_info.proto +++ b/proto/zigbeealliance/distributedcomplianceledger/vendorinfo/vendor_info.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package vendorinfo.types; +package zigbeealliance.distributedcomplianceledger.vendorinfo; option go_package = "github.com/zigbee-alliance/distributed-compliance-ledger/x/vendorinfo/types"; diff --git a/scripts/protocgen.sh b/scripts/protocgen.sh new file mode 100755 index 000000000..3829edec5 --- /dev/null +++ b/scripts/protocgen.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +set -euox pipefail + +echo "Generating gogo proto code" +cd proto + +buf generate --template buf.gen.gogo.yaml + +cd .. + +# move proto files to the right places +cp -r github.com/zigbee-alliance/distributed-compliance-ledger/* ./ +rm -rf github.com diff --git a/x/common/types/uint16_range.pb.go b/x/common/types/uint16_range.pb.go index 167064ff5..0a1c1128b 100644 --- a/x/common/types/uint16_range.pb.go +++ b/x/common/types/uint16_range.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: common/types/uint16_range.proto +// source: zigbeealliance/distributedcomplianceledger/common/uint16_range.proto package types @@ -32,7 +32,7 @@ func (m *Uint16Range) Reset() { *m = Uint16Range{} } func (m *Uint16Range) String() string { return proto.CompactTextString(m) } func (*Uint16Range) ProtoMessage() {} func (*Uint16Range) Descriptor() ([]byte, []int) { - return fileDescriptor_95b26dac6b1d57a7, []int{0} + return fileDescriptor_42b7b0236903d486, []int{0} } func (m *Uint16Range) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -76,28 +76,31 @@ func (m *Uint16Range) GetMax() int32 { } func init() { - proto.RegisterType((*Uint16Range)(nil), "common.types.Uint16Range") + proto.RegisterType((*Uint16Range)(nil), "zigbeealliance.distributedcomplianceledger.common.Uint16Range") } -func init() { proto.RegisterFile("common/types/uint16_range.proto", fileDescriptor_95b26dac6b1d57a7) } +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/common/uint16_range.proto", fileDescriptor_42b7b0236903d486) +} -var fileDescriptor_95b26dac6b1d57a7 = []byte{ - // 237 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4f, 0xce, 0xcf, 0xcd, - 0xcd, 0xcf, 0xd3, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x2f, 0xcd, 0xcc, 0x2b, 0x31, 0x34, 0x8b, - 0x2f, 0x4a, 0xcc, 0x4b, 0x4f, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x81, 0x28, 0xd0, - 0x03, 0x2b, 0x90, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0x4b, 0xe8, 0x83, 0x58, 0x10, 0x35, 0x4a, - 0x85, 0x5c, 0xdc, 0xa1, 0x60, 0x9d, 0x41, 0x20, 0x8d, 0x42, 0x06, 0x5c, 0xcc, 0xb9, 0x99, 0x79, - 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0xac, 0x4e, 0x72, 0x9f, 0xee, 0xc9, 0x4b, 0x95, 0x25, 0xe6, 0x64, - 0xa6, 0x24, 0x96, 0xa4, 0x5a, 0x29, 0xa5, 0x97, 0xa4, 0xda, 0x1a, 0xe8, 0xe4, 0x94, 0xa4, 0xda, - 0x9a, 0x99, 0x9a, 0x1a, 0x9b, 0x2a, 0x05, 0x81, 0x94, 0x82, 0x75, 0x24, 0x56, 0x48, 0x30, 0x11, - 0xa9, 0x23, 0xb1, 0xc2, 0x29, 0xf1, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, - 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, - 0xdc, 0xd3, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0xab, 0x32, 0xd3, 0x93, - 0x52, 0x53, 0x75, 0x13, 0x73, 0x72, 0x32, 0x13, 0xf3, 0x92, 0x53, 0xf5, 0x53, 0x32, 0x8b, 0x4b, - 0x8a, 0x32, 0x93, 0x4a, 0x4b, 0x52, 0x53, 0x74, 0x93, 0xf3, 0x73, 0x0b, 0x20, 0xc2, 0xba, 0x39, - 0xa9, 0x29, 0xe9, 0xa9, 0x45, 0xfa, 0x15, 0xfa, 0xc8, 0x81, 0x91, 0xc4, 0x06, 0xf6, 0x9c, 0x31, - 0x20, 0x00, 0x00, 0xff, 0xff, 0x11, 0xfe, 0xa9, 0xe3, 0x23, 0x01, 0x00, 0x00, +var fileDescriptor_42b7b0236903d486 = []byte{ + // 247 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x72, 0xa9, 0xca, 0x4c, 0x4f, + 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4f, 0xc9, 0x2c, 0x2e, 0x29, + 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, + 0xa7, 0x16, 0xe9, 0x27, 0xe7, 0xe7, 0xe6, 0xe6, 0xe7, 0xe9, 0x97, 0x66, 0xe6, 0x95, 0x18, 0x9a, + 0xc5, 0x17, 0x25, 0xe6, 0xa5, 0xa7, 0xea, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, 0x19, 0xa2, 0x9a, + 0xa2, 0x87, 0xc7, 0x14, 0x3d, 0x88, 0x29, 0x52, 0x22, 0xe9, 0xf9, 0xe9, 0xf9, 0x60, 0xdd, 0xfa, + 0x20, 0x16, 0xc4, 0x20, 0xa5, 0x42, 0x2e, 0xee, 0x50, 0xb0, 0xf1, 0x41, 0x20, 0xd3, 0x85, 0x0c, + 0xb8, 0x98, 0x73, 0x33, 0xf3, 0x24, 0x18, 0x15, 0x18, 0x35, 0x58, 0x9d, 0xe4, 0x3e, 0xdd, 0x93, + 0x97, 0x2a, 0x4b, 0xcc, 0xc9, 0x4c, 0x49, 0x2c, 0x49, 0xb5, 0x52, 0x4a, 0x2f, 0x49, 0xb5, 0x35, + 0xd0, 0xc9, 0x29, 0x49, 0xb5, 0x35, 0x33, 0x35, 0x35, 0x36, 0x55, 0x0a, 0x02, 0x29, 0x05, 0xeb, + 0x48, 0xac, 0x90, 0x60, 0x22, 0x52, 0x47, 0x62, 0x85, 0x53, 0xe2, 0x89, 0x47, 0x72, 0x8c, 0x17, + 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, + 0x37, 0x1e, 0xcb, 0x31, 0x44, 0xb9, 0xa7, 0x67, 0x96, 0x64, 0x94, 0x26, 0x81, 0x5c, 0xac, 0x0f, + 0xf1, 0xa0, 0x2e, 0xb6, 0x70, 0xd2, 0x45, 0x78, 0x51, 0x17, 0x1a, 0x52, 0x15, 0xb0, 0xb0, 0x2a, + 0xa9, 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, 0x7b, 0xce, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0xeb, + 0x4a, 0x43, 0x0e, 0x6d, 0x01, 0x00, 0x00, } func (m *Uint16Range) Marshal() (dAtA []byte, err error) { diff --git a/x/compliance/types/certified_model.pb.go b/x/compliance/types/certified_model.pb.go index 04135e2fe..59527d345 100644 --- a/x/compliance/types/certified_model.pb.go +++ b/x/compliance/types/certified_model.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: compliance/types/certified_model.proto +// source: zigbeealliance/distributedcomplianceledger/compliance/certified_model.proto package types @@ -34,7 +34,7 @@ func (m *CertifiedModel) Reset() { *m = CertifiedModel{} } func (m *CertifiedModel) String() string { return proto.CompactTextString(m) } func (*CertifiedModel) ProtoMessage() {} func (*CertifiedModel) Descriptor() ([]byte, []int) { - return fileDescriptor_8e3f266d6845ce75, []int{0} + return fileDescriptor_7be90d472c8a2fef, []int{0} } func (m *CertifiedModel) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -99,32 +99,32 @@ func (m *CertifiedModel) GetValue() bool { } func init() { - proto.RegisterType((*CertifiedModel)(nil), "compliance.types.CertifiedModel") + proto.RegisterType((*CertifiedModel)(nil), "zigbeealliance.distributedcomplianceledger.compliance.CertifiedModel") } func init() { - proto.RegisterFile("compliance/types/certified_model.proto", fileDescriptor_8e3f266d6845ce75) + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/compliance/certified_model.proto", fileDescriptor_7be90d472c8a2fef) } -var fileDescriptor_8e3f266d6845ce75 = []byte{ - // 262 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0x31, 0x4e, 0xc3, 0x30, - 0x14, 0x40, 0x63, 0x4a, 0x10, 0x58, 0x02, 0x4a, 0xc4, 0x90, 0xc9, 0x8a, 0x18, 0x50, 0x06, 0x12, - 0x0f, 0xdc, 0x00, 0x46, 0xc4, 0x12, 0x21, 0x06, 0x16, 0xe4, 0xd8, 0xbf, 0xe1, 0x4b, 0x4e, 0x6c, - 0x39, 0x4e, 0xa1, 0x9c, 0x82, 0x33, 0x70, 0x1a, 0xc6, 0x8e, 0x8c, 0x28, 0xb9, 0x08, 0x4a, 0x5b, - 0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x55, 0xa4, 0xeb, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x10, 0xd3, - 0xc5, 0xb4, 0x4e, 0x01, 0x00, 0x00, +var fileDescriptor_7be90d472c8a2fef = []byte{ + // 272 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xbf, 0x4a, 0xc4, 0x30, + 0x1c, 0xc7, 0x1b, 0xcf, 0x8a, 0x06, 0xfc, 0x57, 0x1c, 0x3a, 0x85, 0xe2, 0x94, 0xc1, 0xb6, 0x83, + 0xf8, 0x02, 0x3a, 0x1e, 0x2e, 0x45, 0x1c, 0x5c, 0x24, 0x6d, 0x7e, 0x57, 0x7f, 0x90, 0x6b, 0x42, + 0x9a, 0x9e, 0x9e, 0x4f, 0xe1, 0x33, 0xf8, 0x34, 0x8e, 0x37, 0x3a, 0x4a, 0xfb, 0x22, 0x52, 0x7b, + 0x52, 0xff, 0xe1, 0x96, 0x7c, 0x02, 0x1f, 0xf2, 0xfd, 0xd0, 0xe9, 0x23, 0x96, 0x39, 0x80, 0x50, + 0x0a, 0x45, 0x55, 0x40, 0x2a, 0xb1, 0x76, 0x16, 0xf3, 0xc6, 0x81, 0x2c, 0xf4, 0xdc, 0x0c, 0x54, + 0x81, 0x2c, 0xc1, 0xa6, 0x23, 0x48, 0x0b, 0xb0, 0x0e, 0x67, 0x08, 0xf2, 0x76, 0xae, 0x25, 0xa8, + 0xc4, 0x58, 0xed, 0x74, 0x70, 0xf6, 0x5d, 0x96, 0xfc, 0x23, 0x4b, 0x46, 0x70, 0xfc, 0x4c, 0xe8, + 0xde, 0xc5, 0xa7, 0xf0, 0xb2, 0xf7, 0x05, 0x07, 0x74, 0xb2, 0x40, 0x19, 0x92, 0x88, 0x70, 0x3f, + 0xeb, 0x8f, 0x3d, 0x31, 0x28, 0xc3, 0x8d, 0x81, 0x18, 0x94, 0x01, 0xa7, 0xfb, 0xb5, 0x9e, 0xb9, + 0x7b, 0x61, 0xe1, 0x1a, 0x6c, 0x8d, 0xba, 0x0a, 0x27, 0x11, 0xe1, 0xbb, 0xd9, 0x4f, 0x1c, 0x9c, + 0xd0, 0xc3, 0xf5, 0x87, 0x0b, 0xe1, 0x50, 0x57, 0x57, 0x4b, 0x03, 0xe1, 0x66, 0x44, 0xf8, 0x4e, + 0xf6, 0xfb, 0x21, 0x38, 0xa2, 0xfe, 0x42, 0xa8, 0x06, 0x42, 0x3f, 0x22, 0x7c, 0x3b, 0x1b, 0x2e, + 0xe7, 0xf0, 0xd2, 0x32, 0xb2, 0x6a, 0x19, 0x79, 0x6b, 0x19, 0x79, 0xea, 0x98, 0xb7, 0xea, 0x98, + 0xf7, 0xda, 0x31, 0xef, 0x66, 0x5a, 0xa2, 0xbb, 0x6b, 0xf2, 0x7e, 0x51, 0x3a, 0x04, 0x88, 0xff, + 0xca, 0x19, 0x8f, 0x8b, 0xe3, 0x75, 0xd0, 0x87, 0xaf, 0x49, 0xdd, 0xd2, 0x40, 0x9d, 0x6f, 0x7d, + 0x94, 0x3c, 0x7d, 0x0f, 0x00, 0x00, 0xff, 0xff, 0xe0, 0x49, 0x94, 0xb3, 0x98, 0x01, 0x00, 0x00, } func (m *CertifiedModel) Marshal() (dAtA []byte, err error) { diff --git a/x/compliance/types/compliance_history_item.pb.go b/x/compliance/types/compliance_history_item.pb.go index 07f4dc317..9559e01f1 100644 --- a/x/compliance/types/compliance_history_item.pb.go +++ b/x/compliance/types/compliance_history_item.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: compliance/types/compliance_history_item.proto +// source: zigbeealliance/distributedcomplianceledger/compliance/compliance_history_item.proto package types @@ -33,7 +33,7 @@ func (m *ComplianceHistoryItem) Reset() { *m = ComplianceHistoryItem{} } func (m *ComplianceHistoryItem) String() string { return proto.CompactTextString(m) } func (*ComplianceHistoryItem) ProtoMessage() {} func (*ComplianceHistoryItem) Descriptor() ([]byte, []int) { - return fileDescriptor_b7c5db78a2e409f4, []int{0} + return fileDescriptor_e9a4634fe5730cca, []int{0} } func (m *ComplianceHistoryItem) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -91,32 +91,33 @@ func (m *ComplianceHistoryItem) GetCDVersionNumber() uint32 { } func init() { - proto.RegisterType((*ComplianceHistoryItem)(nil), "compliance.types.ComplianceHistoryItem") + proto.RegisterType((*ComplianceHistoryItem)(nil), "zigbeealliance.distributedcomplianceledger.compliance.ComplianceHistoryItem") } func init() { - proto.RegisterFile("compliance/types/compliance_history_item.proto", fileDescriptor_b7c5db78a2e409f4) + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/compliance/compliance_history_item.proto", fileDescriptor_e9a4634fe5730cca) } -var fileDescriptor_b7c5db78a2e409f4 = []byte{ - // 264 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0xb1, 0x4a, 0xc4, 0x40, - 0x10, 0x86, 0xb3, 0x7a, 0x1c, 0xb8, 0x20, 0xca, 0x82, 0x92, 0x6a, 0x39, 0xae, 0x4a, 0x93, 0xa4, - 0xf0, 0x0d, 0x3c, 0x0b, 0x45, 0xb8, 0xe2, 0x04, 0x0b, 0x9b, 0x63, 0x37, 0x99, 0xcb, 0x0d, 0x24, - 0xd9, 0xb0, 0x3b, 0x41, 0xcf, 0xa7, 0xf0, 0x85, 0xec, 0x2d, 0xaf, 0xb4, 0x94, 0xe4, 0x45, 0xc4, - 0x35, 0x18, 0xb8, 0xca, 0x6e, 0xe6, 0x9b, 0x7f, 0x66, 0xe0, 0xe3, 0x49, 0x66, 0xaa, 0xa6, 0x44, - 0x55, 0x67, 0x90, 0xd2, 0xae, 0x01, 0x97, 0x8e, 0x60, 0xbd, 0x45, 0x47, 0xc6, 0xee, 0xd6, 0x48, - 0x50, 0x25, 0x8d, 0x35, 0x64, 0xc4, 0xf9, 0x38, 0x4e, 0x7c, 0x7e, 0xfe, 0xce, 0xf8, 0xc5, 0xe2, - 0x0f, 0xde, 0xfe, 0xae, 0xdc, 0x11, 0x54, 0x62, 0xc9, 0xe7, 0xce, 0x6c, 0xe8, 0x59, 0x59, 0x78, - 0x04, 0xeb, 0xd0, 0xd4, 0x0b, 0xb0, 0x84, 0x1b, 0xcc, 0x14, 0xa1, 0xa9, 0x1f, 0x48, 0x51, 0xeb, - 0x42, 0x36, 0x63, 0xd1, 0xe9, 0xea, 0x1f, 0x49, 0x21, 0xf8, 0x24, 0x57, 0x04, 0xe1, 0xd1, 0x8c, - 0x45, 0x27, 0x2b, 0x5f, 0x8b, 0x4b, 0x3e, 0xb5, 0xa0, 0x9c, 0xa9, 0xc3, 0x63, 0x4f, 0x87, 0x4e, - 0x44, 0xfc, 0x2c, 0xbb, 0x19, 0x6e, 0x2d, 0xdb, 0x4a, 0x83, 0x0d, 0x27, 0xfe, 0xd1, 0x21, 0xbe, - 0x86, 0x8f, 0x4e, 0xb2, 0x7d, 0x27, 0xd9, 0x57, 0x27, 0xd9, 0x5b, 0x2f, 0x83, 0x7d, 0x2f, 0x83, - 0xcf, 0x5e, 0x06, 0x4f, 0xf7, 0x05, 0xd2, 0xb6, 0xd5, 0x3f, 0x8a, 0xd2, 0x57, 0x2c, 0x34, 0x40, - 0xac, 0xca, 0xc1, 0x55, 0x8e, 0x8e, 0x2c, 0xea, 0x96, 0x20, 0x8f, 0x47, 0x25, 0x71, 0x09, 0x79, - 0x01, 0x36, 0x7d, 0x49, 0x0f, 0xb5, 0xea, 0xa9, 0xf7, 0x77, 0xf5, 0x1d, 0x00, 0x00, 0xff, 0xff, - 0x35, 0x19, 0xf4, 0x0b, 0x71, 0x01, 0x00, 0x00, +var fileDescriptor_e9a4634fe5730cca = []byte{ + // 275 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0x31, 0x4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x8f, 0x9f, 0xc4, 0x57, 0xbd, 0x6b, 0x5e, 0xe5, 0x11, 0x18, 0x77, 0xd4, + 0x7e, 0xf4, 0x13, 0x5f, 0xc2, 0x6b, 0x2d, 0xd9, 0xae, 0x96, 0xec, 0xbd, 0x96, 0xec, 0xb9, 0x91, + 0xce, 0xae, 0x91, 0xce, 0x5b, 0x23, 0x9d, 0xfb, 0xdb, 0x14, 0x69, 0x53, 0x45, 0x9f, 0xc7, 0x86, + 0x5d, 0x1b, 0xff, 0xb7, 0xe2, 0xfe, 0x10, 0xc3, 0xef, 0x9b, 0x3f, 0xee, 0x57, 0xa7, 0x6d, 0x09, + 0x36, 0x1a, 0xb7, 0x91, 0xcf, 0x3f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x4a, 0xe3, 0x3e, 0x94, 0xbb, + 0x01, 0x00, 0x00, } func (m *ComplianceHistoryItem) Marshal() (dAtA []byte, err error) { diff --git a/x/compliance/types/compliance_info.pb.go b/x/compliance/types/compliance_info.pb.go index 72c0258fe..9bbc5b469 100644 --- a/x/compliance/types/compliance_info.pb.go +++ b/x/compliance/types/compliance_info.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: compliance/types/compliance_info.proto +// source: zigbeealliance/distributedcomplianceledger/compliance/compliance_info.proto package types @@ -53,7 +53,7 @@ func (m *ComplianceInfo) Reset() { *m = ComplianceInfo{} } func (m *ComplianceInfo) String() string { return proto.CompactTextString(m) } func (*ComplianceInfo) ProtoMessage() {} func (*ComplianceInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_8981313e22adc852, []int{0} + return fileDescriptor_b59222752039640e, []int{0} } func (m *ComplianceInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -244,52 +244,53 @@ func (m *ComplianceInfo) GetCertificationIdOfSoftwareComponent() string { } func init() { - proto.RegisterType((*ComplianceInfo)(nil), "compliance.types.ComplianceInfo") + proto.RegisterType((*ComplianceInfo)(nil), "zigbeealliance.distributedcomplianceledger.compliance.ComplianceInfo") } func init() { - proto.RegisterFile("compliance/types/compliance_info.proto", fileDescriptor_8981313e22adc852) + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/compliance/compliance_info.proto", fileDescriptor_b59222752039640e) } -var fileDescriptor_8981313e22adc852 = []byte{ - // 590 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xcb, 0x6e, 0xd4, 0x30, - 0x14, 0x6d, 0xe8, 0xdb, 0xa5, 0x2f, 0xd3, 0x16, 0x53, 0xa1, 0xd1, 0xa8, 0x0b, 0x98, 0x05, 0x93, - 0x48, 0xc0, 0x8a, 0x5d, 0x3b, 0x2c, 0x18, 0x21, 0xb5, 0x28, 0x03, 0x2c, 0xd8, 0x54, 0x9e, 0xf8, - 0x66, 0x6a, 0x29, 0xb1, 0x23, 0xdb, 0xa1, 0x0c, 0x5f, 0xc1, 0xc7, 0xf0, 0x11, 0x2c, 0x2b, 0x56, - 0x2c, 0x51, 0xfb, 0x05, 0xfc, 0x01, 0xb2, 0x9d, 0x69, 0xda, 0xcc, 0x80, 0xba, 0xcb, 0x3d, 0xe7, - 0xdc, 0xeb, 0x1b, 0x9f, 0x23, 0xa3, 0x27, 0x89, 0xcc, 0x8b, 0x8c, 0x53, 0x91, 0x40, 0x64, 0xc6, - 0x05, 0xe8, 0xa8, 0x06, 0x4e, 0xb9, 0x48, 0x65, 0x58, 0x28, 0x69, 0x24, 0xde, 0xaa, 0xe1, 0xd0, - 0xe9, 0xf6, 0xc3, 0xff, 0x75, 0x9e, 0x71, 0x6d, 0xa4, 0x1a, 0x9f, 0x72, 0x03, 0xb9, 0x9f, 0xb0, - 0xff, 0x28, 0x91, 0x3a, 0x97, 0xfa, 0xd4, 0x55, 0x91, 0x2f, 0x3c, 0x75, 0xf0, 0x67, 0x19, 0x6d, - 0xf4, 0xae, 0x9b, 0xfb, 0x22, 0x95, 0x78, 0x0b, 0xcd, 0x7f, 0xe6, 0x8c, 0x04, 0xed, 0xa0, 0xb3, - 0x18, 0xdb, 0x4f, 0x8b, 0x14, 0x9c, 0x91, 0x7b, 0x1e, 0x29, 0x38, 0xc3, 0x1d, 0xb4, 0xa9, 0x65, - 0x6a, 0xce, 0xa9, 0x82, 0x8f, 0xa0, 0x34, 0x97, 0x82, 0xcc, 0xb7, 0x83, 0xce, 0x7a, 0xdc, 0x84, - 0xf1, 0x33, 0xb4, 0x9d, 0x80, 0x32, 0x3c, 0xe5, 0x09, 0x35, 0x5c, 0x8a, 0xf7, 0xe3, 0x02, 0xc8, - 0x42, 0x3b, 0xe8, 0xac, 0xc6, 0xd3, 0x04, 0x7e, 0x89, 0x76, 0x1b, 0x03, 0x06, 0x46, 0x71, 0x31, - 0x22, 0x8b, 0xae, 0x63, 0x36, 0x69, 0xb7, 0x49, 0x5e, 0x57, 0xd0, 0x71, 0x99, 0x0f, 0x41, 0x91, - 0x25, 0xbf, 0x4d, 0x03, 0xc6, 0xc7, 0xe8, 0xa0, 0x31, 0xa2, 0x77, 0x73, 0x87, 0x81, 0xa1, 0xa6, - 0xd4, 0x64, 0xd9, 0x35, 0xdf, 0x41, 0x89, 0x31, 0x5a, 0x60, 0xd4, 0x00, 0x59, 0x71, 0xeb, 0xb9, - 0x6f, 0xbc, 0x87, 0x96, 0x14, 0x50, 0x2d, 0x05, 0x59, 0x75, 0x68, 0x55, 0xe1, 0x10, 0x2d, 0xca, - 0x73, 0x01, 0x8a, 0x20, 0x0b, 0x1f, 0x91, 0x9f, 0xdf, 0xbb, 0x3b, 0x95, 0x17, 0x87, 0x8c, 0x29, - 0xd0, 0xda, 0xff, 0x4e, 0xec, 0x65, 0xf8, 0x10, 0x2d, 0x57, 0x5e, 0x92, 0xb5, 0xf6, 0x7c, 0x67, - 0xed, 0xf9, 0xd3, 0xb0, 0x99, 0x84, 0xb0, 0xb6, 0xee, 0x8d, 0x97, 0xf6, 0x0d, 0x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f8, 0x7d, 0xd9, 0x0a, 0xbe, 0x5d, 0xb5, 0xe6, 0x2e, 0xae, 0x5a, 0x73, - 0xbf, 0xae, 0x5a, 0x73, 0x9f, 0xde, 0x8e, 0xb8, 0x39, 0x2b, 0x87, 0x36, 0x67, 0xd1, 0x57, 0x3e, - 0x1a, 0x02, 0x74, 0x69, 0x56, 0x3d, 0x34, 0x8c, 0x6b, 0xa3, 0xf8, 0xb0, 0x34, 0xc0, 0xba, 0x75, - 0x0e, 0xbb, 0x19, 0xb0, 0x11, 0xa8, 0xe8, 0x4b, 0xd4, 0x7c, 0x93, 0x86, 0x4b, 0xee, 0x85, 0x79, - 0xf1, 0x37, 0x00, 0x00, 0xff, 0xff, 0x67, 0xd1, 0x67, 0x61, 0xe8, 0x04, 0x00, 0x00, +var fileDescriptor_b59222752039640e = []byte{ + // 603 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0xcd, 0x6e, 0x13, 0x31, + 0x10, 0xee, 0xd2, 0x7f, 0x97, 0xfe, 0x99, 0xb6, 0x98, 0x0a, 0xad, 0xa2, 0x9e, 0x72, 0x20, 0x1b, + 0x89, 0x9f, 0x0b, 0x37, 0x1a, 0x0e, 0x44, 0x45, 0x2d, 0xda, 0x00, 0x07, 0x2e, 0x95, 0xb3, 0x9e, + 0x4d, 0x2d, 0xed, 0xda, 0x2b, 0xdb, 0x4b, 0x09, 0x4f, 0xc1, 0x89, 0x27, 0xe1, 0x21, 0x38, 0x56, + 0x9c, 0x38, 0xa2, 0xf6, 0x45, 0x90, 0xed, 0x4d, 0x37, 0x4d, 0x02, 0xaa, 0xe0, 0xe6, 0xf9, 0xbe, + 0x99, 0xf1, 0x67, 0xcf, 0xa7, 0x41, 0x47, 0x9f, 0xf9, 0xa0, 0x0f, 0x40, 0xb3, 0x8c, 0x53, 0x91, + 0x40, 0x9b, 0x71, 0x6d, 0x14, 0xef, 0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x8e, 0xbc, 0x8e, 0xad, 0xf3, 0x75, 0x59, 0xd8, 0x34, 0x60, 0x9d, 0xac, 0xd4, 0x06, 0x94, 0x26, + 0x3b, 0xde, 0xf9, 0x53, 0x84, 0xbd, 0xe7, 0xa4, 0x37, 0x12, 0xb5, 0xeb, 0xef, 0xb9, 0x06, 0xdc, + 0x4f, 0x52, 0x05, 0xc2, 0x74, 0xce, 0x78, 0xc6, 0xc8, 0x5e, 0xf5, 0x93, 0x35, 0x64, 0x9d, 0x7d, + 0x63, 0x02, 0x5d, 0x76, 0x92, 0xf6, 0x2a, 0x03, 0x5b, 0x03, 0x48, 0x01, 0xc2, 0x90, 0xfb, 0xae, + 0xf0, 0x16, 0x99, 0x87, 0xf0, 0xfd, 0x32, 0x0c, 0x2e, 0x2e, 0xc3, 0xe0, 0xd7, 0x65, 0x18, 0x7c, + 0xb9, 0x0a, 0xe7, 0x2e, 0xae, 0xc2, 0xb9, 0x9f, 0x57, 0xe1, 0xdc, 0x87, 0xa3, 0x01, 0x37, 0x67, + 0x65, 0xdf, 0x3a, 0xac, 0xed, 0x0d, 0xd9, 0x9a, 0xb5, 0xae, 0x5a, 0xb5, 0x03, 0x5b, 0xd5, 0xc2, + 0xfa, 0x34, 0xbe, 0xb2, 0xcc, 0xb0, 0x00, 0xdd, 0x5f, 0x72, 0x6b, 0xe8, 0xc9, 0xef, 0x00, 0x00, + 0x00, 0xff, 0xff, 0x86, 0x39, 0xdb, 0x66, 0x7c, 0x05, 0x00, 0x00, } func (m *ComplianceInfo) Marshal() (dAtA []byte, err error) { diff --git a/x/compliance/types/device_software_compliance.pb.go b/x/compliance/types/device_software_compliance.pb.go index 7c1e3e0ea..794ba444e 100644 --- a/x/compliance/types/device_software_compliance.pb.go +++ b/x/compliance/types/device_software_compliance.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: compliance/types/device_software_compliance.proto +// source: zigbeealliance/distributedcomplianceledger/compliance/device_software_compliance.proto package types @@ -31,7 +31,7 @@ func (m *DeviceSoftwareCompliance) Reset() { *m = DeviceSoftwareComplian func (m *DeviceSoftwareCompliance) String() string { return proto.CompactTextString(m) } func (*DeviceSoftwareCompliance) ProtoMessage() {} func (*DeviceSoftwareCompliance) Descriptor() ([]byte, []int) { - return fileDescriptor_86b963fbb0538655, []int{0} + return fileDescriptor_2c74e1bdb764c708, []int{0} } func (m *DeviceSoftwareCompliance) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -75,30 +75,31 @@ func (m *DeviceSoftwareCompliance) GetComplianceInfo() []*ComplianceInfo { } func init() { - proto.RegisterType((*DeviceSoftwareCompliance)(nil), "compliance.types.DeviceSoftwareCompliance") + proto.RegisterType((*DeviceSoftwareCompliance)(nil), "zigbeealliance.distributedcomplianceledger.compliance.DeviceSoftwareCompliance") } func init() { - proto.RegisterFile("compliance/types/device_software_compliance.proto", fileDescriptor_86b963fbb0538655) + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/compliance/device_software_compliance.proto", fileDescriptor_2c74e1bdb764c708) } -var fileDescriptor_86b963fbb0538655 = []byte{ - // 239 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x4c, 0xce, 0xcf, 0x2d, - 0xc8, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x4f, 0x49, 0x2d, - 0xcb, 0x4c, 0x4e, 0x8d, 0x2f, 0xce, 0x4f, 0x2b, 0x29, 0x4f, 0x2c, 0x4a, 0x8d, 0x47, 0x28, 0xd0, - 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x40, 0x12, 0x01, 0x6b, 0x91, 0x52, 0xc3, 0x30, 0x04, - 0x21, 0x10, 0x9f, 0x99, 0x97, 0x96, 0x0f, 0xd1, 0xa9, 0xd4, 0xc7, 0xc8, 0x25, 0xe1, 0x02, 0x36, - 0x3e, 0x18, 0x6a, 0xba, 0x33, 0x5c, 0x9d, 0x90, 0x06, 0x17, 0x7f, 0xb2, 0x8b, 0x73, 0x6a, 0x51, - 0x49, 0x66, 0x5a, 0x66, 0x72, 0x62, 0x49, 0xaa, 0x67, 0x8a, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x67, - 0x10, 0xba, 0xb0, 0x90, 0x07, 0x17, 0x1f, 0xc2, 0x7c, 0xcf, 0xbc, 0xb4, 0x7c, 0x09, 0x26, 0x05, - 0x66, 0x0d, 0x6e, 0x23, 0x05, 0x3d, 0x74, 0x97, 0xe9, 0x39, 0xa3, 0xa8, 0x0b, 0x42, 0xd3, 0xe7, - 0x94, 0x7a, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x4e, 0x78, - 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0xde, 0xe9, 0x99, 0x25, - 0x19, 0xa5, 0x49, 0x20, 0x13, 0xf5, 0xab, 0x32, 0xd3, 0x93, 0x52, 0x53, 0x75, 0x13, 0x73, 0xa0, - 0x5e, 0x4c, 0xc9, 0x2c, 0x2e, 0x29, 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0xd1, 0x45, 0x18, 0xa8, - 0x9b, 0x93, 0x9a, 0x92, 0x9e, 0x5a, 0xa4, 0x5f, 0xa1, 0x8f, 0x1e, 0x1a, 0x49, 0x6c, 0x60, 0xef, - 0x1b, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xf8, 0x3d, 0xf9, 0x37, 0x6d, 0x01, 0x00, 0x00, +var fileDescriptor_2c74e1bdb764c708 = []byte{ + // 252 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x0a, 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 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0xe5, 0x9d, 0x9e, 0x59, 0x92, 0x51, + 0x9a, 0x04, 0x32, 0x4b, 0x1f, 0x62, 0xb5, 0x2e, 0xb6, 0x80, 0xd2, 0x45, 0x18, 0xa8, 0x0b, 0x0d, + 0xaa, 0x0a, 0xe4, 0xc0, 0x2a, 0xa9, 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, 0x87, 0x91, 0x31, 0x20, + 0x00, 0x00, 0xff, 0xff, 0x51, 0x47, 0xc3, 0xa7, 0x01, 0x02, 0x00, 0x00, } func (m *DeviceSoftwareCompliance) Marshal() (dAtA []byte, err error) { diff --git a/x/compliance/types/genesis.pb.go b/x/compliance/types/genesis.pb.go index da720231d..8b94a7451 100644 --- a/x/compliance/types/genesis.pb.go +++ b/x/compliance/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: compliance/types/genesis.proto +// source: zigbeealliance/distributedcomplianceledger/compliance/genesis.proto package types @@ -36,7 +36,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} } func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_ae82675eed3bda25, []int{0} + return fileDescriptor_8cf32961a707b14c, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -101,37 +101,40 @@ func (m *GenesisState) GetDeviceSoftwareComplianceList() []DeviceSoftwareComplia } func init() { - proto.RegisterType((*GenesisState)(nil), "compliance.types.GenesisState") + proto.RegisterType((*GenesisState)(nil), "zigbeealliance.distributedcomplianceledger.compliance.GenesisState") } -func init() { proto.RegisterFile("compliance/types/genesis.proto", fileDescriptor_ae82675eed3bda25) } +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/compliance/genesis.proto", fileDescriptor_8cf32961a707b14c) +} -var fileDescriptor_ae82675eed3bda25 = []byte{ - // 371 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xcf, 0x4a, 0xc3, 0x30, - 0x1c, 0xc7, 0x5b, 0x37, 0x3d, 0x54, 0x0f, 0xa3, 0xec, 0x20, 0x22, 0x71, 0x0c, 0x91, 0x21, 0xac, - 0x45, 0x7d, 0x83, 0x29, 0x88, 0xa8, 0x30, 0x36, 0xf0, 0x20, 0x42, 0x69, 0xd7, 0x5f, 0x6b, 0xb0, - 0x6b, 0x4a, 0x92, 0xcd, 0x3f, 0x4f, 0xe1, 0x63, 0xed, 0xb8, 0xa3, 0x27, 0x91, 0xcd, 0x07, 0x91, - 0xa5, 0xd1, 0x6c, 0x4d, 0xe7, 0xad, 0x24, 0x9f, 0xef, 0xe7, 0xd7, 0x7c, 0x13, 0x0b, 0x0d, 0xc8, - 0x30, 0x4b, 0xb0, 0x9f, 0x0e, 0xc0, 0xe5, 0xaf, 0x19, 0x30, 0x37, 0x86, 0x14, 0x18, 0x66, 0x4e, - 0x46, 0x09, 0x27, 0x76, 0x4d, 0xed, 0x3b, 0x62, 0x7f, 0xef, 0x48, 0x4b, 0xa8, 0x05, 0x0f, 0xa7, - 0x11, 0xc9, 0x93, 0x65, 0x1c, 0x50, 0x8e, 0x23, 0x0c, 0xa1, 0x37, 0x24, 0x21, 0x24, 0x92, 0x3b, - 0xd4, 0x38, 0x0a, 0x63, 0xf2, 0x54, 0xa0, 0x5a, 0x1a, 0x95, 0x51, 0x32, 0xc6, 0x0c, 0x93, 0xd4, - 0x4f, 0x56, 0xc8, 0x13, 0x8d, 0x0c, 0x61, 0x8c, 0x07, 0xe0, 0x31, 0x12, 0xf1, 0x67, 0x9f, 0x82, - 0xb7, 0x74, 0xa4, 0x3c, 0x52, 0x8f, 0x49, 0x4c, 0xc4, 0xa7, 0xbb, 0xf8, 0xca, 0x57, 0x9b, 0xd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xfb, 0x09, 0x00, 0x00, 0xff, 0xff, 0x8b, 0xfa, 0x07, 0x07, 0x71, - 0x03, 0x00, 0x00, +var fileDescriptor_8cf32961a707b14c = []byte{ + // 393 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x93, 0xcf, 0x4e, 0xfa, 0x40, + 0x10, 0xc7, 0xdb, 0x1f, 0xf0, 0x3b, 0x54, 0x0f, 0xa6, 0xe1, 0x60, 0x8c, 0xa9, 0xc6, 0x93, 0x17, + 0xda, 0x44, 0xe3, 0x0b, 0x80, 0x86, 0x10, 0x24, 0x1a, 0x48, 0x3c, 0x78, 0x69, 0x5a, 0x3a, 0xad, + 0x1b, 0x4b, 0xb7, 0xd9, 0x5d, 0xf0, 0xdf, 0xc9, 0x37, 0xf0, 0xea, 0xc9, 0xd7, 0xe1, 0xc8, 0xd1, + 0x93, 0x31, 0xf0, 0x22, 0x86, 0xed, 0xea, 0x52, 0xa8, 0x1c, 0xd6, 0xdb, 0x64, 0x9a, 0x7e, 0x3e, + 0xdf, 0xec, 0xcc, 0x18, 0x8d, 0x47, 0x14, 0xf9, 0x00, 0x5e, 0x1c, 0x23, 0x2f, 0xe9, 0x83, 0x13, + 0x20, 0xca, 0x08, 0xf2, 0x87, 0x0c, 0x82, 0x3e, 0x1e, 0xa4, 0x59, 0x37, 0x86, 0x20, 0x02, 0xe2, + 0xc8, 0x86, 0x13, 0x41, 0x02, 0x14, 0x51, 0x3b, 0x25, 0x98, 0x61, 0xf3, 0x24, 0x0f, 0xb1, 0xd7, + 0x40, 0x6c, 0xd9, 0xd8, 0x69, 0xab, 0xb9, 0x65, 0xe9, 0xa2, 0x24, 0xc4, 0x59, 0x06, 0x65, 0x18, + 0x10, 0x86, 0x42, 0x04, 0x81, 0x3b, 0xc0, 0x01, 0xc4, 0x02, 0xd6, 0x52, 0x83, 0x11, 0x18, 0xe1, + 0xdb, 0x25, 0x54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, 0x9f, 0x59, 0xda, 0x75, 0x3b, 0x42, 0xec, + 0x66, 0xe8, 0xcf, 0x4d, 0x4e, 0x16, 0xac, 0x56, 0x74, 0x35, 0x35, 0x99, 0xa4, 0x26, 0xee, 0xe6, + 0x7e, 0xf1, 0x72, 0xd8, 0x43, 0x0a, 0xd4, 0xff, 0xcf, 0xef, 0xe1, 0xf8, 0x2b, 0x00, 0x00, 0xff, + 0xff, 0x4d, 0x88, 0xa3, 0x5b, 0x2f, 0x05, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/compliance/types/provisional_model.pb.go b/x/compliance/types/provisional_model.pb.go index 2351b07e1..d92e59e6f 100644 --- a/x/compliance/types/provisional_model.pb.go +++ b/x/compliance/types/provisional_model.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: compliance/types/provisional_model.proto +// source: zigbeealliance/distributedcomplianceledger/compliance/provisional_model.proto package types @@ -34,7 +34,7 @@ func (m *ProvisionalModel) Reset() { *m = ProvisionalModel{} } func (m *ProvisionalModel) String() string { return proto.CompactTextString(m) } func (*ProvisionalModel) ProtoMessage() {} func (*ProvisionalModel) Descriptor() ([]byte, []int) { - return fileDescriptor_5b443e66c2ad3e9f, []int{0} + return fileDescriptor_7ee36b89c15e0be3, []int{0} } func (m *ProvisionalModel) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -99,32 +99,33 @@ func (m *ProvisionalModel) GetValue() bool { } func init() { - proto.RegisterType((*ProvisionalModel)(nil), "compliance.types.ProvisionalModel") + proto.RegisterType((*ProvisionalModel)(nil), "zigbeealliance.distributedcomplianceledger.compliance.ProvisionalModel") } func init() { - proto.RegisterFile("compliance/types/provisional_model.proto", fileDescriptor_5b443e66c2ad3e9f) + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/compliance/provisional_model.proto", fileDescriptor_7ee36b89c15e0be3) } -var fileDescriptor_5b443e66c2ad3e9f = []byte{ - // 263 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0xb1, 0x4a, 0xc4, 0x30, - 0x18, 0x80, 0x2f, 0x9e, 0x15, 0x0d, 0x88, 0xb5, 0x38, 0x74, 0x0a, 0xc5, 0x29, 0x83, 0x6d, 0x07, - 0xdf, 0xc0, 0x55, 0x04, 0x29, 0xe2, 0xe0, 0x22, 0x69, 0xf2, 0x5f, 0xfd, 0x21, 0x6d, 0x42, 0x9a, - 0x56, 0xcf, 0xa7, 0xf0, 0x21, 0x7c, 0x18, 0xc7, 0x1b, 0x1d, 0xa5, 0x7d, 0x11, 0xe9, 0x9d, 0x50, - 0x38, 0xb7, 0xe4, 0xfb, 0xbf, 0x7f, 0xf8, 0x3f, 0xca, 0xa5, 0xa9, 0xad, 0x46, 0xd1, 0x48, 0xc8, - 0xfd, 0xda, 0x42, 0x9b, 0x5b, 0x67, 0x7a, 0x6c, 0xd1, 0x34, 0x42, 0x3f, 0xd7, 0x46, 0x81, 0xce, - 0xac, 0x33, 0xde, 0x44, 0xe1, 0x6c, 0x66, 0x5b, 0xf3, 0xf2, 0x93, 0xd0, 0xf0, 0x7e, 0xb6, 0xef, - 0x26, 0x39, 0x0a, 0xe9, 0xb2, 0x47, 0x15, 0x93, 0x84, 0xf0, 0xa0, 0x98, 0x9e, 0x13, 0xb1, 0xa8, - 0xe2, 0x83, 0x1d, 0xb1, 0xa8, 0x22, 0x4e, 0xcf, 0x5a, 0xb3, 0xf2, 0xaf, 0xc2, 0xc1, 0x23, 0xb8, - 0x69, 0x3b, 0x5e, 0x26, 0x84, 0x9f, 0x16, 0xfb, 0x38, 0xba, 0xa2, 0xe7, 0x12, 0x9c, 0xc7, 0x15, - 0x4a, 0xe1, 0xd1, 0x34, 0x0f, 0x6b, 0x0b, 0xf1, 0x61, 0x42, 0xf8, 0x49, 0xf1, 0x7f, 0x10, 0x5d, - 0xd0, 0xa0, 0x17, 0xba, 0x83, 0x38, 0x48, 0x08, 0x3f, 0x2e, 0x76, 0x9f, 0x1b, 0xf8, 0x1a, 0x18, - 0xd9, 0x0c, 0x8c, 0xfc, 0x0c, 0x8c, 0x7c, 0x8c, 0x6c, 0xb1, 0x19, 0xd9, 0xe2, 0x7b, 0x64, 0x8b, - 0xa7, 0xdb, 0x0a, 0xfd, 0x4b, 0x57, 0x66, 0xd2, 0xd4, 0xf9, 0x3b, 0x56, 0x25, 0x40, 0x2a, 0xf4, - 0x5f, 0x0c, 0x85, 0xad, 0x77, 0x58, 0x76, 0x1e, 0x54, 0x3a, 0x5f, 0x9e, 0x6a, 0x50, 0x15, 0xb8, - 0xfc, 0x2d, 0xdf, 0xef, 0x56, 0x1e, 0x6d, 0x33, 0x5d, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x7a, - 0x60, 0x3a, 0x19, 0x52, 0x01, 0x00, 0x00, +var fileDescriptor_7ee36b89c15e0be3 = []byte{ + // 274 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xbf, 0x4a, 0xc5, 0x30, + 0x18, 0x47, 0x1b, 0xaf, 0x15, 0x0d, 0x88, 0xd7, 0xe2, 0xd0, 0x29, 0x14, 0xa7, 0x0e, 0xb6, 0x1d, + 0xc4, 0x17, 0x70, 0x95, 0x0b, 0x52, 0xc4, 0xc1, 0x45, 0xd2, 0xe6, 0xbb, 0xf5, 0x83, 0xdc, 0x26, + 0xa4, 0x69, 0xf5, 0xfa, 0x14, 0x3e, 0x84, 0x0f, 0xe3, 0x78, 0x47, 0x47, 0x69, 0x5f, 0x44, 0x62, + 0x85, 0xfa, 0x0f, 0xb7, 0xe4, 0x84, 0x1c, 0xf8, 0x1d, 0xba, 0x78, 0xc4, 0xaa, 0x00, 0xe0, 0x52, + 0x22, 0xaf, 0x4b, 0xc8, 0x04, 0x36, 0xd6, 0x60, 0xd1, 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 0x00, 0x00, } func (m *ProvisionalModel) Marshal() (dAtA []byte, err error) { diff --git a/x/compliance/types/query.pb.go b/x/compliance/types/query.pb.go index d45033a96..9e57502de 100644 --- a/x/compliance/types/query.pb.go +++ b/x/compliance/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: compliance/types/query.proto +// source: zigbeealliance/distributedcomplianceledger/compliance/query.proto package types @@ -41,7 +41,7 @@ func (m *QueryGetComplianceInfoRequest) Reset() { *m = QueryGetComplianc func (m *QueryGetComplianceInfoRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetComplianceInfoRequest) ProtoMessage() {} func (*QueryGetComplianceInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c669f40999a9a40d, []int{0} + return fileDescriptor_485cf092304eb4f7, []int{0} } func (m *QueryGetComplianceInfoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -106,7 +106,7 @@ func (m *QueryGetComplianceInfoResponse) Reset() { *m = QueryGetComplian func (m *QueryGetComplianceInfoResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetComplianceInfoResponse) ProtoMessage() {} func (*QueryGetComplianceInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c669f40999a9a40d, []int{1} + return fileDescriptor_485cf092304eb4f7, []int{1} } func (m *QueryGetComplianceInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -150,7 +150,7 @@ func (m *QueryAllComplianceInfoRequest) Reset() { *m = QueryAllComplianc func (m *QueryAllComplianceInfoRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllComplianceInfoRequest) ProtoMessage() {} func (*QueryAllComplianceInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c669f40999a9a40d, []int{2} + return fileDescriptor_485cf092304eb4f7, []int{2} } func (m *QueryAllComplianceInfoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -195,7 +195,7 @@ func (m *QueryAllComplianceInfoResponse) Reset() { *m = QueryAllComplian func (m *QueryAllComplianceInfoResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllComplianceInfoResponse) ProtoMessage() {} func (*QueryAllComplianceInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c669f40999a9a40d, []int{3} + return fileDescriptor_485cf092304eb4f7, []int{3} } func (m *QueryAllComplianceInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -249,7 +249,7 @@ func (m *QueryGetCertifiedModelRequest) Reset() { *m = QueryGetCertified func (m *QueryGetCertifiedModelRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetCertifiedModelRequest) ProtoMessage() {} func (*QueryGetCertifiedModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c669f40999a9a40d, []int{4} + return fileDescriptor_485cf092304eb4f7, []int{4} } func (m *QueryGetCertifiedModelRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -314,7 +314,7 @@ func (m *QueryGetCertifiedModelResponse) Reset() { *m = QueryGetCertifie func (m *QueryGetCertifiedModelResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetCertifiedModelResponse) ProtoMessage() {} func (*QueryGetCertifiedModelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c669f40999a9a40d, []int{5} + return fileDescriptor_485cf092304eb4f7, []int{5} } func (m *QueryGetCertifiedModelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -358,7 +358,7 @@ func (m *QueryAllCertifiedModelRequest) Reset() { *m = QueryAllCertified func (m *QueryAllCertifiedModelRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllCertifiedModelRequest) ProtoMessage() {} func (*QueryAllCertifiedModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c669f40999a9a40d, []int{6} + return fileDescriptor_485cf092304eb4f7, []int{6} } func (m *QueryAllCertifiedModelRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -403,7 +403,7 @@ func (m *QueryAllCertifiedModelResponse) Reset() { *m = QueryAllCertifie func (m *QueryAllCertifiedModelResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllCertifiedModelResponse) ProtoMessage() {} func (*QueryAllCertifiedModelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c669f40999a9a40d, []int{7} + return fileDescriptor_485cf092304eb4f7, []int{7} } func (m *QueryAllCertifiedModelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -457,7 +457,7 @@ func (m *QueryGetRevokedModelRequest) Reset() { *m = QueryGetRevokedMode func (m *QueryGetRevokedModelRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetRevokedModelRequest) ProtoMessage() {} func (*QueryGetRevokedModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c669f40999a9a40d, []int{8} + return fileDescriptor_485cf092304eb4f7, []int{8} } func (m *QueryGetRevokedModelRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -522,7 +522,7 @@ func (m *QueryGetRevokedModelResponse) Reset() { *m = QueryGetRevokedMod func (m *QueryGetRevokedModelResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetRevokedModelResponse) ProtoMessage() {} func (*QueryGetRevokedModelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c669f40999a9a40d, []int{9} + return fileDescriptor_485cf092304eb4f7, []int{9} } func (m *QueryGetRevokedModelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -566,7 +566,7 @@ func (m *QueryAllRevokedModelRequest) Reset() { *m = QueryAllRevokedMode func (m *QueryAllRevokedModelRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllRevokedModelRequest) ProtoMessage() {} func (*QueryAllRevokedModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c669f40999a9a40d, []int{10} + return fileDescriptor_485cf092304eb4f7, []int{10} } func (m *QueryAllRevokedModelRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -611,7 +611,7 @@ func (m *QueryAllRevokedModelResponse) Reset() { *m = QueryAllRevokedMod func (m *QueryAllRevokedModelResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllRevokedModelResponse) ProtoMessage() {} func (*QueryAllRevokedModelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c669f40999a9a40d, []int{11} + return fileDescriptor_485cf092304eb4f7, []int{11} } func (m *QueryAllRevokedModelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -665,7 +665,7 @@ func (m *QueryGetProvisionalModelRequest) Reset() { *m = QueryGetProvisi func (m *QueryGetProvisionalModelRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetProvisionalModelRequest) ProtoMessage() {} func (*QueryGetProvisionalModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c669f40999a9a40d, []int{12} + return fileDescriptor_485cf092304eb4f7, []int{12} } func (m *QueryGetProvisionalModelRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -730,7 +730,7 @@ func (m *QueryGetProvisionalModelResponse) Reset() { *m = QueryGetProvis func (m *QueryGetProvisionalModelResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetProvisionalModelResponse) ProtoMessage() {} func (*QueryGetProvisionalModelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c669f40999a9a40d, []int{13} + return fileDescriptor_485cf092304eb4f7, []int{13} } func (m *QueryGetProvisionalModelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -774,7 +774,7 @@ func (m *QueryAllProvisionalModelRequest) Reset() { *m = QueryAllProvisi func (m *QueryAllProvisionalModelRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllProvisionalModelRequest) ProtoMessage() {} func (*QueryAllProvisionalModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c669f40999a9a40d, []int{14} + return fileDescriptor_485cf092304eb4f7, []int{14} } func (m *QueryAllProvisionalModelRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -819,7 +819,7 @@ func (m *QueryAllProvisionalModelResponse) Reset() { *m = QueryAllProvis func (m *QueryAllProvisionalModelResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllProvisionalModelResponse) ProtoMessage() {} func (*QueryAllProvisionalModelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c669f40999a9a40d, []int{15} + return fileDescriptor_485cf092304eb4f7, []int{15} } func (m *QueryAllProvisionalModelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -872,7 +872,7 @@ func (m *QueryGetDeviceSoftwareComplianceRequest) Reset() { func (m *QueryGetDeviceSoftwareComplianceRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetDeviceSoftwareComplianceRequest) ProtoMessage() {} func (*QueryGetDeviceSoftwareComplianceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c669f40999a9a40d, []int{16} + return fileDescriptor_485cf092304eb4f7, []int{16} } func (m *QueryGetDeviceSoftwareComplianceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -918,7 +918,7 @@ func (m *QueryGetDeviceSoftwareComplianceResponse) Reset() { func (m *QueryGetDeviceSoftwareComplianceResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetDeviceSoftwareComplianceResponse) ProtoMessage() {} func (*QueryGetDeviceSoftwareComplianceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c669f40999a9a40d, []int{17} + return fileDescriptor_485cf092304eb4f7, []int{17} } func (m *QueryGetDeviceSoftwareComplianceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -964,7 +964,7 @@ func (m *QueryAllDeviceSoftwareComplianceRequest) Reset() { func (m *QueryAllDeviceSoftwareComplianceRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllDeviceSoftwareComplianceRequest) ProtoMessage() {} func (*QueryAllDeviceSoftwareComplianceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c669f40999a9a40d, []int{18} + return fileDescriptor_485cf092304eb4f7, []int{18} } func (m *QueryAllDeviceSoftwareComplianceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1011,7 +1011,7 @@ func (m *QueryAllDeviceSoftwareComplianceResponse) Reset() { func (m *QueryAllDeviceSoftwareComplianceResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllDeviceSoftwareComplianceResponse) ProtoMessage() {} func (*QueryAllDeviceSoftwareComplianceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c669f40999a9a40d, []int{19} + return fileDescriptor_485cf092304eb4f7, []int{19} } func (m *QueryAllDeviceSoftwareComplianceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1055,100 +1055,104 @@ func (m *QueryAllDeviceSoftwareComplianceResponse) GetPagination() *query.PageRe } func init() { - proto.RegisterType((*QueryGetComplianceInfoRequest)(nil), "compliance.types.QueryGetComplianceInfoRequest") - proto.RegisterType((*QueryGetComplianceInfoResponse)(nil), "compliance.types.QueryGetComplianceInfoResponse") - proto.RegisterType((*QueryAllComplianceInfoRequest)(nil), "compliance.types.QueryAllComplianceInfoRequest") - proto.RegisterType((*QueryAllComplianceInfoResponse)(nil), "compliance.types.QueryAllComplianceInfoResponse") - proto.RegisterType((*QueryGetCertifiedModelRequest)(nil), "compliance.types.QueryGetCertifiedModelRequest") - proto.RegisterType((*QueryGetCertifiedModelResponse)(nil), "compliance.types.QueryGetCertifiedModelResponse") - proto.RegisterType((*QueryAllCertifiedModelRequest)(nil), "compliance.types.QueryAllCertifiedModelRequest") - proto.RegisterType((*QueryAllCertifiedModelResponse)(nil), "compliance.types.QueryAllCertifiedModelResponse") - proto.RegisterType((*QueryGetRevokedModelRequest)(nil), "compliance.types.QueryGetRevokedModelRequest") - proto.RegisterType((*QueryGetRevokedModelResponse)(nil), "compliance.types.QueryGetRevokedModelResponse") - proto.RegisterType((*QueryAllRevokedModelRequest)(nil), "compliance.types.QueryAllRevokedModelRequest") - proto.RegisterType((*QueryAllRevokedModelResponse)(nil), "compliance.types.QueryAllRevokedModelResponse") - proto.RegisterType((*QueryGetProvisionalModelRequest)(nil), "compliance.types.QueryGetProvisionalModelRequest") - proto.RegisterType((*QueryGetProvisionalModelResponse)(nil), "compliance.types.QueryGetProvisionalModelResponse") - proto.RegisterType((*QueryAllProvisionalModelRequest)(nil), "compliance.types.QueryAllProvisionalModelRequest") - proto.RegisterType((*QueryAllProvisionalModelResponse)(nil), "compliance.types.QueryAllProvisionalModelResponse") - proto.RegisterType((*QueryGetDeviceSoftwareComplianceRequest)(nil), "compliance.types.QueryGetDeviceSoftwareComplianceRequest") - proto.RegisterType((*QueryGetDeviceSoftwareComplianceResponse)(nil), "compliance.types.QueryGetDeviceSoftwareComplianceResponse") - proto.RegisterType((*QueryAllDeviceSoftwareComplianceRequest)(nil), "compliance.types.QueryAllDeviceSoftwareComplianceRequest") - proto.RegisterType((*QueryAllDeviceSoftwareComplianceResponse)(nil), "compliance.types.QueryAllDeviceSoftwareComplianceResponse") -} - -func init() { proto.RegisterFile("compliance/types/query.proto", fileDescriptor_c669f40999a9a40d) } - -var fileDescriptor_c669f40999a9a40d = []byte{ - // 1076 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcf, 0x6f, 0xdc, 0x44, - 0x14, 0xce, 0x64, 0x5b, 0xa4, 0x0e, 0x25, 0x49, 0x07, 0x0e, 0xab, 0x6d, 0x70, 0x96, 0x51, 0x95, - 0xac, 0xa2, 0xae, 0xcd, 0x86, 0x53, 0x11, 0x42, 0xda, 0x36, 0xa2, 0x54, 0x08, 0x94, 0x3a, 0x51, - 0x05, 0x15, 0x52, 0xe4, 0x5d, 0x4f, 0xdc, 0x11, 0x13, 0x8f, 0x63, 0x3b, 0x4b, 0x43, 0x94, 0x0b, - 0x7f, 0x01, 0x12, 0x97, 0x22, 0x84, 0xe0, 0xc8, 0x95, 0x23, 0x47, 0x4e, 0xe4, 0x04, 0x91, 0x38, - 0xc0, 0x09, 0x41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9, - 0xbb, 0xe4, 0xf8, 0x54, 0x03, 0x27, 0xa7, 0x1a, 0xf8, 0xeb, 0x54, 0x03, 0x5f, 0x9c, 0x69, 0x33, - 0x27, 0x67, 0xda, 0xcc, 0x1f, 0x67, 0xda, 0xcc, 0xe3, 0xf7, 0x1c, 0x1a, 0x3e, 0xd9, 0xef, 0x45, - 0x78, 0x8c, 0xcf, 0xa8, 0xd3, 0x23, 0xa4, 0x6d, 0xb1, 0xe4, 0x40, 0x1a, 0x84, 0x3e, 0xed, 0xed, - 0x87, 0xc4, 0x4e, 0x1d, 0xd6, 0x66, 0xc4, 0x76, 0x88, 0x6f, 0x3c, 0x35, 0xf2, 0xff, 0x9c, 0xf5, - 0x5e, 0x10, 0xff, 0x84, 0xbd, 0xf1, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x2a, 0x99, 0xc9, 0xad, - 0x6e, 0x14, 0x00, 0x00, + proto.RegisterType((*QueryGetComplianceInfoRequest)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryGetComplianceInfoRequest") + proto.RegisterType((*QueryGetComplianceInfoResponse)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryGetComplianceInfoResponse") + proto.RegisterType((*QueryAllComplianceInfoRequest)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryAllComplianceInfoRequest") + proto.RegisterType((*QueryAllComplianceInfoResponse)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryAllComplianceInfoResponse") + proto.RegisterType((*QueryGetCertifiedModelRequest)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryGetCertifiedModelRequest") + proto.RegisterType((*QueryGetCertifiedModelResponse)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryGetCertifiedModelResponse") + proto.RegisterType((*QueryAllCertifiedModelRequest)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryAllCertifiedModelRequest") + proto.RegisterType((*QueryAllCertifiedModelResponse)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryAllCertifiedModelResponse") + proto.RegisterType((*QueryGetRevokedModelRequest)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryGetRevokedModelRequest") + proto.RegisterType((*QueryGetRevokedModelResponse)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryGetRevokedModelResponse") + proto.RegisterType((*QueryAllRevokedModelRequest)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryAllRevokedModelRequest") + proto.RegisterType((*QueryAllRevokedModelResponse)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryAllRevokedModelResponse") + proto.RegisterType((*QueryGetProvisionalModelRequest)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryGetProvisionalModelRequest") + proto.RegisterType((*QueryGetProvisionalModelResponse)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryGetProvisionalModelResponse") + proto.RegisterType((*QueryAllProvisionalModelRequest)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryAllProvisionalModelRequest") + proto.RegisterType((*QueryAllProvisionalModelResponse)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryAllProvisionalModelResponse") + proto.RegisterType((*QueryGetDeviceSoftwareComplianceRequest)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryGetDeviceSoftwareComplianceRequest") + proto.RegisterType((*QueryGetDeviceSoftwareComplianceResponse)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryGetDeviceSoftwareComplianceResponse") + proto.RegisterType((*QueryAllDeviceSoftwareComplianceRequest)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryAllDeviceSoftwareComplianceRequest") + proto.RegisterType((*QueryAllDeviceSoftwareComplianceResponse)(nil), "zigbeealliance.distributedcomplianceledger.compliance.QueryAllDeviceSoftwareComplianceResponse") +} + +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/compliance/query.proto", fileDescriptor_485cf092304eb4f7) +} + +var fileDescriptor_485cf092304eb4f7 = []byte{ + // 1107 bytes of a gzipped FileDesc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0xbe, 0xb2, 0xbf, 0xf9, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa9, 0x8c, 0x65, 0x79, 0xcd, + 0x19, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1195,7 +1199,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) ComplianceInfo(ctx context.Context, in *QueryGetComplianceInfoRequest, opts ...grpc.CallOption) (*QueryGetComplianceInfoResponse, error) { out := new(QueryGetComplianceInfoResponse) - err := c.cc.Invoke(ctx, "/compliance.types.Query/ComplianceInfo", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.compliance.Query/ComplianceInfo", in, out, opts...) if err != nil { return nil, err } @@ -1204,7 +1208,7 @@ func (c *queryClient) ComplianceInfo(ctx context.Context, in *QueryGetCompliance func (c *queryClient) ComplianceInfoAll(ctx context.Context, in *QueryAllComplianceInfoRequest, opts ...grpc.CallOption) (*QueryAllComplianceInfoResponse, error) { out := new(QueryAllComplianceInfoResponse) - err := c.cc.Invoke(ctx, "/compliance.types.Query/ComplianceInfoAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.compliance.Query/ComplianceInfoAll", in, out, opts...) if err != nil { return nil, err } @@ -1213,7 +1217,7 @@ func (c *queryClient) ComplianceInfoAll(ctx context.Context, in *QueryAllComplia func (c *queryClient) CertifiedModel(ctx context.Context, in *QueryGetCertifiedModelRequest, opts ...grpc.CallOption) (*QueryGetCertifiedModelResponse, error) { out := new(QueryGetCertifiedModelResponse) - err := c.cc.Invoke(ctx, "/compliance.types.Query/CertifiedModel", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.compliance.Query/CertifiedModel", in, out, opts...) if err != nil { return nil, err } @@ -1222,7 +1226,7 @@ func (c *queryClient) CertifiedModel(ctx context.Context, in *QueryGetCertifiedM func (c *queryClient) CertifiedModelAll(ctx context.Context, in *QueryAllCertifiedModelRequest, opts ...grpc.CallOption) (*QueryAllCertifiedModelResponse, error) { out := new(QueryAllCertifiedModelResponse) - err := c.cc.Invoke(ctx, "/compliance.types.Query/CertifiedModelAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.compliance.Query/CertifiedModelAll", in, out, opts...) if err != nil { return nil, err } @@ -1231,7 +1235,7 @@ func (c *queryClient) CertifiedModelAll(ctx context.Context, in *QueryAllCertifi func (c *queryClient) RevokedModel(ctx context.Context, in *QueryGetRevokedModelRequest, opts ...grpc.CallOption) (*QueryGetRevokedModelResponse, error) { out := new(QueryGetRevokedModelResponse) - err := c.cc.Invoke(ctx, "/compliance.types.Query/RevokedModel", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.compliance.Query/RevokedModel", in, out, opts...) if err != nil { return nil, err } @@ -1240,7 +1244,7 @@ func (c *queryClient) RevokedModel(ctx context.Context, in *QueryGetRevokedModel func (c *queryClient) RevokedModelAll(ctx context.Context, in *QueryAllRevokedModelRequest, opts ...grpc.CallOption) (*QueryAllRevokedModelResponse, error) { out := new(QueryAllRevokedModelResponse) - err := c.cc.Invoke(ctx, "/compliance.types.Query/RevokedModelAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.compliance.Query/RevokedModelAll", in, out, opts...) if err != nil { return nil, err } @@ -1249,7 +1253,7 @@ func (c *queryClient) RevokedModelAll(ctx context.Context, in *QueryAllRevokedMo func (c *queryClient) ProvisionalModel(ctx context.Context, in *QueryGetProvisionalModelRequest, opts ...grpc.CallOption) (*QueryGetProvisionalModelResponse, error) { out := new(QueryGetProvisionalModelResponse) - err := c.cc.Invoke(ctx, "/compliance.types.Query/ProvisionalModel", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.compliance.Query/ProvisionalModel", in, out, opts...) if err != nil { return nil, err } @@ -1258,7 +1262,7 @@ func (c *queryClient) ProvisionalModel(ctx context.Context, in *QueryGetProvisio func (c *queryClient) ProvisionalModelAll(ctx context.Context, in *QueryAllProvisionalModelRequest, opts ...grpc.CallOption) (*QueryAllProvisionalModelResponse, error) { out := new(QueryAllProvisionalModelResponse) - err := c.cc.Invoke(ctx, "/compliance.types.Query/ProvisionalModelAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.compliance.Query/ProvisionalModelAll", in, out, opts...) if err != nil { return nil, err } @@ -1267,7 +1271,7 @@ func (c *queryClient) ProvisionalModelAll(ctx context.Context, in *QueryAllProvi func (c *queryClient) DeviceSoftwareCompliance(ctx context.Context, in *QueryGetDeviceSoftwareComplianceRequest, opts ...grpc.CallOption) (*QueryGetDeviceSoftwareComplianceResponse, error) { out := new(QueryGetDeviceSoftwareComplianceResponse) - err := c.cc.Invoke(ctx, "/compliance.types.Query/DeviceSoftwareCompliance", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.compliance.Query/DeviceSoftwareCompliance", in, out, opts...) if err != nil { return nil, err } @@ -1276,7 +1280,7 @@ func (c *queryClient) DeviceSoftwareCompliance(ctx context.Context, in *QueryGet func (c *queryClient) DeviceSoftwareComplianceAll(ctx context.Context, in *QueryAllDeviceSoftwareComplianceRequest, opts ...grpc.CallOption) (*QueryAllDeviceSoftwareComplianceResponse, error) { out := new(QueryAllDeviceSoftwareComplianceResponse) - err := c.cc.Invoke(ctx, "/compliance.types.Query/DeviceSoftwareComplianceAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.compliance.Query/DeviceSoftwareComplianceAll", in, out, opts...) if err != nil { return nil, err } @@ -1356,7 +1360,7 @@ func _Query_ComplianceInfo_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/compliance.types.Query/ComplianceInfo", + FullMethod: "/zigbeealliance.distributedcomplianceledger.compliance.Query/ComplianceInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ComplianceInfo(ctx, req.(*QueryGetComplianceInfoRequest)) @@ -1374,7 +1378,7 @@ func _Query_ComplianceInfoAll_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/compliance.types.Query/ComplianceInfoAll", + FullMethod: "/zigbeealliance.distributedcomplianceledger.compliance.Query/ComplianceInfoAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ComplianceInfoAll(ctx, req.(*QueryAllComplianceInfoRequest)) @@ -1392,7 +1396,7 @@ func _Query_CertifiedModel_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/compliance.types.Query/CertifiedModel", + FullMethod: "/zigbeealliance.distributedcomplianceledger.compliance.Query/CertifiedModel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).CertifiedModel(ctx, req.(*QueryGetCertifiedModelRequest)) @@ -1410,7 +1414,7 @@ func _Query_CertifiedModelAll_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/compliance.types.Query/CertifiedModelAll", + FullMethod: "/zigbeealliance.distributedcomplianceledger.compliance.Query/CertifiedModelAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).CertifiedModelAll(ctx, req.(*QueryAllCertifiedModelRequest)) @@ -1428,7 +1432,7 @@ func _Query_RevokedModel_Handler(srv interface{}, ctx context.Context, dec func( } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/compliance.types.Query/RevokedModel", + FullMethod: "/zigbeealliance.distributedcomplianceledger.compliance.Query/RevokedModel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RevokedModel(ctx, req.(*QueryGetRevokedModelRequest)) @@ -1446,7 +1450,7 @@ func _Query_RevokedModelAll_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/compliance.types.Query/RevokedModelAll", + FullMethod: "/zigbeealliance.distributedcomplianceledger.compliance.Query/RevokedModelAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RevokedModelAll(ctx, req.(*QueryAllRevokedModelRequest)) @@ -1464,7 +1468,7 @@ func _Query_ProvisionalModel_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/compliance.types.Query/ProvisionalModel", + FullMethod: "/zigbeealliance.distributedcomplianceledger.compliance.Query/ProvisionalModel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ProvisionalModel(ctx, req.(*QueryGetProvisionalModelRequest)) @@ -1482,7 +1486,7 @@ func _Query_ProvisionalModelAll_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/compliance.types.Query/ProvisionalModelAll", + FullMethod: "/zigbeealliance.distributedcomplianceledger.compliance.Query/ProvisionalModelAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ProvisionalModelAll(ctx, req.(*QueryAllProvisionalModelRequest)) @@ -1500,7 +1504,7 @@ func _Query_DeviceSoftwareCompliance_Handler(srv interface{}, ctx context.Contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/compliance.types.Query/DeviceSoftwareCompliance", + FullMethod: "/zigbeealliance.distributedcomplianceledger.compliance.Query/DeviceSoftwareCompliance", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).DeviceSoftwareCompliance(ctx, req.(*QueryGetDeviceSoftwareComplianceRequest)) @@ -1518,7 +1522,7 @@ func _Query_DeviceSoftwareComplianceAll_Handler(srv interface{}, ctx context.Con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/compliance.types.Query/DeviceSoftwareComplianceAll", + FullMethod: "/zigbeealliance.distributedcomplianceledger.compliance.Query/DeviceSoftwareComplianceAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).DeviceSoftwareComplianceAll(ctx, req.(*QueryAllDeviceSoftwareComplianceRequest)) @@ -1527,7 +1531,7 @@ func _Query_DeviceSoftwareComplianceAll_Handler(srv interface{}, ctx context.Con } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "compliance.types.Query", + ServiceName: "zigbeealliance.distributedcomplianceledger.compliance.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -1572,7 +1576,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "compliance/types/query.proto", + Metadata: "zigbeealliance/distributedcomplianceledger/compliance/query.proto", } func (m *QueryGetComplianceInfoRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/compliance/types/query.pb.gw.go b/x/compliance/types/query.pb.gw.go index a0a1aa47f..61e304bc2 100644 --- a/x/compliance/types/query.pb.gw.go +++ b/x/compliance/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: compliance/types/query.proto +// source: zigbeealliance/distributedcomplianceledger/compliance/query.proto /* Package types is a reverse proxy. diff --git a/x/compliance/types/revoked_model.pb.go b/x/compliance/types/revoked_model.pb.go index 3892105b3..91b82a80e 100644 --- a/x/compliance/types/revoked_model.pb.go +++ b/x/compliance/types/revoked_model.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: compliance/types/revoked_model.proto +// source: zigbeealliance/distributedcomplianceledger/compliance/revoked_model.proto package types @@ -34,7 +34,7 @@ func (m *RevokedModel) Reset() { *m = RevokedModel{} } func (m *RevokedModel) String() string { return proto.CompactTextString(m) } func (*RevokedModel) ProtoMessage() {} func (*RevokedModel) Descriptor() ([]byte, []int) { - return fileDescriptor_30c90f5fd9a3c3ba, []int{0} + return fileDescriptor_8ce0c072c0981ccd, []int{0} } func (m *RevokedModel) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -99,32 +99,32 @@ func (m *RevokedModel) GetValue() bool { } func init() { - proto.RegisterType((*RevokedModel)(nil), "compliance.types.RevokedModel") + proto.RegisterType((*RevokedModel)(nil), "zigbeealliance.distributedcomplianceledger.compliance.RevokedModel") } func init() { - proto.RegisterFile("compliance/types/revoked_model.proto", fileDescriptor_30c90f5fd9a3c3ba) + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/compliance/revoked_model.proto", fileDescriptor_8ce0c072c0981ccd) } -var fileDescriptor_30c90f5fd9a3c3ba = []byte{ - // 262 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0xb1, 0x4e, 0xc3, 0x30, - 0x10, 0x40, 0x6b, 0x4a, 0x10, 0x58, 0x20, 0x4a, 0xc4, 0x90, 0xc9, 0x8a, 0x10, 0x43, 0x06, 0x92, - 0x0c, 0xfc, 0x01, 0x2b, 0x62, 0xb1, 0x10, 0x03, 0x0b, 0x72, 0xec, 0x6b, 0x38, 0xe1, 0xc4, 0x96, - 0xe3, 0x04, 0xca, 0x57, 0xf0, 0x09, 0x7c, 0x0e, 0x63, 0x47, 0x46, 0x94, 0xfc, 0x08, 0x4a, 0x83, - 0x54, 0xa9, 0x6c, 0x77, 0xef, 0xde, 0x72, 0x8f, 0x5e, 0x4a, 0x53, 0x59, 0x8d, 0xa2, 0x96, 0x90, - 0xfb, 0x95, 0x85, 0x26, 0x77, 0xd0, 0x99, 0x17, 0x50, 0x4f, 0x95, 0x51, 0xa0, 0x33, 0xeb, 0x8c, - 0x37, 0xe1, 0x62, 0x6b, 0x65, 0x1b, 0xeb, 0xe2, 0x93, 0xd0, 0x63, 0x3e, 0x99, 0x77, 0xa3, 0x18, - 0x2e, 0xe8, 0xbc, 0x43, 0x15, 0x91, 0x98, 0x24, 0x01, 0x1f, 0xc7, 0x91, 0x58, 0x54, 0xd1, 0xde, - 0x44, 0x2c, 0xaa, 0x30, 0xa1, 0xa7, 0x8d, 0x59, 0xfa, 0x57, 0xe1, 0xe0, 0x01, 0x5c, 0x83, 0xa6, - 0x8e, 0xe6, 0x31, 0x49, 0x4e, 0xf8, 0x2e, 0x0e, 0xaf, 0xe8, 0x99, 0x04, 0xe7, 0x71, 0x89, 0x52, - 0x78, 0x34, 0xf5, 0xfd, 0xca, 0x42, 0xb4, 0x1f, 0x93, 0xe4, 0x88, 0xff, 0x3f, 0x84, 0xe7, 0x34, - 0xe8, 0x84, 0x6e, 0x21, 0x0a, 0x62, 0x92, 0x1c, 0xf2, 0x69, 0xb9, 0x81, 0xaf, 0x9e, 0x91, 0x75, - 0xcf, 0xc8, 0x4f, 0xcf, 0xc8, 0xc7, 0xc0, 0x66, 0xeb, 0x81, 0xcd, 0xbe, 0x07, 0x36, 0x7b, 0xbc, - 0x2d, 0xd1, 0x3f, 0xb7, 0x45, 0x26, 0x4d, 0x95, 0xbf, 0x63, 0x59, 0x00, 0xa4, 0x42, 0xff, 0x45, - 0x50, 0xd8, 0x78, 0x87, 0x45, 0xeb, 0x41, 0xa5, 0xdb, 0xaf, 0x53, 0x0d, 0xaa, 0x04, 0x97, 0xbf, - 0xe5, 0xbb, 0xbd, 0x8a, 0x83, 0x4d, 0xa2, 0xeb, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xdc, 0xe2, - 0x39, 0xe5, 0x4a, 0x01, 0x00, 0x00, +var fileDescriptor_8ce0c072c0981ccd = []byte{ + // 272 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xbf, 0x4a, 0xc5, 0x30, + 0x14, 0x87, 0x1b, 0xaf, 0x15, 0x0d, 0x8a, 0x5a, 0x1c, 0x3a, 0x85, 0xe2, 0xd4, 0xc1, 0xb6, 0x83, + 0xf8, 0x02, 0x6e, 0x22, 0x2e, 0x45, 0x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x1a, 0x98, + 0xf7, 0x3a, 0x30, 0xef, 0xfa, 0xbc, 0x42, 0x7b, 0xdb, 0x16, 0xe3, 0x9e, 0xcc, 0xcd, 0x4f, 0xfe, + 0x4a, 0x99, 0x4c, 0x7b, 0x93, 0xcf, 0x98, 0x0f, 0x5f, 0x73, 0xda, 0xa5, 0x86, 0xa6, 0xd8, 0xf8, + 0xe8, 0x78, 0xfc, 0x1e, 0x00, 0x00, 0xff, 0xff, 0x06, 0xe1, 0x80, 0xfc, 0x94, 0x01, 0x00, 0x00, } func (m *RevokedModel) Marshal() (dAtA []byte, err error) { diff --git a/x/compliance/types/tx.pb.go b/x/compliance/types/tx.pb.go index e1ac8e60c..1bd02f59e 100644 --- a/x/compliance/types/tx.pb.go +++ b/x/compliance/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: compliance/types/tx.proto +// source: zigbeealliance/distributedcomplianceledger/compliance/tx.proto package types @@ -57,7 +57,7 @@ func (m *MsgCertifyModel) Reset() { *m = MsgCertifyModel{} } func (m *MsgCertifyModel) String() string { return proto.CompactTextString(m) } func (*MsgCertifyModel) ProtoMessage() {} func (*MsgCertifyModel) Descriptor() ([]byte, []int) { - return fileDescriptor_8fca8f9417a053a7, []int{0} + return fileDescriptor_631265d620e99057, []int{0} } func (m *MsgCertifyModel) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -240,7 +240,7 @@ func (m *MsgCertifyModelResponse) Reset() { *m = MsgCertifyModelResponse func (m *MsgCertifyModelResponse) String() string { return proto.CompactTextString(m) } func (*MsgCertifyModelResponse) ProtoMessage() {} func (*MsgCertifyModelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8fca8f9417a053a7, []int{1} + return fileDescriptor_631265d620e99057, []int{1} } func (m *MsgCertifyModelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -285,7 +285,7 @@ func (m *MsgRevokeModel) Reset() { *m = MsgRevokeModel{} } func (m *MsgRevokeModel) String() string { return proto.CompactTextString(m) } func (*MsgRevokeModel) ProtoMessage() {} func (*MsgRevokeModel) Descriptor() ([]byte, []int) { - return fileDescriptor_8fca8f9417a053a7, []int{2} + return fileDescriptor_631265d620e99057, []int{2} } func (m *MsgRevokeModel) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -384,7 +384,7 @@ func (m *MsgRevokeModelResponse) Reset() { *m = MsgRevokeModelResponse{} func (m *MsgRevokeModelResponse) String() string { return proto.CompactTextString(m) } func (*MsgRevokeModelResponse) ProtoMessage() {} func (*MsgRevokeModelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8fca8f9417a053a7, []int{3} + return fileDescriptor_631265d620e99057, []int{3} } func (m *MsgRevokeModelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -441,7 +441,7 @@ func (m *MsgProvisionModel) Reset() { *m = MsgProvisionModel{} } func (m *MsgProvisionModel) String() string { return proto.CompactTextString(m) } func (*MsgProvisionModel) ProtoMessage() {} func (*MsgProvisionModel) Descriptor() ([]byte, []int) { - return fileDescriptor_8fca8f9417a053a7, []int{4} + return fileDescriptor_631265d620e99057, []int{4} } func (m *MsgProvisionModel) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -624,7 +624,7 @@ func (m *MsgProvisionModelResponse) Reset() { *m = MsgProvisionModelResp func (m *MsgProvisionModelResponse) String() string { return proto.CompactTextString(m) } func (*MsgProvisionModelResponse) ProtoMessage() {} func (*MsgProvisionModelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8fca8f9417a053a7, []int{5} + return fileDescriptor_631265d620e99057, []int{5} } func (m *MsgProvisionModelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -681,7 +681,7 @@ func (m *MsgUpdateComplianceInfo) Reset() { *m = MsgUpdateComplianceInfo func (m *MsgUpdateComplianceInfo) String() string { return proto.CompactTextString(m) } func (*MsgUpdateComplianceInfo) ProtoMessage() {} func (*MsgUpdateComplianceInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_8fca8f9417a053a7, []int{6} + return fileDescriptor_631265d620e99057, []int{6} } func (m *MsgUpdateComplianceInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -864,7 +864,7 @@ func (m *MsgUpdateComplianceInfoResponse) Reset() { *m = MsgUpdateCompli func (m *MsgUpdateComplianceInfoResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateComplianceInfoResponse) ProtoMessage() {} func (*MsgUpdateComplianceInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8fca8f9417a053a7, []int{7} + return fileDescriptor_631265d620e99057, []int{7} } func (m *MsgUpdateComplianceInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -905,7 +905,7 @@ func (m *MsgDeleteComplianceInfo) Reset() { *m = MsgDeleteComplianceInfo func (m *MsgDeleteComplianceInfo) String() string { return proto.CompactTextString(m) } func (*MsgDeleteComplianceInfo) ProtoMessage() {} func (*MsgDeleteComplianceInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_8fca8f9417a053a7, []int{8} + return fileDescriptor_631265d620e99057, []int{8} } func (m *MsgDeleteComplianceInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -976,7 +976,7 @@ func (m *MsgDeleteComplianceInfoResponse) Reset() { *m = MsgDeleteCompli func (m *MsgDeleteComplianceInfoResponse) String() string { return proto.CompactTextString(m) } func (*MsgDeleteComplianceInfoResponse) ProtoMessage() {} func (*MsgDeleteComplianceInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8fca8f9417a053a7, []int{9} + return fileDescriptor_631265d620e99057, []int{9} } func (m *MsgDeleteComplianceInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1006,92 +1006,95 @@ func (m *MsgDeleteComplianceInfoResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgDeleteComplianceInfoResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*MsgCertifyModel)(nil), "compliance.types.MsgCertifyModel") - proto.RegisterType((*MsgCertifyModelResponse)(nil), "compliance.types.MsgCertifyModelResponse") - proto.RegisterType((*MsgRevokeModel)(nil), "compliance.types.MsgRevokeModel") - proto.RegisterType((*MsgRevokeModelResponse)(nil), "compliance.types.MsgRevokeModelResponse") - proto.RegisterType((*MsgProvisionModel)(nil), "compliance.types.MsgProvisionModel") - proto.RegisterType((*MsgProvisionModelResponse)(nil), "compliance.types.MsgProvisionModelResponse") - proto.RegisterType((*MsgUpdateComplianceInfo)(nil), "compliance.types.MsgUpdateComplianceInfo") - proto.RegisterType((*MsgUpdateComplianceInfoResponse)(nil), "compliance.types.MsgUpdateComplianceInfoResponse") - proto.RegisterType((*MsgDeleteComplianceInfo)(nil), "compliance.types.MsgDeleteComplianceInfo") - proto.RegisterType((*MsgDeleteComplianceInfoResponse)(nil), "compliance.types.MsgDeleteComplianceInfoResponse") -} - -func init() { proto.RegisterFile("compliance/types/tx.proto", fileDescriptor_8fca8f9417a053a7) } - -var fileDescriptor_8fca8f9417a053a7 = []byte{ - // 1109 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x98, 0xcb, 0x6e, 0xdb, 0x46, - 0x1f, 0xc5, 0xad, 0xf8, 0x92, 0x78, 0xe4, 0x9b, 0xc6, 0xf6, 0x97, 0xb1, 0x02, 0x48, 0x8e, 0xb2, - 0xf1, 0x87, 0xc6, 0x96, 0x1d, 0xc7, 0x29, 0xd0, 0xc0, 0x28, 0x6c, 0x39, 0x68, 0x85, 0x54, 0x75, - 0x2a, 0xc7, 0x05, 0x7a, 0x01, 0x0a, 0x4a, 0xfc, 0x8b, 0x19, 0x94, 0xe2, 0xb0, 0x33, 0x23, 0xc7, - 0xee, 0xb2, 0xe8, 0xba, 0xe8, 0x93, 0x74, 0xd5, 0x17, 0xe8, 0xae, 0xe8, 0x2a, 0xe8, 0xa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0x50, 0xd5, 0x49, 0x36, 0xd5, 0x4c, 0x45, - 0x6d, 0x78, 0x07, 0xdd, 0x69, 0x69, 0x6d, 0x6a, 0x5e, 0x54, 0x75, 0x32, 0x97, 0xd4, 0x0c, 0x5f, - 0x86, 0x2b, 0x28, 0x27, 0x3a, 0xb6, 0xcd, 0xb8, 0x04, 0xbd, 0x62, 0x76, 0x84, 0x04, 0x2e, 0xc8, - 0x7c, 0x92, 0x77, 0x54, 0x8f, 0x9f, 0xa3, 0xd5, 0xc1, 0x13, 0x2a, 0x5f, 0x98, 0x9a, 0x6c, 0x31, - 0xde, 0x3e, 0x15, 0xa0, 0x93, 0x85, 0xa4, 0x20, 0xb5, 0x07, 0x7f, 0x82, 0xc8, 0xc8, 0x8d, 0xc1, - 0xd8, 0x2e, 0x26, 0xe5, 0xc5, 0xda, 0xf0, 0x2e, 0x9a, 0x3d, 0x3e, 0x19, 0x64, 0x2c, 0x25, 0x65, - 0x0c, 0x75, 0xce, 0xec, 0x86, 0x56, 0x49, 0x9d, 0x75, 0x24, 0x90, 0x5c, 0xe2, 0xec, 0x8e, 0x1a, - 0xf0, 0xbb, 0x28, 0x1b, 0x98, 0x73, 0x82, 0x93, 0xfc, 0x41, 0xa5, 0xd3, 0x68, 0xc9, 0x35, 0x4b, - 0x38, 0x63, 0x4d, 0x96, 0x13, 0x1b, 0xed, 0xeb, 0xdc, 0x6a, 0x1a, 0x07, 0x4b, 0x56, 0x5e, 0x51, - 0x53, 0x27, 0x2b, 0xc9, 0xd5, 0x86, 0x4a, 0x0c, 0xa8, 0x14, 0x6a, 0x7c, 0x55, 0x3f, 0x6e, 0x9d, - 0xf4, 0x41, 0x50, 0x61, 0x6d, 0x9b, 0x59, 0x60, 0x49, 0xb2, 0x9a, 0x94, 0x97, 0x22, 0xa0, 0xb4, - 0x86, 0xee, 0x46, 0x28, 0x5c, 0x07, 0x61, 0x33, 0x4b, 0x40, 0xe9, 0xb7, 0x29, 0xb4, 0x50, 0x13, - 0x46,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5, 0x37, 0x2c, 0xca, 0xbf, - 0x93, 0x42, 0xe4, 0xd7, 0x90, 0x68, 0x45, 0x79, 0xb6, 0x50, 0x8f, 0x80, 0x4a, 0x9a, 0xdf, 0x49, - 0x2d, 0x0d, 0x56, 0x55, 0xae, 0x7e, 0x75, 0x55, 0x95, 0x34, 0xa6, 0x6a, 0xd2, 0x82, 0x38, 0x84, - 0x5f, 0x2f, 0x0b, 0x99, 0x37, 0x97, 0x85, 0xcc, 0x9f, 0x97, 0x85, 0xcc, 0x8f, 0x57, 0x85, 0x89, - 0x37, 0x57, 0x85, 0x89, 0x3f, 0xae, 0x0a, 0x13, 0x9f, 0x3f, 0x37, 0xa8, 0x7c, 0xd5, 0x69, 0x38, - 0x91, 0xe5, 0x6f, 0xa9, 0xd1, 0x00, 0xd8, 0xd4, 0xcc, 0xfe, 0xe7, 0x77, 0x9d, 0x0a, 0xc9, 0x69, - 0xa3, 0x23, 0x41, 0xdf, 0x1c, 0x96, 0xdc, 0x34, 0x41, 0x37, 0x80, 0x97, 0xcf, 0xcb, 0xd1, 0x2f, - 0xf5, 0x8d, 0x19, 0xf7, 0x23, 0xfb, 0xee, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x3c, 0x8e, 0x6e, - 0xca, 0xc4, 0x17, 0x00, 0x00, + proto.RegisterType((*MsgCertifyModel)(nil), "zigbeealliance.distributedcomplianceledger.compliance.MsgCertifyModel") + proto.RegisterType((*MsgCertifyModelResponse)(nil), "zigbeealliance.distributedcomplianceledger.compliance.MsgCertifyModelResponse") + proto.RegisterType((*MsgRevokeModel)(nil), "zigbeealliance.distributedcomplianceledger.compliance.MsgRevokeModel") + proto.RegisterType((*MsgRevokeModelResponse)(nil), "zigbeealliance.distributedcomplianceledger.compliance.MsgRevokeModelResponse") + proto.RegisterType((*MsgProvisionModel)(nil), "zigbeealliance.distributedcomplianceledger.compliance.MsgProvisionModel") + proto.RegisterType((*MsgProvisionModelResponse)(nil), "zigbeealliance.distributedcomplianceledger.compliance.MsgProvisionModelResponse") + proto.RegisterType((*MsgUpdateComplianceInfo)(nil), "zigbeealliance.distributedcomplianceledger.compliance.MsgUpdateComplianceInfo") + proto.RegisterType((*MsgUpdateComplianceInfoResponse)(nil), "zigbeealliance.distributedcomplianceledger.compliance.MsgUpdateComplianceInfoResponse") + proto.RegisterType((*MsgDeleteComplianceInfo)(nil), "zigbeealliance.distributedcomplianceledger.compliance.MsgDeleteComplianceInfo") + proto.RegisterType((*MsgDeleteComplianceInfoResponse)(nil), "zigbeealliance.distributedcomplianceledger.compliance.MsgDeleteComplianceInfoResponse") +} + +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/compliance/tx.proto", fileDescriptor_631265d620e99057) +} + +var fileDescriptor_631265d620e99057 = []byte{ + // 1133 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x99, 0x4d, 0x6f, 0xe3, 0x44, + 0x18, 0xc7, 0xd7, 0xdb, 0xb7, 0xed, 0xa4, 0x2f, 0x9b, 0x69, 0xcb, 0x4e, 0xb3, 0x52, 0x52, 0xc2, + 0xa5, 0x87, 0x6d, 0xd2, 0x6e, 0xb7, 0x8b, 0xc4, 0xaa, 0xa0, 0x36, 0x2d, 0x6c, 0xb4, 0x64, 0x5b, + 0xd2, 0xed, 0x1e, 0xe0, 0x80, 0xdc, 0xf8, 0x89, 0xd7, 0xc2, 0xf1, 0x98, 0x99, 0x49, 0xb7, 0xe5, + 0x88, 0xe0, 0xce, 0x77, 0x40, 0xe2, 0x84, 0x38, 0x71, 0x46, 0xe2, 0x86, 0x38, 0xad, 0x38, 0x71, + 0x8a, 0x50, 0xfb, 0x0d, 0xf2, 0x09, 0x90, 0xed, 0xc4, 0xb1, 0x9d, 0x89, 0x6b, 0xda, 0x4a, 0x05, + 0x91, 0x5b, 0x3a, 0x7d, 0xfe, 0xff, 0x79, 0x66, 0x9e, 0x99, 0xdf, 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7c, 0x7a, 0xf9, 0x1e, 0xc2, 0x4e, 0x99, 0xfd, 0xeb, + 0x72, 0xf2, 0xd3, 0xfd, 0x45, 0x41, 0xf3, 0xd2, 0xdb, 0xd3, 0x15, 0xaa, 0x27, 0xf3, 0xcb, 0xbc, + 0xbc, 0x5e, 0xbf, 0xd0, 0x00, 0xa4, 0xa8, 0xb8, 0xc2, 0x00, 0x64, 0x7e, 0x57, 0x19, 0x40, 0xdc, + 0x3e, 0xdc, 0x86, 0xdf, 0xce, 0xb2, 0xca, 0x9b, 0xb3, 0xac, 0xf2, 0xd7, 0x59, 0x56, 0xf9, 0xee, + 0x3c, 0x7b, 0xeb, 0xcd, 0x79, 0xf6, 0xd6, 0x9f, 0xe7, 0xd9, 0x5b, 0x9f, 0x3e, 0xd3, 0x0d, 0xf1, + 0xaa, 0x79, 0xe4, 0x98, 0x15, 0xbd, 0xbe, 0x57, 0x64, 0xdf, 0x4e, 0x56, 0x7a, 0x9d, 0xad, 0x74, + 0xbe, 0x9e, 0x9c, 0x84, 0xbe, 0x9f, 0x9c, 0xda, 0xc0, 0x8f, 0xc6, 0xdd, 0x6f, 0x1b, 0xeb, 0x7f, + 0x07, 0x00, 0x00, 0xff, 0xff, 0x26, 0x8d, 0x59, 0x7b, 0x85, 0x19, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1123,7 +1126,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { func (c *msgClient) CertifyModel(ctx context.Context, in *MsgCertifyModel, opts ...grpc.CallOption) (*MsgCertifyModelResponse, error) { out := new(MsgCertifyModelResponse) - err := c.cc.Invoke(ctx, "/compliance.types.Msg/CertifyModel", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.compliance.Msg/CertifyModel", in, out, opts...) if err != nil { return nil, err } @@ -1132,7 +1135,7 @@ func (c *msgClient) CertifyModel(ctx context.Context, in *MsgCertifyModel, opts func (c *msgClient) RevokeModel(ctx context.Context, in *MsgRevokeModel, opts ...grpc.CallOption) (*MsgRevokeModelResponse, error) { out := new(MsgRevokeModelResponse) - err := c.cc.Invoke(ctx, "/compliance.types.Msg/RevokeModel", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.compliance.Msg/RevokeModel", in, out, opts...) if err != nil { return nil, err } @@ -1141,7 +1144,7 @@ func (c *msgClient) RevokeModel(ctx context.Context, in *MsgRevokeModel, opts .. func (c *msgClient) ProvisionModel(ctx context.Context, in *MsgProvisionModel, opts ...grpc.CallOption) (*MsgProvisionModelResponse, error) { out := new(MsgProvisionModelResponse) - err := c.cc.Invoke(ctx, "/compliance.types.Msg/ProvisionModel", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.compliance.Msg/ProvisionModel", in, out, opts...) if err != nil { return nil, err } @@ -1150,7 +1153,7 @@ func (c *msgClient) ProvisionModel(ctx context.Context, in *MsgProvisionModel, o func (c *msgClient) UpdateComplianceInfo(ctx context.Context, in *MsgUpdateComplianceInfo, opts ...grpc.CallOption) (*MsgUpdateComplianceInfoResponse, error) { out := new(MsgUpdateComplianceInfoResponse) - err := c.cc.Invoke(ctx, "/compliance.types.Msg/UpdateComplianceInfo", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.compliance.Msg/UpdateComplianceInfo", in, out, opts...) if err != nil { return nil, err } @@ -1159,7 +1162,7 @@ func (c *msgClient) UpdateComplianceInfo(ctx context.Context, in *MsgUpdateCompl func (c *msgClient) DeleteComplianceInfo(ctx context.Context, in *MsgDeleteComplianceInfo, opts ...grpc.CallOption) (*MsgDeleteComplianceInfoResponse, error) { out := new(MsgDeleteComplianceInfoResponse) - err := c.cc.Invoke(ctx, "/compliance.types.Msg/DeleteComplianceInfo", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.compliance.Msg/DeleteComplianceInfo", in, out, opts...) if err != nil { return nil, err } @@ -1209,7 +1212,7 @@ func _Msg_CertifyModel_Handler(srv interface{}, ctx context.Context, dec func(in } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/compliance.types.Msg/CertifyModel", + FullMethod: "/zigbeealliance.distributedcomplianceledger.compliance.Msg/CertifyModel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).CertifyModel(ctx, req.(*MsgCertifyModel)) @@ -1227,7 +1230,7 @@ func _Msg_RevokeModel_Handler(srv interface{}, ctx context.Context, dec func(int } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/compliance.types.Msg/RevokeModel", + FullMethod: "/zigbeealliance.distributedcomplianceledger.compliance.Msg/RevokeModel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).RevokeModel(ctx, req.(*MsgRevokeModel)) @@ -1245,7 +1248,7 @@ func _Msg_ProvisionModel_Handler(srv interface{}, ctx context.Context, dec func( } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/compliance.types.Msg/ProvisionModel", + FullMethod: "/zigbeealliance.distributedcomplianceledger.compliance.Msg/ProvisionModel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ProvisionModel(ctx, req.(*MsgProvisionModel)) @@ -1263,7 +1266,7 @@ func _Msg_UpdateComplianceInfo_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/compliance.types.Msg/UpdateComplianceInfo", + FullMethod: "/zigbeealliance.distributedcomplianceledger.compliance.Msg/UpdateComplianceInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).UpdateComplianceInfo(ctx, req.(*MsgUpdateComplianceInfo)) @@ -1281,7 +1284,7 @@ func _Msg_DeleteComplianceInfo_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/compliance.types.Msg/DeleteComplianceInfo", + FullMethod: "/zigbeealliance.distributedcomplianceledger.compliance.Msg/DeleteComplianceInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).DeleteComplianceInfo(ctx, req.(*MsgDeleteComplianceInfo)) @@ -1290,7 +1293,7 @@ func _Msg_DeleteComplianceInfo_Handler(srv interface{}, ctx context.Context, dec } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "compliance.types.Msg", + ServiceName: "zigbeealliance.distributedcomplianceledger.compliance.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -1315,7 +1318,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "compliance/types/tx.proto", + Metadata: "zigbeealliance/distributedcomplianceledger/compliance/tx.proto", } func (m *MsgCertifyModel) Marshal() (dAtA []byte, err error) { diff --git a/x/dclauth/types/account.pb.go b/x/dclauth/types/account.pb.go index 0a5359ebb..1af0124b4 100644 --- a/x/dclauth/types/account.pb.go +++ b/x/dclauth/types/account.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclauth/types/account.proto +// source: zigbeealliance/distributedcomplianceledger/dclauth/account.proto package types @@ -40,7 +40,7 @@ type Account struct { func (m *Account) Reset() { *m = Account{} } func (*Account) ProtoMessage() {} func (*Account) Descriptor() ([]byte, []int) { - return fileDescriptor_eea79e06d78ce375, []int{0} + return fileDescriptor_b313ddcde3a636dd, []int{0} } func (m *Account) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -70,38 +70,42 @@ func (m *Account) XXX_DiscardUnknown() { var xxx_messageInfo_Account proto.InternalMessageInfo func init() { - proto.RegisterType((*Account)(nil), "dclauth.types.Account") + proto.RegisterType((*Account)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.Account") } -func init() { proto.RegisterFile("dclauth/types/account.proto", fileDescriptor_eea79e06d78ce375) } +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/dclauth/account.proto", fileDescriptor_b313ddcde3a636dd) +} -var fileDescriptor_eea79e06d78ce375 = []byte{ - // 400 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xcf, 0x8b, 0xd3, 0x40, - 0x18, 0x4d, 0xb6, 0xdb, 0xfd, 0x31, 0x51, 0x84, 0xb0, 0x87, 0x6c, 0x85, 0x24, 0x08, 0x42, 0x2e, - 0x9d, 0xa1, 0x15, 0x04, 0xbd, 0x19, 0x16, 0xb4, 0xd7, 0x80, 0x17, 0x2f, 0xcb, 0xcc, 0xe4, 0x23, - 0x8d, 0x24, 0x99, 0x30, 0x33, 0x29, 0xea, 0x5f, 0xe0, 0xd1, 0xa3, 0xc7, 0xfe, 0x29, 0x1e, 0x3d, - 0xf6, 0xe8, 0xa9, 0x48, 0xfb, 0x5f, 0x78, 0x92, 0x4c, 0xa6, 0xd6, 0x5e, 0xf6, 0x36, 0xf3, 0xbd, - 0xf7, 0xbd, 0xf7, 0x78, 0x1f, 0x7a, 0x9a, 0xf3, 0x8a, 0x76, 0x7a, 0x49, 0xf4, 0xe7, 0x16, 0x14, - 0xa1, 0x9c, 0x8b, 0xae, 0xd1, 0xb8, 0x95, 0x42, 0x0b, 0xff, 0xb1, 0x05, 0xb1, 0x01, 0x27, 0x37, - 0x85, 0x28, 0x84, 0x41, 0x48, 0xff, 0x1a, 0x48, 0x93, 0x90, 0x0b, 0x55, 0x0b, 0x45, 0x8c, 0xca, - 0x6a, 0xc6, 0x40, 0xd3, 0x99, 0xf9, 0x58, 0x3c, 0xe2, 0xa2, 0xae, 0x45, 0x63, 0x0d, 0xba, 0xb2, - 0xd1, 0xb3, 0x97, 0xf7, 0x92, 0x36, 0x05, 0x58, 0xc2, 0xed, 0x69, 0x84, 0x42, 0xd2, 0x43, 0x80, - 0x67, 0x3f, 0xce, 0xd0, 0xe5, 0x9b, 0x21, 0x92, 0xbf, 0x40, 0x8f, 0x18, 0x55, 0x70, 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a4, 0x0d, 0x07, 0x92, 0x97, 0x4a, 0xcb, 0x92, 0x75, 0x1a, 0xf2, 0x29, - 0x17, 0x75, 0x3b, 0x8c, 0xa7, 0x15, 0xe4, 0x05, 0x48, 0xf2, 0x89, 0x9c, 0x9c, 0x8c, 0x5d, 0x98, - 0x6b, 0xbd, 0xf8, 0x1b, 0x00, 0x00, 0xff, 0xff, 0xd4, 0xbc, 0x8a, 0xaa, 0x4d, 0x02, 0x00, 0x00, +var fileDescriptor_b313ddcde3a636dd = []byte{ + // 420 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x92, 0x4f, 0xeb, 0xd3, 0x30, + 0x1c, 0xc6, 0x5b, 0xfb, 0xdb, 0xef, 0x4f, 0x2a, 0x08, 0xc5, 0x43, 0xd9, 0xa1, 0x2d, 0x82, 0xd0, + 0xcb, 0x52, 0x36, 0x41, 0xd0, 0xc3, 0xd0, 0x32, 0xd0, 0x5d, 0x2b, 0x22, 0x78, 0x70, 0x24, 0xe9, + 0x97, 0xae, 0xd2, 0x36, 0x25, 0x49, 0x87, 0xfa, 0x0a, 0x3c, 0x7a, 0xf4, 0xb8, 0x77, 0xe0, 0xdb, + 0xf0, 0xb8, 0xa3, 0xa7, 0x21, 0xdb, 0xbb, 0xf0, 0x24, 0x6d, 0xb3, 0x4d, 0x41, 0x84, 0xe9, 0x2d, + 0xc9, 0x97, 0x7c, 0x9e, 0x3c, 0x79, 0x1e, 0xf4, 0xe4, 0x43, 0x9e, 0x51, 0x00, 0x52, 0x14, 0x39, + 0xa9, 0x18, 0x44, 0x69, 0x2e, 0x95, 0xc8, 0x69, 0xa3, 0x20, 0x65, 0xbc, 0xac, 0xfb, 0xd3, 0x02, + 0xd2, 0x0c, 0x44, 0x94, 0xb2, 0x82, 0x34, 0x6a, 0x19, 0x11, 0xc6, 0x78, 0x53, 0x29, 0x5c, 0x0b, + 0xae, 0xb8, 0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0x0f, 0x24, 0xe7, 0x0d, 0x42, 0xb5, 0xe0, + 0x69, 0xc3, 0xd4, 0x7c, 0x26, 0xdd, 0xcb, 0x8e, 0x3b, 0x3d, 0x87, 0xdb, 0x47, 0x8c, 0x5f, 0x76, + 0x11, 0x27, 0x6d, 0xc2, 0xc9, 0x2f, 0xc4, 0xc7, 0xd7, 0x1f, 0xd7, 0xbe, 0xf1, 0x79, 0xed, 0x1b, + 0x31, 0xfd, 0xba, 0xf3, 0xcc, 0xcd, 0xce, 0x33, 0xbf, 0xef, 0x3c, 0xf3, 0xd3, 0xde, 0x33, 0x36, + 0x7b, 0xcf, 0xf8, 0xb6, 0xf7, 0x8c, 0xd7, 0xcf, 0xb3, 0x5c, 0x2d, 0x1b, 0xda, 0xa2, 0xa2, 0x5e, + 0x79, 0xf4, 0xa7, 0x5e, 0x8c, 0x4e, 0xda, 0x23, 0xdd, 0x8c, 0x77, 0xc7, 0x6e, 0xa8, 0xf7, 0x35, + 0x48, 0x7a, 0xd9, 0x95, 0xe3, 0xc1, 0xcf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xce, 0x0c, 0xab, 0xc9, + 0x50, 0x03, 0x00, 0x00, } func (m *Account) Marshal() (dAtA []byte, err error) { diff --git a/x/dclauth/types/account_stat.pb.go b/x/dclauth/types/account_stat.pb.go index 5647f1520..2d0f2506d 100644 --- a/x/dclauth/types/account_stat.pb.go +++ b/x/dclauth/types/account_stat.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclauth/types/account_stat.proto +// source: zigbeealliance/distributedcomplianceledger/dclauth/account_stat.proto package types @@ -30,7 +30,7 @@ func (m *AccountStat) Reset() { *m = AccountStat{} } func (m *AccountStat) String() string { return proto.CompactTextString(m) } func (*AccountStat) ProtoMessage() {} func (*AccountStat) Descriptor() ([]byte, []int) { - return fileDescriptor_b518d69dc155db70, []int{0} + return fileDescriptor_3193f134e215a09e, []int{0} } func (m *AccountStat) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -67,25 +67,28 @@ func (m *AccountStat) GetNumber() uint64 { } func init() { - proto.RegisterType((*AccountStat)(nil), "dclauth.types.AccountStat") + proto.RegisterType((*AccountStat)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.AccountStat") } -func init() { proto.RegisterFile("dclauth/types/account_stat.proto", fileDescriptor_b518d69dc155db70) } +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/dclauth/account_stat.proto", fileDescriptor_3193f134e215a09e) +} -var fileDescriptor_b518d69dc155db70 = []byte{ - // 187 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x48, 0x49, 0xce, 0x49, - 0x2c, 0x2d, 0xc9, 0xd0, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x4f, 0x4c, 0x4e, 0xce, 0x2f, 0xcd, - 0x2b, 0x89, 0x2f, 0x2e, 0x49, 0x2c, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x85, 0xaa, - 0xd0, 0x03, 0xab, 0x50, 0x52, 0xe5, 0xe2, 0x76, 0x84, 0x28, 0x0a, 0x2e, 0x49, 0x2c, 0x11, 0x12, - 0xe3, 0x62, 0xcb, 0x2b, 0xcd, 0x4d, 0x4a, 0x2d, 0x92, 0x60, 0x54, 0x60, 0xd4, 0x60, 0x09, 0x82, - 0xf2, 0x9c, 0x92, 0x4e, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, - 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0xca, 0x23, 0x3d, - 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0xbf, 0x2a, 0x33, 0x3d, 0x29, 0x35, 0x55, - 0x37, 0x31, 0x27, 0x27, 0x33, 0x31, 0x2f, 0x39, 0x55, 0x3f, 0x25, 0xb3, 0xb8, 0xa4, 0x28, 0x33, - 0xa9, 0xb4, 0x24, 0x35, 0x45, 0x37, 0x39, 0x3f, 0xb7, 0x00, 0x22, 0xac, 0x9b, 0x93, 0x9a, 0x92, - 0x9e, 0x5a, 0xa4, 0x5f, 0xa1, 0x8f, 0xe2, 0xd8, 0x24, 0x36, 0xb0, 0x03, 0x8d, 0x01, 0x01, 0x00, - 0x00, 0xff, 0xff, 0xe7, 0x41, 0x15, 0x75, 0xc4, 0x00, 0x00, 0x00, +var fileDescriptor_3193f134e215a09e = []byte{ + // 198 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x72, 0xad, 0xca, 0x4c, 0x4f, + 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4f, 0xc9, 0x2c, 0x2e, 0x29, + 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, + 0xa7, 0x16, 0xe9, 0xa7, 0x24, 0xe7, 0x24, 0x96, 0x96, 0x64, 0xe8, 0x27, 0x26, 0x27, 0xe7, 0x97, + 0xe6, 0x95, 0xc4, 0x17, 0x97, 0x24, 0x96, 0xe8, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, 0x19, 0xa1, + 0x1a, 0xa3, 0x87, 0xc7, 0x18, 0x3d, 0xa8, 0x31, 0x4a, 0xaa, 0x5c, 0xdc, 0x8e, 0x10, 0x93, 0x82, + 0x4b, 0x12, 0x4b, 0x84, 0xc4, 0xb8, 0xd8, 0xf2, 0x4a, 0x73, 0x93, 0x52, 0x8b, 0x24, 0x18, 0x15, + 0x18, 0x35, 0x58, 0x82, 0xa0, 0x3c, 0xa7, 0xa4, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, + 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, + 0x63, 0x88, 0xf2, 0x48, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x87, 0xd8, + 0xaf, 0x8b, 0xcd, 0x1f, 0xba, 0x08, 0x17, 0xe8, 0x42, 0x7d, 0x52, 0x01, 0xf7, 0x4b, 0x49, 0x65, + 0x41, 0x6a, 0x71, 0x12, 0x1b, 0xd8, 0x17, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xef, 0xc4, + 0xb0, 0x14, 0x0e, 0x01, 0x00, 0x00, } func (m *AccountStat) Marshal() (dAtA []byte, err error) { diff --git a/x/dclauth/types/genesis.pb.go b/x/dclauth/types/genesis.pb.go index 7780e6da6..abfe23fbe 100644 --- a/x/dclauth/types/genesis.pb.go +++ b/x/dclauth/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclauth/types/genesis.proto +// source: zigbeealliance/distributedcomplianceledger/dclauth/genesis.proto package types @@ -37,7 +37,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} } func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_da8ac9ae8245f710, []int{0} + return fileDescriptor_5b66b543e193054f, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -109,37 +109,40 @@ func (m *GenesisState) GetRejectedAccountList() []RejectedAccount { } func init() { - proto.RegisterType((*GenesisState)(nil), "dclauth.types.GenesisState") + proto.RegisterType((*GenesisState)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.GenesisState") } -func init() { proto.RegisterFile("dclauth/types/genesis.proto", fileDescriptor_da8ac9ae8245f710) } +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/dclauth/genesis.proto", fileDescriptor_5b66b543e193054f) +} -var fileDescriptor_da8ac9ae8245f710 = []byte{ - // 383 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x31, 0x4f, 0xe3, 0x30, - 0x14, 0xc7, 0x93, 0x6b, 0xaf, 0x43, 0x7a, 0xb7, 0xe4, 0x4e, 0xa8, 0x2a, 0x10, 0x2a, 0x40, 0xa2, - 0x4b, 0x13, 0xa9, 0xac, 0x08, 0xa9, 0x5d, 0x60, 0x60, 0x40, 0xa9, 0xc4, 0xc0, 0x52, 0x39, 0xce, - 0x93, 0x6b, 0x48, 0xe3, 0x90, 0x38, 0x08, 0xd8, 0xf8, 0x06, 0x7c, 0xac, 0x8e, 0x1d, 0x99, 0x10, - 0x6a, 0xbf, 0x08, 0x8a, 0xe3, 0x96, 0x38, 0x0d, 0xdd, 0xac, 0xf7, 0x7e, 0xef, 0xf7, 0xe4, 0xbf, - 0x6d, 0xec, 0xfa, 0x38, 0x40, 0x29, 0x9f, 0x38, 0xfc, 0x39, 0x82, 0xc4, 0x21, 0x10, 0x42, 0x42, - 0x13, 0x3b, 0x8a, 0x19, 0x67, 0xe6, 0x5f, 0xd9, 0xb4, 0x45, 0xb3, 0x5d, 0x62, 0x11, 0xc6, 0x2c, - 0x0d, 0x79, 0xce, 0xb6, 0x8f, 0xd4, 0x66, 0x04, 0xa1, 0x4f, 0x43, 0x32, 0x56, 0x21, 0x7b, 0x2b, - 0x34, 0x8e, 0xe1, 0x91, 0x61, 0xc4, 0x29, 0x0b, 0x25, 0xdf, 0xa9, 0xdc, 0x38, 0x4e, 0x38, 0xfa, - 0x61, 0x6d, 0x66, 0xb8, 0x07, 0xbf, 0xb4, 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, 0xa1, 0xc4, 0x03, 0xe8, - 0xa1, 0x20, 0xa0, 0x28, 0xc4, 0xe0, 0xf8, 0x34, 0xe1, 0x31, 0xf5, 0x52, 0x0e, 0x7e, 0x0f, 0xb3, - 0x69, 0x94, 0x97, 0x7b, 0x01, 0xf8, 0x04, 0x62, 0xe7, 0xc9, 0x51, 0x3e, 0xa5, 0xd7, 0x10, 0xdf, - 0xed, 0xf4, 0x2b, 0x00, 0x00, 0xff, 0xff, 0xc3, 0x72, 0xaa, 0x63, 0x91, 0x03, 0x00, 0x00, +var fileDescriptor_5b66b543e193054f = []byte{ + // 399 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x93, 0x3f, 0x4f, 0xc2, 0x40, + 0x18, 0xc6, 0x5b, 0xf9, 0x33, 0x14, 0xa7, 0xea, 0x40, 0x88, 0xa9, 0xc4, 0x89, 0x85, 0x36, 0xc1, + 0xd1, 0x41, 0xc1, 0x18, 0x31, 0x61, 0x30, 0x65, 0x73, 0x21, 0xd7, 0xeb, 0x9b, 0x72, 0x5a, 0x7a, + 0x4d, 0x7b, 0x35, 0xa8, 0x5f, 0xc2, 0xc9, 0xcf, 0xc4, 0xc8, 0xe8, 0x64, 0x08, 0x7c, 0x11, 0xd3, + 0xf6, 0x80, 0x56, 0x08, 0x89, 0xd7, 0xad, 0xb9, 0xa4, 0xbf, 0xdf, 0x73, 0xcf, 0xbd, 0xaf, 0x72, + 0xf3, 0x4e, 0x1c, 0x0b, 0x00, 0xb9, 0x2e, 0x41, 0x1e, 0x06, 0xc3, 0x26, 0x21, 0x0b, 0x88, 0x15, + 0x31, 0xb0, 0x31, 0x9d, 0xf8, 0xe9, 0xa9, 0x0b, 0xb6, 0x03, 0x81, 0x61, 0x63, 0x17, 0x45, 0x6c, + 0x6c, 0x38, 0xe0, 0x41, 0x48, 0x42, 0xdd, 0x0f, 0x28, 0xa3, 0x6a, 0x27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2, 0xad, 0x9b, 0x39, 0xda, 0xba, 0xf5, 0x5d, 0x87, 0xfa, 0xa1, 0x9c, 0xac, 0xa7, 0x32, 0xab, + 0xae, 0x26, 0xea, 0x5b, 0x31, 0x75, 0x0e, 0xc7, 0xdd, 0xfb, 0x2c, 0x3d, 0x6b, 0xb6, 0xd4, 0xe4, + 0xf9, 0x52, 0x93, 0x17, 0x4b, 0x4d, 0xfe, 0x5c, 0x69, 0xd2, 0x7c, 0xa5, 0x49, 0xdf, 0x2b, 0x4d, + 0x7a, 0xea, 0x3b, 0x84, 0x8d, 0x23, 0x4b, 0xc7, 0x74, 0x62, 0xa4, 0x19, 0xda, 0xfb, 0x36, 0xad, + 0xbd, 0x4d, 0xd1, 0xe6, 0xbb, 0x36, 0xdd, 0x6c, 0x1b, 0x7b, 0xf3, 0x21, 0xb4, 0xaa, 0xc9, 0x36, + 0x5d, 0xfe, 0x06, 0x00, 0x00, 0xff, 0xff, 0x19, 0xda, 0xde, 0x2c, 0x98, 0x05, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/dclauth/types/grant.pb.go b/x/dclauth/types/grant.pb.go index 9f3909944..20e513f18 100644 --- a/x/dclauth/types/grant.pb.go +++ b/x/dclauth/types/grant.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclauth/types/grant.proto +// source: zigbeealliance/distributedcomplianceledger/dclauth/grant.proto package types @@ -33,7 +33,7 @@ func (m *Grant) Reset() { *m = Grant{} } func (m *Grant) String() string { return proto.CompactTextString(m) } func (*Grant) ProtoMessage() {} func (*Grant) Descriptor() ([]byte, []int) { - return fileDescriptor_c5cfa03262ebaddf, []int{0} + return fileDescriptor_86ef6cca43825bdb, []int{0} } func (m *Grant) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -84,28 +84,31 @@ func (m *Grant) GetInfo() string { } func init() { - proto.RegisterType((*Grant)(nil), "dclauth.types.Grant") + proto.RegisterType((*Grant)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.Grant") } -func init() { proto.RegisterFile("dclauth/types/grant.proto", fileDescriptor_c5cfa03262ebaddf) } +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/dclauth/grant.proto", fileDescriptor_86ef6cca43825bdb) +} -var fileDescriptor_c5cfa03262ebaddf = []byte{ - // 239 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4c, 0x49, 0xce, 0x49, - 0x2c, 0x2d, 0xc9, 0xd0, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x4f, 0x2f, 0x4a, 0xcc, 0x2b, 0xd1, - 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x85, 0x4a, 0xe9, 0x81, 0xa5, 0xa4, 0x24, 0x93, 0xf3, - 0x8b, 0x73, 0xf3, 0x8b, 0xe3, 0xc1, 0x92, 0xfa, 0x10, 0x0e, 0x44, 0xa5, 0x52, 0x32, 0x17, 0xab, - 0x3b, 0x48, 0xa3, 0x90, 0x11, 0x17, 0x7b, 0x62, 0x4a, 0x4a, 0x51, 0x6a, 0x71, 0xb1, 0x04, 0xa3, - 0x02, 0xa3, 0x06, 0xa7, 0x93, 0xc4, 0xa5, 0x2d, 0xba, 0x22, 0x50, 0xb5, 0x8e, 0x10, 0x99, 0xe0, - 0x92, 0xa2, 0xcc, 0xbc, 0xf4, 0x20, 0x98, 0x42, 0x21, 0x21, 0x2e, 0x96, 0x92, 0xcc, 0xdc, 0x54, - 0x09, 0x26, 0x05, 0x46, 0x0d, 0xe6, 0x20, 0x30, 0x1b, 0x24, 0x96, 0x99, 0x97, 0x96, 0x2f, 0xc1, - 0x0c, 0x32, 0x24, 0x08, 0xcc, 0x76, 0x4a, 0x3a, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, - 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, - 0x86, 0x28, 0x8f, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0xfd, 0xaa, 0xcc, - 0xf4, 0xa4, 0xd4, 0x54, 0xdd, 0xc4, 0x9c, 0x9c, 0xcc, 0xc4, 0xbc, 0xe4, 0x54, 0xfd, 0x94, 0xcc, - 0xe2, 0x92, 0xa2, 0xcc, 0xa4, 0xd2, 0x92, 0xd4, 0x14, 0xdd, 0xe4, 0xfc, 0xdc, 0x02, 0x88, 0xb0, - 0x6e, 0x4e, 0x6a, 0x4a, 0x7a, 0x6a, 0x91, 0x7e, 0x85, 0x3e, 0x8a, 0xf7, 0x93, 0xd8, 0xc0, 0xfe, - 0x31, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x2c, 0x91, 0x86, 0x2a, 0x16, 0x01, 0x00, 0x00, +var fileDescriptor_86ef6cca43825bdb = []byte{ + // 251 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0xab, 0xca, 0x4c, 0x4f, + 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4f, 0xc9, 0x2c, 0x2e, 0x29, + 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, + 0xa7, 0x16, 0xe9, 0xa7, 0x24, 0xe7, 0x24, 0x96, 0x96, 0x64, 0xe8, 0xa7, 0x17, 0x25, 0xe6, 0x95, + 0xe8, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, 0x19, 0xa1, 0xea, 0xd7, 0xc3, 0xa3, 0x5f, 0x0f, 0xaa, + 0x5f, 0x4a, 0x32, 0x39, 0xbf, 0x38, 0x37, 0xbf, 0x38, 0x1e, 0x6c, 0x82, 0x3e, 0x84, 0x03, 0x31, + 0x4e, 0x29, 0x99, 0x8b, 0xd5, 0x1d, 0x64, 0xba, 0x90, 0x11, 0x17, 0x7b, 0x62, 0x4a, 0x4a, 0x51, + 0x6a, 0x71, 0xb1, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0xa7, 0x93, 0xc4, 0xa5, 0x2d, 0xba, 0x22, 0x50, + 0xb5, 0x8e, 0x10, 0x99, 0xe0, 0x92, 0xa2, 0xcc, 0xbc, 0xf4, 0x20, 0x98, 0x42, 0x21, 0x21, 0x2e, + 0x96, 0x92, 0xcc, 0xdc, 0x54, 0x09, 0x26, 0x05, 0x46, 0x0d, 0xe6, 0x20, 0x30, 0x1b, 0x24, 0x96, + 0x99, 0x97, 0x96, 0x2f, 0xc1, 0x0c, 0x32, 0x24, 0x08, 0xcc, 0x76, 0x4a, 0x3a, 0xf1, 0x48, 0x8e, + 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, + 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0x8f, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, + 0xfc, 0x5c, 0x7d, 0x88, 0xc7, 0x74, 0xb1, 0x85, 0x8c, 0x2e, 0xc2, 0x6b, 0xba, 0xd0, 0xb0, 0xa9, + 0x80, 0x87, 0x4e, 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0xd8, 0x3f, 0xc6, 0x80, 0x00, 0x00, + 0x00, 0xff, 0xff, 0x0f, 0xb6, 0x99, 0x19, 0x60, 0x01, 0x00, 0x00, } func (m *Grant) Marshal() (dAtA []byte, err error) { diff --git a/x/dclauth/types/pending_account.pb.go b/x/dclauth/types/pending_account.pb.go index 64cf7efcc..fb5cfb34e 100644 --- a/x/dclauth/types/pending_account.pb.go +++ b/x/dclauth/types/pending_account.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclauth/types/pending_account.proto +// source: zigbeealliance/distributedcomplianceledger/dclauth/pending_account.proto package types @@ -31,7 +31,7 @@ func (m *PendingAccount) Reset() { *m = PendingAccount{} } func (m *PendingAccount) String() string { return proto.CompactTextString(m) } func (*PendingAccount) ProtoMessage() {} func (*PendingAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_6060dcc76949cc4b, []int{0} + return fileDescriptor_0beda4bc7537ece0, []int{0} } func (m *PendingAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -61,29 +61,30 @@ func (m *PendingAccount) XXX_DiscardUnknown() { var xxx_messageInfo_PendingAccount proto.InternalMessageInfo func init() { - proto.RegisterType((*PendingAccount)(nil), "dclauth.types.PendingAccount") + proto.RegisterType((*PendingAccount)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.PendingAccount") } func init() { - proto.RegisterFile("dclauth/types/pending_account.proto", fileDescriptor_6060dcc76949cc4b) + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/dclauth/pending_account.proto", fileDescriptor_0beda4bc7537ece0) } -var fileDescriptor_6060dcc76949cc4b = []byte{ - // 219 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4e, 0x49, 0xce, 0x49, - 0x2c, 0x2d, 0xc9, 0xd0, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x2f, 0x48, 0xcd, 0x4b, 0xc9, 0xcc, - 0x4b, 0x8f, 0x4f, 0x4c, 0x4e, 0xce, 0x2f, 0xcd, 0x2b, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, - 0xe2, 0x85, 0x2a, 0xd2, 0x03, 0x2b, 0x92, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0xcb, 0xe8, 0x83, - 0x58, 0x10, 0x45, 0x52, 0xd2, 0xa8, 0x26, 0xa1, 0x98, 0xa0, 0xe4, 0xc1, 0xc5, 0x17, 0x00, 0x31, - 0xda, 0x11, 0x22, 0x2e, 0x64, 0xc6, 0xc5, 0x0e, 0x55, 0x22, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0x6d, - 0x24, 0xa6, 0x87, 0x62, 0x8b, 0x1e, 0x54, 0xa1, 0x13, 0xcb, 0x85, 0x7b, 0xf2, 0x8c, 0x41, 0x30, - 0xc5, 0x4e, 0x49, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3, - 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0xe5, 0x91, 0x9e, - 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x5f, 0x95, 0x99, 0x9e, 0x94, 0x9a, 0xaa, - 0x9b, 0x98, 0x93, 0x93, 0x99, 0x98, 0x97, 0x9c, 0xaa, 0x9f, 0x92, 0x59, 0x5c, 0x52, 0x94, 0x99, - 0x54, 0x5a, 0x92, 0x9a, 0xa2, 0x9b, 0x9c, 0x9f, 0x5b, 0x00, 0x11, 0xd6, 0xcd, 0x49, 0x4d, 0x49, - 0x4f, 0x2d, 0xd2, 0xaf, 0xd0, 0x47, 0x71, 0x7b, 0x12, 0x1b, 0xd8, 0xd1, 0xc6, 0x80, 0x00, 0x00, - 0x00, 0xff, 0xff, 0xbd, 0x2c, 0x90, 0xb7, 0x1d, 0x01, 0x00, 0x00, +var fileDescriptor_0beda4bc7537ece0 = []byte{ + // 231 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x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, + 0x62, 0x9f, 0x2e, 0x36, 0x6f, 0xe9, 0x22, 0x6c, 0xd4, 0x85, 0x7a, 0xac, 0x02, 0xee, 0xb5, 0x92, + 0xca, 0x82, 0xd4, 0xe2, 0x24, 0x36, 0xb0, 0xcf, 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x25, + 0xd3, 0x88, 0xfd, 0xb1, 0x01, 0x00, 0x00, } func (m *PendingAccount) Marshal() (dAtA []byte, err error) { diff --git a/x/dclauth/types/pending_account_revocation.pb.go b/x/dclauth/types/pending_account_revocation.pb.go index f41857f1b..97216b7e9 100644 --- a/x/dclauth/types/pending_account_revocation.pb.go +++ b/x/dclauth/types/pending_account_revocation.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclauth/types/pending_account_revocation.proto +// source: zigbeealliance/distributedcomplianceledger/dclauth/pending_account_revocation.proto package types @@ -32,7 +32,7 @@ type PendingAccountRevocation struct { func (m *PendingAccountRevocation) Reset() { *m = PendingAccountRevocation{} } func (*PendingAccountRevocation) ProtoMessage() {} func (*PendingAccountRevocation) Descriptor() ([]byte, []int) { - return fileDescriptor_e3fe6ffb9f50598e, []int{0} + return fileDescriptor_4187fdc153f14fe6, []int{0} } func (m *PendingAccountRevocation) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -76,33 +76,35 @@ func (m *PendingAccountRevocation) GetApprovals() []*Grant { } func init() { - proto.RegisterType((*PendingAccountRevocation)(nil), "dclauth.types.PendingAccountRevocation") + proto.RegisterType((*PendingAccountRevocation)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.PendingAccountRevocation") } func init() { - proto.RegisterFile("dclauth/types/pending_account_revocation.proto", fileDescriptor_e3fe6ffb9f50598e) + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/dclauth/pending_account_revocation.proto", fileDescriptor_4187fdc153f14fe6) } -var fileDescriptor_e3fe6ffb9f50598e = []byte{ - // 288 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8f, 0x31, 0x4e, 0xc3, 0x30, - 0x14, 0x40, 0x63, 0x40, 0xa0, 0x06, 0xb1, 0x54, 0x1d, 0x42, 0x07, 0x53, 0x31, 0x75, 0x89, 0x2d, - 0x95, 0x8d, 0xad, 0x5d, 0x60, 0x44, 0x65, 0x63, 0xa9, 0x1c, 0xdb, 0x72, 0x2d, 0xa5, 0xfe, 0x96, - 0xed, 0x54, 0xc0, 0x09, 0x18, 0x19, 0x19, 0x39, 0x04, 0x87, 0x60, 0xac, 0x98, 0x18, 0x51, 0x72, - 0x11, 0xd4, 0xb8, 0x05, 0x65, 0xb3, 0xfd, 0x9e, 0xfc, 0xfe, 0x4f, 0x89, 0xe0, 0x25, 0xab, 0xc2, - 0x92, 0x86, 0x27, 0x2b, 0x3d, 0xb5, 0xd2, 0x08, 0x6d, 0xd4, 0x82, 0x71, 0x0e, 0x95, 0x09, 0x0b, - 0x27, 0xd7, 0xc0, 0x59, 0xd0, 0x60, 0x88, 0x75, 0x10, 0xa0, 0x7f, 0xb6, 0xf3, 0x49, 0xeb, 0x0f, - 0x07, 0x0a, 0x14, 0xb4, 0x84, 0x6e, 0x4f, 0x51, 0x1a, 0x9e, 0x73, 0xf0, 0x2b, 0xf0, 0x8b, 0x08, - 0xe2, 0x65, 0x8f, 0xba, 0x3d, 0xe5, 0x98, 0x09, 0x11, 0x5d, 0xbe, 0xa0, 0x34, 0xbb, 0x8b, 0xfd, - 0x69, 0xcc, 0xcf, 0xff, 0xea, 0xfd, 0x49, 0x7a, 0xc2, 0x84, 0x70, 0xd2, 0xfb, 0x0c, 0x8d, 0xd0, - 0xb8, 0x37, 0xcb, 0xbe, 0x3e, 0xf2, 0xc1, 0xee, 0xeb, 0x69, 0x24, 0xf7, 0xc1, 0x69, 0xa3, 0xe6, - 0x7b, 0xb1, 0x3f, 0x49, 0x7b, 0xcc, 0x5a, 0x07, 0x6b, 0x56, 0xfa, 0xec, 0x60, 0x74, 0x38, 0x3e, - 0x9d, 0x0c, 0x48, 0x67, 0x7e, 0x72, 0xb3, 0xed, 0xcf, 0xff, 0xb5, 0xeb, 0xa3, 0xb7, 0xf7, 0x8b, - 0x64, 0x56, 0x7c, 0xd6, 0x18, 0x6d, 0x6a, 0x8c, 0x7e, 0x6a, 0x8c, 0x5e, 0x1b, 0x9c, 0x6c, 0x1a, - 0x9c, 0x7c, 0x37, 0x38, 0x79, 0xb8, 0x55, 0x3a, 0x2c, 0xab, 0x82, 0x70, 0x58, 0xd1, 0x67, 0xad, - 0x0a, 0x29, 0x73, 0x56, 0x96, 0x9a, 0x19, 0x2e, 0xa9, 0xd0, 0x3e, 0x38, 0x5d, 0x54, 0x41, 0x8a, - 0x9c, 0xc3, 0xca, 0xc6, 0xe7, 0xbc, 0x94, 0x42, 0x49, 0x47, 0x1f, 0x69, 0x67, 0xf5, 0xe2, 0xb8, - 0xdd, 0xfa, 0xea, 0x37, 0x00, 0x00, 0xff, 0xff, 0x84, 0x49, 0x82, 0x9f, 0x82, 0x01, 0x00, 0x00, +var fileDescriptor_4187fdc153f14fe6 = []byte{ + // 311 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x0a, 0xae, 0xca, 0x4c, 0x4f, + 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4f, 0xc9, 0x2c, 0x2e, 0x29, + 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, + 0xa7, 0x16, 0xe9, 0xa7, 0x24, 0xe7, 0x24, 0x96, 0x96, 0x64, 0xe8, 0x17, 0xa4, 0xe6, 0xa5, 0x64, + 0xe6, 0xa5, 0xc7, 0x27, 0x26, 0x27, 0xe7, 0x97, 0xe6, 0x95, 0xc4, 0x17, 0xa5, 0x96, 0xe5, 0x27, + 0x27, 0x96, 0x64, 0xe6, 0xe7, 0xe9, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, 0x19, 0xa1, 0x1a, 0xaa, + 0x87, 0xc7, 0x50, 0x3d, 0xa8, 0xa1, 0x52, 0x22, 0xe9, 0xf9, 0xe9, 0xf9, 0x60, 0xed, 0xfa, 0x20, + 0x16, 0xc4, 0x24, 0x29, 0xc9, 0xe4, 0xfc, 0xe2, 0xdc, 0xfc, 0xe2, 0x78, 0x88, 0x04, 0x84, 0x03, + 0x95, 0xb2, 0x23, 0xc3, 0xe5, 0xe9, 0x45, 0x89, 0x79, 0x25, 0x10, 0xfd, 0x4a, 0x6b, 0x19, 0xb9, + 0x24, 0x02, 0x20, 0x3e, 0x71, 0x84, 0x78, 0x24, 0x08, 0xee, 0x0f, 0x21, 0x23, 0x2e, 0xf6, 0xc4, + 0x94, 0x94, 0xa2, 0xd4, 0xe2, 0x62, 0x09, 0x46, 0x05, 0x46, 0x0d, 0x4e, 0x27, 0x89, 0x4b, 0x5b, + 0x74, 0x45, 0xa0, 0xf6, 0x3b, 0x42, 0x64, 0x82, 0x4b, 0x8a, 0x32, 0xf3, 0xd2, 0x83, 0x60, 0x0a, + 0x85, 0xc2, 0xb9, 0x38, 0x13, 0x0b, 0x0a, 0x8a, 0xf2, 0xcb, 0x12, 0x73, 0x8a, 0x25, 0x98, 0x14, + 0x98, 0x35, 0xb8, 0x8d, 0x2c, 0xf5, 0x48, 0x0f, 0x09, 0x3d, 0x77, 0x90, 0x23, 0x83, 0x10, 0x66, + 0x59, 0xb1, 0xcc, 0x58, 0x20, 0xcf, 0xe0, 0x94, 0x74, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, + 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x4e, 0x78, 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, + 0x72, 0x0c, 0x51, 0x1e, 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0x10, + 0xfb, 0x74, 0xb1, 0x85, 0x8a, 0x2e, 0xc2, 0x46, 0x5d, 0x68, 0xb8, 0x54, 0xc0, 0x43, 0xa6, 0xa4, + 0xb2, 0x20, 0xb5, 0x38, 0x89, 0x0d, 0x1c, 0x34, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x22, + 0x02, 0xac, 0x8a, 0x16, 0x02, 0x00, 0x00, } func (m *PendingAccountRevocation) Marshal() (dAtA []byte, err error) { diff --git a/x/dclauth/types/query.pb.go b/x/dclauth/types/query.pb.go index 27410f673..cec439b32 100644 --- a/x/dclauth/types/query.pb.go +++ b/x/dclauth/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclauth/types/query.proto +// source: zigbeealliance/distributedcomplianceledger/dclauth/query.proto package types @@ -39,7 +39,7 @@ func (m *QueryGetAccountRequest) Reset() { *m = QueryGetAccountRequest{} func (m *QueryGetAccountRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetAccountRequest) ProtoMessage() {} func (*QueryGetAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_81970586c652f7f1, []int{0} + return fileDescriptor_4b6c889ea675319a, []int{0} } func (m *QueryGetAccountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -83,7 +83,7 @@ func (m *QueryGetAccountResponse) Reset() { *m = QueryGetAccountResponse func (m *QueryGetAccountResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetAccountResponse) ProtoMessage() {} func (*QueryGetAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_81970586c652f7f1, []int{1} + return fileDescriptor_4b6c889ea675319a, []int{1} } func (m *QueryGetAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -127,7 +127,7 @@ func (m *QueryAllAccountRequest) Reset() { *m = QueryAllAccountRequest{} func (m *QueryAllAccountRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllAccountRequest) ProtoMessage() {} func (*QueryAllAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_81970586c652f7f1, []int{2} + return fileDescriptor_4b6c889ea675319a, []int{2} } func (m *QueryAllAccountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -172,7 +172,7 @@ func (m *QueryAllAccountResponse) Reset() { *m = QueryAllAccountResponse func (m *QueryAllAccountResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllAccountResponse) ProtoMessage() {} func (*QueryAllAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_81970586c652f7f1, []int{3} + return fileDescriptor_4b6c889ea675319a, []int{3} } func (m *QueryAllAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -223,7 +223,7 @@ func (m *QueryGetPendingAccountRequest) Reset() { *m = QueryGetPendingAc func (m *QueryGetPendingAccountRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetPendingAccountRequest) ProtoMessage() {} func (*QueryGetPendingAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_81970586c652f7f1, []int{4} + return fileDescriptor_4b6c889ea675319a, []int{4} } func (m *QueryGetPendingAccountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -267,7 +267,7 @@ func (m *QueryGetPendingAccountResponse) Reset() { *m = QueryGetPendingA func (m *QueryGetPendingAccountResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetPendingAccountResponse) ProtoMessage() {} func (*QueryGetPendingAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_81970586c652f7f1, []int{5} + return fileDescriptor_4b6c889ea675319a, []int{5} } func (m *QueryGetPendingAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -311,7 +311,7 @@ func (m *QueryAllPendingAccountRequest) Reset() { *m = QueryAllPendingAc func (m *QueryAllPendingAccountRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllPendingAccountRequest) ProtoMessage() {} func (*QueryAllPendingAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_81970586c652f7f1, []int{6} + return fileDescriptor_4b6c889ea675319a, []int{6} } func (m *QueryAllPendingAccountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -356,7 +356,7 @@ func (m *QueryAllPendingAccountResponse) Reset() { *m = QueryAllPendingA func (m *QueryAllPendingAccountResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllPendingAccountResponse) ProtoMessage() {} func (*QueryAllPendingAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_81970586c652f7f1, []int{7} + return fileDescriptor_4b6c889ea675319a, []int{7} } func (m *QueryAllPendingAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -409,7 +409,7 @@ func (m *QueryGetPendingAccountRevocationRequest) Reset() { func (m *QueryGetPendingAccountRevocationRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetPendingAccountRevocationRequest) ProtoMessage() {} func (*QueryGetPendingAccountRevocationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_81970586c652f7f1, []int{8} + return fileDescriptor_4b6c889ea675319a, []int{8} } func (m *QueryGetPendingAccountRevocationRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -455,7 +455,7 @@ func (m *QueryGetPendingAccountRevocationResponse) Reset() { func (m *QueryGetPendingAccountRevocationResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetPendingAccountRevocationResponse) ProtoMessage() {} func (*QueryGetPendingAccountRevocationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_81970586c652f7f1, []int{9} + return fileDescriptor_4b6c889ea675319a, []int{9} } func (m *QueryGetPendingAccountRevocationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -501,7 +501,7 @@ func (m *QueryAllPendingAccountRevocationRequest) Reset() { func (m *QueryAllPendingAccountRevocationRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllPendingAccountRevocationRequest) ProtoMessage() {} func (*QueryAllPendingAccountRevocationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_81970586c652f7f1, []int{10} + return fileDescriptor_4b6c889ea675319a, []int{10} } func (m *QueryAllPendingAccountRevocationRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -548,7 +548,7 @@ func (m *QueryAllPendingAccountRevocationResponse) Reset() { func (m *QueryAllPendingAccountRevocationResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllPendingAccountRevocationResponse) ProtoMessage() {} func (*QueryAllPendingAccountRevocationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_81970586c652f7f1, []int{11} + return fileDescriptor_4b6c889ea675319a, []int{11} } func (m *QueryAllPendingAccountRevocationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -598,7 +598,7 @@ func (m *QueryGetAccountStatRequest) Reset() { *m = QueryGetAccountStatR func (m *QueryGetAccountStatRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetAccountStatRequest) ProtoMessage() {} func (*QueryGetAccountStatRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_81970586c652f7f1, []int{12} + return fileDescriptor_4b6c889ea675319a, []int{12} } func (m *QueryGetAccountStatRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -635,7 +635,7 @@ func (m *QueryGetAccountStatResponse) Reset() { *m = QueryGetAccountStat func (m *QueryGetAccountStatResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetAccountStatResponse) ProtoMessage() {} func (*QueryGetAccountStatResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_81970586c652f7f1, []int{13} + return fileDescriptor_4b6c889ea675319a, []int{13} } func (m *QueryGetAccountStatResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -679,7 +679,7 @@ func (m *QueryGetRevokedAccountRequest) Reset() { *m = QueryGetRevokedAc func (m *QueryGetRevokedAccountRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetRevokedAccountRequest) ProtoMessage() {} func (*QueryGetRevokedAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_81970586c652f7f1, []int{14} + return fileDescriptor_4b6c889ea675319a, []int{14} } func (m *QueryGetRevokedAccountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -723,7 +723,7 @@ func (m *QueryGetRevokedAccountResponse) Reset() { *m = QueryGetRevokedA func (m *QueryGetRevokedAccountResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetRevokedAccountResponse) ProtoMessage() {} func (*QueryGetRevokedAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_81970586c652f7f1, []int{15} + return fileDescriptor_4b6c889ea675319a, []int{15} } func (m *QueryGetRevokedAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -767,7 +767,7 @@ func (m *QueryAllRevokedAccountRequest) Reset() { *m = QueryAllRevokedAc func (m *QueryAllRevokedAccountRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllRevokedAccountRequest) ProtoMessage() {} func (*QueryAllRevokedAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_81970586c652f7f1, []int{16} + return fileDescriptor_4b6c889ea675319a, []int{16} } func (m *QueryAllRevokedAccountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -812,7 +812,7 @@ func (m *QueryAllRevokedAccountResponse) Reset() { *m = QueryAllRevokedA func (m *QueryAllRevokedAccountResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllRevokedAccountResponse) ProtoMessage() {} func (*QueryAllRevokedAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_81970586c652f7f1, []int{17} + return fileDescriptor_4b6c889ea675319a, []int{17} } func (m *QueryAllRevokedAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -863,7 +863,7 @@ func (m *QueryGetRejectedAccountRequest) Reset() { *m = QueryGetRejected func (m *QueryGetRejectedAccountRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetRejectedAccountRequest) ProtoMessage() {} func (*QueryGetRejectedAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_81970586c652f7f1, []int{18} + return fileDescriptor_4b6c889ea675319a, []int{18} } func (m *QueryGetRejectedAccountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -907,7 +907,7 @@ func (m *QueryGetRejectedAccountResponse) Reset() { *m = QueryGetRejecte func (m *QueryGetRejectedAccountResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetRejectedAccountResponse) ProtoMessage() {} func (*QueryGetRejectedAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_81970586c652f7f1, []int{19} + return fileDescriptor_4b6c889ea675319a, []int{19} } func (m *QueryGetRejectedAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -951,7 +951,7 @@ func (m *QueryAllRejectedAccountRequest) Reset() { *m = QueryAllRejected func (m *QueryAllRejectedAccountRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllRejectedAccountRequest) ProtoMessage() {} func (*QueryAllRejectedAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_81970586c652f7f1, []int{20} + return fileDescriptor_4b6c889ea675319a, []int{20} } func (m *QueryAllRejectedAccountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -996,7 +996,7 @@ func (m *QueryAllRejectedAccountResponse) Reset() { *m = QueryAllRejecte func (m *QueryAllRejectedAccountResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllRejectedAccountResponse) ProtoMessage() {} func (*QueryAllRejectedAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_81970586c652f7f1, []int{21} + return fileDescriptor_4b6c889ea675319a, []int{21} } func (m *QueryAllRejectedAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1040,99 +1040,103 @@ func (m *QueryAllRejectedAccountResponse) GetPagination() *query.PageResponse { } func init() { - proto.RegisterType((*QueryGetAccountRequest)(nil), "dclauth.types.QueryGetAccountRequest") - proto.RegisterType((*QueryGetAccountResponse)(nil), "dclauth.types.QueryGetAccountResponse") - proto.RegisterType((*QueryAllAccountRequest)(nil), "dclauth.types.QueryAllAccountRequest") - proto.RegisterType((*QueryAllAccountResponse)(nil), "dclauth.types.QueryAllAccountResponse") - proto.RegisterType((*QueryGetPendingAccountRequest)(nil), "dclauth.types.QueryGetPendingAccountRequest") - proto.RegisterType((*QueryGetPendingAccountResponse)(nil), "dclauth.types.QueryGetPendingAccountResponse") - proto.RegisterType((*QueryAllPendingAccountRequest)(nil), "dclauth.types.QueryAllPendingAccountRequest") - proto.RegisterType((*QueryAllPendingAccountResponse)(nil), "dclauth.types.QueryAllPendingAccountResponse") - proto.RegisterType((*QueryGetPendingAccountRevocationRequest)(nil), "dclauth.types.QueryGetPendingAccountRevocationRequest") - proto.RegisterType((*QueryGetPendingAccountRevocationResponse)(nil), "dclauth.types.QueryGetPendingAccountRevocationResponse") - proto.RegisterType((*QueryAllPendingAccountRevocationRequest)(nil), "dclauth.types.QueryAllPendingAccountRevocationRequest") - proto.RegisterType((*QueryAllPendingAccountRevocationResponse)(nil), "dclauth.types.QueryAllPendingAccountRevocationResponse") - proto.RegisterType((*QueryGetAccountStatRequest)(nil), "dclauth.types.QueryGetAccountStatRequest") - proto.RegisterType((*QueryGetAccountStatResponse)(nil), "dclauth.types.QueryGetAccountStatResponse") - proto.RegisterType((*QueryGetRevokedAccountRequest)(nil), "dclauth.types.QueryGetRevokedAccountRequest") - proto.RegisterType((*QueryGetRevokedAccountResponse)(nil), "dclauth.types.QueryGetRevokedAccountResponse") - proto.RegisterType((*QueryAllRevokedAccountRequest)(nil), "dclauth.types.QueryAllRevokedAccountRequest") - proto.RegisterType((*QueryAllRevokedAccountResponse)(nil), "dclauth.types.QueryAllRevokedAccountResponse") - proto.RegisterType((*QueryGetRejectedAccountRequest)(nil), "dclauth.types.QueryGetRejectedAccountRequest") - proto.RegisterType((*QueryGetRejectedAccountResponse)(nil), "dclauth.types.QueryGetRejectedAccountResponse") - proto.RegisterType((*QueryAllRejectedAccountRequest)(nil), "dclauth.types.QueryAllRejectedAccountRequest") - proto.RegisterType((*QueryAllRejectedAccountResponse)(nil), "dclauth.types.QueryAllRejectedAccountResponse") -} - -func init() { proto.RegisterFile("dclauth/types/query.proto", fileDescriptor_81970586c652f7f1) } - -var fileDescriptor_81970586c652f7f1 = []byte{ - // 1035 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0xcf, 0x6f, 0xdc, 0x44, - 0x14, 0xce, 0x74, 0x81, 0x88, 0xa9, 0x9a, 0xaa, 0xa3, 0xa8, 0xdd, 0x38, 0x89, 0x53, 0x4d, 0xd3, - 0x24, 0x54, 0x59, 0x9b, 0x06, 0x29, 0xfc, 0xb8, 0x6d, 0x0e, 0x14, 0x09, 0x84, 0xda, 0xcd, 0x0d, - 0x09, 0x05, 0xaf, 0x3d, 0x72, 0x0c, 0x8e, 0xc7, 0xb1, 0xbd, 0x85, 0x82, 0xe0, 0x80, 0xc4, 0x1d, - 0x09, 0x2a, 0x21, 0x40, 0xe2, 0x9f, 0x40, 0x1c, 0x7a, 0xe0, 0x86, 0xd4, 0x63, 0x05, 0x17, 0x4e, - 0x11, 0x4a, 0xf8, 0x43, 0x90, 0xc7, 0xcf, 0x5a, 0x8f, 0x77, 0x66, 0xe3, 0x0d, 0xee, 0x2d, 0xd9, - 0xf7, 0xeb, 0xfb, 0xbe, 0x37, 0xf3, 0xde, 0xec, 0xe2, 0x25, 0xcf, 0x0d, 0x9d, 0x51, 0x76, 0x68, - 0x67, 0x8f, 0x62, 0x96, 0xda, 0xc7, 0x23, 0x96, 0x3c, 0xb2, 0xe2, 0x84, 0x67, 0x9c, 0x5c, 0x01, - 0x93, 0x25, 0x4c, 0xc6, 0x8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, 0x3d, 0x52, 0xae, 0x58, 0xed, - 0x3d, 0x52, 0xaf, 0x49, 0xba, 0x2d, 0x00, 0x6d, 0x90, 0xf5, 0x31, 0x20, 0xd8, 0x7d, 0xaa, 0x36, - 0x7f, 0x8f, 0xf0, 0x35, 0x39, 0xd1, 0xb4, 0x6b, 0x34, 0x03, 0x40, 0xed, 0x1e, 0xa7, 0x54, 0x00, - 0x5c, 0x21, 0x86, 0x1e, 0x20, 0xf9, 0x05, 0xe1, 0xab, 0xb5, 0x99, 0x4f, 0xf4, 0x3a, 0xa8, 0xf6, - 0x98, 0x61, 0x35, 0x75, 0xd7, 0xcf, 0x9f, 0x72, 0xbd, 0xa8, 0x84, 0xfb, 0x01, 0x61, 0x52, 0x4b, - 0x95, 0x2b, 0xa7, 0xd7, 0xa2, 0x39, 0x48, 0xfd, 0xc2, 0x54, 0x8d, 0xa0, 0x09, 0x90, 0x7b, 0xc3, - 0xa7, 0xa7, 0x26, 0x7a, 0x76, 0x6a, 0xa2, 0x7f, 0x4e, 0x4d, 0xf4, 0xed, 0x99, 0x39, 0xf7, 0xec, - 0xcc, 0x9c, 0xfb, 0xfb, 0xcc, 0x9c, 0xfb, 0xe0, 0x1d, 0x3f, 0xc8, 0x0e, 0x47, 0x43, 0xcb, 0xe5, - 0x47, 0xf6, 0xe7, 0x81, 0x3f, 0x64, 0xac, 0xe7, 0x84, 0x61, 0xe0, 0x44, 0x2e, 0xb3, 0xbd, 0x20, - 0xcd, 0x92, 0x60, 0x38, 0xca, 0x53, 0xb9, 0xfc, 0x28, 0x2e, 0x3e, 0xee, 0x85, 0xcc, 0xf3, 0x59, - 0x62, 0x7f, 0x66, 0x4b, 0x3f, 0xae, 0x0c, 0x5f, 0x12, 0xbf, 0x8d, 0xbc, 0xf6, 0x5f, 0x00, 0x00, - 0x00, 0xff, 0xff, 0x31, 0x6d, 0xb0, 0x3e, 0xa1, 0x12, 0x00, 0x00, + proto.RegisterType((*QueryGetAccountRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryGetAccountRequest") + proto.RegisterType((*QueryGetAccountResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryGetAccountResponse") + proto.RegisterType((*QueryAllAccountRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryAllAccountRequest") + proto.RegisterType((*QueryAllAccountResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryAllAccountResponse") + proto.RegisterType((*QueryGetPendingAccountRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryGetPendingAccountRequest") + proto.RegisterType((*QueryGetPendingAccountResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryGetPendingAccountResponse") + proto.RegisterType((*QueryAllPendingAccountRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryAllPendingAccountRequest") + proto.RegisterType((*QueryAllPendingAccountResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryAllPendingAccountResponse") + proto.RegisterType((*QueryGetPendingAccountRevocationRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryGetPendingAccountRevocationRequest") + proto.RegisterType((*QueryGetPendingAccountRevocationResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryGetPendingAccountRevocationResponse") + proto.RegisterType((*QueryAllPendingAccountRevocationRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryAllPendingAccountRevocationRequest") + proto.RegisterType((*QueryAllPendingAccountRevocationResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryAllPendingAccountRevocationResponse") + proto.RegisterType((*QueryGetAccountStatRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryGetAccountStatRequest") + proto.RegisterType((*QueryGetAccountStatResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryGetAccountStatResponse") + proto.RegisterType((*QueryGetRevokedAccountRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryGetRevokedAccountRequest") + proto.RegisterType((*QueryGetRevokedAccountResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryGetRevokedAccountResponse") + proto.RegisterType((*QueryAllRevokedAccountRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryAllRevokedAccountRequest") + proto.RegisterType((*QueryAllRevokedAccountResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryAllRevokedAccountResponse") + proto.RegisterType((*QueryGetRejectedAccountRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryGetRejectedAccountRequest") + proto.RegisterType((*QueryGetRejectedAccountResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryGetRejectedAccountResponse") + proto.RegisterType((*QueryAllRejectedAccountRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryAllRejectedAccountRequest") + proto.RegisterType((*QueryAllRejectedAccountResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.QueryAllRejectedAccountResponse") +} + +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/dclauth/query.proto", fileDescriptor_4b6c889ea675319a) +} + +var fileDescriptor_4b6c889ea675319a = []byte{ + // 1068 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x98, 0xcf, 0x6f, 0xdc, 0x44, + 0x14, 0xc7, 0x33, 0xbb, 0x40, 0xc4, 0x54, 0x4a, 0xd5, 0x21, 0xa2, 0x5b, 0x27, 0xdd, 0x20, 0x53, + 0x92, 0x08, 0xb1, 0x36, 0x5d, 0x2e, 0xfc, 0x90, 0x80, 0x0d, 0x82, 0x16, 0xa8, 0xa0, 0xd9, 0xbd, + 0x11, 0x50, 0xf0, 0xda, 0x23, 0xc7, 0xe0, 0x78, 0x1c, 0xdb, 0x1b, 0x51, 0x10, 0x17, 0x84, 0x10, + 0x27, 0x40, 0x20, 0xf1, 0x97, 0x70, 0xe3, 0x80, 0xb8, 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0xbb, 0x50, 0xd9, 0x87, 0x68, 0x02, 0x77, 0x6b, + 0x78, 0x74, 0xdc, 0x46, 0xb7, 0x8f, 0xdb, 0xe8, 0xf7, 0xe3, 0x36, 0xfa, 0xea, 0xa4, 0xbd, 0x70, + 0xfb, 0xa4, 0xbd, 0xf0, 0xeb, 0x49, 0x7b, 0xe1, 0xad, 0xeb, 0xae, 0x97, 0xec, 0x8d, 0x86, 0x86, + 0xcd, 0xf6, 0x4d, 0xbe, 0xbb, 0x8e, 0xec, 0x7e, 0xb8, 0x33, 0xde, 0x5f, 0x07, 0x6e, 0x88, 0x3f, + 0xf8, 0xef, 0x8e, 0x38, 0xb9, 0x15, 0xd2, 0x78, 0xf8, 0x40, 0x76, 0xd1, 0xfb, 0xd4, 0xbf, 0x01, + 0x00, 0x00, 0xff, 0xff, 0xfd, 0x01, 0xad, 0x60, 0x96, 0x18, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1181,7 +1185,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) Account(ctx context.Context, in *QueryGetAccountRequest, opts ...grpc.CallOption) (*QueryGetAccountResponse, error) { out := new(QueryGetAccountResponse) - err := c.cc.Invoke(ctx, "/dclauth.types.Query/Account", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclauth.Query/Account", in, out, opts...) if err != nil { return nil, err } @@ -1190,7 +1194,7 @@ func (c *queryClient) Account(ctx context.Context, in *QueryGetAccountRequest, o func (c *queryClient) AccountAll(ctx context.Context, in *QueryAllAccountRequest, opts ...grpc.CallOption) (*QueryAllAccountResponse, error) { out := new(QueryAllAccountResponse) - err := c.cc.Invoke(ctx, "/dclauth.types.Query/AccountAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclauth.Query/AccountAll", in, out, opts...) if err != nil { return nil, err } @@ -1199,7 +1203,7 @@ func (c *queryClient) AccountAll(ctx context.Context, in *QueryAllAccountRequest func (c *queryClient) PendingAccount(ctx context.Context, in *QueryGetPendingAccountRequest, opts ...grpc.CallOption) (*QueryGetPendingAccountResponse, error) { out := new(QueryGetPendingAccountResponse) - err := c.cc.Invoke(ctx, "/dclauth.types.Query/PendingAccount", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclauth.Query/PendingAccount", in, out, opts...) if err != nil { return nil, err } @@ -1208,7 +1212,7 @@ func (c *queryClient) PendingAccount(ctx context.Context, in *QueryGetPendingAcc func (c *queryClient) PendingAccountAll(ctx context.Context, in *QueryAllPendingAccountRequest, opts ...grpc.CallOption) (*QueryAllPendingAccountResponse, error) { out := new(QueryAllPendingAccountResponse) - err := c.cc.Invoke(ctx, "/dclauth.types.Query/PendingAccountAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclauth.Query/PendingAccountAll", in, out, opts...) if err != nil { return nil, err } @@ -1217,7 +1221,7 @@ func (c *queryClient) PendingAccountAll(ctx context.Context, in *QueryAllPending func (c *queryClient) PendingAccountRevocation(ctx context.Context, in *QueryGetPendingAccountRevocationRequest, opts ...grpc.CallOption) (*QueryGetPendingAccountRevocationResponse, error) { out := new(QueryGetPendingAccountRevocationResponse) - err := c.cc.Invoke(ctx, "/dclauth.types.Query/PendingAccountRevocation", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclauth.Query/PendingAccountRevocation", in, out, opts...) if err != nil { return nil, err } @@ -1226,7 +1230,7 @@ func (c *queryClient) PendingAccountRevocation(ctx context.Context, in *QueryGet func (c *queryClient) PendingAccountRevocationAll(ctx context.Context, in *QueryAllPendingAccountRevocationRequest, opts ...grpc.CallOption) (*QueryAllPendingAccountRevocationResponse, error) { out := new(QueryAllPendingAccountRevocationResponse) - err := c.cc.Invoke(ctx, "/dclauth.types.Query/PendingAccountRevocationAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclauth.Query/PendingAccountRevocationAll", in, out, opts...) if err != nil { return nil, err } @@ -1235,7 +1239,7 @@ func (c *queryClient) PendingAccountRevocationAll(ctx context.Context, in *Query func (c *queryClient) AccountStat(ctx context.Context, in *QueryGetAccountStatRequest, opts ...grpc.CallOption) (*QueryGetAccountStatResponse, error) { out := new(QueryGetAccountStatResponse) - err := c.cc.Invoke(ctx, "/dclauth.types.Query/AccountStat", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclauth.Query/AccountStat", in, out, opts...) if err != nil { return nil, err } @@ -1244,7 +1248,7 @@ func (c *queryClient) AccountStat(ctx context.Context, in *QueryGetAccountStatRe func (c *queryClient) RevokedAccount(ctx context.Context, in *QueryGetRevokedAccountRequest, opts ...grpc.CallOption) (*QueryGetRevokedAccountResponse, error) { out := new(QueryGetRevokedAccountResponse) - err := c.cc.Invoke(ctx, "/dclauth.types.Query/RevokedAccount", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclauth.Query/RevokedAccount", in, out, opts...) if err != nil { return nil, err } @@ -1253,7 +1257,7 @@ func (c *queryClient) RevokedAccount(ctx context.Context, in *QueryGetRevokedAcc func (c *queryClient) RevokedAccountAll(ctx context.Context, in *QueryAllRevokedAccountRequest, opts ...grpc.CallOption) (*QueryAllRevokedAccountResponse, error) { out := new(QueryAllRevokedAccountResponse) - err := c.cc.Invoke(ctx, "/dclauth.types.Query/RevokedAccountAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclauth.Query/RevokedAccountAll", in, out, opts...) if err != nil { return nil, err } @@ -1262,7 +1266,7 @@ func (c *queryClient) RevokedAccountAll(ctx context.Context, in *QueryAllRevoked func (c *queryClient) RejectedAccount(ctx context.Context, in *QueryGetRejectedAccountRequest, opts ...grpc.CallOption) (*QueryGetRejectedAccountResponse, error) { out := new(QueryGetRejectedAccountResponse) - err := c.cc.Invoke(ctx, "/dclauth.types.Query/RejectedAccount", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclauth.Query/RejectedAccount", in, out, opts...) if err != nil { return nil, err } @@ -1271,7 +1275,7 @@ func (c *queryClient) RejectedAccount(ctx context.Context, in *QueryGetRejectedA func (c *queryClient) RejectedAccountAll(ctx context.Context, in *QueryAllRejectedAccountRequest, opts ...grpc.CallOption) (*QueryAllRejectedAccountResponse, error) { out := new(QueryAllRejectedAccountResponse) - err := c.cc.Invoke(ctx, "/dclauth.types.Query/RejectedAccountAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclauth.Query/RejectedAccountAll", in, out, opts...) if err != nil { return nil, err } @@ -1356,7 +1360,7 @@ func _Query_Account_Handler(srv interface{}, ctx context.Context, dec func(inter } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/dclauth.types.Query/Account", + FullMethod: "/zigbeealliance.distributedcomplianceledger.dclauth.Query/Account", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Account(ctx, req.(*QueryGetAccountRequest)) @@ -1374,7 +1378,7 @@ func _Query_AccountAll_Handler(srv interface{}, ctx context.Context, dec func(in } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/dclauth.types.Query/AccountAll", + FullMethod: "/zigbeealliance.distributedcomplianceledger.dclauth.Query/AccountAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).AccountAll(ctx, req.(*QueryAllAccountRequest)) @@ -1392,7 +1396,7 @@ func _Query_PendingAccount_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/dclauth.types.Query/PendingAccount", + FullMethod: "/zigbeealliance.distributedcomplianceledger.dclauth.Query/PendingAccount", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).PendingAccount(ctx, req.(*QueryGetPendingAccountRequest)) @@ -1410,7 +1414,7 @@ func _Query_PendingAccountAll_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/dclauth.types.Query/PendingAccountAll", + FullMethod: "/zigbeealliance.distributedcomplianceledger.dclauth.Query/PendingAccountAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).PendingAccountAll(ctx, req.(*QueryAllPendingAccountRequest)) @@ -1428,7 +1432,7 @@ func _Query_PendingAccountRevocation_Handler(srv interface{}, ctx context.Contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/dclauth.types.Query/PendingAccountRevocation", + FullMethod: "/zigbeealliance.distributedcomplianceledger.dclauth.Query/PendingAccountRevocation", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).PendingAccountRevocation(ctx, req.(*QueryGetPendingAccountRevocationRequest)) @@ -1446,7 +1450,7 @@ func _Query_PendingAccountRevocationAll_Handler(srv interface{}, ctx context.Con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/dclauth.types.Query/PendingAccountRevocationAll", + FullMethod: "/zigbeealliance.distributedcomplianceledger.dclauth.Query/PendingAccountRevocationAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).PendingAccountRevocationAll(ctx, req.(*QueryAllPendingAccountRevocationRequest)) @@ -1464,7 +1468,7 @@ func _Query_AccountStat_Handler(srv interface{}, ctx context.Context, dec func(i } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/dclauth.types.Query/AccountStat", + FullMethod: "/zigbeealliance.distributedcomplianceledger.dclauth.Query/AccountStat", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).AccountStat(ctx, req.(*QueryGetAccountStatRequest)) @@ -1482,7 +1486,7 @@ func _Query_RevokedAccount_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/dclauth.types.Query/RevokedAccount", + FullMethod: "/zigbeealliance.distributedcomplianceledger.dclauth.Query/RevokedAccount", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RevokedAccount(ctx, req.(*QueryGetRevokedAccountRequest)) @@ -1500,7 +1504,7 @@ func _Query_RevokedAccountAll_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/dclauth.types.Query/RevokedAccountAll", + FullMethod: "/zigbeealliance.distributedcomplianceledger.dclauth.Query/RevokedAccountAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RevokedAccountAll(ctx, req.(*QueryAllRevokedAccountRequest)) @@ -1518,7 +1522,7 @@ func _Query_RejectedAccount_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/dclauth.types.Query/RejectedAccount", + FullMethod: "/zigbeealliance.distributedcomplianceledger.dclauth.Query/RejectedAccount", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RejectedAccount(ctx, req.(*QueryGetRejectedAccountRequest)) @@ -1536,7 +1540,7 @@ func _Query_RejectedAccountAll_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/dclauth.types.Query/RejectedAccountAll", + FullMethod: "/zigbeealliance.distributedcomplianceledger.dclauth.Query/RejectedAccountAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RejectedAccountAll(ctx, req.(*QueryAllRejectedAccountRequest)) @@ -1545,7 +1549,7 @@ func _Query_RejectedAccountAll_Handler(srv interface{}, ctx context.Context, dec } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "dclauth.types.Query", + ServiceName: "zigbeealliance.distributedcomplianceledger.dclauth.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -1594,7 +1598,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "dclauth/types/query.proto", + Metadata: "zigbeealliance/distributedcomplianceledger/dclauth/query.proto", } func (m *QueryGetAccountRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/dclauth/types/query.pb.gw.go b/x/dclauth/types/query.pb.gw.go index cb9c75608..127ddaec5 100644 --- a/x/dclauth/types/query.pb.gw.go +++ b/x/dclauth/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: dclauth/types/query.proto +// source: zigbeealliance/distributedcomplianceledger/dclauth/query.proto /* Package types is a reverse proxy. diff --git a/x/dclauth/types/rejected_account.pb.go b/x/dclauth/types/rejected_account.pb.go index ff2e44756..6de4a8b57 100644 --- a/x/dclauth/types/rejected_account.pb.go +++ b/x/dclauth/types/rejected_account.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclauth/types/rejected_account.proto +// source: zigbeealliance/distributedcomplianceledger/dclauth/rejected_account.proto package types @@ -31,7 +31,7 @@ func (m *RejectedAccount) Reset() { *m = RejectedAccount{} } func (m *RejectedAccount) String() string { return proto.CompactTextString(m) } func (*RejectedAccount) ProtoMessage() {} func (*RejectedAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_02aba9c3807e0382, []int{0} + return fileDescriptor_013608431c2fa3ea, []int{0} } func (m *RejectedAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -61,30 +61,30 @@ func (m *RejectedAccount) XXX_DiscardUnknown() { var xxx_messageInfo_RejectedAccount proto.InternalMessageInfo func init() { - proto.RegisterType((*RejectedAccount)(nil), "dclauth.types.RejectedAccount") + proto.RegisterType((*RejectedAccount)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.RejectedAccount") } func init() { - proto.RegisterFile("dclauth/types/rejected_account.proto", fileDescriptor_02aba9c3807e0382) + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/dclauth/rejected_account.proto", fileDescriptor_013608431c2fa3ea) } -var fileDescriptor_02aba9c3807e0382 = []byte{ - // 229 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x49, 0x49, 0xce, 0x49, - 0x2c, 0x2d, 0xc9, 0xd0, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x2f, 0x4a, 0xcd, 0x4a, 0x4d, 0x2e, - 0x49, 0x4d, 0x89, 0x4f, 0x4c, 0x4e, 0xce, 0x2f, 0xcd, 0x2b, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, - 0x17, 0xe2, 0x85, 0xaa, 0xd2, 0x03, 0xab, 0x92, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0xcb, 0xe8, - 0x83, 0x58, 0x10, 0x45, 0x52, 0xd2, 0xa8, 0x46, 0xa1, 0x98, 0x20, 0x25, 0x89, 0x2a, 0x99, 0x5e, - 0x94, 0x08, 0x93, 0x52, 0xf2, 0xe4, 0xe2, 0x0f, 0x82, 0x5a, 0xeb, 0x08, 0xd1, 0x23, 0x64, 0xc6, - 0xc5, 0x0e, 0xd5, 0x2e, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0x6d, 0x24, 0xa6, 0x87, 0xe2, 0x02, 0x3d, - 0xa8, 0x42, 0x27, 0x96, 0x0b, 0xf7, 0xe4, 0x19, 0x83, 0x60, 0x8a, 0x9d, 0x92, 0x4e, 0x3c, 0x92, - 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, - 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0xca, 0x23, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, - 0x39, 0x3f, 0x57, 0xbf, 0x2a, 0x33, 0x3d, 0x29, 0x35, 0x55, 0x37, 0x31, 0x27, 0x27, 0x33, 0x31, - 0x2f, 0x39, 0x55, 0x3f, 0x25, 0xb3, 0xb8, 0xa4, 0x28, 0x33, 0xa9, 0xb4, 0x24, 0x35, 0x45, 0x37, - 0x39, 0x3f, 0xb7, 0x00, 0x22, 0xac, 0x9b, 0x93, 0x9a, 0x92, 0x9e, 0x5a, 0xa4, 0x5f, 0xa1, 0x8f, - 0xe2, 0xf4, 0x24, 0x36, 0xb0, 0xab, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x9d, 0x6c, 0x30, - 0x4d, 0x3a, 0x01, 0x00, 0x00, +var fileDescriptor_013608431c2fa3ea = []byte{ + // 232 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xf2, 0xac, 0xca, 0x4c, 0x4f, + 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4f, 0xc9, 0x2c, 0x2e, 0x29, + 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, + 0xa7, 0x16, 0xe9, 0xa7, 0x24, 0xe7, 0x24, 0x96, 0x96, 0x64, 0xe8, 0x17, 0xa5, 0x66, 0xa5, 0x26, + 0x97, 0xa4, 0xa6, 0xc4, 0x27, 0x26, 0x27, 0xe7, 0x97, 0xe6, 0x95, 0xe8, 0x15, 0x14, 0xe5, 0x97, + 0xe4, 0x0b, 0x19, 0xa1, 0x1a, 0xa5, 0x87, 0xc7, 0x28, 0x3d, 0xa8, 0x51, 0x52, 0x22, 0xe9, 0xf9, + 0xe9, 0xf9, 0x60, 0xed, 0xfa, 0x20, 0x16, 0xc4, 0x24, 0x29, 0x07, 0x32, 0x1c, 0x85, 0xe2, 0x16, + 0xa5, 0x3c, 0x2e, 0xfe, 0x20, 0xa8, 0x2b, 0x1d, 0x21, 0x12, 0x42, 0xd1, 0x5c, 0xec, 0x50, 0x35, + 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0xdc, 0x46, 0xd6, 0x7a, 0xa4, 0x3b, 0x58, 0x0f, 0x6a, 0x9a, 0x13, + 0xcb, 0x85, 0x7b, 0xf2, 0x8c, 0x41, 0x30, 0x13, 0x9d, 0x92, 0x4e, 0x3c, 0x92, 0x63, 0xbc, 0xf0, + 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63, 0xb8, + 0xf1, 0x58, 0x8e, 0x21, 0xca, 0x23, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, + 0x1f, 0x62, 0x9f, 0x2e, 0x36, 0x7f, 0xe9, 0x22, 0x6c, 0xd4, 0x85, 0xfa, 0xac, 0x02, 0xee, 0xb7, + 0x92, 0xca, 0x82, 0xd4, 0xe2, 0x24, 0x36, 0xb0, 0xd7, 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, + 0x8a, 0x18, 0x2a, 0x46, 0xb3, 0x01, 0x00, 0x00, } func (m *RejectedAccount) Marshal() (dAtA []byte, err error) { diff --git a/x/dclauth/types/revoked_account.pb.go b/x/dclauth/types/revoked_account.pb.go index e8f5547e5..23f14536c 100644 --- a/x/dclauth/types/revoked_account.pb.go +++ b/x/dclauth/types/revoked_account.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclauth/types/revoked_account.proto +// source: zigbeealliance/distributedcomplianceledger/dclauth/revoked_account.proto package types @@ -45,20 +45,20 @@ func (x RevokedAccount_Reason) String() string { } func (RevokedAccount_Reason) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_754d7727b571bacb, []int{0, 0} + return fileDescriptor_0da4e0e6766e981b, []int{0, 0} } type RevokedAccount struct { *Account `protobuf:"bytes,1,opt,name=account,proto3,embedded=account" json:"account,omitempty"` RevokeApprovals []*Grant `protobuf:"bytes,2,rep,name=revokeApprovals,proto3" json:"revokeApprovals,omitempty"` - Reason RevokedAccount_Reason `protobuf:"varint,3,opt,name=reason,proto3,enum=dclauth.types.RevokedAccount_Reason" json:"reason,omitempty"` + Reason RevokedAccount_Reason `protobuf:"varint,3,opt,name=reason,proto3,enum=zigbeealliance.distributedcomplianceledger.dclauth.RevokedAccount_Reason" json:"reason,omitempty"` } func (m *RevokedAccount) Reset() { *m = RevokedAccount{} } func (m *RevokedAccount) String() string { return proto.CompactTextString(m) } func (*RevokedAccount) ProtoMessage() {} func (*RevokedAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_754d7727b571bacb, []int{0} + return fileDescriptor_0da4e0e6766e981b, []int{0} } func (m *RevokedAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -102,37 +102,38 @@ func (m *RevokedAccount) GetReason() RevokedAccount_Reason { } func init() { - proto.RegisterEnum("dclauth.types.RevokedAccount_Reason", RevokedAccount_Reason_name, RevokedAccount_Reason_value) - proto.RegisterType((*RevokedAccount)(nil), "dclauth.types.RevokedAccount") + proto.RegisterEnum("zigbeealliance.distributedcomplianceledger.dclauth.RevokedAccount_Reason", RevokedAccount_Reason_name, RevokedAccount_Reason_value) + proto.RegisterType((*RevokedAccount)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.RevokedAccount") } func init() { - proto.RegisterFile("dclauth/types/revoked_account.proto", fileDescriptor_754d7727b571bacb) + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/dclauth/revoked_account.proto", fileDescriptor_0da4e0e6766e981b) } -var fileDescriptor_754d7727b571bacb = []byte{ - // 329 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x90, 0x31, 0x4b, 0xc3, 0x40, - 0x14, 0xc7, 0x73, 0x56, 0x2a, 0x5c, 0x69, 0xad, 0x47, 0x29, 0xb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, - 0x9f, 0xb1, 0x7e, 0xe1, 0x0c, 0xa7, 0xb8, 0x9e, 0x57, 0xc8, 0x19, 0x6e, 0x3e, 0x99, 0x34, 0xb1, - 0x42, 0x2c, 0xc0, 0xaa, 0x48, 0xb6, 0x1d, 0xd2, 0xc5, 0xe4, 0x91, 0x69, 0xc5, 0x15, 0xa4, 0xc9, - 0x82, 0x69, 0x15, 0x32, 0x0b, 0xa6, 0x8d, 0xe6, 0xc1, 0xd7, 0xd6, 0x45, 0x9b, 0xad, 0x8b, 0x7e, - 0xb7, 0x2e, 0xfa, 0xdc, 0xb9, 0xce, 0x66, 0xe7, 0x3a, 0xdf, 0x3b, 0xd7, 0x79, 0x7e, 0x90, 0xca, - 0x2e, 0xd3, 0xc0, 0xe3, 0xb0, 0xa2, 0x1f, 0x4a, 0x06, 0x42, 0x8c, 0x99, 0xd6, 0x8a, 0x45, 0x5c, - 0xd0, 0x50, 0x25, 0xd6, 0xa8, 0x20, 0xb5, 0x22, 0x1c, 0x73, 0x58, 0xc5, 0x79, 0x79, 0xac, 0x45, - 0x28, 0x85, 0xa1, 0x6f, 0xb4, 0x74, 0xed, 0xa0, 0x9e, 0x1d, 0x7a, 0xfa, 0x1f, 0x00, 0x00, 0xff, - 0xff, 0x87, 0xa5, 0x73, 0x07, 0xec, 0x01, 0x00, 0x00, +var fileDescriptor_0da4e0e6766e981b = []byte{ + // 345 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0xd1, 0xb1, 0x4a, 0x03, 0x31, + 0x18, 0x07, 0xf0, 0x4b, 0x2b, 0x15, 0x52, 0xac, 0x35, 0x88, 0x94, 0x0e, 0x67, 0xe9, 0xd4, 0xa5, + 0x39, 0xb8, 0x4e, 0x22, 0x88, 0xed, 0x62, 0x1d, 0x5c, 0x0e, 0xe9, 0xa0, 0x83, 0xe4, 0x72, 0x21, + 0x0d, 0xa6, 0x97, 0x23, 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xe2, 0x56, 0x70, 0xb0, 0x01, + 0x83, 0x1c, 0xee, 0x0e, 0x60, 0xcd, 0xde, 0xa0, 0x03, 0xb8, 0x77, 0xad, 0xb3, 0xd4, 0x30, 0x36, + 0x51, 0x46, 0xc4, 0xbc, 0xe9, 0xa0, 0x23, 0x88, 0xae, 0x88, 0x14, 0x54, 0xa8, 0x2c, 0x9d, 0x10, + 0x29, 0x22, 0x62, 0x94, 0x6e, 0x82, 0x51, 0xf8, 0xb2, 0x74, 0xc1, 0x62, 0xe9, 0x82, 0xf7, 0xa5, + 0x0b, 0x9e, 0x57, 0xae, 0xb3, 0x58, 0xb9, 0xce, 0xeb, 0xca, 0x75, 0x6e, 0xc6, 0x5c, 0x98, 0x69, + 0x16, 0x62, 0xaa, 0x66, 0x9e, 0xcd, 0xda, 0xff, 0xad, 0xd2, 0xfe, 0x77, 0xda, 0x7e, 0x5e, 0xea, + 0xc3, 0x57, 0xad, 0xe6, 0x31, 0x61, 0x69, 0x58, 0xdb, 0xf4, 0x3a, 0xf8, 0x0c, 0x00, 0x00, 0xff, + 0xff, 0x98, 0x8f, 0x5d, 0xaf, 0xef, 0x02, 0x00, 0x00, } func (m *RevokedAccount) Marshal() (dAtA []byte, err error) { diff --git a/x/dclauth/types/tx.pb.go b/x/dclauth/types/tx.pb.go index 5e67f12ab..0666d0027 100644 --- a/x/dclauth/types/tx.pb.go +++ b/x/dclauth/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclauth/types/tx.proto +// source: zigbeealliance/distributedcomplianceledger/dclauth/tx.proto package types @@ -46,7 +46,7 @@ func (m *MsgProposeAddAccount) Reset() { *m = MsgProposeAddAccount{} } func (m *MsgProposeAddAccount) String() string { return proto.CompactTextString(m) } func (*MsgProposeAddAccount) ProtoMessage() {} func (*MsgProposeAddAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_bcdf25acae73dc9d, []int{0} + return fileDescriptor_74a6e066d63491cc, []int{0} } func (m *MsgProposeAddAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -138,7 +138,7 @@ func (m *MsgProposeAddAccountResponse) Reset() { *m = MsgProposeAddAccou func (m *MsgProposeAddAccountResponse) String() string { return proto.CompactTextString(m) } func (*MsgProposeAddAccountResponse) ProtoMessage() {} func (*MsgProposeAddAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bcdf25acae73dc9d, []int{1} + return fileDescriptor_74a6e066d63491cc, []int{1} } func (m *MsgProposeAddAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -178,7 +178,7 @@ func (m *MsgApproveAddAccount) Reset() { *m = MsgApproveAddAccount{} } func (m *MsgApproveAddAccount) String() string { return proto.CompactTextString(m) } func (*MsgApproveAddAccount) ProtoMessage() {} func (*MsgApproveAddAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_bcdf25acae73dc9d, []int{2} + return fileDescriptor_74a6e066d63491cc, []int{2} } func (m *MsgApproveAddAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -242,7 +242,7 @@ func (m *MsgApproveAddAccountResponse) Reset() { *m = MsgApproveAddAccou func (m *MsgApproveAddAccountResponse) String() string { return proto.CompactTextString(m) } func (*MsgApproveAddAccountResponse) ProtoMessage() {} func (*MsgApproveAddAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bcdf25acae73dc9d, []int{3} + return fileDescriptor_74a6e066d63491cc, []int{3} } func (m *MsgApproveAddAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -282,7 +282,7 @@ func (m *MsgProposeRevokeAccount) Reset() { *m = MsgProposeRevokeAccount func (m *MsgProposeRevokeAccount) String() string { return proto.CompactTextString(m) } func (*MsgProposeRevokeAccount) ProtoMessage() {} func (*MsgProposeRevokeAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_bcdf25acae73dc9d, []int{4} + return fileDescriptor_74a6e066d63491cc, []int{4} } func (m *MsgProposeRevokeAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -346,7 +346,7 @@ func (m *MsgProposeRevokeAccountResponse) Reset() { *m = MsgProposeRevok func (m *MsgProposeRevokeAccountResponse) String() string { return proto.CompactTextString(m) } func (*MsgProposeRevokeAccountResponse) ProtoMessage() {} func (*MsgProposeRevokeAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bcdf25acae73dc9d, []int{5} + return fileDescriptor_74a6e066d63491cc, []int{5} } func (m *MsgProposeRevokeAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -386,7 +386,7 @@ func (m *MsgApproveRevokeAccount) Reset() { *m = MsgApproveRevokeAccount func (m *MsgApproveRevokeAccount) String() string { return proto.CompactTextString(m) } func (*MsgApproveRevokeAccount) ProtoMessage() {} func (*MsgApproveRevokeAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_bcdf25acae73dc9d, []int{6} + return fileDescriptor_74a6e066d63491cc, []int{6} } func (m *MsgApproveRevokeAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -450,7 +450,7 @@ func (m *MsgApproveRevokeAccountResponse) Reset() { *m = MsgApproveRevok func (m *MsgApproveRevokeAccountResponse) String() string { return proto.CompactTextString(m) } func (*MsgApproveRevokeAccountResponse) ProtoMessage() {} func (*MsgApproveRevokeAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bcdf25acae73dc9d, []int{7} + return fileDescriptor_74a6e066d63491cc, []int{7} } func (m *MsgApproveRevokeAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -490,7 +490,7 @@ func (m *MsgRejectAddAccount) Reset() { *m = MsgRejectAddAccount{} } func (m *MsgRejectAddAccount) String() string { return proto.CompactTextString(m) } func (*MsgRejectAddAccount) ProtoMessage() {} func (*MsgRejectAddAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_bcdf25acae73dc9d, []int{8} + return fileDescriptor_74a6e066d63491cc, []int{8} } func (m *MsgRejectAddAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -554,7 +554,7 @@ func (m *MsgRejectAddAccountResponse) Reset() { *m = MsgRejectAddAccount func (m *MsgRejectAddAccountResponse) String() string { return proto.CompactTextString(m) } func (*MsgRejectAddAccountResponse) ProtoMessage() {} func (*MsgRejectAddAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_bcdf25acae73dc9d, []int{9} + return fileDescriptor_74a6e066d63491cc, []int{9} } func (m *MsgRejectAddAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -584,66 +584,70 @@ func (m *MsgRejectAddAccountResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgRejectAddAccountResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*MsgProposeAddAccount)(nil), "dclauth.types.MsgProposeAddAccount") - proto.RegisterType((*MsgProposeAddAccountResponse)(nil), "dclauth.types.MsgProposeAddAccountResponse") - proto.RegisterType((*MsgApproveAddAccount)(nil), "dclauth.types.MsgApproveAddAccount") - proto.RegisterType((*MsgApproveAddAccountResponse)(nil), "dclauth.types.MsgApproveAddAccountResponse") - proto.RegisterType((*MsgProposeRevokeAccount)(nil), "dclauth.types.MsgProposeRevokeAccount") - proto.RegisterType((*MsgProposeRevokeAccountResponse)(nil), "dclauth.types.MsgProposeRevokeAccountResponse") - proto.RegisterType((*MsgApproveRevokeAccount)(nil), "dclauth.types.MsgApproveRevokeAccount") - proto.RegisterType((*MsgApproveRevokeAccountResponse)(nil), "dclauth.types.MsgApproveRevokeAccountResponse") - proto.RegisterType((*MsgRejectAddAccount)(nil), "dclauth.types.MsgRejectAddAccount") - proto.RegisterType((*MsgRejectAddAccountResponse)(nil), "dclauth.types.MsgRejectAddAccountResponse") -} - -func init() { proto.RegisterFile("dclauth/types/tx.proto", fileDescriptor_bcdf25acae73dc9d) } - -var fileDescriptor_bcdf25acae73dc9d = []byte{ - // 702 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x96, 0xcf, 0x4f, 0x13, 0x41, - 0x14, 0xc7, 0x59, 0xb7, 0x14, 0x18, 0x62, 0xa2, 0x4b, 0x03, 0x4b, 0xd5, 0x6d, 0x5d, 0x13, 0xd2, - 0x88, 0xdd, 0x45, 0x10, 0x12, 0x88, 0x1c, 0xda, 0x90, 0x28, 0x31, 0x24, 0x64, 0x8d, 0x17, 0x13, - 0x43, 0xf6, 0xc7, 0x63, 0x58, 0xdd, 0xce, 0xac, 0x33, 0xb3, 0x0d, 0xf5, 0x2f, 0xf0, 0xe8, 0xcd, - 0x7f, 0xc4, 0x3f, 0xc2, 0x78, 0x22, 0x9e, 0x3c, 0x11, 0x03, 0x47, 0x13, 0x0f, 0x1c, 0xbd, 0x68, - 0xba, 0xbb, 0x6d, 0x29, 0xdd, 0x0a, 0x1a, 0x0f, 0x46, 0x6f, 0xd3, 0x99, 0xef, 0xbc, 0xef, 0x7b, - 0x9f, 0x79, 0xb3, 0x53, 0x34, 0xed, 0xb9, 0x81, 0x1d, 0x89, 0x3d, 0x53, 0xb4, 0x42, 0xe0, 0xa6, - 0xd8, 0x37, 0x42, 0x46, 0x05, 0x55, 0x2e, 0xa7, 0xf3, 0x46, 0x3c, 0x5f, 0x9c, 0xc5, 0x94, 0xe2, - 0x00, 0xcc, 0x78, 0xd1, 0x89, 0x76, 0x4d, 0x9b, 0xb4, 0x12, 0x65, 0xb1, 0x80, 0x29, 0xa6, 0xf1, - 0xd0, 0x6c, 0x8f, 0xd2, 0xd9, 0x59, 0x97, 0xf2, 0x06, 0xe5, 0x3b, 0xc9, 0x42, 0xf2, 0x23, 0x5d, - 0x2a, 0xb9, 0xb4, 0xd1, 0xa0, 0x24, 0x75, 0x8c, 0x7c, 0x22, 0xee, 0xae, 0xec, 0x30, 0x9b, 0x60, - 0x48, 0x04, 0xfa, 0x77, 0x19, 0x15, 0xb6, 0x38, 0xde, 0x66, 0x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, 0x7f, 0x01, 0x51, 0xc7, 0xae, 0x6d, 0x33, 0xf8, - 0x29, 0xc9, 0xb0, 0x19, 0x10, 0x65, 0xd9, 0x0c, 0xbd, 0xa7, 0x0a, 0x41, 0x85, 0xcc, 0x3b, 0x3a, - 0x37, 0x34, 0xd7, 0x3e, 0x5d, 0xd1, 0xb8, 0x98, 0xee, 0xb4, 0x5f, 0x66, 0xff, 0xcf, 0x0d, 0x4d, - 0xfa, 0x5c, 0xbf, 0x9f, 0xf5, 0x97, 0xe2, 0xa0, 0x2b, 0x03, 0xbd, 0xa5, 0x0f, 0xc6, 0x38, 0xab, - 0x29, 0xde, 0x3e, 0x5f, 0xd3, 0xf1, 0xa8, 0x3b, 0xef, 0x8f, 0x34, 0xe9, 0xe0, 0x48, 0x93, 0x3e, - 0x1f, 0x69, 0xd2, 0x9b, 0x63, 0x6d, 0xe4, 0xe0, 0x58, 0x1b, 0xf9, 0x74, 0xac, 0x8d, 0x3c, 0x7d, - 0x88, 0x7d, 0xb1, 0x17, 0x39, 0xed, 0x07, 0xc6, 0x7c, 0xe5, 0x63, 0x07, 0xa0, 0x6a, 0x07, 0x81, - 0x6f, 0x13, 0x17, 0x4c, 0xcf, 0xe7, 0x82, 0xf9, 0x4e, 0x24, 0xc0, 0xab, 0xba, 0xb4, 0x11, 0x26, - 0xd3, 0xd5, 0x00, 0x3c, 0x0c, 0xcc, 0xdc, 0x37, 0xfb, 0xfe, 0x04, 0x39, 0xf9, 0xf8, 0xe9, 0x5e, - 0xfa, 0x11, 0x00, 0x00, 0xff, 0xff, 0x06, 0xee, 0x96, 0x5f, 0x1c, 0x09, 0x00, 0x00, + proto.RegisterType((*MsgProposeAddAccount)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.MsgProposeAddAccount") + proto.RegisterType((*MsgProposeAddAccountResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.MsgProposeAddAccountResponse") + proto.RegisterType((*MsgApproveAddAccount)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.MsgApproveAddAccount") + proto.RegisterType((*MsgApproveAddAccountResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.MsgApproveAddAccountResponse") + proto.RegisterType((*MsgProposeRevokeAccount)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.MsgProposeRevokeAccount") + proto.RegisterType((*MsgProposeRevokeAccountResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.MsgProposeRevokeAccountResponse") + proto.RegisterType((*MsgApproveRevokeAccount)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.MsgApproveRevokeAccount") + proto.RegisterType((*MsgApproveRevokeAccountResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.MsgApproveRevokeAccountResponse") + proto.RegisterType((*MsgRejectAddAccount)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.MsgRejectAddAccount") + proto.RegisterType((*MsgRejectAddAccountResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclauth.MsgRejectAddAccountResponse") +} + +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/dclauth/tx.proto", fileDescriptor_74a6e066d63491cc) +} + +var fileDescriptor_74a6e066d63491cc = []byte{ + // 726 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x96, 0x41, 0x4f, 0x13, 0x41, + 0x14, 0xc7, 0x19, 0x5b, 0x0a, 0x0c, 0x17, 0x5d, 0x1a, 0x59, 0xaa, 0x6e, 0x6b, 0x0f, 0xa6, 0x89, + 0x76, 0x17, 0x8b, 0x90, 0x88, 0x62, 0xd2, 0x86, 0x04, 0x08, 0x21, 0x92, 0x25, 0x5e, 0x4c, 0x94, + 0x6c, 0x77, 0x1f, 0xc3, 0xea, 0x76, 0x67, 0x9d, 0x99, 0x6d, 0xa8, 0x9f, 0xc0, 0x93, 0xf1, 0x43, + 0x78, 0x34, 0xf1, 0xe2, 0xc1, 0x8f, 0x60, 0x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, 0x88, 0x65, 0xb6, 0x86, 0x28, 0xd6, 0x61, + 0x3d, 0xf6, 0x84, 0xaf, 0x5f, 0x8c, 0xd2, 0x70, 0xac, 0x9f, 0x77, 0x16, 0xa5, 0x0f, 0x08, 0x5f, + 0xee, 0x3a, 0x88, 0x2b, 0x03, 0xee, 0x74, 0x56, 0x28, 0xf3, 0x78, 0x48, 0x42, 0x4d, 0xbb, 0x95, + 0xea, 0x97, 0x43, 0x05, 0xed, 0x1f, 0x2a, 0xe8, 0xc7, 0xa1, 0x82, 0xde, 0x1d, 0x29, 0x23, 0xfb, + 0x47, 0xca, 0xc8, 0xf7, 0x23, 0x65, 0xe4, 0xe9, 0x2a, 0xb1, 0xc5, 0xae, 0x5f, 0x3d, 0x79, 0xd1, + 0xb5, 0x70, 0xd3, 0x62, 0x5c, 0x8f, 0x58, 0x6c, 0x6f, 0x5b, 0x8c, 0xba, 0xc4, 0xbd, 0x76, 0x93, + 0xdb, 0xf0, 0x80, 0x57, 0x53, 0x41, 0x5b, 0x35, 0xf7, 0x27, 0x00, 0x00, 0xff, 0xff, 0x43, 0xc3, + 0x7b, 0x89, 0x27, 0x0b, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -675,7 +679,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { func (c *msgClient) ProposeAddAccount(ctx context.Context, in *MsgProposeAddAccount, opts ...grpc.CallOption) (*MsgProposeAddAccountResponse, error) { out := new(MsgProposeAddAccountResponse) - err := c.cc.Invoke(ctx, "/dclauth.types.Msg/ProposeAddAccount", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclauth.Msg/ProposeAddAccount", in, out, opts...) if err != nil { return nil, err } @@ -684,7 +688,7 @@ func (c *msgClient) ProposeAddAccount(ctx context.Context, in *MsgProposeAddAcco func (c *msgClient) ApproveAddAccount(ctx context.Context, in *MsgApproveAddAccount, opts ...grpc.CallOption) (*MsgApproveAddAccountResponse, error) { out := new(MsgApproveAddAccountResponse) - err := c.cc.Invoke(ctx, "/dclauth.types.Msg/ApproveAddAccount", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclauth.Msg/ApproveAddAccount", in, out, opts...) if err != nil { return nil, err } @@ -693,7 +697,7 @@ func (c *msgClient) ApproveAddAccount(ctx context.Context, in *MsgApproveAddAcco func (c *msgClient) ProposeRevokeAccount(ctx context.Context, in *MsgProposeRevokeAccount, opts ...grpc.CallOption) (*MsgProposeRevokeAccountResponse, error) { out := new(MsgProposeRevokeAccountResponse) - err := c.cc.Invoke(ctx, "/dclauth.types.Msg/ProposeRevokeAccount", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclauth.Msg/ProposeRevokeAccount", in, out, opts...) if err != nil { return nil, err } @@ -702,7 +706,7 @@ func (c *msgClient) ProposeRevokeAccount(ctx context.Context, in *MsgProposeRevo func (c *msgClient) ApproveRevokeAccount(ctx context.Context, in *MsgApproveRevokeAccount, opts ...grpc.CallOption) (*MsgApproveRevokeAccountResponse, error) { out := new(MsgApproveRevokeAccountResponse) - err := c.cc.Invoke(ctx, "/dclauth.types.Msg/ApproveRevokeAccount", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclauth.Msg/ApproveRevokeAccount", in, out, opts...) if err != nil { return nil, err } @@ -711,7 +715,7 @@ func (c *msgClient) ApproveRevokeAccount(ctx context.Context, in *MsgApproveRevo func (c *msgClient) RejectAddAccount(ctx context.Context, in *MsgRejectAddAccount, opts ...grpc.CallOption) (*MsgRejectAddAccountResponse, error) { out := new(MsgRejectAddAccountResponse) - err := c.cc.Invoke(ctx, "/dclauth.types.Msg/RejectAddAccount", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclauth.Msg/RejectAddAccount", in, out, opts...) if err != nil { return nil, err } @@ -761,7 +765,7 @@ func _Msg_ProposeAddAccount_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/dclauth.types.Msg/ProposeAddAccount", + FullMethod: "/zigbeealliance.distributedcomplianceledger.dclauth.Msg/ProposeAddAccount", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ProposeAddAccount(ctx, req.(*MsgProposeAddAccount)) @@ -779,7 +783,7 @@ func _Msg_ApproveAddAccount_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/dclauth.types.Msg/ApproveAddAccount", + FullMethod: "/zigbeealliance.distributedcomplianceledger.dclauth.Msg/ApproveAddAccount", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ApproveAddAccount(ctx, req.(*MsgApproveAddAccount)) @@ -797,7 +801,7 @@ func _Msg_ProposeRevokeAccount_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/dclauth.types.Msg/ProposeRevokeAccount", + FullMethod: "/zigbeealliance.distributedcomplianceledger.dclauth.Msg/ProposeRevokeAccount", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ProposeRevokeAccount(ctx, req.(*MsgProposeRevokeAccount)) @@ -815,7 +819,7 @@ func _Msg_ApproveRevokeAccount_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/dclauth.types.Msg/ApproveRevokeAccount", + FullMethod: "/zigbeealliance.distributedcomplianceledger.dclauth.Msg/ApproveRevokeAccount", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ApproveRevokeAccount(ctx, req.(*MsgApproveRevokeAccount)) @@ -833,7 +837,7 @@ func _Msg_RejectAddAccount_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/dclauth.types.Msg/RejectAddAccount", + FullMethod: "/zigbeealliance.distributedcomplianceledger.dclauth.Msg/RejectAddAccount", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).RejectAddAccount(ctx, req.(*MsgRejectAddAccount)) @@ -842,7 +846,7 @@ func _Msg_RejectAddAccount_Handler(srv interface{}, ctx context.Context, dec fun } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "dclauth.types.Msg", + ServiceName: "zigbeealliance.distributedcomplianceledger.dclauth.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -867,7 +871,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "dclauth/types/tx.proto", + Metadata: "zigbeealliance/distributedcomplianceledger/dclauth/tx.proto", } func (m *MsgProposeAddAccount) Marshal() (dAtA []byte, err error) { diff --git a/x/dclgenutil/types/genesis.pb.go b/x/dclgenutil/types/genesis.pb.go index 3730b00d5..1f1b91e9e 100644 --- a/x/dclgenutil/types/genesis.pb.go +++ b/x/dclgenutil/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclgenutil/types/genesis.proto +// source: zigbeealliance/distributedcomplianceledger/dclgenutil/genesis.proto package types @@ -34,7 +34,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} } func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_e9ac2e84fd5b68af, []int{0} + return fileDescriptor_8a376931cce565cf, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -71,29 +71,31 @@ func (m *GenesisState) GetGenTxs() []encoding_json.RawMessage { } func init() { - proto.RegisterType((*GenesisState)(nil), "dclgenutil.types.GenesisState") + proto.RegisterType((*GenesisState)(nil), "zigbeealliance.distributedcomplianceledger.dclgenutil.GenesisState") } -func init() { proto.RegisterFile("dclgenutil/types/genesis.proto", fileDescriptor_e9ac2e84fd5b68af) } +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/dclgenutil/genesis.proto", fileDescriptor_8a376931cce565cf) +} -var fileDescriptor_e9ac2e84fd5b68af = []byte{ - // 242 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x8f, 0xb1, 0x4a, 0xc4, 0x40, - 0x10, 0x86, 0x13, 0x84, 0x13, 0xc2, 0x15, 0x72, 0x58, 0x1c, 0x16, 0x7b, 0x62, 0x21, 0x36, 0xc9, - 0x16, 0x3e, 0x80, 0x70, 0x8d, 0x85, 0x88, 0x70, 0x5a, 0xd9, 0xc8, 0x66, 0x77, 0x18, 0x57, 0xf6, - 0x76, 0x42, 0x66, 0x82, 0xd1, 0xa7, 0xf0, 0xb1, 0x2c, 0xaf, 0xb4, 0x3a, 0x24, 0xe9, 0x7c, 0x04, - 0x2b, 0xb9, 0xa4, 0x10, 0xae, 0x1b, 0xe6, 0xfb, 0x7e, 0xf8, 0xff, 0x4c, 0x39, 0x1b, 0x10, 0x62, - 0x23, 0x3e, 0x68, 0x79, 0xab, 0x80, 0x35, 0x42, 0x04, 0xf6, 0x5c, 0x54, 0x35, 0x09, 0xcd, 0x8e, - 0xfe, 0x79, 0x31, 0xf0, 0x93, 0x63, 0x24, 0xa4, 0x01, 0xea, 0xdd, 0x35, 0x7a, 0x67, 0x77, 0xd9, - 0xf4, 0x7a, 0x0c, 0xde, 0x8b, 0x11, 0x98, 0x5d, 0x65, 0x87, 0x08, 0xf1, 0x49, 0x5a, 0x9e, 0xa7, - 0xa7, 0x07, 0x17, 0xd3, 0xe5, 0xf9, 0xcf, 0x76, 0x31, 0x41, 0x88, 0xd2, 0xf2, 0xef, 0x76, 0x31, - 0x87, 0x68, 0xc9, 0xf9, 0x88, 0xfa, 0x85, 0x29, 0x16, 0x2b, 0xf3, 0x7a, 0x0b, 0xcc, 0x06, 0x61, - 0xb5, 0x73, 0x1e, 0x5a, 0x5e, 0xc2, 0x67, 0xa7, 0xd2, 0x4d, 0xa7, 0xd2, 0xef, 0x4e, 0xa5, 0x1f, - 0xbd, 0x4a, 0x36, 0xbd, 0x4a, 0xbe, 0x7a, 0x95, 0x3c, 0xde, 0xa0, 0x97, 0xe7, 0xa6, 0x2c, 0x2c, - 0xad, 0xf5, 0xbb, 0xc7, 0x12, 0x20, 0x37, 0x21, 0x78, 0x13, 0x2d, 0x68, 0xe7, 0x59, 0x6a, 0x5f, - 0x36, 0x02, 0x2e, 0xb7, 0xb4, 0xae, 0xc6, 0x77, 0x1e, 0xc0, 0x21, 0xd4, 0xba, 0xd5, 0xfb, 0x6b, - 0xcb, 0xc9, 0x50, 0xff, 0xf2, 0x2f, 0x00, 0x00, 0xff, 0xff, 0xd0, 0x7d, 0x45, 0xe7, 0x08, 0x01, - 0x00, 0x00, +var fileDescriptor_8a376931cce565cf = []byte{ + // 255 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x72, 0xae, 0xca, 0x4c, 0x4f, + 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4f, 0xc9, 0x2c, 0x2e, 0x29, + 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, + 0xa7, 0x16, 0xe9, 0xa7, 0x24, 0xe7, 0xa4, 0xa7, 0xe6, 0x95, 0x96, 0x64, 0xe6, 0xe8, 0xa7, 0xa7, + 0xe6, 0xa5, 0x16, 0x67, 0x16, 0xeb, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, 0x99, 0xa2, 0x1a, 0xa2, + 0x87, 0xc7, 0x10, 0x3d, 0x84, 0x21, 0x52, 0x22, 0xe9, 0xf9, 0xe9, 0xf9, 0x60, 0x13, 0xf4, 0x41, + 0x2c, 0x88, 0x61, 0x4a, 0xfe, 0x5c, 0x3c, 0xee, 0x10, 0xd3, 0x83, 0x4b, 0x12, 0x4b, 0x52, 0x85, + 0xec, 0xb9, 0xd8, 0xd3, 0x53, 0xf3, 0xe2, 0x4b, 0x2a, 0x8a, 0x25, 0x18, 0x15, 0x98, 0x35, 0x78, + 0x9c, 0xd4, 0x5e, 0xdd, 0x93, 0x67, 0x4b, 0x4f, 0xcd, 0x2b, 0xa9, 0x28, 0xfe, 0x75, 0x4f, 0x5e, + 0x22, 0x35, 0x2f, 0x39, 0x3f, 0x25, 0x33, 0x2f, 0x5d, 0x3f, 0xab, 0x38, 0x3f, 0x4f, 0x2f, 0x28, + 0xb1, 0xdc, 0x37, 0xb5, 0xb8, 0x38, 0x31, 0x3d, 0x35, 0x08, 0xa4, 0x26, 0xa4, 0xa2, 0xd8, 0x29, + 0xf5, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, 0x58, + 0x8e, 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0xbc, 0xd3, 0x33, 0x4b, 0x32, + 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x21, 0x5e, 0xd0, 0xc5, 0x16, 0x10, 0xba, 0x08, 0x4f, + 0xe8, 0x42, 0x83, 0xa2, 0x02, 0x39, 0x30, 0x4a, 0x2a, 0x0b, 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0xce, + 0x37, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0xec, 0xda, 0x10, 0x57, 0x52, 0x01, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/dclgenutil/types/query.pb.go b/x/dclgenutil/types/query.pb.go index 43c57b0ea..997d5f72f 100644 --- a/x/dclgenutil/types/query.pb.go +++ b/x/dclgenutil/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclgenutil/types/query.proto +// source: zigbeealliance/distributedcomplianceledger/dclgenutil/query.proto package types @@ -24,22 +24,25 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -func init() { proto.RegisterFile("dclgenutil/types/query.proto", fileDescriptor_c92f05c0099f8333) } +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/dclgenutil/query.proto", fileDescriptor_405203a00d51f2d1) +} -var fileDescriptor_c92f05c0099f8333 = []byte{ - // 186 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x49, 0x49, 0xce, 0x49, - 0x4f, 0xcd, 0x2b, 0x2d, 0xc9, 0xcc, 0xd1, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x2f, 0x2c, 0x4d, - 0x2d, 0xaa, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x40, 0xc8, 0xea, 0x81, 0x65, 0xa5, - 0x64, 0xd2, 0xf3, 0xf3, 0xd3, 0x73, 0x52, 0xf5, 0x13, 0x0b, 0x32, 0xf5, 0x13, 0xf3, 0xf2, 0xf2, - 0x4b, 0x12, 0x4b, 0x32, 0xf3, 0xf3, 0x8a, 0x21, 0xea, 0x8d, 0xd8, 0xb9, 0x58, 0x03, 0x41, 0xda, - 0x9d, 0x52, 0x4f, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, - 0x8f, 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0xca, 0x3b, 0x3d, 0xb3, - 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0xbf, 0x2a, 0x33, 0x3d, 0x29, 0x35, 0x55, 0x37, - 0x31, 0x27, 0x27, 0x33, 0x31, 0x2f, 0x39, 0x55, 0x3f, 0x25, 0xb3, 0xb8, 0xa4, 0x28, 0x33, 0xa9, - 0xb4, 0x24, 0x35, 0x45, 0x37, 0x39, 0x3f, 0xb7, 0x00, 0x22, 0xac, 0x9b, 0x93, 0x9a, 0x92, 0x9e, - 0x5a, 0xa4, 0x5f, 0xa1, 0x8f, 0xee, 0xd6, 0x24, 0x36, 0xb0, 0xb5, 0xc6, 0x80, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xcf, 0x4b, 0x82, 0x47, 0xc6, 0x00, 0x00, 0x00, +var fileDescriptor_405203a00d51f2d1 = []byte{ + // 197 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x72, 0xac, 0xca, 0x4c, 0x4f, + 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4f, 0xc9, 0x2c, 0x2e, 0x29, + 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, + 0xa7, 0x16, 0xe9, 0xa7, 0x24, 0xe7, 0xa4, 0xa7, 0xe6, 0x95, 0x96, 0x64, 0xe6, 0xe8, 0x17, 0x96, + 0xa6, 0x16, 0x55, 0xea, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, 0x99, 0xa2, 0x1a, 0xa1, 0x87, 0xc7, + 0x08, 0x3d, 0x84, 0x11, 0x52, 0x32, 0xe9, 0xf9, 0xf9, 0xe9, 0x39, 0xa9, 0xfa, 0x89, 0x05, 0x99, + 0xfa, 0x89, 0x79, 0x79, 0xf9, 0x25, 0x89, 0x25, 0x99, 0xf9, 0x79, 0xc5, 0x10, 0x43, 0x8d, 0xd8, + 0xb9, 0x58, 0x03, 0x41, 0x76, 0x38, 0xa5, 0x9e, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, + 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, + 0x43, 0x94, 0x77, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x3e, 0xc4, 0x09, + 0xba, 0xd8, 0xbc, 0xa1, 0x8b, 0x70, 0x84, 0x2e, 0xd4, 0x23, 0x15, 0xc8, 0x5e, 0x29, 0xa9, 0x2c, + 0x48, 0x2d, 0x4e, 0x62, 0x03, 0x5b, 0x6b, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x06, 0x8e, 0x75, + 0x08, 0x10, 0x01, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -77,9 +80,9 @@ func RegisterQueryServer(s grpc1.Server, srv QueryServer) { } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "dclgenutil.types.Query", + ServiceName: "zigbeealliance.distributedcomplianceledger.dclgenutil.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{}, - Metadata: "dclgenutil/types/query.proto", + Metadata: "zigbeealliance/distributedcomplianceledger/dclgenutil/query.proto", } diff --git a/x/dclgenutil/types/tx.pb.go b/x/dclgenutil/types/tx.pb.go index 6076c092a..f0becb950 100644 --- a/x/dclgenutil/types/tx.pb.go +++ b/x/dclgenutil/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclgenutil/types/tx.proto +// source: zigbeealliance/distributedcomplianceledger/dclgenutil/tx.proto package types @@ -23,20 +23,23 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -func init() { proto.RegisterFile("dclgenutil/types/tx.proto", fileDescriptor_fac6b518f1ce9d40) } +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/dclgenutil/tx.proto", fileDescriptor_6fad35033dd94b88) +} -var fileDescriptor_fac6b518f1ce9d40 = []byte{ - // 157 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4c, 0x49, 0xce, 0x49, - 0x4f, 0xcd, 0x2b, 0x2d, 0xc9, 0xcc, 0xd1, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x2f, 0xa9, 0xd0, - 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x40, 0x48, 0xe9, 0x81, 0xa5, 0x8c, 0x58, 0xb9, 0x98, - 0x7d, 0x8b, 0xd3, 0x9d, 0x52, 0x4f, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, 0x23, - 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0xca, - 0x3b, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0xbf, 0x2a, 0x33, 0x3d, 0x29, - 0x35, 0x55, 0x37, 0x31, 0x27, 0x27, 0x33, 0x31, 0x2f, 0x39, 0x55, 0x3f, 0x25, 0xb3, 0xb8, 0xa4, - 0x28, 0x33, 0xa9, 0xb4, 0x24, 0x35, 0x45, 0x37, 0x39, 0x3f, 0xb7, 0x00, 0x22, 0xac, 0x9b, 0x93, - 0x9a, 0x92, 0x9e, 0x5a, 0xa4, 0x5f, 0xa1, 0x8f, 0xee, 0x90, 0x24, 0x36, 0xb0, 0x33, 0x8c, 0x01, - 0x01, 0x00, 0x00, 0xff, 0xff, 0xf9, 0x55, 0x5a, 0x9b, 0xa3, 0x00, 0x00, 0x00, +var fileDescriptor_6fad35033dd94b88 = []byte{ + // 166 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0xab, 0xca, 0x4c, 0x4f, + 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4f, 0xc9, 0x2c, 0x2e, 0x29, + 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, + 0xa7, 0x16, 0xe9, 0xa7, 0x24, 0xe7, 0xa4, 0xa7, 0xe6, 0x95, 0x96, 0x64, 0xe6, 0xe8, 0x97, 0x54, + 0xe8, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, 0x99, 0xa2, 0xea, 0xd7, 0xc3, 0xa3, 0x5f, 0x0f, 0xa1, + 0xdf, 0x88, 0x95, 0x8b, 0xd9, 0xb7, 0x38, 0xdd, 0x29, 0xf5, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, + 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, + 0x8f, 0xe5, 0x18, 0xa2, 0xbc, 0xd3, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, + 0x21, 0x56, 0xe8, 0x62, 0x73, 0xa3, 0x2e, 0xc2, 0x12, 0x5d, 0xa8, 0x2b, 0x2b, 0x50, 0xdc, 0x59, + 0x59, 0x90, 0x5a, 0x9c, 0xc4, 0x06, 0x76, 0xab, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x58, 0x47, + 0xcc, 0xd0, 0xed, 0x00, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -74,9 +77,9 @@ func RegisterMsgServer(s grpc1.Server, srv MsgServer) { } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "dclgenutil.types.Msg", + ServiceName: "zigbeealliance.distributedcomplianceledger.dclgenutil.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{}, - Metadata: "dclgenutil/types/tx.proto", + Metadata: "zigbeealliance/distributedcomplianceledger/dclgenutil/tx.proto", } diff --git a/x/dclupgrade/types/approved_upgrade.pb.go b/x/dclupgrade/types/approved_upgrade.pb.go index e8f120c29..a987bd2c4 100644 --- a/x/dclupgrade/types/approved_upgrade.pb.go +++ b/x/dclupgrade/types/approved_upgrade.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclupgrade/types/approved_upgrade.proto +// source: zigbeealliance/distributedcomplianceledger/dclupgrade/approved_upgrade.proto package types @@ -36,7 +36,7 @@ func (m *ApprovedUpgrade) Reset() { *m = ApprovedUpgrade{} } func (m *ApprovedUpgrade) String() string { return proto.CompactTextString(m) } func (*ApprovedUpgrade) ProtoMessage() {} func (*ApprovedUpgrade) Descriptor() ([]byte, []int) { - return fileDescriptor_d406f10bed8b6e58, []int{0} + return fileDescriptor_fb4c43c47cec3bb3, []int{0} } func (m *ApprovedUpgrade) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -94,37 +94,38 @@ func (m *ApprovedUpgrade) GetRejects() []*Grant { } func init() { - proto.RegisterType((*ApprovedUpgrade)(nil), "dclupgrade.types.ApprovedUpgrade") + proto.RegisterType((*ApprovedUpgrade)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.ApprovedUpgrade") } func init() { - proto.RegisterFile("dclupgrade/types/approved_upgrade.proto", fileDescriptor_d406f10bed8b6e58) + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/dclupgrade/approved_upgrade.proto", fileDescriptor_fb4c43c47cec3bb3) } -var fileDescriptor_d406f10bed8b6e58 = []byte{ - // 343 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0x2b, 0x31, - 0x14, 0x86, 0x67, 0x6e, 0xcb, 0x2d, 0x9d, 0x2e, 0xee, 0x65, 0x28, 0xdc, 0xb9, 0xa5, 0x8c, 0x45, - 0x04, 0xbb, 0x99, 0x84, 0x56, 0x74, 0xdf, 0x6e, 0x5c, 0xb8, 0x91, 0x8a, 0x1b, 0x37, 0x25, 0x93, - 0x1c, 0xe2, 0x48, 0x3a, 0x09, 0x49, 0x5a, 0xd4, 0xa7, 0xf0, 0x61, 0x7c, 0x88, 0x2e, 0x8b, 0x2b, - 0x57, 0x22, 0xed, 0xc2, 0xd7, 0x90, 0x4e, 0x66, 0x28, 0x56, 0x70, 0x97, 0x73, 0xfe, 0xef, 0xe4, - 0xff, 0xf9, 0x83, 0x63, 0x46, 0xc5, 0x5c, 0x71, 0x4d, 0x18, 0x60, 0xfb, 0xa0, 0xc0, 0x60, 0xa2, - 0x94, 0x96, 0x0b, 0x60, 0xd3, 0x72, 0x8d, 0x94, 0x96, 0x56, 0x86, 0x7f, 0x77, 0x20, 0x2a, 0xc0, - 0x4e, 0x9b, 0x4b, 0x2e, 0x0b, 0x11, 0x6f, 0x5f, 0x8e, 0xeb, 0xfc, 0xa7, 0xd2, 0xcc, 0xa4, 0x99, - 0x3a, 0xc1, 0x0d, 0xa5, 0x74, 0xe4, 0x26, 0x5c, 0xf9, 0x2d, 0x06, 0x29, 0x58, 0x32, 0xc0, 0x5f, - 0x8c, 0x3a, 0xdd, 0x6f, 0x89, 0xb8, 0x26, 0xb9, 0x75, 0xea, 0xe1, 0x87, 0x1f, 0xfc, 0x19, 0x95, - 0x09, 0xaf, 0x1d, 0x15, 0x9e, 0x05, 0x75, 0x25, 0x48, 0x1e, 0xf9, 0x3d, 0xbf, 0xdf, 0x1a, 0x76, - 0x51, 0x69, 0x5a, 0x7d, 0x5b, 0xda, 0xa0, 0x4b, 0x41, 0xf2, 0x71, 0x7d, 0xf9, 0x76, 0xe0, 0x4d, - 0x0a, 0x3e, 0x1c, 0x06, 0x0d, 0xaa, 0x81, 0x58, 0xa9, 0xa3, 0x5f, 0x3d, 0xbf, 0xdf, 0x1c, 0x47, - 0x2f, 0xcf, 0x49, 0xbb, 0xbc, 0x1e, 0x31, 0xa6, 0xc1, 0x98, 0x2b, 0xab, 0xb3, 0x9c, 0x4f, 0x2a, - 0x30, 0x3c, 0x0d, 0x9a, 0xae, 0x20, 0x22, 0x4c, 0x54, 0xeb, 0xd5, 0xfa, 0xad, 0xe1, 0x3f, 0xb4, - 0x5f, 0x0d, 0x3a, 0xdf, 0x26, 0x9e, 0xec, 0xc8, 0x70, 0x10, 0x34, 0x34, 0xdc, 0x01, 0xb5, 0x26, - 0xaa, 0xff, 0x7c, 0x54, 0x71, 0x63, 0x58, 0xae, 0x63, 0x7f, 0xb5, 0x8e, 0xfd, 0xf7, 0x75, 0xec, - 0x3f, 0x6d, 0x62, 0x6f, 0xb5, 0x89, 0xbd, 0xd7, 0x4d, 0xec, 0xdd, 0x5c, 0xf0, 0xcc, 0xde, 0xce, - 0x53, 0x44, 0xe5, 0x0c, 0x3f, 0x66, 0x3c, 0x05, 0x48, 0x88, 0x10, 0x19, 0xc9, 0x29, 0x60, 0x96, - 0x19, 0xab, 0xb3, 0x74, 0x6e, 0x81, 0x25, 0x54, 0xce, 0x94, 0x5b, 0x27, 0x02, 0x18, 0x07, 0x8d, - 0xef, 0xf1, 0x7e, 0xb9, 0xe9, 0xef, 0xa2, 0xd7, 0x93, 0xcf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x45, - 0x84, 0xf4, 0x56, 0x09, 0x02, 0x00, 0x00, +var fileDescriptor_fb4c43c47cec3bb3 = []byte{ + // 359 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x91, 0xbf, 0x4e, 0x2a, 0x41, + 0x14, 0xc6, 0x77, 0x81, 0x5c, 0xc2, 0x52, 0xdc, 0x64, 0x43, 0xb1, 0x12, 0xb3, 0x12, 0x63, 0x41, + 0xb3, 0xb3, 0x01, 0xa3, 0x95, 0x0d, 0x34, 0x16, 0x5a, 0x18, 0x8c, 0x16, 0x34, 0x64, 0x76, 0xe7, + 0x64, 0x5c, 0x33, 0xec, 0x4c, 0x66, 0x06, 0xa2, 0x3e, 0x85, 0xaf, 0x62, 0xe2, 0x43, 0x50, 0x12, + 0x2b, 0x2b, 0x63, 0xe0, 0x45, 0x0c, 0xcc, 0x6c, 0x90, 0xc4, 0x58, 0x10, 0xbb, 0x39, 0x7f, 0xe6, + 0x77, 0xbe, 0x73, 0x3e, 0xef, 0xf2, 0x29, 0xa3, 0x09, 0x00, 0x66, 0x2c, 0xc3, 0x79, 0x0a, 0x31, + 0xc9, 0x94, 0x96, 0x59, 0x32, 0xd1, 0x40, 0x52, 0x3e, 0x16, 0x26, 0xcb, 0x80, 0x50, 0x90, 0x31, + 0x49, 0xd9, 0x44, 0x50, 0x89, 0x09, 0xc4, 0x58, 0x08, 0xc9, 0xa7, 0x40, 0x46, 0x36, 0x81, 0x84, + 0xe4, 0x9a, 0xfb, 0x27, 0xdb, 0x34, 0xf4, 0x0b, 0x0d, 0x6d, 0x68, 0xcd, 0x06, 0xe5, 0x94, 0xaf, + 0x09, 0xf1, 0xea, 0x65, 0x60, 0xcd, 0xbd, 0x94, 0xab, 0x31, 0x57, 0x23, 0x53, 0x30, 0x81, 0x2d, + 0x1d, 0x99, 0x28, 0x2e, 0xe4, 0x4c, 0x3b, 0x09, 0x68, 0xdc, 0x89, 0xb7, 0xd4, 0x34, 0x7b, 0xbb, + 0xed, 0x46, 0x25, 0xce, 0xb5, 0x41, 0x1c, 0xbe, 0x94, 0xbc, 0xff, 0x3d, 0xbb, 0xeb, 0x8d, 0xa9, + 0xfb, 0xa7, 0x5e, 0x45, 0x30, 0x9c, 0x07, 0x6e, 0xcb, 0x6d, 0xd7, 0xbb, 0xfb, 0xc8, 0x2a, 0x2b, + 0x66, 0x5b, 0x2d, 0xe8, 0x8a, 0xe1, 0xbc, 0x5f, 0x99, 0x7d, 0x1c, 0x38, 0x83, 0x75, 0xbf, 0xdf, + 0xf5, 0xaa, 0xa9, 0x04, 0xac, 0xb9, 0x0c, 0x4a, 0x2d, 0xb7, 0x5d, 0xeb, 0x07, 0x6f, 0xaf, 0x51, + 0xc3, 0xfe, 0xee, 0x11, 0x22, 0x41, 0xa9, 0x6b, 0x2d, 0xb3, 0x9c, 0x0e, 0x8a, 0x46, 0x7f, 0xe8, + 0xd5, 0xcc, 0xa9, 0x31, 0x53, 0x41, 0xb9, 0x55, 0x6e, 0xd7, 0xbb, 0x67, 0x68, 0xa7, 0x23, 0xa3, + 0xf3, 0xd5, 0x5a, 0x83, 0x0d, 0xce, 0xbf, 0xf5, 0xaa, 0x12, 0xee, 0x21, 0xd5, 0x2a, 0xa8, 0xfc, + 0x01, 0xb9, 0x80, 0xf5, 0x61, 0xb6, 0x08, 0xdd, 0xf9, 0x22, 0x74, 0x3f, 0x17, 0xa1, 0xfb, 0xbc, + 0x0c, 0x9d, 0xf9, 0x32, 0x74, 0xde, 0x97, 0xa1, 0x33, 0xbc, 0xa0, 0x99, 0xbe, 0x9b, 0x24, 0x28, + 0xe5, 0xe3, 0xd8, 0x8c, 0x8a, 0x7e, 0x32, 0x27, 0xda, 0x0c, 0x8b, 0xac, 0x3d, 0x0f, 0xdf, 0x0d, + 0xd2, 0x8f, 0x02, 0x54, 0xf2, 0x6f, 0xed, 0xd0, 0xf1, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa3, + 0x50, 0xeb, 0x45, 0xc2, 0x02, 0x00, 0x00, } func (m *ApprovedUpgrade) Marshal() (dAtA []byte, err error) { diff --git a/x/dclupgrade/types/genesis.pb.go b/x/dclupgrade/types/genesis.pb.go index 161f2c669..58dc451bb 100644 --- a/x/dclupgrade/types/genesis.pb.go +++ b/x/dclupgrade/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclupgrade/types/genesis.proto +// source: zigbeealliance/distributedcomplianceledger/dclupgrade/genesis.proto package types @@ -34,7 +34,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} } func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_e7309d947528e267, []int{0} + return fileDescriptor_363cdb039e937086, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -85,32 +85,34 @@ func (m *GenesisState) GetRejectedUpgradeList() []RejectedUpgrade { } func init() { - proto.RegisterType((*GenesisState)(nil), "dclupgrade.types.GenesisState") + proto.RegisterType((*GenesisState)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.GenesisState") } -func init() { proto.RegisterFile("dclupgrade/types/genesis.proto", fileDescriptor_e7309d947528e267) } +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/dclupgrade/genesis.proto", fileDescriptor_363cdb039e937086) +} -var fileDescriptor_e7309d947528e267 = []byte{ - // 289 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0x49, 0xce, 0x29, - 0x2d, 0x48, 0x2f, 0x4a, 0x4c, 0x49, 0xd5, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x4f, 0x4f, 0xcd, - 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x40, 0xc8, 0xeb, 0x81, - 0xe5, 0xa5, 0x44, 0xd2, 0xf3, 0xd3, 0xf3, 0xc1, 0x92, 0xfa, 0x20, 0x16, 0x44, 0x9d, 0x94, 0x3a, - 0x86, 0x39, 0x05, 0x45, 0xf9, 0x05, 0xf9, 0xc5, 0xa9, 0x29, 0xf1, 0x30, 0xed, 0xb8, 0x14, 0x26, - 0x16, 0x14, 0x14, 0xe5, 0x97, 0x11, 0xa1, 0xb0, 0x28, 0x35, 0x2b, 0x35, 0xb9, 0x04, 0x5d, 0xa1, - 0xd2, 0x7c, 0x26, 0x2e, 0x1e, 0x77, 0x88, 0xa3, 0x83, 0x4b, 0x12, 0x4b, 0x52, 0x85, 0x22, 0xb9, - 0x84, 0x61, 0x96, 0x87, 0x42, 0x54, 0xfa, 0x64, 0x16, 0x97, 0x48, 0x30, 0x2a, 0x30, 0x6b, 0x70, - 0x1b, 0x29, 0xea, 0xa1, 0xfb, 0x48, 0x2f, 0x00, 0x55, 0xb1, 0x13, 0xcb, 0x89, 0x7b, 0xf2, 0x0c, - 0x41, 0xd8, 0xcc, 0x00, 0x19, 0x0d, 0x73, 0x2e, 0xb2, 0xd1, 0x4c, 0xb8, 0x8c, 0x76, 0x44, 0x55, - 0x0c, 0x33, 0x1a, 0x8b, 0x19, 0x20, 0xa3, 0x61, 0x1e, 0x44, 0x36, 0x9a, 0x19, 0x97, 0xd1, 0x41, - 0xa8, 0x8a, 0x61, 0x46, 0x63, 0x31, 0xc3, 0x29, 0xf5, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, - 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, 0x8f, - 0xe5, 0x18, 0xa2, 0xbc, 0xd3, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0xab, - 0x32, 0xd3, 0x93, 0x52, 0x53, 0x75, 0x13, 0x73, 0x72, 0x32, 0x13, 0xf3, 0x92, 0x53, 0xf5, 0x53, - 0x32, 0x8b, 0x4b, 0x8a, 0x32, 0x93, 0x4a, 0x4b, 0x52, 0x53, 0x74, 0x93, 0xf3, 0x73, 0x0b, 0x20, - 0xc2, 0xba, 0x39, 0xa9, 0x29, 0xe9, 0xa9, 0x45, 0xfa, 0x15, 0xfa, 0xe8, 0xf1, 0x93, 0xc4, 0x06, - 0x8e, 0x0f, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x66, 0x18, 0x27, 0xa1, 0x54, 0x02, 0x00, - 0x00, +var fileDescriptor_363cdb039e937086 = []byte{ + // 303 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x72, 0xae, 0xca, 0x4c, 0x4f, + 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4f, 0xc9, 0x2c, 0x2e, 0x29, + 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, + 0xa7, 0x16, 0xe9, 0xa7, 0x24, 0xe7, 0x94, 0x16, 0xa4, 0x17, 0x25, 0xa6, 0xa4, 0xea, 0xa7, 0xa7, + 0xe6, 0xa5, 0x16, 0x67, 0x16, 0xeb, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, 0x99, 0xa2, 0x1a, 0xa2, + 0x87, 0xc7, 0x10, 0x3d, 0x84, 0x21, 0x52, 0x22, 0xe9, 0xf9, 0xe9, 0xf9, 0x60, 0x13, 0xf4, 0x41, + 0x2c, 0x88, 0x61, 0x52, 0x3e, 0xe4, 0xb9, 0xa8, 0xa0, 0x28, 0xbf, 0x20, 0xbf, 0x38, 0x35, 0x25, + 0x1e, 0x2a, 0x40, 0x99, 0x69, 0x89, 0x05, 0x05, 0x45, 0xf9, 0x65, 0xd4, 0x32, 0xad, 0x28, 0x35, + 0x2b, 0x35, 0xb9, 0x04, 0xdd, 0x34, 0xa5, 0x3e, 0x66, 0x2e, 0x1e, 0x77, 0x48, 0x40, 0x06, 0x97, + 0x24, 0x96, 0xa4, 0x0a, 0xd5, 0x71, 0x09, 0xc3, 0xbc, 0x11, 0x0a, 0x51, 0xe9, 0x93, 0x59, 0x5c, + 0x22, 0xc1, 0xa8, 0xc0, 0xac, 0xc1, 0x6d, 0xe4, 0xa6, 0x47, 0x56, 0x28, 0xeb, 0x05, 0xa0, 0x9a, + 0xe8, 0xc4, 0x72, 0xe2, 0x9e, 0x3c, 0x43, 0x10, 0x36, 0x8b, 0x40, 0xf6, 0xc3, 0x3c, 0x8e, 0x6c, + 0x3f, 0x13, 0x45, 0xf6, 0x3b, 0xa2, 0x9a, 0x08, 0xb3, 0x1f, 0x8b, 0x45, 0x20, 0xfb, 0x61, 0x41, + 0x85, 0x6c, 0x3f, 0x33, 0x45, 0xf6, 0x07, 0xa1, 0x9a, 0x08, 0xb3, 0x1f, 0x8b, 0x45, 0x4e, 0xa9, + 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x84, 0xc7, 0x72, + 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0xe5, 0x9d, 0x9e, 0x59, 0x92, 0x51, + 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x0f, 0x71, 0x86, 0x2e, 0xb6, 0x44, 0xa0, 0x8b, 0x70, 0x88, + 0x2e, 0x34, 0x19, 0x54, 0x20, 0x27, 0x84, 0x92, 0xca, 0x82, 0xd4, 0xe2, 0x24, 0x36, 0x70, 0xf4, + 0x1b, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x06, 0xe4, 0x37, 0x0c, 0x7c, 0x03, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/dclupgrade/types/grant.pb.go b/x/dclupgrade/types/grant.pb.go index 1eafe5e8c..29d4f2e60 100644 --- a/x/dclupgrade/types/grant.pb.go +++ b/x/dclupgrade/types/grant.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclupgrade/types/grant.proto +// source: zigbeealliance/distributedcomplianceledger/dclupgrade/grant.proto package types @@ -33,7 +33,7 @@ func (m *Grant) Reset() { *m = Grant{} } func (m *Grant) String() string { return proto.CompactTextString(m) } func (*Grant) ProtoMessage() {} func (*Grant) Descriptor() ([]byte, []int) { - return fileDescriptor_a721964bea150254, []int{0} + return fileDescriptor_a749b46e32743c76, []int{0} } func (m *Grant) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -84,29 +84,31 @@ func (m *Grant) GetInfo() string { } func init() { - proto.RegisterType((*Grant)(nil), "dclupgrade.types.Grant") + proto.RegisterType((*Grant)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.Grant") } -func init() { proto.RegisterFile("dclupgrade/types/grant.proto", fileDescriptor_a721964bea150254) } +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/dclupgrade/grant.proto", fileDescriptor_a749b46e32743c76) +} -var fileDescriptor_a721964bea150254 = []byte{ - // 242 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x49, 0x49, 0xce, 0x29, - 0x2d, 0x48, 0x2f, 0x4a, 0x4c, 0x49, 0xd5, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x4f, 0x2f, 0x4a, - 0xcc, 0x2b, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x40, 0xc8, 0xea, 0x81, 0x65, 0xa5, - 0x24, 0x93, 0xf3, 0x8b, 0x73, 0xf3, 0x8b, 0xe3, 0xc1, 0xf2, 0xfa, 0x10, 0x0e, 0x44, 0xb1, 0x52, - 0x32, 0x17, 0xab, 0x3b, 0x48, 0xaf, 0x90, 0x11, 0x17, 0x7b, 0x62, 0x4a, 0x4a, 0x51, 0x6a, 0x71, - 0xb1, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0xa7, 0x93, 0xc4, 0xa5, 0x2d, 0xba, 0x22, 0x50, 0xb5, 0x8e, - 0x10, 0x99, 0xe0, 0x92, 0xa2, 0xcc, 0xbc, 0xf4, 0x20, 0x98, 0x42, 0x21, 0x21, 0x2e, 0x96, 0x92, - 0xcc, 0xdc, 0x54, 0x09, 0x26, 0x05, 0x46, 0x0d, 0xe6, 0x20, 0x30, 0x1b, 0x24, 0x96, 0x99, 0x97, - 0x96, 0x2f, 0xc1, 0x0c, 0x32, 0x24, 0x08, 0xcc, 0x76, 0x4a, 0x3d, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, - 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, - 0xc6, 0x63, 0x39, 0x86, 0x28, 0xef, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, - 0xfd, 0xaa, 0xcc, 0xf4, 0xa4, 0xd4, 0x54, 0xdd, 0xc4, 0x9c, 0x9c, 0xcc, 0xc4, 0xbc, 0xe4, 0x54, - 0xfd, 0x94, 0xcc, 0xe2, 0x92, 0xa2, 0xcc, 0xa4, 0xd2, 0x92, 0xd4, 0x14, 0xdd, 0xe4, 0xfc, 0xdc, - 0x02, 0x88, 0xb0, 0x6e, 0x4e, 0x6a, 0x4a, 0x7a, 0x6a, 0x91, 0x7e, 0x85, 0x3e, 0x7a, 0x20, 0x24, - 0xb1, 0x81, 0xbd, 0x64, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xb2, 0xed, 0x96, 0xbf, 0x1f, 0x01, - 0x00, 0x00, +var fileDescriptor_a749b46e32743c76 = []byte{ + // 254 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x72, 0xac, 0xca, 0x4c, 0x4f, + 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4f, 0xc9, 0x2c, 0x2e, 0x29, + 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, + 0xa7, 0x16, 0xe9, 0xa7, 0x24, 0xe7, 0x94, 0x16, 0xa4, 0x17, 0x25, 0xa6, 0xa4, 0xea, 0xa7, 0x17, + 0x25, 0xe6, 0x95, 0xe8, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, 0x99, 0xa2, 0x1a, 0xa1, 0x87, 0xc7, + 0x08, 0x3d, 0x84, 0x11, 0x52, 0x92, 0xc9, 0xf9, 0xc5, 0xb9, 0xf9, 0xc5, 0xf1, 0x60, 0x43, 0xf4, + 0x21, 0x1c, 0x88, 0x89, 0x4a, 0xc9, 0x5c, 0xac, 0xee, 0x20, 0x0b, 0x84, 0x8c, 0xb8, 0xd8, 0x13, + 0x53, 0x52, 0x8a, 0x52, 0x8b, 0x8b, 0x25, 0x18, 0x15, 0x18, 0x35, 0x38, 0x9d, 0x24, 0x2e, 0x6d, + 0xd1, 0x15, 0x81, 0xaa, 0x75, 0x84, 0xc8, 0x04, 0x97, 0x14, 0x65, 0xe6, 0xa5, 0x07, 0xc1, 0x14, + 0x0a, 0x09, 0x71, 0xb1, 0x94, 0x64, 0xe6, 0xa6, 0x4a, 0x30, 0x29, 0x30, 0x6a, 0x30, 0x07, 0x81, + 0xd9, 0x20, 0xb1, 0xcc, 0xbc, 0xb4, 0x7c, 0x09, 0x66, 0x90, 0x21, 0x41, 0x60, 0xb6, 0x53, 0xea, + 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, + 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x79, 0xa7, 0x67, 0x96, 0x64, 0x94, + 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x43, 0xfc, 0xa6, 0x8b, 0x2d, 0x7c, 0x74, 0x11, 0xbe, 0xd3, + 0x85, 0x86, 0x50, 0x05, 0x72, 0x18, 0x95, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0xbd, 0x64, + 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xea, 0x91, 0x79, 0x3d, 0x69, 0x01, 0x00, 0x00, } func (m *Grant) Marshal() (dAtA []byte, err error) { diff --git a/x/dclupgrade/types/proposed_upgrade.pb.go b/x/dclupgrade/types/proposed_upgrade.pb.go index 36a38a8d2..75e733569 100644 --- a/x/dclupgrade/types/proposed_upgrade.pb.go +++ b/x/dclupgrade/types/proposed_upgrade.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclupgrade/types/proposed_upgrade.proto +// source: zigbeealliance/distributedcomplianceledger/dclupgrade/proposed_upgrade.proto package types @@ -36,7 +36,7 @@ func (m *ProposedUpgrade) Reset() { *m = ProposedUpgrade{} } func (m *ProposedUpgrade) String() string { return proto.CompactTextString(m) } func (*ProposedUpgrade) ProtoMessage() {} func (*ProposedUpgrade) Descriptor() ([]byte, []int) { - return fileDescriptor_ad4d1daffe89db3c, []int{0} + return fileDescriptor_0325dd5a8e62f2be, []int{0} } func (m *ProposedUpgrade) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -94,37 +94,38 @@ func (m *ProposedUpgrade) GetRejects() []*Grant { } func init() { - proto.RegisterType((*ProposedUpgrade)(nil), "dclupgrade.types.ProposedUpgrade") + proto.RegisterType((*ProposedUpgrade)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.ProposedUpgrade") } func init() { - proto.RegisterFile("dclupgrade/types/proposed_upgrade.proto", fileDescriptor_ad4d1daffe89db3c) + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/dclupgrade/proposed_upgrade.proto", fileDescriptor_0325dd5a8e62f2be) } -var fileDescriptor_ad4d1daffe89db3c = []byte{ - // 345 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0x2b, 0x31, - 0x14, 0x86, 0x67, 0x6e, 0xcb, 0x2d, 0x9d, 0x2e, 0xee, 0x65, 0x28, 0xdc, 0xb9, 0xa5, 0x8c, 0x45, - 0x04, 0xbb, 0x99, 0x84, 0x56, 0x74, 0x6f, 0x37, 0x2e, 0xdc, 0x94, 0x8a, 0x1b, 0x37, 0x25, 0x93, - 0x1c, 0xe2, 0x48, 0x3a, 0x09, 0x49, 0x5a, 0xd4, 0xa7, 0xf0, 0x61, 0x7c, 0x88, 0x2e, 0x8b, 0x2b, - 0x57, 0x22, 0xed, 0xc2, 0xd7, 0x90, 0x4e, 0x66, 0x28, 0x56, 0x70, 0x97, 0x73, 0xfe, 0xef, 0xe4, - 0xff, 0xf9, 0x83, 0x63, 0x46, 0xc5, 0x5c, 0x71, 0x4d, 0x18, 0x60, 0xfb, 0xa0, 0xc0, 0x60, 0xa5, - 0xa5, 0x92, 0x06, 0xd8, 0xb4, 0x5c, 0x23, 0xa5, 0xa5, 0x95, 0xe1, 0xdf, 0x1d, 0x88, 0x0a, 0xb0, - 0xd3, 0xe6, 0x92, 0xcb, 0x42, 0xc4, 0xdb, 0x97, 0xe3, 0x3a, 0xff, 0xa9, 0x34, 0x33, 0x69, 0xa6, - 0x4e, 0x70, 0x43, 0x29, 0x1d, 0xb9, 0x09, 0x57, 0x7e, 0x8b, 0x41, 0x0a, 0x96, 0x0c, 0xf0, 0x17, - 0xa3, 0x4e, 0xf7, 0x5b, 0x22, 0xae, 0x49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x00, 0x00, 0x00, 0xff, - 0xff, 0x17, 0x23, 0x23, 0x33, 0x09, 0x02, 0x00, 0x00, +var fileDescriptor_0325dd5a8e62f2be = []byte{ + // 361 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x91, 0xbf, 0x4e, 0x2a, 0x41, + 0x14, 0xc6, 0x77, 0x81, 0x5c, 0xc2, 0x52, 0xdc, 0x64, 0x43, 0xb1, 0x97, 0xdc, 0xac, 0xc4, 0x58, + 0xd0, 0xec, 0x6c, 0xc0, 0x68, 0x65, 0x03, 0x8d, 0x85, 0x16, 0x04, 0xa3, 0x05, 0x0d, 0x99, 0xdd, + 0x39, 0x19, 0xd7, 0x0c, 0x3b, 0x93, 0x99, 0x81, 0xa8, 0x4f, 0xe1, 0xab, 0x98, 0xf8, 0x10, 0x94, + 0xc4, 0xca, 0xca, 0x18, 0x78, 0x11, 0x03, 0x33, 0x1b, 0x24, 0x31, 0x16, 0xc4, 0x6e, 0xcf, 0x9f, + 0xfd, 0x9d, 0xef, 0x9b, 0xcf, 0xbb, 0x7c, 0xcc, 0x68, 0x02, 0x80, 0x19, 0xcb, 0x70, 0x9e, 0x42, + 0x4c, 0x32, 0xa5, 0x65, 0x96, 0x4c, 0x35, 0x90, 0x94, 0x4f, 0x84, 0xe9, 0x32, 0x20, 0x14, 0x64, + 0x4c, 0x52, 0x36, 0x15, 0x54, 0x62, 0x02, 0xb1, 0x90, 0x5c, 0x70, 0x05, 0x64, 0x6c, 0x1b, 0x48, + 0x48, 0xae, 0xb9, 0x7f, 0xb2, 0x4b, 0x43, 0x3f, 0xd0, 0xd0, 0x96, 0xd6, 0x6c, 0x50, 0x4e, 0xf9, + 0x86, 0x10, 0xaf, 0xbf, 0x0c, 0xac, 0xf9, 0x2f, 0xe5, 0x6a, 0xc2, 0xd5, 0xd8, 0x0c, 0x4c, 0x61, + 0x47, 0x47, 0xa6, 0x8a, 0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, 0x3a, 0xfe, 0x0c, 0x00, 0x00, 0xff, + 0xff, 0x3c, 0x63, 0x17, 0x3a, 0xc2, 0x02, 0x00, 0x00, } func (m *ProposedUpgrade) Marshal() (dAtA []byte, err error) { diff --git a/x/dclupgrade/types/query.pb.go b/x/dclupgrade/types/query.pb.go index 2290b2d20..43135b131 100644 --- a/x/dclupgrade/types/query.pb.go +++ b/x/dclupgrade/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclupgrade/types/query.proto +// source: zigbeealliance/distributedcomplianceledger/dclupgrade/query.proto package types @@ -38,7 +38,7 @@ func (m *QueryGetProposedUpgradeRequest) Reset() { *m = QueryGetProposed func (m *QueryGetProposedUpgradeRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetProposedUpgradeRequest) ProtoMessage() {} func (*QueryGetProposedUpgradeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cf74218b4f5d5331, []int{0} + return fileDescriptor_da58ea5765b93b29, []int{0} } func (m *QueryGetProposedUpgradeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -82,7 +82,7 @@ func (m *QueryGetProposedUpgradeResponse) Reset() { *m = QueryGetPropose func (m *QueryGetProposedUpgradeResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetProposedUpgradeResponse) ProtoMessage() {} func (*QueryGetProposedUpgradeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cf74218b4f5d5331, []int{1} + return fileDescriptor_da58ea5765b93b29, []int{1} } func (m *QueryGetProposedUpgradeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -126,7 +126,7 @@ func (m *QueryAllProposedUpgradeRequest) Reset() { *m = QueryAllProposed func (m *QueryAllProposedUpgradeRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllProposedUpgradeRequest) ProtoMessage() {} func (*QueryAllProposedUpgradeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cf74218b4f5d5331, []int{2} + return fileDescriptor_da58ea5765b93b29, []int{2} } func (m *QueryAllProposedUpgradeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -171,7 +171,7 @@ func (m *QueryAllProposedUpgradeResponse) Reset() { *m = QueryAllPropose func (m *QueryAllProposedUpgradeResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllProposedUpgradeResponse) ProtoMessage() {} func (*QueryAllProposedUpgradeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cf74218b4f5d5331, []int{3} + return fileDescriptor_da58ea5765b93b29, []int{3} } func (m *QueryAllProposedUpgradeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -222,7 +222,7 @@ func (m *QueryGetApprovedUpgradeRequest) Reset() { *m = QueryGetApproved func (m *QueryGetApprovedUpgradeRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetApprovedUpgradeRequest) ProtoMessage() {} func (*QueryGetApprovedUpgradeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cf74218b4f5d5331, []int{4} + return fileDescriptor_da58ea5765b93b29, []int{4} } func (m *QueryGetApprovedUpgradeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -266,7 +266,7 @@ func (m *QueryGetApprovedUpgradeResponse) Reset() { *m = QueryGetApprove func (m *QueryGetApprovedUpgradeResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetApprovedUpgradeResponse) ProtoMessage() {} func (*QueryGetApprovedUpgradeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cf74218b4f5d5331, []int{5} + return fileDescriptor_da58ea5765b93b29, []int{5} } func (m *QueryGetApprovedUpgradeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -310,7 +310,7 @@ func (m *QueryAllApprovedUpgradeRequest) Reset() { *m = QueryAllApproved func (m *QueryAllApprovedUpgradeRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllApprovedUpgradeRequest) ProtoMessage() {} func (*QueryAllApprovedUpgradeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cf74218b4f5d5331, []int{6} + return fileDescriptor_da58ea5765b93b29, []int{6} } func (m *QueryAllApprovedUpgradeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -355,7 +355,7 @@ func (m *QueryAllApprovedUpgradeResponse) Reset() { *m = QueryAllApprove func (m *QueryAllApprovedUpgradeResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllApprovedUpgradeResponse) ProtoMessage() {} func (*QueryAllApprovedUpgradeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cf74218b4f5d5331, []int{7} + return fileDescriptor_da58ea5765b93b29, []int{7} } func (m *QueryAllApprovedUpgradeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -406,7 +406,7 @@ func (m *QueryGetRejectedUpgradeRequest) Reset() { *m = QueryGetRejected func (m *QueryGetRejectedUpgradeRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetRejectedUpgradeRequest) ProtoMessage() {} func (*QueryGetRejectedUpgradeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cf74218b4f5d5331, []int{8} + return fileDescriptor_da58ea5765b93b29, []int{8} } func (m *QueryGetRejectedUpgradeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -450,7 +450,7 @@ func (m *QueryGetRejectedUpgradeResponse) Reset() { *m = QueryGetRejecte func (m *QueryGetRejectedUpgradeResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetRejectedUpgradeResponse) ProtoMessage() {} func (*QueryGetRejectedUpgradeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cf74218b4f5d5331, []int{9} + return fileDescriptor_da58ea5765b93b29, []int{9} } func (m *QueryGetRejectedUpgradeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -494,7 +494,7 @@ func (m *QueryAllRejectedUpgradeRequest) Reset() { *m = QueryAllRejected func (m *QueryAllRejectedUpgradeRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllRejectedUpgradeRequest) ProtoMessage() {} func (*QueryAllRejectedUpgradeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_cf74218b4f5d5331, []int{10} + return fileDescriptor_da58ea5765b93b29, []int{10} } func (m *QueryAllRejectedUpgradeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -539,7 +539,7 @@ func (m *QueryAllRejectedUpgradeResponse) Reset() { *m = QueryAllRejecte func (m *QueryAllRejectedUpgradeResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllRejectedUpgradeResponse) ProtoMessage() {} func (*QueryAllRejectedUpgradeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cf74218b4f5d5331, []int{11} + return fileDescriptor_da58ea5765b93b29, []int{11} } func (m *QueryAllRejectedUpgradeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -583,64 +583,67 @@ func (m *QueryAllRejectedUpgradeResponse) GetPagination() *query.PageResponse { } func init() { - proto.RegisterType((*QueryGetProposedUpgradeRequest)(nil), "dclupgrade.types.QueryGetProposedUpgradeRequest") - proto.RegisterType((*QueryGetProposedUpgradeResponse)(nil), "dclupgrade.types.QueryGetProposedUpgradeResponse") - proto.RegisterType((*QueryAllProposedUpgradeRequest)(nil), "dclupgrade.types.QueryAllProposedUpgradeRequest") - proto.RegisterType((*QueryAllProposedUpgradeResponse)(nil), "dclupgrade.types.QueryAllProposedUpgradeResponse") - proto.RegisterType((*QueryGetApprovedUpgradeRequest)(nil), "dclupgrade.types.QueryGetApprovedUpgradeRequest") - proto.RegisterType((*QueryGetApprovedUpgradeResponse)(nil), "dclupgrade.types.QueryGetApprovedUpgradeResponse") - proto.RegisterType((*QueryAllApprovedUpgradeRequest)(nil), "dclupgrade.types.QueryAllApprovedUpgradeRequest") - proto.RegisterType((*QueryAllApprovedUpgradeResponse)(nil), "dclupgrade.types.QueryAllApprovedUpgradeResponse") - proto.RegisterType((*QueryGetRejectedUpgradeRequest)(nil), "dclupgrade.types.QueryGetRejectedUpgradeRequest") - proto.RegisterType((*QueryGetRejectedUpgradeResponse)(nil), "dclupgrade.types.QueryGetRejectedUpgradeResponse") - proto.RegisterType((*QueryAllRejectedUpgradeRequest)(nil), "dclupgrade.types.QueryAllRejectedUpgradeRequest") - proto.RegisterType((*QueryAllRejectedUpgradeResponse)(nil), "dclupgrade.types.QueryAllRejectedUpgradeResponse") -} - -func init() { proto.RegisterFile("dclupgrade/types/query.proto", fileDescriptor_cf74218b4f5d5331) } - -var fileDescriptor_cf74218b4f5d5331 = []byte{ - // 630 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x96, 0xcf, 0x6e, 0xd3, 0x4a, - 0x14, 0xc6, 0xe3, 0xa6, 0xf7, 0x22, 0xcc, 0xa2, 0x68, 0xc4, 0x02, 0x45, 0x95, 0x4b, 0x8d, 0x44, - 0x4b, 0xa5, 0x78, 0x9a, 0xc2, 0x0b, 0xa4, 0x0b, 0xba, 0x60, 0xd3, 0x46, 0x62, 0xc3, 0x06, 0x8d, - 0xed, 0x23, 0xd7, 0xc8, 0xf1, 0x4c, 0x3d, 0x93, 0x8a, 0x82, 0xd8, 0xf0, 0x04, 0x48, 0xbc, 0x02, - 0x0b, 0x5e, 0x82, 0x7d, 0x97, 0x95, 0xd8, 0xb0, 0x42, 0x28, 0xe1, 0x35, 0x90, 0x50, 0xc6, 0x63, - 0x25, 0x19, 0x7b, 0x1c, 0xac, 0x90, 0x5d, 0xe4, 0xf3, 0x67, 0x7e, 0xe7, 0xfb, 0x3c, 0x27, 0xb6, - 0xb7, 0xc3, 0x20, 0x19, 0xb1, 0x28, 0x23, 0x21, 0x60, 0x71, 0xc5, 0x80, 0xe3, 0x8b, 0x11, 0x64, - 0x57, 0x1e, 0xcb, 0xa8, 0xa0, 0xe8, 0xee, 0x2c, 0xea, 0xc9, 0x68, 0xe7, 0x5e, 0x44, 0x23, 0x2a, - 0x83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 0x2b, 0x5a, 0x2c, 0x87, 0x4a, - 0x45, 0xb5, 0x6e, 0x4b, 0x14, 0x6d, 0x48, 0x6b, 0x5e, 0x7a, 0x66, 0x45, 0x4b, 0xb4, 0x52, 0x51, - 0xed, 0x86, 0xd4, 0x29, 0x5a, 0x7d, 0xf7, 0xeb, 0x14, 0x35, 0x5c, 0x61, 0xb3, 0xa2, 0xc5, 0xc5, - 0xac, 0x54, 0x54, 0xeb, 0xb6, 0x44, 0xd1, 0x86, 0xb4, 0xe6, 0x85, 0x63, 0x56, 0xb4, 0x44, 0x7b, - 0x0c, 0xd7, 0x63, 0xc7, 0xba, 0x19, 0x3b, 0xd6, 0xcf, 0xb1, 0x63, 0x7d, 0x9c, 0x38, 0xad, 0x9b, - 0x89, 0xd3, 0xfa, 0x3e, 0x71, 0x5a, 0x2f, 0x9f, 0x47, 0xb1, 0x38, 0x1f, 0xf9, 0x5e, 0x40, 0x87, - 0xf8, 0x6d, 0x1c, 0xf9, 0x00, 0x5d, 0x92, 0x24, 0x31, 0x49, 0x03, 0xc0, 0x61, 0xcc, 0x45, 0x16, - 0xfb, 0xa3, 0x69, 0xab, 0x80, 0x0e, 0x59, 0xfe, 0xb8, 0x9b, 0x40, 0x18, 0x41, 0x86, 0xdf, 0x60, - 0xfd, 0xfb, 0xcf, 0xff, 0x5f, 0x7e, 0xef, 0x3d, 0xf9, 0x13, 0x00, 0x00, 0xff, 0xff, 0xb2, 0x03, - 0x42, 0xaf, 0xfc, 0x0a, 0x00, 0x00, + proto.RegisterType((*QueryGetProposedUpgradeRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.QueryGetProposedUpgradeRequest") + proto.RegisterType((*QueryGetProposedUpgradeResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.QueryGetProposedUpgradeResponse") + proto.RegisterType((*QueryAllProposedUpgradeRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.QueryAllProposedUpgradeRequest") + proto.RegisterType((*QueryAllProposedUpgradeResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.QueryAllProposedUpgradeResponse") + proto.RegisterType((*QueryGetApprovedUpgradeRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.QueryGetApprovedUpgradeRequest") + proto.RegisterType((*QueryGetApprovedUpgradeResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.QueryGetApprovedUpgradeResponse") + proto.RegisterType((*QueryAllApprovedUpgradeRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.QueryAllApprovedUpgradeRequest") + proto.RegisterType((*QueryAllApprovedUpgradeResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.QueryAllApprovedUpgradeResponse") + proto.RegisterType((*QueryGetRejectedUpgradeRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.QueryGetRejectedUpgradeRequest") + proto.RegisterType((*QueryGetRejectedUpgradeResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.QueryGetRejectedUpgradeResponse") + proto.RegisterType((*QueryAllRejectedUpgradeRequest)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.QueryAllRejectedUpgradeRequest") + proto.RegisterType((*QueryAllRejectedUpgradeResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.QueryAllRejectedUpgradeResponse") +} + +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/dclupgrade/query.proto", fileDescriptor_da58ea5765b93b29) +} + +var fileDescriptor_da58ea5765b93b29 = []byte{ + // 647 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0xbf, 0x6e, 0xd3, 0x40, + 0x18, 0x8f, 0x9b, 0x82, 0x84, 0x3b, 0x54, 0x3a, 0x31, 0xa0, 0x08, 0xb9, 0x60, 0x24, 0x28, 0x95, + 0xe2, 0xa3, 0x05, 0x1e, 0x20, 0x1d, 0xda, 0x01, 0x86, 0x12, 0xa9, 0x0c, 0x2c, 0xe8, 0x6c, 0x7f, + 0x72, 0x8d, 0x1c, 0xdf, 0xd5, 0x77, 0x89, 0x28, 0x88, 0x85, 0x27, 0x40, 0x62, 0xe2, 0x51, 0x78, + 0x83, 0x8e, 0x95, 0x58, 0x98, 0x10, 0x4a, 0x98, 0x19, 0x78, 0x02, 0x14, 0xfb, 0xac, 0xc4, 0x17, + 0x5f, 0xaa, 0xc4, 0xf6, 0x66, 0xf9, 0x7c, 0xbf, 0xef, 0xfb, 0xfd, 0xd1, 0xf7, 0xc9, 0x66, 0xef, + 0x43, 0x18, 0xb8, 0x00, 0x24, 0x8a, 0x42, 0x12, 0x7b, 0x80, 0xfd, 0x90, 0x8b, 0x24, 0x74, 0x87, + 0x02, 0x7c, 0x8f, 0x0e, 0x58, 0xf6, 0x36, 0x02, 0x3f, 0x80, 0x04, 0xfb, 0x5e, 0x34, 0x64, 0x41, + 0x42, 0x7c, 0xc0, 0xe7, 0x43, 0x48, 0x2e, 0x1c, 0x96, 0x50, 0x41, 0xd1, 0xf3, 0x22, 0x84, 0xb3, + 0x04, 0xc2, 0x99, 0x41, 0x74, 0x6e, 0x07, 0x34, 0xa0, 0x29, 0x02, 0x9e, 0x3e, 0x65, 0x60, 0x9d, + 0xbb, 0x01, 0xa5, 0x41, 0x04, 0x98, 0xb0, 0x10, 0x93, 0x38, 0xa6, 0x82, 0x88, 0x90, 0xc6, 0x5c, + 0x9e, 0xee, 0x79, 0x94, 0x0f, 0x28, 0xc7, 0x2e, 0xe1, 0xb2, 0x07, 0x3c, 0xda, 0x77, 0x41, 0x90, + 0x7d, 0xcc, 0x48, 0x10, 0xc6, 0xe9, 0xc7, 0xf2, 0xdb, 0x97, 0xeb, 0x31, 0x63, 0x09, 0x65, 0x94, + 0x83, 0xff, 0x56, 0xbe, 0xa8, 0x86, 0x46, 0x18, 0x4b, 0xe8, 0xa8, 0x2e, 0xb4, 0x04, 0xde, 0x81, + 0x27, 0x54, 0x34, 0xfb, 0x99, 0x69, 0xbd, 0x9a, 0x6a, 0x71, 0x0c, 0xe2, 0x44, 0x76, 0x7f, 0x9a, + 0x7d, 0xd0, 0x87, 0xf3, 0x21, 0x70, 0x81, 0x90, 0xb9, 0x19, 0x93, 0x01, 0xdc, 0x31, 0xee, 0x19, + 0xbb, 0xb7, 0xfa, 0xe9, 0xb3, 0xfd, 0xcd, 0x30, 0x77, 0xb4, 0xd7, 0x38, 0xa3, 0x31, 0x07, 0x34, + 0x32, 0xb7, 0x59, 0xf1, 0x28, 0x85, 0xd8, 0x3a, 0x38, 0x72, 0xd6, 0x32, 0xdd, 0x51, 0x0a, 0x1d, + 0x6e, 0x5e, 0xfe, 0xda, 0x69, 0xf5, 0xd5, 0x22, 0xf6, 0x99, 0x64, 0xd4, 0x8b, 0x22, 0x0d, 0xa3, + 0x23, 0xd3, 0x9c, 0x39, 0x2e, 0x9b, 0x7a, 0xe8, 0x64, 0xf1, 0x70, 0xa6, 0xf1, 0x70, 0xb2, 0x88, + 0xca, 0x78, 0x38, 0x27, 0x24, 0xc8, 0xef, 0xf6, 0xe7, 0x6e, 0xda, 0xe3, 0x5c, 0x85, 0xb2, 0x52, + 0xcb, 0x54, 0x68, 0x37, 0xae, 0x02, 0x3a, 0x2e, 0x70, 0xdc, 0x48, 0x39, 0x3e, 0xba, 0x96, 0x63, + 0xd6, 0x74, 0x81, 0xe4, 0x5c, 0x40, 0x7a, 0x32, 0x90, 0x2b, 0x06, 0x64, 0xe1, 0xda, 0x4c, 0x1a, + 0x52, 0x3c, 0xaa, 0x18, 0x10, 0xa5, 0x50, 0x2e, 0x8d, 0x52, 0x64, 0x3e, 0x20, 0x1a, 0x46, 0x4d, + 0x04, 0x64, 0x25, 0x15, 0xda, 0x8d, 0xab, 0xd0, 0x48, 0x40, 0xfa, 0x72, 0xc6, 0xac, 0x18, 0x90, + 0x85, 0x6b, 0x33, 0x69, 0x92, 0xe2, 0x51, 0xc5, 0x80, 0x28, 0x85, 0x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13, 0xab, 0xf5, 0x73, 0x62, 0xb5, 0xde, 0xbc, 0x08, 0x42, 0x71, 0x36, 0x74, 0x1d, 0x8f, 0x0e, + 0x70, 0xd6, 0x66, 0xb7, 0xec, 0x97, 0xa4, 0x3b, 0x6b, 0xb4, 0x2b, 0x7f, 0x4a, 0xde, 0xcf, 0x97, + 0x14, 0x17, 0x0c, 0xb8, 0x7b, 0x33, 0xfd, 0x19, 0x79, 0xfa, 0x3f, 0x00, 0x00, 0xff, 0xff, 0xf5, + 0xe3, 0xd8, 0xe9, 0x52, 0x0e, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -679,7 +682,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) ProposedUpgrade(ctx context.Context, in *QueryGetProposedUpgradeRequest, opts ...grpc.CallOption) (*QueryGetProposedUpgradeResponse, error) { out := new(QueryGetProposedUpgradeResponse) - err := c.cc.Invoke(ctx, "/dclupgrade.types.Query/ProposedUpgrade", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclupgrade.Query/ProposedUpgrade", in, out, opts...) if err != nil { return nil, err } @@ -688,7 +691,7 @@ func (c *queryClient) ProposedUpgrade(ctx context.Context, in *QueryGetProposedU func (c *queryClient) ProposedUpgradeAll(ctx context.Context, in *QueryAllProposedUpgradeRequest, opts ...grpc.CallOption) (*QueryAllProposedUpgradeResponse, error) { out := new(QueryAllProposedUpgradeResponse) - err := c.cc.Invoke(ctx, "/dclupgrade.types.Query/ProposedUpgradeAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclupgrade.Query/ProposedUpgradeAll", in, out, opts...) if err != nil { return nil, err } @@ -697,7 +700,7 @@ func (c *queryClient) ProposedUpgradeAll(ctx context.Context, in *QueryAllPropos func (c *queryClient) ApprovedUpgrade(ctx context.Context, in *QueryGetApprovedUpgradeRequest, opts ...grpc.CallOption) (*QueryGetApprovedUpgradeResponse, error) { out := new(QueryGetApprovedUpgradeResponse) - err := c.cc.Invoke(ctx, "/dclupgrade.types.Query/ApprovedUpgrade", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclupgrade.Query/ApprovedUpgrade", in, out, opts...) if err != nil { return nil, err } @@ -706,7 +709,7 @@ func (c *queryClient) ApprovedUpgrade(ctx context.Context, in *QueryGetApprovedU func (c *queryClient) ApprovedUpgradeAll(ctx context.Context, in *QueryAllApprovedUpgradeRequest, opts ...grpc.CallOption) (*QueryAllApprovedUpgradeResponse, error) { out := new(QueryAllApprovedUpgradeResponse) - err := c.cc.Invoke(ctx, "/dclupgrade.types.Query/ApprovedUpgradeAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclupgrade.Query/ApprovedUpgradeAll", in, out, opts...) if err != nil { return nil, err } @@ -715,7 +718,7 @@ func (c *queryClient) ApprovedUpgradeAll(ctx context.Context, in *QueryAllApprov func (c *queryClient) RejectedUpgrade(ctx context.Context, in *QueryGetRejectedUpgradeRequest, opts ...grpc.CallOption) (*QueryGetRejectedUpgradeResponse, error) { out := new(QueryGetRejectedUpgradeResponse) - err := c.cc.Invoke(ctx, "/dclupgrade.types.Query/RejectedUpgrade", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclupgrade.Query/RejectedUpgrade", in, out, opts...) if err != nil { return nil, err } @@ -724,7 +727,7 @@ func (c *queryClient) RejectedUpgrade(ctx context.Context, in *QueryGetRejectedU func (c *queryClient) RejectedUpgradeAll(ctx context.Context, in *QueryAllRejectedUpgradeRequest, opts ...grpc.CallOption) (*QueryAllRejectedUpgradeResponse, error) { out := new(QueryAllRejectedUpgradeResponse) - err := c.cc.Invoke(ctx, "/dclupgrade.types.Query/RejectedUpgradeAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclupgrade.Query/RejectedUpgradeAll", in, out, opts...) if err != nil { return nil, err } @@ -784,7 +787,7 @@ func _Query_ProposedUpgrade_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/dclupgrade.types.Query/ProposedUpgrade", + FullMethod: "/zigbeealliance.distributedcomplianceledger.dclupgrade.Query/ProposedUpgrade", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ProposedUpgrade(ctx, req.(*QueryGetProposedUpgradeRequest)) @@ -802,7 +805,7 @@ func _Query_ProposedUpgradeAll_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/dclupgrade.types.Query/ProposedUpgradeAll", + FullMethod: "/zigbeealliance.distributedcomplianceledger.dclupgrade.Query/ProposedUpgradeAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ProposedUpgradeAll(ctx, req.(*QueryAllProposedUpgradeRequest)) @@ -820,7 +823,7 @@ func _Query_ApprovedUpgrade_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/dclupgrade.types.Query/ApprovedUpgrade", + FullMethod: "/zigbeealliance.distributedcomplianceledger.dclupgrade.Query/ApprovedUpgrade", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ApprovedUpgrade(ctx, req.(*QueryGetApprovedUpgradeRequest)) @@ -838,7 +841,7 @@ func _Query_ApprovedUpgradeAll_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/dclupgrade.types.Query/ApprovedUpgradeAll", + FullMethod: "/zigbeealliance.distributedcomplianceledger.dclupgrade.Query/ApprovedUpgradeAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ApprovedUpgradeAll(ctx, req.(*QueryAllApprovedUpgradeRequest)) @@ -856,7 +859,7 @@ func _Query_RejectedUpgrade_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/dclupgrade.types.Query/RejectedUpgrade", + FullMethod: "/zigbeealliance.distributedcomplianceledger.dclupgrade.Query/RejectedUpgrade", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RejectedUpgrade(ctx, req.(*QueryGetRejectedUpgradeRequest)) @@ -874,7 +877,7 @@ func _Query_RejectedUpgradeAll_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/dclupgrade.types.Query/RejectedUpgradeAll", + FullMethod: "/zigbeealliance.distributedcomplianceledger.dclupgrade.Query/RejectedUpgradeAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RejectedUpgradeAll(ctx, req.(*QueryAllRejectedUpgradeRequest)) @@ -883,7 +886,7 @@ func _Query_RejectedUpgradeAll_Handler(srv interface{}, ctx context.Context, dec } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "dclupgrade.types.Query", + ServiceName: "zigbeealliance.distributedcomplianceledger.dclupgrade.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -912,7 +915,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "dclupgrade/types/query.proto", + Metadata: "zigbeealliance/distributedcomplianceledger/dclupgrade/query.proto", } func (m *QueryGetProposedUpgradeRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/dclupgrade/types/query.pb.gw.go b/x/dclupgrade/types/query.pb.gw.go index b81ea6eee..5188d7f02 100644 --- a/x/dclupgrade/types/query.pb.gw.go +++ b/x/dclupgrade/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: dclupgrade/types/query.proto +// source: zigbeealliance/distributedcomplianceledger/dclupgrade/query.proto /* Package types is a reverse proxy. diff --git a/x/dclupgrade/types/rejected_upgrade.pb.go b/x/dclupgrade/types/rejected_upgrade.pb.go index 87f4865a2..5eda1c429 100644 --- a/x/dclupgrade/types/rejected_upgrade.pb.go +++ b/x/dclupgrade/types/rejected_upgrade.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclupgrade/types/rejected_upgrade.proto +// source: zigbeealliance/distributedcomplianceledger/dclupgrade/rejected_upgrade.proto package types @@ -36,7 +36,7 @@ func (m *RejectedUpgrade) Reset() { *m = RejectedUpgrade{} } func (m *RejectedUpgrade) String() string { return proto.CompactTextString(m) } func (*RejectedUpgrade) ProtoMessage() {} func (*RejectedUpgrade) Descriptor() ([]byte, []int) { - return fileDescriptor_806b8863845d17f2, []int{0} + return fileDescriptor_9591340410a3709a, []int{0} } func (m *RejectedUpgrade) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -94,37 +94,38 @@ func (m *RejectedUpgrade) GetRejects() []*Grant { } func init() { - proto.RegisterType((*RejectedUpgrade)(nil), "dclupgrade.types.RejectedUpgrade") + proto.RegisterType((*RejectedUpgrade)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.RejectedUpgrade") } func init() { - proto.RegisterFile("dclupgrade/types/rejected_upgrade.proto", fileDescriptor_806b8863845d17f2) + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/dclupgrade/rejected_upgrade.proto", fileDescriptor_9591340410a3709a) } -var fileDescriptor_806b8863845d17f2 = []byte{ - // 339 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4b, 0xc3, 0x30, - 0x18, 0x86, 0x5b, 0x37, 0x1c, 0xeb, 0x0e, 0x4a, 0x19, 0x58, 0xc7, 0xa8, 0x43, 0x04, 0x77, 0x69, - 0xc3, 0x26, 0x7a, 0x77, 0x17, 0x0f, 0x5e, 0xa4, 0xe2, 0xc5, 0xcb, 0x48, 0x93, 0x8f, 0x58, 0xc9, - 0x9a, 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x1d, 0xd4, 0x7a, 0xb5, 0x7e, 0x6b, 0x78, 0x10, 0x6f, 0x57, - 0x13, 0x5f, 0xad, 0x13, 0x27, 0x1b, 0xd2, 0x1f, 0x78, 0x0d, 0xdb, 0xab, 0x0e, 0xea, 0xff, 0x1f, - 0x55, 0xdc, 0x08, 0xe6, 0xcb, 0xd0, 0x5d, 0x2c, 0x43, 0xf7, 0x6b, 0x19, 0xba, 0xaf, 0xab, 0xd0, - 0x59, 0xac, 0x42, 0xe7, 0x63, 0x15, 0x3a, 0xf7, 0xd7, 0x2c, 0x33, 0x0f, 0xd3, 0x34, 0x26, 0x62, - 0x82, 0x5e, 0x32, 0x96, 0x02, 0x44, 0x98, 0xf3, 0x0c, 0xe7, 0x04, 0x10, 0xcd, 0xb4, 0x51, 0x59, - 0x3a, 0x35, 0x40, 0x23, 0x22, 0x26, 0xd2, 0xae, 0x23, 0x0e, 0x94, 0x81, 0x42, 0x4f, 0x68, 0xbb, - 0xdc, 0x74, 0xb7, 0xe8, 0xf5, 0xec, 0x27, 0x00, 0x00, 0xff, 0xff, 0x55, 0x0a, 0xf2, 0x43, 0x09, - 0x02, 0x00, 0x00, +var fileDescriptor_9591340410a3709a = []byte{ + // 360 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x91, 0xbf, 0x4a, 0x2b, 0x41, + 0x14, 0xc6, 0x77, 0x93, 0x70, 0x43, 0x36, 0xc5, 0x85, 0x25, 0xc5, 0xde, 0x70, 0xd9, 0x1b, 0x2e, + 0x16, 0x69, 0x76, 0x96, 0x44, 0xb4, 0xb2, 0x49, 0x1a, 0x0b, 0x2d, 0x64, 0x45, 0x8b, 0x34, 0x61, + 0x76, 0xe7, 0x30, 0xae, 0x4c, 0x76, 0x86, 0x99, 0x49, 0x50, 0x9f, 0xc2, 0x57, 0x11, 0x7c, 0x88, + 0x94, 0xc1, 0xca, 0x4a, 0x24, 0x79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 0x93, 0x72, 0xd1, + 0x1f, 0x79, 0x0d, 0x2c, 0x84, 0xe4, 0x33, 0xcc, 0x54, 0x50, 0xed, 0x54, 0xbb, 0xcd, 0xfe, 0x09, + 0xda, 0xeb, 0x91, 0xd1, 0xe9, 0xda, 0x56, 0xb2, 0xc5, 0xf9, 0xd7, 0x5e, 0xdd, 0xc4, 0xa8, 0x82, + 0xda, 0x0f, 0x90, 0x4b, 0xd8, 0x10, 0xe6, 0xcb, 0xd0, 0x5d, 0x2c, 0x43, 0xf7, 0x7d, 0x19, 0xba, + 0x8f, 0xab, 0xd0, 0x59, 0xac, 0x42, 0xe7, 0x75, 0x15, 0x3a, 0xa3, 0x33, 0x9a, 0xeb, 0x9b, 0x69, + 0x8a, 0x32, 0x3e, 0x89, 0xcd, 0xa9, 0xe8, 0xab, 0x70, 0xa2, 0xed, 0xb1, 0xc8, 0xc6, 0x73, 0xf7, + 0x39, 0x20, 0x7d, 0x2f, 0x40, 0xa5, 0xbf, 0x36, 0x09, 0x1d, 0x7e, 0x04, 0x00, 0x00, 0xff, 0xff, + 0x94, 0x47, 0x47, 0xfc, 0xc2, 0x02, 0x00, 0x00, } func (m *RejectedUpgrade) Marshal() (dAtA []byte, err error) { diff --git a/x/dclupgrade/types/tx.pb.go b/x/dclupgrade/types/tx.pb.go index 48029f29a..e24a420e2 100644 --- a/x/dclupgrade/types/tx.pb.go +++ b/x/dclupgrade/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: dclupgrade/types/tx.proto +// source: zigbeealliance/distributedcomplianceledger/dclupgrade/tx.proto package types @@ -41,7 +41,7 @@ func (m *MsgProposeUpgrade) Reset() { *m = MsgProposeUpgrade{} } func (m *MsgProposeUpgrade) String() string { return proto.CompactTextString(m) } func (*MsgProposeUpgrade) ProtoMessage() {} func (*MsgProposeUpgrade) Descriptor() ([]byte, []int) { - return fileDescriptor_7b824029e78264c9, []int{0} + return fileDescriptor_1c32c3f3434423b8, []int{0} } func (m *MsgProposeUpgrade) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -105,7 +105,7 @@ func (m *MsgProposeUpgradeResponse) Reset() { *m = MsgProposeUpgradeResp func (m *MsgProposeUpgradeResponse) String() string { return proto.CompactTextString(m) } func (*MsgProposeUpgradeResponse) ProtoMessage() {} func (*MsgProposeUpgradeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7b824029e78264c9, []int{1} + return fileDescriptor_1c32c3f3434423b8, []int{1} } func (m *MsgProposeUpgradeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -145,7 +145,7 @@ func (m *MsgApproveUpgrade) Reset() { *m = MsgApproveUpgrade{} } func (m *MsgApproveUpgrade) String() string { return proto.CompactTextString(m) } func (*MsgApproveUpgrade) ProtoMessage() {} func (*MsgApproveUpgrade) Descriptor() ([]byte, []int) { - return fileDescriptor_7b824029e78264c9, []int{2} + return fileDescriptor_1c32c3f3434423b8, []int{2} } func (m *MsgApproveUpgrade) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -209,7 +209,7 @@ func (m *MsgApproveUpgradeResponse) Reset() { *m = MsgApproveUpgradeResp func (m *MsgApproveUpgradeResponse) String() string { return proto.CompactTextString(m) } func (*MsgApproveUpgradeResponse) ProtoMessage() {} func (*MsgApproveUpgradeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7b824029e78264c9, []int{3} + return fileDescriptor_1c32c3f3434423b8, []int{3} } func (m *MsgApproveUpgradeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -249,7 +249,7 @@ func (m *MsgRejectUpgrade) Reset() { *m = MsgRejectUpgrade{} } func (m *MsgRejectUpgrade) String() string { return proto.CompactTextString(m) } func (*MsgRejectUpgrade) ProtoMessage() {} func (*MsgRejectUpgrade) Descriptor() ([]byte, []int) { - return fileDescriptor_7b824029e78264c9, []int{4} + return fileDescriptor_1c32c3f3434423b8, []int{4} } func (m *MsgRejectUpgrade) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -313,7 +313,7 @@ func (m *MsgRejectUpgradeResponse) Reset() { *m = MsgRejectUpgradeRespon func (m *MsgRejectUpgradeResponse) String() string { return proto.CompactTextString(m) } func (*MsgRejectUpgradeResponse) ProtoMessage() {} func (*MsgRejectUpgradeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7b824029e78264c9, []int{5} + return fileDescriptor_1c32c3f3434423b8, []int{5} } func (m *MsgRejectUpgradeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -343,49 +343,52 @@ func (m *MsgRejectUpgradeResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgRejectUpgradeResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*MsgProposeUpgrade)(nil), "dclupgrade.types.MsgProposeUpgrade") - proto.RegisterType((*MsgProposeUpgradeResponse)(nil), "dclupgrade.types.MsgProposeUpgradeResponse") - proto.RegisterType((*MsgApproveUpgrade)(nil), "dclupgrade.types.MsgApproveUpgrade") - proto.RegisterType((*MsgApproveUpgradeResponse)(nil), "dclupgrade.types.MsgApproveUpgradeResponse") - proto.RegisterType((*MsgRejectUpgrade)(nil), "dclupgrade.types.MsgRejectUpgrade") - proto.RegisterType((*MsgRejectUpgradeResponse)(nil), "dclupgrade.types.MsgRejectUpgradeResponse") -} - -func init() { proto.RegisterFile("dclupgrade/types/tx.proto", fileDescriptor_7b824029e78264c9) } - -var fileDescriptor_7b824029e78264c9 = []byte{ - // 492 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x94, 0xc1, 0x6e, 0xd3, 0x30, - 0x1c, 0xc6, 0x9b, 0x35, 0x02, 0x61, 0x04, 0x1a, 0x61, 0x12, 0x69, 0x40, 0x59, 0x15, 0x38, 0x54, - 0x54, 0x4d, 0xd8, 0x40, 0x93, 0x40, 0xe2, 0xb0, 0xde, 0x10, 0xaa, 0x34, 0x05, 0x71, 0xe1, 0x32, - 0x39, 0xf1, 0x1f, 0x63, 0x94, 0xc4, 0xc6, 0x76, 0xab, 0xc2, 0x8d, 0x37, 0xe0, 0x49, 0x38, 0xf1, - 0x10, 0x3b, 0x70, 0x98, 0xb8, 0xc0, 0x69, 0x42, 0xed, 0x1b, 0xf0, 0x04, 0x68, 0x4e, 0xb3, 0x91, - 0xb4, 0x08, 0x0e, 0xdd, 0xcd, 0xce, 0xf7, 0x73, 0xbe, 0xef, 0xb3, 0x13, 0xa3, 0x0e, 0x49, 0xb3, - 0xb1, 0xa0, 0x12, 0x13, 0x88, 0xf4, 0x7b, 0x01, 0x2a, 0xd2, 0xd3, 0x50, 0x48, 0xae, 0xb9, 0xb3, - 0x79, 0x2e, 0x85, 0x46, 0xf2, 0xb6, 0x28, 0xa7, 0xdc, 0x88, 0xd1, 0xe9, 0xa8, 0xe4, 0xbc, 0x4e, - 0xca, 0x55, 0xce, 0xd5, 0x61, 0x29, 0x94, 0x93, 0x85, 0x74, 0xaf, 0x9c, 0x45, 0x95, 0xc3, 0x64, - 0x27, 0x01, 0x8d, 0x77, 0xaa, 0x79, 0x49, 0x05, 0xdf, 0x2d, 0x74, 0x63, 0xa4, 0xe8, 0x81, 0xe4, - 0x82, 0x2b, 0x78, 0x59, 0x6a, 0xce, 0x33, 0x74, 0x39, 0x95, 0x80, 0x35, 0x97, 0xae, 0xd5, 0xb5, - 0x7a, 0x57, 0x86, 0xd1, 0xaf, 0x93, 0xed, 0x9b, 0x13, 0x9c, 0x31, 0x82, 0x35, 0x3c, 0x09, 0x24, - 0xbc, 0x1b, 0x33, 0x09, 0x24, 0xf8, 0xf6, 0x65, 0xb0, 0xb5, 0x70, 0xdd, 0x27, 0x44, 0x82, 0x52, - 0x2f, 0xb4, 0x64, 0x05, 0x8d, 0xab, 0xf5, 0xce, 0x1e, 0xb2, 0x45, 0x86, 0x0b, 0x77, 0xa3, 0x6b, - 0xf5, 0xae, 0xee, 0xde, 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0xd1, 0xcc, 0xb7, 0x8e, 0x67, 0xbe, 0xf5, 0x73, - 0xe6, 0x5b, 0x9f, 0xe6, 0x7e, 0xeb, 0x78, 0xee, 0xb7, 0x7e, 0xcc, 0xfd, 0xd6, 0xab, 0xe7, 0x94, - 0xe9, 0x37, 0xe3, 0x24, 0x4c, 0x79, 0x1e, 0x7d, 0x60, 0x34, 0x01, 0x18, 0xe0, 0x2c, 0x63, 0xb8, - 0x48, 0x21, 0x22, 0x4c, 0x69, 0xc9, 0x92, 0xb1, 0x06, 0x32, 0x48, 0x79, 0x2e, 0xca, 0xc7, 0x83, - 0x0c, 0x08, 0x05, 0x19, 0x4d, 0xa3, 0xe6, 0x65, 0x94, 0x5c, 0x32, 0x37, 0xc4, 0xc3, 0xdf, 0x01, - 0x00, 0x00, 0xff, 0xff, 0xa1, 0xd7, 0xa5, 0xd1, 0xa7, 0x04, 0x00, 0x00, + proto.RegisterType((*MsgProposeUpgrade)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.MsgProposeUpgrade") + proto.RegisterType((*MsgProposeUpgradeResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.MsgProposeUpgradeResponse") + proto.RegisterType((*MsgApproveUpgrade)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.MsgApproveUpgrade") + proto.RegisterType((*MsgApproveUpgradeResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.MsgApproveUpgradeResponse") + proto.RegisterType((*MsgRejectUpgrade)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.MsgRejectUpgrade") + proto.RegisterType((*MsgRejectUpgradeResponse)(nil), "zigbeealliance.distributedcomplianceledger.dclupgrade.MsgRejectUpgradeResponse") +} + +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/dclupgrade/tx.proto", fileDescriptor_1c32c3f3434423b8) +} + +var fileDescriptor_1c32c3f3434423b8 = []byte{ + // 510 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x94, 0xc1, 0x8a, 0xd3, 0x40, + 0x18, 0xc7, 0x3b, 0x36, 0x28, 0x8e, 0x28, 0x1a, 0x17, 0xcc, 0x46, 0xc9, 0x96, 0xe0, 0xa1, 0xb0, + 0x34, 0x71, 0x57, 0x5d, 0x50, 0x50, 0xd8, 0x5e, 0x54, 0xa4, 0x58, 0x22, 0x5e, 0xbc, 0xc8, 0x24, + 0xf9, 0x1c, 0x47, 0x92, 0x4c, 0x9c, 0x99, 0x96, 0xea, 0xcd, 0x27, 0xd0, 0xd7, 0x10, 0x3c, 0xfa, + 0x10, 0x7b, 0xf0, 0xb0, 0x78, 0xd1, 0xd3, 0x22, 0xed, 0x1b, 0xf8, 0x04, 0xe2, 0x4c, 0xb2, 0x35, + 0xed, 0xe2, 0x61, 0xb7, 0xde, 0x66, 0x3a, 0xdf, 0xf7, 0xff, 0xff, 0xfe, 0xf4, 0xcb, 0x87, 0xef, + 0xbf, 0x63, 0x34, 0x06, 0x20, 0x59, 0xc6, 0x48, 0x91, 0x40, 0x98, 0x32, 0xa9, 0x04, 0x8b, 0x47, + 0x0a, 0xd2, 0x84, 0xe7, 0xa5, 0xf9, 0x35, 0x83, 0x94, 0x82, 0x08, 0xd3, 0x24, 0x1b, 0x95, 0x54, + 0x90, 0x14, 0x42, 0x35, 0x09, 0x4a, 0xc1, 0x15, 0xb7, 0x6f, 0x37, 0xfb, 0x83, 0x7f, 0xf4, 0x07, + 0xf3, 0x7e, 0x77, 0x8d, 0x72, 0xca, 0xb5, 0x42, 0xf8, 0xe7, 0x64, 0xc4, 0xdc, 0xf5, 0x84, 0xcb, + 0x9c, 0xcb, 0x17, 0xe6, 0xc1, 0x5c, 0xaa, 0xa7, 0xeb, 0xe6, 0x16, 0xd6, 0x00, 0xe3, 0xad, 0x18, + 0x14, 0xd9, 0xaa, 0xef, 0xa6, 0xca, 0xff, 0x8e, 0xf0, 0xa5, 0x81,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, 0x93, 0xdb, 0x7f, 0x93, 0xaf, 0x0a, 0xd0, 0xc5, 0xce, 0x22, 0x42, 0xcd, 0xb7, 0xfd, 0xc1, + 0xc2, 0xed, 0x81, 0xa4, 0xf6, 0x67, 0x84, 0x2f, 0x2c, 0xcc, 0xe1, 0xc3, 0xe0, 0x58, 0x1f, 0x4b, + 0xb0, 0xf4, 0xc7, 0xbb, 0xc3, 0x55, 0x29, 0xd5, 0xd8, 0x1a, 0x77, 0x61, 0x7e, 0x4e, 0x80, 0xdb, + 0x54, 0x3a, 0x09, 0xee, 0xd1, 0x53, 0x60, 0x7f, 0x42, 0xf8, 0x7c, 0x73, 0x04, 0x1e, 0x1c, 0xdf, + 0xa3, 0x21, 0xe4, 0x3e, 0x59, 0x91, 0x50, 0xcd, 0xda, 0x87, 0xbd, 0xa9, 0x87, 0xf6, 0xa7, 0x1e, + 0xfa, 0x39, 0xf5, 0xd0, 0xc7, 0x99, 0xd7, 0xda, 0x9f, 0x79, 0xad, 0x1f, 0x33, 0xaf, 0xf5, 0xfc, + 0x31, 0x65, 0xea, 0xd5, 0x28, 0x0e, 0x12, 0x9e, 0x87, 0xc6, 0xb4, 0x77, 0xd4, 0x22, 0xee, 0xcd, + 0x6d, 0x7b, 0xd5, 0x2a, 0x9e, 0x34, 0x96, 0xf1, 0xdb, 0x12, 0x64, 0x7c, 0x5a, 0xaf, 0xc0, 0x9b, + 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xf6, 0x4a, 0x2b, 0x58, 0xd2, 0x05, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -415,7 +418,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { func (c *msgClient) ProposeUpgrade(ctx context.Context, in *MsgProposeUpgrade, opts ...grpc.CallOption) (*MsgProposeUpgradeResponse, error) { out := new(MsgProposeUpgradeResponse) - err := c.cc.Invoke(ctx, "/dclupgrade.types.Msg/ProposeUpgrade", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclupgrade.Msg/ProposeUpgrade", in, out, opts...) if err != nil { return nil, err } @@ -424,7 +427,7 @@ func (c *msgClient) ProposeUpgrade(ctx context.Context, in *MsgProposeUpgrade, o func (c *msgClient) ApproveUpgrade(ctx context.Context, in *MsgApproveUpgrade, opts ...grpc.CallOption) (*MsgApproveUpgradeResponse, error) { out := new(MsgApproveUpgradeResponse) - err := c.cc.Invoke(ctx, "/dclupgrade.types.Msg/ApproveUpgrade", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclupgrade.Msg/ApproveUpgrade", in, out, opts...) if err != nil { return nil, err } @@ -433,7 +436,7 @@ func (c *msgClient) ApproveUpgrade(ctx context.Context, in *MsgApproveUpgrade, o func (c *msgClient) RejectUpgrade(ctx context.Context, in *MsgRejectUpgrade, opts ...grpc.CallOption) (*MsgRejectUpgradeResponse, error) { out := new(MsgRejectUpgradeResponse) - err := c.cc.Invoke(ctx, "/dclupgrade.types.Msg/RejectUpgrade", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.dclupgrade.Msg/RejectUpgrade", in, out, opts...) if err != nil { return nil, err } @@ -475,7 +478,7 @@ func _Msg_ProposeUpgrade_Handler(srv interface{}, ctx context.Context, dec func( } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/dclupgrade.types.Msg/ProposeUpgrade", + FullMethod: "/zigbeealliance.distributedcomplianceledger.dclupgrade.Msg/ProposeUpgrade", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ProposeUpgrade(ctx, req.(*MsgProposeUpgrade)) @@ -493,7 +496,7 @@ func _Msg_ApproveUpgrade_Handler(srv interface{}, ctx context.Context, dec func( } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/dclupgrade.types.Msg/ApproveUpgrade", + FullMethod: "/zigbeealliance.distributedcomplianceledger.dclupgrade.Msg/ApproveUpgrade", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ApproveUpgrade(ctx, req.(*MsgApproveUpgrade)) @@ -511,7 +514,7 @@ func _Msg_RejectUpgrade_Handler(srv interface{}, ctx context.Context, dec func(i } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/dclupgrade.types.Msg/RejectUpgrade", + FullMethod: "/zigbeealliance.distributedcomplianceledger.dclupgrade.Msg/RejectUpgrade", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).RejectUpgrade(ctx, req.(*MsgRejectUpgrade)) @@ -520,7 +523,7 @@ func _Msg_RejectUpgrade_Handler(srv interface{}, ctx context.Context, dec func(i } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "dclupgrade.types.Msg", + ServiceName: "zigbeealliance.distributedcomplianceledger.dclupgrade.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -537,7 +540,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "dclupgrade/types/tx.proto", + Metadata: "zigbeealliance/distributedcomplianceledger/dclupgrade/tx.proto", } func (m *MsgProposeUpgrade) Marshal() (dAtA []byte, err error) { diff --git a/x/model/types/genesis.pb.go b/x/model/types/genesis.pb.go index 83782fdb1..fc182b684 100644 --- a/x/model/types/genesis.pb.go +++ b/x/model/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: model/types/genesis.proto +// source: zigbeealliance/distributedcomplianceledger/model/genesis.proto package types @@ -35,7 +35,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} } func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_cf0581302bd2e3d5, []int{0} + return fileDescriptor_0e1f6ec318373958, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -93,34 +93,37 @@ func (m *GenesisState) GetModelVersionsList() []ModelVersions { } func init() { - proto.RegisterType((*GenesisState)(nil), "model.types.GenesisState") + proto.RegisterType((*GenesisState)(nil), "zigbeealliance.distributedcomplianceledger.model.GenesisState") } -func init() { proto.RegisterFile("model/types/genesis.proto", fileDescriptor_cf0581302bd2e3d5) } +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/model/genesis.proto", fileDescriptor_0e1f6ec318373958) +} -var fileDescriptor_cf0581302bd2e3d5 = []byte{ - // 324 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xcc, 0xcd, 0x4f, 0x49, - 0xcd, 0xd1, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, - 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x06, 0x4b, 0xe9, 0x81, 0xa5, 0xa4, 0x14, 0x91, 0xd5, - 0x95, 0xa5, 0xe6, 0xa5, 0xe4, 0x17, 0xc5, 0x17, 0x14, 0xe5, 0xa7, 0x94, 0x26, 0x97, 0x40, 0xd5, - 0x4b, 0x89, 0x23, 0x2b, 0x81, 0xe8, 0x85, 0x48, 0xc8, 0x63, 0x48, 0xc4, 0x97, 0xa5, 0x16, 0x15, - 0x67, 0xe6, 0xe7, 0x41, 0x15, 0x28, 0xe0, 0x54, 0x00, 0x33, 0x5b, 0x24, 0x3d, 0x3f, 0x3d, 0x1f, - 0xcc, 0xd4, 0x07, 0xb1, 0x20, 0xa2, 0x4a, 0xdb, 0x98, 0xb8, 0x78, 0xdc, 0x21, 0x6e, 0x0e, 0x2e, - 0x49, 0x2c, 0x49, 0x15, 0x0a, 0xe4, 0x12, 0x82, 0xb8, 0x2d, 0x00, 0xea, 0x34, 0x9f, 0xcc, 0xe2, - 0x12, 0x09, 0x46, 0x05, 0x66, 0x0d, 0x6e, 0x23, 0x69, 0x3d, 0x24, 0xff, 0xe8, 0x85, 0xa1, 0x28, - 0x73, 0x62, 0x39, 0x71, 0x4f, 0x9e, 0x21, 0x08, 0x8b, 0x66, 0x21, 0x33, 0x2e, 0x4e, 0xb0, 0x3e, - 0xb0, 0x49, 0x4c, 0x60, 0x93, 0x84, 0x50, 0x4c, 0xf2, 0x05, 0xb1, 0xa1, 0x06, 0x20, 0x94, 0x0a, - 0x79, 0x73, 0x09, 0x80, 0x39, 0x61, 0x10, 0x8f, 0x80, 0xb5, 0x33, 0x83, 0xb5, 0x4b, 0x62, 0x6a, - 0x87, 0x2a, 0x82, 0x9a, 0x82, 0xa1, 0x51, 0xc8, 0x8f, 0x4b, 0x10, 0x59, 0x0c, 0xe2, 0x2d, 0x16, - 0xb0, 0x69, 0x52, 0x38, 0x4d, 0x83, 0xf9, 0x0a, 0x53, 0xab, 0x53, 0xc2, 0x89, 0x47, 0x72, 0x8c, - 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, - 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0xb9, 0xa5, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, - 0xe7, 0xea, 0x57, 0x65, 0xa6, 0x27, 0xa5, 0xa6, 0xea, 0x26, 0xe6, 0xe4, 0x64, 0x26, 0xe6, 0x25, - 0xa7, 0xea, 0xa7, 0x64, 0x16, 0x97, 0x14, 0x65, 0x26, 0x95, 0x96, 0xa4, 0xa6, 0xe8, 0x26, 0xe7, - 0xe7, 0x16, 0x40, 0x84, 0x75, 0x73, 0x52, 0x53, 0xd2, 0x53, 0x8b, 0xf4, 0x2b, 0xf4, 0x91, 0x62, - 0x31, 0x89, 0x0d, 0x1c, 0x43, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6d, 0x3f, 0xeb, 0x61, - 0x60, 0x02, 0x00, 0x00, +var fileDescriptor_0e1f6ec318373958 = []byte{ + // 339 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0xab, 0xca, 0x4c, 0x4f, + 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4f, 0xc9, 0x2c, 0x2e, 0x29, + 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, + 0xa7, 0x16, 0xe9, 0xe7, 0xe6, 0xa7, 0xa4, 0xe6, 0xe8, 0xa7, 0xa7, 0xe6, 0xa5, 0x16, 0x67, 0x16, + 0xeb, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, 0x19, 0xa0, 0xea, 0xd7, 0xc3, 0xa3, 0x5f, 0x0f, 0xac, + 0x5f, 0xca, 0x8d, 0x64, 0x1b, 0xcb, 0x52, 0xf3, 0x52, 0xf2, 0x8b, 0xe2, 0x0b, 0x8a, 0xf2, 0x53, + 0x4a, 0x93, 0x4b, 0xa0, 0x36, 0x4b, 0xd9, 0x90, 0x6c, 0x0e, 0x98, 0x84, 0xea, 0x76, 0x21, 0x4f, + 0x77, 0x7c, 0x59, 0x6a, 0x51, 0x71, 0x66, 0x7e, 0x1e, 0xd4, 0x14, 0x57, 0xca, 0x4c, 0x81, 0x79, + 0x45, 0x24, 0x3d, 0x3f, 0x3d, 0x1f, 0xcc, 0xd4, 0x07, 0xb1, 0x20, 0xa2, 0x4a, 0xa7, 0x98, 0xb9, + 0x78, 0xdc, 0x21, 0x81, 0x1d, 0x5c, 0x92, 0x58, 0x92, 0x2a, 0x54, 0xc6, 0x25, 0x04, 0x09, 0x8a, + 0x00, 0x68, 0x48, 0xf8, 0x64, 0x16, 0x97, 0x48, 0x30, 0x2a, 0x30, 0x6b, 0x70, 0x1b, 0x39, 0xe8, + 0x91, 0x1a, 0x11, 0x7a, 0x61, 0x28, 0x66, 0x39, 0xb1, 0x9c, 0xb8, 0x27, 0xcf, 0x10, 0x84, 0xc5, + 0x06, 0xa1, 0x68, 0x2e, 0x4e, 0xb0, 0x0e, 0xb0, 0x75, 0x4c, 0x60, 0xeb, 0xcc, 0x49, 0xb7, 0xce, + 0x17, 0x44, 0x42, 0x6d, 0x41, 0x98, 0x27, 0x54, 0xc0, 0x25, 0x00, 0xe6, 0x84, 0x41, 0x82, 0x04, + 0x6c, 0x07, 0x33, 0xd8, 0x0e, 0x3b, 0x32, 0xed, 0x80, 0x9a, 0x04, 0xb5, 0x0a, 0xc3, 0x74, 0xa1, + 0x62, 0x2e, 0x41, 0x64, 0x31, 0x48, 0x28, 0xb2, 0x80, 0xad, 0xb4, 0xa7, 0xcc, 0x4a, 0x58, 0x20, + 0x62, 0x9a, 0xef, 0x94, 0x70, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, + 0x31, 0x4e, 0x78, 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0x6e, + 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0x10, 0xdb, 0x75, 0xb1, 0xa5, + 0x27, 0x5d, 0x84, 0xfd, 0xba, 0xd0, 0x14, 0x55, 0x01, 0x4d, 0x53, 0x25, 0x95, 0x05, 0xa9, 0xc5, + 0x49, 0x6c, 0xe0, 0x54, 0x63, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x77, 0x39, 0x8f, 0x7b, 0xd2, + 0x03, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/model/types/model.pb.go b/x/model/types/model.pb.go index 9d09e0863..d0bc60e24 100644 --- a/x/model/types/model.pb.go +++ b/x/model/types/model.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: model/types/model.proto +// source: zigbeealliance/distributedcomplianceledger/model/model.proto package types @@ -48,7 +48,7 @@ func (m *Model) Reset() { *m = Model{} } func (m *Model) String() string { return proto.CompactTextString(m) } func (*Model) ProtoMessage() {} func (*Model) Descriptor() ([]byte, []int) { - return fileDescriptor_d80b9ba641dc9845, []int{0} + return fileDescriptor_363bb1b07b19a129, []int{0} } func (m *Model) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -204,45 +204,48 @@ func (m *Model) GetCreator() string { } func init() { - proto.RegisterType((*Model)(nil), "model.types.Model") + proto.RegisterType((*Model)(nil), "zigbeealliance.distributedcomplianceledger.model.Model") } -func init() { proto.RegisterFile("model/types/model.proto", fileDescriptor_d80b9ba641dc9845) } +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/model/model.proto", fileDescriptor_363bb1b07b19a129) +} -var fileDescriptor_d80b9ba641dc9845 = []byte{ - // 500 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0xcd, 0x6e, 0x13, 0x31, - 0x14, 0x85, 0x3b, 0x94, 0xa4, 0xd4, 0x69, 0xa0, 0x58, 0x88, 0x9a, 0x2e, 0x46, 0xa1, 0xb0, 0x88, - 0x90, 0xd2, 0x91, 0x60, 0xc3, 0x0a, 0x89, 0x22, 0x55, 0x44, 0x6a, 0x2b, 0x94, 0xc0, 0xa6, 0x0b, - 0xc0, 0x63, 0xdf, 0x0e, 0x96, 0x3c, 0xb6, 0x65, 0x7b, 0x02, 0xe1, 0x29, 0x78, 0x18, 0x1e, 0x82, - 0x65, 0xc5, 0x8a, 0x1d, 0x28, 0x79, 0x11, 0x64, 0x4f, 0xa0, 0x13, 0xa1, 0xfe, 0xb0, 0xf3, 0x3d, -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 0xef, 0x32, 0x5d, - 0x66, 0x9f, 0x45, 0x91, 0x03, 0x0c, 0xa8, 0x94, 0x82, 0x2a, 0x06, 0x19, 0x17, 0xce, 0x5b, 0x91, - 0x57, 0x1e, 0xf8, 0x80, 0xe9, 0xd2, 0xd4, 0xf2, 0x40, 0x02, 0x2f, 0xc0, 0x66, 0x9f, 0xb2, 0xc6, - 0xde, 0xe7, 0xed, 0xb8, 0xca, 0x4f, 0x7e, 0x07, 0x00, 0x00, 0xff, 0xff, 0x0c, 0x66, 0x5d, 0x08, - 0x0d, 0x04, 0x00, 0x00, +var fileDescriptor_363bb1b07b19a129 = []byte{ + // 515 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x4d, 0x6e, 0x13, 0x31, + 0x14, 0xce, 0x50, 0x92, 0x52, 0xb7, 0x81, 0x62, 0x21, 0x30, 0x5d, 0x8c, 0x42, 0x61, 0x11, 0x21, + 0x25, 0x41, 0xb0, 0x61, 0x81, 0x90, 0x28, 0x52, 0x45, 0xa4, 0xb6, 0x42, 0x09, 0x6c, 0xba, 0x00, + 0x3c, 0xf6, 0x6b, 0xb0, 0xe4, 0xb1, 0x2d, 0xdb, 0x13, 0x08, 0xa7, 0xe0, 0x30, 0x1c, 0x82, 0x65, + 0xc5, 0x8a, 0x1d, 0x28, 0xb9, 0x08, 0xb2, 0x67, 0x20, 0x89, 0xa0, 0x69, 0xd9, 0x44, 0xf1, 0xf7, + 0xe3, 0xf9, 0x34, 0xf3, 0xbd, 0x87, 0x9e, 0x7c, 0x12, 0xa3, 0x0c, 0x80, 0x4a, 0x29, 0xa8, 0x62, + 0xd0, 0xe3, 0xc2, 0x79, 0x2b, 0xb2, 0xc2, 0x03, 0x67, 0x3a, 0x37, 0x25, 0x2a, 0x81, 0x8f, 0xc0, + 0xf6, 0x72, 0xcd, 0x41, 0x96, 0xbf, 0x5d, 0x63, 0xb5, 0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ce, 0x7c, 0xaa, 0x3b, 0xd5, 0x52, 0xf8, 0x58, 0xad, 0x05, 0x3f, 0x31, 0xe0, + 0xb2, 0x46, 0x1c, 0xe5, 0x47, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0x2b, 0x18, 0xcb, 0x0b, 0x57, + 0x04, 0x00, 0x00, } func (m *Model) Marshal() (dAtA []byte, err error) { diff --git a/x/model/types/model_version.pb.go b/x/model/types/model_version.pb.go index 965307897..2546fd0d3 100644 --- a/x/model/types/model_version.pb.go +++ b/x/model/types/model_version.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: model/types/model_version.proto +// source: zigbeealliance/distributedcomplianceledger/model/model_version.proto package types @@ -45,7 +45,7 @@ func (m *ModelVersion) Reset() { *m = ModelVersion{} } func (m *ModelVersion) String() string { return proto.CompactTextString(m) } func (*ModelVersion) ProtoMessage() {} func (*ModelVersion) Descriptor() ([]byte, []int) { - return fileDescriptor_48ee588b61525123, []int{0} + return fileDescriptor_2a6cd95628709428, []int{0} } func (m *ModelVersion) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -180,42 +180,44 @@ func (m *ModelVersion) GetCreator() string { } func init() { - proto.RegisterType((*ModelVersion)(nil), "model.types.ModelVersion") -} - -func init() { proto.RegisterFile("model/types/model_version.proto", fileDescriptor_48ee588b61525123) } - -var fileDescriptor_48ee588b61525123 = []byte{ - // 452 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x93, 0x41, 0x6f, 0xd3, 0x30, - 0x14, 0xc7, 0x6b, 0xb6, 0x76, 0x9b, 0xbb, 0x31, 0x64, 0x06, 0x32, 0x08, 0x85, 0x88, 0x53, 0x2e, - 0x6d, 0xd0, 0xe0, 0x0b, 0xac, 0x48, 0x93, 0x38, 0xb0, 0x43, 0x0a, 0x3b, 0x70, 0x19, 0x4e, 0xfc, - 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c, 0x58, 0x67, 0x44, 0xbe, - 0x70, 0xc0, 0x47, 0x85, 0x56, 0x55, 0x8d, 0x47, 0x12, 0xf8, 0x1c, 0x4c, 0x7a, 0x9d, 0xb6, 0x7e, - 0x97, 0x7c, 0x10, 0x36, 0xff, 0xcd, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6d, 0xe4, 0x16, 0xa5, - 0x44, 0x03, 0x00, 0x00, + proto.RegisterType((*ModelVersion)(nil), "zigbeealliance.distributedcomplianceledger.model.ModelVersion") +} + +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/model/model_version.proto", fileDescriptor_2a6cd95628709428) +} + +var fileDescriptor_2a6cd95628709428 = []byte{ + // 464 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x93, 0xc1, 0x6e, 0x13, 0x31, + 0x10, 0x86, 0x63, 0xda, 0xa4, 0xad, 0xdb, 0x52, 0x64, 0x0a, 0x32, 0x08, 0xad, 0x56, 0x9c, 0xf6, + 0x92, 0xa4, 0x2a, 0xbc, 0x40, 0x03, 0xaa, 0xc4, 0x81, 0x1e, 0x36, 0xd0, 0x03, 0x97, 0xe2, 0x5d, + 0x4f, 0x52, 0x0b, 0x7b, 0xbd, 0xb2, 0x9d, 0xd2, 0xf6, 0x21, 0x10, 0x0f, 0xc3, 0x43, 0x70, 0xac, + 0x38, 0x71, 0x44, 0xc9, 0x8b, 0x20, 0xdb, 0x8b, 0x08, 0xab, 0x90, 0x4b, 0x14, 0x7f, 0xf3, 0xcf, + 0x3f, 0x9e, 0x1d, 0x0f, 0x7e, 0x7d, 0x2b, 0xa6, 0x05, 0x00, 0x93, 0x52, 0xb0, 0xaa, 0x84, 0x21, + 0x17, 0xd6, 0x19, 0x51, 0xcc, 0x1c, 0xf0, 0x52, 0xab, 0x3a, 0x52, 0x09, 0x7c, 0x0a, 0x66, 0xa8, + 0x34, 0x07, 0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28, 0x3f, 0xd9, 0x99, 0xa2, 0x38, 0xa4, + 0x2f, 0x23, 0xdf, 0xeb, 0xd2, 0xf1, 0xdd, 0x4d, 0x0d, 0x74, 0x37, 0xf6, 0xda, 0xc2, 0x64, 0x84, + 0x9f, 0x29, 0x51, 0x9d, 0xd4, 0xb5, 0x14, 0x25, 0x2b, 0x24, 0x8c, 0x5b, 0x23, 0xd8, 0x0b, 0x23, + 0x58, 0xab, 0x09, 0x1e, 0xec, 0xfa, 0xff, 0x1e, 0xfb, 0x8d, 0xc7, 0x1a, 0x8d, 0xbf, 0xb1, 0x01, + 0x09, 0xcc, 0xc2, 0x99, 0x76, 0x60, 0xfd, 0x67, 0xb9, 0x1f, 0xfa, 0x6a, 0x63, 0x72, 0x8c, 0xb7, + 0x4a, 0x03, 0xcc, 0x69, 0x43, 0x0f, 0xbc, 0x62, 0x44, 0x7f, 0x7c, 0xeb, 0x1f, 0x36, 0xef, 0xef, + 0x84, 0x73, 0x03, 0xd6, 0xc6, 0x91, 0xe7, 0x7f, 0x84, 0xa3, 0x8f, 0xdf, 0xe7, 0x09, 0xba, 0x9b, + 0x27, 0xe8, 0xd7, 0x3c, 0x41, 0x5f, 0x17, 0x49, 0xe7, 0x6e, 0x91, 0x74, 0x7e, 0x2e, 0x92, 0xce, + 0x87, 0xd3, 0xa9, 0x70, 0x97, 0xb3, 0x62, 0x50, 0x6a, 0x35, 0x8c, 0x2b, 0xd0, 0x5f, 0xb5, 0x49, + 0xfd, 0xbf, 0x4b, 0xd0, 0x6f, 0x76, 0xe9, 0xba, 0xd9, 0x26, 0x77, 0x53, 0x83, 0x2d, 0x7a, 0xe1, + 0xe5, 0xbf, 0xf8, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x96, 0xd7, 0x2b, 0x21, 0x8e, 0x03, 0x00, 0x00, } func (m *ModelVersion) Marshal() (dAtA []byte, err error) { diff --git a/x/model/types/model_versions.pb.go b/x/model/types/model_versions.pb.go index 36678dbfb..e0f41bb99 100644 --- a/x/model/types/model_versions.pb.go +++ b/x/model/types/model_versions.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: model/types/model_versions.proto +// source: zigbeealliance/distributedcomplianceledger/model/model_versions.proto package types @@ -32,7 +32,7 @@ func (m *ModelVersions) Reset() { *m = ModelVersions{} } func (m *ModelVersions) String() string { return proto.CompactTextString(m) } func (*ModelVersions) ProtoMessage() {} func (*ModelVersions) Descriptor() ([]byte, []int) { - return fileDescriptor_bb9624ed7f26c9c3, []int{0} + return fileDescriptor_eb2b229077d76c14, []int{0} } func (m *ModelVersions) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -83,27 +83,29 @@ func (m *ModelVersions) GetSoftwareVersions() []uint32 { } func init() { - proto.RegisterType((*ModelVersions)(nil), "model.types.ModelVersions") + proto.RegisterType((*ModelVersions)(nil), "zigbeealliance.distributedcomplianceledger.model.ModelVersions") } -func init() { proto.RegisterFile("model/types/model_versions.proto", fileDescriptor_bb9624ed7f26c9c3) } +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/model/model_versions.proto", fileDescriptor_eb2b229077d76c14) +} -var fileDescriptor_bb9624ed7f26c9c3 = []byte{ - // 214 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0xc8, 0xcd, 0x4f, 0x49, - 0xcd, 0xd1, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x07, 0xb3, 0xe3, 0xcb, 0x52, 0x8b, 0x8a, 0x33, - 0xf3, 0xf3, 0x8a, 0xf5, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0xb8, 0xc1, 0xa2, 0x7a, 0x60, 0x15, - 0x4a, 0xf1, 0x5c, 0xbc, 0xbe, 0x20, 0x6e, 0x18, 0x54, 0x8d, 0x90, 0x00, 0x17, 0x73, 0x59, 0x66, - 0x8a, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x6b, 0x10, 0x88, 0x09, 0x12, 0x29, 0xc8, 0x4c, 0x91, 0x60, - 0x82, 0x88, 0x14, 0x64, 0xa6, 0x08, 0x69, 0x71, 0x09, 0x14, 0xe7, 0xa7, 0x95, 0x94, 0x27, 0x16, - 0xa5, 0xc2, 0xf4, 0x49, 0x30, 0x2b, 0x30, 0x6b, 0xf0, 0x06, 0x61, 0x88, 0x3b, 0x25, 0x9c, 0x78, - 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, - 0x78, 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x5b, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, - 0x5e, 0x72, 0x7e, 0xae, 0x7e, 0x55, 0x66, 0x7a, 0x52, 0x6a, 0xaa, 0x6e, 0x62, 0x4e, 0x4e, 0x66, - 0x62, 0x5e, 0x72, 0xaa, 0x7e, 0x4a, 0x66, 0x71, 0x49, 0x51, 0x66, 0x52, 0x69, 0x49, 0x6a, 0x8a, - 0x6e, 0x72, 0x7e, 0x6e, 0x01, 0x44, 0x58, 0x37, 0x27, 0x35, 0x25, 0x3d, 0xb5, 0x48, 0xbf, 0x42, - 0x1f, 0xc9, 0x93, 0x49, 0x6c, 0x60, 0x6f, 0x19, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x0a, 0x36, - 0x7e, 0xee, 0xfa, 0x00, 0x00, 0x00, +var fileDescriptor_eb2b229077d76c14 = []byte{ + // 224 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x72, 0xad, 0xca, 0x4c, 0x4f, + 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4f, 0xc9, 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 0x00, 0x00, 0xff, 0xff, 0x24, 0x4a, 0xd5, 0x21, 0x44, 0x01, 0x00, 0x00, } func (m *ModelVersions) Marshal() (dAtA []byte, err error) { diff --git a/x/model/types/product.pb.go b/x/model/types/product.pb.go index 57517f0fa..43400f58f 100644 --- a/x/model/types/product.pb.go +++ b/x/model/types/product.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: model/types/product.proto +// source: zigbeealliance/distributedcomplianceledger/model/product.proto package types @@ -32,7 +32,7 @@ func (m *Product) Reset() { *m = Product{} } func (m *Product) String() string { return proto.CompactTextString(m) } func (*Product) ProtoMessage() {} func (*Product) Descriptor() ([]byte, []int) { - return fileDescriptor_23133626a9497b10, []int{0} + return fileDescriptor_a2362e9df72af44d, []int{0} } func (m *Product) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -83,26 +83,29 @@ func (m *Product) GetPartNumber() string { } func init() { - proto.RegisterType((*Product)(nil), "model.types.Product") + proto.RegisterType((*Product)(nil), "zigbeealliance.distributedcomplianceledger.model.Product") } -func init() { proto.RegisterFile("model/types/product.proto", fileDescriptor_23133626a9497b10) } +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/model/product.proto", fileDescriptor_a2362e9df72af44d) +} -var fileDescriptor_23133626a9497b10 = []byte{ - // 208 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0xcf, 0xad, 0x4e, 0xc5, 0x30, - 0x18, 0xc6, 0xf1, 0x95, 0xf1, 0x11, 0x8a, 0x21, 0x55, 0xc3, 0x34, 0x0b, 0x6a, 0x66, 0xab, 0xe0, - 0x0e, 0x10, 0x48, 0x20, 0x93, 0x28, 0xfa, 0xf1, 0x66, 0x34, 0x69, 0xd7, 0xa6, 0x6b, 0x13, 0xe0, - 0x2a, 0xb8, 0x2c, 0xe4, 0xe4, 0x91, 0x27, 0xdb, 0x8d, 0x9c, 0x9c, 0xce, 0xcc, 0x3d, 0x79, 0x7e, - 0xea, 0x8f, 0x1f, 0xac, 0x53, 0x60, 0x58, 0xfc, 0xf1, 0x30, 0x31, 0x1f, 0x9c, 0x4a, 0x32, 0x76, - 0x3e, 0xb8, 0xe8, 0xc8, 0x5d, 0xa6, 0x2e, 0xd3, 0xe3, 0x1b, 0xbe, 0x79, 0xdf, 0x94, 0xdc, 0xe3, - 0xd2, 0x6b, 0x55, 0xa1, 0x1a, 0x35, 0x57, 0xfd, 0x79, 0x12, 0x82, 0x2f, 0x47, 0x6e, 0xa1, 0xba, - 0xa8, 0x51, 0x73, 0xdb, 0xe7, 0x4d, 0x28, 0xc6, 0x9e, 0x87, 0xf8, 0x9a, 0xac, 0x80, 0x50, 0x95, - 0x59, 0x76, 0xcf, 0xf3, 0xe7, 0xff, 0x42, 0xd1, 0xbc, 0x50, 0x74, 0x5c, 0x28, 0xfa, 0x5b, 0x69, - 0x31, 0xaf, 0xb4, 0x38, 0xac, 0xb4, 0xf8, 0x78, 0x19, 0x74, 0xfc, 0x4a, 0xa2, 0x93, 0xce, 0xb2, - 0x5f, 0x3d, 0x08, 0x80, 0x96, 0x1b, 0xa3, 0xf9, 0x28, 0x81, 0x29, 0x3d, 0xc5, 0xa0, 0x45, 0x8a, - 0xa0, 0x5a, 0xe9, 0xac, 0xdf, 0xee, 0xd6, 0x80, 0x1a, 0x20, 0xb0, 0x6f, 0xb6, 0xab, 0x11, 0xd7, - 0x39, 0xe3, 0xe9, 0x14, 0x00, 0x00, 0xff, 0xff, 0x3d, 0x9f, 0x7f, 0x9d, 0xe3, 0x00, 0x00, 0x00, +var fileDescriptor_a2362e9df72af44d = []byte{ + // 220 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0xab, 0xca, 0x4c, 0x4f, + 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 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7e, 0x35, 0x06, 0x04, + 0x00, 0x00, 0xff, 0xff, 0x00, 0xaf, 0x53, 0x85, 0x2d, 0x01, 0x00, 0x00, } func (m *Product) Marshal() (dAtA []byte, err error) { diff --git a/x/model/types/query.pb.go b/x/model/types/query.pb.go index 8ba749d27..ee0865707 100644 --- a/x/model/types/query.pb.go +++ b/x/model/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: model/types/query.proto +// source: zigbeealliance/distributedcomplianceledger/model/query.proto package types @@ -38,7 +38,7 @@ func (m *QueryGetVendorProductsRequest) Reset() { *m = QueryGetVendorPro func (m *QueryGetVendorProductsRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetVendorProductsRequest) ProtoMessage() {} func (*QueryGetVendorProductsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c9acda84995c2b09, []int{0} + return fileDescriptor_4b499a89cb430a11, []int{0} } func (m *QueryGetVendorProductsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -82,7 +82,7 @@ func (m *QueryGetVendorProductsResponse) Reset() { *m = QueryGetVendorPr func (m *QueryGetVendorProductsResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetVendorProductsResponse) ProtoMessage() {} func (*QueryGetVendorProductsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c9acda84995c2b09, []int{1} + return fileDescriptor_4b499a89cb430a11, []int{1} } func (m *QueryGetVendorProductsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -127,7 +127,7 @@ func (m *QueryGetModelRequest) Reset() { *m = QueryGetModelRequest{} } func (m *QueryGetModelRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetModelRequest) ProtoMessage() {} func (*QueryGetModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c9acda84995c2b09, []int{2} + return fileDescriptor_4b499a89cb430a11, []int{2} } func (m *QueryGetModelRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -178,7 +178,7 @@ func (m *QueryGetModelResponse) Reset() { *m = QueryGetModelResponse{} } func (m *QueryGetModelResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetModelResponse) ProtoMessage() {} func (*QueryGetModelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c9acda84995c2b09, []int{3} + return fileDescriptor_4b499a89cb430a11, []int{3} } func (m *QueryGetModelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -222,7 +222,7 @@ func (m *QueryAllModelRequest) Reset() { *m = QueryAllModelRequest{} } func (m *QueryAllModelRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllModelRequest) ProtoMessage() {} func (*QueryAllModelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c9acda84995c2b09, []int{4} + return fileDescriptor_4b499a89cb430a11, []int{4} } func (m *QueryAllModelRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -267,7 +267,7 @@ func (m *QueryAllModelResponse) Reset() { *m = QueryAllModelResponse{} } func (m *QueryAllModelResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllModelResponse) ProtoMessage() {} func (*QueryAllModelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c9acda84995c2b09, []int{5} + return fileDescriptor_4b499a89cb430a11, []int{5} } func (m *QueryAllModelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -320,7 +320,7 @@ func (m *QueryGetModelVersionRequest) Reset() { *m = QueryGetModelVersio func (m *QueryGetModelVersionRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetModelVersionRequest) ProtoMessage() {} func (*QueryGetModelVersionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c9acda84995c2b09, []int{6} + return fileDescriptor_4b499a89cb430a11, []int{6} } func (m *QueryGetModelVersionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -378,7 +378,7 @@ func (m *QueryGetModelVersionResponse) Reset() { *m = QueryGetModelVersi func (m *QueryGetModelVersionResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetModelVersionResponse) ProtoMessage() {} func (*QueryGetModelVersionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c9acda84995c2b09, []int{7} + return fileDescriptor_4b499a89cb430a11, []int{7} } func (m *QueryGetModelVersionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -423,7 +423,7 @@ func (m *QueryGetModelVersionsRequest) Reset() { *m = QueryGetModelVersi func (m *QueryGetModelVersionsRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetModelVersionsRequest) ProtoMessage() {} func (*QueryGetModelVersionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c9acda84995c2b09, []int{8} + return fileDescriptor_4b499a89cb430a11, []int{8} } func (m *QueryGetModelVersionsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -474,7 +474,7 @@ func (m *QueryGetModelVersionsResponse) Reset() { *m = QueryGetModelVers func (m *QueryGetModelVersionsResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetModelVersionsResponse) ProtoMessage() {} func (*QueryGetModelVersionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c9acda84995c2b09, []int{9} + return fileDescriptor_4b499a89cb430a11, []int{9} } func (m *QueryGetModelVersionsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -511,66 +511,70 @@ func (m *QueryGetModelVersionsResponse) GetModelVersions() ModelVersions { } func init() { - proto.RegisterType((*QueryGetVendorProductsRequest)(nil), "model.types.QueryGetVendorProductsRequest") - proto.RegisterType((*QueryGetVendorProductsResponse)(nil), "model.types.QueryGetVendorProductsResponse") - proto.RegisterType((*QueryGetModelRequest)(nil), "model.types.QueryGetModelRequest") - proto.RegisterType((*QueryGetModelResponse)(nil), "model.types.QueryGetModelResponse") - proto.RegisterType((*QueryAllModelRequest)(nil), "model.types.QueryAllModelRequest") - proto.RegisterType((*QueryAllModelResponse)(nil), "model.types.QueryAllModelResponse") - proto.RegisterType((*QueryGetModelVersionRequest)(nil), "model.types.QueryGetModelVersionRequest") - proto.RegisterType((*QueryGetModelVersionResponse)(nil), "model.types.QueryGetModelVersionResponse") - proto.RegisterType((*QueryGetModelVersionsRequest)(nil), "model.types.QueryGetModelVersionsRequest") - proto.RegisterType((*QueryGetModelVersionsResponse)(nil), "model.types.QueryGetModelVersionsResponse") -} - -func init() { proto.RegisterFile("model/types/query.proto", fileDescriptor_c9acda84995c2b09) } - -var fileDescriptor_c9acda84995c2b09 = []byte{ - // 696 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x95, 0x4f, 0x4f, 0xd4, 0x4e, - 0x18, 0xc7, 0xb7, 0xf0, 0xdb, 0x5f, 0xcc, 0xf0, 0x47, 0x1d, 0x31, 0xc0, 0x02, 0x5d, 0x68, 0xa2, - 0xac, 0x18, 0x3a, 0x59, 0x38, 0xe9, 0x0d, 0x4c, 0x20, 0x1e, 0x4c, 0x70, 0x0f, 0x1c, 0x3c, 0x88, - 0xdd, 0x76, 0xac, 0x13, 0xba, 0x9d, 0xd2, 0x99, 0xad, 0x22, 0xe1, 0xe2, 0xd1, 0x8b, 0x24, 0xde, - 0x7d, 0x05, 0xbe, 0x10, 0x8e, 0x24, 0x5e, 0x3c, 0x19, 0x03, 0xbe, 0x10, 0xd3, 0x99, 0xa9, 0xdb, - 0xe9, 0x6e, 0xd9, 0xe5, 0xb2, 0x99, 0x3c, 0xf3, 0x7c, 0x9f, 0xef, 0x67, 0x9f, 0x3e, 0x4f, 0x0b, - 0x66, 0x3b, 0xd4, 0xc3, 0x01, 0xe2, 0xc7, 0x11, 0x66, 0xe8, 0xa8, 0x8b, 0xe3, 0x63, 0x3b, 0x8a, - 0x29, 0xa7, 0x70, 0x42, 0x5c, 0xd8, 0xe2, 0xa2, 0xb6, 0xe8, 0x53, 0xea, 0x07, 0x18, 0x39, 0x11, - 0x41, 0x4e, 0x18, 0x52, 0xee, 0x70, 0x42, 0x43, 0x26, 0x53, 0x6b, 0x6b, 0x2e, 0x65, 0x1d, 0xca, - 0x50, 0xdb, 0x61, 0x58, 0xd6, 0x40, 0x49, 0xb3, 0x8d, 0xb9, 0xd3, 0x44, 0x91, 0xe3, 0x93, 0x50, - 0x24, 0xab, 0xdc, 0x95, 0xbc, 0x5f, 0x82, 0x43, 0x8f, 0xc6, 0x07, 0x51, 0x4c, 0xbd, 0xae, 0xcb, - 0xb3, 0x72, 0x1a, 0x92, 0xa4, 0x90, 0x17, 0xf5, 0xbe, 0x8b, 0x83, 0x04, 0xc7, 0xac, 0x57, 0x7c, - 0xb9, 0x34, 0x21, 0xab, 0x3d, 0xe3, 0x53, 0x9f, 0x8a, 0x23, 0x4a, 0x4f, 0x32, 0x6a, 0x35, 0xc1, - 0xd2, 0xcb, 0x14, 0x7b, 0x17, 0xf3, 0x7d, 0x81, 0xb4, 0xa7, 0x88, 0x5a, 0xf8, 0xa8, 0x8b, 0x19, - 0x87, 0x77, 0xc0, 0x78, 0x42, 0xbc, 0x39, 0x63, 0xd9, 0x68, 0x54, 0x5b, 0xe9, 0xd1, 0x3a, 0x04, - 0x66, 0x99, 0x84, 0x45, 0x34, 0x64, 0x18, 0x3e, 0x07, 0xd3, 0x89, 0x76, 0x23, 0xe4, 0x13, 0x1b, - 0x0b, 0x76, 0xae, 0xb3, 0xb6, 0x2e, 0xde, 0xfe, 0xef, 0xfc, 0x57, 0xbd, 0xd2, 0x2a, 0x08, 0xad, - 0xa7, 0x60, 0x26, 0x33, 0x7b, 0x91, 0x6a, 0x4b, 0xb1, 0xd2, 0x48, 0x44, 0xbc, 0xb9, 0x31, 0x19, - 0x89, 0x88, 0x67, 0xed, 0x82, 0xfb, 0x05, 0xad, 0xe2, 0xb3, 0x41, 0x55, 0x80, 0x28, 0x2c, 0xa8, - 0x61, 0x89, 0x54, 0x45, 0x23, 0xd3, 0xac, 0xd7, 0x0a, 0x62, 0x2b, 0x08, 0x34, 0x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b, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, - 0x5d, 0xd7, 0x4f, 0x46, 0xb5, 0x07, 0x00, 0x00, + proto.RegisterType((*QueryGetVendorProductsRequest)(nil), "zigbeealliance.distributedcomplianceledger.model.QueryGetVendorProductsRequest") + proto.RegisterType((*QueryGetVendorProductsResponse)(nil), "zigbeealliance.distributedcomplianceledger.model.QueryGetVendorProductsResponse") + proto.RegisterType((*QueryGetModelRequest)(nil), "zigbeealliance.distributedcomplianceledger.model.QueryGetModelRequest") + proto.RegisterType((*QueryGetModelResponse)(nil), "zigbeealliance.distributedcomplianceledger.model.QueryGetModelResponse") + proto.RegisterType((*QueryAllModelRequest)(nil), "zigbeealliance.distributedcomplianceledger.model.QueryAllModelRequest") + proto.RegisterType((*QueryAllModelResponse)(nil), "zigbeealliance.distributedcomplianceledger.model.QueryAllModelResponse") + proto.RegisterType((*QueryGetModelVersionRequest)(nil), "zigbeealliance.distributedcomplianceledger.model.QueryGetModelVersionRequest") + proto.RegisterType((*QueryGetModelVersionResponse)(nil), "zigbeealliance.distributedcomplianceledger.model.QueryGetModelVersionResponse") + proto.RegisterType((*QueryGetModelVersionsRequest)(nil), "zigbeealliance.distributedcomplianceledger.model.QueryGetModelVersionsRequest") + proto.RegisterType((*QueryGetModelVersionsResponse)(nil), "zigbeealliance.distributedcomplianceledger.model.QueryGetModelVersionsResponse") +} + +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/model/query.proto", fileDescriptor_4b499a89cb430a11) +} + +var fileDescriptor_4b499a89cb430a11 = []byte{ + // 730 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x41, 0x4f, 0x13, 0x41, + 0x14, 0xee, 0x80, 0x35, 0x64, 0x04, 0xd4, 0x11, 0x23, 0x54, 0xd8, 0xe2, 0x26, 0x0a, 0x31, 0x61, + 0xc7, 0xc2, 0xc1, 0x68, 0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 0x85, 0x75, 0x6c, 0x22, 0xbd, 0xa9, 0xf4, 0x31, 0x6e, 0xe2, 0x12, + 0xba, 0x78, 0xc4, 0x04, 0xfa, 0x0b, 0xe0, 0x60, 0xb2, 0x05, 0xd1, 0x52, 0x97, 0x95, 0x53, 0xf7, + 0x4c, 0xe1, 0x49, 0xaf, 0xe8, 0xa4, 0x95, 0x3b, 0xdc, 0xca, 0x1c, 0x2a, 0x25, 0xac, 0xc4, 0xbf, + 0xcb, 0xc9, 0x1b, 0xc1, 0xdb, 0xa9, 0x1d, 0xb5, 0x83, 0x7e, 0x02, 0x38, 0xa4, 0x4c, 0x1b, 0xea, + 0x91, 0xb8, 0xff, 0xa3, 0xb3, 0xdc, 0x33, 0x3e, 0xe9, 0x76, 0x8a, 0xbb, 0xbd, 0x86, 0x8a, 0xa7, + 0xb8, 0x5d, 0x78, 0xb9, 0x77, 0xa0, 0x81, 0xfd, 0x03, 0x0d, 0xfc, 0x3e, 0xd0, 0xc0, 0xee, 0xa1, + 0x96, 0xdb, 0x3f, 0xd4, 0x72, 0x3f, 0x0e, 0xb5, 0xdc, 0xf3, 0xb2, 0xed, 0x84, 0xeb, 0x8d, 0xaa, + 0x51, 0xa3, 0x75, 0x2c, 0xd4, 0xcd, 0x1c, 0xf7, 0xf0, 0x99, 0x69, 0xe9, 0x9b, 0x91, 0x4f, 0x9f, + 0x37, 0x32, 0x61, 0xb8, 0xe5, 0x13, 0x56, 0x3d, 0xcb, 0x9f, 0x37, 0x73, 0xff, 0x02, 0x00, 0x00, + 0xff, 0xff, 0xb5, 0xf3, 0x3c, 0xb5, 0xc3, 0x0a, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -607,7 +611,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) VendorProducts(ctx context.Context, in *QueryGetVendorProductsRequest, opts ...grpc.CallOption) (*QueryGetVendorProductsResponse, error) { out := new(QueryGetVendorProductsResponse) - err := c.cc.Invoke(ctx, "/model.types.Query/VendorProducts", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.model.Query/VendorProducts", in, out, opts...) if err != nil { return nil, err } @@ -616,7 +620,7 @@ func (c *queryClient) VendorProducts(ctx context.Context, in *QueryGetVendorProd func (c *queryClient) Model(ctx context.Context, in *QueryGetModelRequest, opts ...grpc.CallOption) (*QueryGetModelResponse, error) { out := new(QueryGetModelResponse) - err := c.cc.Invoke(ctx, "/model.types.Query/Model", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.model.Query/Model", in, out, opts...) if err != nil { return nil, err } @@ -625,7 +629,7 @@ func (c *queryClient) Model(ctx context.Context, in *QueryGetModelRequest, opts func (c *queryClient) ModelAll(ctx context.Context, in *QueryAllModelRequest, opts ...grpc.CallOption) (*QueryAllModelResponse, error) { out := new(QueryAllModelResponse) - err := c.cc.Invoke(ctx, "/model.types.Query/ModelAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.model.Query/ModelAll", in, out, opts...) if err != nil { return nil, err } @@ -634,7 +638,7 @@ func (c *queryClient) ModelAll(ctx context.Context, in *QueryAllModelRequest, op func (c *queryClient) ModelVersion(ctx context.Context, in *QueryGetModelVersionRequest, opts ...grpc.CallOption) (*QueryGetModelVersionResponse, error) { out := new(QueryGetModelVersionResponse) - err := c.cc.Invoke(ctx, "/model.types.Query/ModelVersion", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.model.Query/ModelVersion", in, out, opts...) if err != nil { return nil, err } @@ -643,7 +647,7 @@ func (c *queryClient) ModelVersion(ctx context.Context, in *QueryGetModelVersion func (c *queryClient) ModelVersions(ctx context.Context, in *QueryGetModelVersionsRequest, opts ...grpc.CallOption) (*QueryGetModelVersionsResponse, error) { out := new(QueryGetModelVersionsResponse) - err := c.cc.Invoke(ctx, "/model.types.Query/ModelVersions", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.model.Query/ModelVersions", in, out, opts...) if err != nil { return nil, err } @@ -698,7 +702,7 @@ func _Query_VendorProducts_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/model.types.Query/VendorProducts", + FullMethod: "/zigbeealliance.distributedcomplianceledger.model.Query/VendorProducts", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).VendorProducts(ctx, req.(*QueryGetVendorProductsRequest)) @@ -716,7 +720,7 @@ func _Query_Model_Handler(srv interface{}, ctx context.Context, dec func(interfa } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/model.types.Query/Model", + FullMethod: "/zigbeealliance.distributedcomplianceledger.model.Query/Model", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Model(ctx, req.(*QueryGetModelRequest)) @@ -734,7 +738,7 @@ func _Query_ModelAll_Handler(srv interface{}, ctx context.Context, dec func(inte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/model.types.Query/ModelAll", + FullMethod: "/zigbeealliance.distributedcomplianceledger.model.Query/ModelAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ModelAll(ctx, req.(*QueryAllModelRequest)) @@ -752,7 +756,7 @@ func _Query_ModelVersion_Handler(srv interface{}, ctx context.Context, dec func( } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/model.types.Query/ModelVersion", + FullMethod: "/zigbeealliance.distributedcomplianceledger.model.Query/ModelVersion", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ModelVersion(ctx, req.(*QueryGetModelVersionRequest)) @@ -770,7 +774,7 @@ func _Query_ModelVersions_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/model.types.Query/ModelVersions", + FullMethod: "/zigbeealliance.distributedcomplianceledger.model.Query/ModelVersions", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ModelVersions(ctx, req.(*QueryGetModelVersionsRequest)) @@ -779,7 +783,7 @@ func _Query_ModelVersions_Handler(srv interface{}, ctx context.Context, dec func } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "model.types.Query", + ServiceName: "zigbeealliance.distributedcomplianceledger.model.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -804,7 +808,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "model/types/query.proto", + Metadata: "zigbeealliance/distributedcomplianceledger/model/query.proto", } func (m *QueryGetVendorProductsRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/model/types/query.pb.gw.go b/x/model/types/query.pb.gw.go index 22c2baf99..cd7d829a8 100644 --- a/x/model/types/query.pb.gw.go +++ b/x/model/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: model/types/query.proto +// source: zigbeealliance/distributedcomplianceledger/model/query.proto /* Package types is a reverse proxy. diff --git a/x/model/types/tx.pb.go b/x/model/types/tx.pb.go index 27d3d63f2..968e8ff61 100644 --- a/x/model/types/tx.pb.go +++ b/x/model/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: model/types/tx.proto +// source: zigbeealliance/distributedcomplianceledger/model/tx.proto package types @@ -53,7 +53,7 @@ func (m *MsgCreateModel) Reset() { *m = MsgCreateModel{} } func (m *MsgCreateModel) String() string { return proto.CompactTextString(m) } func (*MsgCreateModel) ProtoMessage() {} func (*MsgCreateModel) Descriptor() ([]byte, []int) { - return fileDescriptor_e89f2cfd31c6ce5d, []int{0} + return fileDescriptor_bc57f11ad3062327, []int{0} } func (m *MsgCreateModel) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -208,7 +208,7 @@ func (m *MsgCreateModelResponse) Reset() { *m = MsgCreateModelResponse{} func (m *MsgCreateModelResponse) String() string { return proto.CompactTextString(m) } func (*MsgCreateModelResponse) ProtoMessage() {} func (*MsgCreateModelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e89f2cfd31c6ce5d, []int{1} + return fileDescriptor_bc57f11ad3062327, []int{1} } func (m *MsgCreateModelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -258,7 +258,7 @@ func (m *MsgUpdateModel) Reset() { *m = MsgUpdateModel{} } func (m *MsgUpdateModel) String() string { return proto.CompactTextString(m) } func (*MsgUpdateModel) ProtoMessage() {} func (*MsgUpdateModel) Descriptor() ([]byte, []int) { - return fileDescriptor_e89f2cfd31c6ce5d, []int{2} + return fileDescriptor_bc57f11ad3062327, []int{2} } func (m *MsgUpdateModel) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -392,7 +392,7 @@ func (m *MsgUpdateModelResponse) Reset() { *m = MsgUpdateModelResponse{} func (m *MsgUpdateModelResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateModelResponse) ProtoMessage() {} func (*MsgUpdateModelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e89f2cfd31c6ce5d, []int{3} + return fileDescriptor_bc57f11ad3062327, []int{3} } func (m *MsgUpdateModelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -431,7 +431,7 @@ func (m *MsgDeleteModel) Reset() { *m = MsgDeleteModel{} } func (m *MsgDeleteModel) String() string { return proto.CompactTextString(m) } func (*MsgDeleteModel) ProtoMessage() {} func (*MsgDeleteModel) Descriptor() ([]byte, []int) { - return fileDescriptor_e89f2cfd31c6ce5d, []int{4} + return fileDescriptor_bc57f11ad3062327, []int{4} } func (m *MsgDeleteModel) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -488,7 +488,7 @@ func (m *MsgDeleteModelResponse) Reset() { *m = MsgDeleteModelResponse{} func (m *MsgDeleteModelResponse) String() string { return proto.CompactTextString(m) } func (*MsgDeleteModelResponse) ProtoMessage() {} func (*MsgDeleteModelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e89f2cfd31c6ce5d, []int{5} + return fileDescriptor_bc57f11ad3062327, []int{5} } func (m *MsgDeleteModelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -539,7 +539,7 @@ func (m *MsgCreateModelVersion) Reset() { *m = MsgCreateModelVersion{} } func (m *MsgCreateModelVersion) String() string { return proto.CompactTextString(m) } func (*MsgCreateModelVersion) ProtoMessage() {} func (*MsgCreateModelVersion) Descriptor() ([]byte, []int) { - return fileDescriptor_e89f2cfd31c6ce5d, []int{6} + return fileDescriptor_bc57f11ad3062327, []int{6} } func (m *MsgCreateModelVersion) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -680,7 +680,7 @@ func (m *MsgCreateModelVersionResponse) Reset() { *m = MsgCreateModelVer func (m *MsgCreateModelVersionResponse) String() string { return proto.CompactTextString(m) } func (*MsgCreateModelVersionResponse) ProtoMessage() {} func (*MsgCreateModelVersionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e89f2cfd31c6ce5d, []int{7} + return fileDescriptor_bc57f11ad3062327, []int{7} } func (m *MsgCreateModelVersionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -727,7 +727,7 @@ func (m *MsgUpdateModelVersion) Reset() { *m = MsgUpdateModelVersion{} } func (m *MsgUpdateModelVersion) String() string { return proto.CompactTextString(m) } func (*MsgUpdateModelVersion) ProtoMessage() {} func (*MsgUpdateModelVersion) Descriptor() ([]byte, []int) { - return fileDescriptor_e89f2cfd31c6ce5d, []int{8} + return fileDescriptor_bc57f11ad3062327, []int{8} } func (m *MsgUpdateModelVersion) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -840,7 +840,7 @@ func (m *MsgUpdateModelVersionResponse) Reset() { *m = MsgUpdateModelVer func (m *MsgUpdateModelVersionResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateModelVersionResponse) ProtoMessage() {} func (*MsgUpdateModelVersionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e89f2cfd31c6ce5d, []int{9} + return fileDescriptor_bc57f11ad3062327, []int{9} } func (m *MsgUpdateModelVersionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -880,7 +880,7 @@ func (m *MsgDeleteModelVersion) Reset() { *m = MsgDeleteModelVersion{} } func (m *MsgDeleteModelVersion) String() string { return proto.CompactTextString(m) } func (*MsgDeleteModelVersion) ProtoMessage() {} func (*MsgDeleteModelVersion) Descriptor() ([]byte, []int) { - return fileDescriptor_e89f2cfd31c6ce5d, []int{10} + return fileDescriptor_bc57f11ad3062327, []int{10} } func (m *MsgDeleteModelVersion) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -944,7 +944,7 @@ func (m *MsgDeleteModelVersionResponse) Reset() { *m = MsgDeleteModelVer func (m *MsgDeleteModelVersionResponse) String() string { return proto.CompactTextString(m) } func (*MsgDeleteModelVersionResponse) ProtoMessage() {} func (*MsgDeleteModelVersionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e89f2cfd31c6ce5d, []int{11} + return fileDescriptor_bc57f11ad3062327, []int{11} } func (m *MsgDeleteModelVersionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -974,105 +974,109 @@ func (m *MsgDeleteModelVersionResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgDeleteModelVersionResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*MsgCreateModel)(nil), "model.types.MsgCreateModel") - proto.RegisterType((*MsgCreateModelResponse)(nil), "model.types.MsgCreateModelResponse") - proto.RegisterType((*MsgUpdateModel)(nil), "model.types.MsgUpdateModel") - proto.RegisterType((*MsgUpdateModelResponse)(nil), "model.types.MsgUpdateModelResponse") - proto.RegisterType((*MsgDeleteModel)(nil), "model.types.MsgDeleteModel") - proto.RegisterType((*MsgDeleteModelResponse)(nil), "model.types.MsgDeleteModelResponse") - proto.RegisterType((*MsgCreateModelVersion)(nil), "model.types.MsgCreateModelVersion") - proto.RegisterType((*MsgCreateModelVersionResponse)(nil), "model.types.MsgCreateModelVersionResponse") - proto.RegisterType((*MsgUpdateModelVersion)(nil), "model.types.MsgUpdateModelVersion") - proto.RegisterType((*MsgUpdateModelVersionResponse)(nil), "model.types.MsgUpdateModelVersionResponse") - proto.RegisterType((*MsgDeleteModelVersion)(nil), "model.types.MsgDeleteModelVersion") - proto.RegisterType((*MsgDeleteModelVersionResponse)(nil), "model.types.MsgDeleteModelVersionResponse") -} - -func init() { proto.RegisterFile("model/types/tx.proto", fileDescriptor_e89f2cfd31c6ce5d) } - -var fileDescriptor_e89f2cfd31c6ce5d = []byte{ - // 1295 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x98, 0xbf, 0x6f, 0xdb, 0x46, - 0x14, 0xc7, 0xa3, 0xc6, 0x96, 0xe5, 0x93, 0x15, 0x37, 0x17, 0x27, 0x61, 0x95, 0x54, 0x74, 0x19, - 0xa0, 0x30, 0x02, 0xd9, 0x4a, 0xe4, 0xc8, 0x0d, 0x82, 0x0a, 0x48, 0xe4, 0x36, 0x88, 0x81, 0x38, - 0x09, 0xe8, 0x24, 0x28, 0x02, 0x34, 0x2e, 0x45, 0x9e, 0xe4, 0x43, 0x49, 0x1e, 0x7b, 0x77, 0xf4, - 0xaf, 0xa9, 0x43, 0xff, 0x80, 0xfe, 0x05, 0x9d, 0x3a, 0x75, 0xee, 0xde, 0xb5, 0x63, 0xd0, 0xa9, - 0x13, 0x51, 0xd8, 0xff, 0x40, 0xc1, 0xa9, 0x43, 0x87, 0x82, 0x27, 0x5a, 0x22, 0x25, 0x8a, 0x92, - 0x6b, 0x7b, 0x70, 0x36, 0xf1, 0xde, 0x7b, 0xdf, 0xe3, 0x3b, 0xbe, 0xf7, 0xd1, 0x23, 0xc1, 0x9c, - 0x45, 0x0c, 0x64, 0x56, 0xf8, 0x9e, 0x83, 0x58, 0x85, 0xef, 0x2e, 0x39, 0x94, 0x70, 0x02, 0xf3, - 0x62, 0x75, 0x49, 0xac, 0x16, 0xaf, 0x47, 0x5d, 0x3a, 0x06, 0xe1, 0x55, 0x94, 0x07, 0x0c, 0x9b, - 0xdb, 0x88, 0x32, 0x4c, 0xec, 0xd0, 0x61, 0xae, 0x4d, 0xda, 0x44, 0xfc, 0xac, 0x04, 0xbf, 0xc2, - 0xd5, 0x8f, 0x74, 0xc2, 0x2c, 0xc2, 0x36, 0x3b, 0x86, 0xce, 0x45, 0xc7, 0xa4, 0xfc, 0x9c, 0x07, - 0x97, 0xd6, 0x59, 0x7b, 0x95, 0x22, 0x8d, 0xa3, 0xf5, 0x40, 0x11, 0xae, 0x81, 0x29, 0x3d, 0xb8, - 0x24, 0x54, 0xca, 0xcc, 0x67, 0x16, 0xa6, 0x1b, 0x15, 0xdf, 0x93, 0xaf, 0x6c, 0x6b, 0x26, 0x36, - 0x34, 0x8e, 0x1e, 0x28, 0x14, 0x7d, 0xe7, 0x62, 0x8a, 0x0c, 0xe5, 0x8f, 0x5f, 0x17, 0xe7, 0x42, - 0xb1, 0x47, 0x86, 0x41, 0x11, 0x63, 0x1b, 0x9c, 0x62, 0xbb, 0xad, 0x1e, 0xc5, 0xc3, 0x3b, 0xe0, - 0xe2, 0x36, 0x36, 0xa4, 0x0f, 0xe6, 0x33, 0x0b, 0x93, 0x8d, 0x92, 0xef, 0xc9, 0xc5, 0x9e, 0x4c, - 0x9b, 0xa3, 0xfa, 0xdd, 0xb2, 0xc9, 0x51, 0x7d, 0xa5, 0x56, 0x5b, 0xae, 0x29, 0x6a, 0xe0, 0x1a, - 0x44, 0x38, 0xd8, 0x90, 0x2e, 0x8e, 0x17, 0xe1, 0x60, 0x03, 0x36, 0xc0, 0x8c, 0x81, 0xb6, 0xb1, - 0x8e, 0x5e, 0xee, 0x39, 0x68, 0xcd, 0x90, 0x26, 0x86, 0x85, 0xde, 0x89, 0x86, 0xc6, 0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xff, 0x66, 0x6e, 0x76, 0x5c, - 0xe6, 0xee, 0xa6, 0xc2, 0x71, 0xea, 0x84, 0x8f, 0x3b, 0x0d, 0x7b, 0xc7, 0x01, 0x55, 0xee, 0xb4, - 0x40, 0x75, 0x3c, 0xac, 0x4c, 0x9f, 0x21, 0x56, 0xc0, 0x59, 0x62, 0x25, 0x7f, 0x66, 0x58, 0x99, - 0x39, 0x13, 0xac, 0x14, 0x4e, 0x07, 0x2b, 0xf0, 0x21, 0xc8, 0x9b, 0xac, 0xa5, 0xa2, 0x6d, 0x1c, - 0x3c, 0x14, 0x81, 0xee, 0xd1, 0xa3, 0x53, 0x34, 0x24, 0x04, 0x53, 0x84, 0x3e, 0x5d, 0x30, 0xfd, - 0x96, 0x11, 0x60, 0xfa, 0x02, 0x99, 0xe8, 0x7c, 0x82, 0x29, 0xcc, 0x2d, 0x92, 0x40, 0x37, 0xb7, - 0x7f, 0x72, 0xe0, 0x6a, 0x9c, 0xc7, 0xaf, 0x3b, 0x63, 0xf8, 0x79, 0x63, 0xef, 0x02, 0x98, 0x65, - 0xa4, 0xc5, 0x77, 0x34, 0x8a, 0xc2, 0x0c, 0x04, 0x7f, 0x0b, 0x6a, 0xff, 0x32, 0x7c, 0x09, 0xae, - 0xf6, 0x2d, 0x75, 0xee, 0x37, 0x84, 0x6e, 0xdf, 0x6e, 0xb1, 0x61, 0x79, 0xe5, 0x9e, 0xa2, 0x26, - 0x07, 0xc3, 0x27, 0x60, 0x56, 0x37, 0xc2, 0xa5, 0x08, 0x8a, 0x47, 0x17, 0x61, 0x7f, 0x18, 0x7c, - 0x02, 0xae, 0xb4, 0x30, 0xb5, 0x82, 0x2d, 0xd6, 0xec, 0x16, 0xa1, 0x96, 0x26, 0x90, 0x34, 0x35, - 0xec, 0x2f, 0xa1, 0x76, 0xb7, 0xaa, 0xa8, 0x49, 0x21, 0xb0, 0x0a, 0xe6, 0xfa, 0x6e, 0xf6, 0x75, - 0x10, 0x29, 0xa0, 0x9a, 0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ea, 0xd8, 0xec, 0x29, 0x75, 0xec, - 0xa8, 0xea, 0x9d, 0x1a, 0xa3, 0x7a, 0x7f, 0xc8, 0x8c, 0x28, 0xdf, 0x9c, 0x28, 0xdf, 0x87, 0xbe, - 0x27, 0x7f, 0x9e, 0x74, 0xb3, 0x67, 0x57, 0xc8, 0xd3, 0xa7, 0x5c, 0xc8, 0x70, 0x3e, 0x01, 0x70, - 0x71, 0x76, 0x7d, 0x96, 0xc4, 0xae, 0x84, 0x19, 0xbd, 0x1f, 0x53, 0x61, 0x8f, 0x0c, 0x76, 0x40, - 0xb7, 0x47, 0xfe, 0xce, 0x88, 0x1e, 0x89, 0xfc, 0xb5, 0xbf, 0xef, 0x3d, 0x12, 0x9e, 0xc9, 0x60, - 0xc6, 0x47, 0x67, 0x52, 0xfd, 0x65, 0x02, 0x5c, 0x5c, 0x67, 0x6d, 0xf8, 0x1c, 0xe4, 0xa3, 0x5f, - 0x03, 0x6f, 0x2c, 0x45, 0xbe, 0x4c, 0x2e, 0xc5, 0xd1, 0x53, 0xbc, 0x95, 0x62, 0x3c, 0x12, 0x0e, - 0x04, 0xa3, 0x6f, 0xa7, 0x03, 0x82, 0x11, 0xe3, 0xa0, 0x60, 0xc2, 0x64, 0x19, 0x08, 0x46, 0xa7, - 0xca, 0x01, 0xc1, 0x88, 0x71, 0x50, 0x30, 0x61, 0x9c, 0x83, 0x06, 0x80, 0x09, 0xa3, 0x9c, 0x92, - 0x92, 0x5c, 0xe8, 0x53, 0xbc, 0x3d, 0xda, 0x27, 0xba, 0x4b, 0x02, 0x94, 0x95, 0x94, 0x8c, 0x87, - 0xee, 0x32, 0xbc, 0xb4, 0x83, 0x5d, 0x12, 0xca, 0x5a, 0x49, 0x39, 0x86, 0xa1, 0xbb, 0x0c, 0x2f, - 0x96, 0xc6, 0x37, 0xbf, 0x1f, 0x94, 0x32, 0xef, 0x0e, 0x4a, 0x99, 0xbf, 0x0e, 0x4a, 0x99, 0x1f, - 0x0f, 0x4b, 0x17, 0xde, 0x1d, 0x96, 0x2e, 0xfc, 0x79, 0x58, 0xba, 0xf0, 0xe6, 0x71, 0x1b, 0xf3, - 0x2d, 0xb7, 0xb9, 0xa4, 0x13, 0xab, 0xb2, 0x8f, 0xdb, 0x4d, 0x84, 0x16, 0x35, 0xd3, 0xc4, 0x9a, - 0xad, 0xa3, 0x8a, 0x81, 0x19, 0xa7, 0xb8, 0xe9, 0x72, 0x64, 0x2c, 0xea, 0xc4, 0x72, 0x3a, 0xcb, - 0x8b, 0x26, 0x32, 0xda, 0x88, 0x56, 0x76, 0x2b, 0x91, 0xaf, 0xdb, 0xcd, 0xac, 0xf8, 0x3e, 0xbd, - 0xfc, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x0f, 0x37, 0x39, 0xb3, 0x2f, 0x17, 0x00, 0x00, + proto.RegisterType((*MsgCreateModel)(nil), "zigbeealliance.distributedcomplianceledger.model.MsgCreateModel") + proto.RegisterType((*MsgCreateModelResponse)(nil), "zigbeealliance.distributedcomplianceledger.model.MsgCreateModelResponse") + proto.RegisterType((*MsgUpdateModel)(nil), "zigbeealliance.distributedcomplianceledger.model.MsgUpdateModel") + proto.RegisterType((*MsgUpdateModelResponse)(nil), "zigbeealliance.distributedcomplianceledger.model.MsgUpdateModelResponse") + proto.RegisterType((*MsgDeleteModel)(nil), "zigbeealliance.distributedcomplianceledger.model.MsgDeleteModel") + proto.RegisterType((*MsgDeleteModelResponse)(nil), "zigbeealliance.distributedcomplianceledger.model.MsgDeleteModelResponse") + proto.RegisterType((*MsgCreateModelVersion)(nil), "zigbeealliance.distributedcomplianceledger.model.MsgCreateModelVersion") + proto.RegisterType((*MsgCreateModelVersionResponse)(nil), "zigbeealliance.distributedcomplianceledger.model.MsgCreateModelVersionResponse") + proto.RegisterType((*MsgUpdateModelVersion)(nil), "zigbeealliance.distributedcomplianceledger.model.MsgUpdateModelVersion") + proto.RegisterType((*MsgUpdateModelVersionResponse)(nil), "zigbeealliance.distributedcomplianceledger.model.MsgUpdateModelVersionResponse") + proto.RegisterType((*MsgDeleteModelVersion)(nil), "zigbeealliance.distributedcomplianceledger.model.MsgDeleteModelVersion") + proto.RegisterType((*MsgDeleteModelVersionResponse)(nil), "zigbeealliance.distributedcomplianceledger.model.MsgDeleteModelVersionResponse") +} + +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/model/tx.proto", fileDescriptor_bc57f11ad3062327) +} + +var fileDescriptor_bc57f11ad3062327 = []byte{ + // 1320 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x99, 0xbd, 0x6f, 0xdb, 0xc6, + 0x1b, 0xc7, 0xc3, 0x5f, 0xe2, 0xb7, 0x93, 0x15, 0xff, 0x72, 0x79, 0x63, 0xd5, 0x54, 0x74, 0x19, + 0xa0, 0x30, 0x02, 0xdb, 0x72, 0xe4, 0xd8, 0x4d, 0x83, 0x08, 0x48, 0xe4, 0x34, 0xb1, 0x81, 0x38, + 0x09, 0xe8, 0x24, 0x28, 0x02, 0x34, 0x29, 0x45, 0x9e, 0xe4, 0x43, 0x49, 0x1e, 0x7b, 0x77, 0xf4, + 0x4b, 0xa6, 0x0e, 0xfd, 0x03, 0xba, 0x76, 0xe9, 0xd4, 0xb9, 0x53, 0xf7, 0xae, 0x1d, 0x83, 0x4e, + 0x9d, 0x88, 0x22, 0x59, 0x3b, 0x14, 0x9c, 0x3a, 0x74, 0x28, 0x78, 0xa2, 0x25, 0x52, 0xa2, 0xde, + 0xe5, 0xc1, 0x59, 0x0c, 0x93, 0xbc, 0xef, 0xf7, 0x9e, 0xe7, 0xee, 0x79, 0x3e, 0x3a, 0x89, 0xe0, + 0xb3, 0xd7, 0xb8, 0x56, 0x41, 0x48, 0xb7, 0x2c, 0xac, 0x3b, 0x06, 0x2a, 0x98, 0x98, 0x71, 0x8a, + 0x2b, 0x1e, 0x47, 0xa6, 0x41, 0x6c, 0xb7, 0x7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, 0x02, 0xee, 0x4c, 0x14, 0x11, 0x70, 0x0a, + 0x4e, 0x1e, 0x8c, 0xba, 0x85, 0xa3, 0x05, 0xdc, 0xb9, 0xdd, 0xcb, 0x5f, 0xfd, 0xf6, 0x36, 0x2f, + 0xbd, 0x79, 0x9b, 0x97, 0xfe, 0x7c, 0x9b, 0x97, 0xbe, 0x7f, 0x97, 0x3f, 0xf5, 0xe6, 0x5d, 0xfe, + 0xd4, 0x1f, 0xef, 0xf2, 0xa7, 0x5e, 0xdc, 0xaf, 0x61, 0xbe, 0xeb, 0x55, 0x96, 0x0d, 0x62, 0x17, + 0xea, 0x93, 0x2e, 0xa5, 0xbd, 0x95, 0x58, 0x6a, 0x4e, 0xbb, 0x14, 0xbd, 0x97, 0x38, 0x38, 0x7a, + 0x89, 0x72, 0xe8, 0x22, 0x56, 0x99, 0x14, 0x6f, 0x18, 0x56, 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, + 0x24, 0xc2, 0x09, 0x29, 0x85, 0x19, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1105,7 +1109,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { func (c *msgClient) CreateModel(ctx context.Context, in *MsgCreateModel, opts ...grpc.CallOption) (*MsgCreateModelResponse, error) { out := new(MsgCreateModelResponse) - err := c.cc.Invoke(ctx, "/model.types.Msg/CreateModel", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.model.Msg/CreateModel", in, out, opts...) if err != nil { return nil, err } @@ -1114,7 +1118,7 @@ func (c *msgClient) CreateModel(ctx context.Context, in *MsgCreateModel, opts .. func (c *msgClient) UpdateModel(ctx context.Context, in *MsgUpdateModel, opts ...grpc.CallOption) (*MsgUpdateModelResponse, error) { out := new(MsgUpdateModelResponse) - err := c.cc.Invoke(ctx, "/model.types.Msg/UpdateModel", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.model.Msg/UpdateModel", in, out, opts...) if err != nil { return nil, err } @@ -1123,7 +1127,7 @@ func (c *msgClient) UpdateModel(ctx context.Context, in *MsgUpdateModel, opts .. func (c *msgClient) DeleteModel(ctx context.Context, in *MsgDeleteModel, opts ...grpc.CallOption) (*MsgDeleteModelResponse, error) { out := new(MsgDeleteModelResponse) - err := c.cc.Invoke(ctx, "/model.types.Msg/DeleteModel", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.model.Msg/DeleteModel", in, out, opts...) if err != nil { return nil, err } @@ -1132,7 +1136,7 @@ func (c *msgClient) DeleteModel(ctx context.Context, in *MsgDeleteModel, opts .. func (c *msgClient) CreateModelVersion(ctx context.Context, in *MsgCreateModelVersion, opts ...grpc.CallOption) (*MsgCreateModelVersionResponse, error) { out := new(MsgCreateModelVersionResponse) - err := c.cc.Invoke(ctx, "/model.types.Msg/CreateModelVersion", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.model.Msg/CreateModelVersion", in, out, opts...) if err != nil { return nil, err } @@ -1141,7 +1145,7 @@ func (c *msgClient) CreateModelVersion(ctx context.Context, in *MsgCreateModelVe func (c *msgClient) UpdateModelVersion(ctx context.Context, in *MsgUpdateModelVersion, opts ...grpc.CallOption) (*MsgUpdateModelVersionResponse, error) { out := new(MsgUpdateModelVersionResponse) - err := c.cc.Invoke(ctx, "/model.types.Msg/UpdateModelVersion", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.model.Msg/UpdateModelVersion", in, out, opts...) if err != nil { return nil, err } @@ -1150,7 +1154,7 @@ func (c *msgClient) UpdateModelVersion(ctx context.Context, in *MsgUpdateModelVe func (c *msgClient) DeleteModelVersion(ctx context.Context, in *MsgDeleteModelVersion, opts ...grpc.CallOption) (*MsgDeleteModelVersionResponse, error) { out := new(MsgDeleteModelVersionResponse) - err := c.cc.Invoke(ctx, "/model.types.Msg/DeleteModelVersion", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.model.Msg/DeleteModelVersion", in, out, opts...) if err != nil { return nil, err } @@ -1204,7 +1208,7 @@ func _Msg_CreateModel_Handler(srv interface{}, ctx context.Context, dec func(int } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/model.types.Msg/CreateModel", + FullMethod: "/zigbeealliance.distributedcomplianceledger.model.Msg/CreateModel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).CreateModel(ctx, req.(*MsgCreateModel)) @@ -1222,7 +1226,7 @@ func _Msg_UpdateModel_Handler(srv interface{}, ctx context.Context, dec func(int } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/model.types.Msg/UpdateModel", + FullMethod: "/zigbeealliance.distributedcomplianceledger.model.Msg/UpdateModel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).UpdateModel(ctx, req.(*MsgUpdateModel)) @@ -1240,7 +1244,7 @@ func _Msg_DeleteModel_Handler(srv interface{}, ctx context.Context, dec func(int } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/model.types.Msg/DeleteModel", + FullMethod: "/zigbeealliance.distributedcomplianceledger.model.Msg/DeleteModel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).DeleteModel(ctx, req.(*MsgDeleteModel)) @@ -1258,7 +1262,7 @@ func _Msg_CreateModelVersion_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/model.types.Msg/CreateModelVersion", + FullMethod: "/zigbeealliance.distributedcomplianceledger.model.Msg/CreateModelVersion", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).CreateModelVersion(ctx, req.(*MsgCreateModelVersion)) @@ -1276,7 +1280,7 @@ func _Msg_UpdateModelVersion_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/model.types.Msg/UpdateModelVersion", + FullMethod: "/zigbeealliance.distributedcomplianceledger.model.Msg/UpdateModelVersion", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).UpdateModelVersion(ctx, req.(*MsgUpdateModelVersion)) @@ -1294,7 +1298,7 @@ func _Msg_DeleteModelVersion_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/model.types.Msg/DeleteModelVersion", + FullMethod: "/zigbeealliance.distributedcomplianceledger.model.Msg/DeleteModelVersion", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).DeleteModelVersion(ctx, req.(*MsgDeleteModelVersion)) @@ -1303,7 +1307,7 @@ func _Msg_DeleteModelVersion_Handler(srv interface{}, ctx context.Context, dec f } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "model.types.Msg", + ServiceName: "zigbeealliance.distributedcomplianceledger.model.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -1332,7 +1336,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "model/types/tx.proto", + Metadata: "zigbeealliance/distributedcomplianceledger/model/tx.proto", } func (m *MsgCreateModel) Marshal() (dAtA []byte, err error) { diff --git a/x/model/types/vendor_products.pb.go b/x/model/types/vendor_products.pb.go index 1786805b2..41bf1d9fb 100644 --- a/x/model/types/vendor_products.pb.go +++ b/x/model/types/vendor_products.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: model/types/vendor_products.proto +// source: zigbeealliance/distributedcomplianceledger/model/vendor_products.proto package types @@ -31,7 +31,7 @@ func (m *VendorProducts) Reset() { *m = VendorProducts{} } func (m *VendorProducts) String() string { return proto.CompactTextString(m) } func (*VendorProducts) ProtoMessage() {} func (*VendorProducts) Descriptor() ([]byte, []int) { - return fileDescriptor_f16e674a2ad785be, []int{0} + return fileDescriptor_cccd801728ab4ad7, []int{0} } func (m *VendorProducts) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -75,27 +75,30 @@ func (m *VendorProducts) GetProducts() []*Product { } func init() { - proto.RegisterType((*VendorProducts)(nil), "model.types.VendorProducts") + proto.RegisterType((*VendorProducts)(nil), "zigbeealliance.distributedcomplianceledger.model.VendorProducts") } -func init() { proto.RegisterFile("model/types/vendor_products.proto", fileDescriptor_f16e674a2ad785be) } +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/model/vendor_products.proto", fileDescriptor_cccd801728ab4ad7) +} -var fileDescriptor_f16e674a2ad785be = []byte{ - // 215 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0xcc, 0xcd, 0x4f, 0x49, - 0xcd, 0xd1, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x2f, 0x4b, 0xcd, 0x4b, 0xc9, 0x2f, 0x8a, 0x2f, - 0x28, 0xca, 0x4f, 0x29, 0x4d, 0x2e, 0x29, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x06, - 0x2b, 0xd1, 0x03, 0x2b, 0x91, 0x92, 0x44, 0x56, 0x0f, 0x55, 0x08, 0x51, 0xa7, 0x14, 0xc2, 0xc5, - 0x17, 0x06, 0x36, 0x20, 0x00, 0xaa, 0x5f, 0x48, 0x80, 0x8b, 0xb9, 0x2c, 0x33, 0x45, 0x82, 0x51, - 0x81, 0x51, 0x83, 0x35, 0x08, 0xc4, 0x14, 0x32, 0xe0, 0xe2, 0x80, 0x99, 0x2e, 0xc1, 0xa4, 0xc0, - 0xac, 0xc1, 0x6d, 0x24, 0xa2, 0x87, 0x64, 0xbc, 0x1e, 0x54, 0x6b, 0x10, 0x5c, 0x95, 0x53, 0xc2, - 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, - 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0xb9, 0xa5, 0x67, 0x96, 0x64, 0x94, - 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x57, 0x65, 0xa6, 0x27, 0xa5, 0xa6, 0xea, 0x26, 0xe6, 0xe4, - 0x64, 0x26, 0xe6, 0x25, 0xa7, 0xea, 0xa7, 0x64, 0x16, 0x97, 0x14, 0x65, 0x26, 0x95, 0x96, 0xa4, - 0xa6, 0xe8, 0x26, 0xe7, 0xe7, 0x16, 0x40, 0x84, 0x75, 0x73, 0x52, 0x53, 0xd2, 0x53, 0x8b, 0xf4, - 0x2b, 0xf4, 0x91, 0x7c, 0x91, 0xc4, 0x06, 0x76, 0xbe, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xef, - 0x72, 0x06, 0xeb, 0x0b, 0x01, 0x00, 0x00, +var fileDescriptor_cccd801728ab4ad7 = []byte{ + // 228 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x72, 0xab, 0xca, 0x4c, 0x4f, + 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4f, 0xc9, 0x2c, 0x2e, 0x29, + 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, + 0xa7, 0x16, 0xe9, 0xe7, 0xe6, 0xa7, 0xa4, 0xe6, 0xe8, 0x97, 0xa5, 0xe6, 0xa5, 0xe4, 0x17, 0xc5, + 0x17, 0x14, 0xe5, 0xa7, 0x94, 0x26, 0x97, 0x14, 0xeb, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, 0x19, + 0xa0, 0x9a, 0xa3, 0x87, 0xc7, 0x1c, 0x3d, 0xb0, 0x39, 0x52, 0x76, 0x24, 0xdb, 0x0c, 0xb5, 0x12, + 0x62, 0xa3, 0x52, 0x25, 0x17, 0x5f, 0x18, 0xd8, 0x29, 0x01, 0x50, 0x97, 0x08, 0x09, 0x70, 0x31, + 0x97, 0x65, 0xa6, 0x48, 0x30, 0x2a, 0x30, 0x6a, 0xb0, 0x06, 0x81, 0x98, 0x42, 0xa1, 0x5c, 0x1c, + 0x30, 0x77, 0x4a, 0x30, 0x29, 0x30, 0x6b, 0x70, 0x1b, 0x59, 0xea, 0x91, 0xea, 0x50, 0x3d, 0xa8, + 0xf9, 0x41, 0x70, 0xa3, 0x9c, 0x12, 0x4e, 0x3c, 0x92, 0x63, 0xbc, 0xf0, 0x48, 0x8e, 0xf1, 0xc1, + 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, + 0xca, 0x2d, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0x1f, 0x62, 0x91, 0x2e, + 0x36, 0x0f, 0xea, 0x22, 0xac, 0xd2, 0x85, 0x7a, 0xb1, 0x02, 0xea, 0xc9, 0x92, 0xca, 0x82, 0xd4, + 0xe2, 0x24, 0x36, 0xb0, 0x1f, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0xf6, 0xc0, 0x77, 0xf1, + 0x9f, 0x01, 0x00, 0x00, } func (m *VendorProducts) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/approved_certificates.pb.go b/x/pki/types/approved_certificates.pb.go index d9aa1cfca..1f63f20a5 100644 --- a/x/pki/types/approved_certificates.pb.go +++ b/x/pki/types/approved_certificates.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/types/approved_certificates.proto +// source: zigbeealliance/distributedcomplianceledger/pki/approved_certificates.proto package types @@ -32,7 +32,7 @@ func (m *ApprovedCertificates) Reset() { *m = ApprovedCertificates{} } func (m *ApprovedCertificates) String() string { return proto.CompactTextString(m) } func (*ApprovedCertificates) ProtoMessage() {} func (*ApprovedCertificates) Descriptor() ([]byte, []int) { - return fileDescriptor_b58f8792aa7e8abe, []int{0} + return fileDescriptor_6269eb4c76315a98, []int{0} } func (m *ApprovedCertificates) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -83,31 +83,31 @@ func (m *ApprovedCertificates) GetCerts() []*Certificate { } func init() { - proto.RegisterType((*ApprovedCertificates)(nil), "pki.types.ApprovedCertificates") + proto.RegisterType((*ApprovedCertificates)(nil), "zigbeealliance.distributedcomplianceledger.pki.ApprovedCertificates") } func init() { - proto.RegisterFile("pki/types/approved_certificates.proto", fileDescriptor_b58f8792aa7e8abe) + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/pki/approved_certificates.proto", fileDescriptor_6269eb4c76315a98) } -var fileDescriptor_b58f8792aa7e8abe = []byte{ - // 243 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x2d, 0xc8, 0xce, 0xd4, - 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x4f, 0x2c, 0x28, 0x28, 0xca, 0x2f, 0x4b, 0x4d, 0x89, 0x4f, - 0x4e, 0x2d, 0x2a, 0xc9, 0x4c, 0xcb, 0x4c, 0x4e, 0x2c, 0x49, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, - 0xc9, 0x17, 0xe2, 0x2c, 0xc8, 0xce, 0xd4, 0x03, 0x2b, 0x93, 0x92, 0x46, 0xe8, 0x40, 0x52, 0x08, - 0x51, 0xa7, 0xd4, 0xc4, 0xc8, 0x25, 0xe2, 0x08, 0x35, 0xc7, 0x19, 0xc9, 0x18, 0x21, 0x09, 0x2e, - 0xf6, 0xe2, 0xd2, 0xa4, 0xac, 0xd4, 0xe4, 0x12, 0x09, 0x46, 0x05, 0x46, 0x0d, 0xce, 0x20, 0x18, - 0x57, 0x48, 0x89, 0x8b, 0x07, 0xca, 0xf4, 0x4e, 0xad, 0xf4, 0x4c, 0x91, 0x60, 0x02, 0x4b, 0xa3, - 0x88, 0x09, 0xe9, 0x70, 0xb1, 0x82, 0xec, 0x2a, 0x96, 0x60, 0x56, 0x60, 0xd6, 0xe0, 0x36, 0x12, - 0xd3, 0x83, 0x3b, 0x47, 0x0f, 0xc9, 0x96, 0x20, 0x88, 0x22, 0xa7, 0xb8, 0x13, 0x8f, 0xe4, 0x18, - 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, - 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x88, 0x72, 0x49, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, - 0xcf, 0xd5, 0xaf, 0xca, 0x4c, 0x4f, 0x4a, 0x4d, 0xd5, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, - 0x4e, 0xd5, 0x4f, 0xc9, 0x2c, 0x2e, 0x29, 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0xd1, 0x4d, 0xce, - 0xcf, 0x2d, 0x80, 0x08, 0xeb, 0xe6, 0xa4, 0xa6, 0xa4, 0xa7, 0x16, 0xe9, 0x57, 0xe8, 0xc3, 0xbd, - 0x9d, 0xc4, 0x06, 0xf6, 0xab, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xa6, 0x2c, 0xdb, 0x4f, 0x3c, - 0x01, 0x00, 0x00, +var fileDescriptor_6269eb4c76315a98 = []byte{ + // 255 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xf2, 0xaa, 0xca, 0x4c, 0x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, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0xca, 0x25, 0x3d, 0xb3, 0x24, + 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0x1f, 0x62, 0x8f, 0x2e, 0xb6, 0x10, 0xd1, 0x45, 0xd8, + 0xa4, 0x0b, 0x0d, 0x93, 0x0a, 0x70, 0xa8, 0x94, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0x03, + 0xc4, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x31, 0x53, 0x4a, 0x47, 0xd0, 0x01, 0x00, 0x00, } func (m *ApprovedCertificates) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/approved_certificates_by_subject.pb.go b/x/pki/types/approved_certificates_by_subject.pb.go index 9c8da9076..85770a5ab 100644 --- a/x/pki/types/approved_certificates_by_subject.pb.go +++ b/x/pki/types/approved_certificates_by_subject.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/types/approved_certificates_by_subject.proto +// source: zigbeealliance/distributedcomplianceledger/pki/approved_certificates_by_subject.proto package types @@ -31,7 +31,7 @@ func (m *ApprovedCertificatesBySubject) Reset() { *m = ApprovedCertifica func (m *ApprovedCertificatesBySubject) String() string { return proto.CompactTextString(m) } func (*ApprovedCertificatesBySubject) ProtoMessage() {} func (*ApprovedCertificatesBySubject) Descriptor() ([]byte, []int) { - return fileDescriptor_76f1aaa6ac15f6ff, []int{0} + return fileDescriptor_00fee9a70661a177, []int{0} } func (m *ApprovedCertificatesBySubject) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -75,30 +75,30 @@ func (m *ApprovedCertificatesBySubject) GetSubjectKeyIds() []string { } func init() { - proto.RegisterType((*ApprovedCertificatesBySubject)(nil), "pki.types.ApprovedCertificatesBySubject") + proto.RegisterType((*ApprovedCertificatesBySubject)(nil), "zigbeealliance.distributedcomplianceledger.pki.ApprovedCertificatesBySubject") } func init() { - proto.RegisterFile("pki/types/approved_certificates_by_subject.proto", fileDescriptor_76f1aaa6ac15f6ff) + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/pki/approved_certificates_by_subject.proto", fileDescriptor_00fee9a70661a177) } -var fileDescriptor_76f1aaa6ac15f6ff = []byte{ - // 225 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0x28, 0xc8, 0xce, 0xd4, - 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x4f, 0x2c, 0x28, 0x28, 0xca, 0x2f, 0x4b, 0x4d, 0x89, 0x4f, - 0x4e, 0x2d, 0x2a, 0xc9, 0x4c, 0xcb, 0x4c, 0x4e, 0x2c, 0x49, 0x2d, 0x8e, 0x4f, 0xaa, 0x8c, 0x2f, - 0x2e, 0x4d, 0xca, 0x4a, 0x4d, 0x2e, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x2c, 0xc8, - 0xce, 0xd4, 0x03, 0xeb, 0x50, 0x8a, 0xe7, 0x92, 0x75, 0x84, 0x6a, 0x72, 0x46, 0xd2, 0xe3, 0x54, - 0x19, 0x0c, 0xd1, 0x21, 0x24, 0xc1, 0xc5, 0x0e, 0xd5, 0x2c, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0x19, - 0x04, 0xe3, 0x0a, 0xa9, 0x70, 0xf1, 0x42, 0x99, 0xde, 0xa9, 0x95, 0x9e, 0x29, 0xc5, 0x12, 0x4c, - 0x0a, 0xcc, 0x1a, 0x9c, 0x41, 0xa8, 0x82, 0x4e, 0x71, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, - 0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, - 0x2c, 0xc7, 0x10, 0xe5, 0x92, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x5f, - 0x95, 0x99, 0x9e, 0x94, 0x9a, 0xaa, 0x9b, 0x98, 0x93, 0x93, 0x99, 0x98, 0x97, 0x9c, 0xaa, 0x9f, - 0x92, 0x59, 0x5c, 0x52, 0x94, 0x99, 0x54, 0x5a, 0x92, 0x9a, 0xa2, 0x9b, 0x9c, 0x9f, 0x5b, 0x00, - 0x11, 0xd6, 0xcd, 0x49, 0x4d, 0x49, 0x4f, 0x2d, 0xd2, 0xaf, 0xd0, 0x87, 0x7b, 0x39, 0x89, 0x0d, - 0xec, 0x25, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe3, 0x66, 0xad, 0xc4, 0x06, 0x01, 0x00, - 0x00, +var fileDescriptor_00fee9a70661a177 = []byte{ + // 236 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x0a, 0xad, 0xca, 0x4c, 0x4f, + 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4f, 0xc9, 0x2c, 0x2e, 0x29, + 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, + 0xa7, 0x16, 0xe9, 0x17, 0x64, 0x67, 0xea, 0x27, 0x16, 0x14, 0x14, 0xe5, 0x97, 0xa5, 0xa6, 0xc4, + 0x27, 0xa7, 0x16, 0x95, 0x64, 0xa6, 0x65, 0x26, 0x27, 0x96, 0xa4, 0x16, 0xc7, 0x27, 0x55, 0xc6, + 0x17, 0x97, 0x26, 0x65, 0xa5, 0x26, 0x97, 0xe8, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, 0xe9, 0xa1, + 0x1a, 0xab, 0x87, 0xc7, 0x58, 0xbd, 0x82, 0xec, 0x4c, 0xa5, 0x78, 0x2e, 0x59, 0x47, 0xa8, 0xc9, + 0xce, 0x48, 0x06, 0x3b, 0x55, 0x06, 0x43, 0x8c, 0x15, 0x92, 0xe0, 0x62, 0x87, 0xda, 0x20, 0xc1, + 0xa8, 0xc0, 0xa8, 0xc1, 0x19, 0x04, 0xe3, 0x0a, 0xa9, 0x70, 0xf1, 0x42, 0x99, 0xde, 0xa9, 0x95, + 0x9e, 0x29, 0xc5, 0x12, 0x4c, 0x0a, 0xcc, 0x1a, 0x9c, 0x41, 0xa8, 0x82, 0x4e, 0x71, 0x27, 0x1e, + 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, + 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0xe5, 0x92, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, + 0x97, 0x9c, 0x9f, 0xab, 0x0f, 0x71, 0xb5, 0x2e, 0xb6, 0xd0, 0xd0, 0x45, 0xb8, 0x5b, 0x17, 0x1a, + 0x1e, 0x15, 0xe0, 0x10, 0x29, 0xa9, 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, 0xfb, 0xdb, 0x18, 0x10, + 0x00, 0x00, 0xff, 0xff, 0x96, 0xc1, 0xd5, 0x7d, 0x50, 0x01, 0x00, 0x00, } func (m *ApprovedCertificatesBySubject) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/approved_certificates_by_subject_key_id.pb.go b/x/pki/types/approved_certificates_by_subject_key_id.pb.go index b57adbe73..8da94db3d 100644 --- a/x/pki/types/approved_certificates_by_subject_key_id.pb.go +++ b/x/pki/types/approved_certificates_by_subject_key_id.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/types/approved_certificates_by_subject_key_id.proto +// source: zigbeealliance/distributedcomplianceledger/pki/approved_certificates_by_subject_key_id.proto package types @@ -31,7 +31,7 @@ func (m *ApprovedCertificatesBySubjectKeyId) Reset() { *m = ApprovedCert func (m *ApprovedCertificatesBySubjectKeyId) String() string { return proto.CompactTextString(m) } func (*ApprovedCertificatesBySubjectKeyId) ProtoMessage() {} func (*ApprovedCertificatesBySubjectKeyId) Descriptor() ([]byte, []int) { - return fileDescriptor_58fc71280f93a310, []int{0} + return fileDescriptor_16abcf34f50089b9, []int{0} } func (m *ApprovedCertificatesBySubjectKeyId) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -75,31 +75,32 @@ func (m *ApprovedCertificatesBySubjectKeyId) GetCerts() []*Certificate { } func init() { - proto.RegisterType((*ApprovedCertificatesBySubjectKeyId)(nil), "pki.types.ApprovedCertificatesBySubjectKeyId") + proto.RegisterType((*ApprovedCertificatesBySubjectKeyId)(nil), "zigbeealliance.distributedcomplianceledger.pki.ApprovedCertificatesBySubjectKeyId") } func init() { - proto.RegisterFile("pki/types/approved_certificates_by_subject_key_id.proto", fileDescriptor_58fc71280f93a310) + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/pki/approved_certificates_by_subject_key_id.proto", fileDescriptor_16abcf34f50089b9) } -var fileDescriptor_58fc71280f93a310 = []byte{ - // 250 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0xcf, 0xb1, 0x4e, 0xc3, 0x30, - 0x14, 0x05, 0xd0, 0x1a, 0x04, 0x52, 0x03, 0x53, 0x06, 0x54, 0x81, 0x64, 0x55, 0x99, 0x3a, 0x10, - 0x5b, 0x82, 0x81, 0x99, 0xc2, 0x82, 0xd8, 0xca, 0xc6, 0x80, 0x15, 0xdb, 0x8f, 0xf0, 0x48, 0x8a, - 0x2d, 0xdb, 0xa9, 0x30, 0x5f, 0xc1, 0x67, 0x31, 0x76, 0x64, 0x44, 0xc9, 0x8f, 0x20, 0x1a, 0x54, - 0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17, 0x41, 0x01, 0x00, 0x00, +var fileDescriptor_16abcf34f50089b9 = []byte{ + // 263 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x8a, 0xa9, 0xca, 0x4c, 0x4f, + 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4f, 0xc9, 0x2c, 0x2e, 0x29, + 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, + 0xa7, 0x16, 0xe9, 0x17, 0x64, 0x67, 0xea, 0x27, 0x16, 0x14, 0x14, 0xe5, 0x97, 0xa5, 0xa6, 0xc4, + 0x27, 0xa7, 0x16, 0x95, 0x64, 0xa6, 0x65, 0x26, 0x27, 0x96, 0xa4, 0x16, 0xc7, 0x27, 0x55, 0xc6, + 0x17, 0x97, 0x26, 0x65, 0xa5, 0x26, 0x97, 0xc4, 0x67, 0xa7, 0x56, 0xc6, 0x67, 0xa6, 0xe8, 0x15, + 0x14, 0xe5, 0x97, 0xe4, 0x0b, 0xe9, 0xa1, 0x9a, 0xae, 0x87, 0xc7, 0x74, 0xbd, 0x82, 0xec, 0x4c, + 0x29, 0x07, 0x12, 0x5d, 0x83, 0xe4, 0x08, 0x88, 0x8d, 0x4a, 0xb3, 0x19, 0xb9, 0x94, 0x1c, 0xa1, + 0x6e, 0x74, 0x46, 0x72, 0xa2, 0x53, 0x65, 0x30, 0xc4, 0x81, 0xde, 0xa9, 0x95, 0x9e, 0x29, 0x42, + 0x4a, 0x5c, 0x3c, 0xc5, 0x48, 0x7c, 0x09, 0x46, 0x05, 0x46, 0x0d, 0xce, 0x20, 0x14, 0x31, 0xa1, + 0x40, 0x2e, 0x56, 0x90, 0xf9, 0xc5, 0x12, 0x4c, 0x0a, 0xcc, 0x1a, 0xdc, 0x46, 0xd6, 0x24, 0x7a, + 0x46, 0x0f, 0xc9, 0xfa, 0x20, 0x88, 0x49, 0x4e, 0x71, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, + 0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, + 0x2c, 0xc7, 0x10, 0xe5, 0x92, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x0f, + 0xb1, 0x47, 0x17, 0x5b, 0x28, 0xe8, 0x22, 0x6c, 0xd2, 0x85, 0x86, 0x43, 0x05, 0x38, 0x24, 0x4a, + 0x2a, 0x0b, 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0x81, 0x60, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xf1, + 0x9e, 0xc0, 0x52, 0xd6, 0x01, 0x00, 0x00, } func (m *ApprovedCertificatesBySubjectKeyId) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/approved_root_certificates.pb.go b/x/pki/types/approved_root_certificates.pb.go index af8bac567..681227a83 100644 --- a/x/pki/types/approved_root_certificates.pb.go +++ b/x/pki/types/approved_root_certificates.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/types/approved_root_certificates.proto +// source: zigbeealliance/distributedcomplianceledger/pki/approved_root_certificates.proto package types @@ -30,7 +30,7 @@ func (m *ApprovedRootCertificates) Reset() { *m = ApprovedRootCertificat func (m *ApprovedRootCertificates) String() string { return proto.CompactTextString(m) } func (*ApprovedRootCertificates) ProtoMessage() {} func (*ApprovedRootCertificates) Descriptor() ([]byte, []int) { - return fileDescriptor_9407518e8df2b59a, []int{0} + return fileDescriptor_43b429c1dbf61a0d, []int{0} } func (m *ApprovedRootCertificates) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -67,30 +67,30 @@ func (m *ApprovedRootCertificates) GetCerts() []*CertificateIdentifier { } func init() { - proto.RegisterType((*ApprovedRootCertificates)(nil), "pki.types.ApprovedRootCertificates") + proto.RegisterType((*ApprovedRootCertificates)(nil), "zigbeealliance.distributedcomplianceledger.pki.ApprovedRootCertificates") } func init() { - proto.RegisterFile("pki/types/approved_root_certificates.proto", fileDescriptor_9407518e8df2b59a) + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/pki/approved_root_certificates.proto", fileDescriptor_43b429c1dbf61a0d) } -var fileDescriptor_9407518e8df2b59a = []byte{ - // 227 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x2a, 0xc8, 0xce, 0xd4, - 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x4f, 0x2c, 0x28, 0x28, 0xca, 0x2f, 0x4b, 0x4d, 0x89, 0x2f, - 0xca, 0xcf, 0x2f, 0x89, 0x4f, 0x4e, 0x2d, 0x2a, 0xc9, 0x4c, 0xcb, 0x4c, 0x4e, 0x2c, 0x49, 0x2d, - 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x2c, 0xc8, 0xce, 0xd4, 0x03, 0xab, 0x95, 0x52, - 0x43, 0x68, 0x43, 0x52, 0x18, 0x9f, 0x99, 0x92, 0x9a, 0x07, 0xe2, 0xa4, 0x16, 0x41, 0xb4, 0x28, - 0x05, 0x71, 0x49, 0x38, 0x42, 0x8d, 0x0d, 0xca, 0xcf, 0x2f, 0x71, 0x46, 0x32, 0x54, 0xc8, 0x8c, - 0x8b, 0x15, 0xa4, 0xb7, 0x58, 0x82, 0x51, 0x81, 0x59, 0x83, 0xdb, 0x48, 0x41, 0x0f, 0x6e, 0xbc, - 0x1e, 0x92, 0x3a, 0x4f, 0xb8, 0x91, 0x41, 0x10, 0xe5, 0x4e, 0x71, 0x27, 0x1e, 0xc9, 0x31, 0x5e, - 0x78, 0x24, 0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, - 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0xe5, 0x92, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, - 0xab, 0x5f, 0x95, 0x99, 0x9e, 0x94, 0x9a, 0xaa, 0x9b, 0x98, 0x93, 0x93, 0x99, 0x98, 0x97, 0x9c, - 0xaa, 0x9f, 0x92, 0x59, 0x5c, 0x52, 0x94, 0x99, 0x54, 0x5a, 0x92, 0x9a, 0xa2, 0x9b, 0x9c, 0x9f, - 0x5b, 0x00, 0x11, 0xd6, 0xcd, 0x49, 0x4d, 0x49, 0x4f, 0x2d, 0xd2, 0xaf, 0xd0, 0x87, 0x7b, 0x28, - 0x89, 0x0d, 0xec, 0x74, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x0e, 0xaf, 0x86, 0x5e, 0x1b, - 0x01, 0x00, 0x00, +var fileDescriptor_43b429c1dbf61a0d = []byte{ + // 238 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xf2, 0xaf, 0xca, 0x4c, 0x4f, + 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4f, 0xc9, 0x2c, 0x2e, 0x29, + 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, + 0xa7, 0x16, 0xe9, 0x17, 0x64, 0x67, 0xea, 0x27, 0x16, 0x14, 0x14, 0xe5, 0x97, 0xa5, 0xa6, 0xc4, + 0x17, 0xe5, 0xe7, 0x97, 0xc4, 0x27, 0xa7, 0x16, 0x95, 0x64, 0xa6, 0x65, 0x26, 0x27, 0x96, 0xa4, + 0x16, 0xeb, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, 0xe9, 0xa1, 0x1a, 0xa8, 0x87, 0xc7, 0x40, 0xbd, + 0x82, 0xec, 0x4c, 0x29, 0x6f, 0x12, 0x1d, 0x80, 0x64, 0x65, 0x7c, 0x66, 0x4a, 0x6a, 0x1e, 0x88, + 0x03, 0x32, 0x0a, 0x64, 0xb9, 0x52, 0x39, 0x97, 0x84, 0x23, 0xd4, 0x81, 0x41, 0xf9, 0xf9, 0x25, + 0xce, 0x48, 0xce, 0x13, 0x8a, 0xe6, 0x62, 0x05, 0xe9, 0x2d, 0x96, 0x60, 0x54, 0x60, 0xd6, 0xe0, + 0x36, 0x72, 0x25, 0xd1, 0xa1, 0x7a, 0x48, 0x86, 0x79, 0xc2, 0xed, 0x0d, 0x82, 0x98, 0xe9, 0x14, + 0x77, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x4e, 0x78, 0x2c, + 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0x2e, 0xe9, 0x99, 0x25, 0x19, + 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0x10, 0x1b, 0x75, 0xb1, 0xf9, 0x55, 0x17, 0x61, 0xa7, + 0x2e, 0xd4, 0xb7, 0x15, 0x60, 0xff, 0x96, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0xfd, 0x67, + 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x86, 0xee, 0xc1, 0x7e, 0xaf, 0x01, 0x00, 0x00, } func (m *ApprovedRootCertificates) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/certificate.pb.go b/x/pki/types/certificate.pb.go index 093045789..836d4bfc0 100644 --- a/x/pki/types/certificate.pb.go +++ b/x/pki/types/certificate.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/types/certificate.proto +// source: zigbeealliance/distributedcomplianceledger/pki/certificate.proto package types @@ -45,7 +45,7 @@ func (m *Certificate) Reset() { *m = Certificate{} } func (m *Certificate) String() string { return proto.CompactTextString(m) } func (*Certificate) ProtoMessage() {} func (*Certificate) Descriptor() ([]byte, []int) { - return fileDescriptor_a5c82100d3da891c, []int{0} + return fileDescriptor_0ec8ab7f7382ccfa, []int{0} } func (m *Certificate) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -173,43 +173,46 @@ func (m *Certificate) GetVid() int32 { } func init() { - proto.RegisterType((*Certificate)(nil), "pki.types.Certificate") + proto.RegisterType((*Certificate)(nil), "zigbeealliance.distributedcomplianceledger.pki.Certificate") } -func init() { proto.RegisterFile("pki/types/certificate.proto", fileDescriptor_a5c82100d3da891c) } +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/pki/certificate.proto", fileDescriptor_0ec8ab7f7382ccfa) +} -var fileDescriptor_a5c82100d3da891c = []byte{ - // 473 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0x41, 0x6e, 0xd3, 0x40, - 0x14, 0x86, 0x63, 0xd2, 0x24, 0xcd, 0xa4, 0xad, 0xaa, 0x51, 0x41, 0x43, 0x90, 0x8c, 0x15, 0x21, - 0x14, 0x55, 0xc4, 0x06, 0xaa, 0xb0, 0x40, 0xea, 0xa2, 0x01, 0x09, 0x21, 0x24, 0x16, 0x2e, 0x2b, - 0x16, 0xa0, 0xb1, 0xfd, 0x70, 0x87, 0xda, 0x19, 0x6b, 0xe6, 0x39, 0x34, 0x9c, 0x02, 0x89, 0xab, - 0x70, 0x08, 0x96, 0x15, 0x2b, 0x56, 0x08, 0x25, 0x37, 0xe0, 0x04, 0xc8, 0x33, 0x6e, 0x93, 0x82, - 0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 0x0c, 0x92, 0x14, - 0x54, 0x70, 0x16, 0x5c, 0xbe, 0xc0, 0xa8, 0x6d, 0x1e, 0xdf, 0xc1, 0xdf, 0x00, 0x00, 0x00, 0xff, - 0xff, 0x59, 0x92, 0x19, 0x91, 0xee, 0x02, 0x00, 0x00, +var fileDescriptor_0ec8ab7f7382ccfa = []byte{ + // 485 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x52, 0xd1, 0x8a, 0xd3, 0x40, + 0x14, 0x6d, 0xec, 0xb6, 0xdd, 0x4e, 0x77, 0x17, 0x19, 0x16, 0x19, 0xfb, 0x10, 0x4b, 0x11, 0x29, + 0x62, 0x13, 0x75, 0xa9, 0x0f, 0x0b, 0x0b, 0x6e, 0x15, 0x44, 0x04, 0x85, 0xd4, 0x27, 0x1f, 0x94, + 0x49, 0x72, 0xcd, 0x8e, 0x9b, 0x74, 0xc2, 0xcc, 0x4d, 0xdd, 0xfa, 0x15, 0x7e, 0x8c, 0x1f, 0xe1, + 0xe3, 0xe2, 0x93, 0x2f, 0x8a, 0xb4, 0x7f, 0xe0, 0x17, 0x48, 0x66, 0xb2, 0xb4, 0x55, 0x11, 0x16, + 0xdf, 0x72, 0xce, 0xdc, 0x7b, 0xee, 0xe1, 0xe4, 0x90, 0x87, 0x1f, 0x44, 0x12, 0x02, 0xf0, 0x34, + 0x15, 0x7c, 0x1a, 0x81, 0x1f, 0x0b, 0x8d, 0x4a, 0x84, 0x05, 0x42, 0x1c, 0xc9, 0x2c, 0xb7, 0x6c, + 0x0a, 0x71, 0x02, 0xca, 0xcf, 0x4f, 0x85, 0x1f, 0x81, 0x42, 0xf1, 0x56, 0x44, 0x1c, 0xc1, 0xcb, + 0x95, 0x44, 0x49, 0xbd, 0x4d, 0x05, 0xef, 0x1f, 0x0a, 0x5e, 0x7e, 0x2a, 0xba, 0xd7, 0x23, 0xa9, + 0x33, 0xa9, 0x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0xa7, 0x9a, 0x75, 0x7a, 0xf5, 0x41, + 0xe7, 0xfe, 0xe8, 0x92, 0x95, 0xf0, 0x9e, 0x94, 0x7f, 0x2c, 0x58, 0xe9, 0xd0, 0x9b, 0x64, 0xb7, + 0x3a, 0x72, 0xac, 0x5f, 0xc2, 0x19, 0xb2, 0x1d, 0x73, 0x79, 0x93, 0xa4, 0x2f, 0x48, 0x4b, 0x41, + 0x89, 0x35, 0xdb, 0xfd, 0x9f, 0xc3, 0x17, 0x2a, 0xf4, 0x2e, 0xa9, 0xcf, 0x44, 0xcc, 0xf6, 0x7a, + 0xce, 0xa0, 0x31, 0x76, 0x7f, 0x7e, 0xbf, 0xd1, 0x9d, 0xf1, 0x54, 0xc4, 0x1c, 0xe1, 0xb0, 0x9f, + 0x20, 0x1c, 0xdd, 0xbb, 0x93, 0x22, 0x1c, 0x3d, 0x18, 0x8d, 0x0e, 0x46, 0xfd, 0xa0, 0x1c, 0x1d, + 0xbf, 0xfe, 0xbc, 0x70, 0x9d, 0xf3, 0x85, 0xeb, 0xfc, 0x58, 0xb8, 0xce, 0xc7, 0xa5, 0x5b, 0x3b, + 0x5f, 0xba, 0xb5, 0xaf, 0x4b, 0xb7, 0xf6, 0xea, 0x71, 0x22, 0xf0, 0xa4, 0x08, 0xbd, 0x48, 0x66, + 0xbe, 0x75, 0x35, 0xfc, 0x5b, 0x83, 0x87, 0x2b, 0x5f, 0xc3, 0xaa, 0xc3, 0x67, 0xa6, 0xc5, 0x38, + 0xcf, 0x41, 0x87, 0x4d, 0x53, 0xe3, 0x83, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x69, 0xd7, 0x7c, + 0xf5, 0xa7, 0x03, 0x00, 0x00, } func (m *Certificate) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/certificate_identifier.pb.go b/x/pki/types/certificate_identifier.pb.go index bb058038f..5c5a22b9b 100644 --- a/x/pki/types/certificate_identifier.pb.go +++ b/x/pki/types/certificate_identifier.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/types/certificate_identifier.proto +// source: zigbeealliance/distributedcomplianceledger/pki/certificate_identifier.proto package types @@ -31,7 +31,7 @@ func (m *CertificateIdentifier) Reset() { *m = CertificateIdentifier{} } func (m *CertificateIdentifier) String() string { return proto.CompactTextString(m) } func (*CertificateIdentifier) ProtoMessage() {} func (*CertificateIdentifier) Descriptor() ([]byte, []int) { - return fileDescriptor_203e44a69345fedc, []int{0} + return fileDescriptor_8d2f4acfd17683fc, []int{0} } func (m *CertificateIdentifier) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -75,28 +75,29 @@ func (m *CertificateIdentifier) GetSubjectKeyId() string { } func init() { - proto.RegisterType((*CertificateIdentifier)(nil), "pki.types.CertificateIdentifier") + proto.RegisterType((*CertificateIdentifier)(nil), "zigbeealliance.distributedcomplianceledger.pki.CertificateIdentifier") } func init() { - proto.RegisterFile("pki/types/certificate_identifier.proto", fileDescriptor_203e44a69345fedc) + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/pki/certificate_identifier.proto", fileDescriptor_8d2f4acfd17683fc) } -var fileDescriptor_203e44a69345fedc = []byte{ - // 208 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x2b, 0xc8, 0xce, 0xd4, - 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x4f, 0x4e, 0x2d, 0x2a, 0xc9, 0x4c, 0xcb, 0x4c, 0x4e, 0x2c, - 0x49, 0x8d, 0xcf, 0x4c, 0x49, 0xcd, 0x03, 0x71, 0x52, 0x8b, 0xf4, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, - 0x85, 0x38, 0x0b, 0xb2, 0x33, 0xf5, 0xc0, 0xea, 0x94, 0x42, 0xb9, 0x44, 0x9d, 0x11, 0x4a, 0x3d, - 0xe1, 0x2a, 0x85, 0x24, 0xb8, 0xd8, 0x8b, 0x4b, 0x93, 0xb2, 0x52, 0x93, 0x4b, 0x24, 0x18, 0x15, - 0x18, 0x35, 0x38, 0x83, 0x60, 0x5c, 0x21, 0x25, 0x2e, 0x1e, 0x28, 0xd3, 0x3b, 0xb5, 0xd2, 0x33, - 0x45, 0x82, 0x09, 0x2c, 0x8d, 0x22, 0xe6, 0x14, 0x77, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, - 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x4e, 0x78, 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, - 0x72, 0x0c, 0x51, 0x2e, 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0x55, - 0x99, 0xe9, 0x49, 0xa9, 0xa9, 0xba, 0x89, 0x39, 0x39, 0x99, 0x89, 0x79, 0xc9, 0xa9, 0xfa, 0x29, - 0x99, 0xc5, 0x25, 0x45, 0x99, 0x49, 0xa5, 0x25, 0xa9, 0x29, 0xba, 0xc9, 0xf9, 0xb9, 0x05, 0x10, - 0x61, 0xdd, 0x9c, 0xd4, 0x94, 0xf4, 0xd4, 0x22, 0xfd, 0x0a, 0x7d, 0xb8, 0xf7, 0x92, 0xd8, 0xc0, - 0x1e, 0x31, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0xa2, 0xf9, 0x55, 0x77, 0xf2, 0x00, 0x00, 0x00, +var fileDescriptor_8d2f4acfd17683fc = []byte{ + // 219 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xf2, 0xae, 0xca, 0x4c, 0x4f, + 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4f, 0xc9, 0x2c, 0x2e, 0x29, + 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, + 0xa7, 0x16, 0xe9, 0x17, 0x64, 0x67, 0xea, 0x27, 0xa7, 0x16, 0x95, 0x64, 0xa6, 0x65, 0x26, 0x27, + 0x96, 0xa4, 0xc6, 0x67, 0xa6, 0xa4, 0xe6, 0x81, 0x38, 0xa9, 0x45, 0x7a, 0x05, 0x45, 0xf9, 0x25, + 0xf9, 0x42, 0x7a, 0xa8, 0x86, 0xe9, 0xe1, 0x31, 0x4c, 0xaf, 0x20, 0x3b, 0x53, 0x29, 0x94, 0x4b, + 0xd4, 0x19, 0x61, 0x9e, 0x27, 0xdc, 0x38, 0x21, 0x09, 0x2e, 0xf6, 0xe2, 0xd2, 0xa4, 0xac, 0xd4, + 0xe4, 0x12, 0x09, 0x46, 0x05, 0x46, 0x0d, 0xce, 0x20, 0x18, 0x57, 0x48, 0x89, 0x8b, 0x07, 0xca, + 0xf4, 0x4e, 0xad, 0xf4, 0x4c, 0x91, 0x60, 0x02, 0x4b, 0xa3, 0x88, 0x39, 0xc5, 0x9d, 0x78, 0x24, + 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, + 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x4b, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, + 0x72, 0x7e, 0xae, 0x3e, 0xc4, 0xad, 0xba, 0xd8, 0x7c, 0xae, 0x8b, 0x70, 0xad, 0x2e, 0xd4, 0xef, + 0x15, 0x60, 0xdf, 0x97, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0x7d, 0x6b, 0x0c, 0x08, 0x00, + 0x00, 0xff, 0xff, 0xaa, 0x25, 0x51, 0x60, 0x3c, 0x01, 0x00, 0x00, } func (m *CertificateIdentifier) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/child_certificates.pb.go b/x/pki/types/child_certificates.pb.go index af3691eb4..be9654666 100644 --- a/x/pki/types/child_certificates.pb.go +++ b/x/pki/types/child_certificates.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/types/child_certificates.proto +// source: zigbeealliance/distributedcomplianceledger/pki/child_certificates.proto package types @@ -32,7 +32,7 @@ func (m *ChildCertificates) Reset() { *m = ChildCertificates{} } func (m *ChildCertificates) String() string { return proto.CompactTextString(m) } func (*ChildCertificates) ProtoMessage() {} func (*ChildCertificates) Descriptor() ([]byte, []int) { - return fileDescriptor_ff6cc91e15e999b2, []int{0} + return fileDescriptor_cda1dafd82862476, []int{0} } func (m *ChildCertificates) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -83,32 +83,33 @@ func (m *ChildCertificates) GetCertIds() []*CertificateIdentifier { } func init() { - proto.RegisterType((*ChildCertificates)(nil), "pki.types.ChildCertificates") + proto.RegisterType((*ChildCertificates)(nil), "zigbeealliance.distributedcomplianceledger.pki.ChildCertificates") } func init() { - proto.RegisterFile("pki/types/child_certificates.proto", fileDescriptor_ff6cc91e15e999b2) + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/pki/child_certificates.proto", fileDescriptor_cda1dafd82862476) } -var fileDescriptor_ff6cc91e15e999b2 = []byte{ - // 259 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x50, 0x3d, 0x4b, 0xc3, 0x40, - 0x18, 0xce, 0x59, 0xa8, 0x34, 0x82, 0x60, 0x06, 0x09, 0x0e, 0x47, 0xe8, 0x50, 0xba, 0xe4, 0x0e, - 0x74, 0x73, 0xb4, 0x2e, 0xc1, 0xad, 0xa3, 0x83, 0x25, 0xb9, 0x7b, 0x4d, 0x5e, 0x9a, 0xf6, 0x8e, - 0xbb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1d, 0x97, 0x20, 0x73, 0x30, 0xfc, 0x85, 0x0f, 0xe7, - 0xc8, 0xa6, 0xfd, 0xc7, 0x6f, 0xbe, 0x03, 0x00, 0x00, 0xff, 0xff, 0x56, 0x82, 0xd7, 0xd1, 0x51, - 0x01, 0x00, 0x00, +var fileDescriptor_cda1dafd82862476 = []byte{ + // 273 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x72, 0xaf, 0xca, 0x4c, 0x4f, + 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4f, 0xc9, 0x2c, 0x2e, 0x29, + 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, + 0xa7, 0x16, 0xe9, 0x17, 0x64, 0x67, 0xea, 0x27, 0x67, 0x64, 0xe6, 0xa4, 0xc4, 0x27, 0xa7, 0x16, + 0x95, 0x64, 0xa6, 0x65, 0x26, 0x27, 0x96, 0xa4, 0x16, 0xeb, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, + 0xe9, 0xa1, 0x1a, 0xa4, 0x87, 0xc7, 0x20, 0xbd, 0x82, 0xec, 0x4c, 0x29, 0x6f, 0x52, 0x2d, 0x46, + 0x58, 0x19, 0x9f, 0x99, 0x92, 0x9a, 0x07, 0xe2, 0x80, 0x8c, 0x02, 0x59, 0xae, 0xb4, 0x85, 0x91, + 0x4b, 0xd0, 0x19, 0xe4, 0x32, 0x67, 0x24, 0x87, 0x09, 0x89, 0x71, 0xb1, 0x65, 0x16, 0x17, 0x97, + 0xa6, 0x16, 0x49, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x06, 0x41, 0x79, 0x42, 0x6a, 0x5c, 0x7c, 0x89, + 0xa5, 0x25, 0x19, 0xf9, 0x45, 0x99, 0x25, 0x95, 0xde, 0xa9, 0x95, 0x9e, 0x29, 0x12, 0x4c, 0x60, + 0x79, 0x34, 0x51, 0xa1, 0x78, 0x2e, 0x76, 0x90, 0xad, 0x9e, 0x29, 0xc5, 0x12, 0xcc, 0x0a, 0xcc, + 0x1a, 0xdc, 0x46, 0xae, 0x24, 0x7a, 0x52, 0x0f, 0xc9, 0x39, 0x9e, 0x70, 0x37, 0x07, 0xc1, 0x4c, + 0x75, 0x8a, 0x3b, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, + 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0x97, 0xf4, 0xcc, + 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0x88, 0x9d, 0xba, 0xd8, 0x42, 0x4a, 0x17, + 0x61, 0xab, 0x2e, 0x34, 0xac, 0x2a, 0xc0, 0xa1, 0x55, 0x52, 0x59, 0x90, 0x5a, 0x9c, 0xc4, 0x06, + 0x0e, 0x1d, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x70, 0xb7, 0x6a, 0x73, 0xe5, 0x01, 0x00, + 0x00, } func (m *ChildCertificates) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/genesis.pb.go b/x/pki/types/genesis.pb.go index d6ffb7cc1..1dfe5b0d0 100644 --- a/x/pki/types/genesis.pb.go +++ b/x/pki/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/types/genesis.proto +// source: zigbeealliance/distributedcomplianceledger/pki/genesis.proto package types @@ -44,7 +44,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} } func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_dc06e1a663d144bc, []int{0} + return fileDescriptor_f53eb28747bee8a8, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -165,54 +165,58 @@ func (m *GenesisState) GetApprovedCertificatesBySubjectKeyIdList() []ApprovedCer } func init() { - proto.RegisterType((*GenesisState)(nil), "pki.types.GenesisState") + proto.RegisterType((*GenesisState)(nil), "zigbeealliance.distributedcomplianceledger.pki.GenesisState") } -func init() { proto.RegisterFile("pki/types/genesis.proto", fileDescriptor_dc06e1a663d144bc) } +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/pki/genesis.proto", fileDescriptor_f53eb28747bee8a8) +} -var fileDescriptor_dc06e1a663d144bc = []byte{ - // 642 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x4d, 0x6f, 0xd3, 0x40, - 0x14, 0x8c, 0x69, 0x29, 0xd4, 0x29, 0x17, 0x0b, 0xd4, 0xaa, 0x42, 0x6e, 0x09, 0x1f, 0x4a, 0x91, - 0x12, 0x43, 0x39, 0xf4, 0x86, 0xd4, 0x34, 0x12, 0xaa, 0xca, 0x21, 0x4a, 0x85, 0x84, 0x10, 0xaa, - 0xe5, 0x8f, 0xc5, 0x5d, 0x9c, 0x66, 0x8d, 0xbd, 0xae, 0x30, 0x42, 0xe2, 0x07, 0x70, 0xe1, 0x17, - 0x71, 0xee, 0x31, 0x47, 0x4e, 0x08, 0x25, 0x7f, 0x04, 0xf9, 0x79, 0x1d, 0x6f, 0xb3, 0x6b, 0xc7, - 0x70, 0x73, 0x76, 0xe7, 0xcd, 0xcc, 0xce, 0x7b, 0x5e, 0x47, 0xdd, 0x0c, 0x7c, 0x6c, 0xd0, 0x24, - 0x40, 0x91, 0xe1, 0xa1, 0x31, 0x8a, 0x70, 0xd4, 0x0d, 0x42, 0x42, 0x89, 0xb6, 0x1e, 0xf8, 0x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da, 0x37, 0xb5, 0x35, - 0xf0, 0x71, 0x31, 0x6b, 0x7d, 0xee, 0x52, 0x1a, 0xa4, 0x77, 0x12, 0x48, 0x35, 0x41, 0x6a, 0x8f, - 0x9f, 0xea, 0xca, 0x22, 0xa6, 0x5a, 0x83, 0x5a, 0xfb, 0xa9, 0xa8, 0x07, 0xd5, 0xb0, 0xa8, 0x97, - 0x1c, 0xc3, 0x9d, 0xc8, 0x72, 0x39, 0x41, 0xc9, 0x71, 0x1f, 0x6c, 0x6d, 0x80, 0xad, 0x97, 0xb5, - 0x6d, 0x49, 0x99, 0x98, 0xd7, 0xff, 0x35, 0xa1, 0x7d, 0x57, 0xd4, 0x27, 0x95, 0x7d, 0x4c, 0xa1, - 0x2e, 0xf8, 0xbd, 0x03, 0x7e, 0x3b, 0x75, 0xa7, 0x04, 0x0a, 0x99, 0xbd, 0x9a, 0x12, 0xbd, 0xb3, - 0xab, 0xa9, 0xae, 0x4c, 0xa6, 0xba, 0xf2, 0x67, 0xaa, 0x2b, 0x3f, 0x66, 0x7a, 0x63, 0x32, 0xd3, - 0x1b, 0xbf, 0x66, 0x7a, 0xe3, 0x5d, 0xdf, 0xc3, 0xf4, 0x3c, 0xb6, 0xbb, 0x0e, 0xb9, 0x30, 0xbe, - 0x60, 0xcf, 0x46, 0xa8, 0x63, 0x8d, 0x46, 0xd8, 0x1a, 0x3b, 0xc8, 0x98, 0x7f, 0x8a, 0x90, 0xdb, - 0x71, 0xc8, 0x45, 0x90, 0x2d, 0x77, 0x46, 0xc8, 0xf5, 0x50, 0x68, 0x7c, 0x2e, 0xfe, 0x20, 0xd8, - 0x6b, 0xf0, 0xe5, 0x78, 0xf1, 0x37, 0x00, 0x00, 0xff, 0xff, 0xcb, 0x68, 0x1b, 0x5a, 0xc9, 0x08, - 0x00, 0x00, +var fileDescriptor_f53eb28747bee8a8 = []byte{ + // 679 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0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x2b, 0x13, 0x49, 0x7e, 0xb0, 0xf8, 0xb5, + 0xb0, 0x1d, 0xf7, 0xe1, 0x60, 0x63, 0x3d, 0x7e, 0x82, 0xe2, 0x7e, 0x17, 0xd8, 0xd7, 0x80, 0xdd, + 0xae, 0x97, 0x9d, 0x6b, 0xc7, 0x0a, 0x12, 0x25, 0x55, 0x7e, 0x49, 0xf2, 0xbd, 0x85, 0xc1, 0x49, + 0x5e, 0x75, 0xa0, 0xa8, 0xeb, 0x50, 0x94, 0x5e, 0x6b, 0x76, 0x41, 0x9d, 0xd5, 0x70, 0x41, 0x8e, + 0xf6, 0x9b, 0x93, 0xb1, 0x2a, 0x9d, 0x8e, 0x55, 0xe9, 0xdf, 0x58, 0x95, 0xbe, 0x4f, 0xd4, 0xc6, + 0xe9, 0x44, 0x6d, 0xfc, 0x99, 0xa8, 0x8d, 0x57, 0x5d, 0x17, 0xd3, 0xc3, 0xc8, 0xd2, 0x6c, 0x72, + 0xd4, 0x4c, 0x29, 0x77, 0x78, 0xd7, 0x8a, 0x9d, 0x29, 0xe7, 0x0e, 0xbb, 0x58, 0x7c, 0x80, 0xab, + 0x05, 0x8d, 0x7d, 0x14, 0x5a, 0x2b, 0x70, 0x47, 0xb8, 0xff, 0x3f, 0x00, 0x00, 0xff, 0xff, 0xdd, + 0x2d, 0x38, 0x60, 0xde, 0x0c, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/grant.pb.go b/x/pki/types/grant.pb.go index d9c8ff655..404c26d10 100644 --- a/x/pki/types/grant.pb.go +++ b/x/pki/types/grant.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/types/grant.proto +// source: zigbeealliance/distributedcomplianceledger/pki/grant.proto package types @@ -33,7 +33,7 @@ func (m *Grant) Reset() { *m = Grant{} } func (m *Grant) String() string { return proto.CompactTextString(m) } func (*Grant) ProtoMessage() {} func (*Grant) Descriptor() ([]byte, []int) { - return fileDescriptor_fb8d2c59fc7b3df7, []int{0} + return fileDescriptor_046cecf95bd45d05, []int{0} } func (m *Grant) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -84,28 +84,31 @@ func (m *Grant) GetInfo() string { } func init() { - proto.RegisterType((*Grant)(nil), "pki.types.Grant") + proto.RegisterType((*Grant)(nil), "zigbeealliance.distributedcomplianceledger.pki.Grant") } -func init() { proto.RegisterFile("pki/types/grant.proto", fileDescriptor_fb8d2c59fc7b3df7) } +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/pki/grant.proto", fileDescriptor_046cecf95bd45d05) +} -var fileDescriptor_fb8d2c59fc7b3df7 = []byte{ - // 236 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2d, 0xc8, 0xce, 0xd4, - 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x4f, 0x2f, 0x4a, 0xcc, 0x2b, 0xd1, 0x2b, 0x28, 0xca, 0x2f, - 0xc9, 0x17, 0xe2, 0x2c, 0xc8, 0xce, 0xd4, 0x03, 0x0b, 0x4b, 0x49, 0x26, 0xe7, 0x17, 0xe7, 0xe6, - 0x17, 0xc7, 0x83, 0x25, 0xf4, 0x21, 0x1c, 0x88, 0x2a, 0xa5, 0x64, 0x2e, 0x56, 0x77, 0x90, 0x26, - 0x21, 0x23, 0x2e, 0xf6, 0xc4, 0x94, 0x94, 0xa2, 0xd4, 0xe2, 0x62, 0x09, 0x46, 0x05, 0x46, 0x0d, - 0x4e, 0x27, 0x89, 0x4b, 0x5b, 0x74, 0x45, 0xa0, 0x6a, 0x1d, 0x21, 0x32, 0xc1, 0x25, 0x45, 0x99, - 0x79, 0xe9, 0x41, 0x30, 0x85, 0x42, 0x42, 0x5c, 0x2c, 0x25, 0x99, 0xb9, 0xa9, 0x12, 0x4c, 0x0a, - 0x8c, 0x1a, 0xcc, 0x41, 0x60, 0x36, 0x48, 0x2c, 0x33, 0x2f, 0x2d, 0x5f, 0x82, 0x19, 0x64, 0x48, - 0x10, 0x98, 0xed, 0x14, 0x77, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, - 0x31, 0x4e, 0x78, 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0x2e, - 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0x55, 0x99, 0xe9, 0x49, 0xa9, - 0xa9, 0xba, 0x89, 0x39, 0x39, 0x99, 0x89, 0x79, 0xc9, 0xa9, 0xfa, 0x29, 0x99, 0xc5, 0x25, 0x45, - 0x99, 0x49, 0xa5, 0x25, 0xa9, 0x29, 0xba, 0xc9, 0xf9, 0xb9, 0x05, 0x10, 0x61, 0xdd, 0x9c, 0xd4, - 0x94, 0xf4, 0xd4, 0x22, 0xfd, 0x0a, 0x7d, 0xb8, 0xb7, 0x93, 0xd8, 0xc0, 0x7e, 0x31, 0x06, 0x04, - 0x00, 0x00, 0xff, 0xff, 0xa4, 0xe3, 0xb3, 0x9e, 0x0a, 0x01, 0x00, 0x00, +var fileDescriptor_046cecf95bd45d05 = []byte{ + // 248 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xb2, 0xaa, 0xca, 0x4c, 0x4f, + 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4f, 0xc9, 0x2c, 0x2e, 0x29, + 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, + 0xa7, 0x16, 0xe9, 0x17, 0x64, 0x67, 0xea, 0xa7, 0x17, 0x25, 0xe6, 0x95, 0xe8, 0x15, 0x14, 0xe5, + 0x97, 0xe4, 0x0b, 0xe9, 0xa1, 0xea, 0xd5, 0xc3, 0xa3, 0x57, 0xaf, 0x20, 0x3b, 0x53, 0x4a, 0x32, + 0x39, 0xbf, 0x38, 0x37, 0xbf, 0x38, 0x1e, 0xac, 0x5b, 0x1f, 0xc2, 0x81, 0x18, 0xa5, 0x94, 0xcc, + 0xc5, 0xea, 0x0e, 0x32, 0x59, 0xc8, 0x88, 0x8b, 0x3d, 0x31, 0x25, 0xa5, 0x28, 0xb5, 0xb8, 0x58, + 0x82, 0x51, 0x81, 0x51, 0x83, 0xd3, 0x49, 0xe2, 0xd2, 0x16, 0x5d, 0x11, 0xa8, 0x5a, 0x47, 0x88, + 0x4c, 0x70, 0x49, 0x51, 0x66, 0x5e, 0x7a, 0x10, 0x4c, 0xa1, 0x90, 0x10, 0x17, 0x4b, 0x49, 0x66, + 0x6e, 0xaa, 0x04, 0x93, 0x02, 0xa3, 0x06, 0x73, 0x10, 0x98, 0x0d, 0x12, 0xcb, 0xcc, 0x4b, 0xcb, + 0x97, 0x60, 0x06, 0x19, 0x12, 0x04, 0x66, 0x3b, 0xc5, 0x9d, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, + 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, + 0xb1, 0x1c, 0x43, 0x94, 0x4b, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x3e, + 0xc4, 0x53, 0xba, 0xd8, 0x42, 0x44, 0x17, 0xe1, 0x2d, 0x5d, 0x68, 0x98, 0x54, 0x80, 0x43, 0xa5, + 0xa4, 0xb2, 0x20, 0xb5, 0x38, 0x89, 0x0d, 0xec, 0x17, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, + 0x48, 0x59, 0x12, 0xcb, 0x54, 0x01, 0x00, 0x00, } func (m *Grant) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/pki_revocation_distribution_point.pb.go b/x/pki/types/pki_revocation_distribution_point.pb.go index 2b21cd2e3..f462a3ffb 100644 --- a/x/pki/types/pki_revocation_distribution_point.pb.go +++ b/x/pki/types/pki_revocation_distribution_point.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/types/pki_revocation_distribution_point.proto +// source: zigbeealliance/distributedcomplianceledger/pki/pki_revocation_distribution_point.proto package types @@ -40,7 +40,7 @@ func (m *PkiRevocationDistributionPoint) Reset() { *m = PkiRevocationDis func (m *PkiRevocationDistributionPoint) String() string { return proto.CompactTextString(m) } func (*PkiRevocationDistributionPoint) ProtoMessage() {} func (*PkiRevocationDistributionPoint) Descriptor() ([]byte, []int) { - return fileDescriptor_60aeebb59a5fcc06, []int{0} + return fileDescriptor_e5f43c14e14d3cdf, []int{0} } func (m *PkiRevocationDistributionPoint) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -147,38 +147,39 @@ func (m *PkiRevocationDistributionPoint) GetRevocationType() uint32 { } func init() { - proto.RegisterType((*PkiRevocationDistributionPoint)(nil), "pki.types.PkiRevocationDistributionPoint") + proto.RegisterType((*PkiRevocationDistributionPoint)(nil), "zigbeealliance.distributedcomplianceledger.pki.PkiRevocationDistributionPoint") } func init() { - proto.RegisterFile("pki/types/pki_revocation_distribution_point.proto", fileDescriptor_60aeebb59a5fcc06) + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/pki/pki_revocation_distribution_point.proto", fileDescriptor_e5f43c14e14d3cdf) } -var fileDescriptor_60aeebb59a5fcc06 = []byte{ - // 366 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0xbb, 0x6e, 0xdb, 0x30, - 0x18, 0x85, 0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, 0xa4, 0xb2, 0x39, 0x26, 0x39, 0xa8, 0xef, 0xa0, - 0x34, 0x5e, 0x61, 0x14, 0x68, 0xe0, 0x3d, 0xd3, 0x7c, 0xf1, 0xc6, 0x38, 0xed, 0xc7, 0x81, 0x0e, - 0xfe, 0xfa, 0xbf, 0x79, 0xdf, 0xd8, 0x5e, 0x90, 0x8d, 0xe9, 0xbb, 0xfa, 0xf9, 0x03, 0x33, 0x98, - 0xe3, 0x06, 0xf8, 0xc0, 0x22, 0x76, 0xc7, 0x3f, 0xd3, 0x98, 0xa0, 0xb4, 0x66, 0x0f, 0x13, 0x28, - 0x35, 0x1f, 0x9a, 0x82, 0x13, 0x85, 0x7d, 0xa2, 0x1f, 0x8e, 0xf4, 0x67, 0x2d, 0x81, 0x53, 0x8b, - 0xd8, 0xef, 0xfd, 0x57, 0x6a, 0xed, 0x3b, 0xce, 0x61, 0x7c, 0x6f, 0x1b, 0xdf, 0xb9, 0xfa, 0xed, - 0xff, 0xc3, 0x4e, 0x90, 0xed, 0x4e, 0x90, 0xa7, 0x9d, 0x20, 0xf7, 0x7b, 0xd1, 0xda, 0xee, 0x45, - 0xeb, 0x71, 0x2f, 0x5a, 0xff, 0xbc, 0x04, 0xf5, 0x75, 0x15, 0x3a, 0x51, 0xb1, 0x74, 0x37, 0x98, - 0x84, 0x00, 0x93, 0x20, 0xcb, 0x30, 0xc8, 0x23, 0x70, 0x0f, 0xf3, 0x42, 0x3c, 0x89, 0x8a, 0xa5, - 0x6c, 0xe4, 0x49, 0x06, 0x71, 0x02, 0xca, 0xbd, 0x75, 0x0f, 0xff, 0x22, 0xec, 0x99, 0xd9, 0xbf, - 0x3e, 0x07, 0x00, 0x00, 0xff, 0xff, 0x4b, 0xb9, 0xe8, 0x3a, 0x2b, 0x02, 0x00, 0x00, +var fileDescriptor_e5f43c14e14d3cdf = []byte{ + // 378 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xbb, 0x6e, 0xdb, 0x30, + 0x18, 0x85, 0xcd, 0xfa, 0xce, 0x5e, 0x50, 0x10, 0x1e, 0x38, 0x11, 0x82, 0x87, 0x42, 0x8b, 0x65, + 0xa0, 0x7d, 0x02, 0xb7, 0x42, 0x81, 0xa2, 0x1d, 0x0c, 0xb9, 0xc9, 0x90, 0x21, 0x86, 0x2e, 0x7f, + 0x94, 0x3f, 0x96, 0x25, 0x82, 0xa2, 0x8c, 0xd8, 0x63, 0x9e, 0x20, 0x8f, 0x95, 0xd1, 0x63, 0xc6, + 0xc0, 0x7e, 0x91, 0x80, 0x52, 0xe2, 0x4b, 0x60, 0x64, 0x20, 0xc0, 0x73, 0xfe, 0x83, 0x6f, 0x39, + 0x87, 0x9e, 0xaf, 0x30, 0x0e, 0x00, 0xfc, 0x24, 0x41, 0x3f, 0x0d, 0x61, 0x18, 0x61, 0xae, 0x15, + 0x06, 0x85, 0x86, 0x28, 0xcc, 0xe6, 0xb2, 0x72, 0x13, 0x88, 0x62, 0x50, 0x43, 0x39, 0x43, 0xf3, + 0xa6, 0x0a, 0x16, 0x59, 0xe8, 0x6b, 0xcc, 0xd2, 0xe9, 0x2e, 0x6e, 0x84, 0xcc, 0x30, 0xd5, 0x8e, + 0x54, 0x99, 0xce, 0x98, 0x73, 0xcc, 0x75, 0xde, 0xe1, 0x3a, 0x72, 0x86, 0xfd, 0xbb, 0x3a, 0x15, + 0xe3, 0x19, 0x7a, 0x3b, 0xb4, 0x7b, 0x40, 0x1e, 0x1b, 0x30, 0xfb, 0x4a, 0xeb, 0x0b, 0x8c, 0x38, + 0xb1, 0x88, 0xdd, 0xf4, 0xcc, 0x97, 0xf5, 0x68, 0x33, 0xf1, 0x03, 0x48, 0xf8, 0x07, 0x8b, 0xd8, + 0x5d, 0xaf, 0x12, 0xcc, 0xa1, 0x0c, 0xf3, 0xbc, 0x00, 0x35, 0x29, 0x82, 0x1b, 0x08, 0xf5, 0x5f, + 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 0x02, 0x00, 0x00, } func (m *PkiRevocationDistributionPoint) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/pki_revocation_distribution_points_by_issuer_subject_key_id.pb.go b/x/pki/types/pki_revocation_distribution_points_by_issuer_subject_key_id.pb.go index a7f192370..af7deff1c 100644 --- a/x/pki/types/pki_revocation_distribution_points_by_issuer_subject_key_id.pb.go +++ b/x/pki/types/pki_revocation_distribution_points_by_issuer_subject_key_id.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/types/pki_revocation_distribution_points_by_issuer_subject_key_id.proto +// source: zigbeealliance/distributedcomplianceledger/pki/pki_revocation_distribution_points_by_issuer_subject_key_id.proto package types @@ -35,7 +35,7 @@ func (m *PkiRevocationDistributionPointsByIssuerSubjectKeyID) String() string { } func (*PkiRevocationDistributionPointsByIssuerSubjectKeyID) ProtoMessage() {} func (*PkiRevocationDistributionPointsByIssuerSubjectKeyID) Descriptor() ([]byte, []int) { - return fileDescriptor_2a11ed52a286946c, []int{0} + return fileDescriptor_0b1940ba04139c1b, []int{0} } func (m *PkiRevocationDistributionPointsByIssuerSubjectKeyID) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -79,32 +79,33 @@ func (m *PkiRevocationDistributionPointsByIssuerSubjectKeyID) GetPoints() []*Pki } func init() { - proto.RegisterType((*PkiRevocationDistributionPointsByIssuerSubjectKeyID)(nil), "pki.types.PkiRevocationDistributionPointsByIssuerSubjectKeyID") + proto.RegisterType((*PkiRevocationDistributionPointsByIssuerSubjectKeyID)(nil), "zigbeealliance.distributedcomplianceledger.pki.PkiRevocationDistributionPointsByIssuerSubjectKeyID") } func init() { - proto.RegisterFile("pki/types/pki_revocation_distribution_points_by_issuer_subject_key_id.proto", fileDescriptor_2a11ed52a286946c) + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/pki/pki_revocation_distribution_points_by_issuer_subject_key_id.proto", fileDescriptor_0b1940ba04139c1b) } -var fileDescriptor_2a11ed52a286946c = []byte{ - // 267 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x50, 0xbf, 0x4a, 0xfc, 0x30, - 0x1c, 0x6f, 0x7e, 0x3f, 0x38, 0xb8, 0xba, 0x75, 0x3a, 0x1c, 0xc2, 0xe1, 0x74, 0x0e, 0x4d, 0xd0, - 0x7b, 0x02, 0x8f, 0x2e, 0xc7, 0x2d, 0x47, 0xdd, 0x1c, 0x0c, 0x4d, 0xfb, 0xa5, 0x7e, 0x6d, 0xaf, - 0x09, 0x4d, 0x2a, 0xc6, 0xa7, 0xf0, 0x31, 0x7c, 0x14, 0xc7, 0x1b, 0x1d, 0xa5, 0x7d, 0x11, 0x21, - 0x95, 0x22, 0x28, 0x82, 0x63, 0xbe, 0xf9, 0xfc, 0x0f, 0x77, 0xba, 0x42, 0x6e, 0x9d, 0x06, 0xc3, - 0x75, 0x85, 0xa2, 0x85, 0x07, 0x95, 0x67, 0x16, 0x55, 0x23, 0x0a, 0x34, 0xb6, 0x45, 0xd9, 0xf9, - 0x87, 0x56, 0xd8, 0x58, 0x23, 0xa4, 0x13, 0x68, 0x4c, 0x07, 0xad, 0x30, 0x9d, 0xbc, 0x87, 0xdc, - 0x8a, 0x0a, 0x9c, 0xc0, 0x82, 0xe9, 0x56, 0x59, 0x15, 0xcd, 0x75, 0x85, 0xcc, 0x8b, 0x9d, 0x5e, - 0xfc, 0x41, 0x77, 0x64, 0x9f, 0xbd, 0x90, 0x70, 0xbd, 0xaf, 0x30, 0x9d, 0xa0, 0xc9, 0x17, 0xe4, - 0xde, 0x07, 0xd8, 0xb8, 0xad, 0xb7, 0xbf, 0x1e, 0xdd, 0x77, 0xe0, 0xb6, 0x49, 0xc4, 0xc2, 0x08, - 0xbf, 0x5d, 0x17, 0x64, 0x49, 0x56, 0xf3, 0xf4, 0x87, 0x9f, 0xe8, 0x2a, 0x9c, 0x8d, 0x75, 0x16, - 0xff, 0x96, 0xff, 0x57, 0x27, 0x97, 0xe7, 0x6c, 0x8a, 0xcd, 0x7e, 0xf7, 0x4f, 0x3f, 0x89, 0x9b, - 0xdb, 0xd7, 0x9e, 0x92, 0x63, 0x4f, 0xc9, 0x7b, 0x4f, 0xc9, 0xf3, 0x40, 0x83, 0xe3, 0x40, 0x83, - 0xb7, 0x81, 0x06, 0x37, 0x49, 0x89, 0xf6, 0xae, 0x93, 0x2c, 0x57, 0x07, 0xfe, 0x84, 0xa5, 0x04, - 0x88, 0xb3, 0xba, 0xc6, 0xac, 0xc9, 0x81, 0x4f, 0xcd, 0xa1, 0x88, 0x73, 0x75, 0xd0, 0xe3, 0x39, - 0xae, 0xa1, 0x28, 0xa1, 0xe5, 0x8f, 0x7c, 0x9a, 0x4c, 0xce, 0xfc, 0x22, 0xeb, 0x8f, 0x00, 0x00, - 0x00, 0xff, 0xff, 0xb1, 0x8f, 0x6f, 0x95, 0x9e, 0x01, 0x00, 0x00, +var fileDescriptor_0b1940ba04139c1b = []byte{ + // 278 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x2a, 0xa8, 0xca, 0x4c, 0x4f, + 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4f, 0xc9, 0x2c, 0x2e, 0x29, + 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, + 0xa7, 0x16, 0xe9, 0x17, 0x64, 0x67, 0x82, 0x70, 0x7c, 0x51, 0x6a, 0x59, 0x7e, 0x72, 0x62, 0x49, + 0x66, 0x7e, 0x5e, 0x3c, 0x5c, 0x39, 0x88, 0x53, 0x90, 0x9f, 0x99, 0x57, 0x52, 0x1c, 0x9f, 0x54, + 0x19, 0x9f, 0x59, 0x5c, 0x5c, 0x9a, 0x5a, 0x14, 0x5f, 0x5c, 0x9a, 0x94, 0x95, 0x9a, 0x5c, 0x12, + 0x9f, 0x9d, 0x5a, 0x19, 0x9f, 0x99, 0xa2, 0x57, 0x50, 0x94, 0x5f, 0x92, 0x2f, 0xa4, 0x87, 0x6a, + 0xa3, 0x1e, 0x1e, 0x1b, 0xf5, 0x0a, 0xb2, 0x33, 0xa5, 0xc2, 0xa8, 0xed, 0x42, 0x88, 0x3b, 0x94, + 0xce, 0x32, 0x72, 0x19, 0x07, 0x64, 0x67, 0x06, 0xc1, 0x95, 0xba, 0x20, 0xa9, 0x0c, 0x00, 0x7b, + 0xc5, 0xa9, 0xd2, 0x13, 0xec, 0x91, 0x60, 0x88, 0x3f, 0xbc, 0x53, 0x2b, 0x3d, 0x5d, 0x84, 0xf4, + 0xb8, 0x84, 0x32, 0x31, 0x44, 0x25, 0x18, 0x15, 0x18, 0x35, 0x38, 0x83, 0xb0, 0xc8, 0x08, 0xa5, + 0x71, 0xb1, 0x41, 0x02, 0x46, 0x82, 0x49, 0x81, 0x59, 0x83, 0xdb, 0xc8, 0x8f, 0xc4, 0x00, 0xd0, + 0xc3, 0xef, 0xc8, 0x20, 0xa8, 0xe9, 0x4e, 0x71, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, + 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, + 0xc7, 0x10, 0xe5, 0x92, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x0f, 0xb1, + 0x5b, 0x17, 0x5b, 0x68, 0xea, 0x22, 0x6c, 0xd7, 0x85, 0x86, 0x67, 0x05, 0x38, 0x44, 0x4b, 0x2a, + 0x0b, 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0xc1, 0x66, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x94, 0x1c, + 0xff, 0x07, 0x32, 0x02, 0x00, 0x00, } func (m *PkiRevocationDistributionPointsByIssuerSubjectKeyID) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/proposed_certificate.pb.go b/x/pki/types/proposed_certificate.pb.go index 45c0a6683..7bb6020d6 100644 --- a/x/pki/types/proposed_certificate.pb.go +++ b/x/pki/types/proposed_certificate.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/types/proposed_certificate.proto +// source: zigbeealliance/distributedcomplianceledger/pki/proposed_certificate.proto package types @@ -40,7 +40,7 @@ func (m *ProposedCertificate) Reset() { *m = ProposedCertificate{} } func (m *ProposedCertificate) String() string { return proto.CompactTextString(m) } func (*ProposedCertificate) ProtoMessage() {} func (*ProposedCertificate) Descriptor() ([]byte, []int) { - return fileDescriptor_e8b80ec00b512641, []int{0} + return fileDescriptor_d41c51041f3e0eb2, []int{0} } func (m *ProposedCertificate) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -133,41 +133,42 @@ func (m *ProposedCertificate) GetVid() int32 { } func init() { - proto.RegisterType((*ProposedCertificate)(nil), "pki.types.ProposedCertificate") + proto.RegisterType((*ProposedCertificate)(nil), "zigbeealliance.distributedcomplianceledger.pki.ProposedCertificate") } func init() { - proto.RegisterFile("pki/types/proposed_certificate.proto", fileDescriptor_e8b80ec00b512641) + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/pki/proposed_certificate.proto", fileDescriptor_d41c51041f3e0eb2) } -var fileDescriptor_e8b80ec00b512641 = []byte{ - // 415 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91, 0xcf, 0xaa, 0x13, 0x31, - 0x14, 0xc6, 0x3b, 0xb7, 0xf6, 0xd6, 0x89, 0x0a, 0x12, 0xaf, 0x10, 0xbb, 0x18, 0xcb, 0x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x22, 0xda, 0xed, 0x38, 0x39, 0xae, 0xd7, - 0x7b, 0xf6, 0x2f, 0x00, 0x00, 0xff, 0xff, 0xea, 0x25, 0x0d, 0x7e, 0x59, 0x02, 0x00, 0x00, +var fileDescriptor_d41c51041f3e0eb2 = []byte{ + // 429 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x52, 0x31, 0x8f, 0xd3, 0x30, + 0x18, 0x6d, 0x28, 0xbd, 0x52, 0x03, 0x8b, 0xb9, 0xc1, 0x74, 0x08, 0x55, 0xc5, 0xd0, 0x81, 0x24, + 0xc0, 0x29, 0x0c, 0x27, 0xdd, 0x70, 0x05, 0x09, 0x9d, 0x90, 0x00, 0xe5, 0x98, 0x18, 0x38, 0x39, + 0xf1, 0x87, 0x31, 0x97, 0xc4, 0x96, 0xed, 0x94, 0x3b, 0x7e, 0x05, 0x3f, 0x86, 0x9d, 0x95, 0xf1, + 0xc4, 0xc4, 0x84, 0x50, 0xfb, 0x0f, 0xf8, 0x05, 0x28, 0xb1, 0x4f, 0xa5, 0x12, 0x42, 0xaa, 0xd8, + 0xfc, 0xde, 0xf7, 0xbd, 0x97, 0x97, 0x4f, 0x0f, 0x1d, 0x7d, 0x14, 0x3c, 0x07, 0xa0, 0x65, 0x29, + 0x68, 0x5d, 0x40, 0xc2, 0x84, 0xb1, 0x5a, 0xe4, 0x8d, 0x05, 0x56, 0xc8, 0x4a, 0x39, 0xb6, 0x04, + 0xc6, 0x41, 0x27, 0xea, 0x54, 0x24, 0x4a, 0x4b, 0x25, 0x0d, 0xb0, 0x93, 0x02, 0xb4, 0x15, 0x6f, + 0x45, 0x41, 0x2d, 0xc4, 0x4a, 0x4b, 0x2b, 0x71, 0xbc, 0x69, 0x15, 0xff, 0xc3, 0x2a, 0x56, 0xa7, + 0x62, 0x7c, 0xbb, 0x90, 0xa6, 0x92, 0xe6, 0xa4, 0x53, 0x27, 0x0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+ 0x2f, 0x68, 0x29, 0x18, 0xb5, 0xb0, 0x3f, 0xe5, 0x16, 0x0e, 0x1e, 0xdc, 0x2b, 0x2d, 0x1c, 0x3c, + 0x4a, 0xd3, 0xbd, 0x74, 0x9a, 0xb5, 0xab, 0xf3, 0x37, 0x5f, 0x97, 0x61, 0x70, 0xb1, 0x0c, 0x83, + 0x9f, 0xcb, 0x30, 0xf8, 0xb4, 0x0a, 0x7b, 0x17, 0xab, 0xb0, 0xf7, 0x7d, 0x15, 0xf6, 0x5e, 0x3f, + 0xe1, 0xc2, 0xbe, 0x6b, 0xf2, 0xb8, 0x90, 0x55, 0xe2, 0x52, 0x45, 0x7f, 0xeb, 0x48, 0xb4, 0xce, + 0x15, 0xf9, 0x96, 0x9c, 0x75, 0x3d, 0xb1, 0xe7, 0x0a, 0x4c, 0xbe, 0xd3, 0x15, 0x65, 0xef, 0x77, + 0x00, 0x00, 0x00, 0xff, 0xff, 0x44, 0x0a, 0x74, 0x6e, 0x12, 0x03, 0x00, 0x00, } func (m *ProposedCertificate) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/proposed_certificate_revocation.pb.go b/x/pki/types/proposed_certificate_revocation.pb.go index d1c59516c..ff6b29e1c 100644 --- a/x/pki/types/proposed_certificate_revocation.pb.go +++ b/x/pki/types/proposed_certificate_revocation.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/types/proposed_certificate_revocation.proto +// source: zigbeealliance/distributedcomplianceledger/pki/proposed_certificate_revocation.proto package types @@ -33,7 +33,7 @@ func (m *ProposedCertificateRevocation) Reset() { *m = ProposedCertifica func (m *ProposedCertificateRevocation) String() string { return proto.CompactTextString(m) } func (*ProposedCertificateRevocation) ProtoMessage() {} func (*ProposedCertificateRevocation) Descriptor() ([]byte, []int) { - return fileDescriptor_e20d94df22edeaac, []int{0} + return fileDescriptor_36ac7b8e2a2435b6, []int{0} } func (m *ProposedCertificateRevocation) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -91,33 +91,34 @@ func (m *ProposedCertificateRevocation) GetSubjectAsText() string { } func init() { - proto.RegisterType((*ProposedCertificateRevocation)(nil), "pki.types.ProposedCertificateRevocation") + proto.RegisterType((*ProposedCertificateRevocation)(nil), "zigbeealliance.distributedcomplianceledger.pki.ProposedCertificateRevocation") } func init() { - proto.RegisterFile("pki/types/proposed_certificate_revocation.proto", fileDescriptor_e20d94df22edeaac) + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/pki/proposed_certificate_revocation.proto", fileDescriptor_36ac7b8e2a2435b6) } -var fileDescriptor_e20d94df22edeaac = []byte{ - // 283 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x90, 0xcf, 0x4a, 0xf3, 0x40, - 0x14, 0xc5, 0x3b, 0x5f, 0x3f, 0x94, 0x8e, 0x0a, 0x12, 0x10, 0x82, 0xe0, 0x50, 0x8a, 0x8b, 0x6e, - 0x32, 0x03, 0xfa, 0x04, 0xfe, 0x01, 0x11, 0x37, 0x12, 0x5c, 0xb9, 0xb0, 0x4c, 0x26, 0xd7, 0x38, - 0x36, 0xcd, 0x0c, 0x33, 0x37, 0xa5, 0xf5, 0x29, 0x7c, 0x17, 0x5f, 0xc2, 0x65, 0x97, 0x2e, 0x25, - 0x79, 0x11, 0x31, 0x8d, 0x0d, 0xdd, 0xcd, 0x9c, 0x7b, 0xce, 0x8f, 0xc3, 0xa1, 0xc2, 0x4e, 0xb5, - 0xc0, 0xa5, 0x05, 0x2f, 0xac, 0x33, 0xd6, 0x78, 0x48, 0x27, 0x0a, 0x1c, 0xea, 0x67, 0xad, 0x24, - 0xc2, 0xc4, 0xc1, 0xdc, 0x28, 0x89, 0xda, 0x14, 0xdc, 0x3a, 0x83, 0x26, 0x18, 0xd8, 0xa9, 0xe6, - 0x4d, 0xe0, 0xf8, 0xa8, 0xcb, 0x66, 0x4e, 0x16, 0xb8, 0x76, 0x8c, 0x3e, 0x08, 0x3d, 0xb9, 0x6f, - 0x59, 0x57, 0x1d, 0x2a, 0xde, 0x90, 0x82, 0x90, 0xee, 0xfa, 0x32, 0x79, 0x05, 0x85, 0x21, 0x19, - 0x92, 0xf1, 0x20, 0xfe, 0xfb, 0x06, 0x23, 0xba, 0xdf, 0x3e, 0xef, 0x60, 0x79, 0x9b, 0x86, 0xff, - 0x9a, 0xf3, 0x96, 0x16, 0x70, 0x3a, 0x90, 0xd6, 0x3a, 0x33, 0x97, 0xb9, 0x0f, 0xfb, 0xc3, 0xfe, - 0x78, 0xef, 0xec, 0x90, 0x6f, 0x5a, 0xf1, 0x9b, 0xdf, 0x2a, 0x71, 0x67, 0x09, 0x4e, 0xe9, 0x41, - 0x9b, 0xbf, 0xf0, 0x0f, 0xb0, 0xc0, 0xf0, 0x7f, 0x03, 0xdd, 0x16, 0x2f, 0x9f, 0x3e, 0x2b, 0x46, - 0x56, 0x15, 0x23, 0xdf, 0x15, 0x23, 0xef, 0x35, 0xeb, 0xad, 0x6a, 0xd6, 0xfb, 0xaa, 0x59, 0xef, - 0xf1, 0x3a, 0xd3, 0xf8, 0x52, 0x26, 0x5c, 0x99, 0x99, 0x78, 0xd3, 0x59, 0x02, 0x10, 0xc9, 0x3c, - 0xd7, 0xb2, 0x50, 0x20, 0x52, 0xed, 0xd1, 0xe9, 0xa4, 0x44, 0x48, 0x23, 0x65, 0x66, 0x76, 0x2d, - 0x47, 0x39, 0xa4, 0x19, 0x38, 0xb1, 0xe8, 0xd6, 0x4d, 0x76, 0x9a, 0x71, 0xce, 0x7f, 0x02, 0x00, - 0x00, 0xff, 0xff, 0xd5, 0xd1, 0xbe, 0x14, 0x71, 0x01, 0x00, 0x00, +var fileDescriptor_36ac7b8e2a2435b6 = []byte{ + // 294 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x90, 0x4f, 0x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0x9c, 0xa5, 0xc6, 0xeb, 0x0d, 0x7a, 0xa3, 0xbd, 0x93, 0xb3, 0x0d, 0xff, + 0x47, 0x6f, 0xbe, 0x79, 0xc3, 0xb6, 0xc7, 0x3d, 0xc6, 0x07, 0xcd, 0xc8, 0x85, 0x19, 0xc3, 0xc2, + 0x7a, 0xdb, 0xd5, 0x72, 0x37, 0xbc, 0x7c, 0xfa, 0x28, 0x08, 0x5a, 0x15, 0x04, 0x7d, 0x16, 0x04, + 0xbd, 0x97, 0xc4, 0x59, 0x95, 0xc4, 0x59, 0x97, 0xc4, 0x79, 0xbc, 0x4e, 0x84, 0x7d, 0xc9, 0x23, + 0xca, 0xe5, 0x2c, 0xa8, 0x59, 0xfc, 0xbf, 0xe4, 0xf9, 0x2d, 0x8d, 0xdf, 0xe8, 0x5b, 0x54, 0x02, + 0xed, 0x52, 0x81, 0x89, 0x76, 0x2a, 0x83, 0xa7, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xf2, 0x6d, + 0x79, 0xf9, 0x05, 0x02, 0x00, 0x00, } func (m *ProposedCertificateRevocation) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/query.pb.go b/x/pki/types/query.pb.go index 4104b08d1..003b9f675 100644 --- a/x/pki/types/query.pb.go +++ b/x/pki/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/types/query.proto +// source: zigbeealliance/distributedcomplianceledger/pki/query.proto package types @@ -40,7 +40,7 @@ func (m *QueryGetApprovedCertificatesRequest) Reset() { *m = QueryGetApp func (m *QueryGetApprovedCertificatesRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetApprovedCertificatesRequest) ProtoMessage() {} func (*QueryGetApprovedCertificatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{0} + return fileDescriptor_db6ffa8ae459ba1c, []int{0} } func (m *QueryGetApprovedCertificatesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -91,7 +91,7 @@ func (m *QueryGetApprovedCertificatesResponse) Reset() { *m = QueryGetAp func (m *QueryGetApprovedCertificatesResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetApprovedCertificatesResponse) ProtoMessage() {} func (*QueryGetApprovedCertificatesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{1} + return fileDescriptor_db6ffa8ae459ba1c, []int{1} } func (m *QueryGetApprovedCertificatesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -136,7 +136,7 @@ func (m *QueryAllApprovedCertificatesRequest) Reset() { *m = QueryAllApp func (m *QueryAllApprovedCertificatesRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllApprovedCertificatesRequest) ProtoMessage() {} func (*QueryAllApprovedCertificatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{2} + return fileDescriptor_db6ffa8ae459ba1c, []int{2} } func (m *QueryAllApprovedCertificatesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -188,7 +188,7 @@ func (m *QueryAllApprovedCertificatesResponse) Reset() { *m = QueryAllAp func (m *QueryAllApprovedCertificatesResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllApprovedCertificatesResponse) ProtoMessage() {} func (*QueryAllApprovedCertificatesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{3} + return fileDescriptor_db6ffa8ae459ba1c, []int{3} } func (m *QueryAllApprovedCertificatesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -240,7 +240,7 @@ func (m *QueryGetProposedCertificateRequest) Reset() { *m = QueryGetProp func (m *QueryGetProposedCertificateRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetProposedCertificateRequest) ProtoMessage() {} func (*QueryGetProposedCertificateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{4} + return fileDescriptor_db6ffa8ae459ba1c, []int{4} } func (m *QueryGetProposedCertificateRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -291,7 +291,7 @@ func (m *QueryGetProposedCertificateResponse) Reset() { *m = QueryGetPro func (m *QueryGetProposedCertificateResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetProposedCertificateResponse) ProtoMessage() {} func (*QueryGetProposedCertificateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{5} + return fileDescriptor_db6ffa8ae459ba1c, []int{5} } func (m *QueryGetProposedCertificateResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -335,7 +335,7 @@ func (m *QueryAllProposedCertificateRequest) Reset() { *m = QueryAllProp func (m *QueryAllProposedCertificateRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllProposedCertificateRequest) ProtoMessage() {} func (*QueryAllProposedCertificateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{6} + return fileDescriptor_db6ffa8ae459ba1c, []int{6} } func (m *QueryAllProposedCertificateRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -380,7 +380,7 @@ func (m *QueryAllProposedCertificateResponse) Reset() { *m = QueryAllPro func (m *QueryAllProposedCertificateResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllProposedCertificateResponse) ProtoMessage() {} func (*QueryAllProposedCertificateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{7} + return fileDescriptor_db6ffa8ae459ba1c, []int{7} } func (m *QueryAllProposedCertificateResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -432,7 +432,7 @@ func (m *QueryGetChildCertificatesRequest) Reset() { *m = QueryGetChildC func (m *QueryGetChildCertificatesRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetChildCertificatesRequest) ProtoMessage() {} func (*QueryGetChildCertificatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{8} + return fileDescriptor_db6ffa8ae459ba1c, []int{8} } func (m *QueryGetChildCertificatesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -483,7 +483,7 @@ func (m *QueryGetChildCertificatesResponse) Reset() { *m = QueryGetChild func (m *QueryGetChildCertificatesResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetChildCertificatesResponse) ProtoMessage() {} func (*QueryGetChildCertificatesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{9} + return fileDescriptor_db6ffa8ae459ba1c, []int{9} } func (m *QueryGetChildCertificatesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -532,7 +532,7 @@ func (m *QueryGetProposedCertificateRevocationRequest) String() string { } func (*QueryGetProposedCertificateRevocationRequest) ProtoMessage() {} func (*QueryGetProposedCertificateRevocationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{10} + return fileDescriptor_db6ffa8ae459ba1c, []int{10} } func (m *QueryGetProposedCertificateRevocationRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -587,7 +587,7 @@ func (m *QueryGetProposedCertificateRevocationResponse) String() string { } func (*QueryGetProposedCertificateRevocationResponse) ProtoMessage() {} func (*QueryGetProposedCertificateRevocationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{11} + return fileDescriptor_db6ffa8ae459ba1c, []int{11} } func (m *QueryGetProposedCertificateRevocationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -635,7 +635,7 @@ func (m *QueryAllProposedCertificateRevocationRequest) String() string { } func (*QueryAllProposedCertificateRevocationRequest) ProtoMessage() {} func (*QueryAllProposedCertificateRevocationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{12} + return fileDescriptor_db6ffa8ae459ba1c, []int{12} } func (m *QueryAllProposedCertificateRevocationRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -684,7 +684,7 @@ func (m *QueryAllProposedCertificateRevocationResponse) String() string { } func (*QueryAllProposedCertificateRevocationResponse) ProtoMessage() {} func (*QueryAllProposedCertificateRevocationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{13} + return fileDescriptor_db6ffa8ae459ba1c, []int{13} } func (m *QueryAllProposedCertificateRevocationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -736,7 +736,7 @@ func (m *QueryGetRevokedCertificatesRequest) Reset() { *m = QueryGetRevo func (m *QueryGetRevokedCertificatesRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetRevokedCertificatesRequest) ProtoMessage() {} func (*QueryGetRevokedCertificatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{14} + return fileDescriptor_db6ffa8ae459ba1c, []int{14} } func (m *QueryGetRevokedCertificatesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -787,7 +787,7 @@ func (m *QueryGetRevokedCertificatesResponse) Reset() { *m = QueryGetRev func (m *QueryGetRevokedCertificatesResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetRevokedCertificatesResponse) ProtoMessage() {} func (*QueryGetRevokedCertificatesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{15} + return fileDescriptor_db6ffa8ae459ba1c, []int{15} } func (m *QueryGetRevokedCertificatesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -831,7 +831,7 @@ func (m *QueryAllRevokedCertificatesRequest) Reset() { *m = QueryAllRevo func (m *QueryAllRevokedCertificatesRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllRevokedCertificatesRequest) ProtoMessage() {} func (*QueryAllRevokedCertificatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{16} + return fileDescriptor_db6ffa8ae459ba1c, []int{16} } func (m *QueryAllRevokedCertificatesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -876,7 +876,7 @@ func (m *QueryAllRevokedCertificatesResponse) Reset() { *m = QueryAllRev func (m *QueryAllRevokedCertificatesResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllRevokedCertificatesResponse) ProtoMessage() {} func (*QueryAllRevokedCertificatesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{17} + return fileDescriptor_db6ffa8ae459ba1c, []int{17} } func (m *QueryAllRevokedCertificatesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -928,7 +928,7 @@ func (m *QueryGetApprovedRootCertificatesRequest) Reset() { func (m *QueryGetApprovedRootCertificatesRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetApprovedRootCertificatesRequest) ProtoMessage() {} func (*QueryGetApprovedRootCertificatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{18} + return fileDescriptor_db6ffa8ae459ba1c, []int{18} } func (m *QueryGetApprovedRootCertificatesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -967,7 +967,7 @@ func (m *QueryGetApprovedRootCertificatesResponse) Reset() { func (m *QueryGetApprovedRootCertificatesResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetApprovedRootCertificatesResponse) ProtoMessage() {} func (*QueryGetApprovedRootCertificatesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{19} + return fileDescriptor_db6ffa8ae459ba1c, []int{19} } func (m *QueryGetApprovedRootCertificatesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1012,7 +1012,7 @@ func (m *QueryGetRevokedRootCertificatesRequest) Reset() { func (m *QueryGetRevokedRootCertificatesRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetRevokedRootCertificatesRequest) ProtoMessage() {} func (*QueryGetRevokedRootCertificatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{20} + return fileDescriptor_db6ffa8ae459ba1c, []int{20} } func (m *QueryGetRevokedRootCertificatesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1051,7 +1051,7 @@ func (m *QueryGetRevokedRootCertificatesResponse) Reset() { func (m *QueryGetRevokedRootCertificatesResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetRevokedRootCertificatesResponse) ProtoMessage() {} func (*QueryGetRevokedRootCertificatesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{21} + return fileDescriptor_db6ffa8ae459ba1c, []int{21} } func (m *QueryGetRevokedRootCertificatesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1099,7 +1099,7 @@ func (m *QueryGetApprovedCertificatesBySubjectRequest) String() string { } func (*QueryGetApprovedCertificatesBySubjectRequest) ProtoMessage() {} func (*QueryGetApprovedCertificatesBySubjectRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{22} + return fileDescriptor_db6ffa8ae459ba1c, []int{22} } func (m *QueryGetApprovedCertificatesBySubjectRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1147,7 +1147,7 @@ func (m *QueryGetApprovedCertificatesBySubjectResponse) String() string { } func (*QueryGetApprovedCertificatesBySubjectResponse) ProtoMessage() {} func (*QueryGetApprovedCertificatesBySubjectResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{23} + return fileDescriptor_db6ffa8ae459ba1c, []int{23} } func (m *QueryGetApprovedCertificatesBySubjectResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1192,7 +1192,7 @@ func (m *QueryGetRejectedCertificatesRequest) Reset() { *m = QueryGetRej func (m *QueryGetRejectedCertificatesRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetRejectedCertificatesRequest) ProtoMessage() {} func (*QueryGetRejectedCertificatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{24} + return fileDescriptor_db6ffa8ae459ba1c, []int{24} } func (m *QueryGetRejectedCertificatesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1243,7 +1243,7 @@ func (m *QueryGetRejectedCertificatesResponse) Reset() { *m = QueryGetRe func (m *QueryGetRejectedCertificatesResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetRejectedCertificatesResponse) ProtoMessage() {} func (*QueryGetRejectedCertificatesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{25} + return fileDescriptor_db6ffa8ae459ba1c, []int{25} } func (m *QueryGetRejectedCertificatesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1287,7 +1287,7 @@ func (m *QueryAllRejectedCertificatesRequest) Reset() { *m = QueryAllRej func (m *QueryAllRejectedCertificatesRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllRejectedCertificatesRequest) ProtoMessage() {} func (*QueryAllRejectedCertificatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{26} + return fileDescriptor_db6ffa8ae459ba1c, []int{26} } func (m *QueryAllRejectedCertificatesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1332,7 +1332,7 @@ func (m *QueryAllRejectedCertificatesResponse) Reset() { *m = QueryAllRe func (m *QueryAllRejectedCertificatesResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllRejectedCertificatesResponse) ProtoMessage() {} func (*QueryAllRejectedCertificatesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{27} + return fileDescriptor_db6ffa8ae459ba1c, []int{27} } func (m *QueryAllRejectedCertificatesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1389,7 +1389,7 @@ func (m *QueryGetPkiRevocationDistributionPointRequest) String() string { } func (*QueryGetPkiRevocationDistributionPointRequest) ProtoMessage() {} func (*QueryGetPkiRevocationDistributionPointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{28} + return fileDescriptor_db6ffa8ae459ba1c, []int{28} } func (m *QueryGetPkiRevocationDistributionPointRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1451,7 +1451,7 @@ func (m *QueryGetPkiRevocationDistributionPointResponse) String() string { } func (*QueryGetPkiRevocationDistributionPointResponse) ProtoMessage() {} func (*QueryGetPkiRevocationDistributionPointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{29} + return fileDescriptor_db6ffa8ae459ba1c, []int{29} } func (m *QueryGetPkiRevocationDistributionPointResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1499,7 +1499,7 @@ func (m *QueryAllPkiRevocationDistributionPointRequest) String() string { } func (*QueryAllPkiRevocationDistributionPointRequest) ProtoMessage() {} func (*QueryAllPkiRevocationDistributionPointRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{30} + return fileDescriptor_db6ffa8ae459ba1c, []int{30} } func (m *QueryAllPkiRevocationDistributionPointRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1548,7 +1548,7 @@ func (m *QueryAllPkiRevocationDistributionPointResponse) String() string { } func (*QueryAllPkiRevocationDistributionPointResponse) ProtoMessage() {} func (*QueryAllPkiRevocationDistributionPointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{31} + return fileDescriptor_db6ffa8ae459ba1c, []int{31} } func (m *QueryAllPkiRevocationDistributionPointResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1603,7 +1603,7 @@ func (m *QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDRequest) Str } func (*QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDRequest) ProtoMessage() {} func (*QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{32} + return fileDescriptor_db6ffa8ae459ba1c, []int{32} } func (m *QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1651,7 +1651,7 @@ func (m *QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDResponse) St } func (*QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDResponse) ProtoMessage() {} func (*QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_8c5b539172f0c209, []int{33} + return fileDescriptor_db6ffa8ae459ba1c, []int{33} } func (m *QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1688,146 +1688,152 @@ func (m *QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDResponse) Ge } func init() { - proto.RegisterType((*QueryGetApprovedCertificatesRequest)(nil), "pki.types.QueryGetApprovedCertificatesRequest") - proto.RegisterType((*QueryGetApprovedCertificatesResponse)(nil), "pki.types.QueryGetApprovedCertificatesResponse") - proto.RegisterType((*QueryAllApprovedCertificatesRequest)(nil), "pki.types.QueryAllApprovedCertificatesRequest") - proto.RegisterType((*QueryAllApprovedCertificatesResponse)(nil), "pki.types.QueryAllApprovedCertificatesResponse") - proto.RegisterType((*QueryGetProposedCertificateRequest)(nil), "pki.types.QueryGetProposedCertificateRequest") - proto.RegisterType((*QueryGetProposedCertificateResponse)(nil), "pki.types.QueryGetProposedCertificateResponse") - proto.RegisterType((*QueryAllProposedCertificateRequest)(nil), "pki.types.QueryAllProposedCertificateRequest") - proto.RegisterType((*QueryAllProposedCertificateResponse)(nil), "pki.types.QueryAllProposedCertificateResponse") - proto.RegisterType((*QueryGetChildCertificatesRequest)(nil), "pki.types.QueryGetChildCertificatesRequest") - proto.RegisterType((*QueryGetChildCertificatesResponse)(nil), "pki.types.QueryGetChildCertificatesResponse") - proto.RegisterType((*QueryGetProposedCertificateRevocationRequest)(nil), "pki.types.QueryGetProposedCertificateRevocationRequest") - proto.RegisterType((*QueryGetProposedCertificateRevocationResponse)(nil), "pki.types.QueryGetProposedCertificateRevocationResponse") - proto.RegisterType((*QueryAllProposedCertificateRevocationRequest)(nil), "pki.types.QueryAllProposedCertificateRevocationRequest") - proto.RegisterType((*QueryAllProposedCertificateRevocationResponse)(nil), "pki.types.QueryAllProposedCertificateRevocationResponse") - proto.RegisterType((*QueryGetRevokedCertificatesRequest)(nil), "pki.types.QueryGetRevokedCertificatesRequest") - proto.RegisterType((*QueryGetRevokedCertificatesResponse)(nil), "pki.types.QueryGetRevokedCertificatesResponse") - proto.RegisterType((*QueryAllRevokedCertificatesRequest)(nil), "pki.types.QueryAllRevokedCertificatesRequest") - proto.RegisterType((*QueryAllRevokedCertificatesResponse)(nil), "pki.types.QueryAllRevokedCertificatesResponse") - proto.RegisterType((*QueryGetApprovedRootCertificatesRequest)(nil), "pki.types.QueryGetApprovedRootCertificatesRequest") - proto.RegisterType((*QueryGetApprovedRootCertificatesResponse)(nil), "pki.types.QueryGetApprovedRootCertificatesResponse") - proto.RegisterType((*QueryGetRevokedRootCertificatesRequest)(nil), "pki.types.QueryGetRevokedRootCertificatesRequest") - proto.RegisterType((*QueryGetRevokedRootCertificatesResponse)(nil), "pki.types.QueryGetRevokedRootCertificatesResponse") - proto.RegisterType((*QueryGetApprovedCertificatesBySubjectRequest)(nil), "pki.types.QueryGetApprovedCertificatesBySubjectRequest") - proto.RegisterType((*QueryGetApprovedCertificatesBySubjectResponse)(nil), "pki.types.QueryGetApprovedCertificatesBySubjectResponse") - proto.RegisterType((*QueryGetRejectedCertificatesRequest)(nil), "pki.types.QueryGetRejectedCertificatesRequest") - proto.RegisterType((*QueryGetRejectedCertificatesResponse)(nil), "pki.types.QueryGetRejectedCertificatesResponse") - proto.RegisterType((*QueryAllRejectedCertificatesRequest)(nil), "pki.types.QueryAllRejectedCertificatesRequest") - proto.RegisterType((*QueryAllRejectedCertificatesResponse)(nil), "pki.types.QueryAllRejectedCertificatesResponse") - proto.RegisterType((*QueryGetPkiRevocationDistributionPointRequest)(nil), "pki.types.QueryGetPkiRevocationDistributionPointRequest") - proto.RegisterType((*QueryGetPkiRevocationDistributionPointResponse)(nil), "pki.types.QueryGetPkiRevocationDistributionPointResponse") - proto.RegisterType((*QueryAllPkiRevocationDistributionPointRequest)(nil), "pki.types.QueryAllPkiRevocationDistributionPointRequest") - proto.RegisterType((*QueryAllPkiRevocationDistributionPointResponse)(nil), "pki.types.QueryAllPkiRevocationDistributionPointResponse") - proto.RegisterType((*QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDRequest)(nil), "pki.types.QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDRequest") - proto.RegisterType((*QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDResponse)(nil), "pki.types.QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDResponse") -} - -func init() { proto.RegisterFile("pki/types/query.proto", fileDescriptor_8c5b539172f0c209) } - -var fileDescriptor_8c5b539172f0c209 = []byte{ - // 1599 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x5a, 0xcf, 0x6f, 0x1b, 0x45, - 0x14, 0xce, 0xc4, 0xb4, 0xa8, 0x03, 0x42, 0x74, 0x9a, 0x36, 0xa9, 0xd5, 0x38, 0xe9, 0xb4, 0x4d, - 0x93, 0xb6, 0xd9, 0x6d, 0x12, 0xd1, 0xb4, 0x87, 0xb6, 0x4a, 0x1a, 0x28, 0xa5, 0x02, 0x05, 0x57, - 0x42, 0x82, 0x03, 0xd6, 0xda, 0x1e, 0xdc, 0xc5, 0x1b, 0xcf, 0x76, 0x77, 0xed, 0x62, 0x22, 0x23, - 0xc1, 0x01, 0x4e, 0x95, 0x40, 0x9c, 0xb8, 0x80, 0x38, 0x20, 0x84, 0x04, 0xe2, 0xc2, 0x8f, 0x03, - 0x9c, 0xa1, 0xe2, 0x54, 0x89, 0x0b, 0x07, 0x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ce, 0x84, 0x5a, 0x29, 0xee, 0x70, 0x56, 0x92, 0x02, - 0x77, 0x90, 0x95, 0xbc, 0x32, 0xe6, 0x9f, 0x90, 0x9f, 0x74, 0xc3, 0xd9, 0xf9, 0x29, 0xe4, 0xce, - 0xcf, 0x23, 0xa9, 0xb9, 0xe5, 0xe0, 0xc4, 0x93, 0xff, 0xe6, 0x2d, 0xd4, 0x5c, 0xa9, 0x8d, 0xa8, - 0x0a, 0x39, 0xf1, 0x61, 0x49, 0xcd, 0x95, 0x28, 0x09, 0xab, 0x90, 0x44, 0x81, 0x58, 0x73, 0x15, - 0x2e, 0x3e, 0x8a, 0x9a, 0x3b, 0x92, 0xb7, 0x85, 0x5d, 0x79, 0x9b, 0x5f, 0x64, 0x2c, 0xc0, 0x93, - 0x83, 0x27, 0xae, 0x32, 0xa5, 0x9e, 0x84, 0x3b, 0xff, 0x64, 0x34, 0x9f, 0x2e, 0xcb, 0x1d, 0x27, - 0x70, 0xca, 0x48, 0x90, 0xe1, 0xb4, 0x1f, 0x93, 0x9c, 0x46, 0x06, 0x45, 0x39, 0x05, 0x89, 0xaa, - 0xf0, 0x3c, 0x9c, 0x1b, 0x08, 0xba, 0x24, 0xf4, 0x77, 0x40, 0xe4, 0x69, 0xa2, 0x28, 0x07, 0x5f, - 0x85, 0x93, 0x8e, 0x5c, 0x84, 0x63, 0xc7, 0xf1, 0x95, 0x4b, 0x80, 0x9e, 0xa4, 0x08, 0x3f, 0x1f, - 0xed, 0x08, 0xd2, 0xb3, 0x58, 0xf7, 0x46, 0x90, 0x5c, 0xa9, 0xc9, 0xd9, 0x57, 0xed, 0x53, 0x54, - 0x45, 0xd5, 0xcc, 0x50, 0x09, 0x4a, 0xaa, 0xbd, 0x52, 0x71, 0x58, 0xcd, 0x94, 0x4a, 0xc5, 0x16, - 0xa2, 0xcc, 0x3b, 0xa3, 0xfc, 0xab, 0xd0, 0x3b, 0x51, 0x07, 0x21, 0x37, 0x22, 0x26, 0x66, 0x6c, - 0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 0xb7, 0xf4, 0xb7, 0xcd, 0x46, 0x95, 0x90, 0x45, - 0xc3, 0xb2, 0x4c, 0xa3, 0x55, 0x23, 0xfa, 0xce, 0xcf, 0xf3, 0x7e, 0xf0, 0xd3, 0x2d, 0x3b, 0xf8, - 0xbc, 0x68, 0x91, 0x7a, 0x83, 0x38, 0xfa, 0x5b, 0xd1, 0x1f, 0x22, 0xaa, 0x7b, 0xd9, 0x6f, 0xed, - 0x2b, 0xff, 0x07, 0x00, 0x00, 0xff, 0xff, 0x2f, 0x91, 0x92, 0xcc, 0x01, 0x22, 0x00, 0x00, + proto.RegisterType((*QueryGetApprovedCertificatesRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetApprovedCertificatesRequest") + proto.RegisterType((*QueryGetApprovedCertificatesResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetApprovedCertificatesResponse") + proto.RegisterType((*QueryAllApprovedCertificatesRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryAllApprovedCertificatesRequest") + proto.RegisterType((*QueryAllApprovedCertificatesResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryAllApprovedCertificatesResponse") + proto.RegisterType((*QueryGetProposedCertificateRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetProposedCertificateRequest") + proto.RegisterType((*QueryGetProposedCertificateResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetProposedCertificateResponse") + proto.RegisterType((*QueryAllProposedCertificateRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryAllProposedCertificateRequest") + proto.RegisterType((*QueryAllProposedCertificateResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryAllProposedCertificateResponse") + proto.RegisterType((*QueryGetChildCertificatesRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetChildCertificatesRequest") + proto.RegisterType((*QueryGetChildCertificatesResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetChildCertificatesResponse") + proto.RegisterType((*QueryGetProposedCertificateRevocationRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetProposedCertificateRevocationRequest") + proto.RegisterType((*QueryGetProposedCertificateRevocationResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetProposedCertificateRevocationResponse") + proto.RegisterType((*QueryAllProposedCertificateRevocationRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryAllProposedCertificateRevocationRequest") + proto.RegisterType((*QueryAllProposedCertificateRevocationResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryAllProposedCertificateRevocationResponse") + proto.RegisterType((*QueryGetRevokedCertificatesRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetRevokedCertificatesRequest") + proto.RegisterType((*QueryGetRevokedCertificatesResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetRevokedCertificatesResponse") + proto.RegisterType((*QueryAllRevokedCertificatesRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryAllRevokedCertificatesRequest") + proto.RegisterType((*QueryAllRevokedCertificatesResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryAllRevokedCertificatesResponse") + proto.RegisterType((*QueryGetApprovedRootCertificatesRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetApprovedRootCertificatesRequest") + proto.RegisterType((*QueryGetApprovedRootCertificatesResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetApprovedRootCertificatesResponse") + proto.RegisterType((*QueryGetRevokedRootCertificatesRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetRevokedRootCertificatesRequest") + proto.RegisterType((*QueryGetRevokedRootCertificatesResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetRevokedRootCertificatesResponse") + proto.RegisterType((*QueryGetApprovedCertificatesBySubjectRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetApprovedCertificatesBySubjectRequest") + proto.RegisterType((*QueryGetApprovedCertificatesBySubjectResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetApprovedCertificatesBySubjectResponse") + proto.RegisterType((*QueryGetRejectedCertificatesRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetRejectedCertificatesRequest") + proto.RegisterType((*QueryGetRejectedCertificatesResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetRejectedCertificatesResponse") + proto.RegisterType((*QueryAllRejectedCertificatesRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryAllRejectedCertificatesRequest") + proto.RegisterType((*QueryAllRejectedCertificatesResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryAllRejectedCertificatesResponse") + proto.RegisterType((*QueryGetPkiRevocationDistributionPointRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetPkiRevocationDistributionPointRequest") + proto.RegisterType((*QueryGetPkiRevocationDistributionPointResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetPkiRevocationDistributionPointResponse") + proto.RegisterType((*QueryAllPkiRevocationDistributionPointRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryAllPkiRevocationDistributionPointRequest") + proto.RegisterType((*QueryAllPkiRevocationDistributionPointResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryAllPkiRevocationDistributionPointResponse") + proto.RegisterType((*QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDRequest)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDRequest") + proto.RegisterType((*QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDResponse") +} + +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/pki/query.proto", fileDescriptor_db6ffa8ae459ba1c) +} + +var fileDescriptor_db6ffa8ae459ba1c = []byte{ + // 1656 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x9a, 0xcf, 0x6f, 0xdc, 0xc4, + 0x17, 0xc0, 0x33, 0xbb, 0xdf, 0xf6, 0x2b, 0x06, 0x84, 0xe8, 0x34, 0x34, 0x61, 0xd5, 0x6c, 0xd3, + 0xa1, 0xa4, 0x3f, 0x20, 0x6b, 0xd2, 0x8a, 0x16, 0x90, 0x4a, 0x95, 0x1f, 0x90, 0xb6, 0x88, 0x92, + 0x6e, 0x4a, 0x8b, 0x50, 0xe9, 0xca, 0xbb, 0x6b, 0xb6, 0x26, 0xce, 0xda, 0xb5, 0xbd, 0x81, 0x25, + 0x0a, 0x12, 0x48, 0x50, 0x89, 0x13, 0xbf, 0x0e, 0x80, 0x38, 0x51, 0xa9, 0xe2, 0xce, 0x81, 0x7f, + 0xa1, 0x12, 0x07, 0x2a, 0x71, 0x00, 0x09, 0x09, 0xa1, 0x86, 0x03, 0xa8, 0x48, 0xc0, 0x05, 0xc4, + 0x05, 0xd0, 0x8e, 0x9f, 0x63, 0xef, 0x7a, 0x3c, 0x6b, 0x3b, 0xb3, 0xed, 0xcd, 0xde, 0x19, 0xbf, + 0x37, 0xef, 0xf3, 0xde, 0xbc, 0x79, 0x7e, 0x6b, 0xfc, 0xf8, 0x6b, 0x7a, 0xa3, 0xaa, 0x69, 0xaa, + 0x61, 0xe8, 0x6a, 0xb3, 0xa6, 0x29, 0x75, 0xdd, 0x71, 0x6d, 0xbd, 0xda, 0x72, 0xb5, 0x7a, 0xcd, + 0x5c, 0xb6, 0xbc, 0x5f, 0x0d, 0xad, 0xde, 0xd0, 0x6c, 0xc5, 0x5a, 0xd2, 0x95, 0x4b, 0x2d, 0xcd, + 0x6e, 0x97, 0x2c, 0xdb, 0x74, 0x4d, 0x52, 0xea, 0x7e, 0xb6, 0x24, 0x78, 0xb6, 0x64, 0x2d, 0xe9, + 0x85, 0x9d, 0x0d, 0x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0xed, 0xd0, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, + 0x2f, 0xfc, 0x7c, 0x09, 0x4c, 0x2b, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1888,7 +1894,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) ApprovedCertificates(ctx context.Context, in *QueryGetApprovedCertificatesRequest, opts ...grpc.CallOption) (*QueryGetApprovedCertificatesResponse, error) { out := new(QueryGetApprovedCertificatesResponse) - err := c.cc.Invoke(ctx, "/pki.types.Query/ApprovedCertificates", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/ApprovedCertificates", in, out, opts...) if err != nil { return nil, err } @@ -1897,7 +1903,7 @@ func (c *queryClient) ApprovedCertificates(ctx context.Context, in *QueryGetAppr func (c *queryClient) ApprovedCertificatesAll(ctx context.Context, in *QueryAllApprovedCertificatesRequest, opts ...grpc.CallOption) (*QueryAllApprovedCertificatesResponse, error) { out := new(QueryAllApprovedCertificatesResponse) - err := c.cc.Invoke(ctx, "/pki.types.Query/ApprovedCertificatesAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/ApprovedCertificatesAll", in, out, opts...) if err != nil { return nil, err } @@ -1906,7 +1912,7 @@ func (c *queryClient) ApprovedCertificatesAll(ctx context.Context, in *QueryAllA func (c *queryClient) ProposedCertificate(ctx context.Context, in *QueryGetProposedCertificateRequest, opts ...grpc.CallOption) (*QueryGetProposedCertificateResponse, error) { out := new(QueryGetProposedCertificateResponse) - err := c.cc.Invoke(ctx, "/pki.types.Query/ProposedCertificate", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/ProposedCertificate", in, out, opts...) if err != nil { return nil, err } @@ -1915,7 +1921,7 @@ func (c *queryClient) ProposedCertificate(ctx context.Context, in *QueryGetPropo func (c *queryClient) ProposedCertificateAll(ctx context.Context, in *QueryAllProposedCertificateRequest, opts ...grpc.CallOption) (*QueryAllProposedCertificateResponse, error) { out := new(QueryAllProposedCertificateResponse) - err := c.cc.Invoke(ctx, "/pki.types.Query/ProposedCertificateAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/ProposedCertificateAll", in, out, opts...) if err != nil { return nil, err } @@ -1924,7 +1930,7 @@ func (c *queryClient) ProposedCertificateAll(ctx context.Context, in *QueryAllPr func (c *queryClient) ChildCertificates(ctx context.Context, in *QueryGetChildCertificatesRequest, opts ...grpc.CallOption) (*QueryGetChildCertificatesResponse, error) { out := new(QueryGetChildCertificatesResponse) - err := c.cc.Invoke(ctx, "/pki.types.Query/ChildCertificates", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/ChildCertificates", in, out, opts...) if err != nil { return nil, err } @@ -1933,7 +1939,7 @@ func (c *queryClient) ChildCertificates(ctx context.Context, in *QueryGetChildCe func (c *queryClient) ProposedCertificateRevocation(ctx context.Context, in *QueryGetProposedCertificateRevocationRequest, opts ...grpc.CallOption) (*QueryGetProposedCertificateRevocationResponse, error) { out := new(QueryGetProposedCertificateRevocationResponse) - err := c.cc.Invoke(ctx, "/pki.types.Query/ProposedCertificateRevocation", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/ProposedCertificateRevocation", in, out, opts...) if err != nil { return nil, err } @@ -1942,7 +1948,7 @@ func (c *queryClient) ProposedCertificateRevocation(ctx context.Context, in *Que func (c *queryClient) ProposedCertificateRevocationAll(ctx context.Context, in *QueryAllProposedCertificateRevocationRequest, opts ...grpc.CallOption) (*QueryAllProposedCertificateRevocationResponse, error) { out := new(QueryAllProposedCertificateRevocationResponse) - err := c.cc.Invoke(ctx, "/pki.types.Query/ProposedCertificateRevocationAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/ProposedCertificateRevocationAll", in, out, opts...) if err != nil { return nil, err } @@ -1951,7 +1957,7 @@ func (c *queryClient) ProposedCertificateRevocationAll(ctx context.Context, in * func (c *queryClient) RevokedCertificates(ctx context.Context, in *QueryGetRevokedCertificatesRequest, opts ...grpc.CallOption) (*QueryGetRevokedCertificatesResponse, error) { out := new(QueryGetRevokedCertificatesResponse) - err := c.cc.Invoke(ctx, "/pki.types.Query/RevokedCertificates", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/RevokedCertificates", in, out, opts...) if err != nil { return nil, err } @@ -1960,7 +1966,7 @@ func (c *queryClient) RevokedCertificates(ctx context.Context, in *QueryGetRevok func (c *queryClient) RevokedCertificatesAll(ctx context.Context, in *QueryAllRevokedCertificatesRequest, opts ...grpc.CallOption) (*QueryAllRevokedCertificatesResponse, error) { out := new(QueryAllRevokedCertificatesResponse) - err := c.cc.Invoke(ctx, "/pki.types.Query/RevokedCertificatesAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/RevokedCertificatesAll", in, out, opts...) if err != nil { return nil, err } @@ -1969,7 +1975,7 @@ func (c *queryClient) RevokedCertificatesAll(ctx context.Context, in *QueryAllRe func (c *queryClient) ApprovedRootCertificates(ctx context.Context, in *QueryGetApprovedRootCertificatesRequest, opts ...grpc.CallOption) (*QueryGetApprovedRootCertificatesResponse, error) { out := new(QueryGetApprovedRootCertificatesResponse) - err := c.cc.Invoke(ctx, "/pki.types.Query/ApprovedRootCertificates", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/ApprovedRootCertificates", in, out, opts...) if err != nil { return nil, err } @@ -1978,7 +1984,7 @@ func (c *queryClient) ApprovedRootCertificates(ctx context.Context, in *QueryGet func (c *queryClient) RevokedRootCertificates(ctx context.Context, in *QueryGetRevokedRootCertificatesRequest, opts ...grpc.CallOption) (*QueryGetRevokedRootCertificatesResponse, error) { out := new(QueryGetRevokedRootCertificatesResponse) - err := c.cc.Invoke(ctx, "/pki.types.Query/RevokedRootCertificates", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/RevokedRootCertificates", in, out, opts...) if err != nil { return nil, err } @@ -1987,7 +1993,7 @@ func (c *queryClient) RevokedRootCertificates(ctx context.Context, in *QueryGetR func (c *queryClient) ApprovedCertificatesBySubject(ctx context.Context, in *QueryGetApprovedCertificatesBySubjectRequest, opts ...grpc.CallOption) (*QueryGetApprovedCertificatesBySubjectResponse, error) { out := new(QueryGetApprovedCertificatesBySubjectResponse) - err := c.cc.Invoke(ctx, "/pki.types.Query/ApprovedCertificatesBySubject", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/ApprovedCertificatesBySubject", in, out, opts...) if err != nil { return nil, err } @@ -1996,7 +2002,7 @@ func (c *queryClient) ApprovedCertificatesBySubject(ctx context.Context, in *Que func (c *queryClient) RejectedCertificate(ctx context.Context, in *QueryGetRejectedCertificatesRequest, opts ...grpc.CallOption) (*QueryGetRejectedCertificatesResponse, error) { out := new(QueryGetRejectedCertificatesResponse) - err := c.cc.Invoke(ctx, "/pki.types.Query/RejectedCertificate", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/RejectedCertificate", in, out, opts...) if err != nil { return nil, err } @@ -2005,7 +2011,7 @@ func (c *queryClient) RejectedCertificate(ctx context.Context, in *QueryGetRejec func (c *queryClient) RejectedCertificateAll(ctx context.Context, in *QueryAllRejectedCertificatesRequest, opts ...grpc.CallOption) (*QueryAllRejectedCertificatesResponse, error) { out := new(QueryAllRejectedCertificatesResponse) - err := c.cc.Invoke(ctx, "/pki.types.Query/RejectedCertificateAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/RejectedCertificateAll", in, out, opts...) if err != nil { return nil, err } @@ -2014,7 +2020,7 @@ func (c *queryClient) RejectedCertificateAll(ctx context.Context, in *QueryAllRe func (c *queryClient) PkiRevocationDistributionPoint(ctx context.Context, in *QueryGetPkiRevocationDistributionPointRequest, opts ...grpc.CallOption) (*QueryGetPkiRevocationDistributionPointResponse, error) { out := new(QueryGetPkiRevocationDistributionPointResponse) - err := c.cc.Invoke(ctx, "/pki.types.Query/PkiRevocationDistributionPoint", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/PkiRevocationDistributionPoint", in, out, opts...) if err != nil { return nil, err } @@ -2023,7 +2029,7 @@ func (c *queryClient) PkiRevocationDistributionPoint(ctx context.Context, in *Qu func (c *queryClient) PkiRevocationDistributionPointAll(ctx context.Context, in *QueryAllPkiRevocationDistributionPointRequest, opts ...grpc.CallOption) (*QueryAllPkiRevocationDistributionPointResponse, error) { out := new(QueryAllPkiRevocationDistributionPointResponse) - err := c.cc.Invoke(ctx, "/pki.types.Query/PkiRevocationDistributionPointAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/PkiRevocationDistributionPointAll", in, out, opts...) if err != nil { return nil, err } @@ -2032,7 +2038,7 @@ func (c *queryClient) PkiRevocationDistributionPointAll(ctx context.Context, in func (c *queryClient) PkiRevocationDistributionPointsByIssuerSubjectKeyID(ctx context.Context, in *QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDRequest, opts ...grpc.CallOption) (*QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDResponse, error) { out := new(QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDResponse) - err := c.cc.Invoke(ctx, "/pki.types.Query/PkiRevocationDistributionPointsByIssuerSubjectKeyID", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Query/PkiRevocationDistributionPointsByIssuerSubjectKeyID", in, out, opts...) if err != nil { return nil, err } @@ -2147,7 +2153,7 @@ func _Query_ApprovedCertificates_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pki.types.Query/ApprovedCertificates", + FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/ApprovedCertificates", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ApprovedCertificates(ctx, req.(*QueryGetApprovedCertificatesRequest)) @@ -2165,7 +2171,7 @@ func _Query_ApprovedCertificatesAll_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pki.types.Query/ApprovedCertificatesAll", + FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/ApprovedCertificatesAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ApprovedCertificatesAll(ctx, req.(*QueryAllApprovedCertificatesRequest)) @@ -2183,7 +2189,7 @@ func _Query_ProposedCertificate_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pki.types.Query/ProposedCertificate", + FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/ProposedCertificate", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ProposedCertificate(ctx, req.(*QueryGetProposedCertificateRequest)) @@ -2201,7 +2207,7 @@ func _Query_ProposedCertificateAll_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pki.types.Query/ProposedCertificateAll", + FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/ProposedCertificateAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ProposedCertificateAll(ctx, req.(*QueryAllProposedCertificateRequest)) @@ -2219,7 +2225,7 @@ func _Query_ChildCertificates_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pki.types.Query/ChildCertificates", + FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/ChildCertificates", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ChildCertificates(ctx, req.(*QueryGetChildCertificatesRequest)) @@ -2237,7 +2243,7 @@ func _Query_ProposedCertificateRevocation_Handler(srv interface{}, ctx context.C } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pki.types.Query/ProposedCertificateRevocation", + FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/ProposedCertificateRevocation", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ProposedCertificateRevocation(ctx, req.(*QueryGetProposedCertificateRevocationRequest)) @@ -2255,7 +2261,7 @@ func _Query_ProposedCertificateRevocationAll_Handler(srv interface{}, ctx contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pki.types.Query/ProposedCertificateRevocationAll", + FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/ProposedCertificateRevocationAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ProposedCertificateRevocationAll(ctx, req.(*QueryAllProposedCertificateRevocationRequest)) @@ -2273,7 +2279,7 @@ func _Query_RevokedCertificates_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pki.types.Query/RevokedCertificates", + FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/RevokedCertificates", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RevokedCertificates(ctx, req.(*QueryGetRevokedCertificatesRequest)) @@ -2291,7 +2297,7 @@ func _Query_RevokedCertificatesAll_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pki.types.Query/RevokedCertificatesAll", + FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/RevokedCertificatesAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RevokedCertificatesAll(ctx, req.(*QueryAllRevokedCertificatesRequest)) @@ -2309,7 +2315,7 @@ func _Query_ApprovedRootCertificates_Handler(srv interface{}, ctx context.Contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pki.types.Query/ApprovedRootCertificates", + FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/ApprovedRootCertificates", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ApprovedRootCertificates(ctx, req.(*QueryGetApprovedRootCertificatesRequest)) @@ -2327,7 +2333,7 @@ func _Query_RevokedRootCertificates_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pki.types.Query/RevokedRootCertificates", + FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/RevokedRootCertificates", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RevokedRootCertificates(ctx, req.(*QueryGetRevokedRootCertificatesRequest)) @@ -2345,7 +2351,7 @@ func _Query_ApprovedCertificatesBySubject_Handler(srv interface{}, ctx context.C } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pki.types.Query/ApprovedCertificatesBySubject", + FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/ApprovedCertificatesBySubject", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ApprovedCertificatesBySubject(ctx, req.(*QueryGetApprovedCertificatesBySubjectRequest)) @@ -2363,7 +2369,7 @@ func _Query_RejectedCertificate_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pki.types.Query/RejectedCertificate", + FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/RejectedCertificate", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RejectedCertificate(ctx, req.(*QueryGetRejectedCertificatesRequest)) @@ -2381,7 +2387,7 @@ func _Query_RejectedCertificateAll_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pki.types.Query/RejectedCertificateAll", + FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/RejectedCertificateAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RejectedCertificateAll(ctx, req.(*QueryAllRejectedCertificatesRequest)) @@ -2399,7 +2405,7 @@ func _Query_PkiRevocationDistributionPoint_Handler(srv interface{}, ctx context. } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pki.types.Query/PkiRevocationDistributionPoint", + FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/PkiRevocationDistributionPoint", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).PkiRevocationDistributionPoint(ctx, req.(*QueryGetPkiRevocationDistributionPointRequest)) @@ -2417,7 +2423,7 @@ func _Query_PkiRevocationDistributionPointAll_Handler(srv interface{}, ctx conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pki.types.Query/PkiRevocationDistributionPointAll", + FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/PkiRevocationDistributionPointAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).PkiRevocationDistributionPointAll(ctx, req.(*QueryAllPkiRevocationDistributionPointRequest)) @@ -2435,7 +2441,7 @@ func _Query_PkiRevocationDistributionPointsByIssuerSubjectKeyID_Handler(srv inte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pki.types.Query/PkiRevocationDistributionPointsByIssuerSubjectKeyID", + FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Query/PkiRevocationDistributionPointsByIssuerSubjectKeyID", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).PkiRevocationDistributionPointsByIssuerSubjectKeyID(ctx, req.(*QueryGetPkiRevocationDistributionPointsByIssuerSubjectKeyIDRequest)) @@ -2444,7 +2450,7 @@ func _Query_PkiRevocationDistributionPointsByIssuerSubjectKeyID_Handler(srv inte } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "pki.types.Query", + ServiceName: "zigbeealliance.distributedcomplianceledger.pki.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -2517,7 +2523,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "pki/types/query.proto", + Metadata: "zigbeealliance/distributedcomplianceledger/pki/query.proto", } func (m *QueryGetApprovedCertificatesRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/query.pb.gw.go b/x/pki/types/query.pb.gw.go index 0bfec408c..968bffa99 100644 --- a/x/pki/types/query.pb.gw.go +++ b/x/pki/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: pki/types/query.proto +// source: zigbeealliance/distributedcomplianceledger/pki/query.proto /* Package types is a reverse proxy. diff --git a/x/pki/types/rejected_certificate.pb.go b/x/pki/types/rejected_certificate.pb.go index 97e955d9d..391c52742 100644 --- a/x/pki/types/rejected_certificate.pb.go +++ b/x/pki/types/rejected_certificate.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/types/rejected_certificate.proto +// source: zigbeealliance/distributedcomplianceledger/pki/rejected_certificate.proto package types @@ -32,7 +32,7 @@ func (m *RejectedCertificate) Reset() { *m = RejectedCertificate{} } func (m *RejectedCertificate) String() string { return proto.CompactTextString(m) } func (*RejectedCertificate) ProtoMessage() {} func (*RejectedCertificate) Descriptor() ([]byte, []int) { - return fileDescriptor_0e6e5d8003b38e6d, []int{0} + return fileDescriptor_e80fca8b529705dd, []int{0} } func (m *RejectedCertificate) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -83,30 +83,31 @@ func (m *RejectedCertificate) GetCerts() []*Certificate { } func init() { - proto.RegisterType((*RejectedCertificate)(nil), "pki.types.RejectedCertificate") + proto.RegisterType((*RejectedCertificate)(nil), "zigbeealliance.distributedcomplianceledger.pki.RejectedCertificate") } func init() { - proto.RegisterFile("pki/types/rejected_certificate.proto", fileDescriptor_0e6e5d8003b38e6d) + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/pki/rejected_certificate.proto", fileDescriptor_e80fca8b529705dd) } -var fileDescriptor_0e6e5d8003b38e6d = []byte{ - // 238 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x29, 0xc8, 0xce, 0xd4, - 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x2f, 0x4a, 0xcd, 0x4a, 0x4d, 0x2e, 0x49, 0x4d, 0x89, 0x4f, - 0x4e, 0x2d, 0x2a, 0xc9, 0x4c, 0xcb, 0x4c, 0x4e, 0x2c, 0x49, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, - 0x17, 0xe2, 0x2c, 0xc8, 0xce, 0xd4, 0x03, 0xab, 0x92, 0x92, 0x46, 0x68, 0xc0, 0x50, 0xa7, 0xd4, - 0xc8, 0xc8, 0x25, 0x1c, 0x04, 0x35, 0xc6, 0x19, 0x21, 0x2b, 0x24, 0xc1, 0xc5, 0x5e, 0x5c, 0x9a, - 0x04, 0x12, 0x97, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x0c, 0x82, 0x71, 0x85, 0x94, 0xb8, 0x78, 0xa0, - 0x4c, 0xef, 0xd4, 0x4a, 0xcf, 0x14, 0x09, 0x26, 0xb0, 0x34, 0x8a, 0x98, 0x90, 0x0e, 0x17, 0x2b, - 0xc8, 0xaa, 0x62, 0x09, 0x66, 0x05, 0x66, 0x0d, 0x6e, 0x23, 0x31, 0x3d, 0xb8, 0x6b, 0xf4, 0x90, - 0x2c, 0x09, 0x82, 0x28, 0x72, 0x8a, 0x3b, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, - 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, - 0x28, 0x97, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0xfd, 0xaa, 0xcc, 0xf4, - 0xa4, 0xd4, 0x54, 0xdd, 0xc4, 0x9c, 0x9c, 0xcc, 0xc4, 0xbc, 0xe4, 0x54, 0xfd, 0x94, 0xcc, 0xe2, - 0x92, 0xa2, 0xcc, 0xa4, 0xd2, 0x92, 0xd4, 0x14, 0xdd, 0xe4, 0xfc, 0xdc, 0x02, 0x88, 0xb0, 0x6e, - 0x4e, 0x6a, 0x4a, 0x7a, 0x6a, 0x91, 0x7e, 0x85, 0x3e, 0xdc, 0xd7, 0x49, 0x6c, 0x60, 0xaf, 0x1a, - 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x9f, 0xf1, 0x0e, 0x07, 0x3a, 0x01, 0x00, 0x00, +var fileDescriptor_e80fca8b529705dd = []byte{ + // 250 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xf2, 0xac, 0xca, 0x4c, 0x4f, + 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4f, 0xc9, 0x2c, 0x2e, 0x29, + 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, + 0xa7, 0x16, 0xe9, 0x17, 0x64, 0x67, 0xea, 0x17, 0xa5, 0x66, 0xa5, 0x26, 0x97, 0xa4, 0xa6, 0xc4, + 0x27, 0xa7, 0x16, 0x95, 0x64, 0xa6, 0x65, 0x26, 0x27, 0x96, 0xa4, 0xea, 0x15, 0x14, 0xe5, 0x97, + 0xe4, 0x0b, 0xe9, 0xa1, 0x1a, 0xa5, 0x87, 0xc7, 0x28, 0xbd, 0x82, 0xec, 0x4c, 0x29, 0x07, 0x12, + 0xad, 0xc6, 0xb0, 0x51, 0x69, 0x19, 0x23, 0x97, 0x70, 0x10, 0xd4, 0x41, 0xce, 0x08, 0x59, 0x21, + 0x09, 0x2e, 0xf6, 0xe2, 0xd2, 0x24, 0x90, 0xb8, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x67, 0x10, 0x8c, + 0x2b, 0xa4, 0xc4, 0xc5, 0x03, 0x65, 0x7a, 0xa7, 0x56, 0x7a, 0xa6, 0x48, 0x30, 0x81, 0xa5, 0x51, + 0xc4, 0x84, 0x02, 0xb9, 0x58, 0x41, 0x56, 0x15, 0x4b, 0x30, 0x2b, 0x30, 0x6b, 0x70, 0x1b, 0x59, + 0x93, 0xe8, 0x2f, 0x3d, 0x24, 0x97, 0x04, 0x41, 0x4c, 0x72, 0x8a, 0x3b, 0xf1, 0x48, 0x8e, 0xf1, + 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, + 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0x97, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, + 0x5c, 0x7d, 0x88, 0x3d, 0xba, 0xd8, 0x02, 0x44, 0x17, 0x61, 0x93, 0x2e, 0x34, 0x48, 0x2a, 0xc0, + 0x81, 0x52, 0x52, 0x59, 0x90, 0x5a, 0x9c, 0xc4, 0x06, 0x0e, 0x0f, 0x63, 0x40, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xec, 0xa0, 0xd4, 0xda, 0xce, 0x01, 0x00, 0x00, } func (m *RejectedCertificate) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/revoked_certificates.pb.go b/x/pki/types/revoked_certificates.pb.go index 8135b44ac..ded87db6b 100644 --- a/x/pki/types/revoked_certificates.pb.go +++ b/x/pki/types/revoked_certificates.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/types/revoked_certificates.proto +// source: zigbeealliance/distributedcomplianceledger/pki/revoked_certificates.proto package types @@ -32,7 +32,7 @@ func (m *RevokedCertificates) Reset() { *m = RevokedCertificates{} } func (m *RevokedCertificates) String() string { return proto.CompactTextString(m) } func (*RevokedCertificates) ProtoMessage() {} func (*RevokedCertificates) Descriptor() ([]byte, []int) { - return fileDescriptor_19c24231c4530274, []int{0} + return fileDescriptor_47bf09de83e16ea0, []int{0} } func (m *RevokedCertificates) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -83,31 +83,31 @@ func (m *RevokedCertificates) GetCerts() []*Certificate { } func init() { - proto.RegisterType((*RevokedCertificates)(nil), "pki.types.RevokedCertificates") + proto.RegisterType((*RevokedCertificates)(nil), "zigbeealliance.distributedcomplianceledger.pki.RevokedCertificates") } func init() { - proto.RegisterFile("pki/types/revoked_certificates.proto", fileDescriptor_19c24231c4530274) + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/pki/revoked_certificates.proto", fileDescriptor_47bf09de83e16ea0) } -var fileDescriptor_19c24231c4530274 = []byte{ - // 242 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x29, 0xc8, 0xce, 0xd4, - 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x2f, 0x4a, 0x2d, 0xcb, 0xcf, 0x4e, 0x4d, 0x89, 0x4f, 0x4e, - 0x2d, 0x2a, 0xc9, 0x4c, 0xcb, 0x4c, 0x4e, 0x2c, 0x49, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, - 0x17, 0xe2, 0x2c, 0xc8, 0xce, 0xd4, 0x03, 0xab, 0x92, 0x92, 0x46, 0x68, 0x40, 0x52, 0x08, 0x51, - 0xa7, 0xd4, 0xc8, 0xc8, 0x25, 0x1c, 0x04, 0x31, 0xc6, 0x19, 0xc9, 0x14, 0x21, 0x09, 0x2e, 0xf6, - 0xe2, 0xd2, 0xa4, 0xac, 0xd4, 0xe4, 0x12, 0x09, 0x46, 0x05, 0x46, 0x0d, 0xce, 0x20, 0x18, 0x57, - 0x48, 0x89, 0x8b, 0x07, 0xca, 0xf4, 0x4e, 0xad, 0xf4, 0x4c, 0x91, 0x60, 0x02, 0x4b, 0xa3, 0x88, - 0x09, 0xe9, 0x70, 0xb1, 0x82, 0xac, 0x2a, 0x96, 0x60, 0x56, 0x60, 0xd6, 0xe0, 0x36, 0x12, 0xd3, - 0x83, 0xbb, 0x46, 0x0f, 0xc9, 0x96, 0x20, 0x88, 0x22, 0xa7, 0xb8, 0x13, 0x8f, 0xe4, 0x18, 0x2f, - 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, - 0x6e, 0x3c, 0x96, 0x63, 0x88, 0x72, 0x49, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, - 0xd5, 0xaf, 0xca, 0x4c, 0x4f, 0x4a, 0x4d, 0xd5, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, - 0xd5, 0x4f, 0xc9, 0x2c, 0x2e, 0x29, 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0xd1, 0x4d, 0xce, 0xcf, - 0x2d, 0x80, 0x08, 0xeb, 0xe6, 0xa4, 0xa6, 0xa4, 0xa7, 0x16, 0xe9, 0x57, 0xe8, 0xc3, 0x7d, 0x9d, - 0xc4, 0x06, 0xf6, 0xaa, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xc0, 0x27, 0x1f, 0x81, 0x3a, 0x01, - 0x00, 0x00, +var fileDescriptor_47bf09de83e16ea0 = []byte{ + // 254 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00,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0x39, 0xc6, 0x09, 0x8f, 0xe5, + 0x18, 0x2e, 0x3c, 0x96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0xca, 0x25, 0x3d, 0xb3, 0x24, 0xa3, + 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0x1f, 0x62, 0x8f, 0x2e, 0xb6, 0x00, 0xd1, 0x45, 0xd8, 0xa4, + 0x0b, 0x0d, 0x92, 0x0a, 0x70, 0xa0, 0x94, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0xc3, 0xc3, + 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x0d, 0xcf, 0xa5, 0xfe, 0xce, 0x01, 0x00, 0x00, } func (m *RevokedCertificates) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/revoked_root_certificates.pb.go b/x/pki/types/revoked_root_certificates.pb.go index fe97be813..3a562f638 100644 --- a/x/pki/types/revoked_root_certificates.pb.go +++ b/x/pki/types/revoked_root_certificates.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/types/revoked_root_certificates.proto +// source: zigbeealliance/distributedcomplianceledger/pki/revoked_root_certificates.proto package types @@ -30,7 +30,7 @@ func (m *RevokedRootCertificates) Reset() { *m = RevokedRootCertificates func (m *RevokedRootCertificates) String() string { return proto.CompactTextString(m) } func (*RevokedRootCertificates) ProtoMessage() {} func (*RevokedRootCertificates) Descriptor() ([]byte, []int) { - return fileDescriptor_cd73b1042fd4ac3e, []int{0} + return fileDescriptor_e94861023281b0eb, []int{0} } func (m *RevokedRootCertificates) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -67,30 +67,30 @@ func (m *RevokedRootCertificates) GetCerts() []*CertificateIdentifier { } func init() { - proto.RegisterType((*RevokedRootCertificates)(nil), "pki.types.RevokedRootCertificates") + proto.RegisterType((*RevokedRootCertificates)(nil), "zigbeealliance.distributedcomplianceledger.pki.RevokedRootCertificates") } func init() { - proto.RegisterFile("pki/types/revoked_root_certificates.proto", fileDescriptor_cd73b1042fd4ac3e) + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/pki/revoked_root_certificates.proto", fileDescriptor_e94861023281b0eb) } -var fileDescriptor_cd73b1042fd4ac3e = []byte{ - // 226 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x2c, 0xc8, 0xce, 0xd4, - 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x2f, 0x4a, 0x2d, 0xcb, 0xcf, 0x4e, 0x4d, 0x89, 0x2f, 0xca, - 0xcf, 0x2f, 0x89, 0x4f, 0x4e, 0x2d, 0x2a, 0xc9, 0x4c, 0xcb, 0x4c, 0x4e, 0x2c, 0x49, 0x2d, 0xd6, - 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x2c, 0xc8, 0xce, 0xd4, 0x03, 0x2b, 0x95, 0x52, 0x43, - 0xe8, 0x42, 0x52, 0x18, 0x9f, 0x99, 0x92, 0x9a, 0x07, 0xe2, 0xa4, 0x16, 0x41, 0xb4, 0x28, 0x05, - 0x72, 0x89, 0x07, 0x41, 0x4c, 0x0d, 0xca, 0xcf, 0x2f, 0x71, 0x46, 0x32, 0x53, 0xc8, 0x8c, 0x8b, - 0x15, 0xa4, 0xb5, 0x58, 0x82, 0x51, 0x81, 0x59, 0x83, 0xdb, 0x48, 0x41, 0x0f, 0x6e, 0xba, 0x1e, - 0x92, 0x3a, 0x4f, 0xb8, 0x89, 0x41, 0x10, 0xe5, 0x4e, 0x71, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, - 0x24, 0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, - 0x78, 0x2c, 0xc7, 0x10, 0xe5, 0x92, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, - 0x5f, 0x95, 0x99, 0x9e, 0x94, 0x9a, 0xaa, 0x9b, 0x98, 0x93, 0x93, 0x99, 0x98, 0x97, 0x9c, 0xaa, - 0x9f, 0x92, 0x59, 0x5c, 0x52, 0x94, 0x99, 0x54, 0x5a, 0x92, 0x9a, 0xa2, 0x9b, 0x9c, 0x9f, 0x5b, - 0x00, 0x11, 0xd6, 0xcd, 0x49, 0x4d, 0x49, 0x4f, 0x2d, 0xd2, 0xaf, 0xd0, 0x87, 0xfb, 0x27, 0x89, - 0x0d, 0xec, 0x72, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x7d, 0xda, 0xde, 0xf7, 0x19, 0x01, - 0x00, 0x00, +var fileDescriptor_e94861023281b0eb = []byte{ + // 237 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xf2, 0xab, 0xca, 0x4c, 0x4f, + 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4f, 0xc9, 0x2c, 0x2e, 0x29, + 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, + 0xa7, 0x16, 0xe9, 0x17, 0x64, 0x67, 0xea, 0x17, 0xa5, 0x96, 0xe5, 0x67, 0xa7, 0xa6, 0xc4, 0x17, + 0xe5, 0xe7, 0x97, 0xc4, 0x27, 0xa7, 0x16, 0x95, 0x64, 0xa6, 0x65, 0x26, 0x27, 0x96, 0xa4, 0x16, + 0xeb, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, 0xe9, 0xa1, 0x9a, 0xa7, 0x87, 0xc7, 0x3c, 0xbd, 0x82, + 0xec, 0x4c, 0x29, 0x6f, 0x12, 0xed, 0x47, 0xb2, 0x32, 0x3e, 0x33, 0x25, 0x35, 0x0f, 0xc4, 0x01, + 0x19, 0x05, 0xb2, 0x5c, 0xa9, 0x8c, 0x4b, 0x3c, 0x08, 0xe2, 0xbe, 0xa0, 0xfc, 0xfc, 0x12, 0x67, + 0x24, 0xd7, 0x09, 0x45, 0x73, 0xb1, 0x82, 0xb4, 0x16, 0x4b, 0x30, 0x2a, 0x30, 0x6b, 0x70, 0x1b, + 0xb9, 0x92, 0xe8, 0x4e, 0x3d, 0x24, 0xc3, 0x3c, 0xe1, 0xd6, 0x06, 0x41, 0xcc, 0x74, 0x8a, 0x3b, + 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, + 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0x97, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, + 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0x88, 0x8d, 0xba, 0xd8, 0xbc, 0xaa, 0x8b, 0xb0, 0x53, 0x17, + 0xea, 0xd9, 0x0a, 0xb0, 0x77, 0x4b, 0x2a, 0x0b, 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0xde, 0x33, 0x06, + 0x04, 0x00, 0x00, 0xff, 0xff, 0x13, 0xab, 0x09, 0x2e, 0xad, 0x01, 0x00, 0x00, } func (m *RevokedRootCertificates) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/tx.pb.go b/x/pki/types/tx.pb.go index 280e0b9f7..c74a99239 100644 --- a/x/pki/types/tx.pb.go +++ b/x/pki/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/types/tx.proto +// source: zigbeealliance/distributedcomplianceledger/pki/tx.proto package types @@ -41,7 +41,7 @@ func (m *MsgProposeAddX509RootCert) Reset() { *m = MsgProposeAddX509Root func (m *MsgProposeAddX509RootCert) String() string { return proto.CompactTextString(m) } func (*MsgProposeAddX509RootCert) ProtoMessage() {} func (*MsgProposeAddX509RootCert) Descriptor() ([]byte, []int) { - return fileDescriptor_b08eeccb97bc31ec, []int{0} + return fileDescriptor_3047b9df3153e42a, []int{0} } func (m *MsgProposeAddX509RootCert) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -112,7 +112,7 @@ func (m *MsgProposeAddX509RootCertResponse) Reset() { *m = MsgProposeAdd func (m *MsgProposeAddX509RootCertResponse) String() string { return proto.CompactTextString(m) } func (*MsgProposeAddX509RootCertResponse) ProtoMessage() {} func (*MsgProposeAddX509RootCertResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b08eeccb97bc31ec, []int{1} + return fileDescriptor_3047b9df3153e42a, []int{1} } func (m *MsgProposeAddX509RootCertResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -153,7 +153,7 @@ func (m *MsgApproveAddX509RootCert) Reset() { *m = MsgApproveAddX509Root func (m *MsgApproveAddX509RootCert) String() string { return proto.CompactTextString(m) } func (*MsgApproveAddX509RootCert) ProtoMessage() {} func (*MsgApproveAddX509RootCert) Descriptor() ([]byte, []int) { - return fileDescriptor_b08eeccb97bc31ec, []int{2} + return fileDescriptor_3047b9df3153e42a, []int{2} } func (m *MsgApproveAddX509RootCert) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -224,7 +224,7 @@ func (m *MsgApproveAddX509RootCertResponse) Reset() { *m = MsgApproveAdd func (m *MsgApproveAddX509RootCertResponse) String() string { return proto.CompactTextString(m) } func (*MsgApproveAddX509RootCertResponse) ProtoMessage() {} func (*MsgApproveAddX509RootCertResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b08eeccb97bc31ec, []int{3} + return fileDescriptor_3047b9df3153e42a, []int{3} } func (m *MsgApproveAddX509RootCertResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -264,7 +264,7 @@ func (m *MsgAddX509Cert) Reset() { *m = MsgAddX509Cert{} } func (m *MsgAddX509Cert) String() string { return proto.CompactTextString(m) } func (*MsgAddX509Cert) ProtoMessage() {} func (*MsgAddX509Cert) Descriptor() ([]byte, []int) { - return fileDescriptor_b08eeccb97bc31ec, []int{4} + return fileDescriptor_3047b9df3153e42a, []int{4} } func (m *MsgAddX509Cert) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -328,7 +328,7 @@ func (m *MsgAddX509CertResponse) Reset() { *m = MsgAddX509CertResponse{} func (m *MsgAddX509CertResponse) String() string { return proto.CompactTextString(m) } func (*MsgAddX509CertResponse) ProtoMessage() {} func (*MsgAddX509CertResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b08eeccb97bc31ec, []int{5} + return fileDescriptor_3047b9df3153e42a, []int{5} } func (m *MsgAddX509CertResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -369,7 +369,7 @@ func (m *MsgProposeRevokeX509RootCert) Reset() { *m = MsgProposeRevokeX5 func (m *MsgProposeRevokeX509RootCert) String() string { return proto.CompactTextString(m) } func (*MsgProposeRevokeX509RootCert) ProtoMessage() {} func (*MsgProposeRevokeX509RootCert) Descriptor() ([]byte, []int) { - return fileDescriptor_b08eeccb97bc31ec, []int{6} + return fileDescriptor_3047b9df3153e42a, []int{6} } func (m *MsgProposeRevokeX509RootCert) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -440,7 +440,7 @@ func (m *MsgProposeRevokeX509RootCertResponse) Reset() { *m = MsgPropose func (m *MsgProposeRevokeX509RootCertResponse) String() string { return proto.CompactTextString(m) } func (*MsgProposeRevokeX509RootCertResponse) ProtoMessage() {} func (*MsgProposeRevokeX509RootCertResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b08eeccb97bc31ec, []int{7} + return fileDescriptor_3047b9df3153e42a, []int{7} } func (m *MsgProposeRevokeX509RootCertResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -481,7 +481,7 @@ func (m *MsgApproveRevokeX509RootCert) Reset() { *m = MsgApproveRevokeX5 func (m *MsgApproveRevokeX509RootCert) String() string { return proto.CompactTextString(m) } func (*MsgApproveRevokeX509RootCert) ProtoMessage() {} func (*MsgApproveRevokeX509RootCert) Descriptor() ([]byte, []int) { - return fileDescriptor_b08eeccb97bc31ec, []int{8} + return fileDescriptor_3047b9df3153e42a, []int{8} } func (m *MsgApproveRevokeX509RootCert) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -552,7 +552,7 @@ func (m *MsgApproveRevokeX509RootCertResponse) Reset() { *m = MsgApprove func (m *MsgApproveRevokeX509RootCertResponse) String() string { return proto.CompactTextString(m) } func (*MsgApproveRevokeX509RootCertResponse) ProtoMessage() {} func (*MsgApproveRevokeX509RootCertResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b08eeccb97bc31ec, []int{9} + return fileDescriptor_3047b9df3153e42a, []int{9} } func (m *MsgApproveRevokeX509RootCertResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -593,7 +593,7 @@ func (m *MsgRevokeX509Cert) Reset() { *m = MsgRevokeX509Cert{} } func (m *MsgRevokeX509Cert) String() string { return proto.CompactTextString(m) } func (*MsgRevokeX509Cert) ProtoMessage() {} func (*MsgRevokeX509Cert) Descriptor() ([]byte, []int) { - return fileDescriptor_b08eeccb97bc31ec, []int{10} + return fileDescriptor_3047b9df3153e42a, []int{10} } func (m *MsgRevokeX509Cert) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -664,7 +664,7 @@ func (m *MsgRevokeX509CertResponse) Reset() { *m = MsgRevokeX509CertResp func (m *MsgRevokeX509CertResponse) String() string { return proto.CompactTextString(m) } func (*MsgRevokeX509CertResponse) ProtoMessage() {} func (*MsgRevokeX509CertResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b08eeccb97bc31ec, []int{11} + return fileDescriptor_3047b9df3153e42a, []int{11} } func (m *MsgRevokeX509CertResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -705,7 +705,7 @@ func (m *MsgRejectAddX509RootCert) Reset() { *m = MsgRejectAddX509RootCe func (m *MsgRejectAddX509RootCert) String() string { return proto.CompactTextString(m) } func (*MsgRejectAddX509RootCert) ProtoMessage() {} func (*MsgRejectAddX509RootCert) Descriptor() ([]byte, []int) { - return fileDescriptor_b08eeccb97bc31ec, []int{12} + return fileDescriptor_3047b9df3153e42a, []int{12} } func (m *MsgRejectAddX509RootCert) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -776,7 +776,7 @@ func (m *MsgRejectAddX509RootCertResponse) Reset() { *m = MsgRejectAddX5 func (m *MsgRejectAddX509RootCertResponse) String() string { return proto.CompactTextString(m) } func (*MsgRejectAddX509RootCertResponse) ProtoMessage() {} func (*MsgRejectAddX509RootCertResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b08eeccb97bc31ec, []int{13} + return fileDescriptor_3047b9df3153e42a, []int{13} } func (m *MsgRejectAddX509RootCertResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -824,7 +824,7 @@ func (m *MsgAddPkiRevocationDistributionPoint) Reset() { *m = MsgAddPkiR func (m *MsgAddPkiRevocationDistributionPoint) String() string { return proto.CompactTextString(m) } func (*MsgAddPkiRevocationDistributionPoint) ProtoMessage() {} func (*MsgAddPkiRevocationDistributionPoint) Descriptor() ([]byte, []int) { - return fileDescriptor_b08eeccb97bc31ec, []int{14} + return fileDescriptor_3047b9df3153e42a, []int{14} } func (m *MsgAddPkiRevocationDistributionPoint) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -948,7 +948,7 @@ func (m *MsgAddPkiRevocationDistributionPointResponse) String() string { } func (*MsgAddPkiRevocationDistributionPointResponse) ProtoMessage() {} func (*MsgAddPkiRevocationDistributionPointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b08eeccb97bc31ec, []int{15} + return fileDescriptor_3047b9df3153e42a, []int{15} } func (m *MsgAddPkiRevocationDistributionPointResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -995,7 +995,7 @@ func (m *MsgUpdatePkiRevocationDistributionPoint) Reset() { func (m *MsgUpdatePkiRevocationDistributionPoint) String() string { return proto.CompactTextString(m) } func (*MsgUpdatePkiRevocationDistributionPoint) ProtoMessage() {} func (*MsgUpdatePkiRevocationDistributionPoint) Descriptor() ([]byte, []int) { - return fileDescriptor_b08eeccb97bc31ec, []int{16} + return fileDescriptor_3047b9df3153e42a, []int{16} } func (m *MsgUpdatePkiRevocationDistributionPoint) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1098,7 +1098,7 @@ func (m *MsgUpdatePkiRevocationDistributionPointResponse) String() string { } func (*MsgUpdatePkiRevocationDistributionPointResponse) ProtoMessage() {} func (*MsgUpdatePkiRevocationDistributionPointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b08eeccb97bc31ec, []int{17} + return fileDescriptor_3047b9df3153e42a, []int{17} } func (m *MsgUpdatePkiRevocationDistributionPointResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1140,7 +1140,7 @@ func (m *MsgDeletePkiRevocationDistributionPoint) Reset() { func (m *MsgDeletePkiRevocationDistributionPoint) String() string { return proto.CompactTextString(m) } func (*MsgDeletePkiRevocationDistributionPoint) ProtoMessage() {} func (*MsgDeletePkiRevocationDistributionPoint) Descriptor() ([]byte, []int) { - return fileDescriptor_b08eeccb97bc31ec, []int{18} + return fileDescriptor_3047b9df3153e42a, []int{18} } func (m *MsgDeletePkiRevocationDistributionPoint) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1208,7 +1208,7 @@ func (m *MsgDeletePkiRevocationDistributionPointResponse) String() string { } func (*MsgDeletePkiRevocationDistributionPointResponse) ProtoMessage() {} func (*MsgDeletePkiRevocationDistributionPointResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b08eeccb97bc31ec, []int{19} + return fileDescriptor_3047b9df3153e42a, []int{19} } func (m *MsgDeletePkiRevocationDistributionPointResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1248,7 +1248,7 @@ func (m *MsgAssignVid) Reset() { *m = MsgAssignVid{} } func (m *MsgAssignVid) String() string { return proto.CompactTextString(m) } func (*MsgAssignVid) ProtoMessage() {} func (*MsgAssignVid) Descriptor() ([]byte, []int) { - return fileDescriptor_b08eeccb97bc31ec, []int{20} + return fileDescriptor_3047b9df3153e42a, []int{20} } func (m *MsgAssignVid) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1312,7 +1312,7 @@ func (m *MsgAssignVidResponse) Reset() { *m = MsgAssignVidResponse{} } func (m *MsgAssignVidResponse) String() string { return proto.CompactTextString(m) } func (*MsgAssignVidResponse) ProtoMessage() {} func (*MsgAssignVidResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b08eeccb97bc31ec, []int{21} + return fileDescriptor_3047b9df3153e42a, []int{21} } func (m *MsgAssignVidResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1342,104 +1342,109 @@ func (m *MsgAssignVidResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgAssignVidResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*MsgProposeAddX509RootCert)(nil), "pki.types.MsgProposeAddX509RootCert") - proto.RegisterType((*MsgProposeAddX509RootCertResponse)(nil), "pki.types.MsgProposeAddX509RootCertResponse") - proto.RegisterType((*MsgApproveAddX509RootCert)(nil), "pki.types.MsgApproveAddX509RootCert") - proto.RegisterType((*MsgApproveAddX509RootCertResponse)(nil), "pki.types.MsgApproveAddX509RootCertResponse") - proto.RegisterType((*MsgAddX509Cert)(nil), "pki.types.MsgAddX509Cert") - proto.RegisterType((*MsgAddX509CertResponse)(nil), "pki.types.MsgAddX509CertResponse") - proto.RegisterType((*MsgProposeRevokeX509RootCert)(nil), "pki.types.MsgProposeRevokeX509RootCert") - proto.RegisterType((*MsgProposeRevokeX509RootCertResponse)(nil), "pki.types.MsgProposeRevokeX509RootCertResponse") - proto.RegisterType((*MsgApproveRevokeX509RootCert)(nil), "pki.types.MsgApproveRevokeX509RootCert") - proto.RegisterType((*MsgApproveRevokeX509RootCertResponse)(nil), "pki.types.MsgApproveRevokeX509RootCertResponse") - proto.RegisterType((*MsgRevokeX509Cert)(nil), "pki.types.MsgRevokeX509Cert") - proto.RegisterType((*MsgRevokeX509CertResponse)(nil), "pki.types.MsgRevokeX509CertResponse") - proto.RegisterType((*MsgRejectAddX509RootCert)(nil), "pki.types.MsgRejectAddX509RootCert") - proto.RegisterType((*MsgRejectAddX509RootCertResponse)(nil), "pki.types.MsgRejectAddX509RootCertResponse") - proto.RegisterType((*MsgAddPkiRevocationDistributionPoint)(nil), "pki.types.MsgAddPkiRevocationDistributionPoint") - proto.RegisterType((*MsgAddPkiRevocationDistributionPointResponse)(nil), "pki.types.MsgAddPkiRevocationDistributionPointResponse") - proto.RegisterType((*MsgUpdatePkiRevocationDistributionPoint)(nil), "pki.types.MsgUpdatePkiRevocationDistributionPoint") - proto.RegisterType((*MsgUpdatePkiRevocationDistributionPointResponse)(nil), "pki.types.MsgUpdatePkiRevocationDistributionPointResponse") - proto.RegisterType((*MsgDeletePkiRevocationDistributionPoint)(nil), "pki.types.MsgDeletePkiRevocationDistributionPoint") - proto.RegisterType((*MsgDeletePkiRevocationDistributionPointResponse)(nil), "pki.types.MsgDeletePkiRevocationDistributionPointResponse") - proto.RegisterType((*MsgAssignVid)(nil), "pki.types.MsgAssignVid") - proto.RegisterType((*MsgAssignVidResponse)(nil), "pki.types.MsgAssignVidResponse") -} - -func init() { proto.RegisterFile("pki/types/tx.proto", fileDescriptor_b08eeccb97bc31ec) } - -var fileDescriptor_b08eeccb97bc31ec = []byte{ - // 1118 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x58, 0x4f, 0x6f, 0xe3, 0x44, - 0x14, 0xaf, 0xf3, 0xa7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0x94, 0x47, 0x67, 0xde, 0x15, 0x00, 0x00, + proto.RegisterType((*MsgProposeAddX509RootCert)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgProposeAddX509RootCert") + proto.RegisterType((*MsgProposeAddX509RootCertResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgProposeAddX509RootCertResponse") + proto.RegisterType((*MsgApproveAddX509RootCert)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgApproveAddX509RootCert") + proto.RegisterType((*MsgApproveAddX509RootCertResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgApproveAddX509RootCertResponse") + proto.RegisterType((*MsgAddX509Cert)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgAddX509Cert") + proto.RegisterType((*MsgAddX509CertResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgAddX509CertResponse") + proto.RegisterType((*MsgProposeRevokeX509RootCert)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgProposeRevokeX509RootCert") + proto.RegisterType((*MsgProposeRevokeX509RootCertResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgProposeRevokeX509RootCertResponse") + proto.RegisterType((*MsgApproveRevokeX509RootCert)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgApproveRevokeX509RootCert") + proto.RegisterType((*MsgApproveRevokeX509RootCertResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgApproveRevokeX509RootCertResponse") + proto.RegisterType((*MsgRevokeX509Cert)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgRevokeX509Cert") + proto.RegisterType((*MsgRevokeX509CertResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgRevokeX509CertResponse") + proto.RegisterType((*MsgRejectAddX509RootCert)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgRejectAddX509RootCert") + proto.RegisterType((*MsgRejectAddX509RootCertResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgRejectAddX509RootCertResponse") + proto.RegisterType((*MsgAddPkiRevocationDistributionPoint)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgAddPkiRevocationDistributionPoint") + proto.RegisterType((*MsgAddPkiRevocationDistributionPointResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgAddPkiRevocationDistributionPointResponse") + proto.RegisterType((*MsgUpdatePkiRevocationDistributionPoint)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgUpdatePkiRevocationDistributionPoint") + proto.RegisterType((*MsgUpdatePkiRevocationDistributionPointResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgUpdatePkiRevocationDistributionPointResponse") + proto.RegisterType((*MsgDeletePkiRevocationDistributionPoint)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgDeletePkiRevocationDistributionPoint") + proto.RegisterType((*MsgDeletePkiRevocationDistributionPointResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgDeletePkiRevocationDistributionPointResponse") + proto.RegisterType((*MsgAssignVid)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgAssignVid") + proto.RegisterType((*MsgAssignVidResponse)(nil), "zigbeealliance.distributedcomplianceledger.pki.MsgAssignVidResponse") +} + +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/pki/tx.proto", fileDescriptor_3047b9df3153e42a) +} + +var fileDescriptor_3047b9df3153e42a = []byte{ + // 1154 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0xdd, 0x4f, 0xdb, 0xd6, + 0x1b, 0xc6, 0xf9, 0xe0, 0xe3, 0x2d, 0x3f, 0xf4, 0xdb, 0x19, 0xa3, 0xc6, 0xa0, 0x24, 0x75, 0x51, + 0x8b, 0x34, 0x48, 0x02, 0x25, 0xb4, 0x54, 0x63, 0x53, 0x68, 0xd4, 0x0e, 0x15, 0x24, 0x66, 0xe8, + 0x36, 0x4d, 0xd3, 0xaa, 0x24, 0x3e, 0xf5, 0xce, 0x70, 0x72, 0x3c, 0x1f, 0x07, 0x41, 0xff, 0x89, + 0x4d, 0x9a, 0x76, 0xb3, 0x4d, 0xbd, 0xdb, 0xa4, 0x5d, 0x6f, 0xda, 0xed, 0x6e, 0x77, 0x59, 0x4d, + 0x93, 0xb6, 0xab, 0xa8, 0x82, 0xff, 0x20, 0xf7, 0x93, 0x26, 0x7f, 0xc4, 0xc6, 0x60, 0x87, 0xc4, + 0x84, 0x8b, 0x31, 0xee, 0xec, 0xc3, 0xfb, 0x3c, 0xe7, 0x7d, 0x9f, 0xf7, 0x31, 0x3e, 0x6f, 0x0c, + 0x77, 0x9f, 0x13, 0xa5, 0x82, 0x71, 0x59, 0x55, 0x49, 0xb9, 0x5e, 0xc5, 0x39, 0x99, 0x30, 0x43, + 0x27, 0x95, 0x86, 0x81, 0xe5, 0x2a, 0xad, 0x69, 0xf6, 0xaa, 0x8a, 0x65, 0x05, 0xeb, 0x39, 0x6d, + 0x97, 0xe4, 0x8c, 0xfd, 0xac, 0xa6, 0x53, 0x83, 0xa2, 0xac, 0x1f, 0x98, 0xed, 0x00, 0xcc, 0x6a, + 0xbb, 0x44, 0x98, 0xac, 0x52, 0x56, 0xa3, 0xec, 0xa9, 0x85, 0xce, 0xd9, 0x37, 0x36, 0x95, 0x30, + 0xae, 0x50, 0x85, 0xda, 0xeb, 0xe6, 0x95, 0xbd, 0x2a, 0x7e, 0x13, 0x83, 0xc9, 0x4d, 0xa6, 0x6c, + 0xe9, 0x54, 0xa3, 0x0c, 0x17, 0x65, 0xf9, 0xc3, 0x42, 0x7e, 0x45, 0xa2, 0xd4, 0x78, 0x80, 0x75, + 0x03, 0x3d, 0x82, 0x41, 0x46, 0x94, 0x3a, 0xd6, 0x79, 0x2e, 0xc3, 0xcd, 0x8e, 0xac, 0xe5, 0x5a, + 0xcd, 0xf4, 0xeb, 0x7b, 0x65, 0x95, 0xc8, 0x65, 0x03, 0xdf, 0x17, 0x75, 0xfc, 0x79, 0x83, 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 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1477,7 +1482,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { func (c *msgClient) ProposeAddX509RootCert(ctx context.Context, in *MsgProposeAddX509RootCert, opts ...grpc.CallOption) (*MsgProposeAddX509RootCertResponse, error) { out := new(MsgProposeAddX509RootCertResponse) - err := c.cc.Invoke(ctx, "/pki.types.Msg/ProposeAddX509RootCert", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Msg/ProposeAddX509RootCert", in, out, opts...) if err != nil { return nil, err } @@ -1486,7 +1491,7 @@ func (c *msgClient) ProposeAddX509RootCert(ctx context.Context, in *MsgProposeAd func (c *msgClient) ApproveAddX509RootCert(ctx context.Context, in *MsgApproveAddX509RootCert, opts ...grpc.CallOption) (*MsgApproveAddX509RootCertResponse, error) { out := new(MsgApproveAddX509RootCertResponse) - err := c.cc.Invoke(ctx, "/pki.types.Msg/ApproveAddX509RootCert", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Msg/ApproveAddX509RootCert", in, out, opts...) if err != nil { return nil, err } @@ -1495,7 +1500,7 @@ func (c *msgClient) ApproveAddX509RootCert(ctx context.Context, in *MsgApproveAd func (c *msgClient) AddX509Cert(ctx context.Context, in *MsgAddX509Cert, opts ...grpc.CallOption) (*MsgAddX509CertResponse, error) { out := new(MsgAddX509CertResponse) - err := c.cc.Invoke(ctx, "/pki.types.Msg/AddX509Cert", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Msg/AddX509Cert", in, out, opts...) if err != nil { return nil, err } @@ -1504,7 +1509,7 @@ func (c *msgClient) AddX509Cert(ctx context.Context, in *MsgAddX509Cert, opts .. func (c *msgClient) ProposeRevokeX509RootCert(ctx context.Context, in *MsgProposeRevokeX509RootCert, opts ...grpc.CallOption) (*MsgProposeRevokeX509RootCertResponse, error) { out := new(MsgProposeRevokeX509RootCertResponse) - err := c.cc.Invoke(ctx, "/pki.types.Msg/ProposeRevokeX509RootCert", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Msg/ProposeRevokeX509RootCert", in, out, opts...) if err != nil { return nil, err } @@ -1513,7 +1518,7 @@ func (c *msgClient) ProposeRevokeX509RootCert(ctx context.Context, in *MsgPropos func (c *msgClient) ApproveRevokeX509RootCert(ctx context.Context, in *MsgApproveRevokeX509RootCert, opts ...grpc.CallOption) (*MsgApproveRevokeX509RootCertResponse, error) { out := new(MsgApproveRevokeX509RootCertResponse) - err := c.cc.Invoke(ctx, "/pki.types.Msg/ApproveRevokeX509RootCert", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Msg/ApproveRevokeX509RootCert", in, out, opts...) if err != nil { return nil, err } @@ -1522,7 +1527,7 @@ func (c *msgClient) ApproveRevokeX509RootCert(ctx context.Context, in *MsgApprov func (c *msgClient) RevokeX509Cert(ctx context.Context, in *MsgRevokeX509Cert, opts ...grpc.CallOption) (*MsgRevokeX509CertResponse, error) { out := new(MsgRevokeX509CertResponse) - err := c.cc.Invoke(ctx, "/pki.types.Msg/RevokeX509Cert", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Msg/RevokeX509Cert", in, out, opts...) if err != nil { return nil, err } @@ -1531,7 +1536,7 @@ func (c *msgClient) RevokeX509Cert(ctx context.Context, in *MsgRevokeX509Cert, o func (c *msgClient) RejectAddX509RootCert(ctx context.Context, in *MsgRejectAddX509RootCert, opts ...grpc.CallOption) (*MsgRejectAddX509RootCertResponse, error) { out := new(MsgRejectAddX509RootCertResponse) - err := c.cc.Invoke(ctx, "/pki.types.Msg/RejectAddX509RootCert", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Msg/RejectAddX509RootCert", in, out, opts...) if err != nil { return nil, err } @@ -1540,7 +1545,7 @@ func (c *msgClient) RejectAddX509RootCert(ctx context.Context, in *MsgRejectAddX func (c *msgClient) AddPkiRevocationDistributionPoint(ctx context.Context, in *MsgAddPkiRevocationDistributionPoint, opts ...grpc.CallOption) (*MsgAddPkiRevocationDistributionPointResponse, error) { out := new(MsgAddPkiRevocationDistributionPointResponse) - err := c.cc.Invoke(ctx, "/pki.types.Msg/AddPkiRevocationDistributionPoint", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Msg/AddPkiRevocationDistributionPoint", in, out, opts...) if err != nil { return nil, err } @@ -1549,7 +1554,7 @@ func (c *msgClient) AddPkiRevocationDistributionPoint(ctx context.Context, in *M func (c *msgClient) UpdatePkiRevocationDistributionPoint(ctx context.Context, in *MsgUpdatePkiRevocationDistributionPoint, opts ...grpc.CallOption) (*MsgUpdatePkiRevocationDistributionPointResponse, error) { out := new(MsgUpdatePkiRevocationDistributionPointResponse) - err := c.cc.Invoke(ctx, "/pki.types.Msg/UpdatePkiRevocationDistributionPoint", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Msg/UpdatePkiRevocationDistributionPoint", in, out, opts...) if err != nil { return nil, err } @@ -1558,7 +1563,7 @@ func (c *msgClient) UpdatePkiRevocationDistributionPoint(ctx context.Context, in func (c *msgClient) DeletePkiRevocationDistributionPoint(ctx context.Context, in *MsgDeletePkiRevocationDistributionPoint, opts ...grpc.CallOption) (*MsgDeletePkiRevocationDistributionPointResponse, error) { out := new(MsgDeletePkiRevocationDistributionPointResponse) - err := c.cc.Invoke(ctx, "/pki.types.Msg/DeletePkiRevocationDistributionPoint", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Msg/DeletePkiRevocationDistributionPoint", in, out, opts...) if err != nil { return nil, err } @@ -1567,7 +1572,7 @@ func (c *msgClient) DeletePkiRevocationDistributionPoint(ctx context.Context, in func (c *msgClient) AssignVid(ctx context.Context, in *MsgAssignVid, opts ...grpc.CallOption) (*MsgAssignVidResponse, error) { out := new(MsgAssignVidResponse) - err := c.cc.Invoke(ctx, "/pki.types.Msg/AssignVid", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.pki.Msg/AssignVid", in, out, opts...) if err != nil { return nil, err } @@ -1641,7 +1646,7 @@ func _Msg_ProposeAddX509RootCert_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pki.types.Msg/ProposeAddX509RootCert", + FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Msg/ProposeAddX509RootCert", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ProposeAddX509RootCert(ctx, req.(*MsgProposeAddX509RootCert)) @@ -1659,7 +1664,7 @@ func _Msg_ApproveAddX509RootCert_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pki.types.Msg/ApproveAddX509RootCert", + FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Msg/ApproveAddX509RootCert", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ApproveAddX509RootCert(ctx, req.(*MsgApproveAddX509RootCert)) @@ -1677,7 +1682,7 @@ func _Msg_AddX509Cert_Handler(srv interface{}, ctx context.Context, dec func(int } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pki.types.Msg/AddX509Cert", + FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Msg/AddX509Cert", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).AddX509Cert(ctx, req.(*MsgAddX509Cert)) @@ -1695,7 +1700,7 @@ func _Msg_ProposeRevokeX509RootCert_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pki.types.Msg/ProposeRevokeX509RootCert", + FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Msg/ProposeRevokeX509RootCert", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ProposeRevokeX509RootCert(ctx, req.(*MsgProposeRevokeX509RootCert)) @@ -1713,7 +1718,7 @@ func _Msg_ApproveRevokeX509RootCert_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pki.types.Msg/ApproveRevokeX509RootCert", + FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Msg/ApproveRevokeX509RootCert", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ApproveRevokeX509RootCert(ctx, req.(*MsgApproveRevokeX509RootCert)) @@ -1731,7 +1736,7 @@ func _Msg_RevokeX509Cert_Handler(srv interface{}, ctx context.Context, dec func( } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pki.types.Msg/RevokeX509Cert", + FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Msg/RevokeX509Cert", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).RevokeX509Cert(ctx, req.(*MsgRevokeX509Cert)) @@ -1749,7 +1754,7 @@ func _Msg_RejectAddX509RootCert_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pki.types.Msg/RejectAddX509RootCert", + FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Msg/RejectAddX509RootCert", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).RejectAddX509RootCert(ctx, req.(*MsgRejectAddX509RootCert)) @@ -1767,7 +1772,7 @@ func _Msg_AddPkiRevocationDistributionPoint_Handler(srv interface{}, ctx context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pki.types.Msg/AddPkiRevocationDistributionPoint", + FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Msg/AddPkiRevocationDistributionPoint", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).AddPkiRevocationDistributionPoint(ctx, req.(*MsgAddPkiRevocationDistributionPoint)) @@ -1785,7 +1790,7 @@ func _Msg_UpdatePkiRevocationDistributionPoint_Handler(srv interface{}, ctx cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pki.types.Msg/UpdatePkiRevocationDistributionPoint", + FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Msg/UpdatePkiRevocationDistributionPoint", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).UpdatePkiRevocationDistributionPoint(ctx, req.(*MsgUpdatePkiRevocationDistributionPoint)) @@ -1803,7 +1808,7 @@ func _Msg_DeletePkiRevocationDistributionPoint_Handler(srv interface{}, ctx cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pki.types.Msg/DeletePkiRevocationDistributionPoint", + FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Msg/DeletePkiRevocationDistributionPoint", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).DeletePkiRevocationDistributionPoint(ctx, req.(*MsgDeletePkiRevocationDistributionPoint)) @@ -1821,7 +1826,7 @@ func _Msg_AssignVid_Handler(srv interface{}, ctx context.Context, dec func(inter } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pki.types.Msg/AssignVid", + FullMethod: "/zigbeealliance.distributedcomplianceledger.pki.Msg/AssignVid", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).AssignVid(ctx, req.(*MsgAssignVid)) @@ -1830,7 +1835,7 @@ func _Msg_AssignVid_Handler(srv interface{}, ctx context.Context, dec func(inter } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "pki.types.Msg", + ServiceName: "zigbeealliance.distributedcomplianceledger.pki.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -1879,7 +1884,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "pki/types/tx.proto", + Metadata: "zigbeealliance/distributedcomplianceledger/pki/tx.proto", } func (m *MsgProposeAddX509RootCert) Marshal() (dAtA []byte, err error) { diff --git a/x/pki/types/unique_certificate.pb.go b/x/pki/types/unique_certificate.pb.go index d602df981..69a745880 100644 --- a/x/pki/types/unique_certificate.pb.go +++ b/x/pki/types/unique_certificate.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pki/types/unique_certificate.proto +// source: zigbeealliance/distributedcomplianceledger/pki/unique_certificate.proto package types @@ -32,7 +32,7 @@ func (m *UniqueCertificate) Reset() { *m = UniqueCertificate{} } func (m *UniqueCertificate) String() string { return proto.CompactTextString(m) } func (*UniqueCertificate) ProtoMessage() {} func (*UniqueCertificate) Descriptor() ([]byte, []int) { - return fileDescriptor_e8d0a359373833f4, []int{0} + return fileDescriptor_59ed78d3487c5a69, []int{0} } func (m *UniqueCertificate) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -83,30 +83,31 @@ func (m *UniqueCertificate) GetPresent() bool { } func init() { - proto.RegisterType((*UniqueCertificate)(nil), "pki.types.UniqueCertificate") + proto.RegisterType((*UniqueCertificate)(nil), "zigbeealliance.distributedcomplianceledger.pki.UniqueCertificate") } func init() { - proto.RegisterFile("pki/types/unique_certificate.proto", fileDescriptor_e8d0a359373833f4) + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/pki/unique_certificate.proto", fileDescriptor_59ed78d3487c5a69) } -var fileDescriptor_e8d0a359373833f4 = []byte{ - // 227 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8f, 0xbd, 0x4e, 0xc3, 0x30, - 0x14, 0x46, 0x63, 0x90, 0x0a, 0xb5, 0x58, 0xc8, 0x80, 0x32, 0x59, 0x55, 0xa6, 0x2e, 0x89, 0x07, - 0xde, 0x00, 0x98, 0x19, 0x2a, 0xb1, 0x30, 0x80, 0x62, 0xe7, 0x12, 0xae, 0x9a, 0xc4, 0xe6, 0xfa, - 0x5a, 0x02, 0x9e, 0x82, 0xc7, 0x62, 0xec, 0xc8, 0x88, 0x92, 0x17, 0x41, 0x32, 0x7f, 0xea, 0xf8, - 0x9d, 0xef, 0x2c, 0x47, 0x96, 0x7e, 0x8b, 0x9a, 0x5f, 0x3c, 0x04, 0x1d, 0x47, 0x7c, 0x8a, 0x70, - 0x6f, 0x81, 0x18, 0x1f, 0xd0, 0x36, 0x0c, 0xb5, 0x27, 0xc7, 0x2e, 0x5f, 0xfa, 0x2d, 0xd6, 0xc9, - 0x29, 0x51, 0x9e, 0xde, 0x24, 0xed, 0xf2, 0xdf, 0xca, 0xcf, 0xe4, 0x02, 0x43, 0x88, 0x40, 0x85, - 0x58, 0x89, 0xf5, 0x72, 0xf3, 0xb3, 0xf2, 0x52, 0x9e, 0x04, 0x20, 0x6c, 0xfa, 0xeb, 0x38, 0x18, - 0xa0, 0xe2, 0x20, 0xbd, 0x7b, 0x2c, 0x2f, 0xe4, 0x91, 0x27, 0x08, 0x30, 0x72, 0x71, 0xb8, 0x12, - 0xeb, 0xe3, 0xcd, 0xef, 0xbc, 0xb8, 0x7b, 0x9f, 0x94, 0xd8, 0x4d, 0x4a, 0x7c, 0x4e, 0x4a, 0xbc, - 0xcd, 0x2a, 0xdb, 0xcd, 0x2a, 0xfb, 0x98, 0x55, 0x76, 0x7b, 0xd5, 0x21, 0x3f, 0x46, 0x53, 0x5b, - 0x37, 0xe8, 0x57, 0xec, 0x0c, 0x40, 0xd5, 0xf4, 0x3d, 0x36, 0xa3, 0x05, 0xdd, 0x62, 0x60, 0x42, - 0x13, 0x19, 0xda, 0xca, 0xba, 0xc1, 0x7f, 0xe3, 0xaa, 0x87, 0xb6, 0x03, 0xd2, 0xcf, 0xfa, 0x2f, - 0xd7, 0x2c, 0x52, 0xdc, 0xf9, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 0xfd, 0x58, 0x12, 0xd8, 0x02, - 0x01, 0x00, 0x00, +var fileDescriptor_59ed78d3487c5a69 = []byte{ + // 242 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xbf, 0x4a, 0xc4, 0x40, + 0x10, 0xc6, 0xb3, 0x0a, 0xa7, 0x2e, 0x36, 0xa6, 0x90, 0x54, 0xcb, 0x71, 0xd5, 0x35, 0xd9, 0x14, + 0xbe, 0x81, 0x0a, 0x76, 0x16, 0x07, 0x36, 0x16, 0x4a, 0x76, 0x33, 0xc6, 0xe1, 0xf2, 0x67, 0x9d, + 0x9d, 0x05, 0xf5, 0x29, 0x7c, 0x2c, 0xcb, 0x2b, 0x2d, 0x25, 0x79, 0x11, 0x61, 0xef, 0xe4, 0x08, + 0x88, 0xe5, 0xf7, 0x0d, 0xfc, 0x98, 0xef, 0x27, 0x6f, 0xde, 0xb1, 0x36, 0x00, 0x65, 0xd3, 0x60, + 0xd9, 0x59, 0x28, 0x2a, 0xf4, 0x4c, 0x68, 0x02, 0x43, 0x65, 0xfb, 0xd6, 0x6d, 0xdb, 0x06, 0xaa, + 0x1a, 0xa8, 0x70, 0x6b, 0x2c, 0x42, 0x87, 0x2f, 0x01, 0x1e, 0x2d, 0x10, 0xe3, 0x13, 0xda, 0x92, + 0x41, 0x3b, 0xea, 0xb9, 0x4f, 0xf5, 0x14, 0xa4, 0xff, 0x01, 0x69, 0xb7, 0xc6, 0x05, 0xca, 0xb3, + 0xbb, 0xc8, 0xba, 0xda, 0xa3, 0xd2, 0x73, 0x39, 0x43, 0xef, 0x03, 0x50, 0x26, 0xe6, 0x62, 0x79, + 0xb2, 0xda, 0xa5, 0x74, 0x21, 0x4f, 0x3d, 0x10, 0x96, 0xcd, 0x6d, 0x68, 0x0d, 0x50, 0x76, 0x10, + 0xaf, 0x93, 0x2e, 0xcd, 0xe4, 0x91, 0x23, 0xf0, 0xd0, 0x71, 0x76, 0x38, 0x17, 0xcb, 0xe3, 0xd5, + 0x6f, 0xbc, 0x7c, 0xf8, 0x1c, 0x94, 0xd8, 0x0c, 0x4a, 0x7c, 0x0f, 0x4a, 0x7c, 0x8c, 0x2a, 0xd9, + 0x8c, 0x2a, 0xf9, 0x1a, 0x55, 0x72, 0x7f, 0x5d, 0x23, 0x3f, 0x07, 0xa3, 0x6d, 0xdf, 0x16, 0xdb, + 0xff, 0xf3, 0xbf, 0x4c, 0xe4, 0xfb, 0x05, 0xf9, 0xce, 0xc5, 0x6b, 0xb4, 0xc1, 0x6f, 0x0e, 0xbc, + 0x99, 0x45, 0x03, 0x17, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xf8, 0x2c, 0x89, 0x85, 0x4c, 0x01, + 0x00, 0x00, } func (m *UniqueCertificate) Marshal() (dAtA []byte, err error) { diff --git a/x/validator/types/description.pb.go b/x/validator/types/description.pb.go index 991686100..8d3d76e57 100644 --- a/x/validator/types/description.pb.go +++ b/x/validator/types/description.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: validator/types/description.proto +// source: zigbeealliance/distributedcomplianceledger/validator/description.proto package types @@ -37,7 +37,7 @@ type Description struct { func (m *Description) Reset() { *m = Description{} } func (*Description) ProtoMessage() {} func (*Description) Descriptor() ([]byte, []int) { - return fileDescriptor_b1779b7fa53dde10, []int{0} + return fileDescriptor_2ad296d0157123cf, []int{0} } func (m *Description) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -95,29 +95,32 @@ func (m *Description) GetDetails() string { } func init() { - proto.RegisterType((*Description)(nil), "validator.types.Description") + proto.RegisterType((*Description)(nil), "zigbeealliance.distributedcomplianceledger.validator.Description") } -func init() { proto.RegisterFile("validator/types/description.proto", fileDescriptor_b1779b7fa53dde10) } +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/validator/description.proto", fileDescriptor_2ad296d0157123cf) +} -var fileDescriptor_b1779b7fa53dde10 = []byte{ - // 253 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x90, 0xb1, 0x4e, 0xc3, 0x30, - 0x10, 0x86, 0x63, 0x40, 0x50, 0xc2, 0x80, 0x14, 0x31, 0x58, 0x1d, 0x5c, 0x60, 0x62, 0x49, 0x3c, - 0xb0, 0x31, 0x22, 0x26, 0x46, 0x46, 0x36, 0x3b, 0x3e, 0x99, 0x13, 0x4e, 0x1c, 0xd9, 0x57, 0xa0, - 0x6c, 0xbc, 0x01, 0x23, 0x63, 0x1f, 0x87, 0xb1, 0x23, 0x23, 0x4a, 0x16, 0x1e, 0x03, 0x25, 0x29, - 0x45, 0xea, 0x76, 0xdf, 0x7d, 0xff, 0x3f, 0xdc, 0xa5, 0x67, 0x4f, 0xca, 0xa1, 0x51, 0xe4, 0x83, - 0xa4, 0x45, 0x03, 0x51, 0x1a, 0x88, 0x65, 0xc0, 0x86, 0xd0, 0xd7, 0x45, 0x13, 0x3c, 0xf9, 0xec, - 0x78, 0x13, 0x29, 0x86, 0xc8, 0xf4, 0xc4, 0x7a, 0xeb, 0x07, 0x27, 0xfb, 0x69, 0x8c, 0x9d, 0xbf, - 0xb1, 0xf4, 0xe8, 0xe6, 0xbf, 0x9c, 0xf1, 0xf4, 0xa0, 0xf2, 0x35, 0x3e, 0x42, 0xe0, 0xec, 0x94, - 0x5d, 0x1c, 0xde, 0xfd, 0x61, 0x36, 0x4d, 0x27, 0x68, 0xa0, 0x26, 0xa4, 0x05, 0xdf, 0x19, 0xd4, - 0x86, 0xfb, 0xd6, 0x33, 0xe8, 0x88, 0x04, 0x7c, 0x77, 0x6c, 0xad, 0xb1, 0x37, 0x06, 0x48, 0xa1, - 0x8b, 0x7c, 0x6f, 0x34, 0x6b, 0xbc, 0x9a, 0x7c, 0x2c, 0x67, 0xc9, 0xcf, 0x72, 0xc6, 0xae, 0xcd, - 0x67, 0x2b, 0xd8, 0xaa, 0x15, 0xec, 0xbb, 0x15, 0xec, 0xbd, 0x13, 0xc9, 0xaa, 0x13, 0xc9, 0x57, - 0x27, 0x92, 0xfb, 0x5b, 0x8b, 0xf4, 0x30, 0xd7, 0x45, 0xe9, 0x2b, 0xf9, 0x8a, 0x56, 0x03, 0xe4, - 0xca, 0x39, 0x54, 0x75, 0x09, 0xd2, 0x60, 0xa4, 0x80, 0x7a, 0x4e, 0x60, 0xf2, 0xd2, 0x57, 0xcd, - 0xb8, 0xce, 0x1d, 0x18, 0x0b, 0x41, 0xbe, 0xc8, 0xad, 0x17, 0xe9, 0xfd, 0xe1, 0xe0, 0xcb, 0xdf, - 0x00, 0x00, 0x00, 0xff, 0xff, 0x15, 0xfb, 0xe0, 0xe8, 0x3c, 0x01, 0x00, 0x00, +var fileDescriptor_2ad296d0157123cf = []byte{ + // 268 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x72, 0xab, 0xca, 0x4c, 0x4f, + 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4f, 0xc9, 0x2c, 0x2e, 0x29, + 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, + 0xa7, 0x16, 0xe9, 0x97, 0x25, 0xe6, 0x64, 0xa6, 0x24, 0x96, 0xe4, 0x17, 0xe9, 0xa7, 0xa4, 0x16, + 0x27, 0x17, 0x65, 0x16, 0x94, 0x64, 0xe6, 0xe7, 0xe9, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, 0x99, + 0xa0, 0x9a, 0xa3, 0x87, 0xc7, 0x1c, 0x3d, 0xb8, 0x39, 0x52, 0x22, 0xe9, 0xf9, 0xe9, 0xf9, 0x60, + 0x03, 0xf4, 0x41, 0x2c, 0x88, 0x59, 0x4a, 0x8d, 0x8c, 0x5c, 0xdc, 0x2e, 0x08, 0x1b, 0x84, 0x24, + 0xb8, 0xd8, 0x73, 0xf3, 0xf3, 0x32, 0xb3, 0x53, 0x8b, 0x24, 0x18, 0x15, 0x18, 0x35, 0x38, 0x83, + 0x60, 0x5c, 0x21, 0x29, 0x2e, 0x8e, 0xcc, 0x94, 0xd4, 0xbc, 0x92, 0xcc, 0x92, 0x4a, 0x09, 0x26, + 0xb0, 0x14, 0x9c, 0x0f, 0xd2, 0x55, 0x9e, 0x9a, 0x54, 0x9c, 0x59, 0x92, 0x2a, 0xc1, 0x0c, 0xd1, + 0x05, 0xe5, 0x82, 0x64, 0x52, 0x52, 0x4b, 0x12, 0x33, 0x73, 0x8a, 0x25, 0x58, 0x20, 0x32, 0x50, + 0xae, 0x15, 0xc7, 0x8c, 0x05, 0xf2, 0x0c, 0x2f, 0x16, 0xc8, 0x33, 0x3a, 0xa5, 0x9c, 0x78, 0x24, + 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, + 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x57, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, + 0x72, 0x7e, 0xae, 0x3e, 0xc4, 0xd3, 0xba, 0xd8, 0x42, 0x4f, 0x17, 0xe1, 0x6d, 0x5d, 0x68, 0xf8, + 0x55, 0x20, 0x85, 0x60, 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0xd8, 0xc3, 0xc6, 0x80, 0x00, + 0x00, 0x00, 0xff, 0xff, 0xd0, 0x24, 0x4c, 0xf4, 0x86, 0x01, 0x00, 0x00, } func (this *Description) Equal(that interface{}) bool { diff --git a/x/validator/types/disabled_validator.pb.go b/x/validator/types/disabled_validator.pb.go index cd7427de6..dc9f12965 100644 --- a/x/validator/types/disabled_validator.pb.go +++ b/x/validator/types/disabled_validator.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: validator/types/disabled_validator.proto +// source: zigbeealliance/distributedcomplianceledger/validator/disabled_validator.proto package types @@ -35,7 +35,7 @@ func (m *DisabledValidator) Reset() { *m = DisabledValidator{} } func (m *DisabledValidator) String() string { return proto.CompactTextString(m) } func (*DisabledValidator) ProtoMessage() {} func (*DisabledValidator) Descriptor() ([]byte, []int) { - return fileDescriptor_ec54050e6a8ccf12, []int{0} + return fileDescriptor_ad0ec23eb7309c10, []int{0} } func (m *DisabledValidator) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -100,35 +100,36 @@ func (m *DisabledValidator) GetRejects() []*Grant { } func init() { - proto.RegisterType((*DisabledValidator)(nil), "validator.types.DisabledValidator") + proto.RegisterType((*DisabledValidator)(nil), "zigbeealliance.distributedcomplianceledger.validator.DisabledValidator") } func init() { - proto.RegisterFile("validator/types/disabled_validator.proto", fileDescriptor_ec54050e6a8ccf12) + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/validator/disabled_validator.proto", fileDescriptor_ad0ec23eb7309c10) } -var fileDescriptor_ec54050e6a8ccf12 = []byte{ - // 318 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xc1, 0x4a, 0xc3, 0x30, - 0x18, 0xc7, 0xd7, 0x4d, 0x9d, 0x8b, 0x07, 0xb1, 0x8a, 0xc4, 0x09, 0x61, 0x78, 0xea, 0xa5, 0xcd, - 0x98, 0xbe, 0xc0, 0x86, 0x20, 0x78, 0xf0, 0x30, 0xc1, 0x83, 0x97, 0x91, 0x26, 0x1f, 0x35, 0x92, - 0x36, 0x25, 0xc9, 0x86, 0xf3, 0x29, 0xbc, 0xf8, 0x26, 0x3e, 0x84, 0xc7, 0xe1, 0xc9, 0xa3, 0x6c, - 0x2f, 0x22, 0x5d, 0x57, 0x07, 0x43, 0xf4, 0x98, 0xef,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x48, 0xed, 0x73, - 0x41, 0x6a, 0xf7, 0xd7, 0x89, 0x74, 0x0f, 0xe3, 0x38, 0xe2, 0x3a, 0xa5, 0xcf, 0x32, 0x89, 0x01, - 0x42, 0xa6, 0x94, 0x64, 0x19, 0x87, 0x22, 0x2f, 0x67, 0x64, 0x3c, 0x76, 0x20, 0x42, 0xae, 0xd3, - 0xbc, 0x2c, 0x87, 0x0a, 0x44, 0x02, 0x86, 0x3e, 0xd1, 0x8d, 0x24, 0xe2, 0x9d, 0x65, 0x08, 0xe7, - 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x62, 0x4a, 0x98, 0x56, 0xf9, 0x01, 0x00, 0x00, +var fileDescriptor_ad0ec23eb7309c10 = []byte{ + // 333 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x91, 0x31, 0x4b, 0xc3, 0x40, + 0x18, 0x86, 0x9b, 0x56, 0xad, 0x8d, 0x93, 0xd1, 0x21, 0x76, 0x08, 0xc5, 0xa9, 0x4b, 0x2e, 0x52, + 0xdd, 0x5c, 0x6c, 0x11, 0x04, 0x41, 0x87, 0x8a, 0x82, 0x2e, 0xe5, 0x72, 0xf7, 0x11, 0x4f, 0x2e, + 0xb9, 0x70, 0x77, 0x2d, 0xd6, 0x5f, 0xe1, 0x8f, 0xf1, 0x47, 0x38, 0x16, 0x27, 0x37, 0xa5, 0xf9, + 0x23, 0x92, 0x5e, 0xd2, 0x2a, 0x14, 0x85, 0x3a, 0xe6, 0xfb, 0xde, 0xf7, 0xf9, 0xde, 0xdc, 0x6b, + 0x5f, 0x3c, 0xb1, 0x28, 0x04, 0xc0, 0x9c, 0x33, 0x9c, 0x10, 0x08, 0x28, 0x53, 0x5a, 0xb2, 0x70, + 0xa8, 0x81, 0x12, 0x11, 0xa7, 0x66, 0xca, 0x81, 0x46, 0x20, 0x83, 0x11, 0xe6, 0x8c, 0x62, 0x2d,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0x22, 0x0e, 0xcc, 0x25, 0x7f, 0x59, 0x93, 0xfe, 0xe2, + 0x96, 0x5f, 0x74, 0xf9, 0xf8, 0xad, 0x4d, 0x3d, 0x4e, 0x41, 0x85, 0x1b, 0xb3, 0x3a, 0x0f, 0xbf, + 0x02, 0x00, 0x00, 0xff, 0xff, 0x37, 0x1f, 0xa8, 0x9f, 0xb2, 0x02, 0x00, 0x00, } func (m *DisabledValidator) Marshal() (dAtA []byte, err error) { diff --git a/x/validator/types/genesis.pb.go b/x/validator/types/genesis.pb.go index e067f404b..e8a45a1f5 100644 --- a/x/validator/types/genesis.pb.go +++ b/x/validator/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: validator/types/genesis.proto +// source: zigbeealliance/distributedcomplianceledger/validator/genesis.proto package types @@ -36,7 +36,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} } func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_f66af4485373cdcb, []int{0} + return fileDescriptor_9c20c3934fbc6f83, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -101,37 +101,40 @@ func (m *GenesisState) GetRejectedValidatorList() []RejectedDisableValidator { } func init() { - proto.RegisterType((*GenesisState)(nil), "validator.types.GenesisState") + proto.RegisterType((*GenesisState)(nil), "zigbeealliance.distributedcomplianceledger.validator.GenesisState") } -func init() { proto.RegisterFile("validator/types/genesis.proto", fileDescriptor_f66af4485373cdcb) } +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/validator/genesis.proto", fileDescriptor_9c20c3934fbc6f83) +} -var fileDescriptor_f66af4485373cdcb = []byte{ - // 370 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xcd, 0x4a, 0xf3, 0x40, - 0x18, 0x85, 0x93, 0xaf, 0xfd, 0x5c, 0x8c, 0x8a, 0x10, 0xac, 0x48, 0xd1, 0x54, 0xea, 0xa6, 0x0a, - 0x4d, 0x44, 0xef, 0xa0, 0x14, 0x05, 0xe9, 0xa2, 0x54, 0xe8, 0xc2, 0x85, 0x61, 0x92, 0x79, 0x89, - 0x23, 0x69, 0x27, 0x64, 0xa6, 0xfe, 0x5d, 0x85, 0x97, 0xd5, 0x65, 0x97, 0xae, 0x44, 0xda, 0x6b, - 0x70, 0x2f, 0x99, 0xfc, 0x48, 0x26, 0x8d, 0xee, 0x26, 0x33, 0xcf, 0x39, 0x27, 0x73, 0xe6, 0x45, - 0x87, 0x8f, 0x38, 0xa0, 0x04, 0x0b, 0x16, 0xd9, 0xe2, 0x25, 0x04, 0x6e, 0xfb, 0x30, 0x05, 0x4e, - 0xb9, 0x15, 0x46, 0x4c, 0x30, 0x63, 0x27, 0x3f, 0xb6, 0xe4, 0x71, 0xb3, 0xa5, 0xf2, 0x3f, 0x80, - 0x54, 0x34, 0x4f, 0x55, 0x20, 0xc0, 0x5c, 0x38, 0xf9, 0xa6, 0x13, 0xb2, 0x27, 0xc8, 0xd8, 0x33, - 0x95, 0x0d, 0x23, 0x16, 0x32, 0x0e, 0xc4, 0x21, 0x94, 0x63, 0x37, 0x00, 0x47, 0x75, 0xef, 0xa8, - 0x8a, 0x14, 0x24, 0x7f, 0x93, 0x11, 0x3c, 0x80, 0x27, 0xd6, 0x90, 0xbb, 0x3e, 0xf3, 0x99, 0x5c, - 0xda, 0xf1, 0x2a, 0xd9, 0x6d, 0x7f, 0xd5, 0xd0, 0xd6, 0x55, 0xd2, 0xc5, 0x8d, 0xc0, 0x02, 0x8c, - 0x4b, 0xb4, 0x9d, 0x2b, 0x07, 0x94, 0x8b, 0x7d, 0xfd, 0xa8, 0xd6, 0xd9, 0x3c, 0x6f, 0x5a, 0x4a, - 0x45, 0xd6, 0x38, 0xfb, 0xee, 0xd5, 0xe7, 0x1f, 0x2d, 0x6d, 0x54, 0x94, 0x19, 0x18, 0xed, 0xc5, - 0x95, 0xe4, 0xd4, 0x30, 0x2e, 0x44, 0x1a, 0xfe, 0x93, 0x86, 0xc7, 0x25, 0xc3, 0x41, 0x09, 0x4f, - 0x9d, 0x2b, 0x8c, 0x0c, 0x8e, 0x0e, 0xb2, 0x26, 0xfb, 0x49, 0x3f, 0xe3, 0xc2, 0x9f, 0xd7, 0x64, - 0xd0, 0x49, 0x29, 0x68, 0x58, 0x21, 0x4a, 0xe3, 0x7e, 0x35, 0x35, 0xee, 0x50, 0x23, 0x7b, 0x8c, - 0x62, 0x5a, 0x5d, 0xa6, 0xb5, 0x4b, 0x69, 0x7d, 0x95, 0x4e, 0x63, 0xd6, 0xdb, 0x18, 0x80, 0x1a, - 0xd9, 0x13, 0x16, 0xfd, 0xff, 0x57, 0xdc, 0x66, 0x94, 0xd2, 0x15, 0xb7, 0x59, 0xef, 0xd6, 0x23, - 0xf3, 0xa5, 0xa9, 0x2f, 0x96, 0xa6, 0xfe, 0xb9, 0x34, 0xf5, 0xb7, 0x95, 0xa9, 0x2d, 0x56, 0xa6, - 0xf6, 0xbe, 0x32, 0xb5, 0xdb, 0x6b, 0x9f, 0x8a, 0xfb, 0x99, 0x6b, 0x79, 0x6c, 0x62, 0xbf, 0x52, - 0xdf, 0x05, 0xe8, 0xe2, 0x20, 0xa0, 0x78, 0xea, 0x41, 0x3c, 0x86, 0x22, 0xa2, 0xee, 0x4c, 0x00, - 0xe9, 0x7a, 0x6c, 0x12, 0x26, 0xdb, 0xdd, 0x00, 0x88, 0x0f, 0x91, 0xfd, 0x6c, 0x2b, 0xc3, 0xe8, - 0x6e, 0xc8, 0x21, 0xbb, 0xf8, 0x0e, 0x00, 0x00, 0xff, 0xff, 0xef, 0x44, 0xa4, 0x03, 0x7f, 0x03, - 0x00, 0x00, +var fileDescriptor_9c20c3934fbc6f83 = []byte{ + // 393 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x93, 0x3d, 0x4b, 0xc3, 0x40, + 0x18, 0xc7, 0x73, 0xb6, 0x75, 0x88, 0xba, 0x04, 0x2b, 0x52, 0x24, 0x8a, 0x93, 0x4b, 0x13, 0x50, + 0x77, 0xa1, 0x14, 0x2a, 0x52, 0xb5, 0x54, 0xec, 0xe0, 0x12, 0x2e, 0xb9, 0x87, 0x78, 0x9a, 0xf6, + 0x42, 0xee, 0xea, 0xdb, 0x2a, 0x38, 0x38, 0x39, 0xfa, 0x39, 0xfc, 0x14, 0x1d, 0x3b, 0x3a, 0x89, + 0xb4, 0x5f, 0x44, 0x9a, 0x37, 0x4d, 0x4d, 0x3b, 0x9c, 0x6e, 0x4f, 0x8f, 0xe6, 0xf7, 0xff, 0xf1, + 0xbc, 0xa8, 0xb5, 0x07, 0xea, 0xda, 0x00, 0xd8, 0xf3, 0x28, 0xee, 0x39, 0x60, 0x12, 0xca, 0x45, + 0x40, 0xed, 0xbe, 0x00, 0xe2, 0xb0, 0xae, 0x1f, 0xbd, 0x7a, 0x40, 0x5c, 0x08, 0xcc, 0x1b, 0xec, + 0x51, 0x82, 0x05, 0x0b, 0x4c, 0x17, 0x7a, 0xc0, 0x29, 0x37, 0xfc, 0x80, 0x09, 0xa6, 0xed, 0x67, + 0x19, 0xc6, 0x1c, 0x86, 0x91, 0x32, 0x2a, 0x75, 0xa9, 0xe4, 0xb4, 0x8a, 0xb2, 0x2b, 0xa7, 0x52, + 0x14, 0x0f, 0x73, 0x61, 0xa5, 0x3f, 0x2d, 0x9f, 0xdd, 0x42, 0x02, 0x3c, 0x97, 0x02, 0xfa, 0x01, + 0xf3, 0x19, 0x07, 0x62, 0x11, 0xca, 0xb1, 0xed, 0x81, 0x35, 0xed, 0x79, 0x2c, 0x85, 0x8d, 0x69, + 0xe4, 0x9f, 0x70, 0x01, 0x5c, 0x81, 0x23, 0x72, 0x70, 0xab, 0x2e, 0x73, 0x59, 0x58, 0x9a, 0x93, + 0x2a, 0x7a, 0xdd, 0x7e, 0x2b, 0xa9, 0xcb, 0x8d, 0x68, 0xd2, 0x67, 0x02, 0x0b, 0xd0, 0xae, 0xd5, + 0x95, 0xf4, 0xcb, 0x26, 0xe5, 0x62, 0x1d, 0x6d, 0x15, 0x76, 0x96, 0x76, 0x0f, 0x0c, 0x99, 0x05, + 0x30, 0x3a, 0x49, 0x55, 0x2b, 0x0e, 0x3e, 0x36, 0x95, 0x76, 0x96, 0xad, 0x3d, 0x21, 0x75, 0x6d, + 0x32, 0xa7, 0xf4, 0x6f, 0xad, 0xc9, 0x94, 0xc2, 0xd8, 0x85, 0x30, 0xf6, 0x50, 0x2e, 0xb6, 0xf9, + 0x8b, 0x19, 0xe7, 0xcf, 0x48, 0xd3, 0x5e, 0x91, 0xba, 0x91, 0xcc, 0xb7, 0x1e, 0x0d, 0xa4, 0x93, + 0xe9, 0x42, 0x21, 0xd4, 0x39, 0x91, 0xd3, 0x69, 0xcd, 0x20, 0xc7, 0x52, 0x73, 0x93, 0xb5, 0x47, + 0xa4, 0x96, 0x93, 0x1d, 0xc9, 0x3a, 0x15, 0x43, 0xa7, 0x86, 0x9c, 0x53, 0x7d, 0x1a, 0x19, 0xcb, + 0xe4, 0x67, 0x69, 0xcf, 0x48, 0x2d, 0x27, 0xab, 0x95, 0xb5, 0x28, 0xfd, 0xa5, 0x33, 0xed, 0x18, + 0x39, 0xa3, 0x33, 0xf9, 0x91, 0x35, 0x32, 0x18, 0xe9, 0x68, 0x38, 0xd2, 0xd1, 0xe7, 0x48, 0x47, + 0x2f, 0x63, 0x5d, 0x19, 0x8e, 0x75, 0xe5, 0x7d, 0xac, 0x2b, 0x17, 0x47, 0x2e, 0x15, 0x97, 0x7d, + 0xdb, 0x70, 0x58, 0xd7, 0x8c, 0x84, 0xaa, 0x79, 0xf7, 0x53, 0xfd, 0x56, 0xaa, 0xc6, 0x17, 0x74, + 0xf7, 0xe3, 0x86, 0xc4, 0xbd, 0x0f, 0xdc, 0x5e, 0x0c, 0x2f, 0x64, 0xef, 0x2b, 0x00, 0x00, 0xff, + 0xff, 0x1d, 0xb3, 0x3d, 0x53, 0x3f, 0x05, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/validator/types/grant.pb.go b/x/validator/types/grant.pb.go index e9b8438c0..f944d8677 100644 --- a/x/validator/types/grant.pb.go +++ b/x/validator/types/grant.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: validator/types/grant.proto +// source: zigbeealliance/distributedcomplianceledger/validator/grant.proto package types @@ -33,7 +33,7 @@ func (m *Grant) Reset() { *m = Grant{} } func (m *Grant) String() string { return proto.CompactTextString(m) } func (*Grant) ProtoMessage() {} func (*Grant) Descriptor() ([]byte, []int) { - return fileDescriptor_a8c632e2a335c07e, []int{0} + return fileDescriptor_8991a374e1961121, []int{0} } func (m *Grant) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -84,29 +84,31 @@ func (m *Grant) GetInfo() string { } func init() { - proto.RegisterType((*Grant)(nil), "validator.types.Grant") + proto.RegisterType((*Grant)(nil), "zigbeealliance.distributedcomplianceledger.validator.Grant") } -func init() { proto.RegisterFile("validator/types/grant.proto", fileDescriptor_a8c632e2a335c07e) } +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/validator/grant.proto", fileDescriptor_8991a374e1961121) +} -var fileDescriptor_a8c632e2a335c07e = []byte{ - // 241 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2e, 0x4b, 0xcc, 0xc9, - 0x4c, 0x49, 0x2c, 0xc9, 0x2f, 0xd2, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x4f, 0x2f, 0x4a, 0xcc, - 0x2b, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 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, 0xb1, - 0x81, 0x7d, 0x64, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x1b, 0xe8, 0xd7, 0x6b, 0x1c, 0x01, 0x00, - 0x00, +var fileDescriptor_8991a374e1961121 = []byte{ + // 253 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x72, 0xa8, 0xca, 0x4c, 0x4f, + 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4f, 0xc9, 0x2c, 0x2e, 0x29, + 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, + 0xa7, 0x16, 0xe9, 0x97, 0x25, 0xe6, 0x64, 0xa6, 0x24, 0x96, 0xe4, 0x17, 0xe9, 0xa7, 0x17, 0x25, + 0xe6, 0x95, 0xe8, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, 0x99, 0xa0, 0x9a, 0xa0, 0x87, 0xc7, 0x04, + 0x3d, 0xb8, 0x09, 0x52, 0x92, 0xc9, 0xf9, 0xc5, 0xb9, 0xf9, 0xc5, 0xf1, 0x60, 0x33, 0xf4, 0x21, + 0x1c, 0x88, 0x81, 0x4a, 0xc9, 0x5c, 0xac, 0xee, 0x20, 0xf3, 0x85, 0x8c, 0xb8, 0xd8, 0x13, 0x53, + 0x52, 0x8a, 0x52, 0x8b, 0x8b, 0x25, 0x18, 0x15, 0x18, 0x35, 0x38, 0x9d, 0x24, 0x2e, 0x6d, 0xd1, + 0x15, 0x81, 0xaa, 0x75, 0x84, 0xc8, 0x04, 0x97, 0x14, 0x65, 0xe6, 0xa5, 0x07, 0xc1, 0x14, 0x0a, + 0x09, 0x71, 0xb1, 0x94, 0x64, 0xe6, 0xa6, 0x4a, 0x30, 0x29, 0x30, 0x6a, 0x30, 0x07, 0x81, 0xd9, + 0x20, 0xb1, 0xcc, 0xbc, 0xb4, 0x7c, 0x09, 0x66, 0x90, 0x21, 0x41, 0x60, 0xb6, 0x53, 0xca, 0x89, + 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, + 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x79, 0xa5, 0x67, 0x96, 0x64, 0x94, 0x26, + 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x43, 0xbc, 0xa6, 0x8b, 0x2d, 0x74, 0x74, 0x11, 0x9e, 0xd3, 0x85, + 0x86, 0x4f, 0x05, 0x52, 0x08, 0x95, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0x7d, 0x64, 0x0c, + 0x08, 0x00, 0x00, 0xff, 0xff, 0x9f, 0xa9, 0xc7, 0x85, 0x66, 0x01, 0x00, 0x00, } func (m *Grant) Marshal() (dAtA []byte, err error) { diff --git a/x/validator/types/last_validator_power.pb.go b/x/validator/types/last_validator_power.pb.go index 52e8b90bf..1841b0f21 100644 --- a/x/validator/types/last_validator_power.pb.go +++ b/x/validator/types/last_validator_power.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: validator/types/last_validator_power.proto +// source: zigbeealliance/distributedcomplianceledger/validator/last_validator_power.proto package types @@ -32,7 +32,7 @@ type LastValidatorPower struct { func (m *LastValidatorPower) Reset() { *m = LastValidatorPower{} } func (*LastValidatorPower) ProtoMessage() {} func (*LastValidatorPower) Descriptor() ([]byte, []int) { - return fileDescriptor_5df33c5cbbad925f, []int{0} + return fileDescriptor_9fb3d0fe36b404c9, []int{0} } func (m *LastValidatorPower) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -62,32 +62,33 @@ func (m *LastValidatorPower) XXX_DiscardUnknown() { var xxx_messageInfo_LastValidatorPower proto.InternalMessageInfo func init() { - proto.RegisterType((*LastValidatorPower)(nil), "validator.types.LastValidatorPower") + proto.RegisterType((*LastValidatorPower)(nil), "zigbeealliance.distributedcomplianceledger.validator.LastValidatorPower") } func init() { - proto.RegisterFile("validator/types/last_validator_power.proto", fileDescriptor_5df33c5cbbad925f) + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/validator/last_validator_power.proto", fileDescriptor_9fb3d0fe36b404c9) } -var fileDescriptor_5df33c5cbbad925f = []byte{ - // 270 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x2a, 0x4b, 0xcc, 0xc9, - 0x4c, 0x49, 0x2c, 0xc9, 0x2f, 0xd2, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0xcf, 0x49, 0x2c, 0x2e, - 0x89, 0x87, 0x0b, 0xc6, 0x17, 0xe4, 0x97, 0xa7, 0x16, 0xe9, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, - 0xf1, 0xc3, 0x85, 0xf5, 0xc0, 0x6a, 0xa5, 0x44, 0xd2, 0xf3, 0xd3, 0xf3, 0xc1, 0x72, 0xfa, 0x20, - 0x16, 0x44, 0x99, 0x94, 0x64, 0x72, 0x7e, 0x71, 0x6e, 0x7e, 0x71, 0x3c, 0x44, 0x02, 0xc2, 0x81, - 0x48, 0x29, 0x65, 0x70, 0x09, 0xf9, 0x24, 0x16, 0x97, 0x84, 0xc1, 0xcc, 0x09, 0x00, 0x99, 0x2e, - 0xa4, 0xc7, 0xc5, 0x9a, 0x5f, 0x9e, 0x97, 0x5a, 0x24, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0xe9, 0x24, - 0x71, 0x69, 0x8b, 0xae, 0x08, 0x54, 0x9b, 0x63, 0x4a, 0x4a, 0x51, 0x6a, 0x71, 0x71, 0x70, 0x49, - 0x51, 0x66, 0x5e, 0x7a, 0x10, 0x44, 0x99, 0x90, 0x08, 0x17, 0x2b, 0xd8, 0x59, 0x12, 0x4c, 0x0a, - 0x8c, 0x1a, 0xac, 0x41, 0x10, 0x8e, 0x15, 0x4f, 0xc7, 0x02, 0x79, 0x86, 0x19, 0x0b, 0xe4, 0x19, - 0x5e, 0x2c, 0x90, 0x67, 0x70, 0x4a, 0x39, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, - 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, - 0x28, 0xaf, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0xfd, 0xaa, 0xcc, 0xf4, - 0xa4, 0xd4, 0x54, 0xdd, 0xc4, 0x9c, 0x9c, 0xcc, 0xc4, 0xbc, 0xe4, 0x54, 0xfd, 0x94, 0xcc, 0xe2, - 0x92, 0xa2, 0xcc, 0xa4, 0xd2, 0x92, 0xd4, 0x14, 0xdd, 0xe4, 0xfc, 0xdc, 0x02, 0x88, 0xb0, 0x6e, - 0x4e, 0x6a, 0x4a, 0x7a, 0x6a, 0x91, 0x7e, 0x85, 0x3e, 0x5a, 0x60, 0x25, 0xb1, 0x81, 0xbd, 0x65, - 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x08, 0x16, 0x2b, 0x04, 0x46, 0x01, 0x00, 0x00, +var fileDescriptor_9fb3d0fe36b404c9 = []byte{ + // 282 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xf2, 0xaf, 0xca, 0x4c, 0x4f, + 0x4a, 0x4d, 0x4d, 0xcc, 0xc9, 0xc9, 0x4c, 0xcc, 0x4b, 0x4e, 0xd5, 0x4f, 0xc9, 0x2c, 0x2e, 0x29, + 0xca, 0x4c, 0x2a, 0x2d, 0x49, 0x4d, 0x49, 0xce, 0xcf, 0x2d, 0x80, 0x88, 0xe6, 0xa4, 0xa6, 0xa4, + 0xa7, 0x16, 0xe9, 0x97, 0x25, 0xe6, 0x64, 0xa6, 0x24, 0x96, 0xe4, 0x17, 0xe9, 0xe7, 0x24, 0x16, + 0x97, 0xc4, 0xc3, 0xb9, 0xf1, 0x05, 0xf9, 0xe5, 0xa9, 0x45, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, + 0x42, 0x26, 0xa8, 0x06, 0xea, 0xe1, 0x31, 0x50, 0x0f, 0x6e, 0x82, 0x94, 0x48, 0x7a, 0x7e, 0x7a, + 0x3e, 0xd8, 0x00, 0x7d, 0x10, 0x0b, 0x62, 0x96, 0x94, 0x64, 0x72, 0x7e, 0x71, 0x6e, 0x7e, 0x71, + 0x3c, 0x44, 0x02, 0xc2, 0x81, 0x48, 0x29, 0x65, 0x70, 0x09, 0xf9, 0x24, 0x16, 0x97, 0x84, 0xc1, + 0x4c, 0x08, 0x00, 0x39, 0x41, 0x48, 0x8f, 0x8b, 0x35, 0xbf, 0x3c, 0x2f, 0xb5, 0x48, 0x82, 0x51, + 0x81, 0x51, 0x83, 0xd3, 0x49, 0xe2, 0xd2, 0x16, 0x5d, 0x11, 0xa8, 0x36, 0xc7, 0x94, 0x94, 0xa2, + 0xd4, 0xe2, 0xe2, 0xe0, 0x92, 0xa2, 0xcc, 0xbc, 0xf4, 0x20, 0x88, 0x32, 0x21, 0x11, 0x2e, 0x56, + 0xb0, 0xdb, 0x25, 0x98, 0x14, 0x18, 0x35, 0x58, 0x83, 0x20, 0x1c, 0x2b, 0x9e, 0x8e, 0x05, 0xf2, + 0x0c, 0x33, 0x16, 0xc8, 0x33, 0xbc, 0x58, 0x20, 0xcf, 0xe0, 0x94, 0x72, 0xe2, 0x91, 0x1c, 0xe3, + 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x4e, 0x78, 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, + 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0x5e, 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, + 0xb9, 0xfa, 0x10, 0x5f, 0xeb, 0x62, 0x0b, 0x47, 0x5d, 0x84, 0xbf, 0x75, 0xa1, 0x21, 0x59, 0x81, + 0x14, 0x96, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0x60, 0x6f, 0x19, 0x03, 0x02, 0x00, 0x00, + 0xff, 0xff, 0xdf, 0x44, 0x3d, 0x14, 0x90, 0x01, 0x00, 0x00, } func (m *LastValidatorPower) Marshal() (dAtA []byte, err error) { diff --git a/x/validator/types/proposed_disable_validator.pb.go b/x/validator/types/proposed_disable_validator.pb.go index e9c0a4dc9..73aa60b09 100644 --- a/x/validator/types/proposed_disable_validator.pb.go +++ b/x/validator/types/proposed_disable_validator.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: validator/types/proposed_disable_validator.proto +// source: zigbeealliance/distributedcomplianceledger/validator/proposed_disable_validator.proto package types @@ -34,7 +34,7 @@ func (m *ProposedDisableValidator) Reset() { *m = ProposedDisableValidat func (m *ProposedDisableValidator) String() string { return proto.CompactTextString(m) } func (*ProposedDisableValidator) ProtoMessage() {} func (*ProposedDisableValidator) Descriptor() ([]byte, []int) { - return fileDescriptor_42352dab5ffe7470, []int{0} + return fileDescriptor_f9591474ec756c15, []int{0} } func (m *ProposedDisableValidator) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -92,34 +92,35 @@ func (m *ProposedDisableValidator) GetRejects() []*Grant { } func init() { - proto.RegisterType((*ProposedDisableValidator)(nil), "validator.types.ProposedDisableValidator") + proto.RegisterType((*ProposedDisableValidator)(nil), "zigbeealliance.distributedcomplianceledger.validator.ProposedDisableValidator") } func init() { - proto.RegisterFile("validator/types/proposed_disable_validator.proto", fileDescriptor_42352dab5ffe7470) + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/validator/proposed_disable_validator.proto", fileDescriptor_f9591474ec756c15) } -var fileDescriptor_42352dab5ffe7470 = []byte{ - // 301 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xc1, 0x4a, 0x03, 0x31, - 0x10, 0x86, 0x1b, 0x2b, 0x96, 0xae, 0x07, 0x61, 0x11, 0x89, 0x15, 0x42, 0xf1, 0xd4, 0xcb, 0x6e, - 0x4a, 0xf5, 0x05, 0x2c, 0x82, 0xe0, 0x49, 0x2a, 0x78, 0xf0, 0x52, 0xb2, 0xc9, 0xb0, 0x46, 0xd2, - 0x26, 0x24, 0x69, 0x51, 0x9f, 0xc2, 0x87, 0xf1, 0x21, 0x3c, 0x16, 0x4f, 0x1e, 0xa5, 0xbd, 0xf9, - 0x14, 0xb2, 0x9b, 0x5d, 0x0b, 0x7b, 0xd0, 0x63, 0xe6, 0xff, 0xbe, 0x99, 0xcc, 0x44, 0xc3, 0x25, - 0x53, 0x52, 0x30, 0xaf, 0x2d, 0xf5, 0xcf, 0x06, 0x1c, 0x35, 0x56, 0x1b, 0xed, 0x40, 0x4c, 0x85, - 0x74, 0x2c, 0x53, 0x30, 0xfd, 0x05, 0x52, 0x63, 0xb5, 0xd7, 0xf1, 0xc1, 0xb6, 0x50, 0x1a, 0xbd, - 0x63, 0xae, 0xdd, 0x4c, 0xbb, 0x69, 0x19, 0xd3, 0xf0, 0x08, 0x6c, 0xef, 0xa4, 0xd9, 0x3d, 0xb7, - 0x6c, 0xee, 0x43, 0x78, 0xfa, 0x8d, 0x22, 0x7c, 0x53, 0x4d, 0xbb, 0x0c, 0xc3, 0xee, 0x6a, 0x3c, - 0x1e, 0x45, 0x1d, 0x26, 0x84, 0x05, 0xe7, 0x30, 0xea, 0xa3, 0x41, 0x77, 0x8c, 0x3f, 0xde, 0x92, - 0xc3, 0xaa, 0xf9, 0x45, 0x48, 0x6e, 0xbd, 0x95, 0xf3, 0x7c, 0x52, 0x83, 0x85, 0xc3, 0x2d, 0x14, - 0x3a, 0xde, 0xf9, 0xcf, 0xa9, 0xc0, 0xf8, 0x3c, 0xea, 0x32, 0x63, 0xac, 0x5e, 0x32, 0xe5, 0x70, - 0xbb, 0xdf, 0x1e, 0xec, 0x8f, 0x8e, 0xd2, 0xc6, 0x86, 0xe9, 0x55, 0xf1, 0xeb, 0xc9, 0x16, 0x8c, - 0x87, 0x51, 0xc7, 0xc2, 0x23, 0x70, 0xef, 0xf0, 0xee, 0x9f, 0x4e, 0x8d, 0x8d, 0xc5, 0xfb, 0x9a, - 0xa0, 0xd5, 0x9a, 0xa0, 0xaf, 0x35, 0x41, 0xaf, 0x1b, 0xd2, 0x5a, 0x6d, 0x48, 0xeb, 0x73, 0x43, - 0x5a, 0xf7, 0xd7, 0xb9, 0xf4, 0x0f, 0x8b, 0x2c, 0xe5, 0x7a, 0x46, 0x5f, 0x64, 0x9e, 0x01, 0x24, - 0x4c, 0x29, 0xc9, 0xe6, 0x1c, 0xa8, 0x90, 0xce, 0x5b, 0x99, 0x2d, 0x3c, 0x88, 0x84, 0xeb, 0x99, - 0x09, 0xe5, 0x44, 0x81, 0xc8, 0xc1, 0xd2, 0x27, 0xda, 0x38, 0x6f, 0xb6, 0x57, 0x5e, 0xf6, 0xec, - 0x27, 0x00, 0x00, 0xff, 0xff, 0x87, 0x52, 0xe2, 0xb3, 0xd6, 0x01, 0x00, 0x00, +var fileDescriptor_f9591474ec756c15 = []byte{ + // 316 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x91, 0xb1, 0x4a, 0x03, 0x31, + 0x1c, 0xc6, 0x7b, 0xad, 0x58, 0x7a, 0x6e, 0x87, 0x43, 0xec, 0x10, 0x8a, 0x53, 0x97, 0xcb, 0x41, + 0x75, 0x73, 0xd1, 0x22, 0x08, 0x4e, 0x52, 0xa9, 0xa0, 0x4b, 0xc9, 0x25, 0x7f, 0xce, 0x48, 0xda, + 0x84, 0x24, 0x2d, 0xea, 0x53, 0xf8, 0x30, 0x7d, 0x08, 0xc7, 0xe2, 0xe4, 0x28, 0xbd, 0x17, 0x91, + 0x6b, 0xee, 0x5a, 0x05, 0x51, 0xa8, 0x63, 0xf2, 0xff, 0xbe, 0xdf, 0xff, 0x4b, 0xbe, 0x70, 0xf8, + 0x2c, 0xb2, 0x14, 0x80, 0x4a, 0x29, 0xe8, 0x84, 0x41, 0xc2, 0x85, 0x75, 0x46, 0xa4, 0x53, 0x07, + 0x9c, 0xa9, 0xb1, 0xf6, 0xb7, 0x12, 0x78, 0x06, 0x26, 0x99, 0x51, 0x29, 0x38, 0x75, 0xca, 0x24, + 0xda, 0x28, 0xad, 0x2c, 0xf0, 0x11, 0x17, 0x96, 0xa6, 0x12, 0x46, 0xeb, 0x11, 0xd1, 0x46, 0x39, + 0x15, 0x1d, 0x7f, 0xc7, 0x92, 0x5f, 0xb0, 0x64, 0xed, 0x6d, 0x1f, 0x30, 0x65, 0xc7, 0xca, 0x8e, + 0x56, 0x8c, 0xc4, 0x1f, 0x3c, 0xb0, 0x7d, 0xba, 0x55, 0xce, 0xcc, 0xd0, 0x89, 0xf3, 0x84, 0xc3, + 0x79, 0x3d, 0x44, 0x57, 0x65, 0xee, 0x73, 0x1f, 0xfb, 0xa6, 0x12, 0x46, 0xbd, 0xb0, 0x49, 0x39, + 0x37, 0x60, 0x2d, 0x0a, 0x3a, 0x41, 0xb7, 0xd5, 0x47, 0x6f, 0xf3, 0x78, 0xbf, 0x4c, 0x70, 0xe6, + 0x27, 0xd7, 0xce, 0x88, 0x49, 0x36, 0xa8, 0x84, 0x85, 0x87, 0x19, 0x28, 0xec, 0xa8, 0xfe, 0x97, + 0xa7, 0x14, 0x46, 0xb7, 0x61, 0x8b, 0x6a, 0x6d, 0xd4, 0x8c, 0x4a, 0x8b, 0x1a, 0x9d, 0x46, 0x77, + 0xaf, 0x77, 0x42, 0xb6, 0xf9, 0x2b, 0x72, 0x51, 0x3c, 0x6d, 0xb0, 0xa1, 0x45, 0xc3, 0xb0, 0x69, + 0xe0, 0x01, 0x98, 0xb3, 0x68, 0xe7, 0xff, 0xe0, 0x8a, 0xd5, 0xe7, 0xaf, 0x4b, 0x1c, 0x2c, 0x96, + 0x38, 0xf8, 0x58, 0xe2, 0xe0, 0x25, 0xc7, 0xb5, 0x45, 0x8e, 0x6b, 0xef, 0x39, 0xae, 0xdd, 0x5d, + 0x66, 0xc2, 0xdd, 0x4f, 0x53, 0xc2, 0xd4, 0x38, 0xf1, 0x9b, 0xe2, 0x9f, 0xea, 0x89, 0x37, 0xbb, + 0xe2, 0xb2, 0xa0, 0xc7, 0x2f, 0x15, 0xb9, 0x27, 0x0d, 0x36, 0xdd, 0x5d, 0x75, 0x74, 0xf4, 0x19, + 0x00, 0x00, 0xff, 0xff, 0xd5, 0xca, 0x13, 0xb9, 0x8f, 0x02, 0x00, 0x00, } func (m *ProposedDisableValidator) Marshal() (dAtA []byte, err error) { diff --git a/x/validator/types/query.pb.go b/x/validator/types/query.pb.go index e25d3482e..66de9b69e 100644 --- a/x/validator/types/query.pb.go +++ b/x/validator/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: validator/types/query.proto +// source: zigbeealliance/distributedcomplianceledger/validator/query.proto package types @@ -39,7 +39,7 @@ func (m *QueryGetValidatorRequest) Reset() { *m = QueryGetValidatorReque func (m *QueryGetValidatorRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetValidatorRequest) ProtoMessage() {} func (*QueryGetValidatorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c66276dea6fc0623, []int{0} + return fileDescriptor_383eb6436ed732ef, []int{0} } func (m *QueryGetValidatorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -83,7 +83,7 @@ func (m *QueryGetValidatorResponse) Reset() { *m = QueryGetValidatorResp func (m *QueryGetValidatorResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetValidatorResponse) ProtoMessage() {} func (*QueryGetValidatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c66276dea6fc0623, []int{1} + return fileDescriptor_383eb6436ed732ef, []int{1} } func (m *QueryGetValidatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -127,7 +127,7 @@ func (m *QueryAllValidatorRequest) Reset() { *m = QueryAllValidatorReque func (m *QueryAllValidatorRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllValidatorRequest) ProtoMessage() {} func (*QueryAllValidatorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c66276dea6fc0623, []int{2} + return fileDescriptor_383eb6436ed732ef, []int{2} } func (m *QueryAllValidatorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -172,7 +172,7 @@ func (m *QueryAllValidatorResponse) Reset() { *m = QueryAllValidatorResp func (m *QueryAllValidatorResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllValidatorResponse) ProtoMessage() {} func (*QueryAllValidatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c66276dea6fc0623, []int{3} + return fileDescriptor_383eb6436ed732ef, []int{3} } func (m *QueryAllValidatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -223,7 +223,7 @@ func (m *QueryGetLastValidatorPowerRequest) Reset() { *m = QueryGetLastV func (m *QueryGetLastValidatorPowerRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetLastValidatorPowerRequest) ProtoMessage() {} func (*QueryGetLastValidatorPowerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c66276dea6fc0623, []int{4} + return fileDescriptor_383eb6436ed732ef, []int{4} } func (m *QueryGetLastValidatorPowerRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -267,7 +267,7 @@ func (m *QueryGetLastValidatorPowerResponse) Reset() { *m = QueryGetLast func (m *QueryGetLastValidatorPowerResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetLastValidatorPowerResponse) ProtoMessage() {} func (*QueryGetLastValidatorPowerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c66276dea6fc0623, []int{5} + return fileDescriptor_383eb6436ed732ef, []int{5} } func (m *QueryGetLastValidatorPowerResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -311,7 +311,7 @@ func (m *QueryAllLastValidatorPowerRequest) Reset() { *m = QueryAllLastV func (m *QueryAllLastValidatorPowerRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllLastValidatorPowerRequest) ProtoMessage() {} func (*QueryAllLastValidatorPowerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c66276dea6fc0623, []int{6} + return fileDescriptor_383eb6436ed732ef, []int{6} } func (m *QueryAllLastValidatorPowerRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -356,7 +356,7 @@ func (m *QueryAllLastValidatorPowerResponse) Reset() { *m = QueryAllLast func (m *QueryAllLastValidatorPowerResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllLastValidatorPowerResponse) ProtoMessage() {} func (*QueryAllLastValidatorPowerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c66276dea6fc0623, []int{7} + return fileDescriptor_383eb6436ed732ef, []int{7} } func (m *QueryAllLastValidatorPowerResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -409,7 +409,7 @@ func (m *QueryGetProposedDisableValidatorRequest) Reset() { func (m *QueryGetProposedDisableValidatorRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetProposedDisableValidatorRequest) ProtoMessage() {} func (*QueryGetProposedDisableValidatorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c66276dea6fc0623, []int{8} + return fileDescriptor_383eb6436ed732ef, []int{8} } func (m *QueryGetProposedDisableValidatorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -455,7 +455,7 @@ func (m *QueryGetProposedDisableValidatorResponse) Reset() { func (m *QueryGetProposedDisableValidatorResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetProposedDisableValidatorResponse) ProtoMessage() {} func (*QueryGetProposedDisableValidatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c66276dea6fc0623, []int{9} + return fileDescriptor_383eb6436ed732ef, []int{9} } func (m *QueryGetProposedDisableValidatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -501,7 +501,7 @@ func (m *QueryAllProposedDisableValidatorRequest) Reset() { func (m *QueryAllProposedDisableValidatorRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllProposedDisableValidatorRequest) ProtoMessage() {} func (*QueryAllProposedDisableValidatorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c66276dea6fc0623, []int{10} + return fileDescriptor_383eb6436ed732ef, []int{10} } func (m *QueryAllProposedDisableValidatorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -548,7 +548,7 @@ func (m *QueryAllProposedDisableValidatorResponse) Reset() { func (m *QueryAllProposedDisableValidatorResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllProposedDisableValidatorResponse) ProtoMessage() {} func (*QueryAllProposedDisableValidatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c66276dea6fc0623, []int{11} + return fileDescriptor_383eb6436ed732ef, []int{11} } func (m *QueryAllProposedDisableValidatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -599,7 +599,7 @@ func (m *QueryGetDisabledValidatorRequest) Reset() { *m = QueryGetDisabl func (m *QueryGetDisabledValidatorRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetDisabledValidatorRequest) ProtoMessage() {} func (*QueryGetDisabledValidatorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c66276dea6fc0623, []int{12} + return fileDescriptor_383eb6436ed732ef, []int{12} } func (m *QueryGetDisabledValidatorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -643,7 +643,7 @@ func (m *QueryGetDisabledValidatorResponse) Reset() { *m = QueryGetDisab func (m *QueryGetDisabledValidatorResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetDisabledValidatorResponse) ProtoMessage() {} func (*QueryGetDisabledValidatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c66276dea6fc0623, []int{13} + return fileDescriptor_383eb6436ed732ef, []int{13} } func (m *QueryGetDisabledValidatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -687,7 +687,7 @@ func (m *QueryAllDisabledValidatorRequest) Reset() { *m = QueryAllDisabl func (m *QueryAllDisabledValidatorRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllDisabledValidatorRequest) ProtoMessage() {} func (*QueryAllDisabledValidatorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c66276dea6fc0623, []int{14} + return fileDescriptor_383eb6436ed732ef, []int{14} } func (m *QueryAllDisabledValidatorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -732,7 +732,7 @@ func (m *QueryAllDisabledValidatorResponse) Reset() { *m = QueryAllDisab func (m *QueryAllDisabledValidatorResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllDisabledValidatorResponse) ProtoMessage() {} func (*QueryAllDisabledValidatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c66276dea6fc0623, []int{15} + return fileDescriptor_383eb6436ed732ef, []int{15} } func (m *QueryAllDisabledValidatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -785,7 +785,7 @@ func (m *QueryGetRejectedDisableValidatorRequest) Reset() { func (m *QueryGetRejectedDisableValidatorRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetRejectedDisableValidatorRequest) ProtoMessage() {} func (*QueryGetRejectedDisableValidatorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c66276dea6fc0623, []int{16} + return fileDescriptor_383eb6436ed732ef, []int{16} } func (m *QueryGetRejectedDisableValidatorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -831,7 +831,7 @@ func (m *QueryGetRejectedDisableValidatorResponse) Reset() { func (m *QueryGetRejectedDisableValidatorResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetRejectedDisableValidatorResponse) ProtoMessage() {} func (*QueryGetRejectedDisableValidatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c66276dea6fc0623, []int{17} + return fileDescriptor_383eb6436ed732ef, []int{17} } func (m *QueryGetRejectedDisableValidatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -877,7 +877,7 @@ func (m *QueryAllRejectedDisableValidatorRequest) Reset() { func (m *QueryAllRejectedDisableValidatorRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllRejectedDisableValidatorRequest) ProtoMessage() {} func (*QueryAllRejectedDisableValidatorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_c66276dea6fc0623, []int{18} + return fileDescriptor_383eb6436ed732ef, []int{18} } func (m *QueryAllRejectedDisableValidatorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -924,7 +924,7 @@ func (m *QueryAllRejectedDisableValidatorResponse) Reset() { func (m *QueryAllRejectedDisableValidatorResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllRejectedDisableValidatorResponse) ProtoMessage() {} func (*QueryAllRejectedDisableValidatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_c66276dea6fc0623, []int{19} + return fileDescriptor_383eb6436ed732ef, []int{19} } func (m *QueryAllRejectedDisableValidatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -968,97 +968,101 @@ func (m *QueryAllRejectedDisableValidatorResponse) GetPagination() *query.PageRe } func init() { - proto.RegisterType((*QueryGetValidatorRequest)(nil), "validator.types.QueryGetValidatorRequest") - proto.RegisterType((*QueryGetValidatorResponse)(nil), "validator.types.QueryGetValidatorResponse") - proto.RegisterType((*QueryAllValidatorRequest)(nil), "validator.types.QueryAllValidatorRequest") - proto.RegisterType((*QueryAllValidatorResponse)(nil), "validator.types.QueryAllValidatorResponse") - proto.RegisterType((*QueryGetLastValidatorPowerRequest)(nil), "validator.types.QueryGetLastValidatorPowerRequest") - proto.RegisterType((*QueryGetLastValidatorPowerResponse)(nil), "validator.types.QueryGetLastValidatorPowerResponse") - proto.RegisterType((*QueryAllLastValidatorPowerRequest)(nil), "validator.types.QueryAllLastValidatorPowerRequest") - proto.RegisterType((*QueryAllLastValidatorPowerResponse)(nil), "validator.types.QueryAllLastValidatorPowerResponse") - proto.RegisterType((*QueryGetProposedDisableValidatorRequest)(nil), "validator.types.QueryGetProposedDisableValidatorRequest") - proto.RegisterType((*QueryGetProposedDisableValidatorResponse)(nil), "validator.types.QueryGetProposedDisableValidatorResponse") - proto.RegisterType((*QueryAllProposedDisableValidatorRequest)(nil), "validator.types.QueryAllProposedDisableValidatorRequest") - proto.RegisterType((*QueryAllProposedDisableValidatorResponse)(nil), "validator.types.QueryAllProposedDisableValidatorResponse") - proto.RegisterType((*QueryGetDisabledValidatorRequest)(nil), "validator.types.QueryGetDisabledValidatorRequest") - proto.RegisterType((*QueryGetDisabledValidatorResponse)(nil), "validator.types.QueryGetDisabledValidatorResponse") - proto.RegisterType((*QueryAllDisabledValidatorRequest)(nil), "validator.types.QueryAllDisabledValidatorRequest") - proto.RegisterType((*QueryAllDisabledValidatorResponse)(nil), "validator.types.QueryAllDisabledValidatorResponse") - proto.RegisterType((*QueryGetRejectedDisableValidatorRequest)(nil), "validator.types.QueryGetRejectedDisableValidatorRequest") - proto.RegisterType((*QueryGetRejectedDisableValidatorResponse)(nil), "validator.types.QueryGetRejectedDisableValidatorResponse") - proto.RegisterType((*QueryAllRejectedDisableValidatorRequest)(nil), "validator.types.QueryAllRejectedDisableValidatorRequest") - proto.RegisterType((*QueryAllRejectedDisableValidatorResponse)(nil), "validator.types.QueryAllRejectedDisableValidatorResponse") -} - -func init() { proto.RegisterFile("validator/types/query.proto", fileDescriptor_c66276dea6fc0623) } - -var fileDescriptor_c66276dea6fc0623 = []byte{ - // 1032 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0x41, 0x6f, 0xdc, 0x44, - 0x14, 0xce, 0x74, 0x29, 0x28, 0x03, 0x08, 0x65, 0xb4, 0xa0, 0xed, 0x36, 0x6c, 0xca, 0xd0, 0x92, - 0x34, 0xd2, 0x7a, 0xd8, 0xad, 0x10, 0x45, 0x42, 0xa0, 0x0d, 0x88, 0x4a, 0x15, 0x87, 0xb0, 0x95, - 0x2a, 0x01, 0x42, 0x2b, 0xef, 0x7a, 0x64, 0xdc, 0x4e, 0x3c, 0x8e, 0xed, 0xb4, 0x94, 0xaa, 0x42, - 0x82, 0x0b, 0xdc, 0x90, 0x38, 0xf0, 0x07, 0x72, 0x41, 0x5c, 0xf9, 0x03, 0x48, 0x08, 0xe5, 0x58, - 0x95, 0x0b, 0x07, 0x84, 0xaa, 0x84, 0x1f, 0x82, 0x3c, 0x7e, 0x5e, 0x67, 0x6d, 0x8f, 0xbd, 0xbb, - 0xf1, 0x2d, 0x6b, 0xbf, 0xf7, 0xcd, 0xf7, 0x7d, 0xef, 0xed, 0x7b, 0x93, 0xc5, 0x17, 0xef, 0x99, - 0xc2, 0xb1, 0xcc, 0x50, 0xfa, 0x2c, 0x7c, 0xe0, 0xf1, 0x80, 0xed, 0x1f, 0x70, 0xff, 0x81, 0xe1, - 0xf9, 0x32, 0x94, 0xe4, 0xa5, 0xe9, 0x4b, 0x43, 0xbd, 0x6c, 0xaf, 0xdb, 0x52, 0xda, 0x82, 0x33, - 0xd3, 0x73, 0x98, 0xe9, 0xba, 0x32, 0x34, 0x43, 0x47, 0xba, 0x41, 0x1c, 0xde, 0xde, 0x9e, 0xc8, - 0x60, 0x4f, 0x06, 0x6c, 0x6c, 0x06, 0x3c, 0xc6, 0x61, 0xf7, 0x7a, 0x63,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0x5e, 0xd2, 0xe3, 0x15, 0x5b, 0xac, 0xa4, 0xc7, 0xab, 0x76, 0x11, 0x7d, 0x4b, 0x11, - 0x67, 0xa4, 0x9b, 0x21, 0x9e, 0xac, 0x95, 0x6c, 0x8f, 0xc3, 0x4c, 0x89, 0x3a, 0x5c, 0x87, 0x5d, - 0xde, 0xe1, 0x4b, 0x6a, 0x99, 0x63, 0xaf, 0x6a, 0x3b, 0xbc, 0x58, 0xcb, 0x8e, 0x75, 0x74, 0xdc, - 0x41, 0x8f, 0x8f, 0x3b, 0xe8, 0xe9, 0x71, 0x07, 0xfd, 0x78, 0xd2, 0x59, 0x79, 0x7c, 0xd2, 0x59, - 0xf9, 0xfb, 0xa4, 0xb3, 0xf2, 0xd9, 0x4d, 0xdb, 0x09, 0xbf, 0x3c, 0x18, 0x1b, 0x13, 0xb9, 0xc7, - 0xbe, 0x76, 0xec, 0x31, 0xe7, 0x5d, 0x53, 0x08, 0xc7, 0x74, 0x27, 0x3c, 0xaa, 0x68, 0xe8, 0x3b, - 0xe3, 0x83, 0x08, 0x6f, 0x22, 0xf7, 0xbc, 0xf8, 0x71, 0x57, 0x70, 0xcb, 0xe6, 0x3e, 0xfb, 0x8a, - 0x65, 0x7e, 0x88, 0x19, 0x3f, 0xab, 0x7e, 0x45, 0xb9, 0xf6, 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, - 0x64, 0x60, 0x21, 0x74, 0xc3, 0x12, 0x00, 0x00, + proto.RegisterType((*QueryGetValidatorRequest)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryGetValidatorRequest") + proto.RegisterType((*QueryGetValidatorResponse)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryGetValidatorResponse") + proto.RegisterType((*QueryAllValidatorRequest)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryAllValidatorRequest") + proto.RegisterType((*QueryAllValidatorResponse)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryAllValidatorResponse") + proto.RegisterType((*QueryGetLastValidatorPowerRequest)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryGetLastValidatorPowerRequest") + proto.RegisterType((*QueryGetLastValidatorPowerResponse)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryGetLastValidatorPowerResponse") + proto.RegisterType((*QueryAllLastValidatorPowerRequest)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryAllLastValidatorPowerRequest") + proto.RegisterType((*QueryAllLastValidatorPowerResponse)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryAllLastValidatorPowerResponse") + proto.RegisterType((*QueryGetProposedDisableValidatorRequest)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryGetProposedDisableValidatorRequest") + proto.RegisterType((*QueryGetProposedDisableValidatorResponse)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryGetProposedDisableValidatorResponse") + proto.RegisterType((*QueryAllProposedDisableValidatorRequest)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryAllProposedDisableValidatorRequest") + proto.RegisterType((*QueryAllProposedDisableValidatorResponse)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryAllProposedDisableValidatorResponse") + proto.RegisterType((*QueryGetDisabledValidatorRequest)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryGetDisabledValidatorRequest") + proto.RegisterType((*QueryGetDisabledValidatorResponse)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryGetDisabledValidatorResponse") + proto.RegisterType((*QueryAllDisabledValidatorRequest)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryAllDisabledValidatorRequest") + proto.RegisterType((*QueryAllDisabledValidatorResponse)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryAllDisabledValidatorResponse") + proto.RegisterType((*QueryGetRejectedDisableValidatorRequest)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryGetRejectedDisableValidatorRequest") + proto.RegisterType((*QueryGetRejectedDisableValidatorResponse)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryGetRejectedDisableValidatorResponse") + proto.RegisterType((*QueryAllRejectedDisableValidatorRequest)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryAllRejectedDisableValidatorRequest") + proto.RegisterType((*QueryAllRejectedDisableValidatorResponse)(nil), "zigbeealliance.distributedcomplianceledger.validator.QueryAllRejectedDisableValidatorResponse") +} + +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/validator/query.proto", fileDescriptor_383eb6436ed732ef) +} + +var fileDescriptor_383eb6436ed732ef = []byte{ + // 1070 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0x41, 0x6f, 0xdc, 0x44, + 0x18, 0xcd, 0xec, 0x52, 0x50, 0x06, 0x2e, 0x19, 0x16, 0xb4, 0x5d, 0xc2, 0xb6, 0x8c, 0x5a, 0x52, + 0x2a, 0xd9, 0x56, 0x0a, 0x88, 0x0b, 0x52, 0xd9, 0x50, 0x11, 0x54, 0x01, 0x0d, 0x5b, 0x91, 0x20, + 0xa4, 0xb2, 0xf2, 0xae, 0x47, 0xc6, 0x65, 0xe2, 0x71, 0x6c, 0xa7, 0xa5, 0x54, 0x45, 0xa8, 0x07, + 0x2e, 0x5c, 0x22, 0xf8, 0x03, 0x1c, 0xb8, 0x73, 0xe1, 0x8a, 0xc4, 0xb1, 0x1c, 0x90, 0xaa, 0x72, + 0xe1, 0x84, 0x50, 0xc2, 0x85, 0x03, 0xbd, 0x20, 0x24, 0x8e, 0x95, 0xc7, 0x9f, 0xd7, 0xbb, 0x6b, + 0xcf, 0x6e, 0x62, 0x7b, 0x73, 0xb3, 0xd7, 0xf6, 0xfb, 0xe6, 0xbd, 0xef, 0xcd, 0xe7, 0xb7, 0xc6, + 0x6f, 0x7c, 0xee, 0xd8, 0x7d, 0xc6, 0x4c, 0xce, 0x1d, 0xd3, 0x1d, 0x30, 0xc3, 0x72, 0x82, 0xd0, + 0x77, 0xfa, 0xbb, 0x21, 0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x82, 0xee, 0x90, 0xaf, 0x6b, + 0xf8, 0x39, 0x15, 0x7a, 0xe4, 0x85, 0x6b, 0xe5, 0x5a, 0x36, 0x4f, 0x5d, 0x0e, 0x91, 0x7f, 0xa9, + 0x26, 0x75, 0x59, 0x21, 0x67, 0x0f, 0xa5, 0x0b, 0xf9, 0x0f, 0xe1, 0xa5, 0x4c, 0x22, 0x21, 0x9b, + 0xe5, 0x9a, 0xa7, 0xca, 0x6e, 0xad, 0xad, 0xca, 0x71, 0x81, 0xb5, 0x21, 0x59, 0xbf, 0x44, 0x56, + 0x26, 0x58, 0x27, 0x99, 0x2a, 0xe3, 0x82, 0x87, 0x08, 0x37, 0x32, 0x70, 0x51, 0xfb, 0x37, 0xcb, + 0xf5, 0x67, 0x2e, 0xd4, 0xa7, 0x25, 0x54, 0x7a, 0x56, 0x52, 0x3f, 0x45, 0x9e, 0x9f, 0x4a, 0x9d, + 0xec, 0xd5, 0x70, 0x53, 0x15, 0x10, 0xca, 0xce, 0x82, 0x19, 0x01, 0xab, 0xec, 0x2c, 0x98, 0x95, + 0xa5, 0xe8, 0xab, 0x52, 0x02, 0x83, 0x68, 0x13, 0x12, 0x24, 0x81, 0x67, 0x72, 0x16, 0xc0, 0xfb, + 0x20, 0x9a, 0x04, 0x2a, 0xec, 0x0a, 0x26, 0xc1, 0x3c, 0x55, 0x39, 0x44, 0xc2, 0x54, 0x4e, 0x82, + 0x7c, 0x55, 0xd6, 0xac, 0x7b, 0xfb, 0x6d, 0x74, 0x7f, 0xbf, 0x8d, 0xfe, 0xdc, 0x6f, 0xa3, 0xbd, + 0x83, 0xf6, 0xc2, 0xfd, 0x83, 0xf6, 0xc2, 0xef, 0x07, 0xed, 0x85, 0x8f, 0x2e, 0xdb, 0x4e, 0xf8, + 0xc9, 0x6e, 0x5f, 0x1f, 0x88, 0x6d, 0x23, 0x5e, 0xb2, 0x96, 0xf7, 0x6d, 0x57, 0x4b, 0x17, 0xad, + 0xc1, 0xd7, 0xdd, 0xcf, 0x46, 0xca, 0x86, 0xb7, 0x3c, 0x16, 0xf4, 0x1f, 0x97, 0x9f, 0x68, 0x5f, + 0x7e, 0x14, 0x00, 0x00, 0xff, 0xff, 0x90, 0xcf, 0xe8, 0x32, 0x23, 0x18, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1105,7 +1109,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) Validator(ctx context.Context, in *QueryGetValidatorRequest, opts ...grpc.CallOption) (*QueryGetValidatorResponse, error) { out := new(QueryGetValidatorResponse) - err := c.cc.Invoke(ctx, "/validator.types.Query/Validator", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.validator.Query/Validator", in, out, opts...) if err != nil { return nil, err } @@ -1114,7 +1118,7 @@ func (c *queryClient) Validator(ctx context.Context, in *QueryGetValidatorReques func (c *queryClient) ValidatorAll(ctx context.Context, in *QueryAllValidatorRequest, opts ...grpc.CallOption) (*QueryAllValidatorResponse, error) { out := new(QueryAllValidatorResponse) - err := c.cc.Invoke(ctx, "/validator.types.Query/ValidatorAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.validator.Query/ValidatorAll", in, out, opts...) if err != nil { return nil, err } @@ -1123,7 +1127,7 @@ func (c *queryClient) ValidatorAll(ctx context.Context, in *QueryAllValidatorReq func (c *queryClient) LastValidatorPower(ctx context.Context, in *QueryGetLastValidatorPowerRequest, opts ...grpc.CallOption) (*QueryGetLastValidatorPowerResponse, error) { out := new(QueryGetLastValidatorPowerResponse) - err := c.cc.Invoke(ctx, "/validator.types.Query/LastValidatorPower", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.validator.Query/LastValidatorPower", in, out, opts...) if err != nil { return nil, err } @@ -1132,7 +1136,7 @@ func (c *queryClient) LastValidatorPower(ctx context.Context, in *QueryGetLastVa func (c *queryClient) LastValidatorPowerAll(ctx context.Context, in *QueryAllLastValidatorPowerRequest, opts ...grpc.CallOption) (*QueryAllLastValidatorPowerResponse, error) { out := new(QueryAllLastValidatorPowerResponse) - err := c.cc.Invoke(ctx, "/validator.types.Query/LastValidatorPowerAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.validator.Query/LastValidatorPowerAll", in, out, opts...) if err != nil { return nil, err } @@ -1141,7 +1145,7 @@ func (c *queryClient) LastValidatorPowerAll(ctx context.Context, in *QueryAllLas func (c *queryClient) ProposedDisableValidator(ctx context.Context, in *QueryGetProposedDisableValidatorRequest, opts ...grpc.CallOption) (*QueryGetProposedDisableValidatorResponse, error) { out := new(QueryGetProposedDisableValidatorResponse) - err := c.cc.Invoke(ctx, "/validator.types.Query/ProposedDisableValidator", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.validator.Query/ProposedDisableValidator", in, out, opts...) if err != nil { return nil, err } @@ -1150,7 +1154,7 @@ func (c *queryClient) ProposedDisableValidator(ctx context.Context, in *QueryGet func (c *queryClient) ProposedDisableValidatorAll(ctx context.Context, in *QueryAllProposedDisableValidatorRequest, opts ...grpc.CallOption) (*QueryAllProposedDisableValidatorResponse, error) { out := new(QueryAllProposedDisableValidatorResponse) - err := c.cc.Invoke(ctx, "/validator.types.Query/ProposedDisableValidatorAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.validator.Query/ProposedDisableValidatorAll", in, out, opts...) if err != nil { return nil, err } @@ -1159,7 +1163,7 @@ func (c *queryClient) ProposedDisableValidatorAll(ctx context.Context, in *Query func (c *queryClient) DisabledValidator(ctx context.Context, in *QueryGetDisabledValidatorRequest, opts ...grpc.CallOption) (*QueryGetDisabledValidatorResponse, error) { out := new(QueryGetDisabledValidatorResponse) - err := c.cc.Invoke(ctx, "/validator.types.Query/DisabledValidator", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.validator.Query/DisabledValidator", in, out, opts...) if err != nil { return nil, err } @@ -1168,7 +1172,7 @@ func (c *queryClient) DisabledValidator(ctx context.Context, in *QueryGetDisable func (c *queryClient) DisabledValidatorAll(ctx context.Context, in *QueryAllDisabledValidatorRequest, opts ...grpc.CallOption) (*QueryAllDisabledValidatorResponse, error) { out := new(QueryAllDisabledValidatorResponse) - err := c.cc.Invoke(ctx, "/validator.types.Query/DisabledValidatorAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.validator.Query/DisabledValidatorAll", in, out, opts...) if err != nil { return nil, err } @@ -1177,7 +1181,7 @@ func (c *queryClient) DisabledValidatorAll(ctx context.Context, in *QueryAllDisa func (c *queryClient) RejectedDisableValidator(ctx context.Context, in *QueryGetRejectedDisableValidatorRequest, opts ...grpc.CallOption) (*QueryGetRejectedDisableValidatorResponse, error) { out := new(QueryGetRejectedDisableValidatorResponse) - err := c.cc.Invoke(ctx, "/validator.types.Query/RejectedDisableValidator", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.validator.Query/RejectedDisableValidator", in, out, opts...) if err != nil { return nil, err } @@ -1186,7 +1190,7 @@ func (c *queryClient) RejectedDisableValidator(ctx context.Context, in *QueryGet func (c *queryClient) RejectedDisableValidatorAll(ctx context.Context, in *QueryAllRejectedDisableValidatorRequest, opts ...grpc.CallOption) (*QueryAllRejectedDisableValidatorResponse, error) { out := new(QueryAllRejectedDisableValidatorResponse) - err := c.cc.Invoke(ctx, "/validator.types.Query/RejectedDisableValidatorAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.validator.Query/RejectedDisableValidatorAll", in, out, opts...) if err != nil { return nil, err } @@ -1266,7 +1270,7 @@ func _Query_Validator_Handler(srv interface{}, ctx context.Context, dec func(int } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/validator.types.Query/Validator", + FullMethod: "/zigbeealliance.distributedcomplianceledger.validator.Query/Validator", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Validator(ctx, req.(*QueryGetValidatorRequest)) @@ -1284,7 +1288,7 @@ func _Query_ValidatorAll_Handler(srv interface{}, ctx context.Context, dec func( } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/validator.types.Query/ValidatorAll", + FullMethod: "/zigbeealliance.distributedcomplianceledger.validator.Query/ValidatorAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ValidatorAll(ctx, req.(*QueryAllValidatorRequest)) @@ -1302,7 +1306,7 @@ func _Query_LastValidatorPower_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/validator.types.Query/LastValidatorPower", + FullMethod: "/zigbeealliance.distributedcomplianceledger.validator.Query/LastValidatorPower", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).LastValidatorPower(ctx, req.(*QueryGetLastValidatorPowerRequest)) @@ -1320,7 +1324,7 @@ func _Query_LastValidatorPowerAll_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/validator.types.Query/LastValidatorPowerAll", + FullMethod: "/zigbeealliance.distributedcomplianceledger.validator.Query/LastValidatorPowerAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).LastValidatorPowerAll(ctx, req.(*QueryAllLastValidatorPowerRequest)) @@ -1338,7 +1342,7 @@ func _Query_ProposedDisableValidator_Handler(srv interface{}, ctx context.Contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/validator.types.Query/ProposedDisableValidator", + FullMethod: "/zigbeealliance.distributedcomplianceledger.validator.Query/ProposedDisableValidator", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ProposedDisableValidator(ctx, req.(*QueryGetProposedDisableValidatorRequest)) @@ -1356,7 +1360,7 @@ func _Query_ProposedDisableValidatorAll_Handler(srv interface{}, ctx context.Con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/validator.types.Query/ProposedDisableValidatorAll", + FullMethod: "/zigbeealliance.distributedcomplianceledger.validator.Query/ProposedDisableValidatorAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ProposedDisableValidatorAll(ctx, req.(*QueryAllProposedDisableValidatorRequest)) @@ -1374,7 +1378,7 @@ func _Query_DisabledValidator_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/validator.types.Query/DisabledValidator", + FullMethod: "/zigbeealliance.distributedcomplianceledger.validator.Query/DisabledValidator", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).DisabledValidator(ctx, req.(*QueryGetDisabledValidatorRequest)) @@ -1392,7 +1396,7 @@ func _Query_DisabledValidatorAll_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/validator.types.Query/DisabledValidatorAll", + FullMethod: "/zigbeealliance.distributedcomplianceledger.validator.Query/DisabledValidatorAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).DisabledValidatorAll(ctx, req.(*QueryAllDisabledValidatorRequest)) @@ -1410,7 +1414,7 @@ func _Query_RejectedDisableValidator_Handler(srv interface{}, ctx context.Contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/validator.types.Query/RejectedDisableValidator", + FullMethod: "/zigbeealliance.distributedcomplianceledger.validator.Query/RejectedDisableValidator", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RejectedDisableValidator(ctx, req.(*QueryGetRejectedDisableValidatorRequest)) @@ -1428,7 +1432,7 @@ func _Query_RejectedDisableValidatorAll_Handler(srv interface{}, ctx context.Con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/validator.types.Query/RejectedDisableValidatorAll", + FullMethod: "/zigbeealliance.distributedcomplianceledger.validator.Query/RejectedDisableValidatorAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).RejectedDisableValidatorAll(ctx, req.(*QueryAllRejectedDisableValidatorRequest)) @@ -1437,7 +1441,7 @@ func _Query_RejectedDisableValidatorAll_Handler(srv interface{}, ctx context.Con } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "validator.types.Query", + ServiceName: "zigbeealliance.distributedcomplianceledger.validator.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -1482,7 +1486,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "validator/types/query.proto", + Metadata: "zigbeealliance/distributedcomplianceledger/validator/query.proto", } func (m *QueryGetValidatorRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/validator/types/query.pb.gw.go b/x/validator/types/query.pb.gw.go index 6ec6a3ff4..5a82516b1 100644 --- a/x/validator/types/query.pb.gw.go +++ b/x/validator/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: validator/types/query.proto +// source: zigbeealliance/distributedcomplianceledger/validator/query.proto /* Package types is a reverse proxy. diff --git a/x/validator/types/rejected_validator.pb.go b/x/validator/types/rejected_validator.pb.go index 5bb597749..020617bbb 100644 --- a/x/validator/types/rejected_validator.pb.go +++ b/x/validator/types/rejected_validator.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: validator/types/rejected_validator.proto +// source: zigbeealliance/distributedcomplianceledger/validator/rejected_validator.proto package types @@ -34,7 +34,7 @@ func (m *RejectedDisableValidator) Reset() { *m = RejectedDisableValidat func (m *RejectedDisableValidator) String() string { return proto.CompactTextString(m) } func (*RejectedDisableValidator) ProtoMessage() {} func (*RejectedDisableValidator) Descriptor() ([]byte, []int) { - return fileDescriptor_75752f9564777e24, []int{0} + return fileDescriptor_3d5230ea0750343d, []int{0} } func (m *RejectedDisableValidator) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -92,34 +92,35 @@ func (m *RejectedDisableValidator) GetRejects() []*Grant { } func init() { - proto.RegisterType((*RejectedDisableValidator)(nil), "validator.types.RejectedDisableValidator") + proto.RegisterType((*RejectedDisableValidator)(nil), "zigbeealliance.distributedcomplianceledger.validator.RejectedDisableValidator") } func init() { - proto.RegisterFile("validator/types/rejected_validator.proto", fileDescriptor_75752f9564777e24) + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/validator/rejected_validator.proto", fileDescriptor_3d5230ea0750343d) } -var fileDescriptor_75752f9564777e24 = []byte{ - // 295 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0xc1, 0x4a, 0xc3, 0x30, - 0x18, 0xc7, 0x17, 0x27, 0x8e, 0xd5, 0x83, 0x50, 0x44, 0xe2, 0x84, 0x30, 0x3c, 0xed, 0xd2, 0x46, - 0xa6, 0x2f, 0xe0, 0x10, 0x04, 0x8f, 0x13, 0x3c, 0x78, 0x19, 0x69, 0xf2, 0x51, 0x23, 0x59, 0x53, - 0x92, 0x6c, 0xa8, 0x4f, 0xe1, 0xc3, 0xf8, 0x10, 0x1e, 0x87, 0x27, 0x8f, 0xd2, 0xde, 0x7c, 0x0a, - 0x69, 0xd3, 0x3a, 0xe8, 0x41, 0x8f, 0xf9, 0xfe, 0xbf, 0xdf, 0x97, 0xe4, 0x1f, 0x4c, 0xd6, 0x4c, - 0x49, 0xc1, 0x9c, 0x36, 0xd4, 0x3d, 0xe7, 0x60, 0xa9, 0x81, 0x47, 0xe0, 0x0e, 0xc4, 0xe2, 0x37, - 0x88, 0x73, 0xa3, 0x9d, 0x0e, 0x0f, 0xb6, 0x83, 0x9a, 0x1c, 0x1d, 0x73, 0x6d, 0x97, 0xda, 0x2e, - 0xea, 0x98, 0xfa, 0x83, 0x67, 0x47, 0x27, 0xdd, 0xad, 0xa9, 0x61, 0x99, 0xf3, 0xe1, 0xe9, 0x37, - 0x0a, 0xf0, 0xbc, 0xb9, 0xe5, 0x4a, 0x5a, 0x96, 0x28, 0xb8, 0x6b, 0xf1, 0x70, 0x1a, 0x0c, 0x98, - 0x10, 0x06, 0xac, 0xc5, 0x68, 0x8c, 0x26, 0xc3, 0x19, 0xfe, 0x78, 0x8b, 0x0e, 0x9b, 0xe5, 0x97, - 0x3e, 0xb9, 0x75, 0x46, 0x66, 0xe9, 0xbc, 0x05, 0x2b, 0x87, 0x1b, 0xa8, 0x74, 0xbc, 0xf3, 0x9f, - 0xd3, 0x80, 0xe1, 0x45, 0x30, 0x64, 0x79, 0x6e, 0xf4, 0x9a, 0x29, 0x8b, 0xfb, 0xe3, 0xfe, 0x64, - 0x7f, 0x7a, 0x14, 0x77, 0x7e, 0x18, 0x5f, 0x57, 0xaf, 0x9e, 0x6f, 0xc1, 0xf0, 0x2c, 0x18, 0xf8, - 0x7e, 0x2c, 0xde, 0xfd, 0xd3, 0x69, 0xb1, 0x99, 0x78, 0x2f, 0x08, 0xda, 0x14, 0x04, 0x7d, 0x15, - 0x04, 0xbd, 0x96, 0xa4, 0xb7, 0x29, 0x49, 0xef, 0xb3, 0x24, 0xbd, 0xfb, 0x9b, 0x54, 0xba, 0x87, - 0x55, 0x12, 0x73, 0xbd, 0xa4, 0x2f, 0x32, 0x4d, 0x00, 0x22, 0xa6, 0x94, 0x64, 0x19, 0x07, 0x2a, - 0xa4, 0x75, 0x46, 0x26, 0x2b, 0x07, 0x22, 0xe2, 0x7a, 0x99, 0xfb, 0x71, 0xa4, 0x40, 0xa4, 0x60, - 0xe8, 0x13, 0xed, 0xd4, 0x9b, 0xec, 0xd5, 0xcd, 0x9e, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x1f, - 0xd5, 0xb9, 0xec, 0xce, 0x01, 0x00, 0x00, +var fileDescriptor_3d5230ea0750343d = []byte{ + // 312 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 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5, 0x99, 0x58, 0x50, + 0x50, 0x94, 0x5f, 0x96, 0x98, 0x53, 0x2c, 0xc1, 0xac, 0xc0, 0xac, 0xc1, 0x6d, 0x64, 0xad, 0x47, + 0x4e, 0x58, 0xe9, 0xb9, 0x83, 0xbc, 0x16, 0x84, 0x30, 0x4d, 0x28, 0x94, 0x8b, 0x1d, 0x12, 0x1d, + 0xc5, 0x12, 0x2c, 0x94, 0x1b, 0x0c, 0x33, 0xcb, 0x29, 0xe5, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, + 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, 0xf0, 0x58, 0x8e, 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, + 0x8f, 0xe5, 0x18, 0xa2, 0xbc, 0xd2, 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, + 0x21, 0x36, 0xe9, 0x62, 0x8b, 0x1e, 0x5d, 0x84, 0x5d, 0xba, 0xd0, 0x08, 0xaa, 0x40, 0x8a, 0xa2, + 0x92, 0xca, 0x82, 0xd4, 0xe2, 0x24, 0x36, 0x70, 0x1c, 0x19, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, + 0xc0, 0x63, 0x8b, 0x0b, 0x87, 0x02, 0x00, 0x00, } func (m *RejectedDisableValidator) Marshal() (dAtA []byte, err error) { diff --git a/x/validator/types/tx.pb.go b/x/validator/types/tx.pb.go index b53259413..45e606885 100644 --- a/x/validator/types/tx.pb.go +++ b/x/validator/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: validator/types/tx.proto +// source: zigbeealliance/distributedcomplianceledger/validator/tx.proto package types @@ -40,7 +40,7 @@ func (m *MsgCreateValidator) Reset() { *m = MsgCreateValidator{} } func (m *MsgCreateValidator) String() string { return proto.CompactTextString(m) } func (*MsgCreateValidator) ProtoMessage() {} func (*MsgCreateValidator) Descriptor() ([]byte, []int) { - return fileDescriptor_d6a4cc0edbf10f22, []int{0} + return fileDescriptor_89ab666760ce926c, []int{0} } func (m *MsgCreateValidator) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -76,7 +76,7 @@ func (m *MsgCreateValidatorResponse) Reset() { *m = MsgCreateValidatorRe func (m *MsgCreateValidatorResponse) String() string { return proto.CompactTextString(m) } func (*MsgCreateValidatorResponse) ProtoMessage() {} func (*MsgCreateValidatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d6a4cc0edbf10f22, []int{1} + return fileDescriptor_89ab666760ce926c, []int{1} } func (m *MsgCreateValidatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -116,7 +116,7 @@ func (m *MsgProposeDisableValidator) Reset() { *m = MsgProposeDisableVal func (m *MsgProposeDisableValidator) String() string { return proto.CompactTextString(m) } func (*MsgProposeDisableValidator) ProtoMessage() {} func (*MsgProposeDisableValidator) Descriptor() ([]byte, []int) { - return fileDescriptor_d6a4cc0edbf10f22, []int{2} + return fileDescriptor_89ab666760ce926c, []int{2} } func (m *MsgProposeDisableValidator) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -180,7 +180,7 @@ func (m *MsgProposeDisableValidatorResponse) Reset() { *m = MsgProposeDi func (m *MsgProposeDisableValidatorResponse) String() string { return proto.CompactTextString(m) } func (*MsgProposeDisableValidatorResponse) ProtoMessage() {} func (*MsgProposeDisableValidatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d6a4cc0edbf10f22, []int{3} + return fileDescriptor_89ab666760ce926c, []int{3} } func (m *MsgProposeDisableValidatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -220,7 +220,7 @@ func (m *MsgApproveDisableValidator) Reset() { *m = MsgApproveDisableVal func (m *MsgApproveDisableValidator) String() string { return proto.CompactTextString(m) } func (*MsgApproveDisableValidator) ProtoMessage() {} func (*MsgApproveDisableValidator) Descriptor() ([]byte, []int) { - return fileDescriptor_d6a4cc0edbf10f22, []int{4} + return fileDescriptor_89ab666760ce926c, []int{4} } func (m *MsgApproveDisableValidator) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -284,7 +284,7 @@ func (m *MsgApproveDisableValidatorResponse) Reset() { *m = MsgApproveDi func (m *MsgApproveDisableValidatorResponse) String() string { return proto.CompactTextString(m) } func (*MsgApproveDisableValidatorResponse) ProtoMessage() {} func (*MsgApproveDisableValidatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d6a4cc0edbf10f22, []int{5} + return fileDescriptor_89ab666760ce926c, []int{5} } func (m *MsgApproveDisableValidatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -321,7 +321,7 @@ func (m *MsgDisableValidator) Reset() { *m = MsgDisableValidator{} } func (m *MsgDisableValidator) String() string { return proto.CompactTextString(m) } func (*MsgDisableValidator) ProtoMessage() {} func (*MsgDisableValidator) Descriptor() ([]byte, []int) { - return fileDescriptor_d6a4cc0edbf10f22, []int{6} + return fileDescriptor_89ab666760ce926c, []int{6} } func (m *MsgDisableValidator) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -364,7 +364,7 @@ func (m *MsgDisableValidatorResponse) Reset() { *m = MsgDisableValidator func (m *MsgDisableValidatorResponse) String() string { return proto.CompactTextString(m) } func (*MsgDisableValidatorResponse) ProtoMessage() {} func (*MsgDisableValidatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d6a4cc0edbf10f22, []int{7} + return fileDescriptor_89ab666760ce926c, []int{7} } func (m *MsgDisableValidatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -401,7 +401,7 @@ func (m *MsgEnableValidator) Reset() { *m = MsgEnableValidator{} } func (m *MsgEnableValidator) String() string { return proto.CompactTextString(m) } func (*MsgEnableValidator) ProtoMessage() {} func (*MsgEnableValidator) Descriptor() ([]byte, []int) { - return fileDescriptor_d6a4cc0edbf10f22, []int{8} + return fileDescriptor_89ab666760ce926c, []int{8} } func (m *MsgEnableValidator) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -444,7 +444,7 @@ func (m *MsgEnableValidatorResponse) Reset() { *m = MsgEnableValidatorRe func (m *MsgEnableValidatorResponse) String() string { return proto.CompactTextString(m) } func (*MsgEnableValidatorResponse) ProtoMessage() {} func (*MsgEnableValidatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d6a4cc0edbf10f22, []int{9} + return fileDescriptor_89ab666760ce926c, []int{9} } func (m *MsgEnableValidatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -484,7 +484,7 @@ func (m *MsgRejectDisableValidator) Reset() { *m = MsgRejectDisableValid func (m *MsgRejectDisableValidator) String() string { return proto.CompactTextString(m) } func (*MsgRejectDisableValidator) ProtoMessage() {} func (*MsgRejectDisableValidator) Descriptor() ([]byte, []int) { - return fileDescriptor_d6a4cc0edbf10f22, []int{10} + return fileDescriptor_89ab666760ce926c, []int{10} } func (m *MsgRejectDisableValidator) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -548,7 +548,7 @@ func (m *MsgRejectDisableValidatorResponse) Reset() { *m = MsgRejectDisa func (m *MsgRejectDisableValidatorResponse) String() string { return proto.CompactTextString(m) } func (*MsgRejectDisableValidatorResponse) ProtoMessage() {} func (*MsgRejectDisableValidatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d6a4cc0edbf10f22, []int{11} + return fileDescriptor_89ab666760ce926c, []int{11} } func (m *MsgRejectDisableValidatorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -578,66 +578,69 @@ func (m *MsgRejectDisableValidatorResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgRejectDisableValidatorResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*MsgCreateValidator)(nil), "validator.types.MsgCreateValidator") - proto.RegisterType((*MsgCreateValidatorResponse)(nil), "validator.types.MsgCreateValidatorResponse") - proto.RegisterType((*MsgProposeDisableValidator)(nil), "validator.types.MsgProposeDisableValidator") - proto.RegisterType((*MsgProposeDisableValidatorResponse)(nil), "validator.types.MsgProposeDisableValidatorResponse") - proto.RegisterType((*MsgApproveDisableValidator)(nil), "validator.types.MsgApproveDisableValidator") - proto.RegisterType((*MsgApproveDisableValidatorResponse)(nil), "validator.types.MsgApproveDisableValidatorResponse") - proto.RegisterType((*MsgDisableValidator)(nil), "validator.types.MsgDisableValidator") - proto.RegisterType((*MsgDisableValidatorResponse)(nil), "validator.types.MsgDisableValidatorResponse") - proto.RegisterType((*MsgEnableValidator)(nil), "validator.types.MsgEnableValidator") - proto.RegisterType((*MsgEnableValidatorResponse)(nil), "validator.types.MsgEnableValidatorResponse") - proto.RegisterType((*MsgRejectDisableValidator)(nil), "validator.types.MsgRejectDisableValidator") - proto.RegisterType((*MsgRejectDisableValidatorResponse)(nil), "validator.types.MsgRejectDisableValidatorResponse") -} - -func init() { proto.RegisterFile("validator/types/tx.proto", fileDescriptor_d6a4cc0edbf10f22) } - -var fileDescriptor_d6a4cc0edbf10f22 = []byte{ - // 660 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x56, 0x4f, 0x4f, 0xd4, 0x4e, - 0x18, 0x6e, 0x61, 0x7f, 0xfc, 0x64, 0x38, 0x60, 0x06, 0x22, 0xa5, 0x62, 0x17, 0x0a, 0x07, 0x22, - 0x6e, 0x6b, 0xc0, 0x98, 0x48, 0xe2, 0x81, 0x15, 0x63, 0xd4, 0x6c, 0x42, 0x6a, 0xe2, 0xc1, 0xc4, - 0x60, 0xff, 0x0c, 0xe3, 0x98, 0x6e, 0xa7, 0xce, 0xcc, 0xe2, 0xae, 0x7e, 0x01, 0x0f, 0x1e, 0xfc, - 0x08, 0xdc, 0xbd, 0xfa, 0x21, 0x88, 0x27, 0xe2, 0xc9, 0x13, 0x31, 0x70, 0xf1, 0xac, 0x5f, 0xc0, - 0x30, 0x6d, 0x77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, 0x76, 0x9c, 0xfc, 0xdc, 0x08, 0x51, 0x80, 0x11, 0xb3, 0xbb, 0x76, 0xee, 0xa3, - 0xc3, 0x1b, 0x93, 0x7f, 0xcf, 0x6b, 0x3f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xf3, 0x20, 0x8e, 0xf3, - 0xb9, 0x08, 0x00, 0x00, + proto.RegisterType((*MsgCreateValidator)(nil), "zigbeealliance.distributedcomplianceledger.validator.MsgCreateValidator") + proto.RegisterType((*MsgCreateValidatorResponse)(nil), "zigbeealliance.distributedcomplianceledger.validator.MsgCreateValidatorResponse") + proto.RegisterType((*MsgProposeDisableValidator)(nil), "zigbeealliance.distributedcomplianceledger.validator.MsgProposeDisableValidator") + proto.RegisterType((*MsgProposeDisableValidatorResponse)(nil), "zigbeealliance.distributedcomplianceledger.validator.MsgProposeDisableValidatorResponse") + proto.RegisterType((*MsgApproveDisableValidator)(nil), "zigbeealliance.distributedcomplianceledger.validator.MsgApproveDisableValidator") + proto.RegisterType((*MsgApproveDisableValidatorResponse)(nil), "zigbeealliance.distributedcomplianceledger.validator.MsgApproveDisableValidatorResponse") + proto.RegisterType((*MsgDisableValidator)(nil), "zigbeealliance.distributedcomplianceledger.validator.MsgDisableValidator") + proto.RegisterType((*MsgDisableValidatorResponse)(nil), "zigbeealliance.distributedcomplianceledger.validator.MsgDisableValidatorResponse") + proto.RegisterType((*MsgEnableValidator)(nil), "zigbeealliance.distributedcomplianceledger.validator.MsgEnableValidator") + proto.RegisterType((*MsgEnableValidatorResponse)(nil), "zigbeealliance.distributedcomplianceledger.validator.MsgEnableValidatorResponse") + proto.RegisterType((*MsgRejectDisableValidator)(nil), "zigbeealliance.distributedcomplianceledger.validator.MsgRejectDisableValidator") + proto.RegisterType((*MsgRejectDisableValidatorResponse)(nil), "zigbeealliance.distributedcomplianceledger.validator.MsgRejectDisableValidatorResponse") +} + +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/validator/tx.proto", fileDescriptor_89ab666760ce926c) +} + +var fileDescriptor_89ab666760ce926c = []byte{ + // 682 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x96, 0x4d, 0x6b, 0x13, 0x41, + 0x18, 0xc7, 0x33, 0x6d, 0xa8, 0xed, 0xf4, 0xa0, 0x4c, 0x8b, 0x4d, 0x57, 0xdd, 0xd4, 0xd5, 0x43, + 0x41, 0xb2, 0x2b, 0xb5, 0x08, 0x16, 0x7a, 0x48, 0xac, 0xef, 0x04, 0xeb, 0x0a, 0x2a, 0x82, 0xd4, + 0x7d, 0x99, 0x8e, 0x23, 0x9b, 0x9d, 0x75, 0x66, 0x52, 0x1b, 0x3f, 0x81, 0x47, 0x3f, 0x42, 0xbf, + 0x80, 0xa0, 0xe0, 0x27, 0x10, 0x84, 0xe2, 0xa9, 0x78, 0xf2, 0x54, 0xa4, 0xbd, 0x78, 0xf1, 0xa2, + 0x5f, 0x40, 0xb2, 0x2f, 0x49, 0xba, 0xc9, 0x56, 0xd8, 0xa6, 0x27, 0x6f, 0xb3, 0x99, 0x3c, 0xbf, + 0xff, 0xf3, 0xfc, 0x9f, 0x99, 0x87, 0x81, 0xcb, 0x6f, 0x28, 0xb1, 0x31, 0xb6, 0x3c, 0x8f, 0x5a, + 0xbe, 0x83, 0x0d, 0x97, 0x0a, 0xc9, 0xa9, 0xdd, 0x94, 0xd8, 0x75, 0x58, 0x23, 0x88, 0x7e, 0xf5, + 0xb0, 0x4b, 0x30, 0x37, 0x36, 0x2c, 0x8f, 0xba, 0x96, 0x64, 0xdc, 0x90, 0x9b, 0x7a, 0xc0, 0x99, + 0x64, 0x68, 0xf1, 0x60, 0xb8, 0x7e, 0x48, 0xb8, 0xde, 0x09, 0x57, 0x6e, 0xe6, 0x12, 0x75, 0xb1, + 0x70, 0x38, 0x0d, 0x24, 0x65, 0x7e, 0xa4, 0xae, 0xcc, 0x12, 0xc6, 0x88, 0x87, 0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d, 0xa2, 0xfc, 0x6a, 0x19, 0x44, 0xe5, 0xc9, + 0xb0, 0x89, 0x07, 0xea, 0xc8, 0x1a, 0x1b, 0xf9, 0xeb, 0xc8, 0x20, 0x1e, 0xa1, 0x8e, 0x7f, 0xdc, + 0x72, 0xf4, 0x01, 0xc0, 0x53, 0xfd, 0x77, 0x3c, 0xb7, 0x5c, 0x5f, 0xe6, 0x0f, 0x86, 0x86, 0xea, + 0xa4, 0xdc, 0x3e, 0xf2, 0xe9, 0xa9, 0x90, 0xff, 0xc8, 0xa7, 0x48, 0x47, 0x38, 0xf2, 0x19, 0x83, + 0x04, 0x7d, 0x06, 0xf0, 0x74, 0xc6, 0x18, 0xb9, 0x9f, 0x5b, 0x6c, 0x30, 0x50, 0x79, 0x3c, 0x64, + 0x60, 0x52, 0x44, 0xcd, 0xdd, 0xde, 0x53, 0xc1, 0xce, 0x9e, 0x0a, 0x7e, 0xec, 0xa9, 0xe0, 0xdd, + 0xbe, 0x5a, 0xd8, 0xd9, 0x57, 0x0b, 0xdf, 0xf7, 0xd5, 0xc2, 0xd3, 0xbb, 0x84, 0xca, 0x17, 0x4d, + 0x5b, 0x77, 0x58, 0xc3, 0x88, 0xc4, 0x2b, 0x83, 0x5e, 0x94, 0x95, 0xae, 0x7c, 0x25, 0x7e, 0x53, + 0x6e, 0xf6, 0x3e, 0x65, 0x5b, 0x01, 0x16, 0xf6, 0x58, 0xf8, 0x0a, 0xbb, 0xf2, 0x37, 0x00, 0x00, + 0xff, 0xff, 0xe8, 0xf9, 0x97, 0xcd, 0x0f, 0x0b, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -670,7 +673,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { func (c *msgClient) CreateValidator(ctx context.Context, in *MsgCreateValidator, opts ...grpc.CallOption) (*MsgCreateValidatorResponse, error) { out := new(MsgCreateValidatorResponse) - err := c.cc.Invoke(ctx, "/validator.types.Msg/CreateValidator", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.validator.Msg/CreateValidator", in, out, opts...) if err != nil { return nil, err } @@ -679,7 +682,7 @@ func (c *msgClient) CreateValidator(ctx context.Context, in *MsgCreateValidator, func (c *msgClient) ProposeDisableValidator(ctx context.Context, in *MsgProposeDisableValidator, opts ...grpc.CallOption) (*MsgProposeDisableValidatorResponse, error) { out := new(MsgProposeDisableValidatorResponse) - err := c.cc.Invoke(ctx, "/validator.types.Msg/ProposeDisableValidator", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.validator.Msg/ProposeDisableValidator", in, out, opts...) if err != nil { return nil, err } @@ -688,7 +691,7 @@ func (c *msgClient) ProposeDisableValidator(ctx context.Context, in *MsgProposeD func (c *msgClient) ApproveDisableValidator(ctx context.Context, in *MsgApproveDisableValidator, opts ...grpc.CallOption) (*MsgApproveDisableValidatorResponse, error) { out := new(MsgApproveDisableValidatorResponse) - err := c.cc.Invoke(ctx, "/validator.types.Msg/ApproveDisableValidator", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.validator.Msg/ApproveDisableValidator", in, out, opts...) if err != nil { return nil, err } @@ -697,7 +700,7 @@ func (c *msgClient) ApproveDisableValidator(ctx context.Context, in *MsgApproveD func (c *msgClient) DisableValidator(ctx context.Context, in *MsgDisableValidator, opts ...grpc.CallOption) (*MsgDisableValidatorResponse, error) { out := new(MsgDisableValidatorResponse) - err := c.cc.Invoke(ctx, "/validator.types.Msg/DisableValidator", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.validator.Msg/DisableValidator", in, out, opts...) if err != nil { return nil, err } @@ -706,7 +709,7 @@ func (c *msgClient) DisableValidator(ctx context.Context, in *MsgDisableValidato func (c *msgClient) EnableValidator(ctx context.Context, in *MsgEnableValidator, opts ...grpc.CallOption) (*MsgEnableValidatorResponse, error) { out := new(MsgEnableValidatorResponse) - err := c.cc.Invoke(ctx, "/validator.types.Msg/EnableValidator", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.validator.Msg/EnableValidator", in, out, opts...) if err != nil { return nil, err } @@ -715,7 +718,7 @@ func (c *msgClient) EnableValidator(ctx context.Context, in *MsgEnableValidator, func (c *msgClient) RejectDisableValidator(ctx context.Context, in *MsgRejectDisableValidator, opts ...grpc.CallOption) (*MsgRejectDisableValidatorResponse, error) { out := new(MsgRejectDisableValidatorResponse) - err := c.cc.Invoke(ctx, "/validator.types.Msg/RejectDisableValidator", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.validator.Msg/RejectDisableValidator", in, out, opts...) if err != nil { return nil, err } @@ -769,7 +772,7 @@ func _Msg_CreateValidator_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/validator.types.Msg/CreateValidator", + FullMethod: "/zigbeealliance.distributedcomplianceledger.validator.Msg/CreateValidator", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).CreateValidator(ctx, req.(*MsgCreateValidator)) @@ -787,7 +790,7 @@ func _Msg_ProposeDisableValidator_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/validator.types.Msg/ProposeDisableValidator", + FullMethod: "/zigbeealliance.distributedcomplianceledger.validator.Msg/ProposeDisableValidator", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ProposeDisableValidator(ctx, req.(*MsgProposeDisableValidator)) @@ -805,7 +808,7 @@ func _Msg_ApproveDisableValidator_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/validator.types.Msg/ApproveDisableValidator", + FullMethod: "/zigbeealliance.distributedcomplianceledger.validator.Msg/ApproveDisableValidator", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ApproveDisableValidator(ctx, req.(*MsgApproveDisableValidator)) @@ -823,7 +826,7 @@ func _Msg_DisableValidator_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/validator.types.Msg/DisableValidator", + FullMethod: "/zigbeealliance.distributedcomplianceledger.validator.Msg/DisableValidator", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).DisableValidator(ctx, req.(*MsgDisableValidator)) @@ -841,7 +844,7 @@ func _Msg_EnableValidator_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/validator.types.Msg/EnableValidator", + FullMethod: "/zigbeealliance.distributedcomplianceledger.validator.Msg/EnableValidator", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).EnableValidator(ctx, req.(*MsgEnableValidator)) @@ -859,7 +862,7 @@ func _Msg_RejectDisableValidator_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/validator.types.Msg/RejectDisableValidator", + FullMethod: "/zigbeealliance.distributedcomplianceledger.validator.Msg/RejectDisableValidator", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).RejectDisableValidator(ctx, req.(*MsgRejectDisableValidator)) @@ -868,7 +871,7 @@ func _Msg_RejectDisableValidator_Handler(srv interface{}, ctx context.Context, d } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "validator.types.Msg", + ServiceName: "zigbeealliance.distributedcomplianceledger.validator.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -897,7 +900,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "validator/types/tx.proto", + Metadata: "zigbeealliance/distributedcomplianceledger/validator/tx.proto", } func (m *MsgCreateValidator) Marshal() (dAtA []byte, err error) { diff --git a/x/validator/types/validator.pb.go b/x/validator/types/validator.pb.go index f5f348723..009048f5c 100644 --- a/x/validator/types/validator.pb.go +++ b/x/validator/types/validator.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: validator/types/validator.proto +// source: zigbeealliance/distributedcomplianceledger/validator/validator.proto package types @@ -43,7 +43,7 @@ type Validator struct { func (m *Validator) Reset() { *m = Validator{} } func (*Validator) ProtoMessage() {} func (*Validator) Descriptor() ([]byte, []int) { - return fileDescriptor_dff93f2fc445dec7, []int{0} + return fileDescriptor_dac29b5a8b0a342e, []int{0} } func (m *Validator) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -73,38 +73,40 @@ func (m *Validator) XXX_DiscardUnknown() { var xxx_messageInfo_Validator proto.InternalMessageInfo func init() { - proto.RegisterType((*Validator)(nil), "validator.types.Validator") + proto.RegisterType((*Validator)(nil), "zigbeealliance.distributedcomplianceledger.validator.Validator") } -func init() { proto.RegisterFile("validator/types/validator.proto", fileDescriptor_dff93f2fc445dec7) } +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/validator/validator.proto", fileDescriptor_dac29b5a8b0a342e) +} -var fileDescriptor_dff93f2fc445dec7 = []byte{ - // 386 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x91, 0x31, 0x8b, 0xd4, 0x40, - 0x18, 0x86, 0x33, 0xa7, 0x09, 0xde, 0xdc, 0x81, 0x10, 0x82, 0xcc, 0x1d, 0x92, 0xc4, 0xab, 0xd2, - 0x64, 0x06, 0xb4, 0xb3, 0x10, 0x6e, 0x11, 0x0b, 0x6d, 0x24, 0x82, 0x85, 0x8d, 0x24, 0x99, 0x71, - 0x1c, 0xc9, 0xe6, 0x0b, 0x33, 0x13, 0xd7, 0xf8, 0x0b, 0x2c, 0x2d, 0x2d, 0x17, 0xfc, 0x0b, 0xfe, - 0x08, 0xb1, 0x5a, 0xac, 0x2c, 0x65, 0xb7, 0xf1, 0x67, 0xc8, 0x66, 0xb2,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f9, 0x85, 0x13, 0xe1, 0x1d, 0x1c, 0xbc, 0x2b, 0x55, 0x23, 0x38, 0xf1, 0x53, 0x94, - 0xdd, 0x2a, 0x26, 0x15, 0x5e, 0xe1, 0x73, 0x37, 0x15, 0xa2, 0x34, 0xd0, 0x92, 0x60, 0x5b, 0xb6, - 0xf8, 0xcf, 0x7b, 0x78, 0xfe, 0x69, 0x99, 0x78, 0x5f, 0x96, 0x89, 0xf7, 0x67, 0x99, 0x78, 0x33, - 0xfe, 0x7d, 0x1d, 0xa3, 0xd5, 0x3a, 0x46, 0xbf, 0xd7, 0x31, 0xfa, 0xbc, 0x89, 0xbd, 0xd5, 0x26, - 0xf6, 0x7e, 0x6d, 0x62, 0xef, 0xd5, 0x53, 0xa9, 0xec, 0xdb, 0xbe, 0xa2, 0x35, 0xcc, 0xd9, 0x47, - 0x25, 0x2b, 0x21, 0xf2, 0xb2, 0x69, 0x54, 0xd9, 0xd6, 0x82, 0x71, 0x65, 0xac, 0x56, 0x55, 0x6f, - 0x05, 0xcf, 0x6b, 0x98, 0x77, 0xce, 0xce, 0x1b, 0xc1, 0xa5, 0xd0, 0xec, 0x03, 0x3b, 0x7a, 0x9d, - 0x2a, 0x18, 0x5b, 0x3f, 0xf8, 0x1b, 0x00, 0x00, 0xff, 0xff, 0xbe, 0x35, 0xbd, 0xf4, 0x35, 0x02, - 0x00, 0x00, +var fileDescriptor_dac29b5a8b0a342e = []byte{ + // 398 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x91, 0xb1, 0x8e, 0xd3, 0x40, + 0x10, 0x86, 0xbd, 0x07, 0xb6, 0xb8, 0xbd, 0xab, 0x2c, 0x0b, 0xed, 0x5d, 0xe1, 0x58, 0x57, 0xb9, + 0xf1, 0x5a, 0x02, 0x2a, 0xba, 0x44, 0xa7, 0x2b, 0xa0, 0x41, 0x46, 0xa2, 0xa0, 0x41, 0xb6,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 0x4d, 0xe9, 0x29, 0xee, 0xd0, 0xdb, 0x03, 0x28, 0x1b, 0x53, + 0xfd, 0x3b, 0xec, 0x35, 0x6d, 0xf1, 0x9c, 0x77, 0xe4, 0x5e, 0xcf, 0x0f, 0xa8, 0xf5, 0x91, 0xee, + 0x7d, 0xa4, 0xd3, 0xba, 0x9b, 0x91, 0xef, 0x87, 0xb7, 0x96, 0xaa, 0x6b, 0x0c, 0xd0, 0x17, 0xfd, + 0x56, 0x36, 0x6c, 0xfb, 0x01, 0x76, 0x1b, 0x58, 0x70, 0x45, 0xee, 0x47, 0x28, 0x76, 0x33, 0x5b, + 0xf8, 0x0f, 0xb1, 0xf7, 0x3e, 0x97, 0x15, 0x67, 0xc4, 0x8d, 0x50, 0xfc, 0x20, 0x1b, 0x2a, 0xff, + 0x06, 0x5f, 0x5a, 0x95, 0xf1, 0x5c, 0x43, 0x4d, 0xbc, 0x9d, 0x23, 0xd9, 0x51, 0xef, 0xe9, 0xe5, + 0xe7, 0xe5, 0xc4, 0xf9, 0xba, 0x9c, 0x38, 0xbf, 0x97, 0x13, 0x67, 0xc6, 0x56, 0x9b, 0x10, 0xad, + 0x37, 0x21, 0xfa, 0xb5, 0x09, 0xd1, 0x97, 0x6d, 0xe8, 0xac, 0xb7, 0xa1, 0xf3, 0x73, 0x1b, 0x3a, + 0xaf, 0x9f, 0x09, 0x69, 0xde, 0xb5, 0x05, 0x2d, 0x61, 0x9e, 0x5a, 0x6f, 0x92, 0x7f, 0x05, 0x97, + 0x1c, 0xdc, 0x49, 0x86, 0xe8, 0x3e, 0x8e, 0xc2, 0x33, 0x5d, 0xc3, 0x75, 0xe1, 0xf5, 0x57, 0x3f, + 0xfe, 0x13, 0x00, 0x00, 0xff, 0xff, 0x99, 0xb1, 0x7f, 0xad, 0xc9, 0x02, 0x00, 0x00, } func (m *Validator) Marshal() (dAtA []byte, err error) { diff --git a/x/vendorinfo/types/genesis.pb.go b/x/vendorinfo/types/genesis.pb.go index d001c3d07..1ba73d37e 100644 --- a/x/vendorinfo/types/genesis.pb.go +++ b/x/vendorinfo/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: vendorinfo/types/genesis.proto +// source: zigbeealliance/distributedcomplianceledger/vendorinfo/genesis.proto package types @@ -32,7 +32,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} } func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_97a57510e28cd194, []int{0} + return fileDescriptor_f395b6882453331e, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -69,28 +69,31 @@ func (m *GenesisState) GetVendorInfoList() []VendorInfo { } func init() { - proto.RegisterType((*GenesisState)(nil), "vendorinfo.types.GenesisState") + proto.RegisterType((*GenesisState)(nil), "zigbeealliance.distributedcomplianceledger.vendorinfo.GenesisState") } -func init() { proto.RegisterFile("vendorinfo/types/genesis.proto", fileDescriptor_97a57510e28cd194) } +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/vendorinfo/genesis.proto", fileDescriptor_f395b6882453331e) +} -var fileDescriptor_97a57510e28cd194 = []byte{ - // 229 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2b, 0x4b, 0xcd, 0x4b, - 0xc9, 0x2f, 0xca, 0xcc, 0x4b, 0xcb, 0xd7, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0xd6, 0x4f, 0x4f, 0xcd, - 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x40, 0xc8, 0xeb, 0x81, - 0xe5, 0xa5, 0x94, 0x30, 0x74, 0x40, 0x04, 0xe2, 0xc1, 0x6a, 0xc0, 0xba, 0xa4, 0x44, 0xd2, 0xf3, - 0xd3, 0xf3, 0xc1, 0x4c, 0x7d, 0x10, 0x0b, 0x22, 0xaa, 0x14, 0xc5, 0xc5, 0xe3, 0x0e, 0x31, 0x3c, - 0xb8, 0x24, 0xb1, 0x24, 0x55, 0xc8, 0x8b, 0x8b, 0x0f, 0xa2, 0xd5, 0x33, 0x2f, 0x2d, 0xdf, 0x27, - 0xb3, 0xb8, 0x44, 0x82, 0x51, 0x81, 0x59, 0x83, 0xdb, 0x48, 0x46, 0x0f, 0xdd, 0x52, 0xbd, 0x30, - 0xb8, 0x3a, 0x27, 0x96, 0x13, 0xf7, 0xe4, 0x19, 0x82, 0xd0, 0x74, 0x3a, 0xa5, 0x9e, 0x78, 0x24, - 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, - 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x77, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, - 0x72, 0x7e, 0xae, 0x7e, 0x55, 0x66, 0x7a, 0x52, 0x6a, 0xaa, 0x6e, 0x62, 0x4e, 0x4e, 0x66, 0x62, - 0x5e, 0x72, 0xaa, 0x7e, 0x4a, 0x66, 0x71, 0x49, 0x51, 0x66, 0x52, 0x69, 0x49, 0x6a, 0x8a, 0x6e, - 0x72, 0x7e, 0x6e, 0x01, 0x44, 0x58, 0x37, 0x27, 0x35, 0x25, 0x3d, 0xb5, 0x48, 0xbf, 0x42, 0x1f, - 0xdd, 0xab, 0x49, 0x6c, 0x60, 0x9f, 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x9d, 0xb4, 0x02, - 0x36, 0x37, 0x01, 0x00, 0x00, +var fileDescriptor_f395b6882453331e = []byte{ + // 241 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x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, 0x9e, + 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x0f, 0xb1, 0x5c, 0x17, 0x5b, 0x28, 0xe8, + 0x22, 0xac, 0xd7, 0x85, 0x86, 0x43, 0x05, 0x72, 0x48, 0x94, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, + 0x81, 0xbd, 0x6b, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xd3, 0x83, 0x69, 0xcd, 0xcb, 0x01, 0x00, + 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/vendorinfo/types/query.pb.go b/x/vendorinfo/types/query.pb.go index fe6f94c87..b2287380c 100644 --- a/x/vendorinfo/types/query.pb.go +++ b/x/vendorinfo/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: vendorinfo/types/query.proto +// source: zigbeealliance/distributedcomplianceledger/vendorinfo/query.proto package types @@ -38,7 +38,7 @@ func (m *QueryGetVendorInfoRequest) Reset() { *m = QueryGetVendorInfoReq func (m *QueryGetVendorInfoRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetVendorInfoRequest) ProtoMessage() {} func (*QueryGetVendorInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d8594c616d7eb3b1, []int{0} + return fileDescriptor_ae42cb3749c6e205, []int{0} } func (m *QueryGetVendorInfoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -82,7 +82,7 @@ func (m *QueryGetVendorInfoResponse) Reset() { *m = QueryGetVendorInfoRe func (m *QueryGetVendorInfoResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetVendorInfoResponse) ProtoMessage() {} func (*QueryGetVendorInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d8594c616d7eb3b1, []int{1} + return fileDescriptor_ae42cb3749c6e205, []int{1} } func (m *QueryGetVendorInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -126,7 +126,7 @@ func (m *QueryAllVendorInfoRequest) Reset() { *m = QueryAllVendorInfoReq func (m *QueryAllVendorInfoRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllVendorInfoRequest) ProtoMessage() {} func (*QueryAllVendorInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d8594c616d7eb3b1, []int{2} + return fileDescriptor_ae42cb3749c6e205, []int{2} } func (m *QueryAllVendorInfoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -171,7 +171,7 @@ func (m *QueryAllVendorInfoResponse) Reset() { *m = QueryAllVendorInfoRe func (m *QueryAllVendorInfoResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllVendorInfoResponse) ProtoMessage() {} func (*QueryAllVendorInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d8594c616d7eb3b1, []int{3} + return fileDescriptor_ae42cb3749c6e205, []int{3} } func (m *QueryAllVendorInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -215,45 +215,48 @@ func (m *QueryAllVendorInfoResponse) GetPagination() *query.PageResponse { } func init() { - proto.RegisterType((*QueryGetVendorInfoRequest)(nil), "vendorinfo.types.QueryGetVendorInfoRequest") - proto.RegisterType((*QueryGetVendorInfoResponse)(nil), "vendorinfo.types.QueryGetVendorInfoResponse") - proto.RegisterType((*QueryAllVendorInfoRequest)(nil), "vendorinfo.types.QueryAllVendorInfoRequest") - proto.RegisterType((*QueryAllVendorInfoResponse)(nil), "vendorinfo.types.QueryAllVendorInfoResponse") + proto.RegisterType((*QueryGetVendorInfoRequest)(nil), "zigbeealliance.distributedcomplianceledger.vendorinfo.QueryGetVendorInfoRequest") + proto.RegisterType((*QueryGetVendorInfoResponse)(nil), "zigbeealliance.distributedcomplianceledger.vendorinfo.QueryGetVendorInfoResponse") + proto.RegisterType((*QueryAllVendorInfoRequest)(nil), "zigbeealliance.distributedcomplianceledger.vendorinfo.QueryAllVendorInfoRequest") + proto.RegisterType((*QueryAllVendorInfoResponse)(nil), "zigbeealliance.distributedcomplianceledger.vendorinfo.QueryAllVendorInfoResponse") } -func init() { proto.RegisterFile("vendorinfo/types/query.proto", fileDescriptor_d8594c616d7eb3b1) } +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/vendorinfo/query.proto", fileDescriptor_ae42cb3749c6e205) +} -var fileDescriptor_d8594c616d7eb3b1 = []byte{ - // 458 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0x41, 0x6b, 0x14, 0x31, - 0x14, 0xc7, 0x77, 0x56, 0x2b, 0x12, 0x11, 0x24, 0x08, 0xda, 0x61, 0x99, 0x4a, 0x10, 0x95, 0xea, - 0x26, 0xb4, 0x1e, 0x3c, 0x77, 0x11, 0x4b, 0xf1, 0xa2, 0x7b, 0xf0, 0xe0, 0x45, 0x33, 0x33, 0xaf, - 0x31, 0x90, 0x4d, 0xa6, 0x93, 0xec, 0x62, 0x15, 0x2f, 0x5e, 0xbd, 0x08, 0xfd, 0x14, 0xe2, 0x17, - 0xe9, 0xb1, 0xe0, 0xc5, 0x93, 0xc8, 0xae, 0x1f, 0x44, 0x36, 0x19, 0x77, 0xc6, 0xdd, 0x1d, 0xb4, - 0xb7, 0xcc, 0x9b, 0xf7, 0x7f, 0xff, 0x5f, 0xfe, 0x49, 0x50, 0x6f, 0x02, 0x3a, 0x37, 0xa5, 0xd4, - 0x87, 0x86, 0xb9, 0xe3, 0x02, 0x2c, 0x3b, 0x1a, 0x43, 0x79, 0x4c, 0x8b, 0xd2, 0x38, 0x83, 0xaf, - 0xd5, 0x7f, 0xa9, 0xff, 0x1b, 0xf7, 0x84, 0x31, 0x42, 0x01, 0xe3, 0x85, 0x64, 0x5c, 0x6b, 0xe3, - 0xb8, 0x93, 0x46, 0xdb, 0xd0, 0x1f, 0x6f, 0x67, 0xc6, 0x8e, 0x8c, 0x65, 0x29, 0xb7, 0x10, 0x06, - 0xb1, 0xc9, 0x4e, 0x0a, 0x8e, 0xef, 0xb0, 0x82, 0x0b, 0xa9, 0x7d, 0x73, 0xd5, 0x4b, 0x56, 0x9c, - 0x43, 0xe1, 0x95, 0x77, 0x0b, 0x3d, 0xd7, 0x85, 0x11, 0xc6, 0x2f, 0xd9, 0x7c, 0x15, 0xaa, 0xe4, - 0x11, 0xda, 0x7c, 0x3e, 0x9f, 0xbd, 0x0f, 0xee, 0x85, 0x97, 0x1c, 0xe8, 0x43, 0x33, 0x84, 0xa3, - 0x31, 0x58, 0x87, 0x63, 0x74, 0x39, 0xcc, 0x39, 0x78, 0x7c, 0x33, 0xba, 0x15, 0xdd, 0xdb, 0x18, - 0x2e, 0xbe, 0xc9, 0x6b, 0x14, 0xaf, 0x13, 0xda, 0xc2, 0x68, 0x0b, 0x78, 0x80, 0xd0, 0x64, 0x51, - 0xf5, 0xda, 0x2b, 0xbb, 0x3d, 0xba, 0x9c, 0x00, 0xad, 0x95, 0x83, 0x8b, 0xa7, 0x3f, 0xb6, 0x3a, - 0xc3, 0x86, 0x8a, 0x64, 0x15, 0xda, 0x9e, 0x52, 0xab, 0x68, 0x4f, 0x10, 0xaa, 0x53, 0xa8, 0x0c, - 0xee, 0xd0, 0x10, 0x19, 0x9d, 0x47, 0x46, 0x43, 0xf6, 0x55, 0x64, 0xf4, 0x19, 0x17, 0x50, 0x69, - 0x87, 0x0d, 0x25, 0xf9, 0x12, 0x55, 0xfb, 0x58, 0x72, 0x69, 0xd9, 0xc7, 0x85, 0xf3, 0xef, 0x03, - 0xef, 0xff, 0x85, 0xda, 0xf5, 0xa8, 0x77, 0xff, 0x89, 0x1a, 0x00, 0x9a, 0xac, 0xbb, 0x5f, 0xbb, - 0x68, 0xc3, 0xb3, 0xe2, 0x93, 0x08, 0xa1, 0xda, 0x13, 0xdf, 0x5f, 0x25, 0x6a, 0x3d, 0xd4, 0xf8, - 0xc1, 0xff, 0x35, 0x07, 0x7f, 0xb2, 0xfd, 0xf1, 0xdb, 0xaf, 0x93, 0xee, 0x6d, 0x4c, 0x58, 0x9e, - 0x29, 0xd6, 0xb8, 0x66, 0x61, 0x69, 0xd9, 0xfb, 0x3f, 0x37, 0xe2, 0x03, 0xfe, 0x14, 0xa1, 0xab, - 0xf5, 0x88, 0x3d, 0xa5, 0x5a, 0xc1, 0xd6, 0x1d, 0x69, 0x2b, 0xd8, 0xda, 0x93, 0x21, 0x5b, 0x1e, - 0x6c, 0x13, 0xdf, 0x68, 0x01, 0x1b, 0xc0, 0xe9, 0x34, 0x89, 0xce, 0xa6, 0x49, 0xf4, 0x73, 0x9a, - 0x44, 0x9f, 0x67, 0x49, 0xe7, 0x6c, 0x96, 0x74, 0xbe, 0xcf, 0x92, 0xce, 0xcb, 0xa7, 0x42, 0xba, - 0x37, 0xe3, 0x94, 0x66, 0x66, 0xc4, 0xde, 0x49, 0x91, 0x02, 0xf4, 0xb9, 0x52, 0x92, 0xeb, 0x0c, - 0x58, 0x2e, 0xad, 0x2b, 0x65, 0x3a, 0x76, 0x90, 0xf7, 0x33, 0x33, 0x2a, 0x42, 0xb9, 0xaf, 0x20, - 0x17, 0x50, 0xb2, 0xb7, 0x6c, 0xf9, 0xa1, 0xa5, 0x97, 0xfc, 0x3b, 0x7a, 0xf8, 0x3b, 0x00, 0x00, - 0xff, 0xff, 0x4b, 0x20, 0x16, 0x8d, 0xfd, 0x03, 0x00, 0x00, +var fileDescriptor_ae42cb3749c6e205 = []byte{ + // 471 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x94, 0x41, 0x6b, 0x13, 0x41, + 0x14, 0xc7, 0xb3, 0xad, 0x15, 0x19, 0xf1, 0x32, 0x08, 0xda, 0x45, 0xb6, 0xb2, 0x88, 0x4a, 0x21, + 0x33, 0xb4, 0x22, 0x9e, 0x53, 0xc4, 0x50, 0xbc, 0xb4, 0x39, 0x78, 0xf0, 0x22,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, 0xa2, 0x9f, 0xa3, 0x24, 0xfa, 0x30, 0x4e, 0x5a, + 0x47, 0xe3, 0xa4, 0xf5, 0x6d, 0x9c, 0xb4, 0x9e, 0x3f, 0x95, 0xca, 0xbd, 0x1c, 0x64, 0x2c, 0xc7, + 0x3e, 0x0f, 0xbe, 0xda, 0xb3, 0xae, 0x47, 0xbb, 0x71, 0xd6, 0xae, 0xef, 0xc7, 0xab, 0xe9, 0x46, + 0xee, 0xa0, 0x04, 0x9b, 0x5d, 0xf6, 0x67, 0xe2, 0xc1, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x07, + 0x51, 0x0e, 0x7a, 0x4b, 0x05, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -284,7 +287,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) VendorInfo(ctx context.Context, in *QueryGetVendorInfoRequest, opts ...grpc.CallOption) (*QueryGetVendorInfoResponse, error) { out := new(QueryGetVendorInfoResponse) - err := c.cc.Invoke(ctx, "/vendorinfo.types.Query/VendorInfo", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.vendorinfo.Query/VendorInfo", in, out, opts...) if err != nil { return nil, err } @@ -293,7 +296,7 @@ func (c *queryClient) VendorInfo(ctx context.Context, in *QueryGetVendorInfoRequ func (c *queryClient) VendorInfoAll(ctx context.Context, in *QueryAllVendorInfoRequest, opts ...grpc.CallOption) (*QueryAllVendorInfoResponse, error) { out := new(QueryAllVendorInfoResponse) - err := c.cc.Invoke(ctx, "/vendorinfo.types.Query/VendorInfoAll", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.vendorinfo.Query/VendorInfoAll", in, out, opts...) if err != nil { return nil, err } @@ -333,7 +336,7 @@ func _Query_VendorInfo_Handler(srv interface{}, ctx context.Context, dec func(in } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/vendorinfo.types.Query/VendorInfo", + FullMethod: "/zigbeealliance.distributedcomplianceledger.vendorinfo.Query/VendorInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).VendorInfo(ctx, req.(*QueryGetVendorInfoRequest)) @@ -351,7 +354,7 @@ func _Query_VendorInfoAll_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/vendorinfo.types.Query/VendorInfoAll", + FullMethod: "/zigbeealliance.distributedcomplianceledger.vendorinfo.Query/VendorInfoAll", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).VendorInfoAll(ctx, req.(*QueryAllVendorInfoRequest)) @@ -360,7 +363,7 @@ func _Query_VendorInfoAll_Handler(srv interface{}, ctx context.Context, dec func } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "vendorinfo.types.Query", + ServiceName: "zigbeealliance.distributedcomplianceledger.vendorinfo.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -373,7 +376,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "vendorinfo/types/query.proto", + Metadata: "zigbeealliance/distributedcomplianceledger/vendorinfo/query.proto", } func (m *QueryGetVendorInfoRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/vendorinfo/types/query.pb.gw.go b/x/vendorinfo/types/query.pb.gw.go index c57a5e7f4..26d81d167 100644 --- a/x/vendorinfo/types/query.pb.gw.go +++ b/x/vendorinfo/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: vendorinfo/types/query.proto +// source: zigbeealliance/distributedcomplianceledger/vendorinfo/query.proto /* Package types is a reverse proxy. diff --git a/x/vendorinfo/types/tx.pb.go b/x/vendorinfo/types/tx.pb.go index 597948aee..4069ec253 100644 --- a/x/vendorinfo/types/tx.pb.go +++ b/x/vendorinfo/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: vendorinfo/types/tx.proto +// source: zigbeealliance/distributedcomplianceledger/vendorinfo/tx.proto package types @@ -42,7 +42,7 @@ func (m *MsgCreateVendorInfo) Reset() { *m = MsgCreateVendorInfo{} } func (m *MsgCreateVendorInfo) String() string { return proto.CompactTextString(m) } func (*MsgCreateVendorInfo) ProtoMessage() {} func (*MsgCreateVendorInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_cf1cc0ab68adeeb3, []int{0} + return fileDescriptor_c60960e5353f4d12, []int{0} } func (m *MsgCreateVendorInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -120,7 +120,7 @@ func (m *MsgCreateVendorInfoResponse) Reset() { *m = MsgCreateVendorInfo func (m *MsgCreateVendorInfoResponse) String() string { return proto.CompactTextString(m) } func (*MsgCreateVendorInfoResponse) ProtoMessage() {} func (*MsgCreateVendorInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cf1cc0ab68adeeb3, []int{1} + return fileDescriptor_c60960e5353f4d12, []int{1} } func (m *MsgCreateVendorInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -162,7 +162,7 @@ func (m *MsgUpdateVendorInfo) Reset() { *m = MsgUpdateVendorInfo{} } func (m *MsgUpdateVendorInfo) String() string { return proto.CompactTextString(m) } func (*MsgUpdateVendorInfo) ProtoMessage() {} func (*MsgUpdateVendorInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_cf1cc0ab68adeeb3, []int{2} + return fileDescriptor_c60960e5353f4d12, []int{2} } func (m *MsgUpdateVendorInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -240,7 +240,7 @@ func (m *MsgUpdateVendorInfoResponse) Reset() { *m = MsgUpdateVendorInfo func (m *MsgUpdateVendorInfoResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateVendorInfoResponse) ProtoMessage() {} func (*MsgUpdateVendorInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_cf1cc0ab68adeeb3, []int{3} + return fileDescriptor_c60960e5353f4d12, []int{3} } func (m *MsgUpdateVendorInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -270,49 +270,53 @@ func (m *MsgUpdateVendorInfoResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgUpdateVendorInfoResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*MsgCreateVendorInfo)(nil), "vendorinfo.types.MsgCreateVendorInfo") - proto.RegisterType((*MsgCreateVendorInfoResponse)(nil), "vendorinfo.types.MsgCreateVendorInfoResponse") - proto.RegisterType((*MsgUpdateVendorInfo)(nil), "vendorinfo.types.MsgUpdateVendorInfo") - proto.RegisterType((*MsgUpdateVendorInfoResponse)(nil), "vendorinfo.types.MsgUpdateVendorInfoResponse") -} - -func init() { proto.RegisterFile("vendorinfo/types/tx.proto", fileDescriptor_cf1cc0ab68adeeb3) } - -var fileDescriptor_cf1cc0ab68adeeb3 = []byte{ - // 528 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x94, 0xc1, 0x6e, 0xd3, 0x40, - 0x10, 0x86, 0x6b, 0x42, 0x0b, 0xec, 0x29, 0x72, 0x73, 0x48, 0x53, 0xb0, 0x23, 0x0b, 0xa4, 0x1e, - 0x92, 0x58, 0x4d, 0x95, 0x0a, 0x55, 0x8a, 0x80, 0xc0, 0x25, 0x6a, 0x8a, 0x2a, 0x43, 0x11, 0xe2, - 0x52, 0x6d, 0xb2, 0x93, 0xed, 0x4a, 0xb6, 0xd7, 0xec, 0x6e, 0xaa, 0x84, 0xa7, 0xe0, 0x61, 0x78, - 0x08, 0x8e, 0x15, 0x27, 0x40, 0x28, 0x42, 0xc9, 0x1b, 0xf8, 0x09, 0x50, 0xd6, 0x09, 0x41, 0xb1, - 0xd3, 0x72, 0x44, 0xdc, 0xd6, 0x33, 0xf3, 0x7f, 0x33, 0xf6, 0x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xf1, 0x71, 0x6a, 0x6d, 0x5c, 0x4d, 0xad, 0x8d, 0xaf, 0x53, - 0x6b, 0xe3, 0xdd, 0x31, 0x65, 0xea, 0x62, 0xd0, 0xad, 0xf5, 0x78, 0xe0, 0x7e, 0x60, 0xb4, 0x0b, - 0x50, 0xc5, 0xbe, 0xcf, 0x70, 0xd8, 0x03, 0x97, 0x30, 0xa9, 0x04, 0xeb, 0x0e, 0x14, 0x90, 0xea, - 0xcc, 0xab, 0x24, 0x5c, 0xf5, 0x81, 0x50, 0x10, 0xee, 0xd0, 0x5d, 0xdd, 0xbf, 0xdd, 0x2d, 0xbd, - 0x43, 0x0f, 0x7e, 0x05, 0x00, 0x00, 0xff, 0xff, 0x3a, 0x78, 0xab, 0x73, 0xc7, 0x05, 0x00, 0x00, + proto.RegisterType((*MsgCreateVendorInfo)(nil), "zigbeealliance.distributedcomplianceledger.vendorinfo.MsgCreateVendorInfo") + proto.RegisterType((*MsgCreateVendorInfoResponse)(nil), "zigbeealliance.distributedcomplianceledger.vendorinfo.MsgCreateVendorInfoResponse") + proto.RegisterType((*MsgUpdateVendorInfo)(nil), "zigbeealliance.distributedcomplianceledger.vendorinfo.MsgUpdateVendorInfo") + proto.RegisterType((*MsgUpdateVendorInfoResponse)(nil), "zigbeealliance.distributedcomplianceledger.vendorinfo.MsgUpdateVendorInfoResponse") +} + +func init() { + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/vendorinfo/tx.proto", fileDescriptor_c60960e5353f4d12) +} + +var fileDescriptor_c60960e5353f4d12 = []byte{ + // 547 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x95, 0x4f, 0x6b, 0x13, 0x41, + 0x18, 0xc6, 0xbb, 0x8d, 0xad, 0x3a, 0xa7, 0xb2, 0xcd, 0x21, 0xa6, 0xba, 0x1b, 0x16, 0x0f, 0x3d, + 0x24, 0xbb, 0x34, 0x25, 0x45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0xbe, 0xeb, 0xec, 0x0f, 0x63, 0xf2, 0x4f, 0x66, 0xff, 0x30, 0x25, 0xfb, 0x85, + 0x7b, 0x3c, 0x17, 0x7e, 0xe3, 0xdc, 0xf0, 0x2f, 0xce, 0xea, 0x7f, 0x49, 0xff, 0x6c, 0xba, 0xd3, + 0xf4, 0xcb, 0x3f, 0x97, 0x51, 0x66, 0x5f, 0x52, 0xf3, 0xa3, 0x81, 0xd6, 0xe6, 0x3e, 0xff, 0x67, + 0xee, 0xa5, 0x2e, 0x32, 0x37, 0xe5, 0xb8, 0xe5, 0xfd, 0xbf, 0xc7, 0x9a, 0x9a, 0x4f, 0x4c, 0xcf, + 0x9d, 0xdb, 0x2b, 0x98, 0x3e, 0xcb, 0xba, 0x8a, 0xe9, 0xf3, 0x76, 0xbc, 0x06, 0x9f, 0x07, 0x96, + 0x71, 0x32, 0xb0, 0x8c, 0x1f, 0x03, 0xcb, 0xf8, 0x30, 0xb4, 0x96, 0x4e, 0x86, 0xd6, 0xd2, 0xd7, + 0xa1, 0xb5, 0xf4, 0x66, 0x8f, 0x32, 0xf5, 0xb6, 0xd3, 0x74, 0x5b, 0x3c, 0xf4, 0xf4, 0xdc, 0x52, + 0xda, 0x5b, 0x50, 0x9a, 0x4d, 0x2e, 0x4d, 0x5e, 0x83, 0xee, 0xa9, 0x67, 0xa8, 0x17, 0x83, 0x6c, + 0xae, 0x26, 0x37, 0xfb, 0xf6, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x57, 0x36, 0x1e, 0x78, 0xcc, + 0x06, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -341,7 +345,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { func (c *msgClient) CreateVendorInfo(ctx context.Context, in *MsgCreateVendorInfo, opts ...grpc.CallOption) (*MsgCreateVendorInfoResponse, error) { out := new(MsgCreateVendorInfoResponse) - err := c.cc.Invoke(ctx, "/vendorinfo.types.Msg/CreateVendorInfo", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.vendorinfo.Msg/CreateVendorInfo", in, out, opts...) if err != nil { return nil, err } @@ -350,7 +354,7 @@ func (c *msgClient) CreateVendorInfo(ctx context.Context, in *MsgCreateVendorInf func (c *msgClient) UpdateVendorInfo(ctx context.Context, in *MsgUpdateVendorInfo, opts ...grpc.CallOption) (*MsgUpdateVendorInfoResponse, error) { out := new(MsgUpdateVendorInfoResponse) - err := c.cc.Invoke(ctx, "/vendorinfo.types.Msg/UpdateVendorInfo", in, out, opts...) + err := c.cc.Invoke(ctx, "/zigbeealliance.distributedcomplianceledger.vendorinfo.Msg/UpdateVendorInfo", in, out, opts...) if err != nil { return nil, err } @@ -388,7 +392,7 @@ func _Msg_CreateVendorInfo_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/vendorinfo.types.Msg/CreateVendorInfo", + FullMethod: "/zigbeealliance.distributedcomplianceledger.vendorinfo.Msg/CreateVendorInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).CreateVendorInfo(ctx, req.(*MsgCreateVendorInfo)) @@ -406,7 +410,7 @@ func _Msg_UpdateVendorInfo_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/vendorinfo.types.Msg/UpdateVendorInfo", + FullMethod: "/zigbeealliance.distributedcomplianceledger.vendorinfo.Msg/UpdateVendorInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).UpdateVendorInfo(ctx, req.(*MsgUpdateVendorInfo)) @@ -415,7 +419,7 @@ func _Msg_UpdateVendorInfo_Handler(srv interface{}, ctx context.Context, dec fun } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "vendorinfo.types.Msg", + ServiceName: "zigbeealliance.distributedcomplianceledger.vendorinfo.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -428,7 +432,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "vendorinfo/types/tx.proto", + Metadata: "zigbeealliance/distributedcomplianceledger/vendorinfo/tx.proto", } func (m *MsgCreateVendorInfo) Marshal() (dAtA []byte, err error) { diff --git a/x/vendorinfo/types/vendor_info.pb.go b/x/vendorinfo/types/vendor_info.pb.go index 8bf2024bf..dbb6f4b24 100644 --- a/x/vendorinfo/types/vendor_info.pb.go +++ b/x/vendorinfo/types/vendor_info.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: vendorinfo/types/vendor_info.proto +// source: zigbeealliance/distributedcomplianceledger/vendorinfo/vendor_info.proto package types @@ -36,7 +36,7 @@ func (m *VendorInfo) Reset() { *m = VendorInfo{} } func (m *VendorInfo) String() string { return proto.CompactTextString(m) } func (*VendorInfo) ProtoMessage() {} func (*VendorInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_626e7f57c2a6c82c, []int{0} + return fileDescriptor_89011ac07869c1d6, []int{0} } func (m *VendorInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -108,35 +108,36 @@ func (m *VendorInfo) GetCreator() string { } func init() { - proto.RegisterType((*VendorInfo)(nil), "vendorinfo.types.VendorInfo") + proto.RegisterType((*VendorInfo)(nil), "zigbeealliance.distributedcomplianceledger.vendorinfo.VendorInfo") } func init() { - proto.RegisterFile("vendorinfo/types/vendor_info.proto", fileDescriptor_626e7f57c2a6c82c) + proto.RegisterFile("zigbeealliance/distributedcomplianceledger/vendorinfo/vendor_info.proto", fileDescriptor_89011ac07869c1d6) } -var fileDescriptor_626e7f57c2a6c82c = []byte{ - // 314 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x91, 0x4f, 0x4e, 0x02, 0x31, - 0x14, 0xc6, 0x19, 0x14, 0xd4, 0xae, 0x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 0x1d, 0x65, - 0x1a, 0xa8, 0x55, 0x3a, 0x6a, 0x56, 0xda, 0x28, 0x7a, 0x7b, 0x89, 0xdb, 0xbb, 0x1f, 0xb8, 0x60, - 0x4c, 0x83, 0x31, 0x37, 0x56, 0x0b, 0xc9, 0x93, 0x2f, 0x71, 0x04, 0xaf, 0x5b, 0x1c, 0x6c, 0xb6, - 0x38, 0xf8, 0xd8, 0xe2, 0x60, 0x5d, 0xe2, 0xda, 0xa6, 0xc4, 0xb5, 0xf7, 0x12, 0xd7, 0xee, 0xaf, - 0xb8, 0xb0, 0x0f, 0xcb, 0x74, 0x90, 0xa9, 0x82, 0x3c, 0x0b, 0x9e, 0x02, 0xc4, 0x34, 0xcf, 0x05, - 0x95, 0x19, 0x10, 0x26, 0x8c, 0xd5, 0x22, 0x5d, 0x5a, 0x60, 0x71, 0xf5, 0x7c, 0x8f, 0xe3, 0x1c, - 0x18, 0x07, 0x4d, 0x9e, 0xc8, 0xdf, 0xc5, 0xa5, 0x4d, 0xb7, 0x80, 0xf3, 0xcf, 0x00, 0x00, 0x00, - 0xff, 0xff, 0xb0, 0x24, 0xfc, 0x39, 0xd3, 0x01, 0x00, 0x00, +var fileDescriptor_89011ac07869c1d6 = []byte{ + // 329 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xc1, 0x4a, 0xf3, 0x40, + 0x14, 0x85, 0x9b, 0xfe, 0x7f, 0xab, 0xce, 0x4a, 0x42, 0x17, 0xb1, 0x8b, 0xa1, 0xb8, 0x2a, 0x42, + 0x12, 0xa8, 0xf8, 0x00, 0x16, 0x41, 0x8a, 0x45, 0x4a, 0x44, 0x17, 0x6e, 0xca, 0x24, 0x73, 0x3b, + 0x0e, 0x24, 0x33, 0x65, 0x66, 0x2a, 0xd6, 0xa7, 0xe8, 0xc3, 0xf8, 0x10, 0x2e, 0x8b, 0x2b, 0x97, + 0xd2, 0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0xad, 0xea, 0x05, 0xce, 0x29, 0x55, 0xa0, 0xf5, + 0x8d, 0x51, 0x5c, 0xb0, 0xe4, 0x0b, 0xec, 0xc3, 0xeb, 0x0a, 0x7b, 0xcb, 0x15, 0xf6, 0x3e, 0x56, + 0xd8, 0x5b, 0xac, 0x71, 0x6d, 0xb9, 0xc6, 0xb5, 0xf7, 0x35, 0xae, 0xdd, 0x5f, 0x31, 0x6e, 0x1e, + 0x66, 0x69, 0x94, 0xc9, 0x22, 0x76, 0x4d, 0x84, 0xbb, 0x3a, 0x0d, 0x37, 0x5d, 0x84, 0x55, 0xab, + 0x4f, 0xdb, 0xbd, 0x9a, 0xf9, 0x14, 0x74, 0xda, 0xb4, 0x05, 0x9c, 0x7e, 0x06, 0x00, 0x00, 0xff, + 0xff, 0x72, 0x55, 0x90, 0xb5, 0x1d, 0x02, 0x00, 0x00, } func (m *VendorInfo) Marshal() (dAtA []byte, err error) { From c49d40be0493f48ee87d52734e0cd6c7c13eb69e Mon Sep 17 00:00:00 2001 From: Abdulbois Date: Mon, 5 Feb 2024 18:48:40 +0500 Subject: [PATCH 15/29] #303 Upgrade Cosmos-SDK to v0.47.3 - Enable running light client through `cometbft` cli Signed-off-by: Abdulbois Signed-off-by: Abdulbois --- Dockerfile | 2 ++ docker-compose.yml | 2 +- integration_tests/cli/auth-demo.sh | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a64ecfb24..58690f0d9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,6 +37,7 @@ ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH" RUN go install github.com/cosmos/cosmos-sdk/cosmovisor/cmd/cosmovisor@v1.3.0 +RUN go install github.com/cometbft/cometbft/cmd/cometbft@v0.37.4 ############################ # STEP 2 build node image @@ -44,6 +45,7 @@ RUN go install github.com/cosmos/cosmos-sdk/cosmovisor/cmd/cosmovisor@v1.3.0 FROM ubuntu:20.04 COPY --from=builder /go/bin/cosmovisor /usr/bin/ +COPY --from=builder /go/bin/cometbft /usr/bin/ # test user ARG TEST_USER diff --git a/docker-compose.yml b/docker-compose.yml index 92efda705..9a41582ff 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -113,7 +113,7 @@ services: networks: localnet: ipv4_address: 192.167.10.7 - command: cosmovisor light dclchain -p tcp://192.167.10.2:26657 -w tcp://192.167.10.3:26657,tcp://192.167.10.4:26657 --start-timeout=10 --log-level=debug + command: sh -c "sleep 10 && cometbft light dclchain -p tcp://192.167.10.2:26657 -w tcp://192.167.10.3:26657,tcp://192.167.10.4:26657 --log_level=debug" networks: diff --git a/integration_tests/cli/auth-demo.sh b/integration_tests/cli/auth-demo.sh index 445aa6160..c26b0c19e 100755 --- a/integration_tests/cli/auth-demo.sh +++ b/integration_tests/cli/auth-demo.sh @@ -1119,6 +1119,7 @@ test_divider # REVOKE ACCOUNT echo "Jack approves to revoke account for $user" result=$(echo $passphrase | dcld tx auth approve-revoke-account --address="$user_address" --from jack --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider From 5bc5b16e8f582506526b279ea833a815afac9bcf Mon Sep 17 00:00:00 2001 From: Abdulbois Date: Mon, 5 Feb 2024 20:15:06 +0500 Subject: [PATCH 16/29] #303 Upgrade Cosmos-SDK to v0.47.3 - Temporary comment passed tests Signed-off-by: Abdulbois Signed-off-by: Abdulbois --- .github/workflows/release.yml | 2 +- .github/workflows/verify.yml | 2 +- integration_tests/cli/model-negative-cases.sh | 22 ++---- integration_tests/cli/modelversion-demo.sh | 1 + integration_tests/run-all.sh | 72 +++++++++---------- 5 files changed, 45 insertions(+), 54 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1917bb598..7bc332258 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -129,7 +129,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Set up Go 1.x - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: ^1.20 diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 5e1e5021e..6cab83ae1 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -85,7 +85,7 @@ jobs: needs: - lint steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v4 with: go-version: ^1.20 - uses: actions/checkout@v3 diff --git a/integration_tests/cli/model-negative-cases.sh b/integration_tests/cli/model-negative-cases.sh index 0e9389982..3d1e64b18 100755 --- a/integration_tests/cli/model-negative-cases.sh +++ b/integration_tests/cli/model-negative-cases.sh @@ -68,6 +68,7 @@ test_divider echo "Add Model with VID: $vid PID: $pid: Twice" result=$(echo "test1234" | dcld tx model add-model --vid=$vid --pid=$pid --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from=$vendor_account --yes) +result=$(get_txn_result "$result") result=$(echo "test1234" | dcld tx model add-model --vid=$vid --pid=$pid --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from=$vendor_account --yes) result=$(get_txn_result "$result") check_response_and_report "$result" "\"code\": 501" @@ -92,7 +93,7 @@ result=$(get_txn_result "$result") echo "$result" echo "Delete Model with VID: ${vid} PID: ${pid}" -result=$(dcld tx model delete-model --vid=$vid --pid=$pid --from=$vendor_account --yes) +result=$(echo 'test1234' | dcld tx model delete-model --vid=$vid --pid=$pid --from=$vendor_account --yes) result=$(get_txn_result "$result") check_response "$result" "\"code\": 525" # code for model certified error @@ -101,8 +102,8 @@ check_response "$result" "\"code\": 525" # code for model certified error echo "Add Model with VID: $vid PID: $pid: Unknown account" result=$(echo "test1234" | dcld tx model add-model --vid=$vid --pid=$pid --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from=$vendor_account --yes) -result=$(dcld tx model add-model --vid=$vid --pid=$pid --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from "Unknown" 2>&1) || true result=$(get_txn_result "$result") +result=$(dcld tx model add-model --vid=$vid --pid=$pid --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from "Unknown" 2>&1) || true check_response_and_report "$result" "key not found" raw test_divider @@ -110,59 +111,48 @@ test_divider echo "Add model with invalid VID/PID" i="-1" result=$(echo "test1234" | dcld tx model add-model --vid=$i --pid=$pid --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from $vendor_account --yes 2>&1) || true -result=$(get_txn_result "$result") check_response_and_report "$result" "Vid must not be less than 1" raw result=$(echo "test1234" | dcld tx model add-model --vid=$vid --pid=$i --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from $vendor_account --yes 2>&1) || true -result=$(get_txn_result "$result") -heck_response_and_report "$result" "Pid must not be less than 1" raw +check_response_and_report "$result" "Pid must not be less than 1" raw -i="0" +i="0" result=$(echo "test1234" | dcld tx model add-model --vid=$i --pid=$pid --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from $vendor_account --yes 2>&1) || true -result=$(get_txn_result "$result") check_response_and_report "$result" "Vid must not be less than 1" raw result=$(echo "test1234" | dcld tx model add-model --vid=$vid --pid=$i --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from $vendor_account --yes 2>&1) || true -result=$(get_txn_result "$result") check_response_and_report "$result" "Pid must not be less than 1" raw i="65536" result=$(echo "test1234" | dcld tx model add-model --vid=$i --pid=$pid --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from $vendor_account --yes 2>&1) || true -result=$(get_txn_result "$result") check_response_and_report "$result" "Vid must not be greater than 65535" raw result=$(echo "test1234" | dcld tx model add-model --vid=$vid --pid=$i --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from $vendor_account --yes 2>&1) || true -result=$(get_txn_result "$result") check_response_and_report "$result" "Pid must not be greater than 65535" raw -i="string" +i="string" result=$(echo "test1234" | dcld tx model add-model --vid=$i --pid=$pid --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from $vendor_account --yes 2>&1) || true -result=$(get_txn_result "$result") check_response_and_report "$result" "invalid syntax" raw result=$(echo "test1234" | dcld tx model add-model --vid=$vid --pid=$i --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from $vendor_account --yes 2>&1) || true -result=$(get_txn_result "$result") check_response_and_report "$result" "invalid syntax" raw test_divider echo "Add model with empty name" result=$(echo "test1234" | dcld tx model add-model --vid=$vid --pid=$pid --deviceTypeID=1 --productName="" --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from $vendor_account --yes 2>&1) || true -result=$(get_txn_result "$result") check_response_and_report "$result" "ProductName is a required field" raw test_divider echo "Add model with empty --from flag" result=$(dcld tx model add-model --vid=$vid --pid=$pid --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --from "" --yes 2>&1) || true -result=$(get_txn_result "$result") check_response_and_report "$result" "invalid creator address (empty address string is not allowed)" raw test_divider echo "Add model without --from flag" result=$(dcld tx model add-model --vid=$vid --pid=$pid --deviceTypeID=1 --productName=TestProduct --productLabel=TestingProductLabel --partNumber=1 --commissioningCustomFlow=0 --yes 2>&1) || true -result=$(get_txn_result "$result") check_response_and_report "$result" "required flag(s) \"from\" not set" raw test_divider diff --git a/integration_tests/cli/modelversion-demo.sh b/integration_tests/cli/modelversion-demo.sh index 1921ea428..79fdd9895 100755 --- a/integration_tests/cli/modelversion-demo.sh +++ b/integration_tests/cli/modelversion-demo.sh @@ -148,6 +148,7 @@ test_divider # Update model version with vid belonging to another vendor echo "Update a Device Model Version with VID: $vid PID: $pid SV: $sv from a different vendor account" result=$(echo 'test1234' | dcld tx model update-model-version --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionValid=false --from=$different_vendor_account --yes) +result=$(get_txn_result "$result") check_response_and_report "$result" "transaction should be signed by a vendor account containing the vendorID $vid" # Delete existing model version diff --git a/integration_tests/run-all.sh b/integration_tests/run-all.sh index 32fc3bcdb..44535a0f5 100755 --- a/integration_tests/run-all.sh +++ b/integration_tests/run-all.sh @@ -106,30 +106,8 @@ make image &>${DETAILED_OUTPUT_TARGET} cleanup_pool # Cli shell tests -if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "cli" ]]; then - CLI_SHELL_TESTS=$(find integration_tests/cli -type f -name '*.sh' -not -name "common.sh") - - for CLI_SHELL_TEST in ${CLI_SHELL_TESTS}; do - init_pool - - log "*****************************************************************************************" - log "Running $CLI_SHELL_TEST" - log "*****************************************************************************************" - - if bash "$CLI_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then - log "$CLI_SHELL_TEST finished successfully" - else - log "$CLI_SHELL_TEST failed" - exit 1 - fi - - cleanup_pool - done -fi - -# Light Client Proxy Cli shell tests -#if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "light" ]]; then -# CLI_SHELL_TESTS=$(find integration_tests/light_client_proxy -type f -name '*.sh' -not -name "common.sh") +#if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "cli" ]]; then +# CLI_SHELL_TESTS=$(find integration_tests/cli -type f -name '*.sh' -not -name "common.sh") # # for CLI_SHELL_TEST in ${CLI_SHELL_TESTS}; do # init_pool @@ -149,25 +127,21 @@ fi # done #fi -# Go rest tests -if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "rest" ]]; then - GO_REST_TESTS="$(find integration_tests/grpc_rest -type f -name '*_test.go')" +# Light Client Proxy Cli shell tests +if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "light" ]]; then + CLI_SHELL_TESTS=$(find integration_tests/light_client_proxy -type f -name '*.sh' -not -name "common.sh" | sort) - for GO_REST_TEST in ${GO_REST_TESTS}; do + for CLI_SHELL_TEST in ${CLI_SHELL_TESTS}; do init_pool log "*****************************************************************************************" - log "Running $GO_REST_TEST" + log "Running $CLI_SHELL_TEST" log "*****************************************************************************************" - # TODO issue 99: improve, that await helps with the cases of not ready connections to Cosmos endpoints - sleep 5 - - dcld config keyring-backend test - if go test "$GO_REST_TEST" &>${DETAILED_OUTPUT_TARGET}; then - log "$GO_REST_TEST finished successfully" + if bash "$CLI_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then + log "$CLI_SHELL_TEST finished successfully" else - log "$GO_REST_TEST failed" + log "$CLI_SHELL_TEST failed" exit 1 fi @@ -175,6 +149,32 @@ if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "rest" ]]; then done fi +# Go rest tests +#if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "rest" ]]; then +# GO_REST_TESTS="$(find integration_tests/grpc_rest -type f -name '*_test.go')" +# +# for GO_REST_TEST in ${GO_REST_TESTS}; do +# init_pool +# +# log "*****************************************************************************************" +# log "Running $GO_REST_TEST" +# log "*****************************************************************************************" +# +# # TODO issue 99: improve, that await helps with the cases of not ready connections to Cosmos endpoints +# sleep 5 +# +# dcld config keyring-backend test +# if go test "$GO_REST_TEST" &>${DETAILED_OUTPUT_TARGET}; then +# log "$GO_REST_TEST finished successfully" +# else +# log "$GO_REST_TEST failed" +# exit 1 +# fi +# +# cleanup_pool +# done +#fi + # Deploy tests #if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "deploy" ]]; then # DEPLOY_SHELL_TEST="./integration_tests/deploy/test_deploy.sh" From fabb960602c2dc55719cfa4df96cf2f52cee5fd6 Mon Sep 17 00:00:00 2001 From: Abdulbois Date: Tue, 6 Feb 2024 15:09:53 +0500 Subject: [PATCH 17/29] #303 Upgrade Cosmos-SDK to v0.47.3 - Replace 'cometbft' repo with fork due to light Proxy issue - https://github.com/tendermint/tendermint/issues/7641 - Enable accessing lightclient0 endpoint Signed-off-by: Abdulbois Signed-off-by: Abdulbois --- docker-compose.yml | 2 +- go.mod | 1 + go.sum | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 9a41582ff..629e743da 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -113,7 +113,7 @@ services: networks: localnet: ipv4_address: 192.167.10.7 - command: sh -c "sleep 10 && cometbft light dclchain -p tcp://192.167.10.2:26657 -w tcp://192.167.10.3:26657,tcp://192.167.10.4:26657 --log_level=debug" + command: sh -c "sleep 10 && cometbft light dclchain -p tcp://192.167.10.2:26657 -w tcp://192.167.10.3:26657,tcp://192.167.10.4:26657 --laddr=tcp://0.0.0.0:8888 --log_level=debug" networks: diff --git a/go.mod b/go.mod index 44b2b567f..943be759c 100644 --- a/go.mod +++ b/go.mod @@ -220,6 +220,7 @@ require ( replace ( github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0 + github.com/cometbft/cometbft => github.com/Abdulbois/cometbft v0.0.0-20240206095654-1275196800b7 github.com/gin-gonic/gin => github.com/gin-gonic/gin v1.9.0 github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 ) diff --git a/go.sum b/go.sum index 4bfb625f7..373f49270 100644 --- a/go.sum +++ b/go.sum @@ -206,6 +206,8 @@ filippo.io/edwards25519 v1.0.0 h1:0wAIcmJUqRdI8IJ/3eGi5/HwXZWPujYXXlkrQogz0Ek= filippo.io/edwards25519 v1.0.0/go.mod h1:N1IkdkCkiLB6tki+MYJoSx2JTY9NUlxZE7eHn5EwJns= github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 h1:/vQbFIOMbk2FiG/kXiLl8BRyzTWDw7gX/Hz7Dd5eDMs= github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4/go.mod h1:hN7oaIRCjzsZ2dE+yG5k+rsdt3qcwykqK6HVGcKwsw4= +github.com/Abdulbois/cometbft v0.0.0-20240206095654-1275196800b7 h1:nnYxFnvszqSC3Oz37V1LnFxyHw9+BwKOxkPKFd+l30g= +github.com/Abdulbois/cometbft v0.0.0-20240206095654-1275196800b7/go.mod h1:Cmg5Hp4sNpapm7j+x0xRyt2g0juQfmB752ous+pA0G8= github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 h1:UQHMgLO+TxOElx5B5HZ4hJQsoJ/PvUvKRhJHDQXO8P8= github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= @@ -319,8 +321,6 @@ github.com/cockroachdb/redact v1.1.5/go.mod h1:BVNblN9mBWFyMyqK1k3AAiSxhvhfK2oOZ github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= github.com/coinbase/rosetta-sdk-go/types v1.0.0 h1:jpVIwLcPoOeCR6o1tU+Xv7r5bMONNbHU7MuEHboiFuA= github.com/coinbase/rosetta-sdk-go/types v1.0.0/go.mod h1:eq7W2TMRH22GTW0N0beDnN931DW0/WOI1R2sdHNHG4c= -github.com/cometbft/cometbft v0.37.4 h1:xyvvEqlyfK8MgNIIKVJaMsuIp03wxOcFmVkT26+Ikpg= -github.com/cometbft/cometbft v0.37.4/go.mod h1:Cmg5Hp4sNpapm7j+x0xRyt2g0juQfmB752ous+pA0G8= github.com/cometbft/cometbft-db v0.8.0 h1:vUMDaH3ApkX8m0KZvOFFy9b5DZHBAjsnEuo9AKVZpjo= github.com/cometbft/cometbft-db v0.8.0/go.mod h1:6ASCP4pfhmrCBpfk01/9E1SI29nD3HfVHrY4PG8x5c0= github.com/confio/ics23/go v0.9.0 h1:cWs+wdbS2KRPZezoaaj+qBleXgUk5WOQFMP3CQFGTr4= From 24886858216766e90494469b5cec4798ef74ef92 Mon Sep 17 00:00:00 2001 From: Abdulbois Date: Tue, 6 Feb 2024 15:31:39 +0500 Subject: [PATCH 18/29] #303 Upgrade Cosmos-SDK to v0.47.3 - Temporary comment passed tests Signed-off-by: Abdulbois Signed-off-by: Abdulbois --- integration_tests/run-all.sh | 42 +-- integration_tests/upgrade/common.sh | 241 ++++++++++++++++++ .../upgrade/test-upgrade-0.12-to-1.2.sh | 14 +- .../upgrade/test-upgrade-1.2-to-1.3.sh | 15 +- 4 files changed, 268 insertions(+), 44 deletions(-) create mode 100755 integration_tests/upgrade/common.sh diff --git a/integration_tests/run-all.sh b/integration_tests/run-all.sh index 44535a0f5..619780f5c 100755 --- a/integration_tests/run-all.sh +++ b/integration_tests/run-all.sh @@ -128,26 +128,26 @@ cleanup_pool #fi # Light Client Proxy Cli shell tests -if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "light" ]]; then - CLI_SHELL_TESTS=$(find integration_tests/light_client_proxy -type f -name '*.sh' -not -name "common.sh" | sort) - - for CLI_SHELL_TEST in ${CLI_SHELL_TESTS}; do - init_pool - - log "*****************************************************************************************" - log "Running $CLI_SHELL_TEST" - log "*****************************************************************************************" - - if bash "$CLI_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then - log "$CLI_SHELL_TEST finished successfully" - else - log "$CLI_SHELL_TEST failed" - exit 1 - fi - - cleanup_pool - done -fi +#if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "light" ]]; then +# CLI_SHELL_TESTS=$(find integration_tests/light_client_proxy -type f -name '*.sh' -not -name "common.sh" | sort) +# +# for CLI_SHELL_TEST in ${CLI_SHELL_TESTS}; do +# init_pool +# +# log "*****************************************************************************************" +# log "Running $CLI_SHELL_TEST" +# log "*****************************************************************************************" +# +# if bash "$CLI_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then +# log "$CLI_SHELL_TEST finished successfully" +# else +# log "$CLI_SHELL_TEST failed" +# exit 1 +# fi +# +# cleanup_pool +# done +#fi # Go rest tests #if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "rest" ]]; then @@ -188,7 +188,7 @@ fi # Upgrade procedure tests if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "upgrade" ]]; then - UPGRADE_SHELL_TESTS=$(find integration_tests/upgrade -type f -name '*.sh' -not -name "add-new-node-after-upgrade.sh" | sort) + UPGRADE_SHELL_TESTS=$(find integration_tests/upgrade -type f -name '*.sh' -not -name "add-new-node-after-upgrade.sh" -not -name "common.sh" | sort) for UPGRADE_SHELL_TEST in ${UPGRADE_SHELL_TESTS}; do log "*****************************************************************************************" diff --git a/integration_tests/upgrade/common.sh b/integration_tests/upgrade/common.sh new file mode 100755 index 000000000..6593bb4f5 --- /dev/null +++ b/integration_tests/upgrade/common.sh @@ -0,0 +1,241 @@ +#!/bin/bash +# Copyright 2020 DSR Corporation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -euo pipefail + +# common constants +node_p2p_port=26670 +node_client_port=26671 +chain_id="dclchain" +node0conn="tcp://192.167.10.2:26657" +docker_network="distributed-compliance-ledger_localnet" +passphrase="test1234" +LOCALNET_DIR=".localnet" + +# RED=`tput setaf 1` +# GREEN=`tput setaf 2` +# RESET=`tput sgr0` +GREEN="" +RED="" +RESET="" + +random_string() { + local __resultvar="$1" + local length=${2:-6} # Default is 6 + # Newer mac might have shasum instead of sha1sum + if command -v shasum &> /dev/null + then + eval $__resultvar="'$(date +%s.%N | shasum | fold -w ${length} | head -n 1)'" + else + eval $__resultvar="'$(date +%s.%N | sha1sum | fold -w ${length} | head -n 1)'" + fi +} + +DEF_OUTPUT_MODE=json + + +# json: pretty (indented) json +# raw or otherwise: raw +_check_response() { + local _result="$1" + local _expected_string="$2" + local _mode="${3:-$DEF_OUTPUT_MODE}" + + if [[ "$_mode" == "json" ]]; then + if [[ -n "$(echo "$_result" | jq | grep "$_expected_string" 2>/dev/null)" ]]; then + echo true + return + fi + else + if [[ -n "$(echo "$_result" | grep "$_expected_string" 2>/dev/null)" ]]; then + echo true + return + fi + fi + + echo false +} + +check_response() { + local _result="$1" + local _expected_string="$2" + local _mode="${3:-$DEF_OUTPUT_MODE}" + + if [[ "$(_check_response "$_result" "$_expected_string" "$_mode")" != true ]]; then + echo "${GREEN}ERROR:${RESET} command failed. The expected string: '$_expected_string' not found in the result: $_result" + exit 1 + fi +} + +check_response_and_report() { + local _result="$1" + local _expected_string="$2" + local _mode="${3:-$DEF_OUTPUT_MODE}" + + check_response "$_result" "$_expected_string" "$_mode" + echo "${GREEN}SUCCESS: ${RESET} Result contains expected substring: '$_expected_string'" +} + +response_does_not_contain() { + local _result="$1" + local _unexpected_string="$2" + local _mode="${3:-$DEF_OUTPUT_MODE}" + + if [[ "$(_check_response "$_result" "$_unexpected_string" "$_mode")" == true ]]; then + echo "ERROR: command failed. The unexpected string: '$_unexpected_string' found in the result: $_result" + exit 1 + fi + + echo "${GREEN}SUCCESS: ${RESET}Result does not contain unexpected substring: '$_unexpected_string'" +} + +create_new_account(){ + local __resultvar="$1" + random_string name + eval $__resultvar="'$name'" + + local roles="$2" + + echo "Account name: $name" + + echo "Generate key for $name" + (echo $passphrase; echo $passphrase) | dcld keys add "$name" + + address=$(echo $passphrase | dcld keys show $name -a) + pubkey=$(echo $passphrase | dcld keys show $name -p) + + echo "Jack proposes account for \"$name\" with roles: \"$roles\"" + result=$(echo $passphrase | dcld tx auth propose-add-account --address="$address" --pubkey="$pubkey" --roles=$roles --from jack --yes) + check_response "$result" "\"code\": 0" + echo "$result" + + echo "Alice approves account for \"$name\" with roles: \"$roles\"" + result=$(echo $passphrase | dcld tx auth approve-add-account --address="$address" --from alice --yes) + check_response "$result" "\"code\": 0" + echo "$result" +} + +create_new_vendor_account(){ + + local _name="$1" + local _vid="$2" + + echo $passphrase | dcld keys add "$_name" + _address=$(echo $passphrase | dcld keys show $_name -a) + _pubkey=$(echo $passphrase | dcld keys show $_name -p) + + local _result="" + if [ $# -eq 3 ]; then + local _pid_ranges="$3" + echo "Jack proposes account for \"$_name\" with Vendor role and with [$_pid_ranges] associated Product IDs" + _result=$(echo $passphrase | dcld tx auth propose-add-account --address="$_address" --pubkey="$_pubkey" --roles=Vendor --vid=$_vid --pid_ranges=$_pid_ranges --from jack --yes) + else + echo "Jack proposes account for \"$_name\" with Vendor role" + _result=$(echo $passphrase | dcld tx auth propose-add-account --address="$_address" --pubkey="$_pubkey" --roles=Vendor --vid=$_vid --from jack --yes) + fi +} + + +test_divider() { + echo "" + echo "--------------------------" + echo "" +} + +get_height() { + local __resultvar="$1" + eval $__resultvar="'$(dcld status | jq | grep latest_block_height | awk -F'"' '{print $4}')'" +} + +wait_for_height() { + local target_height="${1:-1}" # Default is 1 + local wait_time="${2:-10}" # In seconds, default - 10 + local mode="${3:-normal}" # normal or outage-safe + local node="${4:-""}" + + local _output=${DETAILED_OUTPUT_TARGET:-/dev/stdout} + + local waited=0 + local wait_interval=1 + + if [[ -n "$node" ]]; then + node="--node $node" + fi + + while true; do + sleep "${wait_interval}" + waited=$((waited + wait_interval)) + + if [[ "$mode" == "outage-safe" ]]; then + current_height="$(dcld status $node 2>/dev/null | jq | grep latest_block_height | awk -F'"' '{print $4}')" || true + else + current_height="$(dcld status $node | jq | grep latest_block_height | awk -F'"' '{print $4}')" + + if [[ -z "$current_height" ]]; then + echo "No height found in status" + exit 1 + fi + fi + + if [[ -n "$current_height" ]] && ((current_height >= target_height)); then + echo "Height $target_height is reached in $waited seconds" &>${_output} + break + fi + + if ((waited > wait_time)); then + echo "Height $target_height is not reached in $wait_time seconds" + exit 1 + fi + + echo "Waiting for height: $target_height... Current height: ${current_height:-unavailable}, " \ + "wait time: $waited, time limit: $wait_time." &>${_output} + done +} + +get_txn_result() { + local _broadcast_result=${1} + local _txHash=$(echo "$_broadcast_result" | jq -r '.txhash') + local _command="dcld query tx $_txHash" + local _result=$($_command 2>&1) + + for i in {1..20}; do + if [[ "$(_check_response "$_result" "not found" "raw")" == true ]]; then + sleep 2 + _result=$($_command 2>&1) + else + break + fi + done + + echo "$_result" +} + +execute_with_retry() { + local _command=${1} + local _error=${2:-"EOF"} + local _result=$($_command) + + for i in {1..20}; do + if [[ "$(_check_response "$_result" $_error "raw")" == true ]]; then + #echo "EOF detected, re-trying" + sleep 2 + _result=$($_command) + else + break + fi + done + + echo "$_result" +} \ No newline at end of file diff --git a/integration_tests/upgrade/test-upgrade-0.12-to-1.2.sh b/integration_tests/upgrade/test-upgrade-0.12-to-1.2.sh index b106d5375..ece59e1ac 100755 --- a/integration_tests/upgrade/test-upgrade-0.12-to-1.2.sh +++ b/integration_tests/upgrade/test-upgrade-0.12-to-1.2.sh @@ -14,7 +14,7 @@ # limitations under the License. set -euo pipefail -source integration_tests/cli/common.sh +source integration_tests/upgrade/common.sh binary_version_old="v0.12.0" binary_version_new="v1.2.2" @@ -45,8 +45,6 @@ else DETAILED_OUTPUT_TARGET=/dev/null fi -source integration_tests/cli/common.sh - log() { echo "${LOG_PREFIX}$1" } @@ -77,6 +75,7 @@ start_pool() { make localnet_start &>${DETAILED_OUTPUT_TARGET} log "-> Waiting for the second block (needed to request proofs)" >${DETAILED_OUTPUT_TARGET} + execute_with_retry "dcld status" "connection refused" wait_for_height 2 20 } @@ -162,7 +161,6 @@ add_validator_node() { set -eu; echo test1234 | dcld tx validator add-node --pubkey='$vpubkey' --moniker="$node_name" --from="$account" --yes EOF result="$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator add-node --pubkey='$vpubkey' --moniker="$node_name" --from="$account" --yes")" - result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -257,6 +255,8 @@ company_legal_name="LegalCompanyName" company_preferred_name="CompanyPreferredName" vendor_landing_page_url="https://www.example.com" +dcld config broadcast-mode block + random_string user_1 echo "$user_1 generates keys" cmd="(echo $passphrase; echo $passphrase) | $DCLD_BIN_OLD keys add $user_1" @@ -553,7 +553,6 @@ test_divider echo "Disable node" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator disable-node --from=$account --yes") -result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -561,7 +560,6 @@ test_divider echo "Enable node" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") -result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -587,7 +585,6 @@ test_divider echo "Enable node" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") -result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -1301,7 +1298,6 @@ test_divider echo "Disable node" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator disable-node --from=$account --yes") -result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -1309,7 +1305,6 @@ test_divider echo "Enable node" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") -result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -1335,7 +1330,6 @@ test_divider echo "Enable node" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") -result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider diff --git a/integration_tests/upgrade/test-upgrade-1.2-to-1.3.sh b/integration_tests/upgrade/test-upgrade-1.2-to-1.3.sh index 88314f227..5ee2948a1 100755 --- a/integration_tests/upgrade/test-upgrade-1.2-to-1.3.sh +++ b/integration_tests/upgrade/test-upgrade-1.2-to-1.3.sh @@ -14,7 +14,7 @@ # limitations under the License. set -euo pipefail -source integration_tests/cli/common.sh +source integration_tests/upgrade/common.sh binary_version_old="v1.2.2" binary_version_new="v1.3.0-dev1" @@ -25,9 +25,6 @@ chmod ugo+x dcld_old wget -O dcld_new "https://github.com/zigbee-alliance/distributed-compliance-ledger/releases/download/$binary_version_new/dcld" chmod ugo+x dcld_new -# FIXME: Binary version should be replaced after publishing release -wget -O dcld_new "https://github.com/zigbee-alliance/distributed-compliance-ledger/releases/download/v1.3.0-dev1/dcld" -chmod ugo+x dcld_new DCLD_BIN_OLD="./dcld_old" DCLD_BIN_NEW="./dcld_new" @@ -49,8 +46,6 @@ else DETAILED_OUTPUT_TARGET=/dev/null fi -source integration_tests/cli/common.sh - log() { echo "${LOG_PREFIX}$1" } @@ -81,6 +76,7 @@ start_pool() { make localnet_start &>${DETAILED_OUTPUT_TARGET} log "-> Waiting for the second block (needed to request proofs)" >${DETAILED_OUTPUT_TARGET} + execute_with_retry "dcld status" "connection refused" wait_for_height 2 20 } @@ -168,7 +164,6 @@ add_validator_node() { set -eu; echo test1234 | dcld tx validator add-node --pubkey='$vpubkey' --moniker="$node_name" --from="$account" --yes EOF result="$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator add-node --pubkey='$vpubkey' --moniker="$node_name" --from="$account" --yes")" - result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -591,7 +586,6 @@ test_divider echo "Disable node" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator disable-node --from=$account --yes") -result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -599,7 +593,6 @@ test_divider echo "Enable node" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") -result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -627,7 +620,6 @@ test_divider echo "Enable node" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") -result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -1344,7 +1336,6 @@ test_divider echo "Disable node" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator disable-node --from=$account --yes") -result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -1352,7 +1343,6 @@ test_divider echo "Enable node" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") -result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -1378,7 +1368,6 @@ test_divider echo "Enable node" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") -result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider From 33a726132dda343e8da0454911d36c36ae85227f Mon Sep 17 00:00:00 2001 From: Abdulbois Date: Wed, 7 Feb 2024 17:33:48 +0500 Subject: [PATCH 19/29] #303 Upgrade Cosmos-SDK to v0.47.3 - Update docs Signed-off-by: Abdulbois Signed-off-by: Abdulbois --- Dockerfile | 2 - README-DEV.md | 9 --- README.md | 4 +- cmd/dcld/cmd/root.go | 2 + docker-compose.yml | 2 +- integration_tests/cli/common.sh | 1 + integration_tests/run-all.sh | 58 +++++++++---------- integration_tests/upgrade/common.sh | 33 +++++------ .../upgrade/test-upgrade-0.12-to-1.2.sh | 6 +- .../upgrade/test-upgrade-1.2-to-1.3.sh | 4 +- proto/buf.gen.pulsar.yaml | 3 +- scripts/Dockerfile | 50 +++++----------- scripts/README.md | 7 +-- scripts/cosmos-swagger-gen.sh | 2 +- .../swagger/config/cosmos-base-config.json | 2 +- scripts/swagger/config/cosmos-tx-config.json | 2 +- scripts/swagger/protoc-swagger-gen.sh | 7 +-- 17 files changed, 78 insertions(+), 116 deletions(-) diff --git a/Dockerfile b/Dockerfile index 58690f0d9..a64ecfb24 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,7 +37,6 @@ ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH" RUN go install github.com/cosmos/cosmos-sdk/cosmovisor/cmd/cosmovisor@v1.3.0 -RUN go install github.com/cometbft/cometbft/cmd/cometbft@v0.37.4 ############################ # STEP 2 build node image @@ -45,7 +44,6 @@ RUN go install github.com/cometbft/cometbft/cmd/cometbft@v0.37.4 FROM ubuntu:20.04 COPY --from=builder /go/bin/cosmovisor /usr/bin/ -COPY --from=builder /go/bin/cometbft /usr/bin/ # test user ARG TEST_USER diff --git a/README-DEV.md b/README-DEV.md index 26508a991..0b4249cee 100644 --- a/README-DEV.md +++ b/README-DEV.md @@ -221,15 +221,6 @@ Re-generate cosmos base openapi (service API from cosmos exposed in DCL) using [ ./scripts/cosmos-swagger-gen.sh tx ``` -## Update Tendermint Version - -Please note, that we depend on the Tendermint fork -due to hotfixes for and -required for Light Client Proxy. -Now that fixes are merged to Tendermint master, so check if we still need to depend on the fork. - -Also don't forget to update the link to the Tendermint RPC in [Swagger UI](docs/index.html). - ## Other For more details, please have a look at [Cosmos SDK tutorial](https://tutorials.cosmos.network/). diff --git a/README.md b/README.md index cb0a282ea..7ef05bc43 100644 --- a/README.md +++ b/README.md @@ -164,8 +164,8 @@ See [Run Light Client Proxy](docs/running-light-client-proxy.md) for details how - There are currently no DC Ledger specific API libraries for various platforms and languages, but they may be provided in the future. - The following libraries can be used as light clients: - - [Golang Light Client implementation](https://pkg.go.dev/github.com/cometbft/cometbft/lite2) - - [Rust Light Client implementation](https://docs.rs/tendermint-light-client/0.23.3/tendermint_light_client/) + - [Golang Light Client implementation](https://pkg.go.dev/github.com/cometbft/cometbft/light) + - [Rust Light Client implementation](https://docs.rs/cometbft-light-client/0.1.0-alpha.2/cometbft_light_client/) - Refer to [this doc](./docs/tendermint-rpc.md) to see how to [subscribe](./docs/tendermint-rpc.md#subscribe) to a Tendermint WebSocket based events and/or [query](./docs/tendermint-rpc.md#querying-application-components) an application components. diff --git a/cmd/dcld/cmd/root.go b/cmd/dcld/cmd/root.go index ba3e9f237..644cf8ae9 100644 --- a/cmd/dcld/cmd/root.go +++ b/cmd/dcld/cmd/root.go @@ -184,6 +184,8 @@ func initRootCmd( txCommand(), keys.Commands(app.DefaultNodeHome), ) + + rootCmd.AddCommand(LightCmd) } // queryCommand returns the sub-command to send queries to the app. diff --git a/docker-compose.yml b/docker-compose.yml index 629e743da..b7fcd7232 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -113,7 +113,7 @@ services: networks: localnet: ipv4_address: 192.167.10.7 - command: sh -c "sleep 10 && cometbft light dclchain -p tcp://192.167.10.2:26657 -w tcp://192.167.10.3:26657,tcp://192.167.10.4:26657 --laddr=tcp://0.0.0.0:8888 --log_level=debug" + command: cosmovisor run light dclchain -p tcp://192.167.10.2:26657 -w tcp://192.167.10.3:26657,tcp://192.167.10.4:26657 --start-timeout=20 --log-level=debug networks: diff --git a/integration_tests/cli/common.sh b/integration_tests/cli/common.sh index 37973d322..10cba8857 100755 --- a/integration_tests/cli/common.sh +++ b/integration_tests/cli/common.sh @@ -79,6 +79,7 @@ check_response() { if [[ "$(_check_response "$_result" "$_expected_string" "$_mode")" != true ]]; then echo "${GREEN}ERROR:${RESET} command failed. The expected string: '$_expected_string' not found in the result: $_result" + docker logs -n 100 lightclient0 exit 1 fi } diff --git a/integration_tests/run-all.sh b/integration_tests/run-all.sh index 619780f5c..61d031b51 100755 --- a/integration_tests/run-all.sh +++ b/integration_tests/run-all.sh @@ -128,26 +128,26 @@ cleanup_pool #fi # Light Client Proxy Cli shell tests -#if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "light" ]]; then -# CLI_SHELL_TESTS=$(find integration_tests/light_client_proxy -type f -name '*.sh' -not -name "common.sh" | sort) -# -# for CLI_SHELL_TEST in ${CLI_SHELL_TESTS}; do -# init_pool -# -# log "*****************************************************************************************" -# log "Running $CLI_SHELL_TEST" -# log "*****************************************************************************************" -# -# if bash "$CLI_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then -# log "$CLI_SHELL_TEST finished successfully" -# else -# log "$CLI_SHELL_TEST failed" -# exit 1 -# fi -# -# cleanup_pool -# done -#fi +if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "light" ]]; then + CLI_SHELL_TESTS=$(find integration_tests/light_client_proxy -type f -name '*.sh' -not -name "common.sh" | sort) + + for CLI_SHELL_TEST in ${CLI_SHELL_TESTS}; do + init_pool + + log "*****************************************************************************************" + log "Running $CLI_SHELL_TEST" + log "*****************************************************************************************" + + if bash "$CLI_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then + log "$CLI_SHELL_TEST finished successfully" + else + log "$CLI_SHELL_TEST failed" + exit 1 + fi + + cleanup_pool + done +fi # Go rest tests #if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "rest" ]]; then @@ -176,15 +176,15 @@ cleanup_pool #fi # Deploy tests -#if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "deploy" ]]; then -# DEPLOY_SHELL_TEST="./integration_tests/deploy/test_deploy.sh" -# if bash "$DEPLOY_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then -# log "$DEPLOY_SHELL_TEST finished successfully" -# else -# log "$DEPLOY_SHELL_TEST failed" -# exit 1 -# fi -#fi +if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "deploy" ]]; then + DEPLOY_SHELL_TEST="./integration_tests/deploy/test_deploy.sh" + if bash "$DEPLOY_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then + log "$DEPLOY_SHELL_TEST finished successfully" + else + log "$DEPLOY_SHELL_TEST failed" + exit 1 + fi +fi # Upgrade procedure tests if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "upgrade" ]]; then diff --git a/integration_tests/upgrade/common.sh b/integration_tests/upgrade/common.sh index 6593bb4f5..cea5b8b4c 100755 --- a/integration_tests/upgrade/common.sh +++ b/integration_tests/upgrade/common.sh @@ -107,22 +107,22 @@ create_new_account(){ eval $__resultvar="'$name'" local roles="$2" - + local dcld = ${3:-dcld} echo "Account name: $name" echo "Generate key for $name" - (echo $passphrase; echo $passphrase) | dcld keys add "$name" + (echo $passphrase; echo $passphrase) | $dcld keys add "$name" - address=$(echo $passphrase | dcld keys show $name -a) - pubkey=$(echo $passphrase | dcld keys show $name -p) + address=$(echo $passphrase | $dcld keys show $name -a) + pubkey=$(echo $passphrase | $dcld keys show $name -p) echo "Jack proposes account for \"$name\" with roles: \"$roles\"" - result=$(echo $passphrase | dcld tx auth propose-add-account --address="$address" --pubkey="$pubkey" --roles=$roles --from jack --yes) + result=$(echo $passphrase | $dcld tx auth propose-add-account --address="$address" --pubkey="$pubkey" --roles=$roles --from jack --yes) check_response "$result" "\"code\": 0" echo "$result" echo "Alice approves account for \"$name\" with roles: \"$roles\"" - result=$(echo $passphrase | dcld tx auth approve-add-account --address="$address" --from alice --yes) + result=$(echo $passphrase | $dcld tx auth approve-add-account --address="$address" --from alice --yes) check_response "$result" "\"code\": 0" echo "$result" } @@ -131,20 +131,15 @@ create_new_vendor_account(){ local _name="$1" local _vid="$2" + local dcld = ${3:-dcld} + + echo $passphrase | $dcld keys add "$_name" + _address=$(echo $passphrase | $dcld keys show $_name -a) + _pubkey=$(echo $passphrase | $dcld keys show $_name -p) + + result=$(echo $passphrase | $dcld tx auth propose-add-account --address="$_address" --pubkey="$_pubkey" --roles=Vendor --vid=$_vid --pid_ranges=$_pid_ranges --from jack --yes) + check_response "$result" "\"code\": 0" - echo $passphrase | dcld keys add "$_name" - _address=$(echo $passphrase | dcld keys show $_name -a) - _pubkey=$(echo $passphrase | dcld keys show $_name -p) - - local _result="" - if [ $# -eq 3 ]; then - local _pid_ranges="$3" - echo "Jack proposes account for \"$_name\" with Vendor role and with [$_pid_ranges] associated Product IDs" - _result=$(echo $passphrase | dcld tx auth propose-add-account --address="$_address" --pubkey="$_pubkey" --roles=Vendor --vid=$_vid --pid_ranges=$_pid_ranges --from jack --yes) - else - echo "Jack proposes account for \"$_name\" with Vendor role" - _result=$(echo $passphrase | dcld tx auth propose-add-account --address="$_address" --pubkey="$_pubkey" --roles=Vendor --vid=$_vid --from jack --yes) - fi } diff --git a/integration_tests/upgrade/test-upgrade-0.12-to-1.2.sh b/integration_tests/upgrade/test-upgrade-0.12-to-1.2.sh index ece59e1ac..8e254b061 100755 --- a/integration_tests/upgrade/test-upgrade-0.12-to-1.2.sh +++ b/integration_tests/upgrade/test-upgrade-0.12-to-1.2.sh @@ -255,7 +255,7 @@ company_legal_name="LegalCompanyName" company_preferred_name="CompanyPreferredName" vendor_landing_page_url="https://www.example.com" -dcld config broadcast-mode block +$DCLD_BIN_OLD config broadcast-mode block random_string user_1 echo "$user_1 generates keys" @@ -279,10 +279,10 @@ user_3_address=$(echo $passphrase | $DCLD_BIN_OLD keys show $user_3 -a) user_3_pubkey=$(echo $passphrase | $DCLD_BIN_OLD keys show $user_3 -p) echo "Create Vendor account $vendor_account" -create_new_vendor_account $vendor_account $vid +create_new_vendor_account $vendor_account $vid $DCLD_BIN_OLD echo "Create CertificationCenter account" -create_new_account certification_center_account "CertificationCenter" +create_new_account certification_center_account "CertificationCenter" $DCLD_BIN_OLD random_string trustee_account_4 random_string trustee_account_5 diff --git a/integration_tests/upgrade/test-upgrade-1.2-to-1.3.sh b/integration_tests/upgrade/test-upgrade-1.2-to-1.3.sh index 5ee2948a1..cb988ca81 100755 --- a/integration_tests/upgrade/test-upgrade-1.2-to-1.3.sh +++ b/integration_tests/upgrade/test-upgrade-1.2-to-1.3.sh @@ -283,10 +283,10 @@ user_3_address=$(echo $passphrase | $DCLD_BIN_OLD keys show $user_3 -a) user_3_pubkey=$(echo $passphrase | $DCLD_BIN_OLD keys show $user_3 -p) echo "Create Vendor account $vendor_account" -create_new_vendor_account $vendor_account $vid +create_new_vendor_account $vendor_account $vid $DCLD_BIN_OLD echo "Create CertificationCenter account" -create_new_account certification_center_account "CertificationCenter" +create_new_account certification_center_account "CertificationCenter" $DCLD_BIN_OLD random_string trustee_account_4 random_string trustee_account_5 diff --git a/proto/buf.gen.pulsar.yaml b/proto/buf.gen.pulsar.yaml index 2af664896..1a203e60a 100644 --- a/proto/buf.gen.pulsar.yaml +++ b/proto/buf.gen.pulsar.yaml @@ -15,5 +15,4 @@ managed: override: plugins: - name: go-grpc - out: ../types - opt: paths=source_relative + out: .. diff --git a/scripts/Dockerfile b/scripts/Dockerfile index 6967affba..78da023f8 100644 --- a/scripts/Dockerfile +++ b/scripts/Dockerfile @@ -15,48 +15,30 @@ RUN curl -L https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz -o /tmp/go. && go version \ && rm -f /tmp/go.tar.gz -# Install protoc -ARG PROTOC_VERSION -ENV PROTOC_VERSION=${PROTOC_VERSION:-3.19.4} -RUN PROTOC_ZIP=protoc-${PROTOC_VERSION}-linux-x86_64.zip \ - && curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VERSION}/${PROTOC_ZIP} \ - && unzip -o $PROTOC_ZIP -d /usr/local bin/protoc \ - && unzip -o $PROTOC_ZIP -d /usr/local 'include/*' \ - && rm -f $PROTOC_ZIP - -# Install grpc-gateway tools -ENV PROTOC_GEN_GRPC_GATEWAY_VERSION=v2.8.0 -ENV PROTOC_GEN_OPENAPIV2_VERSION=v2.8.0 +# Install tools +ENV BUF_BUILD=v1.29.0 +ENV PROTOC_GEN_GRPC_GATEWAY_VERSION=v2.19.0 +ENV PROTOC_GEN_OPENAPIV2_VERSION=v2.19.0 ENV PROTOC_GEN_SWAGGER_VERSION=v1.16.0 +ENV PROTOC_GEN_GO_COSMOS=v1.4.10 +ENV PROTOC_GEN_GO_PULSAR=v1.0.0-beta.2 +ENV PROTOC_GEN_GO=v1.32.0 +ENV PROTOC_GEN_GO_GRPC=v1.1.0 RUN go install \ - github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@${PROTOC_GEN_GRPC_GATEWAY_VERSION} \ - github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@${PROTOC_GEN_OPENAPIV2_VERSION} + github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway@${PROTOC_GEN_GRPC_GATEWAY_VERSION} \ + github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@${PROTOC_GEN_OPENAPIV2_VERSION} \ + github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger@${PROTOC_GEN_SWAGGER_VERSION} \ -RUN go install \ - github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger@${PROTOC_GEN_SWAGGER_VERSION} +RUN go install github.com/bufbuild/buf/cmd/buf@${BUF_BUILD} +RUN go install github.com/cosmos/gogoproto/protoc-gen-gocosmos@${PROTOC_GEN_GO_COSMOS} +RUN go install github.com/cosmos/cosmos-proto/cmd/protoc-gen-go-pulsar@${PROTOC_GEN_GO_PULSAR} +RUN go install google.golang.org/protobuf/cmd/protoc-gen-go@${PROTOC_GEN_GO_GO} +RUN go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@${PROTOC_GEN_GO_GRPC} RUN npm install -g swagger-combine -# Install starport -ARG STARPORT_VERSION -ENV STARPORT_VERSION=${STARPORT_VERSION:-0.19.5} -#ENV STARPORT_VERSION=${STARPORT_VERSION:-dev} - -RUN if [ "$STARPORT_VERSION" = "dev" ]; then \ - curl -L https://github.com/tendermint/starport/archive/refs/heads/develop.zip -o /tmp/starport.zip && \ - cd /tmp \ - && unzip starport.zip \ - && cd starport-develop \ - && make build \ - && cp ./dist/starport /usr/local/bin; \ - else \ - curl https://get.starport.network/starport@v${STARPORT_VERSION}! -o /tmp/startport \ - && bash /tmp/startport \ - && rm /tmp/startport; \ - fi - ENV PATH="/root/go/bin:${PATH}" ENV PATH="${PATH}:/usr/local/bin" diff --git a/scripts/README.md b/scripts/README.md index 6291301f8..c8c4b787a 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -6,8 +6,7 @@ The [Dockerfile](./Dockerfile) might be handy for the following cases: -- when you want to use not yet release (dev) version of `starport` -- when you don't want to setup starport or swagger dependencies locally by some reason +- when you don't want to setup Ignite or Swagger dependencies locally by some reason `[Note]` If you want to install dependencies locally, try to use versions specified in [Dockerfile](./Dockerfile) to avoid errors while running scripts @@ -25,10 +24,10 @@ docker run -it -v "$PWD":/dcl /bin/bash ## Scripts -Build proto (for example `starport chain build`). +Build proto (for example `buf generate --template buf.gen.gogo.yaml`). ```bash -starport chain build +./scripts/protocgen.sh ``` Generate Cosmos base openapi diff --git a/scripts/cosmos-swagger-gen.sh b/scripts/cosmos-swagger-gen.sh index e801c90a8..9e0c56dbf 100755 --- a/scripts/cosmos-swagger-gen.sh +++ b/scripts/cosmos-swagger-gen.sh @@ -6,7 +6,7 @@ echo "Generating Cosmos openapi for '$TYPE'" CONFIG_FILE="$PWD/scripts/swagger/config/cosmos-$TYPE-config.json" OUTPUT_FILE="$PWD/docs/static/cosmos-$TYPE-openapi.json" -COSMOS_SDK_VERSION="v0.44.4" +COSMOS_SDK_VERSION="v0.47.8" rm -rf ./tmp-swagger-gen mkdir -p ./tmp-swagger-gen diff --git a/scripts/swagger/config/cosmos-base-config.json b/scripts/swagger/config/cosmos-base-config.json index b6af8a27f..18f9b3f74 100644 --- a/scripts/swagger/config/cosmos-base-config.json +++ b/scripts/swagger/config/cosmos-base-config.json @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "title": "cosmos/base/tendermint/v1beta1/query.proto", - "version": "v0.44.4","description": "A REST interface for base service endpoints" + "version": "v0.47.8","description": "A REST interface for base service endpoints" }, "apis": [ { diff --git a/scripts/swagger/config/cosmos-tx-config.json b/scripts/swagger/config/cosmos-tx-config.json index 3301fd2ec..f86209a82 100644 --- a/scripts/swagger/config/cosmos-tx-config.json +++ b/scripts/swagger/config/cosmos-tx-config.json @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "title": "cosmos/tx/v1beta1/service.proto", - "version": "v0.44.4","description": "A REST interface for tx service endpoints" + "version": "v0.47.8","description": "A REST interface for tx service endpoints" }, "apis": [ { diff --git a/scripts/swagger/protoc-swagger-gen.sh b/scripts/swagger/protoc-swagger-gen.sh index cb4c2a12f..6ef34a838 100755 --- a/scripts/swagger/protoc-swagger-gen.sh +++ b/scripts/swagger/protoc-swagger-gen.sh @@ -15,12 +15,7 @@ for dir in $proto_dirs; do # generate swagger files (filter query files) query_file=$(find "${dir}" -maxdepth 1 \( -name 'query.proto' -o -name 'service.proto' \)) if [[ ! -z "$query_file" ]]; then - protoc \ - -I "proto" \ - -I "third_party/proto" \ - "$query_file" \ - --swagger_out=./swagger-out \ - --swagger_opt=logtostderr=true --swagger_opt=fqn_for_swagger_name=true --swagger_opt=simple_operation_ids=true + buf generate --template buf.gen.swagger.yaml "$query_file" fi done From 949ee0f4e5ed65d8a13ecfd0b5184bfea7181fa5 Mon Sep 17 00:00:00 2001 From: Abdulbois Date: Wed, 7 Feb 2024 20:36:23 +0500 Subject: [PATCH 20/29] #303 Upgrade Cosmos-SDK to v0.47.3 - Replace `cometbft` with fork(contains fixes of light client) Signed-off-by: Abdulbois Signed-off-by: Abdulbois --- .github/.wordlist.txt | 3 +- deployment/scripts/run_dcl_node | 2 +- docker-compose.yml | 2 +- go.mod | 2 +- go.sum | 4 +- integration_tests/cli/common.sh | 2 - integration_tests/deploy/Dockerfile-build | 4 +- integration_tests/deploy/test_deploy.sh | 2 +- integration_tests/light_client_proxy/auth.sh | 3 +- .../light_client_proxy/compliance.sh | 9 +- integration_tests/light_client_proxy/model.sh | 1 - .../light_client_proxy/vendorinfo.sh | 1 - integration_tests/run-all.sh | 112 ++++++------ integration_tests/upgrade/common.sh | 160 ++++++++++++++++-- .../upgrade/test-upgrade-0.12-to-1.2.sh | 155 ----------------- .../upgrade/test-upgrade-1.2-to-1.3.sh | 159 +---------------- 16 files changed, 221 insertions(+), 400 deletions(-) diff --git a/.github/.wordlist.txt b/.github/.wordlist.txt index e832e93fd..e90efb48d 100644 --- a/.github/.wordlist.txt +++ b/.github/.wordlist.txt @@ -83,4 +83,5 @@ li md pdf ul -WebSocket \ No newline at end of file +WebSocket +cometbft \ No newline at end of file diff --git a/deployment/scripts/run_dcl_node b/deployment/scripts/run_dcl_node index 2a390a6f0..db2c4f949 100755 --- a/deployment/scripts/run_dcl_node +++ b/deployment/scripts/run_dcl_node @@ -353,7 +353,7 @@ function run_node { function wait_node_up { - local _timeout="${1:-5}" + local _timeout="${1:-30}" local _try=1 echo -e "Waiting the node becomes up" diff --git a/docker-compose.yml b/docker-compose.yml index b7fcd7232..7be02e794 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -113,7 +113,7 @@ services: networks: localnet: ipv4_address: 192.167.10.7 - command: cosmovisor run light dclchain -p tcp://192.167.10.2:26657 -w tcp://192.167.10.3:26657,tcp://192.167.10.4:26657 --start-timeout=20 --log-level=debug + command: cosmovisor run light dclchain -p tcp://192.167.10.2:26657 -w tcp://192.167.10.3:26657,tcp://192.167.10.4:26657 --start-timeout=10 --log-level=debug networks: diff --git a/go.mod b/go.mod index 943be759c..67be9cc33 100644 --- a/go.mod +++ b/go.mod @@ -220,7 +220,7 @@ require ( replace ( github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0 - github.com/cometbft/cometbft => github.com/Abdulbois/cometbft v0.0.0-20240206095654-1275196800b7 + github.com/cometbft/cometbft => github.com/zigbee-alliance/cometbft v0.37.5 github.com/gin-gonic/gin => github.com/gin-gonic/gin v1.9.0 github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 ) diff --git a/go.sum b/go.sum index 373f49270..5c97607a9 100644 --- a/go.sum +++ b/go.sum @@ -206,8 +206,6 @@ filippo.io/edwards25519 v1.0.0 h1:0wAIcmJUqRdI8IJ/3eGi5/HwXZWPujYXXlkrQogz0Ek= filippo.io/edwards25519 v1.0.0/go.mod h1:N1IkdkCkiLB6tki+MYJoSx2JTY9NUlxZE7eHn5EwJns= github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 h1:/vQbFIOMbk2FiG/kXiLl8BRyzTWDw7gX/Hz7Dd5eDMs= github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4/go.mod h1:hN7oaIRCjzsZ2dE+yG5k+rsdt3qcwykqK6HVGcKwsw4= -github.com/Abdulbois/cometbft v0.0.0-20240206095654-1275196800b7 h1:nnYxFnvszqSC3Oz37V1LnFxyHw9+BwKOxkPKFd+l30g= -github.com/Abdulbois/cometbft v0.0.0-20240206095654-1275196800b7/go.mod h1:Cmg5Hp4sNpapm7j+x0xRyt2g0juQfmB752ous+pA0G8= github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 h1:UQHMgLO+TxOElx5B5HZ4hJQsoJ/PvUvKRhJHDQXO8P8= github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= @@ -1026,6 +1024,8 @@ github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= +github.com/zigbee-alliance/cometbft v0.37.5 h1:vTE6bN8SndgGk3DDieT+xXI+M/Bprtfx8fawkUsNQiU= +github.com/zigbee-alliance/cometbft v0.37.5/go.mod h1:Cmg5Hp4sNpapm7j+x0xRyt2g0juQfmB752ous+pA0G8= github.com/zondax/hid v0.9.2 h1:WCJFnEDMiqGF64nlZz28E9qLVZ0KSJ7xpc5DLEyma2U= github.com/zondax/hid v0.9.2/go.mod h1:l5wttcP0jwtdLjqjMMWFVEE7d1zO0jvSPA9OPZxWpEM= github.com/zondax/ledger-go v0.14.3 h1:wEpJt2CEcBJ428md/5MgSLsXLBos98sBOyxNmCjfUCw= diff --git a/integration_tests/cli/common.sh b/integration_tests/cli/common.sh index 10cba8857..1a1d13164 100755 --- a/integration_tests/cli/common.sh +++ b/integration_tests/cli/common.sh @@ -79,7 +79,6 @@ check_response() { if [[ "$(_check_response "$_result" "$_expected_string" "$_mode")" != true ]]; then echo "${GREEN}ERROR:${RESET} command failed. The expected string: '$_expected_string' not found in the result: $_result" - docker logs -n 100 lightclient0 exit 1 fi } @@ -154,7 +153,6 @@ create_new_vendor_account(){ fi _result=$(get_txn_result "$_result") check_response "$_result" "\"code\": 0" - } create_model_and_version() { diff --git a/integration_tests/deploy/Dockerfile-build b/integration_tests/deploy/Dockerfile-build index 7f25159f3..bee4dce20 100644 --- a/integration_tests/deploy/Dockerfile-build +++ b/integration_tests/deploy/Dockerfile-build @@ -18,7 +18,7 @@ # The resulting image is used only for getting the build artifacts from # a container based on it. Containers based on this image are never run. ################################################################################ -FROM golang:bullseye +FROM golang:1.20.14-bullseye WORKDIR /go/src/dc-ledger COPY app ./app/ @@ -35,4 +35,4 @@ ARG DCL_VERSION ARG DCL_COMMIT RUN LEDGER_ENABLED=false make -RUN go install github.com/cosmos/cosmos-sdk/cosmovisor/cmd/cosmovisor@v1.0.0 +RUN go install github.com/cosmos/cosmos-sdk/cosmovisor/cmd/cosmovisor@v1.3.0 diff --git a/integration_tests/deploy/test_deploy.sh b/integration_tests/deploy/test_deploy.sh index 469e90373..285d86859 100755 --- a/integration_tests/deploy/test_deploy.sh +++ b/integration_tests/deploy/test_deploy.sh @@ -147,9 +147,9 @@ wait_for_height 4 30 normal "tcp://$VN_IP:26657" result="$(docker_exec "$VN_NAME" ./dcld tx validator add-node --pubkey="$vn_pubkey" --moniker="$VN_NAME" --from="$vn_admin_name" --yes)" result=$(get_txn_result "$result") +sleep 10 echo "Check node \"$VN_NAME\" is in the validator set" result=$(docker_exec "$GVN_NAME" ./dcld query validator all-nodes) -result=$(get_txn_result "$result") check_response "$result" "\"moniker\": \"$VN_NAME\"" check_response "$result" "\"pubKey\":$vn_pubkey" raw diff --git a/integration_tests/light_client_proxy/auth.sh b/integration_tests/light_client_proxy/auth.sh index 59fd9fb04..78250d141 100644 --- a/integration_tests/light_client_proxy/auth.sh +++ b/integration_tests/light_client_proxy/auth.sh @@ -19,7 +19,7 @@ test_divider # connect to light client proxy dcld config node tcp://localhost:26620 -sleep 10 +sleep 20 echo "Query non existent account" result=$(execute_with_retry "dcld query auth account --address=$user_address") @@ -147,7 +147,6 @@ test_divider echo "Add vendorinfo" result=$(echo $passphrase | dcld tx auth propose-add-account --address="$user_address" --pubkey="$user_pubkey" --roles="NodeAdmin" --from $user_address --yes) -result=$(get_txn_result "$result") echo "$result" check_response "$result" "Write requests don't work with a Light Client Proxy" diff --git a/integration_tests/light_client_proxy/compliance.sh b/integration_tests/light_client_proxy/compliance.sh index 6f9ae366d..ca1dbf3be 100644 --- a/integration_tests/light_client_proxy/compliance.sh +++ b/integration_tests/light_client_proxy/compliance.sh @@ -19,28 +19,28 @@ cd_certificate_id="123" echo "Query non existent complianceinfo" result=$(execute_with_retry "dcld query compliance compliance-info --vid=$vid --pid=$pid --softwareVersion=$sv --certificationType="zigbee"") echo "$result" -check_response "$result" "Not Found" +#check_response "$result" "Not Found" test_divider echo "Query non existent certified" result=$(execute_with_retry "dcld query compliance certified-model --vid=$vid --pid=$pid --softwareVersion=$sv --certificationType="zigbee"") echo "$result" -check_response "$result" "Not Found" +#check_response "$result" "Not Found" test_divider echo "Query non existent revoked" result=$(execute_with_retry "dcld query compliance revoked-model --vid=$vid --pid=$pid --softwareVersion=$sv --certificationType="zigbee"") echo "$result" -check_response "$result" "Not Found" +#check_response "$result" "Not Found" test_divider echo "Query non existent provision" result=$(execute_with_retry "dcld query compliance provisional-model --vid=$vid --pid=$pid --softwareVersion=$sv --certificationType="zigbee"") echo "$result" -check_response "$result" "Not Found" +#check_response "$result" "Not Found" test_divider @@ -218,7 +218,6 @@ test_divider echo "Add compliance info" result=$(echo "$passphrase" | dcld tx compliance certify-model --vid=$vid --pid=$pid --softwareVersion=$sv --softwareVersionString=$svs --certificationType="zigbee" --certificationDate="$certification_date" --cdCertificateId="$cd_certificate_id" --cdVersionNumber=1 --from $zb_account --yes) -result=$(get_txn_result "$result") echo "$result" check_response "$result" "Write requests don't work with a Light Client Proxy" diff --git a/integration_tests/light_client_proxy/model.sh b/integration_tests/light_client_proxy/model.sh index e221a0a4a..16583065b 100644 --- a/integration_tests/light_client_proxy/model.sh +++ b/integration_tests/light_client_proxy/model.sh @@ -187,7 +187,6 @@ test_divider echo "Add Model with VID: $vid PID: $pid" result=$(echo "test1234" | dcld tx model add-model --vid=$vid --pid=$pid --deviceTypeID=1 --productName=TestProduct --productLabel="$productLabel" --partNumber=1 --commissioningCustomFlow=0 --from=$vendor_account --yes) -result=$(get_txn_result "$result") echo "$result" check_response "$result" "Write requests don't work with a Light Client Proxy" diff --git a/integration_tests/light_client_proxy/vendorinfo.sh b/integration_tests/light_client_proxy/vendorinfo.sh index 2d9aa6701..e54a1a877 100644 --- a/integration_tests/light_client_proxy/vendorinfo.sh +++ b/integration_tests/light_client_proxy/vendorinfo.sh @@ -102,7 +102,6 @@ test_divider echo "Add vendorinfo" result=$(echo "test1234" | dcld tx vendorinfo add-vendor --vid=$vid --companyLegalName="$companyLegalName" --vendorName="$vendorName" --from=$vendor_account --yes) -result=$(get_txn_result "$result") echo "$result" check_response "$result" "Write requests don't work with a Light Client Proxy" diff --git a/integration_tests/run-all.sh b/integration_tests/run-all.sh index 61d031b51..c705e4b45 100755 --- a/integration_tests/run-all.sh +++ b/integration_tests/run-all.sh @@ -76,7 +76,7 @@ init_pool() { make localnet_start &>${DETAILED_OUTPUT_TARGET} log "-> Waiting for the second block (needed to request proofs)" >${DETAILED_OUTPUT_TARGET} - execute_with_retry "dcld status" "connection refused" + execute_with_retry "dcld status" "connection" wait_for_height 2 20 } @@ -106,30 +106,8 @@ make image &>${DETAILED_OUTPUT_TARGET} cleanup_pool # Cli shell tests -#if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "cli" ]]; then -# CLI_SHELL_TESTS=$(find integration_tests/cli -type f -name '*.sh' -not -name "common.sh") -# -# for CLI_SHELL_TEST in ${CLI_SHELL_TESTS}; do -# init_pool -# -# log "*****************************************************************************************" -# log "Running $CLI_SHELL_TEST" -# log "*****************************************************************************************" -# -# if bash "$CLI_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then -# log "$CLI_SHELL_TEST finished successfully" -# else -# log "$CLI_SHELL_TEST failed" -# exit 1 -# fi -# -# cleanup_pool -# done -#fi - -# Light Client Proxy Cli shell tests -if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "light" ]]; then - CLI_SHELL_TESTS=$(find integration_tests/light_client_proxy -type f -name '*.sh' -not -name "common.sh" | sort) +if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "cli" ]]; then + CLI_SHELL_TESTS=$(find integration_tests/cli -type f -name '*.sh' -not -name "common.sh") for CLI_SHELL_TEST in ${CLI_SHELL_TESTS}; do init_pool @@ -149,46 +127,68 @@ if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "light" ]]; then done fi +# Light Client Proxy Cli shell tests +# if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "light" ]]; then +# CLI_SHELL_TESTS=$(find integration_tests/light_client_proxy -type f -name '*.sh' -not -name "common.sh" | sort) + +# for CLI_SHELL_TEST in ${CLI_SHELL_TESTS}; do +# init_pool + +# log "*****************************************************************************************" +# log "Running $CLI_SHELL_TEST" +# log "*****************************************************************************************" + +# if bash "$CLI_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then +# log "$CLI_SHELL_TEST finished successfully" +# else +# log "$CLI_SHELL_TEST failed" +# exit 1 +# fi + +# cleanup_pool +# done +# fi + # Go rest tests -#if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "rest" ]]; then -# GO_REST_TESTS="$(find integration_tests/grpc_rest -type f -name '*_test.go')" -# -# for GO_REST_TEST in ${GO_REST_TESTS}; do -# init_pool -# -# log "*****************************************************************************************" -# log "Running $GO_REST_TEST" -# log "*****************************************************************************************" -# -# # TODO issue 99: improve, that await helps with the cases of not ready connections to Cosmos endpoints -# sleep 5 -# -# dcld config keyring-backend test -# if go test "$GO_REST_TEST" &>${DETAILED_OUTPUT_TARGET}; then -# log "$GO_REST_TEST finished successfully" -# else -# log "$GO_REST_TEST failed" -# exit 1 -# fi -# -# cleanup_pool -# done -#fi +if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "rest" ]]; then + GO_REST_TESTS="$(find integration_tests/grpc_rest -type f -name '*_test.go')" -# Deploy tests -if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "deploy" ]]; then - DEPLOY_SHELL_TEST="./integration_tests/deploy/test_deploy.sh" - if bash "$DEPLOY_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then - log "$DEPLOY_SHELL_TEST finished successfully" + for GO_REST_TEST in ${GO_REST_TESTS}; do + init_pool + + log "*****************************************************************************************" + log "Running $GO_REST_TEST" + log "*****************************************************************************************" + + # TODO issue 99: improve, that await helps with the cases of not ready connections to Cosmos endpoints + sleep 5 + + dcld config keyring-backend test + if go test "$GO_REST_TEST" &>${DETAILED_OUTPUT_TARGET}; then + log "$GO_REST_TEST finished successfully" else - log "$DEPLOY_SHELL_TEST failed" + log "$GO_REST_TEST failed" exit 1 fi + + cleanup_pool + done fi +# Deploy tests + if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "deploy" ]]; then + DEPLOY_SHELL_TEST="./integration_tests/deploy/test_deploy.sh" + if bash "$DEPLOY_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then + log "$DEPLOY_SHELL_TEST finished successfully" + else + log "$DEPLOY_SHELL_TEST failed" + exit 1 + fi + fi + # Upgrade procedure tests if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "upgrade" ]]; then - UPGRADE_SHELL_TESTS=$(find integration_tests/upgrade -type f -name '*.sh' -not -name "add-new-node-after-upgrade.sh" -not -name "common.sh" | sort) + UPGRADE_SHELL_TESTS=$(find integration_tests/upgrade -type f -name '*.sh' -not -name "add-new-node-after-upgrade.sh" -not -name "common.sh" -not -name "test-upgrade-1.2-to-1.3.sh" | sort) for UPGRADE_SHELL_TEST in ${UPGRADE_SHELL_TESTS}; do log "*****************************************************************************************" diff --git a/integration_tests/upgrade/common.sh b/integration_tests/upgrade/common.sh index cea5b8b4c..711c51aef 100755 --- a/integration_tests/upgrade/common.sh +++ b/integration_tests/upgrade/common.sh @@ -107,22 +107,22 @@ create_new_account(){ eval $__resultvar="'$name'" local roles="$2" - local dcld = ${3:-dcld} + local _dcld="${3:-dcld}" echo "Account name: $name" echo "Generate key for $name" - (echo $passphrase; echo $passphrase) | $dcld keys add "$name" + (echo $passphrase; echo $passphrase) | $_dcld keys add "$name" - address=$(echo $passphrase | $dcld keys show $name -a) - pubkey=$(echo $passphrase | $dcld keys show $name -p) + address=$(echo $passphrase | $_dcld keys show $name -a) + pubkey=$(echo $passphrase | $_dcld keys show $name -p) echo "Jack proposes account for \"$name\" with roles: \"$roles\"" - result=$(echo $passphrase | $dcld tx auth propose-add-account --address="$address" --pubkey="$pubkey" --roles=$roles --from jack --yes) + result=$(echo $passphrase | $_dcld tx auth propose-add-account --address="$address" --pubkey="$pubkey" --roles=$roles --from jack --yes) check_response "$result" "\"code\": 0" echo "$result" echo "Alice approves account for \"$name\" with roles: \"$roles\"" - result=$(echo $passphrase | $dcld tx auth approve-add-account --address="$address" --from alice --yes) + result=$(echo $passphrase | $_dcld tx auth approve-add-account --address="$address" --from alice --yes) check_response "$result" "\"code\": 0" echo "$result" } @@ -131,13 +131,13 @@ create_new_vendor_account(){ local _name="$1" local _vid="$2" - local dcld = ${3:-dcld} + local _dcld="${3:-dcld}" - echo $passphrase | $dcld keys add "$_name" - _address=$(echo $passphrase | $dcld keys show $_name -a) - _pubkey=$(echo $passphrase | $dcld keys show $_name -p) + echo $passphrase | $_dcld keys add "$_name" + _address=$(echo $passphrase | $_dcld keys show $_name -a) + _pubkey=$(echo $passphrase | $_dcld keys show $_name -p) - result=$(echo $passphrase | $dcld tx auth propose-add-account --address="$_address" --pubkey="$_pubkey" --roles=Vendor --vid=$_vid --pid_ranges=$_pid_ranges --from jack --yes) + result=$(echo $passphrase | $_dcld tx auth propose-add-account --address="$_address" --pubkey="$_pubkey" --roles=Vendor --vid=$_vid --from jack --yes) check_response "$result" "\"code\": 0" } @@ -210,7 +210,7 @@ get_txn_result() { sleep 2 _result=$($_command 2>&1) else - break + break fi done @@ -233,4 +233,140 @@ execute_with_retry() { done echo "$_result" +} + +log() { + echo "${LOG_PREFIX}$1" +} + + # patch configs properly by having all values >= 1 sec, otherwise headers may start having time from the future and light client verification will fail + # if we patch config to have new blocks created in less than 1 sec, the min time in a time header is still 1 sec. + # So, new blocks started to be from the future. +patch_consensus_config() { + local NODE_CONFIGS="$(find "$LOCALNET_DIR" -type f -name "config.toml" -wholename "*node*")" + + for NODE_CONFIG in ${NODE_CONFIGS}; do + sed -i $SED_EXT 's/timeout_propose = "3s"/timeout_propose = "1s"/g' "${NODE_CONFIG}" + #sed -i $SED_EXT 's/timeout_prevote = "1s"/timeout_prevote = "1s"/g' "${NODE_CONFIG}" + #sed -i $SED_EXT 's/timeout_precommit = "1s"/timeout_precommit = "1s"/g' "${NODE_CONFIG}" + sed -i $SED_EXT 's/timeout_commit = "5s"/timeout_commit = "1s"/g' "${NODE_CONFIG}" + done +} + +start_pool() { + log "Setting up pool" + + log "-> Generating network configuration" >${DETAILED_OUTPUT_TARGET} + make localnet_init_latest_stable_release MAINNET_STABLE_VERSION=$binary_version_old &>${DETAILED_OUTPUT_TARGET} + + patch_consensus_config + + log "-> Running pool" >${DETAILED_OUTPUT_TARGET} + make localnet_start &>${DETAILED_OUTPUT_TARGET} + + log "-> Waiting for the second block (needed to request proofs)" >${DETAILED_OUTPUT_TARGET} + execute_with_retry "dcld status" "connection" + wait_for_height 2 20 +} + +cleanup() { + if docker container ls -a | grep -q $container; then + if docker container inspect $container | grep -q '"Status": "running"'; then + echo "Stopping container" + docker container kill $container + fi + + echo "Removing container" + docker container rm -f "$container" + fi +} + +container="validator-demo" +add_validator_node() { + # FIXME: as it's called before upgrade, mainnet stable version of dcld needs to be used (not the latest master) + # FIXME: check adding new node after upgrade as well + random_string account + address="" + LOCALNET_DIR=".localnet" + DCL_USER_HOME="/var/lib/dcl" + DCL_DIR="$DCL_USER_HOME/.dcl" + + node_name="node-demo" + node_p2p_port=26670 + node_client_port=26671 + chain_id="dclchain" + ip="192.167.10.6" + node0conn="tcp://192.167.10.2:26657" + passphrase="test1234" + docker_network="distributed-compliance-ledger_localnet" + + docker run -d --name $container --ip $ip -p "$node_p2p_port-$node_client_port:26656-26657" --network $docker_network -i dcledger + + docker cp "$DCLD_BIN_OLD" "$container":"$DCL_USER_HOME"/dcld + + test_divider + + echo "$account Configure CLI" + docker exec $container /bin/sh -c " + ./dcld config chain-id dclchain && + ./dcld config output json && + ./dcld config node $node0conn && + ./dcld config keyring-backend test && + ./dcld config broadcast-mode block" + + test_divider + + echo "$account Prepare Node configuration files" + docker exec $container ./dcld init $node_name --chain-id $chain_id + docker cp "$LOCALNET_DIR/node0/config/genesis.json" $container:$DCL_DIR/config + peers="$(cat "$LOCALNET_DIR/node0/config/config.toml" | grep -o -E "persistent_peers = \".*\"")" + docker exec $container sed -i "s/persistent_peers = \"\"/$peers/g" $DCL_DIR/config/config.toml + docker exec $container sed -i 's/laddr = "tcp:\/\/127.0.0.1:26657"/laddr = "tcp:\/\/0.0.0.0:26657"/g' $DCL_DIR/config/config.toml + + test_divider + + echo "Generate keys for $account" + cmd="(echo $passphrase; echo $passphrase) | ./dcld keys add $account" + docker exec $container /bin/sh -c "$cmd" + + address="$(docker exec $container /bin/sh -c "echo $passphrase | ./dcld keys show $account -a")" + pubkey="$(docker exec $container /bin/sh -c "echo $passphrase | ./dcld keys show $account -p")" + alice_address="$($DCLD_BIN_OLD keys show alice -a)" + bob_address="$($DCLD_BIN_OLD keys show bob -a)" + jack_address="$($DCLD_BIN_OLD keys show jack -a)" + echo "Create account for $account and Assign NodeAdmin role" + echo $passphrase | $DCLD_BIN_OLD tx auth propose-add-account --address="$address" --pubkey="$pubkey" --roles="NodeAdmin" --from jack --yes + echo $passphrase | $DCLD_BIN_OLD tx auth approve-add-account --address="$address" --from alice --yes + echo $passphrase | $DCLD_BIN_OLD tx auth approve-add-account --address="$address" --from bob --yes + + test_divider + vaddress=$(docker exec $container ./dcld tendermint show-address) + vpubkey=$(docker exec $container ./dcld tendermint show-validator) + + echo "Check pool response for yet unknown node \"$node_name\"" + result=$($DCLD_BIN_OLD query validator node --address "$address") + check_response "$result" "Not Found" + echo "$result" + result=$($DCLD_BIN_OLD query validator last-power --address "$address") + check_response "$result" "Not Found" + echo "$result" + + echo "$account Add Node \"$node_name\" to validator set" + cmd="$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator add-node --pubkey='$vpubkey' --moniker="$node_name" --from="$account" --yes")" + result=$(execute_with_retry "$cmd" "not found") + echo "$result" + + test_divider + + echo "Locating the app to $DCL_DIR/cosmovisor/genesis/bin directory" + docker exec $container mkdir -p "$DCL_DIR"/cosmovisor/genesis/bin + docker exec $container cp -f ./dcld "$DCL_DIR"/cosmovisor/genesis/bin/ + + echo "$account Start Node \"$node_name\"" + docker exec -d $container cosmovisor run start + sleep 10 + + result=$($DCLD_BIN_OLD query validator node --address "$address") + validator_address=$(echo "$result" | jq -r '.owner') + echo "$result" } \ No newline at end of file diff --git a/integration_tests/upgrade/test-upgrade-0.12-to-1.2.sh b/integration_tests/upgrade/test-upgrade-0.12-to-1.2.sh index 8e254b061..8666d624c 100755 --- a/integration_tests/upgrade/test-upgrade-0.12-to-1.2.sh +++ b/integration_tests/upgrade/test-upgrade-0.12-to-1.2.sh @@ -45,153 +45,6 @@ else DETAILED_OUTPUT_TARGET=/dev/null fi -log() { - echo "${LOG_PREFIX}$1" -} - - # patch configs properly by having all values >= 1 sec, otherwise headers may start having time from the future and light client verification will fail - # if we patch config to have new blocks created in less than 1 sec, the min time in a time header is still 1 sec. - # So, new blocks started to be from the future. -patch_consensus_config() { - local NODE_CONFIGS="$(find "$LOCALNET_DIR" -type f -name "config.toml" -wholename "*node*")" - - for NODE_CONFIG in ${NODE_CONFIGS}; do - sed -i $SED_EXT 's/timeout_propose = "3s"/timeout_propose = "1s"/g' "${NODE_CONFIG}" - #sed -i $SED_EXT 's/timeout_prevote = "1s"/timeout_prevote = "1s"/g' "${NODE_CONFIG}" - #sed -i $SED_EXT 's/timeout_precommit = "1s"/timeout_precommit = "1s"/g' "${NODE_CONFIG}" - sed -i $SED_EXT 's/timeout_commit = "5s"/timeout_commit = "1s"/g' "${NODE_CONFIG}" - done -} - -start_pool() { - log "Setting up pool" - - log "-> Generating network configuration" >${DETAILED_OUTPUT_TARGET} - make localnet_init_latest_stable_release MAINNET_STABLE_VERSION=$binary_version_old &>${DETAILED_OUTPUT_TARGET} - - patch_consensus_config - - log "-> Running pool" >${DETAILED_OUTPUT_TARGET} - make localnet_start &>${DETAILED_OUTPUT_TARGET} - - log "-> Waiting for the second block (needed to request proofs)" >${DETAILED_OUTPUT_TARGET} - execute_with_retry "dcld status" "connection refused" - wait_for_height 2 20 -} - -container="validator-demo" -add_validator_node() { - # FIXME: as it's called before upgrade, mainnet stable version of dcld needs to be used (not the latest master) - # FIXME: check adding new node after upgrade as well - random_string account - address="" - LOCALNET_DIR=".localnet" - DCL_USER_HOME="/var/lib/dcl" - DCL_DIR="$DCL_USER_HOME/.dcl" - - node_name="node-demo" - node_p2p_port=26670 - node_client_port=26671 - chain_id="dclchain" - ip="192.167.10.6" - node0conn="tcp://192.167.10.2:26657" - passphrase="test1234" - docker_network="distributed-compliance-ledger_localnet" - - docker build -f Dockerfile-build -t dcld-build . - docker container create --name dcld-build-inst dcld-build - docker cp dcld-build-inst:/go/bin/dcld ./ - docker rm dcld-build-inst - - docker run -d --name $container --ip $ip -p "$node_p2p_port-$node_client_port:26656-26657" --network $docker_network -i dcledger - - docker cp ./dcld "$container":"$DCL_USER_HOME"/ - rm -f ./dcld - - test_divider - - echo "$account Configure CLI" - docker exec $container /bin/sh -c " - ./dcld config chain-id dclchain && - ./dcld config output json && - ./dcld config node $node0conn && - ./dcld config keyring-backend test && - ./dcld config broadcast-mode sync" - - test_divider - - echo "$account Prepare Node configuration files" - docker exec $container ./dcld init $node_name --chain-id $chain_id - docker cp "$LOCALNET_DIR/node0/config/genesis.json" $container:$DCL_DIR/config - peers="$(cat "$LOCALNET_DIR/node0/config/config.toml" | grep -o -E "persistent_peers = \".*\"")" - docker exec $container sed -i "s/persistent_peers = \"\"/$peers/g" $DCL_DIR/config/config.toml - docker exec $container sed -i 's/laddr = "tcp:\/\/127.0.0.1:26657"/laddr = "tcp:\/\/0.0.0.0:26657"/g' $DCL_DIR/config/config.toml - - test_divider - - echo "Generate keys for $account" - cmd="(echo $passphrase; echo $passphrase) | ./dcld keys add $account" - docker exec $container /bin/sh -c "$cmd" - - address="$(docker exec $container /bin/sh -c "echo $passphrase | ./dcld keys show $account -a")" - pubkey="$(docker exec $container /bin/sh -c "echo $passphrase | ./dcld keys show $account -p")" - alice_address="$(dcld keys show alice -a)" - bob_address="$(dcld keys show bob -a)" - jack_address="$(dcld keys show jack -a)" - echo "Create account for $account and Assign NodeAdmin role" - echo $passphrase | dcld tx auth propose-add-account --address="$address" --pubkey="$pubkey" --roles="NodeAdmin" --from jack --yes - echo $passphrase | dcld tx auth approve-add-account --address="$address" --from alice --yes - echo $passphrase | dcld tx auth approve-add-account --address="$address" --from bob --yes - - test_divider - vaddress=$(docker exec $container ./dcld tendermint show-address) - vpubkey=$(docker exec $container ./dcld tendermint show-validator) - - echo "Check pool response for yet unknown node \"$node_name\"" - result=$(dcld query validator node --address "$address") - check_response "$result" "Not Found" - echo "$result" - result=$(dcld query validator last-power --address "$address") - check_response "$result" "Not Found" - echo "$result" - - echo "$account Add Node \"$node_name\" to validator set" - - ! read -r -d '' _script << EOF - set -eu; echo test1234 | dcld tx validator add-node --pubkey='$vpubkey' --moniker="$node_name" --from="$account" --yes -EOF - result="$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator add-node --pubkey='$vpubkey' --moniker="$node_name" --from="$account" --yes")" - check_response "$result" "\"code\": 0" - echo "$result" - - - test_divider - - - echo "Locating the app to $DCL_DIR/cosmovisor/genesis/bin directory" - docker exec $container mkdir -p "$DCL_DIR"/cosmovisor/genesis/bin - docker exec $container cp -f ./dcld "$DCL_DIR"/cosmovisor/genesis/bin/ - - echo "$account Start Node \"$node_name\"" - docker exec -d $container cosmovisor run start - sleep 10 - - result=$(dcld query validator node --address "$address") - validator_address=$(echo "$result" | jq -r '.owner') - echo "$result" -} - -cleanup() { - if docker container ls -a | grep -q $container; then - if docker container inspect $container | grep -q '"Status": "running"'; then - echo "Stopping container" - docker container kill $container - fi - - echo "Removing container" - docker container rm -f "$container" - fi -} trap cleanup EXIT cleanup @@ -551,14 +404,12 @@ add_validator_node test_divider echo "Disable node" -# FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator disable-node --from=$account --yes") check_response "$result" "\"code\": 0" test_divider echo "Enable node" -# FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") check_response "$result" "\"code\": 0" @@ -583,7 +434,6 @@ check_response "$result" "\"code\": 0" test_divider echo "Enable node" -# FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") check_response "$result" "\"code\": 0" @@ -850,7 +700,6 @@ test_divider # Validator echo "Get proposed node to disable" -# FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld query validator proposed-disable-node --address="$address"") check_response "$result" "\"address\": \"$validator_address\"" @@ -1296,14 +1145,12 @@ test_divider # VALIDATOR_NODE echo "Disable node" -# FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator disable-node --from=$account --yes") check_response "$result" "\"code\": 0" test_divider echo "Enable node" -# FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") check_response "$result" "\"code\": 0" @@ -1328,7 +1175,6 @@ check_response "$result" "\"code\": 0" test_divider echo "Enable node" -# FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") check_response "$result" "\"code\": 0" @@ -1604,7 +1450,6 @@ test_divider # Validator echo "Get node" -# FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld query validator all-nodes") check_response "$result" "\"owner\": \"$validator_address\"" diff --git a/integration_tests/upgrade/test-upgrade-1.2-to-1.3.sh b/integration_tests/upgrade/test-upgrade-1.2-to-1.3.sh index cb988ca81..d5544d5fa 100755 --- a/integration_tests/upgrade/test-upgrade-1.2-to-1.3.sh +++ b/integration_tests/upgrade/test-upgrade-1.2-to-1.3.sh @@ -46,155 +46,6 @@ else DETAILED_OUTPUT_TARGET=/dev/null fi -log() { - echo "${LOG_PREFIX}$1" -} - - # patch configs properly by having all values >= 1 sec, otherwise headers may start having time from the future and light client verification will fail - # if we patch config to have new blocks created in less than 1 sec, the min time in a time header is still 1 sec. - # So, new blocks started to be from the future. -patch_consensus_config() { - local NODE_CONFIGS="$(find "$LOCALNET_DIR" -type f -name "config.toml" -wholename "*node*")" - - for NODE_CONFIG in ${NODE_CONFIGS}; do - sed -i $SED_EXT 's/timeout_propose = "3s"/timeout_propose = "1s"/g' "${NODE_CONFIG}" - #sed -i $SED_EXT 's/timeout_prevote = "1s"/timeout_prevote = "1s"/g' "${NODE_CONFIG}" - #sed -i $SED_EXT 's/timeout_precommit = "1s"/timeout_precommit = "1s"/g' "${NODE_CONFIG}" - sed -i $SED_EXT 's/timeout_commit = "5s"/timeout_commit = "1s"/g' "${NODE_CONFIG}" - done -} - -start_pool() { - log "Setting up pool" - - log "-> Generating network configuration" >${DETAILED_OUTPUT_TARGET} - make localnet_init_latest_stable_release MAINNET_STABLE_VERSION=$binary_version_old &>${DETAILED_OUTPUT_TARGET} - - patch_consensus_config - - log "-> Running pool" >${DETAILED_OUTPUT_TARGET} - make localnet_start &>${DETAILED_OUTPUT_TARGET} - - log "-> Waiting for the second block (needed to request proofs)" >${DETAILED_OUTPUT_TARGET} - execute_with_retry "dcld status" "connection refused" - wait_for_height 2 20 -} - -container="validator-demo" -add_validator_node() { - # FIXME: as it's called before upgrade, mainnet stable version of dcld needs to be used (not the latest master) - # FIXME: check adding new node after upgrade as well - random_string account - address="" - LOCALNET_DIR=".localnet" - DCL_USER_HOME="/var/lib/dcl" - DCL_DIR="$DCL_USER_HOME/.dcl" - - node_name="node-demo" - node_p2p_port=26670 - node_client_port=26671 - chain_id="dclchain" - ip="192.167.10.6" - node0conn="tcp://192.167.10.2:26657" - passphrase="test1234" - docker_network="distributed-compliance-ledger_localnet" - - docker build -f Dockerfile-build -t dcld-build . - docker container create --name dcld-build-inst dcld-build - docker cp dcld-build-inst:/go/bin/dcld ./ - docker rm dcld-build-inst - - docker run -d --name $container --ip $ip -p "$node_p2p_port-$node_client_port:26656-26657" --network $docker_network -i dcledger - - docker cp ./dcld "$container":"$DCL_USER_HOME"/ - rm -f ./dcld - - test_divider - - echo "$account Configure CLI" - docker exec $container /bin/sh -c " - ./dcld config chain-id dclchain && - ./dcld config output json && - ./dcld config node $node0conn && - ./dcld config keyring-backend test && - ./dcld config broadcast-mode sync" - - test_divider - - echo "$account Prepare Node configuration files" - docker exec $container ./dcld init $node_name --chain-id $chain_id - docker cp "$LOCALNET_DIR/node0/config/genesis.json" $container:$DCL_DIR/config - peers="$(cat "$LOCALNET_DIR/node0/config/config.toml" | grep -o -E "persistent_peers = \".*\"")" - docker exec $container sed -i "s/persistent_peers = \"\"/$peers/g" $DCL_DIR/config/config.toml - docker exec $container sed -i 's/laddr = "tcp:\/\/127.0.0.1:26657"/laddr = "tcp:\/\/0.0.0.0:26657"/g' $DCL_DIR/config/config.toml - - test_divider - - echo "Generate keys for $account" - cmd="(echo $passphrase; echo $passphrase) | ./dcld keys add $account" - docker exec $container /bin/sh -c "$cmd" - - address="$(docker exec $container /bin/sh -c "echo $passphrase | ./dcld keys show $account -a")" - pubkey="$(docker exec $container /bin/sh -c "echo $passphrase | ./dcld keys show $account -p")" - alice_address="$(dcld keys show alice -a)" - bob_address="$(dcld keys show bob -a)" - jack_address="$(dcld keys show jack -a)" - - echo "Create account for $account and Assign NodeAdmin role" - echo $passphrase | dcld tx auth propose-add-account --address="$address" --pubkey="$pubkey" --roles="NodeAdmin" --from jack --yes - echo $passphrase | dcld tx auth approve-add-account --address="$address" --from alice --yes - echo $passphrase | dcld tx auth approve-add-account --address="$address" --from bob --yes - echo $passphrase | dcld tx auth approve-add-account --address="$address" --from $trustee_4_address --yes - - test_divider - vaddress=$(docker exec $container ./dcld tendermint show-address) - vpubkey=$(docker exec $container ./dcld tendermint show-validator) - - echo "Check pool response for yet unknown node \"$node_name\"" - result=$(dcld query validator node --address "$address") - check_response "$result" "Not Found" - echo "$result" - result=$(dcld query validator last-power --address "$address") - check_response "$result" "Not Found" - echo "$result" - - echo "$account Add Node \"$node_name\" to validator set" - - ! read -r -d '' _script << EOF - set -eu; echo test1234 | dcld tx validator add-node --pubkey='$vpubkey' --moniker="$node_name" --from="$account" --yes -EOF - result="$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator add-node --pubkey='$vpubkey' --moniker="$node_name" --from="$account" --yes")" - check_response "$result" "\"code\": 0" - echo "$result" - - - test_divider - - - echo "Locating the app to $DCL_DIR/cosmovisor/genesis/bin directory" - docker exec $container mkdir -p "$DCL_DIR"/cosmovisor/genesis/bin - docker exec $container cp -f ./dcld "$DCL_DIR"/cosmovisor/genesis/bin/ - - echo "$account Start Node \"$node_name\"" - docker exec -d $container cosmovisor run start - sleep 10 - - result=$(dcld query validator node --address "$address") - validator_address=$(echo "$result" | jq -r '.owner') - echo "$result" -} - -cleanup() { - if docker container ls -a | grep -q $container; then - if docker container inspect $container | grep -q '"Status": "running"'; then - echo "Stopping container" - docker container kill $container - fi - - echo "Removing container" - docker container rm -f "$container" - fi -} trap cleanup EXIT cleanup @@ -261,6 +112,8 @@ company_legal_name="LegalCompanyName" company_preferred_name="CompanyPreferredName" vendor_landing_page_url="https://www.example.com" +$DCLD_BIN_OLD config broadcast-mode block + random_string user_1 echo "$user_1 generates keys" cmd="(echo $passphrase; echo $passphrase) | $DCLD_BIN_OLD keys add $user_1" @@ -584,14 +437,12 @@ add_validator_node test_divider echo "Disable node" -# FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator disable-node --from=$account --yes") check_response "$result" "\"code\": 0" test_divider echo "Enable node" -# FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") check_response "$result" "\"code\": 0" @@ -618,7 +469,6 @@ check_response "$result" "\"code\": 0" test_divider echo "Enable node" -# FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") check_response "$result" "\"code\": 0" @@ -888,7 +738,6 @@ test_divider # Validator echo "Get proposed node to disable" -# FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld query validator proposed-disable-node --address="$address"") check_response "$result" "\"address\": \"$validator_address\"" @@ -1334,14 +1183,12 @@ test_divider # VALIDATOR_NODE echo "Disable node" -# FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator disable-node --from=$account --yes") check_response "$result" "\"code\": 0" test_divider echo "Enable node" -# FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") check_response "$result" "\"code\": 0" @@ -1366,7 +1213,6 @@ check_response "$result" "\"code\": 0" test_divider echo "Enable node" -# FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") check_response "$result" "\"code\": 0" @@ -1642,7 +1488,6 @@ test_divider # Validator echo "Get node" -# FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld query validator all-nodes") check_response "$result" "\"owner\": \"$validator_address\"" From b2ac10c8a62ea0fd2990386491e225325505b518 Mon Sep 17 00:00:00 2001 From: Abdulbois Date: Mon, 15 Apr 2024 20:51:02 +0500 Subject: [PATCH 21/29] #303 Upgrade Cosmos-SDK to v0.47.8 - Enable light-client-proxy tests Signed-off-by: Abdulbois Signed-off-by: Abdulbois --- .github/actions/setup-molecule/action.yml | 2 +- .../ansible/roles/bootstrap/defaults/main.yml | 2 - integration_tests/light_client_proxy/auth.sh | 2 +- .../light_client_proxy/compliance.sh | 8 ++-- integration_tests/light_client_proxy/model.sh | 0 integration_tests/light_client_proxy/pki.sh | 7 +++ .../light_client_proxy/vendorinfo.sh | 0 integration_tests/run-all.sh | 43 ++++++++++--------- utils/cli/utils.go | 2 +- 9 files changed, 36 insertions(+), 30 deletions(-) mode change 100644 => 100755 integration_tests/light_client_proxy/auth.sh mode change 100644 => 100755 integration_tests/light_client_proxy/compliance.sh mode change 100644 => 100755 integration_tests/light_client_proxy/model.sh mode change 100644 => 100755 integration_tests/light_client_proxy/vendorinfo.sh diff --git a/.github/actions/setup-molecule/action.yml b/.github/actions/setup-molecule/action.yml index 4c12633d7..6de1b4508 100644 --- a/.github/actions/setup-molecule/action.yml +++ b/.github/actions/setup-molecule/action.yml @@ -24,7 +24,7 @@ runs: steps: - uses: actions/setup-python@v3 with: - python-version: '3.x' + python-version: '3.10' - name: install dependencies shell: bash run: pip install -r deployment/test-requirements.txt diff --git a/deployment/ansible/roles/bootstrap/defaults/main.yml b/deployment/ansible/roles/bootstrap/defaults/main.yml index f015bffe4..772fd3eb1 100644 --- a/deployment/ansible/roles/bootstrap/defaults/main.yml +++ b/deployment/ansible/roles/bootstrap/defaults/main.yml @@ -12,5 +12,3 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. - - diff --git a/integration_tests/light_client_proxy/auth.sh b/integration_tests/light_client_proxy/auth.sh old mode 100644 new mode 100755 index 78250d141..e591dcf49 --- a/integration_tests/light_client_proxy/auth.sh +++ b/integration_tests/light_client_proxy/auth.sh @@ -19,7 +19,7 @@ test_divider # connect to light client proxy dcld config node tcp://localhost:26620 -sleep 20 +sleep 10 echo "Query non existent account" result=$(execute_with_retry "dcld query auth account --address=$user_address") diff --git a/integration_tests/light_client_proxy/compliance.sh b/integration_tests/light_client_proxy/compliance.sh old mode 100644 new mode 100755 index ca1dbf3be..8c3cdcd36 --- a/integration_tests/light_client_proxy/compliance.sh +++ b/integration_tests/light_client_proxy/compliance.sh @@ -19,28 +19,28 @@ cd_certificate_id="123" echo "Query non existent complianceinfo" result=$(execute_with_retry "dcld query compliance compliance-info --vid=$vid --pid=$pid --softwareVersion=$sv --certificationType="zigbee"") echo "$result" -#check_response "$result" "Not Found" +check_response "$result" "Not Found" test_divider echo "Query non existent certified" result=$(execute_with_retry "dcld query compliance certified-model --vid=$vid --pid=$pid --softwareVersion=$sv --certificationType="zigbee"") echo "$result" -#check_response "$result" "Not Found" +check_response "$result" "Not Found" test_divider echo "Query non existent revoked" result=$(execute_with_retry "dcld query compliance revoked-model --vid=$vid --pid=$pid --softwareVersion=$sv --certificationType="zigbee"") echo "$result" -#check_response "$result" "Not Found" +check_response "$result" "Not Found" test_divider echo "Query non existent provision" result=$(execute_with_retry "dcld query compliance provisional-model --vid=$vid --pid=$pid --softwareVersion=$sv --certificationType="zigbee"") echo "$result" -#check_response "$result" "Not Found" +check_response "$result" "Not Found" test_divider diff --git a/integration_tests/light_client_proxy/model.sh b/integration_tests/light_client_proxy/model.sh old mode 100644 new mode 100755 diff --git a/integration_tests/light_client_proxy/pki.sh b/integration_tests/light_client_proxy/pki.sh index cb6f10156..d6f2fb9fd 100755 --- a/integration_tests/light_client_proxy/pki.sh +++ b/integration_tests/light_client_proxy/pki.sh @@ -140,6 +140,7 @@ test_divider echo "$vendor_account (Not Trustee) propose Root certificate" root_path="integration_tests/constants/root_cert" result=$(echo "$passphrase" | dcld tx pki propose-add-x509-root-cert --certificate="$root_path" --vid $vid --from $vendor_account --yes) +result=$(get_txn_result "$result") response_does_not_contain "$result" "\"code\": 0" echo "$result" @@ -148,6 +149,7 @@ test_divider echo "$trustee_account (Trustee) propose Root certificate" root_path="integration_tests/constants/root_cert" result=$(echo "$passphrase" | dcld tx pki propose-add-x509-root-cert --certificate="$root_path" --vid $vid --from $trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -155,6 +157,7 @@ test_divider echo "$second_trustee_account (Trustee) approve Root certificate" result=$(echo "$passphrase" | dcld tx pki approve-add-x509-root-cert --subject="$root_cert_subject" --subject-key-id="$root_cert_subject_key_id" --from $second_trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -163,6 +166,7 @@ test_divider echo "$vendor_account (Vendor) add Intermediate certificate" intermediate_path="integration_tests/constants/intermediate_cert" result=$(echo "$passphrase" | dcld tx pki add-x509-cert --certificate="$intermediate_path" --from $vendor_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -171,6 +175,7 @@ test_divider echo "$vendor_account (Vendor) add Leaf certificate" leaf_path="integration_tests/constants/leaf_cert" result=$(echo "$passphrase" | dcld tx pki add-x509-cert --certificate="$leaf_path" --from $vendor_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -178,6 +183,7 @@ test_divider echo "$vendor_account (Vendor) revokes Leaf certificate." result=$(echo "$passphrase" | dcld tx pki revoke-x509-cert --subject="$leaf_cert_subject" --subject-key-id="$leaf_cert_subject_key_id" --from=$vendor_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" @@ -185,6 +191,7 @@ test_divider echo "$trustee_account (Trustee) proposes to revoke Root certificate" result=$(echo "$passphrase" | dcld tx pki propose-revoke-x509-root-cert --subject="$root_cert_subject" --subject-key-id="$root_cert_subject_key_id" --from $trustee_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "$result" diff --git a/integration_tests/light_client_proxy/vendorinfo.sh b/integration_tests/light_client_proxy/vendorinfo.sh old mode 100644 new mode 100755 diff --git a/integration_tests/run-all.sh b/integration_tests/run-all.sh index c705e4b45..6ad877584 100755 --- a/integration_tests/run-all.sh +++ b/integration_tests/run-all.sh @@ -105,6 +105,28 @@ make image &>${DETAILED_OUTPUT_TARGET} cleanup_pool +# Light Client Proxy Cli shell tests + if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "light" ]]; then + CLI_SHELL_TESTS=$(find integration_tests/light_client_proxy -type f -name '*.sh' -not -name "common.sh" | sort) + + for CLI_SHELL_TEST in ${CLI_SHELL_TESTS}; do + init_pool + + log "*****************************************************************************************" + log "Running $CLI_SHELL_TEST" + log "*****************************************************************************************" + + if bash "$CLI_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then + log "$CLI_SHELL_TEST finished successfully" + else + log "$CLI_SHELL_TEST failed" + exit 1 + fi + + cleanup_pool + done + fi + # Cli shell tests if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "cli" ]]; then CLI_SHELL_TESTS=$(find integration_tests/cli -type f -name '*.sh' -not -name "common.sh") @@ -127,27 +149,6 @@ if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "cli" ]]; then done fi -# Light Client Proxy Cli shell tests -# if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "light" ]]; then -# CLI_SHELL_TESTS=$(find integration_tests/light_client_proxy -type f -name '*.sh' -not -name "common.sh" | sort) - -# for CLI_SHELL_TEST in ${CLI_SHELL_TESTS}; do -# init_pool - -# log "*****************************************************************************************" -# log "Running $CLI_SHELL_TEST" -# log "*****************************************************************************************" - -# if bash "$CLI_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then -# log "$CLI_SHELL_TEST finished successfully" -# else -# log "$CLI_SHELL_TEST failed" -# exit 1 -# fi - -# cleanup_pool -# done -# fi # Go rest tests if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "rest" ]]; then diff --git a/utils/cli/utils.go b/utils/cli/utils.go index 8050d21cd..9eb1ce957 100644 --- a/utils/cli/utils.go +++ b/utils/cli/utils.go @@ -122,7 +122,7 @@ func IsEmptySubtreeRPCError(err error) bool { return false } - return strings.Contains(rpcerror.Message, "Internal error") && strings.Contains(rpcerror.Data, "Nonexistence proof has empty Left and Right proof") + return strings.Contains(rpcerror.Message, "Internal error") && strings.Contains(rpcerror.Data, "nonexistence proof has empty Left and Right proof") } func isEOFError(err error) bool { From dd7fe6e096d7f69dce867b1c1489376e7f644730 Mon Sep 17 00:00:00 2001 From: Abdulbois Date: Tue, 16 Apr 2024 19:05:09 +0500 Subject: [PATCH 22/29] #303 Upgrade Cosmos-SDK to v0.47.8 Upgrade binary version and checksum Signed-off-by: Abdulbois Signed-off-by: Abdulbois --- genlocalnetappbins.sh | 2 +- integration_tests/cli/common.sh | 3 + integration_tests/run-all.sh | 46 +-- .../01-test-upgrade-initialize-0.12.sh | 48 +-- .../upgrade/02-test-upgrade-0.12-to-1.2.sh | 14 +- .../upgrade/03-test-upgrade-1.2-to-1.4.sh | 97 ++++- .../upgrade/add-new-node-after-upgrade.sh | 0 integration_tests/upgrade/common.sh | 372 ------------------ integration_tests/upgrade/test-upgrade.sh | 0 9 files changed, 139 insertions(+), 443 deletions(-) mode change 100644 => 100755 integration_tests/upgrade/01-test-upgrade-initialize-0.12.sh mode change 100644 => 100755 integration_tests/upgrade/02-test-upgrade-0.12-to-1.2.sh mode change 100644 => 100755 integration_tests/upgrade/03-test-upgrade-1.2-to-1.4.sh mode change 100644 => 100755 integration_tests/upgrade/add-new-node-after-upgrade.sh delete mode 100755 integration_tests/upgrade/common.sh mode change 100644 => 100755 integration_tests/upgrade/test-upgrade.sh diff --git a/genlocalnetappbins.sh b/genlocalnetappbins.sh index 93c69610a..ef2e9cb29 100755 --- a/genlocalnetappbins.sh +++ b/genlocalnetappbins.sh @@ -11,7 +11,7 @@ docker container create --name ${IMAGE_TAG}-inst ${IMAGE_TAG} if [ -n "$MAINNET_STABLE_VERSION" ]; then wget "https://github.com/zigbee-alliance/distributed-compliance-ledger/releases/download/${MAINNET_STABLE_VERSION}/dcld" - chmod ugo+x dcld + chmod ugo+x dcld fi for node_name in node0 node1 node2 node3 observer0 lightclient0; do diff --git a/integration_tests/cli/common.sh b/integration_tests/cli/common.sh index 4d108783e..268e82af4 100755 --- a/integration_tests/cli/common.sh +++ b/integration_tests/cli/common.sh @@ -153,6 +153,7 @@ create_new_vendor_account(){ echo "Jack proposes account for \"$_name\" with Vendor role" _result=$(echo $passphrase | dcld tx auth propose-add-account --address="$_address" --pubkey="$_pubkey" --roles=Vendor --vid=$_vid --from jack --yes) fi + _result=$(get_txn_result "$_result") check_response "$_result" "\"code\": 0" } @@ -248,7 +249,9 @@ execute_with_retry() { get_txn_result() { + echo "get_txn_result" local _broadcast_result=${1} + echo "$_broadcast_result" local _txHash=$(echo "$_broadcast_result" | jq -r '.txhash') local _command="dcld query tx $_txHash" local _result=$($_command 2>&1) diff --git a/integration_tests/run-all.sh b/integration_tests/run-all.sh index a7f8343aa..b78bb5d29 100755 --- a/integration_tests/run-all.sh +++ b/integration_tests/run-all.sh @@ -111,6 +111,29 @@ make image &>${DETAILED_OUTPUT_TARGET} cleanup_pool +# Upgrade procedure tests +if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "upgrade" ]]; then + UPGRADE_SHELL_TEST="./integration_tests/upgrade/test-upgrade.sh" + + init_pool yes localnet_init_latest_stable_release "v0.12.0" + + log "*****************************************************************************************" + log "Running $UPGRADE_SHELL_TEST" + log "*****************************************************************************************" + export PS4='Line $LINENO: ' + if bash -x "$UPGRADE_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then + rm dcld_mainnet_stable + log "$UPGRADE_SHELL_TEST finished successfully" + source integration_tests/upgrade/add-new-node-after-upgrade.sh + check_adding_new_node + else + log "$UPGRADE_SHELL_TEST failed" + exit 1 + fi + + cleanup_pool +fi + # Cli shell tests if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "cli" ]]; then CLI_SHELL_TESTS=$(find integration_tests/cli -type f -name '*.sh' -not -name "common.sh") @@ -191,26 +214,3 @@ if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "deploy" ]]; then exit 1 fi fi - -# Upgrade procedure tests -if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "upgrade" ]]; then - UPGRADE_SHELL_TEST="./integration_tests/upgrade/test-upgrade.sh" - - init_pool yes localnet_init_latest_stable_release "v0.12.0" - - log "*****************************************************************************************" - log "Running $UPGRADE_SHELL_TEST" - log "*****************************************************************************************" - - if bash "$UPGRADE_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then - rm dcld_mainnet_stable - log "$UPGRADE_SHELL_TEST finished successfully" - source integration_tests/upgrade/add-new-node-after-upgrade.sh - check_adding_new_node - else - log "$UPGRADE_SHELL_TEST failed" - exit 1 - fi - - cleanup_pool -fi \ No newline at end of file diff --git a/integration_tests/upgrade/01-test-upgrade-initialize-0.12.sh b/integration_tests/upgrade/01-test-upgrade-initialize-0.12.sh old mode 100644 new mode 100755 index df3da2975..6e832e1ee --- a/integration_tests/upgrade/01-test-upgrade-initialize-0.12.sh +++ b/integration_tests/upgrade/01-test-upgrade-initialize-0.12.sh @@ -22,10 +22,10 @@ wget -O dcld-initial "https://github.com/zigbee-alliance/distributed-compliance- chmod ugo+x dcld-initial DCLD_BIN="./dcld-initial" +$DCLD_BIN config broadcast-mode block container="validator-demo" add_validator_node() { - # FIXME: as it's called before upgrade, mainnet stable version of dcld needs to be used (not the latest master) random_string account address="" LOCALNET_DIR=".localnet" @@ -41,15 +41,9 @@ add_validator_node() { passphrase="test1234" docker_network="distributed-compliance-ledger_localnet" - docker build -f Dockerfile-build -t dcld-build . - docker container create --name dcld-build-inst dcld-build - docker cp dcld-build-inst:/go/bin/dcld ./ - docker rm dcld-build-inst - docker run -d --name $container --ip $ip -p "$node_p2p_port-$node_client_port:26656-26657" --network $docker_network -i dcledger - docker cp ./dcld "$container":"$DCL_USER_HOME"/ - rm -f ./dcld + docker cp $DCLD_BIN "$container":"$DCL_USER_HOME"/dcld test_divider @@ -78,30 +72,30 @@ add_validator_node() { address="$(docker exec $container /bin/sh -c "echo $passphrase | ./dcld keys show $account -a")" pubkey="$(docker exec $container /bin/sh -c "echo $passphrase | ./dcld keys show $account -p")" - alice_address="$(dcld keys show alice -a)" - bob_address="$(dcld keys show bob -a)" - jack_address="$(dcld keys show jack -a)" + alice_address="$($DCLD_BIN keys show alice -a)" + bob_address="$($DCLD_BIN keys show bob -a)" + jack_address="$($DCLD_BIN keys show jack -a)" echo "Create account for $account and Assign NodeAdmin role" - echo $passphrase | dcld tx auth propose-add-account --address="$address" --pubkey="$pubkey" --roles="NodeAdmin" --from jack --yes - echo $passphrase | dcld tx auth approve-add-account --address="$address" --from alice --yes - echo $passphrase | dcld tx auth approve-add-account --address="$address" --from bob --yes + echo $passphrase | $DCLD_BIN tx auth propose-add-account --address="$address" --pubkey="$pubkey" --roles="NodeAdmin" --from jack --yes + echo $passphrase | $DCLD_BIN tx auth approve-add-account --address="$address" --from alice --yes + echo $passphrase | $DCLD_BIN tx auth approve-add-account --address="$address" --from bob --yes test_divider vaddress=$(docker exec $container ./dcld tendermint show-address) vpubkey=$(docker exec $container ./dcld tendermint show-validator) echo "Check pool response for yet unknown node \"$node_name\"" - result=$(dcld query validator node --address "$address") + result=$($DCLD_BIN query validator node --address "$address") check_response "$result" "Not Found" echo "$result" - result=$(dcld query validator last-power --address "$address") + result=$($DCLD_BIN query validator last-power --address "$address") check_response "$result" "Not Found" echo "$result" echo "$account Add Node \"$node_name\" to validator set" ! read -r -d '' _script << EOF - set -eu; echo test1234 | dcld tx validator add-node --pubkey='$vpubkey' --moniker="$node_name" --from="$account" --yes + set -eu; echo test1234 | $DCLD_BIN tx validator add-node --pubkey='$vpubkey' --moniker="$node_name" --from="$account" --yes EOF result="$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator add-node --pubkey='$vpubkey' --moniker="$node_name" --from="$account" --yes")" check_response "$result" "\"code\": 0" @@ -119,7 +113,7 @@ EOF docker exec -d $container cosmovisor start sleep 10 - result=$(dcld query validator node --address "$address") + result=$($DCLD_BIN query validator node --address "$address") validator_address=$(echo "$result" | jq -r '.owner') echo "$result" } @@ -199,10 +193,18 @@ user_3_address=$(echo $passphrase | $DCLD_BIN keys show $user_3 -a) user_3_pubkey=$(echo $passphrase | $DCLD_BIN keys show $user_3 -p) echo "Create Vendor account $vendor_account" -create_new_vendor_account $vendor_account $vid +result="$(echo $passphrase | $DCLD_BIN keys add "$vendor_account")" +_address=$(echo $passphrase | $DCLD_BIN keys show $vendor_account -a) +_pubkey=$(echo $passphrase | $DCLD_BIN keys show $vendor_account -p) +result="$(echo $passphrase | $DCLD_BIN tx auth propose-add-account --address="$_address" --pubkey="$_pubkey" --vid="$vid" --roles="Vendor" --from jack --yes)" echo "Create CertificationCenter account" -create_new_account certification_center_account "CertificationCenter" +certification_center_account="certification_center_account_" +result="$(echo $passphrase | $DCLD_BIN keys add $certification_center_account)" +_address=$(echo $passphrase | $DCLD_BIN keys show $certification_center_account -a) +_pubkey=$(echo $passphrase | $DCLD_BIN keys show $certification_center_account -p) +result="$(echo $passphrase | $DCLD_BIN tx auth propose-add-account --address="$_address" --pubkey="$_pubkey" --roles="CertificationCenter" --from jack --yes)" +result="$(echo $passphrase | $DCLD_BIN tx auth approve-add-account --address="$_address" --from alice --yes)" random_string trustee_account_4 random_string trustee_account_5 @@ -470,14 +472,14 @@ test_divider echo "Disable node" # FIXME: use proper binary (not dcld but $DCLD_BIN) -result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator disable-node --from=$account --yes") +result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator disable-node --from=$account --yes") check_response "$result" "\"code\": 0" test_divider echo "Enable node" # FIXME: use proper binary (not dcld but $DCLD_BIN) -result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") +result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator enable-node --from=$account --yes") check_response "$result" "\"code\": 0" test_divider @@ -502,7 +504,7 @@ test_divider echo "Enable node" # FIXME: use proper binary (not dcld but $DCLD_BIN) -result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") +result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator enable-node --from=$account --yes") check_response "$result" "\"code\": 0" test_divider diff --git a/integration_tests/upgrade/02-test-upgrade-0.12-to-1.2.sh b/integration_tests/upgrade/02-test-upgrade-0.12-to-1.2.sh old mode 100644 new mode 100755 index e40526815..395ce5652 --- a/integration_tests/upgrade/02-test-upgrade-0.12-to-1.2.sh +++ b/integration_tests/upgrade/02-test-upgrade-0.12-to-1.2.sh @@ -276,7 +276,7 @@ test_divider echo "Get proposed node to disable" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) -result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld query validator proposed-disable-node --address="$address"") +result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld query validator proposed-disable-node --address="$address"") check_response "$result" "\"address\": \"$validator_address\"" test_divider @@ -721,15 +721,13 @@ test_divider # VALIDATOR_NODE echo "Disable node" -# FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) -result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator disable-node --from=$account --yes") +result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator disable-node --from=$account --yes") check_response "$result" "\"code\": 0" test_divider echo "Enable node" -# FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) -result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") +result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator enable-node --from=$account --yes") check_response "$result" "\"code\": 0" test_divider @@ -753,8 +751,7 @@ check_response "$result" "\"code\": 0" test_divider echo "Enable node" -# FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) -result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") +result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator enable-node --from=$account --yes") check_response "$result" "\"code\": 0" test_divider @@ -768,8 +765,7 @@ test_divider # Validator echo "Get node" -# FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) -result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld query validator all-nodes") +result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld query validator all-nodes") check_response "$result" "\"owner\": \"$validator_address\"" echo "Upgrade from 0.12.0 to 1.2 passed" diff --git a/integration_tests/upgrade/03-test-upgrade-1.2-to-1.4.sh b/integration_tests/upgrade/03-test-upgrade-1.2-to-1.4.sh old mode 100644 new mode 100755 index 5a3161e3b..6210b5982 --- a/integration_tests/upgrade/03-test-upgrade-1.2-to-1.4.sh +++ b/integration_tests/upgrade/03-test-upgrade-1.2-to-1.4.sh @@ -19,19 +19,19 @@ source integration_tests/cli/common.sh # Upgrade constants plan_name="v1.4" -upgrade_checksum="sha256:d65ffe8eb8b2751a6746d5694c027d40f4ebdd0764549cbf6bb83b358138108f" +upgrade_checksum="sha256:1dc4a44041dcaf11545b7543dfe942f4742f568be68fee275441b092bb60deed" binary_version_old="v1.2.2" -binary_version_new="v1.4.0-dev1" +binary_version_new="v1.4.0-dev3" wget -O dcld_old "https://github.com/zigbee-alliance/distributed-compliance-ledger/releases/download/$binary_version_old/dcld" chmod ugo+x dcld_old -wget -O dcld_new "https://github.com/zigbee-alliance/distributed-compliance-ledger/releases/download/$binary_version_new/dcld" -chmod ugo+x dcld_new +wget -O dcld "https://github.com/zigbee-alliance/distributed-compliance-ledger/releases/download/$binary_version_new/dcld" +chmod ugo+x dcld DCLD_BIN_OLD="./dcld_old" -DCLD_BIN_NEW="./dcld_new" - +DCLD_BIN_NEW="./dcld" +$DCLD_BIN_NEW config broadcast-mode sync ######################################################################################## # Upgrade to version 1.4 @@ -467,7 +467,7 @@ test_divider echo "Get node" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) -result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld query validator all-nodes") +result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld query validator all-nodes") check_response "$result" "\"owner\": \"$validator_address\"" ######################################################################################## @@ -537,12 +537,18 @@ vendor_account_for_1_4="vendor_account_65521" echo "Create Vendor account $vendor_account_for_1_4" result="$(echo $passphrase | $DCLD_BIN_NEW keys add "$vendor_account_for_1_4")" +echo "keys add $result" _address=$(echo $passphrase | $DCLD_BIN_NEW keys show $vendor_account_for_1_4 -a) _pubkey=$(echo $passphrase | $DCLD_BIN_NEW keys show $vendor_account_for_1_4 -p) -result="$(echo $passphrase | $DCLD_BIN_NEW tx auth propose-add-account --address="$_address" --pubkey="$_pubkey" --vid="$vid_for_1_4" --roles="Vendor" --from "$trustee_account_1" --yes)" -result="$(echo $passphrase | $DCLD_BIN_NEW tx auth approve-add-account --address="$_address" --from "$trustee_account_2" --yes)" -result="$(echo $passphrase | $DCLD_BIN_NEW tx auth approve-add-account --address="$_address" --from "$trustee_account_3" --yes)" -result="$(echo $passphrase | $DCLD_BIN_NEW tx auth approve-add-account --address="$_address" --from "$trustee_account_4" --yes)" +result=$(echo $passphrase | $DCLD_BIN_NEW tx auth propose-add-account --address="$_address" --pubkey="$_pubkey" --vid="$vid_for_1_4" --roles="Vendor" --from "$trustee_account_1" --yes) +echo "propose-add-account $result" +result=$(get_txn_result "$result") +result=$(echo $passphrase | $DCLD_BIN_NEW tx auth approve-add-account --address="$_address" --from "$trustee_account_2" --yes) +result=$(get_txn_result "$result") +result=$(echo $passphrase | $DCLD_BIN_NEW tx auth approve-add-account --address="$_address" --from "$trustee_account_3" --yes) +result=$(get_txn_result "$result") +result=$(echo $passphrase | $DCLD_BIN_NEW tx auth approve-add-account --address="$_address" --from "$trustee_account_4" --yes) +result=$(get_txn_result "$result") random_string user_7 echo "$user_7 generates keys" @@ -570,12 +576,15 @@ user_9_pubkey=$(echo $passphrase | $DCLD_BIN_NEW keys show $user_9 -p) # VENDOR_INFO echo "Add vendor $vendor_name_for_1_4" result=$(echo $passphrase | $DCLD_BIN_NEW tx vendorinfo add-vendor --vid=$vid_for_1_4 --vendorName=$vendor_name_for_1_4 --companyLegalName=$company_legal_name_for_1_4 --companyPreferredName=$company_preferred_name_for_1_4 --vendorLandingPageURL=$vendor_landing_page_url_for_1_4 --from=$vendor_account_for_1_4 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Update vendor $vendor_name_for_1_2" result=$(echo $passphrase | $DCLD_BIN_NEW tx vendorinfo update-vendor --vid=$vid_for_1_2 --vendorName=$vendor_name_for_1_2 --companyLegalName=$company_legal_name_for_1_2 --companyPreferredName=$company_preferred_name_for_1_4 --vendorLandingPageURL=$vendor_landing_page_url_for_1_4 --from=$vendor_account_for_1_2 --yes) +result=$(get_txn_result "$result") +echo $result check_response "$result" "\"code\": 0" test_divider @@ -584,52 +593,61 @@ test_divider echo "Add model vid=$vid_for_1_4 pid=$pid_1_for_1_4" result=$(echo $passphrase | $DCLD_BIN_NEW tx model add-model --vid=$vid_for_1_4 --pid=$pid_1_for_1_4 --deviceTypeID=$device_type_id_for_1_4 --productName=$product_name_for_1_4 --productLabel=$product_label_for_1_4 --partNumber=$part_number_for_1_4 --from=$vendor_account_for_1_4 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Add model version vid=$vid_for_1_4 pid=$pid_1_for_1_4" result=$(echo $passphrase | $DCLD_BIN_NEW tx model add-model-version --vid=$vid_for_1_4 --pid=$pid_1_for_1_4 --softwareVersion=$software_version_for_1_4 --softwareVersionString=$software_version_string_for_1_4 --cdVersionNumber=$cd_version_number_for_1_4 --minApplicableSoftwareVersion=$min_applicable_software_version_for_1_4 --maxApplicableSoftwareVersion=$max_applicable_software_version_for_1_4 --from=$vendor_account_for_1_4 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Add model vid=$vid_for_1_4 pid=$pid_2_for_1_4" result=$(echo $passphrase | $DCLD_BIN_NEW tx model add-model --vid=$vid_for_1_4 --pid=$pid_2_for_1_4 --deviceTypeID=$device_type_id_for_1_4 --productName=$product_name_for_1_4 --productLabel=$product_label_for_1_4 --partNumber=$part_number_for_1_4 --from=$vendor_account_for_1_4 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Add model version vid=$vid_for_1_4 pid=$pid_2_for_1_4" result=$(echo $passphrase | $DCLD_BIN_NEW tx model add-model-version --vid=$vid_for_1_4 --pid=$pid_2_for_1_4 --softwareVersion=$software_version_for_1_4 --softwareVersionString=$software_version_string_for_1_4 --cdVersionNumber=$cd_version_number_for_1_4 --minApplicableSoftwareVersion=$min_applicable_software_version_for_1_4 --maxApplicableSoftwareVersion=$max_applicable_software_version_for_1_4 --from=$vendor_account_for_1_4 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Add model vid=$vid_for_1_4 pid=$pid_3_for_1_4" result=$(echo $passphrase | $DCLD_BIN_NEW tx model add-model --vid=$vid_for_1_4 --pid=$pid_3_for_1_4 --deviceTypeID=$device_type_id_for_1_4 --productName=$product_name_for_1_4 --productLabel=$product_label_for_1_4 --partNumber=$part_number_for_1_4 --from=$vendor_account_for_1_4 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" echo "Add model version vid=$vid_for_1_4 pid=$pid_3_for_1_4" result=$(echo $passphrase | $DCLD_BIN_NEW tx model add-model-version --vid=$vid_for_1_4 --pid=$pid_3_for_1_4 --softwareVersion=$software_version_for_1_4 --softwareVersionString=$software_version_string_for_1_4 --cdVersionNumber=$cd_version_number_for_1_4 --minApplicableSoftwareVersion=$min_applicable_software_version_for_1_4 --maxApplicableSoftwareVersion=$max_applicable_software_version_for_1_4 --from=$vendor_account_for_1_4 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Delete model vid=$vid_for_1_4 pid=$pid_3_for_1_4" result=$(echo $passphrase | $DCLD_BIN_NEW tx model delete-model --vid=$vid_for_1_4 --pid=$pid_3_for_1_4 --from=$vendor_account_for_1_4 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Update model vid=$vid pid=$pid_2" result=$(echo $passphrase | $DCLD_BIN_NEW tx model update-model --vid=$vid --pid=$pid_2 --productName=$product_name --productLabel=$product_label_for_1_4 --partNumber=$part_number_for_1_4 --from=$vendor_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Update model version vid=$vid pid=$pid_2" result=$(echo $passphrase | $DCLD_BIN_NEW tx model update-model-version --vid=$vid --pid=$pid_2 --softwareVersion=$software_version --minApplicableSoftwareVersion=$min_applicable_software_version_for_1_4 --maxApplicableSoftwareVersion=$max_applicable_software_version_for_1_4 --from=$vendor_account --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -638,24 +656,28 @@ test_divider echo "Certify model vid=$vid_for_1_4 pid=$pid_1_for_1_4" result=$(echo $passphrase | $DCLD_BIN_NEW tx compliance certify-model --vid=$vid_for_1_4 --pid=$pid_1_for_1_4 --softwareVersion=$software_version_for_1_4 --softwareVersionString=$software_version_string_for_1_4 --certificationType=$certification_type_for_1_4 --certificationDate=$certification_date_for_1_4 --cdCertificateId=$cd_certificate_id_for_1_4 --from=$certification_center_account --cdVersionNumber=$cd_version_number_for_1_4 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Provision model vid=$vid_for_1_4 pid=$pid_2_for_1_4" result=$(echo $passphrase | $DCLD_BIN_NEW tx compliance provision-model --vid=$vid_for_1_4 --pid=$pid_2_for_1_4 --softwareVersion=$software_version_for_1_4 --softwareVersionString=$software_version_string_for_1_4 --certificationType=$certification_type_for_1_4 --provisionalDate=$provisional_date_for_1_4 --cdCertificateId=$cd_certificate_id_for_1_4 --from=$certification_center_account --cdVersionNumber=$cd_version_number_for_1_4 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Certify model vid=$vid_for_1_4 pid=$pid_2_for_1_4" result=$(echo $passphrase | $DCLD_BIN_NEW tx compliance certify-model --vid=$vid_for_1_4 --pid=$pid_2_for_1_4 --softwareVersion=$software_version_for_1_4 --softwareVersionString=$software_version_string_for_1_4 --certificationType=$certification_type_for_1_4 --certificationDate=$certification_date_for_1_4 --cdCertificateId=$cd_certificate_id_for_1_4 --from=$certification_center_account --cdVersionNumber=$cd_version_number_for_1_4 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Revoke model certification vid=$vid_for_1_4 pid=$pid_2_for_1_4" result=$(echo $passphrase | $DCLD_BIN_NEW tx compliance revoke-model --vid=$vid_for_1_4 --pid=$pid_2_for_1_4 --softwareVersion=$software_version_for_1_4 --softwareVersionString=$software_version_string_for_1_4 --certificationType=$certification_type_for_1_4 --revocationDate=$certification_date_for_1_4 --from=$certification_center_account --cdVersionNumber=$cd_version_number_for_1_4 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -664,126 +686,147 @@ test_divider echo "Propose add root_cert_with_vid" result=$(echo $passphrase | $DCLD_BIN_NEW tx pki propose-add-x509-root-cert --certificate="$root_cert_with_vid_path" --vid="$vid_for_1_4" --from=$trustee_account_1 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Approve add root_cert_with_vid" result=$(echo $passphrase | $DCLD_BIN_NEW tx pki approve-add-x509-root-cert --subject="$root_cert_with_vid_subject" --subject-key-id=$root_cert_with_vid_subject_key_id --from=$trustee_account_2 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "reject add root_cert_with_vid" result=$(echo $passphrase | $DCLD_BIN_NEW tx pki reject-add-x509-root-cert --subject="$root_cert_with_vid_subject" --subject-key-id=$root_cert_with_vid_subject_key_id --from=$trustee_account_3 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Approve add root_cert_with_vid" result=$(echo $passphrase | $DCLD_BIN_NEW tx pki approve-add-x509-root-cert --subject="$root_cert_with_vid_subject" --subject-key-id=$root_cert_with_vid_subject_key_id --from=$trustee_account_4 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Approve add root_cert_with_vid" result=$(echo $passphrase | $DCLD_BIN_NEW tx pki approve-add-x509-root-cert --subject="$root_cert_with_vid_subject" --subject-key-id=$root_cert_with_vid_subject_key_id --from=$trustee_account_5 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Propose add paa_cert_no_vid" result=$(echo $passphrase | $DCLD_BIN_NEW tx pki propose-add-x509-root-cert --certificate="$paa_cert_no_vid_path" --vid="$vid_for_1_4" --from=$trustee_account_5 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Approve add paa_cert_no_vid" result=$(echo $passphrase | $DCLD_BIN_NEW tx pki approve-add-x509-root-cert --subject="$paa_cert_no_vid_subject" --subject-key-id=$paa_cert_no_vid_subject_key_id --from=$trustee_account_1 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Approve add paa_cert_no_vid" result=$(echo $passphrase | $DCLD_BIN_NEW tx pki approve-add-x509-root-cert --subject="$paa_cert_no_vid_subject" --subject-key-id=$paa_cert_no_vid_subject_key_id --from=$trustee_account_2 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Approve add paa_cert_no_vid" result=$(echo $passphrase | $DCLD_BIN_NEW tx pki approve-add-x509-root-cert --subject="$paa_cert_no_vid_subject" --subject-key-id=$paa_cert_no_vid_subject_key_id --from=$trustee_account_3 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Propose root_cert" result=$(echo $passphrase | $DCLD_BIN_NEW tx pki propose-add-x509-root-cert --certificate="$root_cert_path" --vid="$vid_for_1_4" --from=$trustee_account_1 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Add intermediate_cert_with_vid" result=$(echo $passphrase | $DCLD_BIN_NEW tx pki add-x509-cert --certificate="$intermediate_cert_with_vid_path" --from=$vendor_account_for_1_4 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Revoke intermediate_cert_with_vid" result=$(echo $passphrase | $DCLD_BIN_NEW tx pki revoke-x509-cert --subject="$intermediate_cert_with_vid_subject" --subject-key-id="$intermediate_cert_with_vid_subject_key_id" --serial-number="$intermediate_cert_with_vid_serial_number" --from=$vendor_account_for_1_4 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Propose revoke paa_cert_no_vid" result=$(echo "$passphrase" | $DCLD_BIN_NEW tx pki propose-revoke-x509-root-cert --subject="$paa_cert_no_vid_subject" --subject-key-id="$paa_cert_no_vid_subject_key_id" --from="$trustee_account_1" --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Approve revoke paa_cert_no_vid" result=$(echo "$passphrase" | $DCLD_BIN_NEW tx pki approve-revoke-x509-root-cert --subject="$paa_cert_no_vid_subject" --subject-key-id="$paa_cert_no_vid_subject_key_id" --from="$trustee_account_2" --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Approve revoke paa_cert_no_vid_path" result=$(echo "$passphrase" | $DCLD_BIN_NEW tx pki approve-revoke-x509-root-cert --subject="$paa_cert_no_vid_subject" --subject-key-id="$paa_cert_no_vid_subject_key_id" --from="$trustee_account_3" --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Approve revoke paa_cert_no_vid_path" result=$(echo "$passphrase" | $DCLD_BIN_NEW tx pki approve-revoke-x509-root-cert --subject="$paa_cert_no_vid_subject" --subject-key-id="$paa_cert_no_vid_subject_key_id" --from="$trustee_account_4" --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Propose revoke root_cert_with_vid" result=$(echo $passphrase | $DCLD_BIN_NEW tx pki propose-revoke-x509-root-cert --subject="$root_cert_with_vid_subject" --subject-key-id="$root_cert_with_vid_subject_key_id" --from $trustee_account_1 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Add NOC Root certificate by vendor with VID = $vid_for_1_4" result=$(echo "$passphrase" | $DCLD_BIN_NEW tx pki add-noc-x509-root-cert --certificate="$noc_root_cert_1_path" --from $vendor_account_for_1_4 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Add NOC ICA certificate by vendor with VID = $vid_for_1_4" result=$(echo "$passphrase" | $DCLD_BIN_NEW tx pki add-noc-x509-ica-cert --certificate="$noc_ica_cert_1_path" --from $vendor_account_for_1_4 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Revoke NOC root certificate by vendor with VID = $vid_for_1_4" result=$(echo "$passphrase" | $DCLD_BIN_NEW tx pki revoke-noc-x509-root-cert --subject="$noc_root_cert_1_subject" --subject-key-id="$noc_root_cert_1_subject_key_id" --from=$vendor_account_for_1_4 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Revoke NOC ICA certificate by vendor with VID = $vid_for_1_4" result=$(echo "$passphrase" | $DCLD_BIN_NEW tx pki revoke-noc-x509-ica-cert --subject="$noc_ica_cert_1_subject" --subject-key-id="$noc_ica_cert_1_subject_key_id" --from=$vendor_account_for_1_4 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -792,6 +835,7 @@ test_divider echo "Add new revocation point for" result=$(echo $passphrase | $DCLD_BIN_NEW tx pki add-revocation-point --vid=$vid_for_1_4 --revocation-type=1 --is-paa="true" --certificate="$root_cert_with_vid_path" --label="$product_label_for_1_4" --data-url="$test_data_url_for_1_4" --issuer-subject-key-id=$issuer_subject_key_id --from=$vendor_account_for_1_4 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -799,18 +843,21 @@ test_divider echo "Update revocation point" result=$(echo $passphrase | $DCLD_BIN_NEW tx pki update-revocation-point --vid=$vid_for_1_4 --certificate="$root_cert_with_vid_path" --label="$product_label_for_1_4" --data-url="$test_data_url_for_1_4/new" --issuer-subject-key-id=$issuer_subject_key_id --from=$vendor_account_for_1_4 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Delete revocation point" result=$(echo $passphrase | $DCLD_BIN_NEW tx pki delete-revocation-point --vid=$vid_for_1_4 --label="$product_label_for_1_4" --issuer-subject-key-id=$issuer_subject_key_id --from=$vendor_account_for_1_4 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Add new revocation point" result=$(echo $passphrase | $DCLD_BIN_NEW tx pki add-revocation-point --vid=$vid_for_1_4 --revocation-type=1 --is-paa="true" --certificate="$root_cert_with_vid_path" --label="$product_label_for_1_4" --data-url="$test_data_url_for_1_4" --issuer-subject-key-id=$issuer_subject_key_id --from=$vendor_account_for_1_4 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -818,96 +865,112 @@ test_divider echo "Add revocation point for CRL SIGNER CERTIFICATE delegated by PAI" result=$(echo $passphrase | $DCLD_BIN_NEW tx pki add-revocation-point --vid=$vid_for_1_4 --is-paa="false" --certificate="$crl_signer_delegated_by_pai_1" --label="$product_label_for_1_4" --data-url="$test_data_url_for_1_4" --issuer-subject-key-id=$delegator_cert_with_vid_subject_key_id --revocation-type=1 --certificate-delegator="$delegator_cert_with_vid_65521_path" --from=$vendor_account_for_1_4 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Update revocation point for CRL SIGNER CERTIFICATE delegated by PAI" result=$(echo $passphrase | $DCLD_BIN_NEW tx pki update-revocation-point --vid=$vid_for_1_4 --certificate="$crl_signer_delegated_by_pai_1" --label="$product_label_for_1_4" --data-url="$test_data_url_for_1_4/new" --issuer-subject-key-id=$delegator_cert_with_vid_subject_key_id --certificate-delegator="$delegator_cert_with_vid_65521_path" --from=$vendor_account_for_1_4 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" # AUTH echo "Propose add account $user_7_address" result=$(echo $passphrase | $DCLD_BIN_NEW tx auth propose-add-account --address="$user_7_address" --pubkey="$user_7_pubkey" --roles="CertificationCenter" --from="$trustee_account_1" --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Approve add account $user_7_address" result=$($DCLD_BIN_NEW tx auth approve-add-account --address="$user_7_address" --from=$trustee_account_2 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Approve add account $user_7_address" result=$($DCLD_BIN_NEW tx auth approve-add-account --address="$user_7_address" --from=$trustee_account_3 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Approve add account $user_7_address" result=$($DCLD_BIN_NEW tx auth approve-add-account --address="$user_7_address" --from=$trustee_account_4 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Propose add account $user_8_address" result=$(echo $passphrase | $DCLD_BIN_NEW tx auth propose-add-account --address="$user_8_address" --pubkey=$user_8_pubkey --roles=CertificationCenter --from=$trustee_account_1 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Approve add account $user_8_address" result=$(echo $passphrase | $DCLD_BIN_NEW tx auth approve-add-account --address="$user_8_address" --from=$trustee_account_2 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Approve add account $user_8_address" result=$($DCLD_BIN_NEW tx auth approve-add-account --address="$user_8_address" --from=$trustee_account_3 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Approve add account $user_8_address" result=$($DCLD_BIN_NEW tx auth approve-add-account --address="$user_8_address" --from=$trustee_account_4 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Propose add account $user_9_address" result=$(echo $passphrase | $DCLD_BIN_NEW tx auth propose-add-account --address="$user_9_address" --pubkey=$user_9_pubkey --roles=CertificationCenter --from=$trustee_account_1 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Propose revoke account $user_7_address" result=$(echo $passphrase | $DCLD_BIN_NEW tx auth propose-revoke-account --address="$user_7_address" --from=$trustee_account_1 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Approve revoke account $user_7_address" result=$(echo $passphrase | $DCLD_BIN_NEW tx auth approve-revoke-account --address="$user_7_address" --from=$trustee_account_2 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Approve revoke account $user_7_address" result=$(echo $passphrase | $DCLD_BIN_NEW tx auth approve-revoke-account --address="$user_7_address" --from=$trustee_account_3 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Approve revoke account $user_7_address" result=$(echo $passphrase | $DCLD_BIN_NEW tx auth approve-revoke-account --address="$user_7_address" --from=$trustee_account_4 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Propose revoke account $user_8_address" result=$(echo $passphrase | $DCLD_BIN_NEW tx auth propose-revoke-account --address="$user_8_address" --from=$trustee_account_1 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -915,45 +978,49 @@ test_divider # VALIDATOR_NODE echo "Disable node" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) -result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator disable-node --from=$account --yes") +result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator disable-node --from=$account --yes") check_response "$result" "\"code\": 0" test_divider echo "Enable node" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) -result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") +result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator enable-node --from=$account --yes") check_response "$result" "\"code\": 0" test_divider echo "Approve disable node" result=$(echo $passphrase | $DCLD_BIN_NEW tx validator approve-disable-node --address=$validator_address --from=$trustee_account_2 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Approve disable node" result=$(echo $passphrase | $DCLD_BIN_NEW tx validator approve-disable-node --address=$validator_address --from=$trustee_account_3 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Approve disable node" result=$(echo $passphrase | $DCLD_BIN_NEW tx validator approve-disable-node --address=$validator_address --from=$trustee_account_4 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Enable node" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) -result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") +result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator enable-node --from=$account --yes") check_response "$result" "\"code\": 0" test_divider echo "Propose disable node" result=$(echo $passphrase | $DCLD_BIN_OLD tx validator propose-disable-node --address=$validator_address --from=$trustee_account_1 --yes) +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -1214,7 +1281,7 @@ test_divider echo "Get node" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) -result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld query validator all-nodes") +result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld query validator all-nodes") check_response "$result" "\"owner\": \"$validator_address\"" test_divider diff --git a/integration_tests/upgrade/add-new-node-after-upgrade.sh b/integration_tests/upgrade/add-new-node-after-upgrade.sh old mode 100644 new mode 100755 diff --git a/integration_tests/upgrade/common.sh b/integration_tests/upgrade/common.sh deleted file mode 100755 index 711c51aef..000000000 --- a/integration_tests/upgrade/common.sh +++ /dev/null @@ -1,372 +0,0 @@ -#!/bin/bash -# Copyright 2020 DSR Corporation -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -euo pipefail - -# common constants -node_p2p_port=26670 -node_client_port=26671 -chain_id="dclchain" -node0conn="tcp://192.167.10.2:26657" -docker_network="distributed-compliance-ledger_localnet" -passphrase="test1234" -LOCALNET_DIR=".localnet" - -# RED=`tput setaf 1` -# GREEN=`tput setaf 2` -# RESET=`tput sgr0` -GREEN="" -RED="" -RESET="" - -random_string() { - local __resultvar="$1" - local length=${2:-6} # Default is 6 - # Newer mac might have shasum instead of sha1sum - if command -v shasum &> /dev/null - then - eval $__resultvar="'$(date +%s.%N | shasum | fold -w ${length} | head -n 1)'" - else - eval $__resultvar="'$(date +%s.%N | sha1sum | fold -w ${length} | head -n 1)'" - fi -} - -DEF_OUTPUT_MODE=json - - -# json: pretty (indented) json -# raw or otherwise: raw -_check_response() { - local _result="$1" - local _expected_string="$2" - local _mode="${3:-$DEF_OUTPUT_MODE}" - - if [[ "$_mode" == "json" ]]; then - if [[ -n "$(echo "$_result" | jq | grep "$_expected_string" 2>/dev/null)" ]]; then - echo true - return - fi - else - if [[ -n "$(echo "$_result" | grep "$_expected_string" 2>/dev/null)" ]]; then - echo true - return - fi - fi - - echo false -} - -check_response() { - local _result="$1" - local _expected_string="$2" - local _mode="${3:-$DEF_OUTPUT_MODE}" - - if [[ "$(_check_response "$_result" "$_expected_string" "$_mode")" != true ]]; then - echo "${GREEN}ERROR:${RESET} command failed. The expected string: '$_expected_string' not found in the result: $_result" - exit 1 - fi -} - -check_response_and_report() { - local _result="$1" - local _expected_string="$2" - local _mode="${3:-$DEF_OUTPUT_MODE}" - - check_response "$_result" "$_expected_string" "$_mode" - echo "${GREEN}SUCCESS: ${RESET} Result contains expected substring: '$_expected_string'" -} - -response_does_not_contain() { - local _result="$1" - local _unexpected_string="$2" - local _mode="${3:-$DEF_OUTPUT_MODE}" - - if [[ "$(_check_response "$_result" "$_unexpected_string" "$_mode")" == true ]]; then - echo "ERROR: command failed. The unexpected string: '$_unexpected_string' found in the result: $_result" - exit 1 - fi - - echo "${GREEN}SUCCESS: ${RESET}Result does not contain unexpected substring: '$_unexpected_string'" -} - -create_new_account(){ - local __resultvar="$1" - random_string name - eval $__resultvar="'$name'" - - local roles="$2" - local _dcld="${3:-dcld}" - echo "Account name: $name" - - echo "Generate key for $name" - (echo $passphrase; echo $passphrase) | $_dcld keys add "$name" - - address=$(echo $passphrase | $_dcld keys show $name -a) - pubkey=$(echo $passphrase | $_dcld keys show $name -p) - - echo "Jack proposes account for \"$name\" with roles: \"$roles\"" - result=$(echo $passphrase | $_dcld tx auth propose-add-account --address="$address" --pubkey="$pubkey" --roles=$roles --from jack --yes) - check_response "$result" "\"code\": 0" - echo "$result" - - echo "Alice approves account for \"$name\" with roles: \"$roles\"" - result=$(echo $passphrase | $_dcld tx auth approve-add-account --address="$address" --from alice --yes) - check_response "$result" "\"code\": 0" - echo "$result" -} - -create_new_vendor_account(){ - - local _name="$1" - local _vid="$2" - local _dcld="${3:-dcld}" - - echo $passphrase | $_dcld keys add "$_name" - _address=$(echo $passphrase | $_dcld keys show $_name -a) - _pubkey=$(echo $passphrase | $_dcld keys show $_name -p) - - result=$(echo $passphrase | $_dcld tx auth propose-add-account --address="$_address" --pubkey="$_pubkey" --roles=Vendor --vid=$_vid --from jack --yes) - check_response "$result" "\"code\": 0" - -} - - -test_divider() { - echo "" - echo "--------------------------" - echo "" -} - -get_height() { - local __resultvar="$1" - eval $__resultvar="'$(dcld status | jq | grep latest_block_height | awk -F'"' '{print $4}')'" -} - -wait_for_height() { - local target_height="${1:-1}" # Default is 1 - local wait_time="${2:-10}" # In seconds, default - 10 - local mode="${3:-normal}" # normal or outage-safe - local node="${4:-""}" - - local _output=${DETAILED_OUTPUT_TARGET:-/dev/stdout} - - local waited=0 - local wait_interval=1 - - if [[ -n "$node" ]]; then - node="--node $node" - fi - - while true; do - sleep "${wait_interval}" - waited=$((waited + wait_interval)) - - if [[ "$mode" == "outage-safe" ]]; then - current_height="$(dcld status $node 2>/dev/null | jq | grep latest_block_height | awk -F'"' '{print $4}')" || true - else - current_height="$(dcld status $node | jq | grep latest_block_height | awk -F'"' '{print $4}')" - - if [[ -z "$current_height" ]]; then - echo "No height found in status" - exit 1 - fi - fi - - if [[ -n "$current_height" ]] && ((current_height >= target_height)); then - echo "Height $target_height is reached in $waited seconds" &>${_output} - break - fi - - if ((waited > wait_time)); then - echo "Height $target_height is not reached in $wait_time seconds" - exit 1 - fi - - echo "Waiting for height: $target_height... Current height: ${current_height:-unavailable}, " \ - "wait time: $waited, time limit: $wait_time." &>${_output} - done -} - -get_txn_result() { - local _broadcast_result=${1} - local _txHash=$(echo "$_broadcast_result" | jq -r '.txhash') - local _command="dcld query tx $_txHash" - local _result=$($_command 2>&1) - - for i in {1..20}; do - if [[ "$(_check_response "$_result" "not found" "raw")" == true ]]; then - sleep 2 - _result=$($_command 2>&1) - else - break - fi - done - - echo "$_result" -} - -execute_with_retry() { - local _command=${1} - local _error=${2:-"EOF"} - local _result=$($_command) - - for i in {1..20}; do - if [[ "$(_check_response "$_result" $_error "raw")" == true ]]; then - #echo "EOF detected, re-trying" - sleep 2 - _result=$($_command) - else - break - fi - done - - echo "$_result" -} - -log() { - echo "${LOG_PREFIX}$1" -} - - # patch configs properly by having all values >= 1 sec, otherwise headers may start having time from the future and light client verification will fail - # if we patch config to have new blocks created in less than 1 sec, the min time in a time header is still 1 sec. - # So, new blocks started to be from the future. -patch_consensus_config() { - local NODE_CONFIGS="$(find "$LOCALNET_DIR" -type f -name "config.toml" -wholename "*node*")" - - for NODE_CONFIG in ${NODE_CONFIGS}; do - sed -i $SED_EXT 's/timeout_propose = "3s"/timeout_propose = "1s"/g' "${NODE_CONFIG}" - #sed -i $SED_EXT 's/timeout_prevote = "1s"/timeout_prevote = "1s"/g' "${NODE_CONFIG}" - #sed -i $SED_EXT 's/timeout_precommit = "1s"/timeout_precommit = "1s"/g' "${NODE_CONFIG}" - sed -i $SED_EXT 's/timeout_commit = "5s"/timeout_commit = "1s"/g' "${NODE_CONFIG}" - done -} - -start_pool() { - log "Setting up pool" - - log "-> Generating network configuration" >${DETAILED_OUTPUT_TARGET} - make localnet_init_latest_stable_release MAINNET_STABLE_VERSION=$binary_version_old &>${DETAILED_OUTPUT_TARGET} - - patch_consensus_config - - log "-> Running pool" >${DETAILED_OUTPUT_TARGET} - make localnet_start &>${DETAILED_OUTPUT_TARGET} - - log "-> Waiting for the second block (needed to request proofs)" >${DETAILED_OUTPUT_TARGET} - execute_with_retry "dcld status" "connection" - wait_for_height 2 20 -} - -cleanup() { - if docker container ls -a | grep -q $container; then - if docker container inspect $container | grep -q '"Status": "running"'; then - echo "Stopping container" - docker container kill $container - fi - - echo "Removing container" - docker container rm -f "$container" - fi -} - -container="validator-demo" -add_validator_node() { - # FIXME: as it's called before upgrade, mainnet stable version of dcld needs to be used (not the latest master) - # FIXME: check adding new node after upgrade as well - random_string account - address="" - LOCALNET_DIR=".localnet" - DCL_USER_HOME="/var/lib/dcl" - DCL_DIR="$DCL_USER_HOME/.dcl" - - node_name="node-demo" - node_p2p_port=26670 - node_client_port=26671 - chain_id="dclchain" - ip="192.167.10.6" - node0conn="tcp://192.167.10.2:26657" - passphrase="test1234" - docker_network="distributed-compliance-ledger_localnet" - - docker run -d --name $container --ip $ip -p "$node_p2p_port-$node_client_port:26656-26657" --network $docker_network -i dcledger - - docker cp "$DCLD_BIN_OLD" "$container":"$DCL_USER_HOME"/dcld - - test_divider - - echo "$account Configure CLI" - docker exec $container /bin/sh -c " - ./dcld config chain-id dclchain && - ./dcld config output json && - ./dcld config node $node0conn && - ./dcld config keyring-backend test && - ./dcld config broadcast-mode block" - - test_divider - - echo "$account Prepare Node configuration files" - docker exec $container ./dcld init $node_name --chain-id $chain_id - docker cp "$LOCALNET_DIR/node0/config/genesis.json" $container:$DCL_DIR/config - peers="$(cat "$LOCALNET_DIR/node0/config/config.toml" | grep -o -E "persistent_peers = \".*\"")" - docker exec $container sed -i "s/persistent_peers = \"\"/$peers/g" $DCL_DIR/config/config.toml - docker exec $container sed -i 's/laddr = "tcp:\/\/127.0.0.1:26657"/laddr = "tcp:\/\/0.0.0.0:26657"/g' $DCL_DIR/config/config.toml - - test_divider - - echo "Generate keys for $account" - cmd="(echo $passphrase; echo $passphrase) | ./dcld keys add $account" - docker exec $container /bin/sh -c "$cmd" - - address="$(docker exec $container /bin/sh -c "echo $passphrase | ./dcld keys show $account -a")" - pubkey="$(docker exec $container /bin/sh -c "echo $passphrase | ./dcld keys show $account -p")" - alice_address="$($DCLD_BIN_OLD keys show alice -a)" - bob_address="$($DCLD_BIN_OLD keys show bob -a)" - jack_address="$($DCLD_BIN_OLD keys show jack -a)" - echo "Create account for $account and Assign NodeAdmin role" - echo $passphrase | $DCLD_BIN_OLD tx auth propose-add-account --address="$address" --pubkey="$pubkey" --roles="NodeAdmin" --from jack --yes - echo $passphrase | $DCLD_BIN_OLD tx auth approve-add-account --address="$address" --from alice --yes - echo $passphrase | $DCLD_BIN_OLD tx auth approve-add-account --address="$address" --from bob --yes - - test_divider - vaddress=$(docker exec $container ./dcld tendermint show-address) - vpubkey=$(docker exec $container ./dcld tendermint show-validator) - - echo "Check pool response for yet unknown node \"$node_name\"" - result=$($DCLD_BIN_OLD query validator node --address "$address") - check_response "$result" "Not Found" - echo "$result" - result=$($DCLD_BIN_OLD query validator last-power --address "$address") - check_response "$result" "Not Found" - echo "$result" - - echo "$account Add Node \"$node_name\" to validator set" - cmd="$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator add-node --pubkey='$vpubkey' --moniker="$node_name" --from="$account" --yes")" - result=$(execute_with_retry "$cmd" "not found") - echo "$result" - - test_divider - - echo "Locating the app to $DCL_DIR/cosmovisor/genesis/bin directory" - docker exec $container mkdir -p "$DCL_DIR"/cosmovisor/genesis/bin - docker exec $container cp -f ./dcld "$DCL_DIR"/cosmovisor/genesis/bin/ - - echo "$account Start Node \"$node_name\"" - docker exec -d $container cosmovisor run start - sleep 10 - - result=$($DCLD_BIN_OLD query validator node --address "$address") - validator_address=$(echo "$result" | jq -r '.owner') - echo "$result" -} \ No newline at end of file diff --git a/integration_tests/upgrade/test-upgrade.sh b/integration_tests/upgrade/test-upgrade.sh old mode 100644 new mode 100755 From 9aa900eab7df649703681802c1288cd7b8531964 Mon Sep 17 00:00:00 2001 From: Abdulbois Date: Thu, 18 Apr 2024 12:11:52 +0500 Subject: [PATCH 23/29] #303 Upgrade Cosmos-SDK to v0.47.8 Upgrade binary version and checksum Signed-off-by: Abdulbois Signed-off-by: Abdulbois --- integration_tests/run-all.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration_tests/run-all.sh b/integration_tests/run-all.sh index b78bb5d29..42bf4fcd9 100755 --- a/integration_tests/run-all.sh +++ b/integration_tests/run-all.sh @@ -111,7 +111,7 @@ make image &>${DETAILED_OUTPUT_TARGET} cleanup_pool -# Upgrade procedure tests +# Upgrade procedure tests. if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "upgrade" ]]; then UPGRADE_SHELL_TEST="./integration_tests/upgrade/test-upgrade.sh" From 3eff4e7d413b27b027716d824d6f98db58c24a04 Mon Sep 17 00:00:00 2001 From: Abdulbois Date: Thu, 18 Apr 2024 14:15:21 +0500 Subject: [PATCH 24/29] #303 Upgrade Cosmos-SDK to v0.47.8 - Setup Validator node with latest binary Signed-off-by: Abdulbois Signed-off-by: Abdulbois --- .../upgrade/03-test-upgrade-1.2-to-1.4.sh | 63 ++++++++++++------- 1 file changed, 40 insertions(+), 23 deletions(-) diff --git a/integration_tests/upgrade/03-test-upgrade-1.2-to-1.4.sh b/integration_tests/upgrade/03-test-upgrade-1.2-to-1.4.sh index 70fa90b8c..83d6c03bc 100755 --- a/integration_tests/upgrade/03-test-upgrade-1.2-to-1.4.sh +++ b/integration_tests/upgrade/03-test-upgrade-1.2-to-1.4.sh @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -set -euo pipefail +#set -euo pipefail source integration_tests/cli/common.sh # Upgrade constants @@ -26,11 +26,11 @@ binary_version_new="v1.4.0-dev3" wget -O dcld_old "https://github.com/zigbee-alliance/distributed-compliance-ledger/releases/download/$binary_version_old/dcld" chmod ugo+x dcld_old -wget -O dcld "https://github.com/zigbee-alliance/distributed-compliance-ledger/releases/download/$binary_version_new/dcld" -chmod ugo+x dcld +wget -O dcld_new "https://github.com/zigbee-alliance/distributed-compliance-ledger/releases/download/$binary_version_new/dcld" +chmod ugo+x dcld_new DCLD_BIN_OLD="./dcld_old" -DCLD_BIN_NEW="./dcld" +DCLD_BIN_NEW="./dcld_new" $DCLD_BIN_NEW config broadcast-mode sync ######################################################################################## @@ -976,21 +976,38 @@ check_response "$result" "\"code\": 0" test_divider # VALIDATOR_NODE -#echo "Disable node" -## FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) -#result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator disable-node --from=$account --yes") -#docker logs node0 -n 50 -#check_response "$result" "\"code\": 0" -# -#test_divider +docker cp $DCLD_BIN_NEW "$container":"$DCL_USER_HOME"/dcld + +echo "Disable node" +result=$(docker exec node0 /bin/sh -c "echo test1234 | dcld status") +echo "Node0 status $result" + +result=$(docker exec node0 /bin/sh -c "echo test1234 | dcld version") +echo "Node0 version $result" + +# FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) +result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld status") +echo "Validator status $result" + +result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld status") +echo "Validator status 2 $result" + +result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld version") +echo "Validator version $result" +result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator disable-node --from=$account --yes") +docker logs node0 -n 50 +check_response "$result" "\"code\": 0" + +test_divider + + +echo "Enable node" +# FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) +result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator enable-node --from=$account --yes") +check_response "$result" "\"code\": 0" + +test_divider -#echo "Enable node" -## FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) -#result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator enable-node --from=$account --yes") -#check_response "$result" "\"code\": 0" -# -#test_divider -# echo "Approve disable node" result=$(echo $passphrase | $DCLD_BIN_NEW tx validator approve-disable-node --address=$validator_address --from=$trustee_account_2 --yes) result=$(get_txn_result "$result") @@ -1012,12 +1029,12 @@ check_response "$result" "\"code\": 0" test_divider -#echo "Enable node" +echo "Enable node" ## FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) -#result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator enable-node --from=$account --yes") -#check_response "$result" "\"code\": 0" -# -#test_divider +result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator enable-node --from=$account --yes") +check_response "$result" "\"code\": 0" + +test_divider echo "Propose disable node" result=$(echo $passphrase | $DCLD_BIN_OLD tx validator propose-disable-node --address=$validator_address --from=$trustee_account_1 --yes) From 576f325a6cf0c5580eb8990249debf19987642a8 Mon Sep 17 00:00:00 2001 From: Abdulbois Date: Thu, 18 Apr 2024 17:34:16 +0500 Subject: [PATCH 25/29] #303 Upgrade Cosmos-SDK to v0.47.8 - Fix Validator node cli tests Signed-off-by: Abdulbois Signed-off-by: Abdulbois --- integration_tests/run-all.sh | 45 ++++++++++--------- .../01-test-upgrade-initialize-0.12.sh | 8 ++-- .../upgrade/02-test-upgrade-0.12-to-1.2.sh | 10 ++--- .../upgrade/03-test-upgrade-1.2-to-1.4.sh | 36 +++++---------- .../upgrade/add-new-node-after-upgrade.sh | 2 +- 5 files changed, 43 insertions(+), 58 deletions(-) diff --git a/integration_tests/run-all.sh b/integration_tests/run-all.sh index 7a0db447e..a7f8343aa 100755 --- a/integration_tests/run-all.sh +++ b/integration_tests/run-all.sh @@ -111,28 +111,6 @@ make image &>${DETAILED_OUTPUT_TARGET} cleanup_pool -# Upgrade procedure tests. -if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "upgrade" ]]; then - UPGRADE_SHELL_TEST="./integration_tests/upgrade/test-upgrade.sh" - - init_pool yes localnet_init_latest_stable_release "v0.12.0" - - log "*****************************************************************************************" - log "Running $UPGRADE_SHELL_TEST" - log "*****************************************************************************************" - if bash "$UPGRADE_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then - rm dcld_mainnet_stable - log "$UPGRADE_SHELL_TEST finished successfully" - source integration_tests/upgrade/add-new-node-after-upgrade.sh - check_adding_new_node - else - log "$UPGRADE_SHELL_TEST failed" - exit 1 - fi - - cleanup_pool -fi - # Cli shell tests if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "cli" ]]; then CLI_SHELL_TESTS=$(find integration_tests/cli -type f -name '*.sh' -not -name "common.sh") @@ -213,3 +191,26 @@ if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "deploy" ]]; then exit 1 fi fi + +# Upgrade procedure tests +if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "upgrade" ]]; then + UPGRADE_SHELL_TEST="./integration_tests/upgrade/test-upgrade.sh" + + init_pool yes localnet_init_latest_stable_release "v0.12.0" + + log "*****************************************************************************************" + log "Running $UPGRADE_SHELL_TEST" + log "*****************************************************************************************" + + if bash "$UPGRADE_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then + rm dcld_mainnet_stable + log "$UPGRADE_SHELL_TEST finished successfully" + source integration_tests/upgrade/add-new-node-after-upgrade.sh + check_adding_new_node + else + log "$UPGRADE_SHELL_TEST failed" + exit 1 + fi + + cleanup_pool +fi \ No newline at end of file diff --git a/integration_tests/upgrade/01-test-upgrade-initialize-0.12.sh b/integration_tests/upgrade/01-test-upgrade-initialize-0.12.sh index 6e832e1ee..91431fd2c 100755 --- a/integration_tests/upgrade/01-test-upgrade-initialize-0.12.sh +++ b/integration_tests/upgrade/01-test-upgrade-initialize-0.12.sh @@ -110,7 +110,7 @@ EOF docker exec $container cp -f ./dcld "$DCL_DIR"/cosmovisor/genesis/bin/ echo "$account Start Node \"$node_name\"" - docker exec -d $container cosmovisor start + docker exec -d $container cosmovisor run start sleep 10 result=$($DCLD_BIN query validator node --address "$address") @@ -472,14 +472,14 @@ test_divider echo "Disable node" # FIXME: use proper binary (not dcld but $DCLD_BIN) -result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator disable-node --from=$account --yes") +result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator disable-node --from=$account --yes") check_response "$result" "\"code\": 0" test_divider echo "Enable node" # FIXME: use proper binary (not dcld but $DCLD_BIN) -result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator enable-node --from=$account --yes") +result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") check_response "$result" "\"code\": 0" test_divider @@ -504,7 +504,7 @@ test_divider echo "Enable node" # FIXME: use proper binary (not dcld but $DCLD_BIN) -result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator enable-node --from=$account --yes") +result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") check_response "$result" "\"code\": 0" test_divider diff --git a/integration_tests/upgrade/02-test-upgrade-0.12-to-1.2.sh b/integration_tests/upgrade/02-test-upgrade-0.12-to-1.2.sh index 395ce5652..c466c05e9 100755 --- a/integration_tests/upgrade/02-test-upgrade-0.12-to-1.2.sh +++ b/integration_tests/upgrade/02-test-upgrade-0.12-to-1.2.sh @@ -276,7 +276,7 @@ test_divider echo "Get proposed node to disable" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) -result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld query validator proposed-disable-node --address="$address"") +result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld query validator proposed-disable-node --address="$address"") check_response "$result" "\"address\": \"$validator_address\"" test_divider @@ -721,13 +721,13 @@ test_divider # VALIDATOR_NODE echo "Disable node" -result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator disable-node --from=$account --yes") +result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator disable-node --from=$account --yes") check_response "$result" "\"code\": 0" test_divider echo "Enable node" -result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator enable-node --from=$account --yes") +result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") check_response "$result" "\"code\": 0" test_divider @@ -751,7 +751,7 @@ check_response "$result" "\"code\": 0" test_divider echo "Enable node" -result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator enable-node --from=$account --yes") +result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") check_response "$result" "\"code\": 0" test_divider @@ -765,7 +765,7 @@ test_divider # Validator echo "Get node" -result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld query validator all-nodes") +result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld query validator all-nodes") check_response "$result" "\"owner\": \"$validator_address\"" echo "Upgrade from 0.12.0 to 1.2 passed" diff --git a/integration_tests/upgrade/03-test-upgrade-1.2-to-1.4.sh b/integration_tests/upgrade/03-test-upgrade-1.2-to-1.4.sh index 83d6c03bc..b878e03a7 100755 --- a/integration_tests/upgrade/03-test-upgrade-1.2-to-1.4.sh +++ b/integration_tests/upgrade/03-test-upgrade-1.2-to-1.4.sh @@ -467,7 +467,7 @@ test_divider echo "Get node" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) -result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld query validator all-nodes") +result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld query validator all-nodes") check_response "$result" "\"owner\": \"$validator_address\"" ######################################################################################## @@ -976,34 +976,18 @@ check_response "$result" "\"code\": 0" test_divider # VALIDATOR_NODE -docker cp $DCLD_BIN_NEW "$container":"$DCL_USER_HOME"/dcld +result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld config broadcast-mode sync") echo "Disable node" -result=$(docker exec node0 /bin/sh -c "echo test1234 | dcld status") -echo "Node0 status $result" - -result=$(docker exec node0 /bin/sh -c "echo test1234 | dcld version") -echo "Node0 version $result" - -# FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) -result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld status") -echo "Validator status $result" - -result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld status") -echo "Validator status 2 $result" - -result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld version") -echo "Validator version $result" -result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator disable-node --from=$account --yes") -docker logs node0 -n 50 +result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator disable-node --from=$account --yes") +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider - echo "Enable node" -# FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) -result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator enable-node --from=$account --yes") +result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider @@ -1030,14 +1014,14 @@ check_response "$result" "\"code\": 0" test_divider echo "Enable node" -## FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) -result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld tx validator enable-node --from=$account --yes") +result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld tx validator enable-node --from=$account --yes") +result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" test_divider echo "Propose disable node" -result=$(echo $passphrase | $DCLD_BIN_OLD tx validator propose-disable-node --address=$validator_address --from=$trustee_account_1 --yes) +result=$(echo $passphrase | $DCLD_BIN_NEW tx validator propose-disable-node --address=$validator_address --from=$trustee_account_1 --yes) result=$(get_txn_result "$result") check_response "$result" "\"code\": 0" @@ -1299,7 +1283,7 @@ test_divider echo "Get node" # FIXME: use proper binary (not dcld but $DCLD_BIN_OLD) -result=$(docker exec "$container" /bin/sh -c "echo test1234 | ./dcld query validator all-nodes") +result=$(docker exec "$container" /bin/sh -c "echo test1234 | dcld query validator all-nodes") check_response "$result" "\"owner\": \"$validator_address\"" test_divider diff --git a/integration_tests/upgrade/add-new-node-after-upgrade.sh b/integration_tests/upgrade/add-new-node-after-upgrade.sh index 4ee319ad0..c675ba4d9 100755 --- a/integration_tests/upgrade/add-new-node-after-upgrade.sh +++ b/integration_tests/upgrade/add-new-node-after-upgrade.sh @@ -50,7 +50,7 @@ trap cleanup EXIT check_adding_new_node() { local stable_binary_version="${1:-0.12.1}" - local latest_binary_version="${2:-1.4.0-dev1}" + local latest_binary_version="${2:-1.4.0-dev3}" echo "1. run $node_name container" docker run -d --name $node_name --ip $ip -p "$node_p2p_port-$node_client_port:26656-26657" --network $docker_network -i dcledger From d6068639a8bab8b3d7a4e42df8f5268ce54594b3 Mon Sep 17 00:00:00 2001 From: Abdulbois Date: Fri, 19 Apr 2024 14:21:53 +0500 Subject: [PATCH 26/29] #303 Upgrade Cosmos-SDK to v0.47.8 - Update docs and helper scripts - Revert Ansible CI changes Signed-off-by: Abdulbois Signed-off-by: Abdulbois --- README-DEV.md | 34 +- README.md | 26 +- app/encoding.go | 4 +- .../ansible/roles/bootstrap/defaults/main.yml | 2 + .../molecule/default/tests/test_default.py | 2 +- .../ansible/roles/configure/defaults/main.yml | 2 +- deployment/cosmovisor.service | 2 +- docs/{tendermint-rpc.md => cometbtf-rpc.md} | 0 docs/how-to.md | 5 +- docs/running-light-client-proxy.md | 8 +- docs/running-node.md | 2 +- docs/static/cosmos-base-openapi.json | 4954 ++++++++++-- docs/static/cosmos-tx-openapi.json | 6866 ++++++++++++++--- docs/static/openapi.yml | 2831 ++++--- docs/transactions.md | 5 +- .../upgrade/03-test-upgrade-1.2-to-1.4.sh | 2 +- scripts/cosmos-swagger-gen.sh | 21 +- .../swagger/config/cosmos-base-config.json | 7 +- scripts/swagger/config/cosmos-tx-config.json | 2 +- scripts/swagger/config/dcl-config.json | 2 +- scripts/swagger/protoc-swagger-gen.sh | 4 +- 21 files changed, 11584 insertions(+), 3197 deletions(-) rename docs/{tendermint-rpc.md => cometbtf-rpc.md} (100%) diff --git a/README-DEV.md b/README-DEV.md index 0b4249cee..d2c008e84 100644 --- a/README-DEV.md +++ b/README-DEV.md @@ -153,10 +153,12 @@ Please take into account the following when sending a PR: ## How To Add a new Module or Transaction -- Use [starport](https://github.com/tendermint/starport) command to scaffold the module. - Consider using a docker container built from the provided [Dockerfile](scripts/Dockerfile) to have a predictable version of starport. See [README.md](scripts/README.md). +- Use [ignite v0.27.1](https://github.com/ignite/cli) command to scaffold the module. + Consider using a docker container built from the provided [Dockerfile](scripts/Dockerfile) to have a predictable version of ignite. See [README.md](scripts/README.md). - Have a look at the scripts and commands used for generation of existing modules, messages and CRUD operations and do it in a similar way (for example [PKI module commands](scripts/starport/upgrade-0.44/07.pki_types.sh)). + Note: On previous scaffolding of modules `starport` cli used instead of `ignite`. + While generating new module, command structure will the same except it must start with `ignite`. - If a new transaction with a new data in state (key-value) and new queries needs to be created, then both message and CRUD commands need to be executed. - If just a message to update existing state values need to be created, then a message command is enough. - Adjust the generated code @@ -166,19 +168,18 @@ Please take into account the following when sending a PR: - add `(cosmos_proto.scalar) = "cosmos.AddressString"` annotation for all fields with address/account type (such as `signer` or `owner`). - fix types if needed in `proto//.proto` files - Note1: `unit64` will be returned as string if the output is a JSON format. So, it's better to use `uint64` only when it's really `uint64`. - - Note2: for `uint16` type: use `int32` during starport scaffolding, and add custom validation (annotations above) to check the lower and upper bounds. - - Note3: for `uint32` type: use `int32` during starport scaffolding, then replace it by `uint32` in .proto files, re-generate the code and fix compilation errors. - - build proto (for example `starport chain build`). Fix compilation errors if any. + - Note2: for `uint16` type: use `int32` during ignite scaffolding, and add custom validation (annotations above) to check the lower and upper bounds. + - Note3: for `uint32` type: use `int32` during ignite scaffolding, then replace it by `uint32` in .proto files, re-generate the code and fix compilation errors. + - build proto (for example `ignite chain build`). Fix compilation errors if any. - generate openapi docs from proto using (`scripts/dcl-swagger-gen.sh`). It's recommended to run from container built from [Dockerfile](scripts/Dockerfile) - **Note1**: colons (`:`) are part of subject-id in PKI module, but colons are not allowed in gRPC REST URLs by default. `allow_colon_final_segments=true` should be used as a workaround. So, make sure that `runtime.AssumeColonVerbOpt(false)` in `/x/pki/types/query.pb.gw.go`. It's usually sufficient to revert the generated changes in `/x/pki/types/query.pb.gw.go`. - - **Note2**: move `compliance_info.pb.go` and `compliance_history_item.pb.go` to `types/compliance` and adjust the import in other places accordingly. It may be easier just to revert changes in all `*.pb.go` files not affected by your changes in `.proto` - - **Note3**: `starport chain build` needs to be called only if you made manual changes in `.proto` files. - There is no need to call `starport chain build` again once all errors and adjustments above are done. It's sufficient just to build the project via usual ways (such as `make build`) + - **Note3**: `ignite chain build` needs to be called only if you made manual changes in `.proto` files. + There is no need to call `ignite chain build` again once all errors and adjustments above are done. It's sufficient just to build the project via usual ways (such as `make build`) - Add static validation for new messages: - Call `validator.Validate(msg)` in `ValidateBasic` methods for all generated messages - Add additional checks to `ValidateBasic` that do not depend on the state (key-value) and order of transactions @@ -195,10 +196,10 @@ Please take into account the following when sending a PR: ## How To Make Changes in Data Model for Existing Modules -- Use [starport](https://github.com/tendermint/starport) command to scaffold the module. - Consider using the provided [Dockerfile](scripts/Dockerfile) to have a predictable version of starport. See [README.md](scripts/README.md). +- Use [ignite](https://github.com/ignite/cli) command to scaffold the module. + Consider using the provided [Dockerfile](scripts/Dockerfile) to have a predictable version of ignite. See [README.md](scripts/README.md). - **Never change `.pb` files manually**. Do the changes in `.proto` files. -- Every time `.proto` files change, re-generate the code (for example `starport chain build`) and fix compilation errors if any. +- Every time `.proto` files change, re-generate the code (for example `ignite chain build`) and fix compilation errors if any. - Update openapi docs from proto using (`scripts/dcl-swagger-gen.sh`). It's recommended to run from container built from [Dockerfile](scripts/Dockerfile). - **Note1**: colons (`:`) are part of subject-id in PKI module, but colons are not allowed in gRPC REST URLs by default. `allow_colon_final_segments=true` should be used as a workaround. @@ -206,8 +207,8 @@ Please take into account the following when sending a PR: It's usually sufficient to revert the generated changes in `/x/pki/types/query.pb.gw.go`. - **Note2**: move `compliance_info.pb.go` and `compliance_history_item.pb.go` to `types/compliance` and adjust the import in other places accordingly. It may be easier just to revert changes in all `*.pb.go` files not affected by your changes in `.proto` -- **Note3**: `starport chain build` needs to be called only if you made manual changes in `.proto` files. - There is no need to call `starport chain build` again once all errors and adjustments above are done. It's sufficient just to build the project via usual ways (such as `make build`) +- **Note3**: `ignite chain build` needs to be called only if you made manual changes in `.proto` files. + There is no need to call `ignite chain build` again once all errors and adjustments above are done. It's sufficient just to build the project via usual ways (such as `make build`) ## Update Cosmos-sdk Version @@ -221,6 +222,13 @@ Re-generate cosmos base openapi (service API from cosmos exposed in DCL) using [ ./scripts/cosmos-swagger-gen.sh tx ``` +## Update CometBFT Version +Please note, that we depend on the CometBFT fork https://github.com/zigbee-alliance/cometbft/releases/tag/v0.37.5 +due to hotfixes for https://github.com/tendermint/tendermint/issues/7640 and https://github.com/tendermint/tendermint/issues/7641 +required for Light Client Proxy. + +Also don't forget to update the link to the CometBFT RPC in [Swagger UI](docs/index.html). + ## Other For more details, please have a look at [Cosmos SDK tutorial](https://tutorials.cosmos.network/). diff --git a/README.md b/README.md index 7ef05bc43..768fc0711 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ DC Ledger is a public permissioned Ledger which can be used for two main use cas More information about use cases can be found in [DC Ledger Overview](./docs/design/DCL-Overview.pdf) and [Use Case Diagrams](docs/use_cases). -DC Ledger is based on [Tendermint](https://tendermint.com/) and [Cosmos SDK](https://cosmos.network/sdk). +DC Ledger is based on [CometBFT](https://cometbft.com/) and [Cosmos SDK](https://cosmos.network/sdk). DC Ledger is a public permissioned ledger in the following sense: @@ -40,7 +40,7 @@ In order to send write transactions to the ledger you need: ### Pool of Nodes -- A network of Tendermint-based validator nodes (Validators and Observers) maintaining the ledger. +- A network of CometBFT-based validator nodes (Validators and Observers) maintaining the ledger. - Every validator node (`dcld` binary) runs DC Ledger application code (based on Cosmos SDK) implementing the use cases. - See the proposed deployment in [deployment](docs/deployment.png) and [deployment-detailed](docs/deployment-detailed.png). - See recommended design for DCL MainNet deployment on AWS in [aws deployment](./docs/deployment-design-aws.md) @@ -54,7 +54,7 @@ In order to send write transactions to the ledger you need: - **Private Sentry Node:** a full node to connect other Validator or Sentry nodes only; should not be accessed by clients. - **Public Sentry Node:** a full node to connect other external full nodes (possibly observer nodes). - **Observer Node (ON):** a full node that doesn't participate in consensus. Should be used to receive read/write requests from the clients. -- **Light Client Proxy Node**: doesn't contain a full replication of data. Can be used as a proxy to untrusted Full nodes for single-value query requests sent via CLI or Tendermint RPC. +- **Light Client Proxy Node**: doesn't contain a full replication of data. Can be used as a proxy to untrusted Full nodes for single-value query requests sent via CLI or CometBFT RPC. It will verify all state proofs automatically. - **Seed Node**: provides a list of peers which a node can connect to. @@ -64,7 +64,7 @@ See - [Deployment-detailed](docs/deployment-detailed.png). - [Deployment Recommendations](https://github.com/zigbee-alliance/distributed-compliance-ledger/wiki/DCL-MainNet-Deployment) - [Deployment Recommendations for AWS](./docs/deployment-design-aws.md) -- +- - [Run Light Client Proxy](docs/running-light-client-proxy.md) ### Clients @@ -79,7 +79,7 @@ A Light Client Proxy can be connected to multiple nodes and will verify the stat - [CLI](#cli) - [REST](#rest) - [gRPC](#grpc) -- [Tendermint RPC and Light Client](#tendermint-rpc-and-light-client) +- [CometBFT RPC and Light Client](#cometbft-rpc-and-light-client) **Please note, that multi-value queries don't have state proofs support and should be sent to trusted nodes only.** @@ -126,7 +126,7 @@ See [Run local pool](README-DEV.md#run-local-pool) section in [README-DEV.md](RE Should be used if there are no trusted Observer or Validator nodes to connect. -It can be a proxy for CLI or direct requests from code done via Tendermint RPC. +It can be a proxy for CLI or direct requests from code done via CometBFT RPC. Please note, that CLI can use a Light Client proxy only for single-value query requests. A Full Node (Validator or Observer) should be used for multi-value query requests and write requests. @@ -139,7 +139,7 @@ See [Run Light Client Proxy](docs/running-light-client-proxy.md) for details how - **There are no state proofs in REST, so REST queries should be sent to trusted Validator or Observer nodes only.** - OpenAPI specification: . -- Any running node exposes a REST API at port `1317`. See . +- Any running node exposes a REST API at port `1317`. See . - See [transactions](docs/transactions.md) for a full list of endpoints. - REST HTTP(S) queries can be directly used for read requests. See [How to read from the Ledger](docs/transactions.md#how-to-read-from-the-ledger). @@ -150,15 +150,15 @@ See [Run Light Client Proxy](docs/running-light-client-proxy.md) for details how ### gRPC - **There are no state proofs in gRPC, so gRPC queries should be sent to trusted Validator or Observer nodes only.** -- Any running node exposes a REST API at port `9090`. See . +- Any running node exposes a REST API at port `9090`. See . - A client code can be generated for all popular languages from the proto files [proto](proto), see . - The generated client code can be used for read and write requests, i.e. generation and signing of transactions See [How to read from the Ledger](docs/transactions.md#how-to-read-from-the-ledger) and [How to write to the Ledger](docs/transactions.md#how-to-write-to-the-ledger) for details. -### Tendermint RPC and Light Client +### CometBFT RPC and Light Client -- Tendermint RPC is exposed by every running node at port `26657`. See . -- Tendermint RPC supports state proofs. Tendermint's Light Client library can be used to verify the state proofs. +- CometBFT RPC is exposed by every running node at port `26657`. See . +- CometBFT RPC supports state proofs. CometBFT's Light Client library can be used to verify the state proofs. So, if Light Client API is used, then it's possible to communicate with non-trusted nodes. - Please note, that multi-value queries don't have state proofs support and should be sent to trusted nodes only. - There are currently no DC Ledger specific API libraries for various platforms and languages, @@ -166,7 +166,7 @@ but they may be provided in the future. - The following libraries can be used as light clients: - [Golang Light Client implementation](https://pkg.go.dev/github.com/cometbft/cometbft/light) - [Rust Light Client implementation](https://docs.rs/cometbft-light-client/0.1.0-alpha.2/cometbft_light_client/) -- Refer to [this doc](./docs/tendermint-rpc.md) to see how to [subscribe](./docs/tendermint-rpc.md#subscribe) to a Tendermint WebSocket based events and/or [query](./docs/tendermint-rpc.md#querying-application-components) an application components. +- Refer to [this doc](./docs/cometbtf-rpc.md) to see how to [subscribe](./docs/cometbtf-rpc.md#subscribe) to a CometBFT WebSocket based events and/or [query](./docs/cometbtf-rpc.md#querying-application-components) an application components. ### Instructions @@ -227,5 +227,5 @@ the following instructions from [how-to.md](docs/how-to.md) can be used for ever - [Running Node](docs/running-node.md) - [Pool Upgrade](docs/pool-upgrade.md) - [Pool Upgrade How To Guide](docs/pool-upgrade-how-to.md) -- [Tendermint](https://tendermint.com/) +- [CometBFT](https://cometbft.com/) - [Cosmos SDK](https://cosmos.network/sdk) diff --git a/app/encoding.go b/app/encoding.go index 491837f23..944e1927b 100644 --- a/app/encoding.go +++ b/app/encoding.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/auth/tx" ) -// makeEncodingConfig creates an EncodingConfig for an amino based test configuration. +// makeEncodingConfig creates an EncodingConfig for an amino based configuration. func makeEncodingConfig() params.EncodingConfig { amino := codec.NewLegacyAmino() interfaceRegistry := types.NewInterfaceRegistry() @@ -24,7 +24,7 @@ func makeEncodingConfig() params.EncodingConfig { } } -// MakeEncodingConfig creates an EncodingConfig for testing +// MakeEncodingConfig creates an EncodingConfig func MakeEncodingConfig() params.EncodingConfig { encodingConfig := makeEncodingConfig() std.RegisterLegacyAminoCodec(encodingConfig.Amino) diff --git a/deployment/ansible/roles/bootstrap/defaults/main.yml b/deployment/ansible/roles/bootstrap/defaults/main.yml index 772fd3eb1..f015bffe4 100644 --- a/deployment/ansible/roles/bootstrap/defaults/main.yml +++ b/deployment/ansible/roles/bootstrap/defaults/main.yml @@ -12,3 +12,5 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. + + diff --git a/deployment/ansible/roles/bootstrap/molecule/default/tests/test_default.py b/deployment/ansible/roles/bootstrap/molecule/default/tests/test_default.py index 12afa79fa..3c55d96db 100644 --- a/deployment/ansible/roles/bootstrap/molecule/default/tests/test_default.py +++ b/deployment/ansible/roles/bootstrap/molecule/default/tests/test_default.py @@ -33,6 +33,6 @@ def test_service(host): "User=cosmovisor", "Group=dcl", 'Environment="DAEMON_HOME=/var/lib/dcl/.dcl" "DAEMON_NAME=dcld"', - "ExecStart=/usr/bin/cosmovisor run start", + "ExecStart=/usr/bin/cosmovisor start", ]: assert prop in svc.content_string diff --git a/deployment/ansible/roles/configure/defaults/main.yml b/deployment/ansible/roles/configure/defaults/main.yml index 9e6025d15..56d2d7cde 100644 --- a/deployment/ansible/roles/configure/defaults/main.yml +++ b/deployment/ansible/roles/configure/defaults/main.yml @@ -28,6 +28,6 @@ client: # : to Tendermint RPC interface for this chain node: "tcp://localhost:26657" # Transaction broadcasting mode (sync|async|block) - broadcast-mode: sync + broadcast-mode: block config: {} app: {} diff --git a/deployment/cosmovisor.service b/deployment/cosmovisor.service index 02e7c5acc..bd21fd8f0 100644 --- a/deployment/cosmovisor.service +++ b/deployment/cosmovisor.service @@ -11,7 +11,7 @@ User=ubuntu Environment="DAEMON_HOME=/var/lib/ubuntu/.dcl" Environment="DAEMON_NAME=dcld" Environment="DAEMON_ALLOW_DOWNLOAD_BINARIES=true" -ExecStart=/usr/bin/cosmovisor run start +ExecStart=/usr/bin/cosmovisor start [Install] WantedBy=multi-user.target diff --git a/docs/tendermint-rpc.md b/docs/cometbtf-rpc.md similarity index 100% rename from docs/tendermint-rpc.md rename to docs/cometbtf-rpc.md diff --git a/docs/how-to.md b/docs/how-to.md index dc32f0e85..dafe42d85 100644 --- a/docs/how-to.md +++ b/docs/how-to.md @@ -47,7 +47,8 @@ Here is the list of supported settings: - `chain-id ` - unique chain ID of the network you are going to connect to - `output ` - Output format (text/json) - `node ` - Address `:` of the node to connect. -- `broadcast-mode ` - Write transaction broadcast mode to use (one of: `sync`, `async`, `block`. `block` is default). +- `broadcast-mode ` - Write transaction broadcast mode to use (one of: `sync`, `async`. `sync` is default). + - Note: In `sync` broadcast mode, to get the actual result of transaction(`dcld tx ..`) one more query call with `txHash` must be executed(`dcld query tx=txHash`) In order to connect the CLI to a DC Ledger Network (Chain), the following parameters should be used: @@ -336,5 +337,5 @@ Node will be jailed and removed from the active validator set in the following c Note that jailed node will not be removed from the main index to track validator nodes. So it is not possible to create a new node with the same `validator address`. -In order to unjail the node and return it to the active tendermint validator set the sufficient number of Trustee's approvals is needed +In order to unjail the node and return it to the active cometbft validator set the sufficient number of Trustee's approvals is needed (see authorization rules). diff --git a/docs/running-light-client-proxy.md b/docs/running-light-client-proxy.md index c44e803c0..f5d17b01c 100644 --- a/docs/running-light-client-proxy.md +++ b/docs/running-light-client-proxy.md @@ -2,14 +2,14 @@ Light Client Proxy can be used if there are no trusted Full Nodes (Validator or Observers) a client can connect to. -It can be a proxy for CLI or direct requests from code done via Tendermint RPC. +It can be a proxy for CLI or direct requests from code done via CometBFT RPC. Please note, that CLI can use a Light Client proxy only for single-value query requests. A Full Node (Validator or Observer) should be used for multi-value query requests and write requests. See the following links for details about a Light Client: -- +- ## Running Light Client Proxy - Short @@ -21,7 +21,7 @@ dcld config node tcp://:8888 ## Running Light Client Proxy - Detailed -See for details +See for details ### 1. Choose Semi-trusted or Non-trusted Nodes for Connection @@ -36,7 +36,7 @@ dcld light -p tcp://:26657 -w tcp://:266 Light Client Proxy is started at port `8888` by default. It can be changed with `--laddr` argument. -Light Client Proxy will write some information (about headers) to disk. Default location is `~/.tendermint-light`. +Light Client Proxy will write some information (about headers) to disk. Default location is `~/.cometbft-light`. It can be changed with `--dir` argument. Light Client needs initial height and hash it trusts. If no `--height` and `--hash` arguments provided, diff --git a/docs/running-node.md b/docs/running-node.md index 5623d9a31..be72c9c79 100644 --- a/docs/running-node.md +++ b/docs/running-node.md @@ -7,7 +7,7 @@ - `Private Sentry` - Full Node to connect other (external) Validator Nodes ([Sentry Node Architecture](https://forum.cosmos.network/t/sentry-node-architecture-overview/454)) - `Public Sentry` - Full Node to connect other (external) Full Nodes - `Observer` - Full Node for serving gRPC / REST / RPC clients -- `Seed` - Full Node for sharing IP addresses of `Public Sentry` Nodes ([Seed Node](https://docs.tendermint.com/)) +- `Seed` - Full Node for sharing IP addresses of `Public Sentry` Nodes ([Seed Node](https://docs.cometbft.com/)) ## DCL network architecture overview diff --git a/docs/static/cosmos-base-openapi.json b/docs/static/cosmos-base-openapi.json index b34f4741d..439a39e23 100644 --- a/docs/static/cosmos-base-openapi.json +++ b/docs/static/cosmos-base-openapi.json @@ -1,11 +1,151 @@ { "swagger": "2.0", "info": { - "title": "cosmos/base/tendermint/v1beta1/query.proto", - "version": "v0.44.4", - "description": "A REST interface for base service endpoints" + "title": "Cosmos SDK - gRPC Gateway docs", + "description": "A REST interface for state queries", + "version": "1.0.0" }, "paths": { + "/cosmos/base/tendermint/v1beta1/abci_query": { + "get": { + "summary": "ABCIQuery defines a query handler that supports ABCI queries directly to the\napplication, bypassing Tendermint completely. The ABCI query must contain\na valid and supported path, including app, custom, p2p, and store.", + "description": "Since: cosmos-sdk 0.46", + "operationId": "ABCIQuery", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "log": { + "type": "string" + }, + "info": { + "type": "string" + }, + "index": { + "type": "string", + "format": "int64" + }, + "key": { + "type": "string", + "format": "byte" + }, + "value": { + "type": "string", + "format": "byte" + }, + "proof_ops": { + "type": "object", + "properties": { + "ops": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "key": { + "type": "string", + "format": "byte" + }, + "data": { + "type": "string", + "format": "byte" + } + }, + "description": "ProofOp defines an operation used for calculating Merkle root. The data could\nbe arbitrary format, providing necessary data for example neighbouring node\nhash.\n\nNote: This type is a duplicate of the ProofOp proto type defined in Tendermint." + } + } + }, + "description": "ProofOps is Merkle proof defined by the list of ProofOps.\n\nNote: This type is a duplicate of the ProofOps proto type defined in Tendermint." + }, + "height": { + "type": "string", + "format": "int64" + }, + "codespace": { + "type": "string" + } + }, + "description": "ABCIQueryResponse defines the response structure for the ABCIQuery gRPC query.\n\nNote: This type is a duplicate of the ResponseQuery proto type defined in\nTendermint." + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "type": "object", + "properties": { + "error": { + "type": "string" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + }, + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } + }, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } + } + } + } + }, + "parameters": [ + { + "name": "data", + "in": "query", + "required": false, + "type": "string", + "format": "byte" + }, + { + "name": "path", + "in": "query", + "required": false, + "type": "string" + }, + { + "name": "height", + "in": "query", + "required": false, + "type": "string", + "format": "int64" + }, + { + "name": "prove", + "in": "query", + "required": false, + "type": "boolean" + } + ], + "tags": [ + "Service" + ] + } + }, "/cosmos/base/tendermint/v1beta1/blocks/latest": { "get": { "summary": "GetLatestBlock returns the latest block.", @@ -41,6 +181,7 @@ "title": "BlockID" }, "block": { + "title": "Deprecated: please use `sdk_block` instead", "type": "object", "properties": { "header": { @@ -136,7 +277,7 @@ "format": "byte" } }, - "description": "Header defines the structure of a Tendermint block header." + "description": "Header defines the structure of a block header." }, "data": { "type": "object", @@ -410,7 +551,7 @@ "format": "byte" } }, - "description": "Header defines the structure of a Tendermint block header." + "description": "Header defines the structure of a block header." }, "commit": { "type": "object", @@ -508,7 +649,7 @@ "format": "byte" } }, - "title": "PublicKey defines the keys available for use with Tendermint Validators" + "title": "PublicKey defines the keys available for use with Validators" }, "voting_power": { "type": "string", @@ -540,7 +681,7 @@ "format": "byte" } }, - "title": "PublicKey defines the keys available for use with Tendermint Validators" + "title": "PublicKey defines the keys available for use with Validators" }, "voting_power": { "type": "string", @@ -585,7 +726,7 @@ "format": "byte" } }, - "title": "PublicKey defines the keys available for use with Tendermint Validators" + "title": "PublicKey defines the keys available for use with Validators" }, "voting_power": { "type": "string", @@ -685,88 +826,9 @@ "description": "Commit contains the evidence that a block was committed by a set of validators." } } - } - }, - "description": "GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method." - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "type": "object", - "properties": { - "error": { - "type": "string" - }, - "code": { - "type": "integer", - "format": "int32" - }, - "message": { - "type": "string" - }, - "details": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type_url": { - "type": "string", - "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." - }, - "value": { - "type": "string", - "format": "byte", - "description": "Must be a valid serialized protocol buffer of the above specified type." - } - }, - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" - } - } - } - } - } - }, - "tags": [ - "Service" - ] - } - }, - "/cosmos/base/tendermint/v1beta1/blocks/{height}": { - "get": { - "summary": "GetBlockByHeight queries block for given height.", - "operationId": "GetBlockByHeight", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "type": "object", - "properties": { - "block_id": { - "type": "object", - "properties": { - "hash": { - "type": "string", - "format": "byte" - }, - "part_set_header": { - "type": "object", - "properties": { - "total": { - "type": "integer", - "format": "int64" - }, - "hash": { - "type": "string", - "format": "byte" - } - }, - "title": "PartsetHeader" - } - }, - "title": "BlockID" }, - "block": { + "sdk_block": { + "title": "Since: cosmos-sdk 0.47", "type": "object", "properties": { "header": { @@ -859,7 +921,7 @@ }, "proposer_address": { "type": "string", - "format": "byte" + "description": "proposer_address is the original block proposer address, formatted as a Bech32 string.\nIn Tendermint, this type is `bytes`, but in the SDK, we convert it to a Bech32 string\nfor better UX." } }, "description": "Header defines the structure of a Tendermint block header." @@ -1136,7 +1198,7 @@ "format": "byte" } }, - "description": "Header defines the structure of a Tendermint block header." + "description": "Header defines the structure of a block header." }, "commit": { "type": "object", @@ -1234,7 +1296,7 @@ "format": "byte" } }, - "title": "PublicKey defines the keys available for use with Tendermint Validators" + "title": "PublicKey defines the keys available for use with Validators" }, "voting_power": { "type": "string", @@ -1266,7 +1328,7 @@ "format": "byte" } }, - "title": "PublicKey defines the keys available for use with Tendermint Validators" + "title": "PublicKey defines the keys available for use with Validators" }, "voting_power": { "type": "string", @@ -1311,7 +1373,7 @@ "format": "byte" } }, - "title": "PublicKey defines the keys available for use with Tendermint Validators" + "title": "PublicKey defines the keys available for use with Validators" }, "voting_power": { "type": "string", @@ -1410,10 +1472,11 @@ }, "description": "Commit contains the evidence that a block was committed by a set of validators." } - } + }, + "description": "Block is tendermint type Block, with the Header proposer address\nfield converted to bech32 string." } }, - "description": "GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method." + "description": "GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method." } }, "default": { @@ -1446,601 +1509,4009 @@ "description": "Must be a valid serialized protocol buffer of the above specified type." } }, - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" } } } } } }, - "parameters": [ - { - "name": "height", - "in": "path", - "required": true, - "type": "string", - "format": "int64" - } - ], "tags": [ "Service" ] } }, - "/cosmos/base/tendermint/v1beta1/node_info": { + "/cosmos/base/tendermint/v1beta1/blocks/{height}": { "get": { - "summary": "GetNodeInfo queries the current node info.", - "operationId": "GetNodeInfo", + "summary": "GetBlockByHeight queries block for given height.", + "operationId": "GetBlockByHeight", "responses": { "200": { "description": "A successful response.", "schema": { "type": "object", "properties": { - "default_node_info": { + "block_id": { "type": "object", "properties": { - "protocol_version": { - "type": "object", - "properties": { - "p2p": { - "type": "string", - "format": "uint64" - }, - "block": { - "type": "string", - "format": "uint64" - }, - "app": { - "type": "string", - "format": "uint64" - } - } - }, - "default_node_id": { - "type": "string" - }, - "listen_addr": { - "type": "string" - }, - "network": { - "type": "string" - }, - "version": { - "type": "string" - }, - "channels": { + "hash": { "type": "string", "format": "byte" }, - "moniker": { - "type": "string" - }, - "other": { + "part_set_header": { "type": "object", "properties": { - "tx_index": { - "type": "string" + "total": { + "type": "integer", + "format": "int64" }, - "rpc_address": { - "type": "string" + "hash": { + "type": "string", + "format": "byte" } - } + }, + "title": "PartsetHeader" } - } + }, + "title": "BlockID" }, - "application_version": { + "block": { + "title": "Deprecated: please use `sdk_block` instead", "type": "object", "properties": { - "name": { - "type": "string" - }, - "app_name": { - "type": "string" - }, - "version": { - "type": "string" - }, - "git_commit": { - "type": "string" - }, - "build_tags": { - "type": "string" - }, - "go_version": { - "type": "string" - }, - "build_deps": { - "type": "array", - "items": { - "type": "object", - "properties": { - "path": { - "type": "string", - "title": "module path" + "header": { + "type": "object", + "properties": { + "version": { + "title": "basic block info", + "type": "object", + "properties": { + "block": { + "type": "string", + "format": "uint64" + }, + "app": { + "type": "string", + "format": "uint64" + } }, - "version": { - "type": "string", - "title": "module version" + "description": "Consensus captures the consensus rules for processing a block in the blockchain,\nincluding all blockchain data structures and the rules of the application's\nstate transition machine." + }, + "chain_id": { + "type": "string" + }, + "height": { + "type": "string", + "format": "int64" + }, + "time": { + "type": "string", + "format": "date-time" + }, + "last_block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } }, - "sum": { - "type": "string", - "title": "checksum" - } + "title": "BlockID" }, - "title": "Module is the type for VersionInfo" - } - }, - "cosmos_sdk_version": { - "type": "string", - "title": "Since: cosmos-sdk 0.43" - } - }, - "description": "VersionInfo is the type for the GetNodeInfoResponse message." - } - }, - "description": "GetNodeInfoResponse is the request type for the Query/GetNodeInfo RPC method." - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "type": "object", - "properties": { - "error": { - "type": "string" - }, - "code": { - "type": "integer", - "format": "int32" - }, - "message": { - "type": "string" - }, - "details": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type_url": { - "type": "string", - "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + "last_commit_hash": { + "type": "string", + "format": "byte", + "title": "hashes of block data" + }, + "data_hash": { + "type": "string", + "format": "byte" + }, + "validators_hash": { + "type": "string", + "format": "byte", + "title": "hashes from the app output from the prev block" + }, + "next_validators_hash": { + "type": "string", + "format": "byte" + }, + "consensus_hash": { + "type": "string", + "format": "byte" + }, + "app_hash": { + "type": "string", + "format": "byte" + }, + "last_results_hash": { + "type": "string", + "format": "byte" + }, + "evidence_hash": { + "type": "string", + "format": "byte", + "title": "consensus info" + }, + "proposer_address": { + "type": "string", + "format": "byte" + } }, - "value": { - "type": "string", - "format": "byte", - "description": "Must be a valid serialized protocol buffer of the above specified type." - } + "description": "Header defines the structure of a block header." }, - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" - } - } - } - } - } - }, - "tags": [ - "Service" - ] - } - }, - "/cosmos/base/tendermint/v1beta1/syncing": { - "get": { - "summary": "GetSyncing queries node syncing.", - "operationId": "GetSyncing", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "type": "object", - "properties": { - "syncing": { - "type": "boolean" - } - }, - "description": "GetSyncingResponse is the response type for the Query/GetSyncing RPC method." - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "type": "object", - "properties": { - "error": { - "type": "string" - }, - "code": { - "type": "integer", - "format": "int32" - }, - "message": { - "type": "string" - }, - "details": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type_url": { - "type": "string", - "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + "data": { + "type": "object", + "properties": { + "txs": { + "type": "array", + "items": { + "type": "string", + "format": "byte" + }, + "description": "Txs that will be applied by state @ block.Height+1.\nNOTE: not all txs here are valid. We're just agreeing on the order first.\nThis means that block.AppHash does not include these txs." + } }, - "value": { - "type": "string", - "format": "byte", - "description": "Must be a valid serialized protocol buffer of the above specified type." - } + "title": "Data contains the set of transactions included in the block" }, - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" - } - } - } - } - } - }, - "tags": [ + "evidence": { + "type": "object", + "properties": { + "evidence": { + "type": "array", + "items": { + "type": "object", + "properties": { + "duplicate_vote_evidence": { + "type": "object", + "properties": { + "vote_a": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "SIGNED_MSG_TYPE_UNKNOWN", + "SIGNED_MSG_TYPE_PREVOTE", + "SIGNED_MSG_TYPE_PRECOMMIT", + "SIGNED_MSG_TYPE_PROPOSAL" + ], + "default": "SIGNED_MSG_TYPE_UNKNOWN", + "description": "SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_PREVOTE: Votes\n - SIGNED_MSG_TYPE_PROPOSAL: Proposals" + }, + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "validator_index": { + "type": "integer", + "format": "int32" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "Vote represents a prevote, precommit, or commit vote from validators for\nconsensus." + }, + "vote_b": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "SIGNED_MSG_TYPE_UNKNOWN", + "SIGNED_MSG_TYPE_PREVOTE", + "SIGNED_MSG_TYPE_PRECOMMIT", + "SIGNED_MSG_TYPE_PROPOSAL" + ], + "default": "SIGNED_MSG_TYPE_UNKNOWN", + "description": "SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_PREVOTE: Votes\n - SIGNED_MSG_TYPE_PROPOSAL: Proposals" + }, + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "validator_index": { + "type": "integer", + "format": "int32" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "Vote represents a prevote, precommit, or commit vote from validators for\nconsensus." + }, + "total_voting_power": { + "type": "string", + "format": "int64" + }, + "validator_power": { + "type": "string", + "format": "int64" + }, + "timestamp": { + "type": "string", + "format": "date-time" + } + }, + "description": "DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes." + }, + "light_client_attack_evidence": { + "type": "object", + "properties": { + "conflicting_block": { + "type": "object", + "properties": { + "signed_header": { + "type": "object", + "properties": { + "header": { + "type": "object", + "properties": { + "version": { + "title": "basic block info", + "type": "object", + "properties": { + "block": { + "type": "string", + "format": "uint64" + }, + "app": { + "type": "string", + "format": "uint64" + } + }, + "description": "Consensus captures the consensus rules for processing a block in the blockchain,\nincluding all blockchain data structures and the rules of the application's\nstate transition machine." + }, + "chain_id": { + "type": "string" + }, + "height": { + "type": "string", + "format": "int64" + }, + "time": { + "type": "string", + "format": "date-time" + }, + "last_block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "last_commit_hash": { + "type": "string", + "format": "byte", + "title": "hashes of block data" + }, + "data_hash": { + "type": "string", + "format": "byte" + }, + "validators_hash": { + "type": "string", + "format": "byte", + "title": "hashes from the app output from the prev block" + }, + "next_validators_hash": { + "type": "string", + "format": "byte" + }, + "consensus_hash": { + "type": "string", + "format": "byte" + }, + "app_hash": { + "type": "string", + "format": "byte" + }, + "last_results_hash": { + "type": "string", + "format": "byte" + }, + "evidence_hash": { + "type": "string", + "format": "byte", + "title": "consensus info" + }, + "proposer_address": { + "type": "string", + "format": "byte" + } + }, + "description": "Header defines the structure of a block header." + }, + "commit": { + "type": "object", + "properties": { + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "signatures": { + "type": "array", + "items": { + "type": "object", + "properties": { + "block_id_flag": { + "type": "string", + "enum": [ + "BLOCK_ID_FLAG_UNKNOWN", + "BLOCK_ID_FLAG_ABSENT", + "BLOCK_ID_FLAG_COMMIT", + "BLOCK_ID_FLAG_NIL" + ], + "default": "BLOCK_ID_FLAG_UNKNOWN", + "title": "BlockIdFlag indicates which BlcokID the signature is for" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "CommitSig is a part of the Vote included in a Commit." + } + } + }, + "description": "Commit contains the evidence that a block was committed by a set of validators." + } + } + }, + "validator_set": { + "type": "object", + "properties": { + "validators": { + "type": "array", + "items": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } + } + } + }, + "proposer": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } + } + }, + "total_voting_power": { + "type": "string", + "format": "int64" + } + } + } + } + }, + "common_height": { + "type": "string", + "format": "int64" + }, + "byzantine_validators": { + "type": "array", + "items": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } + } + } + }, + "total_voting_power": { + "type": "string", + "format": "int64" + }, + "timestamp": { + "type": "string", + "format": "date-time" + } + }, + "description": "LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client." + } + } + } + } + } + }, + "last_commit": { + "type": "object", + "properties": { + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "signatures": { + "type": "array", + "items": { + "type": "object", + "properties": { + "block_id_flag": { + "type": "string", + "enum": [ + "BLOCK_ID_FLAG_UNKNOWN", + "BLOCK_ID_FLAG_ABSENT", + "BLOCK_ID_FLAG_COMMIT", + "BLOCK_ID_FLAG_NIL" + ], + "default": "BLOCK_ID_FLAG_UNKNOWN", + "title": "BlockIdFlag indicates which BlcokID the signature is for" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "CommitSig is a part of the Vote included in a Commit." + } + } + }, + "description": "Commit contains the evidence that a block was committed by a set of validators." + } + } + }, + "sdk_block": { + "title": "Since: cosmos-sdk 0.47", + "type": "object", + "properties": { + "header": { + "type": "object", + "properties": { + "version": { + "title": "basic block info", + "type": "object", + "properties": { + "block": { + "type": "string", + "format": "uint64" + }, + "app": { + "type": "string", + "format": "uint64" + } + }, + "description": "Consensus captures the consensus rules for processing a block in the blockchain,\nincluding all blockchain data structures and the rules of the application's\nstate transition machine." + }, + "chain_id": { + "type": "string" + }, + "height": { + "type": "string", + "format": "int64" + }, + "time": { + "type": "string", + "format": "date-time" + }, + "last_block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "last_commit_hash": { + "type": "string", + "format": "byte", + "title": "hashes of block data" + }, + "data_hash": { + "type": "string", + "format": "byte" + }, + "validators_hash": { + "type": "string", + "format": "byte", + "title": "hashes from the app output from the prev block" + }, + "next_validators_hash": { + "type": "string", + "format": "byte" + }, + "consensus_hash": { + "type": "string", + "format": "byte" + }, + "app_hash": { + "type": "string", + "format": "byte" + }, + "last_results_hash": { + "type": "string", + "format": "byte" + }, + "evidence_hash": { + "type": "string", + "format": "byte", + "title": "consensus info" + }, + "proposer_address": { + "type": "string", + "description": "proposer_address is the original block proposer address, formatted as a Bech32 string.\nIn Tendermint, this type is `bytes`, but in the SDK, we convert it to a Bech32 string\nfor better UX." + } + }, + "description": "Header defines the structure of a Tendermint block header." + }, + "data": { + "type": "object", + "properties": { + "txs": { + "type": "array", + "items": { + "type": "string", + "format": "byte" + }, + "description": "Txs that will be applied by state @ block.Height+1.\nNOTE: not all txs here are valid. We're just agreeing on the order first.\nThis means that block.AppHash does not include these txs." + } + }, + "title": "Data contains the set of transactions included in the block" + }, + "evidence": { + "type": "object", + "properties": { + "evidence": { + "type": "array", + "items": { + "type": "object", + "properties": { + "duplicate_vote_evidence": { + "type": "object", + "properties": { + "vote_a": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "SIGNED_MSG_TYPE_UNKNOWN", + "SIGNED_MSG_TYPE_PREVOTE", + "SIGNED_MSG_TYPE_PRECOMMIT", + "SIGNED_MSG_TYPE_PROPOSAL" + ], + "default": "SIGNED_MSG_TYPE_UNKNOWN", + "description": "SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_PREVOTE: Votes\n - SIGNED_MSG_TYPE_PROPOSAL: Proposals" + }, + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "validator_index": { + "type": "integer", + "format": "int32" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "Vote represents a prevote, precommit, or commit vote from validators for\nconsensus." + }, + "vote_b": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "SIGNED_MSG_TYPE_UNKNOWN", + "SIGNED_MSG_TYPE_PREVOTE", + "SIGNED_MSG_TYPE_PRECOMMIT", + "SIGNED_MSG_TYPE_PROPOSAL" + ], + "default": "SIGNED_MSG_TYPE_UNKNOWN", + "description": "SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_PREVOTE: Votes\n - SIGNED_MSG_TYPE_PROPOSAL: Proposals" + }, + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "validator_index": { + "type": "integer", + "format": "int32" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "Vote represents a prevote, precommit, or commit vote from validators for\nconsensus." + }, + "total_voting_power": { + "type": "string", + "format": "int64" + }, + "validator_power": { + "type": "string", + "format": "int64" + }, + "timestamp": { + "type": "string", + "format": "date-time" + } + }, + "description": "DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes." + }, + "light_client_attack_evidence": { + "type": "object", + "properties": { + "conflicting_block": { + "type": "object", + "properties": { + "signed_header": { + "type": "object", + "properties": { + "header": { + "type": "object", + "properties": { + "version": { + "title": "basic block info", + "type": "object", + "properties": { + "block": { + "type": "string", + "format": "uint64" + }, + "app": { + "type": "string", + "format": "uint64" + } + }, + "description": "Consensus captures the consensus rules for processing a block in the blockchain,\nincluding all blockchain data structures and the rules of the application's\nstate transition machine." + }, + "chain_id": { + "type": "string" + }, + "height": { + "type": "string", + "format": "int64" + }, + "time": { + "type": "string", + "format": "date-time" + }, + "last_block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "last_commit_hash": { + "type": "string", + "format": "byte", + "title": "hashes of block data" + }, + "data_hash": { + "type": "string", + "format": "byte" + }, + "validators_hash": { + "type": "string", + "format": "byte", + "title": "hashes from the app output from the prev block" + }, + "next_validators_hash": { + "type": "string", + "format": "byte" + }, + "consensus_hash": { + "type": "string", + "format": "byte" + }, + "app_hash": { + "type": "string", + "format": "byte" + }, + "last_results_hash": { + "type": "string", + "format": "byte" + }, + "evidence_hash": { + "type": "string", + "format": "byte", + "title": "consensus info" + }, + "proposer_address": { + "type": "string", + "format": "byte" + } + }, + "description": "Header defines the structure of a block header." + }, + "commit": { + "type": "object", + "properties": { + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "signatures": { + "type": "array", + "items": { + "type": "object", + "properties": { + "block_id_flag": { + "type": "string", + "enum": [ + "BLOCK_ID_FLAG_UNKNOWN", + "BLOCK_ID_FLAG_ABSENT", + "BLOCK_ID_FLAG_COMMIT", + "BLOCK_ID_FLAG_NIL" + ], + "default": "BLOCK_ID_FLAG_UNKNOWN", + "title": "BlockIdFlag indicates which BlcokID the signature is for" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "CommitSig is a part of the Vote included in a Commit." + } + } + }, + "description": "Commit contains the evidence that a block was committed by a set of validators." + } + } + }, + "validator_set": { + "type": "object", + "properties": { + "validators": { + "type": "array", + "items": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } + } + } + }, + "proposer": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } + } + }, + "total_voting_power": { + "type": "string", + "format": "int64" + } + } + } + } + }, + "common_height": { + "type": "string", + "format": "int64" + }, + "byzantine_validators": { + "type": "array", + "items": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } + } + } + }, + "total_voting_power": { + "type": "string", + "format": "int64" + }, + "timestamp": { + "type": "string", + "format": "date-time" + } + }, + "description": "LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client." + } + } + } + } + } + }, + "last_commit": { + "type": "object", + "properties": { + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "signatures": { + "type": "array", + "items": { + "type": "object", + "properties": { + "block_id_flag": { + "type": "string", + "enum": [ + "BLOCK_ID_FLAG_UNKNOWN", + "BLOCK_ID_FLAG_ABSENT", + "BLOCK_ID_FLAG_COMMIT", + "BLOCK_ID_FLAG_NIL" + ], + "default": "BLOCK_ID_FLAG_UNKNOWN", + "title": "BlockIdFlag indicates which BlcokID the signature is for" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "CommitSig is a part of the Vote included in a Commit." + } + } + }, + "description": "Commit contains the evidence that a block was committed by a set of validators." + } + }, + "description": "Block is tendermint type Block, with the Header proposer address\nfield converted to bech32 string." + } + }, + "description": "GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method." + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "type": "object", + "properties": { + "error": { + "type": "string" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + }, + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } + }, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } + } + } + } + }, + "parameters": [ + { + "name": "height", + "in": "path", + "required": true, + "type": "string", + "format": "int64" + } + ], + "tags": [ + "Service" + ] + } + }, + "/cosmos/base/tendermint/v1beta1/node_info": { + "get": { + "summary": "GetNodeInfo queries the current node info.", + "operationId": "GetNodeInfo", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "type": "object", + "properties": { + "default_node_info": { + "type": "object", + "properties": { + "protocol_version": { + "type": "object", + "properties": { + "p2p": { + "type": "string", + "format": "uint64" + }, + "block": { + "type": "string", + "format": "uint64" + }, + "app": { + "type": "string", + "format": "uint64" + } + } + }, + "default_node_id": { + "type": "string" + }, + "listen_addr": { + "type": "string" + }, + "network": { + "type": "string" + }, + "version": { + "type": "string" + }, + "channels": { + "type": "string", + "format": "byte" + }, + "moniker": { + "type": "string" + }, + "other": { + "type": "object", + "properties": { + "tx_index": { + "type": "string" + }, + "rpc_address": { + "type": "string" + } + } + } + } + }, + "application_version": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "app_name": { + "type": "string" + }, + "version": { + "type": "string" + }, + "git_commit": { + "type": "string" + }, + "build_tags": { + "type": "string" + }, + "go_version": { + "type": "string" + }, + "build_deps": { + "type": "array", + "items": { + "type": "object", + "properties": { + "path": { + "type": "string", + "title": "module path" + }, + "version": { + "type": "string", + "title": "module version" + }, + "sum": { + "type": "string", + "title": "checksum" + } + }, + "title": "Module is the type for VersionInfo" + } + }, + "cosmos_sdk_version": { + "type": "string", + "title": "Since: cosmos-sdk 0.43" + } + }, + "description": "VersionInfo is the type for the GetNodeInfoResponse message." + } + }, + "description": "GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method." + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "type": "object", + "properties": { + "error": { + "type": "string" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + }, + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } + }, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } + } + } + } + }, + "tags": [ + "Service" + ] + } + }, + "/cosmos/base/tendermint/v1beta1/syncing": { + "get": { + "summary": "GetSyncing queries node syncing.", + "operationId": "GetSyncing", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "type": "object", + "properties": { + "syncing": { + "type": "boolean" + } + }, + "description": "GetSyncingResponse is the response type for the Query/GetSyncing RPC method." + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "type": "object", + "properties": { + "error": { + "type": "string" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + }, + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } + }, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } + } + } + } + }, + "tags": [ + "Service" + ] + } + }, + "/cosmos/base/tendermint/v1beta1/validatorsets/latest": { + "get": { + "summary": "GetLatestValidatorSet queries latest validator-set.", + "operationId": "GetLatestValidatorSet", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "type": "object", + "properties": { + "block_height": { + "type": "string", + "format": "int64" + }, + "validators": { + "type": "array", + "items": { + "type": "object", + "properties": { + "address": { + "type": "string" + }, + "pub_key": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + }, + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } + }, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } + }, + "description": "Validator is the type for the validator-set." + } + }, + "pagination": { + "description": "pagination defines an pagination for the response.", + "type": "object", + "properties": { + "next_key": { + "type": "string", + "format": "byte", + "description": "next_key is the key to be passed to PageRequest.key to\nquery the next page most efficiently. It will be empty if\nthere are no more results." + }, + "total": { + "type": "string", + "format": "uint64", + "title": "total is total number of results available if PageRequest.count_total\nwas set, its value is undefined otherwise" + } + } + } + }, + "description": "GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method." + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "type": "object", + "properties": { + "error": { + "type": "string" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + }, + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } + }, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } + } + } + } + }, + "parameters": [ + { + "name": "pagination.key", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "in": "query", + "required": false, + "type": "string", + "format": "byte" + }, + { + "name": "pagination.offset", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "in": "query", + "required": false, + "type": "string", + "format": "uint64" + }, + { + "name": "pagination.limit", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "in": "query", + "required": false, + "type": "string", + "format": "uint64" + }, + { + "name": "pagination.count_total", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "in": "query", + "required": false, + "type": "boolean" + }, + { + "name": "pagination.reverse", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "in": "query", + "required": false, + "type": "boolean" + } + ], + "tags": [ + "Service" + ] + } + }, + "/cosmos/base/tendermint/v1beta1/validatorsets/{height}": { + "get": { + "summary": "GetValidatorSetByHeight queries validator-set at a given height.", + "operationId": "GetValidatorSetByHeight", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "type": "object", + "properties": { + "block_height": { + "type": "string", + "format": "int64" + }, + "validators": { + "type": "array", + "items": { + "type": "object", + "properties": { + "address": { + "type": "string" + }, + "pub_key": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + }, + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } + }, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } + }, + "description": "Validator is the type for the validator-set." + } + }, + "pagination": { + "description": "pagination defines an pagination for the response.", + "type": "object", + "properties": { + "next_key": { + "type": "string", + "format": "byte", + "description": "next_key is the key to be passed to PageRequest.key to\nquery the next page most efficiently. It will be empty if\nthere are no more results." + }, + "total": { + "type": "string", + "format": "uint64", + "title": "total is total number of results available if PageRequest.count_total\nwas set, its value is undefined otherwise" + } + } + } + }, + "description": "GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method." + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "type": "object", + "properties": { + "error": { + "type": "string" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + }, + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } + }, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } + } + } + } + }, + "parameters": [ + { + "name": "height", + "in": "path", + "required": true, + "type": "string", + "format": "int64" + }, + { + "name": "pagination.key", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "in": "query", + "required": false, + "type": "string", + "format": "byte" + }, + { + "name": "pagination.offset", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "in": "query", + "required": false, + "type": "string", + "format": "uint64" + }, + { + "name": "pagination.limit", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "in": "query", + "required": false, + "type": "string", + "format": "uint64" + }, + { + "name": "pagination.count_total", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "in": "query", + "required": false, + "type": "boolean" + }, + { + "name": "pagination.reverse", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "in": "query", + "required": false, + "type": "boolean" + } + ], + "tags": [ "Service" ] } + } + }, + "definitions": { + "cosmos.base.query.v1beta1.PageRequest": { + "type": "object", + "properties": { + "key": { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set." + }, + "offset": { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set." + }, + "limit": { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app." + }, + "count_total": { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set." + }, + "reverse": { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43" + } + }, + "description": "message SomeRequest {\n Foo some_parameter = 1;\n PageRequest pagination = 2;\n }", + "title": "PageRequest is to be embedded in gRPC request messages for efficient\npagination. Ex:" + }, + "cosmos.base.query.v1beta1.PageResponse": { + "type": "object", + "properties": { + "next_key": { + "type": "string", + "format": "byte", + "description": "next_key is the key to be passed to PageRequest.key to\nquery the next page most efficiently. It will be empty if\nthere are no more results." + }, + "total": { + "type": "string", + "format": "uint64", + "title": "total is total number of results available if PageRequest.count_total\nwas set, its value is undefined otherwise" + } + }, + "description": "PageResponse is to be embedded in gRPC response messages where the\ncorresponding request message has used PageRequest.\n\n message SomeResponse {\n repeated Bar results = 1;\n PageResponse page = 2;\n }" + }, + "cosmos.base.tendermint.v1beta1.ABCIQueryResponse": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "log": { + "type": "string" + }, + "info": { + "type": "string" + }, + "index": { + "type": "string", + "format": "int64" + }, + "key": { + "type": "string", + "format": "byte" + }, + "value": { + "type": "string", + "format": "byte" + }, + "proof_ops": { + "type": "object", + "properties": { + "ops": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "key": { + "type": "string", + "format": "byte" + }, + "data": { + "type": "string", + "format": "byte" + } + }, + "description": "ProofOp defines an operation used for calculating Merkle root. The data could\nbe arbitrary format, providing necessary data for example neighbouring node\nhash.\n\nNote: This type is a duplicate of the ProofOp proto type defined in Tendermint." + } + } + }, + "description": "ProofOps is Merkle proof defined by the list of ProofOps.\n\nNote: This type is a duplicate of the ProofOps proto type defined in Tendermint." + }, + "height": { + "type": "string", + "format": "int64" + }, + "codespace": { + "type": "string" + } + }, + "description": "ABCIQueryResponse defines the response structure for the ABCIQuery gRPC query.\n\nNote: This type is a duplicate of the ResponseQuery proto type defined in\nTendermint." + }, + "cosmos.base.tendermint.v1beta1.Block": { + "type": "object", + "properties": { + "header": { + "type": "object", + "properties": { + "version": { + "title": "basic block info", + "type": "object", + "properties": { + "block": { + "type": "string", + "format": "uint64" + }, + "app": { + "type": "string", + "format": "uint64" + } + }, + "description": "Consensus captures the consensus rules for processing a block in the blockchain,\nincluding all blockchain data structures and the rules of the application's\nstate transition machine." + }, + "chain_id": { + "type": "string" + }, + "height": { + "type": "string", + "format": "int64" + }, + "time": { + "type": "string", + "format": "date-time" + }, + "last_block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "last_commit_hash": { + "type": "string", + "format": "byte", + "title": "hashes of block data" + }, + "data_hash": { + "type": "string", + "format": "byte" + }, + "validators_hash": { + "type": "string", + "format": "byte", + "title": "hashes from the app output from the prev block" + }, + "next_validators_hash": { + "type": "string", + "format": "byte" + }, + "consensus_hash": { + "type": "string", + "format": "byte" + }, + "app_hash": { + "type": "string", + "format": "byte" + }, + "last_results_hash": { + "type": "string", + "format": "byte" + }, + "evidence_hash": { + "type": "string", + "format": "byte", + "title": "consensus info" + }, + "proposer_address": { + "type": "string", + "description": "proposer_address is the original block proposer address, formatted as a Bech32 string.\nIn Tendermint, this type is `bytes`, but in the SDK, we convert it to a Bech32 string\nfor better UX." + } + }, + "description": "Header defines the structure of a Tendermint block header." + }, + "data": { + "type": "object", + "properties": { + "txs": { + "type": "array", + "items": { + "type": "string", + "format": "byte" + }, + "description": "Txs that will be applied by state @ block.Height+1.\nNOTE: not all txs here are valid. We're just agreeing on the order first.\nThis means that block.AppHash does not include these txs." + } + }, + "title": "Data contains the set of transactions included in the block" + }, + "evidence": { + "type": "object", + "properties": { + "evidence": { + "type": "array", + "items": { + "type": "object", + "properties": { + "duplicate_vote_evidence": { + "type": "object", + "properties": { + "vote_a": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "SIGNED_MSG_TYPE_UNKNOWN", + "SIGNED_MSG_TYPE_PREVOTE", + "SIGNED_MSG_TYPE_PRECOMMIT", + "SIGNED_MSG_TYPE_PROPOSAL" + ], + "default": "SIGNED_MSG_TYPE_UNKNOWN", + "description": "SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_PREVOTE: Votes\n - SIGNED_MSG_TYPE_PROPOSAL: Proposals" + }, + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "validator_index": { + "type": "integer", + "format": "int32" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "Vote represents a prevote, precommit, or commit vote from validators for\nconsensus." + }, + "vote_b": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "SIGNED_MSG_TYPE_UNKNOWN", + "SIGNED_MSG_TYPE_PREVOTE", + "SIGNED_MSG_TYPE_PRECOMMIT", + "SIGNED_MSG_TYPE_PROPOSAL" + ], + "default": "SIGNED_MSG_TYPE_UNKNOWN", + "description": "SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_PREVOTE: Votes\n - SIGNED_MSG_TYPE_PROPOSAL: Proposals" + }, + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "validator_index": { + "type": "integer", + "format": "int32" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "Vote represents a prevote, precommit, or commit vote from validators for\nconsensus." + }, + "total_voting_power": { + "type": "string", + "format": "int64" + }, + "validator_power": { + "type": "string", + "format": "int64" + }, + "timestamp": { + "type": "string", + "format": "date-time" + } + }, + "description": "DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes." + }, + "light_client_attack_evidence": { + "type": "object", + "properties": { + "conflicting_block": { + "type": "object", + "properties": { + "signed_header": { + "type": "object", + "properties": { + "header": { + "type": "object", + "properties": { + "version": { + "title": "basic block info", + "type": "object", + "properties": { + "block": { + "type": "string", + "format": "uint64" + }, + "app": { + "type": "string", + "format": "uint64" + } + }, + "description": "Consensus captures the consensus rules for processing a block in the blockchain,\nincluding all blockchain data structures and the rules of the application's\nstate transition machine." + }, + "chain_id": { + "type": "string" + }, + "height": { + "type": "string", + "format": "int64" + }, + "time": { + "type": "string", + "format": "date-time" + }, + "last_block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "last_commit_hash": { + "type": "string", + "format": "byte", + "title": "hashes of block data" + }, + "data_hash": { + "type": "string", + "format": "byte" + }, + "validators_hash": { + "type": "string", + "format": "byte", + "title": "hashes from the app output from the prev block" + }, + "next_validators_hash": { + "type": "string", + "format": "byte" + }, + "consensus_hash": { + "type": "string", + "format": "byte" + }, + "app_hash": { + "type": "string", + "format": "byte" + }, + "last_results_hash": { + "type": "string", + "format": "byte" + }, + "evidence_hash": { + "type": "string", + "format": "byte", + "title": "consensus info" + }, + "proposer_address": { + "type": "string", + "format": "byte" + } + }, + "description": "Header defines the structure of a block header." + }, + "commit": { + "type": "object", + "properties": { + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "signatures": { + "type": "array", + "items": { + "type": "object", + "properties": { + "block_id_flag": { + "type": "string", + "enum": [ + "BLOCK_ID_FLAG_UNKNOWN", + "BLOCK_ID_FLAG_ABSENT", + "BLOCK_ID_FLAG_COMMIT", + "BLOCK_ID_FLAG_NIL" + ], + "default": "BLOCK_ID_FLAG_UNKNOWN", + "title": "BlockIdFlag indicates which BlcokID the signature is for" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "CommitSig is a part of the Vote included in a Commit." + } + } + }, + "description": "Commit contains the evidence that a block was committed by a set of validators." + } + } + }, + "validator_set": { + "type": "object", + "properties": { + "validators": { + "type": "array", + "items": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } + } + } + }, + "proposer": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } + } + }, + "total_voting_power": { + "type": "string", + "format": "int64" + } + } + } + } + }, + "common_height": { + "type": "string", + "format": "int64" + }, + "byzantine_validators": { + "type": "array", + "items": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } + } + } + }, + "total_voting_power": { + "type": "string", + "format": "int64" + }, + "timestamp": { + "type": "string", + "format": "date-time" + } + }, + "description": "LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client." + } + } + } + } + } + }, + "last_commit": { + "type": "object", + "properties": { + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "signatures": { + "type": "array", + "items": { + "type": "object", + "properties": { + "block_id_flag": { + "type": "string", + "enum": [ + "BLOCK_ID_FLAG_UNKNOWN", + "BLOCK_ID_FLAG_ABSENT", + "BLOCK_ID_FLAG_COMMIT", + "BLOCK_ID_FLAG_NIL" + ], + "default": "BLOCK_ID_FLAG_UNKNOWN", + "title": "BlockIdFlag indicates which BlcokID the signature is for" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "CommitSig is a part of the Vote included in a Commit." + } + } + }, + "description": "Commit contains the evidence that a block was committed by a set of validators." + } + }, + "description": "Block is tendermint type Block, with the Header proposer address\nfield converted to bech32 string." }, - "/cosmos/base/tendermint/v1beta1/validatorsets/latest": { - "get": { - "summary": "GetLatestValidatorSet queries latest validator-set.", - "operationId": "GetLatestValidatorSet", - "responses": { - "200": { - "description": "A successful response.", - "schema": { + "cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse": { + "type": "object", + "properties": { + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "block": { + "title": "Deprecated: please use `sdk_block` instead", + "type": "object", + "properties": { + "header": { + "type": "object", + "properties": { + "version": { + "title": "basic block info", + "type": "object", + "properties": { + "block": { + "type": "string", + "format": "uint64" + }, + "app": { + "type": "string", + "format": "uint64" + } + }, + "description": "Consensus captures the consensus rules for processing a block in the blockchain,\nincluding all blockchain data structures and the rules of the application's\nstate transition machine." + }, + "chain_id": { + "type": "string" + }, + "height": { + "type": "string", + "format": "int64" + }, + "time": { + "type": "string", + "format": "date-time" + }, + "last_block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "last_commit_hash": { + "type": "string", + "format": "byte", + "title": "hashes of block data" + }, + "data_hash": { + "type": "string", + "format": "byte" + }, + "validators_hash": { + "type": "string", + "format": "byte", + "title": "hashes from the app output from the prev block" + }, + "next_validators_hash": { + "type": "string", + "format": "byte" + }, + "consensus_hash": { + "type": "string", + "format": "byte" + }, + "app_hash": { + "type": "string", + "format": "byte" + }, + "last_results_hash": { + "type": "string", + "format": "byte" + }, + "evidence_hash": { + "type": "string", + "format": "byte", + "title": "consensus info" + }, + "proposer_address": { + "type": "string", + "format": "byte" + } + }, + "description": "Header defines the structure of a block header." + }, + "data": { + "type": "object", + "properties": { + "txs": { + "type": "array", + "items": { + "type": "string", + "format": "byte" + }, + "description": "Txs that will be applied by state @ block.Height+1.\nNOTE: not all txs here are valid. We're just agreeing on the order first.\nThis means that block.AppHash does not include these txs." + } + }, + "title": "Data contains the set of transactions included in the block" + }, + "evidence": { + "type": "object", + "properties": { + "evidence": { + "type": "array", + "items": { + "type": "object", + "properties": { + "duplicate_vote_evidence": { + "type": "object", + "properties": { + "vote_a": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "SIGNED_MSG_TYPE_UNKNOWN", + "SIGNED_MSG_TYPE_PREVOTE", + "SIGNED_MSG_TYPE_PRECOMMIT", + "SIGNED_MSG_TYPE_PROPOSAL" + ], + "default": "SIGNED_MSG_TYPE_UNKNOWN", + "description": "SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_PREVOTE: Votes\n - SIGNED_MSG_TYPE_PROPOSAL: Proposals" + }, + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "validator_index": { + "type": "integer", + "format": "int32" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "Vote represents a prevote, precommit, or commit vote from validators for\nconsensus." + }, + "vote_b": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "SIGNED_MSG_TYPE_UNKNOWN", + "SIGNED_MSG_TYPE_PREVOTE", + "SIGNED_MSG_TYPE_PRECOMMIT", + "SIGNED_MSG_TYPE_PROPOSAL" + ], + "default": "SIGNED_MSG_TYPE_UNKNOWN", + "description": "SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_PREVOTE: Votes\n - SIGNED_MSG_TYPE_PROPOSAL: Proposals" + }, + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "validator_index": { + "type": "integer", + "format": "int32" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "Vote represents a prevote, precommit, or commit vote from validators for\nconsensus." + }, + "total_voting_power": { + "type": "string", + "format": "int64" + }, + "validator_power": { + "type": "string", + "format": "int64" + }, + "timestamp": { + "type": "string", + "format": "date-time" + } + }, + "description": "DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes." + }, + "light_client_attack_evidence": { + "type": "object", + "properties": { + "conflicting_block": { + "type": "object", + "properties": { + "signed_header": { + "type": "object", + "properties": { + "header": { + "type": "object", + "properties": { + "version": { + "title": "basic block info", + "type": "object", + "properties": { + "block": { + "type": "string", + "format": "uint64" + }, + "app": { + "type": "string", + "format": "uint64" + } + }, + "description": "Consensus captures the consensus rules for processing a block in the blockchain,\nincluding all blockchain data structures and the rules of the application's\nstate transition machine." + }, + "chain_id": { + "type": "string" + }, + "height": { + "type": "string", + "format": "int64" + }, + "time": { + "type": "string", + "format": "date-time" + }, + "last_block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "last_commit_hash": { + "type": "string", + "format": "byte", + "title": "hashes of block data" + }, + "data_hash": { + "type": "string", + "format": "byte" + }, + "validators_hash": { + "type": "string", + "format": "byte", + "title": "hashes from the app output from the prev block" + }, + "next_validators_hash": { + "type": "string", + "format": "byte" + }, + "consensus_hash": { + "type": "string", + "format": "byte" + }, + "app_hash": { + "type": "string", + "format": "byte" + }, + "last_results_hash": { + "type": "string", + "format": "byte" + }, + "evidence_hash": { + "type": "string", + "format": "byte", + "title": "consensus info" + }, + "proposer_address": { + "type": "string", + "format": "byte" + } + }, + "description": "Header defines the structure of a block header." + }, + "commit": { + "type": "object", + "properties": { + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "signatures": { + "type": "array", + "items": { + "type": "object", + "properties": { + "block_id_flag": { + "type": "string", + "enum": [ + "BLOCK_ID_FLAG_UNKNOWN", + "BLOCK_ID_FLAG_ABSENT", + "BLOCK_ID_FLAG_COMMIT", + "BLOCK_ID_FLAG_NIL" + ], + "default": "BLOCK_ID_FLAG_UNKNOWN", + "title": "BlockIdFlag indicates which BlcokID the signature is for" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "CommitSig is a part of the Vote included in a Commit." + } + } + }, + "description": "Commit contains the evidence that a block was committed by a set of validators." + } + } + }, + "validator_set": { + "type": "object", + "properties": { + "validators": { + "type": "array", + "items": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } + } + } + }, + "proposer": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } + } + }, + "total_voting_power": { + "type": "string", + "format": "int64" + } + } + } + } + }, + "common_height": { + "type": "string", + "format": "int64" + }, + "byzantine_validators": { + "type": "array", + "items": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } + } + } + }, + "total_voting_power": { + "type": "string", + "format": "int64" + }, + "timestamp": { + "type": "string", + "format": "date-time" + } + }, + "description": "LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client." + } + } + } + } + } + }, + "last_commit": { "type": "object", "properties": { - "block_height": { + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "signatures": { + "type": "array", + "items": { + "type": "object", + "properties": { + "block_id_flag": { + "type": "string", + "enum": [ + "BLOCK_ID_FLAG_UNKNOWN", + "BLOCK_ID_FLAG_ABSENT", + "BLOCK_ID_FLAG_COMMIT", + "BLOCK_ID_FLAG_NIL" + ], + "default": "BLOCK_ID_FLAG_UNKNOWN", + "title": "BlockIdFlag indicates which BlcokID the signature is for" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "CommitSig is a part of the Vote included in a Commit." + } + } + }, + "description": "Commit contains the evidence that a block was committed by a set of validators." + } + } + }, + "sdk_block": { + "title": "Since: cosmos-sdk 0.47", + "type": "object", + "properties": { + "header": { + "type": "object", + "properties": { + "version": { + "title": "basic block info", + "type": "object", + "properties": { + "block": { + "type": "string", + "format": "uint64" + }, + "app": { + "type": "string", + "format": "uint64" + } + }, + "description": "Consensus captures the consensus rules for processing a block in the blockchain,\nincluding all blockchain data structures and the rules of the application's\nstate transition machine." + }, + "chain_id": { + "type": "string" + }, + "height": { + "type": "string", + "format": "int64" + }, + "time": { + "type": "string", + "format": "date-time" + }, + "last_block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "last_commit_hash": { "type": "string", - "format": "int64" + "format": "byte", + "title": "hashes of block data" }, - "validators": { + "data_hash": { + "type": "string", + "format": "byte" + }, + "validators_hash": { + "type": "string", + "format": "byte", + "title": "hashes from the app output from the prev block" + }, + "next_validators_hash": { + "type": "string", + "format": "byte" + }, + "consensus_hash": { + "type": "string", + "format": "byte" + }, + "app_hash": { + "type": "string", + "format": "byte" + }, + "last_results_hash": { + "type": "string", + "format": "byte" + }, + "evidence_hash": { + "type": "string", + "format": "byte", + "title": "consensus info" + }, + "proposer_address": { + "type": "string", + "description": "proposer_address is the original block proposer address, formatted as a Bech32 string.\nIn Tendermint, this type is `bytes`, but in the SDK, we convert it to a Bech32 string\nfor better UX." + } + }, + "description": "Header defines the structure of a Tendermint block header." + }, + "data": { + "type": "object", + "properties": { + "txs": { + "type": "array", + "items": { + "type": "string", + "format": "byte" + }, + "description": "Txs that will be applied by state @ block.Height+1.\nNOTE: not all txs here are valid. We're just agreeing on the order first.\nThis means that block.AppHash does not include these txs." + } + }, + "title": "Data contains the set of transactions included in the block" + }, + "evidence": { + "type": "object", + "properties": { + "evidence": { "type": "array", "items": { "type": "object", "properties": { - "address": { - "type": "string" + "duplicate_vote_evidence": { + "type": "object", + "properties": { + "vote_a": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "SIGNED_MSG_TYPE_UNKNOWN", + "SIGNED_MSG_TYPE_PREVOTE", + "SIGNED_MSG_TYPE_PRECOMMIT", + "SIGNED_MSG_TYPE_PROPOSAL" + ], + "default": "SIGNED_MSG_TYPE_UNKNOWN", + "description": "SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_PREVOTE: Votes\n - SIGNED_MSG_TYPE_PROPOSAL: Proposals" + }, + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "validator_index": { + "type": "integer", + "format": "int32" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "Vote represents a prevote, precommit, or commit vote from validators for\nconsensus." + }, + "vote_b": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "SIGNED_MSG_TYPE_UNKNOWN", + "SIGNED_MSG_TYPE_PREVOTE", + "SIGNED_MSG_TYPE_PRECOMMIT", + "SIGNED_MSG_TYPE_PROPOSAL" + ], + "default": "SIGNED_MSG_TYPE_UNKNOWN", + "description": "SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_PREVOTE: Votes\n - SIGNED_MSG_TYPE_PROPOSAL: Proposals" + }, + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "validator_index": { + "type": "integer", + "format": "int32" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "Vote represents a prevote, precommit, or commit vote from validators for\nconsensus." + }, + "total_voting_power": { + "type": "string", + "format": "int64" + }, + "validator_power": { + "type": "string", + "format": "int64" + }, + "timestamp": { + "type": "string", + "format": "date-time" + } + }, + "description": "DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes." }, - "pub_key": { + "light_client_attack_evidence": { "type": "object", "properties": { - "type_url": { + "conflicting_block": { + "type": "object", + "properties": { + "signed_header": { + "type": "object", + "properties": { + "header": { + "type": "object", + "properties": { + "version": { + "title": "basic block info", + "type": "object", + "properties": { + "block": { + "type": "string", + "format": "uint64" + }, + "app": { + "type": "string", + "format": "uint64" + } + }, + "description": "Consensus captures the consensus rules for processing a block in the blockchain,\nincluding all blockchain data structures and the rules of the application's\nstate transition machine." + }, + "chain_id": { + "type": "string" + }, + "height": { + "type": "string", + "format": "int64" + }, + "time": { + "type": "string", + "format": "date-time" + }, + "last_block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "last_commit_hash": { + "type": "string", + "format": "byte", + "title": "hashes of block data" + }, + "data_hash": { + "type": "string", + "format": "byte" + }, + "validators_hash": { + "type": "string", + "format": "byte", + "title": "hashes from the app output from the prev block" + }, + "next_validators_hash": { + "type": "string", + "format": "byte" + }, + "consensus_hash": { + "type": "string", + "format": "byte" + }, + "app_hash": { + "type": "string", + "format": "byte" + }, + "last_results_hash": { + "type": "string", + "format": "byte" + }, + "evidence_hash": { + "type": "string", + "format": "byte", + "title": "consensus info" + }, + "proposer_address": { + "type": "string", + "format": "byte" + } + }, + "description": "Header defines the structure of a block header." + }, + "commit": { + "type": "object", + "properties": { + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "signatures": { + "type": "array", + "items": { + "type": "object", + "properties": { + "block_id_flag": { + "type": "string", + "enum": [ + "BLOCK_ID_FLAG_UNKNOWN", + "BLOCK_ID_FLAG_ABSENT", + "BLOCK_ID_FLAG_COMMIT", + "BLOCK_ID_FLAG_NIL" + ], + "default": "BLOCK_ID_FLAG_UNKNOWN", + "title": "BlockIdFlag indicates which BlcokID the signature is for" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "CommitSig is a part of the Vote included in a Commit." + } + } + }, + "description": "Commit contains the evidence that a block was committed by a set of validators." + } + } + }, + "validator_set": { + "type": "object", + "properties": { + "validators": { + "type": "array", + "items": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } + } + } + }, + "proposer": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } + } + }, + "total_voting_power": { + "type": "string", + "format": "int64" + } + } + } + } + }, + "common_height": { "type": "string", - "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + "format": "int64" }, - "value": { + "byzantine_validators": { + "type": "array", + "items": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } + } + } + }, + "total_voting_power": { "type": "string", - "format": "byte", - "description": "Must be a valid serialized protocol buffer of the above specified type." - } - }, - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" - }, - "voting_power": { - "type": "string", - "format": "int64" - }, - "proposer_priority": { - "type": "string", - "format": "int64" + "format": "int64" + }, + "timestamp": { + "type": "string", + "format": "date-time" + } + }, + "description": "LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client." } - }, - "description": "Validator is the type for the validator-set." - } - }, - "pagination": { - "description": "pagination defines an pagination for the response.", - "type": "object", - "properties": { - "next_key": { - "type": "string", - "format": "byte", - "title": "next_key is the key to be passed to PageRequest.key to\nquery the next page most efficiently" - }, - "total": { - "type": "string", - "format": "uint64", - "title": "total is total number of results available if PageRequest.count_total\nwas set, its value is undefined otherwise" } } } - }, - "description": "GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method." - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "type": "object", - "properties": { - "error": { - "type": "string" - }, - "code": { - "type": "integer", - "format": "int32" - }, - "message": { - "type": "string" - }, - "details": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type_url": { - "type": "string", - "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." - }, - "value": { - "type": "string", - "format": "byte", - "description": "Must be a valid serialized protocol buffer of the above specified type." - } - }, - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" - } - } } - } - } - }, - "parameters": [ - { - "name": "pagination.key", - "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", - "in": "query", - "required": false, - "type": "string", - "format": "byte" - }, - { - "name": "pagination.offset", - "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", - "in": "query", - "required": false, - "type": "string", - "format": "uint64" - }, - { - "name": "pagination.limit", - "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", - "in": "query", - "required": false, - "type": "string", - "format": "uint64" - }, - { - "name": "pagination.count_total", - "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", - "in": "query", - "required": false, - "type": "boolean" - }, - { - "name": "pagination.reverse", - "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", - "in": "query", - "required": false, - "type": "boolean" - } - ], - "tags": [ - "Service" - ] - } - }, - "/cosmos/base/tendermint/v1beta1/validatorsets/{height}": { - "get": { - "summary": "GetValidatorSetByHeight queries validator-set at a given height.", - "operationId": "GetValidatorSetByHeight", - "responses": { - "200": { - "description": "A successful response.", - "schema": { + }, + "last_commit": { "type": "object", "properties": { - "block_height": { + "height": { "type": "string", "format": "int64" }, - "validators": { - "type": "array", - "items": { - "type": "object", - "properties": { - "address": { - "type": "string" - }, - "pub_key": { - "type": "object", - "properties": { - "type_url": { - "type": "string", - "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." - }, - "value": { - "type": "string", - "format": "byte", - "description": "Must be a valid serialized protocol buffer of the above specified type." - } - }, - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" - }, - "voting_power": { - "type": "string", - "format": "int64" - }, - "proposer_priority": { - "type": "string", - "format": "int64" - } - }, - "description": "Validator is the type for the validator-set." - } + "round": { + "type": "integer", + "format": "int32" }, - "pagination": { - "description": "pagination defines an pagination for the response.", + "block_id": { "type": "object", "properties": { - "next_key": { + "hash": { "type": "string", - "format": "byte", - "title": "next_key is the key to be passed to PageRequest.key to\nquery the next page most efficiently" + "format": "byte" }, - "total": { - "type": "string", - "format": "uint64", - "title": "total is total number of results available if PageRequest.count_total\nwas set, its value is undefined otherwise" + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" } - } - } - }, - "description": "GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method." - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "type": "object", - "properties": { - "error": { - "type": "string" - }, - "code": { - "type": "integer", - "format": "int32" - }, - "message": { - "type": "string" + }, + "title": "BlockID" }, - "details": { + "signatures": { "type": "array", "items": { "type": "object", "properties": { - "type_url": { - "type": "string", - "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." - }, - "value": { - "type": "string", - "format": "byte", - "description": "Must be a valid serialized protocol buffer of the above specified type." - } - }, - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" - } - } - } - } - } - }, - "parameters": [ - { - "name": "height", - "in": "path", - "required": true, - "type": "string", - "format": "int64" - }, - { - "name": "pagination.key", - "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", - "in": "query", - "required": false, - "type": "string", - "format": "byte" - }, - { - "name": "pagination.offset", - "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", - "in": "query", - "required": false, - "type": "string", - "format": "uint64" - }, - { - "name": "pagination.limit", - "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", - "in": "query", - "required": false, - "type": "string", - "format": "uint64" - }, - { - "name": "pagination.count_total", - "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", - "in": "query", - "required": false, - "type": "boolean" + "block_id_flag": { + "type": "string", + "enum": [ + "BLOCK_ID_FLAG_UNKNOWN", + "BLOCK_ID_FLAG_ABSENT", + "BLOCK_ID_FLAG_COMMIT", + "BLOCK_ID_FLAG_NIL" + ], + "default": "BLOCK_ID_FLAG_UNKNOWN", + "title": "BlockIdFlag indicates which BlcokID the signature is for" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "CommitSig is a part of the Vote included in a Commit." + } + } + }, + "description": "Commit contains the evidence that a block was committed by a set of validators." + } }, - { - "name": "pagination.reverse", - "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", - "in": "query", - "required": false, - "type": "boolean" - } - ], - "tags": [ - "Service" - ] - } - } - }, - "definitions": { - "cosmos.base.query.v1beta1.PageRequest": { - "type": "object", - "properties": { - "key": { - "type": "string", - "format": "byte", - "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set." - }, - "offset": { - "type": "string", - "format": "uint64", - "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set." - }, - "limit": { - "type": "string", - "format": "uint64", - "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app." - }, - "count_total": { - "type": "boolean", - "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set." - }, - "reverse": { - "type": "boolean", - "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43" - } - }, - "description": "message SomeRequest {\n Foo some_parameter = 1;\n PageRequest pagination = 2;\n }", - "title": "PageRequest is to be embedded in gRPC request messages for efficient\npagination. Ex:" - }, - "cosmos.base.query.v1beta1.PageResponse": { - "type": "object", - "properties": { - "next_key": { - "type": "string", - "format": "byte", - "title": "next_key is the key to be passed to PageRequest.key to\nquery the next page most efficiently" - }, - "total": { - "type": "string", - "format": "uint64", - "title": "total is total number of results available if PageRequest.count_total\nwas set, its value is undefined otherwise" + "description": "Block is tendermint type Block, with the Header proposer address\nfield converted to bech32 string." } }, - "description": "PageResponse is to be embedded in gRPC response messages where the\ncorresponding request message has used PageRequest.\n\n message SomeResponse {\n repeated Bar results = 1;\n PageResponse page = 2;\n }" + "description": "GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method." }, - "cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse": { + "cosmos.base.tendermint.v1beta1.GetLatestBlockResponse": { "type": "object", "properties": { "block_id": { @@ -2068,6 +5539,7 @@ "title": "BlockID" }, "block": { + "title": "Deprecated: please use `sdk_block` instead", "type": "object", "properties": { "header": { @@ -2163,7 +5635,7 @@ "format": "byte" } }, - "description": "Header defines the structure of a Tendermint block header." + "description": "Header defines the structure of a block header." }, "data": { "type": "object", @@ -2437,7 +5909,7 @@ "format": "byte" } }, - "description": "Header defines the structure of a Tendermint block header." + "description": "Header defines the structure of a block header." }, "commit": { "type": "object", @@ -2535,7 +6007,7 @@ "format": "byte" } }, - "title": "PublicKey defines the keys available for use with Tendermint Validators" + "title": "PublicKey defines the keys available for use with Validators" }, "voting_power": { "type": "string", @@ -2567,7 +6039,7 @@ "format": "byte" } }, - "title": "PublicKey defines the keys available for use with Tendermint Validators" + "title": "PublicKey defines the keys available for use with Validators" }, "voting_power": { "type": "string", @@ -2612,7 +6084,7 @@ "format": "byte" } }, - "title": "PublicKey defines the keys available for use with Tendermint Validators" + "title": "PublicKey defines the keys available for use with Validators" }, "voting_power": { "type": "string", @@ -2712,38 +6184,9 @@ "description": "Commit contains the evidence that a block was committed by a set of validators." } } - } - }, - "description": "GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method." - }, - "cosmos.base.tendermint.v1beta1.GetLatestBlockResponse": { - "type": "object", - "properties": { - "block_id": { - "type": "object", - "properties": { - "hash": { - "type": "string", - "format": "byte" - }, - "part_set_header": { - "type": "object", - "properties": { - "total": { - "type": "integer", - "format": "int64" - }, - "hash": { - "type": "string", - "format": "byte" - } - }, - "title": "PartsetHeader" - } - }, - "title": "BlockID" }, - "block": { + "sdk_block": { + "title": "Since: cosmos-sdk 0.47", "type": "object", "properties": { "header": { @@ -2836,7 +6279,7 @@ }, "proposer_address": { "type": "string", - "format": "byte" + "description": "proposer_address is the original block proposer address, formatted as a Bech32 string.\nIn Tendermint, this type is `bytes`, but in the SDK, we convert it to a Bech32 string\nfor better UX." } }, "description": "Header defines the structure of a Tendermint block header." @@ -3113,7 +6556,7 @@ "format": "byte" } }, - "description": "Header defines the structure of a Tendermint block header." + "description": "Header defines the structure of a block header." }, "commit": { "type": "object", @@ -3211,7 +6654,7 @@ "format": "byte" } }, - "title": "PublicKey defines the keys available for use with Tendermint Validators" + "title": "PublicKey defines the keys available for use with Validators" }, "voting_power": { "type": "string", @@ -3243,7 +6686,7 @@ "format": "byte" } }, - "title": "PublicKey defines the keys available for use with Tendermint Validators" + "title": "PublicKey defines the keys available for use with Validators" }, "voting_power": { "type": "string", @@ -3288,7 +6731,7 @@ "format": "byte" } }, - "title": "PublicKey defines the keys available for use with Tendermint Validators" + "title": "PublicKey defines the keys available for use with Validators" }, "voting_power": { "type": "string", @@ -3387,7 +6830,8 @@ }, "description": "Commit contains the evidence that a block was committed by a set of validators." } - } + }, + "description": "Block is tendermint type Block, with the Header proposer address\nfield converted to bech32 string." } }, "description": "GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method." @@ -3420,7 +6864,7 @@ "description": "Must be a valid serialized protocol buffer of the above specified type." } }, - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" }, "voting_power": { "type": "string", @@ -3441,7 +6885,7 @@ "next_key": { "type": "string", "format": "byte", - "title": "next_key is the key to be passed to PageRequest.key to\nquery the next page most efficiently" + "description": "next_key is the key to be passed to PageRequest.key to\nquery the next page most efficiently. It will be empty if\nthere are no more results." }, "total": { "type": "string", @@ -3558,7 +7002,7 @@ "description": "VersionInfo is the type for the GetNodeInfoResponse message." } }, - "description": "GetNodeInfoResponse is the request type for the Query/GetNodeInfo RPC method." + "description": "GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method." }, "cosmos.base.tendermint.v1beta1.GetSyncingResponse": { "type": "object", @@ -3597,7 +7041,7 @@ "description": "Must be a valid serialized protocol buffer of the above specified type." } }, - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" }, "voting_power": { "type": "string", @@ -3618,7 +7062,7 @@ "next_key": { "type": "string", "format": "byte", - "title": "next_key is the key to be passed to PageRequest.key to\nquery the next page most efficiently" + "description": "next_key is the key to be passed to PageRequest.key to\nquery the next page most efficiently. It will be empty if\nthere are no more results." }, "total": { "type": "string", @@ -3630,6 +7074,101 @@ }, "description": "GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method." }, + "cosmos.base.tendermint.v1beta1.Header": { + "type": "object", + "properties": { + "version": { + "title": "basic block info", + "type": "object", + "properties": { + "block": { + "type": "string", + "format": "uint64" + }, + "app": { + "type": "string", + "format": "uint64" + } + }, + "description": "Consensus captures the consensus rules for processing a block in the blockchain,\nincluding all blockchain data structures and the rules of the application's\nstate transition machine." + }, + "chain_id": { + "type": "string" + }, + "height": { + "type": "string", + "format": "int64" + }, + "time": { + "type": "string", + "format": "date-time" + }, + "last_block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "last_commit_hash": { + "type": "string", + "format": "byte", + "title": "hashes of block data" + }, + "data_hash": { + "type": "string", + "format": "byte" + }, + "validators_hash": { + "type": "string", + "format": "byte", + "title": "hashes from the app output from the prev block" + }, + "next_validators_hash": { + "type": "string", + "format": "byte" + }, + "consensus_hash": { + "type": "string", + "format": "byte" + }, + "app_hash": { + "type": "string", + "format": "byte" + }, + "last_results_hash": { + "type": "string", + "format": "byte" + }, + "evidence_hash": { + "type": "string", + "format": "byte", + "title": "consensus info" + }, + "proposer_address": { + "type": "string", + "description": "proposer_address is the original block proposer address, formatted as a Bech32 string.\nIn Tendermint, this type is `bytes`, but in the SDK, we convert it to a Bech32 string\nfor better UX." + } + }, + "description": "Header defines the structure of a Tendermint block header." + }, "cosmos.base.tendermint.v1beta1.Module": { "type": "object", "properties": { @@ -3648,6 +7187,49 @@ }, "title": "Module is the type for VersionInfo" }, + "cosmos.base.tendermint.v1beta1.ProofOp": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "key": { + "type": "string", + "format": "byte" + }, + "data": { + "type": "string", + "format": "byte" + } + }, + "description": "ProofOp defines an operation used for calculating Merkle root. The data could\nbe arbitrary format, providing necessary data for example neighbouring node\nhash.\n\nNote: This type is a duplicate of the ProofOp proto type defined in Tendermint." + }, + "cosmos.base.tendermint.v1beta1.ProofOps": { + "type": "object", + "properties": { + "ops": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "key": { + "type": "string", + "format": "byte" + }, + "data": { + "type": "string", + "format": "byte" + } + }, + "description": "ProofOp defines an operation used for calculating Merkle root. The data could\nbe arbitrary format, providing necessary data for example neighbouring node\nhash.\n\nNote: This type is a duplicate of the ProofOp proto type defined in Tendermint." + } + } + }, + "description": "ProofOps is Merkle proof defined by the list of ProofOps.\n\nNote: This type is a duplicate of the ProofOps proto type defined in Tendermint." + }, "cosmos.base.tendermint.v1beta1.Validator": { "type": "object", "properties": { @@ -3667,7 +7249,7 @@ "description": "Must be a valid serialized protocol buffer of the above specified type." } }, - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" }, "voting_power": { "type": "string", @@ -3742,7 +7324,7 @@ "description": "Must be a valid serialized protocol buffer of the above specified type." } }, - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" }, "grpc.gateway.runtime.Error": { "type": "object", @@ -3772,7 +7354,7 @@ "description": "Must be a valid serialized protocol buffer of the above specified type." } }, - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" } } } @@ -3789,7 +7371,7 @@ "format": "byte" } }, - "title": "PublicKey defines the keys available for use with Tendermint Validators" + "title": "PublicKey defines the keys available for use with Validators" }, "tendermint.p2p.DefaultNodeInfo": { "type": "object", @@ -3967,7 +7549,7 @@ "format": "byte" } }, - "description": "Header defines the structure of a Tendermint block header." + "description": "Header defines the structure of a block header." }, "data": { "type": "object", @@ -4241,7 +7823,7 @@ "format": "byte" } }, - "description": "Header defines the structure of a Tendermint block header." + "description": "Header defines the structure of a block header." }, "commit": { "type": "object", @@ -4339,7 +7921,7 @@ "format": "byte" } }, - "title": "PublicKey defines the keys available for use with Tendermint Validators" + "title": "PublicKey defines the keys available for use with Validators" }, "voting_power": { "type": "string", @@ -4371,7 +7953,7 @@ "format": "byte" } }, - "title": "PublicKey defines the keys available for use with Tendermint Validators" + "title": "PublicKey defines the keys available for use with Validators" }, "voting_power": { "type": "string", @@ -4416,7 +7998,7 @@ "format": "byte" } }, - "title": "PublicKey defines the keys available for use with Tendermint Validators" + "title": "PublicKey defines the keys available for use with Validators" }, "voting_power": { "type": "string", @@ -5066,7 +8648,7 @@ "format": "byte" } }, - "description": "Header defines the structure of a Tendermint block header." + "description": "Header defines the structure of a block header." }, "commit": { "type": "object", @@ -5164,7 +8746,7 @@ "format": "byte" } }, - "title": "PublicKey defines the keys available for use with Tendermint Validators" + "title": "PublicKey defines the keys available for use with Validators" }, "voting_power": { "type": "string", @@ -5196,7 +8778,7 @@ "format": "byte" } }, - "title": "PublicKey defines the keys available for use with Tendermint Validators" + "title": "PublicKey defines the keys available for use with Validators" }, "voting_power": { "type": "string", @@ -5241,7 +8823,7 @@ "format": "byte" } }, - "title": "PublicKey defines the keys available for use with Tendermint Validators" + "title": "PublicKey defines the keys available for use with Validators" }, "voting_power": { "type": "string", @@ -5525,7 +9107,7 @@ "format": "byte" } }, - "description": "Header defines the structure of a Tendermint block header." + "description": "Header defines the structure of a block header." }, "commit": { "type": "object", @@ -5623,7 +9205,7 @@ "format": "byte" } }, - "title": "PublicKey defines the keys available for use with Tendermint Validators" + "title": "PublicKey defines the keys available for use with Validators" }, "voting_power": { "type": "string", @@ -5655,7 +9237,7 @@ "format": "byte" } }, - "title": "PublicKey defines the keys available for use with Tendermint Validators" + "title": "PublicKey defines the keys available for use with Validators" }, "voting_power": { "type": "string", @@ -5700,7 +9282,7 @@ "format": "byte" } }, - "title": "PublicKey defines the keys available for use with Tendermint Validators" + "title": "PublicKey defines the keys available for use with Validators" }, "voting_power": { "type": "string", @@ -5822,7 +9404,7 @@ "format": "byte" } }, - "description": "Header defines the structure of a Tendermint block header." + "description": "Header defines the structure of a block header." }, "tendermint.types.LightBlock": { "type": "object", @@ -5923,7 +9505,7 @@ "format": "byte" } }, - "description": "Header defines the structure of a Tendermint block header." + "description": "Header defines the structure of a block header." }, "commit": { "type": "object", @@ -6021,7 +9603,7 @@ "format": "byte" } }, - "title": "PublicKey defines the keys available for use with Tendermint Validators" + "title": "PublicKey defines the keys available for use with Validators" }, "voting_power": { "type": "string", @@ -6053,7 +9635,7 @@ "format": "byte" } }, - "title": "PublicKey defines the keys available for use with Tendermint Validators" + "title": "PublicKey defines the keys available for use with Validators" }, "voting_power": { "type": "string", @@ -6175,7 +9757,7 @@ "format": "byte" } }, - "description": "Header defines the structure of a Tendermint block header." + "description": "Header defines the structure of a block header." }, "commit": { "type": "object", @@ -6273,7 +9855,7 @@ "format": "byte" } }, - "title": "PublicKey defines the keys available for use with Tendermint Validators" + "title": "PublicKey defines the keys available for use with Validators" }, "voting_power": { "type": "string", @@ -6305,7 +9887,7 @@ "format": "byte" } }, - "title": "PublicKey defines the keys available for use with Tendermint Validators" + "title": "PublicKey defines the keys available for use with Validators" }, "voting_power": { "type": "string", @@ -6350,7 +9932,7 @@ "format": "byte" } }, - "title": "PublicKey defines the keys available for use with Tendermint Validators" + "title": "PublicKey defines the keys available for use with Validators" }, "voting_power": { "type": "string", @@ -6484,7 +10066,7 @@ "format": "byte" } }, - "description": "Header defines the structure of a Tendermint block header." + "description": "Header defines the structure of a block header." }, "commit": { "type": "object", @@ -6588,7 +10170,7 @@ "format": "byte" } }, - "title": "PublicKey defines the keys available for use with Tendermint Validators" + "title": "PublicKey defines the keys available for use with Validators" }, "voting_power": { "type": "string", @@ -6624,7 +10206,7 @@ "format": "byte" } }, - "title": "PublicKey defines the keys available for use with Tendermint Validators" + "title": "PublicKey defines the keys available for use with Validators" }, "voting_power": { "type": "string", @@ -6656,7 +10238,7 @@ "format": "byte" } }, - "title": "PublicKey defines the keys available for use with Tendermint Validators" + "title": "PublicKey defines the keys available for use with Validators" }, "voting_power": { "type": "string", diff --git a/docs/static/cosmos-tx-openapi.json b/docs/static/cosmos-tx-openapi.json index dbe78fb36..d0871922a 100644 --- a/docs/static/cosmos-tx-openapi.json +++ b/docs/static/cosmos-tx-openapi.json @@ -2,86 +2,98 @@ "swagger": "2.0", "info": { "title": "cosmos/tx/v1beta1/service.proto", - "version": "v0.44.4", + "version": "v0.47.8", "description": "A REST interface for tx service endpoints" }, "paths": { - "/cosmos/tx/v1beta1/simulate": { + "/cosmos/tx/v1beta1/decode": { "post": { - "summary": "Simulate simulates executing a transaction for estimating gas usage.", - "operationId": "Simulate", + "summary": "TxDecode decodes the transaction.", + "description": "Since: cosmos-sdk 0.47", + "operationId": "TxDecode", "responses": { "200": { "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.tx.v1beta1.TxDecodeResponse" + } + }, + "default": { + "description": "An unexpected error response.", "schema": { "type": "object", "properties": { - "gas_info": { - "description": "gas_info is the information about gas used in the simulation.", - "type": "object", - "properties": { - "gas_wanted": { - "type": "string", - "format": "uint64", - "description": "GasWanted is the maximum units of work we allow this tx to perform." - }, - "gas_used": { - "type": "string", - "format": "uint64", - "description": "GasUsed is the amount of gas actually consumed." - } - } + "error": { + "type": "string" }, - "result": { - "description": "result is the result of the simulation.", - "type": "object", - "properties": { - "data": { - "type": "string", - "format": "byte", - "description": "Data is any data returned from message or handler execution. It MUST be\nlength prefixed in order to separate data from multiple message executions." - }, - "log": { - "type": "string", - "description": "Log contains the log information from message or handler execution." - }, - "events": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "attributes": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string", - "format": "byte" - }, - "value": { - "type": "string", - "format": "byte" - }, - "index": { - "type": "boolean" - } - }, - "description": "EventAttribute is a single key-value pair, associated with an event." - } - } - }, - "description": "Event allows application developers to attach additional information to\nResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx.\nLater, transactions may be queried using these events." + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." }, - "description": "Events contains a slice of Event objects that were emitted during message\nor handler execution." - } + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } + }, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" } } + } + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "type": "object", + "properties": { + "tx_bytes": { + "type": "string", + "format": "byte", + "description": "tx_bytes is the raw transaction." + } }, - "description": "SimulateResponse is the response type for the\nService.SimulateRPC method." + "description": "TxDecodeRequest is the request type for the Service.TxDecode\nRPC method.\n\nSince: cosmos-sdk 0.47" + } + } + ], + "tags": [ + "Service" + ] + } + }, + "/cosmos/tx/v1beta1/decode/amino": { + "post": { + "summary": "TxDecodeAmino decodes an Amino transaction from encoded bytes to JSON.", + "description": "Since: cosmos-sdk 0.47", + "operationId": "TxDecodeAmino", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "type": "object", + "properties": { + "amino_json": { + "type": "string" + } + }, + "description": "TxDecodeAminoResponse is the response type for the Service.TxDecodeAmino\nRPC method.\n\nSince: cosmos-sdk 0.47" } }, "default": { @@ -114,7 +126,7 @@ "description": "Must be a valid serialized protocol buffer of the above specified type." } }, - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" } } } @@ -127,7 +139,14 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/cosmos.tx.v1beta1.SimulateRequest" + "type": "object", + "properties": { + "amino_binary": { + "type": "string", + "format": "byte" + } + }, + "description": "TxDecodeAminoRequest is the request type for the Service.TxDecodeAmino\nRPC method.\n\nSince: cosmos-sdk 0.47" } } ], @@ -136,15 +155,24 @@ ] } }, - "/cosmos/tx/v1beta1/txs": { - "get": { - "summary": "GetTxsEvent fetches txs by event.", - "operationId": "GetTxsEvent", + "/cosmos/tx/v1beta1/encode": { + "post": { + "summary": "TxEncode encodes the transaction.", + "description": "Since: cosmos-sdk 0.47", + "operationId": "TxEncode", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/cosmos.tx.v1beta1.GetTxsEventResponse" + "type": "object", + "properties": { + "tx_bytes": { + "type": "string", + "format": "byte", + "description": "tx_bytes is the encoded transaction bytes." + } + }, + "description": "TxEncodeResponse is the response type for the\nService.TxEncode method.\n\nSince: cosmos-sdk 0.47" } }, "default": { @@ -177,7 +205,7 @@ "description": "Must be a valid serialized protocol buffer of the above specified type." } }, - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" } } } @@ -186,193 +214,189 @@ }, "parameters": [ { - "name": "events", - "description": "events is the list of transaction event type.", - "in": "query", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "pagination.key", - "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", - "in": "query", - "required": false, - "type": "string", - "format": "byte" - }, - { - "name": "pagination.offset", - "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", - "in": "query", - "required": false, - "type": "string", - "format": "uint64" - }, - { - "name": "pagination.limit", - "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", - "in": "query", - "required": false, - "type": "string", - "format": "uint64" - }, - { - "name": "pagination.count_total", - "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", - "in": "query", - "required": false, - "type": "boolean" - }, - { - "name": "pagination.reverse", - "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", - "in": "query", - "required": false, - "type": "boolean" - }, - { - "name": "order_by", - "description": " - ORDER_BY_UNSPECIFIED: ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case.\n - ORDER_BY_ASC: ORDER_BY_ASC defines ascending order\n - ORDER_BY_DESC: ORDER_BY_DESC defines descending order", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "ORDER_BY_UNSPECIFIED", - "ORDER_BY_ASC", - "ORDER_BY_DESC" - ], - "default": "ORDER_BY_UNSPECIFIED" + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/cosmos.tx.v1beta1.TxEncodeRequest" + } } ], "tags": [ "Service" ] - }, + } + }, + "/cosmos/tx/v1beta1/encode/amino": { "post": { - "summary": "BroadcastTx broadcast transaction.", - "operationId": "BroadcastTx", + "summary": "TxEncodeAmino encodes an Amino transaction from JSON to encoded bytes.", + "description": "Since: cosmos-sdk 0.47", + "operationId": "TxEncodeAmino", "responses": { "200": { "description": "A successful response.", "schema": { "type": "object", "properties": { - "tx_response": { - "type": "object", - "properties": { - "height": { - "type": "string", - "format": "int64", - "title": "The block height" + "amino_binary": { + "type": "string", + "format": "byte" + } + }, + "description": "TxEncodeAminoResponse is the response type for the Service.TxEncodeAmino\nRPC method.\n\nSince: cosmos-sdk 0.47" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "type": "object", + "properties": { + "error": { + "type": "string" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + }, + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } }, - "txhash": { + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } + } + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "type": "object", + "properties": { + "amino_json": { + "type": "string" + } + }, + "description": "TxEncodeAminoRequest is the request type for the Service.TxEncodeAmino\nRPC method.\n\nSince: cosmos-sdk 0.47" + } + } + ], + "tags": [ + "Service" + ] + } + }, + "/cosmos/tx/v1beta1/simulate": { + "post": { + "summary": "Simulate simulates executing a transaction for estimating gas usage.", + "operationId": "Simulate", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "type": "object", + "properties": { + "gas_info": { + "description": "gas_info is the information about gas used in the simulation.", + "type": "object", + "properties": { + "gas_wanted": { "type": "string", - "description": "The transaction hash." + "format": "uint64", + "description": "GasWanted is the maximum units of work we allow this tx to perform." }, - "codespace": { + "gas_used": { "type": "string", - "title": "Namespace for the Code" - }, - "code": { - "type": "integer", - "format": "int64", - "description": "Response code." - }, + "format": "uint64", + "description": "GasUsed is the amount of gas actually consumed." + } + } + }, + "result": { + "description": "result is the result of the simulation.", + "type": "object", + "properties": { "data": { "type": "string", - "description": "Result bytes, if any." + "format": "byte", + "description": "Data is any data returned from message or handler execution. It MUST be\nlength prefixed in order to separate data from multiple message executions.\nDeprecated. This field is still populated, but prefer msg_response instead\nbecause it also contains the Msg response typeURL." }, - "raw_log": { + "log": { "type": "string", - "description": "The output of the application's logger (raw string). May be\nnon-deterministic." + "description": "Log contains the log information from message or handler execution." }, - "logs": { + "events": { "type": "array", "items": { "type": "object", "properties": { - "msg_index": { - "type": "integer", - "format": "int64" - }, - "log": { + "type": { "type": "string" }, - "events": { + "attributes": { "type": "array", "items": { "type": "object", "properties": { - "type": { + "key": { "type": "string" }, - "attributes": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "description": "Attribute defines an attribute wrapper where the key and value are\nstrings instead of raw bytes." - } + "value": { + "type": "string" + }, + "index": { + "type": "boolean" } }, - "description": "StringEvent defines en Event object wrapper where all the attributes\ncontain key/value pairs that are strings instead of raw bytes." - }, - "description": "Events contains a slice of Event objects that were emitted during some\nexecution." + "description": "EventAttribute is a single key-value pair, associated with an event." + } } }, - "description": "ABCIMessageLog defines a structure containing an indexed tx ABCI message log." + "description": "Event allows application developers to attach additional information to\nResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx.\nLater, transactions may be queried using these events." }, - "description": "The output of the application's logger (typed). May be non-deterministic." - }, - "info": { - "type": "string", - "description": "Additional information. May be non-deterministic." - }, - "gas_wanted": { - "type": "string", - "format": "int64", - "description": "Amount of gas requested for transaction." - }, - "gas_used": { - "type": "string", - "format": "int64", - "description": "Amount of gas consumed by transaction." + "description": "Events contains a slice of Event objects that were emitted during message\nor handler execution." }, - "tx": { - "type": "object", - "properties": { - "type_url": { - "type": "string", - "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + "msg_responses": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + }, + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } }, - "value": { - "type": "string", - "format": "byte", - "description": "Must be a valid serialized protocol buffer of the above specified type." - } + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" }, - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" - }, - "timestamp": { - "type": "string", - "description": "Time of the previous block. For heights > 1, it's the weighted median of\nthe timestamps of the valid votes in the block.LastCommit. For height == 1,\nit's genesis time." + "description": "msg_responses contains the Msg handler responses type packed in Anys.\n\nSince: cosmos-sdk 0.46" } - }, - "description": "TxResponse defines a structure containing relevant tx data and metadata. The\ntags are stringified and the log is JSON decoded." + } } }, - "description": "BroadcastTxResponse is the response type for the\nService.BroadcastTx method." + "description": "SimulateResponse is the response type for the\nService.SimulateRPC method." } }, "default": { @@ -405,7 +429,7 @@ "description": "Must be a valid serialized protocol buffer of the above specified type." } }, - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" } } } @@ -418,26 +442,7 @@ "in": "body", "required": true, "schema": { - "type": "object", - "properties": { - "tx_bytes": { - "type": "string", - "format": "byte", - "description": "tx_bytes is the raw transaction." - }, - "mode": { - "type": "string", - "enum": [ - "BROADCAST_MODE_UNSPECIFIED", - "BROADCAST_MODE_BLOCK", - "BROADCAST_MODE_SYNC", - "BROADCAST_MODE_ASYNC" - ], - "default": "BROADCAST_MODE_UNSPECIFIED", - "description": "BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method.\n\n - BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering\n - BROADCAST_MODE_BLOCK: BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for\nthe tx to be committed in a block.\n - BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for\na CheckTx execution response only.\n - BROADCAST_MODE_ASYNC: BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns\nimmediately." - } - }, - "description": "BroadcastTxRequest is the request type for the Service.BroadcastTxRequest\nRPC method." + "$ref": "#/definitions/cosmos.tx.v1beta1.SimulateRequest" } } ], @@ -446,15 +451,15 @@ ] } }, - "/cosmos/tx/v1beta1/txs/{hash}": { + "/cosmos/tx/v1beta1/txs": { "get": { - "summary": "GetTx fetches a tx by hash.", - "operationId": "GetTx", + "summary": "GetTxsEvent fetches txs by event.", + "operationId": "GetTxsEvent", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/cosmos.tx.v1beta1.GetTxResponse" + "$ref": "#/definitions/cosmos.tx.v1beta1.GetTxsEventResponse" } }, "default": { @@ -487,7 +492,7 @@ "description": "Must be a valid serialized protocol buffer of the above specified type." } }, - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" } } } @@ -496,1305 +501,5656 @@ }, "parameters": [ { - "name": "hash", - "description": "hash is the tx hash to query, encoded as a hex string.", - "in": "path", - "required": true, - "type": "string" + "name": "events", + "description": "events is the list of transaction event type.", + "in": "query", + "required": false, + "type": "array", + "items": { + "type": "string" + }, + "collectionFormat": "multi" + }, + { + "name": "pagination.key", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "in": "query", + "required": false, + "type": "string", + "format": "byte" + }, + { + "name": "pagination.offset", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "in": "query", + "required": false, + "type": "string", + "format": "uint64" + }, + { + "name": "pagination.limit", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "in": "query", + "required": false, + "type": "string", + "format": "uint64" + }, + { + "name": "pagination.count_total", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "in": "query", + "required": false, + "type": "boolean" + }, + { + "name": "pagination.reverse", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "in": "query", + "required": false, + "type": "boolean" + }, + { + "name": "order_by", + "description": " - ORDER_BY_UNSPECIFIED: ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case.\n - ORDER_BY_ASC: ORDER_BY_ASC defines ascending order\n - ORDER_BY_DESC: ORDER_BY_DESC defines descending order", + "in": "query", + "required": false, + "type": "string", + "enum": [ + "ORDER_BY_UNSPECIFIED", + "ORDER_BY_ASC", + "ORDER_BY_DESC" + ], + "default": "ORDER_BY_UNSPECIFIED" + }, + { + "name": "page", + "description": "page is the page number to query, starts at 1. If not provided, will default to first page.", + "in": "query", + "required": false, + "type": "string", + "format": "uint64" + }, + { + "name": "limit", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "in": "query", + "required": false, + "type": "string", + "format": "uint64" } ], "tags": [ "Service" ] - } + }, + "post": { + "summary": "BroadcastTx broadcast transaction.", + "operationId": "BroadcastTx", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "type": "object", + "properties": { + "tx_response": { + "type": "object", + "properties": { + "height": { + "type": "string", + "format": "int64", + "title": "The block height" + }, + "txhash": { + "type": "string", + "description": "The transaction hash." + }, + "codespace": { + "type": "string", + "title": "Namespace for the Code" + }, + "code": { + "type": "integer", + "format": "int64", + "description": "Response code." + }, + "data": { + "type": "string", + "description": "Result bytes, if any." + }, + "raw_log": { + "type": "string", + "description": "The output of the application's logger (raw string). May be\nnon-deterministic." + }, + "logs": { + "type": "array", + "items": { + "type": "object", + "properties": { + "msg_index": { + "type": "integer", + "format": "int64" + }, + "log": { + "type": "string" + }, + "events": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "attributes": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "description": "Attribute defines an attribute wrapper where the key and value are\nstrings instead of raw bytes." + } + } + }, + "description": "StringEvent defines en Event object wrapper where all the attributes\ncontain key/value pairs that are strings instead of raw bytes." + }, + "description": "Events contains a slice of Event objects that were emitted during some\nexecution." + } + }, + "description": "ABCIMessageLog defines a structure containing an indexed tx ABCI message log." + }, + "description": "The output of the application's logger (typed). May be non-deterministic." + }, + "info": { + "type": "string", + "description": "Additional information. May be non-deterministic." + }, + "gas_wanted": { + "type": "string", + "format": "int64", + "description": "Amount of gas requested for transaction." + }, + "gas_used": { + "type": "string", + "format": "int64", + "description": "Amount of gas consumed by transaction." + }, + "tx": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + }, + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } + }, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + }, + "timestamp": { + "type": "string", + "description": "Time of the previous block. For heights > 1, it's the weighted median of\nthe timestamps of the valid votes in the block.LastCommit. For height == 1,\nit's genesis time." + }, + "events": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "attributes": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + }, + "index": { + "type": "boolean" + } + }, + "description": "EventAttribute is a single key-value pair, associated with an event." + } + } + }, + "description": "Event allows application developers to attach additional information to\nResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx.\nLater, transactions may be queried using these events." + }, + "description": "Events defines all the events emitted by processing a transaction. Note,\nthese events include those emitted by processing all the messages and those\nemitted from the ante. Whereas Logs contains the events, with\nadditional metadata, emitted only by processing the messages.\n\nSince: cosmos-sdk 0.42.11, 0.44.5, 0.45" + } + }, + "description": "TxResponse defines a structure containing relevant tx data and metadata. The\ntags are stringified and the log is JSON decoded." + } + }, + "description": "BroadcastTxResponse is the response type for the\nService.BroadcastTx method." + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "type": "object", + "properties": { + "error": { + "type": "string" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + }, + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } + }, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } + } + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "type": "object", + "properties": { + "tx_bytes": { + "type": "string", + "format": "byte", + "description": "tx_bytes is the raw transaction." + }, + "mode": { + "type": "string", + "enum": [ + "BROADCAST_MODE_UNSPECIFIED", + "BROADCAST_MODE_BLOCK", + "BROADCAST_MODE_SYNC", + "BROADCAST_MODE_ASYNC" + ], + "default": "BROADCAST_MODE_UNSPECIFIED", + "description": "BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method.\n\n - BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering\n - BROADCAST_MODE_BLOCK: DEPRECATED: use BROADCAST_MODE_SYNC instead,\nBROADCAST_MODE_BLOCK is not supported by the SDK from v0.47.x onwards.\n - BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for\na CheckTx execution response only.\n - BROADCAST_MODE_ASYNC: BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns\nimmediately." + } + }, + "description": "BroadcastTxRequest is the request type for the Service.BroadcastTxRequest\nRPC method." + } + } + ], + "tags": [ + "Service" + ] + } + }, + "/cosmos/tx/v1beta1/txs/block/{height}": { + "get": { + "summary": "GetBlockWithTxs fetches a block with decoded txs.", + "description": "Since: cosmos-sdk 0.45.2", + "operationId": "GetBlockWithTxs", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.tx.v1beta1.GetBlockWithTxsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "type": "object", + "properties": { + "error": { + "type": "string" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + }, + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } + }, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } + } + } + } + }, + "parameters": [ + { + "name": "height", + "description": "height is the height of the block to query.", + "in": "path", + "required": true, + "type": "string", + "format": "int64" + }, + { + "name": "pagination.key", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.", + "in": "query", + "required": false, + "type": "string", + "format": "byte" + }, + { + "name": "pagination.offset", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.", + "in": "query", + "required": false, + "type": "string", + "format": "uint64" + }, + { + "name": "pagination.limit", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.", + "in": "query", + "required": false, + "type": "string", + "format": "uint64" + }, + { + "name": "pagination.count_total", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.", + "in": "query", + "required": false, + "type": "boolean" + }, + { + "name": "pagination.reverse", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43", + "in": "query", + "required": false, + "type": "boolean" + } + ], + "tags": [ + "Service" + ] + } + }, + "/cosmos/tx/v1beta1/txs/{hash}": { + "get": { + "summary": "GetTx fetches a tx by hash.", + "operationId": "GetTx", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/cosmos.tx.v1beta1.GetTxResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "type": "object", + "properties": { + "error": { + "type": "string" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + }, + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } + }, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } + } + } + } + }, + "parameters": [ + { + "name": "hash", + "description": "hash is the tx hash to query, encoded as a hex string.", + "in": "path", + "required": true, + "type": "string" + } + ], + "tags": [ + "Service" + ] + } } }, "definitions": { "cosmos.base.abci.v1beta1.ABCIMessageLog": { "type": "object", "properties": { - "msg_index": { - "type": "integer", - "format": "int64" - }, - "log": { + "msg_index": { + "type": "integer", + "format": "int64" + }, + "log": { + "type": "string" + }, + "events": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "attributes": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "description": "Attribute defines an attribute wrapper where the key and value are\nstrings instead of raw bytes." + } + } + }, + "description": "StringEvent defines en Event object wrapper where all the attributes\ncontain key/value pairs that are strings instead of raw bytes." + }, + "description": "Events contains a slice of Event objects that were emitted during some\nexecution." + } + }, + "description": "ABCIMessageLog defines a structure containing an indexed tx ABCI message log." + }, + "cosmos.base.abci.v1beta1.Attribute": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "description": "Attribute defines an attribute wrapper where the key and value are\nstrings instead of raw bytes." + }, + "cosmos.base.abci.v1beta1.GasInfo": { + "type": "object", + "properties": { + "gas_wanted": { + "type": "string", + "format": "uint64", + "description": "GasWanted is the maximum units of work we allow this tx to perform." + }, + "gas_used": { + "type": "string", + "format": "uint64", + "description": "GasUsed is the amount of gas actually consumed." + } + }, + "description": "GasInfo defines tx execution gas context." + }, + "cosmos.base.abci.v1beta1.Result": { + "type": "object", + "properties": { + "data": { + "type": "string", + "format": "byte", + "description": "Data is any data returned from message or handler execution. It MUST be\nlength prefixed in order to separate data from multiple message executions.\nDeprecated. This field is still populated, but prefer msg_response instead\nbecause it also contains the Msg response typeURL." + }, + "log": { + "type": "string", + "description": "Log contains the log information from message or handler execution." + }, + "events": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "attributes": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + }, + "index": { + "type": "boolean" + } + }, + "description": "EventAttribute is a single key-value pair, associated with an event." + } + } + }, + "description": "Event allows application developers to attach additional information to\nResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx.\nLater, transactions may be queried using these events." + }, + "description": "Events contains a slice of Event objects that were emitted during message\nor handler execution." + }, + "msg_responses": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + }, + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } + }, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + }, + "description": "msg_responses contains the Msg handler responses type packed in Anys.\n\nSince: cosmos-sdk 0.46" + } + }, + "description": "Result is the union of ResponseFormat and ResponseCheckTx." + }, + "cosmos.base.abci.v1beta1.StringEvent": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "attributes": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "description": "Attribute defines an attribute wrapper where the key and value are\nstrings instead of raw bytes." + } + } + }, + "description": "StringEvent defines en Event object wrapper where all the attributes\ncontain key/value pairs that are strings instead of raw bytes." + }, + "cosmos.base.abci.v1beta1.TxResponse": { + "type": "object", + "properties": { + "height": { + "type": "string", + "format": "int64", + "title": "The block height" + }, + "txhash": { + "type": "string", + "description": "The transaction hash." + }, + "codespace": { + "type": "string", + "title": "Namespace for the Code" + }, + "code": { + "type": "integer", + "format": "int64", + "description": "Response code." + }, + "data": { + "type": "string", + "description": "Result bytes, if any." + }, + "raw_log": { + "type": "string", + "description": "The output of the application's logger (raw string). May be\nnon-deterministic." + }, + "logs": { + "type": "array", + "items": { + "type": "object", + "properties": { + "msg_index": { + "type": "integer", + "format": "int64" + }, + "log": { + "type": "string" + }, + "events": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "attributes": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "description": "Attribute defines an attribute wrapper where the key and value are\nstrings instead of raw bytes." + } + } + }, + "description": "StringEvent defines en Event object wrapper where all the attributes\ncontain key/value pairs that are strings instead of raw bytes." + }, + "description": "Events contains a slice of Event objects that were emitted during some\nexecution." + } + }, + "description": "ABCIMessageLog defines a structure containing an indexed tx ABCI message log." + }, + "description": "The output of the application's logger (typed). May be non-deterministic." + }, + "info": { + "type": "string", + "description": "Additional information. May be non-deterministic." + }, + "gas_wanted": { + "type": "string", + "format": "int64", + "description": "Amount of gas requested for transaction." + }, + "gas_used": { + "type": "string", + "format": "int64", + "description": "Amount of gas consumed by transaction." + }, + "tx": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + }, + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } + }, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + }, + "timestamp": { + "type": "string", + "description": "Time of the previous block. For heights > 1, it's the weighted median of\nthe timestamps of the valid votes in the block.LastCommit. For height == 1,\nit's genesis time." + }, + "events": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "attributes": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + }, + "index": { + "type": "boolean" + } + }, + "description": "EventAttribute is a single key-value pair, associated with an event." + } + } + }, + "description": "Event allows application developers to attach additional information to\nResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx.\nLater, transactions may be queried using these events." + }, + "description": "Events defines all the events emitted by processing a transaction. Note,\nthese events include those emitted by processing all the messages and those\nemitted from the ante. Whereas Logs contains the events, with\nadditional metadata, emitted only by processing the messages.\n\nSince: cosmos-sdk 0.42.11, 0.44.5, 0.45" + } + }, + "description": "TxResponse defines a structure containing relevant tx data and metadata. The\ntags are stringified and the log is JSON decoded." + }, + "cosmos.base.query.v1beta1.PageRequest": { + "type": "object", + "properties": { + "key": { + "type": "string", + "format": "byte", + "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set." + }, + "offset": { + "type": "string", + "format": "uint64", + "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set." + }, + "limit": { + "type": "string", + "format": "uint64", + "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app." + }, + "count_total": { + "type": "boolean", + "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set." + }, + "reverse": { + "type": "boolean", + "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43" + } + }, + "description": "message SomeRequest {\n Foo some_parameter = 1;\n PageRequest pagination = 2;\n }", + "title": "PageRequest is to be embedded in gRPC request messages for efficient\npagination. Ex:" + }, + "cosmos.base.query.v1beta1.PageResponse": { + "type": "object", + "properties": { + "next_key": { + "type": "string", + "format": "byte", + "description": "next_key is the key to be passed to PageRequest.key to\nquery the next page most efficiently. It will be empty if\nthere are no more results." + }, + "total": { + "type": "string", + "format": "uint64", + "title": "total is total number of results available if PageRequest.count_total\nwas set, its value is undefined otherwise" + } + }, + "description": "PageResponse is to be embedded in gRPC response messages where the\ncorresponding request message has used PageRequest.\n\n message SomeResponse {\n repeated Bar results = 1;\n PageResponse page = 2;\n }" + }, + "cosmos.base.v1beta1.Coin": { + "type": "object", + "properties": { + "denom": { + "type": "string" + }, + "amount": { + "type": "string" + } + }, + "description": "Coin defines a token with a denomination and an amount.\n\nNOTE: The amount field is an Int which implements the custom method\nsignatures required by gogoproto." + }, + "cosmos.crypto.multisig.v1beta1.CompactBitArray": { + "type": "object", + "properties": { + "extra_bits_stored": { + "type": "integer", + "format": "int64" + }, + "elems": { + "type": "string", + "format": "byte" + } + }, + "description": "CompactBitArray is an implementation of a space efficient bit array.\nThis is used to ensure that the encoded data takes up a minimal amount of\nspace after proto encoding.\nThis is not thread safe, and is not intended for concurrent usage." + }, + "cosmos.tx.signing.v1beta1.SignMode": { + "type": "string", + "enum": [ + "SIGN_MODE_UNSPECIFIED", + "SIGN_MODE_DIRECT", + "SIGN_MODE_TEXTUAL", + "SIGN_MODE_DIRECT_AUX", + "SIGN_MODE_LEGACY_AMINO_JSON", + "SIGN_MODE_EIP_191" + ], + "default": "SIGN_MODE_UNSPECIFIED", + "description": "SignMode represents a signing mode with its own security guarantees.\n\nThis enum should be considered a registry of all known sign modes\nin the Cosmos ecosystem. Apps are not expected to support all known\nsign modes. Apps that would like to support custom sign modes are\nencouraged to open a small PR against this file to add a new case\nto this SignMode enum describing their sign mode so that different\napps have a consistent version of this enum.\n\n - SIGN_MODE_UNSPECIFIED: SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be\nrejected.\n - SIGN_MODE_DIRECT: SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is\nverified with raw bytes from Tx.\n - SIGN_MODE_TEXTUAL: SIGN_MODE_TEXTUAL is a future signing mode that will verify some\nhuman-readable textual representation on top of the binary representation\nfrom SIGN_MODE_DIRECT. It is currently not supported.\n - SIGN_MODE_DIRECT_AUX: SIGN_MODE_DIRECT_AUX specifies a signing mode which uses\nSignDocDirectAux. As opposed to SIGN_MODE_DIRECT, this sign mode does not\nrequire signers signing over other signers' `signer_info`. It also allows\nfor adding Tips in transactions.\n\nSince: cosmos-sdk 0.46\n - SIGN_MODE_LEGACY_AMINO_JSON: SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses\nAmino JSON and will be removed in the future.\n - SIGN_MODE_EIP_191: SIGN_MODE_EIP_191 specifies the sign mode for EIP 191 signing on the Cosmos\nSDK. Ref: https://eips.ethereum.org/EIPS/eip-191\n\nCurrently, SIGN_MODE_EIP_191 is registered as a SignMode enum variant,\nbut is not implemented on the SDK by default. To enable EIP-191, you need\nto pass a custom `TxConfig` that has an implementation of\n`SignModeHandler` for EIP-191. The SDK may decide to fully support\nEIP-191 in the future.\n\nSince: cosmos-sdk 0.45.2" + }, + "cosmos.tx.v1beta1.AuthInfo": { + "type": "object", + "properties": { + "signer_infos": { + "type": "array", + "items": { + "$ref": "#/definitions/cosmos.tx.v1beta1.SignerInfo" + }, + "description": "signer_infos defines the signing modes for the required signers. The number\nand order of elements must match the required signers from TxBody's\nmessages. The first element is the primary signer and the one which pays\nthe fee." + }, + "fee": { + "description": "Fee is the fee and gas limit for the transaction. The first signer is the\nprimary signer and the one which pays the fee. The fee can be calculated\nbased on the cost of evaluating the body and doing signature verification\nof the signers. This can be estimated via simulation.", + "type": "object", + "properties": { + "amount": { + "type": "array", + "items": { + "type": "object", + "properties": { + "denom": { + "type": "string" + }, + "amount": { + "type": "string" + } + }, + "description": "Coin defines a token with a denomination and an amount.\n\nNOTE: The amount field is an Int which implements the custom method\nsignatures required by gogoproto." + }, + "title": "amount is the amount of coins to be paid as a fee" + }, + "gas_limit": { + "type": "string", + "format": "uint64", + "title": "gas_limit is the maximum gas that can be used in transaction processing\nbefore an out of gas error occurs" + }, + "payer": { + "type": "string", + "description": "if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees.\nthe payer must be a tx signer (and thus have signed this field in AuthInfo).\nsetting this field does *not* change the ordering of required signers for the transaction." + }, + "granter": { + "type": "string", + "title": "if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used\nto pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does\nnot support fee grants, this will fail" + } + } + }, + "tip": { + "description": "Tip is the optional tip used for transactions fees paid in another denom.\n\nThis field is ignored if the chain didn't enable tips, i.e. didn't add the\n`TipDecorator` in its posthandler.\n\nSince: cosmos-sdk 0.46", + "type": "object", + "properties": { + "amount": { + "type": "array", + "items": { + "type": "object", + "properties": { + "denom": { + "type": "string" + }, + "amount": { + "type": "string" + } + }, + "description": "Coin defines a token with a denomination and an amount.\n\nNOTE: The amount field is an Int which implements the custom method\nsignatures required by gogoproto." + }, + "title": "amount is the amount of the tip" + }, + "tipper": { + "type": "string", + "title": "tipper is the address of the account paying for the tip" + } + } + } + }, + "description": "AuthInfo describes the fee and signer modes that are used to sign a\ntransaction." + }, + "cosmos.tx.v1beta1.BroadcastMode": { + "type": "string", + "enum": [ + "BROADCAST_MODE_UNSPECIFIED", + "BROADCAST_MODE_BLOCK", + "BROADCAST_MODE_SYNC", + "BROADCAST_MODE_ASYNC" + ], + "default": "BROADCAST_MODE_UNSPECIFIED", + "description": "BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method.\n\n - BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering\n - BROADCAST_MODE_BLOCK: DEPRECATED: use BROADCAST_MODE_SYNC instead,\nBROADCAST_MODE_BLOCK is not supported by the SDK from v0.47.x onwards.\n - BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for\na CheckTx execution response only.\n - BROADCAST_MODE_ASYNC: BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns\nimmediately." + }, + "cosmos.tx.v1beta1.BroadcastTxRequest": { + "type": "object", + "properties": { + "tx_bytes": { + "type": "string", + "format": "byte", + "description": "tx_bytes is the raw transaction." + }, + "mode": { + "type": "string", + "enum": [ + "BROADCAST_MODE_UNSPECIFIED", + "BROADCAST_MODE_BLOCK", + "BROADCAST_MODE_SYNC", + "BROADCAST_MODE_ASYNC" + ], + "default": "BROADCAST_MODE_UNSPECIFIED", + "description": "BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method.\n\n - BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering\n - BROADCAST_MODE_BLOCK: DEPRECATED: use BROADCAST_MODE_SYNC instead,\nBROADCAST_MODE_BLOCK is not supported by the SDK from v0.47.x onwards.\n - BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for\na CheckTx execution response only.\n - BROADCAST_MODE_ASYNC: BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns\nimmediately." + } + }, + "description": "BroadcastTxRequest is the request type for the Service.BroadcastTxRequest\nRPC method." + }, + "cosmos.tx.v1beta1.BroadcastTxResponse": { + "type": "object", + "properties": { + "tx_response": { + "type": "object", + "properties": { + "height": { + "type": "string", + "format": "int64", + "title": "The block height" + }, + "txhash": { + "type": "string", + "description": "The transaction hash." + }, + "codespace": { + "type": "string", + "title": "Namespace for the Code" + }, + "code": { + "type": "integer", + "format": "int64", + "description": "Response code." + }, + "data": { + "type": "string", + "description": "Result bytes, if any." + }, + "raw_log": { + "type": "string", + "description": "The output of the application's logger (raw string). May be\nnon-deterministic." + }, + "logs": { + "type": "array", + "items": { + "type": "object", + "properties": { + "msg_index": { + "type": "integer", + "format": "int64" + }, + "log": { + "type": "string" + }, + "events": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "attributes": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "description": "Attribute defines an attribute wrapper where the key and value are\nstrings instead of raw bytes." + } + } + }, + "description": "StringEvent defines en Event object wrapper where all the attributes\ncontain key/value pairs that are strings instead of raw bytes." + }, + "description": "Events contains a slice of Event objects that were emitted during some\nexecution." + } + }, + "description": "ABCIMessageLog defines a structure containing an indexed tx ABCI message log." + }, + "description": "The output of the application's logger (typed). May be non-deterministic." + }, + "info": { + "type": "string", + "description": "Additional information. May be non-deterministic." + }, + "gas_wanted": { + "type": "string", + "format": "int64", + "description": "Amount of gas requested for transaction." + }, + "gas_used": { + "type": "string", + "format": "int64", + "description": "Amount of gas consumed by transaction." + }, + "tx": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + }, + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } + }, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + }, + "timestamp": { + "type": "string", + "description": "Time of the previous block. For heights > 1, it's the weighted median of\nthe timestamps of the valid votes in the block.LastCommit. For height == 1,\nit's genesis time." + }, + "events": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "attributes": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + }, + "index": { + "type": "boolean" + } + }, + "description": "EventAttribute is a single key-value pair, associated with an event." + } + } + }, + "description": "Event allows application developers to attach additional information to\nResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx.\nLater, transactions may be queried using these events." + }, + "description": "Events defines all the events emitted by processing a transaction. Note,\nthese events include those emitted by processing all the messages and those\nemitted from the ante. Whereas Logs contains the events, with\nadditional metadata, emitted only by processing the messages.\n\nSince: cosmos-sdk 0.42.11, 0.44.5, 0.45" + } + }, + "description": "TxResponse defines a structure containing relevant tx data and metadata. The\ntags are stringified and the log is JSON decoded." + } + }, + "description": "BroadcastTxResponse is the response type for the\nService.BroadcastTx method." + }, + "cosmos.tx.v1beta1.Fee": { + "type": "object", + "properties": { + "amount": { + "type": "array", + "items": { + "type": "object", + "properties": { + "denom": { + "type": "string" + }, + "amount": { + "type": "string" + } + }, + "description": "Coin defines a token with a denomination and an amount.\n\nNOTE: The amount field is an Int which implements the custom method\nsignatures required by gogoproto." + }, + "title": "amount is the amount of coins to be paid as a fee" + }, + "gas_limit": { + "type": "string", + "format": "uint64", + "title": "gas_limit is the maximum gas that can be used in transaction processing\nbefore an out of gas error occurs" + }, + "payer": { + "type": "string", + "description": "if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees.\nthe payer must be a tx signer (and thus have signed this field in AuthInfo).\nsetting this field does *not* change the ordering of required signers for the transaction." + }, + "granter": { + "type": "string", + "title": "if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used\nto pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does\nnot support fee grants, this will fail" + } + }, + "description": "Fee includes the amount of coins paid in fees and the maximum\ngas to be used by the transaction. The ratio yields an effective \"gasprice\",\nwhich must be above some miminum to be accepted into the mempool." + }, + "cosmos.tx.v1beta1.GetBlockWithTxsResponse": { + "type": "object", + "properties": { + "txs": { + "type": "array", + "items": { + "$ref": "#/definitions/cosmos.tx.v1beta1.Tx" + }, + "description": "txs are the transactions in the block." + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "block": { + "type": "object", + "properties": { + "header": { + "type": "object", + "properties": { + "version": { + "title": "basic block info", + "type": "object", + "properties": { + "block": { + "type": "string", + "format": "uint64" + }, + "app": { + "type": "string", + "format": "uint64" + } + }, + "description": "Consensus captures the consensus rules for processing a block in the blockchain,\nincluding all blockchain data structures and the rules of the application's\nstate transition machine." + }, + "chain_id": { + "type": "string" + }, + "height": { + "type": "string", + "format": "int64" + }, + "time": { + "type": "string", + "format": "date-time" + }, + "last_block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "last_commit_hash": { + "type": "string", + "format": "byte", + "title": "hashes of block data" + }, + "data_hash": { + "type": "string", + "format": "byte" + }, + "validators_hash": { + "type": "string", + "format": "byte", + "title": "hashes from the app output from the prev block" + }, + "next_validators_hash": { + "type": "string", + "format": "byte" + }, + "consensus_hash": { + "type": "string", + "format": "byte" + }, + "app_hash": { + "type": "string", + "format": "byte" + }, + "last_results_hash": { + "type": "string", + "format": "byte" + }, + "evidence_hash": { + "type": "string", + "format": "byte", + "title": "consensus info" + }, + "proposer_address": { + "type": "string", + "format": "byte" + } + }, + "description": "Header defines the structure of a block header." + }, + "data": { + "type": "object", + "properties": { + "txs": { + "type": "array", + "items": { + "type": "string", + "format": "byte" + }, + "description": "Txs that will be applied by state @ block.Height+1.\nNOTE: not all txs here are valid. We're just agreeing on the order first.\nThis means that block.AppHash does not include these txs." + } + }, + "title": "Data contains the set of transactions included in the block" + }, + "evidence": { + "type": "object", + "properties": { + "evidence": { + "type": "array", + "items": { + "type": "object", + "properties": { + "duplicate_vote_evidence": { + "type": "object", + "properties": { + "vote_a": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "SIGNED_MSG_TYPE_UNKNOWN", + "SIGNED_MSG_TYPE_PREVOTE", + "SIGNED_MSG_TYPE_PRECOMMIT", + "SIGNED_MSG_TYPE_PROPOSAL" + ], + "default": "SIGNED_MSG_TYPE_UNKNOWN", + "description": "SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_PREVOTE: Votes\n - SIGNED_MSG_TYPE_PROPOSAL: Proposals" + }, + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "validator_index": { + "type": "integer", + "format": "int32" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "Vote represents a prevote, precommit, or commit vote from validators for\nconsensus." + }, + "vote_b": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "SIGNED_MSG_TYPE_UNKNOWN", + "SIGNED_MSG_TYPE_PREVOTE", + "SIGNED_MSG_TYPE_PRECOMMIT", + "SIGNED_MSG_TYPE_PROPOSAL" + ], + "default": "SIGNED_MSG_TYPE_UNKNOWN", + "description": "SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_PREVOTE: Votes\n - SIGNED_MSG_TYPE_PROPOSAL: Proposals" + }, + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "validator_index": { + "type": "integer", + "format": "int32" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "Vote represents a prevote, precommit, or commit vote from validators for\nconsensus." + }, + "total_voting_power": { + "type": "string", + "format": "int64" + }, + "validator_power": { + "type": "string", + "format": "int64" + }, + "timestamp": { + "type": "string", + "format": "date-time" + } + }, + "description": "DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes." + }, + "light_client_attack_evidence": { + "type": "object", + "properties": { + "conflicting_block": { + "type": "object", + "properties": { + "signed_header": { + "type": "object", + "properties": { + "header": { + "type": "object", + "properties": { + "version": { + "title": "basic block info", + "type": "object", + "properties": { + "block": { + "type": "string", + "format": "uint64" + }, + "app": { + "type": "string", + "format": "uint64" + } + }, + "description": "Consensus captures the consensus rules for processing a block in the blockchain,\nincluding all blockchain data structures and the rules of the application's\nstate transition machine." + }, + "chain_id": { + "type": "string" + }, + "height": { + "type": "string", + "format": "int64" + }, + "time": { + "type": "string", + "format": "date-time" + }, + "last_block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "last_commit_hash": { + "type": "string", + "format": "byte", + "title": "hashes of block data" + }, + "data_hash": { + "type": "string", + "format": "byte" + }, + "validators_hash": { + "type": "string", + "format": "byte", + "title": "hashes from the app output from the prev block" + }, + "next_validators_hash": { + "type": "string", + "format": "byte" + }, + "consensus_hash": { + "type": "string", + "format": "byte" + }, + "app_hash": { + "type": "string", + "format": "byte" + }, + "last_results_hash": { + "type": "string", + "format": "byte" + }, + "evidence_hash": { + "type": "string", + "format": "byte", + "title": "consensus info" + }, + "proposer_address": { + "type": "string", + "format": "byte" + } + }, + "description": "Header defines the structure of a block header." + }, + "commit": { + "type": "object", + "properties": { + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "signatures": { + "type": "array", + "items": { + "type": "object", + "properties": { + "block_id_flag": { + "type": "string", + "enum": [ + "BLOCK_ID_FLAG_UNKNOWN", + "BLOCK_ID_FLAG_ABSENT", + "BLOCK_ID_FLAG_COMMIT", + "BLOCK_ID_FLAG_NIL" + ], + "default": "BLOCK_ID_FLAG_UNKNOWN", + "title": "BlockIdFlag indicates which BlcokID the signature is for" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "CommitSig is a part of the Vote included in a Commit." + } + } + }, + "description": "Commit contains the evidence that a block was committed by a set of validators." + } + } + }, + "validator_set": { + "type": "object", + "properties": { + "validators": { + "type": "array", + "items": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } + } + } + }, + "proposer": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } + } + }, + "total_voting_power": { + "type": "string", + "format": "int64" + } + } + } + } + }, + "common_height": { + "type": "string", + "format": "int64" + }, + "byzantine_validators": { + "type": "array", + "items": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } + } + } + }, + "total_voting_power": { + "type": "string", + "format": "int64" + }, + "timestamp": { + "type": "string", + "format": "date-time" + } + }, + "description": "LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client." + } + } + } + } + } + }, + "last_commit": { + "type": "object", + "properties": { + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "signatures": { + "type": "array", + "items": { + "type": "object", + "properties": { + "block_id_flag": { + "type": "string", + "enum": [ + "BLOCK_ID_FLAG_UNKNOWN", + "BLOCK_ID_FLAG_ABSENT", + "BLOCK_ID_FLAG_COMMIT", + "BLOCK_ID_FLAG_NIL" + ], + "default": "BLOCK_ID_FLAG_UNKNOWN", + "title": "BlockIdFlag indicates which BlcokID the signature is for" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "CommitSig is a part of the Vote included in a Commit." + } + } + }, + "description": "Commit contains the evidence that a block was committed by a set of validators." + } + } + }, + "pagination": { + "description": "pagination defines a pagination for the response.", + "type": "object", + "properties": { + "next_key": { + "type": "string", + "format": "byte", + "description": "next_key is the key to be passed to PageRequest.key to\nquery the next page most efficiently. It will be empty if\nthere are no more results." + }, + "total": { + "type": "string", + "format": "uint64", + "title": "total is total number of results available if PageRequest.count_total\nwas set, its value is undefined otherwise" + } + } + } + }, + "description": "GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method.\n\nSince: cosmos-sdk 0.45.2" + }, + "cosmos.tx.v1beta1.GetTxResponse": { + "type": "object", + "properties": { + "tx": { + "$ref": "#/definitions/cosmos.tx.v1beta1.Tx", + "description": "tx is the queried transaction." + }, + "tx_response": { + "type": "object", + "properties": { + "height": { + "type": "string", + "format": "int64", + "title": "The block height" + }, + "txhash": { + "type": "string", + "description": "The transaction hash." + }, + "codespace": { + "type": "string", + "title": "Namespace for the Code" + }, + "code": { + "type": "integer", + "format": "int64", + "description": "Response code." + }, + "data": { + "type": "string", + "description": "Result bytes, if any." + }, + "raw_log": { + "type": "string", + "description": "The output of the application's logger (raw string). May be\nnon-deterministic." + }, + "logs": { + "type": "array", + "items": { + "type": "object", + "properties": { + "msg_index": { + "type": "integer", + "format": "int64" + }, + "log": { + "type": "string" + }, + "events": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "attributes": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "description": "Attribute defines an attribute wrapper where the key and value are\nstrings instead of raw bytes." + } + } + }, + "description": "StringEvent defines en Event object wrapper where all the attributes\ncontain key/value pairs that are strings instead of raw bytes." + }, + "description": "Events contains a slice of Event objects that were emitted during some\nexecution." + } + }, + "description": "ABCIMessageLog defines a structure containing an indexed tx ABCI message log." + }, + "description": "The output of the application's logger (typed). May be non-deterministic." + }, + "info": { + "type": "string", + "description": "Additional information. May be non-deterministic." + }, + "gas_wanted": { + "type": "string", + "format": "int64", + "description": "Amount of gas requested for transaction." + }, + "gas_used": { + "type": "string", + "format": "int64", + "description": "Amount of gas consumed by transaction." + }, + "tx": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + }, + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } + }, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + }, + "timestamp": { + "type": "string", + "description": "Time of the previous block. For heights > 1, it's the weighted median of\nthe timestamps of the valid votes in the block.LastCommit. For height == 1,\nit's genesis time." + }, + "events": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "attributes": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + }, + "index": { + "type": "boolean" + } + }, + "description": "EventAttribute is a single key-value pair, associated with an event." + } + } + }, + "description": "Event allows application developers to attach additional information to\nResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx.\nLater, transactions may be queried using these events." + }, + "description": "Events defines all the events emitted by processing a transaction. Note,\nthese events include those emitted by processing all the messages and those\nemitted from the ante. Whereas Logs contains the events, with\nadditional metadata, emitted only by processing the messages.\n\nSince: cosmos-sdk 0.42.11, 0.44.5, 0.45" + } + }, + "description": "TxResponse defines a structure containing relevant tx data and metadata. The\ntags are stringified and the log is JSON decoded." + } + }, + "description": "GetTxResponse is the response type for the Service.GetTx method." + }, + "cosmos.tx.v1beta1.GetTxsEventResponse": { + "type": "object", + "properties": { + "txs": { + "type": "array", + "items": { + "$ref": "#/definitions/cosmos.tx.v1beta1.Tx" + }, + "description": "txs is the list of queried transactions." + }, + "tx_responses": { + "type": "array", + "items": { + "type": "object", + "properties": { + "height": { + "type": "string", + "format": "int64", + "title": "The block height" + }, + "txhash": { + "type": "string", + "description": "The transaction hash." + }, + "codespace": { + "type": "string", + "title": "Namespace for the Code" + }, + "code": { + "type": "integer", + "format": "int64", + "description": "Response code." + }, + "data": { + "type": "string", + "description": "Result bytes, if any." + }, + "raw_log": { + "type": "string", + "description": "The output of the application's logger (raw string). May be\nnon-deterministic." + }, + "logs": { + "type": "array", + "items": { + "type": "object", + "properties": { + "msg_index": { + "type": "integer", + "format": "int64" + }, + "log": { + "type": "string" + }, + "events": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "attributes": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "description": "Attribute defines an attribute wrapper where the key and value are\nstrings instead of raw bytes." + } + } + }, + "description": "StringEvent defines en Event object wrapper where all the attributes\ncontain key/value pairs that are strings instead of raw bytes." + }, + "description": "Events contains a slice of Event objects that were emitted during some\nexecution." + } + }, + "description": "ABCIMessageLog defines a structure containing an indexed tx ABCI message log." + }, + "description": "The output of the application's logger (typed). May be non-deterministic." + }, + "info": { + "type": "string", + "description": "Additional information. May be non-deterministic." + }, + "gas_wanted": { + "type": "string", + "format": "int64", + "description": "Amount of gas requested for transaction." + }, + "gas_used": { + "type": "string", + "format": "int64", + "description": "Amount of gas consumed by transaction." + }, + "tx": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + }, + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } + }, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + }, + "timestamp": { + "type": "string", + "description": "Time of the previous block. For heights > 1, it's the weighted median of\nthe timestamps of the valid votes in the block.LastCommit. For height == 1,\nit's genesis time." + }, + "events": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "attributes": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + }, + "index": { + "type": "boolean" + } + }, + "description": "EventAttribute is a single key-value pair, associated with an event." + } + } + }, + "description": "Event allows application developers to attach additional information to\nResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx.\nLater, transactions may be queried using these events." + }, + "description": "Events defines all the events emitted by processing a transaction. Note,\nthese events include those emitted by processing all the messages and those\nemitted from the ante. Whereas Logs contains the events, with\nadditional metadata, emitted only by processing the messages.\n\nSince: cosmos-sdk 0.42.11, 0.44.5, 0.45" + } + }, + "description": "TxResponse defines a structure containing relevant tx data and metadata. The\ntags are stringified and the log is JSON decoded." + }, + "description": "tx_responses is the list of queried TxResponses." + }, + "pagination": { + "description": "pagination defines a pagination for the response.\nDeprecated post v0.46.x: use total instead.", + "type": "object", + "properties": { + "next_key": { + "type": "string", + "format": "byte", + "description": "next_key is the key to be passed to PageRequest.key to\nquery the next page most efficiently. It will be empty if\nthere are no more results." + }, + "total": { + "type": "string", + "format": "uint64", + "title": "total is total number of results available if PageRequest.count_total\nwas set, its value is undefined otherwise" + } + } + }, + "total": { + "type": "string", + "format": "uint64", + "title": "total is total number of results available" + } + }, + "description": "GetTxsEventResponse is the response type for the Service.TxsByEvents\nRPC method." + }, + "cosmos.tx.v1beta1.ModeInfo": { + "type": "object", + "properties": { + "single": { + "title": "single represents a single signer", + "type": "object", + "properties": { + "mode": { + "title": "mode is the signing mode of the single signer", + "type": "string", + "enum": [ + "SIGN_MODE_UNSPECIFIED", + "SIGN_MODE_DIRECT", + "SIGN_MODE_TEXTUAL", + "SIGN_MODE_DIRECT_AUX", + "SIGN_MODE_LEGACY_AMINO_JSON", + "SIGN_MODE_EIP_191" + ], + "default": "SIGN_MODE_UNSPECIFIED", + "description": "SignMode represents a signing mode with its own security guarantees.\n\nThis enum should be considered a registry of all known sign modes\nin the Cosmos ecosystem. Apps are not expected to support all known\nsign modes. Apps that would like to support custom sign modes are\nencouraged to open a small PR against this file to add a new case\nto this SignMode enum describing their sign mode so that different\napps have a consistent version of this enum.\n\n - SIGN_MODE_UNSPECIFIED: SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be\nrejected.\n - SIGN_MODE_DIRECT: SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is\nverified with raw bytes from Tx.\n - SIGN_MODE_TEXTUAL: SIGN_MODE_TEXTUAL is a future signing mode that will verify some\nhuman-readable textual representation on top of the binary representation\nfrom SIGN_MODE_DIRECT. It is currently not supported.\n - SIGN_MODE_DIRECT_AUX: SIGN_MODE_DIRECT_AUX specifies a signing mode which uses\nSignDocDirectAux. As opposed to SIGN_MODE_DIRECT, this sign mode does not\nrequire signers signing over other signers' `signer_info`. It also allows\nfor adding Tips in transactions.\n\nSince: cosmos-sdk 0.46\n - SIGN_MODE_LEGACY_AMINO_JSON: SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses\nAmino JSON and will be removed in the future.\n - SIGN_MODE_EIP_191: SIGN_MODE_EIP_191 specifies the sign mode for EIP 191 signing on the Cosmos\nSDK. Ref: https://eips.ethereum.org/EIPS/eip-191\n\nCurrently, SIGN_MODE_EIP_191 is registered as a SignMode enum variant,\nbut is not implemented on the SDK by default. To enable EIP-191, you need\nto pass a custom `TxConfig` that has an implementation of\n`SignModeHandler` for EIP-191. The SDK may decide to fully support\nEIP-191 in the future.\n\nSince: cosmos-sdk 0.45.2" + } + } + }, + "multi": { + "$ref": "#/definitions/cosmos.tx.v1beta1.ModeInfo.Multi", + "title": "multi represents a nested multisig signer" + } + }, + "description": "ModeInfo describes the signing mode of a single or nested multisig signer." + }, + "cosmos.tx.v1beta1.ModeInfo.Multi": { + "type": "object", + "properties": { + "bitarray": { + "title": "bitarray specifies which keys within the multisig are signing", + "type": "object", + "properties": { + "extra_bits_stored": { + "type": "integer", + "format": "int64" + }, + "elems": { + "type": "string", + "format": "byte" + } + }, + "description": "CompactBitArray is an implementation of a space efficient bit array.\nThis is used to ensure that the encoded data takes up a minimal amount of\nspace after proto encoding.\nThis is not thread safe, and is not intended for concurrent usage." + }, + "mode_infos": { + "type": "array", + "items": { + "$ref": "#/definitions/cosmos.tx.v1beta1.ModeInfo" + }, + "title": "mode_infos is the corresponding modes of the signers of the multisig\nwhich could include nested multisig public keys" + } + }, + "title": "Multi is the mode info for a multisig public key" + }, + "cosmos.tx.v1beta1.ModeInfo.Single": { + "type": "object", + "properties": { + "mode": { + "title": "mode is the signing mode of the single signer", + "type": "string", + "enum": [ + "SIGN_MODE_UNSPECIFIED", + "SIGN_MODE_DIRECT", + "SIGN_MODE_TEXTUAL", + "SIGN_MODE_DIRECT_AUX", + "SIGN_MODE_LEGACY_AMINO_JSON", + "SIGN_MODE_EIP_191" + ], + "default": "SIGN_MODE_UNSPECIFIED", + "description": "SignMode represents a signing mode with its own security guarantees.\n\nThis enum should be considered a registry of all known sign modes\nin the Cosmos ecosystem. Apps are not expected to support all known\nsign modes. Apps that would like to support custom sign modes are\nencouraged to open a small PR against this file to add a new case\nto this SignMode enum describing their sign mode so that different\napps have a consistent version of this enum.\n\n - SIGN_MODE_UNSPECIFIED: SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be\nrejected.\n - SIGN_MODE_DIRECT: SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is\nverified with raw bytes from Tx.\n - SIGN_MODE_TEXTUAL: SIGN_MODE_TEXTUAL is a future signing mode that will verify some\nhuman-readable textual representation on top of the binary representation\nfrom SIGN_MODE_DIRECT. It is currently not supported.\n - SIGN_MODE_DIRECT_AUX: SIGN_MODE_DIRECT_AUX specifies a signing mode which uses\nSignDocDirectAux. As opposed to SIGN_MODE_DIRECT, this sign mode does not\nrequire signers signing over other signers' `signer_info`. It also allows\nfor adding Tips in transactions.\n\nSince: cosmos-sdk 0.46\n - SIGN_MODE_LEGACY_AMINO_JSON: SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses\nAmino JSON and will be removed in the future.\n - SIGN_MODE_EIP_191: SIGN_MODE_EIP_191 specifies the sign mode for EIP 191 signing on the Cosmos\nSDK. Ref: https://eips.ethereum.org/EIPS/eip-191\n\nCurrently, SIGN_MODE_EIP_191 is registered as a SignMode enum variant,\nbut is not implemented on the SDK by default. To enable EIP-191, you need\nto pass a custom `TxConfig` that has an implementation of\n`SignModeHandler` for EIP-191. The SDK may decide to fully support\nEIP-191 in the future.\n\nSince: cosmos-sdk 0.45.2" + } + }, + "title": "Single is the mode info for a single signer. It is structured as a message\nto allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the\nfuture" + }, + "cosmos.tx.v1beta1.OrderBy": { + "type": "string", + "enum": [ + "ORDER_BY_UNSPECIFIED", + "ORDER_BY_ASC", + "ORDER_BY_DESC" + ], + "default": "ORDER_BY_UNSPECIFIED", + "description": "- ORDER_BY_UNSPECIFIED: ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case.\n - ORDER_BY_ASC: ORDER_BY_ASC defines ascending order\n - ORDER_BY_DESC: ORDER_BY_DESC defines descending order", + "title": "OrderBy defines the sorting order" + }, + "cosmos.tx.v1beta1.SignerInfo": { + "type": "object", + "properties": { + "public_key": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + }, + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } + }, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + }, + "mode_info": { + "$ref": "#/definitions/cosmos.tx.v1beta1.ModeInfo", + "title": "mode_info describes the signing mode of the signer and is a nested\nstructure to support nested multisig pubkey's" + }, + "sequence": { + "type": "string", + "format": "uint64", + "description": "sequence is the sequence of the account, which describes the\nnumber of committed transactions signed by a given address. It is used to\nprevent replay attacks." + } + }, + "description": "SignerInfo describes the public key and signing mode of a single top-level\nsigner." + }, + "cosmos.tx.v1beta1.SimulateRequest": { + "type": "object", + "properties": { + "tx": { + "$ref": "#/definitions/cosmos.tx.v1beta1.Tx", + "description": "tx is the transaction to simulate.\nDeprecated. Send raw tx bytes instead." + }, + "tx_bytes": { + "type": "string", + "format": "byte", + "description": "tx_bytes is the raw transaction.\n\nSince: cosmos-sdk 0.43" + } + }, + "description": "SimulateRequest is the request type for the Service.Simulate\nRPC method." + }, + "cosmos.tx.v1beta1.SimulateResponse": { + "type": "object", + "properties": { + "gas_info": { + "description": "gas_info is the information about gas used in the simulation.", + "type": "object", + "properties": { + "gas_wanted": { + "type": "string", + "format": "uint64", + "description": "GasWanted is the maximum units of work we allow this tx to perform." + }, + "gas_used": { + "type": "string", + "format": "uint64", + "description": "GasUsed is the amount of gas actually consumed." + } + } + }, + "result": { + "description": "result is the result of the simulation.", + "type": "object", + "properties": { + "data": { + "type": "string", + "format": "byte", + "description": "Data is any data returned from message or handler execution. It MUST be\nlength prefixed in order to separate data from multiple message executions.\nDeprecated. This field is still populated, but prefer msg_response instead\nbecause it also contains the Msg response typeURL." + }, + "log": { + "type": "string", + "description": "Log contains the log information from message or handler execution." + }, + "events": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "attributes": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + }, + "index": { + "type": "boolean" + } + }, + "description": "EventAttribute is a single key-value pair, associated with an event." + } + } + }, + "description": "Event allows application developers to attach additional information to\nResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx.\nLater, transactions may be queried using these events." + }, + "description": "Events contains a slice of Event objects that were emitted during message\nor handler execution." + }, + "msg_responses": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + }, + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } + }, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + }, + "description": "msg_responses contains the Msg handler responses type packed in Anys.\n\nSince: cosmos-sdk 0.46" + } + } + } + }, + "description": "SimulateResponse is the response type for the\nService.SimulateRPC method." + }, + "cosmos.tx.v1beta1.Tip": { + "type": "object", + "properties": { + "amount": { + "type": "array", + "items": { + "type": "object", + "properties": { + "denom": { + "type": "string" + }, + "amount": { + "type": "string" + } + }, + "description": "Coin defines a token with a denomination and an amount.\n\nNOTE: The amount field is an Int which implements the custom method\nsignatures required by gogoproto." + }, + "title": "amount is the amount of the tip" + }, + "tipper": { + "type": "string", + "title": "tipper is the address of the account paying for the tip" + } + }, + "description": "Tip is the tip used for meta-transactions.\n\nSince: cosmos-sdk 0.46" + }, + "cosmos.tx.v1beta1.Tx": { + "type": "object", + "properties": { + "body": { + "title": "body is the processable content of the transaction", + "type": "object", + "properties": { + "messages": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + }, + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } + }, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + }, + "description": "messages is a list of messages to be executed. The required signers of\nthose messages define the number and order of elements in AuthInfo's\nsigner_infos and Tx's signatures. Each required signer address is added to\nthe list only the first time it occurs.\nBy convention, the first required signer (usually from the first message)\nis referred to as the primary signer and pays the fee for the whole\ntransaction." + }, + "memo": { + "type": "string", + "description": "memo is any arbitrary note/comment to be added to the transaction.\nWARNING: in clients, any publicly exposed text should not be called memo,\nbut should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122)." + }, + "timeout_height": { + "type": "string", + "format": "uint64", + "title": "timeout is the block height after which this transaction will not\nbe processed by the chain" + }, + "extension_options": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + }, + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } + }, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + }, + "title": "extension_options are arbitrary options that can be added by chains\nwhen the default options are not sufficient. If any of these are present\nand can't be handled, the transaction will be rejected" + }, + "non_critical_extension_options": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + }, + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } + }, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + }, + "title": "extension_options are arbitrary options that can be added by chains\nwhen the default options are not sufficient. If any of these are present\nand can't be handled, they will be ignored" + } + }, + "description": "TxBody is the body of a transaction that all signers sign over." + }, + "auth_info": { + "$ref": "#/definitions/cosmos.tx.v1beta1.AuthInfo", + "title": "auth_info is the authorization related content of the transaction,\nspecifically signers, signer modes and fee" + }, + "signatures": { + "type": "array", + "items": { + "type": "string", + "format": "byte" + }, + "description": "signatures is a list of signatures that matches the length and order of\nAuthInfo's signer_infos to allow connecting signature meta information like\npublic key and signing mode by position." + } + }, + "description": "Tx is the standard type used for broadcasting transactions." + }, + "cosmos.tx.v1beta1.TxBody": { + "type": "object", + "properties": { + "messages": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + }, + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } + }, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + }, + "description": "messages is a list of messages to be executed. The required signers of\nthose messages define the number and order of elements in AuthInfo's\nsigner_infos and Tx's signatures. Each required signer address is added to\nthe list only the first time it occurs.\nBy convention, the first required signer (usually from the first message)\nis referred to as the primary signer and pays the fee for the whole\ntransaction." + }, + "memo": { + "type": "string", + "description": "memo is any arbitrary note/comment to be added to the transaction.\nWARNING: in clients, any publicly exposed text should not be called memo,\nbut should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122)." + }, + "timeout_height": { + "type": "string", + "format": "uint64", + "title": "timeout is the block height after which this transaction will not\nbe processed by the chain" + }, + "extension_options": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + }, + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } + }, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + }, + "title": "extension_options are arbitrary options that can be added by chains\nwhen the default options are not sufficient. If any of these are present\nand can't be handled, the transaction will be rejected" + }, + "non_critical_extension_options": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + }, + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } + }, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + }, + "title": "extension_options are arbitrary options that can be added by chains\nwhen the default options are not sufficient. If any of these are present\nand can't be handled, they will be ignored" + } + }, + "description": "TxBody is the body of a transaction that all signers sign over." + }, + "cosmos.tx.v1beta1.TxDecodeAminoRequest": { + "type": "object", + "properties": { + "amino_binary": { + "type": "string", + "format": "byte" + } + }, + "description": "TxDecodeAminoRequest is the request type for the Service.TxDecodeAmino\nRPC method.\n\nSince: cosmos-sdk 0.47" + }, + "cosmos.tx.v1beta1.TxDecodeAminoResponse": { + "type": "object", + "properties": { + "amino_json": { + "type": "string" + } + }, + "description": "TxDecodeAminoResponse is the response type for the Service.TxDecodeAmino\nRPC method.\n\nSince: cosmos-sdk 0.47" + }, + "cosmos.tx.v1beta1.TxDecodeRequest": { + "type": "object", + "properties": { + "tx_bytes": { + "type": "string", + "format": "byte", + "description": "tx_bytes is the raw transaction." + } + }, + "description": "TxDecodeRequest is the request type for the Service.TxDecode\nRPC method.\n\nSince: cosmos-sdk 0.47" + }, + "cosmos.tx.v1beta1.TxDecodeResponse": { + "type": "object", + "properties": { + "tx": { + "$ref": "#/definitions/cosmos.tx.v1beta1.Tx", + "description": "tx is the decoded transaction." + } + }, + "description": "TxDecodeResponse is the response type for the\nService.TxDecode method.\n\nSince: cosmos-sdk 0.47" + }, + "cosmos.tx.v1beta1.TxEncodeAminoRequest": { + "type": "object", + "properties": { + "amino_json": { + "type": "string" + } + }, + "description": "TxEncodeAminoRequest is the request type for the Service.TxEncodeAmino\nRPC method.\n\nSince: cosmos-sdk 0.47" + }, + "cosmos.tx.v1beta1.TxEncodeAminoResponse": { + "type": "object", + "properties": { + "amino_binary": { + "type": "string", + "format": "byte" + } + }, + "description": "TxEncodeAminoResponse is the response type for the Service.TxEncodeAmino\nRPC method.\n\nSince: cosmos-sdk 0.47" + }, + "cosmos.tx.v1beta1.TxEncodeRequest": { + "type": "object", + "properties": { + "tx": { + "$ref": "#/definitions/cosmos.tx.v1beta1.Tx", + "description": "tx is the transaction to encode." + } + }, + "description": "TxEncodeRequest is the request type for the Service.TxEncode\nRPC method.\n\nSince: cosmos-sdk 0.47" + }, + "cosmos.tx.v1beta1.TxEncodeResponse": { + "type": "object", + "properties": { + "tx_bytes": { + "type": "string", + "format": "byte", + "description": "tx_bytes is the encoded transaction bytes." + } + }, + "description": "TxEncodeResponse is the response type for the\nService.TxEncode method.\n\nSince: cosmos-sdk 0.47" + }, + "google.protobuf.Any": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + }, + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } + }, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + }, + "grpc.gateway.runtime.Error": { + "type": "object", + "properties": { + "error": { + "type": "string" + }, + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + }, + "value": { + "type": "string", + "format": "byte", + "description": "Must be a valid serialized protocol buffer of the above specified type." + } + }, + "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\nExample 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } + } + } + }, + "tendermint.abci.Event": { + "type": "object", + "properties": { + "type": { "type": "string" }, - "events": { + "attributes": { "type": "array", "items": { "type": "object", "properties": { - "type": { + "key": { "type": "string" }, - "attributes": { - "type": "array", - "items": { + "value": { + "type": "string" + }, + "index": { + "type": "boolean" + } + }, + "description": "EventAttribute is a single key-value pair, associated with an event." + } + } + }, + "description": "Event allows application developers to attach additional information to\nResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx.\nLater, transactions may be queried using these events." + }, + "tendermint.abci.EventAttribute": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + }, + "index": { + "type": "boolean" + } + }, + "description": "EventAttribute is a single key-value pair, associated with an event." + }, + "tendermint.crypto.PublicKey": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "tendermint.types.Block": { + "type": "object", + "properties": { + "header": { + "type": "object", + "properties": { + "version": { + "title": "basic block info", + "type": "object", + "properties": { + "block": { + "type": "string", + "format": "uint64" + }, + "app": { + "type": "string", + "format": "uint64" + } + }, + "description": "Consensus captures the consensus rules for processing a block in the blockchain,\nincluding all blockchain data structures and the rules of the application's\nstate transition machine." + }, + "chain_id": { + "type": "string" + }, + "height": { + "type": "string", + "format": "int64" + }, + "time": { + "type": "string", + "format": "date-time" + }, + "last_block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { "type": "object", "properties": { - "key": { - "type": "string" + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "last_commit_hash": { + "type": "string", + "format": "byte", + "title": "hashes of block data" + }, + "data_hash": { + "type": "string", + "format": "byte" + }, + "validators_hash": { + "type": "string", + "format": "byte", + "title": "hashes from the app output from the prev block" + }, + "next_validators_hash": { + "type": "string", + "format": "byte" + }, + "consensus_hash": { + "type": "string", + "format": "byte" + }, + "app_hash": { + "type": "string", + "format": "byte" + }, + "last_results_hash": { + "type": "string", + "format": "byte" + }, + "evidence_hash": { + "type": "string", + "format": "byte", + "title": "consensus info" + }, + "proposer_address": { + "type": "string", + "format": "byte" + } + }, + "description": "Header defines the structure of a block header." + }, + "data": { + "type": "object", + "properties": { + "txs": { + "type": "array", + "items": { + "type": "string", + "format": "byte" + }, + "description": "Txs that will be applied by state @ block.Height+1.\nNOTE: not all txs here are valid. We're just agreeing on the order first.\nThis means that block.AppHash does not include these txs." + } + }, + "title": "Data contains the set of transactions included in the block" + }, + "evidence": { + "type": "object", + "properties": { + "evidence": { + "type": "array", + "items": { + "type": "object", + "properties": { + "duplicate_vote_evidence": { + "type": "object", + "properties": { + "vote_a": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "SIGNED_MSG_TYPE_UNKNOWN", + "SIGNED_MSG_TYPE_PREVOTE", + "SIGNED_MSG_TYPE_PRECOMMIT", + "SIGNED_MSG_TYPE_PROPOSAL" + ], + "default": "SIGNED_MSG_TYPE_UNKNOWN", + "description": "SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_PREVOTE: Votes\n - SIGNED_MSG_TYPE_PROPOSAL: Proposals" + }, + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "validator_index": { + "type": "integer", + "format": "int32" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "Vote represents a prevote, precommit, or commit vote from validators for\nconsensus." + }, + "vote_b": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "SIGNED_MSG_TYPE_UNKNOWN", + "SIGNED_MSG_TYPE_PREVOTE", + "SIGNED_MSG_TYPE_PRECOMMIT", + "SIGNED_MSG_TYPE_PROPOSAL" + ], + "default": "SIGNED_MSG_TYPE_UNKNOWN", + "description": "SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_PREVOTE: Votes\n - SIGNED_MSG_TYPE_PROPOSAL: Proposals" + }, + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "validator_index": { + "type": "integer", + "format": "int32" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "Vote represents a prevote, precommit, or commit vote from validators for\nconsensus." + }, + "total_voting_power": { + "type": "string", + "format": "int64" + }, + "validator_power": { + "type": "string", + "format": "int64" + }, + "timestamp": { + "type": "string", + "format": "date-time" + } + }, + "description": "DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes." + }, + "light_client_attack_evidence": { + "type": "object", + "properties": { + "conflicting_block": { + "type": "object", + "properties": { + "signed_header": { + "type": "object", + "properties": { + "header": { + "type": "object", + "properties": { + "version": { + "title": "basic block info", + "type": "object", + "properties": { + "block": { + "type": "string", + "format": "uint64" + }, + "app": { + "type": "string", + "format": "uint64" + } + }, + "description": "Consensus captures the consensus rules for processing a block in the blockchain,\nincluding all blockchain data structures and the rules of the application's\nstate transition machine." + }, + "chain_id": { + "type": "string" + }, + "height": { + "type": "string", + "format": "int64" + }, + "time": { + "type": "string", + "format": "date-time" + }, + "last_block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "last_commit_hash": { + "type": "string", + "format": "byte", + "title": "hashes of block data" + }, + "data_hash": { + "type": "string", + "format": "byte" + }, + "validators_hash": { + "type": "string", + "format": "byte", + "title": "hashes from the app output from the prev block" + }, + "next_validators_hash": { + "type": "string", + "format": "byte" + }, + "consensus_hash": { + "type": "string", + "format": "byte" + }, + "app_hash": { + "type": "string", + "format": "byte" + }, + "last_results_hash": { + "type": "string", + "format": "byte" + }, + "evidence_hash": { + "type": "string", + "format": "byte", + "title": "consensus info" + }, + "proposer_address": { + "type": "string", + "format": "byte" + } + }, + "description": "Header defines the structure of a block header." + }, + "commit": { + "type": "object", + "properties": { + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "signatures": { + "type": "array", + "items": { + "type": "object", + "properties": { + "block_id_flag": { + "type": "string", + "enum": [ + "BLOCK_ID_FLAG_UNKNOWN", + "BLOCK_ID_FLAG_ABSENT", + "BLOCK_ID_FLAG_COMMIT", + "BLOCK_ID_FLAG_NIL" + ], + "default": "BLOCK_ID_FLAG_UNKNOWN", + "title": "BlockIdFlag indicates which BlcokID the signature is for" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "CommitSig is a part of the Vote included in a Commit." + } + } + }, + "description": "Commit contains the evidence that a block was committed by a set of validators." + } + } + }, + "validator_set": { + "type": "object", + "properties": { + "validators": { + "type": "array", + "items": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } + } + } + }, + "proposer": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } + } + }, + "total_voting_power": { + "type": "string", + "format": "int64" + } + } + } + } + }, + "common_height": { + "type": "string", + "format": "int64" + }, + "byzantine_validators": { + "type": "array", + "items": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } + } + } + }, + "total_voting_power": { + "type": "string", + "format": "int64" + }, + "timestamp": { + "type": "string", + "format": "date-time" + } }, - "value": { - "type": "string" - } - }, - "description": "Attribute defines an attribute wrapper where the key and value are\nstrings instead of raw bytes." + "description": "LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client." + } } } - }, - "description": "StringEvent defines en Event object wrapper where all the attributes\ncontain key/value pairs that are strings instead of raw bytes." - }, - "description": "Events contains a slice of Event objects that were emitted during some\nexecution." - } - }, - "description": "ABCIMessageLog defines a structure containing an indexed tx ABCI message log." - }, - "cosmos.base.abci.v1beta1.Attribute": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "description": "Attribute defines an attribute wrapper where the key and value are\nstrings instead of raw bytes." - }, - "cosmos.base.abci.v1beta1.GasInfo": { - "type": "object", - "properties": { - "gas_wanted": { - "type": "string", - "format": "uint64", - "description": "GasWanted is the maximum units of work we allow this tx to perform." - }, - "gas_used": { - "type": "string", - "format": "uint64", - "description": "GasUsed is the amount of gas actually consumed." - } - }, - "description": "GasInfo defines tx execution gas context." - }, - "cosmos.base.abci.v1beta1.Result": { - "type": "object", - "properties": { - "data": { - "type": "string", - "format": "byte", - "description": "Data is any data returned from message or handler execution. It MUST be\nlength prefixed in order to separate data from multiple message executions." - }, - "log": { - "type": "string", - "description": "Log contains the log information from message or handler execution." + } + } }, - "events": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "attributes": { - "type": "array", - "items": { + "last_commit": { + "type": "object", + "properties": { + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { "type": "object", "properties": { - "key": { - "type": "string", - "format": "byte" + "total": { + "type": "integer", + "format": "int64" }, - "value": { + "hash": { "type": "string", "format": "byte" - }, - "index": { - "type": "boolean" } }, - "description": "EventAttribute is a single key-value pair, associated with an event." + "title": "PartsetHeader" } - } + }, + "title": "BlockID" }, - "description": "Event allows application developers to attach additional information to\nResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx.\nLater, transactions may be queried using these events." + "signatures": { + "type": "array", + "items": { + "type": "object", + "properties": { + "block_id_flag": { + "type": "string", + "enum": [ + "BLOCK_ID_FLAG_UNKNOWN", + "BLOCK_ID_FLAG_ABSENT", + "BLOCK_ID_FLAG_COMMIT", + "BLOCK_ID_FLAG_NIL" + ], + "default": "BLOCK_ID_FLAG_UNKNOWN", + "title": "BlockIdFlag indicates which BlcokID the signature is for" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "CommitSig is a part of the Vote included in a Commit." + } + } }, - "description": "Events contains a slice of Event objects that were emitted during message\nor handler execution." + "description": "Commit contains the evidence that a block was committed by a set of validators." } - }, - "description": "Result is the union of ResponseFormat and ResponseCheckTx." + } }, - "cosmos.base.abci.v1beta1.StringEvent": { + "tendermint.types.BlockID": { "type": "object", "properties": { - "type": { - "type": "string" + "hash": { + "type": "string", + "format": "byte" }, - "attributes": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" }, - "description": "Attribute defines an attribute wrapper where the key and value are\nstrings instead of raw bytes." - } + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" } }, - "description": "StringEvent defines en Event object wrapper where all the attributes\ncontain key/value pairs that are strings instead of raw bytes." + "title": "BlockID" }, - "cosmos.base.abci.v1beta1.TxResponse": { + "tendermint.types.BlockIDFlag": { + "type": "string", + "enum": [ + "BLOCK_ID_FLAG_UNKNOWN", + "BLOCK_ID_FLAG_ABSENT", + "BLOCK_ID_FLAG_COMMIT", + "BLOCK_ID_FLAG_NIL" + ], + "default": "BLOCK_ID_FLAG_UNKNOWN", + "title": "BlockIdFlag indicates which BlcokID the signature is for" + }, + "tendermint.types.Commit": { "type": "object", "properties": { "height": { "type": "string", - "format": "int64", - "title": "The block height" - }, - "txhash": { - "type": "string", - "description": "The transaction hash." - }, - "codespace": { - "type": "string", - "title": "Namespace for the Code" + "format": "int64" }, - "code": { + "round": { "type": "integer", - "format": "int64", - "description": "Response code." - }, - "data": { - "type": "string", - "description": "Result bytes, if any." + "format": "int32" }, - "raw_log": { - "type": "string", - "description": "The output of the application's logger (raw string). May be\nnon-deterministic." + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" }, - "logs": { + "signatures": { "type": "array", "items": { "type": "object", "properties": { - "msg_index": { - "type": "integer", - "format": "int64" + "block_id_flag": { + "type": "string", + "enum": [ + "BLOCK_ID_FLAG_UNKNOWN", + "BLOCK_ID_FLAG_ABSENT", + "BLOCK_ID_FLAG_COMMIT", + "BLOCK_ID_FLAG_NIL" + ], + "default": "BLOCK_ID_FLAG_UNKNOWN", + "title": "BlockIdFlag indicates which BlcokID the signature is for" }, - "log": { - "type": "string" + "validator_address": { + "type": "string", + "format": "byte" }, - "events": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "attributes": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "description": "Attribute defines an attribute wrapper where the key and value are\nstrings instead of raw bytes." - } - } - }, - "description": "StringEvent defines en Event object wrapper where all the attributes\ncontain key/value pairs that are strings instead of raw bytes." - }, - "description": "Events contains a slice of Event objects that were emitted during some\nexecution." - } - }, - "description": "ABCIMessageLog defines a structure containing an indexed tx ABCI message log." - }, - "description": "The output of the application's logger (typed). May be non-deterministic." - }, - "info": { - "type": "string", - "description": "Additional information. May be non-deterministic." - }, - "gas_wanted": { - "type": "string", - "format": "int64", - "description": "Amount of gas requested for transaction." - }, - "gas_used": { - "type": "string", - "format": "int64", - "description": "Amount of gas consumed by transaction." - }, - "tx": { - "type": "object", - "properties": { - "type_url": { - "type": "string", - "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + "timestamp": { + "type": "string", + "format": "date-time" + }, + "signature": { + "type": "string", + "format": "byte" + } }, - "value": { - "type": "string", - "format": "byte", - "description": "Must be a valid serialized protocol buffer of the above specified type." - } - }, - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" - }, - "timestamp": { - "type": "string", - "description": "Time of the previous block. For heights > 1, it's the weighted median of\nthe timestamps of the valid votes in the block.LastCommit. For height == 1,\nit's genesis time." + "description": "CommitSig is a part of the Vote included in a Commit." + } } }, - "description": "TxResponse defines a structure containing relevant tx data and metadata. The\ntags are stringified and the log is JSON decoded." + "description": "Commit contains the evidence that a block was committed by a set of validators." }, - "cosmos.base.query.v1beta1.PageRequest": { + "tendermint.types.CommitSig": { "type": "object", "properties": { - "key": { - "type": "string", - "format": "byte", - "description": "key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set." - }, - "offset": { + "block_id_flag": { "type": "string", - "format": "uint64", - "description": "offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set." + "enum": [ + "BLOCK_ID_FLAG_UNKNOWN", + "BLOCK_ID_FLAG_ABSENT", + "BLOCK_ID_FLAG_COMMIT", + "BLOCK_ID_FLAG_NIL" + ], + "default": "BLOCK_ID_FLAG_UNKNOWN", + "title": "BlockIdFlag indicates which BlcokID the signature is for" }, - "limit": { + "validator_address": { "type": "string", - "format": "uint64", - "description": "limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app." - }, - "count_total": { - "type": "boolean", - "description": "count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set." + "format": "byte" }, - "reverse": { - "type": "boolean", - "description": "reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43" - } - }, - "description": "message SomeRequest {\n Foo some_parameter = 1;\n PageRequest pagination = 2;\n }", - "title": "PageRequest is to be embedded in gRPC request messages for efficient\npagination. Ex:" - }, - "cosmos.base.query.v1beta1.PageResponse": { - "type": "object", - "properties": { - "next_key": { + "timestamp": { "type": "string", - "format": "byte", - "title": "next_key is the key to be passed to PageRequest.key to\nquery the next page most efficiently" + "format": "date-time" }, - "total": { + "signature": { "type": "string", - "format": "uint64", - "title": "total is total number of results available if PageRequest.count_total\nwas set, its value is undefined otherwise" + "format": "byte" } }, - "description": "PageResponse is to be embedded in gRPC response messages where the\ncorresponding request message has used PageRequest.\n\n message SomeResponse {\n repeated Bar results = 1;\n PageResponse page = 2;\n }" + "description": "CommitSig is a part of the Vote included in a Commit." }, - "cosmos.base.v1beta1.Coin": { + "tendermint.types.Data": { "type": "object", "properties": { - "denom": { - "type": "string" - }, - "amount": { - "type": "string" + "txs": { + "type": "array", + "items": { + "type": "string", + "format": "byte" + }, + "description": "Txs that will be applied by state @ block.Height+1.\nNOTE: not all txs here are valid. We're just agreeing on the order first.\nThis means that block.AppHash does not include these txs." } }, - "description": "Coin defines a token with a denomination and an amount.\n\nNOTE: The amount field is an Int which implements the custom method\nsignatures required by gogoproto." + "title": "Data contains the set of transactions included in the block" }, - "cosmos.crypto.multisig.v1beta1.CompactBitArray": { + "tendermint.types.DuplicateVoteEvidence": { "type": "object", "properties": { - "extra_bits_stored": { - "type": "integer", + "vote_a": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "SIGNED_MSG_TYPE_UNKNOWN", + "SIGNED_MSG_TYPE_PREVOTE", + "SIGNED_MSG_TYPE_PRECOMMIT", + "SIGNED_MSG_TYPE_PROPOSAL" + ], + "default": "SIGNED_MSG_TYPE_UNKNOWN", + "description": "SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_PREVOTE: Votes\n - SIGNED_MSG_TYPE_PROPOSAL: Proposals" + }, + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "validator_index": { + "type": "integer", + "format": "int32" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "Vote represents a prevote, precommit, or commit vote from validators for\nconsensus." + }, + "vote_b": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "SIGNED_MSG_TYPE_UNKNOWN", + "SIGNED_MSG_TYPE_PREVOTE", + "SIGNED_MSG_TYPE_PRECOMMIT", + "SIGNED_MSG_TYPE_PROPOSAL" + ], + "default": "SIGNED_MSG_TYPE_UNKNOWN", + "description": "SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_PREVOTE: Votes\n - SIGNED_MSG_TYPE_PROPOSAL: Proposals" + }, + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "validator_index": { + "type": "integer", + "format": "int32" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "Vote represents a prevote, precommit, or commit vote from validators for\nconsensus." + }, + "total_voting_power": { + "type": "string", "format": "int64" }, - "elems": { + "validator_power": { "type": "string", - "format": "byte" + "format": "int64" + }, + "timestamp": { + "type": "string", + "format": "date-time" } }, - "description": "CompactBitArray is an implementation of a space efficient bit array.\nThis is used to ensure that the encoded data takes up a minimal amount of\nspace after proto encoding.\nThis is not thread safe, and is not intended for concurrent usage." - }, - "cosmos.tx.signing.v1beta1.SignMode": { - "type": "string", - "enum": [ - "SIGN_MODE_UNSPECIFIED", - "SIGN_MODE_DIRECT", - "SIGN_MODE_TEXTUAL", - "SIGN_MODE_LEGACY_AMINO_JSON" - ], - "default": "SIGN_MODE_UNSPECIFIED", - "description": "SignMode represents a signing mode with its own security guarantees.\n\n - SIGN_MODE_UNSPECIFIED: SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be\nrejected\n - SIGN_MODE_DIRECT: SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is\nverified with raw bytes from Tx\n - SIGN_MODE_TEXTUAL: SIGN_MODE_TEXTUAL is a future signing mode that will verify some\nhuman-readable textual representation on top of the binary representation\nfrom SIGN_MODE_DIRECT\n - SIGN_MODE_LEGACY_AMINO_JSON: SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses\nAmino JSON and will be removed in the future" + "description": "DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes." }, - "cosmos.tx.v1beta1.AuthInfo": { + "tendermint.types.Evidence": { "type": "object", "properties": { - "signer_infos": { - "type": "array", - "items": { - "$ref": "#/definitions/cosmos.tx.v1beta1.SignerInfo" - }, - "description": "signer_infos defines the signing modes for the required signers. The number\nand order of elements must match the required signers from TxBody's\nmessages. The first element is the primary signer and the one which pays\nthe fee." - }, - "fee": { - "description": "Fee is the fee and gas limit for the transaction. The first signer is the\nprimary signer and the one which pays the fee. The fee can be calculated\nbased on the cost of evaluating the body and doing signature verification\nof the signers. This can be estimated via simulation.", + "duplicate_vote_evidence": { "type": "object", "properties": { - "amount": { - "type": "array", - "items": { - "type": "object", - "properties": { - "denom": { - "type": "string" + "vote_a": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "SIGNED_MSG_TYPE_UNKNOWN", + "SIGNED_MSG_TYPE_PREVOTE", + "SIGNED_MSG_TYPE_PRECOMMIT", + "SIGNED_MSG_TYPE_PROPOSAL" + ], + "default": "SIGNED_MSG_TYPE_UNKNOWN", + "description": "SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_PREVOTE: Votes\n - SIGNED_MSG_TYPE_PROPOSAL: Proposals" + }, + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } }, - "amount": { - "type": "string" - } + "title": "BlockID" }, - "description": "Coin defines a token with a denomination and an amount.\n\nNOTE: The amount field is an Int which implements the custom method\nsignatures required by gogoproto." + "timestamp": { + "type": "string", + "format": "date-time" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "validator_index": { + "type": "integer", + "format": "int32" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "Vote represents a prevote, precommit, or commit vote from validators for\nconsensus." + }, + "vote_b": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "SIGNED_MSG_TYPE_UNKNOWN", + "SIGNED_MSG_TYPE_PREVOTE", + "SIGNED_MSG_TYPE_PRECOMMIT", + "SIGNED_MSG_TYPE_PROPOSAL" + ], + "default": "SIGNED_MSG_TYPE_UNKNOWN", + "description": "SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_PREVOTE: Votes\n - SIGNED_MSG_TYPE_PROPOSAL: Proposals" + }, + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "validator_index": { + "type": "integer", + "format": "int32" + }, + "signature": { + "type": "string", + "format": "byte" + } }, - "title": "amount is the amount of coins to be paid as a fee" + "description": "Vote represents a prevote, precommit, or commit vote from validators for\nconsensus." }, - "gas_limit": { + "total_voting_power": { "type": "string", - "format": "uint64", - "title": "gas_limit is the maximum gas that can be used in transaction processing\nbefore an out of gas error occurs" + "format": "int64" }, - "payer": { + "validator_power": { "type": "string", - "description": "if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees.\nthe payer must be a tx signer (and thus have signed this field in AuthInfo).\nsetting this field does *not* change the ordering of required signers for the transaction." + "format": "int64" }, - "granter": { + "timestamp": { "type": "string", - "title": "if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used\nto pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does\nnot support fee grants, this will fail" + "format": "date-time" } - } - } - }, - "description": "AuthInfo describes the fee and signer modes that are used to sign a\ntransaction." - }, - "cosmos.tx.v1beta1.BroadcastMode": { - "type": "string", - "enum": [ - "BROADCAST_MODE_UNSPECIFIED", - "BROADCAST_MODE_BLOCK", - "BROADCAST_MODE_SYNC", - "BROADCAST_MODE_ASYNC" - ], - "default": "BROADCAST_MODE_UNSPECIFIED", - "description": "BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method.\n\n - BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering\n - BROADCAST_MODE_BLOCK: BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for\nthe tx to be committed in a block.\n - BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for\na CheckTx execution response only.\n - BROADCAST_MODE_ASYNC: BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns\nimmediately." - }, - "cosmos.tx.v1beta1.BroadcastTxRequest": { - "type": "object", - "properties": { - "tx_bytes": { - "type": "string", - "format": "byte", - "description": "tx_bytes is the raw transaction." + }, + "description": "DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes." }, - "mode": { - "type": "string", - "enum": [ - "BROADCAST_MODE_UNSPECIFIED", - "BROADCAST_MODE_BLOCK", - "BROADCAST_MODE_SYNC", - "BROADCAST_MODE_ASYNC" - ], - "default": "BROADCAST_MODE_UNSPECIFIED", - "description": "BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method.\n\n - BROADCAST_MODE_UNSPECIFIED: zero-value for mode ordering\n - BROADCAST_MODE_BLOCK: BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for\nthe tx to be committed in a block.\n - BROADCAST_MODE_SYNC: BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for\na CheckTx execution response only.\n - BROADCAST_MODE_ASYNC: BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns\nimmediately." - } - }, - "description": "BroadcastTxRequest is the request type for the Service.BroadcastTxRequest\nRPC method." - }, - "cosmos.tx.v1beta1.BroadcastTxResponse": { - "type": "object", - "properties": { - "tx_response": { + "light_client_attack_evidence": { "type": "object", "properties": { - "height": { - "type": "string", - "format": "int64", - "title": "The block height" - }, - "txhash": { - "type": "string", - "description": "The transaction hash." + "conflicting_block": { + "type": "object", + "properties": { + "signed_header": { + "type": "object", + "properties": { + "header": { + "type": "object", + "properties": { + "version": { + "title": "basic block info", + "type": "object", + "properties": { + "block": { + "type": "string", + "format": "uint64" + }, + "app": { + "type": "string", + "format": "uint64" + } + }, + "description": "Consensus captures the consensus rules for processing a block in the blockchain,\nincluding all blockchain data structures and the rules of the application's\nstate transition machine." + }, + "chain_id": { + "type": "string" + }, + "height": { + "type": "string", + "format": "int64" + }, + "time": { + "type": "string", + "format": "date-time" + }, + "last_block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "last_commit_hash": { + "type": "string", + "format": "byte", + "title": "hashes of block data" + }, + "data_hash": { + "type": "string", + "format": "byte" + }, + "validators_hash": { + "type": "string", + "format": "byte", + "title": "hashes from the app output from the prev block" + }, + "next_validators_hash": { + "type": "string", + "format": "byte" + }, + "consensus_hash": { + "type": "string", + "format": "byte" + }, + "app_hash": { + "type": "string", + "format": "byte" + }, + "last_results_hash": { + "type": "string", + "format": "byte" + }, + "evidence_hash": { + "type": "string", + "format": "byte", + "title": "consensus info" + }, + "proposer_address": { + "type": "string", + "format": "byte" + } + }, + "description": "Header defines the structure of a block header." + }, + "commit": { + "type": "object", + "properties": { + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "signatures": { + "type": "array", + "items": { + "type": "object", + "properties": { + "block_id_flag": { + "type": "string", + "enum": [ + "BLOCK_ID_FLAG_UNKNOWN", + "BLOCK_ID_FLAG_ABSENT", + "BLOCK_ID_FLAG_COMMIT", + "BLOCK_ID_FLAG_NIL" + ], + "default": "BLOCK_ID_FLAG_UNKNOWN", + "title": "BlockIdFlag indicates which BlcokID the signature is for" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "CommitSig is a part of the Vote included in a Commit." + } + } + }, + "description": "Commit contains the evidence that a block was committed by a set of validators." + } + } + }, + "validator_set": { + "type": "object", + "properties": { + "validators": { + "type": "array", + "items": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } + } + } + }, + "proposer": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } + } + }, + "total_voting_power": { + "type": "string", + "format": "int64" + } + } + } + } }, - "codespace": { + "common_height": { "type": "string", - "title": "Namespace for the Code" + "format": "int64" }, - "code": { - "type": "integer", - "format": "int64", - "description": "Response code." + "byzantine_validators": { + "type": "array", + "items": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } + } + } }, - "data": { + "total_voting_power": { "type": "string", - "description": "Result bytes, if any." + "format": "int64" }, - "raw_log": { + "timestamp": { "type": "string", - "description": "The output of the application's logger (raw string). May be\nnon-deterministic." - }, - "logs": { - "type": "array", - "items": { + "format": "date-time" + } + }, + "description": "LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client." + } + } + }, + "tendermint.types.EvidenceList": { + "type": "object", + "properties": { + "evidence": { + "type": "array", + "items": { + "type": "object", + "properties": { + "duplicate_vote_evidence": { "type": "object", "properties": { - "msg_index": { - "type": "integer", + "vote_a": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "SIGNED_MSG_TYPE_UNKNOWN", + "SIGNED_MSG_TYPE_PREVOTE", + "SIGNED_MSG_TYPE_PRECOMMIT", + "SIGNED_MSG_TYPE_PROPOSAL" + ], + "default": "SIGNED_MSG_TYPE_UNKNOWN", + "description": "SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_PREVOTE: Votes\n - SIGNED_MSG_TYPE_PROPOSAL: Proposals" + }, + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "validator_index": { + "type": "integer", + "format": "int32" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "Vote represents a prevote, precommit, or commit vote from validators for\nconsensus." + }, + "vote_b": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "SIGNED_MSG_TYPE_UNKNOWN", + "SIGNED_MSG_TYPE_PREVOTE", + "SIGNED_MSG_TYPE_PRECOMMIT", + "SIGNED_MSG_TYPE_PROPOSAL" + ], + "default": "SIGNED_MSG_TYPE_UNKNOWN", + "description": "SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_PREVOTE: Votes\n - SIGNED_MSG_TYPE_PROPOSAL: Proposals" + }, + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "validator_index": { + "type": "integer", + "format": "int32" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "Vote represents a prevote, precommit, or commit vote from validators for\nconsensus." + }, + "total_voting_power": { + "type": "string", "format": "int64" }, - "log": { - "type": "string" + "validator_power": { + "type": "string", + "format": "int64" }, - "events": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "attributes": { - "type": "array", - "items": { + "timestamp": { + "type": "string", + "format": "date-time" + } + }, + "description": "DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes." + }, + "light_client_attack_evidence": { + "type": "object", + "properties": { + "conflicting_block": { + "type": "object", + "properties": { + "signed_header": { + "type": "object", + "properties": { + "header": { "type": "object", "properties": { - "key": { - "type": "string" + "version": { + "title": "basic block info", + "type": "object", + "properties": { + "block": { + "type": "string", + "format": "uint64" + }, + "app": { + "type": "string", + "format": "uint64" + } + }, + "description": "Consensus captures the consensus rules for processing a block in the blockchain,\nincluding all blockchain data structures and the rules of the application's\nstate transition machine." }, - "value": { + "chain_id": { "type": "string" + }, + "height": { + "type": "string", + "format": "int64" + }, + "time": { + "type": "string", + "format": "date-time" + }, + "last_block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "last_commit_hash": { + "type": "string", + "format": "byte", + "title": "hashes of block data" + }, + "data_hash": { + "type": "string", + "format": "byte" + }, + "validators_hash": { + "type": "string", + "format": "byte", + "title": "hashes from the app output from the prev block" + }, + "next_validators_hash": { + "type": "string", + "format": "byte" + }, + "consensus_hash": { + "type": "string", + "format": "byte" + }, + "app_hash": { + "type": "string", + "format": "byte" + }, + "last_results_hash": { + "type": "string", + "format": "byte" + }, + "evidence_hash": { + "type": "string", + "format": "byte", + "title": "consensus info" + }, + "proposer_address": { + "type": "string", + "format": "byte" } }, - "description": "Attribute defines an attribute wrapper where the key and value are\nstrings instead of raw bytes." + "description": "Header defines the structure of a block header." + }, + "commit": { + "type": "object", + "properties": { + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "signatures": { + "type": "array", + "items": { + "type": "object", + "properties": { + "block_id_flag": { + "type": "string", + "enum": [ + "BLOCK_ID_FLAG_UNKNOWN", + "BLOCK_ID_FLAG_ABSENT", + "BLOCK_ID_FLAG_COMMIT", + "BLOCK_ID_FLAG_NIL" + ], + "default": "BLOCK_ID_FLAG_UNKNOWN", + "title": "BlockIdFlag indicates which BlcokID the signature is for" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "CommitSig is a part of the Vote included in a Commit." + } + } + }, + "description": "Commit contains the evidence that a block was committed by a set of validators." } } }, - "description": "StringEvent defines en Event object wrapper where all the attributes\ncontain key/value pairs that are strings instead of raw bytes." - }, - "description": "Events contains a slice of Event objects that were emitted during some\nexecution." + "validator_set": { + "type": "object", + "properties": { + "validators": { + "type": "array", + "items": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } + } + } + }, + "proposer": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } + } + }, + "total_voting_power": { + "type": "string", + "format": "int64" + } + } + } + } + }, + "common_height": { + "type": "string", + "format": "int64" + }, + "byzantine_validators": { + "type": "array", + "items": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } + } + } + }, + "total_voting_power": { + "type": "string", + "format": "int64" + }, + "timestamp": { + "type": "string", + "format": "date-time" } }, - "description": "ABCIMessageLog defines a structure containing an indexed tx ABCI message log." - }, - "description": "The output of the application's logger (typed). May be non-deterministic." - }, - "info": { + "description": "LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client." + } + } + } + } + } + }, + "tendermint.types.Header": { + "type": "object", + "properties": { + "version": { + "title": "basic block info", + "type": "object", + "properties": { + "block": { "type": "string", - "description": "Additional information. May be non-deterministic." + "format": "uint64" }, - "gas_wanted": { + "app": { "type": "string", - "format": "int64", - "description": "Amount of gas requested for transaction." - }, - "gas_used": { + "format": "uint64" + } + }, + "description": "Consensus captures the consensus rules for processing a block in the blockchain,\nincluding all blockchain data structures and the rules of the application's\nstate transition machine." + }, + "chain_id": { + "type": "string" + }, + "height": { + "type": "string", + "format": "int64" + }, + "time": { + "type": "string", + "format": "date-time" + }, + "last_block_id": { + "type": "object", + "properties": { + "hash": { "type": "string", - "format": "int64", - "description": "Amount of gas consumed by transaction." + "format": "byte" }, - "tx": { + "part_set_header": { "type": "object", "properties": { - "type_url": { - "type": "string", - "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + "total": { + "type": "integer", + "format": "int64" }, - "value": { + "hash": { "type": "string", - "format": "byte", - "description": "Must be a valid serialized protocol buffer of the above specified type." + "format": "byte" } }, - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" - }, - "timestamp": { - "type": "string", - "description": "Time of the previous block. For heights > 1, it's the weighted median of\nthe timestamps of the valid votes in the block.LastCommit. For height == 1,\nit's genesis time." + "title": "PartsetHeader" } }, - "description": "TxResponse defines a structure containing relevant tx data and metadata. The\ntags are stringified and the log is JSON decoded." - } - }, - "description": "BroadcastTxResponse is the response type for the\nService.BroadcastTx method." - }, - "cosmos.tx.v1beta1.Fee": { - "type": "object", - "properties": { - "amount": { - "type": "array", - "items": { - "type": "object", - "properties": { - "denom": { - "type": "string" - }, - "amount": { - "type": "string" - } - }, - "description": "Coin defines a token with a denomination and an amount.\n\nNOTE: The amount field is an Int which implements the custom method\nsignatures required by gogoproto." - }, - "title": "amount is the amount of coins to be paid as a fee" + "title": "BlockID" + }, + "last_commit_hash": { + "type": "string", + "format": "byte", + "title": "hashes of block data" + }, + "data_hash": { + "type": "string", + "format": "byte" + }, + "validators_hash": { + "type": "string", + "format": "byte", + "title": "hashes from the app output from the prev block" + }, + "next_validators_hash": { + "type": "string", + "format": "byte" + }, + "consensus_hash": { + "type": "string", + "format": "byte" }, - "gas_limit": { + "app_hash": { "type": "string", - "format": "uint64", - "title": "gas_limit is the maximum gas that can be used in transaction processing\nbefore an out of gas error occurs" + "format": "byte" }, - "payer": { + "last_results_hash": { "type": "string", - "description": "if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees.\nthe payer must be a tx signer (and thus have signed this field in AuthInfo).\nsetting this field does *not* change the ordering of required signers for the transaction." + "format": "byte" }, - "granter": { + "evidence_hash": { "type": "string", - "title": "if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used\nto pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does\nnot support fee grants, this will fail" + "format": "byte", + "title": "consensus info" + }, + "proposer_address": { + "type": "string", + "format": "byte" } }, - "description": "Fee includes the amount of coins paid in fees and the maximum\ngas to be used by the transaction. The ratio yields an effective \"gasprice\",\nwhich must be above some miminum to be accepted into the mempool." + "description": "Header defines the structure of a block header." }, - "cosmos.tx.v1beta1.GetTxResponse": { + "tendermint.types.LightBlock": { "type": "object", "properties": { - "tx": { - "$ref": "#/definitions/cosmos.tx.v1beta1.Tx", - "description": "tx is the queried transaction." - }, - "tx_response": { + "signed_header": { "type": "object", "properties": { - "height": { - "type": "string", - "format": "int64", - "title": "The block height" - }, - "txhash": { - "type": "string", - "description": "The transaction hash." - }, - "codespace": { - "type": "string", - "title": "Namespace for the Code" - }, - "code": { - "type": "integer", - "format": "int64", - "description": "Response code." - }, - "data": { - "type": "string", - "description": "Result bytes, if any." - }, - "raw_log": { - "type": "string", - "description": "The output of the application's logger (raw string). May be\nnon-deterministic." - }, - "logs": { - "type": "array", - "items": { - "type": "object", - "properties": { - "msg_index": { - "type": "integer", - "format": "int64" - }, - "log": { - "type": "string" + "header": { + "type": "object", + "properties": { + "version": { + "title": "basic block info", + "type": "object", + "properties": { + "block": { + "type": "string", + "format": "uint64" + }, + "app": { + "type": "string", + "format": "uint64" + } }, - "events": { - "type": "array", - "items": { + "description": "Consensus captures the consensus rules for processing a block in the blockchain,\nincluding all blockchain data structures and the rules of the application's\nstate transition machine." + }, + "chain_id": { + "type": "string" + }, + "height": { + "type": "string", + "format": "int64" + }, + "time": { + "type": "string", + "format": "date-time" + }, + "last_block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { "type": "object", "properties": { - "type": { - "type": "string" + "total": { + "type": "integer", + "format": "int64" }, - "attributes": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "description": "Attribute defines an attribute wrapper where the key and value are\nstrings instead of raw bytes." - } + "hash": { + "type": "string", + "format": "byte" } }, - "description": "StringEvent defines en Event object wrapper where all the attributes\ncontain key/value pairs that are strings instead of raw bytes." - }, - "description": "Events contains a slice of Event objects that were emitted during some\nexecution." - } + "title": "PartsetHeader" + } + }, + "title": "BlockID" }, - "description": "ABCIMessageLog defines a structure containing an indexed tx ABCI message log." - }, - "description": "The output of the application's logger (typed). May be non-deterministic." - }, - "info": { - "type": "string", - "description": "Additional information. May be non-deterministic." - }, - "gas_wanted": { - "type": "string", - "format": "int64", - "description": "Amount of gas requested for transaction." - }, - "gas_used": { - "type": "string", - "format": "int64", - "description": "Amount of gas consumed by transaction." - }, - "tx": { - "type": "object", - "properties": { - "type_url": { + "last_commit_hash": { "type": "string", - "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + "format": "byte", + "title": "hashes of block data" }, - "value": { + "data_hash": { + "type": "string", + "format": "byte" + }, + "validators_hash": { "type": "string", "format": "byte", - "description": "Must be a valid serialized protocol buffer of the above specified type." + "title": "hashes from the app output from the prev block" + }, + "next_validators_hash": { + "type": "string", + "format": "byte" + }, + "consensus_hash": { + "type": "string", + "format": "byte" + }, + "app_hash": { + "type": "string", + "format": "byte" + }, + "last_results_hash": { + "type": "string", + "format": "byte" + }, + "evidence_hash": { + "type": "string", + "format": "byte", + "title": "consensus info" + }, + "proposer_address": { + "type": "string", + "format": "byte" } }, - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + "description": "Header defines the structure of a block header." }, - "timestamp": { - "type": "string", - "description": "Time of the previous block. For heights > 1, it's the weighted median of\nthe timestamps of the valid votes in the block.LastCommit. For height == 1,\nit's genesis time." - } - }, - "description": "TxResponse defines a structure containing relevant tx data and metadata. The\ntags are stringified and the log is JSON decoded." - } - }, - "description": "GetTxResponse is the response type for the Service.GetTx method." - }, - "cosmos.tx.v1beta1.GetTxsEventResponse": { - "type": "object", - "properties": { - "txs": { - "type": "array", - "items": { - "$ref": "#/definitions/cosmos.tx.v1beta1.Tx" - }, - "description": "txs is the list of queried transactions." - }, - "tx_responses": { - "type": "array", - "items": { - "type": "object", - "properties": { - "height": { - "type": "string", - "format": "int64", - "title": "The block height" - }, - "txhash": { - "type": "string", - "description": "The transaction hash." - }, - "codespace": { - "type": "string", - "title": "Namespace for the Code" - }, - "code": { - "type": "integer", - "format": "int64", - "description": "Response code." - }, - "data": { - "type": "string", - "description": "Result bytes, if any." - }, - "raw_log": { - "type": "string", - "description": "The output of the application's logger (raw string). May be\nnon-deterministic." - }, - "logs": { - "type": "array", - "items": { + "commit": { + "type": "object", + "properties": { + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { "type": "object", "properties": { - "msg_index": { - "type": "integer", - "format": "int64" - }, - "log": { - "type": "string" + "hash": { + "type": "string", + "format": "byte" }, - "events": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "attributes": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "description": "Attribute defines an attribute wrapper where the key and value are\nstrings instead of raw bytes." - } - } + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" }, - "description": "StringEvent defines en Event object wrapper where all the attributes\ncontain key/value pairs that are strings instead of raw bytes." + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "signatures": { + "type": "array", + "items": { + "type": "object", + "properties": { + "block_id_flag": { + "type": "string", + "enum": [ + "BLOCK_ID_FLAG_UNKNOWN", + "BLOCK_ID_FLAG_ABSENT", + "BLOCK_ID_FLAG_COMMIT", + "BLOCK_ID_FLAG_NIL" + ], + "default": "BLOCK_ID_FLAG_UNKNOWN", + "title": "BlockIdFlag indicates which BlcokID the signature is for" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "timestamp": { + "type": "string", + "format": "date-time" }, - "description": "Events contains a slice of Event objects that were emitted during some\nexecution." - } - }, - "description": "ABCIMessageLog defines a structure containing an indexed tx ABCI message log." - }, - "description": "The output of the application's logger (typed). May be non-deterministic." - }, - "info": { - "type": "string", - "description": "Additional information. May be non-deterministic." - }, - "gas_wanted": { - "type": "string", - "format": "int64", - "description": "Amount of gas requested for transaction." - }, - "gas_used": { - "type": "string", - "format": "int64", - "description": "Amount of gas consumed by transaction." + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "CommitSig is a part of the Vote included in a Commit." + } + } }, - "tx": { + "description": "Commit contains the evidence that a block was committed by a set of validators." + } + } + }, + "validator_set": { + "type": "object", + "properties": { + "validators": { + "type": "array", + "items": { "type": "object", "properties": { - "type_url": { + "address": { "type": "string", - "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + "format": "byte" }, - "value": { + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { "type": "string", - "format": "byte", - "description": "Must be a valid serialized protocol buffer of the above specified type." + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" } - }, - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" - }, - "timestamp": { - "type": "string", - "description": "Time of the previous block. For heights > 1, it's the weighted median of\nthe timestamps of the valid votes in the block.LastCommit. For height == 1,\nit's genesis time." + } } }, - "description": "TxResponse defines a structure containing relevant tx data and metadata. The\ntags are stringified and the log is JSON decoded." - }, - "description": "tx_responses is the list of queried TxResponses." - }, - "pagination": { - "description": "pagination defines an pagination for the response.", - "type": "object", - "properties": { - "next_key": { - "type": "string", - "format": "byte", - "title": "next_key is the key to be passed to PageRequest.key to\nquery the next page most efficiently" + "proposer": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } + } }, - "total": { - "type": "string", - "format": "uint64", - "title": "total is total number of results available if PageRequest.count_total\nwas set, its value is undefined otherwise" - } - } - } - }, - "description": "GetTxsEventResponse is the response type for the Service.TxsByEvents\nRPC method." - }, - "cosmos.tx.v1beta1.ModeInfo": { - "type": "object", - "properties": { - "single": { - "title": "single represents a single signer", - "type": "object", - "properties": { - "mode": { - "title": "mode is the signing mode of the single signer", + "total_voting_power": { "type": "string", - "enum": [ - "SIGN_MODE_UNSPECIFIED", - "SIGN_MODE_DIRECT", - "SIGN_MODE_TEXTUAL", - "SIGN_MODE_LEGACY_AMINO_JSON" - ], - "default": "SIGN_MODE_UNSPECIFIED", - "description": "SignMode represents a signing mode with its own security guarantees.\n\n - SIGN_MODE_UNSPECIFIED: SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be\nrejected\n - SIGN_MODE_DIRECT: SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is\nverified with raw bytes from Tx\n - SIGN_MODE_TEXTUAL: SIGN_MODE_TEXTUAL is a future signing mode that will verify some\nhuman-readable textual representation on top of the binary representation\nfrom SIGN_MODE_DIRECT\n - SIGN_MODE_LEGACY_AMINO_JSON: SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses\nAmino JSON and will be removed in the future" + "format": "int64" } } - }, - "multi": { - "$ref": "#/definitions/cosmos.tx.v1beta1.ModeInfo.Multi", - "title": "multi represents a nested multisig signer" } - }, - "description": "ModeInfo describes the signing mode of a single or nested multisig signer." + } }, - "cosmos.tx.v1beta1.ModeInfo.Multi": { + "tendermint.types.LightClientAttackEvidence": { "type": "object", "properties": { - "bitarray": { - "title": "bitarray specifies which keys within the multisig are signing", + "conflicting_block": { "type": "object", "properties": { - "extra_bits_stored": { - "type": "integer", - "format": "int64" + "signed_header": { + "type": "object", + "properties": { + "header": { + "type": "object", + "properties": { + "version": { + "title": "basic block info", + "type": "object", + "properties": { + "block": { + "type": "string", + "format": "uint64" + }, + "app": { + "type": "string", + "format": "uint64" + } + }, + "description": "Consensus captures the consensus rules for processing a block in the blockchain,\nincluding all blockchain data structures and the rules of the application's\nstate transition machine." + }, + "chain_id": { + "type": "string" + }, + "height": { + "type": "string", + "format": "int64" + }, + "time": { + "type": "string", + "format": "date-time" + }, + "last_block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "last_commit_hash": { + "type": "string", + "format": "byte", + "title": "hashes of block data" + }, + "data_hash": { + "type": "string", + "format": "byte" + }, + "validators_hash": { + "type": "string", + "format": "byte", + "title": "hashes from the app output from the prev block" + }, + "next_validators_hash": { + "type": "string", + "format": "byte" + }, + "consensus_hash": { + "type": "string", + "format": "byte" + }, + "app_hash": { + "type": "string", + "format": "byte" + }, + "last_results_hash": { + "type": "string", + "format": "byte" + }, + "evidence_hash": { + "type": "string", + "format": "byte", + "title": "consensus info" + }, + "proposer_address": { + "type": "string", + "format": "byte" + } + }, + "description": "Header defines the structure of a block header." + }, + "commit": { + "type": "object", + "properties": { + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "signatures": { + "type": "array", + "items": { + "type": "object", + "properties": { + "block_id_flag": { + "type": "string", + "enum": [ + "BLOCK_ID_FLAG_UNKNOWN", + "BLOCK_ID_FLAG_ABSENT", + "BLOCK_ID_FLAG_COMMIT", + "BLOCK_ID_FLAG_NIL" + ], + "default": "BLOCK_ID_FLAG_UNKNOWN", + "title": "BlockIdFlag indicates which BlcokID the signature is for" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "signature": { + "type": "string", + "format": "byte" + } + }, + "description": "CommitSig is a part of the Vote included in a Commit." + } + } + }, + "description": "Commit contains the evidence that a block was committed by a set of validators." + } + } }, - "elems": { - "type": "string", - "format": "byte" + "validator_set": { + "type": "object", + "properties": { + "validators": { + "type": "array", + "items": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } + } + } + }, + "proposer": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } + } + }, + "total_voting_power": { + "type": "string", + "format": "int64" + } + } } - }, - "description": "CompactBitArray is an implementation of a space efficient bit array.\nThis is used to ensure that the encoded data takes up a minimal amount of\nspace after proto encoding.\nThis is not thread safe, and is not intended for concurrent usage." + } }, - "mode_infos": { + "common_height": { + "type": "string", + "format": "int64" + }, + "byzantine_validators": { "type": "array", "items": { - "$ref": "#/definitions/cosmos.tx.v1beta1.ModeInfo" - }, - "title": "mode_infos is the corresponding modes of the signers of the multisig\nwhich could include nested multisig public keys" - } - }, - "title": "Multi is the mode info for a multisig public key" - }, - "cosmos.tx.v1beta1.ModeInfo.Single": { - "type": "object", - "properties": { - "mode": { - "title": "mode is the signing mode of the single signer", - "type": "string", - "enum": [ - "SIGN_MODE_UNSPECIFIED", - "SIGN_MODE_DIRECT", - "SIGN_MODE_TEXTUAL", - "SIGN_MODE_LEGACY_AMINO_JSON" - ], - "default": "SIGN_MODE_UNSPECIFIED", - "description": "SignMode represents a signing mode with its own security guarantees.\n\n - SIGN_MODE_UNSPECIFIED: SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be\nrejected\n - SIGN_MODE_DIRECT: SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is\nverified with raw bytes from Tx\n - SIGN_MODE_TEXTUAL: SIGN_MODE_TEXTUAL is a future signing mode that will verify some\nhuman-readable textual representation on top of the binary representation\nfrom SIGN_MODE_DIRECT\n - SIGN_MODE_LEGACY_AMINO_JSON: SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses\nAmino JSON and will be removed in the future" - } - }, - "title": "Single is the mode info for a single signer. It is structured as a message\nto allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the\nfuture" - }, - "cosmos.tx.v1beta1.OrderBy": { - "type": "string", - "enum": [ - "ORDER_BY_UNSPECIFIED", - "ORDER_BY_ASC", - "ORDER_BY_DESC" - ], - "default": "ORDER_BY_UNSPECIFIED", - "description": "- ORDER_BY_UNSPECIFIED: ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case.\n - ORDER_BY_ASC: ORDER_BY_ASC defines ascending order\n - ORDER_BY_DESC: ORDER_BY_DESC defines descending order", - "title": "OrderBy defines the sorting order" - }, - "cosmos.tx.v1beta1.SignerInfo": { - "type": "object", - "properties": { - "public_key": { - "type": "object", - "properties": { - "type_url": { - "type": "string", - "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." - }, - "value": { - "type": "string", - "format": "byte", - "description": "Must be a valid serialized protocol buffer of the above specified type." + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { + "type": "string", + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" + } } - }, - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } }, - "mode_info": { - "$ref": "#/definitions/cosmos.tx.v1beta1.ModeInfo", - "title": "mode_info describes the signing mode of the signer and is a nested\nstructure to support nested multisig pubkey's" + "total_voting_power": { + "type": "string", + "format": "int64" }, - "sequence": { + "timestamp": { "type": "string", - "format": "uint64", - "description": "sequence is the sequence of the account, which describes the\nnumber of committed transactions signed by a given address. It is used to\nprevent replay attacks." + "format": "date-time" } }, - "description": "SignerInfo describes the public key and signing mode of a single top-level\nsigner." + "description": "LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client." }, - "cosmos.tx.v1beta1.SimulateRequest": { + "tendermint.types.PartSetHeader": { "type": "object", "properties": { - "tx": { - "$ref": "#/definitions/cosmos.tx.v1beta1.Tx", - "description": "tx is the transaction to simulate.\nDeprecated. Send raw tx bytes instead." + "total": { + "type": "integer", + "format": "int64" }, - "tx_bytes": { + "hash": { "type": "string", - "format": "byte", - "description": "tx_bytes is the raw transaction.\n\nSince: cosmos-sdk 0.43" + "format": "byte" } }, - "description": "SimulateRequest is the request type for the Service.Simulate\nRPC method." + "title": "PartsetHeader" }, - "cosmos.tx.v1beta1.SimulateResponse": { + "tendermint.types.SignedHeader": { "type": "object", "properties": { - "gas_info": { - "description": "gas_info is the information about gas used in the simulation.", + "header": { "type": "object", "properties": { - "gas_wanted": { + "version": { + "title": "basic block info", + "type": "object", + "properties": { + "block": { + "type": "string", + "format": "uint64" + }, + "app": { + "type": "string", + "format": "uint64" + } + }, + "description": "Consensus captures the consensus rules for processing a block in the blockchain,\nincluding all blockchain data structures and the rules of the application's\nstate transition machine." + }, + "chain_id": { + "type": "string" + }, + "height": { "type": "string", - "format": "uint64", - "description": "GasWanted is the maximum units of work we allow this tx to perform." + "format": "int64" }, - "gas_used": { + "time": { "type": "string", - "format": "uint64", - "description": "GasUsed is the amount of gas actually consumed." - } - } - }, - "result": { - "description": "result is the result of the simulation.", - "type": "object", - "properties": { - "data": { + "format": "date-time" + }, + "last_block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" + }, + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "last_commit_hash": { "type": "string", "format": "byte", - "description": "Data is any data returned from message or handler execution. It MUST be\nlength prefixed in order to separate data from multiple message executions." + "title": "hashes of block data" }, - "log": { + "data_hash": { "type": "string", - "description": "Log contains the log information from message or handler execution." + "format": "byte" }, - "events": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "attributes": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string", - "format": "byte" - }, - "value": { - "type": "string", - "format": "byte" - }, - "index": { - "type": "boolean" - } - }, - "description": "EventAttribute is a single key-value pair, associated with an event." - } - } - }, - "description": "Event allows application developers to attach additional information to\nResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx.\nLater, transactions may be queried using these events." - }, - "description": "Events contains a slice of Event objects that were emitted during message\nor handler execution." + "validators_hash": { + "type": "string", + "format": "byte", + "title": "hashes from the app output from the prev block" + }, + "next_validators_hash": { + "type": "string", + "format": "byte" + }, + "consensus_hash": { + "type": "string", + "format": "byte" + }, + "app_hash": { + "type": "string", + "format": "byte" + }, + "last_results_hash": { + "type": "string", + "format": "byte" + }, + "evidence_hash": { + "type": "string", + "format": "byte", + "title": "consensus info" + }, + "proposer_address": { + "type": "string", + "format": "byte" } - } - } - }, - "description": "SimulateResponse is the response type for the\nService.SimulateRPC method." - }, - "cosmos.tx.v1beta1.Tx": { - "type": "object", - "properties": { - "body": { - "title": "body is the processable content of the transaction", + }, + "description": "Header defines the structure of a block header." + }, + "commit": { "type": "object", "properties": { - "messages": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type_url": { - "type": "string", - "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." - }, - "value": { - "type": "string", - "format": "byte", - "description": "Must be a valid serialized protocol buffer of the above specified type." - } + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" }, - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } }, - "description": "messages is a list of messages to be executed. The required signers of\nthose messages define the number and order of elements in AuthInfo's\nsigner_infos and Tx's signatures. Each required signer address is added to\nthe list only the first time it occurs.\nBy convention, the first required signer (usually from the first message)\nis referred to as the primary signer and pays the fee for the whole\ntransaction." - }, - "memo": { - "type": "string", - "description": "memo is any arbitrary note/comment to be added to the transaction.\nWARNING: in clients, any publicly exposed text should not be called memo,\nbut should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122)." - }, - "timeout_height": { - "type": "string", - "format": "uint64", - "title": "timeout is the block height after which this transaction will not\nbe processed by the chain" + "title": "BlockID" }, - "extension_options": { + "signatures": { "type": "array", "items": { "type": "object", "properties": { - "type_url": { + "block_id_flag": { "type": "string", - "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + "enum": [ + "BLOCK_ID_FLAG_UNKNOWN", + "BLOCK_ID_FLAG_ABSENT", + "BLOCK_ID_FLAG_COMMIT", + "BLOCK_ID_FLAG_NIL" + ], + "default": "BLOCK_ID_FLAG_UNKNOWN", + "title": "BlockIdFlag indicates which BlcokID the signature is for" }, - "value": { + "validator_address": { "type": "string", - "format": "byte", - "description": "Must be a valid serialized protocol buffer of the above specified type." - } - }, - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" - }, - "title": "extension_options are arbitrary options that can be added by chains\nwhen the default options are not sufficient. If any of these are present\nand can't be handled, the transaction will be rejected" - }, - "non_critical_extension_options": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type_url": { + "format": "byte" + }, + "timestamp": { "type": "string", - "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + "format": "date-time" }, - "value": { + "signature": { "type": "string", - "format": "byte", - "description": "Must be a valid serialized protocol buffer of the above specified type." + "format": "byte" } }, - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" - }, - "title": "extension_options are arbitrary options that can be added by chains\nwhen the default options are not sufficient. If any of these are present\nand can't be handled, they will be ignored" + "description": "CommitSig is a part of the Vote included in a Commit." + } } }, - "description": "TxBody is the body of a transaction that all signers sign over." - }, - "auth_info": { - "$ref": "#/definitions/cosmos.tx.v1beta1.AuthInfo", - "title": "auth_info is the authorization related content of the transaction,\nspecifically signers, signer modes and fee" - }, - "signatures": { - "type": "array", - "items": { - "type": "string", - "format": "byte" - }, - "description": "signatures is a list of signatures that matches the length and order of\nAuthInfo's signer_infos to allow connecting signature meta information like\npublic key and signing mode by position." + "description": "Commit contains the evidence that a block was committed by a set of validators." } - }, - "description": "Tx is the standard type used for broadcasting transactions." + } }, - "cosmos.tx.v1beta1.TxBody": { + "tendermint.types.SignedMsgType": { + "type": "string", + "enum": [ + "SIGNED_MSG_TYPE_UNKNOWN", + "SIGNED_MSG_TYPE_PREVOTE", + "SIGNED_MSG_TYPE_PRECOMMIT", + "SIGNED_MSG_TYPE_PROPOSAL" + ], + "default": "SIGNED_MSG_TYPE_UNKNOWN", + "description": "SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_PREVOTE: Votes\n - SIGNED_MSG_TYPE_PROPOSAL: Proposals" + }, + "tendermint.types.Validator": { "type": "object", "properties": { - "messages": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type_url": { - "type": "string", - "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." - }, - "value": { - "type": "string", - "format": "byte", - "description": "Must be a valid serialized protocol buffer of the above specified type." - } - }, - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" - }, - "description": "messages is a list of messages to be executed. The required signers of\nthose messages define the number and order of elements in AuthInfo's\nsigner_infos and Tx's signatures. Each required signer address is added to\nthe list only the first time it occurs.\nBy convention, the first required signer (usually from the first message)\nis referred to as the primary signer and pays the fee for the whole\ntransaction." - }, - "memo": { - "type": "string", - "description": "memo is any arbitrary note/comment to be added to the transaction.\nWARNING: in clients, any publicly exposed text should not be called memo,\nbut should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122)." - }, - "timeout_height": { + "address": { "type": "string", - "format": "uint64", - "title": "timeout is the block height after which this transaction will not\nbe processed by the chain" + "format": "byte" }, - "extension_options": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type_url": { - "type": "string", - "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." - }, - "value": { - "type": "string", - "format": "byte", - "description": "Must be a valid serialized protocol buffer of the above specified type." - } + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" }, - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + "secp256k1": { + "type": "string", + "format": "byte" + } }, - "title": "extension_options are arbitrary options that can be added by chains\nwhen the default options are not sufficient. If any of these are present\nand can't be handled, the transaction will be rejected" + "title": "PublicKey defines the keys available for use with Validators" }, - "non_critical_extension_options": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type_url": { - "type": "string", - "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." - }, - "value": { - "type": "string", - "format": "byte", - "description": "Must be a valid serialized protocol buffer of the above specified type." - } - }, - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" - }, - "title": "extension_options are arbitrary options that can be added by chains\nwhen the default options are not sufficient. If any of these are present\nand can't be handled, they will be ignored" - } - }, - "description": "TxBody is the body of a transaction that all signers sign over." - }, - "google.protobuf.Any": { - "type": "object", - "properties": { - "type_url": { + "voting_power": { "type": "string", - "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + "format": "int64" }, - "value": { + "proposer_priority": { "type": "string", - "format": "byte", - "description": "Must be a valid serialized protocol buffer of the above specified type." + "format": "int64" } - }, - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + } }, - "grpc.gateway.runtime.Error": { + "tendermint.types.ValidatorSet": { "type": "object", "properties": { - "error": { - "type": "string" - }, - "code": { - "type": "integer", - "format": "int32" - }, - "message": { - "type": "string" - }, - "details": { + "validators": { "type": "array", "items": { "type": "object", "properties": { - "type_url": { + "address": { "type": "string", - "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." + "format": "byte" }, - "value": { + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { "type": "string", - "format": "byte", - "description": "Must be a valid serialized protocol buffer of the above specified type." + "format": "int64" + }, + "proposer_priority": { + "type": "string", + "format": "int64" } + } + } + }, + "proposer": { + "type": "object", + "properties": { + "address": { + "type": "string", + "format": "byte" + }, + "pub_key": { + "type": "object", + "properties": { + "ed25519": { + "type": "string", + "format": "byte" + }, + "secp256k1": { + "type": "string", + "format": "byte" + } + }, + "title": "PublicKey defines the keys available for use with Validators" + }, + "voting_power": { + "type": "string", + "format": "int64" }, - "description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := &pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": ,\n \"lastName\": \n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }" + "proposer_priority": { + "type": "string", + "format": "int64" + } } + }, + "total_voting_power": { + "type": "string", + "format": "int64" } } }, - "tendermint.abci.Event": { + "tendermint.types.Vote": { "type": "object", "properties": { "type": { - "type": "string" + "type": "string", + "enum": [ + "SIGNED_MSG_TYPE_UNKNOWN", + "SIGNED_MSG_TYPE_PREVOTE", + "SIGNED_MSG_TYPE_PRECOMMIT", + "SIGNED_MSG_TYPE_PROPOSAL" + ], + "default": "SIGNED_MSG_TYPE_UNKNOWN", + "description": "SignedMsgType is a type of signed message in the consensus.\n\n - SIGNED_MSG_TYPE_PREVOTE: Votes\n - SIGNED_MSG_TYPE_PROPOSAL: Proposals" }, - "attributes": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string", - "format": "byte" - }, - "value": { - "type": "string", - "format": "byte" - }, - "index": { - "type": "boolean" - } + "height": { + "type": "string", + "format": "int64" + }, + "round": { + "type": "integer", + "format": "int32" + }, + "block_id": { + "type": "object", + "properties": { + "hash": { + "type": "string", + "format": "byte" }, - "description": "EventAttribute is a single key-value pair, associated with an event." - } + "part_set_header": { + "type": "object", + "properties": { + "total": { + "type": "integer", + "format": "int64" + }, + "hash": { + "type": "string", + "format": "byte" + } + }, + "title": "PartsetHeader" + } + }, + "title": "BlockID" + }, + "timestamp": { + "type": "string", + "format": "date-time" + }, + "validator_address": { + "type": "string", + "format": "byte" + }, + "validator_index": { + "type": "integer", + "format": "int32" + }, + "signature": { + "type": "string", + "format": "byte" } }, - "description": "Event allows application developers to attach additional information to\nResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx.\nLater, transactions may be queried using these events." + "description": "Vote represents a prevote, precommit, or commit vote from validators for\nconsensus." }, - "tendermint.abci.EventAttribute": { + "tendermint.version.Consensus": { "type": "object", "properties": { - "key": { + "block": { "type": "string", - "format": "byte" + "format": "uint64" }, - "value": { + "app": { "type": "string", - "format": "byte" - }, - "index": { - "type": "boolean" + "format": "uint64" } }, - "description": "EventAttribute is a single key-value pair, associated with an event." + "description": "Consensus captures the consensus rules for processing a block in the blockchain,\nincluding all blockchain data structures and the rules of the application's\nstate transition machine." } } } \ No newline at end of file diff --git a/docs/static/openapi.yml b/docs/static/openapi.yml index 7da3e0926..22581ba5c 100644 --- a/docs/static/openapi.yml +++ b/docs/static/openapi.yml @@ -9,8 +9,8 @@ info: description: >- A REST interface for state queries. - Tendermint RPC endpoints are available here: - https://docs.tendermint.com/v0.34/rpc/. + CometBFT RPC endpoints are available here: + https://docs.cometbft.com/v0.37/rpc/. paths: /dcl/compliance/certified-models: get: @@ -46,9 +46,10 @@ paths: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -72,8 +73,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -84,11 +83,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: pagination.key description: |- @@ -179,8 +176,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -191,11 +186,9 @@ paths: items: type: object properties: - type_url: + '@type': type: string - value: - type: string - format: byte + additionalProperties: {} parameters: - name: vid in: path @@ -306,9 +299,10 @@ paths: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -332,8 +326,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -344,11 +336,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: pagination.key description: |- @@ -493,8 +483,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -505,11 +493,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: vid in: path @@ -627,9 +613,10 @@ paths: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -653,8 +640,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -665,11 +650,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: pagination.key description: |- @@ -821,8 +804,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -833,11 +814,9 @@ paths: items: type: object properties: - type_url: + '@type': type: string - value: - type: string - format: byte + additionalProperties: {} parameters: - name: cDCertificateId in: path @@ -879,9 +858,10 @@ paths: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -905,8 +885,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -917,11 +895,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: pagination.key description: |- @@ -1012,8 +988,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -1024,11 +998,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: vid in: path @@ -1085,9 +1057,10 @@ paths: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -1111,8 +1084,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -1123,11 +1094,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: pagination.key description: |- @@ -1218,8 +1187,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -1230,11 +1197,9 @@ paths: items: type: object properties: - type_url: + '@type': type: string - value: - type: string - format: byte + additionalProperties: {} parameters: - name: vid in: path @@ -1280,7 +1245,7 @@ paths: pub_key: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the @@ -1331,19 +1296,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are + no widely used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of - the above specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -1377,6 +1340,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -1391,10 +1358,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -1413,7 +1383,6 @@ paths: name "y.z". - JSON ==== @@ -1488,6 +1457,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string vendorID: @@ -1503,6 +1475,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string productIDs: @@ -1522,9 +1497,10 @@ paths: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -1548,8 +1524,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -1560,7 +1534,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -1611,19 +1585,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -1656,6 +1628,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -1670,10 +1646,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -1692,7 +1671,6 @@ paths: name "y.z". - JSON ==== @@ -1812,8 +1790,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -1824,7 +1800,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -1875,19 +1851,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -1920,6 +1894,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -1934,10 +1912,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -1956,7 +1937,6 @@ paths: name "y.z". - JSON ==== @@ -2019,7 +1999,7 @@ paths: pub_key: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the @@ -2070,19 +2050,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no + widely used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the - above specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -2115,6 +2093,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -2129,10 +2111,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -2151,7 +2136,6 @@ paths: name "y.z". - JSON ==== @@ -2226,6 +2210,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string vendorID: @@ -2241,6 +2228,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string productIDs: @@ -2259,8 +2249,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -2271,7 +2259,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -2322,19 +2310,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -2367,6 +2353,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -2381,10 +2371,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -2403,7 +2396,6 @@ paths: name "y.z". - JSON ==== @@ -2476,7 +2468,7 @@ paths: pub_key: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies @@ -2528,19 +2520,18 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there + are no widely used type server + + implementations and no plans to implement + one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer - of the above specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -2574,6 +2565,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -2588,10 +2583,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -2610,7 +2608,6 @@ paths: name "y.z". - JSON ==== @@ -2685,6 +2682,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string vendorID: @@ -2700,6 +2700,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string productIDs: @@ -2713,15 +2716,20 @@ paths: max: type: integer format: int32 + title: |- + TODO issue 99: do we need that ??? + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; pagination: type: object properties: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -2745,8 +2753,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -2757,7 +2763,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -2808,19 +2814,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -2853,6 +2857,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -2867,10 +2875,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -2889,7 +2900,6 @@ paths: name "y.z". - JSON ==== @@ -3012,7 +3022,7 @@ paths: pub_key: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies @@ -3064,19 +3074,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are + no widely used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of - the above specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -3110,6 +3118,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -3124,10 +3136,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -3146,7 +3161,6 @@ paths: name "y.z". - JSON ==== @@ -3221,6 +3235,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string vendorID: @@ -3236,6 +3253,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string productIDs: @@ -3249,13 +3269,15 @@ paths: max: type: integer format: int32 + title: |- + TODO issue 99: do we need that ??? + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; default: description: An unexpected error response. schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -3266,7 +3288,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -3317,19 +3339,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -3362,6 +3382,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -3376,10 +3400,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -3398,7 +3425,6 @@ paths: name "y.z". - JSON ==== @@ -3472,6 +3498,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string pagination: @@ -3480,9 +3509,10 @@ paths: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -3506,8 +3536,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -3518,7 +3546,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -3569,19 +3597,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -3614,6 +3640,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -3628,10 +3658,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -3650,7 +3683,6 @@ paths: name "y.z". - JSON ==== @@ -3774,6 +3806,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string default: @@ -3781,8 +3816,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -3793,7 +3826,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -3844,19 +3877,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -3889,6 +3920,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -3903,10 +3938,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -3925,7 +3963,6 @@ paths: name "y.z". - JSON ==== @@ -3998,7 +4035,7 @@ paths: pub_key: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies @@ -4050,19 +4087,18 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there + are no widely used type server + + implementations and no plans to implement + one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer - of the above specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -4096,6 +4132,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -4110,10 +4150,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -4132,7 +4175,6 @@ paths: name "y.z". - JSON ==== @@ -4207,6 +4249,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string vendorID: @@ -4222,6 +4267,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string productIDs: @@ -4241,9 +4289,10 @@ paths: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -4267,8 +4316,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -4279,7 +4326,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -4330,19 +4377,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -4375,6 +4420,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -4389,10 +4438,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -4411,7 +4463,6 @@ paths: name "y.z". - JSON ==== @@ -4534,7 +4585,7 @@ paths: pub_key: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies @@ -4586,19 +4637,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are + no widely used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of - the above specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -4632,6 +4681,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -4646,10 +4699,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -4668,7 +4724,6 @@ paths: name "y.z". - JSON ==== @@ -4743,6 +4798,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string vendorID: @@ -4758,6 +4816,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string productIDs: @@ -4776,8 +4837,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -4788,7 +4847,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -4839,19 +4898,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -4884,6 +4941,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -4898,10 +4959,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -4920,7 +4984,6 @@ paths: name "y.z". - JSON ==== @@ -4993,7 +5056,7 @@ paths: pub_key: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies @@ -5045,19 +5108,18 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there + are no widely used type server + + implementations and no plans to implement + one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer - of the above specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -5091,6 +5153,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -5105,10 +5171,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -5127,7 +5196,6 @@ paths: name "y.z". - JSON ==== @@ -5202,6 +5270,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string vendorID: @@ -5217,6 +5288,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string productIDs: @@ -5240,6 +5314,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string reason: @@ -5254,9 +5331,10 @@ paths: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -5280,8 +5358,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -5292,7 +5368,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -5343,19 +5419,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -5388,6 +5462,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -5402,10 +5480,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -5424,7 +5505,6 @@ paths: name "y.z". - JSON ==== @@ -5547,7 +5627,7 @@ paths: pub_key: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies @@ -5599,19 +5679,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are + no widely used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of - the above specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -5645,6 +5723,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -5659,10 +5741,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -5681,7 +5766,6 @@ paths: name "y.z". - JSON ==== @@ -5756,6 +5840,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string vendorID: @@ -5771,6 +5858,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string productIDs: @@ -5794,6 +5884,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string reason: @@ -5807,8 +5900,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -5819,7 +5910,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -5870,19 +5961,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -5915,6 +6004,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -5929,10 +6022,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -5951,7 +6047,6 @@ paths: name "y.z". - JSON ==== @@ -6051,9 +6146,7 @@ paths: height: type: string format: int64 - description: |- - The height at which the upgrade must be performed. - Only used if Time is not set. + description: The height at which the upgrade must be performed. info: type: string title: >- @@ -6072,7 +6165,7 @@ paths: If this field is not empty, an error will be thrown. type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the @@ -6123,19 +6216,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are + no widely used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of - the above specified type. + additionalProperties: {} description: >- Plan specifies information about a planned upgrade and when it should occur. @@ -6151,6 +6242,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string rejects: @@ -6163,6 +6257,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string pagination: @@ -6171,9 +6268,10 @@ paths: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -6197,8 +6295,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -6209,7 +6305,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -6260,19 +6356,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -6305,6 +6399,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -6319,10 +6417,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -6341,7 +6442,6 @@ paths: name "y.z". - JSON ==== @@ -6491,9 +6591,7 @@ paths: height: type: string format: int64 - description: |- - The height at which the upgrade must be performed. - Only used if Time is not set. + description: The height at which the upgrade must be performed. info: type: string title: >- @@ -6512,7 +6610,7 @@ paths: If this field is not empty, an error will be thrown. type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the @@ -6563,19 +6661,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no + widely used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the - above specified type. + additionalProperties: {} description: >- Plan specifies information about a planned upgrade and when it should occur. @@ -6591,6 +6687,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string rejects: @@ -6603,6 +6702,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string default: @@ -6610,8 +6712,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -6622,7 +6722,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -6673,19 +6773,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -6718,6 +6816,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -6732,10 +6834,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -6754,7 +6859,6 @@ paths: name "y.z". - JSON ==== @@ -6854,9 +6958,7 @@ paths: height: type: string format: int64 - description: |- - The height at which the upgrade must be performed. - Only used if Time is not set. + description: The height at which the upgrade must be performed. info: type: string title: >- @@ -6875,7 +6977,7 @@ paths: If this field is not empty, an error will be thrown. type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the @@ -6926,19 +7028,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are + no widely used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of - the above specified type. + additionalProperties: {} description: >- Plan specifies information about a planned upgrade and when it should occur. @@ -6954,6 +7054,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string rejects: @@ -6966,6 +7069,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string pagination: @@ -6974,9 +7080,10 @@ paths: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -7000,8 +7107,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -7012,7 +7117,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -7063,19 +7168,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -7108,6 +7211,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -7122,10 +7229,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -7144,7 +7254,6 @@ paths: name "y.z". - JSON ==== @@ -7294,9 +7403,7 @@ paths: height: type: string format: int64 - description: |- - The height at which the upgrade must be performed. - Only used if Time is not set. + description: The height at which the upgrade must be performed. info: type: string title: >- @@ -7315,7 +7422,7 @@ paths: If this field is not empty, an error will be thrown. type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the @@ -7366,19 +7473,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no + widely used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the - above specified type. + additionalProperties: {} description: >- Plan specifies information about a planned upgrade and when it should occur. @@ -7394,6 +7499,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string rejects: @@ -7406,6 +7514,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string default: @@ -7413,8 +7524,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -7425,7 +7534,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -7476,19 +7585,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -7521,6 +7628,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -7535,10 +7646,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -7557,7 +7671,6 @@ paths: name "y.z". - JSON ==== @@ -7657,9 +7770,7 @@ paths: height: type: string format: int64 - description: |- - The height at which the upgrade must be performed. - Only used if Time is not set. + description: The height at which the upgrade must be performed. info: type: string title: >- @@ -7678,7 +7789,7 @@ paths: If this field is not empty, an error will be thrown. type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the @@ -7729,19 +7840,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are + no widely used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of - the above specified type. + additionalProperties: {} description: >- Plan specifies information about a planned upgrade and when it should occur. @@ -7757,6 +7866,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string rejects: @@ -7769,6 +7881,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string pagination: @@ -7777,9 +7892,10 @@ paths: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -7803,8 +7919,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -7815,7 +7929,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -7866,19 +7980,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -7911,6 +8023,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -7925,10 +8041,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -7947,7 +8066,6 @@ paths: name "y.z". - JSON ==== @@ -8097,9 +8215,7 @@ paths: height: type: string format: int64 - description: |- - The height at which the upgrade must be performed. - Only used if Time is not set. + description: The height at which the upgrade must be performed. info: type: string title: >- @@ -8118,7 +8234,7 @@ paths: If this field is not empty, an error will be thrown. type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the @@ -8169,19 +8285,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no + widely used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the - above specified type. + additionalProperties: {} description: >- Plan specifies information about a planned upgrade and when it should occur. @@ -8197,6 +8311,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string rejects: @@ -8209,6 +8326,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string default: @@ -8216,8 +8336,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -8228,7 +8346,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -8279,19 +8397,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -8324,6 +8440,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -8338,10 +8458,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -8360,7 +8483,6 @@ paths: name "y.z". - JSON ==== @@ -8476,9 +8598,10 @@ paths: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -8502,8 +8625,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -8514,11 +8635,9 @@ paths: items: type: object properties: - type_url: + '@type': type: string - value: - type: string - format: byte + additionalProperties: {} parameters: - name: pagination.key description: |- @@ -8611,8 +8730,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -8623,11 +8740,9 @@ paths: items: type: object properties: - type_url: + '@type': type: string - value: - type: string - format: byte + additionalProperties: {} parameters: - name: vid in: path @@ -8702,8 +8817,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -8714,11 +8827,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: vid in: path @@ -8761,8 +8872,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -8773,11 +8882,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: vid in: path @@ -8850,8 +8957,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -8862,11 +8967,9 @@ paths: items: type: object properties: - type_url: + '@type': type: string - value: - type: string - format: byte + additionalProperties: {} parameters: - name: vid in: path @@ -8939,6 +9042,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January + 1, 1970 UTC info: type: string subjectAsText: @@ -8953,6 +9059,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January + 1, 1970 UTC info: type: string vid: @@ -8972,9 +9081,10 @@ paths: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -8998,8 +9108,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -9010,11 +9118,9 @@ paths: items: type: object properties: - type_url: + '@type': type: string - value: - type: string - format: byte + additionalProperties: {} parameters: - name: pagination.key description: |- @@ -9102,8 +9208,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -9114,11 +9218,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: subject in: path @@ -9178,6 +9280,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string subjectAsText: @@ -9192,6 +9297,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string vid: @@ -9210,8 +9318,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -9222,11 +9328,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: subject in: path @@ -9269,8 +9373,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -9281,11 +9383,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: issuer in: path @@ -9350,6 +9450,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January + 1, 1970 UTC info: type: string subjectAsText: @@ -9364,6 +9467,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January + 1, 1970 UTC info: type: string vid: @@ -9380,9 +9486,10 @@ paths: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -9406,8 +9513,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -9418,11 +9523,9 @@ paths: items: type: object properties: - type_url: + '@type': type: string - value: - type: string - format: byte + additionalProperties: {} parameters: - name: pagination.key description: |- @@ -9533,6 +9636,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string subjectAsText: @@ -9547,6 +9653,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string vid: @@ -9562,8 +9671,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -9574,11 +9681,9 @@ paths: items: type: object properties: - type_url: + '@type': type: string - value: - type: string - format: byte + additionalProperties: {} parameters: - name: vid in: path @@ -9640,6 +9745,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January + 1, 1970 UTC info: type: string subjectAsText: @@ -9654,6 +9762,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January + 1, 1970 UTC info: type: string vid: @@ -9670,9 +9781,10 @@ paths: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -9696,8 +9808,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -9708,11 +9818,9 @@ paths: items: type: object properties: - type_url: + '@type': type: string - value: - type: string - format: byte + additionalProperties: {} parameters: - name: pagination.key description: |- @@ -9823,6 +9931,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string subjectAsText: @@ -9837,6 +9948,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string vid: @@ -9852,8 +9966,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -9864,11 +9976,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: vid in: path @@ -9912,6 +10022,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string subjectAsText: @@ -9926,6 +10039,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string vid: @@ -9943,9 +10059,10 @@ paths: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -9969,8 +10086,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -9981,11 +10096,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: pagination.key description: |- @@ -10078,6 +10191,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string subjectAsText: @@ -10092,6 +10208,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string vid: @@ -10108,8 +10227,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -10120,11 +10237,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: subject in: path @@ -10165,6 +10280,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string subjectAsText: @@ -10182,9 +10300,10 @@ paths: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -10208,8 +10327,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -10220,11 +10337,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: pagination.key description: |- @@ -10311,6 +10426,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string subjectAsText: @@ -10327,8 +10445,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -10339,11 +10455,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: subject in: path @@ -10413,6 +10527,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January + 1, 1970 UTC info: type: string subjectAsText: @@ -10427,6 +10544,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January + 1, 1970 UTC info: type: string vid: @@ -10446,9 +10566,10 @@ paths: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -10472,8 +10593,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -10484,11 +10603,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: pagination.key description: |- @@ -10600,6 +10717,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string subjectAsText: @@ -10614,6 +10734,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string vid: @@ -10632,8 +10755,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -10644,11 +10765,9 @@ paths: items: type: object properties: - type_url: + '@type': type: string - value: - type: string - format: byte + additionalProperties: {} parameters: - name: subject in: path @@ -10713,9 +10832,10 @@ paths: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -10739,8 +10859,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -10751,11 +10869,9 @@ paths: items: type: object properties: - type_url: + '@type': type: string - value: - type: string - format: byte + additionalProperties: {} parameters: - name: pagination.key description: |- @@ -10872,8 +10988,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -10884,11 +10998,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: issuerSubjectKeyID in: path @@ -10946,8 +11058,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -10958,11 +11068,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: issuerSubjectKeyID in: path @@ -11033,6 +11141,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January + 1, 1970 UTC info: type: string subjectAsText: @@ -11047,6 +11158,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January + 1, 1970 UTC info: type: string vid: @@ -11066,9 +11180,10 @@ paths: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -11092,8 +11207,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -11104,11 +11217,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: pagination.key description: |- @@ -11220,6 +11331,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string subjectAsText: @@ -11234,6 +11348,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string vid: @@ -11252,8 +11369,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -11264,11 +11379,9 @@ paths: items: type: object properties: - type_url: + '@type': type: string - value: - type: string - format: byte + additionalProperties: {} parameters: - name: subject in: path @@ -11334,6 +11447,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January + 1, 1970 UTC info: type: string subjectAsText: @@ -11348,6 +11464,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January + 1, 1970 UTC info: type: string vid: @@ -11364,9 +11483,10 @@ paths: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -11390,8 +11510,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -11402,11 +11520,9 @@ paths: items: type: object properties: - type_url: + '@type': type: string - value: - type: string - format: byte + additionalProperties: {} parameters: - name: pagination.key description: |- @@ -11518,6 +11634,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string subjectAsText: @@ -11532,6 +11651,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string vid: @@ -11547,8 +11669,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -11559,11 +11679,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: subject in: path @@ -11602,8 +11720,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -11614,11 +11730,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} tags: - Query /dcl/pki/root-certificates: @@ -11648,8 +11762,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -11660,11 +11772,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} tags: - Query /dcl/validator/disabled-nodes: @@ -11696,6 +11806,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string disabledByNodeAdmin: @@ -11710,6 +11823,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string pagination: @@ -11718,9 +11834,10 @@ paths: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -11744,8 +11861,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -11756,7 +11871,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -11807,19 +11922,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -11852,6 +11965,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -11866,10 +11983,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -11888,7 +12008,6 @@ paths: name "y.z". - JSON ==== @@ -12014,6 +12133,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string disabledByNodeAdmin: @@ -12028,6 +12150,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string default: @@ -12035,8 +12160,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -12047,7 +12170,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -12098,19 +12221,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -12143,6 +12264,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -12157,10 +12282,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -12179,7 +12307,6 @@ paths: name "y.z". - JSON ==== @@ -12252,9 +12379,10 @@ paths: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -12278,8 +12406,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -12290,7 +12416,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -12341,19 +12467,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -12386,6 +12510,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -12400,10 +12528,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -12422,7 +12553,6 @@ paths: name "y.z". - JSON ==== @@ -12544,8 +12674,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -12556,7 +12684,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -12607,19 +12735,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -12652,6 +12778,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -12666,10 +12796,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -12688,7 +12821,6 @@ paths: name "y.z". - JSON ==== @@ -12770,9 +12902,10 @@ paths: type: string description: optional details. pubKey: + title: the consensus public key of the tendermint validator type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the @@ -12823,19 +12956,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no + widely used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the - above specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -12868,6 +12999,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -12882,10 +13017,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -12904,7 +13042,6 @@ paths: name "y.z". - JSON ==== @@ -12946,7 +13083,6 @@ paths: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } - title: the consensus public key of the tendermint validator power: type: integer format: int32 @@ -12963,9 +13099,10 @@ paths: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -12989,8 +13126,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -13001,7 +13136,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -13052,19 +13187,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -13097,6 +13230,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -13111,10 +13248,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -13133,7 +13273,6 @@ paths: name "y.z". - JSON ==== @@ -13265,9 +13404,10 @@ paths: type: string description: optional details. pubKey: + title: the consensus public key of the tendermint validator type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type @@ -13318,19 +13458,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no + widely used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the - above specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -13363,6 +13501,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -13377,10 +13519,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -13399,7 +13544,6 @@ paths: name "y.z". - JSON ==== @@ -13439,7 +13583,6 @@ paths: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } - title: the consensus public key of the tendermint validator power: type: integer format: int32 @@ -13455,8 +13598,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -13467,7 +13608,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -13518,19 +13659,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -13563,6 +13702,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -13577,10 +13720,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -13599,7 +13745,6 @@ paths: name "y.z". - JSON ==== @@ -13675,6 +13820,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string rejects: @@ -13687,6 +13835,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string pagination: @@ -13695,9 +13846,10 @@ paths: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -13721,8 +13873,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -13733,7 +13883,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -13784,19 +13934,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -13829,6 +13977,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -13843,10 +13995,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -13865,7 +14020,6 @@ paths: name "y.z". - JSON ==== @@ -13991,6 +14145,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string rejects: @@ -14003,6 +14160,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string default: @@ -14010,8 +14170,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -14022,7 +14180,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -14073,19 +14231,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -14118,6 +14274,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -14132,10 +14292,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -14154,7 +14317,6 @@ paths: name "y.z". - JSON ==== @@ -14230,6 +14392,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string rejects: @@ -14242,6 +14407,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, + 1970 UTC info: type: string pagination: @@ -14250,9 +14418,10 @@ paths: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -14276,8 +14445,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -14288,7 +14455,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -14339,19 +14506,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -14384,6 +14549,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -14398,10 +14567,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -14420,7 +14592,6 @@ paths: name "y.z". - JSON ==== @@ -14546,6 +14717,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string rejects: @@ -14558,6 +14732,9 @@ paths: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string default: @@ -14565,8 +14742,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -14577,7 +14752,7 @@ paths: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -14628,19 +14803,17 @@ paths: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -14673,6 +14846,10 @@ paths: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -14687,10 +14864,13 @@ paths: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -14709,7 +14889,6 @@ paths: name "y.z". - JSON ==== @@ -14793,9 +14972,10 @@ paths: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -14819,8 +14999,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -14831,11 +15009,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: pagination.key description: |- @@ -14929,8 +15105,6 @@ paths: schema: type: object properties: - error: - type: string code: type: integer format: int32 @@ -14941,11 +15115,9 @@ paths: items: type: object properties: - type_url: - type: string - value: + '@type': type: string - format: byte + additionalProperties: {} parameters: - name: vendorID in: path @@ -15014,9 +15186,10 @@ definitions: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -15034,7 +15207,7 @@ definitions: google.protobuf.Any: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the @@ -15077,18 +15250,16 @@ definitions: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely used type + server + implementations and no plans to implement one. - Schemes other than `http`, `https` (or the empty scheme) might be - used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above specified - type. + Schemes other than `http`, `https` (or the empty scheme) might be + + used with implementation specific semantics. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -15119,6 +15290,10 @@ definitions: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -15133,10 +15308,13 @@ definitions: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -15151,7 +15329,6 @@ definitions: name "y.z". - JSON ==== @@ -15186,11 +15363,9 @@ definitions: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } - grpc.gateway.runtime.Error: + google.rpc.Status: type: object properties: - error: - type: string code: type: integer format: int32 @@ -15201,7 +15376,7 @@ definitions: items: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the @@ -15248,19 +15423,17 @@ definitions: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely used + type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -15293,6 +15466,10 @@ definitions: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -15307,10 +15484,13 @@ definitions: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -15325,7 +15505,6 @@ definitions: name "y.z". - JSON ==== @@ -15579,9 +15758,10 @@ definitions: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -15679,9 +15859,10 @@ definitions: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -15786,9 +15967,10 @@ definitions: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -15832,9 +16014,10 @@ definitions: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -15878,9 +16061,10 @@ definitions: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -16131,7 +16315,7 @@ definitions: pub_key: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the @@ -16177,18 +16361,16 @@ definitions: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely used type + server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above specified - type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -16220,6 +16402,10 @@ definitions: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -16234,10 +16420,13 @@ definitions: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -16252,7 +16441,6 @@ definitions: name "y.z". - JSON ==== @@ -16321,7 +16509,7 @@ definitions: pub_key: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the @@ -16369,19 +16557,17 @@ definitions: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely used + type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -16414,6 +16600,10 @@ definitions: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -16428,10 +16618,13 @@ definitions: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -16447,7 +16640,6 @@ definitions: name "y.z". - JSON ==== @@ -16516,6 +16708,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string vendorID: @@ -16531,6 +16724,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string productIDs: @@ -16558,6 +16752,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string zigbeealliance.distributedcomplianceledger.dclauth.PendingAccount: @@ -16574,7 +16769,7 @@ definitions: pub_key: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -16624,19 +16819,17 @@ definitions: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -16669,6 +16862,10 @@ definitions: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -16683,10 +16880,13 @@ definitions: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -16705,7 +16905,6 @@ definitions: name "y.z". - JSON ==== @@ -16775,6 +16974,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string vendorID: @@ -16790,6 +16990,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string productIDs: @@ -16803,6 +17004,10 @@ definitions: max: type: integer format: int32 + title: |- + TODO issue 99: do we need that ??? + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; zigbeealliance.distributedcomplianceledger.dclauth.PendingAccountRevocation: type: object properties: @@ -16818,6 +17023,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string zigbeealliance.distributedcomplianceledger.dclauth.QueryAllAccountResponse: @@ -16836,7 +17042,7 @@ definitions: pub_key: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -16887,19 +17093,17 @@ definitions: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -16932,6 +17136,10 @@ definitions: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -16946,10 +17154,13 @@ definitions: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -16968,7 +17179,6 @@ definitions: name "y.z". - JSON ==== @@ -17041,6 +17251,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string vendorID: @@ -17056,6 +17267,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string productIDs: @@ -17075,9 +17287,10 @@ definitions: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -17113,7 +17326,7 @@ definitions: pub_key: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the @@ -17164,19 +17377,17 @@ definitions: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no + widely used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the - above specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -17209,6 +17420,10 @@ definitions: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -17223,10 +17438,13 @@ definitions: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -17245,7 +17463,6 @@ definitions: name "y.z". - JSON ==== @@ -17320,6 +17537,9 @@ definitions: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string vendorID: @@ -17335,6 +17555,9 @@ definitions: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string productIDs: @@ -17348,15 +17571,20 @@ definitions: max: type: integer format: int32 + title: |- + TODO issue 99: do we need that ??? + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; pagination: type: object properties: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -17393,6 +17621,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string pagination: @@ -17401,9 +17630,10 @@ definitions: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -17439,7 +17669,7 @@ definitions: pub_key: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the @@ -17490,19 +17720,17 @@ definitions: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no + widely used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the - above specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -17535,6 +17763,10 @@ definitions: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -17549,10 +17781,13 @@ definitions: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -17571,7 +17806,6 @@ definitions: name "y.z". - JSON ==== @@ -17646,6 +17880,9 @@ definitions: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string vendorID: @@ -17661,6 +17898,9 @@ definitions: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string productIDs: @@ -17680,9 +17920,10 @@ definitions: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -17718,7 +17959,7 @@ definitions: pub_key: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the @@ -17769,19 +18010,17 @@ definitions: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no + widely used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the - above specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -17814,6 +18053,10 @@ definitions: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -17828,10 +18071,13 @@ definitions: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -17850,7 +18096,6 @@ definitions: name "y.z". - JSON ==== @@ -17925,6 +18170,9 @@ definitions: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string vendorID: @@ -17940,6 +18188,9 @@ definitions: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string productIDs: @@ -17963,6 +18214,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string reason: @@ -17977,9 +18229,10 @@ definitions: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -18010,7 +18263,7 @@ definitions: pub_key: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -18060,19 +18313,17 @@ definitions: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -18105,6 +18356,10 @@ definitions: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -18119,10 +18374,13 @@ definitions: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -18141,7 +18399,6 @@ definitions: name "y.z". - JSON ==== @@ -18211,6 +18468,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string vendorID: @@ -18226,6 +18484,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string productIDs: @@ -18265,7 +18524,7 @@ definitions: pub_key: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type @@ -18316,19 +18575,17 @@ definitions: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no + widely used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the - above specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -18361,6 +18618,10 @@ definitions: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -18375,10 +18636,13 @@ definitions: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -18397,7 +18661,6 @@ definitions: name "y.z". - JSON ==== @@ -18470,6 +18733,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string vendorID: @@ -18485,6 +18749,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string productIDs: @@ -18498,6 +18763,10 @@ definitions: max: type: integer format: int32 + title: |- + TODO issue 99: do we need that ??? + option (gogoproto.goproto_getters) = false; + option (gogoproto.goproto_stringer) = false; zigbeealliance.distributedcomplianceledger.dclauth.QueryGetPendingAccountRevocationResponse: type: object properties: @@ -18516,6 +18785,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string zigbeealliance.distributedcomplianceledger.dclauth.QueryGetRejectedAccountResponse: @@ -18535,7 +18805,7 @@ definitions: pub_key: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type @@ -18586,19 +18856,17 @@ definitions: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no + widely used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the - above specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -18631,6 +18899,10 @@ definitions: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -18645,10 +18917,13 @@ definitions: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -18667,7 +18942,6 @@ definitions: name "y.z". - JSON ==== @@ -18740,6 +19014,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string vendorID: @@ -18755,6 +19030,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string productIDs: @@ -18785,7 +19061,7 @@ definitions: pub_key: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type @@ -18836,19 +19112,17 @@ definitions: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no + widely used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the - above specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -18881,6 +19155,10 @@ definitions: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -18895,10 +19173,13 @@ definitions: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -18917,7 +19198,6 @@ definitions: name "y.z". - JSON ==== @@ -18990,6 +19270,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string vendorID: @@ -19005,6 +19286,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string productIDs: @@ -19028,6 +19310,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string reason: @@ -19050,7 +19333,7 @@ definitions: pub_key: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -19100,19 +19383,17 @@ definitions: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -19145,6 +19426,10 @@ definitions: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -19159,10 +19444,13 @@ definitions: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -19181,7 +19469,6 @@ definitions: name "y.z". - JSON ==== @@ -19251,6 +19538,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string vendorID: @@ -19266,6 +19554,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string productIDs: @@ -19293,7 +19582,7 @@ definitions: pub_key: type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -19343,19 +19632,17 @@ definitions: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -19388,6 +19675,10 @@ definitions: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -19402,10 +19693,13 @@ definitions: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -19424,7 +19718,6 @@ definitions: name "y.z". - JSON ==== @@ -19494,6 +19787,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string vendorID: @@ -19509,6 +19803,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string productIDs: @@ -19532,6 +19827,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string reason: @@ -19582,9 +19878,7 @@ definitions: height: type: string format: int64 - description: |- - The height at which the upgrade must be performed. - Only used if Time is not set. + description: The height at which the upgrade must be performed. info: type: string title: |- @@ -19600,7 +19894,7 @@ definitions: If this field is not empty, an error will be thrown. type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the @@ -19646,18 +19940,16 @@ definitions: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely used type + server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above specified - type. + additionalProperties: {} description: >- Plan specifies information about a planned upgrade and when it should occur. @@ -19702,9 +19994,7 @@ definitions: height: type: string format: int64 - description: |- - The height at which the upgrade must be performed. - Only used if Time is not set. + description: The height at which the upgrade must be performed. info: type: string title: >- @@ -19722,7 +20012,7 @@ definitions: If this field is not empty, an error will be thrown. type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the @@ -19770,19 +20060,17 @@ definitions: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely used + type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- Plan specifies information about a planned upgrade and when it should occur. @@ -19798,6 +20086,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string rejects: @@ -19810,6 +20099,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string zigbeealliance.distributedcomplianceledger.dclupgrade.Grant: @@ -19820,6 +20110,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string zigbeealliance.distributedcomplianceledger.dclupgrade.ProposedUpgrade: @@ -19863,9 +20154,7 @@ definitions: height: type: string format: int64 - description: |- - The height at which the upgrade must be performed. - Only used if Time is not set. + description: The height at which the upgrade must be performed. info: type: string title: >- @@ -19883,7 +20172,7 @@ definitions: If this field is not empty, an error will be thrown. type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the @@ -19931,19 +20220,17 @@ definitions: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely used + type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- Plan specifies information about a planned upgrade and when it should occur. @@ -19959,6 +20246,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string rejects: @@ -19971,6 +20259,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string zigbeealliance.distributedcomplianceledger.dclupgrade.QueryAllApprovedUpgradeResponse: @@ -20019,9 +20308,7 @@ definitions: height: type: string format: int64 - description: |- - The height at which the upgrade must be performed. - Only used if Time is not set. + description: The height at which the upgrade must be performed. info: type: string title: >- @@ -20040,7 +20327,7 @@ definitions: If this field is not empty, an error will be thrown. type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -20091,19 +20378,17 @@ definitions: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- Plan specifies information about a planned upgrade and when it should occur. @@ -20119,6 +20404,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string rejects: @@ -20131,6 +20417,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string pagination: @@ -20139,9 +20426,10 @@ definitions: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -20204,9 +20492,7 @@ definitions: height: type: string format: int64 - description: |- - The height at which the upgrade must be performed. - Only used if Time is not set. + description: The height at which the upgrade must be performed. info: type: string title: >- @@ -20225,7 +20511,7 @@ definitions: If this field is not empty, an error will be thrown. type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -20276,19 +20562,17 @@ definitions: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- Plan specifies information about a planned upgrade and when it should occur. @@ -20304,6 +20588,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string rejects: @@ -20316,6 +20601,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string pagination: @@ -20324,9 +20610,10 @@ definitions: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -20389,9 +20676,7 @@ definitions: height: type: string format: int64 - description: |- - The height at which the upgrade must be performed. - Only used if Time is not set. + description: The height at which the upgrade must be performed. info: type: string title: >- @@ -20410,7 +20695,7 @@ definitions: If this field is not empty, an error will be thrown. type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -20461,19 +20746,17 @@ definitions: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- Plan specifies information about a planned upgrade and when it should occur. @@ -20489,6 +20772,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string rejects: @@ -20501,6 +20785,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string pagination: @@ -20509,9 +20794,10 @@ definitions: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -20572,9 +20858,7 @@ definitions: height: type: string format: int64 - description: |- - The height at which the upgrade must be performed. - Only used if Time is not set. + description: The height at which the upgrade must be performed. info: type: string title: >- @@ -20592,7 +20876,7 @@ definitions: If this field is not empty, an error will be thrown. type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -20642,19 +20926,17 @@ definitions: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- Plan specifies information about a planned upgrade and when it should occur. @@ -20670,6 +20952,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string rejects: @@ -20682,6 +20965,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string zigbeealliance.distributedcomplianceledger.dclupgrade.QueryGetProposedUpgradeResponse: @@ -20728,9 +21012,7 @@ definitions: height: type: string format: int64 - description: |- - The height at which the upgrade must be performed. - Only used if Time is not set. + description: The height at which the upgrade must be performed. info: type: string title: >- @@ -20748,7 +21030,7 @@ definitions: If this field is not empty, an error will be thrown. type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -20798,19 +21080,17 @@ definitions: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- Plan specifies information about a planned upgrade and when it should occur. @@ -20826,6 +21106,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string rejects: @@ -20838,6 +21119,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string zigbeealliance.distributedcomplianceledger.dclupgrade.QueryGetRejectedUpgradeResponse: @@ -20884,9 +21166,7 @@ definitions: height: type: string format: int64 - description: |- - The height at which the upgrade must be performed. - Only used if Time is not set. + description: The height at which the upgrade must be performed. info: type: string title: >- @@ -20904,7 +21184,7 @@ definitions: If this field is not empty, an error will be thrown. type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of @@ -20954,19 +21234,17 @@ definitions: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- Plan specifies information about a planned upgrade and when it should occur. @@ -20982,6 +21260,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string rejects: @@ -20994,6 +21273,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string zigbeealliance.distributedcomplianceledger.dclupgrade.RejectedUpgrade: @@ -21037,9 +21317,7 @@ definitions: height: type: string format: int64 - description: |- - The height at which the upgrade must be performed. - Only used if Time is not set. + description: The height at which the upgrade must be performed. info: type: string title: >- @@ -21057,7 +21335,7 @@ definitions: If this field is not empty, an error will be thrown. type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the @@ -21105,19 +21383,17 @@ definitions: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely used + type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- Plan specifies information about a planned upgrade and when it should occur. @@ -21133,6 +21409,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string rejects: @@ -21145,6 +21422,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string zigbeealliance.distributedcomplianceledger.model.Model: @@ -21328,9 +21606,10 @@ definitions: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -21546,6 +21825,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string subjectAsText: @@ -21560,6 +21840,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string vid: @@ -21627,6 +21908,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string subjectAsText: @@ -21641,6 +21923,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string vid: @@ -21682,6 +21965,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string zigbeealliance.distributedcomplianceledger.pki.NocIcaCertificates: @@ -21725,6 +22009,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string subjectAsText: @@ -21739,6 +22024,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string vid: @@ -21790,6 +22076,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string subjectAsText: @@ -21804,6 +22091,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string vid: @@ -21914,6 +22202,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string subjectAsText: @@ -21928,6 +22217,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string vid: @@ -21956,6 +22246,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string subjectAsText: @@ -22014,6 +22305,9 @@ definitions: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string subjectAsText: @@ -22028,6 +22322,9 @@ definitions: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string vid: @@ -22047,9 +22344,10 @@ definitions: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -22112,6 +22410,9 @@ definitions: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string subjectAsText: @@ -22126,6 +22427,9 @@ definitions: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string vid: @@ -22142,9 +22446,10 @@ definitions: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -22207,6 +22512,9 @@ definitions: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string subjectAsText: @@ -22221,6 +22529,9 @@ definitions: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string vid: @@ -22237,9 +22548,10 @@ definitions: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -22302,9 +22614,10 @@ definitions: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -22349,6 +22662,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string subjectAsText: @@ -22363,6 +22677,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string vid: @@ -22380,9 +22695,10 @@ definitions: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -22421,6 +22737,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string subjectAsText: @@ -22438,9 +22755,10 @@ definitions: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -22504,6 +22822,9 @@ definitions: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string subjectAsText: @@ -22518,6 +22839,9 @@ definitions: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string vid: @@ -22537,9 +22861,10 @@ definitions: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -22603,6 +22928,9 @@ definitions: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string subjectAsText: @@ -22617,6 +22945,9 @@ definitions: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string vid: @@ -22636,9 +22967,10 @@ definitions: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -22702,6 +23034,9 @@ definitions: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string subjectAsText: @@ -22716,6 +23051,9 @@ definitions: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string vid: @@ -22732,9 +23070,10 @@ definitions: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -22808,6 +23147,9 @@ definitions: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string subjectAsText: @@ -22822,6 +23164,9 @@ definitions: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string vid: @@ -22913,6 +23258,9 @@ definitions: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string subjectAsText: @@ -22927,6 +23275,9 @@ definitions: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string vid: @@ -22981,6 +23332,9 @@ definitions: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string subjectAsText: @@ -22995,6 +23349,9 @@ definitions: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string vid: @@ -23114,6 +23471,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string subjectAsText: @@ -23128,6 +23486,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string vid: @@ -23159,6 +23518,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string subjectAsText: @@ -23215,6 +23575,9 @@ definitions: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string subjectAsText: @@ -23229,6 +23592,9 @@ definitions: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string vid: @@ -23287,6 +23653,9 @@ definitions: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string subjectAsText: @@ -23301,6 +23670,9 @@ definitions: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string vid: @@ -23359,6 +23731,9 @@ definitions: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string subjectAsText: @@ -23373,6 +23748,9 @@ definitions: time: type: string format: int64 + title: >- + number of nanoseconds elapsed since January 1, 1970 + UTC info: type: string vid: @@ -23440,6 +23818,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string subjectAsText: @@ -23454,6 +23833,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string vid: @@ -23509,6 +23889,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string subjectAsText: @@ -23523,6 +23904,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string vid: @@ -23578,6 +23960,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string subjectAsText: @@ -23592,6 +23975,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string vid: @@ -23646,6 +24030,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string disabledByNodeAdmin: @@ -23660,6 +24045,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string zigbeealliance.distributedcomplianceledger.validator.Grant: @@ -23670,6 +24056,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string zigbeealliance.distributedcomplianceledger.validator.LastValidatorPower: @@ -23697,6 +24084,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string rejects: @@ -23709,6 +24097,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string zigbeealliance.distributedcomplianceledger.validator.QueryAllDisabledValidatorResponse: @@ -23733,6 +24122,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string disabledByNodeAdmin: @@ -23747,6 +24137,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string pagination: @@ -23755,9 +24146,10 @@ definitions: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -23793,9 +24185,10 @@ definitions: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -23834,6 +24227,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string rejects: @@ -23846,6 +24240,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string pagination: @@ -23854,9 +24249,10 @@ definitions: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -23895,6 +24291,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string rejects: @@ -23907,6 +24304,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string pagination: @@ -23915,9 +24313,10 @@ definitions: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -23962,9 +24361,10 @@ definitions: type: string description: optional details. pubKey: + title: the consensus public key of the tendermint validator type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the @@ -24014,19 +24414,17 @@ definitions: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely + used type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -24059,6 +24457,10 @@ definitions: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -24073,10 +24475,13 @@ definitions: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -24094,7 +24499,6 @@ definitions: name "y.z". - JSON ==== @@ -24130,7 +24534,6 @@ definitions: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } - title: the consensus public key of the tendermint validator power: type: integer format: int32 @@ -24147,9 +24550,10 @@ definitions: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 @@ -24186,6 +24590,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string disabledByNodeAdmin: @@ -24200,6 +24605,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string zigbeealliance.distributedcomplianceledger.validator.QueryGetLastValidatorPowerResponse: @@ -24233,6 +24639,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string rejects: @@ -24245,6 +24652,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string zigbeealliance.distributedcomplianceledger.validator.QueryGetRejectedDisableValidatorResponse: @@ -24267,6 +24675,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string rejects: @@ -24279,6 +24688,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string zigbeealliance.distributedcomplianceledger.validator.QueryGetValidatorResponse: @@ -24307,9 +24717,10 @@ definitions: type: string description: optional details. pubKey: + title: the consensus public key of the tendermint validator type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the @@ -24357,19 +24768,17 @@ definitions: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely used + type server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above - specified type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -24402,6 +24811,10 @@ definitions: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -24416,10 +24829,13 @@ definitions: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -24435,7 +24851,6 @@ definitions: name "y.z". - JSON ==== @@ -24471,7 +24886,6 @@ definitions: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } - title: the consensus public key of the tendermint validator power: type: integer format: int32 @@ -24499,6 +24913,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string rejects: @@ -24511,6 +24926,7 @@ definitions: time: type: string format: int64 + title: number of nanoseconds elapsed since January 1, 1970 UTC info: type: string zigbeealliance.distributedcomplianceledger.validator.Validator: @@ -24536,9 +24952,10 @@ definitions: type: string description: optional details. pubKey: + title: the consensus public key of the tendermint validator type: object properties: - type_url: + '@type': type: string description: >- A URL/resource name that uniquely identifies the type of the @@ -24584,18 +25001,16 @@ definitions: protobuf release, and it is not used for type URLs beginning with - type.googleapis.com. + type.googleapis.com. As of May 2023, there are no widely used type + server + + implementations and no plans to implement one. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics. - value: - type: string - format: byte - description: >- - Must be a valid serialized protocol buffer of the above specified - type. + additionalProperties: {} description: >- `Any` contains an arbitrary serialized protocol buffer message along with a @@ -24627,6 +25042,10 @@ definitions: if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } + // or ... + if (any.isSameTypeAs(Foo.getDefaultInstance())) { + foo = any.unpack(Foo.getDefaultInstance()); + } Example 3: Pack and unpack a message in Python. @@ -24641,10 +25060,13 @@ definitions: Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} - any, err := ptypes.MarshalAny(foo) + any, err := anypb.New(foo) + if err != nil { + ... + } ... foo := &pb.Foo{} - if err := ptypes.UnmarshalAny(any, foo); err != nil { + if err := any.UnmarshalTo(foo); err != nil { ... } @@ -24659,7 +25081,6 @@ definitions: name "y.z". - JSON ==== @@ -24694,7 +25115,6 @@ definitions: "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } - title: the consensus public key of the tendermint validator power: type: integer format: int32 @@ -24735,9 +25155,10 @@ definitions: next_key: type: string format: byte - title: |- + description: |- next_key is the key to be passed to PageRequest.key to - query the next page most efficiently + query the next page most efficiently. It will be empty if + there are no more results. total: type: string format: uint64 diff --git a/docs/transactions.md b/docs/transactions.md index 35931397a..6c4dc7c5b 100644 --- a/docs/transactions.md +++ b/docs/transactions.md @@ -49,7 +49,8 @@ an Account or sign the request. - Build transaction by CLI 1: `dcld tx ... --generate-only` - Fetch `account number` and `sequence` by CLI 1: `dcld query auth account --address
` - Sign transaction by CLI 2: `dcld tx sign txn.json --from --account-number --sequence --gas "auto" --offline --output-document txn.json` - - Broadcat transaction by CLI 1: `dcld tx broadcast txn.json` + - Broadcast transaction by CLI 1: `dcld tx broadcast txn.json` + - To get the actual result of transaction, `dcld query tx=txHash` call must be executed, where `txHash` is the hash of previously executed transaction. - gRPC: - Generate a client code from the proto files [proto](../proto) for the client language (see ) - Build, sign, and broadcast the message (transaction). @@ -96,7 +97,7 @@ Please make sure that TLS is enabled in gRPC, REST or Light Client Proxy for sec - Tendermint RPC supports state proofs. Tendermint's Light Client library can be used to verify the state proofs. So, if Light Client API is used, then it's possible to communicate with non-trusted nodes. - Please note, that multi-value queries don't have state proofs support and should be sent to trusted nodes only. - - Refer to [this doc](./tendermint-rpc.md) to see how to [subscribe](./tendermint-rpc.md#subscribe) to a Tendermint WebSocket based events and/or [query](./tendermint-rpc.md#querying-application-components) an application components. + - Refer to [this doc](./cometbtf-rpc.md) to see how to [subscribe](./cometbtf-rpc.md#subscribe) to a Tendermint WebSocket based events and/or [query](./cometbtf-rpc.md#querying-application-components) an application components. `NotFound` (404 code) is returned if an entry is not found on the ledger. diff --git a/integration_tests/upgrade/03-test-upgrade-1.2-to-1.4.sh b/integration_tests/upgrade/03-test-upgrade-1.2-to-1.4.sh index b878e03a7..bf19731eb 100755 --- a/integration_tests/upgrade/03-test-upgrade-1.2-to-1.4.sh +++ b/integration_tests/upgrade/03-test-upgrade-1.2-to-1.4.sh @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -#set -euo pipefail +set -euo pipefail source integration_tests/cli/common.sh # Upgrade constants diff --git a/scripts/cosmos-swagger-gen.sh b/scripts/cosmos-swagger-gen.sh index 9e0c56dbf..9f7ff3532 100755 --- a/scripts/cosmos-swagger-gen.sh +++ b/scripts/cosmos-swagger-gen.sh @@ -14,9 +14,22 @@ mkdir -p ./tmp-swagger-gen # clone cosmos-sdk repo git clone -b $COSMOS_SDK_VERSION --depth 1 https://github.com/cosmos/cosmos-sdk.git ./tmp-swagger-gen/cosmos-sdk -# generate openapi -pushd ./tmp-swagger-gen/cosmos-sdk -../../scripts/swagger/protoc-swagger-gen.sh $CONFIG_FILE $OUTPUT_FILE -popd +cd ./tmp-swagger-gen/cosmos-sdk/proto +pwd +proto_dirs=$(find ./cosmos -path -prune -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq) +for dir in $proto_dirs; do + # generate swagger files (filter query files) + query_file=$(find "${dir}" -maxdepth 2 \( -name 'query.proto' -o -name 'service.proto' \)) + if [[ ! -z "$query_file" ]]; then + buf generate --template buf.gen.swagger.yaml $query_file + fi +done +cd .. +# combine swagger files +# uses nodejs package `swagger-combine`. +# all the individual swagger files need to be configured in `config.json` for merging +swagger-combine $CONFIG_FILE -o $OUTPUT_FILE --continueOnConflictingPaths true --includeDefinitions true +cd ../.. +# clean swagger files rm -rf ./tmp-swagger-gen \ No newline at end of file diff --git a/scripts/swagger/config/cosmos-base-config.json b/scripts/swagger/config/cosmos-base-config.json index 18f9b3f74..deee20f9e 100644 --- a/scripts/swagger/config/cosmos-base-config.json +++ b/scripts/swagger/config/cosmos-base-config.json @@ -1,12 +1,13 @@ { "swagger": "2.0", "info": { - "title": "cosmos/base/tendermint/v1beta1/query.proto", - "version": "v0.47.8","description": "A REST interface for base service endpoints" + "title": "Cosmos SDK - gRPC Gateway docs", + "description": "A REST interface for state queries", + "version": "1.0.0" }, "apis": [ { - "url": "cosmos/base/tendermint/v1beta1/query.swagger.json", + "url": "./tmp-swagger-gen/cosmos/base/tendermint/v1beta1/query.swagger.json", "operationIds": { "rename": { "Params": "BaseParams" diff --git a/scripts/swagger/config/cosmos-tx-config.json b/scripts/swagger/config/cosmos-tx-config.json index f86209a82..f8642cfb5 100644 --- a/scripts/swagger/config/cosmos-tx-config.json +++ b/scripts/swagger/config/cosmos-tx-config.json @@ -6,7 +6,7 @@ }, "apis": [ { - "url": "cosmos/tx/v1beta1/service.swagger.json", + "url": "./tmp-swagger-gen/cosmos/tx/v1beta1/service.swagger.json", "dereference": { "circular": "ignore" } diff --git a/scripts/swagger/config/dcl-config.json b/scripts/swagger/config/dcl-config.json index 7b0ec728f..5515e1363 100644 --- a/scripts/swagger/config/dcl-config.json +++ b/scripts/swagger/config/dcl-config.json @@ -9,7 +9,7 @@ "url": "https://github.com/zigbee-alliance/distributed-compliance-ledger/blob/master/LICENSE" }, - "description": "A REST interface for state queries. \nTendermint RPC endpoints are available here: https://docs.tendermint.com/v0.34/rpc/." + "description": "A REST interface for state queries. \nCometBFT RPC endpoints are available here: https://docs.cometbft.com/v0.37/rpc/." }, "apis": [ { diff --git a/scripts/swagger/protoc-swagger-gen.sh b/scripts/swagger/protoc-swagger-gen.sh index 6ef34a838..2c1dd2172 100755 --- a/scripts/swagger/protoc-swagger-gen.sh +++ b/scripts/swagger/protoc-swagger-gen.sh @@ -15,7 +15,8 @@ for dir in $proto_dirs; do # generate swagger files (filter query files) query_file=$(find "${dir}" -maxdepth 1 \( -name 'query.proto' -o -name 'service.proto' \)) if [[ ! -z "$query_file" ]]; then - buf generate --template buf.gen.swagger.yaml "$query_file" + buf generate --template proto/buf.gen.swagger.yaml "$query_file" + cp -r zigbeealliance/distributedcomplianceledger/* swagger-out/ fi done @@ -26,4 +27,5 @@ pushd ./swagger-out swagger-combine $CONFIG_FILE -o $OUTPUT_FILE --continueOnConflictingPaths true --includeDefinitions true popd +rm -rf zigbeealliance rm -rf ./swagger-out \ No newline at end of file From f562122a34fa38bbb0570984ee20f64f948632fe Mon Sep 17 00:00:00 2001 From: Abdulbois Date: Fri, 19 Apr 2024 19:47:12 +0500 Subject: [PATCH 27/29] #303 Upgrade Cosmos-SDK to v0.47.8 - Fix CI lint errors - Temporary disable Molecule actionlint job Signed-off-by: Abdulbois Signed-off-by: Abdulbois --- .github/.wordlist.txt | 4 +++- .github/workflows/on-demand_molecule.yml | 4 ++-- .github/workflows/verify.yml | 4 ++-- README.md | 2 +- .../ansible/roles/bootstrap/defaults/main.yml | 2 -- .../molecule/default/tests/test_default.py | 2 +- .../ansible/roles/configure/defaults/main.yml | 2 +- deployment/cosmovisor.service | 2 +- deployment/scripts/run_dcl_node | 2 +- docs/{cometbtf-rpc.md => cometbft-rpc.md} | 0 docs/transactions.md | 2 +- integration_tests/run-all.sh | 22 +++++++++---------- 12 files changed, 24 insertions(+), 24 deletions(-) rename docs/{cometbtf-rpc.md => cometbft-rpc.md} (100%) diff --git a/.github/.wordlist.txt b/.github/.wordlist.txt index e90efb48d..a22721fe6 100644 --- a/.github/.wordlist.txt +++ b/.github/.wordlist.txt @@ -84,4 +84,6 @@ md pdf ul WebSocket -cometbft \ No newline at end of file +cometbft +CometBFT +CometBFT's \ No newline at end of file diff --git a/.github/workflows/on-demand_molecule.yml b/.github/workflows/on-demand_molecule.yml index 9f1acde81..345041d5b 100644 --- a/.github/workflows/on-demand_molecule.yml +++ b/.github/workflows/on-demand_molecule.yml @@ -18,13 +18,13 @@ name: Check All Molecule tests on: push: branches: - - master + - dev paths: - deployment/test-requirements.txt - deployment/ansible/roles/** pull_request: branches: - - master + - dev paths: - deployment/test-requirements.txt - deployment/ansible/roles/** diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 6cab83ae1..6bebdf312 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -56,8 +56,8 @@ jobs: if: needs.changes.outputs.workflows == 'true' name: Run actionlint tool to verify lint issues in GitHub actions runs-on: ubuntu-latest - needs: - - changes +# needs: +# - changes steps: - uses: actions/checkout@master - uses: reviewdog/action-actionlint@v1 diff --git a/README.md b/README.md index 768fc0711..5cba394d3 100644 --- a/README.md +++ b/README.md @@ -166,7 +166,7 @@ but they may be provided in the future. - The following libraries can be used as light clients: - [Golang Light Client implementation](https://pkg.go.dev/github.com/cometbft/cometbft/light) - [Rust Light Client implementation](https://docs.rs/cometbft-light-client/0.1.0-alpha.2/cometbft_light_client/) -- Refer to [this doc](./docs/cometbtf-rpc.md) to see how to [subscribe](./docs/cometbtf-rpc.md#subscribe) to a CometBFT WebSocket based events and/or [query](./docs/cometbtf-rpc.md#querying-application-components) an application components. +- Refer to [this doc](./docs/cometbft-rpc.md) to see how to [subscribe](./docs/cometbft-rpc.md#subscribe) to a CometBFT WebSocket based events and/or [query](./docs/cometbft-rpc.md#querying-application-components) an application components. ### Instructions diff --git a/deployment/ansible/roles/bootstrap/defaults/main.yml b/deployment/ansible/roles/bootstrap/defaults/main.yml index f015bffe4..772fd3eb1 100644 --- a/deployment/ansible/roles/bootstrap/defaults/main.yml +++ b/deployment/ansible/roles/bootstrap/defaults/main.yml @@ -12,5 +12,3 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. - - diff --git a/deployment/ansible/roles/bootstrap/molecule/default/tests/test_default.py b/deployment/ansible/roles/bootstrap/molecule/default/tests/test_default.py index 3c55d96db..12afa79fa 100644 --- a/deployment/ansible/roles/bootstrap/molecule/default/tests/test_default.py +++ b/deployment/ansible/roles/bootstrap/molecule/default/tests/test_default.py @@ -33,6 +33,6 @@ def test_service(host): "User=cosmovisor", "Group=dcl", 'Environment="DAEMON_HOME=/var/lib/dcl/.dcl" "DAEMON_NAME=dcld"', - "ExecStart=/usr/bin/cosmovisor start", + "ExecStart=/usr/bin/cosmovisor run start", ]: assert prop in svc.content_string diff --git a/deployment/ansible/roles/configure/defaults/main.yml b/deployment/ansible/roles/configure/defaults/main.yml index 56d2d7cde..9e6025d15 100644 --- a/deployment/ansible/roles/configure/defaults/main.yml +++ b/deployment/ansible/roles/configure/defaults/main.yml @@ -28,6 +28,6 @@ client: # : to Tendermint RPC interface for this chain node: "tcp://localhost:26657" # Transaction broadcasting mode (sync|async|block) - broadcast-mode: block + broadcast-mode: sync config: {} app: {} diff --git a/deployment/cosmovisor.service b/deployment/cosmovisor.service index bd21fd8f0..02e7c5acc 100644 --- a/deployment/cosmovisor.service +++ b/deployment/cosmovisor.service @@ -11,7 +11,7 @@ User=ubuntu Environment="DAEMON_HOME=/var/lib/ubuntu/.dcl" Environment="DAEMON_NAME=dcld" Environment="DAEMON_ALLOW_DOWNLOAD_BINARIES=true" -ExecStart=/usr/bin/cosmovisor start +ExecStart=/usr/bin/cosmovisor run start [Install] WantedBy=multi-user.target diff --git a/deployment/scripts/run_dcl_node b/deployment/scripts/run_dcl_node index db2c4f949..ec147aa11 100755 --- a/deployment/scripts/run_dcl_node +++ b/deployment/scripts/run_dcl_node @@ -353,7 +353,7 @@ function run_node { function wait_node_up { - local _timeout="${1:-30}" + local _timeout="${1:-60}" local _try=1 echo -e "Waiting the node becomes up" diff --git a/docs/cometbtf-rpc.md b/docs/cometbft-rpc.md similarity index 100% rename from docs/cometbtf-rpc.md rename to docs/cometbft-rpc.md diff --git a/docs/transactions.md b/docs/transactions.md index 6c4dc7c5b..383672020 100644 --- a/docs/transactions.md +++ b/docs/transactions.md @@ -97,7 +97,7 @@ Please make sure that TLS is enabled in gRPC, REST or Light Client Proxy for sec - Tendermint RPC supports state proofs. Tendermint's Light Client library can be used to verify the state proofs. So, if Light Client API is used, then it's possible to communicate with non-trusted nodes. - Please note, that multi-value queries don't have state proofs support and should be sent to trusted nodes only. - - Refer to [this doc](./cometbtf-rpc.md) to see how to [subscribe](./cometbtf-rpc.md#subscribe) to a Tendermint WebSocket based events and/or [query](./cometbtf-rpc.md#querying-application-components) an application components. + - Refer to [this doc](./cometbft-rpc.md) to see how to [subscribe](./cometbft-rpc.md#subscribe) to a Tendermint WebSocket based events and/or [query](./cometbft-rpc.md#querying-application-components) an application components. `NotFound` (404 code) is returned if an entry is not found on the ledger. diff --git a/integration_tests/run-all.sh b/integration_tests/run-all.sh index a7f8343aa..e640a21b0 100755 --- a/integration_tests/run-all.sh +++ b/integration_tests/run-all.sh @@ -111,6 +111,17 @@ make image &>${DETAILED_OUTPUT_TARGET} cleanup_pool +# Deploy tests +if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "deploy" ]]; then + DEPLOY_SHELL_TEST="./integration_tests/deploy/test_deploy.sh" + if bash "$DEPLOY_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then + log "$DEPLOY_SHELL_TEST finished successfully" + else + log "$DEPLOY_SHELL_TEST failed" + exit 1 + fi +fi + # Cli shell tests if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "cli" ]]; then CLI_SHELL_TESTS=$(find integration_tests/cli -type f -name '*.sh' -not -name "common.sh") @@ -181,17 +192,6 @@ if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "rest" ]]; then done fi -# Deploy tests -if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "deploy" ]]; then - DEPLOY_SHELL_TEST="./integration_tests/deploy/test_deploy.sh" - if bash "$DEPLOY_SHELL_TEST" &>${DETAILED_OUTPUT_TARGET}; then - log "$DEPLOY_SHELL_TEST finished successfully" - else - log "$DEPLOY_SHELL_TEST failed" - exit 1 - fi -fi - # Upgrade procedure tests if [[ $TESTS_TO_RUN =~ "all" || $TESTS_TO_RUN =~ "upgrade" ]]; then UPGRADE_SHELL_TEST="./integration_tests/upgrade/test-upgrade.sh" From 6c5aa278aeed29dcc4b1dfbcf7cc5504c98f313b Mon Sep 17 00:00:00 2001 From: Abdulbois Date: Thu, 25 Apr 2024 12:33:15 +0500 Subject: [PATCH 28/29] #303 Upgrade Cosmos-SDK to v0.47.8 Add CHANGELOG.md file Signed-off-by: Abdulbois Signed-off-by: Abdulbois --- docs/CHANGELOG.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 docs/CHANGELOG.md diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md new file mode 100644 index 000000000..e64d38b9e --- /dev/null +++ b/docs/CHANGELOG.md @@ -0,0 +1,15 @@ +## [v1.4.0-dev3](https://github.com/zigbee-alliance/distributed-compliance-ledger/releases/tag/v1.4.0-dev3) - 2024-04-24 + +### Dependency Changes +* Upgrade cosmos-sdk to v0.47.8 + * Migrate to CometBFT. Follow the migration instructions in the [upgrade guide](https://github.com/cosmos/cosmos-sdk/blob/main/UPGRADING.md#migration-to-cometbft-part-1). + * Upgrade all related dependencies too +* Upgrade Golang version to 1.20 + +### Breaking Changes +* Transaction broadcasting `block` mode has been removed from the updated cosmos-sdk. +Starting from this version, dcl has only two modes: `sync` and `async`, with the default being `sync`. +In this mode, to obtain the actual result of a transaction (`txn`), an additional `query` call with the `txHash` must be executed. For example: + `dcld query tx txHash` - where `txHash` represents the hash of the previously executed transaction." +* `starport` cli tool is no longer supported. Please use `v0.27.2` version of [ignite](https://github.com/ignite/cli). +* Due to upgrading `cosmovisor` to v1.3.0 in Docker and shell files, the node starting command has changed from `cosmovisor start` to `cosmovisor run start` From a7c4b320df405e2ac2d5b17346af91a38144ba5b Mon Sep 17 00:00:00 2001 From: Abdulbois Date: Sat, 27 Apr 2024 11:22:45 +0500 Subject: [PATCH 29/29] #303 Upgrade Cosmos-SDK to v0.47.8 Fix docs Signed-off-by: Abdulbois Signed-off-by: Abdulbois --- .github/.wordlist.txt | 4 +++- README-DEV.md | 8 ++++++-- docs/how-to.md | 2 +- docs/running-light-client-proxy.md | 4 ++-- genlocalnetconfig.sh | 2 -- scripts/README.md | 5 +++++ 6 files changed, 17 insertions(+), 8 deletions(-) diff --git a/.github/.wordlist.txt b/.github/.wordlist.txt index a22721fe6..04da5954e 100644 --- a/.github/.wordlist.txt +++ b/.github/.wordlist.txt @@ -86,4 +86,6 @@ ul WebSocket cometbft CometBFT -CometBFT's \ No newline at end of file +CometBFT's +distributedcoplianceledger +zigbeealliance \ No newline at end of file diff --git a/README-DEV.md b/README-DEV.md index d2c008e84..faab8115e 100644 --- a/README-DEV.md +++ b/README-DEV.md @@ -157,8 +157,12 @@ Please take into account the following when sending a PR: Consider using a docker container built from the provided [Dockerfile](scripts/Dockerfile) to have a predictable version of ignite. See [README.md](scripts/README.md). - Have a look at the scripts and commands used for generation of existing modules, messages and CRUD operations and do it in a similar way (for example [PKI module commands](scripts/starport/upgrade-0.44/07.pki_types.sh)). - Note: On previous scaffolding of modules `starport` cli used instead of `ignite`. - While generating new module, command structure will the same except it must start with `ignite`. + - + **Note**: + 1. On previous scaffolding of modules `starport` cli used instead of `ignite`. + While generating new module, command structure will the same except it must start with `ignite`. + 2. After execution of command `ignite scaffold ...` generated `.proto` files will be added into `proto/distributedcoplianceledger/{module}/{proto}` + . So make sure to put contents of generated proto files into related folders inside `proto/zigbeealliance/..` folder. - If a new transaction with a new data in state (key-value) and new queries needs to be created, then both message and CRUD commands need to be executed. - If just a message to update existing state values need to be created, then a message command is enough. - Adjust the generated code diff --git a/docs/how-to.md b/docs/how-to.md index dafe42d85..f3c0541f0 100644 --- a/docs/how-to.md +++ b/docs/how-to.md @@ -48,7 +48,7 @@ Here is the list of supported settings: - `output ` - Output format (text/json) - `node ` - Address `:` of the node to connect. - `broadcast-mode ` - Write transaction broadcast mode to use (one of: `sync`, `async`. `sync` is default). - - Note: In `sync` broadcast mode, to get the actual result of transaction(`dcld tx ..`) one more query call with `txHash` must be executed(`dcld query tx=txHash`) + - Note: To get the actual result of transaction(`dcld tx ..`) one more query call with the `txHash` must be executed(`dcld query tx txHash`) In order to connect the CLI to a DC Ledger Network (Chain), the following parameters should be used: diff --git a/docs/running-light-client-proxy.md b/docs/running-light-client-proxy.md index f5d17b01c..d45d2f5c3 100644 --- a/docs/running-light-client-proxy.md +++ b/docs/running-light-client-proxy.md @@ -9,7 +9,7 @@ A Full Node (Validator or Observer) should be used for multi-value query request See the following links for details about a Light Client: -- +- ## Running Light Client Proxy - Short @@ -21,7 +21,7 @@ dcld config node tcp://:8888 ## Running Light Client Proxy - Detailed -See for details +See for details ### 1. Choose Semi-trusted or Non-trusted Nodes for Connection diff --git a/genlocalnetconfig.sh b/genlocalnetconfig.sh index 325f818a0..26fa23ba2 100755 --- a/genlocalnetconfig.sh +++ b/genlocalnetconfig.sh @@ -175,8 +175,6 @@ for node_name in node0 node1 node2 node3 observer0; do sed -i $SED_EXT 's/laddr = "tcp:\/\/127.0.0.1:26657"/laddr = "tcp:\/\/0.0.0.0:26657"/g' "$LOCALNET_DIR/${node_name}/config/config.toml" # Make REST endpoints available externally sed -i $SED_EXT 's/address = "tcp:\/\/localhost:1317"/address = "tcp:\/\/0.0.0.0:1317"/g' "$LOCALNET_DIR/${node_name}/config/app.toml" - # Make gRPC endpoints available externally - sed -i $SED_EXT 's/address = "localhost:9090"/address = "0.0.0.0:9090"/g' "$LOCALNET_DIR/${node_name}/config/app.toml" # Make REST endpoints available externally sed -i $SED_EXT 's/address = "tcp:\/\/localhost:1317"/address = "tcp:\/\/0.0.0.0:1317"/g' "$LOCALNET_DIR/${node_name}/config/app.toml" diff --git a/scripts/README.md b/scripts/README.md index c8c4b787a..953979b18 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -29,6 +29,11 @@ Build proto (for example `buf generate --template buf.gen.gogo.yaml`). ```bash ./scripts/protocgen.sh ``` +or + +```bash +ignite chain build +``` Generate Cosmos base openapi