mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-02 17:31:39 +00:00
refactor: optimize oracle genesis proto
This commit is contained in:
@@ -32,7 +32,6 @@ message Params {
|
||||
message Methods {
|
||||
option (amino.name) = "macaroon/methods";
|
||||
option (gogoproto.equal) = true;
|
||||
option (gogoproto.goproto_stringer) = false;
|
||||
|
||||
repeated string methods = 1;
|
||||
}
|
||||
@@ -41,7 +40,6 @@ message Methods {
|
||||
message Scopes {
|
||||
option (amino.name) = "macaroon/scopes";
|
||||
option (gogoproto.equal) = true;
|
||||
option (gogoproto.goproto_stringer) = false;
|
||||
|
||||
repeated string scopes = 1;
|
||||
}
|
||||
@@ -50,7 +48,6 @@ message Scopes {
|
||||
message Caveats {
|
||||
option (amino.name) = "macaroon/caveat";
|
||||
option (gogoproto.equal) = true;
|
||||
option (gogoproto.goproto_stringer) = false;
|
||||
|
||||
repeated string caveats = 1;
|
||||
}
|
||||
|
||||
@@ -24,13 +24,15 @@ message Params {
|
||||
message Assets {
|
||||
option (amino.name) = "oracle/assets";
|
||||
option (gogoproto.equal) = true;
|
||||
option (gogoproto.goproto_stringer) = false;
|
||||
|
||||
repeated AssetInfo assets = 1;
|
||||
}
|
||||
|
||||
// AssetInfo defines the asset info
|
||||
message AssetInfo {
|
||||
option (amino.name) = "oracle/asset_info";
|
||||
option (gogoproto.equal) = true;
|
||||
|
||||
// The coin type index for bip44 path
|
||||
int64 index = 1;
|
||||
|
||||
|
||||
@@ -25,7 +25,6 @@ message Params {
|
||||
message ServiceCategories {
|
||||
option (amino.name) = "service/categories";
|
||||
option (gogoproto.equal) = true;
|
||||
option (gogoproto.goproto_stringer) = false;
|
||||
|
||||
repeated string categories = 1;
|
||||
}
|
||||
@@ -33,7 +32,6 @@ message ServiceCategories {
|
||||
message ServiceTypes {
|
||||
option (amino.name) = "service/types";
|
||||
option (gogoproto.equal) = true;
|
||||
option (gogoproto.goproto_stringer) = false;
|
||||
|
||||
repeated string types = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user