-
Notifications
You must be signed in to change notification settings - Fork 2
Generate solc cache key from versions #57
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
Conversation
Certora Run Started (Fail to Start)
Certora Run Summary
|
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.
Pull Request Overview
This PR enhances the Solidity compiler binary caching mechanism by incorporating Solc version hashes into the cache key generation. This ensures that the cache is properly invalidated when Solc versions change, while maintaining backward compatibility through restore keys.
- Generates a hash-based cache key from the Solc versions input to ensure cache refreshes on version changes
- Adds conditional caching logic that only applies when Solc versions are specified
- Implements restore keys for backward compatibility with existing cache entries
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
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.
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.
Verification Results
- Group ID: 34521df0-ec2c-4473-af65-87169afd864b
Job | Result | SANITY_FAILED | VIOLATED | Link |
---|---|---|---|---|
Default.conf | ❌ | 2 | 1 | Link |
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.
Certora Run Started (Fail to Start)
Certora Run Summary
|
🚀 Pull Request Overview
This PR adds a hash of Solc versions for the cache key generation and adds restore keys for backward compatibility. This change helps with refreshing the cache on Solc version changes.
📜 Tests Checklist
Before submitting this PR, ensure that all tests pass and meet the following conditions: