You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PoS code has lots of instances of an (Epoch, Epoch) being passed around, and it is not always intuitive as to what this epoch pair is exactly. It would be cleaner and enhance readability to instead pass around a struct, perhaps named EpochBounds or similar, that contains explicit start and end epoch fields that can be used for various operations.
The text was updated successfully, but these errors were encountered:
The PoS code has lots of instances of an (Epoch, Epoch) being passed around, and it is not always intuitive as to what this epoch pair is exactly. It would be cleaner and enhance readability to instead pass around a struct, perhaps named
EpochBounds
or similar, that contains explicitstart
andend
epoch fields that can be used for various operations.The text was updated successfully, but these errors were encountered: