-
Notifications
You must be signed in to change notification settings - Fork 419
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor malicious creationBytecode test
The test was failing because of an ethers.js error: ethers-io/ethers.js#4182 Remove the unnecessary contract deployment and explain the test in detail. The test code and it's title was not really understandable becuase it was mostly copy-pasted from the above test.
- Loading branch information
Showing
2 changed files
with
20 additions
and
26 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
packages/lib-sourcify/test/sources/WithImmutablesCreationBytecodeAttack/artifact.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"bytecode": "60a060405234801561001057600080fd5b506040516103ca0000000000000000000000000000000000000000000000000000000000000001", | ||
"bytecode": "60a060405234801561001057600080fd5b506040516103ca", | ||
"abi": [] | ||
} |
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