You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The detailed discussions can be found in this thread. Running the same code with selfdestruct in remix and foundry presents different behaviors. In Foundry, selfdestruct seems to do nothing about destructing the contract but only forwarding funds to a designated wallet address. Please take a look into this.
The text was updated successfully, but these errors were encountered:
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (b28119b 2022-11-23T03:06:50.152811Z)
What command(s) is the bug in?
selfdestruct
Operating System
Windows
Describe the bug
The detailed discussions can be found in this thread. Running the same code with
selfdestruct
in remix and foundry presents different behaviors. In Foundry,selfdestruct
seems to do nothing about destructing the contract but only forwarding funds to a designated wallet address. Please take a look into this.The text was updated successfully, but these errors were encountered: