Closed adu-web3 closed 4 months ago
The updates include two primary changes: Firstly, the Foundry version in the GitHub Actions workflow file .github/workflows/forge-ci.yml
is updated to use the generic nightly
tag, ensuring it always points to the latest nightly build. Secondly, the test/foundry/ExocoreDeployer.t.sol
file now imports various mock implementations, likely to facilitate more comprehensive testing.
File | Summary |
---|---|
.github/workflows/forge-ci.yml |
Updated foundry-version from a specific nightly version to nightly to continuously integrate the latest nightly builds. |
test/foundry/ExocoreDeployer.t.sol |
Added imports for mock implementations (AssetsMock.sol , ClaimRewardMock.sol , DelegationMock.sol ), and NonShortCircuitEndpointV2Mock . |
In the realm of nightly skies,
Forge
updates, no surprise,
Mocks to test, they join the fold,
Ensuring code remains bold.
A rabbit's touch in every line,
Making sure the tests align.
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?
Description
the latest version of foundry tools have brought useful features like https://github.com/foundry-rs/foundry/pull/7334#issuecomment-1987154623, which requires importing source files if we want to get its code by calling
getDeployedCode
. This PR updates foundry version used in CI tonightly
instead of specific version and fix failed tests.nightly-f625d0fa7c51e65b4bf1e8f7931cd1c6e2e285e9
=>nightly
inforge-ci.yml
getDeployedCode
Summary by CodeRabbit
Chores
foundry-version
parameter in CI configuration for improved stability.Tests