mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 23:18:15 -05:00
@@ -8,7 +8,7 @@ import (
|
||||
"github.com/prysmaticlabs/prysm/v3/beacon-chain/core/transition/interop"
|
||||
"github.com/prysmaticlabs/prysm/v3/beacon-chain/db"
|
||||
"github.com/prysmaticlabs/prysm/v3/config/features"
|
||||
types "github.com/prysmaticlabs/prysm/v3/consensus-types/primitives"
|
||||
"github.com/prysmaticlabs/prysm/v3/consensus-types/primitives"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -28,7 +28,7 @@ func main() {
|
||||
panic(err)
|
||||
}
|
||||
ctx := context.Background()
|
||||
slot := types.Slot(*state)
|
||||
slot := primitives.Slot(*state)
|
||||
_, roots, err := d.BlockRootsBySlot(ctx, slot)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
|
||||
Reference in New Issue
Block a user