comment out unused evmWorldUpdater.parentUpdater() check

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
pectra-devnet-4
Daniel Lehrner 1 month ago
parent 9a317b1a8e
commit 8ab3aaca04
  1. 6
      ethereum/core/src/main/java/org/hyperledger/besu/ethereum/mainnet/MainnetTransactionProcessor.java

@ -346,9 +346,9 @@ public class MainnetTransactionProcessor {
throw new RuntimeException("Code delegation processor is required for 7702 transactions");
}
if (evmWorldUpdater.parentUpdater().isEmpty()) {
throw new RuntimeException("Code delegation needs the underlying world state");
}
// if (evmWorldUpdater.parentUpdater().isEmpty()) {
// throw new RuntimeException("Code delegation needs the underlying world state");
// }
// get the underlying world state to commit code delegations without the transaction having
// to succeed

Loading…
Cancel
Save