Closed ChiTimesChi closed 2 months ago
[!CAUTION]
Review failed
The pull request is closed.
The pull request introduces changes to the GitHub Actions workflow for Solidity and updates the FastBridgeV2
contract. The workflow modifications include restructuring testing jobs and enhancing gas report generation. In the contract, several public function parameters are updated from bytes memory
to bytes calldata
, improving gas efficiency while maintaining the existing functionality.
File | Change Summary |
---|---|
.github/workflows/solidity.yml |
Restructured testing jobs, split Foundry tests into distinct steps, updated job names, added gas report comparison and comments. |
packages/contracts-rfq/contracts/FastBridgeV2.sol |
Updated public function parameter types from bytes memory to bytes calldata for efficiency. |
.github/workflows/solidity.yml
file, which is directly related to the changes made in the main PR regarding the restructuring of the Foundry testing and coverage jobs.FastBridgeV2
contract, specifically the relay
and claim
functions, which are also mentioned in the main PR's summary of changes to the FastBridgeV2
contract.size/m
In the meadow where bunnies play,
Code has danced and found its way.
With calldata now, we hop with glee,
Efficiency blooms like a bright spring tree.
Gas reports flutter, a joyous sight,
In the world of contracts, all feels right! đâ¨
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?
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 38.44864%. Comparing base (
9418b40
) to head (35d001e
). Report is 13 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Changes will decrease total bundle size by 150.12kB (-0.42%) :arrow_down:. This is within the configured threshold :white_check_mark:
âšī¸ *Bundle size includes cached data from a previous commit
Description
Solidity snapshot
workflow with aSolidity Gas Diff
, that is supposed to post a PR comment with the gas diffs realted to the contract changes in the PR.Summary by CodeRabbit
Summary by CodeRabbit
New Features
FastBridgeV2
contract by updating function parameters to acceptcalldata
.Bug Fixes