-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* test transient storage (eip-1153) * update evm and frontier deps * fix test-block-storage-growth * feat: support for cancun selfdestruct changes (EIP-6780) * add test to verify the nonce increment bug (MOON-2806) --------- Co-authored-by: Agusrodri <agusrodriguez2456@gmail.com> Co-authored-by: Ahmad Kaouk <ahmadkaouk.93@gmail.com> Co-authored-by: Éloïs <c@elo.tf>
- Loading branch information
1 parent
e60aa01
commit f63af52
Showing
17 changed files
with
6,773 additions
and
7,779 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// SPDX-License-Identifier: GPL-3.0-only | ||
pragma solidity ^0.8.24; | ||
|
||
contract ProxyDeployer { | ||
event ContractDestroyed(address destroyedAddress); | ||
|
||
// Function to deploy a new Suicide contract | ||
function deployAndDestroy(address target) public { | ||
Suicide newContract = new Suicide(); | ||
newContract.destroy(target); | ||
emit ContractDestroyed(address(newContract)); | ||
} | ||
|
||
} | ||
|
||
contract Suicide { | ||
constructor() payable { | ||
} | ||
|
||
function destroy(address target) public { | ||
selfdestruct(payable(target)); | ||
} | ||
} |
Oops, something went wrong.