Closed abtestingalpha closed 2 months ago
The pull request introduces several updates across multiple packages, primarily focusing on version bumps and enhancements to the refund
function in the FastBridgeV2
contract. The function now includes an additional check for transaction status, ensuring it only processes refunds when the transaction is in the REQUESTED
state. Additionally, the synapse-interface
package sees improvements in the display logic for gas drop amounts and the introduction of a utility function for calculating significant decimal places.
File | Change Summary |
---|---|
packages/contracts-rfq/CHANGELOG.md |
Updated changelog for version 0.5.7 , indicating a version bump only. |
packages/contracts-rfq/contracts/FastBridgeV2.sol |
Modified refund function to include a transaction status check before processing refunds. |
packages/contracts-rfq/package.json |
Version updated from 0.5.6 to 0.5.7 . |
packages/contracts-rfq/test/FastBridgeV2.Src.t.sol |
Updated test functions to use tokenTx instead of ethTx in refund calls. |
packages/synapse-interface/CHANGELOG.md |
Updated changelog for version 0.40.1 , documenting a bug fix related to airdrop display. |
packages/synapse-interface/components/StateManagedBridge/BridgeExchangeRateInfo.tsx |
Enhanced gas drop amount display logic and adjusted airdrop dollar amount formatting. |
packages/synapse-interface/package.json |
Version updated from 0.40.0 to 0.40.1 . |
packages/synapse-interface/utils/getSignificantDecimals.ts |
Introduced getSignificantDecimals utility function for calculating significant decimal places. |
packages/synapse-interface/utils/hooks/useCoingeckoPrice.ts |
Changed key for "Metis" in ID_MAP from METIS to Metis . |
refund
function in the FastBridgeV2
contract to include a check for transaction status.FastBridgeV2
contract, relevant to the refund
function's functionality.refund
, aligning with the main PR's focus.solhint
warnings related to the FastBridgeV2
contract, indirectly relating to code quality.M-synapse-interface
, M-contracts
, size/s
, Sol
, Typescript
, M-deps
, 2-reviewers
🐇 In the garden of code, changes bloom bright,
With refunds now checked, all feels just right.
Airdrops displayed with decimals so fair,
In the world of contracts, we show that we care.
Hoppity hop, let the updates take flight,
For in every small change, there's joy and delight! 🌼
[!WARNING]
Review ran into problems
🔥 Problems
Error running LanguageTool: LanguageTool error: Unknown error
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?
Changes will decrease total bundle size by 1.76kB (-0.0%) :arrow_down:. This is within the configured threshold :white_check_mark:
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 90.62247%. Comparing base (
e897b18
) to head (257e57c
). Report is 36 commits behind head on fe-release.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Summary by CodeRabbit
Release Notes
New Features
Bug Fixes
Improvements
Version Updates
@synapsecns/contracts-rfq
(0.5.6 to 0.5.7) and@synapsecns/synapse-interface
(0.40.0 to 0.40.1).911813de6c7ca3920374d0882b159f758f1747bb: synapse-interface preview link