@Override
  public Optional<List<CodeDelegation>> getCodeDelegationList() {
    return maybeCodeDelegationList;
  }
Calculates the effectiveGasPrice of a transaction on the basis of an {@code Optional<Long>}
baseFee and handles unwrapping Optional fee parameters. If baseFee is present, effective gas is
calculated as:

<p>min((baseFeePerGas + maxPriorityFeePerGas), maxFeePerGas)

<p>Otherwise, return gasPrice for legacy transactions.

@param baseFeePerGas optional baseFee from the block header, if we are post-london
@return the effective gas price.
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/core/Transaction.java