Documentation ¶
Index ¶
- Constants
- Variables
- func ExecutorErr(errorCode ExecutorError) error
- func IsExecutorCountersOverflowError(error ExecutorError) bool
- func IsExecutorUnspecifiedError(error ExecutorError) bool
- func IsIntrinsicError(error RomError) bool
- func IsInvalidBalanceError(error RomError) bool
- func IsInvalidL2Block(error RomError) bool
- func IsInvalidNonceError(error RomError) bool
- func IsROMOutOfCountersError(error RomError) bool
- func IsROMOutOfGasError(error RomError) bool
- func RegisterExecutorServiceServer(s grpc.ServiceRegistrar, srv ExecutorServiceServer)
- func RomErr(errorCode RomError) error
- type Config
- type Contract
- func (*Contract) Descriptor() ([]byte, []int)deprecated
- func (x *Contract) GetAddress() string
- func (x *Contract) GetCaller() string
- func (x *Contract) GetData() []byte
- func (x *Contract) GetGas() uint64
- func (x *Contract) GetType() string
- func (x *Contract) GetValue() string
- func (*Contract) ProtoMessage()
- func (x *Contract) ProtoReflect() protoreflect.Message
- func (x *Contract) Reset()
- func (x *Contract) String() string
- type ContractV2
- func (*ContractV2) Descriptor() ([]byte, []int)deprecated
- func (x *ContractV2) GetAddress() string
- func (x *ContractV2) GetCaller() string
- func (x *ContractV2) GetData() []byte
- func (x *ContractV2) GetGas() uint64
- func (x *ContractV2) GetType() string
- func (x *ContractV2) GetValue() string
- func (*ContractV2) ProtoMessage()
- func (x *ContractV2) ProtoReflect() protoreflect.Message
- func (x *ContractV2) Reset()
- func (x *ContractV2) String() string
- type DebugV2
- func (*DebugV2) Descriptor() ([]byte, []int)deprecated
- func (x *DebugV2) GetGasLimit() uint64
- func (x *DebugV2) GetNewAccInputHash() []byte
- func (x *DebugV2) GetNewBatchNum() uint64
- func (x *DebugV2) GetNewLocalExitRoot() []byte
- func (x *DebugV2) GetNewStateRoot() []byte
- func (*DebugV2) ProtoMessage()
- func (x *DebugV2) ProtoReflect() protoreflect.Message
- func (x *DebugV2) Reset()
- func (x *DebugV2) String() string
- type ExecutorError
- func (ExecutorError) Descriptor() protoreflect.EnumDescriptor
- func (x ExecutorError) Enum() *ExecutorError
- func (ExecutorError) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExecutorError) Number() protoreflect.EnumNumber
- func (x ExecutorError) String() string
- func (ExecutorError) Type() protoreflect.EnumType
- type ExecutorServiceClient
- type ExecutorServiceServer
- type FullTrace
- func (*FullTrace) Descriptor() ([]byte, []int)deprecated
- func (x *FullTrace) GetContext() *TransactionContext
- func (x *FullTrace) GetSteps() []*TransactionStep
- func (*FullTrace) ProtoMessage()
- func (x *FullTrace) ProtoReflect() protoreflect.Message
- func (x *FullTrace) Reset()
- func (x *FullTrace) String() string
- type FullTraceV2
- func (*FullTraceV2) Descriptor() ([]byte, []int)deprecated
- func (x *FullTraceV2) GetContext() *TransactionContextV2
- func (x *FullTraceV2) GetSteps() []*TransactionStepV2
- func (*FullTraceV2) ProtoMessage()
- func (x *FullTraceV2) ProtoReflect() protoreflect.Message
- func (x *FullTraceV2) Reset()
- func (x *FullTraceV2) String() string
- type GetFlushStatusResponse
- func (*GetFlushStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFlushStatusResponse) GetLastFlushId() uint64
- func (x *GetFlushStatusResponse) GetPendingToFlushNodes() uint64
- func (x *GetFlushStatusResponse) GetPendingToFlushProgram() uint64
- func (x *GetFlushStatusResponse) GetProverId() string
- func (x *GetFlushStatusResponse) GetStoredFlushId() uint64
- func (x *GetFlushStatusResponse) GetStoringFlushId() uint64
- func (x *GetFlushStatusResponse) GetStoringNodes() uint64
- func (x *GetFlushStatusResponse) GetStoringProgram() uint64
- func (*GetFlushStatusResponse) ProtoMessage()
- func (x *GetFlushStatusResponse) ProtoReflect() protoreflect.Message
- func (x *GetFlushStatusResponse) Reset()
- func (x *GetFlushStatusResponse) String() string
- type InfoReadWrite
- func (*InfoReadWrite) Descriptor() ([]byte, []int)deprecated
- func (x *InfoReadWrite) GetBalance() string
- func (x *InfoReadWrite) GetNonce() string
- func (*InfoReadWrite) ProtoMessage()
- func (x *InfoReadWrite) ProtoReflect() protoreflect.Message
- func (x *InfoReadWrite) Reset()
- func (x *InfoReadWrite) String() string
- type InfoReadWriteV2
- func (*InfoReadWriteV2) Descriptor() ([]byte, []int)deprecated
- func (x *InfoReadWriteV2) GetBalance() string
- func (x *InfoReadWriteV2) GetNonce() string
- func (*InfoReadWriteV2) ProtoMessage()
- func (x *InfoReadWriteV2) ProtoReflect() protoreflect.Message
- func (x *InfoReadWriteV2) Reset()
- func (x *InfoReadWriteV2) String() string
- type L1DataV2
- func (*L1DataV2) Descriptor() ([]byte, []int)deprecated
- func (x *L1DataV2) GetBlockHashL1() []byte
- func (x *L1DataV2) GetGlobalExitRoot() []byte
- func (x *L1DataV2) GetMinTimestamp() uint64
- func (x *L1DataV2) GetSmtProof() [][]byte
- func (*L1DataV2) ProtoMessage()
- func (x *L1DataV2) ProtoReflect() protoreflect.Message
- func (x *L1DataV2) Reset()
- func (x *L1DataV2) String() string
- type Log
- func (*Log) Descriptor() ([]byte, []int)deprecated
- func (x *Log) GetAddress() string
- func (x *Log) GetBatchHash() []byte
- func (x *Log) GetBatchNumber() uint64
- func (x *Log) GetData() []byte
- func (x *Log) GetIndex() uint32
- func (x *Log) GetTopics() [][]byte
- func (x *Log) GetTxHash() []byte
- func (x *Log) GetTxIndex() uint32
- func (*Log) ProtoMessage()
- func (x *Log) ProtoReflect() protoreflect.Message
- func (x *Log) Reset()
- func (x *Log) String() string
- type LogV2
- func (*LogV2) Descriptor() ([]byte, []int)deprecated
- func (x *LogV2) GetAddress() string
- func (x *LogV2) GetBlockHash() []byte
- func (x *LogV2) GetBlockNumber() uint64
- func (x *LogV2) GetData() []byte
- func (x *LogV2) GetIndex() uint32
- func (x *LogV2) GetTopics() [][]byte
- func (x *LogV2) GetTxHash() []byte
- func (x *LogV2) GetTxHashL2() []byte
- func (x *LogV2) GetTxIndex() uint32
- func (*LogV2) ProtoMessage()
- func (x *LogV2) ProtoReflect() protoreflect.Message
- func (x *LogV2) Reset()
- func (x *LogV2) String() string
- type OverrideAccount
- func (*OverrideAccount) Descriptor() ([]byte, []int)deprecated
- func (x *OverrideAccount) GetBalance() []byte
- func (x *OverrideAccount) GetCode() []byte
- func (x *OverrideAccount) GetNonce() uint64
- func (x *OverrideAccount) GetState() map[string]string
- func (x *OverrideAccount) GetStateDiff() map[string]string
- func (*OverrideAccount) ProtoMessage()
- func (x *OverrideAccount) ProtoReflect() protoreflect.Message
- func (x *OverrideAccount) Reset()
- func (x *OverrideAccount) String() string
- type OverrideAccountV2
- func (*OverrideAccountV2) Descriptor() ([]byte, []int)deprecated
- func (x *OverrideAccountV2) GetBalance() []byte
- func (x *OverrideAccountV2) GetCode() []byte
- func (x *OverrideAccountV2) GetNonce() uint64
- func (x *OverrideAccountV2) GetState() map[string]string
- func (x *OverrideAccountV2) GetStateDiff() map[string]string
- func (*OverrideAccountV2) ProtoMessage()
- func (x *OverrideAccountV2) ProtoReflect() protoreflect.Message
- func (x *OverrideAccountV2) Reset()
- func (x *OverrideAccountV2) String() string
- type ProcessBatchRequest
- func (*ProcessBatchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProcessBatchRequest) GetBatchL2Data() []byte
- func (x *ProcessBatchRequest) GetChainId() uint64
- func (x *ProcessBatchRequest) GetCoinbase() string
- func (x *ProcessBatchRequest) GetContextId() string
- func (x *ProcessBatchRequest) GetContractsBytecode() map[string]string
- func (x *ProcessBatchRequest) GetDb() map[string]string
- func (x *ProcessBatchRequest) GetEthTimestamp() uint64
- func (x *ProcessBatchRequest) GetForkId() uint64
- func (x *ProcessBatchRequest) GetFrom() string
- func (x *ProcessBatchRequest) GetGlobalExitRoot() []byte
- func (x *ProcessBatchRequest) GetNoCounters() uint64
- func (x *ProcessBatchRequest) GetOldAccInputHash() []byte
- func (x *ProcessBatchRequest) GetOldBatchNum() uint64
- func (x *ProcessBatchRequest) GetOldStateRoot() []byte
- func (x *ProcessBatchRequest) GetStateOverride() map[string]*OverrideAccount
- func (x *ProcessBatchRequest) GetTraceConfig() *TraceConfig
- func (x *ProcessBatchRequest) GetUpdateMerkleTree() uint32
- func (*ProcessBatchRequest) ProtoMessage()
- func (x *ProcessBatchRequest) ProtoReflect() protoreflect.Message
- func (x *ProcessBatchRequest) Reset()
- func (x *ProcessBatchRequest) String() string
- type ProcessBatchRequestV2
- func (*ProcessBatchRequestV2) Descriptor() ([]byte, []int)deprecated
- func (x *ProcessBatchRequestV2) GetBatchL2Data() []byte
- func (x *ProcessBatchRequestV2) GetChainId() uint64
- func (x *ProcessBatchRequestV2) GetCoinbase() string
- func (x *ProcessBatchRequestV2) GetContextId() string
- func (x *ProcessBatchRequestV2) GetContractsBytecode() map[string]string
- func (x *ProcessBatchRequestV2) GetDb() map[string]string
- func (x *ProcessBatchRequestV2) GetDebug() *DebugV2
- func (x *ProcessBatchRequestV2) GetForcedBlockhashL1() []byte
- func (x *ProcessBatchRequestV2) GetForkId() uint64
- func (x *ProcessBatchRequestV2) GetFrom() string
- func (x *ProcessBatchRequestV2) GetGetKeys() uint32
- func (x *ProcessBatchRequestV2) GetL1InfoRoot() []byte
- func (x *ProcessBatchRequestV2) GetL1InfoTreeData() map[uint32]*L1DataV2
- func (x *ProcessBatchRequestV2) GetNoCounters() uint32
- func (x *ProcessBatchRequestV2) GetOldAccInputHash() []byte
- func (x *ProcessBatchRequestV2) GetOldBatchNum() uint64
- func (x *ProcessBatchRequestV2) GetOldStateRoot() []byte
- func (x *ProcessBatchRequestV2) GetSkipFirstChangeL2Block() uint32
- func (x *ProcessBatchRequestV2) GetSkipVerifyL1InfoRoot() uint32
- func (x *ProcessBatchRequestV2) GetSkipWriteBlockInfoRoot() uint32
- func (x *ProcessBatchRequestV2) GetStateOverride() map[string]*OverrideAccountV2
- func (x *ProcessBatchRequestV2) GetTimestampLimit() uint64
- func (x *ProcessBatchRequestV2) GetTraceConfig() *TraceConfigV2
- func (x *ProcessBatchRequestV2) GetUpdateMerkleTree() uint32
- func (*ProcessBatchRequestV2) ProtoMessage()
- func (x *ProcessBatchRequestV2) ProtoReflect() protoreflect.Message
- func (x *ProcessBatchRequestV2) Reset()
- func (x *ProcessBatchRequestV2) String() string
- type ProcessBatchResponse
- func (*ProcessBatchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProcessBatchResponse) GetCntArithmetics() uint32
- func (x *ProcessBatchResponse) GetCntBinaries() uint32
- func (x *ProcessBatchResponse) GetCntKeccakHashes() uint32
- func (x *ProcessBatchResponse) GetCntMemAligns() uint32
- func (x *ProcessBatchResponse) GetCntPoseidonHashes() uint32
- func (x *ProcessBatchResponse) GetCntPoseidonPaddings() uint32
- func (x *ProcessBatchResponse) GetCntSteps() uint32
- func (x *ProcessBatchResponse) GetCumulativeGasUsed() uint64
- func (x *ProcessBatchResponse) GetError() ExecutorError
- func (x *ProcessBatchResponse) GetFlushId() uint64
- func (x *ProcessBatchResponse) GetForkId() uint64
- func (x *ProcessBatchResponse) GetNewAccInputHash() []byte
- func (x *ProcessBatchResponse) GetNewBatchNum() uint64
- func (x *ProcessBatchResponse) GetNewLocalExitRoot() []byte
- func (x *ProcessBatchResponse) GetNewStateRoot() []byte
- func (x *ProcessBatchResponse) GetProverId() string
- func (x *ProcessBatchResponse) GetReadWriteAddresses() map[string]*InfoReadWrite
- func (x *ProcessBatchResponse) GetResponses() []*ProcessTransactionResponse
- func (x *ProcessBatchResponse) GetStoredFlushId() uint64
- func (*ProcessBatchResponse) ProtoMessage()
- func (x *ProcessBatchResponse) ProtoReflect() protoreflect.Message
- func (x *ProcessBatchResponse) Reset()
- func (x *ProcessBatchResponse) String() string
- type ProcessBatchResponseV2
- func (*ProcessBatchResponseV2) Descriptor() ([]byte, []int)deprecated
- func (x *ProcessBatchResponseV2) GetBlockResponses() []*ProcessBlockResponseV2
- func (x *ProcessBatchResponseV2) GetCntArithmetics() uint32
- func (x *ProcessBatchResponseV2) GetCntBinaries() uint32
- func (x *ProcessBatchResponseV2) GetCntKeccakHashes() uint32
- func (x *ProcessBatchResponseV2) GetCntMemAligns() uint32
- func (x *ProcessBatchResponseV2) GetCntPoseidonHashes() uint32
- func (x *ProcessBatchResponseV2) GetCntPoseidonPaddings() uint32
- func (x *ProcessBatchResponseV2) GetCntSha256Hashes() uint32
- func (x *ProcessBatchResponseV2) GetCntSteps() uint32
- func (x *ProcessBatchResponseV2) GetError() ExecutorError
- func (x *ProcessBatchResponseV2) GetErrorRom() RomError
- func (x *ProcessBatchResponseV2) GetFlushId() uint64
- func (x *ProcessBatchResponseV2) GetForkId() uint64
- func (x *ProcessBatchResponseV2) GetGasUsed() uint64
- func (x *ProcessBatchResponseV2) GetInvalidBatch() uint32
- func (x *ProcessBatchResponseV2) GetNewAccInputHash() []byte
- func (x *ProcessBatchResponseV2) GetNewBatchNum() uint64
- func (x *ProcessBatchResponseV2) GetNewLocalExitRoot() []byte
- func (x *ProcessBatchResponseV2) GetNewStateRoot() []byte
- func (x *ProcessBatchResponseV2) GetProgramKeys() [][]byte
- func (x *ProcessBatchResponseV2) GetProverId() string
- func (x *ProcessBatchResponseV2) GetReadWriteAddresses() map[string]*InfoReadWriteV2
- func (x *ProcessBatchResponseV2) GetSmtKeys() [][]byte
- func (x *ProcessBatchResponseV2) GetStoredFlushId() uint64
- func (*ProcessBatchResponseV2) ProtoMessage()
- func (x *ProcessBatchResponseV2) ProtoReflect() protoreflect.Message
- func (x *ProcessBatchResponseV2) Reset()
- func (x *ProcessBatchResponseV2) String() string
- type ProcessBlockResponseV2
- func (*ProcessBlockResponseV2) Descriptor() ([]byte, []int)deprecated
- func (x *ProcessBlockResponseV2) GetBlockHash() []byte
- func (x *ProcessBlockResponseV2) GetBlockHashL1() []byte
- func (x *ProcessBlockResponseV2) GetBlockInfoRoot() []byte
- func (x *ProcessBlockResponseV2) GetBlockNumber() uint64
- func (x *ProcessBlockResponseV2) GetCoinbase() string
- func (x *ProcessBlockResponseV2) GetError() RomError
- func (x *ProcessBlockResponseV2) GetGasLimit() uint64
- func (x *ProcessBlockResponseV2) GetGasUsed() uint64
- func (x *ProcessBlockResponseV2) GetGer() []byte
- func (x *ProcessBlockResponseV2) GetLogs() []*LogV2
- func (x *ProcessBlockResponseV2) GetParentHash() []byte
- func (x *ProcessBlockResponseV2) GetResponses() []*ProcessTransactionResponseV2
- func (x *ProcessBlockResponseV2) GetTimestamp() uint64
- func (*ProcessBlockResponseV2) ProtoMessage()
- func (x *ProcessBlockResponseV2) ProtoReflect() protoreflect.Message
- func (x *ProcessBlockResponseV2) Reset()
- func (x *ProcessBlockResponseV2) String() string
- type ProcessTransactionResponse
- func (*ProcessTransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProcessTransactionResponse) GetCreateAddress() string
- func (x *ProcessTransactionResponse) GetEffectiveGasPrice() string
- func (x *ProcessTransactionResponse) GetEffectivePercentage() uint32
- func (x *ProcessTransactionResponse) GetError() RomError
- func (x *ProcessTransactionResponse) GetFullTrace() *FullTrace
- func (x *ProcessTransactionResponse) GetGasLeft() uint64
- func (x *ProcessTransactionResponse) GetGasRefunded() uint64
- func (x *ProcessTransactionResponse) GetGasUsed() uint64
- func (x *ProcessTransactionResponse) GetHasBalanceOpcode() uint32
- func (x *ProcessTransactionResponse) GetHasGaspriceOpcode() uint32
- func (x *ProcessTransactionResponse) GetLogs() []*Log
- func (x *ProcessTransactionResponse) GetReturnValue() []byte
- func (x *ProcessTransactionResponse) GetRlpTx() []byte
- func (x *ProcessTransactionResponse) GetStateRoot() []byte
- func (x *ProcessTransactionResponse) GetTxHash() []byte
- func (x *ProcessTransactionResponse) GetType() uint32
- func (*ProcessTransactionResponse) ProtoMessage()
- func (x *ProcessTransactionResponse) ProtoReflect() protoreflect.Message
- func (x *ProcessTransactionResponse) Reset()
- func (x *ProcessTransactionResponse) String() string
- type ProcessTransactionResponseV2
- func (*ProcessTransactionResponseV2) Descriptor() ([]byte, []int)deprecated
- func (x *ProcessTransactionResponseV2) GetBlockHash() []byte
- func (x *ProcessTransactionResponseV2) GetBlockNumber() uint64
- func (x *ProcessTransactionResponseV2) GetCreateAddress() string
- func (x *ProcessTransactionResponseV2) GetCumulativeGasUsed() uint64
- func (x *ProcessTransactionResponseV2) GetEffectiveGasPrice() string
- func (x *ProcessTransactionResponseV2) GetEffectivePercentage() uint32
- func (x *ProcessTransactionResponseV2) GetError() RomError
- func (x *ProcessTransactionResponseV2) GetFullTrace() *FullTraceV2
- func (x *ProcessTransactionResponseV2) GetGasLeft() uint64
- func (x *ProcessTransactionResponseV2) GetGasRefunded() uint64
- func (x *ProcessTransactionResponseV2) GetGasUsed() uint64
- func (x *ProcessTransactionResponseV2) GetHasBalanceOpcode() uint32
- func (x *ProcessTransactionResponseV2) GetHasGaspriceOpcode() uint32
- func (x *ProcessTransactionResponseV2) GetLogs() []*LogV2
- func (x *ProcessTransactionResponseV2) GetReturnValue() []byte
- func (x *ProcessTransactionResponseV2) GetRlpTx() []byte
- func (x *ProcessTransactionResponseV2) GetStateRoot() []byte
- func (x *ProcessTransactionResponseV2) GetTxHash() []byte
- func (x *ProcessTransactionResponseV2) GetTxHashL2() []byte
- func (x *ProcessTransactionResponseV2) GetType() uint32
- func (*ProcessTransactionResponseV2) ProtoMessage()
- func (x *ProcessTransactionResponseV2) ProtoReflect() protoreflect.Message
- func (x *ProcessTransactionResponseV2) Reset()
- func (x *ProcessTransactionResponseV2) String() string
- type RomError
- type TraceConfig
- func (*TraceConfig) Descriptor() ([]byte, []int)deprecated
- func (x *TraceConfig) GetDisableStack() uint32
- func (x *TraceConfig) GetDisableStorage() uint32
- func (x *TraceConfig) GetEnableMemory() uint32
- func (x *TraceConfig) GetEnableReturnData() uint32
- func (x *TraceConfig) GetTxHashToGenerateFullTrace() []byte
- func (*TraceConfig) ProtoMessage()
- func (x *TraceConfig) ProtoReflect() protoreflect.Message
- func (x *TraceConfig) Reset()
- func (x *TraceConfig) String() string
- type TraceConfigV2
- func (*TraceConfigV2) Descriptor() ([]byte, []int)deprecated
- func (x *TraceConfigV2) GetDisableStack() uint32
- func (x *TraceConfigV2) GetDisableStorage() uint32
- func (x *TraceConfigV2) GetEnableMemory() uint32
- func (x *TraceConfigV2) GetEnableReturnData() uint32
- func (x *TraceConfigV2) GetTxHashToGenerateFullTrace() []byte
- func (*TraceConfigV2) ProtoMessage()
- func (x *TraceConfigV2) ProtoReflect() protoreflect.Message
- func (x *TraceConfigV2) Reset()
- func (x *TraceConfigV2) String() string
- type TransactionContext
- func (*TransactionContext) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionContext) GetBatch() []byte
- func (x *TransactionContext) GetData() []byte
- func (x *TransactionContext) GetExecutionTime() uint32
- func (x *TransactionContext) GetFrom() string
- func (x *TransactionContext) GetGas() uint64
- func (x *TransactionContext) GetGasPrice() string
- func (x *TransactionContext) GetGasUsed() uint64
- func (x *TransactionContext) GetOldStateRoot() []byte
- func (x *TransactionContext) GetOutput() []byte
- func (x *TransactionContext) GetTo() string
- func (x *TransactionContext) GetType() string
- func (x *TransactionContext) GetValue() string
- func (*TransactionContext) ProtoMessage()
- func (x *TransactionContext) ProtoReflect() protoreflect.Message
- func (x *TransactionContext) Reset()
- func (x *TransactionContext) String() string
- type TransactionContextV2
- func (*TransactionContextV2) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionContextV2) GetBlockHash() []byte
- func (x *TransactionContextV2) GetChainId() uint64
- func (x *TransactionContextV2) GetData() []byte
- func (x *TransactionContextV2) GetExecutionTime() uint32
- func (x *TransactionContextV2) GetFrom() string
- func (x *TransactionContextV2) GetGas() uint64
- func (x *TransactionContextV2) GetGasPrice() string
- func (x *TransactionContextV2) GetGasUsed() uint64
- func (x *TransactionContextV2) GetNonce() uint64
- func (x *TransactionContextV2) GetOldStateRoot() []byte
- func (x *TransactionContextV2) GetOutput() []byte
- func (x *TransactionContextV2) GetTo() string
- func (x *TransactionContextV2) GetTxIndex() uint64
- func (x *TransactionContextV2) GetType() string
- func (x *TransactionContextV2) GetValue() string
- func (*TransactionContextV2) ProtoMessage()
- func (x *TransactionContextV2) ProtoReflect() protoreflect.Message
- func (x *TransactionContextV2) Reset()
- func (x *TransactionContextV2) String() string
- type TransactionStep
- func (*TransactionStep) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionStep) GetContract() *Contract
- func (x *TransactionStep) GetDepth() uint32
- func (x *TransactionStep) GetError() RomError
- func (x *TransactionStep) GetGas() uint64
- func (x *TransactionStep) GetGasCost() uint64
- func (x *TransactionStep) GetGasRefund() uint64
- func (x *TransactionStep) GetMemory() []byte
- func (x *TransactionStep) GetMemoryOffset() uint32
- func (x *TransactionStep) GetMemorySize() uint32
- func (x *TransactionStep) GetOp() uint32
- func (x *TransactionStep) GetPc() uint64
- func (x *TransactionStep) GetReturnData() []byte
- func (x *TransactionStep) GetStack() []string
- func (x *TransactionStep) GetStateRoot() []byte
- func (x *TransactionStep) GetStorage() map[string]string
- func (*TransactionStep) ProtoMessage()
- func (x *TransactionStep) ProtoReflect() protoreflect.Message
- func (x *TransactionStep) Reset()
- func (x *TransactionStep) String() string
- type TransactionStepV2
- func (*TransactionStepV2) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionStepV2) GetContract() *ContractV2
- func (x *TransactionStepV2) GetDepth() uint32
- func (x *TransactionStepV2) GetError() RomError
- func (x *TransactionStepV2) GetGas() uint64
- func (x *TransactionStepV2) GetGasCost() uint64
- func (x *TransactionStepV2) GetGasRefund() uint64
- func (x *TransactionStepV2) GetMemory() []byte
- func (x *TransactionStepV2) GetMemoryOffset() uint32
- func (x *TransactionStepV2) GetMemorySize() uint32
- func (x *TransactionStepV2) GetOp() uint32
- func (x *TransactionStepV2) GetPc() uint64
- func (x *TransactionStepV2) GetReturnData() []byte
- func (x *TransactionStepV2) GetStack() []string
- func (x *TransactionStepV2) GetStateRoot() []byte
- func (x *TransactionStepV2) GetStorage() map[string]string
- func (*TransactionStepV2) ProtoMessage()
- func (x *TransactionStepV2) ProtoReflect() protoreflect.Message
- func (x *TransactionStepV2) Reset()
- func (x *TransactionStepV2) String() string
- type UnimplementedExecutorServiceServer
- func (UnimplementedExecutorServiceServer) GetFlushStatus(context.Context, *emptypb.Empty) (*GetFlushStatusResponse, error)
- func (UnimplementedExecutorServiceServer) ProcessBatch(context.Context, *ProcessBatchRequest) (*ProcessBatchResponse, error)
- func (UnimplementedExecutorServiceServer) ProcessBatchV2(context.Context, *ProcessBatchRequestV2) (*ProcessBatchResponseV2, error)
- type UnsafeExecutorServiceServer
Constants ¶
const ( ExecutorService_ProcessBatch_FullMethodName = "/executor.v1.ExecutorService/ProcessBatch" ExecutorService_ProcessBatchV2_FullMethodName = "/executor.v1.ExecutorService/ProcessBatchV2" ExecutorService_GetFlushStatus_FullMethodName = "/executor.v1.ExecutorService/GetFlushStatus" )
Variables ¶
var ( // ErrExecutorUnspecified indicates an unspecified executor error ErrExecutorUnspecified = fmt.Errorf("unspecified executor error") // ErrROMUnspecified indicates an unspecified ROM error ErrROMUnspecified = fmt.Errorf("unspecified ROM error") // ErrExecutorUnknown indicates an unknown executor error ErrExecutorUnknown = fmt.Errorf("unknown executor error") // ErrCodeExecutorUnknown indicates an unknown executor error ErrCodeExecutorUnknown = ExecutorError(math.MaxInt32) // ErrROMUnknown indicates an unknown ROM error ErrROMUnknown = fmt.Errorf("unknown ROM error") // ErrCodeROMUnknown indicates an unknown ROM error ErrCodeROMUnknown = RomError(math.MaxInt32) )
var ( RomError_name = map[int32]string{ 0: "ROM_ERROR_UNSPECIFIED", 1: "ROM_ERROR_NO_ERROR", 2: "ROM_ERROR_OUT_OF_GAS", 3: "ROM_ERROR_STACK_OVERFLOW", 4: "ROM_ERROR_STACK_UNDERFLOW", 5: "ROM_ERROR_MAX_CODE_SIZE_EXCEEDED", 6: "ROM_ERROR_CONTRACT_ADDRESS_COLLISION", 7: "ROM_ERROR_EXECUTION_REVERTED", 8: "ROM_ERROR_OUT_OF_COUNTERS_STEP", 9: "ROM_ERROR_OUT_OF_COUNTERS_KECCAK", 10: "ROM_ERROR_OUT_OF_COUNTERS_BINARY", 11: "ROM_ERROR_OUT_OF_COUNTERS_MEM", 12: "ROM_ERROR_OUT_OF_COUNTERS_ARITH", 13: "ROM_ERROR_OUT_OF_COUNTERS_PADDING", 14: "ROM_ERROR_OUT_OF_COUNTERS_POSEIDON", 15: "ROM_ERROR_OUT_OF_COUNTERS_SHA", 16: "ROM_ERROR_INVALID_JUMP", 17: "ROM_ERROR_INVALID_OPCODE", 18: "ROM_ERROR_INVALID_STATIC", 19: "ROM_ERROR_INVALID_BYTECODE_STARTS_EF", 20: "ROM_ERROR_INTRINSIC_INVALID_SIGNATURE", 21: "ROM_ERROR_INTRINSIC_INVALID_CHAIN_ID", 22: "ROM_ERROR_INTRINSIC_INVALID_NONCE", 23: "ROM_ERROR_INTRINSIC_INVALID_GAS_LIMIT", 24: "ROM_ERROR_INTRINSIC_INVALID_BALANCE", 25: "ROM_ERROR_INTRINSIC_INVALID_BATCH_GAS_LIMIT", 26: "ROM_ERROR_INTRINSIC_INVALID_SENDER_CODE", 27: "ROM_ERROR_INTRINSIC_TX_GAS_OVERFLOW", 28: "ROM_ERROR_BATCH_DATA_TOO_BIG", 29: "ROM_ERROR_UNSUPPORTED_FORK_ID", 30: "ROM_ERROR_INVALID_RLP", 31: "ROM_ERROR_INVALID_DECODE_CHANGE_L2_BLOCK", 32: "ROM_ERROR_INVALID_NOT_FIRST_TX_CHANGE_L2_BLOCK", 33: "ROM_ERROR_INVALID_TX_CHANGE_L2_BLOCK_LIMIT_TIMESTAMP", 34: "ROM_ERROR_INVALID_TX_CHANGE_L2_BLOCK_MIN_TIMESTAMP", } RomError_value = map[string]int32{ "ROM_ERROR_UNSPECIFIED": 0, "ROM_ERROR_NO_ERROR": 1, "ROM_ERROR_OUT_OF_GAS": 2, "ROM_ERROR_STACK_OVERFLOW": 3, "ROM_ERROR_STACK_UNDERFLOW": 4, "ROM_ERROR_MAX_CODE_SIZE_EXCEEDED": 5, "ROM_ERROR_CONTRACT_ADDRESS_COLLISION": 6, "ROM_ERROR_EXECUTION_REVERTED": 7, "ROM_ERROR_OUT_OF_COUNTERS_STEP": 8, "ROM_ERROR_OUT_OF_COUNTERS_KECCAK": 9, "ROM_ERROR_OUT_OF_COUNTERS_BINARY": 10, "ROM_ERROR_OUT_OF_COUNTERS_MEM": 11, "ROM_ERROR_OUT_OF_COUNTERS_ARITH": 12, "ROM_ERROR_OUT_OF_COUNTERS_PADDING": 13, "ROM_ERROR_OUT_OF_COUNTERS_POSEIDON": 14, "ROM_ERROR_OUT_OF_COUNTERS_SHA": 15, "ROM_ERROR_INVALID_JUMP": 16, "ROM_ERROR_INVALID_OPCODE": 17, "ROM_ERROR_INVALID_STATIC": 18, "ROM_ERROR_INVALID_BYTECODE_STARTS_EF": 19, "ROM_ERROR_INTRINSIC_INVALID_SIGNATURE": 20, "ROM_ERROR_INTRINSIC_INVALID_CHAIN_ID": 21, "ROM_ERROR_INTRINSIC_INVALID_NONCE": 22, "ROM_ERROR_INTRINSIC_INVALID_GAS_LIMIT": 23, "ROM_ERROR_INTRINSIC_INVALID_BALANCE": 24, "ROM_ERROR_INTRINSIC_INVALID_BATCH_GAS_LIMIT": 25, "ROM_ERROR_INTRINSIC_INVALID_SENDER_CODE": 26, "ROM_ERROR_INTRINSIC_TX_GAS_OVERFLOW": 27, "ROM_ERROR_BATCH_DATA_TOO_BIG": 28, "ROM_ERROR_UNSUPPORTED_FORK_ID": 29, "ROM_ERROR_INVALID_RLP": 30, "ROM_ERROR_INVALID_DECODE_CHANGE_L2_BLOCK": 31, "ROM_ERROR_INVALID_NOT_FIRST_TX_CHANGE_L2_BLOCK": 32, "ROM_ERROR_INVALID_TX_CHANGE_L2_BLOCK_LIMIT_TIMESTAMP": 33, "ROM_ERROR_INVALID_TX_CHANGE_L2_BLOCK_MIN_TIMESTAMP": 34, } )
Enum value maps for RomError.
var ( ExecutorError_name = map[int32]string{}/* 111 elements not displayed */ ExecutorError_value = map[string]int32{}/* 111 elements not displayed */ )
Enum value maps for ExecutorError.
var ExecutorService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "executor.v1.ExecutorService", HandlerType: (*ExecutorServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ProcessBatch", Handler: _ExecutorService_ProcessBatch_Handler, }, { MethodName: "ProcessBatchV2", Handler: _ExecutorService_ProcessBatchV2_Handler, }, { MethodName: "GetFlushStatus", Handler: _ExecutorService_GetFlushStatus_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "executor.proto", }
ExecutorService_ServiceDesc is the grpc.ServiceDesc for ExecutorService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_executor_proto protoreflect.FileDescriptor
Functions ¶
func ExecutorErr ¶
func ExecutorErr(errorCode ExecutorError) error
ExecutorErr returns an instance of error related to the ExecutorError
func IsExecutorCountersOverflowError ¶ added in v0.5.0
func IsExecutorCountersOverflowError(error ExecutorError) bool
IsExecutorCountersOverflowError indicates if the error is OOC detected by the executor
func IsExecutorUnspecifiedError ¶ added in v0.0.990
func IsExecutorUnspecifiedError(error ExecutorError) bool
IsExecutorUnspecifiedError indicates an unspecified error in the executor
func IsIntrinsicError ¶
IsIntrinsicError indicates if the error is due to a intrinsic check
func IsInvalidBalanceError ¶
IsInvalidBalanceError indicates if the error is due to a invalid balance
func IsInvalidL2Block ¶ added in v0.5.0
IsInvalidL2Block indicates if the error is related to L2Block and invalidate all the batch
func IsInvalidNonceError ¶
IsInvalidNonceError indicates if the error is due to a invalid nonce
func IsROMOutOfCountersError ¶
IsROMOutOfCountersError indicates if the error is an ROM OOC
func IsROMOutOfGasError ¶
IsROMOutOfGasError indicates if the error is an ROM OOG
func RegisterExecutorServiceServer ¶ added in v0.0.990
func RegisterExecutorServiceServer(s grpc.ServiceRegistrar, srv ExecutorServiceServer)
Types ¶
type Config ¶
type Config struct { URI string `mapstructure:"URI"` // MaxResourceExhaustedAttempts is the max number of attempts to make a transaction succeed because of resource exhaustion MaxResourceExhaustedAttempts int `mapstructure:"MaxResourceExhaustedAttempts"` // WaitOnResourceExhaustion is the time to wait before retrying a transaction because of resource exhaustion WaitOnResourceExhaustion types.Duration `mapstructure:"WaitOnResourceExhaustion"` MaxGRPCMessageSize int `mapstructure:"MaxGRPCMessageSize"` }
Config represents the configuration of the executor server
type Contract ¶ added in v0.0.990
type Contract struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Caller string `protobuf:"bytes,2,opt,name=caller,proto3" json:"caller,omitempty"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` Gas uint64 `protobuf:"varint,5,opt,name=gas,proto3" json:"gas,omitempty"` // Define type of internal call: CREATE, CREATE2, CALL, CALLCODE, DELEGATECALL, STATICCALL Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Contract) Descriptor
deprecated
added in
v0.0.990
func (*Contract) GetAddress ¶ added in v0.0.990
func (*Contract) ProtoMessage ¶ added in v0.0.990
func (*Contract) ProtoMessage()
func (*Contract) ProtoReflect ¶ added in v0.0.990
func (x *Contract) ProtoReflect() protoreflect.Message
type ContractV2 ¶ added in v0.5.0
type ContractV2 struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Caller string `protobuf:"bytes,2,opt,name=caller,proto3" json:"caller,omitempty"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` Gas uint64 `protobuf:"varint,5,opt,name=gas,proto3" json:"gas,omitempty"` // Define type of internal call: CREATE, CREATE2, CALL, CALLCODE, DELEGATECALL, STATICCALL Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*ContractV2) Descriptor
deprecated
added in
v0.5.0
func (*ContractV2) Descriptor() ([]byte, []int)
Deprecated: Use ContractV2.ProtoReflect.Descriptor instead.
func (*ContractV2) GetAddress ¶ added in v0.5.0
func (x *ContractV2) GetAddress() string
func (*ContractV2) GetCaller ¶ added in v0.5.0
func (x *ContractV2) GetCaller() string
func (*ContractV2) GetData ¶ added in v0.5.0
func (x *ContractV2) GetData() []byte
func (*ContractV2) GetGas ¶ added in v0.5.0
func (x *ContractV2) GetGas() uint64
func (*ContractV2) GetType ¶ added in v0.5.0
func (x *ContractV2) GetType() string
func (*ContractV2) GetValue ¶ added in v0.5.0
func (x *ContractV2) GetValue() string
func (*ContractV2) ProtoMessage ¶ added in v0.5.0
func (*ContractV2) ProtoMessage()
func (*ContractV2) ProtoReflect ¶ added in v0.5.0
func (x *ContractV2) ProtoReflect() protoreflect.Message
func (*ContractV2) Reset ¶ added in v0.5.0
func (x *ContractV2) Reset()
func (*ContractV2) String ¶ added in v0.5.0
func (x *ContractV2) String() string
type DebugV2 ¶ added in v0.5.0
type DebugV2 struct { GasLimit uint64 `protobuf:"varint,1,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` NewStateRoot []byte `protobuf:"bytes,2,opt,name=new_state_root,json=newStateRoot,proto3" json:"new_state_root,omitempty"` NewAccInputHash []byte `protobuf:"bytes,3,opt,name=new_acc_input_hash,json=newAccInputHash,proto3" json:"new_acc_input_hash,omitempty"` NewLocalExitRoot []byte `protobuf:"bytes,4,opt,name=new_local_exit_root,json=newLocalExitRoot,proto3" json:"new_local_exit_root,omitempty"` NewBatchNum uint64 `protobuf:"varint,5,opt,name=new_batch_num,json=newBatchNum,proto3" json:"new_batch_num,omitempty"` // contains filtered or unexported fields }
func (*DebugV2) Descriptor
deprecated
added in
v0.5.0
func (*DebugV2) GetGasLimit ¶ added in v0.5.0
func (*DebugV2) GetNewAccInputHash ¶ added in v0.5.0
func (*DebugV2) GetNewBatchNum ¶ added in v0.5.0
func (*DebugV2) GetNewLocalExitRoot ¶ added in v0.5.0
func (*DebugV2) GetNewStateRoot ¶ added in v0.5.0
func (*DebugV2) ProtoMessage ¶ added in v0.5.0
func (*DebugV2) ProtoMessage()
func (*DebugV2) ProtoReflect ¶ added in v0.5.0
func (x *DebugV2) ProtoReflect() protoreflect.Message
type ExecutorError ¶ added in v0.0.990
type ExecutorError int32
const ( ExecutorError_EXECUTOR_ERROR_UNSPECIFIED ExecutorError = 0 // EXECUTOR_ERROR_NO_ERROR indicates there was no error ExecutorError_EXECUTOR_ERROR_NO_ERROR ExecutorError = 1 // EXECUTOR_ERROR_DB_ERROR indicates that there is an error connecting to the database ExecutorError_EXECUTOR_ERROR_DB_ERROR ExecutorError = 2 // EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_STEPS indicates that the main execution exceeded the maximum number of steps ExecutorError_EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_STEPS ExecutorError = 3 // EXECUTOR_ERROR_COUNTERS_OVERFLOW_KECCAK indicates that the keccak counter exceeded the maximum ExecutorError_EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_KECCAK ExecutorError = 4 // EXECUTOR_ERROR_COUNTERS_OVERFLOW_BINARY indicates that the binary counter exceeded the maximum ExecutorError_EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_BINARY ExecutorError = 5 // EXECUTOR_ERROR_COUNTERS_OVERFLOW_MEM indicates that the memory align counter exceeded the maximum ExecutorError_EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_MEM ExecutorError = 6 // EXECUTOR_ERROR_COUNTERS_OVERFLOW_ARITH indicates that the arith counter exceeded the maximum ExecutorError_EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_ARITH ExecutorError = 7 // EXECUTOR_ERROR_COUNTERS_OVERFLOW_PADDING indicates that the padding counter exceeded the maximum ExecutorError_EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_PADDING ExecutorError = 8 // EXECUTOR_ERROR_COUNTERS_OVERFLOW_POSEIDON indicates that the poseidon counter exceeded the maximum ExecutorError_EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_POSEIDON ExecutorError = 9 // EXECUTOR_ERROR_UNSUPPORTED_FORK_ID indicates that the fork id is not supported ExecutorError_EXECUTOR_ERROR_UNSUPPORTED_FORK_ID ExecutorError = 10 // EXECUTOR_ERROR_BALANCE_MISMATCH indicates that there is a balance mismatch error in the ROM ExecutorError_EXECUTOR_ERROR_BALANCE_MISMATCH ExecutorError = 11 // EXECUTOR_ERROR_FEA2SCALAR indicates that there is a fea2scalar error in the execution ExecutorError_EXECUTOR_ERROR_FEA2SCALAR ExecutorError = 12 // EXECUTOR_ERROR_TOS32 indicates that there is a TOS32 error in the execution ExecutorError_EXECUTOR_ERROR_TOS32 ExecutorError = 13 // EXECUTOR_ERROR_SM_MAIN_INVALID_UNSIGNED_TX indicates that there is an unsigned TX in a non-process batch (i.e. in a prover request) ExecutorError_EXECUTOR_ERROR_SM_MAIN_INVALID_UNSIGNED_TX ExecutorError = 14 // EXECUTOR_ERROR_SM_MAIN_INVALID_NO_COUNTERS indicates that there is a no-counters request in a non-process batch (i.e. in a prover request) ExecutorError_EXECUTOR_ERROR_SM_MAIN_INVALID_NO_COUNTERS ExecutorError = 15 // EXECUTOR_ERROR_SM_MAIN_ARITH_ECRECOVER_DIVIDE_BY_ZERO indicates that there is a divide-by-zero situation during an ECRecover ExecutorError_EXECUTOR_ERROR_SM_MAIN_ARITH_ECRECOVER_DIVIDE_BY_ZERO ExecutorError = 16 // EXECUTOR_ERROR_SM_MAIN_ADDRESS_OUT_OF_RANGE indicates that an address is out of valid memory space range ExecutorError_EXECUTOR_ERROR_SM_MAIN_ADDRESS_OUT_OF_RANGE ExecutorError = 17 // EXECUTOR_ERROR_SM_MAIN_ADDRESS_NEGATIVE indicates that an address is negative ExecutorError_EXECUTOR_ERROR_SM_MAIN_ADDRESS_NEGATIVE ExecutorError = 18 // EXECUTOR_ERROR_SM_MAIN_STORAGE_INVALID_KEY indicates that a register value is out of range while building storage key ExecutorError_EXECUTOR_ERROR_SM_MAIN_STORAGE_INVALID_KEY ExecutorError = 19 // EXECUTOR_ERROR_SM_MAIN_HASHK indicates that a register value is out of range while calculating a Keccak hash ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHK ExecutorError = 20 // EXECUTOR_ERROR_SM_MAIN_HASHK_SIZE_OUT_OF_RANGE indicates that a size register value is out of range while calculating a Keccak hash ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHK_SIZE_OUT_OF_RANGE ExecutorError = 21 // EXECUTOR_ERROR_SM_MAIN_HASHK_POSITION_NEGATIVE indicates that a position register value is negative while calculating a Keccak hash ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHK_POSITION_NEGATIVE ExecutorError = 22 // EXECUTOR_ERROR_SM_MAIN_HASHK_POSITION_PLUS_SIZE_OUT_OF_RANGE indicates that a position register value plus a size register value is out of range while calculating a Keccak hash ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHK_POSITION_PLUS_SIZE_OUT_OF_RANGE ExecutorError = 23 // EXECUTOR_ERROR_SM_MAIN_HASHKDIGEST_ADDRESS_NOT_FOUND indicates that an address has not been found while calculating a Keccak hash digest ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHKDIGEST_ADDRESS_NOT_FOUND ExecutorError = 24 // EXECUTOR_ERROR_SM_MAIN_HASHKDIGEST_NOT_COMPLETED indicates that the hash has not been completed while calling a Keccak hash digest ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHKDIGEST_NOT_COMPLETED ExecutorError = 25 // EXECUTOR_ERROR_SM_MAIN_HASHP indicates that a register value is out of range while calculating a Poseidon hash ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHP ExecutorError = 26 // EXECUTOR_ERROR_SM_MAIN_HASHP_SIZE_OUT_OF_RANGE indicates that a size register value is out of range while calculating a Poseidon hash ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHP_SIZE_OUT_OF_RANGE ExecutorError = 27 // EXECUTOR_ERROR_SM_MAIN_HASHP_POSITION_NEGATIVE indicates that a position register value is negative while calculating a Poseidon hash ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHP_POSITION_NEGATIVE ExecutorError = 28 // EXECUTOR_ERROR_SM_MAIN_HASHP_POSITION_PLUS_SIZE_OUT_OF_RANGE indicates that a position register value plus a size register value is out of range while calculating a Poseidon hash ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHP_POSITION_PLUS_SIZE_OUT_OF_RANGE ExecutorError = 29 // EXECUTOR_ERROR_SM_MAIN_HASHPDIGEST_ADDRESS_NOT_FOUND indicates that an address has not been found while calculating a Poseidon hash digest ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHPDIGEST_ADDRESS_NOT_FOUND ExecutorError = 30 // EXECUTOR_ERROR_SM_MAIN_HASHPDIGEST_NOT_COMPLETED indicates that the hash has not been completed while calling a Poseidon hash digest ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHPDIGEST_NOT_COMPLETED ExecutorError = 31 // EXECUTOR_ERROR_SM_MAIN_MEMALIGN_OFFSET_OUT_OF_RANGE indicates that the an offset register value is out of range while doing a mem align operation ExecutorError_EXECUTOR_ERROR_SM_MAIN_MEMALIGN_OFFSET_OUT_OF_RANGE ExecutorError = 32 // EXECUTOR_ERROR_SM_MAIN_MULTIPLE_FREEIN indicates that we got more than one free inputs in one ROM instruction ExecutorError_EXECUTOR_ERROR_SM_MAIN_MULTIPLE_FREEIN ExecutorError = 33 // EXECUTOR_ERROR_SM_MAIN_ASSERT indicates that the ROM assert instruction failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_ASSERT ExecutorError = 34 // EXECUTOR_ERROR_SM_MAIN_MEMORY indicates that the memory instruction check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_MEMORY ExecutorError = 35 // EXECUTOR_ERROR_SM_MAIN_STORAGE_READ_MISMATCH indicates that the storage read instruction check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_STORAGE_READ_MISMATCH ExecutorError = 36 // EXECUTOR_ERROR_SM_MAIN_STORAGE_WRITE_MISMATCH indicates that the storage read instruction check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_STORAGE_WRITE_MISMATCH ExecutorError = 37 // EXECUTOR_ERROR_SM_MAIN_HASHK_VALUE_MISMATCH indicates that the Keccak hash instruction value check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHK_VALUE_MISMATCH ExecutorError = 38 // EXECUTOR_ERROR_SM_MAIN_HASHK_PADDING_MISMATCH indicates that the Keccak hash instruction padding check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHK_PADDING_MISMATCH ExecutorError = 39 // EXECUTOR_ERROR_SM_MAIN_HASHK_SIZE_MISMATCH indicates that the Keccak hash instruction size check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHK_SIZE_MISMATCH ExecutorError = 40 // EXECUTOR_ERROR_SM_MAIN_HASHKLEN_LENGTH_MISMATCH indicates that the Keccak hash length instruction length check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHKLEN_LENGTH_MISMATCH ExecutorError = 41 // EXECUTOR_ERROR_SM_MAIN_HASHKLEN_CALLED_TWICE indicates that the Keccak hash length instruction called once check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHKLEN_CALLED_TWICE ExecutorError = 42 // EXECUTOR_ERROR_SM_MAIN_HASHKDIGEST_NOT_FOUND indicates that the Keccak hash digest instruction slot not found ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHKDIGEST_NOT_FOUND ExecutorError = 43 // EXECUTOR_ERROR_SM_MAIN_HASHKDIGEST_DIGEST_MISMATCH indicates that the Keccak hash digest instruction digest check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHKDIGEST_DIGEST_MISMATCH ExecutorError = 44 // EXECUTOR_ERROR_SM_MAIN_HASHKDIGEST_CALLED_TWICE indicates that the Keccak hash digest instruction called once check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHKDIGEST_CALLED_TWICE ExecutorError = 45 // EXECUTOR_ERROR_SM_MAIN_HASHP_VALUE_MISMATCH indicates that the Poseidon hash instruction value check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHP_VALUE_MISMATCH ExecutorError = 46 // EXECUTOR_ERROR_SM_MAIN_HASHP_PADDING_MISMATCH indicates that the Poseidon hash instruction padding check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHP_PADDING_MISMATCH ExecutorError = 47 // EXECUTOR_ERROR_SM_MAIN_HASHP_SIZE_MISMATCH indicates that the Poseidon hash instruction size check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHP_SIZE_MISMATCH ExecutorError = 48 // EXECUTOR_ERROR_SM_MAIN_HASHPLEN_LENGTH_MISMATCH indicates that the Poseidon hash length instruction length check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHPLEN_LENGTH_MISMATCH ExecutorError = 49 // EXECUTOR_ERROR_SM_MAIN_HASHPLEN_CALLED_TWICE indicates that the Poseidon hash length instruction called once check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHPLEN_CALLED_TWICE ExecutorError = 50 // EXECUTOR_ERROR_SM_MAIN_HASHPDIGEST_DIGEST_MISMATCH indicates that the Poseidon hash digest instruction digest check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHPDIGEST_DIGEST_MISMATCH ExecutorError = 51 // EXECUTOR_ERROR_SM_MAIN_HASHPDIGEST_CALLED_TWICE indicates that the Poseidon hash digest instruction called once check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHPDIGEST_CALLED_TWICE ExecutorError = 52 // EXECUTOR_ERROR_SM_MAIN_ARITH_MISMATCH indicates that the arith instruction check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_ARITH_MISMATCH ExecutorError = 53 // EXECUTOR_ERROR_SM_MAIN_ARITH_ECRECOVER_MISMATCH indicates that the arith ECRecover instruction check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_ARITH_ECRECOVER_MISMATCH ExecutorError = 54 // EXECUTOR_ERROR_SM_MAIN_BINARY_ADD_MISMATCH indicates that the binary add instruction check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_BINARY_ADD_MISMATCH ExecutorError = 55 // EXECUTOR_ERROR_SM_MAIN_BINARY_SUB_MISMATCH indicates that the binary sub instruction check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_BINARY_SUB_MISMATCH ExecutorError = 56 // EXECUTOR_ERROR_SM_MAIN_BINARY_LT_MISMATCH indicates that the binary less than instruction check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_BINARY_LT_MISMATCH ExecutorError = 57 // EXECUTOR_ERROR_SM_MAIN_BINARY_SLT_MISMATCH indicates that the binary signed less than instruction check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_BINARY_SLT_MISMATCH ExecutorError = 58 // EXECUTOR_ERROR_SM_MAIN_BINARY_EQ_MISMATCH indicates that the binary equal instruction check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_BINARY_EQ_MISMATCH ExecutorError = 59 // EXECUTOR_ERROR_SM_MAIN_BINARY_AND_MISMATCH indicates that the binary and instruction check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_BINARY_AND_MISMATCH ExecutorError = 60 // EXECUTOR_ERROR_SM_MAIN_BINARY_OR_MISMATCH indicates that the binary or instruction check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_BINARY_OR_MISMATCH ExecutorError = 61 // EXECUTOR_ERROR_SM_MAIN_BINARY_XOR_MISMATCH indicates that the binary xor instruction check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_BINARY_XOR_MISMATCH ExecutorError = 62 // EXECUTOR_ERROR_SM_MAIN_MEMALIGN_WRITE_MISMATCH indicates that the memory align write instruction check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_MEMALIGN_WRITE_MISMATCH ExecutorError = 63 // EXECUTOR_ERROR_SM_MAIN_MEMALIGN_WRITE8_MISMATCH indicates that the memory align write 8 instruction check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_MEMALIGN_WRITE8_MISMATCH ExecutorError = 64 // EXECUTOR_ERROR_SM_MAIN_MEMALIGN_READ_MISMATCH indicates that the memory align read instruction check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_MEMALIGN_READ_MISMATCH ExecutorError = 65 // EXECUTOR_ERROR_SM_MAIN_JMPN_OUT_OF_RANGE indicates that the JMPN instruction found a jump position out of range ExecutorError_EXECUTOR_ERROR_SM_MAIN_JMPN_OUT_OF_RANGE ExecutorError = 66 // EXECUTOR_ERROR_SM_MAIN_HASHK_READ_OUT_OF_RANGE indicates that the main execution Keccak check found read out of range ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHK_READ_OUT_OF_RANGE ExecutorError = 67 // EXECUTOR_ERROR_SM_MAIN_HASHP_READ_OUT_OF_RANGE indicates that the main execution Poseidon check found read out of range ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHP_READ_OUT_OF_RANGE ExecutorError = 68 // EXECUTOR_ERROR_INVALID_OLD_STATE_ROOT indicates that the input parameter old_state_root is invalid ExecutorError_EXECUTOR_ERROR_INVALID_OLD_STATE_ROOT ExecutorError = 69 // EXECUTOR_ERROR_INVALID_OLD_ACC_INPUT_HASH indicates that the input parameter old_acc_input_hash is invalid ExecutorError_EXECUTOR_ERROR_INVALID_OLD_ACC_INPUT_HASH ExecutorError = 70 // EXECUTOR_ERROR_INVALID_CHAIN_ID indicates that the input parameter chain_id is invalid ExecutorError_EXECUTOR_ERROR_INVALID_CHAIN_ID ExecutorError = 71 // EXECUTOR_ERROR_INVALID_BATCH_L2_DATA indicates that the input parameter batch_l2_data is invalid ExecutorError_EXECUTOR_ERROR_INVALID_BATCH_L2_DATA ExecutorError = 72 // EXECUTOR_ERROR_INVALID_GLOBAL_EXIT_ROOT indicates that the input parameter global_exit_root is invalid ExecutorError_EXECUTOR_ERROR_INVALID_GLOBAL_EXIT_ROOT ExecutorError = 73 // EXECUTOR_ERROR_INVALID_COINBASE indicates that the input parameter coinbase (i.e. sequencer address) is invalid ExecutorError_EXECUTOR_ERROR_INVALID_COINBASE ExecutorError = 74 // EXECUTOR_ERROR_INVALID_FROM indicates that the input parameter from is invalid ExecutorError_EXECUTOR_ERROR_INVALID_FROM ExecutorError = 75 // EXECUTOR_ERROR_INVALID_DB_KEY indicates that the input parameter db key is invalid ExecutorError_EXECUTOR_ERROR_INVALID_DB_KEY ExecutorError = 76 // EXECUTOR_ERROR_INVALID_DB_VALUE indicates that the input parameter db value is invalid ExecutorError_EXECUTOR_ERROR_INVALID_DB_VALUE ExecutorError = 77 // EXECUTOR_ERROR_INVALID_CONTRACTS_BYTECODE_KEY indicates that the input parameter contracts_bytecode key is invalid ExecutorError_EXECUTOR_ERROR_INVALID_CONTRACTS_BYTECODE_KEY ExecutorError = 78 // EXECUTOR_ERROR_INVALID_CONTRACTS_BYTECODE_VALUE indicates that the input parameter contracts_bytecode value is invalid ExecutorError_EXECUTOR_ERROR_INVALID_CONTRACTS_BYTECODE_VALUE ExecutorError = 79 // EXECUTOR_ERROR_INVALID_GET_KEY indicates that the input parameter get key is invalid, e.g. is true but fork_id<5 ExecutorError_EXECUTOR_ERROR_INVALID_GET_KEY ExecutorError = 80 // START V2 EXECUTOR ERRORS // EXECUTOR_ERROR_COUNTERS_OVERFLOW_SHA256 indicates that the SHA-256 counter exceeded the maximum ExecutorError_EXECUTOR_ERROR_SM_MAIN_COUNTERS_OVERFLOW_SHA256 ExecutorError = 81 // EXECUTOR_ERROR_SM_MAIN_HASHS indicates that a register value is out of range while calculating a SHA-256 hash ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHS ExecutorError = 82 // EXECUTOR_ERROR_SM_MAIN_HASHS_SIZE_OUT_OF_RANGE indicates that a size register value is out of range while calculating a SHA-256 hash ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHS_SIZE_OUT_OF_RANGE ExecutorError = 83 // EXECUTOR_ERROR_SM_MAIN_HASHS_POSITION_NEGATIVE indicates that a position register value is negative while calculating a SHA-256 hash ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHS_POSITION_NEGATIVE ExecutorError = 84 // EXECUTOR_ERROR_SM_MAIN_HASHS_POSITION_PLUS_SIZE_OUT_OF_RANGE indicates that a position register value plus a size register value is out of range while calculating a SHA-256 hash ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHS_POSITION_PLUS_SIZE_OUT_OF_RANGE ExecutorError = 85 // EXECUTOR_ERROR_SM_MAIN_HASHSDIGEST_ADDRESS_NOT_FOUND indicates that an address has not been found while calculating a SHA-256 hash digest ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHSDIGEST_ADDRESS_NOT_FOUND ExecutorError = 86 // EXECUTOR_ERROR_SM_MAIN_HASHSDIGEST_NOT_COMPLETED indicates that the hash has not been completed while calling a SHA-256 hash digest ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHSDIGEST_NOT_COMPLETED ExecutorError = 87 // EXECUTOR_ERROR_SM_MAIN_HASHS_VALUE_MISMATCH indicates that the SHA-256 hash instruction value check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHS_VALUE_MISMATCH ExecutorError = 88 // EXECUTOR_ERROR_SM_MAIN_HASHS_PADDING_MISMATCH indicates that the SHA-256 hash instruction padding check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHS_PADDING_MISMATCH ExecutorError = 89 // EXECUTOR_ERROR_SM_MAIN_HASHS_SIZE_MISMATCH indicates that the SHA-256 hash instruction size check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHS_SIZE_MISMATCH ExecutorError = 90 // EXECUTOR_ERROR_SM_MAIN_HASHSLEN_LENGTH_MISMATCH indicates that the SHA-256 hash length instruction length check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHSLEN_LENGTH_MISMATCH ExecutorError = 91 // EXECUTOR_ERROR_SM_MAIN_HASHSLEN_CALLED_TWICE indicates that the SHA-256 hash length instruction called once check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHSLEN_CALLED_TWICE ExecutorError = 92 // EXECUTOR_ERROR_SM_MAIN_HASHSDIGEST_NOT_FOUND indicates that the SHA-256 hash digest instruction slot not found ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHSDIGEST_NOT_FOUND ExecutorError = 93 // EXECUTOR_ERROR_SM_MAIN_HASHSDIGEST_DIGEST_MISMATCH indicates that the SHA-256 hash digest instruction digest check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHSDIGEST_DIGEST_MISMATCH ExecutorError = 94 // EXECUTOR_ERROR_SM_MAIN_HASHSDIGEST_CALLED_TWICE indicates that the SHA-256 hash digest instruction called once check failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHSDIGEST_CALLED_TWICE ExecutorError = 95 // EXECUTOR_ERROR_SM_MAIN_HASHS_READ_OUT_OF_RANGE indicates that the main execution SHA-256 check found read out of range ExecutorError_EXECUTOR_ERROR_SM_MAIN_HASHS_READ_OUT_OF_RANGE ExecutorError = 96 // EXECUTOR_ERROR_INVALID_L1_INFO_ROOT indicates that the input parameter L1 info root value is invalid ExecutorError_EXECUTOR_ERROR_INVALID_L1_INFO_ROOT ExecutorError = 97 // EXECUTOR_ERROR_INVALID_FORCED_BLOCKHASH_L1 indicates that the input parameter forced blockhash L1 value is invalid ExecutorError_EXECUTOR_ERROR_INVALID_FORCED_BLOCKHASH_L1 ExecutorError = 98 // EXECUTOR_ERROR_INVALID_L1_DATA_V2_GLOBAL_EXIT_ROOT indicates that the input parameter L1 data V2 global exit root value is invalid ExecutorError_EXECUTOR_ERROR_INVALID_L1_DATA_V2_GLOBAL_EXIT_ROOT ExecutorError = 99 // EXECUTOR_ERROR_INVALID_L1_DATA_V2_BLOCK_HASH_L1 indicates that the input parameter L1 data V2 block hash L1 value is invalid ExecutorError_EXECUTOR_ERROR_INVALID_L1_DATA_V2_BLOCK_HASH_L1 ExecutorError = 100 // EXECUTOR_ERROR_INVALID_L1_SMT_PROOF indicates that the input parameter L1 data V2 SMT proof value is invalid ExecutorError_EXECUTOR_ERROR_INVALID_L1_SMT_PROOF ExecutorError = 101 // EXECUTOR_ERROR_INVALID_BALANCE indicates that the input parameter balance value is invalid ExecutorError_EXECUTOR_ERROR_INVALID_BALANCE ExecutorError = 102 // EXECUTOR_ERROR_SM_MAIN_BINARY_LT4_MISMATCH indicates that the binary instruction less than four opcode failed ExecutorError_EXECUTOR_ERROR_SM_MAIN_BINARY_LT4_MISMATCH ExecutorError = 103 // EXECUTOR_ERROR_INVALID_NEW_STATE_ROOT indicates that the input parameter new_state_root is invalid ExecutorError_EXECUTOR_ERROR_INVALID_NEW_STATE_ROOT ExecutorError = 104 // EXECUTOR_ERROR_INVALID_NEW_ACC_INPUT_HASH indicates that the input parameter new_acc_input_hash is invalid ExecutorError_EXECUTOR_ERROR_INVALID_NEW_ACC_INPUT_HASH ExecutorError = 105 // EXECUTOR_ERROR_INVALID_NEW_LOCAL_EXIT_ROOT indicates that the input parameter new_local_exit_root is invalid ExecutorError_EXECUTOR_ERROR_INVALID_NEW_LOCAL_EXIT_ROOT ExecutorError = 106 // EXECUTOR_ERROR_DB_KEY_NOT_FOUND indicates that the requested key was not found in the database ExecutorError_EXECUTOR_ERROR_DB_KEY_NOT_FOUND ExecutorError = 107 // EXECUTOR_ERROR_SMT_INVALID_DATA_SIZE indicates that the SMT data returned from the database does not have a valid size ExecutorError_EXECUTOR_ERROR_SMT_INVALID_DATA_SIZE ExecutorError = 108 // EXECUTOR_ERROR_HASHDB_GRPC_ERROR indicates that the executor failed calling the HashDB service via GRPC, when configured ExecutorError_EXECUTOR_ERROR_HASHDB_GRPC_ERROR ExecutorError = 109 // EXECUTOR_ERROR_STATE_MANAGER indicates an error in the State Manager ExecutorError_EXECUTOR_ERROR_STATE_MANAGER ExecutorError = 110 )
func ExecutorErrorCode ¶
func ExecutorErrorCode(err error) ExecutorError
ExecutorErrorCode returns the error code for a given error
func (ExecutorError) Descriptor ¶ added in v0.0.990
func (ExecutorError) Descriptor() protoreflect.EnumDescriptor
func (ExecutorError) Enum ¶ added in v0.0.990
func (x ExecutorError) Enum() *ExecutorError
func (ExecutorError) EnumDescriptor
deprecated
added in
v0.0.990
func (ExecutorError) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExecutorError.Descriptor instead.
func (ExecutorError) Number ¶ added in v0.0.990
func (x ExecutorError) Number() protoreflect.EnumNumber
func (ExecutorError) String ¶ added in v0.0.990
func (x ExecutorError) String() string
func (ExecutorError) Type ¶ added in v0.0.990
func (ExecutorError) Type() protoreflect.EnumType
type ExecutorServiceClient ¶ added in v0.0.990
type ExecutorServiceClient interface { // / Processes a batch ProcessBatch(ctx context.Context, in *ProcessBatchRequest, opts ...grpc.CallOption) (*ProcessBatchResponse, error) ProcessBatchV2(ctx context.Context, in *ProcessBatchRequestV2, opts ...grpc.CallOption) (*ProcessBatchResponseV2, error) GetFlushStatus(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetFlushStatusResponse, error) }
ExecutorServiceClient is the client API for ExecutorService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewExecutorClient ¶
func NewExecutorClient(ctx context.Context, c Config) (ExecutorServiceClient, *grpc.ClientConn, context.CancelFunc)
NewExecutorClient is the executor client constructor.
func NewExecutorServiceClient ¶ added in v0.0.990
func NewExecutorServiceClient(cc grpc.ClientConnInterface) ExecutorServiceClient
type ExecutorServiceServer ¶ added in v0.0.990
type ExecutorServiceServer interface { // / Processes a batch ProcessBatch(context.Context, *ProcessBatchRequest) (*ProcessBatchResponse, error) ProcessBatchV2(context.Context, *ProcessBatchRequestV2) (*ProcessBatchResponseV2, error) GetFlushStatus(context.Context, *emptypb.Empty) (*GetFlushStatusResponse, error) // contains filtered or unexported methods }
ExecutorServiceServer is the server API for ExecutorService service. All implementations must embed UnimplementedExecutorServiceServer for forward compatibility
type FullTrace ¶ added in v0.5.0
type FullTrace struct { Context *TransactionContext `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` Steps []*TransactionStep `protobuf:"bytes,2,rep,name=steps,proto3" json:"steps,omitempty"` // contains filtered or unexported fields }
func (*FullTrace) Descriptor
deprecated
added in
v0.5.0
func (*FullTrace) GetContext ¶ added in v0.5.0
func (x *FullTrace) GetContext() *TransactionContext
func (*FullTrace) GetSteps ¶ added in v0.5.0
func (x *FullTrace) GetSteps() []*TransactionStep
func (*FullTrace) ProtoMessage ¶ added in v0.5.0
func (*FullTrace) ProtoMessage()
func (*FullTrace) ProtoReflect ¶ added in v0.5.0
func (x *FullTrace) ProtoReflect() protoreflect.Message
type FullTraceV2 ¶ added in v0.5.0
type FullTraceV2 struct { Context *TransactionContextV2 `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` Steps []*TransactionStepV2 `protobuf:"bytes,2,rep,name=steps,proto3" json:"steps,omitempty"` // contains filtered or unexported fields }
func (*FullTraceV2) Descriptor
deprecated
added in
v0.5.0
func (*FullTraceV2) Descriptor() ([]byte, []int)
Deprecated: Use FullTraceV2.ProtoReflect.Descriptor instead.
func (*FullTraceV2) GetContext ¶ added in v0.5.0
func (x *FullTraceV2) GetContext() *TransactionContextV2
func (*FullTraceV2) GetSteps ¶ added in v0.5.0
func (x *FullTraceV2) GetSteps() []*TransactionStepV2
func (*FullTraceV2) ProtoMessage ¶ added in v0.5.0
func (*FullTraceV2) ProtoMessage()
func (*FullTraceV2) ProtoReflect ¶ added in v0.5.0
func (x *FullTraceV2) ProtoReflect() protoreflect.Message
func (*FullTraceV2) Reset ¶ added in v0.5.0
func (x *FullTraceV2) Reset()
func (*FullTraceV2) String ¶ added in v0.5.0
func (x *FullTraceV2) String() string
type GetFlushStatusResponse ¶ added in v0.0.990
type GetFlushStatusResponse struct { StoredFlushId uint64 `protobuf:"varint,1,opt,name=stored_flush_id,json=storedFlushId,proto3" json:"stored_flush_id,omitempty"` StoringFlushId uint64 `protobuf:"varint,2,opt,name=storing_flush_id,json=storingFlushId,proto3" json:"storing_flush_id,omitempty"` LastFlushId uint64 `protobuf:"varint,3,opt,name=last_flush_id,json=lastFlushId,proto3" json:"last_flush_id,omitempty"` PendingToFlushNodes uint64 `protobuf:"varint,4,opt,name=pending_to_flush_nodes,json=pendingToFlushNodes,proto3" json:"pending_to_flush_nodes,omitempty"` PendingToFlushProgram uint64 `` /* 129-byte string literal not displayed */ StoringNodes uint64 `protobuf:"varint,6,opt,name=storing_nodes,json=storingNodes,proto3" json:"storing_nodes,omitempty"` StoringProgram uint64 `protobuf:"varint,7,opt,name=storing_program,json=storingProgram,proto3" json:"storing_program,omitempty"` ProverId string `protobuf:"bytes,8,opt,name=prover_id,json=proverId,proto3" json:"prover_id,omitempty"` // contains filtered or unexported fields }
* @dev GetFlushStatusResponse @param {last_sent_flush_id} - id of the last flush data sent to database @param {sending_flush_id} - id of the flush data being sent now to database @param {last_flush_id} - id assigned to the last call to flush @param {pending_to_flush_nodes} - number of SMT nodes pending to flush @param {pending_to_flush_program} - number of SC programs pending to flush @param {storing_nodes} - number of SMT nodes being stored in the hash database @param {storing_program} - number of SC programs being stored in the hash database @param {prover_id} - id assigned to this instance of the prover process
func (*GetFlushStatusResponse) Descriptor
deprecated
added in
v0.0.990
func (*GetFlushStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFlushStatusResponse.ProtoReflect.Descriptor instead.
func (*GetFlushStatusResponse) GetLastFlushId ¶ added in v0.0.990
func (x *GetFlushStatusResponse) GetLastFlushId() uint64
func (*GetFlushStatusResponse) GetPendingToFlushNodes ¶ added in v0.0.990
func (x *GetFlushStatusResponse) GetPendingToFlushNodes() uint64
func (*GetFlushStatusResponse) GetPendingToFlushProgram ¶ added in v0.0.990
func (x *GetFlushStatusResponse) GetPendingToFlushProgram() uint64
func (*GetFlushStatusResponse) GetProverId ¶ added in v0.0.990
func (x *GetFlushStatusResponse) GetProverId() string
func (*GetFlushStatusResponse) GetStoredFlushId ¶ added in v0.0.990
func (x *GetFlushStatusResponse) GetStoredFlushId() uint64
func (*GetFlushStatusResponse) GetStoringFlushId ¶ added in v0.0.990
func (x *GetFlushStatusResponse) GetStoringFlushId() uint64
func (*GetFlushStatusResponse) GetStoringNodes ¶ added in v0.0.990
func (x *GetFlushStatusResponse) GetStoringNodes() uint64
func (*GetFlushStatusResponse) GetStoringProgram ¶ added in v0.0.990
func (x *GetFlushStatusResponse) GetStoringProgram() uint64
func (*GetFlushStatusResponse) ProtoMessage ¶ added in v0.0.990
func (*GetFlushStatusResponse) ProtoMessage()
func (*GetFlushStatusResponse) ProtoReflect ¶ added in v0.0.990
func (x *GetFlushStatusResponse) ProtoReflect() protoreflect.Message
func (*GetFlushStatusResponse) Reset ¶ added in v0.0.990
func (x *GetFlushStatusResponse) Reset()
func (*GetFlushStatusResponse) String ¶ added in v0.0.990
func (x *GetFlushStatusResponse) String() string
type InfoReadWrite ¶ added in v0.0.990
type InfoReadWrite struct { // If nonce="" then it has not been set; if set, string is in decimal (base 10) Nonce string `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"` // If balance="" then it has not been set; if set, string is in decimal (base 10) Balance string `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"` // contains filtered or unexported fields }
func (*InfoReadWrite) Descriptor
deprecated
added in
v0.0.990
func (*InfoReadWrite) Descriptor() ([]byte, []int)
Deprecated: Use InfoReadWrite.ProtoReflect.Descriptor instead.
func (*InfoReadWrite) GetBalance ¶ added in v0.0.990
func (x *InfoReadWrite) GetBalance() string
func (*InfoReadWrite) GetNonce ¶ added in v0.0.990
func (x *InfoReadWrite) GetNonce() string
func (*InfoReadWrite) ProtoMessage ¶ added in v0.0.990
func (*InfoReadWrite) ProtoMessage()
func (*InfoReadWrite) ProtoReflect ¶ added in v0.0.990
func (x *InfoReadWrite) ProtoReflect() protoreflect.Message
func (*InfoReadWrite) Reset ¶ added in v0.0.990
func (x *InfoReadWrite) Reset()
func (*InfoReadWrite) String ¶ added in v0.0.990
func (x *InfoReadWrite) String() string
type InfoReadWriteV2 ¶ added in v0.5.0
type InfoReadWriteV2 struct { // If nonce="" then it has not been set; if set, string is in decimal (base 10) Nonce string `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"` // If balance="" then it has not been set; if set, string is in decimal (base 10) Balance string `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"` // contains filtered or unexported fields }
func (*InfoReadWriteV2) Descriptor
deprecated
added in
v0.5.0
func (*InfoReadWriteV2) Descriptor() ([]byte, []int)
Deprecated: Use InfoReadWriteV2.ProtoReflect.Descriptor instead.
func (*InfoReadWriteV2) GetBalance ¶ added in v0.5.0
func (x *InfoReadWriteV2) GetBalance() string
func (*InfoReadWriteV2) GetNonce ¶ added in v0.5.0
func (x *InfoReadWriteV2) GetNonce() string
func (*InfoReadWriteV2) ProtoMessage ¶ added in v0.5.0
func (*InfoReadWriteV2) ProtoMessage()
func (*InfoReadWriteV2) ProtoReflect ¶ added in v0.5.0
func (x *InfoReadWriteV2) ProtoReflect() protoreflect.Message
func (*InfoReadWriteV2) Reset ¶ added in v0.5.0
func (x *InfoReadWriteV2) Reset()
func (*InfoReadWriteV2) String ¶ added in v0.5.0
func (x *InfoReadWriteV2) String() string
type L1DataV2 ¶ added in v0.5.0
type L1DataV2 struct { GlobalExitRoot []byte `protobuf:"bytes,1,opt,name=global_exit_root,json=globalExitRoot,proto3" json:"global_exit_root,omitempty"` BlockHashL1 []byte `protobuf:"bytes,2,opt,name=block_hash_l1,json=blockHashL1,proto3" json:"block_hash_l1,omitempty"` MinTimestamp uint64 `protobuf:"varint,3,opt,name=min_timestamp,json=minTimestamp,proto3" json:"min_timestamp,omitempty"` SmtProof [][]byte `protobuf:"bytes,4,rep,name=smt_proof,json=smtProof,proto3" json:"smt_proof,omitempty"` // contains filtered or unexported fields }
func (*L1DataV2) Descriptor
deprecated
added in
v0.5.0
func (*L1DataV2) GetBlockHashL1 ¶ added in v0.5.0
func (*L1DataV2) GetGlobalExitRoot ¶ added in v0.5.0
func (*L1DataV2) GetMinTimestamp ¶ added in v0.5.0
func (*L1DataV2) GetSmtProof ¶ added in v0.5.0
func (*L1DataV2) ProtoMessage ¶ added in v0.5.0
func (*L1DataV2) ProtoMessage()
func (*L1DataV2) ProtoReflect ¶ added in v0.5.0
func (x *L1DataV2) ProtoReflect() protoreflect.Message
type Log ¶ added in v0.0.990
type Log struct { // Address of the contract that generated the event Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // List of topics provided by the contract Topics [][]byte `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"` // Supplied by the contract, usually ABI-encoded Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // Batch in which the transaction was included BatchNumber uint64 `protobuf:"varint,4,opt,name=batch_number,json=batchNumber,proto3" json:"batch_number,omitempty"` // Hash of the transaction TxHash []byte `protobuf:"bytes,5,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // Index of the transaction in the block TxIndex uint32 `protobuf:"varint,6,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"` // Hash of the batch in which the transaction was included BatchHash []byte `protobuf:"bytes,7,opt,name=batch_hash,json=batchHash,proto3" json:"batch_hash,omitempty"` // Index of the log in the block Index uint32 `protobuf:"varint,8,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
func (*Log) Descriptor
deprecated
added in
v0.0.990
func (*Log) GetAddress ¶ added in v0.0.990
func (*Log) GetBatchHash ¶ added in v0.0.990
func (*Log) GetBatchNumber ¶ added in v0.0.990
func (*Log) GetTxIndex ¶ added in v0.0.990
func (*Log) ProtoMessage ¶ added in v0.0.990
func (*Log) ProtoMessage()
func (*Log) ProtoReflect ¶ added in v0.0.990
func (x *Log) ProtoReflect() protoreflect.Message
type LogV2 ¶ added in v0.5.0
type LogV2 struct { // Address of the contract that generated the event Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // List of topics provided by the contract Topics [][]byte `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"` // Supplied by the contract, usually ABI-encoded Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // Batch in which the transaction was included BlockNumber uint64 `protobuf:"varint,4,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` // Hash of the transaction TxHash []byte `protobuf:"bytes,5,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // Hash of the transaction L2 computed by the rom TxHashL2 []byte `protobuf:"bytes,6,opt,name=tx_hash_l2,json=txHashL2,proto3" json:"tx_hash_l2,omitempty"` // Index of the transaction in the block TxIndex uint32 `protobuf:"varint,7,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"` // Hash of the block in which the transaction was included BlockHash []byte `protobuf:"bytes,8,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // Index of the log in the block Index uint32 `protobuf:"varint,9,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
func (*LogV2) Descriptor
deprecated
added in
v0.5.0
func (*LogV2) GetAddress ¶ added in v0.5.0
func (*LogV2) GetBlockHash ¶ added in v0.5.0
func (*LogV2) GetBlockNumber ¶ added in v0.5.0
func (*LogV2) GetTxHashL2 ¶ added in v0.5.0
func (*LogV2) GetTxIndex ¶ added in v0.5.0
func (*LogV2) ProtoMessage ¶ added in v0.5.0
func (*LogV2) ProtoMessage()
func (*LogV2) ProtoReflect ¶ added in v0.5.0
func (x *LogV2) ProtoReflect() protoreflect.Message
type OverrideAccount ¶ added in v0.5.0
type OverrideAccount struct { // Fake balance to set for the account before executing the call. Balance []byte `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"` // Fake nonce to set for the account before executing the call. Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` // Fake EVM bytecode to inject into the account before executing the call. Code []byte `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` // Fake key-value mapping to override all slots in the account storage before executing the call. State map[string]string `` /* 151-byte string literal not displayed */ // Fake key-value mapping to override individual slots in the account storage before executing the call. StateDiff map[string]string `` /* 176-byte string literal not displayed */ // contains filtered or unexported fields }
OverrideAccount indicates the overriding fields of account during the execution of a message call. Note, state and stateDiff can't be specified at the same time. If state is set, message execution will only use the data in the given state. Otherwise if statDiff is set, all diff will be applied first and then execute the call message.
func (*OverrideAccount) Descriptor
deprecated
added in
v0.5.0
func (*OverrideAccount) Descriptor() ([]byte, []int)
Deprecated: Use OverrideAccount.ProtoReflect.Descriptor instead.
func (*OverrideAccount) GetBalance ¶ added in v0.5.0
func (x *OverrideAccount) GetBalance() []byte
func (*OverrideAccount) GetCode ¶ added in v0.5.0
func (x *OverrideAccount) GetCode() []byte
func (*OverrideAccount) GetNonce ¶ added in v0.5.0
func (x *OverrideAccount) GetNonce() uint64
func (*OverrideAccount) GetState ¶ added in v0.5.0
func (x *OverrideAccount) GetState() map[string]string
func (*OverrideAccount) GetStateDiff ¶ added in v0.5.0
func (x *OverrideAccount) GetStateDiff() map[string]string
func (*OverrideAccount) ProtoMessage ¶ added in v0.5.0
func (*OverrideAccount) ProtoMessage()
func (*OverrideAccount) ProtoReflect ¶ added in v0.5.0
func (x *OverrideAccount) ProtoReflect() protoreflect.Message
func (*OverrideAccount) Reset ¶ added in v0.5.0
func (x *OverrideAccount) Reset()
func (*OverrideAccount) String ¶ added in v0.5.0
func (x *OverrideAccount) String() string
type OverrideAccountV2 ¶ added in v0.5.0
type OverrideAccountV2 struct { // Fake balance to set for the account before executing the call. Balance []byte `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"` // Fake nonce to set for the account before executing the call. Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` // Fake EVM bytecode to inject into the account before executing the call. Code []byte `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` // Fake key-value mapping to override all slots in the account storage before executing the call. State map[string]string `` /* 151-byte string literal not displayed */ // Fake key-value mapping to override individual slots in the account storage before executing the call. StateDiff map[string]string `` /* 176-byte string literal not displayed */ // contains filtered or unexported fields }
OverrideAccount indicates the overriding fields of account during the execution of a message call. Note, state and stateDiff can't be specified at the same time. If state is set, message execution will only use the data in the given state. Otherwise if statDiff is set, all diff will be applied first and then execute the call message.
func (*OverrideAccountV2) Descriptor
deprecated
added in
v0.5.0
func (*OverrideAccountV2) Descriptor() ([]byte, []int)
Deprecated: Use OverrideAccountV2.ProtoReflect.Descriptor instead.
func (*OverrideAccountV2) GetBalance ¶ added in v0.5.0
func (x *OverrideAccountV2) GetBalance() []byte
func (*OverrideAccountV2) GetCode ¶ added in v0.5.0
func (x *OverrideAccountV2) GetCode() []byte
func (*OverrideAccountV2) GetNonce ¶ added in v0.5.0
func (x *OverrideAccountV2) GetNonce() uint64
func (*OverrideAccountV2) GetState ¶ added in v0.5.0
func (x *OverrideAccountV2) GetState() map[string]string
func (*OverrideAccountV2) GetStateDiff ¶ added in v0.5.0
func (x *OverrideAccountV2) GetStateDiff() map[string]string
func (*OverrideAccountV2) ProtoMessage ¶ added in v0.5.0
func (*OverrideAccountV2) ProtoMessage()
func (*OverrideAccountV2) ProtoReflect ¶ added in v0.5.0
func (x *OverrideAccountV2) ProtoReflect() protoreflect.Message
func (*OverrideAccountV2) Reset ¶ added in v0.5.0
func (x *OverrideAccountV2) Reset()
func (*OverrideAccountV2) String ¶ added in v0.5.0
func (x *OverrideAccountV2) String() string
type ProcessBatchRequest ¶ added in v0.0.990
type ProcessBatchRequest struct { OldStateRoot []byte `protobuf:"bytes,1,opt,name=old_state_root,json=oldStateRoot,proto3" json:"old_state_root,omitempty"` OldAccInputHash []byte `protobuf:"bytes,2,opt,name=old_acc_input_hash,json=oldAccInputHash,proto3" json:"old_acc_input_hash,omitempty"` OldBatchNum uint64 `protobuf:"varint,3,opt,name=old_batch_num,json=oldBatchNum,proto3" json:"old_batch_num,omitempty"` ChainId uint64 `protobuf:"varint,4,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` ForkId uint64 `protobuf:"varint,5,opt,name=fork_id,json=forkId,proto3" json:"fork_id,omitempty"` BatchL2Data []byte `protobuf:"bytes,6,opt,name=batch_l2_data,json=batchL2Data,proto3" json:"batch_l2_data,omitempty"` GlobalExitRoot []byte `protobuf:"bytes,7,opt,name=global_exit_root,json=globalExitRoot,proto3" json:"global_exit_root,omitempty"` EthTimestamp uint64 `protobuf:"varint,8,opt,name=eth_timestamp,json=ethTimestamp,proto3" json:"eth_timestamp,omitempty"` Coinbase string `protobuf:"bytes,9,opt,name=coinbase,proto3" json:"coinbase,omitempty"` UpdateMerkleTree uint32 `protobuf:"varint,10,opt,name=update_merkle_tree,json=updateMerkleTree,proto3" json:"update_merkle_tree,omitempty"` // flag to indicate that counters should not be taken into account NoCounters uint64 `protobuf:"varint,11,opt,name=no_counters,json=noCounters,proto3" json:"no_counters,omitempty"` // from is used for unsigned transactions with sender From string `protobuf:"bytes,12,opt,name=from,proto3" json:"from,omitempty"` // For testing purposes only Db map[string]string `` /* 146-byte string literal not displayed */ ContractsBytecode map[string]string `` // For debug/testing purpposes only. Don't fill this on production /* 201-byte string literal not displayed */ TraceConfig *TraceConfig `protobuf:"bytes,15,opt,name=trace_config,json=traceConfig,proto3" json:"trace_config,omitempty"` ContextId string `protobuf:"bytes,16,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"` // The state override set is an optional address-to-state mapping, // where each entry specifies some state to be ephemerally overridden // prior to executing the call. StateOverride map[string]*OverrideAccount `` /* 189-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ProcessBatchRequest) Descriptor
deprecated
added in
v0.0.990
func (*ProcessBatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProcessBatchRequest.ProtoReflect.Descriptor instead.
func (*ProcessBatchRequest) GetBatchL2Data ¶ added in v0.0.990
func (x *ProcessBatchRequest) GetBatchL2Data() []byte
func (*ProcessBatchRequest) GetChainId ¶ added in v0.0.990
func (x *ProcessBatchRequest) GetChainId() uint64
func (*ProcessBatchRequest) GetCoinbase ¶ added in v0.0.990
func (x *ProcessBatchRequest) GetCoinbase() string
func (*ProcessBatchRequest) GetContextId ¶ added in v0.0.990
func (x *ProcessBatchRequest) GetContextId() string
func (*ProcessBatchRequest) GetContractsBytecode ¶ added in v0.0.990
func (x *ProcessBatchRequest) GetContractsBytecode() map[string]string
func (*ProcessBatchRequest) GetDb ¶ added in v0.0.990
func (x *ProcessBatchRequest) GetDb() map[string]string
func (*ProcessBatchRequest) GetEthTimestamp ¶ added in v0.0.990
func (x *ProcessBatchRequest) GetEthTimestamp() uint64
func (*ProcessBatchRequest) GetForkId ¶ added in v0.0.990
func (x *ProcessBatchRequest) GetForkId() uint64
func (*ProcessBatchRequest) GetFrom ¶ added in v0.0.990
func (x *ProcessBatchRequest) GetFrom() string
func (*ProcessBatchRequest) GetGlobalExitRoot ¶ added in v0.0.990
func (x *ProcessBatchRequest) GetGlobalExitRoot() []byte
func (*ProcessBatchRequest) GetNoCounters ¶ added in v0.0.990
func (x *ProcessBatchRequest) GetNoCounters() uint64
func (*ProcessBatchRequest) GetOldAccInputHash ¶ added in v0.0.990
func (x *ProcessBatchRequest) GetOldAccInputHash() []byte
func (*ProcessBatchRequest) GetOldBatchNum ¶ added in v0.0.990
func (x *ProcessBatchRequest) GetOldBatchNum() uint64
func (*ProcessBatchRequest) GetOldStateRoot ¶ added in v0.0.990
func (x *ProcessBatchRequest) GetOldStateRoot() []byte
func (*ProcessBatchRequest) GetStateOverride ¶ added in v0.5.0
func (x *ProcessBatchRequest) GetStateOverride() map[string]*OverrideAccount
func (*ProcessBatchRequest) GetTraceConfig ¶ added in v0.0.990
func (x *ProcessBatchRequest) GetTraceConfig() *TraceConfig
func (*ProcessBatchRequest) GetUpdateMerkleTree ¶ added in v0.0.990
func (x *ProcessBatchRequest) GetUpdateMerkleTree() uint32
func (*ProcessBatchRequest) ProtoMessage ¶ added in v0.0.990
func (*ProcessBatchRequest) ProtoMessage()
func (*ProcessBatchRequest) ProtoReflect ¶ added in v0.0.990
func (x *ProcessBatchRequest) ProtoReflect() protoreflect.Message
func (*ProcessBatchRequest) Reset ¶ added in v0.0.990
func (x *ProcessBatchRequest) Reset()
func (*ProcessBatchRequest) String ¶ added in v0.0.990
func (x *ProcessBatchRequest) String() string
type ProcessBatchRequestV2 ¶ added in v0.5.0
type ProcessBatchRequestV2 struct { OldStateRoot []byte `protobuf:"bytes,1,opt,name=old_state_root,json=oldStateRoot,proto3" json:"old_state_root,omitempty"` OldAccInputHash []byte `protobuf:"bytes,2,opt,name=old_acc_input_hash,json=oldAccInputHash,proto3" json:"old_acc_input_hash,omitempty"` OldBatchNum uint64 `protobuf:"varint,3,opt,name=old_batch_num,json=oldBatchNum,proto3" json:"old_batch_num,omitempty"` ChainId uint64 `protobuf:"varint,4,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` ForkId uint64 `protobuf:"varint,5,opt,name=fork_id,json=forkId,proto3" json:"fork_id,omitempty"` BatchL2Data []byte `protobuf:"bytes,6,opt,name=batch_l2_data,json=batchL2Data,proto3" json:"batch_l2_data,omitempty"` L1InfoRoot []byte `protobuf:"bytes,7,opt,name=l1_info_root,json=l1InfoRoot,proto3" json:"l1_info_root,omitempty"` TimestampLimit uint64 `protobuf:"varint,8,opt,name=timestamp_limit,json=timestampLimit,proto3" json:"timestamp_limit,omitempty"` Coinbase string `protobuf:"bytes,9,opt,name=coinbase,proto3" json:"coinbase,omitempty"` ForcedBlockhashL1 []byte `protobuf:"bytes,10,opt,name=forced_blockhash_l1,json=forcedBlockhashL1,proto3" json:"forced_blockhash_l1,omitempty"` // flag to indicate if the merkle tree needs to be updated UpdateMerkleTree uint32 `protobuf:"varint,11,opt,name=update_merkle_tree,json=updateMerkleTree,proto3" json:"update_merkle_tree,omitempty"` // flag to indicate that counters should not be taken into account NoCounters uint32 `protobuf:"varint,12,opt,name=no_counters,json=noCounters,proto3" json:"no_counters,omitempty"` // from is used for unsigned transactions with sender From string `protobuf:"bytes,13,opt,name=from,proto3" json:"from,omitempty"` // flag to skip the check when l1Data is verified SkipVerifyL1InfoRoot uint32 `` /* 129-byte string literal not displayed */ // flag to skip the restriction to start a batch with a changeL2Block transaction SkipFirstChangeL2Block uint32 `` /* 135-byte string literal not displayed */ // flag to skip writing the block info root in the state SkipWriteBlockInfoRoot uint32 `` /* 135-byte string literal not displayed */ // lInfoTree information L1InfoTreeData map[uint32]*L1DataV2 `` /* 197-byte string literal not displayed */ // For testing purposes only Db map[string]string `` /* 146-byte string literal not displayed */ ContractsBytecode map[string]string `` // For debug/testing purpposes only. Don't fill this on production /* 201-byte string literal not displayed */ TraceConfig *TraceConfigV2 `protobuf:"bytes,20,opt,name=trace_config,json=traceConfig,proto3" json:"trace_config,omitempty"` ContextId string `protobuf:"bytes,21,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"` GetKeys uint32 `protobuf:"varint,22,opt,name=get_keys,json=getKeys,proto3" json:"get_keys,omitempty"` // if 1, the keys used to read or write storage values will be returned // The state override set is an optional address-to-state mapping, // where each entry specifies some state to be ephemerally overridden // prior to executing the call. StateOverride map[string]*OverrideAccountV2 `` /* 189-byte string literal not displayed */ Debug *DebugV2 `protobuf:"bytes,24,opt,name=debug,proto3" json:"debug,omitempty"` // contains filtered or unexported fields }
func (*ProcessBatchRequestV2) Descriptor
deprecated
added in
v0.5.0
func (*ProcessBatchRequestV2) Descriptor() ([]byte, []int)
Deprecated: Use ProcessBatchRequestV2.ProtoReflect.Descriptor instead.
func (*ProcessBatchRequestV2) GetBatchL2Data ¶ added in v0.5.0
func (x *ProcessBatchRequestV2) GetBatchL2Data() []byte
func (*ProcessBatchRequestV2) GetChainId ¶ added in v0.5.0
func (x *ProcessBatchRequestV2) GetChainId() uint64
func (*ProcessBatchRequestV2) GetCoinbase ¶ added in v0.5.0
func (x *ProcessBatchRequestV2) GetCoinbase() string
func (*ProcessBatchRequestV2) GetContextId ¶ added in v0.5.0
func (x *ProcessBatchRequestV2) GetContextId() string
func (*ProcessBatchRequestV2) GetContractsBytecode ¶ added in v0.5.0
func (x *ProcessBatchRequestV2) GetContractsBytecode() map[string]string
func (*ProcessBatchRequestV2) GetDb ¶ added in v0.5.0
func (x *ProcessBatchRequestV2) GetDb() map[string]string
func (*ProcessBatchRequestV2) GetDebug ¶ added in v0.5.0
func (x *ProcessBatchRequestV2) GetDebug() *DebugV2
func (*ProcessBatchRequestV2) GetForcedBlockhashL1 ¶ added in v0.5.0
func (x *ProcessBatchRequestV2) GetForcedBlockhashL1() []byte
func (*ProcessBatchRequestV2) GetForkId ¶ added in v0.5.0
func (x *ProcessBatchRequestV2) GetForkId() uint64
func (*ProcessBatchRequestV2) GetFrom ¶ added in v0.5.0
func (x *ProcessBatchRequestV2) GetFrom() string
func (*ProcessBatchRequestV2) GetGetKeys ¶ added in v0.5.0
func (x *ProcessBatchRequestV2) GetGetKeys() uint32
func (*ProcessBatchRequestV2) GetL1InfoRoot ¶ added in v0.5.0
func (x *ProcessBatchRequestV2) GetL1InfoRoot() []byte
func (*ProcessBatchRequestV2) GetL1InfoTreeData ¶ added in v0.5.0
func (x *ProcessBatchRequestV2) GetL1InfoTreeData() map[uint32]*L1DataV2
func (*ProcessBatchRequestV2) GetNoCounters ¶ added in v0.5.0
func (x *ProcessBatchRequestV2) GetNoCounters() uint32
func (*ProcessBatchRequestV2) GetOldAccInputHash ¶ added in v0.5.0
func (x *ProcessBatchRequestV2) GetOldAccInputHash() []byte
func (*ProcessBatchRequestV2) GetOldBatchNum ¶ added in v0.5.0
func (x *ProcessBatchRequestV2) GetOldBatchNum() uint64
func (*ProcessBatchRequestV2) GetOldStateRoot ¶ added in v0.5.0
func (x *ProcessBatchRequestV2) GetOldStateRoot() []byte
func (*ProcessBatchRequestV2) GetSkipFirstChangeL2Block ¶ added in v0.5.0
func (x *ProcessBatchRequestV2) GetSkipFirstChangeL2Block() uint32
func (*ProcessBatchRequestV2) GetSkipVerifyL1InfoRoot ¶ added in v0.5.0
func (x *ProcessBatchRequestV2) GetSkipVerifyL1InfoRoot() uint32
func (*ProcessBatchRequestV2) GetSkipWriteBlockInfoRoot ¶ added in v0.5.0
func (x *ProcessBatchRequestV2) GetSkipWriteBlockInfoRoot() uint32
func (*ProcessBatchRequestV2) GetStateOverride ¶ added in v0.5.0
func (x *ProcessBatchRequestV2) GetStateOverride() map[string]*OverrideAccountV2
func (*ProcessBatchRequestV2) GetTimestampLimit ¶ added in v0.5.0
func (x *ProcessBatchRequestV2) GetTimestampLimit() uint64
func (*ProcessBatchRequestV2) GetTraceConfig ¶ added in v0.5.0
func (x *ProcessBatchRequestV2) GetTraceConfig() *TraceConfigV2
func (*ProcessBatchRequestV2) GetUpdateMerkleTree ¶ added in v0.5.0
func (x *ProcessBatchRequestV2) GetUpdateMerkleTree() uint32
func (*ProcessBatchRequestV2) ProtoMessage ¶ added in v0.5.0
func (*ProcessBatchRequestV2) ProtoMessage()
func (*ProcessBatchRequestV2) ProtoReflect ¶ added in v0.5.0
func (x *ProcessBatchRequestV2) ProtoReflect() protoreflect.Message
func (*ProcessBatchRequestV2) Reset ¶ added in v0.5.0
func (x *ProcessBatchRequestV2) Reset()
func (*ProcessBatchRequestV2) String ¶ added in v0.5.0
func (x *ProcessBatchRequestV2) String() string
type ProcessBatchResponse ¶ added in v0.0.990
type ProcessBatchResponse struct { NewStateRoot []byte `protobuf:"bytes,1,opt,name=new_state_root,json=newStateRoot,proto3" json:"new_state_root,omitempty"` NewAccInputHash []byte `protobuf:"bytes,2,opt,name=new_acc_input_hash,json=newAccInputHash,proto3" json:"new_acc_input_hash,omitempty"` NewLocalExitRoot []byte `protobuf:"bytes,3,opt,name=new_local_exit_root,json=newLocalExitRoot,proto3" json:"new_local_exit_root,omitempty"` NewBatchNum uint64 `protobuf:"varint,4,opt,name=new_batch_num,json=newBatchNum,proto3" json:"new_batch_num,omitempty"` CntKeccakHashes uint32 `protobuf:"varint,5,opt,name=cnt_keccak_hashes,json=cntKeccakHashes,proto3" json:"cnt_keccak_hashes,omitempty"` CntPoseidonHashes uint32 `protobuf:"varint,6,opt,name=cnt_poseidon_hashes,json=cntPoseidonHashes,proto3" json:"cnt_poseidon_hashes,omitempty"` CntPoseidonPaddings uint32 `protobuf:"varint,7,opt,name=cnt_poseidon_paddings,json=cntPoseidonPaddings,proto3" json:"cnt_poseidon_paddings,omitempty"` CntMemAligns uint32 `protobuf:"varint,8,opt,name=cnt_mem_aligns,json=cntMemAligns,proto3" json:"cnt_mem_aligns,omitempty"` CntArithmetics uint32 `protobuf:"varint,9,opt,name=cnt_arithmetics,json=cntArithmetics,proto3" json:"cnt_arithmetics,omitempty"` CntBinaries uint32 `protobuf:"varint,10,opt,name=cnt_binaries,json=cntBinaries,proto3" json:"cnt_binaries,omitempty"` CntSteps uint32 `protobuf:"varint,11,opt,name=cnt_steps,json=cntSteps,proto3" json:"cnt_steps,omitempty"` CumulativeGasUsed uint64 `protobuf:"varint,12,opt,name=cumulative_gas_used,json=cumulativeGasUsed,proto3" json:"cumulative_gas_used,omitempty"` Responses []*ProcessTransactionResponse `protobuf:"bytes,13,rep,name=responses,proto3" json:"responses,omitempty"` Error ExecutorError `protobuf:"varint,14,opt,name=error,proto3,enum=executor.v1.ExecutorError" json:"error,omitempty"` ReadWriteAddresses map[string]*InfoReadWrite `` /* 206-byte string literal not displayed */ FlushId uint64 `protobuf:"varint,16,opt,name=flush_id,json=flushId,proto3" json:"flush_id,omitempty"` StoredFlushId uint64 `protobuf:"varint,17,opt,name=stored_flush_id,json=storedFlushId,proto3" json:"stored_flush_id,omitempty"` ProverId string `protobuf:"bytes,18,opt,name=prover_id,json=proverId,proto3" json:"prover_id,omitempty"` ForkId uint64 `protobuf:"varint,19,opt,name=fork_id,json=forkId,proto3" json:"fork_id,omitempty"` // contains filtered or unexported fields }
func (*ProcessBatchResponse) Descriptor
deprecated
added in
v0.0.990
func (*ProcessBatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProcessBatchResponse.ProtoReflect.Descriptor instead.
func (*ProcessBatchResponse) GetCntArithmetics ¶ added in v0.0.990
func (x *ProcessBatchResponse) GetCntArithmetics() uint32
func (*ProcessBatchResponse) GetCntBinaries ¶ added in v0.0.990
func (x *ProcessBatchResponse) GetCntBinaries() uint32
func (*ProcessBatchResponse) GetCntKeccakHashes ¶ added in v0.0.990
func (x *ProcessBatchResponse) GetCntKeccakHashes() uint32
func (*ProcessBatchResponse) GetCntMemAligns ¶ added in v0.0.990
func (x *ProcessBatchResponse) GetCntMemAligns() uint32
func (*ProcessBatchResponse) GetCntPoseidonHashes ¶ added in v0.0.990
func (x *ProcessBatchResponse) GetCntPoseidonHashes() uint32
func (*ProcessBatchResponse) GetCntPoseidonPaddings ¶ added in v0.0.990
func (x *ProcessBatchResponse) GetCntPoseidonPaddings() uint32
func (*ProcessBatchResponse) GetCntSteps ¶ added in v0.0.990
func (x *ProcessBatchResponse) GetCntSteps() uint32
func (*ProcessBatchResponse) GetCumulativeGasUsed ¶ added in v0.0.990
func (x *ProcessBatchResponse) GetCumulativeGasUsed() uint64
func (*ProcessBatchResponse) GetError ¶ added in v0.0.990
func (x *ProcessBatchResponse) GetError() ExecutorError
func (*ProcessBatchResponse) GetFlushId ¶ added in v0.0.990
func (x *ProcessBatchResponse) GetFlushId() uint64
func (*ProcessBatchResponse) GetForkId ¶ added in v0.5.0
func (x *ProcessBatchResponse) GetForkId() uint64
func (*ProcessBatchResponse) GetNewAccInputHash ¶ added in v0.0.990
func (x *ProcessBatchResponse) GetNewAccInputHash() []byte
func (*ProcessBatchResponse) GetNewBatchNum ¶ added in v0.0.990
func (x *ProcessBatchResponse) GetNewBatchNum() uint64
func (*ProcessBatchResponse) GetNewLocalExitRoot ¶ added in v0.0.990
func (x *ProcessBatchResponse) GetNewLocalExitRoot() []byte
func (*ProcessBatchResponse) GetNewStateRoot ¶ added in v0.0.990
func (x *ProcessBatchResponse) GetNewStateRoot() []byte
func (*ProcessBatchResponse) GetProverId ¶ added in v0.0.990
func (x *ProcessBatchResponse) GetProverId() string
func (*ProcessBatchResponse) GetReadWriteAddresses ¶ added in v0.0.990
func (x *ProcessBatchResponse) GetReadWriteAddresses() map[string]*InfoReadWrite
func (*ProcessBatchResponse) GetResponses ¶ added in v0.0.990
func (x *ProcessBatchResponse) GetResponses() []*ProcessTransactionResponse
func (*ProcessBatchResponse) GetStoredFlushId ¶ added in v0.0.990
func (x *ProcessBatchResponse) GetStoredFlushId() uint64
func (*ProcessBatchResponse) ProtoMessage ¶ added in v0.0.990
func (*ProcessBatchResponse) ProtoMessage()
func (*ProcessBatchResponse) ProtoReflect ¶ added in v0.0.990
func (x *ProcessBatchResponse) ProtoReflect() protoreflect.Message
func (*ProcessBatchResponse) Reset ¶ added in v0.0.990
func (x *ProcessBatchResponse) Reset()
func (*ProcessBatchResponse) String ¶ added in v0.0.990
func (x *ProcessBatchResponse) String() string
type ProcessBatchResponseV2 ¶ added in v0.5.0
type ProcessBatchResponseV2 struct { NewStateRoot []byte `protobuf:"bytes,1,opt,name=new_state_root,json=newStateRoot,proto3" json:"new_state_root,omitempty"` NewAccInputHash []byte `protobuf:"bytes,2,opt,name=new_acc_input_hash,json=newAccInputHash,proto3" json:"new_acc_input_hash,omitempty"` NewLocalExitRoot []byte `protobuf:"bytes,3,opt,name=new_local_exit_root,json=newLocalExitRoot,proto3" json:"new_local_exit_root,omitempty"` NewBatchNum uint64 `protobuf:"varint,4,opt,name=new_batch_num,json=newBatchNum,proto3" json:"new_batch_num,omitempty"` CntKeccakHashes uint32 `protobuf:"varint,5,opt,name=cnt_keccak_hashes,json=cntKeccakHashes,proto3" json:"cnt_keccak_hashes,omitempty"` CntPoseidonHashes uint32 `protobuf:"varint,6,opt,name=cnt_poseidon_hashes,json=cntPoseidonHashes,proto3" json:"cnt_poseidon_hashes,omitempty"` CntPoseidonPaddings uint32 `protobuf:"varint,7,opt,name=cnt_poseidon_paddings,json=cntPoseidonPaddings,proto3" json:"cnt_poseidon_paddings,omitempty"` CntMemAligns uint32 `protobuf:"varint,8,opt,name=cnt_mem_aligns,json=cntMemAligns,proto3" json:"cnt_mem_aligns,omitempty"` CntArithmetics uint32 `protobuf:"varint,9,opt,name=cnt_arithmetics,json=cntArithmetics,proto3" json:"cnt_arithmetics,omitempty"` CntBinaries uint32 `protobuf:"varint,10,opt,name=cnt_binaries,json=cntBinaries,proto3" json:"cnt_binaries,omitempty"` CntSteps uint32 `protobuf:"varint,11,opt,name=cnt_steps,json=cntSteps,proto3" json:"cnt_steps,omitempty"` CntSha256Hashes uint32 `protobuf:"varint,12,opt,name=cnt_sha256_hashes,json=cntSha256Hashes,proto3" json:"cnt_sha256_hashes,omitempty"` BlockResponses []*ProcessBlockResponseV2 `protobuf:"bytes,13,rep,name=block_responses,json=blockResponses,proto3" json:"block_responses,omitempty"` Error ExecutorError `protobuf:"varint,14,opt,name=error,proto3,enum=executor.v1.ExecutorError" json:"error,omitempty"` ReadWriteAddresses map[string]*InfoReadWriteV2 `` /* 206-byte string literal not displayed */ FlushId uint64 `protobuf:"varint,16,opt,name=flush_id,json=flushId,proto3" json:"flush_id,omitempty"` StoredFlushId uint64 `protobuf:"varint,17,opt,name=stored_flush_id,json=storedFlushId,proto3" json:"stored_flush_id,omitempty"` ProverId string `protobuf:"bytes,18,opt,name=prover_id,json=proverId,proto3" json:"prover_id,omitempty"` GasUsed uint64 `protobuf:"varint,19,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` SmtKeys [][]byte `protobuf:"bytes,20,rep,name=smt_keys,json=smtKeys,proto3" json:"smt_keys,omitempty"` ProgramKeys [][]byte `protobuf:"bytes,21,rep,name=program_keys,json=programKeys,proto3" json:"program_keys,omitempty"` ForkId uint64 `protobuf:"varint,22,opt,name=fork_id,json=forkId,proto3" json:"fork_id,omitempty"` InvalidBatch uint32 `protobuf:"varint,23,opt,name=invalid_batch,json=invalidBatch,proto3" json:"invalid_batch,omitempty"` ErrorRom RomError `protobuf:"varint,24,opt,name=error_rom,json=errorRom,proto3,enum=executor.v1.RomError" json:"error_rom,omitempty"` // contains filtered or unexported fields }
func (*ProcessBatchResponseV2) Descriptor
deprecated
added in
v0.5.0
func (*ProcessBatchResponseV2) Descriptor() ([]byte, []int)
Deprecated: Use ProcessBatchResponseV2.ProtoReflect.Descriptor instead.
func (*ProcessBatchResponseV2) GetBlockResponses ¶ added in v0.5.0
func (x *ProcessBatchResponseV2) GetBlockResponses() []*ProcessBlockResponseV2
func (*ProcessBatchResponseV2) GetCntArithmetics ¶ added in v0.5.0
func (x *ProcessBatchResponseV2) GetCntArithmetics() uint32
func (*ProcessBatchResponseV2) GetCntBinaries ¶ added in v0.5.0
func (x *ProcessBatchResponseV2) GetCntBinaries() uint32
func (*ProcessBatchResponseV2) GetCntKeccakHashes ¶ added in v0.5.0
func (x *ProcessBatchResponseV2) GetCntKeccakHashes() uint32
func (*ProcessBatchResponseV2) GetCntMemAligns ¶ added in v0.5.0
func (x *ProcessBatchResponseV2) GetCntMemAligns() uint32
func (*ProcessBatchResponseV2) GetCntPoseidonHashes ¶ added in v0.5.0
func (x *ProcessBatchResponseV2) GetCntPoseidonHashes() uint32
func (*ProcessBatchResponseV2) GetCntPoseidonPaddings ¶ added in v0.5.0
func (x *ProcessBatchResponseV2) GetCntPoseidonPaddings() uint32
func (*ProcessBatchResponseV2) GetCntSha256Hashes ¶ added in v0.5.0
func (x *ProcessBatchResponseV2) GetCntSha256Hashes() uint32
func (*ProcessBatchResponseV2) GetCntSteps ¶ added in v0.5.0
func (x *ProcessBatchResponseV2) GetCntSteps() uint32
func (*ProcessBatchResponseV2) GetError ¶ added in v0.5.0
func (x *ProcessBatchResponseV2) GetError() ExecutorError
func (*ProcessBatchResponseV2) GetErrorRom ¶ added in v0.5.0
func (x *ProcessBatchResponseV2) GetErrorRom() RomError
func (*ProcessBatchResponseV2) GetFlushId ¶ added in v0.5.0
func (x *ProcessBatchResponseV2) GetFlushId() uint64
func (*ProcessBatchResponseV2) GetForkId ¶ added in v0.5.0
func (x *ProcessBatchResponseV2) GetForkId() uint64
func (*ProcessBatchResponseV2) GetGasUsed ¶ added in v0.5.0
func (x *ProcessBatchResponseV2) GetGasUsed() uint64
func (*ProcessBatchResponseV2) GetInvalidBatch ¶ added in v0.5.0
func (x *ProcessBatchResponseV2) GetInvalidBatch() uint32
func (*ProcessBatchResponseV2) GetNewAccInputHash ¶ added in v0.5.0
func (x *ProcessBatchResponseV2) GetNewAccInputHash() []byte
func (*ProcessBatchResponseV2) GetNewBatchNum ¶ added in v0.5.0
func (x *ProcessBatchResponseV2) GetNewBatchNum() uint64
func (*ProcessBatchResponseV2) GetNewLocalExitRoot ¶ added in v0.5.0
func (x *ProcessBatchResponseV2) GetNewLocalExitRoot() []byte
func (*ProcessBatchResponseV2) GetNewStateRoot ¶ added in v0.5.0
func (x *ProcessBatchResponseV2) GetNewStateRoot() []byte
func (*ProcessBatchResponseV2) GetProgramKeys ¶ added in v0.5.0
func (x *ProcessBatchResponseV2) GetProgramKeys() [][]byte
func (*ProcessBatchResponseV2) GetProverId ¶ added in v0.5.0
func (x *ProcessBatchResponseV2) GetProverId() string
func (*ProcessBatchResponseV2) GetReadWriteAddresses ¶ added in v0.5.0
func (x *ProcessBatchResponseV2) GetReadWriteAddresses() map[string]*InfoReadWriteV2
func (*ProcessBatchResponseV2) GetSmtKeys ¶ added in v0.5.0
func (x *ProcessBatchResponseV2) GetSmtKeys() [][]byte
func (*ProcessBatchResponseV2) GetStoredFlushId ¶ added in v0.5.0
func (x *ProcessBatchResponseV2) GetStoredFlushId() uint64
func (*ProcessBatchResponseV2) ProtoMessage ¶ added in v0.5.0
func (*ProcessBatchResponseV2) ProtoMessage()
func (*ProcessBatchResponseV2) ProtoReflect ¶ added in v0.5.0
func (x *ProcessBatchResponseV2) ProtoReflect() protoreflect.Message
func (*ProcessBatchResponseV2) Reset ¶ added in v0.5.0
func (x *ProcessBatchResponseV2) Reset()
func (*ProcessBatchResponseV2) String ¶ added in v0.5.0
func (x *ProcessBatchResponseV2) String() string
type ProcessBlockResponseV2 ¶ added in v0.5.0
type ProcessBlockResponseV2 struct { // The hash of the parent block. Must match the old_state_root ParentHash []byte `protobuf:"bytes,1,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty"` // l2 coinbase Coinbase string `protobuf:"bytes,2,opt,name=coinbase,proto3" json:"coinbase,omitempty"` // The maximum gas allowed in this block GasLimit uint64 `protobuf:"varint,3,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` // block number BlockNumber uint64 `protobuf:"varint,4,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` // timestamp used in the block Timestamp uint64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // global exit root l1InfoTree Ger []byte `protobuf:"bytes,6,opt,name=ger,proto3" json:"ger,omitempty"` // block hash L1 BlockHashL1 []byte `protobuf:"bytes,7,opt,name=block_hash_l1,json=blockHashL1,proto3" json:"block_hash_l1,omitempty"` // The total used gas by all transactions in this block GasUsed uint64 `protobuf:"varint,8,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` // The root of the block info tree BlockInfoRoot []byte `protobuf:"bytes,9,opt,name=block_info_root,json=blockInfoRoot,proto3" json:"block_info_root,omitempty"` // block hash (should match the new state root) BlockHash []byte `protobuf:"bytes,10,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // transaction responses Responses []*ProcessTransactionResponseV2 `protobuf:"bytes,11,rep,name=responses,proto3" json:"responses,omitempty"` // All Logs emited by LOG opcode during the block Logs []*LogV2 `protobuf:"bytes,12,rep,name=logs,proto3" json:"logs,omitempty"` // Any error encountered during block execution Error RomError `protobuf:"varint,13,opt,name=error,proto3,enum=executor.v1.RomError" json:"error,omitempty"` // contains filtered or unexported fields }
func (*ProcessBlockResponseV2) Descriptor
deprecated
added in
v0.5.0
func (*ProcessBlockResponseV2) Descriptor() ([]byte, []int)
Deprecated: Use ProcessBlockResponseV2.ProtoReflect.Descriptor instead.
func (*ProcessBlockResponseV2) GetBlockHash ¶ added in v0.5.0
func (x *ProcessBlockResponseV2) GetBlockHash() []byte
func (*ProcessBlockResponseV2) GetBlockHashL1 ¶ added in v0.5.0
func (x *ProcessBlockResponseV2) GetBlockHashL1() []byte
func (*ProcessBlockResponseV2) GetBlockInfoRoot ¶ added in v0.5.0
func (x *ProcessBlockResponseV2) GetBlockInfoRoot() []byte
func (*ProcessBlockResponseV2) GetBlockNumber ¶ added in v0.5.0
func (x *ProcessBlockResponseV2) GetBlockNumber() uint64
func (*ProcessBlockResponseV2) GetCoinbase ¶ added in v0.5.0
func (x *ProcessBlockResponseV2) GetCoinbase() string
func (*ProcessBlockResponseV2) GetError ¶ added in v0.5.0
func (x *ProcessBlockResponseV2) GetError() RomError
func (*ProcessBlockResponseV2) GetGasLimit ¶ added in v0.5.0
func (x *ProcessBlockResponseV2) GetGasLimit() uint64
func (*ProcessBlockResponseV2) GetGasUsed ¶ added in v0.5.0
func (x *ProcessBlockResponseV2) GetGasUsed() uint64
func (*ProcessBlockResponseV2) GetGer ¶ added in v0.5.0
func (x *ProcessBlockResponseV2) GetGer() []byte
func (*ProcessBlockResponseV2) GetLogs ¶ added in v0.5.0
func (x *ProcessBlockResponseV2) GetLogs() []*LogV2
func (*ProcessBlockResponseV2) GetParentHash ¶ added in v0.5.0
func (x *ProcessBlockResponseV2) GetParentHash() []byte
func (*ProcessBlockResponseV2) GetResponses ¶ added in v0.5.0
func (x *ProcessBlockResponseV2) GetResponses() []*ProcessTransactionResponseV2
func (*ProcessBlockResponseV2) GetTimestamp ¶ added in v0.5.0
func (x *ProcessBlockResponseV2) GetTimestamp() uint64
func (*ProcessBlockResponseV2) ProtoMessage ¶ added in v0.5.0
func (*ProcessBlockResponseV2) ProtoMessage()
func (*ProcessBlockResponseV2) ProtoReflect ¶ added in v0.5.0
func (x *ProcessBlockResponseV2) ProtoReflect() protoreflect.Message
func (*ProcessBlockResponseV2) Reset ¶ added in v0.5.0
func (x *ProcessBlockResponseV2) Reset()
func (*ProcessBlockResponseV2) String ¶ added in v0.5.0
func (x *ProcessBlockResponseV2) String() string
type ProcessTransactionResponse ¶ added in v0.0.990
type ProcessTransactionResponse struct { // Hash of the transaction TxHash []byte `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // RLP encoded transaction // [nonce, gasPrice, gasLimit, to, value, data, v, r, s] RlpTx []byte `protobuf:"bytes,2,opt,name=rlp_tx,json=rlpTx,proto3" json:"rlp_tx,omitempty"` // Type indicates legacy transaction // It will be always 0 (legacy) in the executor Type uint32 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"` // Returned data from the runtime (function result or data supplied with revert opcode) ReturnValue []byte `protobuf:"bytes,4,opt,name=return_value,json=returnValue,proto3" json:"return_value,omitempty"` // Total gas left as result of execution GasLeft uint64 `protobuf:"varint,5,opt,name=gas_left,json=gasLeft,proto3" json:"gas_left,omitempty"` // Total gas used as result of execution or gas estimation GasUsed uint64 `protobuf:"varint,6,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` // Total gas refunded as result of execution GasRefunded uint64 `protobuf:"varint,7,opt,name=gas_refunded,json=gasRefunded,proto3" json:"gas_refunded,omitempty"` // Any error encountered during the execution Error RomError `protobuf:"varint,8,opt,name=error,proto3,enum=executor.v1.RomError" json:"error,omitempty"` // New SC Address in case of SC creation CreateAddress string `protobuf:"bytes,9,opt,name=create_address,json=createAddress,proto3" json:"create_address,omitempty"` // State Root StateRoot []byte `protobuf:"bytes,10,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` // Logs emited by LOG opcode Logs []*Log `protobuf:"bytes,11,rep,name=logs,proto3" json:"logs,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"` // Flag to indicate if opcode 'GASPRICE' has been called HasGaspriceOpcode uint32 `protobuf:"varint,17,opt,name=has_gasprice_opcode,json=hasGaspriceOpcode,proto3" json:"has_gasprice_opcode,omitempty"` // Flag to indicate if opcode 'BALANCE' has been called HasBalanceOpcode uint32 `protobuf:"varint,18,opt,name=has_balance_opcode,json=hasBalanceOpcode,proto3" json:"has_balance_opcode,omitempty"` // contains filtered or unexported fields }
func (*ProcessTransactionResponse) Descriptor
deprecated
added in
v0.0.990
func (*ProcessTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProcessTransactionResponse.ProtoReflect.Descriptor instead.
func (*ProcessTransactionResponse) GetCreateAddress ¶ added in v0.0.990
func (x *ProcessTransactionResponse) GetCreateAddress() string
func (*ProcessTransactionResponse) GetEffectiveGasPrice ¶ added in v0.0.990
func (x *ProcessTransactionResponse) GetEffectiveGasPrice() string
func (*ProcessTransactionResponse) GetEffectivePercentage ¶ added in v0.0.990
func (x *ProcessTransactionResponse) GetEffectivePercentage() uint32
func (*ProcessTransactionResponse) GetError ¶ added in v0.0.990
func (x *ProcessTransactionResponse) GetError() RomError
func (*ProcessTransactionResponse) GetFullTrace ¶ added in v0.5.0
func (x *ProcessTransactionResponse) GetFullTrace() *FullTrace
func (*ProcessTransactionResponse) GetGasLeft ¶ added in v0.0.990
func (x *ProcessTransactionResponse) GetGasLeft() uint64
func (*ProcessTransactionResponse) GetGasRefunded ¶ added in v0.0.990
func (x *ProcessTransactionResponse) GetGasRefunded() uint64
func (*ProcessTransactionResponse) GetGasUsed ¶ added in v0.0.990
func (x *ProcessTransactionResponse) GetGasUsed() uint64
func (*ProcessTransactionResponse) GetHasBalanceOpcode ¶ added in v0.4.0
func (x *ProcessTransactionResponse) GetHasBalanceOpcode() uint32
func (*ProcessTransactionResponse) GetHasGaspriceOpcode ¶ added in v0.4.0
func (x *ProcessTransactionResponse) GetHasGaspriceOpcode() uint32
func (*ProcessTransactionResponse) GetLogs ¶ added in v0.0.990
func (x *ProcessTransactionResponse) GetLogs() []*Log
func (*ProcessTransactionResponse) GetReturnValue ¶ added in v0.0.990
func (x *ProcessTransactionResponse) GetReturnValue() []byte
func (*ProcessTransactionResponse) GetRlpTx ¶ added in v0.0.990
func (x *ProcessTransactionResponse) GetRlpTx() []byte
func (*ProcessTransactionResponse) GetStateRoot ¶ added in v0.0.990
func (x *ProcessTransactionResponse) GetStateRoot() []byte
func (*ProcessTransactionResponse) GetTxHash ¶ added in v0.0.990
func (x *ProcessTransactionResponse) GetTxHash() []byte
func (*ProcessTransactionResponse) GetType ¶ added in v0.0.990
func (x *ProcessTransactionResponse) GetType() uint32
func (*ProcessTransactionResponse) ProtoMessage ¶ added in v0.0.990
func (*ProcessTransactionResponse) ProtoMessage()
func (*ProcessTransactionResponse) ProtoReflect ¶ added in v0.0.990
func (x *ProcessTransactionResponse) ProtoReflect() protoreflect.Message
func (*ProcessTransactionResponse) Reset ¶ added in v0.0.990
func (x *ProcessTransactionResponse) Reset()
func (*ProcessTransactionResponse) String ¶ added in v0.0.990
func (x *ProcessTransactionResponse) String() string
type ProcessTransactionResponseV2 ¶ added in v0.5.0
type ProcessTransactionResponseV2 struct { // Hash of the transaction TxHash []byte `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // Hash of the transaction computed by the ROM TxHashL2 []byte `protobuf:"bytes,2,opt,name=tx_hash_l2,json=txHashL2,proto3" json:"tx_hash_l2,omitempty"` // RLP encoded transaction // [nonce, gasPrice, gasLimit, to, value, data, v, r, s] RlpTx []byte `protobuf:"bytes,3,opt,name=rlp_tx,json=rlpTx,proto3" json:"rlp_tx,omitempty"` // The hash of the block where this transaction was included BlockHash []byte `protobuf:"bytes,4,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // The block number where this transaction was included BlockNumber uint64 `protobuf:"varint,5,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` // Type indicates legacy transaction // It will be always 0 (legacy) in the executor Type uint32 `protobuf:"varint,6,opt,name=type,proto3" json:"type,omitempty"` // Returned data from the runtime (function result or data supplied with revert opcode) ReturnValue []byte `protobuf:"bytes,7,opt,name=return_value,json=returnValue,proto3" json:"return_value,omitempty"` // Total gas left as result of execution GasLeft uint64 `protobuf:"varint,8,opt,name=gas_left,json=gasLeft,proto3" json:"gas_left,omitempty"` // Total gas used as result of execution or gas estimation GasUsed uint64 `protobuf:"varint,9,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` // Cumulative gas used by this tranaction in the block CumulativeGasUsed uint64 `protobuf:"varint,10,opt,name=cumulative_gas_used,json=cumulativeGasUsed,proto3" json:"cumulative_gas_used,omitempty"` // Total gas refunded as result of execution GasRefunded uint64 `protobuf:"varint,11,opt,name=gas_refunded,json=gasRefunded,proto3" json:"gas_refunded,omitempty"` // Any error encountered during the execution Error RomError `protobuf:"varint,12,opt,name=error,proto3,enum=executor.v1.RomError" json:"error,omitempty"` // New SC Address in case of SC creation CreateAddress string `protobuf:"bytes,13,opt,name=create_address,json=createAddress,proto3" json:"create_address,omitempty"` // State Root StateRoot []byte `protobuf:"bytes,14,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` // All Logs emited by LOG opcode during this transaction Logs []*LogV2 `protobuf:"bytes,15,rep,name=logs,proto3" json:"logs,omitempty"` // Trace FullTrace *FullTraceV2 `protobuf:"bytes,16,opt,name=full_trace,json=fullTrace,proto3" json:"full_trace,omitempty"` // Efective Gas Price EffectiveGasPrice string `protobuf:"bytes,17,opt,name=effective_gas_price,json=effectiveGasPrice,proto3" json:"effective_gas_price,omitempty"` EffectivePercentage uint32 `protobuf:"varint,18,opt,name=effective_percentage,json=effectivePercentage,proto3" json:"effective_percentage,omitempty"` // Flag to indicate if opcode 'GASPRICE' has been called HasGaspriceOpcode uint32 `protobuf:"varint,19,opt,name=has_gasprice_opcode,json=hasGaspriceOpcode,proto3" json:"has_gasprice_opcode,omitempty"` // Flag to indicate if opcode 'BALANCE' has been called HasBalanceOpcode uint32 `protobuf:"varint,20,opt,name=has_balance_opcode,json=hasBalanceOpcode,proto3" json:"has_balance_opcode,omitempty"` // contains filtered or unexported fields }
func (*ProcessTransactionResponseV2) Descriptor
deprecated
added in
v0.5.0
func (*ProcessTransactionResponseV2) Descriptor() ([]byte, []int)
Deprecated: Use ProcessTransactionResponseV2.ProtoReflect.Descriptor instead.
func (*ProcessTransactionResponseV2) GetBlockHash ¶ added in v0.5.0
func (x *ProcessTransactionResponseV2) GetBlockHash() []byte
func (*ProcessTransactionResponseV2) GetBlockNumber ¶ added in v0.5.0
func (x *ProcessTransactionResponseV2) GetBlockNumber() uint64
func (*ProcessTransactionResponseV2) GetCreateAddress ¶ added in v0.5.0
func (x *ProcessTransactionResponseV2) GetCreateAddress() string
func (*ProcessTransactionResponseV2) GetCumulativeGasUsed ¶ added in v0.5.0
func (x *ProcessTransactionResponseV2) GetCumulativeGasUsed() uint64
func (*ProcessTransactionResponseV2) GetEffectiveGasPrice ¶ added in v0.5.0
func (x *ProcessTransactionResponseV2) GetEffectiveGasPrice() string
func (*ProcessTransactionResponseV2) GetEffectivePercentage ¶ added in v0.5.0
func (x *ProcessTransactionResponseV2) GetEffectivePercentage() uint32
func (*ProcessTransactionResponseV2) GetError ¶ added in v0.5.0
func (x *ProcessTransactionResponseV2) GetError() RomError
func (*ProcessTransactionResponseV2) GetFullTrace ¶ added in v0.5.0
func (x *ProcessTransactionResponseV2) GetFullTrace() *FullTraceV2
func (*ProcessTransactionResponseV2) GetGasLeft ¶ added in v0.5.0
func (x *ProcessTransactionResponseV2) GetGasLeft() uint64
func (*ProcessTransactionResponseV2) GetGasRefunded ¶ added in v0.5.0
func (x *ProcessTransactionResponseV2) GetGasRefunded() uint64
func (*ProcessTransactionResponseV2) GetGasUsed ¶ added in v0.5.0
func (x *ProcessTransactionResponseV2) GetGasUsed() uint64
func (*ProcessTransactionResponseV2) GetHasBalanceOpcode ¶ added in v0.5.0
func (x *ProcessTransactionResponseV2) GetHasBalanceOpcode() uint32
func (*ProcessTransactionResponseV2) GetHasGaspriceOpcode ¶ added in v0.5.0
func (x *ProcessTransactionResponseV2) GetHasGaspriceOpcode() uint32
func (*ProcessTransactionResponseV2) GetLogs ¶ added in v0.5.0
func (x *ProcessTransactionResponseV2) GetLogs() []*LogV2
func (*ProcessTransactionResponseV2) GetReturnValue ¶ added in v0.5.0
func (x *ProcessTransactionResponseV2) GetReturnValue() []byte
func (*ProcessTransactionResponseV2) GetRlpTx ¶ added in v0.5.0
func (x *ProcessTransactionResponseV2) GetRlpTx() []byte
func (*ProcessTransactionResponseV2) GetStateRoot ¶ added in v0.5.0
func (x *ProcessTransactionResponseV2) GetStateRoot() []byte
func (*ProcessTransactionResponseV2) GetTxHash ¶ added in v0.5.0
func (x *ProcessTransactionResponseV2) GetTxHash() []byte
func (*ProcessTransactionResponseV2) GetTxHashL2 ¶ added in v0.5.0
func (x *ProcessTransactionResponseV2) GetTxHashL2() []byte
func (*ProcessTransactionResponseV2) GetType ¶ added in v0.5.0
func (x *ProcessTransactionResponseV2) GetType() uint32
func (*ProcessTransactionResponseV2) ProtoMessage ¶ added in v0.5.0
func (*ProcessTransactionResponseV2) ProtoMessage()
func (*ProcessTransactionResponseV2) ProtoReflect ¶ added in v0.5.0
func (x *ProcessTransactionResponseV2) ProtoReflect() protoreflect.Message
func (*ProcessTransactionResponseV2) Reset ¶ added in v0.5.0
func (x *ProcessTransactionResponseV2) Reset()
func (*ProcessTransactionResponseV2) String ¶ added in v0.5.0
func (x *ProcessTransactionResponseV2) String() string
type RomError ¶ added in v0.0.990
type RomError int32
const ( RomError_ROM_ERROR_UNSPECIFIED RomError = 0 // ROM_ERROR_NO_ERROR indicates the execution ended successfully RomError_ROM_ERROR_NO_ERROR RomError = 1 // ROM_ERROR_OUT_OF_GAS indicates there is not enough balance to continue the execution RomError_ROM_ERROR_OUT_OF_GAS RomError = 2 // ROM_ERROR_STACK_OVERFLOW indicates a stack overflow has happened RomError_ROM_ERROR_STACK_OVERFLOW RomError = 3 // ROM_ERROR_STACK_UNDERFLOW indicates a stack overflow has happened RomError_ROM_ERROR_STACK_UNDERFLOW RomError = 4 // ROM_ERROR_MAX_CODE_SIZE_EXCEEDED indicates the code size is beyond the maximum RomError_ROM_ERROR_MAX_CODE_SIZE_EXCEEDED RomError = 5 // ROM_ERROR_CONTRACT_ADDRESS_COLLISION there is a collision regarding contract addresses RomError_ROM_ERROR_CONTRACT_ADDRESS_COLLISION RomError = 6 // ROM_ERROR_EXECUTION_REVERTED indicates the execution has been reverted RomError_ROM_ERROR_EXECUTION_REVERTED RomError = 7 // ROM_ERROR_OUT_OF_COUNTERS_STEP indicates there is not enough step counters to continue the execution RomError_ROM_ERROR_OUT_OF_COUNTERS_STEP RomError = 8 // ROM_ERROR_OUT_OF_COUNTERS_KECCAK indicates there is not enough keccak counters to continue the execution RomError_ROM_ERROR_OUT_OF_COUNTERS_KECCAK RomError = 9 // ROM_ERROR_OUT_OF_COUNTERS_BINARY indicates there is not enough binary counters to continue the execution RomError_ROM_ERROR_OUT_OF_COUNTERS_BINARY RomError = 10 // ROM_ERROR_OUT_OF_COUNTERS_MEM indicates there is not enough memory aligncounters to continue the execution RomError_ROM_ERROR_OUT_OF_COUNTERS_MEM RomError = 11 // ROM_ERROR_OUT_OF_COUNTERS_ARITH indicates there is not enough arith counters to continue the execution RomError_ROM_ERROR_OUT_OF_COUNTERS_ARITH RomError = 12 // ROM_ERROR_OUT_OF_COUNTERS_PADDING indicates there is not enough padding counters to continue the execution RomError_ROM_ERROR_OUT_OF_COUNTERS_PADDING RomError = 13 // ROM_ERROR_OUT_OF_COUNTERS_POSEIDON indicates there is not enough poseidon counters to continue the execution RomError_ROM_ERROR_OUT_OF_COUNTERS_POSEIDON RomError = 14 // ROM_ERROR_OUT_OF_COUNTERS_SHA indicates there is not enough sha counters to continue the execution RomError_ROM_ERROR_OUT_OF_COUNTERS_SHA RomError = 15 // ROM_ERROR_INVALID_JUMP indicates there is an invalid jump opcode RomError_ROM_ERROR_INVALID_JUMP RomError = 16 // ROM_ERROR_INVALID_OPCODE indicates there is an invalid opcode RomError_ROM_ERROR_INVALID_OPCODE RomError = 17 // ROM_ERROR_INVALID_STATIC indicates there is an invalid static call RomError_ROM_ERROR_INVALID_STATIC RomError = 18 // ROM_ERROR_INVALID_BYTECODE_STARTS_EF indicates there is a bytecode starting with 0xEF RomError_ROM_ERROR_INVALID_BYTECODE_STARTS_EF RomError = 19 // ROM_ERROR_INTRINSIC_INVALID_SIGNATURE indicates the transaction is failing at the signature intrinsic check RomError_ROM_ERROR_INTRINSIC_INVALID_SIGNATURE RomError = 20 // ROM_ERROR_INTRINSIC_INVALID_CHAIN_ID indicates the transaction is failing at the chain id intrinsic check RomError_ROM_ERROR_INTRINSIC_INVALID_CHAIN_ID RomError = 21 // ROM_ERROR_INTRINSIC_INVALID_NONCE indicates the transaction is failing at the nonce intrinsic check RomError_ROM_ERROR_INTRINSIC_INVALID_NONCE RomError = 22 // ROM_ERROR_INTRINSIC_INVALID_GAS indicates the transaction is failing at the gas limit intrinsic check RomError_ROM_ERROR_INTRINSIC_INVALID_GAS_LIMIT RomError = 23 // ROM_ERROR_INTRINSIC_INVALID_BALANCE indicates the transaction is failing at balance intrinsic check RomError_ROM_ERROR_INTRINSIC_INVALID_BALANCE RomError = 24 // ROM_ERROR_INTRINSIC_INVALID_BATCH_GAS_LIMIT indicates the batch is exceeding the batch gas limit RomError_ROM_ERROR_INTRINSIC_INVALID_BATCH_GAS_LIMIT RomError = 25 // ROM_ERROR_INTRINSIC_INVALID_SENDER_CODE indicates the transaction sender is invalid RomError_ROM_ERROR_INTRINSIC_INVALID_SENDER_CODE RomError = 26 // ROM_ERROR_INTRINSIC_TX_GAS_OVERFLOW indicates the transaction gasLimit*gasPrice > MAX_UINT_256 - 1 RomError_ROM_ERROR_INTRINSIC_TX_GAS_OVERFLOW RomError = 27 // ROM_ERROR_BATCH_DATA_TOO_BIG indicates the batch_l2_data is too big to be processed RomError_ROM_ERROR_BATCH_DATA_TOO_BIG RomError = 28 // ROM_ERROR_UNSUPPORTED_FORK_ID indicates that the fork id is not supported RomError_ROM_ERROR_UNSUPPORTED_FORK_ID RomError = 29 // ROM_ERROR_INVALID_RLP indicates that there has been an error while parsing the RLP RomError_ROM_ERROR_INVALID_RLP RomError = 30 // START V2 ROM ERRORS // ROM_ERROR_INVALID_DECODE_CHANGE_L2_BLOCK indicates that there has been an error while parsing decoding a change l2 block transaction RomError_ROM_ERROR_INVALID_DECODE_CHANGE_L2_BLOCK RomError = 31 // ROM_ERROR_INVALID_NOT_FIRST_TX_CHANGE_L2_BLOCK indicates that the first transaction in a batch is not a change l2 block transaction RomError_ROM_ERROR_INVALID_NOT_FIRST_TX_CHANGE_L2_BLOCK RomError = 32 // ROM_ERROR_INVALID_TX_CHANGE_L2_BLOCK_LIMIT_TIMESTAMP indicates that the change l2 block transaction has trigger an error during while executing RomError_ROM_ERROR_INVALID_TX_CHANGE_L2_BLOCK_LIMIT_TIMESTAMP RomError = 33 // ROM_ERROR_INVALID_TX_CHANGE_L2_BLOCK_MIN_TIMESTAMP indicates that the change l2 block transaction has trigger an error during while executing RomError_ROM_ERROR_INVALID_TX_CHANGE_L2_BLOCK_MIN_TIMESTAMP RomError = 34 )
func RomErrorCode ¶
RomErrorCode returns the error code for a given error
func (RomError) Descriptor ¶ added in v0.0.990
func (RomError) Descriptor() protoreflect.EnumDescriptor
func (RomError) EnumDescriptor
deprecated
added in
v0.0.990
func (RomError) Number ¶ added in v0.0.990
func (x RomError) Number() protoreflect.EnumNumber
func (RomError) Type ¶ added in v0.0.990
func (RomError) Type() protoreflect.EnumType
type TraceConfig ¶ added in v0.0.990
type TraceConfig struct { // Disables storage (default=false) DisableStorage uint32 `protobuf:"varint,1,opt,name=disable_storage,json=disableStorage,proto3" json:"disable_storage,omitempty"` // Disables stack (default=false) DisableStack uint32 `protobuf:"varint,2,opt,name=disable_stack,json=disableStack,proto3" json:"disable_stack,omitempty"` // Enables memory (default=false) 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 trace TxHashToGenerateFullTrace []byte `` /* 144-byte string literal not displayed */ // contains filtered or unexported fields }
Trace configuration request params
func (*TraceConfig) Descriptor
deprecated
added in
v0.0.990
func (*TraceConfig) Descriptor() ([]byte, []int)
Deprecated: Use TraceConfig.ProtoReflect.Descriptor instead.
func (*TraceConfig) GetDisableStack ¶ added in v0.0.990
func (x *TraceConfig) GetDisableStack() uint32
func (*TraceConfig) GetDisableStorage ¶ added in v0.0.990
func (x *TraceConfig) GetDisableStorage() uint32
func (*TraceConfig) GetEnableMemory ¶ added in v0.0.990
func (x *TraceConfig) GetEnableMemory() uint32
func (*TraceConfig) GetEnableReturnData ¶ added in v0.0.990
func (x *TraceConfig) GetEnableReturnData() uint32
func (*TraceConfig) GetTxHashToGenerateFullTrace ¶ added in v0.5.0
func (x *TraceConfig) GetTxHashToGenerateFullTrace() []byte
func (*TraceConfig) ProtoMessage ¶ added in v0.0.990
func (*TraceConfig) ProtoMessage()
func (*TraceConfig) ProtoReflect ¶ added in v0.0.990
func (x *TraceConfig) ProtoReflect() protoreflect.Message
func (*TraceConfig) Reset ¶ added in v0.0.990
func (x *TraceConfig) Reset()
func (*TraceConfig) String ¶ added in v0.0.990
func (x *TraceConfig) String() string
type TraceConfigV2 ¶ added in v0.5.0
type TraceConfigV2 struct { // Disables storage (default=false) DisableStorage uint32 `protobuf:"varint,1,opt,name=disable_storage,json=disableStorage,proto3" json:"disable_storage,omitempty"` // Disables stack (default=false) DisableStack uint32 `protobuf:"varint,2,opt,name=disable_stack,json=disableStack,proto3" json:"disable_stack,omitempty"` // Enables memory (default=false) 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 trace TxHashToGenerateFullTrace []byte `` /* 144-byte string literal not displayed */ // contains filtered or unexported fields }
Trace configuration request params
func (*TraceConfigV2) Descriptor
deprecated
added in
v0.5.0
func (*TraceConfigV2) Descriptor() ([]byte, []int)
Deprecated: Use TraceConfigV2.ProtoReflect.Descriptor instead.
func (*TraceConfigV2) GetDisableStack ¶ added in v0.5.0
func (x *TraceConfigV2) GetDisableStack() uint32
func (*TraceConfigV2) GetDisableStorage ¶ added in v0.5.0
func (x *TraceConfigV2) GetDisableStorage() uint32
func (*TraceConfigV2) GetEnableMemory ¶ added in v0.5.0
func (x *TraceConfigV2) GetEnableMemory() uint32
func (*TraceConfigV2) GetEnableReturnData ¶ added in v0.5.0
func (x *TraceConfigV2) GetEnableReturnData() uint32
func (*TraceConfigV2) GetTxHashToGenerateFullTrace ¶ added in v0.5.0
func (x *TraceConfigV2) GetTxHashToGenerateFullTrace() []byte
func (*TraceConfigV2) ProtoMessage ¶ added in v0.5.0
func (*TraceConfigV2) ProtoMessage()
func (*TraceConfigV2) ProtoReflect ¶ added in v0.5.0
func (x *TraceConfigV2) ProtoReflect() protoreflect.Message
func (*TraceConfigV2) Reset ¶ added in v0.5.0
func (x *TraceConfigV2) Reset()
func (*TraceConfigV2) String ¶ added in v0.5.0
func (x *TraceConfigV2) String() string
type TransactionContext ¶ added in v0.0.990
type TransactionContext struct { // CALL or CREATE Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Sender of the transaction From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` // Target of the transaction To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` // Input data of the transaction Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` // Gas of the transaction Gas uint64 `protobuf:"varint,5,opt,name=gas,proto3" json:"gas,omitempty"` // Value of the transaction Value string `protobuf:"bytes,6,opt,name=value,proto3" json:"value,omitempty"` // Hash of the batch in which the transaction was included Batch []byte `protobuf:"bytes,7,opt,name=batch,proto3" json:"batch,omitempty"` // Returned data from the runtime (function result or data supplied with revert opcode) Output []byte `protobuf:"bytes,8,opt,name=output,proto3" json:"output,omitempty"` // Total gas used as result of execution GasUsed uint64 `protobuf:"varint,9,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` // Gas Price GasPrice string `protobuf:"bytes,10,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"` // Execution Time ExecutionTime uint32 `protobuf:"varint,11,opt,name=execution_time,json=executionTime,proto3" json:"execution_time,omitempty"` // Starting state root OldStateRoot []byte `protobuf:"bytes,12,opt,name=old_state_root,json=oldStateRoot,proto3" json:"old_state_root,omitempty"` // contains filtered or unexported fields }
func (*TransactionContext) Descriptor
deprecated
added in
v0.0.990
func (*TransactionContext) Descriptor() ([]byte, []int)
Deprecated: Use TransactionContext.ProtoReflect.Descriptor instead.
func (*TransactionContext) GetBatch ¶ added in v0.0.990
func (x *TransactionContext) GetBatch() []byte
func (*TransactionContext) GetData ¶ added in v0.0.990
func (x *TransactionContext) GetData() []byte
func (*TransactionContext) GetExecutionTime ¶ added in v0.0.990
func (x *TransactionContext) GetExecutionTime() uint32
func (*TransactionContext) GetFrom ¶ added in v0.0.990
func (x *TransactionContext) GetFrom() string
func (*TransactionContext) GetGas ¶ added in v0.0.990
func (x *TransactionContext) GetGas() uint64
func (*TransactionContext) GetGasPrice ¶ added in v0.0.990
func (x *TransactionContext) GetGasPrice() string
func (*TransactionContext) GetGasUsed ¶ added in v0.0.990
func (x *TransactionContext) GetGasUsed() uint64
func (*TransactionContext) GetOldStateRoot ¶ added in v0.0.990
func (x *TransactionContext) GetOldStateRoot() []byte
func (*TransactionContext) GetOutput ¶ added in v0.0.990
func (x *TransactionContext) GetOutput() []byte
func (*TransactionContext) GetTo ¶ added in v0.0.990
func (x *TransactionContext) GetTo() string
func (*TransactionContext) GetType ¶ added in v0.0.990
func (x *TransactionContext) GetType() string
func (*TransactionContext) GetValue ¶ added in v0.0.990
func (x *TransactionContext) GetValue() string
func (*TransactionContext) ProtoMessage ¶ added in v0.0.990
func (*TransactionContext) ProtoMessage()
func (*TransactionContext) ProtoReflect ¶ added in v0.0.990
func (x *TransactionContext) ProtoReflect() protoreflect.Message
func (*TransactionContext) Reset ¶ added in v0.0.990
func (x *TransactionContext) Reset()
func (*TransactionContext) String ¶ added in v0.0.990
func (x *TransactionContext) String() string
type TransactionContextV2 ¶ added in v0.5.0
type TransactionContextV2 struct { // CALL or CREATE Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Sender of the transaction From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` // Target of the transaction To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` // Input data of the transaction Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` // Gas of the transaction Gas uint64 `protobuf:"varint,5,opt,name=gas,proto3" json:"gas,omitempty"` // Value of the transaction Value string `protobuf:"bytes,6,opt,name=value,proto3" json:"value,omitempty"` // Hash of the block in which the transaction was included BlockHash []byte `protobuf:"bytes,7,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` // Returned data from the runtime (function result or data supplied with revert opcode) Output []byte `protobuf:"bytes,8,opt,name=output,proto3" json:"output,omitempty"` // Total gas used as result of execution GasUsed uint64 `protobuf:"varint,9,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` // Gas Price GasPrice string `protobuf:"bytes,10,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"` // Execution Time ExecutionTime uint32 `protobuf:"varint,11,opt,name=execution_time,json=executionTime,proto3" json:"execution_time,omitempty"` // Starting state root OldStateRoot []byte `protobuf:"bytes,12,opt,name=old_state_root,json=oldStateRoot,proto3" json:"old_state_root,omitempty"` // The number of transactions made by the sender prior to this one Nonce uint64 `protobuf:"varint,13,opt,name=nonce,proto3" json:"nonce,omitempty"` // The integer of the transaction's index position in the block TxIndex uint64 `protobuf:"varint,14,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"` // The chain id of the transaction, if any ChainId uint64 `protobuf:"varint,15,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // contains filtered or unexported fields }
func (*TransactionContextV2) Descriptor
deprecated
added in
v0.5.0
func (*TransactionContextV2) Descriptor() ([]byte, []int)
Deprecated: Use TransactionContextV2.ProtoReflect.Descriptor instead.
func (*TransactionContextV2) GetBlockHash ¶ added in v0.5.0
func (x *TransactionContextV2) GetBlockHash() []byte
func (*TransactionContextV2) GetChainId ¶ added in v0.5.0
func (x *TransactionContextV2) GetChainId() uint64
func (*TransactionContextV2) GetData ¶ added in v0.5.0
func (x *TransactionContextV2) GetData() []byte
func (*TransactionContextV2) GetExecutionTime ¶ added in v0.5.0
func (x *TransactionContextV2) GetExecutionTime() uint32
func (*TransactionContextV2) GetFrom ¶ added in v0.5.0
func (x *TransactionContextV2) GetFrom() string
func (*TransactionContextV2) GetGas ¶ added in v0.5.0
func (x *TransactionContextV2) GetGas() uint64
func (*TransactionContextV2) GetGasPrice ¶ added in v0.5.0
func (x *TransactionContextV2) GetGasPrice() string
func (*TransactionContextV2) GetGasUsed ¶ added in v0.5.0
func (x *TransactionContextV2) GetGasUsed() uint64
func (*TransactionContextV2) GetNonce ¶ added in v0.5.0
func (x *TransactionContextV2) GetNonce() uint64
func (*TransactionContextV2) GetOldStateRoot ¶ added in v0.5.0
func (x *TransactionContextV2) GetOldStateRoot() []byte
func (*TransactionContextV2) GetOutput ¶ added in v0.5.0
func (x *TransactionContextV2) GetOutput() []byte
func (*TransactionContextV2) GetTo ¶ added in v0.5.0
func (x *TransactionContextV2) GetTo() string
func (*TransactionContextV2) GetTxIndex ¶ added in v0.5.0
func (x *TransactionContextV2) GetTxIndex() uint64
func (*TransactionContextV2) GetType ¶ added in v0.5.0
func (x *TransactionContextV2) GetType() string
func (*TransactionContextV2) GetValue ¶ added in v0.5.0
func (x *TransactionContextV2) GetValue() string
func (*TransactionContextV2) ProtoMessage ¶ added in v0.5.0
func (*TransactionContextV2) ProtoMessage()
func (*TransactionContextV2) ProtoReflect ¶ added in v0.5.0
func (x *TransactionContextV2) ProtoReflect() protoreflect.Message
func (*TransactionContextV2) Reset ¶ added in v0.5.0
func (x *TransactionContextV2) Reset()
func (*TransactionContextV2) String ¶ added in v0.5.0
func (x *TransactionContextV2) String() string
type TransactionStep ¶ added in v0.0.990
type TransactionStep struct { StateRoot []byte `protobuf:"bytes,1,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` // Call depth Depth uint32 `protobuf:"varint,2,opt,name=depth,proto3" json:"depth,omitempty"` // Program counter Pc uint64 `protobuf:"varint,3,opt,name=pc,proto3" json:"pc,omitempty"` // Remaining gas Gas uint64 `protobuf:"varint,4,opt,name=gas,proto3" json:"gas,omitempty"` // Gas cost of the operation GasCost uint64 `protobuf:"varint,5,opt,name=gas_cost,json=gasCost,proto3" json:"gas_cost,omitempty"` // Gas refunded during the operation GasRefund uint64 `protobuf:"varint,6,opt,name=gas_refund,json=gasRefund,proto3" json:"gas_refund,omitempty"` // Opcode Op uint32 `protobuf:"varint,7,opt,name=op,proto3" json:"op,omitempty"` // Content of the stack Stack []string `protobuf:"bytes,8,rep,name=stack,proto3" json:"stack,omitempty"` // Content of memory, starting at memory_offset, showing only changes vs. previous step Memory []byte `protobuf:"bytes,9,opt,name=memory,proto3" json:"memory,omitempty"` // Total size of memory MemorySize uint32 `protobuf:"varint,10,opt,name=memory_size,json=memorySize,proto3" json:"memory_size,omitempty"` // Offset of memory changes MemoryOffset uint32 `protobuf:"varint,11,opt,name=memory_offset,json=memoryOffset,proto3" json:"memory_offset,omitempty"` // Content of the stack // Return Data ReturnData []byte `protobuf:"bytes,12,opt,name=return_data,json=returnData,proto3" json:"return_data,omitempty"` // Contract information 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 `` /* 156-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TransactionStep) Descriptor
deprecated
added in
v0.0.990
func (*TransactionStep) Descriptor() ([]byte, []int)
Deprecated: Use TransactionStep.ProtoReflect.Descriptor instead.
func (*TransactionStep) GetContract ¶ added in v0.0.990
func (x *TransactionStep) GetContract() *Contract
func (*TransactionStep) GetDepth ¶ added in v0.0.990
func (x *TransactionStep) GetDepth() uint32
func (*TransactionStep) GetError ¶ added in v0.0.990
func (x *TransactionStep) GetError() RomError
func (*TransactionStep) GetGas ¶ added in v0.0.990
func (x *TransactionStep) GetGas() uint64
func (*TransactionStep) GetGasCost ¶ added in v0.0.990
func (x *TransactionStep) GetGasCost() uint64
func (*TransactionStep) GetGasRefund ¶ added in v0.0.990
func (x *TransactionStep) GetGasRefund() uint64
func (*TransactionStep) GetMemory ¶ added in v0.0.990
func (x *TransactionStep) GetMemory() []byte
func (*TransactionStep) GetMemoryOffset ¶ added in v0.0.990
func (x *TransactionStep) GetMemoryOffset() uint32
func (*TransactionStep) GetMemorySize ¶ added in v0.0.990
func (x *TransactionStep) GetMemorySize() uint32
func (*TransactionStep) GetOp ¶ added in v0.0.990
func (x *TransactionStep) GetOp() uint32
func (*TransactionStep) GetPc ¶ added in v0.0.990
func (x *TransactionStep) GetPc() uint64
func (*TransactionStep) GetReturnData ¶ added in v0.0.990
func (x *TransactionStep) GetReturnData() []byte
func (*TransactionStep) GetStack ¶ added in v0.0.990
func (x *TransactionStep) GetStack() []string
func (*TransactionStep) GetStateRoot ¶ added in v0.0.990
func (x *TransactionStep) GetStateRoot() []byte
func (*TransactionStep) GetStorage ¶ added in v0.5.0
func (x *TransactionStep) GetStorage() map[string]string
func (*TransactionStep) ProtoMessage ¶ added in v0.0.990
func (*TransactionStep) ProtoMessage()
func (*TransactionStep) ProtoReflect ¶ added in v0.0.990
func (x *TransactionStep) ProtoReflect() protoreflect.Message
func (*TransactionStep) Reset ¶ added in v0.0.990
func (x *TransactionStep) Reset()
func (*TransactionStep) String ¶ added in v0.0.990
func (x *TransactionStep) String() string
type TransactionStepV2 ¶ added in v0.5.0
type TransactionStepV2 struct { StateRoot []byte `protobuf:"bytes,1,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` // Call depth Depth uint32 `protobuf:"varint,2,opt,name=depth,proto3" json:"depth,omitempty"` // Program counter Pc uint64 `protobuf:"varint,3,opt,name=pc,proto3" json:"pc,omitempty"` // Remaining gas Gas uint64 `protobuf:"varint,4,opt,name=gas,proto3" json:"gas,omitempty"` // Gas cost of the operation GasCost uint64 `protobuf:"varint,5,opt,name=gas_cost,json=gasCost,proto3" json:"gas_cost,omitempty"` // Gas refunded during the operation GasRefund uint64 `protobuf:"varint,6,opt,name=gas_refund,json=gasRefund,proto3" json:"gas_refund,omitempty"` // Opcode Op uint32 `protobuf:"varint,7,opt,name=op,proto3" json:"op,omitempty"` // Content of the stack Stack []string `protobuf:"bytes,8,rep,name=stack,proto3" json:"stack,omitempty"` // Content of memory, starting at memory_offset, showing only changes vs. previous step Memory []byte `protobuf:"bytes,9,opt,name=memory,proto3" json:"memory,omitempty"` // Total size of memory MemorySize uint32 `protobuf:"varint,10,opt,name=memory_size,json=memorySize,proto3" json:"memory_size,omitempty"` // Offset of memory changes MemoryOffset uint32 `protobuf:"varint,11,opt,name=memory_offset,json=memoryOffset,proto3" json:"memory_offset,omitempty"` // Return Data ReturnData []byte `protobuf:"bytes,12,opt,name=return_data,json=returnData,proto3" json:"return_data,omitempty"` // Contract information Contract *ContractV2 `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 `` /* 156-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TransactionStepV2) Descriptor
deprecated
added in
v0.5.0
func (*TransactionStepV2) Descriptor() ([]byte, []int)
Deprecated: Use TransactionStepV2.ProtoReflect.Descriptor instead.
func (*TransactionStepV2) GetContract ¶ added in v0.5.0
func (x *TransactionStepV2) GetContract() *ContractV2
func (*TransactionStepV2) GetDepth ¶ added in v0.5.0
func (x *TransactionStepV2) GetDepth() uint32
func (*TransactionStepV2) GetError ¶ added in v0.5.0
func (x *TransactionStepV2) GetError() RomError
func (*TransactionStepV2) GetGas ¶ added in v0.5.0
func (x *TransactionStepV2) GetGas() uint64
func (*TransactionStepV2) GetGasCost ¶ added in v0.5.0
func (x *TransactionStepV2) GetGasCost() uint64
func (*TransactionStepV2) GetGasRefund ¶ added in v0.5.0
func (x *TransactionStepV2) GetGasRefund() uint64
func (*TransactionStepV2) GetMemory ¶ added in v0.5.0
func (x *TransactionStepV2) GetMemory() []byte
func (*TransactionStepV2) GetMemoryOffset ¶ added in v0.5.0
func (x *TransactionStepV2) GetMemoryOffset() uint32
func (*TransactionStepV2) GetMemorySize ¶ added in v0.5.0
func (x *TransactionStepV2) GetMemorySize() uint32
func (*TransactionStepV2) GetOp ¶ added in v0.5.0
func (x *TransactionStepV2) GetOp() uint32
func (*TransactionStepV2) GetPc ¶ added in v0.5.0
func (x *TransactionStepV2) GetPc() uint64
func (*TransactionStepV2) GetReturnData ¶ added in v0.5.0
func (x *TransactionStepV2) GetReturnData() []byte
func (*TransactionStepV2) GetStack ¶ added in v0.5.0
func (x *TransactionStepV2) GetStack() []string
func (*TransactionStepV2) GetStateRoot ¶ added in v0.5.0
func (x *TransactionStepV2) GetStateRoot() []byte
func (*TransactionStepV2) GetStorage ¶ added in v0.5.0
func (x *TransactionStepV2) GetStorage() map[string]string
func (*TransactionStepV2) ProtoMessage ¶ added in v0.5.0
func (*TransactionStepV2) ProtoMessage()
func (*TransactionStepV2) ProtoReflect ¶ added in v0.5.0
func (x *TransactionStepV2) ProtoReflect() protoreflect.Message
func (*TransactionStepV2) Reset ¶ added in v0.5.0
func (x *TransactionStepV2) Reset()
func (*TransactionStepV2) String ¶ added in v0.5.0
func (x *TransactionStepV2) String() string
type UnimplementedExecutorServiceServer ¶ added in v0.0.990
type UnimplementedExecutorServiceServer struct { }
UnimplementedExecutorServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedExecutorServiceServer) GetFlushStatus ¶ added in v0.0.990
func (UnimplementedExecutorServiceServer) GetFlushStatus(context.Context, *emptypb.Empty) (*GetFlushStatusResponse, error)
func (UnimplementedExecutorServiceServer) ProcessBatch ¶ added in v0.0.990
func (UnimplementedExecutorServiceServer) ProcessBatch(context.Context, *ProcessBatchRequest) (*ProcessBatchResponse, error)
func (UnimplementedExecutorServiceServer) ProcessBatchV2 ¶ added in v0.5.0
func (UnimplementedExecutorServiceServer) ProcessBatchV2(context.Context, *ProcessBatchRequestV2) (*ProcessBatchResponseV2, error)
type UnsafeExecutorServiceServer ¶ added in v0.0.990
type UnsafeExecutorServiceServer interface {
// contains filtered or unexported methods
}
UnsafeExecutorServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ExecutorServiceServer will result in compilation errors.