public ProtocolContext build() {
      return new ProtocolContext(
          blockchain, worldStateArchive, consensusContext, badBlockManager, serviceManager);
    }
Constructs a new {@link ProtocolContext} using the currently configured properties.

@return a new {@link ProtocolContext} instance with the specified properties.
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/ProtocolContext.java