diff --git a/evm/src/test/java/org/hyperledger/besu/evm/toy/ToyAccount.java b/evm/src/test/java/org/hyperledger/besu/evm/toy/ToyAccount.java index 8548a50d8e..4dd3018a55 100644 --- a/evm/src/test/java/org/hyperledger/besu/evm/toy/ToyAccount.java +++ b/evm/src/test/java/org/hyperledger/besu/evm/toy/ToyAccount.java @@ -171,7 +171,10 @@ public class ToyAccount implements MutableAccount { */ @Override public boolean isStorageEmpty() { - return storage.isEmpty(); + if (storage.isEmpty()) { + return parent == null || parent.isStorageEmpty(); + } + return false; } @Override