-
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.
Using fully qualified names in library Transformations as identifiers (…
…#1487) * Add library transformation logic to accomodate the VerA format. Modify the test. The VerA format uses FQNs as identifiers in the transformationValues object instead of the keccak placeholder. * Fix build * Fix not iterating over libraries array. Fix library format conversion when using DB as the backend. * Fix replacing all library occurances * Fix build error in lib-sourcify tests * Change callProtection to have offset 1 and only the changed address as value Prev. we were starting from offset zero and having values like: 0x73abcd... However the bytecode already has 0x73 when comparing for a call protection. So it's actually an offset 1 byte and just 0xabcd * Add tests to check a library with <0.5.0 placeholder format. Add fixes * Handle case when libName is longer than 38 chars in SourcifyDBService conversion from library-map.json
- Loading branch information
Showing
13 changed files
with
869 additions
and
62 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
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
Oops, something went wrong.