mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
@@ -18,7 +18,7 @@ import (
|
||||
"github.com/emicklei/dot"
|
||||
"github.com/prysmaticlabs/prysm/v3/beacon-chain/db"
|
||||
"github.com/prysmaticlabs/prysm/v3/beacon-chain/db/filters"
|
||||
types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives"
|
||||
"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -46,8 +46,8 @@ func main() {
|
||||
graph.Attr("rankdir", "RL")
|
||||
graph.Attr("labeljust", "l")
|
||||
|
||||
startSlot := types.Slot(*startSlot)
|
||||
endSlot := types.Slot(*endSlot)
|
||||
startSlot := primitives.Slot(*startSlot)
|
||||
endSlot := primitives.Slot(*endSlot)
|
||||
filter := filters.NewFilter().SetStartSlot(startSlot).SetEndSlot(endSlot)
|
||||
blks, roots, err := database.Blocks(context.Background(), filter)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user