github.com/koko1123/flow-go-1@v0.29.6/fvm/blocks.go (about)

     1  package fvm
     2  
     3  import (
     4  	"github.com/koko1123/flow-go-1/fvm/environment"
     5  	"github.com/koko1123/flow-go-1/storage"
     6  )
     7  
     8  // TODO(patrick): rm after https://github.com/onflow/flow-emulator/pull/229
     9  // is merged and integrated.
    10  type Blocks = environment.Blocks
    11  
    12  // TODO(patrick): rm after https://github.com/onflow/flow-emulator/pull/229
    13  // is merged and integrated.
    14  func NewBlockFinder(storage storage.Headers) Blocks {
    15  	return environment.NewBlockFinder(storage)
    16  }