private Code delegationTargetCode(
      final WorldUpdater worldUpdater, final Set<Address> warmAddressList, final Account contract) {
    // we need to look up the target account and its code, but do NOT charge gas for it
    final CodeDelegationAccount targetAccount =
        getTargetAccount(worldUpdater, gasCalculator::isPrecompile, contract);
    warmAddressList.add(targetAccount.getTargetAddress());

    return messageCallProcessor.getCodeFromEVM(
        targetAccount.getCodeHash(), targetAccount.getCode());
  }
Applies a transaction to the current system state.

@param worldState The current world state
@param blockHeader The current block header
@param transaction The transaction to process
@param miningBeneficiary The address which is to receive the transaction fee
@param operationTracer The tracer to record results of each EVM operation
@param blockHashLookup The {@link BlockHashLookup} to use for BLOCKHASH operations
@return the transaction result
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/mainnet/MainnetTransactionProcessor.java