github.com/onflow/flow-go@v0.35.7-crescendo-preview.23-atree-inlining/state/protocol/invalid/params.go (about) 1 package invalid 2 3 import ( 4 "github.com/onflow/flow-go/model/flow" 5 ) 6 7 // Params represents parameters for an invalid state snapshot query. 8 type Params struct { 9 err error 10 } 11 12 func (p Params) ChainID() flow.ChainID { 13 return "" 14 } 15 16 func (p Params) SporkID() flow.Identifier { 17 return flow.ZeroID 18 } 19 20 func (p Params) SporkRootBlockHeight() uint64 { 21 return 0 22 } 23 24 func (p Params) ProtocolVersion() uint { 25 return 0 26 } 27 28 func (p Params) EpochCommitSafetyThreshold() uint64 { 29 return 0 30 }