public Builder withConsensusContext(final ConsensusContext consensusContext) {
      this.consensusContext = consensusContext;
      return this;
    }
Sets the {@link ConsensusContext} for the {@link ProtocolContext}.

@param consensusContext the consensus context to be used in the protocol context.
@return the builder instance for chaining.
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/ProtocolContext.java