@Override
  public <C extends ConsensusContext> C as(final Class<C> klass) {
    return klass.cast(this);
  }
Gets epoch manager.

@return the epoch manager
consensus/common/src/main/java/org/hyperledger/besu/consensus/common/bft/BftContext.java