From 75bcf1f5a53040fffd724935279175f60f93785b Mon Sep 17 00:00:00 2001 From: Murali Krishna Komatireddy <43192592+0xmuralik@users.noreply.github.com> Date: Fri, 9 Dec 2022 09:47:14 +0530 Subject: [PATCH] rename nameservie to registry (#54) --- app/app.go | 68 +- docs/api/proto-docs.md | 420 +++++----- go.mod | 4 +- go.sum | 8 +- gql/resolver.go | 24 +- gql/util.go | 24 +- gql/version.go | 4 +- init.sh | 28 +- .../v1beta1/attributes.proto | 4 +- .../v1beta1/genesis.proto | 10 +- .../v1beta1/query.proto | 62 +- .../v1beta1/registry.proto} | 10 +- .../v1beta1/tx.proto | 6 +- x/{nameservice => registry}/README.md | 40 +- x/{nameservice => registry}/abci.go | 4 +- .../client/cli/query.go | 12 +- x/{nameservice => registry}/client/cli/tx.go | 10 +- .../client/testutil/cli_test.go | 0 .../client/testutil/example1.yml | 0 .../client/testutil/grpc.go | 28 +- .../client/testutil/query.go | 14 +- .../testutil/service_provider_example.yml | 0 .../client/testutil/tx.go | 4 +- .../testutil/website_registration_example.yml | 0 x/{nameservice => registry}/genesis.go | 6 +- .../helpers/examples/example1.yml | 0 .../examples/service_provider_example.yml | 0 .../examples/website_registration_example.yml | 0 .../helpers/helpers.go | 0 .../keeper/grpc_query.go | 6 +- .../keeper/grpc_query_test.go | 72 +- .../keeper/invariants.go | 4 +- x/{nameservice => registry}/keeper/keeper.go | 10 +- .../keeper/keeper_test.go | 8 +- .../keeper/msg_server.go | 2 +- .../keeper/naming_keeper.go | 4 +- x/{nameservice => registry}/keeper/params.go | 2 +- .../keeper/record_keeper.go | 4 +- x/{nameservice => registry}/keeper/sync.go | 4 +- x/{nameservice => registry}/module.go | 10 +- .../simulation/genesis.go | 10 +- .../types/attributes.go | 0 .../types/attributes.pb.go | 98 +-- x/{nameservice => registry}/types/codec.go | 24 +- x/{nameservice => registry}/types/events.go | 0 x/{nameservice => registry}/types/genesis.go | 0 .../types/genesis.pb.go | 60 +- x/{nameservice => registry}/types/keys.go | 2 +- x/{nameservice => registry}/types/msg.go | 0 x/{nameservice => registry}/types/params.go | 0 x/{nameservice => registry}/types/query.pb.go | 478 ++++++------ .../types/query.pb.gw.go | 50 +- .../types/record_msg.go | 0 .../types/registry.pb.go} | 736 +++++++++--------- x/{nameservice => registry}/types/tx.pb.go | 246 +++--- x/{nameservice => registry}/types/types.go | 2 +- 56 files changed, 1311 insertions(+), 1311 deletions(-) rename proto/vulcanize/{nameservice => registry}/v1beta1/attributes.proto (93%) rename proto/vulcanize/{nameservice => registry}/v1beta1/genesis.proto (66%) rename proto/vulcanize/{nameservice => registry}/v1beta1/query.proto (71%) rename proto/vulcanize/{nameservice/v1beta1/nameservice.proto => registry/v1beta1/registry.proto} (95%) rename proto/vulcanize/{nameservice => registry}/v1beta1/tx.proto (96%) rename x/{nameservice => registry}/README.md (69%) rename x/{nameservice => registry}/abci.go (88%) rename x/{nameservice => registry}/client/cli/query.go (96%) rename x/{nameservice => registry}/client/cli/tx.go (97%) rename x/{nameservice => registry}/client/testutil/cli_test.go (100%) rename x/{nameservice => registry}/client/testutil/example1.yml (100%) rename x/{nameservice => registry}/client/testutil/grpc.go (93%) rename x/{nameservice => registry}/client/testutil/query.go (97%) rename x/{nameservice => registry}/client/testutil/service_provider_example.yml (100%) rename x/{nameservice => registry}/client/testutil/tx.go (99%) rename x/{nameservice => registry}/client/testutil/website_registration_example.yml (100%) rename x/{nameservice => registry}/genesis.go (94%) rename x/{nameservice => registry}/helpers/examples/example1.yml (100%) rename x/{nameservice => registry}/helpers/examples/service_provider_example.yml (100%) rename x/{nameservice => registry}/helpers/examples/website_registration_example.yml (100%) rename x/{nameservice => registry}/helpers/helpers.go (100%) rename x/{nameservice => registry}/keeper/grpc_query.go (93%) rename x/{nameservice => registry}/keeper/grpc_query_test.go (74%) rename x/{nameservice => registry}/keeper/invariants.go (89%) rename x/{nameservice => registry}/keeper/keeper.go (98%) rename x/{nameservice => registry}/keeper/keeper_test.go (89%) rename x/{nameservice => registry}/keeper/msg_server.go (99%) rename x/{nameservice => registry}/keeper/naming_keeper.go (99%) rename x/{nameservice => registry}/keeper/params.go (88%) rename x/{nameservice => registry}/keeper/record_keeper.go (98%) rename x/{nameservice => registry}/keeper/sync.go (96%) rename x/{nameservice => registry}/module.go (95%) rename x/{nameservice => registry}/simulation/genesis.go (73%) rename x/{nameservice => registry}/types/attributes.go (100%) rename x/{nameservice => registry}/types/attributes.pb.go (87%) rename x/{nameservice => registry}/types/codec.go (58%) rename x/{nameservice => registry}/types/events.go (100%) rename x/{nameservice => registry}/types/genesis.go (100%) rename x/{nameservice => registry}/types/genesis.pb.go (81%) rename x/{nameservice => registry}/types/keys.go (95%) rename x/{nameservice => registry}/types/msg.go (100%) rename x/{nameservice => registry}/types/params.go (100%) rename x/{nameservice => registry}/types/query.pb.go (88%) rename x/{nameservice => registry}/types/query.pb.gw.go (92%) rename x/{nameservice => registry}/types/record_msg.go (100%) rename x/{nameservice/types/nameservice.pb.go => registry/types/registry.pb.go} (78%) rename x/{nameservice => registry}/types/tx.pb.go (91%) rename x/{nameservice => registry}/types/types.go (99%) diff --git a/app/app.go b/app/app.go index c5153a40..99221660 100644 --- a/app/app.go +++ b/app/app.go @@ -121,9 +121,9 @@ import ( "github.com/cerc-io/laconicd/x/bond" bondkeeper "github.com/cerc-io/laconicd/x/bond/keeper" bondtypes "github.com/cerc-io/laconicd/x/bond/types" - "github.com/cerc-io/laconicd/x/nameservice" - nameservicekeeper "github.com/cerc-io/laconicd/x/nameservice/keeper" - nameservicetypes "github.com/cerc-io/laconicd/x/nameservice/types" + registry "github.com/cerc-io/laconicd/x/registry" + registrykeeper "github.com/cerc-io/laconicd/x/registry/keeper" + registrytypes "github.com/cerc-io/laconicd/x/registry/types" ) func init() { @@ -172,25 +172,25 @@ var ( // Laconic modules auction.AppModuleBasic{}, bond.AppModuleBasic{}, - nameservice.AppModuleBasic{}, + registry.AppModuleBasic{}, ) // module account permissions maccPerms = map[string][]string{ - authtypes.FeeCollectorName: nil, - distrtypes.ModuleName: nil, - minttypes.ModuleName: {authtypes.Minter}, - stakingtypes.BondedPoolName: {authtypes.Burner, authtypes.Staking}, - stakingtypes.NotBondedPoolName: {authtypes.Burner, authtypes.Staking}, - govtypes.ModuleName: {authtypes.Burner}, - ibctransfertypes.ModuleName: {authtypes.Minter, authtypes.Burner}, - evmtypes.ModuleName: {authtypes.Minter, authtypes.Burner}, // used for secure addition and subtraction of balance using module account - auctiontypes.ModuleName: nil, - auctiontypes.AuctionBurnModuleAccountName: nil, - nameservicetypes.ModuleName: nil, - nameservicetypes.RecordRentModuleAccountName: nil, - nameservicetypes.AuthorityRentModuleAccountName: nil, - bondtypes.ModuleName: nil, + authtypes.FeeCollectorName: nil, + distrtypes.ModuleName: nil, + minttypes.ModuleName: {authtypes.Minter}, + stakingtypes.BondedPoolName: {authtypes.Burner, authtypes.Staking}, + stakingtypes.NotBondedPoolName: {authtypes.Burner, authtypes.Staking}, + govtypes.ModuleName: {authtypes.Burner}, + ibctransfertypes.ModuleName: {authtypes.Minter, authtypes.Burner}, + evmtypes.ModuleName: {authtypes.Minter, authtypes.Burner}, // used for secure addition and subtraction of balance using module account + auctiontypes.ModuleName: nil, + auctiontypes.AuctionBurnModuleAccountName: nil, + registrytypes.ModuleName: nil, + registrytypes.RecordRentModuleAccountName: nil, + registrytypes.AuthorityRentModuleAccountName: nil, + bondtypes.ModuleName: nil, } // module accounts that are allowed to receive tokens @@ -248,10 +248,10 @@ type EthermintApp struct { FeeMarketKeeper feemarketkeeper.Keeper // laconic keepers - AuctionKeeper auctionkeeper.Keeper - BondKeeper bondkeeper.Keeper - NameServiceKeeper nameservicekeeper.Keeper - NameServiceRecordKeeper nameservicekeeper.RecordKeeper + AuctionKeeper auctionkeeper.Keeper + BondKeeper bondkeeper.Keeper + RegistryKeeper registrykeeper.Keeper + RegistryRecordKeeper registrykeeper.RecordKeeper // the module manager mm *module.Manager @@ -306,7 +306,7 @@ func NewEthermintApp( // laconic keys auctiontypes.StoreKey, bondtypes.StoreKey, - nameservicetypes.StoreKey, + registrytypes.StoreKey, ) // Add the EVM transient store key @@ -436,19 +436,19 @@ func NewEthermintApp( appCodec, app.GetSubspace(auctiontypes.ModuleName), ) - app.NameServiceRecordKeeper = nameservicekeeper.NewRecordKeeper(app.AuctionKeeper, keys[nameservicetypes.StoreKey], appCodec) + app.RegistryRecordKeeper = registrykeeper.NewRecordKeeper(app.AuctionKeeper, keys[registrytypes.StoreKey], appCodec) - app.AuctionKeeper.SetUsageKeepers([]auctiontypes.AuctionUsageKeeper{app.NameServiceRecordKeeper}) + app.AuctionKeeper.SetUsageKeepers([]auctiontypes.AuctionUsageKeeper{app.RegistryRecordKeeper}) app.BondKeeper = bondkeeper.NewKeeper( appCodec, app.AccountKeeper, app.BankKeeper, - []bondtypes.BondUsageKeeper{app.NameServiceRecordKeeper}, keys[bondtypes.StoreKey], app.GetSubspace(bondtypes.ModuleName), + []bondtypes.BondUsageKeeper{app.RegistryRecordKeeper}, keys[bondtypes.StoreKey], app.GetSubspace(bondtypes.ModuleName), ) - app.NameServiceKeeper = nameservicekeeper.NewKeeper( + app.RegistryKeeper = registrykeeper.NewKeeper( appCodec, app.AccountKeeper, app.BankKeeper, - app.NameServiceRecordKeeper, app.BondKeeper, app.AuctionKeeper, - keys[nameservicetypes.StoreKey], app.GetSubspace(nameservicetypes.ModuleName), + app.RegistryRecordKeeper, app.BondKeeper, app.AuctionKeeper, + keys[registrytypes.StoreKey], app.GetSubspace(registrytypes.ModuleName), ) // Create IBC Keeper @@ -539,7 +539,7 @@ func NewEthermintApp( // laconic modules auction.NewAppModule(appCodec, app.AuctionKeeper), bond.NewAppModule(appCodec, app.BondKeeper), - nameservice.NewAppModule(app.NameServiceKeeper), + registry.NewAppModule(app.RegistryKeeper), ) // During begin block slashing happens after distr.BeginBlocker so that @@ -573,7 +573,7 @@ func NewEthermintApp( // laconic modules auctiontypes.ModuleName, bondtypes.ModuleName, - nameservicetypes.ModuleName, + registrytypes.ModuleName, ) // NOTE: fee market module must go last in order to retrieve the block gas used. @@ -602,7 +602,7 @@ func NewEthermintApp( // laconic modules auctiontypes.ModuleName, bondtypes.ModuleName, - nameservicetypes.ModuleName, + registrytypes.ModuleName, ) // NOTE: The genutils module must occur after staking so that pools are @@ -638,7 +638,7 @@ func NewEthermintApp( // laconic modules auctiontypes.ModuleName, bondtypes.ModuleName, - nameservicetypes.ModuleName, + registrytypes.ModuleName, // NOTE: crisis module must go at the end to check for invariants on each module crisistypes.ModuleName, ) @@ -917,6 +917,6 @@ func initParamsKeeper(appCodec codec.BinaryCodec, legacyAmino *codec.LegacyAmino // laconic subspaces paramsKeeper.Subspace(auctiontypes.ModuleName) paramsKeeper.Subspace(bondtypes.ModuleName) - paramsKeeper.Subspace(nameservicetypes.ModuleName) + paramsKeeper.Subspace(registrytypes.ModuleName) return paramsKeeper } diff --git a/docs/api/proto-docs.md b/docs/api/proto-docs.md index 87a8c973..51bf7cc3 100644 --- a/docs/api/proto-docs.md +++ b/docs/api/proto-docs.md @@ -160,81 +160,81 @@ - [Msg](#vulcanize.bond.v1beta1.Msg) -- [vulcanize/nameservice/v1beta1/attributes.proto](#vulcanize/nameservice/v1beta1/attributes.proto) - - [ServiceProviderRegistration](#vulcanize.nameservice.v1beta1.ServiceProviderRegistration) - - [WebsiteRegistrationRecord](#vulcanize.nameservice.v1beta1.WebsiteRegistrationRecord) - - [X500](#vulcanize.nameservice.v1beta1.X500) +- [vulcanize/registry/v1beta1/attributes.proto](#vulcanize/registry/v1beta1/attributes.proto) + - [ServiceProviderRegistration](#vulcanize.registry.v1beta1.ServiceProviderRegistration) + - [WebsiteRegistrationRecord](#vulcanize.registry.v1beta1.WebsiteRegistrationRecord) + - [X500](#vulcanize.registry.v1beta1.X500) -- [vulcanize/nameservice/v1beta1/nameservice.proto](#vulcanize/nameservice/v1beta1/nameservice.proto) - - [AuctionBidInfo](#vulcanize.nameservice.v1beta1.AuctionBidInfo) - - [AuthorityEntry](#vulcanize.nameservice.v1beta1.AuthorityEntry) - - [BlockChangeSet](#vulcanize.nameservice.v1beta1.BlockChangeSet) - - [NameAuthority](#vulcanize.nameservice.v1beta1.NameAuthority) - - [NameEntry](#vulcanize.nameservice.v1beta1.NameEntry) - - [NameRecord](#vulcanize.nameservice.v1beta1.NameRecord) - - [NameRecordEntry](#vulcanize.nameservice.v1beta1.NameRecordEntry) - - [Params](#vulcanize.nameservice.v1beta1.Params) - - [Record](#vulcanize.nameservice.v1beta1.Record) - - [Signature](#vulcanize.nameservice.v1beta1.Signature) +- [vulcanize/registry/v1beta1/registry.proto](#vulcanize/registry/v1beta1/registry.proto) + - [AuctionBidInfo](#vulcanize.registry.v1beta1.AuctionBidInfo) + - [AuthorityEntry](#vulcanize.registry.v1beta1.AuthorityEntry) + - [BlockChangeSet](#vulcanize.registry.v1beta1.BlockChangeSet) + - [NameAuthority](#vulcanize.registry.v1beta1.NameAuthority) + - [NameEntry](#vulcanize.registry.v1beta1.NameEntry) + - [NameRecord](#vulcanize.registry.v1beta1.NameRecord) + - [NameRecordEntry](#vulcanize.registry.v1beta1.NameRecordEntry) + - [Params](#vulcanize.registry.v1beta1.Params) + - [Record](#vulcanize.registry.v1beta1.Record) + - [Signature](#vulcanize.registry.v1beta1.Signature) -- [vulcanize/nameservice/v1beta1/genesis.proto](#vulcanize/nameservice/v1beta1/genesis.proto) - - [GenesisState](#vulcanize.nameservice.v1beta1.GenesisState) +- [vulcanize/registry/v1beta1/genesis.proto](#vulcanize/registry/v1beta1/genesis.proto) + - [GenesisState](#vulcanize.registry.v1beta1.GenesisState) -- [vulcanize/nameservice/v1beta1/query.proto](#vulcanize/nameservice/v1beta1/query.proto) - - [AccountBalance](#vulcanize.nameservice.v1beta1.AccountBalance) - - [ExpiryQueueRecord](#vulcanize.nameservice.v1beta1.ExpiryQueueRecord) - - [GetNameServiceModuleBalanceRequest](#vulcanize.nameservice.v1beta1.GetNameServiceModuleBalanceRequest) - - [GetNameServiceModuleBalanceResponse](#vulcanize.nameservice.v1beta1.GetNameServiceModuleBalanceResponse) - - [QueryGetAuthorityExpiryQueue](#vulcanize.nameservice.v1beta1.QueryGetAuthorityExpiryQueue) - - [QueryGetAuthorityExpiryQueueResponse](#vulcanize.nameservice.v1beta1.QueryGetAuthorityExpiryQueueResponse) - - [QueryGetRecordExpiryQueue](#vulcanize.nameservice.v1beta1.QueryGetRecordExpiryQueue) - - [QueryGetRecordExpiryQueueResponse](#vulcanize.nameservice.v1beta1.QueryGetRecordExpiryQueueResponse) - - [QueryListNameRecordsRequest](#vulcanize.nameservice.v1beta1.QueryListNameRecordsRequest) - - [QueryListNameRecordsResponse](#vulcanize.nameservice.v1beta1.QueryListNameRecordsResponse) - - [QueryListRecordsRequest](#vulcanize.nameservice.v1beta1.QueryListRecordsRequest) - - [QueryListRecordsRequest.KeyValueInput](#vulcanize.nameservice.v1beta1.QueryListRecordsRequest.KeyValueInput) - - [QueryListRecordsRequest.ReferenceInput](#vulcanize.nameservice.v1beta1.QueryListRecordsRequest.ReferenceInput) - - [QueryListRecordsRequest.ValueInput](#vulcanize.nameservice.v1beta1.QueryListRecordsRequest.ValueInput) - - [QueryListRecordsResponse](#vulcanize.nameservice.v1beta1.QueryListRecordsResponse) - - [QueryLookupCrn](#vulcanize.nameservice.v1beta1.QueryLookupCrn) - - [QueryLookupCrnResponse](#vulcanize.nameservice.v1beta1.QueryLookupCrnResponse) - - [QueryParamsRequest](#vulcanize.nameservice.v1beta1.QueryParamsRequest) - - [QueryParamsResponse](#vulcanize.nameservice.v1beta1.QueryParamsResponse) - - [QueryRecordByBondIDRequest](#vulcanize.nameservice.v1beta1.QueryRecordByBondIDRequest) - - [QueryRecordByBondIDResponse](#vulcanize.nameservice.v1beta1.QueryRecordByBondIDResponse) - - [QueryRecordByIDRequest](#vulcanize.nameservice.v1beta1.QueryRecordByIDRequest) - - [QueryRecordByIDResponse](#vulcanize.nameservice.v1beta1.QueryRecordByIDResponse) - - [QueryResolveCrn](#vulcanize.nameservice.v1beta1.QueryResolveCrn) - - [QueryResolveCrnResponse](#vulcanize.nameservice.v1beta1.QueryResolveCrnResponse) - - [QueryWhoisRequest](#vulcanize.nameservice.v1beta1.QueryWhoisRequest) - - [QueryWhoisResponse](#vulcanize.nameservice.v1beta1.QueryWhoisResponse) +- [vulcanize/registry/v1beta1/query.proto](#vulcanize/registry/v1beta1/query.proto) + - [AccountBalance](#vulcanize.registry.v1beta1.AccountBalance) + - [ExpiryQueueRecord](#vulcanize.registry.v1beta1.ExpiryQueueRecord) + - [GetRegistryModuleBalanceRequest](#vulcanize.registry.v1beta1.GetRegistryModuleBalanceRequest) + - [GetRegistryModuleBalanceResponse](#vulcanize.registry.v1beta1.GetRegistryModuleBalanceResponse) + - [QueryGetAuthorityExpiryQueue](#vulcanize.registry.v1beta1.QueryGetAuthorityExpiryQueue) + - [QueryGetAuthorityExpiryQueueResponse](#vulcanize.registry.v1beta1.QueryGetAuthorityExpiryQueueResponse) + - [QueryGetRecordExpiryQueue](#vulcanize.registry.v1beta1.QueryGetRecordExpiryQueue) + - [QueryGetRecordExpiryQueueResponse](#vulcanize.registry.v1beta1.QueryGetRecordExpiryQueueResponse) + - [QueryListNameRecordsRequest](#vulcanize.registry.v1beta1.QueryListNameRecordsRequest) + - [QueryListNameRecordsResponse](#vulcanize.registry.v1beta1.QueryListNameRecordsResponse) + - [QueryListRecordsRequest](#vulcanize.registry.v1beta1.QueryListRecordsRequest) + - [QueryListRecordsRequest.KeyValueInput](#vulcanize.registry.v1beta1.QueryListRecordsRequest.KeyValueInput) + - [QueryListRecordsRequest.ReferenceInput](#vulcanize.registry.v1beta1.QueryListRecordsRequest.ReferenceInput) + - [QueryListRecordsRequest.ValueInput](#vulcanize.registry.v1beta1.QueryListRecordsRequest.ValueInput) + - [QueryListRecordsResponse](#vulcanize.registry.v1beta1.QueryListRecordsResponse) + - [QueryLookupCrn](#vulcanize.registry.v1beta1.QueryLookupCrn) + - [QueryLookupCrnResponse](#vulcanize.registry.v1beta1.QueryLookupCrnResponse) + - [QueryParamsRequest](#vulcanize.registry.v1beta1.QueryParamsRequest) + - [QueryParamsResponse](#vulcanize.registry.v1beta1.QueryParamsResponse) + - [QueryRecordByBondIDRequest](#vulcanize.registry.v1beta1.QueryRecordByBondIDRequest) + - [QueryRecordByBondIDResponse](#vulcanize.registry.v1beta1.QueryRecordByBondIDResponse) + - [QueryRecordByIDRequest](#vulcanize.registry.v1beta1.QueryRecordByIDRequest) + - [QueryRecordByIDResponse](#vulcanize.registry.v1beta1.QueryRecordByIDResponse) + - [QueryResolveCrn](#vulcanize.registry.v1beta1.QueryResolveCrn) + - [QueryResolveCrnResponse](#vulcanize.registry.v1beta1.QueryResolveCrnResponse) + - [QueryWhoisRequest](#vulcanize.registry.v1beta1.QueryWhoisRequest) + - [QueryWhoisResponse](#vulcanize.registry.v1beta1.QueryWhoisResponse) - - [Query](#vulcanize.nameservice.v1beta1.Query) + - [Query](#vulcanize.registry.v1beta1.Query) -- [vulcanize/nameservice/v1beta1/tx.proto](#vulcanize/nameservice/v1beta1/tx.proto) - - [MsgAssociateBond](#vulcanize.nameservice.v1beta1.MsgAssociateBond) - - [MsgAssociateBondResponse](#vulcanize.nameservice.v1beta1.MsgAssociateBondResponse) - - [MsgDeleteNameAuthority](#vulcanize.nameservice.v1beta1.MsgDeleteNameAuthority) - - [MsgDeleteNameAuthorityResponse](#vulcanize.nameservice.v1beta1.MsgDeleteNameAuthorityResponse) - - [MsgDissociateBond](#vulcanize.nameservice.v1beta1.MsgDissociateBond) - - [MsgDissociateBondResponse](#vulcanize.nameservice.v1beta1.MsgDissociateBondResponse) - - [MsgDissociateRecords](#vulcanize.nameservice.v1beta1.MsgDissociateRecords) - - [MsgDissociateRecordsResponse](#vulcanize.nameservice.v1beta1.MsgDissociateRecordsResponse) - - [MsgReAssociateRecords](#vulcanize.nameservice.v1beta1.MsgReAssociateRecords) - - [MsgReAssociateRecordsResponse](#vulcanize.nameservice.v1beta1.MsgReAssociateRecordsResponse) - - [MsgRenewRecord](#vulcanize.nameservice.v1beta1.MsgRenewRecord) - - [MsgRenewRecordResponse](#vulcanize.nameservice.v1beta1.MsgRenewRecordResponse) - - [MsgReserveAuthority](#vulcanize.nameservice.v1beta1.MsgReserveAuthority) - - [MsgReserveAuthorityResponse](#vulcanize.nameservice.v1beta1.MsgReserveAuthorityResponse) - - [MsgSetAuthorityBond](#vulcanize.nameservice.v1beta1.MsgSetAuthorityBond) - - [MsgSetAuthorityBondResponse](#vulcanize.nameservice.v1beta1.MsgSetAuthorityBondResponse) - - [MsgSetName](#vulcanize.nameservice.v1beta1.MsgSetName) - - [MsgSetNameResponse](#vulcanize.nameservice.v1beta1.MsgSetNameResponse) - - [MsgSetRecord](#vulcanize.nameservice.v1beta1.MsgSetRecord) - - [MsgSetRecordResponse](#vulcanize.nameservice.v1beta1.MsgSetRecordResponse) - - [Payload](#vulcanize.nameservice.v1beta1.Payload) +- [vulcanize/registry/v1beta1/tx.proto](#vulcanize/registry/v1beta1/tx.proto) + - [MsgAssociateBond](#vulcanize.registry.v1beta1.MsgAssociateBond) + - [MsgAssociateBondResponse](#vulcanize.registry.v1beta1.MsgAssociateBondResponse) + - [MsgDeleteNameAuthority](#vulcanize.registry.v1beta1.MsgDeleteNameAuthority) + - [MsgDeleteNameAuthorityResponse](#vulcanize.registry.v1beta1.MsgDeleteNameAuthorityResponse) + - [MsgDissociateBond](#vulcanize.registry.v1beta1.MsgDissociateBond) + - [MsgDissociateBondResponse](#vulcanize.registry.v1beta1.MsgDissociateBondResponse) + - [MsgDissociateRecords](#vulcanize.registry.v1beta1.MsgDissociateRecords) + - [MsgDissociateRecordsResponse](#vulcanize.registry.v1beta1.MsgDissociateRecordsResponse) + - [MsgReAssociateRecords](#vulcanize.registry.v1beta1.MsgReAssociateRecords) + - [MsgReAssociateRecordsResponse](#vulcanize.registry.v1beta1.MsgReAssociateRecordsResponse) + - [MsgRenewRecord](#vulcanize.registry.v1beta1.MsgRenewRecord) + - [MsgRenewRecordResponse](#vulcanize.registry.v1beta1.MsgRenewRecordResponse) + - [MsgReserveAuthority](#vulcanize.registry.v1beta1.MsgReserveAuthority) + - [MsgReserveAuthorityResponse](#vulcanize.registry.v1beta1.MsgReserveAuthorityResponse) + - [MsgSetAuthorityBond](#vulcanize.registry.v1beta1.MsgSetAuthorityBond) + - [MsgSetAuthorityBondResponse](#vulcanize.registry.v1beta1.MsgSetAuthorityBondResponse) + - [MsgSetName](#vulcanize.registry.v1beta1.MsgSetName) + - [MsgSetNameResponse](#vulcanize.registry.v1beta1.MsgSetNameResponse) + - [MsgSetRecord](#vulcanize.registry.v1beta1.MsgSetRecord) + - [MsgSetRecordResponse](#vulcanize.registry.v1beta1.MsgSetRecordResponse) + - [Payload](#vulcanize.registry.v1beta1.Payload) - - [Msg](#vulcanize.nameservice.v1beta1.Msg) + - [Msg](#vulcanize.registry.v1beta1.Msg) - [Scalar Value Types](#scalar-value-types) @@ -2315,14 +2315,14 @@ Msg defines the bond Msg service. - +

Top

-## vulcanize/nameservice/v1beta1/attributes.proto +## vulcanize/registry/v1beta1/attributes.proto - + ### ServiceProviderRegistration @@ -2332,7 +2332,7 @@ Msg defines the bond Msg service. | ----- | ---- | ----- | ----------- | | `bond_id` | [string](#string) | | | | `laconic_id` | [string](#string) | | | -| `x500` | [X500](#vulcanize.nameservice.v1beta1.X500) | | | +| `x500` | [X500](#vulcanize.registry.v1beta1.X500) | | | | `type` | [string](#string) | | | @@ -2340,7 +2340,7 @@ Msg defines the bond Msg service. - + ### WebsiteRegistrationRecord @@ -2359,7 +2359,7 @@ Msg defines the bond Msg service. - + ### X500 @@ -2388,14 +2388,14 @@ Msg defines the bond Msg service. - +

Top

-## vulcanize/nameservice/v1beta1/nameservice.proto +## vulcanize/registry/v1beta1/registry.proto - + ### AuctionBidInfo AuctionBidInfo @@ -2411,23 +2411,23 @@ AuctionBidInfo - + ### AuthorityEntry -AuthorityEntry defines the nameservice module AuthorityEntries +AuthorityEntry defines the registry module AuthorityEntries | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `name` | [string](#string) | | | -| `entry` | [NameAuthority](#vulcanize.nameservice.v1beta1.NameAuthority) | | | +| `entry` | [NameAuthority](#vulcanize.registry.v1beta1.NameAuthority) | | | - + ### BlockChangeSet BlockChangeSet @@ -2438,7 +2438,7 @@ BlockChangeSet | `height` | [int64](#int64) | | | | `records` | [string](#string) | repeated | | | `auctions` | [string](#string) | repeated | | -| `auction_bids` | [AuctionBidInfo](#vulcanize.nameservice.v1beta1.AuctionBidInfo) | repeated | | +| `auction_bids` | [AuctionBidInfo](#vulcanize.registry.v1beta1.AuctionBidInfo) | repeated | | | `authorities` | [string](#string) | repeated | | | `names` | [string](#string) | repeated | | @@ -2447,7 +2447,7 @@ BlockChangeSet - + ### NameAuthority NameAuthority @@ -2468,7 +2468,7 @@ NameAuthority - + ### NameEntry NameEntry @@ -2477,14 +2477,14 @@ NameEntry | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `name` | [string](#string) | | | -| `entry` | [NameRecord](#vulcanize.nameservice.v1beta1.NameRecord) | | | +| `entry` | [NameRecord](#vulcanize.registry.v1beta1.NameRecord) | | | - + ### NameRecord NameRecord @@ -2492,15 +2492,15 @@ NameRecord | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| `latest` | [NameRecordEntry](#vulcanize.nameservice.v1beta1.NameRecordEntry) | | | -| `history` | [NameRecordEntry](#vulcanize.nameservice.v1beta1.NameRecordEntry) | repeated | | +| `latest` | [NameRecordEntry](#vulcanize.registry.v1beta1.NameRecordEntry) | | | +| `history` | [NameRecordEntry](#vulcanize.registry.v1beta1.NameRecordEntry) | repeated | | - + ### NameRecordEntry NameRecordEntry @@ -2516,10 +2516,10 @@ NameRecordEntry - + ### Params -Params defines the nameservice module parameters +Params defines the registry module parameters | Field | Type | Label | Description | @@ -2541,10 +2541,10 @@ Params defines the nameservice module parameters - + ### Record -Params defines the nameservice module records +Params defines the registry module records | Field | Type | Label | Description | @@ -2564,7 +2564,7 @@ Params defines the nameservice module records - + ### Signature Signature @@ -2589,25 +2589,25 @@ Signature - +

Top

-## vulcanize/nameservice/v1beta1/genesis.proto +## vulcanize/registry/v1beta1/genesis.proto - + ### GenesisState -GenesisState defines the nameservice module's genesis state. +GenesisState defines the registry module's genesis state. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| `params` | [Params](#vulcanize.nameservice.v1beta1.Params) | | params defines all the params of nameservice module. | -| `records` | [Record](#vulcanize.nameservice.v1beta1.Record) | repeated | records | -| `authorities` | [AuthorityEntry](#vulcanize.nameservice.v1beta1.AuthorityEntry) | repeated | authorities | -| `names` | [NameEntry](#vulcanize.nameservice.v1beta1.NameEntry) | repeated | names | +| `params` | [Params](#vulcanize.registry.v1beta1.Params) | | params defines all the params of registry module. | +| `records` | [Record](#vulcanize.registry.v1beta1.Record) | repeated | records | +| `authorities` | [AuthorityEntry](#vulcanize.registry.v1beta1.AuthorityEntry) | repeated | authorities | +| `names` | [NameEntry](#vulcanize.registry.v1beta1.NameEntry) | repeated | names | @@ -2623,17 +2623,17 @@ GenesisState defines the nameservice module's genesis state. - +

Top

-## vulcanize/nameservice/v1beta1/query.proto +## vulcanize/registry/v1beta1/query.proto - + ### AccountBalance -AccountBalance is nameservice module account balance +AccountBalance is registry module account balance | Field | Type | Label | Description | @@ -2646,7 +2646,7 @@ AccountBalance is nameservice module account balance - + ### ExpiryQueueRecord ExpiryQueueRecord @@ -2662,32 +2662,32 @@ ExpiryQueueRecord - + -### GetNameServiceModuleBalanceRequest -GetNameServiceModuleBalanceRequest is request type for nameservice module accounts balance +### GetRegistryModuleBalanceRequest +GetRegistryModuleBalanceRequest is request type for registry module accounts balance - + -### GetNameServiceModuleBalanceResponse -GetNameServiceModuleBalanceResponse is response type for nameservice module accounts balance +### GetRegistryModuleBalanceResponse +GetRegistryModuleBalanceResponse is response type for registry module accounts balance | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| `balances` | [AccountBalance](#vulcanize.nameservice.v1beta1.AccountBalance) | repeated | | +| `balances` | [AccountBalance](#vulcanize.registry.v1beta1.AccountBalance) | repeated | | - + ### QueryGetAuthorityExpiryQueue QueryGetAuthorityExpiryQueue @@ -2702,7 +2702,7 @@ QueryGetAuthorityExpiryQueue - + ### QueryGetAuthorityExpiryQueueResponse QueryGetAuthorityExpiryQueueResponse @@ -2710,7 +2710,7 @@ QueryGetAuthorityExpiryQueueResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| `authorities` | [ExpiryQueueRecord](#vulcanize.nameservice.v1beta1.ExpiryQueueRecord) | repeated | | +| `authorities` | [ExpiryQueueRecord](#vulcanize.registry.v1beta1.ExpiryQueueRecord) | repeated | | | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. | @@ -2718,7 +2718,7 @@ QueryGetAuthorityExpiryQueueResponse - + ### QueryGetRecordExpiryQueue QueryGetRecordExpiryQueue @@ -2733,7 +2733,7 @@ QueryGetRecordExpiryQueue - + ### QueryGetRecordExpiryQueueResponse QueryGetRecordExpiryQueueResponse @@ -2741,7 +2741,7 @@ QueryGetRecordExpiryQueueResponse | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| `records` | [ExpiryQueueRecord](#vulcanize.nameservice.v1beta1.ExpiryQueueRecord) | repeated | | +| `records` | [ExpiryQueueRecord](#vulcanize.registry.v1beta1.ExpiryQueueRecord) | repeated | | | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. | @@ -2749,10 +2749,10 @@ QueryGetRecordExpiryQueueResponse - + ### QueryListNameRecordsRequest -QueryListNameRecordsRequest is request type for nameservice names records +QueryListNameRecordsRequest is request type for registry names records | Field | Type | Label | Description | @@ -2764,15 +2764,15 @@ QueryListNameRecordsRequest is request type for nameservice names records - + ### QueryListNameRecordsResponse -QueryListNameRecordsResponse is response type for nameservice names records +QueryListNameRecordsResponse is response type for registry names records | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| `names` | [NameEntry](#vulcanize.nameservice.v1beta1.NameEntry) | repeated | | +| `names` | [NameEntry](#vulcanize.registry.v1beta1.NameEntry) | repeated | | | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. | @@ -2780,15 +2780,15 @@ QueryListNameRecordsResponse is response type for nameservice names records - + ### QueryListRecordsRequest -QueryListRecordsRequest is request type for nameservice records list +QueryListRecordsRequest is request type for registry records list | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| `attributes` | [QueryListRecordsRequest.KeyValueInput](#vulcanize.nameservice.v1beta1.QueryListRecordsRequest.KeyValueInput) | repeated | | +| `attributes` | [QueryListRecordsRequest.KeyValueInput](#vulcanize.registry.v1beta1.QueryListRecordsRequest.KeyValueInput) | repeated | | | `all` | [bool](#bool) | | | | `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | pagination defines an optional pagination for the request. | @@ -2797,7 +2797,7 @@ QueryListRecordsRequest is request type for nameservice records list - + ### QueryListRecordsRequest.KeyValueInput @@ -2806,14 +2806,14 @@ QueryListRecordsRequest is request type for nameservice records list | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | `key` | [string](#string) | | | -| `value` | [QueryListRecordsRequest.ValueInput](#vulcanize.nameservice.v1beta1.QueryListRecordsRequest.ValueInput) | | | +| `value` | [QueryListRecordsRequest.ValueInput](#vulcanize.registry.v1beta1.QueryListRecordsRequest.ValueInput) | | | - + ### QueryListRecordsRequest.ReferenceInput @@ -2828,7 +2828,7 @@ QueryListRecordsRequest is request type for nameservice records list - + ### QueryListRecordsRequest.ValueInput @@ -2841,23 +2841,23 @@ QueryListRecordsRequest is request type for nameservice records list | `int` | [int64](#int64) | | | | `float` | [double](#double) | | | | `boolean` | [bool](#bool) | | | -| `reference` | [QueryListRecordsRequest.ReferenceInput](#vulcanize.nameservice.v1beta1.QueryListRecordsRequest.ReferenceInput) | | | -| `values` | [QueryListRecordsRequest.ValueInput](#vulcanize.nameservice.v1beta1.QueryListRecordsRequest.ValueInput) | repeated | | +| `reference` | [QueryListRecordsRequest.ReferenceInput](#vulcanize.registry.v1beta1.QueryListRecordsRequest.ReferenceInput) | | | +| `values` | [QueryListRecordsRequest.ValueInput](#vulcanize.registry.v1beta1.QueryListRecordsRequest.ValueInput) | repeated | | - + ### QueryListRecordsResponse -QueryListRecordsResponse is response type for nameservice records list +QueryListRecordsResponse is response type for registry records list | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| `records` | [Record](#vulcanize.nameservice.v1beta1.Record) | repeated | | +| `records` | [Record](#vulcanize.registry.v1beta1.Record) | repeated | | | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. | @@ -2865,7 +2865,7 @@ QueryListRecordsResponse is response type for nameservice records list - + ### QueryLookupCrn QueryLookupCrn is request type for LookupCrn @@ -2880,7 +2880,7 @@ QueryLookupCrn is request type for LookupCrn - + ### QueryLookupCrnResponse QueryLookupCrnResponse is response type for QueryLookupCrn @@ -2888,39 +2888,39 @@ QueryLookupCrnResponse is response type for QueryLookupCrn | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| `name` | [NameRecord](#vulcanize.nameservice.v1beta1.NameRecord) | | | +| `name` | [NameRecord](#vulcanize.registry.v1beta1.NameRecord) | | | - + ### QueryParamsRequest -QueryParamsRequest is request type for nameservice params +QueryParamsRequest is request type for registry params - + ### QueryParamsResponse -QueryParamsResponse is response type for nameservice params +QueryParamsResponse is response type for registry params | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| `params` | [Params](#vulcanize.nameservice.v1beta1.Params) | | | +| `params` | [Params](#vulcanize.registry.v1beta1.Params) | | | - + ### QueryRecordByBondIDRequest QueryRecordByBondIdRequest is request type for get the records by bond-id @@ -2936,7 +2936,7 @@ QueryRecordByBondIdRequest is request type for get the records by bond-id - + ### QueryRecordByBondIDResponse QueryRecordByBondIdResponse is response type for records list by bond-id @@ -2944,7 +2944,7 @@ QueryRecordByBondIdResponse is response type for records list by bond-id | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| `records` | [Record](#vulcanize.nameservice.v1beta1.Record) | repeated | | +| `records` | [Record](#vulcanize.registry.v1beta1.Record) | repeated | | | `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. | @@ -2952,10 +2952,10 @@ QueryRecordByBondIdResponse is response type for records list by bond-id - + ### QueryRecordByIDRequest -QueryRecordByIDRequest is request type for nameservice records by id +QueryRecordByIDRequest is request type for registry records by id | Field | Type | Label | Description | @@ -2967,22 +2967,22 @@ QueryRecordByIDRequest is request type for nameservice records by id - + ### QueryRecordByIDResponse -QueryRecordByIDResponse is response type for nameservice records by id +QueryRecordByIDResponse is response type for registry records by id | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| `record` | [Record](#vulcanize.nameservice.v1beta1.Record) | | | +| `record` | [Record](#vulcanize.registry.v1beta1.Record) | | | - + ### QueryResolveCrn QueryResolveCrn is request type for ResolveCrn @@ -2997,7 +2997,7 @@ QueryResolveCrn is request type for ResolveCrn - + ### QueryResolveCrnResponse QueryResolveCrnResponse is response type for QueryResolveCrn @@ -3005,14 +3005,14 @@ QueryResolveCrnResponse is response type for QueryResolveCrn | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| `record` | [Record](#vulcanize.nameservice.v1beta1.Record) | | | +| `record` | [Record](#vulcanize.registry.v1beta1.Record) | | | - + ### QueryWhoisRequest QueryWhoisRequest is request type for Get NameAuthority @@ -3027,7 +3027,7 @@ QueryWhoisRequest is request type for Get NameAuthority - + ### QueryWhoisResponse QueryWhoisResponse is response type for whois request @@ -3035,7 +3035,7 @@ QueryWhoisResponse is response type for whois request | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| `name_authority` | [NameAuthority](#vulcanize.nameservice.v1beta1.NameAuthority) | | | +| `name_authority` | [NameAuthority](#vulcanize.registry.v1beta1.NameAuthority) | | | @@ -3048,37 +3048,37 @@ QueryWhoisResponse is response type for whois request - + ### Query -Query defines the gRPC querier service for nameservice module +Query defines the gRPC querier service for registry module | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | | ----------- | ------------ | ------------- | ------------| ------- | -------- | -| `Params` | [QueryParamsRequest](#vulcanize.nameservice.v1beta1.QueryParamsRequest) | [QueryParamsResponse](#vulcanize.nameservice.v1beta1.QueryParamsResponse) | Params queries the nameservice module params. | GET|/vulcanize/nameservice/v1beta1/params| -| `ListRecords` | [QueryListRecordsRequest](#vulcanize.nameservice.v1beta1.QueryListRecordsRequest) | [QueryListRecordsResponse](#vulcanize.nameservice.v1beta1.QueryListRecordsResponse) | List records | GET|/vulcanize/nameservice/v1beta1/records| -| `GetRecord` | [QueryRecordByIDRequest](#vulcanize.nameservice.v1beta1.QueryRecordByIDRequest) | [QueryRecordByIDResponse](#vulcanize.nameservice.v1beta1.QueryRecordByIDResponse) | Get record by id | GET|/vulcanize/nameservice/v1beta1/records/{id}| -| `GetRecordByBondID` | [QueryRecordByBondIDRequest](#vulcanize.nameservice.v1beta1.QueryRecordByBondIDRequest) | [QueryRecordByBondIDResponse](#vulcanize.nameservice.v1beta1.QueryRecordByBondIDResponse) | Get records by bond id | GET|/vulcanize/nameservice/v1beta1/records-by-bond-id/{id}| -| `GetNameServiceModuleBalance` | [GetNameServiceModuleBalanceRequest](#vulcanize.nameservice.v1beta1.GetNameServiceModuleBalanceRequest) | [GetNameServiceModuleBalanceResponse](#vulcanize.nameservice.v1beta1.GetNameServiceModuleBalanceResponse) | Get nameservice module balance | GET|/vulcanize/nameservice/v1beta1/balance| -| `ListNameRecords` | [QueryListNameRecordsRequest](#vulcanize.nameservice.v1beta1.QueryListNameRecordsRequest) | [QueryListNameRecordsResponse](#vulcanize.nameservice.v1beta1.QueryListNameRecordsResponse) | List name records | GET|/vulcanize/nameservice/v1beta1/names| -| `Whois` | [QueryWhoisRequest](#vulcanize.nameservice.v1beta1.QueryWhoisRequest) | [QueryWhoisResponse](#vulcanize.nameservice.v1beta1.QueryWhoisResponse) | Whois method retrieve the name authority info | GET|/vulcanize/nameservice/v1beta1/whois/{name}| -| `LookupCrn` | [QueryLookupCrn](#vulcanize.nameservice.v1beta1.QueryLookupCrn) | [QueryLookupCrnResponse](#vulcanize.nameservice.v1beta1.QueryLookupCrnResponse) | LookupCrn | GET|/vulcanize/nameservice/v1beta1/lookup| -| `ResolveCrn` | [QueryResolveCrn](#vulcanize.nameservice.v1beta1.QueryResolveCrn) | [QueryResolveCrnResponse](#vulcanize.nameservice.v1beta1.QueryResolveCrnResponse) | ResolveCrn | GET|/vulcanize/nameservice/v1beta1/resolve| -| `GetRecordExpiryQueue` | [QueryGetRecordExpiryQueue](#vulcanize.nameservice.v1beta1.QueryGetRecordExpiryQueue) | [QueryGetRecordExpiryQueueResponse](#vulcanize.nameservice.v1beta1.QueryGetRecordExpiryQueueResponse) | GetRecordExpiryQueue | GET|/vulcanize/nameservice/v1beta1/record-expiry| -| `GetAuthorityExpiryQueue` | [QueryGetAuthorityExpiryQueue](#vulcanize.nameservice.v1beta1.QueryGetAuthorityExpiryQueue) | [QueryGetAuthorityExpiryQueueResponse](#vulcanize.nameservice.v1beta1.QueryGetAuthorityExpiryQueueResponse) | GetAuthorityExpiryQueue | GET|/vulcanize/nameservice/v1beta1/authority-expiry| +| `Params` | [QueryParamsRequest](#vulcanize.registry.v1beta1.QueryParamsRequest) | [QueryParamsResponse](#vulcanize.registry.v1beta1.QueryParamsResponse) | Params queries the registry module params. | GET|/vulcanize/registry/v1beta1/params| +| `ListRecords` | [QueryListRecordsRequest](#vulcanize.registry.v1beta1.QueryListRecordsRequest) | [QueryListRecordsResponse](#vulcanize.registry.v1beta1.QueryListRecordsResponse) | List records | GET|/vulcanize/registry/v1beta1/records| +| `GetRecord` | [QueryRecordByIDRequest](#vulcanize.registry.v1beta1.QueryRecordByIDRequest) | [QueryRecordByIDResponse](#vulcanize.registry.v1beta1.QueryRecordByIDResponse) | Get record by id | GET|/vulcanize/registry/v1beta1/records/{id}| +| `GetRecordByBondID` | [QueryRecordByBondIDRequest](#vulcanize.registry.v1beta1.QueryRecordByBondIDRequest) | [QueryRecordByBondIDResponse](#vulcanize.registry.v1beta1.QueryRecordByBondIDResponse) | Get records by bond id | GET|/vulcanize/registry/v1beta1/records-by-bond-id/{id}| +| `GetRegistryModuleBalance` | [GetRegistryModuleBalanceRequest](#vulcanize.registry.v1beta1.GetRegistryModuleBalanceRequest) | [GetRegistryModuleBalanceResponse](#vulcanize.registry.v1beta1.GetRegistryModuleBalanceResponse) | Get registry module balance | GET|/vulcanize/registry/v1beta1/balance| +| `ListNameRecords` | [QueryListNameRecordsRequest](#vulcanize.registry.v1beta1.QueryListNameRecordsRequest) | [QueryListNameRecordsResponse](#vulcanize.registry.v1beta1.QueryListNameRecordsResponse) | List name records | GET|/vulcanize/registry/v1beta1/names| +| `Whois` | [QueryWhoisRequest](#vulcanize.registry.v1beta1.QueryWhoisRequest) | [QueryWhoisResponse](#vulcanize.registry.v1beta1.QueryWhoisResponse) | Whois method retrieve the name authority info | GET|/vulcanize/registry/v1beta1/whois/{name}| +| `LookupCrn` | [QueryLookupCrn](#vulcanize.registry.v1beta1.QueryLookupCrn) | [QueryLookupCrnResponse](#vulcanize.registry.v1beta1.QueryLookupCrnResponse) | LookupCrn | GET|/vulcanize/registry/v1beta1/lookup| +| `ResolveCrn` | [QueryResolveCrn](#vulcanize.registry.v1beta1.QueryResolveCrn) | [QueryResolveCrnResponse](#vulcanize.registry.v1beta1.QueryResolveCrnResponse) | ResolveCrn | GET|/vulcanize/registry/v1beta1/resolve| +| `GetRecordExpiryQueue` | [QueryGetRecordExpiryQueue](#vulcanize.registry.v1beta1.QueryGetRecordExpiryQueue) | [QueryGetRecordExpiryQueueResponse](#vulcanize.registry.v1beta1.QueryGetRecordExpiryQueueResponse) | GetRecordExpiryQueue | GET|/vulcanize/registry/v1beta1/record-expiry| +| `GetAuthorityExpiryQueue` | [QueryGetAuthorityExpiryQueue](#vulcanize.registry.v1beta1.QueryGetAuthorityExpiryQueue) | [QueryGetAuthorityExpiryQueueResponse](#vulcanize.registry.v1beta1.QueryGetAuthorityExpiryQueueResponse) | GetAuthorityExpiryQueue | GET|/vulcanize/registry/v1beta1/authority-expiry| - +

Top

-## vulcanize/nameservice/v1beta1/tx.proto +## vulcanize/registry/v1beta1/tx.proto - + ### MsgAssociateBond MsgAssociateBond @@ -3095,7 +3095,7 @@ MsgAssociateBond - + ### MsgAssociateBondResponse MsgAssociateBondResponse @@ -3105,7 +3105,7 @@ MsgAssociateBondResponse - + ### MsgDeleteNameAuthority MsgDeleteNameAuthority is SDK message for DeleteNameAuthority @@ -3121,7 +3121,7 @@ MsgDeleteNameAuthority is SDK message for DeleteNameAuthority - + ### MsgDeleteNameAuthorityResponse MsgDeleteNameAuthorityResponse @@ -3131,7 +3131,7 @@ MsgDeleteNameAuthorityResponse - + ### MsgDissociateBond MsgDissociateBond is SDK message for Msg/DissociateBond @@ -3147,7 +3147,7 @@ MsgDissociateBond is SDK message for Msg/DissociateBond - + ### MsgDissociateBondResponse MsgDissociateBondResponse is response type for MsgDissociateBond @@ -3157,7 +3157,7 @@ MsgDissociateBondResponse is response type for MsgDissociateBond - + ### MsgDissociateRecords MsgDissociateRecords is SDK message for Msg/DissociateRecords @@ -3173,7 +3173,7 @@ MsgDissociateRecords is SDK message for Msg/DissociateRecords - + ### MsgDissociateRecordsResponse MsgDissociateRecordsResponse is response type for MsgDissociateRecords @@ -3183,7 +3183,7 @@ MsgDissociateRecordsResponse is response type for MsgDissociateRecords - + ### MsgReAssociateRecords MsgReAssociateRecords is SDK message for Msg/ReAssociateRecords @@ -3200,7 +3200,7 @@ MsgReAssociateRecords is SDK message for Msg/ReAssociateRecords - + ### MsgReAssociateRecordsResponse MsgReAssociateRecordsResponse is response type for MsgReAssociateRecords @@ -3210,7 +3210,7 @@ MsgReAssociateRecordsResponse is response type for MsgReAssociateRecords - + ### MsgRenewRecord MsgRenewRecord is SDK message for Renew a record @@ -3226,7 +3226,7 @@ MsgRenewRecord is SDK message for Renew a record - + ### MsgRenewRecordResponse MsgRenewRecordResponse @@ -3236,7 +3236,7 @@ MsgRenewRecordResponse - + ### MsgReserveAuthority MsgReserveName @@ -3253,7 +3253,7 @@ MsgReserveName - + ### MsgReserveAuthorityResponse MsgReserveNameResponse @@ -3263,7 +3263,7 @@ MsgReserveNameResponse - + ### MsgSetAuthorityBond MsgSetAuthorityBond is SDK message for SetAuthorityBond @@ -3280,7 +3280,7 @@ MsgSetAuthorityBond is SDK message for SetAuthorityBond - + ### MsgSetAuthorityBondResponse MsgSetAuthorityBondResponse @@ -3290,7 +3290,7 @@ MsgSetAuthorityBondResponse - + ### MsgSetName MsgSetName @@ -3307,7 +3307,7 @@ MsgSetName - + ### MsgSetNameResponse MsgSetNameResponse @@ -3317,7 +3317,7 @@ MsgSetNameResponse - + ### MsgSetRecord MsgSetRecord @@ -3327,14 +3327,14 @@ MsgSetRecord | ----- | ---- | ----- | ----------- | | `bond_id` | [string](#string) | | | | `signer` | [string](#string) | | | -| `payload` | [Payload](#vulcanize.nameservice.v1beta1.Payload) | | | +| `payload` | [Payload](#vulcanize.registry.v1beta1.Payload) | | | - + ### MsgSetRecordResponse MsgSetRecordResponse @@ -3349,7 +3349,7 @@ MsgSetRecordResponse - + ### Payload Payload @@ -3357,8 +3357,8 @@ Payload | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| `record` | [Record](#vulcanize.nameservice.v1beta1.Record) | | | -| `signatures` | [Signature](#vulcanize.nameservice.v1beta1.Signature) | repeated | | +| `record` | [Record](#vulcanize.registry.v1beta1.Record) | | | +| `signatures` | [Signature](#vulcanize.registry.v1beta1.Signature) | repeated | | @@ -3371,23 +3371,23 @@ Payload - + ### Msg Msg | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | | ----------- | ------------ | ------------- | ------------| ------- | -------- | -| `SetRecord` | [MsgSetRecord](#vulcanize.nameservice.v1beta1.MsgSetRecord) | [MsgSetRecordResponse](#vulcanize.nameservice.v1beta1.MsgSetRecordResponse) | SetRecord will records a new record with given payload and bond id | | -| `RenewRecord` | [MsgRenewRecord](#vulcanize.nameservice.v1beta1.MsgRenewRecord) | [MsgRenewRecordResponse](#vulcanize.nameservice.v1beta1.MsgRenewRecordResponse) | Renew Record will renew the expire record | | -| `AssociateBond` | [MsgAssociateBond](#vulcanize.nameservice.v1beta1.MsgAssociateBond) | [MsgAssociateBondResponse](#vulcanize.nameservice.v1beta1.MsgAssociateBondResponse) | AssociateBond | | -| `DissociateBond` | [MsgDissociateBond](#vulcanize.nameservice.v1beta1.MsgDissociateBond) | [MsgDissociateBondResponse](#vulcanize.nameservice.v1beta1.MsgDissociateBondResponse) | DissociateBond | | -| `DissociateRecords` | [MsgDissociateRecords](#vulcanize.nameservice.v1beta1.MsgDissociateRecords) | [MsgDissociateRecordsResponse](#vulcanize.nameservice.v1beta1.MsgDissociateRecordsResponse) | DissociateRecords | | -| `ReAssociateRecords` | [MsgReAssociateRecords](#vulcanize.nameservice.v1beta1.MsgReAssociateRecords) | [MsgReAssociateRecordsResponse](#vulcanize.nameservice.v1beta1.MsgReAssociateRecordsResponse) | ReAssociateRecords | | -| `SetName` | [MsgSetName](#vulcanize.nameservice.v1beta1.MsgSetName) | [MsgSetNameResponse](#vulcanize.nameservice.v1beta1.MsgSetNameResponse) | SetName will store the name with given crn and name | | -| `ReserveName` | [MsgReserveAuthority](#vulcanize.nameservice.v1beta1.MsgReserveAuthority) | [MsgReserveAuthorityResponse](#vulcanize.nameservice.v1beta1.MsgReserveAuthorityResponse) | Reserve name | | -| `DeleteName` | [MsgDeleteNameAuthority](#vulcanize.nameservice.v1beta1.MsgDeleteNameAuthority) | [MsgDeleteNameAuthorityResponse](#vulcanize.nameservice.v1beta1.MsgDeleteNameAuthorityResponse) | Delete Name method will remove authority name | | -| `SetAuthorityBond` | [MsgSetAuthorityBond](#vulcanize.nameservice.v1beta1.MsgSetAuthorityBond) | [MsgSetAuthorityBondResponse](#vulcanize.nameservice.v1beta1.MsgSetAuthorityBondResponse) | SetAuthorityBond | | +| `SetRecord` | [MsgSetRecord](#vulcanize.registry.v1beta1.MsgSetRecord) | [MsgSetRecordResponse](#vulcanize.registry.v1beta1.MsgSetRecordResponse) | SetRecord will records a new record with given payload and bond id | | +| `RenewRecord` | [MsgRenewRecord](#vulcanize.registry.v1beta1.MsgRenewRecord) | [MsgRenewRecordResponse](#vulcanize.registry.v1beta1.MsgRenewRecordResponse) | Renew Record will renew the expire record | | +| `AssociateBond` | [MsgAssociateBond](#vulcanize.registry.v1beta1.MsgAssociateBond) | [MsgAssociateBondResponse](#vulcanize.registry.v1beta1.MsgAssociateBondResponse) | AssociateBond | | +| `DissociateBond` | [MsgDissociateBond](#vulcanize.registry.v1beta1.MsgDissociateBond) | [MsgDissociateBondResponse](#vulcanize.registry.v1beta1.MsgDissociateBondResponse) | DissociateBond | | +| `DissociateRecords` | [MsgDissociateRecords](#vulcanize.registry.v1beta1.MsgDissociateRecords) | [MsgDissociateRecordsResponse](#vulcanize.registry.v1beta1.MsgDissociateRecordsResponse) | DissociateRecords | | +| `ReAssociateRecords` | [MsgReAssociateRecords](#vulcanize.registry.v1beta1.MsgReAssociateRecords) | [MsgReAssociateRecordsResponse](#vulcanize.registry.v1beta1.MsgReAssociateRecordsResponse) | ReAssociateRecords | | +| `SetName` | [MsgSetName](#vulcanize.registry.v1beta1.MsgSetName) | [MsgSetNameResponse](#vulcanize.registry.v1beta1.MsgSetNameResponse) | SetName will store the name with given crn and name | | +| `ReserveName` | [MsgReserveAuthority](#vulcanize.registry.v1beta1.MsgReserveAuthority) | [MsgReserveAuthorityResponse](#vulcanize.registry.v1beta1.MsgReserveAuthorityResponse) | Reserve name | | +| `DeleteName` | [MsgDeleteNameAuthority](#vulcanize.registry.v1beta1.MsgDeleteNameAuthority) | [MsgDeleteNameAuthorityResponse](#vulcanize.registry.v1beta1.MsgDeleteNameAuthorityResponse) | Delete Name method will remove authority name | | +| `SetAuthorityBond` | [MsgSetAuthorityBond](#vulcanize.registry.v1beta1.MsgSetAuthorityBond) | [MsgSetAuthorityBondResponse](#vulcanize.registry.v1beta1.MsgSetAuthorityBondResponse) | SetAuthorityBond | | diff --git a/go.mod b/go.mod index 82164fe8..a2e0870c 100644 --- a/go.mod +++ b/go.mod @@ -44,7 +44,7 @@ require ( github.com/vektah/gqlparser/v2 v2.5.1 golang.org/x/net v0.2.0 golang.org/x/text v0.4.0 - google.golang.org/genproto v0.0.0-20221109142239-94d6d90a7d66 + google.golang.org/genproto v0.0.0-20221118155620-16455021b5e6 google.golang.org/grpc v1.50.1 google.golang.org/protobuf v1.28.1 gopkg.in/yaml.v3 v3.0.1 @@ -194,7 +194,7 @@ require ( github.com/zondax/hid v0.9.1-0.20220302062450-5552068d2266 // indirect go.etcd.io/bbolt v1.3.6 // indirect go.opencensus.io v0.23.0 // indirect - golang.org/x/crypto v0.2.0 // indirect + golang.org/x/crypto v0.3.0 // indirect golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e // indirect golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783 // indirect golang.org/x/sync v0.1.0 // indirect diff --git a/go.sum b/go.sum index 4fc82b64..75115d54 100644 --- a/go.sum +++ b/go.sum @@ -1159,8 +1159,8 @@ golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm 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.2.0 h1:BRXPfhNivWL5Yq0BGQ39a2sW6t44aODpfxkWjYdzewE= -golang.org/x/crypto v0.2.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= +golang.org/x/crypto v0.3.0 h1:a06MkbcxBrEFc0w0QIZWXrH/9cCX6KJyWbBOIwAn+7A= +golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= 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/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -1551,8 +1551,8 @@ google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210126160654-44e461bb6506/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20221109142239-94d6d90a7d66 h1:wx7sJ5GRBQLRcslTNcrTklsHhHevQvxgztW18txbbZM= -google.golang.org/genproto v0.0.0-20221109142239-94d6d90a7d66/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= +google.golang.org/genproto v0.0.0-20221118155620-16455021b5e6 h1:a2S6M0+660BgMNl++4JPlcAO/CjkqYItDEZwkoDQK7c= +google.golang.org/genproto v0.0.0-20221118155620-16455021b5e6/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= 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.19.1/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= diff --git a/gql/resolver.go b/gql/resolver.go index 75d75710..0c41bbb0 100644 --- a/gql/resolver.go +++ b/gql/resolver.go @@ -7,7 +7,7 @@ import ( auctiontypes "github.com/cerc-io/laconicd/x/auction/types" bondtypes "github.com/cerc-io/laconicd/x/bond/types" - nstypes "github.com/cerc-io/laconicd/x/nameservice/types" + registrytypes "github.com/cerc-io/laconicd/x/registry/types" "github.com/cosmos/cosmos-sdk/client" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" @@ -32,12 +32,12 @@ func (r *Resolver) Query() QueryResolver { type queryResolver struct{ *Resolver } func (q queryResolver) LookupAuthorities(ctx context.Context, names []string) ([]*AuthorityRecord, error) { - nsQueryClient := nstypes.NewQueryClient(q.ctx) + nsQueryClient := registrytypes.NewQueryClient(q.ctx) auctionQueryClient := auctiontypes.NewQueryClient(q.ctx) gqlResponse := []*AuthorityRecord{} for _, name := range names { - res, err := nsQueryClient.Whois(context.Background(), &nstypes.QueryWhoisRequest{Name: name}) + res, err := nsQueryClient.Whois(context.Background(), ®istrytypes.QueryWhoisRequest{Name: name}) if err != nil { return nil, err } @@ -73,10 +73,10 @@ func (q queryResolver) LookupAuthorities(ctx context.Context, names []string) ([ } func (q queryResolver) ResolveNames(ctx context.Context, names []string) ([]*Record, error) { - nsQueryClient := nstypes.NewQueryClient(q.ctx) + nsQueryClient := registrytypes.NewQueryClient(q.ctx) var gqlResponse []*Record for _, name := range names { - res, err := nsQueryClient.ResolveCrn(context.Background(), &nstypes.QueryResolveCrn{Crn: name}) + res, err := nsQueryClient.ResolveCrn(context.Background(), ®istrytypes.QueryResolveCrn{Crn: name}) if err != nil { // Return nil for record not found. gqlResponse = append(gqlResponse, nil) @@ -94,11 +94,11 @@ func (q queryResolver) ResolveNames(ctx context.Context, names []string) ([]*Rec } func (q queryResolver) LookupNames(ctx context.Context, names []string) ([]*NameRecord, error) { - nsQueryClient := nstypes.NewQueryClient(q.ctx) + nsQueryClient := registrytypes.NewQueryClient(q.ctx) var gqlResponse []*NameRecord for _, name := range names { - res, err := nsQueryClient.LookupCrn(context.Background(), &nstypes.QueryLookupCrn{Crn: name}) + res, err := nsQueryClient.LookupCrn(context.Background(), ®istrytypes.QueryLookupCrn{Crn: name}) if err != nil { // Return nil for name not found. gqlResponse = append(gqlResponse, nil) @@ -116,11 +116,11 @@ func (q queryResolver) LookupNames(ctx context.Context, names []string) ([]*Name } func (q queryResolver) QueryRecords(ctx context.Context, attributes []*KeyValueInput, all *bool) ([]*Record, error) { - nsQueryClient := nstypes.NewQueryClient(q.ctx) + nsQueryClient := registrytypes.NewQueryClient(q.ctx) res, err := nsQueryClient.ListRecords( context.Background(), - &nstypes.QueryListRecordsRequest{ + ®istrytypes.QueryListRecordsRequest{ Attributes: parseRequestAttributes(attributes), All: (all != nil && *all), }, @@ -144,11 +144,11 @@ func (q queryResolver) QueryRecords(ctx context.Context, attributes []*KeyValueI } func (q queryResolver) GetRecordsByIds(ctx context.Context, ids []string) ([]*Record, error) { - nsQueryClient := nstypes.NewQueryClient(q.ctx) + nsQueryClient := registrytypes.NewQueryClient(q.ctx) gqlResponse := make([]*Record, len(ids)) for i, id := range ids { - res, err := nsQueryClient.GetRecord(context.Background(), &nstypes.QueryRecordByIDRequest{Id: id}) + res, err := nsQueryClient.GetRecord(context.Background(), ®istrytypes.QueryRecordByIDRequest{Id: id}) if err != nil { // Return nil for record not found. gqlResponse[i] = nil @@ -186,7 +186,7 @@ func (q queryResolver) GetStatus(ctx context.Context) (*Status, error) { } return &Status{ - Version: NameServiceVersion, + Version: RegistryVersion, Node: nodeInfo, Sync: syncInfo, Validator: validatorInfo, diff --git a/gql/util.go b/gql/util.go index b080b662..935b293f 100644 --- a/gql/util.go +++ b/gql/util.go @@ -9,7 +9,7 @@ import ( auctiontypes "github.com/cerc-io/laconicd/x/auction/types" bondtypes "github.com/cerc-io/laconicd/x/bond/types" - nstypes "github.com/cerc-io/laconicd/x/nameservice/types" + registrytypes "github.com/cerc-io/laconicd/x/registry/types" sdk "github.com/cosmos/cosmos-sdk/types" ) @@ -40,7 +40,7 @@ func getGQLCoins(coins sdk.Coins) []*Coin { return gqlCoins } -func GetGQLNameAuthorityRecord(record *nstypes.NameAuthority) (*AuthorityRecord, error) { +func GetGQLNameAuthorityRecord(record *registrytypes.NameAuthority) (*AuthorityRecord, error) { if record == nil { return nil, nil } @@ -55,7 +55,7 @@ func GetGQLNameAuthorityRecord(record *nstypes.NameAuthority) (*AuthorityRecord, }, nil } -func getGQLRecord(ctx context.Context, resolver QueryResolver, record nstypes.Record) (*Record, error) { +func getGQLRecord(ctx context.Context, resolver QueryResolver, record registrytypes.Record) (*Record, error) { // Nil record. if record.Deleted { return nil, nil @@ -84,7 +84,7 @@ func getGQLRecord(ctx context.Context, resolver QueryResolver, record nstypes.Re }, nil } -func getGQLNameRecord(record *nstypes.NameRecord) (*NameRecord, error) { +func getGQLNameRecord(record *registrytypes.NameRecord) (*NameRecord, error) { if record == nil { return nil, fmt.Errorf("got nil record") } @@ -100,7 +100,7 @@ func getGQLNameRecord(record *nstypes.NameRecord) (*NameRecord, error) { }, nil } -func getNameRecordEntry(record *nstypes.NameRecordEntry) *NameRecordEntry { +func getNameRecordEntry(record *registrytypes.NameRecordEntry) *NameRecordEntry { return &NameRecordEntry{ ID: record.Id, Height: strconv.FormatUint(record.Height, 10), @@ -163,7 +163,7 @@ func GetGQLAuction(auction *auctiontypes.Auction, bids []*auctiontypes.Bid) (*Au return &gqlAuction, nil } -func getReferences(ctx context.Context, resolver QueryResolver, r *nstypes.RecordType) ([]*Record, error) { +func getReferences(ctx context.Context, resolver QueryResolver, r *registrytypes.RecordType) ([]*Record, error) { var ids []string // #nosec G705 @@ -184,7 +184,7 @@ func getReferences(ctx context.Context, resolver QueryResolver, r *nstypes.Recor return resolver.GetRecordsByIds(ctx, ids) } -func getAttributes(r *nstypes.RecordType) ([]*KeyValue, error) { +func getAttributes(r *registrytypes.RecordType) ([]*KeyValue, error) { return mapToKeyValuePairs(r.Attributes) } @@ -253,13 +253,13 @@ func mapToKeyValuePairs(attrs map[string]interface{}) ([]*KeyValue, error) { return kvPairs, nil } -func parseRequestAttributes(attrs []*KeyValueInput) []*nstypes.QueryListRecordsRequest_KeyValueInput { - kvPairs := []*nstypes.QueryListRecordsRequest_KeyValueInput{} +func parseRequestAttributes(attrs []*KeyValueInput) []*registrytypes.QueryListRecordsRequest_KeyValueInput { + kvPairs := []*registrytypes.QueryListRecordsRequest_KeyValueInput{} for _, value := range attrs { - kvPair := &nstypes.QueryListRecordsRequest_KeyValueInput{ + kvPair := ®istrytypes.QueryListRecordsRequest_KeyValueInput{ Key: value.Key, - Value: &nstypes.QueryListRecordsRequest_ValueInput{}, + Value: ®istrytypes.QueryListRecordsRequest_ValueInput{}, } if value.Value.String != nil { @@ -283,7 +283,7 @@ func parseRequestAttributes(attrs []*KeyValueInput) []*nstypes.QueryListRecordsR } if value.Value.Reference != nil { - reference := &nstypes.QueryListRecordsRequest_ReferenceInput{ + reference := ®istrytypes.QueryListRecordsRequest_ReferenceInput{ Id: value.Value.Reference.ID, } diff --git a/gql/version.go b/gql/version.go index 9eedc530..d1f13bec 100644 --- a/gql/version.go +++ b/gql/version.go @@ -1,4 +1,4 @@ package gql -// NameServiceVersion is the registry API version. -const NameServiceVersion = "0.3.0" +// RegistryVersion is the registry API version. +const RegistryVersion = "0.3.0" diff --git a/init.sh b/init.sh index c7f315c8..b06d0db4 100755 --- a/init.sh +++ b/init.sh @@ -33,28 +33,28 @@ cat $HOME/.laconicd/config/genesis.json | jq '.app_state["crisis"]["constant_fee cat $HOME/.laconicd/config/genesis.json | jq '.app_state["gov"]["deposit_params"]["min_deposit"][0]["denom"]="aphoton"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json cat $HOME/.laconicd/config/genesis.json | jq '.app_state["mint"]["params"]["mint_denom"]="aphoton"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json # Custom modules -cat $HOME/.laconicd/config/genesis.json | jq '.app_state["nameservice"]["params"]["record_rent"]["denom"]="aphoton"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json -cat $HOME/.laconicd/config/genesis.json | jq '.app_state["nameservice"]["params"]["authority_rent"]["denom"]="aphoton"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json -cat $HOME/.laconicd/config/genesis.json | jq '.app_state["nameservice"]["params"]["authority_auction_commit_fee"]["denom"]="aphoton"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json -cat $HOME/.laconicd/config/genesis.json | jq '.app_state["nameservice"]["params"]["authority_auction_reveal_fee"]["denom"]="aphoton"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json -cat $HOME/.laconicd/config/genesis.json | jq '.app_state["nameservice"]["params"]["authority_auction_minimum_bid"]["denom"]="aphoton"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json +cat $HOME/.laconicd/config/genesis.json | jq '.app_state["registry"]["params"]["record_rent"]["denom"]="aphoton"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json +cat $HOME/.laconicd/config/genesis.json | jq '.app_state["registry"]["params"]["authority_rent"]["denom"]="aphoton"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json +cat $HOME/.laconicd/config/genesis.json | jq '.app_state["registry"]["params"]["authority_auction_commit_fee"]["denom"]="aphoton"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json +cat $HOME/.laconicd/config/genesis.json | jq '.app_state["registry"]["params"]["authority_auction_reveal_fee"]["denom"]="aphoton"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json +cat $HOME/.laconicd/config/genesis.json | jq '.app_state["registry"]["params"]["authority_auction_minimum_bid"]["denom"]="aphoton"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json -if [[ "$TEST_NAMESERVICE_EXPIRY" == "true" ]]; then +if [[ "$TEST_REGISTRY_EXPIRY" == "true" ]]; then echo "Setting timers for expiry tests." - cat $HOME/.laconicd/config/genesis.json | jq '.app_state["nameservice"]["params"]["record_rent_duration"]="60s"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json - cat $HOME/.laconicd/config/genesis.json | jq '.app_state["nameservice"]["params"]["authority_grace_period"]="60s"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json - cat $HOME/.laconicd/config/genesis.json | jq '.app_state["nameservice"]["params"]["authority_rent_duration"]="60s"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json + cat $HOME/.laconicd/config/genesis.json | jq '.app_state["registry"]["params"]["record_rent_duration"]="60s"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json + cat $HOME/.laconicd/config/genesis.json | jq '.app_state["registry"]["params"]["authority_grace_period"]="60s"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json + cat $HOME/.laconicd/config/genesis.json | jq '.app_state["registry"]["params"]["authority_rent_duration"]="60s"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json fi if [[ "$TEST_AUCTION_ENABLED" == "true" ]]; then echo "Enabling auction and setting timers." - cat $HOME/.laconicd/config/genesis.json | jq '.app_state["nameservice"]["params"]["authority_auction_enabled"]=true' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json - cat $HOME/.laconicd/config/genesis.json | jq '.app_state["nameservice"]["params"]["authority_rent_duration"]="60s"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json - cat $HOME/.laconicd/config/genesis.json | jq '.app_state["nameservice"]["params"]["authority_grace_period"]="300s"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json - cat $HOME/.laconicd/config/genesis.json | jq '.app_state["nameservice"]["params"]["authority_auction_commits_duration"]="60s"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json - cat $HOME/.laconicd/config/genesis.json | jq '.app_state["nameservice"]["params"]["authority_auction_reveals_duration"]="60s"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json + cat $HOME/.laconicd/config/genesis.json | jq '.app_state["registry"]["params"]["authority_auction_enabled"]=true' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json + cat $HOME/.laconicd/config/genesis.json | jq '.app_state["registry"]["params"]["authority_rent_duration"]="60s"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json + cat $HOME/.laconicd/config/genesis.json | jq '.app_state["registry"]["params"]["authority_grace_period"]="300s"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json + cat $HOME/.laconicd/config/genesis.json | jq '.app_state["registry"]["params"]["authority_auction_commits_duration"]="60s"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json + cat $HOME/.laconicd/config/genesis.json | jq '.app_state["registry"]["params"]["authority_auction_reveals_duration"]="60s"' > $HOME/.laconicd/config/tmp_genesis.json && mv $HOME/.laconicd/config/tmp_genesis.json $HOME/.laconicd/config/genesis.json fi # increase block time (?) diff --git a/proto/vulcanize/nameservice/v1beta1/attributes.proto b/proto/vulcanize/registry/v1beta1/attributes.proto similarity index 93% rename from proto/vulcanize/nameservice/v1beta1/attributes.proto rename to proto/vulcanize/registry/v1beta1/attributes.proto index 0173d81c..8ec3b6a8 100644 --- a/proto/vulcanize/nameservice/v1beta1/attributes.proto +++ b/proto/vulcanize/registry/v1beta1/attributes.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package vulcanize.nameservice.v1beta1; +package vulcanize.registry.v1beta1; import "gogoproto/gogo.proto"; -option go_package = "github.com/cerc-io/laconicd/x/nameservice/types"; +option go_package = "github.com/cerc-io/laconicd/x/registry/types"; message ServiceProviderRegistration { string bond_id = 1 [(gogoproto.moretags) = "json:\"bondId\" yaml:\"bondId\""]; diff --git a/proto/vulcanize/nameservice/v1beta1/genesis.proto b/proto/vulcanize/registry/v1beta1/genesis.proto similarity index 66% rename from proto/vulcanize/nameservice/v1beta1/genesis.proto rename to proto/vulcanize/registry/v1beta1/genesis.proto index eb5c766a..19a34b60 100644 --- a/proto/vulcanize/nameservice/v1beta1/genesis.proto +++ b/proto/vulcanize/registry/v1beta1/genesis.proto @@ -1,14 +1,14 @@ syntax = "proto3"; -package vulcanize.nameservice.v1beta1; +package vulcanize.registry.v1beta1; import "gogoproto/gogo.proto"; -import "vulcanize/nameservice/v1beta1/nameservice.proto"; +import "vulcanize/registry/v1beta1/registry.proto"; -option go_package = "github.com/cerc-io/laconicd/x/nameservice/types"; +option go_package = "github.com/cerc-io/laconicd/x/registry/types"; -// GenesisState defines the nameservice module's genesis state. +// GenesisState defines the registry module's genesis state. message GenesisState { - // params defines all the params of nameservice module. + // params defines all the params of registry module. Params params = 1 [(gogoproto.nullable) = false]; // records repeated Record records = 2 diff --git a/proto/vulcanize/nameservice/v1beta1/query.proto b/proto/vulcanize/registry/v1beta1/query.proto similarity index 71% rename from proto/vulcanize/nameservice/v1beta1/query.proto rename to proto/vulcanize/registry/v1beta1/query.proto index 229581f5..f30fdb44 100644 --- a/proto/vulcanize/nameservice/v1beta1/query.proto +++ b/proto/vulcanize/registry/v1beta1/query.proto @@ -1,71 +1,71 @@ syntax = "proto3"; -package vulcanize.nameservice.v1beta1; +package vulcanize.registry.v1beta1; -import "vulcanize/nameservice/v1beta1/nameservice.proto"; +import "vulcanize/registry/v1beta1/registry.proto"; import "google/api/annotations.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; -option go_package = "github.com/cerc-io/laconicd/x/nameservice/types"; +option go_package = "github.com/cerc-io/laconicd/x/registry/types"; -// Query defines the gRPC querier service for nameservice module +// Query defines the gRPC querier service for registry module service Query { - // Params queries the nameservice module params. + // Params queries the registry module params. rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/vulcanize/nameservice/v1beta1/params"; + option (google.api.http).get = "/vulcanize/registry/v1beta1/params"; } // List records rpc ListRecords(QueryListRecordsRequest) returns (QueryListRecordsResponse) { - option (google.api.http).get = "/vulcanize/nameservice/v1beta1/records"; + option (google.api.http).get = "/vulcanize/registry/v1beta1/records"; } // Get record by id rpc GetRecord(QueryRecordByIDRequest) returns (QueryRecordByIDResponse) { - option (google.api.http).get = "/vulcanize/nameservice/v1beta1/records/{id}"; + option (google.api.http).get = "/vulcanize/registry/v1beta1/records/{id}"; } // Get records by bond id rpc GetRecordByBondID(QueryRecordByBondIDRequest) returns (QueryRecordByBondIDResponse) { - option (google.api.http).get = "/vulcanize/nameservice/v1beta1/records-by-bond-id/{id}"; + option (google.api.http).get = "/vulcanize/registry/v1beta1/records-by-bond-id/{id}"; } - // Get nameservice module balance - rpc GetNameServiceModuleBalance(GetNameServiceModuleBalanceRequest) returns (GetNameServiceModuleBalanceResponse) { - option (google.api.http).get = "/vulcanize/nameservice/v1beta1/balance"; + // Get registry module balance + rpc GetRegistryModuleBalance(GetRegistryModuleBalanceRequest) returns (GetRegistryModuleBalanceResponse) { + option (google.api.http).get = "/vulcanize/registry/v1beta1/balance"; } // List name records rpc ListNameRecords(QueryListNameRecordsRequest) returns (QueryListNameRecordsResponse) { - option (google.api.http).get = "/vulcanize/nameservice/v1beta1/names"; + option (google.api.http).get = "/vulcanize/registry/v1beta1/names"; } // Whois method retrieve the name authority info rpc Whois(QueryWhoisRequest) returns (QueryWhoisResponse) { - option (google.api.http).get = "/vulcanize/nameservice/v1beta1/whois/{name}"; + option (google.api.http).get = "/vulcanize/registry/v1beta1/whois/{name}"; } // LookupCrn rpc LookupCrn(QueryLookupCrn) returns (QueryLookupCrnResponse) { - option (google.api.http).get = "/vulcanize/nameservice/v1beta1/lookup"; + option (google.api.http).get = "/vulcanize/registry/v1beta1/lookup"; } // ResolveCrn rpc ResolveCrn(QueryResolveCrn) returns (QueryResolveCrnResponse) { - option (google.api.http).get = "/vulcanize/nameservice/v1beta1/resolve"; + option (google.api.http).get = "/vulcanize/registry/v1beta1/resolve"; } // GetRecordExpiryQueue rpc GetRecordExpiryQueue(QueryGetRecordExpiryQueue) returns (QueryGetRecordExpiryQueueResponse) { - option (google.api.http).get = "/vulcanize/nameservice/v1beta1/record-expiry"; + option (google.api.http).get = "/vulcanize/registry/v1beta1/record-expiry"; } // GetAuthorityExpiryQueue rpc GetAuthorityExpiryQueue(QueryGetAuthorityExpiryQueue) returns (QueryGetAuthorityExpiryQueueResponse) { - option (google.api.http).get = "/vulcanize/nameservice/v1beta1/authority-expiry"; + option (google.api.http).get = "/vulcanize/registry/v1beta1/authority-expiry"; } } -// QueryParamsRequest is request type for nameservice params +// QueryParamsRequest is request type for registry params message QueryParamsRequest {} -// QueryParamsResponse is response type for nameservice params +// QueryParamsResponse is response type for registry params message QueryParamsResponse { Params params = 1; } -// QueryListRecordsRequest is request type for nameservice records list +// QueryListRecordsRequest is request type for registry records list message QueryListRecordsRequest { message ReferenceInput { string id = 1; @@ -91,19 +91,19 @@ message QueryListRecordsRequest { cosmos.base.query.v1beta1.PageRequest pagination = 3; } -// QueryListRecordsResponse is response type for nameservice records list +// QueryListRecordsResponse is response type for registry records list message QueryListRecordsResponse { repeated Record records = 1 [(gogoproto.nullable) = false]; // pagination defines the pagination in the response. cosmos.base.query.v1beta1.PageResponse pagination = 2; } -// QueryRecordByIDRequest is request type for nameservice records by id +// QueryRecordByIDRequest is request type for registry records by id message QueryRecordByIDRequest { string id = 1; } -// QueryRecordByIDResponse is response type for nameservice records by id +// QueryRecordByIDResponse is response type for registry records by id message QueryRecordByIDResponse { Record record = 1 [(gogoproto.nullable) = false]; } @@ -122,15 +122,15 @@ message QueryRecordByBondIDResponse { cosmos.base.query.v1beta1.PageResponse pagination = 2; } -// GetNameServiceModuleBalanceRequest is request type for nameservice module accounts balance -message GetNameServiceModuleBalanceRequest {} +// GetRegistryModuleBalanceRequest is request type for registry module accounts balance +message GetRegistryModuleBalanceRequest {} -// GetNameServiceModuleBalanceResponse is response type for nameservice module accounts balance -message GetNameServiceModuleBalanceResponse { +// GetRegistryModuleBalanceResponse is response type for registry module accounts balance +message GetRegistryModuleBalanceResponse { repeated AccountBalance balances = 1; } -// AccountBalance is nameservice module account balance +// AccountBalance is registry module account balance message AccountBalance { string account_name = 1 [(gogoproto.moretags) = "json:\"accountName\" yaml:\"accountName\""]; repeated cosmos.base.v1beta1.Coin balance = 3 [ @@ -140,13 +140,13 @@ message AccountBalance { ]; } -// QueryListNameRecordsRequest is request type for nameservice names records +// QueryListNameRecordsRequest is request type for registry names records message QueryListNameRecordsRequest { // pagination defines an optional pagination for the request. cosmos.base.query.v1beta1.PageRequest pagination = 1; } -// QueryListNameRecordsResponse is response type for nameservice names records +// QueryListNameRecordsResponse is response type for registry names records message QueryListNameRecordsResponse { repeated NameEntry names = 1 [(gogoproto.nullable) = false]; // pagination defines the pagination in the response. diff --git a/proto/vulcanize/nameservice/v1beta1/nameservice.proto b/proto/vulcanize/registry/v1beta1/registry.proto similarity index 95% rename from proto/vulcanize/nameservice/v1beta1/nameservice.proto rename to proto/vulcanize/registry/v1beta1/registry.proto index 0f7c7f7d..2c0e2804 100644 --- a/proto/vulcanize/nameservice/v1beta1/nameservice.proto +++ b/proto/vulcanize/registry/v1beta1/registry.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package vulcanize.nameservice.v1beta1; +package vulcanize.registry.v1beta1; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; @@ -7,9 +7,9 @@ import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; import "google/protobuf/any.proto"; -option go_package = "github.com/cerc-io/laconicd/x/nameservice/types"; +option go_package = "github.com/cerc-io/laconicd/x/registry/types"; -// Params defines the nameservice module parameters +// Params defines the registry module parameters message Params { cosmos.base.v1beta1.Coin record_rent = 1 [(gogoproto.nullable) = false, (gogoproto.moretags) = "json:\"record_rent\" yaml:\"record_rent\""]; @@ -56,7 +56,7 @@ message Params { ]; } -// Params defines the nameservice module records +// Params defines the registry module records message Record { string id = 1 [(gogoproto.moretags) = "json:\"id\" yaml:\"id\""]; string bond_id = 2 [(gogoproto.moretags) = "json:\"bondId\" yaml:\"bondId\""]; @@ -69,7 +69,7 @@ message Record { string type = 9 [(gogoproto.moretags) = "json:\"types\" yaml:\"types\""]; } -// AuthorityEntry defines the nameservice module AuthorityEntries +// AuthorityEntry defines the registry module AuthorityEntries message AuthorityEntry { string name = 1; NameAuthority entry = 2; diff --git a/proto/vulcanize/nameservice/v1beta1/tx.proto b/proto/vulcanize/registry/v1beta1/tx.proto similarity index 96% rename from proto/vulcanize/nameservice/v1beta1/tx.proto rename to proto/vulcanize/registry/v1beta1/tx.proto index 94922170..c9e11bcb 100644 --- a/proto/vulcanize/nameservice/v1beta1/tx.proto +++ b/proto/vulcanize/registry/v1beta1/tx.proto @@ -1,10 +1,10 @@ syntax = "proto3"; -package vulcanize.nameservice.v1beta1; +package vulcanize.registry.v1beta1; import "gogoproto/gogo.proto"; -import "vulcanize/nameservice/v1beta1/nameservice.proto"; +import "vulcanize/registry/v1beta1/registry.proto"; -option go_package = "github.com/cerc-io/laconicd/x/nameservice/types"; +option go_package = "github.com/cerc-io/laconicd/x/registry/types"; // Msg service Msg { diff --git a/x/nameservice/README.md b/x/registry/README.md similarity index 69% rename from x/nameservice/README.md rename to x/registry/README.md index daa383e4..20a3ecb3 100644 --- a/x/nameservice/README.md +++ b/x/registry/README.md @@ -19,7 +19,7 @@ $ make build ## Get Params ```bash -$ ./build/laconicd q nameservice params -o json | jq . +$ ./build/laconicd q registry params -o json | jq . { "params": { "record_rent": { @@ -58,7 +58,7 @@ $ ./build/laconicd q nameservice params -o json | jq . > First you have to Create bond ```bash -$ ./build/laconicd tx nameservice set ~/Desktop/examples/records/service_provider_example.yml 95f68b1b862bfd1609b0c9aaf7300287b92fec90ac64027092c3e723af36e83d --from root --chain-id ethermint_9000-1 --yes -o json +$ ./build/laconicd tx registry set ~/Desktop/examples/records/service_provider_example.yml 95f68b1b862bfd1609b0c9aaf7300287b92fec90ac64027092c3e723af36e83d --from root --chain-id ethermint_9000-1 --yes -o json { "height": "0", "txhash": "BA44ABE1194724694E7CB290F9F3121DB4E63E1A030D95CB84813EEA132CF95F", @@ -78,7 +78,7 @@ $ ./build/laconicd tx nameservice set ~/Desktop/examples/records/service_provide ## Get records list ```bash -$ ./build/laconicd q nameservice list -o json | jq +$ ./build/laconicd q registry list -o json | jq [ { "id": "bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae", @@ -104,7 +104,7 @@ $ ./build/laconicd q nameservice list -o json | jq ## Get record by id ```bash -$ ./build/laconicd q nameservice get bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae -o json | jq . +$ ./build/laconicd q registry get bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae -o json | jq . { "record": { "id": "bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae", @@ -121,7 +121,7 @@ $ ./build/laconicd q nameservice get bafyreih7un2ntk235wshncebus5emlozdhdixrrv67 ## Reserve name ```bash - ./build/laconicd tx nameservice reserve-name hello --from root --chain-id ethermint_9000-1 --owner $(./build/laconicd key + ./build/laconicd tx registry reserve-name hello --from root --chain-id ethermint_9000-1 --owner $(./build/laconicd key s show root -a) -y -o json | jq . { "height": "0", @@ -143,7 +143,7 @@ s show root -a) -y -o json | jq . ## Query Whois for name authority ```bash - ./build/laconicd q nameservice whois hello -o json | jq . + ./build/laconicd q registry whois hello -o json | jq . { "name_authority": { "owner_public_key": "Au3hH1tzL1KgZfXfA71jGYSe5RV9Wg95kwhBWs8V+N+h", @@ -158,10 +158,10 @@ s show root -a) -y -o json | jq . ``` -## Query the nameservice module balance +## Query the registry module balance ```bash -$ ./build/laconicd q nameservice balance -o json | jq . +$ ./build/laconicd q registry balance -o json | jq . { "balances": [ { @@ -181,14 +181,14 @@ $ ./build/laconicd q nameservice balance -o json | jq . ## add bond to the authority ```bash -$ ./build/laconicd tx nameservice authority-bond [Authority Name] [Bond ID ] --from root --chain-id ethermint_9000-1 -y -o json | jq . -$ ./build/laconicd tx nameservice authority-bond hello 95f68b1b862bfd1609b0c9aaf7300287b92fec90ac64027092c3e723af36e83d --from root --chain-id ethermint_9000-1 -y -o json | jq . +$ ./build/laconicd tx registry authority-bond [Authority Name] [Bond ID ] --from root --chain-id ethermint_9000-1 -y -o json | jq . +$ ./build/laconicd tx registry authority-bond hello 95f68b1b862bfd1609b0c9aaf7300287b92fec90ac64027092c3e723af36e83d --from root --chain-id ethermint_9000-1 -y -o json | jq . ``` ## Query the records by associate bond id ```bash -$ ./build/laconicd q nameservice query-by-bond 95f68b1b862bfd1609b0c9aaf7300287b92fec90ac64027092c3e723af36e83d -o json | jq . +$ ./build/laconicd q registry query-by-bond 95f68b1b862bfd1609b0c9aaf7300287b92fec90ac64027092c3e723af36e83d -o json | jq . { "records": [ { @@ -209,8 +209,8 @@ $ ./build/laconicd q nameservice query-by-bond 95f68b1b862bfd1609b0c9aaf7300287b ## dissociate bond from record ```bash -$ ./build/laconicd tx nameservice dissociate-bond bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae --from root --chain-id ethermint_9000-1 -{"body":{"messages":[{"@type":"/vulcanize.nameservice.v1beta1.MsgDissociateBond","record_id":"bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae","signer":"ethm1mfdjngh5jvjs9lqtt9a7y2hlgw8v3syh3hsqzk"}],"memo":"","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""}},"signatures":[]} +$ ./build/laconicd tx registry dissociate-bond bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae --from root --chain-id ethermint_9000-1 +{"body":{"messages":[{"@type":"/vulcanize.registry.v1beta1.MsgDissociateBond","record_id":"bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae","signer":"ethm1mfdjngh5jvjs9lqtt9a7y2hlgw8v3syh3hsqzk"}],"memo":"","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""}},"signatures":[]} confirm transaction before signing and broadcasting [y/N]: y code: 0 @@ -231,7 +231,7 @@ txhash: 7AFEF524CB0D92D6576FC08601A787786E802449888FD8DDAA7635698CC85060 ## Associate bond with record ```bash -./build/laconicd tx nameservice associate-bond bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae c3f7a78c5042d2003880962ba31ff3b01fcf5942960e0bc3ca331f816346a440 --from root --chain-id ethermint_9000-1 -y -o json | jq . +./build/laconicd tx registry associate-bond bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae c3f7a78c5042d2003880962ba31ff3b01fcf5942960e0bc3ca331f816346a440 --from root --chain-id ethermint_9000-1 -y -o json | jq . { "height": "0", "txhash": "F75C2BF2FE73668AE1332E1237F924AC549E31E822A56394DE5AC17200B199F9", @@ -252,7 +252,7 @@ txhash: 7AFEF524CB0D92D6576FC08601A787786E802449888FD8DDAA7635698CC85060 ## dissociate-records => remove all record from bond ```bash -$./build/laconicd tx nameservice dissociate-records c3f7a78c5042d2003880962ba31ff3b01fcf5942960e0bc3ca331f816346a440 --from root --chain-id ethermint_9000-1 -y -o json | jq . +$./build/laconicd tx registry dissociate-records c3f7a78c5042d2003880962ba31ff3b01fcf5942960e0bc3ca331f816346a440 --from root --chain-id ethermint_9000-1 -y -o json | jq . { "height": "0", "txhash": "0316F503E5DEA47CB108AE6C7C7FFAF3F71CC56BC22F63CB97322E1BE48B33B9", @@ -274,14 +274,14 @@ $./build/laconicd tx nameservice dissociate-records c3f7a78c5042d2003880962ba31f > When a record is expires , needs to renew record ```bash -$ ./build/laconicd tx nameservice renew-record bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae --from root --chain-id ethermint_9000-1 +$ ./build/laconicd tx registry renew-record bafyreih7un2ntk235wshncebus5emlozdhdixrrv675my5umb6fgdergae --from root --chain-id ethermint_9000-1 ``` ## Set the authority name ```bash -$ ./build/laconicd tx nameservice set-name crn://hello/test test_hello_cid --from root --chain-id ethermint_9000-1 -y -o json | jq . +$ ./build/laconicd tx registry set-name crn://hello/test test_hello_cid --from root --chain-id ethermint_9000-1 -y -o json | jq . { "height": "0", "txhash": "66A63C73B076EEE9A2F7605354448EDEB161F0115D4D03AF68C01BA28DB97486", @@ -301,7 +301,7 @@ $ ./build/laconicd tx nameservice set-name crn://hello/test test_hello_cid --fr ## Delete the name ```bash -$./build/laconicd tx nameservice delete-name crn://hello/test --from root --chain-id ethermint_9000-1 -y +$./build/laconicd tx registry delete-name crn://hello/test --from root --chain-id ethermint_9000-1 -y code: 0 codespace: "" data: "" @@ -320,7 +320,7 @@ txhash: A3FF4C46BAC7BD6E54BBB743A49830AE8C6F6FE59282384789CBA323C1FE540C ## List of Authorities Expire Queue ```bash -$ ./build/laconicd q nameservice authority-expiry -o json | jq . +$ ./build/laconicd q registry authority-expiry -o json | jq . { "authorities": [], "pagination": null @@ -331,7 +331,7 @@ $ ./build/laconicd q nameservice authority-expiry -o json | jq . ## List of Records Expire Queue ```bash -$ ./build/laconicd q nameservice record-expiry -o json | jq . +$ ./build/laconicd q registry record-expiry -o json | jq . { "records": [], "pagination": null diff --git a/x/nameservice/abci.go b/x/registry/abci.go similarity index 88% rename from x/nameservice/abci.go rename to x/registry/abci.go index f57fc840..81798c52 100644 --- a/x/nameservice/abci.go +++ b/x/registry/abci.go @@ -1,7 +1,7 @@ -package nameservice +package registry import ( - "github.com/cerc-io/laconicd/x/nameservice/keeper" + "github.com/cerc-io/laconicd/x/registry/keeper" sdk "github.com/cosmos/cosmos-sdk/types" abci "github.com/tendermint/tendermint/abci/types" ) diff --git a/x/nameservice/client/cli/query.go b/x/registry/client/cli/query.go similarity index 96% rename from x/nameservice/client/cli/query.go rename to x/registry/client/cli/query.go index d7b888d5..cd7358da 100644 --- a/x/nameservice/client/cli/query.go +++ b/x/registry/client/cli/query.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - "github.com/cerc-io/laconicd/x/nameservice/types" + "github.com/cerc-io/laconicd/x/registry/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/version" @@ -14,14 +14,14 @@ import ( // GetQueryCmd returns the cli query commands for this module func GetQueryCmd() *cobra.Command { - nameserviceQueryCmd := &cobra.Command{ + registryQueryCmd := &cobra.Command{ Use: types.ModuleName, - Short: "Querying commands for the nameservice module", + Short: "Querying commands for the registry module", DisableFlagParsing: true, SuggestionsMinimumDistance: 2, RunE: client.ValidateCmd, } - nameserviceQueryCmd.AddCommand( + registryQueryCmd.AddCommand( GetCmdWhoIs(), GetCmdResolve(), GetCmdLookupCRN(), @@ -34,7 +34,7 @@ func GetQueryCmd() *cobra.Command { GetCmdBalance(), GetCmdNames(), ) - return nameserviceQueryCmd + return registryQueryCmd } // GetCmdWhoIs queries a whois info for a name. @@ -292,7 +292,7 @@ $ %s query %s balance return err } queryClient := types.NewQueryClient(clientCtx) - res, err := queryClient.GetNameServiceModuleBalance(cmd.Context(), &types.GetNameServiceModuleBalanceRequest{}) + res, err := queryClient.GetRegistryModuleBalance(cmd.Context(), &types.GetRegistryModuleBalanceRequest{}) if err != nil { return err } diff --git a/x/nameservice/client/cli/tx.go b/x/registry/client/cli/tx.go similarity index 97% rename from x/nameservice/client/cli/tx.go rename to x/registry/client/cli/tx.go index 332077be..22d55983 100644 --- a/x/nameservice/client/cli/tx.go +++ b/x/registry/client/cli/tx.go @@ -6,7 +6,7 @@ import ( "strings" "github.com/cerc-io/laconicd/server/flags" - "github.com/cerc-io/laconicd/x/nameservice/types" + "github.com/cerc-io/laconicd/x/registry/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/tx" sdk "github.com/cosmos/cosmos-sdk/types" @@ -17,15 +17,15 @@ import ( // NewTxCmd returns a root CLI command handler for all x/bond transaction commands. func NewTxCmd() *cobra.Command { - nameserviceTxCmd := &cobra.Command{ + registryTxCmd := &cobra.Command{ Use: types.ModuleName, - Short: "nameservice transaction subcommands", + Short: "registry transaction subcommands", DisableFlagParsing: true, SuggestionsMinimumDistance: 2, RunE: client.ValidateCmd, } - nameserviceTxCmd.AddCommand( + registryTxCmd.AddCommand( GetCmdSetRecord(), GetCmdRenewRecord(), GetCmdAssociateBond(), @@ -38,7 +38,7 @@ func NewTxCmd() *cobra.Command { GetCmdDeleteName(), ) - return nameserviceTxCmd + return registryTxCmd } // GetCmdSetRecord is the CLI command for creating/updating a record. diff --git a/x/nameservice/client/testutil/cli_test.go b/x/registry/client/testutil/cli_test.go similarity index 100% rename from x/nameservice/client/testutil/cli_test.go rename to x/registry/client/testutil/cli_test.go diff --git a/x/nameservice/client/testutil/example1.yml b/x/registry/client/testutil/example1.yml similarity index 100% rename from x/nameservice/client/testutil/example1.yml rename to x/registry/client/testutil/example1.yml diff --git a/x/nameservice/client/testutil/grpc.go b/x/registry/client/testutil/grpc.go similarity index 93% rename from x/nameservice/client/testutil/grpc.go rename to x/registry/client/testutil/grpc.go index 91b8a350..143dab90 100644 --- a/x/nameservice/client/testutil/grpc.go +++ b/x/registry/client/testutil/grpc.go @@ -6,8 +6,8 @@ import ( "os" "time" - "github.com/cerc-io/laconicd/x/nameservice/client/cli" - nstypes "github.com/cerc-io/laconicd/x/nameservice/types" + "github.com/cerc-io/laconicd/x/registry/client/cli" + nstypes "github.com/cerc-io/laconicd/x/registry/types" "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" "github.com/cosmos/cosmos-sdk/testutil/rest" @@ -18,7 +18,7 @@ import ( func (s *IntegrationTestSuite) TestGRPCQueryParams() { val := s.network.Validators[0] sr := s.Require() - reqURL := val.APIAddress + "/vulcanize/nameservice/v1beta1/params" + reqURL := val.APIAddress + "/vulcanize/registry/v1beta1/params" testCases := []struct { name string @@ -64,7 +64,7 @@ func (s *IntegrationTestSuite) TestGRPCQueryParams() { func (s *IntegrationTestSuite) TestGRPCQueryWhoIs() { val := s.network.Validators[0] sr := s.Require() - reqUrl := val.APIAddress + "/vulcanize/nameservice/v1beta1/whois/%s" + reqUrl := val.APIAddress + "/vulcanize/registry/v1beta1/whois/%s" authorityName := "QueryWhoIS" testCases := []struct { name string @@ -131,7 +131,7 @@ func (s *IntegrationTestSuite) TestGRPCQueryWhoIs() { func (s *IntegrationTestSuite) TestGRPCQueryLookup() { val := s.network.Validators[0] sr := s.Require() - reqURL := val.APIAddress + "/vulcanize/nameservice/v1beta1/lookup?crn=%s" + reqURL := val.APIAddress + "/vulcanize/registry/v1beta1/lookup?crn=%s" authorityName := "QueryLookUp" testCases := []struct { @@ -184,7 +184,7 @@ func (s *IntegrationTestSuite) TestGRPCQueryLookup() { func (s *IntegrationTestSuite) TestGRPCQueryRecordExpiryQueue() { val := s.network.Validators[0] sr := s.Require() - reqUrl := val.APIAddress + "/vulcanize/nameservice/v1beta1/record-expiry" + reqUrl := val.APIAddress + "/vulcanize/registry/v1beta1/record-expiry" testCases := []struct { name string @@ -256,7 +256,7 @@ func (s *IntegrationTestSuite) TestGRPCQueryRecordExpiryQueue() { func (s *IntegrationTestSuite) TestGRPCQueryAuthorityExpiryQueue() { val := s.network.Validators[0] sr := s.Require() - reqUrl := val.APIAddress + "/vulcanize/nameservice/v1beta1/authority-expiry" + reqUrl := val.APIAddress + "/vulcanize/registry/v1beta1/authority-expiry" testCases := []struct { name string @@ -328,7 +328,7 @@ func (s *IntegrationTestSuite) TestGRPCQueryAuthorityExpiryQueue() { func (s *IntegrationTestSuite) TestGRPCQueryListRecords() { val := s.network.Validators[0] sr := s.Require() - reqUrl := val.APIAddress + "/vulcanize/nameservice/v1beta1/records" + reqUrl := val.APIAddress + "/vulcanize/registry/v1beta1/records" testCases := []struct { name string @@ -398,7 +398,7 @@ func (s *IntegrationTestSuite) TestGRPCQueryListRecords() { func (s *IntegrationTestSuite) TestGRPCQueryGetRecordByID() { val := s.network.Validators[0] sr := s.Require() - reqURL := val.APIAddress + "/vulcanize/nameservice/v1beta1/records/%s" + reqURL := val.APIAddress + "/vulcanize/registry/v1beta1/records/%s" testCases := []struct { name string @@ -467,7 +467,7 @@ func (s *IntegrationTestSuite) TestGRPCQueryGetRecordByID() { func (s *IntegrationTestSuite) TestGRPCQueryGetRecordByBondID() { val := s.network.Validators[0] sr := s.Require() - reqURL := val.APIAddress + "/vulcanize/nameservice/v1beta1/records-by-bond-id/%s" + reqURL := val.APIAddress + "/vulcanize/registry/v1beta1/records-by-bond-id/%s" testCases := []struct { name string @@ -518,10 +518,10 @@ func (s *IntegrationTestSuite) TestGRPCQueryGetRecordByBondID() { } } -func (s *IntegrationTestSuite) TestGRPCQueryGetNameServiceModuleBalance() { +func (s *IntegrationTestSuite) TestGRPCQueryGetRegistryModuleBalance() { val := s.network.Validators[0] sr := s.Require() - reqURL := val.APIAddress + "/vulcanize/nameservice/v1beta1/balance" + reqURL := val.APIAddress + "/vulcanize/registry/v1beta1/balance" testCases := []struct { name string @@ -560,7 +560,7 @@ func (s *IntegrationTestSuite) TestGRPCQueryGetNameServiceModuleBalance() { if tc.expectErr { require.Contains(string(resp), tc.errorMsg) } else { - var response nstypes.GetNameServiceModuleBalanceResponse + var response nstypes.GetRegistryModuleBalanceResponse err := val.ClientCtx.Codec.UnmarshalJSON(resp, &response) sr.NoError(err) sr.NotZero(len(response.GetBalances())) @@ -572,7 +572,7 @@ func (s *IntegrationTestSuite) TestGRPCQueryGetNameServiceModuleBalance() { func (s *IntegrationTestSuite) TestGRPCQueryNamesList() { val := s.network.Validators[0] sr := s.Require() - reqURL := val.APIAddress + "/vulcanize/nameservice/v1beta1/names" + reqURL := val.APIAddress + "/vulcanize/registry/v1beta1/names" testCases := []struct { name string diff --git a/x/nameservice/client/testutil/query.go b/x/registry/client/testutil/query.go similarity index 97% rename from x/nameservice/client/testutil/query.go rename to x/registry/client/testutil/query.go index 7831ae8c..f2b09b89 100644 --- a/x/nameservice/client/testutil/query.go +++ b/x/registry/client/testutil/query.go @@ -6,8 +6,8 @@ import ( "os" "time" - "github.com/cerc-io/laconicd/x/nameservice/client/cli" - "github.com/cerc-io/laconicd/x/nameservice/types" + "github.com/cerc-io/laconicd/x/registry/client/cli" + "github.com/cerc-io/laconicd/x/registry/types" "github.com/cosmos/cosmos-sdk/client/flags" clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" sdk "github.com/cosmos/cosmos-sdk/types" @@ -195,22 +195,22 @@ func (s *IntegrationTestSuite) TestGetCmdQueryForRecords() { }) } - s.T().Log("Test Cases for getting nameservice module account balance") - testCasesForNameServiceModuleBalance := []struct { + s.T().Log("Test Cases for getting registry module account balance") + testCasesForRegistryModuleBalance := []struct { name string args []string expErr bool noOfRecords int }{ { - "get nameservice module accounts balance", + "get registry module accounts balance", []string{fmt.Sprintf("--%s=json", tmcli.OutputFlag)}, false, 1, }, } - for _, tc := range testCasesForNameServiceModuleBalance { + for _, tc := range testCasesForRegistryModuleBalance { s.Run(tc.name, func() { cmd := cli.GetCmdBalance() clientCtx := val.ClientCtx @@ -220,7 +220,7 @@ func (s *IntegrationTestSuite) TestGetCmdQueryForRecords() { sr.Error(err) } else { sr.NoError(err) - var response types.GetNameServiceModuleBalanceResponse + var response types.GetRegistryModuleBalanceResponse err = clientCtx.Codec.UnmarshalJSON(out.Bytes(), &response) sr.NoError(err) sr.Equal(tc.noOfRecords, len(response.GetBalances())) diff --git a/x/nameservice/client/testutil/service_provider_example.yml b/x/registry/client/testutil/service_provider_example.yml similarity index 100% rename from x/nameservice/client/testutil/service_provider_example.yml rename to x/registry/client/testutil/service_provider_example.yml diff --git a/x/nameservice/client/testutil/tx.go b/x/registry/client/testutil/tx.go similarity index 99% rename from x/nameservice/client/testutil/tx.go rename to x/registry/client/testutil/tx.go index 6c2db65e..4da1bdc2 100644 --- a/x/nameservice/client/testutil/tx.go +++ b/x/registry/client/testutil/tx.go @@ -9,8 +9,8 @@ import ( "github.com/cerc-io/laconicd/testutil/network" bondcli "github.com/cerc-io/laconicd/x/bond/client/cli" "github.com/cerc-io/laconicd/x/bond/types" - "github.com/cerc-io/laconicd/x/nameservice/client/cli" - nstypes "github.com/cerc-io/laconicd/x/nameservice/types" + "github.com/cerc-io/laconicd/x/registry/client/cli" + nstypes "github.com/cerc-io/laconicd/x/registry/types" "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/crypto/hd" "github.com/cosmos/cosmos-sdk/crypto/keyring" diff --git a/x/nameservice/client/testutil/website_registration_example.yml b/x/registry/client/testutil/website_registration_example.yml similarity index 100% rename from x/nameservice/client/testutil/website_registration_example.yml rename to x/registry/client/testutil/website_registration_example.yml diff --git a/x/nameservice/genesis.go b/x/registry/genesis.go similarity index 94% rename from x/nameservice/genesis.go rename to x/registry/genesis.go index 83c887f6..ed974c94 100644 --- a/x/nameservice/genesis.go +++ b/x/registry/genesis.go @@ -1,10 +1,10 @@ -package nameservice +package registry import ( "time" - "github.com/cerc-io/laconicd/x/nameservice/keeper" - "github.com/cerc-io/laconicd/x/nameservice/types" + "github.com/cerc-io/laconicd/x/registry/keeper" + "github.com/cerc-io/laconicd/x/registry/types" sdk "github.com/cosmos/cosmos-sdk/types" abci "github.com/tendermint/tendermint/abci/types" ) diff --git a/x/nameservice/helpers/examples/example1.yml b/x/registry/helpers/examples/example1.yml similarity index 100% rename from x/nameservice/helpers/examples/example1.yml rename to x/registry/helpers/examples/example1.yml diff --git a/x/nameservice/helpers/examples/service_provider_example.yml b/x/registry/helpers/examples/service_provider_example.yml similarity index 100% rename from x/nameservice/helpers/examples/service_provider_example.yml rename to x/registry/helpers/examples/service_provider_example.yml diff --git a/x/nameservice/helpers/examples/website_registration_example.yml b/x/registry/helpers/examples/website_registration_example.yml similarity index 100% rename from x/nameservice/helpers/examples/website_registration_example.yml rename to x/registry/helpers/examples/website_registration_example.yml diff --git a/x/nameservice/helpers/helpers.go b/x/registry/helpers/helpers.go similarity index 100% rename from x/nameservice/helpers/helpers.go rename to x/registry/helpers/helpers.go diff --git a/x/nameservice/keeper/grpc_query.go b/x/registry/keeper/grpc_query.go similarity index 93% rename from x/nameservice/keeper/grpc_query.go rename to x/registry/keeper/grpc_query.go index 195d2574..3c13ceba 100644 --- a/x/nameservice/keeper/grpc_query.go +++ b/x/registry/keeper/grpc_query.go @@ -3,7 +3,7 @@ package keeper import ( "context" - "github.com/cerc-io/laconicd/x/nameservice/types" + "github.com/cerc-io/laconicd/x/registry/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ) @@ -60,10 +60,10 @@ func (q Querier) GetRecordByBondID(c context.Context, req *types.QueryRecordByBo return &types.QueryRecordByBondIDResponse{Records: records}, nil } -func (q Querier) GetNameServiceModuleBalance(c context.Context, _ *types.GetNameServiceModuleBalanceRequest) (*types.GetNameServiceModuleBalanceResponse, error) { +func (q Querier) GetRegistryModuleBalance(c context.Context, _ *types.GetRegistryModuleBalanceRequest) (*types.GetRegistryModuleBalanceResponse, error) { ctx := sdk.UnwrapSDKContext(c) balances := q.Keeper.GetModuleBalances(ctx) - return &types.GetNameServiceModuleBalanceResponse{ + return &types.GetRegistryModuleBalanceResponse{ Balances: balances, }, nil } diff --git a/x/nameservice/keeper/grpc_query_test.go b/x/registry/keeper/grpc_query_test.go similarity index 74% rename from x/nameservice/keeper/grpc_query_test.go rename to x/registry/keeper/grpc_query_test.go index 1600344f..4e580432 100644 --- a/x/nameservice/keeper/grpc_query_test.go +++ b/x/registry/keeper/grpc_query_test.go @@ -5,10 +5,10 @@ import ( "fmt" "os" - "github.com/cerc-io/laconicd/x/nameservice/client/cli" - "github.com/cerc-io/laconicd/x/nameservice/helpers" - "github.com/cerc-io/laconicd/x/nameservice/keeper" - nameservicetypes "github.com/cerc-io/laconicd/x/nameservice/types" + "github.com/cerc-io/laconicd/x/registry/client/cli" + "github.com/cerc-io/laconicd/x/registry/helpers" + "github.com/cerc-io/laconicd/x/registry/keeper" + registrytypes "github.com/cerc-io/laconicd/x/registry/types" ) func (suite *KeeperTestSuite) TestGrpcQueryParams() { @@ -16,17 +16,17 @@ func (suite *KeeperTestSuite) TestGrpcQueryParams() { testCases := []struct { msg string - req *nameservicetypes.QueryParamsRequest + req *registrytypes.QueryParamsRequest }{ { "Get Params", - &nameservicetypes.QueryParamsRequest{}, + ®istrytypes.QueryParamsRequest{}, }, } for _, test := range testCases { suite.Run(fmt.Sprintf("Case %s ", test.msg), func() { resp, _ := grpcClient.Params(context.Background(), test.req) - defaultParams := nameservicetypes.DefaultParams() + defaultParams := registrytypes.DefaultParams() suite.Require().Equal(defaultParams.String(), resp.GetParams().String()) }) } @@ -42,32 +42,32 @@ func (suite *KeeperTestSuite) TestGrpcGetRecordLists() { } testCases := []struct { msg string - req *nameservicetypes.QueryListRecordsRequest + req *registrytypes.QueryListRecordsRequest createRecords bool expErr bool noOfRecords int }{ { "Empty Records", - &nameservicetypes.QueryListRecordsRequest{}, + ®istrytypes.QueryListRecordsRequest{}, false, false, 0, }, { "List Records", - &nameservicetypes.QueryListRecordsRequest{}, + ®istrytypes.QueryListRecordsRequest{}, true, false, 2, }, { "Filter with type", - &nameservicetypes.QueryListRecordsRequest{ - Attributes: []*nameservicetypes.QueryListRecordsRequest_KeyValueInput{ + ®istrytypes.QueryListRecordsRequest{ + Attributes: []*registrytypes.QueryListRecordsRequest_KeyValueInput{ { Key: "type", - Value: &nameservicetypes.QueryListRecordsRequest_ValueInput{ + Value: ®istrytypes.QueryListRecordsRequest_ValueInput{ Type: "string", String_: "WebsiteRegistrationRecord", }, @@ -81,11 +81,11 @@ func (suite *KeeperTestSuite) TestGrpcGetRecordLists() { }, { "Filter with attributes ServiceProviderRegistration", - &nameservicetypes.QueryListRecordsRequest{ - Attributes: []*nameservicetypes.QueryListRecordsRequest_KeyValueInput{ + ®istrytypes.QueryListRecordsRequest{ + Attributes: []*registrytypes.QueryListRecordsRequest_KeyValueInput{ { Key: "x500state_name", - Value: &nameservicetypes.QueryListRecordsRequest_ValueInput{ + Value: ®istrytypes.QueryListRecordsRequest_ValueInput{ Type: "string", String_: "california", }, @@ -108,7 +108,7 @@ func (suite *KeeperTestSuite) TestGrpcGetRecordLists() { sr.NoError(err) payload, err := payloadType.ToPayload() sr.NoError(err) - record, err := suite.app.NameServiceKeeper.ProcessSetRecord(ctx, nameservicetypes.MsgSetRecord{ + record, err := suite.app.RegistryKeeper.ProcessSetRecord(ctx, registrytypes.MsgSetRecord{ BondId: suite.bond.GetId(), Signer: suite.accounts[0].String(), Payload: payload, @@ -129,7 +129,7 @@ func (suite *KeeperTestSuite) TestGrpcGetRecordLists() { sr.Equal(resp.GetRecords()[0].GetBondId(), suite.bond.GetId()) for _, record := range resp.GetRecords() { - bz, err := nameservicetypes.GetJSONBytesFromAny(*record.Attributes) + bz, err := registrytypes.GetJSONBytesFromAny(*record.Attributes) sr.NoError(err) recAttr := helpers.UnMarshalMapFromJSONBytes(bz) for _, attr := range test.req.GetAttributes() { @@ -148,21 +148,21 @@ func (suite *KeeperTestSuite) TestGrpcGetRecordLists() { // Get the records by record id testCases1 := []struct { msg string - req *nameservicetypes.QueryRecordByIDRequest + req *registrytypes.QueryRecordByIDRequest createRecord bool expErr bool noOfRecords int }{ { "Invalid Request without record id", - &nameservicetypes.QueryRecordByIDRequest{}, + ®istrytypes.QueryRecordByIDRequest{}, false, true, 0, }, { "With Record ID", - &nameservicetypes.QueryRecordByIDRequest{ + ®istrytypes.QueryRecordByIDRequest{ Id: recordId, }, true, @@ -189,21 +189,21 @@ func (suite *KeeperTestSuite) TestGrpcGetRecordLists() { // Get the records by record id testCasesByBondID := []struct { msg string - req *nameservicetypes.QueryRecordByBondIDRequest + req *registrytypes.QueryRecordByBondIDRequest createRecord bool expErr bool noOfRecords int }{ { "Invalid Request without bond id", - &nameservicetypes.QueryRecordByBondIDRequest{}, + ®istrytypes.QueryRecordByBondIDRequest{}, false, true, 0, }, { "With Bond ID", - &nameservicetypes.QueryRecordByBondIDRequest{ + ®istrytypes.QueryRecordByBondIDRequest{ Id: suite.bond.GetId(), }, true, @@ -228,7 +228,7 @@ func (suite *KeeperTestSuite) TestGrpcGetRecordLists() { } } -func (suite *KeeperTestSuite) TestGrpcQueryNameserviceModuleBalance() { +func (suite *KeeperTestSuite) TestGrpcQueryRegistryModuleBalance() { grpcClient, ctx := suite.queryClient, suite.ctx sr := suite.Require() examples := []string{ @@ -237,14 +237,14 @@ func (suite *KeeperTestSuite) TestGrpcQueryNameserviceModuleBalance() { } testCases := []struct { msg string - req *nameservicetypes.GetNameServiceModuleBalanceRequest + req *registrytypes.GetRegistryModuleBalanceRequest createRecords bool expErr bool noOfRecords int }{ { "Get Module Balance", - &nameservicetypes.GetNameServiceModuleBalanceRequest{}, + ®istrytypes.GetRegistryModuleBalanceRequest{}, true, false, 1, @@ -260,7 +260,7 @@ func (suite *KeeperTestSuite) TestGrpcQueryNameserviceModuleBalance() { sr.NoError(err) payload, err := payloadType.ToPayload() sr.NoError(err) - record, err := suite.app.NameServiceKeeper.ProcessSetRecord(ctx, nameservicetypes.MsgSetRecord{ + record, err := suite.app.RegistryKeeper.ProcessSetRecord(ctx, registrytypes.MsgSetRecord{ BondId: suite.bond.GetId(), Signer: suite.accounts[0].String(), Payload: payload, @@ -269,7 +269,7 @@ func (suite *KeeperTestSuite) TestGrpcQueryNameserviceModuleBalance() { sr.NotNil(record.ID) } } - resp, err := grpcClient.GetNameServiceModuleBalance(context.Background(), test.req) + resp, err := grpcClient.GetRegistryModuleBalance(context.Background(), test.req) if test.expErr { suite.Error(err) } else { @@ -277,7 +277,7 @@ func (suite *KeeperTestSuite) TestGrpcQueryNameserviceModuleBalance() { sr.Equal(test.noOfRecords, len(resp.GetBalances())) if test.createRecords { balance := resp.GetBalances()[0] - sr.Equal(balance.AccountName, nameservicetypes.RecordRentModuleAccountName) + sr.Equal(balance.AccountName, registrytypes.RecordRentModuleAccountName) } } }) @@ -291,21 +291,21 @@ func (suite *KeeperTestSuite) TestGrpcQueryWhoIS() { testCases := []struct { msg string - req *nameservicetypes.QueryWhoisRequest + req *registrytypes.QueryWhoisRequest createName bool expErr bool noOfRecords int }{ { "Invalid Request without name", - &nameservicetypes.QueryWhoisRequest{}, + ®istrytypes.QueryWhoisRequest{}, false, true, 1, }, { "Success", - &nameservicetypes.QueryWhoisRequest{}, + ®istrytypes.QueryWhoisRequest{}, true, false, 1, @@ -314,13 +314,13 @@ func (suite *KeeperTestSuite) TestGrpcQueryWhoIS() { for _, test := range testCases { suite.Run(fmt.Sprintf("Case %s ", test.msg), func() { if test.createName { - err := suite.app.NameServiceKeeper.ProcessReserveAuthority(ctx, nameservicetypes.MsgReserveAuthority{ + err := suite.app.RegistryKeeper.ProcessReserveAuthority(ctx, registrytypes.MsgReserveAuthority{ Name: authorityName, Signer: suite.accounts[0].String(), Owner: suite.accounts[0].String(), }) sr.NoError(err) - test.req = &nameservicetypes.QueryWhoisRequest{Name: authorityName} + test.req = ®istrytypes.QueryWhoisRequest{Name: authorityName} } resp, err := grpcClient.Whois(context.Background(), test.req) if test.expErr { @@ -331,7 +331,7 @@ func (suite *KeeperTestSuite) TestGrpcQueryWhoIS() { nameAuth := resp.NameAuthority sr.NotNil(nameAuth) sr.Equal(nameAuth.OwnerAddress, suite.accounts[0].String()) - sr.Equal(nameservicetypes.AuthorityActive, nameAuth.Status) + sr.Equal(registrytypes.AuthorityActive, nameAuth.Status) } } }) diff --git a/x/nameservice/keeper/invariants.go b/x/registry/keeper/invariants.go similarity index 89% rename from x/nameservice/keeper/invariants.go rename to x/registry/keeper/invariants.go index cb1b5a85..7708b447 100644 --- a/x/nameservice/keeper/invariants.go +++ b/x/registry/keeper/invariants.go @@ -1,11 +1,11 @@ package keeper import ( - "github.com/cerc-io/laconicd/x/nameservice/types" + "github.com/cerc-io/laconicd/x/registry/types" sdk "github.com/cosmos/cosmos-sdk/types" ) -// RegisterInvariants registers all nameservice module invariants. +// RegisterInvariants registers all registry module invariants. func RegisterInvariants(ir sdk.InvariantRegistry, k Keeper) { ir.RegisterRoute(types.ModuleName, "record", RecordInvariants(k)) } diff --git a/x/nameservice/keeper/keeper.go b/x/registry/keeper/keeper.go similarity index 98% rename from x/nameservice/keeper/keeper.go rename to x/registry/keeper/keeper.go index 0e774cb6..3c33d9b2 100644 --- a/x/nameservice/keeper/keeper.go +++ b/x/registry/keeper/keeper.go @@ -9,8 +9,8 @@ import ( auctionkeeper "github.com/cerc-io/laconicd/x/auction/keeper" bondkeeper "github.com/cerc-io/laconicd/x/bond/keeper" - "github.com/cerc-io/laconicd/x/nameservice/helpers" - "github.com/cerc-io/laconicd/x/nameservice/types" + "github.com/cerc-io/laconicd/x/registry/helpers" + "github.com/cerc-io/laconicd/x/registry/types" "github.com/cosmos/cosmos-sdk/codec" "github.com/cosmos/cosmos-sdk/codec/legacy" storetypes "github.com/cosmos/cosmos-sdk/store/types" @@ -46,7 +46,7 @@ var ( // PrefixBondIDToAuthoritiesIndex is the prefix for the Bond ID -> [Authority] index. PrefixBondIDToAuthoritiesIndex = []byte{0x06} - // PrefixAttributesIndex is the prefix for the nameservice Record.Attribute -> []Record.ID index + // PrefixAttributesIndex is the prefix for the registry Record.Attribute -> []Record.ID index PrefixAttributesIndex = []byte{0x07} // PrefixExpiryTimeToRecordsIndex is the prefix for the Expiry Time -> [Record] index. @@ -75,7 +75,7 @@ type Keeper struct { paramSubspace paramtypes.Subspace } -// NewKeeper creates new instances of the nameservice Keeper +// NewKeeper creates new instances of the registry Keeper func NewKeeper(cdc codec.BinaryCodec, accountKeeper auth.AccountKeeper, bankKeeper bank.Keeper, recordKeeper RecordKeeper, bondKeeper bondkeeper.Keeper, auctionKeeper auctionkeeper.Keeper, storeKey storetypes.StoreKey, ps paramtypes.Subspace, ) Keeper { @@ -549,7 +549,7 @@ func (k Keeper) TryTakeRecordRent(ctx sdk.Context, record types.Record) { k.AddBondToRecordIndexEntry(ctx, record.BondId, record.Id) } -// GetModuleBalances gets the nameservice module account(s) balances. +// GetModuleBalances gets the registry module account(s) balances. func (k Keeper) GetModuleBalances(ctx sdk.Context) []*types.AccountBalance { var balances []*types.AccountBalance accountNames := []string{types.RecordRentModuleAccountName, types.AuthorityRentModuleAccountName} diff --git a/x/nameservice/keeper/keeper_test.go b/x/registry/keeper/keeper_test.go similarity index 89% rename from x/nameservice/keeper/keeper_test.go rename to x/registry/keeper/keeper_test.go index 307a72a3..7e5b06da 100644 --- a/x/nameservice/keeper/keeper_test.go +++ b/x/registry/keeper/keeper_test.go @@ -6,8 +6,8 @@ import ( "github.com/cerc-io/laconicd/app" bondtypes "github.com/cerc-io/laconicd/x/bond/types" - nameservicekeeper "github.com/cerc-io/laconicd/x/nameservice/keeper" - "github.com/cerc-io/laconicd/x/nameservice/types" + registrykeeper "github.com/cerc-io/laconicd/x/registry/keeper" + "github.com/cerc-io/laconicd/x/registry/types" "github.com/cosmos/cosmos-sdk/baseapp" "github.com/cosmos/cosmos-sdk/simapp" sdk "github.com/cosmos/cosmos-sdk/types" @@ -34,7 +34,7 @@ func (suite *KeeperTestSuite) SetupTest() { }) ctx := testApp.BaseApp.NewContext(false, tmproto.Header{}) - querier := nameservicekeeper.Querier{Keeper: testApp.NameServiceKeeper} + querier := registrykeeper.Querier{Keeper: testApp.RegistryKeeper} queryHelper := baseapp.NewQueryServerTestHelper(ctx, testApp.InterfaceRegistry()) types.RegisterQueryServer(queryHelper, querier) @@ -64,7 +64,7 @@ func TestParams(t *testing.T) { ctx := testApp.BaseApp.NewContext(false, tmproto.Header{}) expParams := types.DefaultParams() - params := testApp.NameServiceKeeper.GetParams(ctx) + params := testApp.RegistryKeeper.GetParams(ctx) require.True(t, params.Equal(expParams)) } diff --git a/x/nameservice/keeper/msg_server.go b/x/registry/keeper/msg_server.go similarity index 99% rename from x/nameservice/keeper/msg_server.go rename to x/registry/keeper/msg_server.go index bd5a1f8a..775b6c6e 100644 --- a/x/nameservice/keeper/msg_server.go +++ b/x/registry/keeper/msg_server.go @@ -3,7 +3,7 @@ package keeper import ( "context" - "github.com/cerc-io/laconicd/x/nameservice/types" + "github.com/cerc-io/laconicd/x/registry/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/nameservice/keeper/naming_keeper.go b/x/registry/keeper/naming_keeper.go similarity index 99% rename from x/nameservice/keeper/naming_keeper.go rename to x/registry/keeper/naming_keeper.go index 341ede61..3c2c8568 100644 --- a/x/nameservice/keeper/naming_keeper.go +++ b/x/registry/keeper/naming_keeper.go @@ -8,8 +8,8 @@ import ( "time" auctiontypes "github.com/cerc-io/laconicd/x/auction/types" - "github.com/cerc-io/laconicd/x/nameservice/helpers" - "github.com/cerc-io/laconicd/x/nameservice/types" + "github.com/cerc-io/laconicd/x/registry/helpers" + "github.com/cerc-io/laconicd/x/registry/types" "github.com/cosmos/cosmos-sdk/codec" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" sdk "github.com/cosmos/cosmos-sdk/types" diff --git a/x/nameservice/keeper/params.go b/x/registry/keeper/params.go similarity index 88% rename from x/nameservice/keeper/params.go rename to x/registry/keeper/params.go index 4b40f3e9..bb355a71 100644 --- a/x/nameservice/keeper/params.go +++ b/x/registry/keeper/params.go @@ -1,7 +1,7 @@ package keeper import ( - "github.com/cerc-io/laconicd/x/nameservice/types" + "github.com/cerc-io/laconicd/x/registry/types" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/nameservice/keeper/record_keeper.go b/x/registry/keeper/record_keeper.go similarity index 98% rename from x/nameservice/keeper/record_keeper.go rename to x/registry/keeper/record_keeper.go index 14562a59..eaae3b79 100644 --- a/x/nameservice/keeper/record_keeper.go +++ b/x/registry/keeper/record_keeper.go @@ -7,7 +7,7 @@ import ( auctionkeeper "github.com/cerc-io/laconicd/x/auction/keeper" auctiontypes "github.com/cerc-io/laconicd/x/auction/types" bondtypes "github.com/cerc-io/laconicd/x/bond/types" - "github.com/cerc-io/laconicd/x/nameservice/types" + "github.com/cerc-io/laconicd/x/registry/types" "github.com/cosmos/cosmos-sdk/codec" storetypes "github.com/cosmos/cosmos-sdk/store/types" sdk "github.com/cosmos/cosmos-sdk/types" @@ -125,7 +125,7 @@ func (k Keeper) RemoveBondToRecordIndexEntry(ctx sdk.Context, bondID string, id store.Delete(getBondIDToRecordsIndexKey(bondID, id)) } -// NewRecordKeeper creates new instances of the nameservice RecordKeeper +// NewRecordKeeper creates new instances of the registry RecordKeeper func NewRecordKeeper(auctionKeeper auctionkeeper.Keeper, storeKey storetypes.StoreKey, cdc codec.BinaryCodec) RecordKeeper { return RecordKeeper{ auctionKeeper: auctionKeeper, diff --git a/x/nameservice/keeper/sync.go b/x/registry/keeper/sync.go similarity index 96% rename from x/nameservice/keeper/sync.go rename to x/registry/keeper/sync.go index 215ca3b6..89ece478 100644 --- a/x/nameservice/keeper/sync.go +++ b/x/registry/keeper/sync.go @@ -1,8 +1,8 @@ package keeper import ( - "github.com/cerc-io/laconicd/x/nameservice/helpers" - "github.com/cerc-io/laconicd/x/nameservice/types" + "github.com/cerc-io/laconicd/x/registry/helpers" + "github.com/cerc-io/laconicd/x/registry/types" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/x/nameservice/module.go b/x/registry/module.go similarity index 95% rename from x/nameservice/module.go rename to x/registry/module.go index 9ba44a21..b37a49cf 100644 --- a/x/nameservice/module.go +++ b/x/registry/module.go @@ -1,4 +1,4 @@ -package nameservice +package registry import ( "context" @@ -6,10 +6,10 @@ import ( "fmt" "math/rand" // #nosec G702 - "github.com/cerc-io/laconicd/x/nameservice/client/cli" - "github.com/cerc-io/laconicd/x/nameservice/keeper" - "github.com/cerc-io/laconicd/x/nameservice/simulation" - "github.com/cerc-io/laconicd/x/nameservice/types" + "github.com/cerc-io/laconicd/x/registry/client/cli" + "github.com/cerc-io/laconicd/x/registry/keeper" + "github.com/cerc-io/laconicd/x/registry/simulation" + "github.com/cerc-io/laconicd/x/registry/types" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec" codectypes "github.com/cosmos/cosmos-sdk/codec/types" diff --git a/x/nameservice/simulation/genesis.go b/x/registry/simulation/genesis.go similarity index 73% rename from x/nameservice/simulation/genesis.go rename to x/registry/simulation/genesis.go index a00216d4..fba406f6 100644 --- a/x/nameservice/simulation/genesis.go +++ b/x/registry/simulation/genesis.go @@ -7,13 +7,13 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" - "github.com/cerc-io/laconicd/x/nameservice/types" + "github.com/cerc-io/laconicd/x/registry/types" sdk "github.com/cosmos/cosmos-sdk/types" ) // RandomizedGenState generates a random GenesisState func RandomizedGenState(simState *module.SimulationState) { - nameserviceParams := types.NewParams(sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(int64(simState.Rand.Intn(10000000000)))), + registryParams := types.NewParams(sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(int64(simState.Rand.Intn(10000000000)))), time.Duration(simState.Rand.Intn(1000))*time.Second, sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(int64(simState.Rand.Intn(10000000000)))), time.Duration(simState.Rand.Intn(1000))*time.Second, @@ -26,13 +26,13 @@ func RandomizedGenState(simState *module.SimulationState) { sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(int64(simState.Rand.Intn(10000000000)))), ) - nameserviceGenesis := types.NewGenesisState(nameserviceParams, []types.Record{}, []types.AuthorityEntry{}, []types.NameEntry{}) + registryGenesis := types.NewGenesisState(registryParams, []types.Record{}, []types.AuthorityEntry{}, []types.NameEntry{}) - bz, err := json.MarshalIndent(nameserviceGenesis, "", " ") + bz, err := json.MarshalIndent(registryGenesis, "", " ") if err != nil { panic(err) } fmt.Printf("Selected randomly generated %s parameters:\n%s\n", types.ModuleName, bz) - simState.GenState[types.ModuleName] = simState.Cdc.MustMarshalJSON(&nameserviceGenesis) + simState.GenState[types.ModuleName] = simState.Cdc.MustMarshalJSON(®istryGenesis) } diff --git a/x/nameservice/types/attributes.go b/x/registry/types/attributes.go similarity index 100% rename from x/nameservice/types/attributes.go rename to x/registry/types/attributes.go diff --git a/x/nameservice/types/attributes.pb.go b/x/registry/types/attributes.pb.go similarity index 87% rename from x/nameservice/types/attributes.pb.go rename to x/registry/types/attributes.pb.go index f843cdc5..2e46b0b5 100644 --- a/x/nameservice/types/attributes.pb.go +++ b/x/registry/types/attributes.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: vulcanize/nameservice/v1beta1/attributes.proto +// source: vulcanize/registry/v1beta1/attributes.proto package types @@ -34,7 +34,7 @@ func (m *ServiceProviderRegistration) Reset() { *m = ServiceProviderRegi func (m *ServiceProviderRegistration) String() string { return proto.CompactTextString(m) } func (*ServiceProviderRegistration) ProtoMessage() {} func (*ServiceProviderRegistration) Descriptor() ([]byte, []int) { - return fileDescriptor_7f2d1895d048a86a, []int{0} + return fileDescriptor_f305abc771332c96, []int{0} } func (m *ServiceProviderRegistration) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -104,7 +104,7 @@ func (m *X500) Reset() { *m = X500{} } func (m *X500) String() string { return proto.CompactTextString(m) } func (*X500) ProtoMessage() {} func (*X500) Descriptor() ([]byte, []int) { - return fileDescriptor_7f2d1895d048a86a, []int{1} + return fileDescriptor_f305abc771332c96, []int{1} } func (m *X500) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -187,7 +187,7 @@ func (m *WebsiteRegistrationRecord) Reset() { *m = WebsiteRegistrationRe func (m *WebsiteRegistrationRecord) String() string { return proto.CompactTextString(m) } func (*WebsiteRegistrationRecord) ProtoMessage() {} func (*WebsiteRegistrationRecord) Descriptor() ([]byte, []int) { - return fileDescriptor_7f2d1895d048a86a, []int{2} + return fileDescriptor_f305abc771332c96, []int{2} } func (m *WebsiteRegistrationRecord) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -252,58 +252,58 @@ func (m *WebsiteRegistrationRecord) GetType() string { } func init() { - proto.RegisterType((*ServiceProviderRegistration)(nil), "vulcanize.nameservice.v1beta1.ServiceProviderRegistration") - proto.RegisterType((*X500)(nil), "vulcanize.nameservice.v1beta1.X500") - proto.RegisterType((*WebsiteRegistrationRecord)(nil), "vulcanize.nameservice.v1beta1.WebsiteRegistrationRecord") + proto.RegisterType((*ServiceProviderRegistration)(nil), "vulcanize.registry.v1beta1.ServiceProviderRegistration") + proto.RegisterType((*X500)(nil), "vulcanize.registry.v1beta1.X500") + proto.RegisterType((*WebsiteRegistrationRecord)(nil), "vulcanize.registry.v1beta1.WebsiteRegistrationRecord") } func init() { - proto.RegisterFile("vulcanize/nameservice/v1beta1/attributes.proto", fileDescriptor_7f2d1895d048a86a) + proto.RegisterFile("vulcanize/registry/v1beta1/attributes.proto", fileDescriptor_f305abc771332c96) } -var fileDescriptor_7f2d1895d048a86a = []byte{ +var fileDescriptor_f305abc771332c96 = []byte{ // 645 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0x4d, 0x4f, 0x14, 0x31, - 0x18, 0xc7, 0x59, 0x76, 0x81, 0x50, 0x30, 0xc1, 0x46, 0xe3, 0x22, 0xb2, 0x03, 0x4b, 0x0c, 0x24, - 0xc4, 0x99, 0x45, 0x42, 0x62, 0xf4, 0xc4, 0x8b, 0x89, 0x9b, 0x18, 0x43, 0x0a, 0x46, 0xe3, 0x65, - 0xec, 0x74, 0xea, 0x5a, 0x33, 0x3b, 0x25, 0x9d, 0xce, 0x86, 0xf5, 0x03, 0x78, 0xf6, 0x43, 0xf8, - 0x01, 0xfc, 0x18, 0x1e, 0x39, 0x7a, 0x9a, 0x18, 0x38, 0x79, 0x9d, 0x4f, 0x60, 0xda, 0xce, 0xcc, - 0x76, 0xd9, 0x40,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, 0x3e, 0xa1, 0xc2, 0xc0, 0xeb, 0x57, 0x9f, 0xc6, 0xeb, 0x17, 0xc7, 0xfb, 0x54, 0xd8, 0x58, + 0x4b, 0x41, 0x40, 0x46, 0x89, 0x1e, 0xb0, 0xb0, 0x7a, 0x9e, 0x33, 0xff, 0xf9, 0x3c, 0xf7, 0x9e, + 0xfd, 0x3c, 0x6f, 0x3a, 0x67, 0xe7, 0x4d, 0xe7, 0xf7, 0x79, 0xd3, 0xf9, 0x76, 0xd1, 0x9c, 0x3a, + 0xbb, 0x68, 0x4e, 0xfd, 0xba, 0x68, 0x4e, 0xbd, 0xbf, 0xdf, 0x63, 0xf2, 0x53, 0x1a, 0x74, 0x08, + 0xef, 0x7b, 0x84, 0x0a, 0xf2, 0x80, 0x71, 0xaf, 0xf8, 0x5a, 0x42, 0xef, 0x74, 0xf4, 0x9f, 0x2a, + 0x4c, 0x12, 0xcc, 0xea, 0x1f, 0x71, 0xfb, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x77, 0x12, 0xbc, + 0x04, 0x72, 0x05, 0x00, 0x00, } func (m *ServiceProviderRegistration) Marshal() (dAtA []byte, err error) { diff --git a/x/nameservice/types/codec.go b/x/registry/types/codec.go similarity index 58% rename from x/nameservice/types/codec.go rename to x/registry/types/codec.go index 5b748fbd..1a9dd50e 100644 --- a/x/nameservice/types/codec.go +++ b/x/registry/types/codec.go @@ -11,17 +11,17 @@ import ( // RegisterLegacyAminoCodec registers the necessary x/bond interfaces and concrete types // on the provided LegacyAmino codec. These types are used for Amino JSON serialization. func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { - cdc.RegisterConcrete(&MsgSetName{}, "nameservice/SetName", nil) - cdc.RegisterConcrete(&MsgReserveAuthority{}, "nameservice/ReserveAuthority", nil) - cdc.RegisterConcrete(&MsgDeleteNameAuthority{}, "nameservice/DeleteAuthority", nil) - cdc.RegisterConcrete(&MsgSetAuthorityBond{}, "nameservice/SetAuthorityBond", nil) + cdc.RegisterConcrete(&MsgSetName{}, "registry/SetName", nil) + cdc.RegisterConcrete(&MsgReserveAuthority{}, "registry/ReserveAuthority", nil) + cdc.RegisterConcrete(&MsgDeleteNameAuthority{}, "registry/DeleteAuthority", nil) + cdc.RegisterConcrete(&MsgSetAuthorityBond{}, "registry/SetAuthorityBond", nil) - cdc.RegisterConcrete(&MsgSetRecord{}, "nameservice/SetRecord", nil) - cdc.RegisterConcrete(&MsgRenewRecord{}, "nameservice/RenewRecord", nil) - cdc.RegisterConcrete(&MsgAssociateBond{}, "nameservice/AssociateBond", nil) - cdc.RegisterConcrete(&MsgDissociateBond{}, "nameservice/DissociateBond", nil) - cdc.RegisterConcrete(&MsgDissociateRecords{}, "nameservice/DissociateRecords", nil) - cdc.RegisterConcrete(&MsgReAssociateRecords{}, "nameservice/ReassociateRecords", nil) + cdc.RegisterConcrete(&MsgSetRecord{}, "registry/SetRecord", nil) + cdc.RegisterConcrete(&MsgRenewRecord{}, "registry/RenewRecord", nil) + cdc.RegisterConcrete(&MsgAssociateBond{}, "registry/AssociateBond", nil) + cdc.RegisterConcrete(&MsgDissociateBond{}, "registry/DissociateBond", nil) + cdc.RegisterConcrete(&MsgDissociateRecords{}, "registry/DissociateRecords", nil) + cdc.RegisterConcrete(&MsgReAssociateRecords{}, "registry/ReassociateRecords", nil) } func RegisterInterfaces(registry types.InterfaceRegistry) { @@ -40,13 +40,13 @@ func RegisterInterfaces(registry types.InterfaceRegistry) { ) registry.RegisterInterface( - "vulcanize.nameservice.v1beta1.ServiceProvideRegistration", + "vulcanize.registry.v1beta1.ServiceProvideRegistration", (*Attributes)(nil), &ServiceProviderRegistration{}, ) registry.RegisterInterface( - "vulcanize.nameservice.v1beta1.WebsiteRegistrationRecord", + "vulcanize.registry.v1beta1.WebsiteRegistrationRecord", (*Attributes)(nil), &WebsiteRegistrationRecord{}, ) diff --git a/x/nameservice/types/events.go b/x/registry/types/events.go similarity index 100% rename from x/nameservice/types/events.go rename to x/registry/types/events.go diff --git a/x/nameservice/types/genesis.go b/x/registry/types/genesis.go similarity index 100% rename from x/nameservice/types/genesis.go rename to x/registry/types/genesis.go diff --git a/x/nameservice/types/genesis.pb.go b/x/registry/types/genesis.pb.go similarity index 81% rename from x/nameservice/types/genesis.pb.go rename to x/registry/types/genesis.pb.go index cfdb5e2c..64467a35 100644 --- a/x/nameservice/types/genesis.pb.go +++ b/x/registry/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: vulcanize/nameservice/v1beta1/genesis.proto +// source: vulcanize/registry/v1beta1/genesis.proto package types @@ -23,9 +23,9 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -// GenesisState defines the nameservice module's genesis state. +// GenesisState defines the registry module's genesis state. type GenesisState struct { - // params defines all the params of nameservice module. + // params defines all the params of registry module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` // records Records []Record `protobuf:"bytes,2,rep,name=records,proto3" json:"records" json:"records" yaml:"records"` @@ -39,7 +39,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_fe7037a2b22e67ef, []int{0} + return fileDescriptor_8e599869d3a2e5ff, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -97,37 +97,37 @@ func (m *GenesisState) GetNames() []NameEntry { } func init() { - proto.RegisterType((*GenesisState)(nil), "vulcanize.nameservice.v1beta1.GenesisState") + proto.RegisterType((*GenesisState)(nil), "vulcanize.registry.v1beta1.GenesisState") } func init() { - proto.RegisterFile("vulcanize/nameservice/v1beta1/genesis.proto", fileDescriptor_fe7037a2b22e67ef) + proto.RegisterFile("vulcanize/registry/v1beta1/genesis.proto", fileDescriptor_8e599869d3a2e5ff) } -var fileDescriptor_fe7037a2b22e67ef = []byte{ - // 345 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0xd1, 0xc1, 0x4e, 0xfa, 0x30, - 0x1c, 0x07, 0xf0, 0xed, 0x0f, 0x7f, 0x4c, 0x86, 0xa7, 0xc5, 0xc3, 0x24, 0x61, 0x20, 0x09, 0x09, - 0x89, 0x61, 0x0d, 0x7a, 0xf3, 0xe6, 0x8c, 0x31, 0x5e, 0x8c, 0x99, 0x37, 0x6f, 0xa5, 0xfc, 0x1c, - 0x35, 0xac, 0x25, 0x6d, 0x21, 0xce, 0x83, 0xcf, 0xe0, 0x13, 0xf8, 0x3c, 0x1c, 0x39, 0x7a, 0x22, - 0x06, 0xde, 0xc0, 0x27, 0x30, 0xb4, 0x45, 0xe7, 0x05, 0xbc, 0xad, 0xcb, 0xf7, 0xfb, 0xfd, 0x34, - 0xa9, 0x77, 0x3c, 0x9d, 0x8c, 0x08, 0x66, 0xf4, 0x19, 0x10, 0xc3, 0x19, 0x48, 0x10, 0x53, 0x4a, - 0x00, 0x4d, 0x7b, 0x7d, 0x50, 0xb8, 0x87, 0x52, 0x60, 0x20, 0xa9, 0x8c, 0xc6, 0x82, 0x2b, 0xee, - 0xd7, 0xbf, 0xc3, 0x51, 0x21, 0x1c, 0xd9, 0x70, 0xed, 0x20, 0xe5, 0x29, 0xd7, 0x49, 0xb4, 0xfe, - 0x32, 0xa5, 0x1a, 0xda, 0x2e, 0x14, 0x87, 0x74, 0xa1, 0xf5, 0x56, 0xf2, 0xf6, 0xaf, 0x8c, 0x7b, - 0xa7, 0xb0, 0x02, 0xff, 0xc2, 0xab, 0x8c, 0xb1, 0xc0, 0x99, 0x0c, 0xdc, 0xa6, 0xdb, 0xa9, 0x9e, - 0xb4, 0xa3, 0xad, 0xf7, 0x88, 0x6e, 0x75, 0x38, 0x2e, 0xcf, 0x16, 0x0d, 0x27, 0xb1, 0x55, 0xff, - 0xc1, 0xdb, 0x13, 0x40, 0xb8, 0x18, 0xc8, 0xe0, 0x5f, 0xb3, 0xf4, 0x87, 0x95, 0x44, 0xa7, 0xe3, - 0xf6, 0x7a, 0xe5, 0x73, 0xd1, 0xa8, 0x3f, 0x4a, 0xce, 0xce, 0x5a, 0x76, 0xa3, 0xd5, 0xcc, 0x71, - 0x36, 0xfa, 0x39, 0x26, 0x9b, 0x71, 0xff, 0xc5, 0xab, 0xe2, 0x89, 0x1a, 0x72, 0x41, 0x15, 0x05, - 0x19, 0x94, 0xb4, 0xd5, 0xdd, 0x61, 0x9d, 0xdb, 0x46, 0x7e, 0xc9, 0x94, 0xc8, 0xe3, 0xae, 0x35, - 0xdb, 0xc6, 0x2c, 0xec, 0x6d, 0xdc, 0xe2, 0xaf, 0xa4, 0x08, 0xfa, 0xd8, 0xfb, 0xaf, 0x85, 0xa0, - 0xac, 0xe5, 0xce, 0x0e, 0xf9, 0x06, 0x67, 0x60, 0xd0, 0x23, 0x8b, 0x1e, 0x1a, 0x54, 0x87, 0x37, - 0x9c, 0x39, 0x24, 0x66, 0x39, 0xbe, 0x9e, 0x2d, 0x43, 0x77, 0xbe, 0x0c, 0xdd, 0x8f, 0x65, 0xe8, - 0xbe, 0xae, 0x42, 0x67, 0xbe, 0x0a, 0x9d, 0xf7, 0x55, 0xe8, 0xdc, 0xa3, 0x94, 0xaa, 0xe1, 0xa4, - 0x1f, 0x11, 0x9e, 0x21, 0x02, 0x82, 0x74, 0x29, 0x47, 0x23, 0x4c, 0x38, 0xa3, 0x64, 0x80, 0x9e, - 0x7e, 0xbd, 0xbf, 0xca, 0xc7, 0x20, 0xfb, 0x15, 0xfd, 0xe4, 0xa7, 0x5f, 0x01, 0x00, 0x00, 0xff, - 0xff, 0x38, 0x14, 0xaf, 0x6f, 0x87, 0x02, 0x00, 0x00, +var fileDescriptor_8e599869d3a2e5ff = []byte{ + // 340 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xb1, 0x4e, 0xc2, 0x40, + 0x18, 0x80, 0x5b, 0x41, 0x4c, 0x8a, 0x53, 0xe3, 0x50, 0x49, 0x2c, 0xd8, 0x84, 0x04, 0x8d, 0xf4, + 0x82, 0x6e, 0x4e, 0xda, 0x44, 0xdd, 0x8c, 0xa9, 0x9b, 0x83, 0xc9, 0x71, 0xfc, 0x29, 0x67, 0x68, + 0x8f, 0xdc, 0x1d, 0xc4, 0xea, 0x4b, 0x18, 0x9f, 0x8a, 0x91, 0xd1, 0x89, 0x18, 0x78, 0x03, 0x9f, + 0xc0, 0x70, 0x77, 0x05, 0x16, 0x71, 0xbb, 0xff, 0xf2, 0xfd, 0xdf, 0x37, 0xfc, 0x4e, 0x6b, 0x3c, + 0x1a, 0x10, 0x9c, 0xd1, 0x37, 0x40, 0x1c, 0x12, 0x2a, 0x24, 0xcf, 0xd1, 0xb8, 0xd3, 0x05, 0x89, + 0x3b, 0x28, 0x81, 0x0c, 0x04, 0x15, 0xe1, 0x90, 0x33, 0xc9, 0xdc, 0xda, 0x8a, 0x0c, 0x0b, 0x32, + 0x34, 0x64, 0xed, 0x20, 0x61, 0x09, 0x53, 0x18, 0x5a, 0xbe, 0xf4, 0x46, 0xed, 0x64, 0x8b, 0x7b, + 0xa5, 0x50, 0x68, 0xf0, 0x59, 0x72, 0xf6, 0xef, 0x74, 0xee, 0x51, 0x62, 0x09, 0xee, 0x95, 0x53, + 0x19, 0x62, 0x8e, 0x53, 0xe1, 0xd9, 0x0d, 0xbb, 0x55, 0x3d, 0x0f, 0xc2, 0xbf, 0xf3, 0xe1, 0x83, + 0x22, 0xa3, 0xf2, 0x64, 0x56, 0xb7, 0x62, 0xb3, 0xe7, 0x12, 0x67, 0x8f, 0x03, 0x61, 0xbc, 0x27, + 0xbc, 0x9d, 0x46, 0xe9, 0x3f, 0x45, 0xac, 0xd0, 0xa8, 0xb9, 0x54, 0xfc, 0xcc, 0xea, 0x47, 0x2f, + 0x82, 0x65, 0x97, 0x81, 0x11, 0x04, 0x8d, 0x1c, 0xa7, 0x83, 0xf5, 0x18, 0x17, 0x66, 0xf7, 0xdd, + 0xa9, 0xe2, 0x91, 0xec, 0x33, 0x4e, 0x25, 0x05, 0xe1, 0x95, 0x54, 0xe8, 0x74, 0x5b, 0xe8, 0xda, + 0xe0, 0xf9, 0x4d, 0x26, 0x79, 0x1e, 0xb5, 0x4d, 0xb0, 0xa9, 0x83, 0x1b, 0xb2, 0x22, 0xba, 0xf9, + 0x15, 0x6f, 0xd6, 0xdc, 0x67, 0x67, 0x37, 0xc3, 0x29, 0x08, 0xaf, 0xac, 0xb2, 0xcd, 0x6d, 0xd9, + 0x7b, 0x9c, 0x82, 0x2e, 0x1e, 0x9b, 0xe2, 0xa1, 0x2e, 0x2a, 0x43, 0xd1, 0xd2, 0x43, 0xac, 0xb5, + 0xd1, 0xed, 0x64, 0xee, 0xdb, 0xd3, 0xb9, 0x6f, 0x7f, 0xcf, 0x7d, 0xfb, 0x63, 0xe1, 0x5b, 0xd3, + 0x85, 0x6f, 0x7d, 0x2d, 0x7c, 0xeb, 0xe9, 0x2c, 0xa1, 0xb2, 0x3f, 0xea, 0x86, 0x84, 0xa5, 0x88, + 0x00, 0x27, 0x6d, 0xca, 0xd0, 0x00, 0x13, 0x96, 0x51, 0xd2, 0x43, 0xaf, 0xeb, 0x6b, 0xcb, 0x7c, + 0x08, 0xa2, 0x5b, 0x51, 0x37, 0xbe, 0xf8, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xba, 0xb2, 0x8e, 0x8c, + 0x6c, 0x02, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/nameservice/types/keys.go b/x/registry/types/keys.go similarity index 95% rename from x/nameservice/types/keys.go rename to x/registry/types/keys.go index 5e142cab..8b2336d2 100644 --- a/x/nameservice/types/keys.go +++ b/x/registry/types/keys.go @@ -2,7 +2,7 @@ package types const ( // ModuleName is the name of the staking module - ModuleName = "nameservice" + ModuleName = "registry" // RecordRentModuleAccountName is the name of the module account that keeps track of record rents paid. RecordRentModuleAccountName = "record_rent" diff --git a/x/nameservice/types/msg.go b/x/registry/types/msg.go similarity index 100% rename from x/nameservice/types/msg.go rename to x/registry/types/msg.go diff --git a/x/nameservice/types/params.go b/x/registry/types/params.go similarity index 100% rename from x/nameservice/types/params.go rename to x/registry/types/params.go diff --git a/x/nameservice/types/query.pb.go b/x/registry/types/query.pb.go similarity index 88% rename from x/nameservice/types/query.pb.go rename to x/registry/types/query.pb.go index 0fc272f6..7292c9f0 100644 --- a/x/nameservice/types/query.pb.go +++ b/x/registry/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: vulcanize/nameservice/v1beta1/query.proto +// source: vulcanize/registry/v1beta1/query.proto package types @@ -33,7 +33,7 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -// QueryParamsRequest is request type for nameservice params +// QueryParamsRequest is request type for registry params type QueryParamsRequest struct { } @@ -41,7 +41,7 @@ func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} } func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) } func (*QueryParamsRequest) ProtoMessage() {} func (*QueryParamsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_73d2465766c8f876, []int{0} + return fileDescriptor_dfadc1ce52446f26, []int{0} } func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -70,7 +70,7 @@ func (m *QueryParamsRequest) XXX_DiscardUnknown() { var xxx_messageInfo_QueryParamsRequest proto.InternalMessageInfo -// QueryParamsResponse is response type for nameservice params +// QueryParamsResponse is response type for registry params type QueryParamsResponse struct { Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` } @@ -79,7 +79,7 @@ func (m *QueryParamsResponse) Reset() { *m = QueryParamsResponse{} } func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) } func (*QueryParamsResponse) ProtoMessage() {} func (*QueryParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_73d2465766c8f876, []int{1} + return fileDescriptor_dfadc1ce52446f26, []int{1} } func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -115,7 +115,7 @@ func (m *QueryParamsResponse) GetParams() *Params { return nil } -// QueryListRecordsRequest is request type for nameservice records list +// QueryListRecordsRequest is request type for registry records list type QueryListRecordsRequest struct { Attributes []*QueryListRecordsRequest_KeyValueInput `protobuf:"bytes,1,rep,name=attributes,proto3" json:"attributes,omitempty"` All bool `protobuf:"varint,2,opt,name=all,proto3" json:"all,omitempty"` @@ -127,7 +127,7 @@ func (m *QueryListRecordsRequest) Reset() { *m = QueryListRecordsRequest func (m *QueryListRecordsRequest) String() string { return proto.CompactTextString(m) } func (*QueryListRecordsRequest) ProtoMessage() {} func (*QueryListRecordsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_73d2465766c8f876, []int{2} + return fileDescriptor_dfadc1ce52446f26, []int{2} } func (m *QueryListRecordsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -187,7 +187,7 @@ func (m *QueryListRecordsRequest_ReferenceInput) Reset() { func (m *QueryListRecordsRequest_ReferenceInput) String() string { return proto.CompactTextString(m) } func (*QueryListRecordsRequest_ReferenceInput) ProtoMessage() {} func (*QueryListRecordsRequest_ReferenceInput) Descriptor() ([]byte, []int) { - return fileDescriptor_73d2465766c8f876, []int{2, 0} + return fileDescriptor_dfadc1ce52446f26, []int{2, 0} } func (m *QueryListRecordsRequest_ReferenceInput) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -237,7 +237,7 @@ func (m *QueryListRecordsRequest_ValueInput) Reset() { *m = QueryListRec func (m *QueryListRecordsRequest_ValueInput) String() string { return proto.CompactTextString(m) } func (*QueryListRecordsRequest_ValueInput) ProtoMessage() {} func (*QueryListRecordsRequest_ValueInput) Descriptor() ([]byte, []int) { - return fileDescriptor_73d2465766c8f876, []int{2, 1} + return fileDescriptor_dfadc1ce52446f26, []int{2, 1} } func (m *QueryListRecordsRequest_ValueInput) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -324,7 +324,7 @@ func (m *QueryListRecordsRequest_KeyValueInput) Reset() { *m = QueryList func (m *QueryListRecordsRequest_KeyValueInput) String() string { return proto.CompactTextString(m) } func (*QueryListRecordsRequest_KeyValueInput) ProtoMessage() {} func (*QueryListRecordsRequest_KeyValueInput) Descriptor() ([]byte, []int) { - return fileDescriptor_73d2465766c8f876, []int{2, 2} + return fileDescriptor_dfadc1ce52446f26, []int{2, 2} } func (m *QueryListRecordsRequest_KeyValueInput) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -367,7 +367,7 @@ func (m *QueryListRecordsRequest_KeyValueInput) GetValue() *QueryListRecordsRequ return nil } -// QueryListRecordsResponse is response type for nameservice records list +// QueryListRecordsResponse is response type for registry records list type QueryListRecordsResponse struct { Records []Record `protobuf:"bytes,1,rep,name=records,proto3" json:"records"` // pagination defines the pagination in the response. @@ -378,7 +378,7 @@ func (m *QueryListRecordsResponse) Reset() { *m = QueryListRecordsRespon func (m *QueryListRecordsResponse) String() string { return proto.CompactTextString(m) } func (*QueryListRecordsResponse) ProtoMessage() {} func (*QueryListRecordsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_73d2465766c8f876, []int{3} + return fileDescriptor_dfadc1ce52446f26, []int{3} } func (m *QueryListRecordsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -421,7 +421,7 @@ func (m *QueryListRecordsResponse) GetPagination() *query.PageResponse { return nil } -// QueryRecordByIDRequest is request type for nameservice records by id +// QueryRecordByIDRequest is request type for registry records by id type QueryRecordByIDRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } @@ -430,7 +430,7 @@ func (m *QueryRecordByIDRequest) Reset() { *m = QueryRecordByIDRequest{} func (m *QueryRecordByIDRequest) String() string { return proto.CompactTextString(m) } func (*QueryRecordByIDRequest) ProtoMessage() {} func (*QueryRecordByIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_73d2465766c8f876, []int{4} + return fileDescriptor_dfadc1ce52446f26, []int{4} } func (m *QueryRecordByIDRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -466,7 +466,7 @@ func (m *QueryRecordByIDRequest) GetId() string { return "" } -// QueryRecordByIDResponse is response type for nameservice records by id +// QueryRecordByIDResponse is response type for registry records by id type QueryRecordByIDResponse struct { Record Record `protobuf:"bytes,1,opt,name=record,proto3" json:"record"` } @@ -475,7 +475,7 @@ func (m *QueryRecordByIDResponse) Reset() { *m = QueryRecordByIDResponse func (m *QueryRecordByIDResponse) String() string { return proto.CompactTextString(m) } func (*QueryRecordByIDResponse) ProtoMessage() {} func (*QueryRecordByIDResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_73d2465766c8f876, []int{5} + return fileDescriptor_dfadc1ce52446f26, []int{5} } func (m *QueryRecordByIDResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -522,7 +522,7 @@ func (m *QueryRecordByBondIDRequest) Reset() { *m = QueryRecordByBondIDR func (m *QueryRecordByBondIDRequest) String() string { return proto.CompactTextString(m) } func (*QueryRecordByBondIDRequest) ProtoMessage() {} func (*QueryRecordByBondIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_73d2465766c8f876, []int{6} + return fileDescriptor_dfadc1ce52446f26, []int{6} } func (m *QueryRecordByBondIDRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -576,7 +576,7 @@ func (m *QueryRecordByBondIDResponse) Reset() { *m = QueryRecordByBondID func (m *QueryRecordByBondIDResponse) String() string { return proto.CompactTextString(m) } func (*QueryRecordByBondIDResponse) ProtoMessage() {} func (*QueryRecordByBondIDResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_73d2465766c8f876, []int{7} + return fileDescriptor_dfadc1ce52446f26, []int{7} } func (m *QueryRecordByBondIDResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -619,22 +619,22 @@ func (m *QueryRecordByBondIDResponse) GetPagination() *query.PageResponse { return nil } -// GetNameServiceModuleBalanceRequest is request type for nameservice module accounts balance -type GetNameServiceModuleBalanceRequest struct { +// GetRegistryModuleBalanceRequest is request type for registry module accounts balance +type GetRegistryModuleBalanceRequest struct { } -func (m *GetNameServiceModuleBalanceRequest) Reset() { *m = GetNameServiceModuleBalanceRequest{} } -func (m *GetNameServiceModuleBalanceRequest) String() string { return proto.CompactTextString(m) } -func (*GetNameServiceModuleBalanceRequest) ProtoMessage() {} -func (*GetNameServiceModuleBalanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_73d2465766c8f876, []int{8} +func (m *GetRegistryModuleBalanceRequest) Reset() { *m = GetRegistryModuleBalanceRequest{} } +func (m *GetRegistryModuleBalanceRequest) String() string { return proto.CompactTextString(m) } +func (*GetRegistryModuleBalanceRequest) ProtoMessage() {} +func (*GetRegistryModuleBalanceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_dfadc1ce52446f26, []int{8} } -func (m *GetNameServiceModuleBalanceRequest) XXX_Unmarshal(b []byte) error { +func (m *GetRegistryModuleBalanceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetNameServiceModuleBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GetRegistryModuleBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetNameServiceModuleBalanceRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_GetRegistryModuleBalanceRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -644,35 +644,35 @@ func (m *GetNameServiceModuleBalanceRequest) XXX_Marshal(b []byte, deterministic return b[:n], nil } } -func (m *GetNameServiceModuleBalanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNameServiceModuleBalanceRequest.Merge(m, src) +func (m *GetRegistryModuleBalanceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetRegistryModuleBalanceRequest.Merge(m, src) } -func (m *GetNameServiceModuleBalanceRequest) XXX_Size() int { +func (m *GetRegistryModuleBalanceRequest) XXX_Size() int { return m.Size() } -func (m *GetNameServiceModuleBalanceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetNameServiceModuleBalanceRequest.DiscardUnknown(m) +func (m *GetRegistryModuleBalanceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetRegistryModuleBalanceRequest.DiscardUnknown(m) } -var xxx_messageInfo_GetNameServiceModuleBalanceRequest proto.InternalMessageInfo +var xxx_messageInfo_GetRegistryModuleBalanceRequest proto.InternalMessageInfo -// GetNameServiceModuleBalanceResponse is response type for nameservice module accounts balance -type GetNameServiceModuleBalanceResponse struct { +// GetRegistryModuleBalanceResponse is response type for registry module accounts balance +type GetRegistryModuleBalanceResponse struct { Balances []*AccountBalance `protobuf:"bytes,1,rep,name=balances,proto3" json:"balances,omitempty"` } -func (m *GetNameServiceModuleBalanceResponse) Reset() { *m = GetNameServiceModuleBalanceResponse{} } -func (m *GetNameServiceModuleBalanceResponse) String() string { return proto.CompactTextString(m) } -func (*GetNameServiceModuleBalanceResponse) ProtoMessage() {} -func (*GetNameServiceModuleBalanceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_73d2465766c8f876, []int{9} +func (m *GetRegistryModuleBalanceResponse) Reset() { *m = GetRegistryModuleBalanceResponse{} } +func (m *GetRegistryModuleBalanceResponse) String() string { return proto.CompactTextString(m) } +func (*GetRegistryModuleBalanceResponse) ProtoMessage() {} +func (*GetRegistryModuleBalanceResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_dfadc1ce52446f26, []int{9} } -func (m *GetNameServiceModuleBalanceResponse) XXX_Unmarshal(b []byte) error { +func (m *GetRegistryModuleBalanceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetNameServiceModuleBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GetRegistryModuleBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetNameServiceModuleBalanceResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_GetRegistryModuleBalanceResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -682,26 +682,26 @@ func (m *GetNameServiceModuleBalanceResponse) XXX_Marshal(b []byte, deterministi return b[:n], nil } } -func (m *GetNameServiceModuleBalanceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetNameServiceModuleBalanceResponse.Merge(m, src) +func (m *GetRegistryModuleBalanceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetRegistryModuleBalanceResponse.Merge(m, src) } -func (m *GetNameServiceModuleBalanceResponse) XXX_Size() int { +func (m *GetRegistryModuleBalanceResponse) XXX_Size() int { return m.Size() } -func (m *GetNameServiceModuleBalanceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetNameServiceModuleBalanceResponse.DiscardUnknown(m) +func (m *GetRegistryModuleBalanceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetRegistryModuleBalanceResponse.DiscardUnknown(m) } -var xxx_messageInfo_GetNameServiceModuleBalanceResponse proto.InternalMessageInfo +var xxx_messageInfo_GetRegistryModuleBalanceResponse proto.InternalMessageInfo -func (m *GetNameServiceModuleBalanceResponse) GetBalances() []*AccountBalance { +func (m *GetRegistryModuleBalanceResponse) GetBalances() []*AccountBalance { if m != nil { return m.Balances } return nil } -// AccountBalance is nameservice module account balance +// AccountBalance is registry module account balance type AccountBalance struct { AccountName string `protobuf:"bytes,1,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty" json:"accountName" yaml:"accountName"` Balance github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=balance,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"balance" json:"balance" yaml:"balance"` @@ -711,7 +711,7 @@ func (m *AccountBalance) Reset() { *m = AccountBalance{} } func (m *AccountBalance) String() string { return proto.CompactTextString(m) } func (*AccountBalance) ProtoMessage() {} func (*AccountBalance) Descriptor() ([]byte, []int) { - return fileDescriptor_73d2465766c8f876, []int{10} + return fileDescriptor_dfadc1ce52446f26, []int{10} } func (m *AccountBalance) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -754,7 +754,7 @@ func (m *AccountBalance) GetBalance() github_com_cosmos_cosmos_sdk_types.Coins { return nil } -// QueryListNameRecordsRequest is request type for nameservice names records +// QueryListNameRecordsRequest is request type for registry names records type QueryListNameRecordsRequest struct { // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` @@ -764,7 +764,7 @@ func (m *QueryListNameRecordsRequest) Reset() { *m = QueryListNameRecord func (m *QueryListNameRecordsRequest) String() string { return proto.CompactTextString(m) } func (*QueryListNameRecordsRequest) ProtoMessage() {} func (*QueryListNameRecordsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_73d2465766c8f876, []int{11} + return fileDescriptor_dfadc1ce52446f26, []int{11} } func (m *QueryListNameRecordsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -800,7 +800,7 @@ func (m *QueryListNameRecordsRequest) GetPagination() *query.PageRequest { return nil } -// QueryListNameRecordsResponse is response type for nameservice names records +// QueryListNameRecordsResponse is response type for registry names records type QueryListNameRecordsResponse struct { Names []NameEntry `protobuf:"bytes,1,rep,name=names,proto3" json:"names"` // pagination defines the pagination in the response. @@ -811,7 +811,7 @@ func (m *QueryListNameRecordsResponse) Reset() { *m = QueryListNameRecor func (m *QueryListNameRecordsResponse) String() string { return proto.CompactTextString(m) } func (*QueryListNameRecordsResponse) ProtoMessage() {} func (*QueryListNameRecordsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_73d2465766c8f876, []int{12} + return fileDescriptor_dfadc1ce52446f26, []int{12} } func (m *QueryListNameRecordsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -863,7 +863,7 @@ func (m *QueryWhoisRequest) Reset() { *m = QueryWhoisRequest{} } func (m *QueryWhoisRequest) String() string { return proto.CompactTextString(m) } func (*QueryWhoisRequest) ProtoMessage() {} func (*QueryWhoisRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_73d2465766c8f876, []int{13} + return fileDescriptor_dfadc1ce52446f26, []int{13} } func (m *QueryWhoisRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -908,7 +908,7 @@ func (m *QueryWhoisResponse) Reset() { *m = QueryWhoisResponse{} } func (m *QueryWhoisResponse) String() string { return proto.CompactTextString(m) } func (*QueryWhoisResponse) ProtoMessage() {} func (*QueryWhoisResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_73d2465766c8f876, []int{14} + return fileDescriptor_dfadc1ce52446f26, []int{14} } func (m *QueryWhoisResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -953,7 +953,7 @@ func (m *QueryLookupCrn) Reset() { *m = QueryLookupCrn{} } func (m *QueryLookupCrn) String() string { return proto.CompactTextString(m) } func (*QueryLookupCrn) ProtoMessage() {} func (*QueryLookupCrn) Descriptor() ([]byte, []int) { - return fileDescriptor_73d2465766c8f876, []int{15} + return fileDescriptor_dfadc1ce52446f26, []int{15} } func (m *QueryLookupCrn) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -998,7 +998,7 @@ func (m *QueryLookupCrnResponse) Reset() { *m = QueryLookupCrnResponse{} func (m *QueryLookupCrnResponse) String() string { return proto.CompactTextString(m) } func (*QueryLookupCrnResponse) ProtoMessage() {} func (*QueryLookupCrnResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_73d2465766c8f876, []int{16} + return fileDescriptor_dfadc1ce52446f26, []int{16} } func (m *QueryLookupCrnResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1043,7 +1043,7 @@ func (m *QueryResolveCrn) Reset() { *m = QueryResolveCrn{} } func (m *QueryResolveCrn) String() string { return proto.CompactTextString(m) } func (*QueryResolveCrn) ProtoMessage() {} func (*QueryResolveCrn) Descriptor() ([]byte, []int) { - return fileDescriptor_73d2465766c8f876, []int{17} + return fileDescriptor_dfadc1ce52446f26, []int{17} } func (m *QueryResolveCrn) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1088,7 +1088,7 @@ func (m *QueryResolveCrnResponse) Reset() { *m = QueryResolveCrnResponse func (m *QueryResolveCrnResponse) String() string { return proto.CompactTextString(m) } func (*QueryResolveCrnResponse) ProtoMessage() {} func (*QueryResolveCrnResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_73d2465766c8f876, []int{18} + return fileDescriptor_dfadc1ce52446f26, []int{18} } func (m *QueryResolveCrnResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1134,7 +1134,7 @@ func (m *QueryGetRecordExpiryQueue) Reset() { *m = QueryGetRecordExpiryQ func (m *QueryGetRecordExpiryQueue) String() string { return proto.CompactTextString(m) } func (*QueryGetRecordExpiryQueue) ProtoMessage() {} func (*QueryGetRecordExpiryQueue) Descriptor() ([]byte, []int) { - return fileDescriptor_73d2465766c8f876, []int{19} + return fileDescriptor_dfadc1ce52446f26, []int{19} } func (m *QueryGetRecordExpiryQueue) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1181,7 +1181,7 @@ func (m *QueryGetRecordExpiryQueueResponse) Reset() { *m = QueryGetRecor func (m *QueryGetRecordExpiryQueueResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetRecordExpiryQueueResponse) ProtoMessage() {} func (*QueryGetRecordExpiryQueueResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_73d2465766c8f876, []int{20} + return fileDescriptor_dfadc1ce52446f26, []int{20} } func (m *QueryGetRecordExpiryQueueResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1234,7 +1234,7 @@ func (m *ExpiryQueueRecord) Reset() { *m = ExpiryQueueRecord{} } func (m *ExpiryQueueRecord) String() string { return proto.CompactTextString(m) } func (*ExpiryQueueRecord) ProtoMessage() {} func (*ExpiryQueueRecord) Descriptor() ([]byte, []int) { - return fileDescriptor_73d2465766c8f876, []int{21} + return fileDescriptor_dfadc1ce52446f26, []int{21} } func (m *ExpiryQueueRecord) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1287,7 +1287,7 @@ func (m *QueryGetAuthorityExpiryQueue) Reset() { *m = QueryGetAuthorityE func (m *QueryGetAuthorityExpiryQueue) String() string { return proto.CompactTextString(m) } func (*QueryGetAuthorityExpiryQueue) ProtoMessage() {} func (*QueryGetAuthorityExpiryQueue) Descriptor() ([]byte, []int) { - return fileDescriptor_73d2465766c8f876, []int{22} + return fileDescriptor_dfadc1ce52446f26, []int{22} } func (m *QueryGetAuthorityExpiryQueue) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1334,7 +1334,7 @@ func (m *QueryGetAuthorityExpiryQueueResponse) Reset() { *m = QueryGetAu func (m *QueryGetAuthorityExpiryQueueResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetAuthorityExpiryQueueResponse) ProtoMessage() {} func (*QueryGetAuthorityExpiryQueueResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_73d2465766c8f876, []int{23} + return fileDescriptor_dfadc1ce52446f26, []int{23} } func (m *QueryGetAuthorityExpiryQueueResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1378,129 +1378,129 @@ func (m *QueryGetAuthorityExpiryQueueResponse) GetPagination() *query.PageRespon } func init() { - proto.RegisterType((*QueryParamsRequest)(nil), "vulcanize.nameservice.v1beta1.QueryParamsRequest") - proto.RegisterType((*QueryParamsResponse)(nil), "vulcanize.nameservice.v1beta1.QueryParamsResponse") - proto.RegisterType((*QueryListRecordsRequest)(nil), "vulcanize.nameservice.v1beta1.QueryListRecordsRequest") - proto.RegisterType((*QueryListRecordsRequest_ReferenceInput)(nil), "vulcanize.nameservice.v1beta1.QueryListRecordsRequest.ReferenceInput") - proto.RegisterType((*QueryListRecordsRequest_ValueInput)(nil), "vulcanize.nameservice.v1beta1.QueryListRecordsRequest.ValueInput") - proto.RegisterType((*QueryListRecordsRequest_KeyValueInput)(nil), "vulcanize.nameservice.v1beta1.QueryListRecordsRequest.KeyValueInput") - proto.RegisterType((*QueryListRecordsResponse)(nil), "vulcanize.nameservice.v1beta1.QueryListRecordsResponse") - proto.RegisterType((*QueryRecordByIDRequest)(nil), "vulcanize.nameservice.v1beta1.QueryRecordByIDRequest") - proto.RegisterType((*QueryRecordByIDResponse)(nil), "vulcanize.nameservice.v1beta1.QueryRecordByIDResponse") - proto.RegisterType((*QueryRecordByBondIDRequest)(nil), "vulcanize.nameservice.v1beta1.QueryRecordByBondIDRequest") - proto.RegisterType((*QueryRecordByBondIDResponse)(nil), "vulcanize.nameservice.v1beta1.QueryRecordByBondIDResponse") - proto.RegisterType((*GetNameServiceModuleBalanceRequest)(nil), "vulcanize.nameservice.v1beta1.GetNameServiceModuleBalanceRequest") - proto.RegisterType((*GetNameServiceModuleBalanceResponse)(nil), "vulcanize.nameservice.v1beta1.GetNameServiceModuleBalanceResponse") - proto.RegisterType((*AccountBalance)(nil), "vulcanize.nameservice.v1beta1.AccountBalance") - proto.RegisterType((*QueryListNameRecordsRequest)(nil), "vulcanize.nameservice.v1beta1.QueryListNameRecordsRequest") - proto.RegisterType((*QueryListNameRecordsResponse)(nil), "vulcanize.nameservice.v1beta1.QueryListNameRecordsResponse") - proto.RegisterType((*QueryWhoisRequest)(nil), "vulcanize.nameservice.v1beta1.QueryWhoisRequest") - proto.RegisterType((*QueryWhoisResponse)(nil), "vulcanize.nameservice.v1beta1.QueryWhoisResponse") - proto.RegisterType((*QueryLookupCrn)(nil), "vulcanize.nameservice.v1beta1.QueryLookupCrn") - proto.RegisterType((*QueryLookupCrnResponse)(nil), "vulcanize.nameservice.v1beta1.QueryLookupCrnResponse") - proto.RegisterType((*QueryResolveCrn)(nil), "vulcanize.nameservice.v1beta1.QueryResolveCrn") - proto.RegisterType((*QueryResolveCrnResponse)(nil), "vulcanize.nameservice.v1beta1.QueryResolveCrnResponse") - proto.RegisterType((*QueryGetRecordExpiryQueue)(nil), "vulcanize.nameservice.v1beta1.QueryGetRecordExpiryQueue") - proto.RegisterType((*QueryGetRecordExpiryQueueResponse)(nil), "vulcanize.nameservice.v1beta1.QueryGetRecordExpiryQueueResponse") - proto.RegisterType((*ExpiryQueueRecord)(nil), "vulcanize.nameservice.v1beta1.ExpiryQueueRecord") - proto.RegisterType((*QueryGetAuthorityExpiryQueue)(nil), "vulcanize.nameservice.v1beta1.QueryGetAuthorityExpiryQueue") - proto.RegisterType((*QueryGetAuthorityExpiryQueueResponse)(nil), "vulcanize.nameservice.v1beta1.QueryGetAuthorityExpiryQueueResponse") + proto.RegisterType((*QueryParamsRequest)(nil), "vulcanize.registry.v1beta1.QueryParamsRequest") + proto.RegisterType((*QueryParamsResponse)(nil), "vulcanize.registry.v1beta1.QueryParamsResponse") + proto.RegisterType((*QueryListRecordsRequest)(nil), "vulcanize.registry.v1beta1.QueryListRecordsRequest") + proto.RegisterType((*QueryListRecordsRequest_ReferenceInput)(nil), "vulcanize.registry.v1beta1.QueryListRecordsRequest.ReferenceInput") + proto.RegisterType((*QueryListRecordsRequest_ValueInput)(nil), "vulcanize.registry.v1beta1.QueryListRecordsRequest.ValueInput") + proto.RegisterType((*QueryListRecordsRequest_KeyValueInput)(nil), "vulcanize.registry.v1beta1.QueryListRecordsRequest.KeyValueInput") + proto.RegisterType((*QueryListRecordsResponse)(nil), "vulcanize.registry.v1beta1.QueryListRecordsResponse") + proto.RegisterType((*QueryRecordByIDRequest)(nil), "vulcanize.registry.v1beta1.QueryRecordByIDRequest") + proto.RegisterType((*QueryRecordByIDResponse)(nil), "vulcanize.registry.v1beta1.QueryRecordByIDResponse") + proto.RegisterType((*QueryRecordByBondIDRequest)(nil), "vulcanize.registry.v1beta1.QueryRecordByBondIDRequest") + proto.RegisterType((*QueryRecordByBondIDResponse)(nil), "vulcanize.registry.v1beta1.QueryRecordByBondIDResponse") + proto.RegisterType((*GetRegistryModuleBalanceRequest)(nil), "vulcanize.registry.v1beta1.GetRegistryModuleBalanceRequest") + proto.RegisterType((*GetRegistryModuleBalanceResponse)(nil), "vulcanize.registry.v1beta1.GetRegistryModuleBalanceResponse") + proto.RegisterType((*AccountBalance)(nil), "vulcanize.registry.v1beta1.AccountBalance") + proto.RegisterType((*QueryListNameRecordsRequest)(nil), "vulcanize.registry.v1beta1.QueryListNameRecordsRequest") + proto.RegisterType((*QueryListNameRecordsResponse)(nil), "vulcanize.registry.v1beta1.QueryListNameRecordsResponse") + proto.RegisterType((*QueryWhoisRequest)(nil), "vulcanize.registry.v1beta1.QueryWhoisRequest") + proto.RegisterType((*QueryWhoisResponse)(nil), "vulcanize.registry.v1beta1.QueryWhoisResponse") + proto.RegisterType((*QueryLookupCrn)(nil), "vulcanize.registry.v1beta1.QueryLookupCrn") + proto.RegisterType((*QueryLookupCrnResponse)(nil), "vulcanize.registry.v1beta1.QueryLookupCrnResponse") + proto.RegisterType((*QueryResolveCrn)(nil), "vulcanize.registry.v1beta1.QueryResolveCrn") + proto.RegisterType((*QueryResolveCrnResponse)(nil), "vulcanize.registry.v1beta1.QueryResolveCrnResponse") + proto.RegisterType((*QueryGetRecordExpiryQueue)(nil), "vulcanize.registry.v1beta1.QueryGetRecordExpiryQueue") + proto.RegisterType((*QueryGetRecordExpiryQueueResponse)(nil), "vulcanize.registry.v1beta1.QueryGetRecordExpiryQueueResponse") + proto.RegisterType((*ExpiryQueueRecord)(nil), "vulcanize.registry.v1beta1.ExpiryQueueRecord") + proto.RegisterType((*QueryGetAuthorityExpiryQueue)(nil), "vulcanize.registry.v1beta1.QueryGetAuthorityExpiryQueue") + proto.RegisterType((*QueryGetAuthorityExpiryQueueResponse)(nil), "vulcanize.registry.v1beta1.QueryGetAuthorityExpiryQueueResponse") } func init() { - proto.RegisterFile("vulcanize/nameservice/v1beta1/query.proto", fileDescriptor_73d2465766c8f876) + proto.RegisterFile("vulcanize/registry/v1beta1/query.proto", fileDescriptor_dfadc1ce52446f26) } -var fileDescriptor_73d2465766c8f876 = []byte{ +var fileDescriptor_dfadc1ce52446f26 = []byte{ // 1411 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0x4b, 0x6c, 0x1b, 0xc5, - 0x1b, 0xcf, 0x24, 0xb1, 0xd3, 0x7c, 0xfe, 0x37, 0xfd, 0x77, 0x88, 0x5a, 0x77, 0xdb, 0x3a, 0x61, - 0xfb, 0x72, 0xa0, 0xde, 0xad, 0x53, 0xfa, 0x16, 0x88, 0x3a, 0x0d, 0x51, 0xa0, 0x20, 0xba, 0x20, - 0x0a, 0x1c, 0xa8, 0xd6, 0xeb, 0xa9, 0xbb, 0x74, 0x3d, 0xe3, 0xee, 0x23, 0xd4, 0xad, 0x7a, 0xe1, - 0xd0, 0x33, 0x12, 0x67, 0x10, 0x48, 0x9c, 0x2a, 0x01, 0x17, 0x0e, 0x15, 0x57, 0x2e, 0x15, 0xa7, - 0x4a, 0x70, 0xe0, 0x54, 0x50, 0x8b, 0xc4, 0xbd, 0x47, 0x4e, 0x68, 0x67, 0x66, 0xd7, 0xbb, 0x8e, - 0x13, 0xaf, 0xdd, 0x20, 0x71, 0xf2, 0xec, 0xec, 0xf7, 0xf8, 0xfd, 0xbe, 0xc7, 0xec, 0x37, 0x86, - 0x85, 0xb5, 0xc0, 0xb1, 0x4c, 0x6a, 0xdf, 0x22, 0x3a, 0x35, 0x5b, 0xc4, 0x23, 0xee, 0x9a, 0x6d, - 0x11, 0x7d, 0xad, 0x5a, 0x27, 0xbe, 0x59, 0xd5, 0x6f, 0x04, 0xc4, 0xed, 0x68, 0x6d, 0x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 0xa8, 0xbc, 0xcd, 0x08, 0x97, 0xf8, 0x35, 0x80, 0x6e, 0x24, 0x8b, 0x13, - 0x9c, 0xd6, 0x61, 0x4d, 0x04, 0x4d, 0x0b, 0x83, 0xa6, 0x89, 0xec, 0x77, 0x29, 0x35, 0x89, 0xf4, - 0x63, 0x24, 0x34, 0x95, 0x79, 0x98, 0x31, 0xc8, 0x55, 0xe2, 0x12, 0x6a, 0x09, 0xbf, 0x78, 0x06, - 0xc6, 0xed, 0x06, 0x0f, 0xd4, 0xb4, 0x31, 0x6e, 0x37, 0x94, 0x1f, 0xc7, 0x01, 0xba, 0xb0, 0x30, - 0x86, 0x49, 0xbf, 0xd3, 0x26, 0x52, 0x80, 0xaf, 0xf1, 0x2e, 0xc8, 0x7b, 0xbe, 0x6b, 0xd3, 0x26, - 0x47, 0x38, 0x6d, 0xc8, 0xa7, 0x10, 0xb6, 0x4d, 0x7d, 0x8e, 0x6e, 0xc2, 0x08, 0x97, 0x78, 0x16, - 0x72, 0x57, 0x1d, 0x66, 0xfa, 0xc5, 0xc9, 0x79, 0x54, 0x46, 0x86, 0x78, 0xc0, 0x45, 0x98, 0xaa, - 0x33, 0xe6, 0x10, 0x93, 0x16, 0x73, 0x9c, 0x62, 0xf4, 0x88, 0x2d, 0x98, 0x76, 0x23, 0x78, 0xc5, - 0x3c, 0x67, 0xb9, 0x3c, 0x62, 0x74, 0xd3, 0x34, 0x8d, 0xae, 0x5d, 0xfc, 0x01, 0xe4, 0xd7, 0x42, - 0x82, 0x5e, 0x71, 0x8a, 0xe7, 0xef, 0xfc, 0x88, 0x1e, 0x12, 0xc9, 0x93, 0x06, 0x95, 0x5b, 0xb0, - 0x3d, 0x95, 0xd5, 0x30, 0x24, 0xd7, 0x49, 0x47, 0x46, 0x2f, 0x5c, 0xe2, 0xcb, 0x90, 0xe3, 0xc2, - 0x3c, 0x76, 0x5b, 0xe2, 0x5c, 0xd8, 0x53, 0xef, 0x21, 0x28, 0xae, 0x97, 0x96, 0x2d, 0xb1, 0x0c, - 0x53, 0xae, 0xd8, 0x92, 0x45, 0x3b, 0xa8, 0x27, 0x84, 0x81, 0xda, 0xe4, 0x83, 0x47, 0x73, 0x63, - 0x46, 0xa4, 0x8b, 0x57, 0x52, 0x65, 0x28, 0x18, 0x1c, 0x19, 0x58, 0x86, 0x02, 0x43, 0xb2, 0x0e, - 0xd5, 0x32, 0xec, 0xe2, 0x58, 0xa5, 0x9b, 0xce, 0xea, 0x85, 0xa8, 0xc3, 0x7a, 0xea, 0x51, 0xfd, - 0x48, 0x36, 0x63, 0x52, 0x52, 0x92, 0x5a, 0x82, 0xbc, 0x00, 0x96, 0xb1, 0xcf, 0x53, 0x9c, 0xa4, - 0xaa, 0xea, 0x83, 0x92, 0xb2, 0x5f, 0x63, 0xb4, 0xb1, 0x21, 0x9a, 0x9e, 0x3e, 0x1c, 0x1f, 0xb5, - 0x0f, 0xd5, 0x6f, 0x11, 0xec, 0xed, 0xeb, 0xf6, 0x3f, 0x9a, 0xaf, 0x83, 0xa0, 0xae, 0x10, 0xff, - 0x2d, 0xb3, 0x45, 0xde, 0x11, 0x8e, 0xdf, 0x64, 0x8d, 0xc0, 0x21, 0x35, 0xd3, 0x31, 0xa9, 0x15, - 0x31, 0x54, 0xdb, 0x70, 0x60, 0x53, 0x29, 0x49, 0x6e, 0x15, 0xb6, 0xd5, 0xc5, 0x56, 0xc4, 0xae, - 0x32, 0x80, 0xdd, 0x79, 0xcb, 0x62, 0x01, 0xf5, 0x23, 0x43, 0xb1, 0xba, 0xfa, 0x17, 0x82, 0x99, - 0xf4, 0x4b, 0x7c, 0x11, 0xfe, 0x67, 0x8a, 0x9d, 0x2b, 0xa1, 0x29, 0x91, 0xbc, 0xda, 0xc2, 0xd3, - 0x47, 0x73, 0x87, 0x3e, 0xf6, 0x18, 0x3d, 0xab, 0xca, 0xb7, 0x21, 0x4c, 0x75, 0xbe, 0x63, 0xb6, - 0x9c, 0xf4, 0x96, 0x51, 0x48, 0x3c, 0x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x29, + 0x2f, 0x0e, 0x04, 0x8b, 0xb9, 0xcf, 0x33, 0xee, 0x47, 0xf0, 0x6c, 0xef, 0xae, 0x50, 0x26, 0x0c, + 0x8f, 0x7f, 0x45, 0xb0, 0xbb, 0xd3, 0x4d, 0x7f, 0x32, 0x0b, 0x9b, 0x76, 0x48, 0xe5, 0xcc, 0xa0, + 0xc8, 0xd8, 0x95, 0x63, 0xcc, 0x15, 0x0d, 0x1f, 0xed, 0xe6, 0x4a, 0x3c, 0x75, 0x0b, 0x6f, 0x2a, + 0xe7, 0xef, 0x3f, 0x2a, 0xa2, 0x07, 0x8f, 0x8a, 0xe8, 0xcf, 0x47, 0x45, 0xf4, 0xf1, 0x7a, 0x71, + 0xe8, 0xc1, 0x7a, 0x71, 0xe8, 0xf7, 0xf5, 0xe2, 0xd0, 0xdb, 0x47, 0x93, 0x1f, 0x4c, 0xc4, 0xb3, + 0xca, 0x36, 0xd5, 0x1d, 0xd3, 0xa2, 0xae, 0x6d, 0xd5, 0xf4, 0xdb, 0x2d, 0xd5, 0xec, 0xd3, 0xa9, + 0x9a, 0x67, 0xff, 0x09, 0x2e, 0xfe, 0x13, 0x00, 0x00, 0xff, 0xff, 0x6a, 0xbd, 0x35, 0xd0, 0x04, 0x15, 0x00, 0x00, } @@ -1516,7 +1516,7 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type QueryClient interface { - // Params queries the nameservice module params. + // Params queries the registry module params. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // List records ListRecords(ctx context.Context, in *QueryListRecordsRequest, opts ...grpc.CallOption) (*QueryListRecordsResponse, error) @@ -1524,8 +1524,8 @@ type QueryClient interface { GetRecord(ctx context.Context, in *QueryRecordByIDRequest, opts ...grpc.CallOption) (*QueryRecordByIDResponse, error) // Get records by bond id GetRecordByBondID(ctx context.Context, in *QueryRecordByBondIDRequest, opts ...grpc.CallOption) (*QueryRecordByBondIDResponse, error) - // Get nameservice module balance - GetNameServiceModuleBalance(ctx context.Context, in *GetNameServiceModuleBalanceRequest, opts ...grpc.CallOption) (*GetNameServiceModuleBalanceResponse, error) + // Get registry module balance + GetRegistryModuleBalance(ctx context.Context, in *GetRegistryModuleBalanceRequest, opts ...grpc.CallOption) (*GetRegistryModuleBalanceResponse, error) // List name records ListNameRecords(ctx context.Context, in *QueryListNameRecordsRequest, opts ...grpc.CallOption) (*QueryListNameRecordsResponse, error) // Whois method retrieve the name authority info @@ -1550,7 +1550,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { out := new(QueryParamsResponse) - err := c.cc.Invoke(ctx, "/vulcanize.nameservice.v1beta1.Query/Params", in, out, opts...) + err := c.cc.Invoke(ctx, "/vulcanize.registry.v1beta1.Query/Params", in, out, opts...) if err != nil { return nil, err } @@ -1559,7 +1559,7 @@ func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts . func (c *queryClient) ListRecords(ctx context.Context, in *QueryListRecordsRequest, opts ...grpc.CallOption) (*QueryListRecordsResponse, error) { out := new(QueryListRecordsResponse) - err := c.cc.Invoke(ctx, "/vulcanize.nameservice.v1beta1.Query/ListRecords", in, out, opts...) + err := c.cc.Invoke(ctx, "/vulcanize.registry.v1beta1.Query/ListRecords", in, out, opts...) if err != nil { return nil, err } @@ -1568,7 +1568,7 @@ func (c *queryClient) ListRecords(ctx context.Context, in *QueryListRecordsReque func (c *queryClient) GetRecord(ctx context.Context, in *QueryRecordByIDRequest, opts ...grpc.CallOption) (*QueryRecordByIDResponse, error) { out := new(QueryRecordByIDResponse) - err := c.cc.Invoke(ctx, "/vulcanize.nameservice.v1beta1.Query/GetRecord", in, out, opts...) + err := c.cc.Invoke(ctx, "/vulcanize.registry.v1beta1.Query/GetRecord", in, out, opts...) if err != nil { return nil, err } @@ -1577,16 +1577,16 @@ func (c *queryClient) GetRecord(ctx context.Context, in *QueryRecordByIDRequest, func (c *queryClient) GetRecordByBondID(ctx context.Context, in *QueryRecordByBondIDRequest, opts ...grpc.CallOption) (*QueryRecordByBondIDResponse, error) { out := new(QueryRecordByBondIDResponse) - err := c.cc.Invoke(ctx, "/vulcanize.nameservice.v1beta1.Query/GetRecordByBondID", in, out, opts...) + err := c.cc.Invoke(ctx, "/vulcanize.registry.v1beta1.Query/GetRecordByBondID", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *queryClient) GetNameServiceModuleBalance(ctx context.Context, in *GetNameServiceModuleBalanceRequest, opts ...grpc.CallOption) (*GetNameServiceModuleBalanceResponse, error) { - out := new(GetNameServiceModuleBalanceResponse) - err := c.cc.Invoke(ctx, "/vulcanize.nameservice.v1beta1.Query/GetNameServiceModuleBalance", in, out, opts...) +func (c *queryClient) GetRegistryModuleBalance(ctx context.Context, in *GetRegistryModuleBalanceRequest, opts ...grpc.CallOption) (*GetRegistryModuleBalanceResponse, error) { + out := new(GetRegistryModuleBalanceResponse) + err := c.cc.Invoke(ctx, "/vulcanize.registry.v1beta1.Query/GetRegistryModuleBalance", in, out, opts...) if err != nil { return nil, err } @@ -1595,7 +1595,7 @@ func (c *queryClient) GetNameServiceModuleBalance(ctx context.Context, in *GetNa func (c *queryClient) ListNameRecords(ctx context.Context, in *QueryListNameRecordsRequest, opts ...grpc.CallOption) (*QueryListNameRecordsResponse, error) { out := new(QueryListNameRecordsResponse) - err := c.cc.Invoke(ctx, "/vulcanize.nameservice.v1beta1.Query/ListNameRecords", in, out, opts...) + err := c.cc.Invoke(ctx, "/vulcanize.registry.v1beta1.Query/ListNameRecords", in, out, opts...) if err != nil { return nil, err } @@ -1604,7 +1604,7 @@ func (c *queryClient) ListNameRecords(ctx context.Context, in *QueryListNameReco func (c *queryClient) Whois(ctx context.Context, in *QueryWhoisRequest, opts ...grpc.CallOption) (*QueryWhoisResponse, error) { out := new(QueryWhoisResponse) - err := c.cc.Invoke(ctx, "/vulcanize.nameservice.v1beta1.Query/Whois", in, out, opts...) + err := c.cc.Invoke(ctx, "/vulcanize.registry.v1beta1.Query/Whois", in, out, opts...) if err != nil { return nil, err } @@ -1613,7 +1613,7 @@ func (c *queryClient) Whois(ctx context.Context, in *QueryWhoisRequest, opts ... func (c *queryClient) LookupCrn(ctx context.Context, in *QueryLookupCrn, opts ...grpc.CallOption) (*QueryLookupCrnResponse, error) { out := new(QueryLookupCrnResponse) - err := c.cc.Invoke(ctx, "/vulcanize.nameservice.v1beta1.Query/LookupCrn", in, out, opts...) + err := c.cc.Invoke(ctx, "/vulcanize.registry.v1beta1.Query/LookupCrn", in, out, opts...) if err != nil { return nil, err } @@ -1622,7 +1622,7 @@ func (c *queryClient) LookupCrn(ctx context.Context, in *QueryLookupCrn, opts .. func (c *queryClient) ResolveCrn(ctx context.Context, in *QueryResolveCrn, opts ...grpc.CallOption) (*QueryResolveCrnResponse, error) { out := new(QueryResolveCrnResponse) - err := c.cc.Invoke(ctx, "/vulcanize.nameservice.v1beta1.Query/ResolveCrn", in, out, opts...) + err := c.cc.Invoke(ctx, "/vulcanize.registry.v1beta1.Query/ResolveCrn", in, out, opts...) if err != nil { return nil, err } @@ -1631,7 +1631,7 @@ func (c *queryClient) ResolveCrn(ctx context.Context, in *QueryResolveCrn, opts func (c *queryClient) GetRecordExpiryQueue(ctx context.Context, in *QueryGetRecordExpiryQueue, opts ...grpc.CallOption) (*QueryGetRecordExpiryQueueResponse, error) { out := new(QueryGetRecordExpiryQueueResponse) - err := c.cc.Invoke(ctx, "/vulcanize.nameservice.v1beta1.Query/GetRecordExpiryQueue", in, out, opts...) + err := c.cc.Invoke(ctx, "/vulcanize.registry.v1beta1.Query/GetRecordExpiryQueue", in, out, opts...) if err != nil { return nil, err } @@ -1640,7 +1640,7 @@ func (c *queryClient) GetRecordExpiryQueue(ctx context.Context, in *QueryGetReco func (c *queryClient) GetAuthorityExpiryQueue(ctx context.Context, in *QueryGetAuthorityExpiryQueue, opts ...grpc.CallOption) (*QueryGetAuthorityExpiryQueueResponse, error) { out := new(QueryGetAuthorityExpiryQueueResponse) - err := c.cc.Invoke(ctx, "/vulcanize.nameservice.v1beta1.Query/GetAuthorityExpiryQueue", in, out, opts...) + err := c.cc.Invoke(ctx, "/vulcanize.registry.v1beta1.Query/GetAuthorityExpiryQueue", in, out, opts...) if err != nil { return nil, err } @@ -1649,7 +1649,7 @@ func (c *queryClient) GetAuthorityExpiryQueue(ctx context.Context, in *QueryGetA // QueryServer is the server API for Query service. type QueryServer interface { - // Params queries the nameservice module params. + // Params queries the registry module params. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // List records ListRecords(context.Context, *QueryListRecordsRequest) (*QueryListRecordsResponse, error) @@ -1657,8 +1657,8 @@ type QueryServer interface { GetRecord(context.Context, *QueryRecordByIDRequest) (*QueryRecordByIDResponse, error) // Get records by bond id GetRecordByBondID(context.Context, *QueryRecordByBondIDRequest) (*QueryRecordByBondIDResponse, error) - // Get nameservice module balance - GetNameServiceModuleBalance(context.Context, *GetNameServiceModuleBalanceRequest) (*GetNameServiceModuleBalanceResponse, error) + // Get registry module balance + GetRegistryModuleBalance(context.Context, *GetRegistryModuleBalanceRequest) (*GetRegistryModuleBalanceResponse, error) // List name records ListNameRecords(context.Context, *QueryListNameRecordsRequest) (*QueryListNameRecordsResponse, error) // Whois method retrieve the name authority info @@ -1689,8 +1689,8 @@ func (*UnimplementedQueryServer) GetRecord(ctx context.Context, req *QueryRecord func (*UnimplementedQueryServer) GetRecordByBondID(ctx context.Context, req *QueryRecordByBondIDRequest) (*QueryRecordByBondIDResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetRecordByBondID not implemented") } -func (*UnimplementedQueryServer) GetNameServiceModuleBalance(ctx context.Context, req *GetNameServiceModuleBalanceRequest) (*GetNameServiceModuleBalanceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetNameServiceModuleBalance not implemented") +func (*UnimplementedQueryServer) GetRegistryModuleBalance(ctx context.Context, req *GetRegistryModuleBalanceRequest) (*GetRegistryModuleBalanceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetRegistryModuleBalance not implemented") } func (*UnimplementedQueryServer) ListNameRecords(ctx context.Context, req *QueryListNameRecordsRequest) (*QueryListNameRecordsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListNameRecords not implemented") @@ -1725,7 +1725,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/vulcanize.nameservice.v1beta1.Query/Params", + FullMethod: "/vulcanize.registry.v1beta1.Query/Params", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) @@ -1743,7 +1743,7 @@ func _Query_ListRecords_Handler(srv interface{}, ctx context.Context, dec func(i } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/vulcanize.nameservice.v1beta1.Query/ListRecords", + FullMethod: "/vulcanize.registry.v1beta1.Query/ListRecords", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ListRecords(ctx, req.(*QueryListRecordsRequest)) @@ -1761,7 +1761,7 @@ func _Query_GetRecord_Handler(srv interface{}, ctx context.Context, dec func(int } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/vulcanize.nameservice.v1beta1.Query/GetRecord", + FullMethod: "/vulcanize.registry.v1beta1.Query/GetRecord", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).GetRecord(ctx, req.(*QueryRecordByIDRequest)) @@ -1779,7 +1779,7 @@ func _Query_GetRecordByBondID_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/vulcanize.nameservice.v1beta1.Query/GetRecordByBondID", + FullMethod: "/vulcanize.registry.v1beta1.Query/GetRecordByBondID", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).GetRecordByBondID(ctx, req.(*QueryRecordByBondIDRequest)) @@ -1787,20 +1787,20 @@ func _Query_GetRecordByBondID_Handler(srv interface{}, ctx context.Context, dec return interceptor(ctx, in, info, handler) } -func _Query_GetNameServiceModuleBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetNameServiceModuleBalanceRequest) +func _Query_GetRegistryModuleBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetRegistryModuleBalanceRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(QueryServer).GetNameServiceModuleBalance(ctx, in) + return srv.(QueryServer).GetRegistryModuleBalance(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/vulcanize.nameservice.v1beta1.Query/GetNameServiceModuleBalance", + FullMethod: "/vulcanize.registry.v1beta1.Query/GetRegistryModuleBalance", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).GetNameServiceModuleBalance(ctx, req.(*GetNameServiceModuleBalanceRequest)) + return srv.(QueryServer).GetRegistryModuleBalance(ctx, req.(*GetRegistryModuleBalanceRequest)) } return interceptor(ctx, in, info, handler) } @@ -1815,7 +1815,7 @@ func _Query_ListNameRecords_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/vulcanize.nameservice.v1beta1.Query/ListNameRecords", + FullMethod: "/vulcanize.registry.v1beta1.Query/ListNameRecords", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ListNameRecords(ctx, req.(*QueryListNameRecordsRequest)) @@ -1833,7 +1833,7 @@ func _Query_Whois_Handler(srv interface{}, ctx context.Context, dec func(interfa } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/vulcanize.nameservice.v1beta1.Query/Whois", + FullMethod: "/vulcanize.registry.v1beta1.Query/Whois", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Whois(ctx, req.(*QueryWhoisRequest)) @@ -1851,7 +1851,7 @@ func _Query_LookupCrn_Handler(srv interface{}, ctx context.Context, dec func(int } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/vulcanize.nameservice.v1beta1.Query/LookupCrn", + FullMethod: "/vulcanize.registry.v1beta1.Query/LookupCrn", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).LookupCrn(ctx, req.(*QueryLookupCrn)) @@ -1869,7 +1869,7 @@ func _Query_ResolveCrn_Handler(srv interface{}, ctx context.Context, dec func(in } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/vulcanize.nameservice.v1beta1.Query/ResolveCrn", + FullMethod: "/vulcanize.registry.v1beta1.Query/ResolveCrn", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ResolveCrn(ctx, req.(*QueryResolveCrn)) @@ -1887,7 +1887,7 @@ func _Query_GetRecordExpiryQueue_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/vulcanize.nameservice.v1beta1.Query/GetRecordExpiryQueue", + FullMethod: "/vulcanize.registry.v1beta1.Query/GetRecordExpiryQueue", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).GetRecordExpiryQueue(ctx, req.(*QueryGetRecordExpiryQueue)) @@ -1905,7 +1905,7 @@ func _Query_GetAuthorityExpiryQueue_Handler(srv interface{}, ctx context.Context } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/vulcanize.nameservice.v1beta1.Query/GetAuthorityExpiryQueue", + FullMethod: "/vulcanize.registry.v1beta1.Query/GetAuthorityExpiryQueue", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).GetAuthorityExpiryQueue(ctx, req.(*QueryGetAuthorityExpiryQueue)) @@ -1914,7 +1914,7 @@ func _Query_GetAuthorityExpiryQueue_Handler(srv interface{}, ctx context.Context } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "vulcanize.nameservice.v1beta1.Query", + ServiceName: "vulcanize.registry.v1beta1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -1934,8 +1934,8 @@ var _Query_serviceDesc = grpc.ServiceDesc{ Handler: _Query_GetRecordByBondID_Handler, }, { - MethodName: "GetNameServiceModuleBalance", - Handler: _Query_GetNameServiceModuleBalance_Handler, + MethodName: "GetRegistryModuleBalance", + Handler: _Query_GetRegistryModuleBalance_Handler, }, { MethodName: "ListNameRecords", @@ -1963,7 +1963,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "vulcanize/nameservice/v1beta1/query.proto", + Metadata: "vulcanize/registry/v1beta1/query.proto", } func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { @@ -2442,7 +2442,7 @@ func (m *QueryRecordByBondIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, er return len(dAtA) - i, nil } -func (m *GetNameServiceModuleBalanceRequest) Marshal() (dAtA []byte, err error) { +func (m *GetRegistryModuleBalanceRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -2452,12 +2452,12 @@ func (m *GetNameServiceModuleBalanceRequest) Marshal() (dAtA []byte, err error) return dAtA[:n], nil } -func (m *GetNameServiceModuleBalanceRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *GetRegistryModuleBalanceRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GetNameServiceModuleBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GetRegistryModuleBalanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -2465,7 +2465,7 @@ func (m *GetNameServiceModuleBalanceRequest) MarshalToSizedBuffer(dAtA []byte) ( return len(dAtA) - i, nil } -func (m *GetNameServiceModuleBalanceResponse) Marshal() (dAtA []byte, err error) { +func (m *GetRegistryModuleBalanceResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -2475,12 +2475,12 @@ func (m *GetNameServiceModuleBalanceResponse) Marshal() (dAtA []byte, err error) return dAtA[:n], nil } -func (m *GetNameServiceModuleBalanceResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *GetRegistryModuleBalanceResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GetNameServiceModuleBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GetRegistryModuleBalanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -3230,7 +3230,7 @@ func (m *QueryRecordByBondIDResponse) Size() (n int) { return n } -func (m *GetNameServiceModuleBalanceRequest) Size() (n int) { +func (m *GetRegistryModuleBalanceRequest) Size() (n int) { if m == nil { return 0 } @@ -3239,7 +3239,7 @@ func (m *GetNameServiceModuleBalanceRequest) Size() (n int) { return n } -func (m *GetNameServiceModuleBalanceResponse) Size() (n int) { +func (m *GetRegistryModuleBalanceResponse) Size() (n int) { if m == nil { return 0 } @@ -4703,7 +4703,7 @@ func (m *QueryRecordByBondIDResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetNameServiceModuleBalanceRequest) Unmarshal(dAtA []byte) error { +func (m *GetRegistryModuleBalanceRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -4726,10 +4726,10 @@ func (m *GetNameServiceModuleBalanceRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetNameServiceModuleBalanceRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetRegistryModuleBalanceRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetNameServiceModuleBalanceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetRegistryModuleBalanceRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -4753,7 +4753,7 @@ func (m *GetNameServiceModuleBalanceRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetNameServiceModuleBalanceResponse) Unmarshal(dAtA []byte) error { +func (m *GetRegistryModuleBalanceResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -4776,10 +4776,10 @@ func (m *GetNameServiceModuleBalanceResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetNameServiceModuleBalanceResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetRegistryModuleBalanceResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetNameServiceModuleBalanceResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetRegistryModuleBalanceResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: diff --git a/x/nameservice/types/query.pb.gw.go b/x/registry/types/query.pb.gw.go similarity index 92% rename from x/nameservice/types/query.pb.gw.go rename to x/registry/types/query.pb.gw.go index cdb4d59c..90da0ab8 100644 --- a/x/nameservice/types/query.pb.gw.go +++ b/x/registry/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: vulcanize/nameservice/v1beta1/query.proto +// source: vulcanize/registry/v1beta1/query.proto /* Package types is a reverse proxy. @@ -211,20 +211,20 @@ func local_request_Query_GetRecordByBondID_0(ctx context.Context, marshaler runt } -func request_Query_GetNameServiceModuleBalance_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq GetNameServiceModuleBalanceRequest +func request_Query_GetRegistryModuleBalance_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq GetRegistryModuleBalanceRequest var metadata runtime.ServerMetadata - msg, err := client.GetNameServiceModuleBalance(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + msg, err := client.GetRegistryModuleBalance(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err } -func local_request_Query_GetNameServiceModuleBalance_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq GetNameServiceModuleBalanceRequest +func local_request_Query_GetRegistryModuleBalance_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq GetRegistryModuleBalanceRequest var metadata runtime.ServerMetadata - msg, err := server.GetNameServiceModuleBalance(ctx, &protoReq) + msg, err := server.GetRegistryModuleBalance(ctx, &protoReq) return msg, metadata, err } @@ -549,7 +549,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) - mux.Handle("GET", pattern_Query_GetNameServiceModuleBalance_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_GetRegistryModuleBalance_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) @@ -558,14 +558,14 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Query_GetNameServiceModuleBalance_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_Query_GetRegistryModuleBalance_0(rctx, inboundMarshaler, server, req, pathParams) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - forward_Query_GetNameServiceModuleBalance_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_GetRegistryModuleBalance_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -810,7 +810,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) - mux.Handle("GET", pattern_Query_GetNameServiceModuleBalance_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_GetRegistryModuleBalance_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) @@ -819,14 +819,14 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Query_GetNameServiceModuleBalance_0(rctx, inboundMarshaler, client, req, pathParams) + resp, md, err := request_Query_GetRegistryModuleBalance_0(rctx, inboundMarshaler, client, req, pathParams) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - forward_Query_GetNameServiceModuleBalance_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_GetRegistryModuleBalance_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -954,27 +954,27 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } var ( - pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"vulcanize", "nameservice", "v1beta1", "params"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"vulcanize", "registry", "v1beta1", "params"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_ListRecords_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"vulcanize", "nameservice", "v1beta1", "records"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_ListRecords_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"vulcanize", "registry", "v1beta1", "records"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_GetRecord_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"vulcanize", "nameservice", "v1beta1", "records", "id"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_GetRecord_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"vulcanize", "registry", "v1beta1", "records", "id"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_GetRecordByBondID_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"vulcanize", "nameservice", "v1beta1", "records-by-bond-id", "id"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_GetRecordByBondID_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"vulcanize", "registry", "v1beta1", "records-by-bond-id", "id"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_GetNameServiceModuleBalance_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"vulcanize", "nameservice", "v1beta1", "balance"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_GetRegistryModuleBalance_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"vulcanize", "registry", "v1beta1", "balance"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_ListNameRecords_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"vulcanize", "nameservice", "v1beta1", "names"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_ListNameRecords_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"vulcanize", "registry", "v1beta1", "names"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_Whois_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"vulcanize", "nameservice", "v1beta1", "whois", "name"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_Whois_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"vulcanize", "registry", "v1beta1", "whois", "name"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_LookupCrn_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"vulcanize", "nameservice", "v1beta1", "lookup"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_LookupCrn_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"vulcanize", "registry", "v1beta1", "lookup"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_ResolveCrn_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"vulcanize", "nameservice", "v1beta1", "resolve"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_ResolveCrn_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"vulcanize", "registry", "v1beta1", "resolve"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_GetRecordExpiryQueue_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"vulcanize", "nameservice", "v1beta1", "record-expiry"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_GetRecordExpiryQueue_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"vulcanize", "registry", "v1beta1", "record-expiry"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_GetAuthorityExpiryQueue_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"vulcanize", "nameservice", "v1beta1", "authority-expiry"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_GetAuthorityExpiryQueue_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"vulcanize", "registry", "v1beta1", "authority-expiry"}, "", runtime.AssumeColonVerbOpt(true))) ) var ( @@ -986,7 +986,7 @@ var ( forward_Query_GetRecordByBondID_0 = runtime.ForwardResponseMessage - forward_Query_GetNameServiceModuleBalance_0 = runtime.ForwardResponseMessage + forward_Query_GetRegistryModuleBalance_0 = runtime.ForwardResponseMessage forward_Query_ListNameRecords_0 = runtime.ForwardResponseMessage diff --git a/x/nameservice/types/record_msg.go b/x/registry/types/record_msg.go similarity index 100% rename from x/nameservice/types/record_msg.go rename to x/registry/types/record_msg.go diff --git a/x/nameservice/types/nameservice.pb.go b/x/registry/types/registry.pb.go similarity index 78% rename from x/nameservice/types/nameservice.pb.go rename to x/registry/types/registry.pb.go index 9ea2d928..e1012e44 100644 --- a/x/nameservice/types/nameservice.pb.go +++ b/x/registry/types/registry.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: vulcanize/nameservice/v1beta1/nameservice.proto +// source: vulcanize/registry/v1beta1/registry.proto package types @@ -30,7 +30,7 @@ var _ = time.Kitchen // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -// Params defines the nameservice module parameters +// Params defines the registry module parameters type Params struct { RecordRent types.Coin `protobuf:"bytes,1,opt,name=record_rent,json=recordRent,proto3" json:"record_rent" json:"record_rent" yaml:"record_rent"` RecordRentDuration time.Duration `protobuf:"bytes,2,opt,name=record_rent_duration,json=recordRentDuration,proto3,stdduration" json:"record_rent_duration" json:"record_rent_duration" yaml:"record_rent_duration"` @@ -49,7 +49,7 @@ func (m *Params) Reset() { *m = Params{} } func (m *Params) String() string { return proto.CompactTextString(m) } func (*Params) ProtoMessage() {} func (*Params) Descriptor() ([]byte, []int) { - return fileDescriptor_c2009c2df775dbad, []int{0} + return fileDescriptor_5ca0f65a0e7121be, []int{0} } func (m *Params) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -155,7 +155,7 @@ func (m *Params) GetAuthorityAuctionMinimumBid() types.Coin { return types.Coin{} } -// Params defines the nameservice module records +// Params defines the registry module records type Record struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" json:"id" yaml:"id"` BondId string `protobuf:"bytes,2,opt,name=bond_id,json=bondId,proto3" json:"bond_id,omitempty" json:"bondId" yaml:"bondId"` @@ -172,7 +172,7 @@ func (m *Record) Reset() { *m = Record{} } func (m *Record) String() string { return proto.CompactTextString(m) } func (*Record) ProtoMessage() {} func (*Record) Descriptor() ([]byte, []int) { - return fileDescriptor_c2009c2df775dbad, []int{1} + return fileDescriptor_5ca0f65a0e7121be, []int{1} } func (m *Record) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -264,7 +264,7 @@ func (m *Record) GetType() string { return "" } -// AuthorityEntry defines the nameservice module AuthorityEntries +// AuthorityEntry defines the registry module AuthorityEntries type AuthorityEntry struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Entry *NameAuthority `protobuf:"bytes,2,opt,name=entry,proto3" json:"entry,omitempty"` @@ -274,7 +274,7 @@ func (m *AuthorityEntry) Reset() { *m = AuthorityEntry{} } func (m *AuthorityEntry) String() string { return proto.CompactTextString(m) } func (*AuthorityEntry) ProtoMessage() {} func (*AuthorityEntry) Descriptor() ([]byte, []int) { - return fileDescriptor_c2009c2df775dbad, []int{2} + return fileDescriptor_5ca0f65a0e7121be, []int{2} } func (m *AuthorityEntry) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -335,7 +335,7 @@ func (m *NameAuthority) Reset() { *m = NameAuthority{} } func (m *NameAuthority) String() string { return proto.CompactTextString(m) } func (*NameAuthority) ProtoMessage() {} func (*NameAuthority) Descriptor() ([]byte, []int) { - return fileDescriptor_c2009c2df775dbad, []int{3} + return fileDescriptor_5ca0f65a0e7121be, []int{3} } func (m *NameAuthority) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -423,7 +423,7 @@ func (m *NameEntry) Reset() { *m = NameEntry{} } func (m *NameEntry) String() string { return proto.CompactTextString(m) } func (*NameEntry) ProtoMessage() {} func (*NameEntry) Descriptor() ([]byte, []int) { - return fileDescriptor_c2009c2df775dbad, []int{4} + return fileDescriptor_5ca0f65a0e7121be, []int{4} } func (m *NameEntry) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -476,7 +476,7 @@ func (m *NameRecord) Reset() { *m = NameRecord{} } func (m *NameRecord) String() string { return proto.CompactTextString(m) } func (*NameRecord) ProtoMessage() {} func (*NameRecord) Descriptor() ([]byte, []int) { - return fileDescriptor_c2009c2df775dbad, []int{5} + return fileDescriptor_5ca0f65a0e7121be, []int{5} } func (m *NameRecord) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -529,7 +529,7 @@ func (m *NameRecordEntry) Reset() { *m = NameRecordEntry{} } func (m *NameRecordEntry) String() string { return proto.CompactTextString(m) } func (*NameRecordEntry) ProtoMessage() {} func (*NameRecordEntry) Descriptor() ([]byte, []int) { - return fileDescriptor_c2009c2df775dbad, []int{6} + return fileDescriptor_5ca0f65a0e7121be, []int{6} } func (m *NameRecordEntry) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -582,7 +582,7 @@ func (m *Signature) Reset() { *m = Signature{} } func (m *Signature) String() string { return proto.CompactTextString(m) } func (*Signature) ProtoMessage() {} func (*Signature) Descriptor() ([]byte, []int) { - return fileDescriptor_c2009c2df775dbad, []int{7} + return fileDescriptor_5ca0f65a0e7121be, []int{7} } func (m *Signature) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -639,7 +639,7 @@ func (m *BlockChangeSet) Reset() { *m = BlockChangeSet{} } func (m *BlockChangeSet) String() string { return proto.CompactTextString(m) } func (*BlockChangeSet) ProtoMessage() {} func (*BlockChangeSet) Descriptor() ([]byte, []int) { - return fileDescriptor_c2009c2df775dbad, []int{8} + return fileDescriptor_5ca0f65a0e7121be, []int{8} } func (m *BlockChangeSet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -720,7 +720,7 @@ func (m *AuctionBidInfo) Reset() { *m = AuctionBidInfo{} } func (m *AuctionBidInfo) String() string { return proto.CompactTextString(m) } func (*AuctionBidInfo) ProtoMessage() {} func (*AuctionBidInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_c2009c2df775dbad, []int{9} + return fileDescriptor_5ca0f65a0e7121be, []int{9} } func (m *AuctionBidInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -764,109 +764,109 @@ func (m *AuctionBidInfo) GetBidderAddress() string { } func init() { - proto.RegisterType((*Params)(nil), "vulcanize.nameservice.v1beta1.Params") - proto.RegisterType((*Record)(nil), "vulcanize.nameservice.v1beta1.Record") - proto.RegisterType((*AuthorityEntry)(nil), "vulcanize.nameservice.v1beta1.AuthorityEntry") - proto.RegisterType((*NameAuthority)(nil), "vulcanize.nameservice.v1beta1.NameAuthority") - proto.RegisterType((*NameEntry)(nil), "vulcanize.nameservice.v1beta1.NameEntry") - proto.RegisterType((*NameRecord)(nil), "vulcanize.nameservice.v1beta1.NameRecord") - proto.RegisterType((*NameRecordEntry)(nil), "vulcanize.nameservice.v1beta1.NameRecordEntry") - proto.RegisterType((*Signature)(nil), "vulcanize.nameservice.v1beta1.Signature") - proto.RegisterType((*BlockChangeSet)(nil), "vulcanize.nameservice.v1beta1.BlockChangeSet") - proto.RegisterType((*AuctionBidInfo)(nil), "vulcanize.nameservice.v1beta1.AuctionBidInfo") + proto.RegisterType((*Params)(nil), "vulcanize.registry.v1beta1.Params") + proto.RegisterType((*Record)(nil), "vulcanize.registry.v1beta1.Record") + proto.RegisterType((*AuthorityEntry)(nil), "vulcanize.registry.v1beta1.AuthorityEntry") + proto.RegisterType((*NameAuthority)(nil), "vulcanize.registry.v1beta1.NameAuthority") + proto.RegisterType((*NameEntry)(nil), "vulcanize.registry.v1beta1.NameEntry") + proto.RegisterType((*NameRecord)(nil), "vulcanize.registry.v1beta1.NameRecord") + proto.RegisterType((*NameRecordEntry)(nil), "vulcanize.registry.v1beta1.NameRecordEntry") + proto.RegisterType((*Signature)(nil), "vulcanize.registry.v1beta1.Signature") + proto.RegisterType((*BlockChangeSet)(nil), "vulcanize.registry.v1beta1.BlockChangeSet") + proto.RegisterType((*AuctionBidInfo)(nil), "vulcanize.registry.v1beta1.AuctionBidInfo") } func init() { - proto.RegisterFile("vulcanize/nameservice/v1beta1/nameservice.proto", fileDescriptor_c2009c2df775dbad) + proto.RegisterFile("vulcanize/registry/v1beta1/registry.proto", fileDescriptor_5ca0f65a0e7121be) } -var fileDescriptor_c2009c2df775dbad = []byte{ - // 1353 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x57, 0x5b, 0x6f, 0x1b, 0xc5, - 0x17, 0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, 0x6c, 0x51, 0xae, 0xe7, 0xb0, 0x15, 0x19, 0x4e, 0xd9, 0xfe, 0xae, 0xc1, 0x85, - 0xe9, 0x60, 0x8f, 0xf9, 0xcc, 0x4b, 0xbc, 0xae, 0xcd, 0x5c, 0x7d, 0x63, 0x11, 0xdd, 0xcf, 0x25, - 0xdd, 0xce, 0x3c, 0xba, 0x05, 0xb4, 0xf9, 0x7c, 0x8b, 0x4e, 0x78, 0xb7, 0x4a, 0xf8, 0x13, 0x61, - 0xb5, 0x98, 0xdb, 0xfa, 0x69, 0x05, 0xea, 0x98, 0x4f, 0x7b, 0x74, 0x09, 0x96, 0x99, 0xcb, 0xaf, - 0xb5, 0x86, 0x75, 0x7e, 0x32, 0x36, 0x5e, 0x13, 0x0c, 0xf2, 0x65, 0x52, 0xac, 0x65, 0xe6, 0xa2, - 0x77, 0x61, 0xcd, 0x0e, 0x7c, 0xb7, 0xcb, 0x5c, 0x7e, 0x1f, 0x35, 0x2c, 0x63, 0x32, 0x36, 0x5e, - 0x17, 0xde, 0xa9, 0xa1, 0x93, 0x45, 0x48, 0x09, 0xd7, 0xc5, 0x07, 0xba, 0x03, 0x1b, 0x4e, 0x48, - 0x49, 0x4c, 0xbb, 0xe9, 0xc5, 0xcd, 0x6f, 0x90, 0x86, 0x75, 0x69, 0x32, 0x36, 0xde, 0x12, 0xd1, - 0xc2, 0x78, 0x8f, 0x79, 0xd9, 0x51, 0x14, 0x34, 0x18, 0x72, 0x21, 0x45, 0xa2, 0x0f, 0x87, 0x2c, - 0x1c, 0x09, 0xa4, 0x95, 0x2a, 0x92, 0x30, 0x16, 0x91, 0x0a, 0x1a, 0x0c, 0xb9, 0x80, 0x74, 0x58, - 0x73, 0xe9, 0x80, 0xc6, 0x54, 0x8c, 0xec, 0x75, 0xac, 0x44, 0x74, 0x03, 0xea, 0xc1, 0xb7, 0x3e, - 0x0d, 0x23, 0xbd, 0xbe, 0x57, 0x2b, 0x6f, 0x53, 0xe8, 0x15, 0xb4, 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0xd1, 0xf3, 0xe6, 0xd2, - 0xd3, 0xe7, 0xcd, 0xa5, 0x3f, 0x9f, 0x37, 0x97, 0xbe, 0x34, 0x7b, 0x2c, 0xee, 0x27, 0x76, 0xdb, - 0x09, 0x3c, 0xd3, 0xa1, 0xa1, 0xb3, 0xcf, 0x02, 0x73, 0x40, 0x9c, 0xc0, 0x67, 0x8e, 0x6b, 0x3e, - 0x2c, 0xfd, 0xc9, 0xf3, 0xfb, 0xc0, 0xae, 0xf3, 0x91, 0x70, 0xfd, 0xbf, 0x00, 0x00, 0x00, 0xff, - 0xff, 0x74, 0x45, 0xc5, 0x43, 0xef, 0x0f, 0x00, 0x00, +var fileDescriptor_5ca0f65a0e7121be = []byte{ + // 1347 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x57, 0xdd, 0x6e, 0x1b, 0x45, + 0x14, 0xce, 0xc6, 0x89, 0x13, 0x9f, 0x34, 0x01, 0x0d, 0x69, 0xeb, 0x04, 0xea, 0x0d, 0x46, 0xa5, + 0x0d, 0xa1, 0xb6, 0x4a, 0x2f, 0xca, 0xaf, 0x50, 0x36, 0x49, 0x4b, 0x84, 0x80, 0x30, 0xed, 0x0d, + 0x48, 0x95, 0x35, 0xbb, 0x3b, 0xb5, 0x87, 0x7a, 0x77, 0xad, 0xdd, 0xd9, 0x52, 0x73, 0xc7, 0x1b, + 0xe4, 0xb2, 0x48, 0xbc, 0x01, 0x48, 0x3c, 0x06, 0xbd, 0xec, 0x25, 0x42, 0xc2, 0xa0, 0xe6, 0x0d, + 0xfc, 0x04, 0x68, 0xe7, 0x67, 0xff, 0x6c, 0xd7, 0x85, 0xde, 0xcd, 0xf9, 0xfb, 0xe6, 0x9b, 0x33, + 0xe7, 0x9c, 0xd9, 0x85, 0xdd, 0x87, 0x71, 0xdf, 0x21, 0x3e, 0xfb, 0x81, 0xb6, 0x43, 0xda, 0x65, + 0x11, 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27, 0x42, 0x85, 0xd7, 0x72, 0x12, 0xda, 0x81, + 0x35, 0xfd, 0x02, 0x32, 0x1a, 0xd5, 0x97, 0x05, 0xb1, 0xbc, 0x0a, 0x6d, 0xea, 0x89, 0x2a, 0x06, + 0xbd, 0x1a, 0x99, 0xcd, 0x5f, 0x8d, 0x64, 0x00, 0xe6, 0x29, 0x94, 0x9a, 0xd7, 0xf8, 0x9f, 0xcd, + 0x7b, 0x17, 0x36, 0x6c, 0xe6, 0xba, 0x13, 0x53, 0xe8, 0xda, 0x78, 0x64, 0xee, 0xaa, 0x1e, 0x16, + 0xf6, 0xd2, 0x18, 0x2a, 0x2a, 0xf1, 0x7a, 0x41, 0xb6, 0x6e, 0x3d, 0x79, 0xd6, 0x30, 0x9e, 0x3e, + 0x6b, 0x18, 0xff, 0x3c, 0x6b, 0x18, 0xa7, 0x67, 0x8d, 0x85, 0xa7, 0x67, 0x8d, 0x85, 0x3f, 0xce, + 0x1a, 0x0b, 0xdf, 0xbe, 0xdb, 0x65, 0xbc, 0x17, 0xdb, 0x2d, 0x27, 0xf0, 0xda, 0x0e, 0x0d, 0x9d, + 0x6b, 0x2c, 0x68, 0xf7, 0x89, 0x13, 0xf8, 0xcc, 0x71, 0xdb, 0x8f, 0xb2, 0x3f, 0x76, 0x31, 0xfd, + 0xed, 0xaa, 0x98, 0x01, 0x37, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xd7, 0x03, 0x2e, 0xc4, 0xd4, + 0x0f, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { @@ -895,7 +895,7 @@ func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { return 0, err } i -= size - i = encodeVarintNameservice(dAtA, i, uint64(size)) + i = encodeVarintRegistry(dAtA, i, uint64(size)) } i-- dAtA[i] = 0x5a @@ -905,7 +905,7 @@ func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { return 0, err } i -= size - i = encodeVarintNameservice(dAtA, i, uint64(size)) + i = encodeVarintRegistry(dAtA, i, uint64(size)) } i-- dAtA[i] = 0x52 @@ -915,7 +915,7 @@ func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { return 0, err } i -= size - i = encodeVarintNameservice(dAtA, i, uint64(size)) + i = encodeVarintRegistry(dAtA, i, uint64(size)) } i-- dAtA[i] = 0x4a @@ -924,7 +924,7 @@ func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { return 0, err4 } i -= n4 - i = encodeVarintNameservice(dAtA, i, uint64(n4)) + i = encodeVarintRegistry(dAtA, i, uint64(n4)) i-- dAtA[i] = 0x42 n5, err5 := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.AuthorityAuctionCommitsDuration, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(m.AuthorityAuctionCommitsDuration):]) @@ -932,7 +932,7 @@ func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { return 0, err5 } i -= n5 - i = encodeVarintNameservice(dAtA, i, uint64(n5)) + i = encodeVarintRegistry(dAtA, i, uint64(n5)) i-- dAtA[i] = 0x3a if m.AuthorityAuctionEnabled { @@ -950,7 +950,7 @@ func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { return 0, err6 } i -= n6 - i = encodeVarintNameservice(dAtA, i, uint64(n6)) + i = encodeVarintRegistry(dAtA, i, uint64(n6)) i-- dAtA[i] = 0x2a n7, err7 := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.AuthorityRentDuration, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdDuration(m.AuthorityRentDuration):]) @@ -958,7 +958,7 @@ func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { return 0, err7 } i -= n7 - i = encodeVarintNameservice(dAtA, i, uint64(n7)) + i = encodeVarintRegistry(dAtA, i, uint64(n7)) i-- dAtA[i] = 0x22 { @@ -967,7 +967,7 @@ func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { return 0, err } i -= size - i = encodeVarintNameservice(dAtA, i, uint64(size)) + i = encodeVarintRegistry(dAtA, i, uint64(size)) } i-- dAtA[i] = 0x1a @@ -976,7 +976,7 @@ func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { return 0, err9 } i -= n9 - i = encodeVarintNameservice(dAtA, i, uint64(n9)) + i = encodeVarintRegistry(dAtA, i, uint64(n9)) i-- dAtA[i] = 0x12 { @@ -985,7 +985,7 @@ func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { return 0, err } i -= size - i = encodeVarintNameservice(dAtA, i, uint64(size)) + i = encodeVarintRegistry(dAtA, i, uint64(size)) } i-- dAtA[i] = 0xa @@ -1015,7 +1015,7 @@ func (m *Record) MarshalToSizedBuffer(dAtA []byte) (int, error) { if len(m.Type) > 0 { i -= len(m.Type) copy(dAtA[i:], m.Type) - i = encodeVarintNameservice(dAtA, i, uint64(len(m.Type))) + i = encodeVarintRegistry(dAtA, i, uint64(len(m.Type))) i-- dAtA[i] = 0x4a } @@ -1023,7 +1023,7 @@ func (m *Record) MarshalToSizedBuffer(dAtA []byte) (int, error) { for iNdEx := len(m.Names) - 1; iNdEx >= 0; iNdEx-- { i -= len(m.Names[iNdEx]) copy(dAtA[i:], m.Names[iNdEx]) - i = encodeVarintNameservice(dAtA, i, uint64(len(m.Names[iNdEx]))) + i = encodeVarintRegistry(dAtA, i, uint64(len(m.Names[iNdEx]))) i-- dAtA[i] = 0x42 } @@ -1035,7 +1035,7 @@ func (m *Record) MarshalToSizedBuffer(dAtA []byte) (int, error) { return 0, err } i -= size - i = encodeVarintNameservice(dAtA, i, uint64(size)) + i = encodeVarintRegistry(dAtA, i, uint64(size)) } i-- dAtA[i] = 0x3a @@ -1044,7 +1044,7 @@ func (m *Record) MarshalToSizedBuffer(dAtA []byte) (int, error) { for iNdEx := len(m.Owners) - 1; iNdEx >= 0; iNdEx-- { i -= len(m.Owners[iNdEx]) copy(dAtA[i:], m.Owners[iNdEx]) - i = encodeVarintNameservice(dAtA, i, uint64(len(m.Owners[iNdEx]))) + i = encodeVarintRegistry(dAtA, i, uint64(len(m.Owners[iNdEx]))) i-- dAtA[i] = 0x32 } @@ -1062,28 +1062,28 @@ func (m *Record) MarshalToSizedBuffer(dAtA []byte) (int, error) { if len(m.ExpiryTime) > 0 { i -= len(m.ExpiryTime) copy(dAtA[i:], m.ExpiryTime) - i = encodeVarintNameservice(dAtA, i, uint64(len(m.ExpiryTime))) + i = encodeVarintRegistry(dAtA, i, uint64(len(m.ExpiryTime))) i-- dAtA[i] = 0x22 } if len(m.CreateTime) > 0 { i -= len(m.CreateTime) copy(dAtA[i:], m.CreateTime) - i = encodeVarintNameservice(dAtA, i, uint64(len(m.CreateTime))) + i = encodeVarintRegistry(dAtA, i, uint64(len(m.CreateTime))) i-- dAtA[i] = 0x1a } if len(m.BondId) > 0 { i -= len(m.BondId) copy(dAtA[i:], m.BondId) - i = encodeVarintNameservice(dAtA, i, uint64(len(m.BondId))) + i = encodeVarintRegistry(dAtA, i, uint64(len(m.BondId))) i-- dAtA[i] = 0x12 } if len(m.Id) > 0 { i -= len(m.Id) copy(dAtA[i:], m.Id) - i = encodeVarintNameservice(dAtA, i, uint64(len(m.Id))) + i = encodeVarintRegistry(dAtA, i, uint64(len(m.Id))) i-- dAtA[i] = 0xa } @@ -1117,7 +1117,7 @@ func (m *AuthorityEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) { return 0, err } i -= size - i = encodeVarintNameservice(dAtA, i, uint64(size)) + i = encodeVarintRegistry(dAtA, i, uint64(size)) } i-- dAtA[i] = 0x12 @@ -1125,7 +1125,7 @@ func (m *AuthorityEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) { if len(m.Name) > 0 { i -= len(m.Name) copy(dAtA[i:], m.Name) - i = encodeVarintNameservice(dAtA, i, uint64(len(m.Name))) + i = encodeVarintRegistry(dAtA, i, uint64(len(m.Name))) i-- dAtA[i] = 0xa } @@ -1157,46 +1157,46 @@ func (m *NameAuthority) MarshalToSizedBuffer(dAtA []byte) (int, error) { return 0, err13 } i -= n13 - i = encodeVarintNameservice(dAtA, i, uint64(n13)) + i = encodeVarintRegistry(dAtA, i, uint64(n13)) i-- dAtA[i] = 0x3a if len(m.BondId) > 0 { i -= len(m.BondId) copy(dAtA[i:], m.BondId) - i = encodeVarintNameservice(dAtA, i, uint64(len(m.BondId))) + i = encodeVarintRegistry(dAtA, i, uint64(len(m.BondId))) i-- dAtA[i] = 0x32 } if len(m.AuctionId) > 0 { i -= len(m.AuctionId) copy(dAtA[i:], m.AuctionId) - i = encodeVarintNameservice(dAtA, i, uint64(len(m.AuctionId))) + i = encodeVarintRegistry(dAtA, i, uint64(len(m.AuctionId))) i-- dAtA[i] = 0x2a } if len(m.Status) > 0 { i -= len(m.Status) copy(dAtA[i:], m.Status) - i = encodeVarintNameservice(dAtA, i, uint64(len(m.Status))) + i = encodeVarintRegistry(dAtA, i, uint64(len(m.Status))) i-- dAtA[i] = 0x22 } if m.Height != 0 { - i = encodeVarintNameservice(dAtA, i, uint64(m.Height)) + i = encodeVarintRegistry(dAtA, i, uint64(m.Height)) i-- dAtA[i] = 0x18 } if len(m.OwnerAddress) > 0 { i -= len(m.OwnerAddress) copy(dAtA[i:], m.OwnerAddress) - i = encodeVarintNameservice(dAtA, i, uint64(len(m.OwnerAddress))) + i = encodeVarintRegistry(dAtA, i, uint64(len(m.OwnerAddress))) i-- dAtA[i] = 0x12 } if len(m.OwnerPublicKey) > 0 { i -= len(m.OwnerPublicKey) copy(dAtA[i:], m.OwnerPublicKey) - i = encodeVarintNameservice(dAtA, i, uint64(len(m.OwnerPublicKey))) + i = encodeVarintRegistry(dAtA, i, uint64(len(m.OwnerPublicKey))) i-- dAtA[i] = 0xa } @@ -1230,7 +1230,7 @@ func (m *NameEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) { return 0, err } i -= size - i = encodeVarintNameservice(dAtA, i, uint64(size)) + i = encodeVarintRegistry(dAtA, i, uint64(size)) } i-- dAtA[i] = 0x12 @@ -1238,7 +1238,7 @@ func (m *NameEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) { if len(m.Name) > 0 { i -= len(m.Name) copy(dAtA[i:], m.Name) - i = encodeVarintNameservice(dAtA, i, uint64(len(m.Name))) + i = encodeVarintRegistry(dAtA, i, uint64(len(m.Name))) i-- dAtA[i] = 0xa } @@ -1273,7 +1273,7 @@ func (m *NameRecord) MarshalToSizedBuffer(dAtA []byte) (int, error) { return 0, err } i -= size - i = encodeVarintNameservice(dAtA, i, uint64(size)) + i = encodeVarintRegistry(dAtA, i, uint64(size)) } i-- dAtA[i] = 0x12 @@ -1286,7 +1286,7 @@ func (m *NameRecord) MarshalToSizedBuffer(dAtA []byte) (int, error) { return 0, err } i -= size - i = encodeVarintNameservice(dAtA, i, uint64(size)) + i = encodeVarintRegistry(dAtA, i, uint64(size)) } i-- dAtA[i] = 0xa @@ -1315,14 +1315,14 @@ func (m *NameRecordEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) { var l int _ = l if m.Height != 0 { - i = encodeVarintNameservice(dAtA, i, uint64(m.Height)) + i = encodeVarintRegistry(dAtA, i, uint64(m.Height)) i-- dAtA[i] = 0x10 } if len(m.Id) > 0 { i -= len(m.Id) copy(dAtA[i:], m.Id) - i = encodeVarintNameservice(dAtA, i, uint64(len(m.Id))) + i = encodeVarintRegistry(dAtA, i, uint64(len(m.Id))) i-- dAtA[i] = 0xa } @@ -1352,14 +1352,14 @@ func (m *Signature) MarshalToSizedBuffer(dAtA []byte) (int, error) { if len(m.PubKey) > 0 { i -= len(m.PubKey) copy(dAtA[i:], m.PubKey) - i = encodeVarintNameservice(dAtA, i, uint64(len(m.PubKey))) + i = encodeVarintRegistry(dAtA, i, uint64(len(m.PubKey))) i-- dAtA[i] = 0x12 } if len(m.Sig) > 0 { i -= len(m.Sig) copy(dAtA[i:], m.Sig) - i = encodeVarintNameservice(dAtA, i, uint64(len(m.Sig))) + i = encodeVarintRegistry(dAtA, i, uint64(len(m.Sig))) i-- dAtA[i] = 0xa } @@ -1390,7 +1390,7 @@ func (m *BlockChangeSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { for iNdEx := len(m.Names) - 1; iNdEx >= 0; iNdEx-- { i -= len(m.Names[iNdEx]) copy(dAtA[i:], m.Names[iNdEx]) - i = encodeVarintNameservice(dAtA, i, uint64(len(m.Names[iNdEx]))) + i = encodeVarintRegistry(dAtA, i, uint64(len(m.Names[iNdEx]))) i-- dAtA[i] = 0x32 } @@ -1399,7 +1399,7 @@ func (m *BlockChangeSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { for iNdEx := len(m.Authorities) - 1; iNdEx >= 0; iNdEx-- { i -= len(m.Authorities[iNdEx]) copy(dAtA[i:], m.Authorities[iNdEx]) - i = encodeVarintNameservice(dAtA, i, uint64(len(m.Authorities[iNdEx]))) + i = encodeVarintRegistry(dAtA, i, uint64(len(m.Authorities[iNdEx]))) i-- dAtA[i] = 0x2a } @@ -1412,7 +1412,7 @@ func (m *BlockChangeSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { return 0, err } i -= size - i = encodeVarintNameservice(dAtA, i, uint64(size)) + i = encodeVarintRegistry(dAtA, i, uint64(size)) } i-- dAtA[i] = 0x22 @@ -1422,7 +1422,7 @@ func (m *BlockChangeSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { for iNdEx := len(m.Auctions) - 1; iNdEx >= 0; iNdEx-- { i -= len(m.Auctions[iNdEx]) copy(dAtA[i:], m.Auctions[iNdEx]) - i = encodeVarintNameservice(dAtA, i, uint64(len(m.Auctions[iNdEx]))) + i = encodeVarintRegistry(dAtA, i, uint64(len(m.Auctions[iNdEx]))) i-- dAtA[i] = 0x1a } @@ -1431,13 +1431,13 @@ func (m *BlockChangeSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { for iNdEx := len(m.Records) - 1; iNdEx >= 0; iNdEx-- { i -= len(m.Records[iNdEx]) copy(dAtA[i:], m.Records[iNdEx]) - i = encodeVarintNameservice(dAtA, i, uint64(len(m.Records[iNdEx]))) + i = encodeVarintRegistry(dAtA, i, uint64(len(m.Records[iNdEx]))) i-- dAtA[i] = 0x12 } } if m.Height != 0 { - i = encodeVarintNameservice(dAtA, i, uint64(m.Height)) + i = encodeVarintRegistry(dAtA, i, uint64(m.Height)) i-- dAtA[i] = 0x8 } @@ -1467,22 +1467,22 @@ func (m *AuctionBidInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { if len(m.BidderAddress) > 0 { i -= len(m.BidderAddress) copy(dAtA[i:], m.BidderAddress) - i = encodeVarintNameservice(dAtA, i, uint64(len(m.BidderAddress))) + i = encodeVarintRegistry(dAtA, i, uint64(len(m.BidderAddress))) i-- dAtA[i] = 0x12 } if len(m.AuctionId) > 0 { i -= len(m.AuctionId) copy(dAtA[i:], m.AuctionId) - i = encodeVarintNameservice(dAtA, i, uint64(len(m.AuctionId))) + i = encodeVarintRegistry(dAtA, i, uint64(len(m.AuctionId))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func encodeVarintNameservice(dAtA []byte, offset int, v uint64) int { - offset -= sovNameservice(v) +func encodeVarintRegistry(dAtA []byte, offset int, v uint64) int { + offset -= sovRegistry(v) base := offset for v >= 1<<7 { dAtA[offset] = uint8(v&0x7f | 0x80) @@ -1499,28 +1499,28 @@ func (m *Params) Size() (n int) { var l int _ = l l = m.RecordRent.Size() - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.RecordRentDuration) - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) l = m.AuthorityRent.Size() - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.AuthorityRentDuration) - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.AuthorityGracePeriod) - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) if m.AuthorityAuctionEnabled { n += 2 } l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.AuthorityAuctionCommitsDuration) - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.AuthorityAuctionRevealsDuration) - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) l = m.AuthorityAuctionCommitFee.Size() - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) l = m.AuthorityAuctionRevealFee.Size() - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) l = m.AuthorityAuctionMinimumBid.Size() - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) return n } @@ -1532,19 +1532,19 @@ func (m *Record) Size() (n int) { _ = l l = len(m.Id) if l > 0 { - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) } l = len(m.BondId) if l > 0 { - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) } l = len(m.CreateTime) if l > 0 { - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) } l = len(m.ExpiryTime) if l > 0 { - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) } if m.Deleted { n += 2 @@ -1552,22 +1552,22 @@ func (m *Record) Size() (n int) { if len(m.Owners) > 0 { for _, s := range m.Owners { l = len(s) - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) } } if m.Attributes != nil { l = m.Attributes.Size() - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) } if len(m.Names) > 0 { for _, s := range m.Names { l = len(s) - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) } } l = len(m.Type) if l > 0 { - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) } return n } @@ -1580,11 +1580,11 @@ func (m *AuthorityEntry) Size() (n int) { _ = l l = len(m.Name) if l > 0 { - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) } if m.Entry != nil { l = m.Entry.Size() - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) } return n } @@ -1597,29 +1597,29 @@ func (m *NameAuthority) Size() (n int) { _ = l l = len(m.OwnerPublicKey) if l > 0 { - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) } l = len(m.OwnerAddress) if l > 0 { - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) } if m.Height != 0 { - n += 1 + sovNameservice(uint64(m.Height)) + n += 1 + sovRegistry(uint64(m.Height)) } l = len(m.Status) if l > 0 { - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) } l = len(m.AuctionId) if l > 0 { - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) } l = len(m.BondId) if l > 0 { - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) } l = github_com_gogo_protobuf_types.SizeOfStdTime(m.ExpiryTime) - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) return n } @@ -1631,11 +1631,11 @@ func (m *NameEntry) Size() (n int) { _ = l l = len(m.Name) if l > 0 { - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) } if m.Entry != nil { l = m.Entry.Size() - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) } return n } @@ -1648,12 +1648,12 @@ func (m *NameRecord) Size() (n int) { _ = l if m.Latest != nil { l = m.Latest.Size() - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) } if len(m.History) > 0 { for _, e := range m.History { l = e.Size() - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) } } return n @@ -1667,10 +1667,10 @@ func (m *NameRecordEntry) Size() (n int) { _ = l l = len(m.Id) if l > 0 { - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) } if m.Height != 0 { - n += 1 + sovNameservice(uint64(m.Height)) + n += 1 + sovRegistry(uint64(m.Height)) } return n } @@ -1683,11 +1683,11 @@ func (m *Signature) Size() (n int) { _ = l l = len(m.Sig) if l > 0 { - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) } l = len(m.PubKey) if l > 0 { - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) } return n } @@ -1699,36 +1699,36 @@ func (m *BlockChangeSet) Size() (n int) { var l int _ = l if m.Height != 0 { - n += 1 + sovNameservice(uint64(m.Height)) + n += 1 + sovRegistry(uint64(m.Height)) } if len(m.Records) > 0 { for _, s := range m.Records { l = len(s) - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) } } if len(m.Auctions) > 0 { for _, s := range m.Auctions { l = len(s) - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) } } if len(m.AuctionBids) > 0 { for _, e := range m.AuctionBids { l = e.Size() - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) } } if len(m.Authorities) > 0 { for _, s := range m.Authorities { l = len(s) - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) } } if len(m.Names) > 0 { for _, s := range m.Names { l = len(s) - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) } } return n @@ -1742,20 +1742,20 @@ func (m *AuctionBidInfo) Size() (n int) { _ = l l = len(m.AuctionId) if l > 0 { - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) } l = len(m.BidderAddress) if l > 0 { - n += 1 + l + sovNameservice(uint64(l)) + n += 1 + l + sovRegistry(uint64(l)) } return n } -func sovNameservice(x uint64) (n int) { +func sovRegistry(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } -func sozNameservice(x uint64) (n int) { - return sovNameservice(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +func sozRegistry(x uint64) (n int) { + return sovRegistry(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } func (m *Params) Unmarshal(dAtA []byte) error { l := len(dAtA) @@ -1765,7 +1765,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -1793,7 +1793,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -1806,11 +1806,11 @@ func (m *Params) Unmarshal(dAtA []byte) error { } } if msglen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + msglen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -1826,7 +1826,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -1839,11 +1839,11 @@ func (m *Params) Unmarshal(dAtA []byte) error { } } if msglen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + msglen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -1859,7 +1859,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -1872,11 +1872,11 @@ func (m *Params) Unmarshal(dAtA []byte) error { } } if msglen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + msglen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -1892,7 +1892,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -1905,11 +1905,11 @@ func (m *Params) Unmarshal(dAtA []byte) error { } } if msglen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + msglen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -1925,7 +1925,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -1938,11 +1938,11 @@ func (m *Params) Unmarshal(dAtA []byte) error { } } if msglen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + msglen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -1958,7 +1958,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -1978,7 +1978,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -1991,11 +1991,11 @@ func (m *Params) Unmarshal(dAtA []byte) error { } } if msglen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + msglen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -2011,7 +2011,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -2024,11 +2024,11 @@ func (m *Params) Unmarshal(dAtA []byte) error { } } if msglen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + msglen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -2044,7 +2044,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -2057,11 +2057,11 @@ func (m *Params) Unmarshal(dAtA []byte) error { } } if msglen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + msglen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -2077,7 +2077,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -2090,11 +2090,11 @@ func (m *Params) Unmarshal(dAtA []byte) error { } } if msglen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + msglen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -2110,7 +2110,7 @@ func (m *Params) Unmarshal(dAtA []byte) error { var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -2123,11 +2123,11 @@ func (m *Params) Unmarshal(dAtA []byte) error { } } if msglen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + msglen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -2138,12 +2138,12 @@ func (m *Params) Unmarshal(dAtA []byte) error { iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipNameservice(dAtA[iNdEx:]) + skippy, err := skipRegistry(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF @@ -2165,7 +2165,7 @@ func (m *Record) Unmarshal(dAtA []byte) error { var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -2193,7 +2193,7 @@ func (m *Record) Unmarshal(dAtA []byte) error { var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -2207,11 +2207,11 @@ func (m *Record) Unmarshal(dAtA []byte) error { } intStringLen := int(stringLen) if intStringLen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + intStringLen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -2225,7 +2225,7 @@ func (m *Record) Unmarshal(dAtA []byte) error { var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -2239,11 +2239,11 @@ func (m *Record) Unmarshal(dAtA []byte) error { } intStringLen := int(stringLen) if intStringLen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + intStringLen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -2257,7 +2257,7 @@ func (m *Record) Unmarshal(dAtA []byte) error { var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -2271,11 +2271,11 @@ func (m *Record) Unmarshal(dAtA []byte) error { } intStringLen := int(stringLen) if intStringLen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + intStringLen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -2289,7 +2289,7 @@ func (m *Record) Unmarshal(dAtA []byte) error { var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -2303,11 +2303,11 @@ func (m *Record) Unmarshal(dAtA []byte) error { } intStringLen := int(stringLen) if intStringLen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + intStringLen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -2321,7 +2321,7 @@ func (m *Record) Unmarshal(dAtA []byte) error { var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -2341,7 +2341,7 @@ func (m *Record) Unmarshal(dAtA []byte) error { var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -2355,11 +2355,11 @@ func (m *Record) Unmarshal(dAtA []byte) error { } intStringLen := int(stringLen) if intStringLen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + intStringLen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -2373,7 +2373,7 @@ func (m *Record) Unmarshal(dAtA []byte) error { var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -2386,11 +2386,11 @@ func (m *Record) Unmarshal(dAtA []byte) error { } } if msglen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + msglen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -2409,7 +2409,7 @@ func (m *Record) Unmarshal(dAtA []byte) error { var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -2423,11 +2423,11 @@ func (m *Record) Unmarshal(dAtA []byte) error { } intStringLen := int(stringLen) if intStringLen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + intStringLen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -2441,7 +2441,7 @@ func (m *Record) Unmarshal(dAtA []byte) error { var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -2455,11 +2455,11 @@ func (m *Record) Unmarshal(dAtA []byte) error { } intStringLen := int(stringLen) if intStringLen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + intStringLen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -2468,12 +2468,12 @@ func (m *Record) Unmarshal(dAtA []byte) error { iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipNameservice(dAtA[iNdEx:]) + skippy, err := skipRegistry(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF @@ -2495,7 +2495,7 @@ func (m *AuthorityEntry) Unmarshal(dAtA []byte) error { var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -2523,7 +2523,7 @@ func (m *AuthorityEntry) Unmarshal(dAtA []byte) error { var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -2537,11 +2537,11 @@ func (m *AuthorityEntry) Unmarshal(dAtA []byte) error { } intStringLen := int(stringLen) if intStringLen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + intStringLen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -2555,7 +2555,7 @@ func (m *AuthorityEntry) Unmarshal(dAtA []byte) error { var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -2568,11 +2568,11 @@ func (m *AuthorityEntry) Unmarshal(dAtA []byte) error { } } if msglen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + msglen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -2586,12 +2586,12 @@ func (m *AuthorityEntry) Unmarshal(dAtA []byte) error { iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipNameservice(dAtA[iNdEx:]) + skippy, err := skipRegistry(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF @@ -2613,7 +2613,7 @@ func (m *NameAuthority) Unmarshal(dAtA []byte) error { var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -2641,7 +2641,7 @@ func (m *NameAuthority) Unmarshal(dAtA []byte) error { var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -2655,11 +2655,11 @@ func (m *NameAuthority) Unmarshal(dAtA []byte) error { } intStringLen := int(stringLen) if intStringLen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + intStringLen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -2673,7 +2673,7 @@ func (m *NameAuthority) Unmarshal(dAtA []byte) error { var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -2687,11 +2687,11 @@ func (m *NameAuthority) Unmarshal(dAtA []byte) error { } intStringLen := int(stringLen) if intStringLen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + intStringLen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -2705,7 +2705,7 @@ func (m *NameAuthority) Unmarshal(dAtA []byte) error { m.Height = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -2724,7 +2724,7 @@ func (m *NameAuthority) Unmarshal(dAtA []byte) error { var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -2738,11 +2738,11 @@ func (m *NameAuthority) Unmarshal(dAtA []byte) error { } intStringLen := int(stringLen) if intStringLen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + intStringLen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -2756,7 +2756,7 @@ func (m *NameAuthority) Unmarshal(dAtA []byte) error { var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -2770,11 +2770,11 @@ func (m *NameAuthority) Unmarshal(dAtA []byte) error { } intStringLen := int(stringLen) if intStringLen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + intStringLen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -2788,7 +2788,7 @@ func (m *NameAuthority) Unmarshal(dAtA []byte) error { var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -2802,11 +2802,11 @@ func (m *NameAuthority) Unmarshal(dAtA []byte) error { } intStringLen := int(stringLen) if intStringLen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + intStringLen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -2820,7 +2820,7 @@ func (m *NameAuthority) Unmarshal(dAtA []byte) error { var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -2833,11 +2833,11 @@ func (m *NameAuthority) Unmarshal(dAtA []byte) error { } } if msglen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + msglen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -2848,12 +2848,12 @@ func (m *NameAuthority) Unmarshal(dAtA []byte) error { iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipNameservice(dAtA[iNdEx:]) + skippy, err := skipRegistry(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF @@ -2875,7 +2875,7 @@ func (m *NameEntry) Unmarshal(dAtA []byte) error { var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -2903,7 +2903,7 @@ func (m *NameEntry) Unmarshal(dAtA []byte) error { var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -2917,11 +2917,11 @@ func (m *NameEntry) Unmarshal(dAtA []byte) error { } intStringLen := int(stringLen) if intStringLen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + intStringLen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -2935,7 +2935,7 @@ func (m *NameEntry) Unmarshal(dAtA []byte) error { var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -2948,11 +2948,11 @@ func (m *NameEntry) Unmarshal(dAtA []byte) error { } } if msglen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + msglen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -2966,12 +2966,12 @@ func (m *NameEntry) Unmarshal(dAtA []byte) error { iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipNameservice(dAtA[iNdEx:]) + skippy, err := skipRegistry(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF @@ -2993,7 +2993,7 @@ func (m *NameRecord) Unmarshal(dAtA []byte) error { var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -3021,7 +3021,7 @@ func (m *NameRecord) Unmarshal(dAtA []byte) error { var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -3034,11 +3034,11 @@ func (m *NameRecord) Unmarshal(dAtA []byte) error { } } if msglen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + msglen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -3057,7 +3057,7 @@ func (m *NameRecord) Unmarshal(dAtA []byte) error { var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -3070,11 +3070,11 @@ func (m *NameRecord) Unmarshal(dAtA []byte) error { } } if msglen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + msglen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -3086,12 +3086,12 @@ func (m *NameRecord) Unmarshal(dAtA []byte) error { iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipNameservice(dAtA[iNdEx:]) + skippy, err := skipRegistry(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF @@ -3113,7 +3113,7 @@ func (m *NameRecordEntry) Unmarshal(dAtA []byte) error { var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -3141,7 +3141,7 @@ func (m *NameRecordEntry) Unmarshal(dAtA []byte) error { var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -3155,11 +3155,11 @@ func (m *NameRecordEntry) Unmarshal(dAtA []byte) error { } intStringLen := int(stringLen) if intStringLen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + intStringLen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -3173,7 +3173,7 @@ func (m *NameRecordEntry) Unmarshal(dAtA []byte) error { m.Height = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -3187,12 +3187,12 @@ func (m *NameRecordEntry) Unmarshal(dAtA []byte) error { } default: iNdEx = preIndex - skippy, err := skipNameservice(dAtA[iNdEx:]) + skippy, err := skipRegistry(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF @@ -3214,7 +3214,7 @@ func (m *Signature) Unmarshal(dAtA []byte) error { var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -3242,7 +3242,7 @@ func (m *Signature) Unmarshal(dAtA []byte) error { var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -3256,11 +3256,11 @@ func (m *Signature) Unmarshal(dAtA []byte) error { } intStringLen := int(stringLen) if intStringLen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + intStringLen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -3274,7 +3274,7 @@ func (m *Signature) Unmarshal(dAtA []byte) error { var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -3288,11 +3288,11 @@ func (m *Signature) Unmarshal(dAtA []byte) error { } intStringLen := int(stringLen) if intStringLen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + intStringLen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -3301,12 +3301,12 @@ func (m *Signature) Unmarshal(dAtA []byte) error { iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipNameservice(dAtA[iNdEx:]) + skippy, err := skipRegistry(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF @@ -3328,7 +3328,7 @@ func (m *BlockChangeSet) Unmarshal(dAtA []byte) error { var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -3356,7 +3356,7 @@ func (m *BlockChangeSet) Unmarshal(dAtA []byte) error { m.Height = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -3375,7 +3375,7 @@ func (m *BlockChangeSet) Unmarshal(dAtA []byte) error { var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -3389,11 +3389,11 @@ func (m *BlockChangeSet) Unmarshal(dAtA []byte) error { } intStringLen := int(stringLen) if intStringLen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + intStringLen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -3407,7 +3407,7 @@ func (m *BlockChangeSet) Unmarshal(dAtA []byte) error { var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -3421,11 +3421,11 @@ func (m *BlockChangeSet) Unmarshal(dAtA []byte) error { } intStringLen := int(stringLen) if intStringLen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + intStringLen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -3439,7 +3439,7 @@ func (m *BlockChangeSet) Unmarshal(dAtA []byte) error { var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -3452,11 +3452,11 @@ func (m *BlockChangeSet) Unmarshal(dAtA []byte) error { } } if msglen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + msglen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -3473,7 +3473,7 @@ func (m *BlockChangeSet) Unmarshal(dAtA []byte) error { var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -3487,11 +3487,11 @@ func (m *BlockChangeSet) Unmarshal(dAtA []byte) error { } intStringLen := int(stringLen) if intStringLen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + intStringLen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -3505,7 +3505,7 @@ func (m *BlockChangeSet) Unmarshal(dAtA []byte) error { var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -3519,11 +3519,11 @@ func (m *BlockChangeSet) Unmarshal(dAtA []byte) error { } intStringLen := int(stringLen) if intStringLen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + intStringLen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -3532,12 +3532,12 @@ func (m *BlockChangeSet) Unmarshal(dAtA []byte) error { iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipNameservice(dAtA[iNdEx:]) + skippy, err := skipRegistry(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF @@ -3559,7 +3559,7 @@ func (m *AuctionBidInfo) Unmarshal(dAtA []byte) error { var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -3587,7 +3587,7 @@ func (m *AuctionBidInfo) Unmarshal(dAtA []byte) error { var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -3601,11 +3601,11 @@ func (m *AuctionBidInfo) Unmarshal(dAtA []byte) error { } intStringLen := int(stringLen) if intStringLen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + intStringLen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -3619,7 +3619,7 @@ func (m *AuctionBidInfo) Unmarshal(dAtA []byte) error { var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return ErrIntOverflowNameservice + return ErrIntOverflowRegistry } if iNdEx >= l { return io.ErrUnexpectedEOF @@ -3633,11 +3633,11 @@ func (m *AuctionBidInfo) Unmarshal(dAtA []byte) error { } intStringLen := int(stringLen) if intStringLen < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } postIndex := iNdEx + intStringLen if postIndex < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if postIndex > l { return io.ErrUnexpectedEOF @@ -3646,12 +3646,12 @@ func (m *AuctionBidInfo) Unmarshal(dAtA []byte) error { iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipNameservice(dAtA[iNdEx:]) + skippy, err := skipRegistry(dAtA[iNdEx:]) if err != nil { return err } if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthNameservice + return ErrInvalidLengthRegistry } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF @@ -3665,7 +3665,7 @@ func (m *AuctionBidInfo) Unmarshal(dAtA []byte) error { } return nil } -func skipNameservice(dAtA []byte) (n int, err error) { +func skipRegistry(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 depth := 0 @@ -3673,7 +3673,7 @@ func skipNameservice(dAtA []byte) (n int, err error) { var wire uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { - return 0, ErrIntOverflowNameservice + return 0, ErrIntOverflowRegistry } if iNdEx >= l { return 0, io.ErrUnexpectedEOF @@ -3690,7 +3690,7 @@ func skipNameservice(dAtA []byte) (n int, err error) { case 0: for shift := uint(0); ; shift += 7 { if shift >= 64 { - return 0, ErrIntOverflowNameservice + return 0, ErrIntOverflowRegistry } if iNdEx >= l { return 0, io.ErrUnexpectedEOF @@ -3706,7 +3706,7 @@ func skipNameservice(dAtA []byte) (n int, err error) { var length int for shift := uint(0); ; shift += 7 { if shift >= 64 { - return 0, ErrIntOverflowNameservice + return 0, ErrIntOverflowRegistry } if iNdEx >= l { return 0, io.ErrUnexpectedEOF @@ -3719,14 +3719,14 @@ func skipNameservice(dAtA []byte) (n int, err error) { } } if length < 0 { - return 0, ErrInvalidLengthNameservice + return 0, ErrInvalidLengthRegistry } iNdEx += length case 3: depth++ case 4: if depth == 0 { - return 0, ErrUnexpectedEndOfGroupNameservice + return 0, ErrUnexpectedEndOfGroupRegistry } depth-- case 5: @@ -3735,7 +3735,7 @@ func skipNameservice(dAtA []byte) (n int, err error) { return 0, fmt.Errorf("proto: illegal wireType %d", wireType) } if iNdEx < 0 { - return 0, ErrInvalidLengthNameservice + return 0, ErrInvalidLengthRegistry } if depth == 0 { return iNdEx, nil @@ -3745,7 +3745,7 @@ func skipNameservice(dAtA []byte) (n int, err error) { } var ( - ErrInvalidLengthNameservice = fmt.Errorf("proto: negative length found during unmarshaling") - ErrIntOverflowNameservice = fmt.Errorf("proto: integer overflow") - ErrUnexpectedEndOfGroupNameservice = fmt.Errorf("proto: unexpected end of group") + ErrInvalidLengthRegistry = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowRegistry = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupRegistry = fmt.Errorf("proto: unexpected end of group") ) diff --git a/x/nameservice/types/tx.pb.go b/x/registry/types/tx.pb.go similarity index 91% rename from x/nameservice/types/tx.pb.go rename to x/registry/types/tx.pb.go index fdd190b9..6e4ecb66 100644 --- a/x/nameservice/types/tx.pb.go +++ b/x/registry/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: vulcanize/nameservice/v1beta1/tx.proto +// source: vulcanize/registry/v1beta1/tx.proto package types @@ -39,7 +39,7 @@ func (m *MsgSetRecord) Reset() { *m = MsgSetRecord{} } func (m *MsgSetRecord) String() string { return proto.CompactTextString(m) } func (*MsgSetRecord) ProtoMessage() {} func (*MsgSetRecord) Descriptor() ([]byte, []int) { - return fileDescriptor_b66a805dda801ce9, []int{0} + return fileDescriptor_4db93ede4fa65546, []int{0} } func (m *MsgSetRecord) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -98,7 +98,7 @@ func (m *MsgSetRecordResponse) Reset() { *m = MsgSetRecordResponse{} } func (m *MsgSetRecordResponse) String() string { return proto.CompactTextString(m) } func (*MsgSetRecordResponse) ProtoMessage() {} func (*MsgSetRecordResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b66a805dda801ce9, []int{1} + return fileDescriptor_4db93ede4fa65546, []int{1} } func (m *MsgSetRecordResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -144,7 +144,7 @@ func (m *Payload) Reset() { *m = Payload{} } func (m *Payload) String() string { return proto.CompactTextString(m) } func (*Payload) ProtoMessage() {} func (*Payload) Descriptor() ([]byte, []int) { - return fileDescriptor_b66a805dda801ce9, []int{2} + return fileDescriptor_4db93ede4fa65546, []int{2} } func (m *Payload) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -198,7 +198,7 @@ func (m *MsgSetName) Reset() { *m = MsgSetName{} } func (m *MsgSetName) String() string { return proto.CompactTextString(m) } func (*MsgSetName) ProtoMessage() {} func (*MsgSetName) Descriptor() ([]byte, []int) { - return fileDescriptor_b66a805dda801ce9, []int{3} + return fileDescriptor_4db93ede4fa65546, []int{3} } func (m *MsgSetName) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -256,7 +256,7 @@ func (m *MsgSetNameResponse) Reset() { *m = MsgSetNameResponse{} } func (m *MsgSetNameResponse) String() string { return proto.CompactTextString(m) } func (*MsgSetNameResponse) ProtoMessage() {} func (*MsgSetNameResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b66a805dda801ce9, []int{4} + return fileDescriptor_4db93ede4fa65546, []int{4} } func (m *MsgSetNameResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -297,7 +297,7 @@ func (m *MsgReserveAuthority) Reset() { *m = MsgReserveAuthority{} } func (m *MsgReserveAuthority) String() string { return proto.CompactTextString(m) } func (*MsgReserveAuthority) ProtoMessage() {} func (*MsgReserveAuthority) Descriptor() ([]byte, []int) { - return fileDescriptor_b66a805dda801ce9, []int{5} + return fileDescriptor_4db93ede4fa65546, []int{5} } func (m *MsgReserveAuthority) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -355,7 +355,7 @@ func (m *MsgReserveAuthorityResponse) Reset() { *m = MsgReserveAuthority func (m *MsgReserveAuthorityResponse) String() string { return proto.CompactTextString(m) } func (*MsgReserveAuthorityResponse) ProtoMessage() {} func (*MsgReserveAuthorityResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b66a805dda801ce9, []int{6} + return fileDescriptor_4db93ede4fa65546, []int{6} } func (m *MsgReserveAuthorityResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -395,7 +395,7 @@ func (m *MsgSetAuthorityBond) Reset() { *m = MsgSetAuthorityBond{} } func (m *MsgSetAuthorityBond) String() string { return proto.CompactTextString(m) } func (*MsgSetAuthorityBond) ProtoMessage() {} func (*MsgSetAuthorityBond) Descriptor() ([]byte, []int) { - return fileDescriptor_b66a805dda801ce9, []int{7} + return fileDescriptor_4db93ede4fa65546, []int{7} } func (m *MsgSetAuthorityBond) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -453,7 +453,7 @@ func (m *MsgSetAuthorityBondResponse) Reset() { *m = MsgSetAuthorityBond func (m *MsgSetAuthorityBondResponse) String() string { return proto.CompactTextString(m) } func (*MsgSetAuthorityBondResponse) ProtoMessage() {} func (*MsgSetAuthorityBondResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b66a805dda801ce9, []int{8} + return fileDescriptor_4db93ede4fa65546, []int{8} } func (m *MsgSetAuthorityBondResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -492,7 +492,7 @@ func (m *MsgDeleteNameAuthority) Reset() { *m = MsgDeleteNameAuthority{} func (m *MsgDeleteNameAuthority) String() string { return proto.CompactTextString(m) } func (*MsgDeleteNameAuthority) ProtoMessage() {} func (*MsgDeleteNameAuthority) Descriptor() ([]byte, []int) { - return fileDescriptor_b66a805dda801ce9, []int{9} + return fileDescriptor_4db93ede4fa65546, []int{9} } func (m *MsgDeleteNameAuthority) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -543,7 +543,7 @@ func (m *MsgDeleteNameAuthorityResponse) Reset() { *m = MsgDeleteNameAut func (m *MsgDeleteNameAuthorityResponse) String() string { return proto.CompactTextString(m) } func (*MsgDeleteNameAuthorityResponse) ProtoMessage() {} func (*MsgDeleteNameAuthorityResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b66a805dda801ce9, []int{10} + return fileDescriptor_4db93ede4fa65546, []int{10} } func (m *MsgDeleteNameAuthorityResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -582,7 +582,7 @@ func (m *MsgRenewRecord) Reset() { *m = MsgRenewRecord{} } func (m *MsgRenewRecord) String() string { return proto.CompactTextString(m) } func (*MsgRenewRecord) ProtoMessage() {} func (*MsgRenewRecord) Descriptor() ([]byte, []int) { - return fileDescriptor_b66a805dda801ce9, []int{11} + return fileDescriptor_4db93ede4fa65546, []int{11} } func (m *MsgRenewRecord) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -633,7 +633,7 @@ func (m *MsgRenewRecordResponse) Reset() { *m = MsgRenewRecordResponse{} func (m *MsgRenewRecordResponse) String() string { return proto.CompactTextString(m) } func (*MsgRenewRecordResponse) ProtoMessage() {} func (*MsgRenewRecordResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b66a805dda801ce9, []int{12} + return fileDescriptor_4db93ede4fa65546, []int{12} } func (m *MsgRenewRecordResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -673,7 +673,7 @@ func (m *MsgAssociateBond) Reset() { *m = MsgAssociateBond{} } func (m *MsgAssociateBond) String() string { return proto.CompactTextString(m) } func (*MsgAssociateBond) ProtoMessage() {} func (*MsgAssociateBond) Descriptor() ([]byte, []int) { - return fileDescriptor_b66a805dda801ce9, []int{13} + return fileDescriptor_4db93ede4fa65546, []int{13} } func (m *MsgAssociateBond) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -731,7 +731,7 @@ func (m *MsgAssociateBondResponse) Reset() { *m = MsgAssociateBondRespon func (m *MsgAssociateBondResponse) String() string { return proto.CompactTextString(m) } func (*MsgAssociateBondResponse) ProtoMessage() {} func (*MsgAssociateBondResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b66a805dda801ce9, []int{14} + return fileDescriptor_4db93ede4fa65546, []int{14} } func (m *MsgAssociateBondResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -770,7 +770,7 @@ func (m *MsgDissociateBond) Reset() { *m = MsgDissociateBond{} } func (m *MsgDissociateBond) String() string { return proto.CompactTextString(m) } func (*MsgDissociateBond) ProtoMessage() {} func (*MsgDissociateBond) Descriptor() ([]byte, []int) { - return fileDescriptor_b66a805dda801ce9, []int{15} + return fileDescriptor_4db93ede4fa65546, []int{15} } func (m *MsgDissociateBond) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -821,7 +821,7 @@ func (m *MsgDissociateBondResponse) Reset() { *m = MsgDissociateBondResp func (m *MsgDissociateBondResponse) String() string { return proto.CompactTextString(m) } func (*MsgDissociateBondResponse) ProtoMessage() {} func (*MsgDissociateBondResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b66a805dda801ce9, []int{16} + return fileDescriptor_4db93ede4fa65546, []int{16} } func (m *MsgDissociateBondResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -860,7 +860,7 @@ func (m *MsgDissociateRecords) Reset() { *m = MsgDissociateRecords{} } func (m *MsgDissociateRecords) String() string { return proto.CompactTextString(m) } func (*MsgDissociateRecords) ProtoMessage() {} func (*MsgDissociateRecords) Descriptor() ([]byte, []int) { - return fileDescriptor_b66a805dda801ce9, []int{17} + return fileDescriptor_4db93ede4fa65546, []int{17} } func (m *MsgDissociateRecords) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -911,7 +911,7 @@ func (m *MsgDissociateRecordsResponse) Reset() { *m = MsgDissociateRecor func (m *MsgDissociateRecordsResponse) String() string { return proto.CompactTextString(m) } func (*MsgDissociateRecordsResponse) ProtoMessage() {} func (*MsgDissociateRecordsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b66a805dda801ce9, []int{18} + return fileDescriptor_4db93ede4fa65546, []int{18} } func (m *MsgDissociateRecordsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -951,7 +951,7 @@ func (m *MsgReAssociateRecords) Reset() { *m = MsgReAssociateRecords{} } func (m *MsgReAssociateRecords) String() string { return proto.CompactTextString(m) } func (*MsgReAssociateRecords) ProtoMessage() {} func (*MsgReAssociateRecords) Descriptor() ([]byte, []int) { - return fileDescriptor_b66a805dda801ce9, []int{19} + return fileDescriptor_4db93ede4fa65546, []int{19} } func (m *MsgReAssociateRecords) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1009,7 +1009,7 @@ func (m *MsgReAssociateRecordsResponse) Reset() { *m = MsgReAssociateRec func (m *MsgReAssociateRecordsResponse) String() string { return proto.CompactTextString(m) } func (*MsgReAssociateRecordsResponse) ProtoMessage() {} func (*MsgReAssociateRecordsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b66a805dda801ce9, []int{20} + return fileDescriptor_4db93ede4fa65546, []int{20} } func (m *MsgReAssociateRecordsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1039,90 +1039,90 @@ func (m *MsgReAssociateRecordsResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgReAssociateRecordsResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*MsgSetRecord)(nil), "vulcanize.nameservice.v1beta1.MsgSetRecord") - proto.RegisterType((*MsgSetRecordResponse)(nil), "vulcanize.nameservice.v1beta1.MsgSetRecordResponse") - proto.RegisterType((*Payload)(nil), "vulcanize.nameservice.v1beta1.Payload") - proto.RegisterType((*MsgSetName)(nil), "vulcanize.nameservice.v1beta1.MsgSetName") - proto.RegisterType((*MsgSetNameResponse)(nil), "vulcanize.nameservice.v1beta1.MsgSetNameResponse") - proto.RegisterType((*MsgReserveAuthority)(nil), "vulcanize.nameservice.v1beta1.MsgReserveAuthority") - proto.RegisterType((*MsgReserveAuthorityResponse)(nil), "vulcanize.nameservice.v1beta1.MsgReserveAuthorityResponse") - proto.RegisterType((*MsgSetAuthorityBond)(nil), "vulcanize.nameservice.v1beta1.MsgSetAuthorityBond") - proto.RegisterType((*MsgSetAuthorityBondResponse)(nil), "vulcanize.nameservice.v1beta1.MsgSetAuthorityBondResponse") - proto.RegisterType((*MsgDeleteNameAuthority)(nil), "vulcanize.nameservice.v1beta1.MsgDeleteNameAuthority") - proto.RegisterType((*MsgDeleteNameAuthorityResponse)(nil), "vulcanize.nameservice.v1beta1.MsgDeleteNameAuthorityResponse") - proto.RegisterType((*MsgRenewRecord)(nil), "vulcanize.nameservice.v1beta1.MsgRenewRecord") - proto.RegisterType((*MsgRenewRecordResponse)(nil), "vulcanize.nameservice.v1beta1.MsgRenewRecordResponse") - proto.RegisterType((*MsgAssociateBond)(nil), "vulcanize.nameservice.v1beta1.MsgAssociateBond") - proto.RegisterType((*MsgAssociateBondResponse)(nil), "vulcanize.nameservice.v1beta1.MsgAssociateBondResponse") - proto.RegisterType((*MsgDissociateBond)(nil), "vulcanize.nameservice.v1beta1.MsgDissociateBond") - proto.RegisterType((*MsgDissociateBondResponse)(nil), "vulcanize.nameservice.v1beta1.MsgDissociateBondResponse") - proto.RegisterType((*MsgDissociateRecords)(nil), "vulcanize.nameservice.v1beta1.MsgDissociateRecords") - proto.RegisterType((*MsgDissociateRecordsResponse)(nil), "vulcanize.nameservice.v1beta1.MsgDissociateRecordsResponse") - proto.RegisterType((*MsgReAssociateRecords)(nil), "vulcanize.nameservice.v1beta1.MsgReAssociateRecords") - proto.RegisterType((*MsgReAssociateRecordsResponse)(nil), "vulcanize.nameservice.v1beta1.MsgReAssociateRecordsResponse") + proto.RegisterType((*MsgSetRecord)(nil), "vulcanize.registry.v1beta1.MsgSetRecord") + proto.RegisterType((*MsgSetRecordResponse)(nil), "vulcanize.registry.v1beta1.MsgSetRecordResponse") + proto.RegisterType((*Payload)(nil), "vulcanize.registry.v1beta1.Payload") + proto.RegisterType((*MsgSetName)(nil), "vulcanize.registry.v1beta1.MsgSetName") + proto.RegisterType((*MsgSetNameResponse)(nil), "vulcanize.registry.v1beta1.MsgSetNameResponse") + proto.RegisterType((*MsgReserveAuthority)(nil), "vulcanize.registry.v1beta1.MsgReserveAuthority") + proto.RegisterType((*MsgReserveAuthorityResponse)(nil), "vulcanize.registry.v1beta1.MsgReserveAuthorityResponse") + proto.RegisterType((*MsgSetAuthorityBond)(nil), "vulcanize.registry.v1beta1.MsgSetAuthorityBond") + proto.RegisterType((*MsgSetAuthorityBondResponse)(nil), "vulcanize.registry.v1beta1.MsgSetAuthorityBondResponse") + proto.RegisterType((*MsgDeleteNameAuthority)(nil), "vulcanize.registry.v1beta1.MsgDeleteNameAuthority") + proto.RegisterType((*MsgDeleteNameAuthorityResponse)(nil), "vulcanize.registry.v1beta1.MsgDeleteNameAuthorityResponse") + proto.RegisterType((*MsgRenewRecord)(nil), "vulcanize.registry.v1beta1.MsgRenewRecord") + proto.RegisterType((*MsgRenewRecordResponse)(nil), "vulcanize.registry.v1beta1.MsgRenewRecordResponse") + proto.RegisterType((*MsgAssociateBond)(nil), "vulcanize.registry.v1beta1.MsgAssociateBond") + proto.RegisterType((*MsgAssociateBondResponse)(nil), "vulcanize.registry.v1beta1.MsgAssociateBondResponse") + proto.RegisterType((*MsgDissociateBond)(nil), "vulcanize.registry.v1beta1.MsgDissociateBond") + proto.RegisterType((*MsgDissociateBondResponse)(nil), "vulcanize.registry.v1beta1.MsgDissociateBondResponse") + proto.RegisterType((*MsgDissociateRecords)(nil), "vulcanize.registry.v1beta1.MsgDissociateRecords") + proto.RegisterType((*MsgDissociateRecordsResponse)(nil), "vulcanize.registry.v1beta1.MsgDissociateRecordsResponse") + proto.RegisterType((*MsgReAssociateRecords)(nil), "vulcanize.registry.v1beta1.MsgReAssociateRecords") + proto.RegisterType((*MsgReAssociateRecordsResponse)(nil), "vulcanize.registry.v1beta1.MsgReAssociateRecordsResponse") } func init() { - proto.RegisterFile("vulcanize/nameservice/v1beta1/tx.proto", fileDescriptor_b66a805dda801ce9) + proto.RegisterFile("vulcanize/registry/v1beta1/tx.proto", fileDescriptor_4db93ede4fa65546) } -var fileDescriptor_b66a805dda801ce9 = []byte{ - // 877 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xcb, 0x6e, 0xdb, 0x46, - 0x14, 0x15, 0x25, 0x57, 0xaa, 0xae, 0x5a, 0xc3, 0x66, 0x55, 0x43, 0xa5, 0x6b, 0x52, 0xa5, 0x61, - 0x43, 0x85, 0x61, 0xb1, 0x96, 0x5b, 0xd4, 0x70, 0x6b, 0xa0, 0x16, 0x9a, 0x20, 0x5e, 0x28, 0x08, - 0xe8, 0x45, 0x80, 0x6c, 0x0c, 0x8a, 0x1c, 0xd0, 0x34, 0x24, 0x8e, 0x40, 0x52, 0x96, 0x15, 0x03, - 0xc9, 0x26, 0x40, 0x80, 0xac, 0xf2, 0x15, 0x41, 0x7e, 0x22, 0xc8, 0xd6, 0x4b, 0x2f, 0xb3, 0x12, - 0x02, 0xfb, 0x0f, 0xb4, 0xcd, 0x26, 0xe0, 0xf0, 0x35, 0xd4, 0xc3, 0x7a, 0xc4, 0xbb, 0xe1, 0xcc, - 0x3d, 0xf7, 0x9c, 0x7b, 0x66, 0x2e, 0x87, 0x84, 0xcd, 0xf3, 0x76, 0x43, 0x55, 0x4c, 0xe3, 0x39, - 0x92, 0x4c, 0xa5, 0x89, 0x6c, 0x64, 0x9d, 0x1b, 0x2a, 0x92, 0xce, 0x77, 0xea, 0xc8, 0x51, 0x76, - 0x24, 0xe7, 0xa2, 0xdc, 0xb2, 0xb0, 0x83, 0xd9, 0xb5, 0x30, 0xae, 0x4c, 0xc5, 0x95, 0xfd, 0x38, - 0x2e, 0xaf, 0x63, 0x1d, 0x93, 0x48, 0xc9, 0x1d, 0x79, 0x20, 0x4e, 0xba, 0x3b, 0x39, 0x9d, 0x88, - 0x00, 0xc4, 0xf7, 0x0c, 0xfc, 0x50, 0xb3, 0xf5, 0x63, 0xe4, 0xc8, 0x48, 0xc5, 0x96, 0xc6, 0xee, - 0x41, 0xa6, 0x8e, 0x4d, 0xed, 0xc4, 0xd0, 0x0a, 0x4c, 0x91, 0x29, 0x65, 0xab, 0x42, 0xbf, 0x27, - 0xac, 0x9e, 0xd9, 0xd8, 0xdc, 0x17, 0xdd, 0x85, 0x23, 0x4d, 0x2c, 0x76, 0x95, 0x66, 0x23, 0x7c, - 0x92, 0xd3, 0xde, 0x80, 0x5d, 0x81, 0xb4, 0x6d, 0xe8, 0x26, 0xb2, 0x0a, 0x49, 0x17, 0x28, 0xfb, - 0x4f, 0xec, 0x43, 0xc8, 0xb4, 0x94, 0x6e, 0x03, 0x2b, 0x5a, 0x21, 0x55, 0x64, 0x4a, 0xb9, 0xca, - 0x66, 0xf9, 0xce, 0xd2, 0xca, 0x4f, 0xbc, 0xe8, 0xea, 0xc2, 0x55, 0x4f, 0x48, 0xc8, 0x01, 0x58, - 0xdc, 0x84, 0x3c, 0xad, 0x54, 0x46, 0x76, 0x0b, 0x9b, 0x36, 0x62, 0x17, 0x21, 0x19, 0x88, 0x95, - 0x93, 0x86, 0x26, 0x7e, 0x64, 0x20, 0xe3, 0xa7, 0x60, 0x0f, 0x20, 0x6d, 0x91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0x5d, 0x2f, 0xab, 0xb8, 0x29, 0xa9, 0xc8, 0x52, 0xb7, 0x0d, 0x2c, 0x35, 0x14, 0x15, 0x9b, 0x86, - 0xaa, 0x49, 0x17, 0xb1, 0xbf, 0x01, 0xa7, 0xdb, 0x42, 0x76, 0x3d, 0x4d, 0x7e, 0x00, 0x76, 0xbf, - 0x06, 0x00, 0x00, 0xff, 0xff, 0xdb, 0x60, 0x57, 0xb3, 0x90, 0x0c, 0x00, 0x00, +var fileDescriptor_4db93ede4fa65546 = []byte{ + // 869 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcd, 0x6e, 0xdb, 0x46, + 0x10, 0x16, 0x25, 0x57, 0xaa, 0x46, 0xad, 0x61, 0xb3, 0xaa, 0xa1, 0xd2, 0x35, 0xa9, 0x52, 0xb0, + 0xa1, 0xb6, 0xb6, 0x68, 0xab, 0x2d, 0xea, 0xfa, 0x54, 0xab, 0x4d, 0x90, 0x1c, 0x14, 0x04, 0xf4, + 0x21, 0x40, 0x2e, 0x06, 0x45, 0x2e, 0x68, 0x1a, 0x12, 0x57, 0xe0, 0x52, 0x96, 0x95, 0x00, 0x01, + 0x02, 0xe4, 0x01, 0xf2, 0x12, 0xc9, 0x3b, 0xe4, 0xe0, 0xbb, 0x8f, 0x3e, 0xe6, 0x24, 0x04, 0xf6, + 0x1b, 0xe8, 0x09, 0x02, 0xfe, 0x2f, 0xf5, 0x47, 0x29, 0xf1, 0x6d, 0xc8, 0xfd, 0x66, 0xbe, 0x6f, + 0xbe, 0xdd, 0xe1, 0x12, 0x2a, 0x17, 0xbd, 0xb6, 0xaa, 0x98, 0xc6, 0x0b, 0x24, 0x59, 0x48, 0x37, + 0x88, 0x6d, 0x0d, 0xa4, 0x8b, 0x83, 0x16, 0xb2, 0x95, 0x03, 0xc9, 0xbe, 0xac, 0x75, 0x2d, 0x6c, + 0x63, 0x96, 0x0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0x00, 0x00, 0xff, 0xff, 0x38, 0xa4, 0xc4, + 0xcc, 0x3a, 0x0c, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1169,7 +1169,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { func (c *msgClient) SetRecord(ctx context.Context, in *MsgSetRecord, opts ...grpc.CallOption) (*MsgSetRecordResponse, error) { out := new(MsgSetRecordResponse) - err := c.cc.Invoke(ctx, "/vulcanize.nameservice.v1beta1.Msg/SetRecord", in, out, opts...) + err := c.cc.Invoke(ctx, "/vulcanize.registry.v1beta1.Msg/SetRecord", in, out, opts...) if err != nil { return nil, err } @@ -1178,7 +1178,7 @@ func (c *msgClient) SetRecord(ctx context.Context, in *MsgSetRecord, opts ...grp func (c *msgClient) RenewRecord(ctx context.Context, in *MsgRenewRecord, opts ...grpc.CallOption) (*MsgRenewRecordResponse, error) { out := new(MsgRenewRecordResponse) - err := c.cc.Invoke(ctx, "/vulcanize.nameservice.v1beta1.Msg/RenewRecord", in, out, opts...) + err := c.cc.Invoke(ctx, "/vulcanize.registry.v1beta1.Msg/RenewRecord", in, out, opts...) if err != nil { return nil, err } @@ -1187,7 +1187,7 @@ func (c *msgClient) RenewRecord(ctx context.Context, in *MsgRenewRecord, opts .. func (c *msgClient) AssociateBond(ctx context.Context, in *MsgAssociateBond, opts ...grpc.CallOption) (*MsgAssociateBondResponse, error) { out := new(MsgAssociateBondResponse) - err := c.cc.Invoke(ctx, "/vulcanize.nameservice.v1beta1.Msg/AssociateBond", in, out, opts...) + err := c.cc.Invoke(ctx, "/vulcanize.registry.v1beta1.Msg/AssociateBond", in, out, opts...) if err != nil { return nil, err } @@ -1196,7 +1196,7 @@ func (c *msgClient) AssociateBond(ctx context.Context, in *MsgAssociateBond, opt func (c *msgClient) DissociateBond(ctx context.Context, in *MsgDissociateBond, opts ...grpc.CallOption) (*MsgDissociateBondResponse, error) { out := new(MsgDissociateBondResponse) - err := c.cc.Invoke(ctx, "/vulcanize.nameservice.v1beta1.Msg/DissociateBond", in, out, opts...) + err := c.cc.Invoke(ctx, "/vulcanize.registry.v1beta1.Msg/DissociateBond", in, out, opts...) if err != nil { return nil, err } @@ -1205,7 +1205,7 @@ func (c *msgClient) DissociateBond(ctx context.Context, in *MsgDissociateBond, o func (c *msgClient) DissociateRecords(ctx context.Context, in *MsgDissociateRecords, opts ...grpc.CallOption) (*MsgDissociateRecordsResponse, error) { out := new(MsgDissociateRecordsResponse) - err := c.cc.Invoke(ctx, "/vulcanize.nameservice.v1beta1.Msg/DissociateRecords", in, out, opts...) + err := c.cc.Invoke(ctx, "/vulcanize.registry.v1beta1.Msg/DissociateRecords", in, out, opts...) if err != nil { return nil, err } @@ -1214,7 +1214,7 @@ func (c *msgClient) DissociateRecords(ctx context.Context, in *MsgDissociateReco func (c *msgClient) ReAssociateRecords(ctx context.Context, in *MsgReAssociateRecords, opts ...grpc.CallOption) (*MsgReAssociateRecordsResponse, error) { out := new(MsgReAssociateRecordsResponse) - err := c.cc.Invoke(ctx, "/vulcanize.nameservice.v1beta1.Msg/ReAssociateRecords", in, out, opts...) + err := c.cc.Invoke(ctx, "/vulcanize.registry.v1beta1.Msg/ReAssociateRecords", in, out, opts...) if err != nil { return nil, err } @@ -1223,7 +1223,7 @@ func (c *msgClient) ReAssociateRecords(ctx context.Context, in *MsgReAssociateRe func (c *msgClient) SetName(ctx context.Context, in *MsgSetName, opts ...grpc.CallOption) (*MsgSetNameResponse, error) { out := new(MsgSetNameResponse) - err := c.cc.Invoke(ctx, "/vulcanize.nameservice.v1beta1.Msg/SetName", in, out, opts...) + err := c.cc.Invoke(ctx, "/vulcanize.registry.v1beta1.Msg/SetName", in, out, opts...) if err != nil { return nil, err } @@ -1232,7 +1232,7 @@ func (c *msgClient) SetName(ctx context.Context, in *MsgSetName, opts ...grpc.Ca func (c *msgClient) ReserveName(ctx context.Context, in *MsgReserveAuthority, opts ...grpc.CallOption) (*MsgReserveAuthorityResponse, error) { out := new(MsgReserveAuthorityResponse) - err := c.cc.Invoke(ctx, "/vulcanize.nameservice.v1beta1.Msg/ReserveName", in, out, opts...) + err := c.cc.Invoke(ctx, "/vulcanize.registry.v1beta1.Msg/ReserveName", in, out, opts...) if err != nil { return nil, err } @@ -1241,7 +1241,7 @@ func (c *msgClient) ReserveName(ctx context.Context, in *MsgReserveAuthority, op func (c *msgClient) DeleteName(ctx context.Context, in *MsgDeleteNameAuthority, opts ...grpc.CallOption) (*MsgDeleteNameAuthorityResponse, error) { out := new(MsgDeleteNameAuthorityResponse) - err := c.cc.Invoke(ctx, "/vulcanize.nameservice.v1beta1.Msg/DeleteName", in, out, opts...) + err := c.cc.Invoke(ctx, "/vulcanize.registry.v1beta1.Msg/DeleteName", in, out, opts...) if err != nil { return nil, err } @@ -1250,7 +1250,7 @@ func (c *msgClient) DeleteName(ctx context.Context, in *MsgDeleteNameAuthority, func (c *msgClient) SetAuthorityBond(ctx context.Context, in *MsgSetAuthorityBond, opts ...grpc.CallOption) (*MsgSetAuthorityBondResponse, error) { out := new(MsgSetAuthorityBondResponse) - err := c.cc.Invoke(ctx, "/vulcanize.nameservice.v1beta1.Msg/SetAuthorityBond", in, out, opts...) + err := c.cc.Invoke(ctx, "/vulcanize.registry.v1beta1.Msg/SetAuthorityBond", in, out, opts...) if err != nil { return nil, err } @@ -1330,7 +1330,7 @@ func _Msg_SetRecord_Handler(srv interface{}, ctx context.Context, dec func(inter } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/vulcanize.nameservice.v1beta1.Msg/SetRecord", + FullMethod: "/vulcanize.registry.v1beta1.Msg/SetRecord", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).SetRecord(ctx, req.(*MsgSetRecord)) @@ -1348,7 +1348,7 @@ func _Msg_RenewRecord_Handler(srv interface{}, ctx context.Context, dec func(int } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/vulcanize.nameservice.v1beta1.Msg/RenewRecord", + FullMethod: "/vulcanize.registry.v1beta1.Msg/RenewRecord", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).RenewRecord(ctx, req.(*MsgRenewRecord)) @@ -1366,7 +1366,7 @@ func _Msg_AssociateBond_Handler(srv interface{}, ctx context.Context, dec func(i } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/vulcanize.nameservice.v1beta1.Msg/AssociateBond", + FullMethod: "/vulcanize.registry.v1beta1.Msg/AssociateBond", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).AssociateBond(ctx, req.(*MsgAssociateBond)) @@ -1384,7 +1384,7 @@ func _Msg_DissociateBond_Handler(srv interface{}, ctx context.Context, dec func( } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/vulcanize.nameservice.v1beta1.Msg/DissociateBond", + FullMethod: "/vulcanize.registry.v1beta1.Msg/DissociateBond", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).DissociateBond(ctx, req.(*MsgDissociateBond)) @@ -1402,7 +1402,7 @@ func _Msg_DissociateRecords_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/vulcanize.nameservice.v1beta1.Msg/DissociateRecords", + FullMethod: "/vulcanize.registry.v1beta1.Msg/DissociateRecords", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).DissociateRecords(ctx, req.(*MsgDissociateRecords)) @@ -1420,7 +1420,7 @@ func _Msg_ReAssociateRecords_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/vulcanize.nameservice.v1beta1.Msg/ReAssociateRecords", + FullMethod: "/vulcanize.registry.v1beta1.Msg/ReAssociateRecords", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ReAssociateRecords(ctx, req.(*MsgReAssociateRecords)) @@ -1438,7 +1438,7 @@ func _Msg_SetName_Handler(srv interface{}, ctx context.Context, dec func(interfa } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/vulcanize.nameservice.v1beta1.Msg/SetName", + FullMethod: "/vulcanize.registry.v1beta1.Msg/SetName", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).SetName(ctx, req.(*MsgSetName)) @@ -1456,7 +1456,7 @@ func _Msg_ReserveName_Handler(srv interface{}, ctx context.Context, dec func(int } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/vulcanize.nameservice.v1beta1.Msg/ReserveName", + FullMethod: "/vulcanize.registry.v1beta1.Msg/ReserveName", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ReserveName(ctx, req.(*MsgReserveAuthority)) @@ -1474,7 +1474,7 @@ func _Msg_DeleteName_Handler(srv interface{}, ctx context.Context, dec func(inte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/vulcanize.nameservice.v1beta1.Msg/DeleteName", + FullMethod: "/vulcanize.registry.v1beta1.Msg/DeleteName", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).DeleteName(ctx, req.(*MsgDeleteNameAuthority)) @@ -1492,7 +1492,7 @@ func _Msg_SetAuthorityBond_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/vulcanize.nameservice.v1beta1.Msg/SetAuthorityBond", + FullMethod: "/vulcanize.registry.v1beta1.Msg/SetAuthorityBond", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).SetAuthorityBond(ctx, req.(*MsgSetAuthorityBond)) @@ -1501,7 +1501,7 @@ func _Msg_SetAuthorityBond_Handler(srv interface{}, ctx context.Context, dec fun } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "vulcanize.nameservice.v1beta1.Msg", + ServiceName: "vulcanize.registry.v1beta1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -1546,7 +1546,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "vulcanize/nameservice/v1beta1/tx.proto", + Metadata: "vulcanize/registry/v1beta1/tx.proto", } func (m *MsgSetRecord) Marshal() (dAtA []byte, err error) { diff --git a/x/nameservice/types/types.go b/x/registry/types/types.go similarity index 99% rename from x/nameservice/types/types.go rename to x/registry/types/types.go index 30a36f19..69f770f2 100644 --- a/x/nameservice/types/types.go +++ b/x/registry/types/types.go @@ -6,7 +6,7 @@ import ( "fmt" "strings" - "github.com/cerc-io/laconicd/x/nameservice/helpers" + "github.com/cerc-io/laconicd/x/registry/helpers" codectypes "github.com/cosmos/cosmos-sdk/codec/types" canonicalJson "github.com/gibson042/canonicaljson-go" "github.com/gogo/protobuf/proto"