private void logCurrentBestBlock(final PayloadWrapper payloadWrapper) {
    if (LOG.isDebugEnabled()) {
      final Block block = payloadWrapper.blockWithReceipts().getBlock();
      final float gasUsedPerc =
          100.0f * block.getHeader().getGasUsed() / block.getHeader().getGasLimit();
      final int txsNum = block.getBody().getTransactions().size();

      LOG.debug(
          "Current best proposal for block {}: txs {}, gas used {}%, reward {}",
          block.getHeader().getNumber(),
          txsNum,
          String.format("%1.2f", gasUsedPerc),
          payloadWrapper.blockValue().toHumanReadableString());
    }
  }
Instantiates a new Post merge context.

@param difficulty the difficulty
consensus/merge/src/main/java/org/hyperledger/besu/consensus/merge/PostMergeContext.java