feat: add PubKey fast reflection

This commit is contained in:
Prad Nukala
2024-10-08 16:43:59 -04:00
parent c3e8fcc3d3
commit f6879f1c12
31 changed files with 4605 additions and 14444 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ option go_package = "github.com/onsonr/sonr/x/service/types";
// GenesisState defines the module genesis state
message GenesisState {
// Params defines all the parameters of the module.
Params params = 1 [(gogoproto.nullable) = false];
Params params = 1 [ (gogoproto.nullable) = false ];
}
// Params defines the set of module parameters.
+6 -17
View File
@@ -9,16 +9,9 @@ option go_package = "github.com/onsonr/sonr/x/service/types";
message Metadata {
option (cosmos.orm.v1.table) = {
id: 1
primary_key: {
fields: "id"
auto_increment: true
}
index: {
id: 1
fields: "origin"
unique: true
}
id : 1
primary_key : {fields : "id" auto_increment : true}
index : {id : 1 fields : "origin" unique : true}
};
uint64 id = 1;
@@ -33,13 +26,9 @@ message Metadata {
// Profile represents a DID alias
message Profile {
option (cosmos.orm.v1.table) = {
id: 2
primary_key: {fields: "id"}
index: {
id: 1
fields: "subject,origin"
unique: true
}
id : 2
primary_key : {fields : "id"}
index : {id : 1 fields : "subject,origin" unique : true}
};
// The unique identifier of the alias
+3 -3
View File
@@ -29,12 +29,12 @@ message MsgUpdateParams {
option (cosmos.msg.v1.signer) = "authority";
// authority is the address of the governance account.
string authority = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"];
string authority = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ];
// params defines the parameters to update.
//
// NOTE: All parameters must be supplied.
Params params = 2 [(gogoproto.nullable) = false];
Params params = 2 [ (gogoproto.nullable) = false ];
}
// MsgUpdateParamsResponse defines the response structure for executing a
@@ -48,7 +48,7 @@ message MsgRegisterService {
option (cosmos.msg.v1.signer) = "controller";
// authority is the address of the governance account.
string controller = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"];
string controller = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ];
// origin is the origin of the request in wildcard form. Requires valid TXT
// record in DNS.