-
Notifications
You must be signed in to change notification settings - Fork 84
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
sync master <> dev #555
sync master <> dev #555
Conversation
fix: normalize windows path to handle solc >=0.8.8 filename lookup
WalkthroughThe recent updates focus on enhancing compatibility and functionality. The Python workflow has been refined for better efficiency in testing, while adjustments in the Solidity compiler compatibility ensure smoother path comparisons. These changes aim to streamline development processes and improve code quality across different environments. Changes
Related issues
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
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.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files ignored due to path filters (1)
tests/call_to_variable-all.sol-0.5.8-legacy.zip
is excluded by:!**/*.zip
Files selected for processing (2)
- .github/workflows/pytest.yml (1 hunks)
- crytic_compile/utils/naming.py (1 hunks)
Additional comments: 4
.github/workflows/pytest.yml (3)
- 29-35: The Python setup and caching configuration look good. Ensure that
setup.py
exists and is correctly configured to leverage pip caching effectively.- 38-41: The dependency installation steps are appropriate. Consider removing
--always-install
from thesolc-select use latest
command to avoid unnecessary installations if the latest version is already present.- 43-45: Running tests with pytest is standard practice. Consider exploring additional pytest flags for parallel execution (
-n
) or detailed reporting (--durations=10
) if not already considered.crytic_compile/utils/naming.py (1)
- 191-197: The use of
as_posix()
for path normalization is a good practice for cross-platform compatibility and aligns with Solidity compiler version 0.8.8 changes. Consider adding a comment explaining the reason for usingas_posix()
, to aid future maintainers.
Summary by CodeRabbit
convert_filename
function for better path compatibility with recent Solidity compiler updates.