Closed ChiTimesChi closed 1 week ago
The changes in this pull request involve modifications to import statements across multiple smart contract files in the contracts-rfq
package. Key updates include activating previously commented imports, reordering existing import statements for clarity, and adding new parameters to certain functions in the FastBridgeV2
contract. Overall, the core functionality and logic of the contracts remain unchanged, with a focus on improving code organization and preparation for enhanced transaction handling.
File | Change Summary |
---|---|
packages/contracts-rfq/contracts/Admin.sol |
Added active import of UniversalTokenLib . |
packages/contracts-rfq/contracts/AdminV2.sol |
Reorganized import statements into categorized sections; no functional changes. |
packages/contracts-rfq/contracts/FastBridge.sol |
Changed order of SafeERC20 and IERC20 imports; no functional changes. |
packages/contracts-rfq/contracts/FastBridgeV2.sol |
Reorganized imports; updated function signatures to include new parameters and deprecate the refund function; enhanced validation in internal methods. |
packages/contracts-rfq/contracts/libs/UniversalToken.sol |
Changed order of SafeERC20 and IERC20 imports; no functional changes. |
packages/contracts-rfq/contracts/zaps/TokenZapV1.sol |
Reorganized imports for clarity; no functional changes. |
packages/contracts-rfq/foundry.toml |
Added sort_imports = true configuration option. |
packages/contracts-rfq/test/FastBridgeMock.sol |
Reordered import of IFastBridge ; no functional changes. |
packages/contracts-rfq/test/FastBridgeV2.Src.RefundV1.t.sol |
Reordered imports; no functional changes. |
packages/contracts-rfq/test/FastBridgeV2.t.sol |
Activated import of IFastBridgeV2Errors and reordered other imports; no functional changes. |
packages/contracts-rfq/test/MulticallTarget.t.sol |
Reordered imports; no functional changes. |
packages/contracts-rfq/test/UniversalTokenLib.t.sol |
Reordered imports; no functional changes. |
packages/contracts-rfq/test/integration/FastBridge.MulticallTarget.t.sol |
Reordered imports; no functional changes. |
packages/contracts-rfq/test/integration/FastBridgeV2.MulticallTarget.t.sol |
Reordered imports; no functional changes. |
packages/contracts-rfq/test/integration/FastBridgeV2.TokenZapV1.Dst.t.sol |
Reordered imports; no functional changes. |
packages/contracts-rfq/test/integration/FastBridgeV2.TokenZapV1.Src.t.sol |
Reordered imports; no functional changes. |
packages/contracts-rfq/test/integration/TokenZapV1.t.sol |
Activated import of VaultManyArguments ; no functional changes. |
packages/contracts-rfq/test/libs/ZapDataV1.t.sol |
Reordered imports; no functional changes. |
packages/contracts-rfq/test/mocks/VaultMock.sol |
Changed order of SafeERC20 and IERC20 imports; no functional changes. |
packages/contracts-rfq/test/zaps/TokenZapV1.GasBench.t.sol |
Activated import of SimpleVaultMock ; no functional changes. |
packages/contracts-rfq/test/zaps/TokenZapV1.t.sol |
Reordered import of VaultManyArguments ; no functional changes. |
FastBridgeV2
involving modifications to bridge transaction handling.FastBridgeV2
for managing bridge relay transactions.refund
function in FastBridgeV2
for improved transaction management.FastBridgeV2
.FastBridgeV2
.zap
functionality in FastBridgeV2
.FastBridgeV2
for improved transaction handling and documentation.size/xs
, needs-go-generate-services/rfq
π° In the code we hop and play,
With imports shuffled, clear as day.
Functions stay true, logic intact,
Enhancing our contracts, that's a fact!
So letβs celebrate this tidy feat,
For every change makes our code neat! π
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 41.80602%. Comparing base (
748a3a2
) to head (6695e64
). Report is 2 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
π¨ Try these New Features:
Latest commit: |
6695e64
|
Status: | β Deploy successful! |
Preview URL: | https://6c85ccd3.sanguine-fe.pages.dev |
Branch Preview URL: | https://refactor-fbv2-sort-imports.sanguine-fe.pages.dev |
Description A clear and concise description of the features you're adding in this pull request.
Additional context Add any other context about the problem you're solving.
Metadata
Summary by CodeRabbit
Release Notes
New Features
FastBridgeV2
contract with new parameters for bridge transactions, improving functionality.TokenZapV1IntegrationTest
now utilizesVaultManyArguments
for better testing capabilities.Bug Fixes
Documentation
Chores