github.com/koko1123/flow-go-1@v0.29.6/state/cluster/badger/params.go (about)

     1  package badger
     2  
     3  import (
     4  	"github.com/koko1123/flow-go-1/model/flow"
     5  )
     6  
     7  type Params struct {
     8  	state *State
     9  }
    10  
    11  func (p *Params) ChainID() (flow.ChainID, error) {
    12  	return p.state.clusterID, nil
    13  }