github.com/onflow/flow-go@v0.35.7-crescendo-preview.23-atree-inlining/module/executiondatasync/execution_data/internal/execution_data_versions.go (about)

     1  package internal
     2  
     3  import (
     4  	"github.com/onflow/flow-go/ledger"
     5  	"github.com/onflow/flow-go/model/flow"
     6  )
     7  
     8  // This is a collection of data structures from previous versions of ExecutionData.
     9  // They are maintained here for backwards compatibility testing.
    10  //
    11  // Note: the current codebase makes no guarantees about backwards compatibility with previous of
    12  // execution data. The data structures and tests included are only to help inform of any breaking
    13  // changes.
    14  
    15  // ChunkExecutionDataV1 [deprecated] only use for backwards compatibility testing
    16  // was used up to block X (TODO: fill in block number after release)
    17  type ChunkExecutionDataV1 struct {
    18  	Collection *flow.Collection
    19  	Events     flow.EventsList
    20  	TrieUpdate *ledger.TrieUpdate
    21  }