Documentation ¶
Overview ¶
This package contains integration tests for rollmelette.
Index ¶
Constants ¶
View Source
const ApplicationAddress = "0xab7528bb862fb57e8a2bcd567a2e929a0be56a5e"
View Source
const SenderAddress = "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"
View Source
const TestMnemonic = "test test test test test test test test test test test junk"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CompletionStatus ¶
type CompletionStatus string
const ( CompletionStatusUnprocessed CompletionStatus = "UNPROCESSED" CompletionStatusAccepted CompletionStatus = "ACCEPTED" CompletionStatusRejected CompletionStatus = "REJECTED" CompletionStatusException CompletionStatus = "EXCEPTION" CompletionStatusMachineHalted CompletionStatus = "MACHINE_HALTED" CompletionStatusCycleLimitExceeded CompletionStatus = "CYCLE_LIMIT_EXCEEDED" CompletionStatusTimeLimitExceeded CompletionStatus = "TIME_LIMIT_EXCEEDED" CompletionStatusPayloadLengthLimitExceeded CompletionStatus = "PAYLOAD_LENGTH_LIMIT_EXCEEDED" )
type InspectCompletionStatus ¶
type InspectCompletionStatus string
InspectCompletionStatus is the completion status for the inspect result.
const ( Accepted InspectCompletionStatus = "Accepted" CycleLimitExceeded InspectCompletionStatus = "CycleLimitExceeded" Exception InspectCompletionStatus = "Exception" MachineHalted InspectCompletionStatus = "MachineHalted" Rejected InspectCompletionStatus = "Rejected" TimeLimitExceeded InspectCompletionStatus = "TimeLimitExceeded" )
type InspectReport ¶
type InspectReport struct {
Payload string `json:"payload"`
}
Report from the inspect result.
type InspectResult ¶
type InspectResult struct { ExceptionPayload string `json:"exception_payload"` ProcessedInputCount int `json:"processed_input_count"` Reports []InspectReport `json:"reports"` Status InspectCompletionStatus `json:"status"` }
InspectResult is the response of the inspect API.
type NotifyWriter ¶
NotifyWriter is a wrapper for io.Writer that notifies a channel when it finds the lookFor string.
func NewNotifyWriter ¶
func NewNotifyWriter(w io.Writer, lookFor string) *NotifyWriter
func (*NotifyWriter) Ready ¶
func (w *NotifyWriter) Ready() <-chan struct{}
Click to show internal directories.
Click to hide internal directories.