-
Notifications
You must be signed in to change notification settings - Fork 431
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Verification flow verification classes #1879
Verification flow verification classes #1879
Conversation
Refactor project structure and import paths in lib-sourcify
…d compiler <0.8.21" test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I only had a glimpse on the tests. Not sure if I can take a closer look before my vacation.
- Extracted transformation functions from the Verification class to a separate module - Added a new SolidityBugType enum to handle specific compilation scenarios - Improved error handling for RPC unavailability
…ad of 'checkAndCreate'
Should we wait merging because you also want to check the tests? @kuzdogan |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small and some major things. I haven't looked at the tests yet to not make this review too large. I'll review the tests as the final next step.
My comments about the transformations array merging might be confusing. We can do a short call about that.
I'm reviewing this a bit thoroughly as this is an important piece of code but otherwise great work!
…re proceeding with bytecode matching
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple issues. I didn't really check how comprehensive these tests are and if more are needed. Also there are a lot of potential for refactoring. For the sake of moving forward I'm leaving these out for this PR.
- Update source file reading to support nested directory structures - Clarify error message for bytecode matching with no auxdata - Improve test description for bytecode matching scenario
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
LFG!
337fd91
into
verification-flow-refactoring-main
This PR implements the new Verification class defined in #1823.
TODO:
Implement callingmatchWithRuntimeBytecode
andmatchWithCreationTx
in parallelshould verify a contract with viaIR:true, optimizer disabled, and compiler <0.8.21
Verification
classVerification/Transformations.ts
./src/lib
folder