@VisibleForTesting
  protected void applyStateOverrides(
      final StateOverrideMap stateOverrideMap, final MutableWorldState ws) {
    var updater = ws.updater();
    for (Address accountToOverride : stateOverrideMap.keySet()) {
      final StateOverride override = stateOverrideMap.get(accountToOverride);
      MutableAccount account = updater.getOrCreate(accountToOverride);
      TransactionSimulator.applyOverrides(account, override);
    }
    updater.commit();
  }
Applies state overrides to the world state.

@param stateOverrideMap The StateOverrideMap containing the state overrides.
@param ws The MutableWorldState to apply the overrides to.
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/transaction/BlockSimulator.java