-
Notifications
You must be signed in to change notification settings - Fork 90
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
Bump foundry version in nix #6502
base: master
Are you sure you want to change the base?
Conversation
📝 Walkthrough<details>
<summary>📝 Walkthrough</summary>
## Walkthrough
The changes involve updates to the `flake.nix` file, specifically modifying the URLs for two dependencies. The `foundry.url` has been changed to a new commit hash, indicating a version update for the Foundry dependency. Additionally, the `solc.url` has been updated to reference a new branch that supports Solidity version 0.8.24. Other dependencies remain unchanged.
## Changes
| File | Change Summary |
|-----------|---------------------------------------------------------------------------------------------------------|
| flake.nix | Updated `foundry.url` from commit `ece7c960...` to `16b952aa...` and `solc.url` to branch `tb/20240129-solc-0.8.24`. |
## Sequence Diagram(s)
```mermaid
sequenceDiagram
participant User
participant Foundry
participant SolidityCompiler
User->>Foundry: Request dependency
Foundry-->>User: Provide updated version
User->>SolidityCompiler: Request compiler version
SolidityCompiler-->>User: Provide support for Solidity 0.8.24 📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
🔇 Additional comments (3)
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 using PR comments)
Other keywords and placeholders
Documentation and Community
|
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.
Does not seem to work.
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.
Actionable comments posted: 1
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: ASSERTIVE
📒 Files selected for processing (1)
- flake.nix (1 hunks)
🔇 Additional comments (2)
flake.nix (2)
14-14
: LGTM: Solidity compiler updated to support version 0.8.24.The solc dependency has been updated to a branch that supports Solidity version 0.8.24. This update will allow the project to use the latest features and improvements in the Solidity language.
To ensure compatibility with the new Solidity version and to identify any potential breaking changes or new features that might affect the project's smart contracts, please run the following commands:
#!/bin/bash # Description: Verify the impact of the new Solidity version on the project's smart contracts # 1. Check for Solidity version pragma in smart contracts echo "Checking Solidity version pragma in smart contracts:" rg --type solidity -n "pragma solidity" ./ethereum/contracts/src # 2. Compile the contracts with the new Solidity version echo "Compiling contracts with the new Solidity version:" cd ./ethereum/contracts forge build --force # 3. Run the test suite to ensure everything still works echo "Running the test suite:" forge test -vvv # 4. Check for any compiler warnings or new features echo "Checking for compiler warnings or new features:" forge build --force 2>&1 | rg -i "warning|^Error|new in"Please review the output of these commands to ensure that:
- The pragma statements in your contracts are compatible with the new Solidity version.
- All contracts compile successfully with the new version.
- All tests pass with the new version.
- There are no unexpected compiler warnings or errors.
If you encounter any issues or warnings, you may need to update your smart contracts to be compatible with Solidity 0.8.24.
12-12
: LGTM: Foundry version updated.The foundry dependency has been updated to a new commit hash, which aligns with the PR objective. This change should bring in the latest improvements and fixes from the foundry project.
To ensure compatibility with the new foundry version, please run the following command to check if there are any breaking changes or new features that might affect the project:
Please review the output to ensure there are no unexpected changes that might affect the project.
Bump the foundry version to the latest
Make build target to
ethers-rs
explicit, as it builds toalloy-rs
by default