Skip to content

Commit 735a94d

Browse files
committed
Add missing type assertions
1 parent d64ab65 commit 735a94d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

shared/types/eth2/types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ import (
1111

1212
// State type assertions
1313
var _ BeaconState = &deneb.BeaconState{}
14+
var _ BeaconState = &electra.BeaconState{}
1415

1516
// Block type assertions
1617
var _ BeaconBlock = &deneb.BeaconBlock{}
18+
var _ BeaconBlock = &electra.BeaconBlock{}
1719

1820
type BeaconState interface {
1921
GetSlot() uint64

0 commit comments

Comments
 (0)