JoinColony / colonyNetwork

Colony Network smart contracts
https://colony.io/
GNU General Public License v3.0
438 stars 106 forks source link

Update selfdestruct behavior #1248

Closed kronosapiens closed 3 months ago

kronosapiens commented 3 months ago

With the move to Hardhat 2.22 and the Dencun hardfork, the behavior of selfdestruct has changed. We should update our contracts accordingly.

area commented 3 months ago

Presumably, we should also actually not call selfdestruct, and mimic the behaviour it had (i.e. send the current ether balance of this to the caller)

kronosapiens commented 3 months ago

Note: do any currently deployed contracts depend on the destruction assumption?

kronosapiens commented 3 months ago

Closed in favor of #1254