-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(buf): Change buf.build package name (#453)
* Change proto package name * Activate buf breaking linter * buf format -w * Change DID and Resources URL structures * make proto-gen
- Loading branch information
Showing
29 changed files
with
317 additions
and
321 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,24 @@ | ||
syntax = "proto3"; | ||
package cheqdid.cheqdnode.cheqd.v1; | ||
|
||
option go_package = "github.com/cheqd/cheqd-node/x/did/types/v1"; | ||
|
||
import "google/api/annotations.proto"; | ||
import "cheqd/did/v1/did.proto"; | ||
import "cheqd/did/v1/stateValue.proto"; | ||
import "google/api/annotations.proto"; | ||
|
||
option go_package = "github.com/cheqd/cheqd-node/x/did/types/v1"; | ||
|
||
// Query defines the gRPC querier service. | ||
service Query { | ||
rpc Did(QueryGetDidRequest) returns (QueryGetDidResponse) { | ||
option (google.api.http).get = "/cheqd/v1/did/{id}"; | ||
} | ||
rpc Did(QueryGetDidRequest) returns (QueryGetDidResponse) { | ||
option (google.api.http).get = "/cheqd/v1/did/{id}"; | ||
} | ||
} | ||
|
||
message QueryGetDidRequest { | ||
string id = 1; | ||
string id = 1; | ||
} | ||
|
||
message QueryGetDidResponse { | ||
Did did = 1; | ||
Metadata metadata = 2; | ||
Did did = 1; | ||
Metadata metadata = 2; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
syntax = "proto3"; | ||
package cheqd.did.v2; | ||
|
||
option go_package = "github.com/cheqd/cheqd-node/x/did/types"; | ||
option (gogoproto.equal_all) = true; | ||
|
||
import "gogoproto/gogo.proto"; | ||
import "cosmos/base/v1beta1/coin.proto"; | ||
import "cosmos_proto/cosmos.proto"; | ||
import "gogoproto/gogo.proto"; | ||
|
||
option go_package = "github.com/cheqd/cheqd-node/x/did/types"; | ||
option (gogoproto.equal_all) = true; | ||
|
||
// FeeParams defines the parameters for the `did` module fixed fee. | ||
message FeeParams { | ||
// Tx types define the fixed fee each for the `did` module. | ||
map<string, cosmos.base.v1beta1.Coin> tx_types = 1 [ | ||
(gogoproto.nullable) = false, | ||
(gogoproto.moretags) = "yaml:\"tx_types\"" | ||
]; | ||
string burn_factor = 2 [ | ||
(cosmos_proto.scalar) = "cosmos.Dec", | ||
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", | ||
(gogoproto.nullable) = false | ||
]; | ||
} | ||
// Tx types define the fixed fee each for the `did` module. | ||
map<string, cosmos.base.v1beta1.Coin> tx_types = 1 [ | ||
(gogoproto.nullable) = false, | ||
(gogoproto.moretags) = "yaml:\"tx_types\"" | ||
]; | ||
string burn_factor = 2 [ | ||
(cosmos_proto.scalar) = "cosmos.Dec", | ||
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", | ||
(gogoproto.nullable) = false | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
syntax = "proto3"; | ||
package cheqdid.cheqdnode.resource.v1; | ||
|
||
option go_package = "github.com/cheqd/cheqd-node/x/resource/types/v1"; | ||
|
||
import "cheqd/resource/v1/resource.proto"; | ||
|
||
option go_package = "github.com/cheqd/cheqd-node/x/resource/types/v1"; | ||
|
||
// GenesisState defines the cheqd module's genesis state. | ||
message GenesisState { | ||
repeated Resource resourceList = 1; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
syntax = "proto3"; | ||
package cheqd.resource.v2; | ||
|
||
option go_package = "github.com/cheqd/cheqd-node/x/resource/types"; | ||
option (gogoproto.equal_all) = true; | ||
|
||
import "gogoproto/gogo.proto"; | ||
import "cosmos/base/v1beta1/coin.proto"; | ||
import "cosmos_proto/cosmos.proto"; | ||
import "gogoproto/gogo.proto"; | ||
|
||
option go_package = "github.com/cheqd/cheqd-node/x/resource/types"; | ||
option (gogoproto.equal_all) = true; | ||
|
||
// FeeParams defines the parameters for the `resource` module fixed fee. | ||
message FeeParams { | ||
// Media types define the fixed fee each for the `resource` module. | ||
map<string, cosmos.base.v1beta1.Coin> media_types = 1 [ | ||
(gogoproto.nullable) = false, | ||
(gogoproto.moretags) = "yaml:\"media_types\"" | ||
]; | ||
string burn_factor = 2 [ | ||
(cosmos_proto.scalar) = "cosmos.Dec", | ||
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", | ||
(gogoproto.nullable) = false | ||
]; | ||
} | ||
// Media types define the fixed fee each for the `resource` module. | ||
map<string, cosmos.base.v1beta1.Coin> media_types = 1 [ | ||
(gogoproto.nullable) = false, | ||
(gogoproto.moretags) = "yaml:\"media_types\"" | ||
]; | ||
string burn_factor = 2 [ | ||
(cosmos_proto.scalar) = "cosmos.Dec", | ||
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", | ||
(gogoproto.nullable) = false | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.