private Optional<AccountUpdateContext> getAddressTouchedByBlock(
      final Address addressToFind,
      final Optional<PathBasedWorldStateUpdateAccumulator<? extends PathBasedAccount>>
          maybeBlockAccumulator) {
    if (maybeBlockAccumulator.isPresent()) {
      final PathBasedWorldStateUpdateAccumulator<? extends PathBasedAccount> blockAccumulator =
          maybeBlockAccumulator.get();
      final PathBasedValue<? extends PathBasedAccount> pathBasedValue =
          blockAccumulator.getAccountsToUpdate().get(addressToFind);
      if (pathBasedValue != null) {
        return Optional.of(
            new AccountUpdateContext(
                addressToFind,
                areAccountDetailsEqualExcludingStorage(
                    pathBasedValue.getPrior(), pathBasedValue.getUpdated())));
      }
    }
    return Optional.empty();
  }
Retrieves the update context for the given address from the block's world state update
accumulator.

<p>This method checks if the provided accumulator contains updates for the given address. If an
update is found, it compares the prior and updated states of the account to determine if the
key account details (excluding storage) are considered equal. It then returns an {@link
AccountUpdateContext} containing the address and the result of that comparison.

<p>If no update is found for the address or the accumulator is absent, the method returns an
empty {@link Optional}.

@param addressToFind The address for which the update context is being queried.
@param maybeBlockAccumulator An {@link Optional} containing the block's world state update
    accumulator, which holds the updates for the accounts in the block.
@return An {@link Optional} containing the {@link AccountUpdateContext} if the address is found
    in the block's updates, otherwise an empty {@link Optional}.
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/mainnet/parallelization/TransactionCollisionDetector.java