execution

package
v0.30.8 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: AGPL-3.0 Imports: 5 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ColResSnapshot added in v0.30.0

type ColResSnapshot struct {
	// contains filtered or unexported fields
}

func (*ColResSnapshot) BlockHeader added in v0.30.0

func (c *ColResSnapshot) BlockHeader() *flow.Header

func (*ColResSnapshot) Collection added in v0.30.0

func (c *ColResSnapshot) Collection() *flow.Collection

func (*ColResSnapshot) EmittedEvents added in v0.30.0

func (c *ColResSnapshot) EmittedEvents() flow.EventsList

func (*ColResSnapshot) ReadRegisterIDs added in v0.30.0

func (c *ColResSnapshot) ReadRegisterIDs() flow.RegisterIDs

func (*ColResSnapshot) TransactionResults added in v0.30.0

func (c *ColResSnapshot) TransactionResults() flow.TransactionResults

func (*ColResSnapshot) UpdatedRegisters added in v0.30.0

func (c *ColResSnapshot) UpdatedRegisters() flow.RegisterEntries

type ComputationResult

type ComputationResult struct {
	*entity.ExecutableBlock
	StateSnapshots         []*state.ExecutionSnapshot
	Events                 []flow.EventsList
	EventsHashes           []flow.Identifier
	ServiceEvents          flow.EventsList
	TransactionResults     []flow.TransactionResult
	TransactionResultIndex []int

	// TODO(patrick): switch this to execution snapshot
	ComputationIntensities meter.MeteredComputationIntensities

	ChunkDataPacks []*flow.ChunkDataPack
	EndState       flow.StateCommitment

	*execution_data.BlockExecutionData
	*flow.ExecutionReceipt
}

TODO(patrick): rm unaccessed fields

func NewEmptyComputationResult added in v0.28.7

func NewEmptyComputationResult(
	block *entity.ExecutableBlock,
) *ComputationResult

func (*ComputationResult) CollectionResult added in v0.30.0

func (cr *ComputationResult) CollectionResult(colIndex int) *ColResSnapshot

Jump to

Keyboard shortcuts

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