The CustomSelfDestructOperation does not descend from or use the Besu implementation of SelfDestructOperation.
We are missing a check for static frames
if (frame.isStatic()) {
return new Operation.OperationResult(cost, ExceptionalHaltReason.ILLEGAL_STATE_CHANGE);
Solution
Add the check above to ensure the user gets the appropriate status code returned. Consider descending from the Besu implementation of SelfDestructOperation for reference.
Problem
The
CustomSelfDestructOperation
does not descend from or use the Besu implementation ofSelfDestructOperation
.We are missing a check for static frames
Solution
Add the check above to ensure the user gets the appropriate status code returned. Consider descending from the Besu implementation of
SelfDestructOperation
for reference.Alternatives
No response