protocol

package
v0.7.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2020 License: Apache-2.0 Imports: 8 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_protocol_proto protoreflect.FileDescriptor

Functions

func BytesArrayToVals added in v0.7.3

func BytesArrayToVals(data []byte, valCount uint64) []value.Value

Types

type ExecutionAssertion added in v0.4.0

type ExecutionAssertion struct {
	NumGas                uint64          `protobuf:"varint,1,opt,name=NumGas,proto3" json:"NumGas,omitempty"`
	BeforeMachineHash     *common.HashBuf `protobuf:"bytes,2,opt,name=BeforeMachineHash,proto3" json:"BeforeMachineHash,omitempty"`
	AfterMachineHash      *common.HashBuf `protobuf:"bytes,3,opt,name=AfterMachineHash,proto3" json:"AfterMachineHash,omitempty"`
	InboxMessagesConsumed uint64          `protobuf:"varint,4,opt,name=inboxMessagesConsumed,proto3" json:"inboxMessagesConsumed,omitempty"`
	OutMsgsData           []byte          `protobuf:"bytes,5,opt,name=outMsgsData,proto3" json:"outMsgsData,omitempty"`
	OutMsgsCount          uint64          `protobuf:"varint,6,opt,name=outMsgsCount,proto3" json:"outMsgsCount,omitempty"`
	LogsData              []byte          `protobuf:"bytes,7,opt,name=logsData,proto3" json:"logsData,omitempty"`
	LogsCount             uint64          `protobuf:"varint,8,opt,name=logsCount,proto3" json:"logsCount,omitempty"`
	// contains filtered or unexported fields
}

func NewExecutionAssertion added in v0.4.0

func NewExecutionAssertion(
	beforeMachineHash common.Hash,
	afterMachineHash common.Hash,
	numGas uint64,
	inboxMessagesConsumed uint64,
	outMsgsData []byte,
	outMsgsCount uint64,
	logsData []byte,
	logsCount uint64,
) *ExecutionAssertion

func NewExecutionAssertionFromValues added in v0.6.5

func NewExecutionAssertionFromValues(
	beforeMachineHash common.Hash,
	afterMachineHash common.Hash,
	numGas uint64,
	inboxMessagesConsumed uint64,
	outMsgs []value.Value,
	logs []value.Value,
) *ExecutionAssertion

func (*ExecutionAssertion) Descriptor deprecated added in v0.6.5

func (*ExecutionAssertion) Descriptor() ([]byte, []int)

Deprecated: Use ExecutionAssertion.ProtoReflect.Descriptor instead.

func (*ExecutionAssertion) Equals added in v0.4.0

func (*ExecutionAssertion) GetAfterMachineHash added in v0.7.0

func (x *ExecutionAssertion) GetAfterMachineHash() *common.HashBuf

func (*ExecutionAssertion) GetBeforeMachineHash added in v0.7.0

func (x *ExecutionAssertion) GetBeforeMachineHash() *common.HashBuf

func (*ExecutionAssertion) GetInboxMessagesConsumed added in v0.7.0

func (x *ExecutionAssertion) GetInboxMessagesConsumed() uint64

func (*ExecutionAssertion) GetLogsCount added in v0.6.5

func (x *ExecutionAssertion) GetLogsCount() uint64

func (*ExecutionAssertion) GetLogsData added in v0.6.5

func (x *ExecutionAssertion) GetLogsData() []byte

func (*ExecutionAssertion) GetNumGas added in v0.6.5

func (x *ExecutionAssertion) GetNumGas() uint64

func (*ExecutionAssertion) GetOutMsgsCount added in v0.6.5

func (x *ExecutionAssertion) GetOutMsgsCount() uint64

func (*ExecutionAssertion) GetOutMsgsData added in v0.6.5

func (x *ExecutionAssertion) GetOutMsgsData() []byte

func (*ExecutionAssertion) ParseLogs added in v0.6.5

func (x *ExecutionAssertion) ParseLogs() []value.Value

func (*ExecutionAssertion) ParseOutMessages added in v0.6.5

func (x *ExecutionAssertion) ParseOutMessages() []value.Value

func (*ExecutionAssertion) ProtoMessage added in v0.6.5

func (*ExecutionAssertion) ProtoMessage()

func (*ExecutionAssertion) ProtoReflect added in v0.6.5

func (x *ExecutionAssertion) ProtoReflect() protoreflect.Message

func (*ExecutionAssertion) Reset added in v0.6.5

func (x *ExecutionAssertion) Reset()

func (*ExecutionAssertion) String added in v0.6.5

func (x *ExecutionAssertion) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL