Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Ensure that the pending creation customizer applies to the addre…
…ss being created (#11213) Signed-off-by: lukelee-sl <luke.lee@swirldslabs.com>
- Loading branch information
1 parent
a723e9c
commit 220d188
Showing
11 changed files
with
85 additions
and
32 deletions.
There are no files selected for viewing
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
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
1 change: 1 addition & 0 deletions
1
...test-clients/src/main/resource/contract/contracts/CallInConstructor/CallInConstructor.bin
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 @@ | ||
6080604052348015600f57600080fd5b5060006a636f6e736f6c652e6c6f679050600080600080845afa5050603f8060386000396000f3fe6080604052600080fdfea264697066735822122024b2dfd69e1895e746366dda7c12cd24a789553d191ed25953318ba87ad8288e64736f6c63430008100033 |
1 change: 1 addition & 0 deletions
1
...est-clients/src/main/resource/contract/contracts/CallInConstructor/CallInConstructor.json
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 @@ | ||
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"}] |
12 changes: 12 additions & 0 deletions
12
...test-clients/src/main/resource/contract/contracts/CallInConstructor/CallInConstructor.sol
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,12 @@ | ||
pragma solidity ^0.8.0; | ||
|
||
contract CallInConstructor { | ||
address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67); | ||
|
||
constructor() { | ||
address somebodyToCall = CONSOLE_ADDRESS; | ||
assembly { | ||
let r := staticcall(gas(), somebodyToCall, 0, 0, 0, 0) | ||
} | ||
} | ||
} |