Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

IConsensusFactoryErrors

Git Source

Errors

ZeroEpochLength

This error is raised whenever a consensus would be deployed with zero as epoch length. This is forbidden because this would lead to a division-by-zero error when calculating the epoch index of any given block number, which is given by block.number / epochLength.

error ZeroEpochLength();