From d7630cee202df040a22bf4aca9104d25a31b9cb9 Mon Sep 17 00:00:00 2001 From: Thiago Coimbra Lemos Date: Thu, 23 Nov 2023 13:09:48 -0300 Subject: [PATCH] new tracers (#2663) --- docker-compose.yml | 2 +- jsonrpc/endpoints_debug.go | 159 +-- proto/src/proto/executor/v1/executor.proto | 42 +- state/converters.go | 81 +- state/fakedb.go | 16 +- state/runtime/executor/executor.pb.go | 1172 +++++++---------- .../runtime/instrumentation/executortrace.go | 35 +- state/runtime/instrumentation/structlog.go | 25 - .../tracers/structlogger/structlogger.go | 149 +++ state/runtime/runtime.go | 17 +- state/trace.go | 570 ++++++++ state/transaction.go | 539 -------- state/types.go | 6 +- test/docker-compose.yml | 6 +- test/operations/manager.go | 14 +- 15 files changed, 1271 insertions(+), 1562 deletions(-) delete mode 100644 state/runtime/instrumentation/structlog.go create mode 100644 state/runtime/instrumentation/tracers/structlogger/structlogger.go create mode 100644 state/trace.go diff --git a/docker-compose.yml b/docker-compose.yml index d52c048bb4..f58ddfced4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -107,7 +107,7 @@ services: zkevm-prover: container_name: zkevm-prover restart: unless-stopped - image: hermeznetwork/zkevm-prover:v3.0.0-RC2 + image: hermeznetwork/zkevm-prover:83c6275 depends_on: zkevm-state-db: condition: service_healthy diff --git a/jsonrpc/endpoints_debug.go b/jsonrpc/endpoints_debug.go index 129cea894f..a0eae86a86 100644 --- a/jsonrpc/endpoints_debug.go +++ b/jsonrpc/endpoints_debug.go @@ -2,21 +2,17 @@ package jsonrpc import ( "context" - "encoding/hex" "encoding/json" "errors" "fmt" "net/http" "sort" - "strings" "sync" "time" "github.com/0xPolygonHermez/zkevm-node/jsonrpc/types" "github.com/0xPolygonHermez/zkevm-node/log" "github.com/0xPolygonHermez/zkevm-node/state" - "github.com/0xPolygonHermez/zkevm-node/state/runtime/fakevm" - "github.com/0xPolygonHermez/zkevm-node/state/runtime/instrumentation" "github.com/ethereum/go-ethereum/common" ethTypes "github.com/ethereum/go-ethereum/core/types" "github.com/jackc/pgx/v4" @@ -56,27 +52,6 @@ type traceConfig struct { TracerConfig json.RawMessage `json:"tracerConfig"` } -// StructLogRes represents the debug trace information for each opcode -type StructLogRes struct { - Pc uint64 `json:"pc"` - Op string `json:"op"` - Gas uint64 `json:"gas"` - GasCost uint64 `json:"gasCost"` - Depth int `json:"depth"` - Error string `json:"error,omitempty"` - Stack *[]types.ArgBig `json:"stack,omitempty"` - Memory *[]string `json:"memory,omitempty"` - Storage *map[string]string `json:"storage,omitempty"` - RefundCounter uint64 `json:"refund,omitempty"` -} - -type traceTransactionResponse struct { - Gas uint64 `json:"gas"` - Failed bool `json:"failed"` - ReturnValue interface{} `json:"returnValue"` - StructLogs []StructLogRes `json:"structLogs"` -} - type traceBlockTransactionResponse struct { Result interface{} `json:"result"` } @@ -301,11 +276,6 @@ func (d *DebugEndpoints) buildTraceTransaction(ctx context.Context, hash common. traceCfg = defaultTraceConfig } - // check tracer - if traceCfg.Tracer != nil && *traceCfg.Tracer != "" && !isBuiltInTracer(*traceCfg.Tracer) && !isJSCustomTracer(*traceCfg.Tracer) { - return RPCErrorResponse(types.DefaultErrorCode, "invalid tracer", nil, false) - } - stateTraceConfig := state.TraceConfig{ DisableStack: traceCfg.DisableStack, DisableStorage: traceCfg.DisableStorage, @@ -322,134 +292,7 @@ func (d *DebugEndpoints) buildTraceTransaction(ctx context.Context, hash common. return nil, types.NewRPCError(types.DefaultErrorCode, errorMessage) } - // if a tracer was specified, then return the trace result - if stateTraceConfig.Tracer != nil && *stateTraceConfig.Tracer != "" && len(result.ExecutorTraceResult) > 0 { - return result.ExecutorTraceResult, nil - } - - receipt, err := d.state.GetTransactionReceipt(ctx, hash, dbTx) - if err != nil { - const errorMessage = "failed to tx receipt" - log.Errorf("%v: %v", errorMessage, err) - return nil, types.NewRPCError(types.DefaultErrorCode, errorMessage) - } - - failed := receipt.Status == ethTypes.ReceiptStatusFailed - var returnValue interface{} - if stateTraceConfig.EnableReturnData { - returnValue = common.Bytes2Hex(result.ReturnValue) - } - - structLogs := d.buildStructLogs(result.StructLogs, *traceCfg) - - resp := traceTransactionResponse{ - Gas: result.GasUsed, - Failed: failed, - ReturnValue: returnValue, - StructLogs: structLogs, - } - - return resp, nil -} - -func (d *DebugEndpoints) buildStructLogs(stateStructLogs []instrumentation.StructLog, cfg traceConfig) []StructLogRes { - structLogs := make([]StructLogRes, 0, len(stateStructLogs)) - memory := fakevm.NewMemory() - for _, structLog := range stateStructLogs { - errRes := "" - if structLog.Err != nil { - errRes = structLog.Err.Error() - } - - op := structLog.Op - if op == "SHA3" { - op = "KECCAK256" - } else if op == "STOP" && structLog.Pc == 0 { - // this stop is generated for calls with single - // step(no depth increase) and must be ignored - continue - } - - structLogRes := StructLogRes{ - Pc: structLog.Pc, - Op: op, - Gas: structLog.Gas, - GasCost: structLog.GasCost, - Depth: structLog.Depth, - Error: errRes, - RefundCounter: structLog.RefundCounter, - } - - if !cfg.DisableStack { - stack := make([]types.ArgBig, 0, len(structLog.Stack)) - for _, stackItem := range structLog.Stack { - if stackItem != nil { - stack = append(stack, types.ArgBig(*stackItem)) - } - } - structLogRes.Stack = &stack - } - - if cfg.EnableMemory { - memory.Resize(uint64(structLog.MemorySize)) - if len(structLog.Memory) > 0 { - memory.Set(uint64(structLog.MemoryOffset), uint64(len(structLog.Memory)), structLog.Memory) - } - - if structLog.MemorySize > 0 { - // Populate the structLog memory - structLog.Memory = memory.Data() - - // Convert memory to string array - const memoryChunkSize = 32 - memoryArray := make([]string, 0, len(structLog.Memory)) - - for i := 0; i < len(structLog.Memory); i = i + memoryChunkSize { - slice32Bytes := make([]byte, memoryChunkSize) - copy(slice32Bytes, structLog.Memory[i:i+memoryChunkSize]) - memoryStringItem := hex.EncodeToString(slice32Bytes) - memoryArray = append(memoryArray, memoryStringItem) - } - - structLogRes.Memory = &memoryArray - } else { - memory = fakevm.NewMemory() - structLogRes.Memory = &[]string{} - } - } - - if !cfg.DisableStorage && len(structLog.Storage) > 0 { - storage := make(map[string]string, len(structLog.Storage)) - for storageKey, storageValue := range structLog.Storage { - k := hex.EncodeToString(storageKey.Bytes()) - v := hex.EncodeToString(storageValue.Bytes()) - storage[k] = v - } - structLogRes.Storage = &storage - } - - structLogs = append(structLogs, structLogRes) - } - return structLogs -} - -// isBuiltInTracer checks if the tracer is one of the -// built-in tracers -func isBuiltInTracer(tracer string) bool { - // built-in tracers - switch tracer { - case "callTracer", "4byteTracer", "prestateTracer", "noopTracer": - return true - default: - return false - } -} - -// isJSCustomTracer checks if the tracer contains the -// functions result and fault which are required for a custom tracer -// https://geth.ethereum.org/docs/developers/evm-tracing/custom-tracer -func isJSCustomTracer(tracer string) bool { - return strings.Contains(tracer, "result") && strings.Contains(tracer, "fault") + return result.TraceResult, nil } // waitTimeout waits for the waitGroup for the specified max timeout. diff --git a/proto/src/proto/executor/v1/executor.proto b/proto/src/proto/executor/v1/executor.proto index b2c7aacc05..acaa1d0787 100644 --- a/proto/src/proto/executor/v1/executor.proto +++ b/proto/src/proto/executor/v1/executor.proto @@ -90,10 +90,8 @@ message TraceConfig { uint32 enable_memory = 3; // Enables return data (default=false) uint32 enable_return_data = 4; - // Hash of tx in batch to retrieve the execution trace - bytes tx_hash_to_generate_execute_trace = 5; - // Hash of tx in batch to retrieve the call trace - bytes tx_hash_to_generate_call_trace = 6; + // Hash of tx in batch to retrieve the trace + bytes tx_hash_to_generate_full_trace = 5; } message InfoReadWrite { // If nonce="" then it has not been set; if set, string is in decimal (base 10) @@ -102,7 +100,7 @@ message InfoReadWrite { string balance = 2; } -message CallTrace { +message FullTrace { TransactionContext context = 1; repeated TransactionStep steps = 2; } @@ -163,6 +161,8 @@ message TransactionStep { Contract contract = 13; // Error RomError error = 14; + // Content of the storage + map storage = 15; } message Contract { @@ -201,8 +201,7 @@ message ProcessTransactionResponse { // Logs emited by LOG opcode repeated Log logs = 11; // Trace - repeated ExecutionTraceStep execution_trace = 13; - CallTrace call_trace = 14; + FullTrace full_trace = 14; // Efective Gas Price string effective_gas_price = 15; uint32 effective_percentage = 16; @@ -231,35 +230,6 @@ message Log { uint32 index = 8; } -message ExecutionTraceStep { - // Program Counter - uint64 pc = 1; - // OpCode - string op = 2; - // Remaining gas - uint64 remaining_gas = 3; - // Gas cost of the operation - uint64 gas_cost = 4; - // Content of memory, starting at memory_offset, showing only changes vs. previous step - bytes memory = 5; - // Total size of memory - uint32 memory_size = 6; - // Offset of memory changes - uint32 memory_offset = 7; - // Content of the stack - repeated string stack = 8; - // Returned data - bytes return_data = 9; - // Content of the storage - map storage = 10; - // Call depth - uint32 depth = 11; - // Gas refund - uint64 gas_refund = 12; - // Error - RomError error = 13; -} - enum RomError { ROM_ERROR_UNSPECIFIED = 0; // ROM_ERROR_NO_ERROR indicates the execution ended successfully diff --git a/state/converters.go b/state/converters.go index 4d416fb834..d21ac4d0f7 100644 --- a/state/converters.go +++ b/state/converters.go @@ -126,11 +126,6 @@ func convertToReadWriteAddresses(addresses map[string]*executor.InfoReadWrite) ( func (s *State) convertToProcessTransactionResponse(responses []*executor.ProcessTransactionResponse) ([]*ProcessTransactionResponse, error) { results := make([]*ProcessTransactionResponse, 0, len(responses)) for _, response := range responses { - trace, err := convertToStructLogArray(response.ExecutionTrace) - if err != nil { - return nil, err - } - result := new(ProcessTransactionResponse) result.TxHash = common.BytesToHash(response.TxHash) result.Type = response.Type @@ -143,12 +138,11 @@ func (s *State) convertToProcessTransactionResponse(responses []*executor.Proces result.StateRoot = common.BytesToHash(response.StateRoot) result.Logs = convertToLog(response.Logs) result.ChangesStateRoot = IsStateRootChanged(response.Error) - result.ExecutionTrace = *trace - callTrace, err := convertToExecutorTrace(response.CallTrace) + fullTrace, err := convertToFullTrace(response.FullTrace) if err != nil { return nil, err } - result.CallTrace = *callTrace + result.FullTrace = *fullTrace result.EffectiveGasPrice = response.EffectiveGasPrice result.EffectivePercentage = response.EffectivePercentage result.HasGaspriceOpcode = (response.HasGaspriceOpcode == 1) @@ -229,64 +223,11 @@ func convertToTopics(responses [][]byte) []common.Hash { return results } -func convertToStructLogArray(responses []*executor.ExecutionTraceStep) (*[]instrumentation.StructLog, error) { - results := make([]instrumentation.StructLog, 0, len(responses)) - - for _, response := range responses { - convertedStack, err := convertToBigIntArray(response.Stack) - if err != nil { - return nil, err - } - result := new(instrumentation.StructLog) - result.Pc = response.Pc - result.Op = response.Op - result.Gas = response.RemainingGas - result.GasCost = response.GasCost - result.Memory = response.Memory - result.MemorySize = int(response.MemorySize) - result.MemoryOffset = int(response.MemoryOffset) - result.Stack = convertedStack - result.ReturnData = response.ReturnData - result.Storage = convertToProperMap(response.Storage) - result.Depth = int(response.Depth) - result.RefundCounter = response.GasRefund - result.Err = executor.RomErr(response.Error) - - results = append(results, *result) - } - return &results, nil -} - -func convertToBigIntArray(responses []string) ([]*big.Int, error) { - results := make([]*big.Int, 0, len(responses)) - - for _, response := range responses { - if len(response)%2 != 0 { - response = "0" + response - } - result, ok := new(big.Int).SetString(response, hex.Base) - if ok { - results = append(results, result) - } else { - return nil, fmt.Errorf("string %s is not valid", response) - } - } - return results, nil -} - -func convertToProperMap(responses map[string]string) map[common.Hash]common.Hash { - results := make(map[common.Hash]common.Hash, len(responses)) - for key, response := range responses { - results[common.HexToHash(key)] = common.HexToHash(response) - } - return results -} - -func convertToExecutorTrace(callTrace *executor.CallTrace) (*instrumentation.ExecutorTrace, error) { - trace := new(instrumentation.ExecutorTrace) - if callTrace != nil { - trace.Context = convertToContext(callTrace.Context) - steps, err := convertToInstrumentationSteps(callTrace.Steps) +func convertToFullTrace(fullTrace *executor.FullTrace) (*instrumentation.FullTrace, error) { + trace := new(instrumentation.FullTrace) + if fullTrace != nil { + trace.Context = convertToContext(fullTrace.Context) + steps, err := convertToInstrumentationSteps(fullTrace.Steps) if err != nil { return nil, err } @@ -321,7 +262,7 @@ func convertToInstrumentationSteps(responses []*executor.TransactionStep) ([]ins step.Pc = response.Pc step.Gas = response.Gas step.OpCode = fakevm.OpCode(response.Op).String() - step.Refund = fmt.Sprint(response.GasRefund) + step.Refund = response.GasRefund step.Op = uint64(response.Op) err := executor.RomErr(response.Error) if err != nil { @@ -347,6 +288,12 @@ func convertToInstrumentationSteps(responses []*executor.TransactionStep) ([]ins copy(step.Memory, response.Memory) step.ReturnData = make([]byte, len(response.ReturnData)) copy(step.ReturnData, response.ReturnData) + step.Storage = make(map[common.Hash]common.Hash, len(response.Storage)) + for k, v := range response.Storage { + addr := common.BytesToHash(hex.DecodeBig(k).Bytes()) + value := common.BytesToHash(hex.DecodeBig(v).Bytes()) + step.Storage[addr] = value + } results = append(results, *step) } return results, nil diff --git a/state/fakedb.go b/state/fakedb.go index f204f8b9b3..3baf338aaf 100644 --- a/state/fakedb.go +++ b/state/fakedb.go @@ -2,6 +2,7 @@ package state import ( "context" + "fmt" "math/big" "github.com/0xPolygonHermez/zkevm-node/log" @@ -14,6 +15,7 @@ import ( type FakeDB struct { State *State stateRoot []byte + refund uint64 } // SetStateRoot is the stateRoot setter. @@ -104,19 +106,21 @@ func (f *FakeDB) GetCodeSize(address common.Address) int { } // AddRefund not implemented -func (f *FakeDB) AddRefund(uint64) { - log.Error("FakeDB: AddRefund method not implemented") +func (f *FakeDB) AddRefund(gas uint64) { + f.refund += gas } // SubRefund not implemented -func (f *FakeDB) SubRefund(uint64) { - log.Error("FakeDB: SubRefund method not implemented") +func (f *FakeDB) SubRefund(gas uint64) { + if gas > f.refund { + log.Errorf(fmt.Sprintf("Refund counter below zero (gas: %d > refund: %d)", gas, f.refund)) + } + f.refund -= gas } // GetRefund not implemented func (f *FakeDB) GetRefund() uint64 { - log.Error("FakeDB: GetRefund method not implemented") - return 0 + return f.refund } // GetCommittedState not implemented diff --git a/state/runtime/executor/executor.pb.go b/state/runtime/executor/executor.pb.go index 9f04422c49..1974f2725f 100644 --- a/state/runtime/executor/executor.pb.go +++ b/state/runtime/executor/executor.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.31.0 -// protoc v4.24.4 +// protoc v4.24.3 // source: executor.proto package executor @@ -1047,10 +1047,8 @@ type TraceConfig struct { EnableMemory uint32 `protobuf:"varint,3,opt,name=enable_memory,json=enableMemory,proto3" json:"enable_memory,omitempty"` // Enables return data (default=false) EnableReturnData uint32 `protobuf:"varint,4,opt,name=enable_return_data,json=enableReturnData,proto3" json:"enable_return_data,omitempty"` - // Hash of tx in batch to retrieve the execution trace - TxHashToGenerateExecuteTrace []byte `protobuf:"bytes,5,opt,name=tx_hash_to_generate_execute_trace,json=txHashToGenerateExecuteTrace,proto3" json:"tx_hash_to_generate_execute_trace,omitempty"` - // Hash of tx in batch to retrieve the call trace - TxHashToGenerateCallTrace []byte `protobuf:"bytes,6,opt,name=tx_hash_to_generate_call_trace,json=txHashToGenerateCallTrace,proto3" json:"tx_hash_to_generate_call_trace,omitempty"` + // Hash of tx in batch to retrieve the trace + TxHashToGenerateFullTrace []byte `protobuf:"bytes,5,opt,name=tx_hash_to_generate_full_trace,json=txHashToGenerateFullTrace,proto3" json:"tx_hash_to_generate_full_trace,omitempty"` } func (x *TraceConfig) Reset() { @@ -1113,16 +1111,9 @@ func (x *TraceConfig) GetEnableReturnData() uint32 { return 0 } -func (x *TraceConfig) GetTxHashToGenerateExecuteTrace() []byte { +func (x *TraceConfig) GetTxHashToGenerateFullTrace() []byte { if x != nil { - return x.TxHashToGenerateExecuteTrace - } - return nil -} - -func (x *TraceConfig) GetTxHashToGenerateCallTrace() []byte { - if x != nil { - return x.TxHashToGenerateCallTrace + return x.TxHashToGenerateFullTrace } return nil } @@ -1184,7 +1175,7 @@ func (x *InfoReadWrite) GetBalance() string { return "" } -type CallTrace struct { +type FullTrace struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -1193,8 +1184,8 @@ type CallTrace struct { Steps []*TransactionStep `protobuf:"bytes,2,rep,name=steps,proto3" json:"steps,omitempty"` } -func (x *CallTrace) Reset() { - *x = CallTrace{} +func (x *FullTrace) Reset() { + *x = FullTrace{} if protoimpl.UnsafeEnabled { mi := &file_executor_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1202,13 +1193,13 @@ func (x *CallTrace) Reset() { } } -func (x *CallTrace) String() string { +func (x *FullTrace) String() string { return protoimpl.X.MessageStringOf(x) } -func (*CallTrace) ProtoMessage() {} +func (*FullTrace) ProtoMessage() {} -func (x *CallTrace) ProtoReflect() protoreflect.Message { +func (x *FullTrace) ProtoReflect() protoreflect.Message { mi := &file_executor_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1220,19 +1211,19 @@ func (x *CallTrace) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use CallTrace.ProtoReflect.Descriptor instead. -func (*CallTrace) Descriptor() ([]byte, []int) { +// Deprecated: Use FullTrace.ProtoReflect.Descriptor instead. +func (*FullTrace) Descriptor() ([]byte, []int) { return file_executor_proto_rawDescGZIP(), []int{5} } -func (x *CallTrace) GetContext() *TransactionContext { +func (x *FullTrace) GetContext() *TransactionContext { if x != nil { return x.Context } return nil } -func (x *CallTrace) GetSteps() []*TransactionStep { +func (x *FullTrace) GetSteps() []*TransactionStep { if x != nil { return x.Steps } @@ -1419,6 +1410,8 @@ type TransactionStep struct { Contract *Contract `protobuf:"bytes,13,opt,name=contract,proto3" json:"contract,omitempty"` // Error Error RomError `protobuf:"varint,14,opt,name=error,proto3,enum=executor.v1.RomError" json:"error,omitempty"` + // Content of the storage + Storage map[string]string `protobuf:"bytes,15,rep,name=storage,proto3" json:"storage,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *TransactionStep) Reset() { @@ -1551,6 +1544,13 @@ func (x *TransactionStep) GetError() RomError { return RomError_ROM_ERROR_UNSPECIFIED } +func (x *TransactionStep) GetStorage() map[string]string { + if x != nil { + return x.Storage + } + return nil +} + type Contract struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1669,8 +1669,7 @@ type ProcessTransactionResponse struct { // Logs emited by LOG opcode Logs []*Log `protobuf:"bytes,11,rep,name=logs,proto3" json:"logs,omitempty"` // Trace - ExecutionTrace []*ExecutionTraceStep `protobuf:"bytes,13,rep,name=execution_trace,json=executionTrace,proto3" json:"execution_trace,omitempty"` - CallTrace *CallTrace `protobuf:"bytes,14,opt,name=call_trace,json=callTrace,proto3" json:"call_trace,omitempty"` + FullTrace *FullTrace `protobuf:"bytes,14,opt,name=full_trace,json=fullTrace,proto3" json:"full_trace,omitempty"` // Efective Gas Price EffectiveGasPrice string `protobuf:"bytes,15,opt,name=effective_gas_price,json=effectiveGasPrice,proto3" json:"effective_gas_price,omitempty"` EffectivePercentage uint32 `protobuf:"varint,16,opt,name=effective_percentage,json=effectivePercentage,proto3" json:"effective_percentage,omitempty"` @@ -1789,16 +1788,9 @@ func (x *ProcessTransactionResponse) GetLogs() []*Log { return nil } -func (x *ProcessTransactionResponse) GetExecutionTrace() []*ExecutionTraceStep { +func (x *ProcessTransactionResponse) GetFullTrace() *FullTrace { if x != nil { - return x.ExecutionTrace - } - return nil -} - -func (x *ProcessTransactionResponse) GetCallTrace() *CallTrace { - if x != nil { - return x.CallTrace + return x.FullTrace } return nil } @@ -1942,162 +1934,6 @@ func (x *Log) GetIndex() uint32 { return 0 } -type ExecutionTraceStep struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Program Counter - Pc uint64 `protobuf:"varint,1,opt,name=pc,proto3" json:"pc,omitempty"` - // OpCode - Op string `protobuf:"bytes,2,opt,name=op,proto3" json:"op,omitempty"` - // Remaining gas - RemainingGas uint64 `protobuf:"varint,3,opt,name=remaining_gas,json=remainingGas,proto3" json:"remaining_gas,omitempty"` - // Gas cost of the operation - GasCost uint64 `protobuf:"varint,4,opt,name=gas_cost,json=gasCost,proto3" json:"gas_cost,omitempty"` - // Content of memory, starting at memory_offset, showing only changes vs. previous step - Memory []byte `protobuf:"bytes,5,opt,name=memory,proto3" json:"memory,omitempty"` - // Total size of memory - MemorySize uint32 `protobuf:"varint,6,opt,name=memory_size,json=memorySize,proto3" json:"memory_size,omitempty"` - // Offset of memory changes - MemoryOffset uint32 `protobuf:"varint,7,opt,name=memory_offset,json=memoryOffset,proto3" json:"memory_offset,omitempty"` - // Content of the stack - Stack []string `protobuf:"bytes,8,rep,name=stack,proto3" json:"stack,omitempty"` - // Returned data - ReturnData []byte `protobuf:"bytes,9,opt,name=return_data,json=returnData,proto3" json:"return_data,omitempty"` - // Content of the storage - Storage map[string]string `protobuf:"bytes,10,rep,name=storage,proto3" json:"storage,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // Call depth - Depth uint32 `protobuf:"varint,11,opt,name=depth,proto3" json:"depth,omitempty"` - // Gas refund - GasRefund uint64 `protobuf:"varint,12,opt,name=gas_refund,json=gasRefund,proto3" json:"gas_refund,omitempty"` - // Error - Error RomError `protobuf:"varint,13,opt,name=error,proto3,enum=executor.v1.RomError" json:"error,omitempty"` -} - -func (x *ExecutionTraceStep) Reset() { - *x = ExecutionTraceStep{} - if protoimpl.UnsafeEnabled { - mi := &file_executor_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ExecutionTraceStep) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExecutionTraceStep) ProtoMessage() {} - -func (x *ExecutionTraceStep) ProtoReflect() protoreflect.Message { - mi := &file_executor_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ExecutionTraceStep.ProtoReflect.Descriptor instead. -func (*ExecutionTraceStep) Descriptor() ([]byte, []int) { - return file_executor_proto_rawDescGZIP(), []int{11} -} - -func (x *ExecutionTraceStep) GetPc() uint64 { - if x != nil { - return x.Pc - } - return 0 -} - -func (x *ExecutionTraceStep) GetOp() string { - if x != nil { - return x.Op - } - return "" -} - -func (x *ExecutionTraceStep) GetRemainingGas() uint64 { - if x != nil { - return x.RemainingGas - } - return 0 -} - -func (x *ExecutionTraceStep) GetGasCost() uint64 { - if x != nil { - return x.GasCost - } - return 0 -} - -func (x *ExecutionTraceStep) GetMemory() []byte { - if x != nil { - return x.Memory - } - return nil -} - -func (x *ExecutionTraceStep) GetMemorySize() uint32 { - if x != nil { - return x.MemorySize - } - return 0 -} - -func (x *ExecutionTraceStep) GetMemoryOffset() uint32 { - if x != nil { - return x.MemoryOffset - } - return 0 -} - -func (x *ExecutionTraceStep) GetStack() []string { - if x != nil { - return x.Stack - } - return nil -} - -func (x *ExecutionTraceStep) GetReturnData() []byte { - if x != nil { - return x.ReturnData - } - return nil -} - -func (x *ExecutionTraceStep) GetStorage() map[string]string { - if x != nil { - return x.Storage - } - return nil -} - -func (x *ExecutionTraceStep) GetDepth() uint32 { - if x != nil { - return x.Depth - } - return 0 -} - -func (x *ExecutionTraceStep) GetGasRefund() uint64 { - if x != nil { - return x.GasRefund - } - return 0 -} - -func (x *ExecutionTraceStep) GetError() RomError { - if x != nil { - return x.Error - } - return RomError_ROM_ERROR_UNSPECIFIED -} - var File_executor_proto protoreflect.FileDescriptor var file_executor_proto_rawDesc = []byte{ @@ -2243,7 +2079,7 @@ var file_executor_proto_rawDesc = []byte{ 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x70, 0x72, 0x6f, 0x76, 0x65, 0x72, 0x49, 0x64, 0x22, 0xba, 0x02, 0x0a, 0x0b, 0x54, 0x72, 0x61, + 0x70, 0x72, 0x6f, 0x76, 0x65, 0x72, 0x49, 0x64, 0x22, 0xf1, 0x01, 0x0a, 0x0b, 0x54, 0x72, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, @@ -2254,498 +2090,465 @@ var file_executor_proto_rawDesc = []byte{ 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x52, - 0x65, 0x74, 0x75, 0x72, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x47, 0x0a, 0x21, 0x74, 0x78, 0x5f, + 0x65, 0x74, 0x75, 0x72, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x41, 0x0a, 0x1e, 0x74, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x74, 0x6f, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, - 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x1c, 0x74, 0x78, 0x48, 0x61, 0x73, 0x68, 0x54, 0x6f, 0x47, 0x65, - 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x54, 0x72, 0x61, - 0x63, 0x65, 0x12, 0x41, 0x0a, 0x1e, 0x74, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x74, 0x6f, - 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x74, - 0x72, 0x61, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x19, 0x74, 0x78, 0x48, 0x61, - 0x73, 0x68, 0x54, 0x6f, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x43, 0x61, 0x6c, 0x6c, - 0x54, 0x72, 0x61, 0x63, 0x65, 0x22, 0x3f, 0x0a, 0x0d, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x61, - 0x64, 0x57, 0x72, 0x69, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, - 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, - 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x7a, 0x0a, 0x09, 0x43, 0x61, 0x6c, 0x6c, 0x54, 0x72, - 0x61, 0x63, 0x65, 0x12, 0x39, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x2e, - 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, - 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x32, - 0x0a, 0x05, 0x73, 0x74, 0x65, 0x70, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, - 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x65, 0x70, 0x52, 0x05, 0x73, 0x74, 0x65, - 0x70, 0x73, 0x22, 0xbb, 0x02, 0x0a, 0x12, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, - 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x72, 0x6f, - 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x74, - 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x61, 0x73, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x03, 0x67, 0x61, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, - 0x05, 0x62, 0x61, 0x74, 0x63, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x62, 0x61, - 0x74, 0x63, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x08, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x67, - 0x61, 0x73, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, - 0x61, 0x73, 0x55, 0x73, 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x61, 0x73, 0x5f, 0x70, 0x72, - 0x69, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x67, 0x61, 0x73, 0x50, 0x72, - 0x69, 0x63, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x65, 0x78, 0x65, - 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6f, 0x6c, - 0x64, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x0c, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x6c, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, - 0x22, 0xa7, 0x03, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x53, 0x74, 0x65, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x6f, - 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x52, - 0x6f, 0x6f, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x70, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x05, 0x64, 0x65, 0x70, 0x74, 0x68, 0x12, 0x0e, 0x0a, 0x02, 0x70, 0x63, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x70, 0x63, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x61, 0x73, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x67, 0x61, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x67, - 0x61, 0x73, 0x5f, 0x63, 0x6f, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, - 0x61, 0x73, 0x43, 0x6f, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x73, 0x5f, 0x72, 0x65, - 0x66, 0x75, 0x6e, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x67, 0x61, 0x73, 0x52, - 0x65, 0x66, 0x75, 0x6e, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x70, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x02, 0x6f, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x18, 0x08, - 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x6d, - 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x6d, 0x65, 0x6d, - 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x73, 0x69, - 0x7a, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, - 0x53, 0x69, 0x7a, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x6f, - 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x65, 0x6d, - 0x6f, 0x72, 0x79, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x74, - 0x75, 0x72, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, - 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x31, 0x0a, 0x08, 0x63, 0x6f, - 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x65, - 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x2b, 0x0a, - 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x65, - 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6d, 0x45, 0x72, - 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x8c, 0x01, 0x0a, 0x08, 0x43, - 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, - 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, - 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x61, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x03, 0x67, 0x61, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xb7, 0x05, 0x0a, 0x1a, 0x50, 0x72, - 0x6f, 0x63, 0x65, 0x73, 0x73, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x78, 0x5f, 0x68, - 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x74, 0x78, 0x48, 0x61, 0x73, - 0x68, 0x12, 0x15, 0x0a, 0x06, 0x72, 0x6c, 0x70, 0x5f, 0x74, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x05, 0x72, 0x6c, 0x70, 0x54, 0x78, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, - 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x0b, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, - 0x19, 0x0a, 0x08, 0x67, 0x61, 0x73, 0x5f, 0x6c, 0x65, 0x66, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x07, 0x67, 0x61, 0x73, 0x4c, 0x65, 0x66, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x61, - 0x73, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x61, - 0x73, 0x55, 0x73, 0x65, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x67, 0x61, 0x73, 0x5f, 0x72, 0x65, 0x66, - 0x75, 0x6e, 0x64, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x67, 0x61, 0x73, - 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x65, 0x64, 0x12, 0x2b, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, - 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6d, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, - 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, - 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x24, 0x0a, 0x04, 0x6c, - 0x6f, 0x67, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x65, 0x78, 0x65, 0x63, - 0x75, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x04, 0x6c, 0x6f, 0x67, - 0x73, 0x12, 0x48, 0x0a, 0x0f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, - 0x72, 0x61, 0x63, 0x65, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x78, 0x65, - 0x63, 0x75, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, - 0x6f, 0x6e, 0x54, 0x72, 0x61, 0x63, 0x65, 0x53, 0x74, 0x65, 0x70, 0x52, 0x0e, 0x65, 0x78, 0x65, - 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x72, 0x61, 0x63, 0x65, 0x12, 0x35, 0x0a, 0x0a, 0x63, - 0x61, 0x6c, 0x6c, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x16, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, - 0x6c, 0x6c, 0x54, 0x72, 0x61, 0x63, 0x65, 0x52, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x54, 0x72, 0x61, - 0x63, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, - 0x67, 0x61, 0x73, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x11, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x47, 0x61, 0x73, 0x50, 0x72, 0x69, - 0x63, 0x65, 0x12, 0x31, 0x0a, 0x14, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, - 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x50, 0x65, 0x72, 0x63, 0x65, - 0x6e, 0x74, 0x61, 0x67, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x68, 0x61, 0x73, 0x5f, 0x67, 0x61, 0x73, - 0x70, 0x72, 0x69, 0x63, 0x65, 0x5f, 0x6f, 0x70, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x11, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x11, 0x68, 0x61, 0x73, 0x47, 0x61, 0x73, 0x70, 0x72, 0x69, 0x63, 0x65, 0x4f, - 0x70, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x68, 0x61, 0x73, 0x5f, 0x62, 0x61, 0x6c, - 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x6f, 0x70, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x10, 0x68, 0x61, 0x73, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x4f, 0x70, 0x63, - 0x6f, 0x64, 0x65, 0x22, 0xd7, 0x01, 0x0a, 0x03, 0x4c, 0x6f, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x06, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x12, 0x12, 0x0a, - 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, - 0x61, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, - 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x62, 0x61, 0x74, 0x63, 0x68, 0x4e, 0x75, - 0x6d, 0x62, 0x65, 0x72, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x74, 0x78, 0x48, 0x61, 0x73, 0x68, 0x12, 0x19, 0x0a, - 0x08, 0x74, 0x78, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x07, 0x74, 0x78, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x61, 0x74, 0x63, - 0x68, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x62, 0x61, - 0x74, 0x63, 0x68, 0x48, 0x61, 0x73, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, - 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0xef, 0x03, - 0x0a, 0x12, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x72, 0x61, 0x63, 0x65, - 0x53, 0x74, 0x65, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x70, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x02, 0x70, 0x63, 0x12, 0x0e, 0x0a, 0x02, 0x6f, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x02, 0x6f, 0x70, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, - 0x67, 0x5f, 0x67, 0x61, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x72, 0x65, 0x6d, - 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x47, 0x61, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x61, 0x73, - 0x5f, 0x63, 0x6f, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x61, 0x73, - 0x43, 0x6f, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, - 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x0a, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x23, 0x0a, - 0x0d, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4f, 0x66, 0x66, 0x73, - 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x18, 0x08, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x74, 0x75, - 0x72, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x72, - 0x65, 0x74, 0x75, 0x72, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x46, 0x0a, 0x07, 0x73, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x65, 0x78, 0x65, - 0x63, 0x75, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, - 0x6f, 0x6e, 0x54, 0x72, 0x61, 0x63, 0x65, 0x53, 0x74, 0x65, 0x70, 0x2e, 0x53, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x70, 0x74, 0x68, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x05, 0x64, 0x65, 0x70, 0x74, 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x73, 0x5f, 0x72, - 0x65, 0x66, 0x75, 0x6e, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x67, 0x61, 0x73, - 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x12, 0x2b, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, - 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, - 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6d, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, - 0x72, 0x6f, 0x72, 0x1a, 0x3a, 0x0a, 0x0c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, - 0xc6, 0x08, 0x0a, 0x08, 0x52, 0x6f, 0x6d, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x19, 0x0a, 0x15, - 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, - 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x52, 0x4f, 0x4d, 0x5f, 0x45, - 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x4e, 0x4f, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, 0x12, - 0x18, 0x0a, 0x14, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x4f, 0x55, 0x54, - 0x5f, 0x4f, 0x46, 0x5f, 0x47, 0x41, 0x53, 0x10, 0x02, 0x12, 0x1c, 0x0a, 0x18, 0x52, 0x4f, 0x4d, - 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x4f, 0x56, 0x45, - 0x52, 0x46, 0x4c, 0x4f, 0x57, 0x10, 0x03, 0x12, 0x1d, 0x0a, 0x19, 0x52, 0x4f, 0x4d, 0x5f, 0x45, - 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x55, 0x4e, 0x44, 0x45, 0x52, - 0x46, 0x4c, 0x4f, 0x57, 0x10, 0x04, 0x12, 0x24, 0x0a, 0x20, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, - 0x52, 0x4f, 0x52, 0x5f, 0x4d, 0x41, 0x58, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x53, 0x49, 0x5a, - 0x45, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x05, 0x12, 0x28, 0x0a, 0x24, - 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x41, - 0x43, 0x54, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x43, 0x4f, 0x4c, 0x4c, 0x49, - 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x06, 0x12, 0x20, 0x0a, 0x1c, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, - 0x52, 0x4f, 0x52, 0x5f, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, - 0x56, 0x45, 0x52, 0x54, 0x45, 0x44, 0x10, 0x07, 0x12, 0x22, 0x0a, 0x1e, 0x52, 0x4f, 0x4d, 0x5f, - 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x43, 0x4f, 0x55, - 0x4e, 0x54, 0x45, 0x52, 0x53, 0x5f, 0x53, 0x54, 0x45, 0x50, 0x10, 0x08, 0x12, 0x24, 0x0a, 0x20, - 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, - 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x45, 0x52, 0x53, 0x5f, 0x4b, 0x45, 0x43, 0x43, 0x41, 0x4b, - 0x10, 0x09, 0x12, 0x24, 0x0a, 0x20, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, - 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x45, 0x52, 0x53, 0x5f, - 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x0a, 0x12, 0x21, 0x0a, 0x1d, 0x52, 0x4f, 0x4d, 0x5f, - 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x43, 0x4f, 0x55, - 0x4e, 0x54, 0x45, 0x52, 0x53, 0x5f, 0x4d, 0x45, 0x4d, 0x10, 0x0b, 0x12, 0x23, 0x0a, 0x1f, 0x52, + 0x5f, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x19, 0x74, 0x78, 0x48, 0x61, 0x73, 0x68, 0x54, 0x6f, 0x47, 0x65, 0x6e, 0x65, 0x72, + 0x61, 0x74, 0x65, 0x46, 0x75, 0x6c, 0x6c, 0x54, 0x72, 0x61, 0x63, 0x65, 0x22, 0x3f, 0x0a, 0x0d, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x61, 0x64, 0x57, 0x72, 0x69, 0x74, 0x65, 0x12, 0x14, 0x0a, + 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x6f, + 0x6e, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x7a, 0x0a, + 0x09, 0x46, 0x75, 0x6c, 0x6c, 0x54, 0x72, 0x61, 0x63, 0x65, 0x12, 0x39, 0x0a, 0x07, 0x63, 0x6f, + 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x65, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, + 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x32, 0x0a, 0x05, 0x73, 0x74, 0x65, 0x70, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x2e, + 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, + 0x65, 0x70, 0x52, 0x05, 0x73, 0x74, 0x65, 0x70, 0x73, 0x22, 0xbb, 0x02, 0x0a, 0x12, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, + 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, + 0x67, 0x61, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x67, 0x61, 0x73, 0x12, 0x14, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x61, 0x74, 0x63, 0x68, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x05, 0x62, 0x61, 0x74, 0x63, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x75, + 0x74, 0x70, 0x75, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x70, + 0x75, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x61, 0x73, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x61, 0x73, 0x55, 0x73, 0x65, 0x64, 0x12, 0x1b, 0x0a, + 0x09, 0x67, 0x61, 0x73, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x67, 0x61, 0x73, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, + 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6f, 0x6c, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x72, + 0x6f, 0x6f, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x6c, 0x64, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x22, 0xa8, 0x04, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x65, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, + 0x70, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x64, 0x65, 0x70, 0x74, 0x68, + 0x12, 0x0e, 0x0a, 0x02, 0x70, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x70, 0x63, + 0x12, 0x10, 0x0a, 0x03, 0x67, 0x61, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x67, + 0x61, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x61, 0x73, 0x5f, 0x63, 0x6f, 0x73, 0x74, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x61, 0x73, 0x43, 0x6f, 0x73, 0x74, 0x12, 0x1d, 0x0a, + 0x0a, 0x67, 0x61, 0x73, 0x5f, 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x09, 0x67, 0x61, 0x73, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x12, 0x0e, 0x0a, 0x02, + 0x6f, 0x70, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x6f, 0x70, 0x12, 0x14, 0x0a, 0x05, + 0x73, 0x74, 0x61, 0x63, 0x6b, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, + 0x63, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x06, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x65, + 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x0a, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6d, + 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, + 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x44, 0x61, 0x74, + 0x61, 0x12, 0x31, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x2e, 0x76, + 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x61, 0x63, 0x74, 0x12, 0x2b, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x0e, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x2e, 0x76, + 0x31, 0x2e, 0x52, 0x6f, 0x6d, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x12, 0x43, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x18, 0x0f, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x65, 0x70, + 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x1a, 0x3a, 0x0a, 0x0c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x22, 0x8c, 0x01, 0x0a, 0x08, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, + 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x61, 0x6c, + 0x6c, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x61, 0x6c, 0x6c, 0x65, + 0x72, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x67, + 0x61, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x67, 0x61, 0x73, 0x12, 0x12, 0x0a, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x22, 0xed, 0x04, 0x0a, 0x1a, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x17, 0x0a, 0x07, 0x74, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x06, 0x74, 0x78, 0x48, 0x61, 0x73, 0x68, 0x12, 0x15, 0x0a, 0x06, 0x72, 0x6c, 0x70, + 0x5f, 0x74, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x72, 0x6c, 0x70, 0x54, 0x78, + 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x5f, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x72, 0x65, 0x74, 0x75, + 0x72, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x61, 0x73, 0x5f, 0x6c, + 0x65, 0x66, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x61, 0x73, 0x4c, 0x65, + 0x66, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x61, 0x73, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x61, 0x73, 0x55, 0x73, 0x65, 0x64, 0x12, 0x21, 0x0a, + 0x0c, 0x67, 0x61, 0x73, 0x5f, 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x65, 0x64, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x0b, 0x67, 0x61, 0x73, 0x52, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x65, 0x64, + 0x12, 0x2b, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x15, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, + 0x6d, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x25, 0x0a, + 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x6f, + 0x6f, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x52, + 0x6f, 0x6f, 0x74, 0x12, 0x24, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x10, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e, + 0x4c, 0x6f, 0x67, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x35, 0x0a, 0x0a, 0x66, 0x75, 0x6c, + 0x6c, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, + 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x75, 0x6c, 0x6c, + 0x54, 0x72, 0x61, 0x63, 0x65, 0x52, 0x09, 0x66, 0x75, 0x6c, 0x6c, 0x54, 0x72, 0x61, 0x63, 0x65, + 0x12, 0x2e, 0x0a, 0x13, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x67, 0x61, + 0x73, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x65, + 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x47, 0x61, 0x73, 0x50, 0x72, 0x69, 0x63, 0x65, + 0x12, 0x31, 0x0a, 0x14, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x65, + 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, + 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, + 0x61, 0x67, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x68, 0x61, 0x73, 0x5f, 0x67, 0x61, 0x73, 0x70, 0x72, + 0x69, 0x63, 0x65, 0x5f, 0x6f, 0x70, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x11, 0x68, 0x61, 0x73, 0x47, 0x61, 0x73, 0x70, 0x72, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x63, + 0x6f, 0x64, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x68, 0x61, 0x73, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x5f, 0x6f, 0x70, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x10, 0x68, 0x61, 0x73, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x4f, 0x70, 0x63, 0x6f, 0x64, + 0x65, 0x22, 0xd7, 0x01, 0x0a, 0x03, 0x4c, 0x6f, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0c, 0x52, 0x06, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x64, + 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, + 0x21, 0x0a, 0x0c, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x62, 0x61, 0x74, 0x63, 0x68, 0x4e, 0x75, 0x6d, 0x62, + 0x65, 0x72, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x06, 0x74, 0x78, 0x48, 0x61, 0x73, 0x68, 0x12, 0x19, 0x0a, 0x08, 0x74, + 0x78, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x74, + 0x78, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, + 0x68, 0x61, 0x73, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x62, 0x61, 0x74, 0x63, + 0x68, 0x48, 0x61, 0x73, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2a, 0xc6, 0x08, 0x0a, 0x08, + 0x52, 0x6f, 0x6d, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x19, 0x0a, 0x15, 0x52, 0x4f, 0x4d, 0x5f, + 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, + 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, + 0x5f, 0x4e, 0x4f, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, - 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x45, 0x52, 0x53, 0x5f, 0x41, 0x52, 0x49, 0x54, 0x48, 0x10, 0x0c, - 0x12, 0x25, 0x0a, 0x21, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x4f, 0x55, - 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x45, 0x52, 0x53, 0x5f, 0x50, 0x41, - 0x44, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x0d, 0x12, 0x26, 0x0a, 0x22, 0x52, 0x4f, 0x4d, 0x5f, 0x45, + 0x47, 0x41, 0x53, 0x10, 0x02, 0x12, 0x1c, 0x0a, 0x18, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, + 0x4f, 0x52, 0x5f, 0x53, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x46, 0x4c, 0x4f, + 0x57, 0x10, 0x03, 0x12, 0x1d, 0x0a, 0x19, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, + 0x5f, 0x53, 0x54, 0x41, 0x43, 0x4b, 0x5f, 0x55, 0x4e, 0x44, 0x45, 0x52, 0x46, 0x4c, 0x4f, 0x57, + 0x10, 0x04, 0x12, 0x24, 0x0a, 0x20, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, + 0x4d, 0x41, 0x58, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x53, 0x49, 0x5a, 0x45, 0x5f, 0x45, 0x58, + 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x05, 0x12, 0x28, 0x0a, 0x24, 0x52, 0x4f, 0x4d, 0x5f, + 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x41, 0x43, 0x54, 0x5f, 0x41, + 0x44, 0x44, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x43, 0x4f, 0x4c, 0x4c, 0x49, 0x53, 0x49, 0x4f, 0x4e, + 0x10, 0x06, 0x12, 0x20, 0x0a, 0x1c, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, + 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x56, 0x45, 0x52, 0x54, + 0x45, 0x44, 0x10, 0x07, 0x12, 0x22, 0x0a, 0x1e, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, + 0x52, 0x5f, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x45, 0x52, + 0x53, 0x5f, 0x53, 0x54, 0x45, 0x50, 0x10, 0x08, 0x12, 0x24, 0x0a, 0x20, 0x52, 0x4f, 0x4d, 0x5f, + 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x43, 0x4f, 0x55, + 0x4e, 0x54, 0x45, 0x52, 0x53, 0x5f, 0x4b, 0x45, 0x43, 0x43, 0x41, 0x4b, 0x10, 0x09, 0x12, 0x24, + 0x0a, 0x20, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x4f, 0x55, 0x54, 0x5f, + 0x4f, 0x46, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x45, 0x52, 0x53, 0x5f, 0x42, 0x49, 0x4e, 0x41, + 0x52, 0x59, 0x10, 0x0a, 0x12, 0x21, 0x0a, 0x1d, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, + 0x52, 0x5f, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x45, 0x52, + 0x53, 0x5f, 0x4d, 0x45, 0x4d, 0x10, 0x0b, 0x12, 0x23, 0x0a, 0x1f, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x43, 0x4f, 0x55, 0x4e, - 0x54, 0x45, 0x52, 0x53, 0x5f, 0x50, 0x4f, 0x53, 0x45, 0x49, 0x44, 0x4f, 0x4e, 0x10, 0x0e, 0x12, - 0x1a, 0x0a, 0x16, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x56, - 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x4a, 0x55, 0x4d, 0x50, 0x10, 0x0f, 0x12, 0x1c, 0x0a, 0x18, 0x52, + 0x54, 0x45, 0x52, 0x53, 0x5f, 0x41, 0x52, 0x49, 0x54, 0x48, 0x10, 0x0c, 0x12, 0x25, 0x0a, 0x21, + 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, + 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x45, 0x52, 0x53, 0x5f, 0x50, 0x41, 0x44, 0x44, 0x49, 0x4e, + 0x47, 0x10, 0x0d, 0x12, 0x26, 0x0a, 0x22, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, + 0x5f, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x45, 0x52, 0x53, + 0x5f, 0x50, 0x4f, 0x53, 0x45, 0x49, 0x44, 0x4f, 0x4e, 0x10, 0x0e, 0x12, 0x1a, 0x0a, 0x16, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, - 0x5f, 0x4f, 0x50, 0x43, 0x4f, 0x44, 0x45, 0x10, 0x10, 0x12, 0x1c, 0x0a, 0x18, 0x52, 0x4f, 0x4d, - 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x53, - 0x54, 0x41, 0x54, 0x49, 0x43, 0x10, 0x11, 0x12, 0x28, 0x0a, 0x24, 0x52, 0x4f, 0x4d, 0x5f, 0x45, - 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x42, 0x59, 0x54, - 0x45, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x53, 0x5f, 0x45, 0x46, 0x10, - 0x12, 0x12, 0x29, 0x0a, 0x25, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, - 0x4e, 0x54, 0x52, 0x49, 0x4e, 0x53, 0x49, 0x43, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, - 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x41, 0x54, 0x55, 0x52, 0x45, 0x10, 0x13, 0x12, 0x28, 0x0a, 0x24, - 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x54, 0x52, 0x49, 0x4e, - 0x53, 0x49, 0x43, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x43, 0x48, 0x41, 0x49, - 0x4e, 0x5f, 0x49, 0x44, 0x10, 0x14, 0x12, 0x25, 0x0a, 0x21, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, - 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x54, 0x52, 0x49, 0x4e, 0x53, 0x49, 0x43, 0x5f, 0x49, 0x4e, - 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x4e, 0x4f, 0x4e, 0x43, 0x45, 0x10, 0x15, 0x12, 0x29, 0x0a, + 0x5f, 0x4a, 0x55, 0x4d, 0x50, 0x10, 0x0f, 0x12, 0x1c, 0x0a, 0x18, 0x52, 0x4f, 0x4d, 0x5f, 0x45, + 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x4f, 0x50, 0x43, + 0x4f, 0x44, 0x45, 0x10, 0x10, 0x12, 0x1c, 0x0a, 0x18, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, + 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x49, + 0x43, 0x10, 0x11, 0x12, 0x28, 0x0a, 0x24, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, + 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x42, 0x59, 0x54, 0x45, 0x43, 0x4f, 0x44, + 0x45, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x53, 0x5f, 0x45, 0x46, 0x10, 0x12, 0x12, 0x29, 0x0a, 0x25, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x54, 0x52, 0x49, - 0x4e, 0x53, 0x49, 0x43, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x47, 0x41, 0x53, - 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0x16, 0x12, 0x27, 0x0a, 0x23, 0x52, 0x4f, 0x4d, 0x5f, + 0x4e, 0x53, 0x49, 0x43, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x53, 0x49, 0x47, + 0x4e, 0x41, 0x54, 0x55, 0x52, 0x45, 0x10, 0x13, 0x12, 0x28, 0x0a, 0x24, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x54, 0x52, 0x49, 0x4e, 0x53, 0x49, 0x43, 0x5f, - 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x42, 0x41, 0x4c, 0x41, 0x4e, 0x43, 0x45, 0x10, - 0x17, 0x12, 0x2f, 0x0a, 0x2b, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, - 0x4e, 0x54, 0x52, 0x49, 0x4e, 0x53, 0x49, 0x43, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, - 0x5f, 0x42, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x47, 0x41, 0x53, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, - 0x10, 0x18, 0x12, 0x2b, 0x0a, 0x27, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, + 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x43, 0x48, 0x41, 0x49, 0x4e, 0x5f, 0x49, 0x44, + 0x10, 0x14, 0x12, 0x25, 0x0a, 0x21, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x54, 0x52, 0x49, 0x4e, 0x53, 0x49, 0x43, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, - 0x44, 0x5f, 0x53, 0x45, 0x4e, 0x44, 0x45, 0x52, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x10, 0x19, 0x12, - 0x27, 0x0a, 0x23, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x54, - 0x52, 0x49, 0x4e, 0x53, 0x49, 0x43, 0x5f, 0x54, 0x58, 0x5f, 0x47, 0x41, 0x53, 0x5f, 0x4f, 0x56, - 0x45, 0x52, 0x46, 0x4c, 0x4f, 0x57, 0x10, 0x1a, 0x12, 0x20, 0x0a, 0x1c, 0x52, 0x4f, 0x4d, 0x5f, - 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x42, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x44, 0x41, 0x54, 0x41, - 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 0x42, 0x49, 0x47, 0x10, 0x1b, 0x12, 0x21, 0x0a, 0x1d, 0x52, 0x4f, - 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x55, 0x50, 0x50, 0x4f, 0x52, - 0x54, 0x45, 0x44, 0x5f, 0x46, 0x4f, 0x52, 0x4b, 0x5f, 0x49, 0x44, 0x10, 0x1c, 0x12, 0x19, 0x0a, - 0x15, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, - 0x49, 0x44, 0x5f, 0x52, 0x4c, 0x50, 0x10, 0x1d, 0x2a, 0x92, 0x1e, 0x0a, 0x0d, 0x45, 0x78, 0x65, - 0x63, 0x75, 0x74, 0x6f, 0x72, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1e, 0x0a, 0x1a, 0x45, 0x58, - 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x53, - 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x45, 0x58, - 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x4e, 0x4f, 0x5f, - 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x45, 0x58, 0x45, 0x43, 0x55, - 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x44, 0x42, 0x5f, 0x45, 0x52, 0x52, - 0x4f, 0x52, 0x10, 0x02, 0x12, 0x32, 0x0a, 0x2e, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, + 0x44, 0x5f, 0x4e, 0x4f, 0x4e, 0x43, 0x45, 0x10, 0x15, 0x12, 0x29, 0x0a, 0x25, 0x52, 0x4f, 0x4d, + 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x54, 0x52, 0x49, 0x4e, 0x53, 0x49, 0x43, + 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x47, 0x41, 0x53, 0x5f, 0x4c, 0x49, 0x4d, + 0x49, 0x54, 0x10, 0x16, 0x12, 0x27, 0x0a, 0x23, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, + 0x52, 0x5f, 0x49, 0x4e, 0x54, 0x52, 0x49, 0x4e, 0x53, 0x49, 0x43, 0x5f, 0x49, 0x4e, 0x56, 0x41, + 0x4c, 0x49, 0x44, 0x5f, 0x42, 0x41, 0x4c, 0x41, 0x4e, 0x43, 0x45, 0x10, 0x17, 0x12, 0x2f, 0x0a, + 0x2b, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x54, 0x52, 0x49, + 0x4e, 0x53, 0x49, 0x43, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x42, 0x41, 0x54, + 0x43, 0x48, 0x5f, 0x47, 0x41, 0x53, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x10, 0x18, 0x12, 0x2b, + 0x0a, 0x27, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x54, 0x52, + 0x49, 0x4e, 0x53, 0x49, 0x43, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x53, 0x45, + 0x4e, 0x44, 0x45, 0x52, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x10, 0x19, 0x12, 0x27, 0x0a, 0x23, 0x52, + 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x54, 0x52, 0x49, 0x4e, 0x53, + 0x49, 0x43, 0x5f, 0x54, 0x58, 0x5f, 0x47, 0x41, 0x53, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x46, 0x4c, + 0x4f, 0x57, 0x10, 0x1a, 0x12, 0x20, 0x0a, 0x1c, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, 0x52, 0x4f, + 0x52, 0x5f, 0x42, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x54, 0x4f, 0x4f, + 0x5f, 0x42, 0x49, 0x47, 0x10, 0x1b, 0x12, 0x21, 0x0a, 0x1d, 0x52, 0x4f, 0x4d, 0x5f, 0x45, 0x52, + 0x52, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x55, 0x50, 0x50, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x5f, + 0x46, 0x4f, 0x52, 0x4b, 0x5f, 0x49, 0x44, 0x10, 0x1c, 0x12, 0x19, 0x0a, 0x15, 0x52, 0x4f, 0x4d, + 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x52, + 0x4c, 0x50, 0x10, 0x1d, 0x2a, 0x92, 0x1e, 0x0a, 0x0d, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, + 0x72, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1e, 0x0a, 0x1a, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, + 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, + 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, + 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x4e, 0x4f, 0x5f, 0x45, 0x52, 0x52, 0x4f, + 0x52, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, + 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x44, 0x42, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, + 0x12, 0x32, 0x0a, 0x2e, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, + 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, + 0x45, 0x52, 0x53, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x53, 0x54, 0x45, + 0x50, 0x53, 0x10, 0x03, 0x12, 0x33, 0x0a, 0x2f, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x45, 0x52, 0x53, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x46, 0x4c, 0x4f, 0x57, - 0x5f, 0x53, 0x54, 0x45, 0x50, 0x53, 0x10, 0x03, 0x12, 0x33, 0x0a, 0x2f, 0x45, 0x58, 0x45, 0x43, - 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, - 0x49, 0x4e, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x45, 0x52, 0x53, 0x5f, 0x4f, 0x56, 0x45, 0x52, - 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x4b, 0x45, 0x43, 0x43, 0x41, 0x4b, 0x10, 0x04, 0x12, 0x33, 0x0a, - 0x2f, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, - 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x45, 0x52, 0x53, - 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, - 0x10, 0x05, 0x12, 0x30, 0x0a, 0x2c, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, - 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x43, 0x4f, 0x55, - 0x4e, 0x54, 0x45, 0x52, 0x53, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x4d, - 0x45, 0x4d, 0x10, 0x06, 0x12, 0x32, 0x0a, 0x2e, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, + 0x5f, 0x4b, 0x45, 0x43, 0x43, 0x41, 0x4b, 0x10, 0x04, 0x12, 0x33, 0x0a, 0x2f, 0x45, 0x58, 0x45, + 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, + 0x41, 0x49, 0x4e, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x45, 0x52, 0x53, 0x5f, 0x4f, 0x56, 0x45, + 0x52, 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x05, 0x12, 0x30, + 0x0a, 0x2c, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, + 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x45, 0x52, + 0x53, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x4d, 0x45, 0x4d, 0x10, 0x06, + 0x12, 0x32, 0x0a, 0x2e, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, + 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, + 0x45, 0x52, 0x53, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x41, 0x52, 0x49, + 0x54, 0x48, 0x10, 0x07, 0x12, 0x34, 0x0a, 0x30, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x45, 0x52, 0x53, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x46, 0x4c, 0x4f, 0x57, - 0x5f, 0x41, 0x52, 0x49, 0x54, 0x48, 0x10, 0x07, 0x12, 0x34, 0x0a, 0x30, 0x45, 0x58, 0x45, 0x43, - 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, - 0x49, 0x4e, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x45, 0x52, 0x53, 0x5f, 0x4f, 0x56, 0x45, 0x52, - 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x50, 0x41, 0x44, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x08, 0x12, 0x35, - 0x0a, 0x31, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, - 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x45, 0x52, - 0x53, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x50, 0x4f, 0x53, 0x45, 0x49, - 0x44, 0x4f, 0x4e, 0x10, 0x09, 0x12, 0x26, 0x0a, 0x22, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, - 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x55, 0x50, 0x50, 0x4f, 0x52, - 0x54, 0x45, 0x44, 0x5f, 0x46, 0x4f, 0x52, 0x4b, 0x5f, 0x49, 0x44, 0x10, 0x0a, 0x12, 0x23, 0x0a, - 0x1f, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, - 0x42, 0x41, 0x4c, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, - 0x10, 0x0b, 0x12, 0x1d, 0x0a, 0x19, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, - 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x46, 0x45, 0x41, 0x32, 0x53, 0x43, 0x41, 0x4c, 0x41, 0x52, 0x10, - 0x0c, 0x12, 0x18, 0x0a, 0x14, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, - 0x52, 0x4f, 0x52, 0x5f, 0x54, 0x4f, 0x53, 0x33, 0x32, 0x10, 0x0d, 0x12, 0x2e, 0x0a, 0x2a, 0x45, - 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, - 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x55, 0x4e, - 0x53, 0x49, 0x47, 0x4e, 0x45, 0x44, 0x5f, 0x54, 0x58, 0x10, 0x0e, 0x12, 0x2e, 0x0a, 0x2a, 0x45, - 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, - 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x4e, 0x4f, - 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x45, 0x52, 0x53, 0x10, 0x0f, 0x12, 0x39, 0x0a, 0x35, 0x45, - 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, - 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x41, 0x52, 0x49, 0x54, 0x48, 0x5f, 0x45, 0x43, 0x52, 0x45, - 0x43, 0x4f, 0x56, 0x45, 0x52, 0x5f, 0x44, 0x49, 0x56, 0x49, 0x44, 0x45, 0x5f, 0x42, 0x59, 0x5f, - 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x10, 0x12, 0x2f, 0x0a, 0x2b, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, - 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, - 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, - 0x52, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x11, 0x12, 0x2b, 0x0a, 0x27, 0x45, 0x58, 0x45, 0x43, 0x55, - 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, - 0x4e, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x4e, 0x45, 0x47, 0x41, 0x54, 0x49, - 0x56, 0x45, 0x10, 0x12, 0x12, 0x2e, 0x0a, 0x2a, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, - 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x53, - 0x54, 0x4f, 0x52, 0x41, 0x47, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x4b, - 0x45, 0x59, 0x10, 0x13, 0x12, 0x20, 0x0a, 0x1c, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, - 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, - 0x41, 0x53, 0x48, 0x4b, 0x10, 0x14, 0x12, 0x32, 0x0a, 0x2e, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, - 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, - 0x5f, 0x48, 0x41, 0x53, 0x48, 0x4b, 0x5f, 0x53, 0x49, 0x5a, 0x45, 0x5f, 0x4f, 0x55, 0x54, 0x5f, - 0x4f, 0x46, 0x5f, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x15, 0x12, 0x32, 0x0a, 0x2e, 0x45, 0x58, + 0x5f, 0x50, 0x41, 0x44, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x08, 0x12, 0x35, 0x0a, 0x31, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, - 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x4b, 0x5f, 0x50, 0x4f, 0x53, 0x49, 0x54, - 0x49, 0x4f, 0x4e, 0x5f, 0x4e, 0x45, 0x47, 0x41, 0x54, 0x49, 0x56, 0x45, 0x10, 0x16, 0x12, 0x40, - 0x0a, 0x3c, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, - 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x4b, 0x5f, 0x50, - 0x4f, 0x53, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x4c, 0x55, 0x53, 0x5f, 0x53, 0x49, 0x5a, - 0x45, 0x5f, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x17, - 0x12, 0x38, 0x0a, 0x34, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, - 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x4b, - 0x44, 0x49, 0x47, 0x45, 0x53, 0x54, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x4e, - 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x18, 0x12, 0x34, 0x0a, 0x30, 0x45, 0x58, - 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, - 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x4b, 0x44, 0x49, 0x47, 0x45, 0x53, 0x54, - 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x19, + 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x45, 0x52, 0x53, 0x5f, 0x4f, 0x56, + 0x45, 0x52, 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x50, 0x4f, 0x53, 0x45, 0x49, 0x44, 0x4f, 0x4e, 0x10, + 0x09, 0x12, 0x26, 0x0a, 0x22, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, + 0x52, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x55, 0x50, 0x50, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x5f, + 0x46, 0x4f, 0x52, 0x4b, 0x5f, 0x49, 0x44, 0x10, 0x0a, 0x12, 0x23, 0x0a, 0x1f, 0x45, 0x58, 0x45, + 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x42, 0x41, 0x4c, 0x41, + 0x4e, 0x43, 0x45, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x0b, 0x12, 0x1d, + 0x0a, 0x19, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, + 0x5f, 0x46, 0x45, 0x41, 0x32, 0x53, 0x43, 0x41, 0x4c, 0x41, 0x52, 0x10, 0x0c, 0x12, 0x18, 0x0a, + 0x14, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, + 0x54, 0x4f, 0x53, 0x33, 0x32, 0x10, 0x0d, 0x12, 0x2e, 0x0a, 0x2a, 0x45, 0x58, 0x45, 0x43, 0x55, + 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, + 0x4e, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x55, 0x4e, 0x53, 0x49, 0x47, 0x4e, + 0x45, 0x44, 0x5f, 0x54, 0x58, 0x10, 0x0e, 0x12, 0x2e, 0x0a, 0x2a, 0x45, 0x58, 0x45, 0x43, 0x55, + 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, + 0x4e, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x4e, 0x4f, 0x5f, 0x43, 0x4f, 0x55, + 0x4e, 0x54, 0x45, 0x52, 0x53, 0x10, 0x0f, 0x12, 0x39, 0x0a, 0x35, 0x45, 0x58, 0x45, 0x43, 0x55, + 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, + 0x4e, 0x5f, 0x41, 0x52, 0x49, 0x54, 0x48, 0x5f, 0x45, 0x43, 0x52, 0x45, 0x43, 0x4f, 0x56, 0x45, + 0x52, 0x5f, 0x44, 0x49, 0x56, 0x49, 0x44, 0x45, 0x5f, 0x42, 0x59, 0x5f, 0x5a, 0x45, 0x52, 0x4f, + 0x10, 0x10, 0x12, 0x2f, 0x0a, 0x2b, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, + 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x41, 0x44, 0x44, + 0x52, 0x45, 0x53, 0x53, 0x5f, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x52, 0x41, 0x4e, 0x47, + 0x45, 0x10, 0x11, 0x12, 0x2b, 0x0a, 0x27, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, + 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x41, 0x44, + 0x44, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x4e, 0x45, 0x47, 0x41, 0x54, 0x49, 0x56, 0x45, 0x10, 0x12, + 0x12, 0x2e, 0x0a, 0x2a, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, + 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x53, 0x54, 0x4f, 0x52, 0x41, + 0x47, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x13, 0x12, 0x20, 0x0a, 0x1c, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, - 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x50, - 0x10, 0x1a, 0x12, 0x32, 0x0a, 0x2e, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, + 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x4b, + 0x10, 0x14, 0x12, 0x32, 0x0a, 0x2e, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, - 0x48, 0x50, 0x5f, 0x53, 0x49, 0x5a, 0x45, 0x5f, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x52, - 0x41, 0x4e, 0x47, 0x45, 0x10, 0x1b, 0x12, 0x32, 0x0a, 0x2e, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, + 0x48, 0x4b, 0x5f, 0x53, 0x49, 0x5a, 0x45, 0x5f, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x52, + 0x41, 0x4e, 0x47, 0x45, 0x10, 0x15, 0x12, 0x32, 0x0a, 0x2e, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, - 0x5f, 0x48, 0x41, 0x53, 0x48, 0x50, 0x5f, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, - 0x4e, 0x45, 0x47, 0x41, 0x54, 0x49, 0x56, 0x45, 0x10, 0x1c, 0x12, 0x40, 0x0a, 0x3c, 0x45, 0x58, + 0x5f, 0x48, 0x41, 0x53, 0x48, 0x4b, 0x5f, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, + 0x4e, 0x45, 0x47, 0x41, 0x54, 0x49, 0x56, 0x45, 0x10, 0x16, 0x12, 0x40, 0x0a, 0x3c, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, - 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x50, 0x5f, 0x50, 0x4f, 0x53, 0x49, 0x54, + 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x4b, 0x5f, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x4c, 0x55, 0x53, 0x5f, 0x53, 0x49, 0x5a, 0x45, 0x5f, 0x4f, 0x55, - 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x1d, 0x12, 0x38, 0x0a, 0x34, + 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x17, 0x12, 0x38, 0x0a, 0x34, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, - 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x50, 0x44, 0x49, 0x47, 0x45, + 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x4b, 0x44, 0x49, 0x47, 0x45, 0x53, 0x54, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, - 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x1e, 0x12, 0x34, 0x0a, 0x30, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, + 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x18, 0x12, 0x34, 0x0a, 0x30, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, - 0x5f, 0x48, 0x41, 0x53, 0x48, 0x50, 0x44, 0x49, 0x47, 0x45, 0x53, 0x54, 0x5f, 0x4e, 0x4f, 0x54, - 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x1f, 0x12, 0x37, 0x0a, 0x33, + 0x5f, 0x48, 0x41, 0x53, 0x48, 0x4b, 0x44, 0x49, 0x47, 0x45, 0x53, 0x54, 0x5f, 0x4e, 0x4f, 0x54, + 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x19, 0x12, 0x20, 0x0a, 0x1c, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, - 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x4d, 0x45, 0x4d, 0x41, 0x4c, 0x49, 0x47, 0x4e, 0x5f, - 0x4f, 0x46, 0x46, 0x53, 0x45, 0x54, 0x5f, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x52, 0x41, - 0x4e, 0x47, 0x45, 0x10, 0x20, 0x12, 0x2a, 0x0a, 0x26, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, + 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x50, 0x10, 0x1a, 0x12, 0x32, + 0x0a, 0x2e, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, + 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x50, 0x5f, 0x53, + 0x49, 0x5a, 0x45, 0x5f, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x52, 0x41, 0x4e, 0x47, 0x45, + 0x10, 0x1b, 0x12, 0x32, 0x0a, 0x2e, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, + 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, + 0x48, 0x50, 0x5f, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4e, 0x45, 0x47, 0x41, + 0x54, 0x49, 0x56, 0x45, 0x10, 0x1c, 0x12, 0x40, 0x0a, 0x3c, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, + 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, + 0x5f, 0x48, 0x41, 0x53, 0x48, 0x50, 0x5f, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, + 0x50, 0x4c, 0x55, 0x53, 0x5f, 0x53, 0x49, 0x5a, 0x45, 0x5f, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, + 0x5f, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x1d, 0x12, 0x38, 0x0a, 0x34, 0x45, 0x58, 0x45, 0x43, + 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, + 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x50, 0x44, 0x49, 0x47, 0x45, 0x53, 0x54, 0x5f, 0x41, + 0x44, 0x44, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, + 0x10, 0x1e, 0x12, 0x34, 0x0a, 0x30, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, + 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, + 0x48, 0x50, 0x44, 0x49, 0x47, 0x45, 0x53, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x43, 0x4f, 0x4d, + 0x50, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x1f, 0x12, 0x37, 0x0a, 0x33, 0x45, 0x58, 0x45, 0x43, + 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, + 0x49, 0x4e, 0x5f, 0x4d, 0x45, 0x4d, 0x41, 0x4c, 0x49, 0x47, 0x4e, 0x5f, 0x4f, 0x46, 0x46, 0x53, + 0x45, 0x54, 0x5f, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x10, + 0x20, 0x12, 0x2a, 0x0a, 0x26, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, + 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x4d, 0x55, 0x4c, 0x54, + 0x49, 0x50, 0x4c, 0x45, 0x5f, 0x46, 0x52, 0x45, 0x45, 0x49, 0x4e, 0x10, 0x21, 0x12, 0x21, 0x0a, + 0x1d, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, + 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x41, 0x53, 0x53, 0x45, 0x52, 0x54, 0x10, 0x22, + 0x12, 0x21, 0x0a, 0x1d, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, + 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x4d, 0x45, 0x4d, 0x4f, 0x52, + 0x59, 0x10, 0x23, 0x12, 0x30, 0x0a, 0x2c, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, + 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x53, 0x54, + 0x4f, 0x52, 0x41, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, + 0x54, 0x43, 0x48, 0x10, 0x24, 0x12, 0x31, 0x0a, 0x2d, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, - 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x50, 0x4c, 0x45, 0x5f, 0x46, 0x52, 0x45, 0x45, 0x49, 0x4e, 0x10, - 0x21, 0x12, 0x21, 0x0a, 0x1d, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, - 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x41, 0x53, 0x53, 0x45, - 0x52, 0x54, 0x10, 0x22, 0x12, 0x21, 0x0a, 0x1d, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, - 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x4d, - 0x45, 0x4d, 0x4f, 0x52, 0x59, 0x10, 0x23, 0x12, 0x30, 0x0a, 0x2c, 0x45, 0x58, 0x45, 0x43, 0x55, - 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, - 0x4e, 0x5f, 0x53, 0x54, 0x4f, 0x52, 0x41, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x5f, 0x4d, - 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x24, 0x12, 0x31, 0x0a, 0x2d, 0x45, 0x58, 0x45, + 0x53, 0x54, 0x4f, 0x52, 0x41, 0x47, 0x45, 0x5f, 0x57, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x4d, 0x49, + 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x25, 0x12, 0x2f, 0x0a, 0x2b, 0x45, 0x58, 0x45, 0x43, + 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, + 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x4b, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x4d, + 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x26, 0x12, 0x31, 0x0a, 0x2d, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, - 0x41, 0x49, 0x4e, 0x5f, 0x53, 0x54, 0x4f, 0x52, 0x41, 0x47, 0x45, 0x5f, 0x57, 0x52, 0x49, 0x54, - 0x45, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x25, 0x12, 0x2f, 0x0a, 0x2b, + 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x4b, 0x5f, 0x50, 0x41, 0x44, 0x44, 0x49, 0x4e, + 0x47, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x27, 0x12, 0x2e, 0x0a, 0x2a, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, - 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x4b, 0x5f, 0x56, 0x41, 0x4c, - 0x55, 0x45, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x26, 0x12, 0x31, 0x0a, - 0x2d, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, - 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x4b, 0x5f, 0x50, 0x41, - 0x44, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x27, - 0x12, 0x2e, 0x0a, 0x2a, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, - 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x4b, - 0x5f, 0x53, 0x49, 0x5a, 0x45, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x28, - 0x12, 0x33, 0x0a, 0x2f, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, - 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x4b, - 0x4c, 0x45, 0x4e, 0x5f, 0x4c, 0x45, 0x4e, 0x47, 0x54, 0x48, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, - 0x54, 0x43, 0x48, 0x10, 0x29, 0x12, 0x30, 0x0a, 0x2c, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, - 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, - 0x48, 0x41, 0x53, 0x48, 0x4b, 0x4c, 0x45, 0x4e, 0x5f, 0x43, 0x41, 0x4c, 0x4c, 0x45, 0x44, 0x5f, - 0x54, 0x57, 0x49, 0x43, 0x45, 0x10, 0x2a, 0x12, 0x30, 0x0a, 0x2c, 0x45, 0x58, 0x45, 0x43, 0x55, - 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, - 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x4b, 0x44, 0x49, 0x47, 0x45, 0x53, 0x54, 0x5f, 0x4e, 0x4f, - 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x2b, 0x12, 0x36, 0x0a, 0x32, 0x45, 0x58, 0x45, - 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, - 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x4b, 0x44, 0x49, 0x47, 0x45, 0x53, 0x54, 0x5f, - 0x44, 0x49, 0x47, 0x45, 0x53, 0x54, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, - 0x2c, 0x12, 0x33, 0x0a, 0x2f, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, + 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x4b, 0x5f, 0x53, 0x49, 0x5a, + 0x45, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x28, 0x12, 0x33, 0x0a, 0x2f, + 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, + 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x4b, 0x4c, 0x45, 0x4e, 0x5f, + 0x4c, 0x45, 0x4e, 0x47, 0x54, 0x48, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, + 0x29, 0x12, 0x30, 0x0a, 0x2c, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, - 0x4b, 0x44, 0x49, 0x47, 0x45, 0x53, 0x54, 0x5f, 0x43, 0x41, 0x4c, 0x4c, 0x45, 0x44, 0x5f, 0x54, - 0x57, 0x49, 0x43, 0x45, 0x10, 0x2d, 0x12, 0x2f, 0x0a, 0x2b, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, + 0x4b, 0x4c, 0x45, 0x4e, 0x5f, 0x43, 0x41, 0x4c, 0x4c, 0x45, 0x44, 0x5f, 0x54, 0x57, 0x49, 0x43, + 0x45, 0x10, 0x2a, 0x12, 0x30, 0x0a, 0x2c, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, + 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, + 0x53, 0x48, 0x4b, 0x44, 0x49, 0x47, 0x45, 0x53, 0x54, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, + 0x55, 0x4e, 0x44, 0x10, 0x2b, 0x12, 0x36, 0x0a, 0x32, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, + 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, + 0x48, 0x41, 0x53, 0x48, 0x4b, 0x44, 0x49, 0x47, 0x45, 0x53, 0x54, 0x5f, 0x44, 0x49, 0x47, 0x45, + 0x53, 0x54, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x2c, 0x12, 0x33, 0x0a, + 0x2f, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, + 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x4b, 0x44, 0x49, 0x47, + 0x45, 0x53, 0x54, 0x5f, 0x43, 0x41, 0x4c, 0x4c, 0x45, 0x44, 0x5f, 0x54, 0x57, 0x49, 0x43, 0x45, + 0x10, 0x2d, 0x12, 0x2f, 0x0a, 0x2b, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, + 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, + 0x48, 0x50, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, + 0x48, 0x10, 0x2e, 0x12, 0x31, 0x0a, 0x2d, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, + 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, + 0x53, 0x48, 0x50, 0x5f, 0x50, 0x41, 0x44, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x4d, 0x49, 0x53, 0x4d, + 0x41, 0x54, 0x43, 0x48, 0x10, 0x2f, 0x12, 0x2e, 0x0a, 0x2a, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, - 0x5f, 0x48, 0x41, 0x53, 0x48, 0x50, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x4d, 0x49, 0x53, - 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x2e, 0x12, 0x31, 0x0a, 0x2d, 0x45, 0x58, 0x45, 0x43, 0x55, - 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, - 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x50, 0x5f, 0x50, 0x41, 0x44, 0x44, 0x49, 0x4e, 0x47, 0x5f, - 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x2f, 0x12, 0x2e, 0x0a, 0x2a, 0x45, 0x58, + 0x5f, 0x48, 0x41, 0x53, 0x48, 0x50, 0x5f, 0x53, 0x49, 0x5a, 0x45, 0x5f, 0x4d, 0x49, 0x53, 0x4d, + 0x41, 0x54, 0x43, 0x48, 0x10, 0x30, 0x12, 0x33, 0x0a, 0x2f, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, + 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, + 0x5f, 0x48, 0x41, 0x53, 0x48, 0x50, 0x4c, 0x45, 0x4e, 0x5f, 0x4c, 0x45, 0x4e, 0x47, 0x54, 0x48, + 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x31, 0x12, 0x30, 0x0a, 0x2c, 0x45, + 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, + 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x50, 0x4c, 0x45, 0x4e, 0x5f, 0x43, + 0x41, 0x4c, 0x4c, 0x45, 0x44, 0x5f, 0x54, 0x57, 0x49, 0x43, 0x45, 0x10, 0x32, 0x12, 0x36, 0x0a, + 0x32, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, + 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x50, 0x44, 0x49, 0x47, + 0x45, 0x53, 0x54, 0x5f, 0x44, 0x49, 0x47, 0x45, 0x53, 0x54, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, + 0x54, 0x43, 0x48, 0x10, 0x33, 0x12, 0x33, 0x0a, 0x2f, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, + 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, + 0x48, 0x41, 0x53, 0x48, 0x50, 0x44, 0x49, 0x47, 0x45, 0x53, 0x54, 0x5f, 0x43, 0x41, 0x4c, 0x4c, + 0x45, 0x44, 0x5f, 0x54, 0x57, 0x49, 0x43, 0x45, 0x10, 0x34, 0x12, 0x29, 0x0a, 0x25, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, - 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x50, 0x5f, 0x53, 0x49, 0x5a, 0x45, 0x5f, - 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x30, 0x12, 0x33, 0x0a, 0x2f, 0x45, 0x58, + 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x41, 0x52, 0x49, 0x54, 0x48, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, + 0x54, 0x43, 0x48, 0x10, 0x35, 0x12, 0x33, 0x0a, 0x2f, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, + 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, + 0x41, 0x52, 0x49, 0x54, 0x48, 0x5f, 0x45, 0x43, 0x52, 0x45, 0x43, 0x4f, 0x56, 0x45, 0x52, 0x5f, + 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x36, 0x12, 0x2e, 0x0a, 0x2a, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, - 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x50, 0x4c, 0x45, 0x4e, 0x5f, 0x4c, 0x45, - 0x4e, 0x47, 0x54, 0x48, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x31, 0x12, - 0x30, 0x0a, 0x2c, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, - 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x50, 0x4c, - 0x45, 0x4e, 0x5f, 0x43, 0x41, 0x4c, 0x4c, 0x45, 0x44, 0x5f, 0x54, 0x57, 0x49, 0x43, 0x45, 0x10, - 0x32, 0x12, 0x36, 0x0a, 0x32, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, - 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, - 0x50, 0x44, 0x49, 0x47, 0x45, 0x53, 0x54, 0x5f, 0x44, 0x49, 0x47, 0x45, 0x53, 0x54, 0x5f, 0x4d, - 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x33, 0x12, 0x33, 0x0a, 0x2f, 0x45, 0x58, 0x45, + 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x5f, 0x41, 0x44, 0x44, 0x5f, + 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x37, 0x12, 0x2e, 0x0a, 0x2a, 0x45, 0x58, + 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, + 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x5f, 0x53, 0x55, 0x42, 0x5f, + 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x38, 0x12, 0x2d, 0x0a, 0x29, 0x45, 0x58, + 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, + 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x5f, 0x4c, 0x54, 0x5f, 0x4d, + 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x39, 0x12, 0x2e, 0x0a, 0x2a, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, - 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x50, 0x44, 0x49, 0x47, 0x45, 0x53, 0x54, 0x5f, - 0x43, 0x41, 0x4c, 0x4c, 0x45, 0x44, 0x5f, 0x54, 0x57, 0x49, 0x43, 0x45, 0x10, 0x34, 0x12, 0x29, - 0x0a, 0x25, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, - 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x41, 0x52, 0x49, 0x54, 0x48, 0x5f, 0x4d, - 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x35, 0x12, 0x33, 0x0a, 0x2f, 0x45, 0x58, 0x45, + 0x41, 0x49, 0x4e, 0x5f, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x5f, 0x53, 0x4c, 0x54, 0x5f, 0x4d, + 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x3a, 0x12, 0x2d, 0x0a, 0x29, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, - 0x41, 0x49, 0x4e, 0x5f, 0x41, 0x52, 0x49, 0x54, 0x48, 0x5f, 0x45, 0x43, 0x52, 0x45, 0x43, 0x4f, - 0x56, 0x45, 0x52, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x36, 0x12, 0x2e, - 0x0a, 0x2a, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, - 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x5f, - 0x41, 0x44, 0x44, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x37, 0x12, 0x2e, - 0x0a, 0x2a, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, - 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x5f, - 0x53, 0x55, 0x42, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x38, 0x12, 0x2d, - 0x0a, 0x29, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, - 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x5f, - 0x4c, 0x54, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x39, 0x12, 0x2e, 0x0a, - 0x2a, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, - 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x5f, 0x53, - 0x4c, 0x54, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x3a, 0x12, 0x2d, 0x0a, - 0x29, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, - 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x5f, 0x45, - 0x51, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x3b, 0x12, 0x2e, 0x0a, 0x2a, - 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, - 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x5f, 0x41, 0x4e, - 0x44, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x3c, 0x12, 0x2d, 0x0a, 0x29, - 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, - 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x5f, 0x4f, 0x52, - 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x3d, 0x12, 0x2e, 0x0a, 0x2a, 0x45, - 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, - 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x5f, 0x58, 0x4f, 0x52, - 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x3e, 0x12, 0x32, 0x0a, 0x2e, 0x45, + 0x41, 0x49, 0x4e, 0x5f, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x5f, 0x45, 0x51, 0x5f, 0x4d, 0x49, + 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x3b, 0x12, 0x2e, 0x0a, 0x2a, 0x45, 0x58, 0x45, 0x43, + 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, + 0x49, 0x4e, 0x5f, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x4d, 0x49, + 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x3c, 0x12, 0x2d, 0x0a, 0x29, 0x45, 0x58, 0x45, 0x43, + 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, + 0x49, 0x4e, 0x5f, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x5f, 0x4f, 0x52, 0x5f, 0x4d, 0x49, 0x53, + 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x3d, 0x12, 0x2e, 0x0a, 0x2a, 0x45, 0x58, 0x45, 0x43, 0x55, + 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, + 0x4e, 0x5f, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x5f, 0x58, 0x4f, 0x52, 0x5f, 0x4d, 0x49, 0x53, + 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x3e, 0x12, 0x32, 0x0a, 0x2e, 0x45, 0x58, 0x45, 0x43, 0x55, + 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, + 0x4e, 0x5f, 0x4d, 0x45, 0x4d, 0x41, 0x4c, 0x49, 0x47, 0x4e, 0x5f, 0x57, 0x52, 0x49, 0x54, 0x45, + 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x3f, 0x12, 0x33, 0x0a, 0x2f, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x4d, 0x45, 0x4d, 0x41, 0x4c, 0x49, 0x47, 0x4e, 0x5f, 0x57, - 0x52, 0x49, 0x54, 0x45, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x3f, 0x12, - 0x33, 0x0a, 0x2f, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, - 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x4d, 0x45, 0x4d, 0x41, 0x4c, 0x49, - 0x47, 0x4e, 0x5f, 0x57, 0x52, 0x49, 0x54, 0x45, 0x38, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, - 0x43, 0x48, 0x10, 0x40, 0x12, 0x31, 0x0a, 0x2d, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, - 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x4d, - 0x45, 0x4d, 0x41, 0x4c, 0x49, 0x47, 0x4e, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x5f, 0x4d, 0x49, 0x53, - 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x41, 0x12, 0x2c, 0x0a, 0x28, 0x45, 0x58, 0x45, 0x43, 0x55, - 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, - 0x4e, 0x5f, 0x4a, 0x4d, 0x50, 0x4e, 0x5f, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x52, 0x41, - 0x4e, 0x47, 0x45, 0x10, 0x42, 0x12, 0x32, 0x0a, 0x2e, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, + 0x52, 0x49, 0x54, 0x45, 0x38, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x40, + 0x12, 0x31, 0x0a, 0x2d, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, + 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x4d, 0x45, 0x4d, 0x41, 0x4c, + 0x49, 0x47, 0x4e, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, + 0x48, 0x10, 0x41, 0x12, 0x2c, 0x0a, 0x28, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, + 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x4a, 0x4d, + 0x50, 0x4e, 0x5f, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x10, + 0x42, 0x12, 0x32, 0x0a, 0x2e, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, + 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, + 0x4b, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x5f, 0x4f, 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x52, 0x41, + 0x4e, 0x47, 0x45, 0x10, 0x43, 0x12, 0x32, 0x0a, 0x2e, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, 0x41, 0x49, 0x4e, 0x5f, - 0x48, 0x41, 0x53, 0x48, 0x4b, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x5f, 0x4f, 0x55, 0x54, 0x5f, 0x4f, - 0x46, 0x5f, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x43, 0x12, 0x32, 0x0a, 0x2e, 0x45, 0x58, 0x45, - 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x53, 0x4d, 0x5f, 0x4d, - 0x41, 0x49, 0x4e, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x5f, 0x4f, - 0x55, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x44, 0x12, 0x29, 0x0a, - 0x25, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, - 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x4f, 0x4c, 0x44, 0x5f, 0x53, 0x54, 0x41, 0x54, - 0x45, 0x5f, 0x52, 0x4f, 0x4f, 0x54, 0x10, 0x45, 0x12, 0x2d, 0x0a, 0x29, 0x45, 0x58, 0x45, 0x43, + 0x48, 0x41, 0x53, 0x48, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x5f, 0x4f, 0x55, 0x54, 0x5f, 0x4f, + 0x46, 0x5f, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x44, 0x12, 0x29, 0x0a, 0x25, 0x45, 0x58, 0x45, + 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x41, + 0x4c, 0x49, 0x44, 0x5f, 0x4f, 0x4c, 0x44, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x4f, + 0x4f, 0x54, 0x10, 0x45, 0x12, 0x2d, 0x0a, 0x29, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, + 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x4f, + 0x4c, 0x44, 0x5f, 0x41, 0x43, 0x43, 0x5f, 0x49, 0x4e, 0x50, 0x55, 0x54, 0x5f, 0x48, 0x41, 0x53, + 0x48, 0x10, 0x46, 0x12, 0x23, 0x0a, 0x1f, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, + 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x43, 0x48, + 0x41, 0x49, 0x4e, 0x5f, 0x49, 0x44, 0x10, 0x47, 0x12, 0x28, 0x0a, 0x24, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, - 0x49, 0x44, 0x5f, 0x4f, 0x4c, 0x44, 0x5f, 0x41, 0x43, 0x43, 0x5f, 0x49, 0x4e, 0x50, 0x55, 0x54, - 0x5f, 0x48, 0x41, 0x53, 0x48, 0x10, 0x46, 0x12, 0x23, 0x0a, 0x1f, 0x45, 0x58, 0x45, 0x43, 0x55, - 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, - 0x44, 0x5f, 0x43, 0x48, 0x41, 0x49, 0x4e, 0x5f, 0x49, 0x44, 0x10, 0x47, 0x12, 0x28, 0x0a, 0x24, - 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, - 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x42, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x4c, 0x32, 0x5f, - 0x44, 0x41, 0x54, 0x41, 0x10, 0x48, 0x12, 0x2b, 0x0a, 0x27, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, - 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, - 0x5f, 0x47, 0x4c, 0x4f, 0x42, 0x41, 0x4c, 0x5f, 0x45, 0x58, 0x49, 0x54, 0x5f, 0x52, 0x4f, 0x4f, - 0x54, 0x10, 0x49, 0x12, 0x23, 0x0a, 0x1f, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, - 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x43, 0x4f, - 0x49, 0x4e, 0x42, 0x41, 0x53, 0x45, 0x10, 0x4a, 0x12, 0x1f, 0x0a, 0x1b, 0x45, 0x58, 0x45, 0x43, + 0x49, 0x44, 0x5f, 0x42, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x4c, 0x32, 0x5f, 0x44, 0x41, 0x54, 0x41, + 0x10, 0x48, 0x12, 0x2b, 0x0a, 0x27, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, + 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x47, 0x4c, 0x4f, + 0x42, 0x41, 0x4c, 0x5f, 0x45, 0x58, 0x49, 0x54, 0x5f, 0x52, 0x4f, 0x4f, 0x54, 0x10, 0x49, 0x12, + 0x23, 0x0a, 0x1f, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, + 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x43, 0x4f, 0x49, 0x4e, 0x42, 0x41, + 0x53, 0x45, 0x10, 0x4a, 0x12, 0x1f, 0x0a, 0x1b, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, + 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x46, + 0x52, 0x4f, 0x4d, 0x10, 0x4b, 0x12, 0x21, 0x0a, 0x1d, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, + 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, + 0x44, 0x42, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x4c, 0x12, 0x23, 0x0a, 0x1f, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, - 0x49, 0x44, 0x5f, 0x46, 0x52, 0x4f, 0x4d, 0x10, 0x4b, 0x12, 0x21, 0x0a, 0x1d, 0x45, 0x58, 0x45, - 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x41, - 0x4c, 0x49, 0x44, 0x5f, 0x44, 0x42, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x4c, 0x12, 0x23, 0x0a, 0x1f, - 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, - 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x44, 0x42, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, - 0x4d, 0x12, 0x31, 0x0a, 0x2d, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, - 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x43, 0x4f, 0x4e, 0x54, - 0x52, 0x41, 0x43, 0x54, 0x53, 0x5f, 0x42, 0x59, 0x54, 0x45, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x4b, - 0x45, 0x59, 0x10, 0x4e, 0x12, 0x33, 0x0a, 0x2f, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, - 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x43, - 0x4f, 0x4e, 0x54, 0x52, 0x41, 0x43, 0x54, 0x53, 0x5f, 0x42, 0x59, 0x54, 0x45, 0x43, 0x4f, 0x44, - 0x45, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 0x4f, 0x12, 0x22, 0x0a, 0x1e, 0x45, 0x58, 0x45, - 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x41, - 0x4c, 0x49, 0x44, 0x5f, 0x47, 0x45, 0x54, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x50, 0x32, 0xb9, 0x01, - 0x0a, 0x0f, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, - 0x65, 0x12, 0x55, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x42, 0x61, 0x74, 0x63, - 0x68, 0x12, 0x20, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e, - 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x2e, 0x76, - 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x46, - 0x6c, 0x75, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, - 0x74, 0x79, 0x1a, 0x23, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x46, 0x6c, 0x75, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3e, 0x5a, 0x3c, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x30, 0x78, 0x50, 0x6f, 0x6c, 0x79, 0x67, 0x6f, - 0x6e, 0x48, 0x65, 0x72, 0x6d, 0x65, 0x7a, 0x2f, 0x7a, 0x6b, 0x65, 0x76, 0x6d, 0x2d, 0x6e, 0x6f, - 0x64, 0x65, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2f, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, - 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x49, 0x44, 0x5f, 0x44, 0x42, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 0x4d, 0x12, 0x31, 0x0a, + 0x2d, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, + 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x41, 0x43, 0x54, + 0x53, 0x5f, 0x42, 0x59, 0x54, 0x45, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x4e, + 0x12, 0x33, 0x0a, 0x2f, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, 0x52, 0x5f, 0x45, 0x52, 0x52, + 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x52, + 0x41, 0x43, 0x54, 0x53, 0x5f, 0x42, 0x59, 0x54, 0x45, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x56, 0x41, + 0x4c, 0x55, 0x45, 0x10, 0x4f, 0x12, 0x22, 0x0a, 0x1e, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x4f, + 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, + 0x47, 0x45, 0x54, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x50, 0x32, 0xb9, 0x01, 0x0a, 0x0f, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x55, 0x0a, + 0x0c, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x42, 0x61, 0x74, 0x63, 0x68, 0x12, 0x20, 0x2e, + 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x63, + 0x65, 0x73, 0x73, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x21, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, + 0x6f, 0x63, 0x65, 0x73, 0x73, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x46, 0x6c, 0x75, 0x73, 0x68, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x23, + 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x46, 0x6c, 0x75, 0x73, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x3e, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x30, 0x78, 0x50, 0x6f, 0x6c, 0x79, 0x67, 0x6f, 0x6e, 0x48, 0x65, 0x72, + 0x6d, 0x65, 0x7a, 0x2f, 0x7a, 0x6b, 0x65, 0x76, 0x6d, 0x2d, 0x6e, 0x6f, 0x64, 0x65, 0x2f, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x2f, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x65, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x6f, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -2761,7 +2564,7 @@ func file_executor_proto_rawDescGZIP() []byte { } var file_executor_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_executor_proto_msgTypes = make([]protoimpl.MessageInfo, 16) +var file_executor_proto_msgTypes = make([]protoimpl.MessageInfo, 15) var file_executor_proto_goTypes = []interface{}{ (RomError)(0), // 0: executor.v1.RomError (ExecutorError)(0), // 1: executor.v1.ExecutorError @@ -2770,46 +2573,43 @@ var file_executor_proto_goTypes = []interface{}{ (*GetFlushStatusResponse)(nil), // 4: executor.v1.GetFlushStatusResponse (*TraceConfig)(nil), // 5: executor.v1.TraceConfig (*InfoReadWrite)(nil), // 6: executor.v1.InfoReadWrite - (*CallTrace)(nil), // 7: executor.v1.CallTrace + (*FullTrace)(nil), // 7: executor.v1.FullTrace (*TransactionContext)(nil), // 8: executor.v1.TransactionContext (*TransactionStep)(nil), // 9: executor.v1.TransactionStep (*Contract)(nil), // 10: executor.v1.Contract (*ProcessTransactionResponse)(nil), // 11: executor.v1.ProcessTransactionResponse (*Log)(nil), // 12: executor.v1.Log - (*ExecutionTraceStep)(nil), // 13: executor.v1.ExecutionTraceStep - nil, // 14: executor.v1.ProcessBatchRequest.DbEntry - nil, // 15: executor.v1.ProcessBatchRequest.ContractsBytecodeEntry - nil, // 16: executor.v1.ProcessBatchResponse.ReadWriteAddressesEntry - nil, // 17: executor.v1.ExecutionTraceStep.StorageEntry - (*emptypb.Empty)(nil), // 18: google.protobuf.Empty + nil, // 13: executor.v1.ProcessBatchRequest.DbEntry + nil, // 14: executor.v1.ProcessBatchRequest.ContractsBytecodeEntry + nil, // 15: executor.v1.ProcessBatchResponse.ReadWriteAddressesEntry + nil, // 16: executor.v1.TransactionStep.StorageEntry + (*emptypb.Empty)(nil), // 17: google.protobuf.Empty } var file_executor_proto_depIdxs = []int32{ - 14, // 0: executor.v1.ProcessBatchRequest.db:type_name -> executor.v1.ProcessBatchRequest.DbEntry - 15, // 1: executor.v1.ProcessBatchRequest.contracts_bytecode:type_name -> executor.v1.ProcessBatchRequest.ContractsBytecodeEntry + 13, // 0: executor.v1.ProcessBatchRequest.db:type_name -> executor.v1.ProcessBatchRequest.DbEntry + 14, // 1: executor.v1.ProcessBatchRequest.contracts_bytecode:type_name -> executor.v1.ProcessBatchRequest.ContractsBytecodeEntry 5, // 2: executor.v1.ProcessBatchRequest.trace_config:type_name -> executor.v1.TraceConfig 11, // 3: executor.v1.ProcessBatchResponse.responses:type_name -> executor.v1.ProcessTransactionResponse 1, // 4: executor.v1.ProcessBatchResponse.error:type_name -> executor.v1.ExecutorError - 16, // 5: executor.v1.ProcessBatchResponse.read_write_addresses:type_name -> executor.v1.ProcessBatchResponse.ReadWriteAddressesEntry - 8, // 6: executor.v1.CallTrace.context:type_name -> executor.v1.TransactionContext - 9, // 7: executor.v1.CallTrace.steps:type_name -> executor.v1.TransactionStep + 15, // 5: executor.v1.ProcessBatchResponse.read_write_addresses:type_name -> executor.v1.ProcessBatchResponse.ReadWriteAddressesEntry + 8, // 6: executor.v1.FullTrace.context:type_name -> executor.v1.TransactionContext + 9, // 7: executor.v1.FullTrace.steps:type_name -> executor.v1.TransactionStep 10, // 8: executor.v1.TransactionStep.contract:type_name -> executor.v1.Contract 0, // 9: executor.v1.TransactionStep.error:type_name -> executor.v1.RomError - 0, // 10: executor.v1.ProcessTransactionResponse.error:type_name -> executor.v1.RomError - 12, // 11: executor.v1.ProcessTransactionResponse.logs:type_name -> executor.v1.Log - 13, // 12: executor.v1.ProcessTransactionResponse.execution_trace:type_name -> executor.v1.ExecutionTraceStep - 7, // 13: executor.v1.ProcessTransactionResponse.call_trace:type_name -> executor.v1.CallTrace - 17, // 14: executor.v1.ExecutionTraceStep.storage:type_name -> executor.v1.ExecutionTraceStep.StorageEntry - 0, // 15: executor.v1.ExecutionTraceStep.error:type_name -> executor.v1.RomError - 6, // 16: executor.v1.ProcessBatchResponse.ReadWriteAddressesEntry.value:type_name -> executor.v1.InfoReadWrite - 2, // 17: executor.v1.ExecutorService.ProcessBatch:input_type -> executor.v1.ProcessBatchRequest - 18, // 18: executor.v1.ExecutorService.GetFlushStatus:input_type -> google.protobuf.Empty - 3, // 19: executor.v1.ExecutorService.ProcessBatch:output_type -> executor.v1.ProcessBatchResponse - 4, // 20: executor.v1.ExecutorService.GetFlushStatus:output_type -> executor.v1.GetFlushStatusResponse - 19, // [19:21] is the sub-list for method output_type - 17, // [17:19] is the sub-list for method input_type - 17, // [17:17] is the sub-list for extension type_name - 17, // [17:17] is the sub-list for extension extendee - 0, // [0:17] is the sub-list for field type_name + 16, // 10: executor.v1.TransactionStep.storage:type_name -> executor.v1.TransactionStep.StorageEntry + 0, // 11: executor.v1.ProcessTransactionResponse.error:type_name -> executor.v1.RomError + 12, // 12: executor.v1.ProcessTransactionResponse.logs:type_name -> executor.v1.Log + 7, // 13: executor.v1.ProcessTransactionResponse.full_trace:type_name -> executor.v1.FullTrace + 6, // 14: executor.v1.ProcessBatchResponse.ReadWriteAddressesEntry.value:type_name -> executor.v1.InfoReadWrite + 2, // 15: executor.v1.ExecutorService.ProcessBatch:input_type -> executor.v1.ProcessBatchRequest + 17, // 16: executor.v1.ExecutorService.GetFlushStatus:input_type -> google.protobuf.Empty + 3, // 17: executor.v1.ExecutorService.ProcessBatch:output_type -> executor.v1.ProcessBatchResponse + 4, // 18: executor.v1.ExecutorService.GetFlushStatus:output_type -> executor.v1.GetFlushStatusResponse + 17, // [17:19] is the sub-list for method output_type + 15, // [15:17] is the sub-list for method input_type + 15, // [15:15] is the sub-list for extension type_name + 15, // [15:15] is the sub-list for extension extendee + 0, // [0:15] is the sub-list for field type_name } func init() { file_executor_proto_init() } @@ -2879,7 +2679,7 @@ func file_executor_proto_init() { } } file_executor_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CallTrace); i { + switch v := v.(*FullTrace); i { case 0: return &v.state case 1: @@ -2950,18 +2750,6 @@ func file_executor_proto_init() { return nil } } - file_executor_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExecutionTraceStep); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } } type x struct{} out := protoimpl.TypeBuilder{ @@ -2969,7 +2757,7 @@ func file_executor_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_executor_proto_rawDesc, NumEnums: 2, - NumMessages: 16, + NumMessages: 15, NumExtensions: 0, NumServices: 1, }, diff --git a/state/runtime/instrumentation/executortrace.go b/state/runtime/instrumentation/executortrace.go index b9a131000c..36d1a4e9f8 100644 --- a/state/runtime/instrumentation/executortrace.go +++ b/state/runtime/instrumentation/executortrace.go @@ -6,8 +6,8 @@ import ( "github.com/ethereum/go-ethereum/common" ) -// ExecutorTrace contents executor traces. -type ExecutorTrace struct { +// FullTrace contents executor call trace steps. +type FullTrace struct { Context Context `json:"context"` Steps []Step `json:"steps"` } @@ -30,21 +30,22 @@ type Context struct { // Step is a trace step. type Step struct { - StateRoot common.Hash `json:"stateRoot"` - Depth int `json:"depth"` - Pc uint64 `json:"pc"` - Gas uint64 `json:"gas"` - OpCode string `json:"opcode"` - Refund string `json:"refund"` - Op uint64 `json:"op"` - Error error `json:"error"` - Contract Contract `json:"contract"` - GasCost uint64 `json:"gasCost"` - Stack []*big.Int `json:"stack"` - Memory []byte `json:"memory"` - MemorySize uint32 `json:"memorySize"` - MemoryOffset uint32 `json:"memoryOffset"` - ReturnData []byte `json:"returnData"` + StateRoot common.Hash `json:"stateRoot"` + Depth int `json:"depth"` + Pc uint64 `json:"pc"` + Gas uint64 `json:"gas"` + OpCode string `json:"opcode"` + Refund uint64 `json:"refund"` + Op uint64 `json:"op"` + Error error `json:"error"` + Contract Contract `json:"contract"` + GasCost uint64 `json:"gasCost"` + Stack []*big.Int `json:"stack"` + Memory []byte `json:"memory"` + MemorySize uint32 `json:"memorySize"` + MemoryOffset uint32 `json:"memoryOffset"` + ReturnData []byte `json:"returnData"` + Storage map[common.Hash]common.Hash `json:"storage"` } // Contract represents a contract in the trace. diff --git a/state/runtime/instrumentation/structlog.go b/state/runtime/instrumentation/structlog.go deleted file mode 100644 index 5df7a7167e..0000000000 --- a/state/runtime/instrumentation/structlog.go +++ /dev/null @@ -1,25 +0,0 @@ -package instrumentation - -import ( - "math/big" - - "github.com/ethereum/go-ethereum/common" -) - -// StructLog is emitted to the EVM each cycle and lists information about the current internal state -// prior to the execution of the statement. -type StructLog struct { - Pc uint64 `json:"pc"` - Op string `json:"op"` - Gas uint64 `json:"gas"` - GasCost uint64 `json:"gasCost"` - Memory []byte `json:"memory"` - MemorySize int `json:"memSize"` - MemoryOffset int `json:"memOffset"` - Stack []*big.Int `json:"stack"` - ReturnData []byte `json:"returnData"` - Storage map[common.Hash]common.Hash `json:"-"` - Depth int `json:"depth"` - RefundCounter uint64 `json:"refund"` - Err error `json:"-"` -} diff --git a/state/runtime/instrumentation/tracers/structlogger/structlogger.go b/state/runtime/instrumentation/tracers/structlogger/structlogger.go new file mode 100644 index 0000000000..3a4cf037ad --- /dev/null +++ b/state/runtime/instrumentation/tracers/structlogger/structlogger.go @@ -0,0 +1,149 @@ +package structlogger + +import ( + "encoding/json" + + "github.com/0xPolygonHermez/zkevm-node/hex" + "github.com/0xPolygonHermez/zkevm-node/state/runtime" + "github.com/0xPolygonHermez/zkevm-node/state/runtime/fakevm" + "github.com/ethereum/go-ethereum/common" + "github.com/ethereum/go-ethereum/core/types" +) + +// Config are the configuration options for structured logger the EVM +type Config struct { + EnableMemory bool // enable memory capture + DisableStack bool // disable stack capture + DisableStorage bool // disable storage capture + EnableReturnData bool // enable return data capture +} + +// StructLogRes represents the debug trace information for each opcode +type StructLogRes struct { + Pc uint64 `json:"pc"` + Op string `json:"op"` + Gas uint64 `json:"gas"` + GasCost uint64 `json:"gasCost"` + Depth int `json:"depth"` + Error string `json:"error,omitempty"` + Stack *[]string `json:"stack,omitempty"` + Memory *[]string `json:"memory,omitempty"` + Storage *map[string]string `json:"storage,omitempty"` + RefundCounter uint64 `json:"refund,omitempty"` +} + +type TraceResponse struct { + Gas uint64 `json:"gas"` + Failed bool `json:"failed"` + ReturnValue interface{} `json:"returnValue"` + StructLogs []StructLogRes `json:"structLogs"` +} + +type JSONLogger struct { + cfg Config +} + +func NewStructLogger(cfg Config) *JSONLogger { + return &JSONLogger{cfg} +} + +func (l *JSONLogger) ParseTrace(result *runtime.ExecutionResult, receipt types.Receipt) (json.RawMessage, error) { + structLogs := make([]StructLogRes, 0, len(result.FullTrace.Steps)) + memory := fakevm.NewMemory() + for _, step := range result.FullTrace.Steps { + errRes := "" + if step.Error != nil { + errRes = step.Error.Error() + } + + op := step.OpCode + if op == "SHA3" { + op = "KECCAK256" + } else if op == "STOP" && step.Pc == 0 { + // this stop is generated for calls with single + // step(no depth increase) and must be ignored + continue + } + + structLogRes := StructLogRes{ + Pc: step.Pc, + Op: op, + Gas: step.Gas, + GasCost: step.GasCost, + Depth: step.Depth, + Error: errRes, + RefundCounter: step.Refund, + } + + if !l.cfg.DisableStack { + stack := make([]string, 0, len(step.Stack)) + for _, stackItem := range step.Stack { + if stackItem != nil { + stack = append(stack, hex.EncodeBig(stackItem)) + } + } + structLogRes.Stack = &stack + } + + if l.cfg.EnableMemory { + memory.Resize(uint64(step.MemorySize)) + if len(step.Memory) > 0 { + memory.Set(uint64(step.MemoryOffset), uint64(len(step.Memory)), step.Memory) + } + + if step.MemorySize > 0 { + // Populate the structLog memory + step.Memory = memory.Data() + + // Convert memory to string array + const memoryChunkSize = 32 + memoryArray := make([]string, 0, len(step.Memory)) + + for i := 0; i < len(step.Memory); i = i + memoryChunkSize { + slice32Bytes := make([]byte, memoryChunkSize) + copy(slice32Bytes, step.Memory[i:i+memoryChunkSize]) + memoryStringItem := hex.EncodeToString(slice32Bytes) + memoryArray = append(memoryArray, memoryStringItem) + } + + structLogRes.Memory = &memoryArray + } else { + memory = fakevm.NewMemory() + structLogRes.Memory = &[]string{} + } + } + + if !l.cfg.DisableStorage && len(step.Storage) > 0 { + storage := make(map[string]string, len(step.Storage)) + for storageKey, storageValue := range step.Storage { + k := hex.EncodeToString(storageKey.Bytes()) + v := hex.EncodeToString(storageValue.Bytes()) + storage[k] = v + } + structLogRes.Storage = &storage + } + + structLogs = append(structLogs, structLogRes) + } + + var rv interface{} + if l.cfg.EnableReturnData { + rv = common.Bytes2Hex(result.ReturnValue) + } + + failed := receipt.Status == types.ReceiptStatusFailed + + resp := TraceResponse{ + Gas: receipt.GasUsed, + Failed: failed, + ReturnValue: rv, + StructLogs: structLogs, + } + + b, err := json.Marshal(resp) + if err != nil { + return nil, err + } + + return b, nil +} diff --git a/state/runtime/runtime.go b/state/runtime/runtime.go index ddb40a3645..3adf7fa819 100644 --- a/state/runtime/runtime.go +++ b/state/runtime/runtime.go @@ -242,15 +242,14 @@ var ( // ExecutionResult includes all output after executing given evm // message no matter the execution itself is successful or not. type ExecutionResult struct { - ReturnValue []byte // Returned data from the runtime (function result or data supplied with revert opcode) - GasLeft uint64 // Total gas left as result of execution - GasUsed uint64 // Total gas used as result of execution - Err error // Any error encountered during the execution, listed below - CreateAddress common.Address - StateRoot []byte - StructLogs []instrumentation.StructLog - ExecutorTrace instrumentation.ExecutorTrace - ExecutorTraceResult json.RawMessage + ReturnValue []byte // Returned data from the runtime (function result or data supplied with revert opcode) + GasLeft uint64 // Total gas left as result of execution + GasUsed uint64 // Total gas used as result of execution + Err error // Any error encountered during the execution, listed below + CreateAddress common.Address + StateRoot []byte + FullTrace instrumentation.FullTrace + TraceResult json.RawMessage } // Succeeded indicates the execution was successful diff --git a/state/trace.go b/state/trace.go new file mode 100644 index 0000000000..9fac2ee9e0 --- /dev/null +++ b/state/trace.go @@ -0,0 +1,570 @@ +package state + +import ( + "context" + "encoding/json" + "errors" + "fmt" + "math" + "math/big" + "time" + + "github.com/0xPolygonHermez/zkevm-node/encoding" + "github.com/0xPolygonHermez/zkevm-node/log" + "github.com/0xPolygonHermez/zkevm-node/state/runtime" + "github.com/0xPolygonHermez/zkevm-node/state/runtime/executor" + "github.com/0xPolygonHermez/zkevm-node/state/runtime/fakevm" + "github.com/0xPolygonHermez/zkevm-node/state/runtime/instrumentation" + "github.com/0xPolygonHermez/zkevm-node/state/runtime/instrumentation/js" + "github.com/0xPolygonHermez/zkevm-node/state/runtime/instrumentation/tracers" + "github.com/0xPolygonHermez/zkevm-node/state/runtime/instrumentation/tracers/native" + "github.com/0xPolygonHermez/zkevm-node/state/runtime/instrumentation/tracers/structlogger" + "github.com/ethereum/go-ethereum/common" + "github.com/ethereum/go-ethereum/core/types" + "github.com/ethereum/go-ethereum/params" + "github.com/google/uuid" + "github.com/holiman/uint256" + "github.com/jackc/pgx/v4" +) + +// DebugTransaction re-executes a tx to generate its trace +func (s *State) DebugTransaction(ctx context.Context, transactionHash common.Hash, traceConfig TraceConfig, dbTx pgx.Tx) (*runtime.ExecutionResult, error) { + var err error + + // gets the transaction + tx, err := s.GetTransactionByHash(ctx, transactionHash, dbTx) + if err != nil { + return nil, err + } + + // gets the tx receipt + receipt, err := s.GetTransactionReceipt(ctx, transactionHash, dbTx) + if err != nil { + return nil, err + } + + // gets the l2 block including the transaction + block, err := s.GetL2BlockByNumber(ctx, receipt.BlockNumber.Uint64(), dbTx) + if err != nil { + return nil, err + } + + // get the previous L2 Block + previousBlockNumber := uint64(0) + if receipt.BlockNumber.Uint64() > 0 { + previousBlockNumber = receipt.BlockNumber.Uint64() - 1 + } + previousBlock, err := s.GetL2BlockByNumber(ctx, previousBlockNumber, dbTx) + if err != nil { + return nil, err + } + + // gets batch that including the l2 block + batch, err := s.GetBatchByL2BlockNumber(ctx, block.NumberU64(), dbTx) + if err != nil { + return nil, err + } + + forkId := s.GetForkIDByBatchNumber(batch.BatchNumber) + + // gets batch that including the previous l2 block + previousBatch, err := s.GetBatchByL2BlockNumber(ctx, previousBlock.NumberU64(), dbTx) + if err != nil { + return nil, err + } + + // generate batch l2 data for the transaction + batchL2Data, err := EncodeTransactions([]types.Transaction{*tx}, []uint8{MaxEffectivePercentage}, forkId) + if err != nil { + return nil, err + } + + traceConfigRequest := &executor.TraceConfig{ + TxHashToGenerateFullTrace: transactionHash.Bytes(), + // set the defaults to the maximum information we can have. + // this is needed to process custom tracers later + DisableStorage: cFalse, + DisableStack: cFalse, + EnableMemory: cTrue, + EnableReturnData: cTrue, + } + + // if the default tracer is used, then we review the information + // we want to have in the trace related to the parameters we received. + if traceConfig.IsDefaultTracer() { + if traceConfig.DisableStorage { + traceConfigRequest.DisableStorage = cTrue + } + if traceConfig.DisableStack { + traceConfigRequest.DisableStack = cTrue + } + if !traceConfig.EnableMemory { + traceConfigRequest.EnableMemory = cFalse + } + if !traceConfig.EnableReturnData { + traceConfigRequest.EnableReturnData = cFalse + } + } + + // prepare process batch request + oldStateRoot := previousBlock.Root() + processBatchRequest := &executor.ProcessBatchRequest{ + OldBatchNum: batch.BatchNumber - 1, + OldStateRoot: oldStateRoot.Bytes(), + OldAccInputHash: previousBatch.AccInputHash.Bytes(), + + BatchL2Data: batchL2Data, + GlobalExitRoot: batch.GlobalExitRoot.Bytes(), + EthTimestamp: uint64(batch.Timestamp.Unix()), + Coinbase: batch.Coinbase.String(), + UpdateMerkleTree: cFalse, + ChainId: s.cfg.ChainID, + ForkId: forkId, + TraceConfig: traceConfigRequest, + ContextId: uuid.NewString(), + } + + // Send Batch to the Executor + startTime := time.Now() + processBatchResponse, err := s.executorClient.ProcessBatch(ctx, processBatchRequest) + endTime := time.Now() + if err != nil { + return nil, err + } else if processBatchResponse.Error != executor.ExecutorError_EXECUTOR_ERROR_NO_ERROR { + err = executor.ExecutorErr(processBatchResponse.Error) + s.eventLog.LogExecutorError(ctx, processBatchResponse.Error, processBatchRequest) + return nil, err + } + + // Transactions are decoded only for logging purposes + // as they are not longer needed in the convertToProcessBatchResponse function + txs, _, _, err := DecodeTxs(batchL2Data, forkId) + if err != nil && !errors.Is(err, ErrInvalidData) { + return nil, err + } + + for _, tx := range txs { + log.Debugf(tx.Hash().String()) + } + + convertedResponse, err := s.convertToProcessBatchResponse(processBatchResponse) + if err != nil { + return nil, err + } + + // Sanity check + response := convertedResponse.Responses[0] + log.Debugf(response.TxHash.String()) + if response.TxHash != transactionHash { + return nil, fmt.Errorf("tx hash not found in executor response") + } + + // const path = "/Users/thiago/github.com/0xPolygonHermez/zkevm-node/dist/%v.json" + // filePath := fmt.Sprintf(path, "EXECUTOR_processBatchResponse") + // c, _ := json.MarshalIndent(processBatchResponse, "", " ") + // os.WriteFile(filePath, c, 0644) + + // filePath = fmt.Sprintf(path, "NODE_execution_trace") + // c, _ = json.MarshalIndent(response.ExecutionTrace, "", " ") + // os.WriteFile(filePath, c, 0644) + + // filePath = fmt.Sprintf(path, "NODE_call_trace") + // c, _ = json.MarshalIndent(response.CallTrace, "", " ") + // os.WriteFile(filePath, c, 0644) + + result := &runtime.ExecutionResult{ + CreateAddress: response.CreateAddress, + GasLeft: response.GasLeft, + GasUsed: response.GasUsed, + ReturnValue: response.ReturnValue, + StateRoot: response.StateRoot.Bytes(), + FullTrace: response.FullTrace, + Err: response.RomError, + } + + senderAddress, err := GetSender(*tx) + if err != nil { + return nil, err + } + + context := instrumentation.Context{ + From: senderAddress.String(), + Input: tx.Data(), + Gas: tx.Gas(), + Value: tx.Value(), + Output: result.ReturnValue, + GasPrice: tx.GasPrice().String(), + OldStateRoot: oldStateRoot, + Time: uint64(endTime.Sub(startTime)), + GasUsed: result.GasUsed, + } + + // Fill trace context + if tx.To() == nil { + context.Type = "CREATE" + context.To = result.CreateAddress.Hex() + } else { + context.Type = "CALL" + context.To = tx.To().Hex() + } + + result.FullTrace.Context = context + + gasPrice, ok := new(big.Int).SetString(context.GasPrice, encoding.Base10) + if !ok { + log.Errorf("debug transaction: failed to parse gasPrice") + return nil, fmt.Errorf("failed to parse gasPrice") + } + + // select and prepare tracer + var tracer tracers.Tracer + tracerContext := &tracers.Context{ + BlockHash: receipt.BlockHash, + BlockNumber: receipt.BlockNumber, + TxIndex: int(receipt.TransactionIndex), + TxHash: transactionHash, + } + + if traceConfig.IsDefaultTracer() { + structLoggerCfg := structlogger.Config{ + EnableMemory: traceConfig.EnableMemory, + DisableStack: traceConfig.DisableStack, + DisableStorage: traceConfig.DisableStorage, + EnableReturnData: traceConfig.EnableReturnData, + } + tracer := structlogger.NewStructLogger(structLoggerCfg) + traceResult, err := tracer.ParseTrace(result, *receipt) + if err != nil { + return nil, err + } + result.TraceResult = traceResult + return result, nil + } else if traceConfig.Is4ByteTracer() { + tracer, err = native.NewFourByteTracer(tracerContext, traceConfig.TracerConfig) + if err != nil { + log.Errorf("debug transaction: failed to create 4byteTracer, err: %v", err) + return nil, fmt.Errorf("failed to create 4byteTracer, err: %v", err) + } + } else if traceConfig.IsCallTracer() { + tracer, err = native.NewCallTracer(tracerContext, traceConfig.TracerConfig) + if err != nil { + log.Errorf("debug transaction: failed to create callTracer, err: %v", err) + return nil, fmt.Errorf("failed to create callTracer, err: %v", err) + } + } else if traceConfig.IsNoopTracer() { + tracer, err = native.NewNoopTracer(tracerContext, traceConfig.TracerConfig) + if err != nil { + log.Errorf("debug transaction: failed to create noopTracer, err: %v", err) + return nil, fmt.Errorf("failed to create noopTracer, err: %v", err) + } + } else if traceConfig.IsPrestateTracer() { + tracer, err = native.NewPrestateTracer(tracerContext, traceConfig.TracerConfig) + if err != nil { + log.Errorf("debug transaction: failed to create prestateTracer, err: %v", err) + return nil, fmt.Errorf("failed to create prestateTracer, err: %v", err) + } + } else if traceConfig.IsJSCustomTracer() { + tracer, err = js.NewJsTracer(*traceConfig.Tracer, tracerContext, traceConfig.TracerConfig) + if err != nil { + log.Errorf("debug transaction: failed to create jsTracer, err: %v", err) + return nil, fmt.Errorf("failed to create jsTracer, err: %v", err) + } + } else { + return nil, fmt.Errorf("invalid tracer: %v, err: %v", traceConfig.Tracer, err) + } + + fakeDB := &FakeDB{State: s, stateRoot: batch.StateRoot.Bytes()} + evm := fakevm.NewFakeEVM(fakevm.BlockContext{BlockNumber: big.NewInt(1)}, fakevm.TxContext{GasPrice: gasPrice}, fakeDB, params.TestChainConfig, fakevm.Config{Debug: true, Tracer: tracer}) + + traceResult, err := s.buildTrace(evm, result, tracer) + if err != nil { + log.Errorf("debug transaction: failed parse the trace using the tracer: %v", err) + return nil, fmt.Errorf("failed parse the trace using the tracer: %v", err) + } + + result.TraceResult = traceResult + + return result, nil +} + +// ParseTheTraceUsingTheTracer parses the given trace with the given tracer. +func (s *State) buildTrace(evm *fakevm.FakeEVM, result *runtime.ExecutionResult, tracer tracers.Tracer) (json.RawMessage, error) { + trace := result.FullTrace + tracer.CaptureTxStart(trace.Context.Gas) + contextGas := trace.Context.Gas - trace.Context.GasUsed + if len(trace.Steps) > 0 { + contextGas = trace.Steps[0].Gas + } + tracer.CaptureStart(evm, common.HexToAddress(trace.Context.From), common.HexToAddress(trace.Context.To), trace.Context.Type == "CREATE", trace.Context.Input, contextGas, trace.Context.Value) + evm.StateDB.SetStateRoot(trace.Context.OldStateRoot.Bytes()) + + var previousStep instrumentation.Step + reverted := false + internalTxSteps := NewStack[instrumentation.InternalTxContext]() + memory := fakevm.NewMemory() + + for i, step := range trace.Steps { + if step.OpCode == "SSTORE" { + time.Sleep(time.Millisecond) + } + + if step.OpCode == "SLOAD" { + time.Sleep(time.Millisecond) + } + + if step.OpCode == "RETURN" { + time.Sleep(time.Millisecond) + } + + // set Stack + stack := fakevm.NewStack() + for _, stackItem := range step.Stack { + value, _ := uint256.FromBig(stackItem) + stack.Push(value) + } + + // set Memory + memory.Resize(uint64(step.MemorySize)) + if len(step.Memory) > 0 { + memory.Set(uint64(step.MemoryOffset), uint64(len(step.Memory)), step.Memory) + } + + // Populate the step memory for future steps + step.Memory = memory.Data() + + // set Contract + contract := fakevm.NewContract( + fakevm.NewAccount(step.Contract.Caller), + fakevm.NewAccount(step.Contract.Address), + step.Contract.Value, step.Gas) + aux := step.Contract.Address + contract.CodeAddr = &aux + + // set Scope + scope := &fakevm.ScopeContext{ + Contract: contract, + Memory: memory, + Stack: stack, + } + + // if the revert happens on an internal tx, we exit + if previousStep.OpCode == "REVERT" && previousStep.Depth > 1 { + gasUsed, err := s.getGasUsed(internalTxSteps, previousStep, step) + if err != nil { + return nil, err + } + tracer.CaptureExit(step.ReturnData, gasUsed, fakevm.ErrExecutionReverted) + } + + // if the revert happens on top level, we break + if step.OpCode == "REVERT" && step.Depth == 1 { + reverted = true + break + } + + hasNextStep := i < len(trace.Steps)-1 + if step.OpCode != "CALL" || (hasNextStep && trace.Steps[i+1].Pc == 0) { + if step.Error != nil { + tracer.CaptureFault(step.Pc, fakevm.OpCode(step.Op), step.Gas, step.GasCost, scope, step.Depth, step.Error) + } else { + tracer.CaptureState(step.Pc, fakevm.OpCode(step.Op), step.Gas, step.GasCost, scope, nil, step.Depth, nil) + } + } + + previousStepStartedInternalTransaction := previousStep.OpCode == "CREATE" || + previousStep.OpCode == "CREATE2" || + previousStep.OpCode == "DELEGATECALL" || + previousStep.OpCode == "CALL" || + previousStep.OpCode == "STATICCALL" || + // deprecated ones + previousStep.OpCode == "CALLCODE" + + // when an internal transaction is detected, the next step contains the context values + if previousStepStartedInternalTransaction && previousStep.Error == nil { + // if the previous depth is the same as the current one, this means + // the internal transaction did not executed any other step and the + // context is back to the same level. This can happen with pre compiled executions. + if previousStep.Depth == step.Depth { + addr, value, input, gas, gasUsed, err := s.getValuesFromInternalTxMemory(previousStep, step) + if err != nil { + return nil, err + } + from := previousStep.Contract.Address + if previousStep.OpCode == "CALL" || previousStep.OpCode == "CALLCODE" { + from = previousStep.Contract.Caller + } + tracer.CaptureEnter(fakevm.OpCode(previousStep.Op), from, addr, input, gas, value) + tracer.CaptureExit(step.ReturnData, gasUsed, previousStep.Error) + } else { + value := step.Contract.Value + if previousStep.OpCode == "STATICCALL" { + value = nil + } + internalTxSteps.Push(instrumentation.InternalTxContext{ + OpCode: previousStep.OpCode, + RemainingGas: step.Gas, + }) + tracer.CaptureEnter(fakevm.OpCode(previousStep.Op), step.Contract.Caller, step.Contract.Address, step.Contract.Input, step.Gas, value) + } + } + + // returning from internal transaction + if previousStep.Depth > step.Depth && previousStep.OpCode != "REVERT" { + var gasUsed uint64 + var err error + if errors.Is(previousStep.Error, runtime.ErrOutOfGas) { + itCtx, err := internalTxSteps.Pop() + if err != nil { + return nil, err + } + gasUsed = itCtx.RemainingGas + } else { + gasUsed, err = s.getGasUsed(internalTxSteps, previousStep, step) + if err != nil { + return nil, err + } + } + tracer.CaptureExit(step.ReturnData, gasUsed, previousStep.Error) + } + + // set StateRoot + evm.StateDB.SetStateRoot(step.StateRoot.Bytes()) + + // set previous step + previousStep = step + } + + var err error + if reverted { + err = fakevm.ErrExecutionReverted + } else if result.Err != nil { + err = result.Err + } + tracer.CaptureEnd(trace.Context.Output, trace.Context.GasUsed, err) + restGas := trace.Context.Gas - trace.Context.GasUsed + tracer.CaptureTxEnd(restGas) + + return tracer.GetResult() +} + +func (s *State) getGasUsed(internalTxContextStack *Stack[instrumentation.InternalTxContext], previousStep, step instrumentation.Step) (uint64, error) { + itCtx, err := internalTxContextStack.Pop() + if err != nil { + return 0, err + } + var gasUsed uint64 + if itCtx.OpCode == "CREATE" || itCtx.OpCode == "CREATE2" { + // if the context was initialized by a CREATE, we should use the contract gas + gasUsed = previousStep.Contract.Gas - step.Gas + } else { + // otherwise we use the step gas + gasUsed = itCtx.RemainingGas - previousStep.Gas + previousStep.GasCost + } + return gasUsed, nil +} + +func (s *State) getValuesFromInternalTxMemory(previousStep, step instrumentation.Step) (common.Address, *big.Int, []byte, uint64, uint64, error) { + if previousStep.OpCode == "DELEGATECALL" || previousStep.OpCode == "CALL" || previousStep.OpCode == "STATICCALL" || previousStep.OpCode == "CALLCODE" { + gasPos := len(previousStep.Stack) - 1 + addrPos := gasPos - 1 + + argsOffsetPos := addrPos - 1 + argsSizePos := argsOffsetPos - 1 + + // read tx value if it exists + var value *big.Int + stackHasValue := previousStep.OpCode == "CALL" || previousStep.OpCode == "CALLCODE" + if stackHasValue { + valuePos := addrPos - 1 + // valueEncoded := step.Stack[valuePos] + // value = hex.DecodeBig(valueEncoded) + value = previousStep.Contract.Value + + argsOffsetPos = valuePos - 1 + argsSizePos = argsOffsetPos - 1 + } + + retOffsetPos := argsSizePos - 1 + retSizePos := retOffsetPos - 1 + + addr := common.BytesToAddress(previousStep.Stack[addrPos].Bytes()) + argsOffset := previousStep.Stack[argsOffsetPos].Uint64() + argsSize := previousStep.Stack[argsSizePos].Uint64() + retOffset := previousStep.Stack[retOffsetPos].Uint64() + retSize := previousStep.Stack[retSizePos].Uint64() + + input := make([]byte, argsSize) + + if argsOffset > uint64(previousStep.MemorySize) { + // when none of the bytes can be found in the memory + // do nothing to keep input as zeroes + } else if argsOffset+argsSize > uint64(previousStep.MemorySize) { + // when partial bytes are found in the memory + // copy just the bytes we have in memory and complement the rest with zeroes + copy(input[0:argsSize], previousStep.Memory[argsOffset:uint64(previousStep.MemorySize)]) + } else { + // when all the bytes are found in the memory + // read the bytes from memory + copy(input[0:argsSize], previousStep.Memory[argsOffset:argsOffset+argsSize]) + } + + // Compute call memory expansion cost + memSize := previousStep.MemorySize + lastMemSizeWord := math.Ceil((float64(memSize) + 31) / 32) //nolint:gomnd + lastMemCost := math.Floor(math.Pow(lastMemSizeWord, 2)/512) + (3 * lastMemSizeWord) //nolint:gomnd + + memSizeWord := math.Ceil((float64(argsOffset+argsSize+31) / 32)) //nolint:gomnd + newMemCost := math.Floor(math.Pow(memSizeWord, float64(2))/512) + (3 * memSizeWord) //nolint:gomnd + callMemCost := newMemCost - lastMemCost + + // Compute return memory expansion cost + retMemSizeWord := math.Ceil((float64(retOffset) + float64(retSize) + 31) / 32) //nolint:gomnd + retNewMemCost := math.Floor(math.Pow(retMemSizeWord, 2)/512) + (3 * retMemSizeWord) //nolint:gomnd + retMemCost := retNewMemCost - newMemCost + if retMemCost < 0 { + retMemCost = 0 + } + + callGasCost := retMemCost + callMemCost + 100 //nolint:gomnd + gasUsed := float64(previousStep.GasCost) - callGasCost + + // Compute gas sent to call + gas := float64(previousStep.Gas) - callGasCost + gas -= math.Floor(gas / 64) //nolint:gomnd + + return addr, value, input, uint64(gas), uint64(gasUsed), nil + } else { + createdAddressPos := len(step.Stack) - 1 + addr := common.BytesToAddress(step.Stack[createdAddressPos].Bytes()) + + valuePos := len(previousStep.Stack) - 1 + value := previousStep.Stack[valuePos] + + offsetPos := valuePos - 1 + offset := previousStep.Stack[offsetPos].Uint64() + + sizePos := offsetPos - 1 + size := previousStep.Stack[sizePos].Uint64() + + input := make([]byte, size) + + if offset > uint64(previousStep.MemorySize) { + // when none of the bytes can be found in the memory + // do nothing to keep input as zeroes + } else if offset+size > uint64(previousStep.MemorySize) { + // when partial bytes are found in the memory + // copy just the bytes we have in memory and complement the rest with zeroes + copy(input[0:size], previousStep.Memory[offset:uint64(previousStep.MemorySize)]) + } else { + // when all the bytes are found in the memory + // read the bytes from memory + copy(input[0:size], previousStep.Memory[offset:offset+size]) + } + + // Compute gas sent to call + gas := float64(previousStep.Gas - previousStep.GasCost) //nolint:gomnd + gas -= math.Floor(gas / 64) //nolint:gomnd + + return addr, value, input, uint64(gas), 0, nil + } +} diff --git a/state/transaction.go b/state/transaction.go index 41327b8559..9f7b3acd82 100644 --- a/state/transaction.go +++ b/state/transaction.go @@ -2,31 +2,21 @@ package state import ( "context" - "encoding/json" "errors" "fmt" - "math" "math/big" "time" - "github.com/0xPolygonHermez/zkevm-node/encoding" "github.com/0xPolygonHermez/zkevm-node/event" "github.com/0xPolygonHermez/zkevm-node/hex" "github.com/0xPolygonHermez/zkevm-node/log" "github.com/0xPolygonHermez/zkevm-node/state/runtime" "github.com/0xPolygonHermez/zkevm-node/state/runtime/executor" - "github.com/0xPolygonHermez/zkevm-node/state/runtime/fakevm" - "github.com/0xPolygonHermez/zkevm-node/state/runtime/instrumentation" - "github.com/0xPolygonHermez/zkevm-node/state/runtime/instrumentation/js" - "github.com/0xPolygonHermez/zkevm-node/state/runtime/instrumentation/tracers" - "github.com/0xPolygonHermez/zkevm-node/state/runtime/instrumentation/tracers/native" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core" "github.com/ethereum/go-ethereum/core/types" - "github.com/ethereum/go-ethereum/params" "github.com/ethereum/go-ethereum/trie" "github.com/google/uuid" - "github.com/holiman/uint256" "github.com/jackc/pgx/v4" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" @@ -199,535 +189,6 @@ func (s *State) StoreTransactions(ctx context.Context, batchNumber uint64, proce return nil } -// DebugTransaction re-executes a tx to generate its trace -func (s *State) DebugTransaction(ctx context.Context, transactionHash common.Hash, traceConfig TraceConfig, dbTx pgx.Tx) (*runtime.ExecutionResult, error) { - // gets the transaction - tx, err := s.GetTransactionByHash(ctx, transactionHash, dbTx) - if err != nil { - return nil, err - } - - // gets the tx receipt - receipt, err := s.GetTransactionReceipt(ctx, transactionHash, dbTx) - if err != nil { - return nil, err - } - - // gets the l2 block including the transaction - block, err := s.GetL2BlockByNumber(ctx, receipt.BlockNumber.Uint64(), dbTx) - if err != nil { - return nil, err - } - - // get the previous L2 Block - previousBlockNumber := uint64(0) - if receipt.BlockNumber.Uint64() > 0 { - previousBlockNumber = receipt.BlockNumber.Uint64() - 1 - } - previousBlock, err := s.GetL2BlockByNumber(ctx, previousBlockNumber, dbTx) - if err != nil { - return nil, err - } - - // gets batch that including the l2 block - batch, err := s.GetBatchByL2BlockNumber(ctx, block.NumberU64(), dbTx) - if err != nil { - return nil, err - } - - forkId := s.GetForkIDByBatchNumber(batch.BatchNumber) - - // gets batch that including the previous l2 block - previousBatch, err := s.GetBatchByL2BlockNumber(ctx, previousBlock.NumberU64(), dbTx) - if err != nil { - return nil, err - } - - // generate batch l2 data for the transaction - batchL2Data, err := EncodeTransactions([]types.Transaction{*tx}, []uint8{MaxEffectivePercentage}, forkId) - if err != nil { - return nil, err - } - - var txHashToGenerateCallTrace []byte - var txHashToGenerateExecuteTrace []byte - - if traceConfig.IsDefaultTracer() { - txHashToGenerateExecuteTrace = transactionHash.Bytes() - } else { - txHashToGenerateCallTrace = transactionHash.Bytes() - } - - // Create Batch - traceConfigRequest := &executor.TraceConfig{ - TxHashToGenerateCallTrace: txHashToGenerateCallTrace, - TxHashToGenerateExecuteTrace: txHashToGenerateExecuteTrace, - // set the defaults to the maximum information we can have. - // this is needed to process custom tracers later - DisableStorage: cFalse, - DisableStack: cFalse, - EnableMemory: cTrue, - EnableReturnData: cTrue, - } - - // if the default tracer is used, then we review the information - // we want to have in the trace related to the parameters we received. - if traceConfig.IsDefaultTracer() { - if traceConfig.DisableStorage { - traceConfigRequest.DisableStorage = cTrue - } - if traceConfig.DisableStack { - traceConfigRequest.DisableStack = cTrue - } - if !traceConfig.EnableMemory { - traceConfigRequest.EnableMemory = cFalse - } - if !traceConfig.EnableReturnData { - traceConfigRequest.EnableReturnData = cFalse - } - } - - oldStateRoot := previousBlock.Root() - processBatchRequest := &executor.ProcessBatchRequest{ - OldBatchNum: batch.BatchNumber - 1, - OldStateRoot: oldStateRoot.Bytes(), - OldAccInputHash: previousBatch.AccInputHash.Bytes(), - - BatchL2Data: batchL2Data, - GlobalExitRoot: batch.GlobalExitRoot.Bytes(), - EthTimestamp: uint64(batch.Timestamp.Unix()), - Coinbase: batch.Coinbase.String(), - UpdateMerkleTree: cFalse, - ChainId: s.cfg.ChainID, - ForkId: forkId, - TraceConfig: traceConfigRequest, - ContextId: uuid.NewString(), - } - - // Send Batch to the Executor - startTime := time.Now() - processBatchResponse, err := s.executorClient.ProcessBatch(ctx, processBatchRequest) - endTime := time.Now() - if err != nil { - return nil, err - } else if processBatchResponse.Error != executor.ExecutorError_EXECUTOR_ERROR_NO_ERROR { - err = executor.ExecutorErr(processBatchResponse.Error) - s.eventLog.LogExecutorError(ctx, processBatchResponse.Error, processBatchRequest) - return nil, err - } - - // Transactions are decoded only for logging purposes - // as they are not longer needed in the convertToProcessBatchResponse function - txs, _, _, err := DecodeTxs(batchL2Data, forkId) - if err != nil && !errors.Is(err, ErrInvalidData) { - return nil, err - } - - for _, tx := range txs { - log.Debugf(tx.Hash().String()) - } - - convertedResponse, err := s.convertToProcessBatchResponse(processBatchResponse) - if err != nil { - return nil, err - } - - // Sanity check - response := convertedResponse.Responses[0] - log.Debugf(response.TxHash.String()) - if response.TxHash != transactionHash { - return nil, fmt.Errorf("tx hash not found in executor response") - } - - // const path = "/Users/thiago/github.com/0xPolygonHermez/zkevm-node/dist/%v.json" - // filePath := fmt.Sprintf(path, "EXECUTOR_processBatchResponse") - // c, _ := json.MarshalIndent(processBatchResponse, "", " ") - // os.WriteFile(filePath, c, 0644) - - // filePath = fmt.Sprintf(path, "NODE_execution_trace") - // c, _ = json.MarshalIndent(response.ExecutionTrace, "", " ") - // os.WriteFile(filePath, c, 0644) - - // filePath = fmt.Sprintf(path, "NODE_call_trace") - // c, _ = json.MarshalIndent(response.CallTrace, "", " ") - // os.WriteFile(filePath, c, 0644) - - result := &runtime.ExecutionResult{ - CreateAddress: response.CreateAddress, - GasLeft: response.GasLeft, - GasUsed: response.GasUsed, - ReturnValue: response.ReturnValue, - StateRoot: response.StateRoot.Bytes(), - StructLogs: response.ExecutionTrace, - ExecutorTrace: response.CallTrace, - Err: response.RomError, - } - - // if is the default trace, return the result - if traceConfig.IsDefaultTracer() { - return result, nil - } - - senderAddress, err := GetSender(*tx) - if err != nil { - return nil, err - } - - context := instrumentation.Context{ - From: senderAddress.String(), - Input: tx.Data(), - Gas: tx.Gas(), - Value: tx.Value(), - Output: result.ReturnValue, - GasPrice: tx.GasPrice().String(), - OldStateRoot: oldStateRoot, - Time: uint64(endTime.Sub(startTime)), - GasUsed: result.GasUsed, - } - - // Fill trace context - if tx.To() == nil { - context.Type = "CREATE" - context.To = result.CreateAddress.Hex() - } else { - context.Type = "CALL" - context.To = tx.To().Hex() - } - - result.ExecutorTrace.Context = context - - gasPrice, ok := new(big.Int).SetString(context.GasPrice, encoding.Base10) - if !ok { - log.Errorf("debug transaction: failed to parse gasPrice") - return nil, fmt.Errorf("failed to parse gasPrice") - } - - tracerContext := &tracers.Context{ - BlockHash: receipt.BlockHash, - BlockNumber: receipt.BlockNumber, - TxIndex: int(receipt.TransactionIndex), - TxHash: transactionHash, - } - - var customTracer tracers.Tracer - if traceConfig.Is4ByteTracer() { - customTracer, err = native.NewFourByteTracer(tracerContext, traceConfig.TracerConfig) - if err != nil { - log.Errorf("debug transaction: failed to create 4byteTracer, err: %v", err) - return nil, fmt.Errorf("failed to create 4byteTracer, err: %v", err) - } - } else if traceConfig.IsCallTracer() { - customTracer, err = native.NewCallTracer(tracerContext, traceConfig.TracerConfig) - if err != nil { - log.Errorf("debug transaction: failed to create callTracer, err: %v", err) - return nil, fmt.Errorf("failed to create callTracer, err: %v", err) - } - } else if traceConfig.IsNoopTracer() { - customTracer, err = native.NewNoopTracer(tracerContext, traceConfig.TracerConfig) - if err != nil { - log.Errorf("debug transaction: failed to create noopTracer, err: %v", err) - return nil, fmt.Errorf("failed to create noopTracer, err: %v", err) - } - } else if traceConfig.IsPrestateTracer() { - customTracer, err = native.NewPrestateTracer(tracerContext, traceConfig.TracerConfig) - if err != nil { - log.Errorf("debug transaction: failed to create prestateTracer, err: %v", err) - return nil, fmt.Errorf("failed to create prestateTracer, err: %v", err) - } - } else if traceConfig.IsJSCustomTracer() { - customTracer, err = js.NewJsTracer(*traceConfig.Tracer, tracerContext, traceConfig.TracerConfig) - if err != nil { - log.Errorf("debug transaction: failed to create jsTracer, err: %v", err) - return nil, fmt.Errorf("failed to create jsTracer, err: %v", err) - } - } else { - return nil, fmt.Errorf("invalid tracer: %v, err: %v", traceConfig.Tracer, err) - } - - fakeDB := &FakeDB{State: s, stateRoot: batch.StateRoot.Bytes()} - evm := fakevm.NewFakeEVM(fakevm.BlockContext{BlockNumber: big.NewInt(1)}, fakevm.TxContext{GasPrice: gasPrice}, fakeDB, params.TestChainConfig, fakevm.Config{Debug: true, Tracer: customTracer}) - - traceResult, err := s.buildTrace(evm, result, customTracer) - if err != nil { - log.Errorf("debug transaction: failed parse the trace using the tracer: %v", err) - return nil, fmt.Errorf("failed parse the trace using the tracer: %v", err) - } - - result.ExecutorTraceResult = traceResult - - return result, nil -} - -// ParseTheTraceUsingTheTracer parses the given trace with the given tracer. -func (s *State) buildTrace(evm *fakevm.FakeEVM, result *runtime.ExecutionResult, tracer tracers.Tracer) (json.RawMessage, error) { - trace := result.ExecutorTrace - tracer.CaptureTxStart(trace.Context.Gas) - contextGas := trace.Context.Gas - trace.Context.GasUsed - if len(trace.Steps) > 0 { - contextGas = trace.Steps[0].Gas - } - tracer.CaptureStart(evm, common.HexToAddress(trace.Context.From), common.HexToAddress(trace.Context.To), trace.Context.Type == "CREATE", trace.Context.Input, contextGas, trace.Context.Value) - evm.StateDB.SetStateRoot(trace.Context.OldStateRoot.Bytes()) - - var previousStep instrumentation.Step - reverted := false - internalTxSteps := NewStack[instrumentation.InternalTxContext]() - memory := fakevm.NewMemory() - - for i, step := range trace.Steps { - // set Stack - stack := fakevm.NewStack() - for _, stackItem := range step.Stack { - value, _ := uint256.FromBig(stackItem) - stack.Push(value) - } - - // set Memory - memory.Resize(uint64(step.MemorySize)) - if len(step.Memory) > 0 { - memory.Set(uint64(step.MemoryOffset), uint64(len(step.Memory)), step.Memory) - } - - // Populate the step memory for future steps - step.Memory = memory.Data() - - // set Contract - contract := fakevm.NewContract( - fakevm.NewAccount(step.Contract.Caller), - fakevm.NewAccount(step.Contract.Address), - step.Contract.Value, step.Gas) - aux := step.Contract.Address - contract.CodeAddr = &aux - - // set Scope - scope := &fakevm.ScopeContext{ - Contract: contract, - Memory: memory, - Stack: stack, - } - - // if the revert happens on an internal tx, we exit - if previousStep.OpCode == "REVERT" && previousStep.Depth > 1 { - gasUsed, err := s.getGasUsed(internalTxSteps, previousStep, step) - if err != nil { - return nil, err - } - tracer.CaptureExit(step.ReturnData, gasUsed, fakevm.ErrExecutionReverted) - } - - // if the revert happens on top level, we break - if step.OpCode == "REVERT" && step.Depth == 1 { - reverted = true - break - } - - hasNextStep := i < len(trace.Steps)-1 - if step.OpCode != "CALL" || (hasNextStep && trace.Steps[i+1].Pc == 0) { - if step.Error != nil { - tracer.CaptureFault(step.Pc, fakevm.OpCode(step.Op), step.Gas, step.GasCost, scope, step.Depth, step.Error) - } else { - tracer.CaptureState(step.Pc, fakevm.OpCode(step.Op), step.Gas, step.GasCost, scope, step.ReturnData, step.Depth, nil) - } - } - - previousStepStartedInternalTransaction := previousStep.OpCode == "CREATE" || - previousStep.OpCode == "CREATE2" || - previousStep.OpCode == "DELEGATECALL" || - previousStep.OpCode == "CALL" || - previousStep.OpCode == "STATICCALL" || - // deprecated ones - previousStep.OpCode == "CALLCODE" - - // when an internal transaction is detected, the next step contains the context values - if previousStepStartedInternalTransaction && previousStep.Error == nil { - // if the previous depth is the same as the current one, this means - // the internal transaction did not executed any other step and the - // context is back to the same level. This can happen with pre compiled executions. - if previousStep.Depth == step.Depth { - addr, value, input, gas, gasUsed, err := s.getValuesFromInternalTxMemory(previousStep, step) - if err != nil { - return nil, err - } - from := previousStep.Contract.Address - if previousStep.OpCode == "CALL" || previousStep.OpCode == "CALLCODE" { - from = previousStep.Contract.Caller - } - tracer.CaptureEnter(fakevm.OpCode(previousStep.Op), from, addr, input, gas, value) - tracer.CaptureExit(step.ReturnData, gasUsed, previousStep.Error) - } else { - value := step.Contract.Value - if previousStep.OpCode == "STATICCALL" { - value = nil - } - internalTxSteps.Push(instrumentation.InternalTxContext{ - OpCode: previousStep.OpCode, - RemainingGas: step.Gas, - }) - tracer.CaptureEnter(fakevm.OpCode(previousStep.Op), step.Contract.Caller, step.Contract.Address, step.Contract.Input, step.Gas, value) - } - } - - // returning from internal transaction - if previousStep.Depth > step.Depth && previousStep.OpCode != "REVERT" { - var gasUsed uint64 - var err error - if errors.Is(previousStep.Error, runtime.ErrOutOfGas) { - itCtx, err := internalTxSteps.Pop() - if err != nil { - return nil, err - } - gasUsed = itCtx.RemainingGas - } else { - gasUsed, err = s.getGasUsed(internalTxSteps, previousStep, step) - if err != nil { - return nil, err - } - } - tracer.CaptureExit(step.ReturnData, gasUsed, previousStep.Error) - } - - // set StateRoot - evm.StateDB.SetStateRoot(step.StateRoot.Bytes()) - - // set previous step - previousStep = step - } - - var err error - if reverted { - err = fakevm.ErrExecutionReverted - } else if result.Err != nil { - err = result.Err - } - tracer.CaptureEnd(trace.Context.Output, trace.Context.GasUsed, err) - restGas := trace.Context.Gas - trace.Context.GasUsed - tracer.CaptureTxEnd(restGas) - - return tracer.GetResult() -} - -func (s *State) getGasUsed(internalTxContextStack *Stack[instrumentation.InternalTxContext], previousStep, step instrumentation.Step) (uint64, error) { - itCtx, err := internalTxContextStack.Pop() - if err != nil { - return 0, err - } - var gasUsed uint64 - if itCtx.OpCode == "CREATE" || itCtx.OpCode == "CREATE2" { - // if the context was initialized by a CREATE, we should use the contract gas - gasUsed = previousStep.Contract.Gas - step.Gas - } else { - // otherwise we use the step gas - gasUsed = itCtx.RemainingGas - previousStep.Gas - previousStep.GasCost - } - return gasUsed, nil -} - -func (s *State) getValuesFromInternalTxMemory(previousStep, step instrumentation.Step) (common.Address, *big.Int, []byte, uint64, uint64, error) { - if previousStep.OpCode == "DELEGATECALL" || previousStep.OpCode == "CALL" || previousStep.OpCode == "STATICCALL" || previousStep.OpCode == "CALLCODE" { - gasPos := len(previousStep.Stack) - 1 - addrPos := gasPos - 1 - - argsOffsetPos := addrPos - 1 - argsSizePos := argsOffsetPos - 1 - - // read tx value if it exists - var value *big.Int - stackHasValue := previousStep.OpCode == "CALL" || previousStep.OpCode == "CALLCODE" - if stackHasValue { - valuePos := addrPos - 1 - // valueEncoded := step.Stack[valuePos] - // value = hex.DecodeBig(valueEncoded) - value = previousStep.Contract.Value - - argsOffsetPos = valuePos - 1 - argsSizePos = argsOffsetPos - 1 - } - - retOffsetPos := argsSizePos - 1 - retSizePos := retOffsetPos - 1 - - addr := common.BytesToAddress(previousStep.Stack[addrPos].Bytes()) - argsOffset := previousStep.Stack[argsOffsetPos].Uint64() - argsSize := previousStep.Stack[argsSizePos].Uint64() - retOffset := previousStep.Stack[retOffsetPos].Uint64() - retSize := previousStep.Stack[retSizePos].Uint64() - - input := make([]byte, argsSize) - - if argsOffset > uint64(previousStep.MemorySize) { - // when none of the bytes can be found in the memory - // do nothing to keep input as zeroes - } else if argsOffset+argsSize > uint64(previousStep.MemorySize) { - // when partial bytes are found in the memory - // copy just the bytes we have in memory and complement the rest with zeroes - copy(input[0:argsSize], previousStep.Memory[argsOffset:uint64(previousStep.MemorySize)]) - } else { - // when all the bytes are found in the memory - // read the bytes from memory - copy(input[0:argsSize], previousStep.Memory[argsOffset:argsOffset+argsSize]) - } - - // Compute call memory expansion cost - memSize := previousStep.MemorySize - lastMemSizeWord := math.Ceil((float64(memSize) + 31) / 32) //nolint:gomnd - lastMemCost := math.Floor(math.Pow(lastMemSizeWord, 2)/512) + (3 * lastMemSizeWord) //nolint:gomnd - - memSizeWord := math.Ceil((float64(argsOffset+argsSize+31) / 32)) //nolint:gomnd - newMemCost := math.Floor(math.Pow(memSizeWord, float64(2))/512) + (3 * memSizeWord) //nolint:gomnd - callMemCost := newMemCost - lastMemCost - - // Compute return memory expansion cost - retMemSizeWord := math.Ceil((float64(retOffset) + float64(retSize) + 31) / 32) //nolint:gomnd - retNewMemCost := math.Floor(math.Pow(retMemSizeWord, 2)/512) + (3 * retMemSizeWord) //nolint:gomnd - retMemCost := retNewMemCost - newMemCost - if retMemCost < 0 { - retMemCost = 0 - } - - callGasCost := retMemCost + callMemCost + 100 //nolint:gomnd - gasUsed := float64(previousStep.GasCost) - callGasCost - - // Compute gas sent to call - gas := float64(previousStep.Gas) - callGasCost - gas -= math.Floor(gas / 64) //nolint:gomnd - - return addr, value, input, uint64(gas), uint64(gasUsed), nil - } else { - createdAddressPos := len(step.Stack) - 1 - addr := common.BytesToAddress(step.Stack[createdAddressPos].Bytes()) - - valuePos := len(previousStep.Stack) - 1 - value := previousStep.Stack[valuePos] - - offsetPos := valuePos - 1 - offset := previousStep.Stack[offsetPos].Uint64() - - sizePos := offsetPos - 1 - size := previousStep.Stack[sizePos].Uint64() - - input := make([]byte, size) - - if offset > uint64(previousStep.MemorySize) { - // when none of the bytes can be found in the memory - // do nothing to keep input as zeroes - } else if offset+size > uint64(previousStep.MemorySize) { - // when partial bytes are found in the memory - // copy just the bytes we have in memory and complement the rest with zeroes - copy(input[0:size], previousStep.Memory[offset:uint64(previousStep.MemorySize)]) - } else { - // when all the bytes are found in the memory - // read the bytes from memory - copy(input[0:size], previousStep.Memory[offset:offset+size]) - } - - // Compute gas sent to call - gas := float64(previousStep.Gas - previousStep.GasCost) //nolint:gomnd - gas -= math.Floor(gas / 64) //nolint:gomnd - - return addr, value, input, uint64(gas), 0, nil - } -} - // PreProcessTransaction processes the transaction in order to calculate its zkCounters before adding it to the pool func (s *State) PreProcessTransaction(ctx context.Context, tx *types.Transaction, dbTx pgx.Tx) (*ProcessBatchResponse, error) { sender, err := GetSender(*tx) diff --git a/state/types.go b/state/types.go index 85bf1803ff..5db8989ffd 100644 --- a/state/types.go +++ b/state/types.go @@ -70,10 +70,8 @@ type ProcessTransactionResponse struct { ChangesStateRoot bool // Tx is the whole transaction object Tx types.Transaction - // ExecutionTrace contains the traces produced in the execution - ExecutionTrace []instrumentation.StructLog - // CallTrace contains the call trace. - CallTrace instrumentation.ExecutorTrace + // FullTrace contains the call trace. + FullTrace instrumentation.FullTrace // EffectiveGasPrice effective gas price used for the tx EffectiveGasPrice string //EffectivePercentage effective percentage used for the tx diff --git a/test/docker-compose.yml b/test/docker-compose.yml index 7f3e9f37f3..82edde077a 100644 --- a/test/docker-compose.yml +++ b/test/docker-compose.yml @@ -299,6 +299,8 @@ services: - ZKEVM_NODE_POOL_DB_HOST=zkevm-pool-db - ZKEVM_NODE_RPC_PORT=8124 - ZKEVM_NODE_RPC_WEBSOCKETS_PORT=8134 + - ZKEVM_NODE_MTCLIENT_URI=${ZKEVM_NODE_MTCLIENT_URI} + - ZKEVM_NODE_EXECUTOR_URI=${ZKEVM_NODE_EXECUTOR_URI} volumes: - ./config/test.node.config.toml:/app/config.toml - ./config/test.genesis.config.json:/app/genesis.json @@ -350,7 +352,7 @@ services: zkevm-prover: container_name: zkevm-prover - image: hermeznetwork/zkevm-prover:v3.0.1 + image: hermeznetwork/zkevm-prover:83c6275 ports: - 50061:50061 # MT - 50071:50071 # Executor @@ -424,7 +426,7 @@ services: zkevm-permissionless-prover: container_name: zkevm-permissionless-prover - image: hermeznetwork/zkevm-prover:v3.0.1 + image: hermeznetwork/zkevm-prover:83c6275 ports: # - 50058:50058 # Prover - 50059:50052 # Mock prover diff --git a/test/operations/manager.go b/test/operations/manager.go index 59422f3033..9dd2f08d03 100644 --- a/test/operations/manager.go +++ b/test/operations/manager.go @@ -51,10 +51,11 @@ const ( DefaultL1NetworkWebSocketURL = "ws://localhost:8546" DefaultL1ChainID uint64 = 1337 - DefaultL2NetworkURL = "http://localhost:8123" - PermissionlessL2NetworkURL = "http://localhost:8125" - DefaultL2NetworkWebSocketURL = "ws://localhost:8133" - DefaultL2ChainID uint64 = 1001 + DefaultL2NetworkURL = "http://localhost:8123" + PermissionlessL2NetworkURL = "http://localhost:8125" + DefaultL2NetworkWebSocketURL = "ws://localhost:8133" + PermissionlessL2NetworkWebSocketURL = "ws://localhost:8135" + DefaultL2ChainID uint64 = 1001 DefaultTimeoutTxToBeMined = 1 * time.Minute @@ -67,8 +68,9 @@ var ( stateDBCfg = dbutils.NewStateConfigFromEnv() poolDBCfg = dbutils.NewPoolConfigFromEnv() - executorURI = testutils.GetEnv(constants.ENV_ZKPROVER_URI, "127.0.0.1:50071") - merkleTreeURI = testutils.GetEnv(constants.ENV_MERKLETREE_URI, "127.0.0.1:50061") + zkProverURI = testutils.GetEnv(constants.ENV_ZKPROVER_URI, "127.0.0.1") + executorURI = fmt.Sprintf("%s:50071", zkProverURI) + merkleTreeURI = fmt.Sprintf("%s:50061", zkProverURI) executorConfig = executor.Config{URI: executorURI, MaxGRPCMessageSize: 100000000} merkleTreeConfig = merkletree.Config{URI: merkleTreeURI} )