fix: Cancun SELFDESTRUCT semantics incorrect when contract's beneficiary is the contract itself and it isn't deleted #17477
Labels
Hedera Smart Contract Service
Issues related to the Hedera Smart Contract Service.
Milestone
Background
(See hashgraph/hedera-smart-contracts#936 for original issue.)
Issue reported for SELFDESTRUCT is that EIP-6780 clearly states that the target address for the sweep aka the beneficiary aka the obtainer (in our code for contract delete) can be the contract address itself and there are two cases:
(The case of a HAPI ContractDelete call is that it always fails if there's a balance and the beneficiary is the contract account.)
Acceptance Criteria
SELFDESTRUCT
behavior unchanged except:Dependencies
No response
Definition of Ready (DoR) Checklist
Definition of Done (DoD) Checklist
The text was updated successfully, but these errors were encountered: