mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-22 04:24:05 +00:00
ensure the arrays in BeaconStateDiff are int-indexable in Nim 2.0 (#5189)
This commit is contained in:
parent
c549fe6a65
commit
703eead2e6
@ -518,8 +518,8 @@ type
|
||||
latest_block_header*: BeaconBlockHeader
|
||||
|
||||
# Mod-increment/circular
|
||||
block_roots*: array[SLOTS_PER_EPOCH, Eth2Digest]
|
||||
state_roots*: array[SLOTS_PER_EPOCH, Eth2Digest]
|
||||
block_roots*: array[SLOTS_PER_EPOCH.int, Eth2Digest]
|
||||
state_roots*: array[SLOTS_PER_EPOCH.int, Eth2Digest]
|
||||
|
||||
# Replace
|
||||
eth1_data*: Eth1Data
|
||||
|
Loading…
x
Reference in New Issue
Block a user