github.com/onflow/flow-go@v0.35.7-crescendo-preview.23-atree-inlining/storage/badger/model/storedChunkDataPack.go (about)

     1  package badgermodel
     2  
     3  import (
     4  	"github.com/onflow/flow-go/model/flow"
     5  )
     6  
     7  // StoredChunkDataPack is an in-storage representation of chunk data pack.
     8  // Its prime difference is instead of an actual collection, it keeps a collection ID hence relying on maintaining
     9  // the collection on a secondary storage.
    10  type StoredChunkDataPack struct {
    11  	ChunkID           flow.Identifier
    12  	StartState        flow.StateCommitment
    13  	Proof             flow.StorageProof
    14  	CollectionID      flow.Identifier
    15  	SystemChunk       bool
    16  	ExecutionDataRoot flow.BlockExecutionDataRoot
    17  }