github.com/koko1123/flow-go-1@v0.29.6/module/executiondatasync/execution_data/execution_data.go (about) 1 package execution_data 2 3 import ( 4 "github.com/ipfs/go-cid" 5 6 "github.com/koko1123/flow-go-1/ledger" 7 "github.com/koko1123/flow-go-1/model/flow" 8 ) 9 10 const DefaultMaxBlobSize = 1 << 20 // 1MiB 11 12 // ChunkExecutionData represents the execution data of a chunk 13 type ChunkExecutionData struct { 14 Collection *flow.Collection 15 Events flow.EventsList 16 TrieUpdate *ledger.TrieUpdate 17 } 18 19 type BlockExecutionDataRoot struct { 20 BlockID flow.Identifier 21 ChunkExecutionDataIDs []cid.Cid 22 } 23 24 type BlockExecutionData struct { 25 BlockID flow.Identifier 26 ChunkExecutionDatas []*ChunkExecutionData 27 }