Skip to content

Commit

Permalink
chore: update proto, tag multi letter filed use snake case in grpc-ga…
Browse files Browse the repository at this point in the history
…teway
  • Loading branch information
Yaiba committed Aug 29, 2023
1 parent c5f9f75 commit 8d02540
Show file tree
Hide file tree
Showing 6 changed files with 100 additions and 99 deletions.
16 changes: 8 additions & 8 deletions api/openapi-spec/api/v1/api.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@
"type": "string",
"format": "byte"
},
"payloadType": {
"payload_type": {
"type": "string"
},
"fee": {
Expand Down Expand Up @@ -579,7 +579,7 @@
"txBroadcastResponse": {
"type": "object",
"properties": {
"txHash": {
"tx_hash": {
"type": "string",
"format": "byte"
}
Expand Down Expand Up @@ -859,11 +859,11 @@
"log": {
"type": "string"
},
"gasUsed": {
"gas_used": {
"type": "string",
"format": "int64"
},
"gasWanted": {
"gas_wanted": {
"type": "string",
"format": "int64"
},
Expand Down Expand Up @@ -906,7 +906,7 @@
"txTxQueryRequest": {
"type": "object",
"properties": {
"txHash": {
"tx_hash": {
"type": "string",
"format": "byte"
}
Expand All @@ -926,7 +926,7 @@
"tx": {
"$ref": "#/definitions/txTransaction"
},
"txResult": {
"tx_result": {
"$ref": "#/definitions/txTransactionResult"
}
}
Expand Down Expand Up @@ -984,13 +984,13 @@
"type": "string",
"format": "int64"
},
"approvedValidators": {
"approved_validators": {
"type": "array",
"items": {
"type": "string"
}
},
"rejectedValidators": {
"rejected_validators": {
"type": "array",
"items": {
"type": "string"
Expand Down
16 changes: 8 additions & 8 deletions api/protobuf/tx/v1/broadcast.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

79 changes: 40 additions & 39 deletions api/protobuf/tx/v1/tx.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 19 additions & 19 deletions api/protobuf/tx/v1/tx_query.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8d02540

Please sign in to comment.