-
Notifications
You must be signed in to change notification settings - Fork 409
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
return an error for an empty
recompiledCreationBytecode
in `matchWi…
…thCreationTx`
- Loading branch information
1 parent
26433e6
commit dceda9f
Showing
4 changed files
with
96 additions
and
0 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
44 changes: 44 additions & 0 deletions
44
packages/lib-sourcify/test/sources/AbstractCreationBytecodeAttack/metadata.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,44 @@ | ||
{ | ||
"compiler": { | ||
"version": "0.6.12+commit.27d51765" | ||
}, | ||
"language": "Solidity", | ||
"output": { | ||
"abi": [], | ||
"devdoc": { | ||
"kind": "dev", | ||
"methods": {}, | ||
"version": 1 | ||
}, | ||
"userdoc": { | ||
"kind": "user", | ||
"methods": {}, | ||
"version": 1 | ||
} | ||
}, | ||
"settings": { | ||
"compilationTarget": { | ||
"sources/FFF.sol": "FFF" | ||
}, | ||
"evmVersion": "istanbul", | ||
"libraries": {}, | ||
"metadata": { | ||
"bytecodeHash": "ipfs" | ||
}, | ||
"optimizer": { | ||
"enabled": false, | ||
"runs": 200 | ||
}, | ||
"remappings": [] | ||
}, | ||
"sources": { | ||
"sources/FFF.sol": { | ||
"keccak256": "0x7ed3554b3f768ad3b3069d7fc8b1a08a24500507fc8a60eb11c726e37f3cd9a3", | ||
"urls": [ | ||
"bzz-raw://6d83c127e075a149ec14c6af579bc7b24955cdb7578ae7da2f253b7142d267cc", | ||
"dweb:/ipfs/QmW6tdCTV7X5dd5LCKDWedbMmkurQTMi4ePx7LY3DNuLn7" | ||
] | ||
} | ||
}, | ||
"version": 1 | ||
} |
6 changes: 6 additions & 0 deletions
6
packages/lib-sourcify/test/sources/AbstractCreationBytecodeAttack/sources/FFF.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,6 @@ | ||
pragma solidity 0.6.12; | ||
|
||
abstract contract FFF{ | ||
constructor (uint256 a) public payable { | ||
} | ||
} |
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