Follow-up from "Double blocks_per_cycle"
The following discussions from !2531 (merged) should be addressed:
-
@paracetamolo started a discussion: (+1 comment) it's a rather convoluted way to check this, you could just fold over the eras, carry over the last value and check that the current one is greater.
-
@paracetamolo started a discussion: (+1 comment) Ideally, i'd like to have the type Level.cycles_eras to be already a list and have some accessors functions but that's for another time.
-
@mbouaziz started a discussion: This is going to be costly some day, I think we should reverse the list as @paracetamolo suggested. But it can be done later in G or in a following protocol
Edited by Eugen Zalinescu