Browse Source

add nullable=false and omitempty to fee

pull/1780/head
Ethan Buchman 7 years ago
parent
commit
4600f19d9f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      types/types.proto

+ 2
- 2
types/types.proto View File

@ -153,7 +153,7 @@ message ResponseCheckTx {
int64 gas_wanted = 5; int64 gas_wanted = 5;
int64 gas_used = 6; int64 gas_used = 6;
repeated common.KVPair tags = 7 [(gogoproto.nullable)=false, (gogoproto.jsontag)="tags,omitempty"]; repeated common.KVPair tags = 7 [(gogoproto.nullable)=false, (gogoproto.jsontag)="tags,omitempty"];
common.KI64Pair fee = 8;
common.KI64Pair fee = 8 [(gogoproto.nullable)=false, (gogoproto.jsontag)="tags,omitempty"];
} }
message ResponseDeliverTx { message ResponseDeliverTx {
@ -164,7 +164,7 @@ message ResponseDeliverTx {
int64 gas_wanted = 5; int64 gas_wanted = 5;
int64 gas_used = 6; int64 gas_used = 6;
repeated common.KVPair tags = 7 [(gogoproto.nullable)=false, (gogoproto.jsontag)="tags,omitempty"]; repeated common.KVPair tags = 7 [(gogoproto.nullable)=false, (gogoproto.jsontag)="tags,omitempty"];
common.KI64Pair fee = 8;
common.KI64Pair fee = 8 [(gogoproto.nullable)=false, (gogoproto.jsontag)="tags,omitempty"];
} }
message ResponseEndBlock { message ResponseEndBlock {


Loading…
Cancel
Save