From 27bd1438985af498b8b58c03ffeff46dedbcef2c Mon Sep 17 00:00:00 2001 From: Jordan Schalm Date: Wed, 11 Dec 2024 10:20:49 -0800 Subject: [PATCH] make generate --- protobuf/flow/entities/execution_result.proto | 2 +- .../go/flow/entities/execution_result.pb.go | 80 +++++++++++-------- 2 files changed, 46 insertions(+), 36 deletions(-) diff --git a/protobuf/flow/entities/execution_result.proto b/protobuf/flow/entities/execution_result.proto index e551581c2..54a1bc060 100644 --- a/protobuf/flow/entities/execution_result.proto +++ b/protobuf/flow/entities/execution_result.proto @@ -26,7 +26,7 @@ message Chunk { bytes end_state = 8; // EndState inferred from next chunk or from the ER bytes execution_data_id = 9; bytes state_delta_commitment = 10; // a commitment over sorted list of register changes - optional uint32 service_event_count = + uint32 service_event_count = 11; // number of service events emitted in this chunk (present in Protocol Version 2+) } diff --git a/protobuf/go/flow/entities/execution_result.pb.go b/protobuf/go/flow/entities/execution_result.pb.go index 9ae6bd6d3..22f1c6a02 100644 --- a/protobuf/go/flow/entities/execution_result.pb.go +++ b/protobuf/go/flow/entities/execution_result.pb.go @@ -103,6 +103,7 @@ type Chunk struct { EndState []byte `protobuf:"bytes,8,opt,name=end_state,json=endState,proto3" json:"end_state,omitempty"` ExecutionDataId []byte `protobuf:"bytes,9,opt,name=execution_data_id,json=executionDataId,proto3" json:"execution_data_id,omitempty"` StateDeltaCommitment []byte `protobuf:"bytes,10,opt,name=state_delta_commitment,json=stateDeltaCommitment,proto3" json:"state_delta_commitment,omitempty"` + ServiceEventCount uint32 `protobuf:"varint,11,opt,name=service_event_count,json=serviceEventCount,proto3" json:"service_event_count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -203,6 +204,13 @@ func (m *Chunk) GetStateDeltaCommitment() []byte { return nil } +func (m *Chunk) GetServiceEventCount() uint32 { + if m != nil { + return m.ServiceEventCount + } + return 0 +} + type ServiceEvent struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` @@ -325,39 +333,41 @@ func init() { } var fileDescriptor_806371cb5e5e336b = []byte{ - // 543 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0x4f, 0x6f, 0xd3, 0x4e, - 0x10, 0x55, 0x9a, 0x34, 0x7f, 0xa6, 0xc9, 0x2f, 0xed, 0xca, 0xaa, 0xfc, 0x53, 0x91, 0xa8, 0x22, - 0x0e, 0x01, 0x15, 0x1b, 0x01, 0x47, 0x4e, 0x49, 0x7b, 0xc8, 0x01, 0x81, 0x1c, 0xb8, 0x70, 0xb1, - 0x36, 0xf6, 0x24, 0xb5, 0xea, 0xec, 0x5a, 0xde, 0x71, 0x68, 0x3f, 0x0a, 0xe2, 0xab, 0x72, 0x40, - 0x3b, 0xfe, 0x93, 0xa4, 0xe2, 0x12, 0x65, 0xe6, 0xbd, 0x19, 0xcf, 0x9b, 0x79, 0x0b, 0xaf, 0xd6, - 0xa9, 0xfe, 0xe9, 0xa3, 0xa2, 0x84, 0x12, 0x34, 0x3e, 0x3e, 0x62, 0x54, 0x50, 0xa2, 0x55, 0x98, - 0xa3, 0x29, 0x52, 0xf2, 0xb2, 0x5c, 0x93, 0x16, 0x23, 0xcb, 0xf2, 0x6a, 0xd6, 0xe4, 0x4f, 0x0b, - 0xc6, 0x77, 0x35, 0x33, 0x60, 0xa2, 0xb8, 0x01, 0x91, 0xe5, 0xb8, 0x4b, 0x74, 0x61, 0xaa, 0xda, - 0x30, 0x89, 0xdd, 0xd6, 0x75, 0x6b, 0x3a, 0x0c, 0xce, 0x6b, 0xa4, 0xe4, 0x2e, 0x62, 0xf1, 0x3f, - 0xf4, 0x57, 0xa9, 0x8e, 0x1e, 0x2c, 0xe7, 0x84, 0x39, 0x3d, 0x8e, 0x17, 0xb1, 0xb8,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4, 0xdc, 0x57, 0x5d, 0x86, - 0x3e, 0xfc, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xe8, 0x4c, 0x56, 0xf8, 0x06, 0x04, 0x00, 0x00, + // 563 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x54, 0x4d, 0x6f, 0xd3, 0x40, + 0x10, 0x55, 0x9a, 0x34, 0x4d, 0xa7, 0x2d, 0x69, 0x16, 0xab, 0x32, 0x2a, 0x12, 0x55, 0xc4, 0x21, + 0xa0, 0x62, 0x23, 0xe0, 0xc8, 0x29, 0x69, 0x0f, 0x39, 0x20, 0x90, 0x03, 0x17, 0x2e, 0xd6, 0xc6, + 0x9e, 0xa4, 0x56, 0x9d, 0x5d, 0xcb, 0x3b, 0x0e, 0xed, 0x6f, 0xe1, 0x17, 0xf1, 0x9f, 0x38, 0xa0, + 0x1d, 0x7f, 0x24, 0xae, 0xb8, 0x44, 0x99, 0x79, 0x6f, 0x66, 0xe7, 0xcd, 0xee, 0x33, 0xbc, 0x5e, + 0xa5, 0xfa, 0x97, 0x8f, 0x8a, 0x12, 0x4a, 0xd0, 0xf8, 0xf8, 0x80, 0x51, 0x41, 0x89, 0x56, 0x61, + 0x8e, 0xa6, 0x48, 0xc9, 0xcb, 0x72, 0x4d, 0x5a, 0x9c, 0x59, 0x96, 0x57, 0xb3, 0xc6, 0x7f, 0x3b, + 0x30, 0xbc, 0xad, 0x99, 0x01, 0x13, 0xc5, 0x35, 0x88, 0x2c, 0xc7, 0x6d, 0xa2, 0x0b, 0x53, 0xd5, + 0x86, 0x49, 0xec, 0x76, 0xae, 0x3a, 0x93, 0xd3, 0xe0, 0xbc, 0x46, 0x4a, 0xee, 0x3c, 0x16, 0x2f, + 0x60, 0xb0, 0x4c, 0x75, 0x74, 0x6f, 0x39, 0x07, 0xcc, 0x39, 0xe2, 0x78, 0x1e, 0x8b, 0x6b, 0xe8, + 0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