Browse Source

GasWanted and GasUsed for Check & Deliver

pull/1780/head
Jae Kwon 7 years ago
parent
commit
66580408f8
5 changed files with 165 additions and 131 deletions
  1. +1
    -0
      .gitignore
  2. BIN
      abci-cli
  3. +4
    -4
      types/messages_test.go
  4. +145
    -117
      types/types.pb.go
  5. +15
    -10
      types/types.proto

+ 1
- 0
.gitignore View File

@ -2,3 +2,4 @@ vendor
.glide .glide
types/types.pb.go types/types.pb.go
*.sw[op] *.sw[op]
abci-cli

BIN
abci-cli View File


+ 4
- 4
types/messages_test.go View File

@ -17,10 +17,10 @@ func TestMarshalJSON(t *testing.T) {
assert.True(t, strings.Contains(string(b), "code")) assert.True(t, strings.Contains(string(b), "code"))
r1 := ResponseCheckTx{ r1 := ResponseCheckTx{
Code: 1,
Data: []byte("hello"),
Gas: 43,
Fee: cmn.KI64Pair{[]byte("pho"), 12},
Code: 1,
Data: []byte("hello"),
GasWanted: 43,
Fee: cmn.KI64Pair{[]byte("pho"), 12},
} }
b, err = json.Marshal(&r1) b, err = json.Marshal(&r1)
assert.Nil(t, err) assert.Nil(t, err)


+ 145
- 117
types/types.pb.go View File

@ -1298,11 +1298,13 @@ func (*ResponseBeginBlock) ProtoMessage() {}
func (*ResponseBeginBlock) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{20} } func (*ResponseBeginBlock) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{20} }
type ResponseCheckTx struct { type ResponseCheckTx struct {
Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
Log string `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"`
Gas int64 `protobuf:"varint,4,opt,name=gas,proto3" json:"gas,omitempty"`
Fee common.KI64Pair `protobuf:"bytes,5,opt,name=fee" json:"fee"`
Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
Log string `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"`
GasWanted int64 `protobuf:"varint,4,opt,name=gas_wanted,json=gasWanted,proto3" json:"gas_wanted,omitempty"`
// int64 gas_used = 5;
Tags []common.KVPair `protobuf:"bytes,6,rep,name=tags" json:"tags,omitempty"`
Fee common.KI64Pair `protobuf:"bytes,7,opt,name=fee" json:"fee"`
} }
func (m *ResponseCheckTx) Reset() { *m = ResponseCheckTx{} } func (m *ResponseCheckTx) Reset() { *m = ResponseCheckTx{} }
@ -1331,13 +1333,20 @@ func (m *ResponseCheckTx) GetLog() string {
return "" return ""
} }
func (m *ResponseCheckTx) GetGas() int64 {
func (m *ResponseCheckTx) GetGasWanted() int64 {
if m != nil { if m != nil {
return m.Gas
return m.GasWanted
} }
return 0 return 0
} }
func (m *ResponseCheckTx) GetTags() []common.KVPair {
if m != nil {
return m.Tags
}
return nil
}
func (m *ResponseCheckTx) GetFee() common.KI64Pair { func (m *ResponseCheckTx) GetFee() common.KI64Pair {
if m != nil { if m != nil {
return m.Fee return m.Fee
@ -1346,10 +1355,12 @@ func (m *ResponseCheckTx) GetFee() common.KI64Pair {
} }
type ResponseDeliverTx struct { type ResponseDeliverTx struct {
Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
Log string `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"`
Tags []common.KVPair `protobuf:"bytes,4,rep,name=tags" json:"tags"`
Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
Log string `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"`
GasWanted int64 `protobuf:"varint,4,opt,name=gas_wanted,json=gasWanted,proto3" json:"gas_wanted,omitempty"`
GasUsed int64 `protobuf:"varint,5,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"`
Tags []common.KVPair `protobuf:"bytes,6,rep,name=tags" json:"tags,omitempty"`
} }
func (m *ResponseDeliverTx) Reset() { *m = ResponseDeliverTx{} } func (m *ResponseDeliverTx) Reset() { *m = ResponseDeliverTx{} }
@ -1378,6 +1389,20 @@ func (m *ResponseDeliverTx) GetLog() string {
return "" return ""
} }
func (m *ResponseDeliverTx) GetGasWanted() int64 {
if m != nil {
return m.GasWanted
}
return 0
}
func (m *ResponseDeliverTx) GetGasUsed() int64 {
if m != nil {
return m.GasUsed
}
return 0
}
func (m *ResponseDeliverTx) GetTags() []common.KVPair { func (m *ResponseDeliverTx) GetTags() []common.KVPair {
if m != nil { if m != nil {
return m.Tags return m.Tags
@ -2170,110 +2195,113 @@ var _ABCIApplication_serviceDesc = grpc.ServiceDesc{
func init() { proto.RegisterFile("types/types.proto", fileDescriptorTypes) } func init() { proto.RegisterFile("types/types.proto", fileDescriptorTypes) }
var fileDescriptorTypes = []byte{ var fileDescriptorTypes = []byte{
// 1666 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x58, 0x4d, 0x73, 0x13, 0x47,
0x13, 0xb6, 0xbe, 0xb5, 0x2d, 0x7f, 0x8e, 0x6d, 0x2c, 0xc4, 0x01, 0xd7, 0x1e, 0x40, 0x7e, 0x01,
0xeb, 0x7d, 0xcd, 0x0b, 0x85, 0x21, 0x45, 0xc5, 0xb2, 0x09, 0x12, 0xa4, 0x02, 0x59, 0x08, 0x87,
0x5c, 0x54, 0xa3, 0xdd, 0xb1, 0xb4, 0x85, 0xb4, 0xbb, 0x68, 0x47, 0x46, 0xe6, 0x0f, 0xe4, 0xc2,
0x3d, 0xe7, 0x9c, 0xf2, 0x4f, 0x52, 0x49, 0xe5, 0x3f, 0x70, 0xe0, 0x97, 0xa4, 0x7a, 0x66, 0xf6,
0x53, 0xbb, 0x49, 0x8a, 0x8b, 0x3d, 0xbd, 0xfd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2, 0x7d,
0x54, 0x23, 0xf2, 0x5e, 0xa4, 0xad, 0xdc, 0xf6, 0x8b, 0x3c, 0x80, 0x5a, 0x50, 0xec, 0xb2, 0x5f,
0xc1, 0xad, 0x9c, 0x8e, 0x0f, 0xb7, 0x47, 0x16, 0xf8, 0xac, 0xa7, 0x7a, 0x2b, 0xb3, 0x2d, 0x25,
0xf7, 0xa0, 0xaa, 0xe8, 0x3a, 0xf3, 0x3d, 0xdb, 0xca, 0xee, 0xdb, 0x30, 0xc8, 0xe8, 0xb9, 0x98,
0xf7, 0x73, 0x42, 0x2b, 0xb7, 0x7f, 0x26, 0x27, 0x00, 0xb1, 0xb7, 0x5b, 0xee, 0xef, 0x04, 0xad,
0xfc, 0xbe, 0x98, 0x60, 0x3a, 0x86, 0x6f, 0x9d, 0xec, 0xf7, 0x7b, 0x2b, 0xaf, 0x55, 0x1d, 0x56,
0xc5, 0x6f, 0x3c, 0x77, 0xff, 0x0a, 0x00, 0x00, 0xff, 0xff, 0x58, 0xa7, 0xec, 0x0e, 0x5f, 0x12,
0x00, 0x00,
// 1726 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0x4b, 0x6f, 0x1b, 0xbf,
0x11, 0xb7, 0xde, 0xda, 0x91, 0x9f, 0xf4, 0x4b, 0x51, 0x50, 0xd8, 0xd8, 0x43, 0x22, 0x37, 0x89,
0xd5, 0x3a, 0x4d, 0x10, 0x27, 0x45, 0x50, 0xcb, 0x4e, 0x23, 0x25, 0x45, 0x93, 0x6e, 0x1e, 0x05,
0x7a, 0x11, 0x28, 0x2d, 0x2d, 0x2d, 0xa2, 0x7d, 0x44, 0x4b, 0x39, 0x72, 0x3e, 0x43, 0xee, 0x3d,
0xf7, 0xd4, 0x0f, 0x52, 0xa0, 0x68, 0xd1, 0x4b, 0x3f, 0x81, 0x0f, 0x39, 0xf6, 0x53, 0x14, 0x43,
0x72, 0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, 0x4d, 0x73, 0xb2, 0xe0, 0xe4, 0x5b, 0x05, 0x36, 0xce,
0xba, 0xe7, 0xfd, 0x33, 0xcf, 0x9b, 0x5a, 0x23, 0x2a, 0x4a, 0x6d, 0x07, 0xca, 0xa2, 0x99, 0xc8,
0x78, 0xe5, 0xb7, 0xb2, 0xba, 0x5a, 0x72, 0x02, 0x15, 0xd1, 0x53, 0x90, 0xac, 0xc7, 0x7e, 0x2b,
0xb3, 0xb9, 0xc5, 0x45, 0x64, 0xd7, 0xb1, 0xfc, 0xe6, 0x6f, 0x65, 0x75, 0xb8, 0xe4, 0x39, 0x68,
0x51, 0x37, 0x90, 0xf7, 0xf2, 0x6f, 0xe5, 0xf6, 0xba, 0x68, 0x1f, 0xd5, 0x9b, 0xbc, 0x77, 0x72,
0x2b, 0xb7, 0x29, 0x24, 0x4f, 0xa0, 0x16, 0x94, 0xe0, 0xec, 0xb7, 0x79, 0x2b, 0xa7, 0x0f, 0xc5,
0xed, 0x91, 0x6d, 0x47, 0xd6, 0x0f, 0x08, 0xad, 0xcc, 0x66, 0x99, 0x3c, 0x82, 0xaa, 0xa2, 0xeb,
0xcc, 0x57, 0x76, 0x2b, 0xbb, 0x9b, 0xc4, 0x20, 0xa3, 0x47, 0x6c, 0xde, 0x8f, 0x1c, 0xad, 0xdc,
0xae, 0x9e, 0x9c, 0x01, 0xc4, 0x5e, 0x94, 0xb9, 0xbf, 0x5e, 0xb4, 0xf2, 0xbb, 0x75, 0x82, 0xe9,
0x18, 0xbe, 0xc0, 0xb2, 0x7f, 0x55, 0x68, 0xe5, 0x35, 0xd0, 0xc3, 0xaa, 0xf8, 0xe5, 0xe9, 0xe1,
0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xe2, 0x9f, 0x37, 0xee, 0xf5, 0x12, 0x00, 0x00,
} }

+ 15
- 10
types/types.proto View File

@ -46,7 +46,7 @@ message RequestSetOption {
} }
message RequestInitChain { message RequestInitChain {
repeated Validator validators = 1 [(gogoproto.nullable) = false];
repeated Validator validators = 1 [(gogoproto.nullable)=false];
} }
message RequestQuery { message RequestQuery {
@ -58,9 +58,9 @@ message RequestQuery {
message RequestBeginBlock { message RequestBeginBlock {
bytes hash = 1; bytes hash = 1;
Header header = 2 [(gogoproto.nullable) = false];
Header header = 2 [(gogoproto.nullable)=false];
repeated int32 absent_validators = 3; repeated int32 absent_validators = 3;
repeated Evidence byzantine_validators = 4 [(gogoproto.nullable) = false];
repeated Evidence byzantine_validators = 4 [(gogoproto.nullable)=false];
} }
message RequestCheckTx { message RequestCheckTx {
@ -141,19 +141,24 @@ message ResponseCheckTx {
uint32 code = 1; uint32 code = 1;
bytes data = 2; bytes data = 2;
string log = 3; string log = 3;
int64 gas = 4;
common.KI64Pair fee = 5 [(gogoproto.nullable) = false];
int64 gas_wanted = 4;
// int64 gas_used = 5;
repeated common.KVPair tags = 6 [(gogoproto.nullable)=false, (gogoproto.jsontag)="tags,omitempty"];
common.KI64Pair fee = 7 [(gogoproto.nullable)=false];
} }
message ResponseDeliverTx { message ResponseDeliverTx {
uint32 code = 1; uint32 code = 1;
bytes data = 2; bytes data = 2;
string log = 3; string log = 3;
repeated common.KVPair tags = 4 [(gogoproto.nullable) = false];
int64 gas_wanted = 4;
int64 gas_used = 5;
repeated common.KVPair tags = 6 [(gogoproto.nullable)=false, (gogoproto.jsontag)="tags,omitempty"];
// common.KI64Pair fee = 7;
} }
message ResponseEndBlock { message ResponseEndBlock {
repeated Validator validator_updates = 1 [(gogoproto.nullable) = false];
repeated Validator validator_updates = 1 [(gogoproto.nullable)=false];
ConsensusParams consensus_param_updates = 2; ConsensusParams consensus_param_updates = 2;
} }
@ -198,11 +203,11 @@ message BlockGossip {
// Blockchain Types // Blockchain Types
message Header { message Header {
string chain_id = 1 [(gogoproto.customname) = "ChainID"];
string chain_id = 1 [(gogoproto.customname)="ChainID"];
int64 height = 2; int64 height = 2;
int64 time = 3; int64 time = 3;
int32 num_txs = 4; int32 num_txs = 4;
BlockID last_block_id = 5 [(gogoproto.customname) = "LastBlockID", (gogoproto.nullable) = false];
BlockID last_block_id = 5 [(gogoproto.customname)="LastBlockID", (gogoproto.nullable)=false];
bytes last_commit_hash = 6; bytes last_commit_hash = 6;
bytes data_hash = 7; bytes data_hash = 7;
bytes validators_hash = 8; bytes validators_hash = 8;
@ -211,7 +216,7 @@ message Header {
message BlockID { message BlockID {
bytes hash = 1; bytes hash = 1;
PartSetHeader parts = 2 [(gogoproto.nullable) = false];
PartSetHeader parts = 2 [(gogoproto.nullable)=false];
} }
message PartSetHeader { message PartSetHeader {


Loading…
Cancel
Save