Closed Defi-Moses closed 2 months ago
This pull request introduces significant updates to the @synapsecns/contracts-rfq
package, including the FastBridgeV2
contract, which enhances token bridging capabilities across blockchain networks. It adds various functions for managing bridge transactions, such as creating requests, relaying transactions, submitting proofs, claiming funds, and handling disputes and refunds. Additionally, the changelog and package.json files are updated to reflect version changes and dependency updates, while a comprehensive test suite validates the functionalities of the FastBridgeV2
contract.
File(s) | Change Summary |
---|---|
packages/contracts-rfq/contracts/FastBridgeV2.sol |
Implemented the FastBridgeV2 contract with functions for token transfer, bridge transaction management, proof submission, claiming, disputes, and refunds. |
packages/contracts-rfq/test/FastBridgeV2.Dst.t.sol |
Introduced a test suite for the FastBridgeV2 contract, covering event declarations, setup, bridging logic, and various test cases for functionality validation. |
packages/contracts-rfq/CHANGELOG.md , packages/contracts-rfq/package.json |
Updated changelog and package.json to reflect version changes and dependency updates. |
packages/synapse-interface/CHANGELOG.md , packages/synapse-interface/package.json |
Updated changelog and package.json for @synapsecns/synapse-interface , including new features and dependency modifications. |
packages/synapse-interface/messages/*.json |
Added new strings for localization, including "Confirm new quote" and "Transaction refunded, funds returned" in multiple languages. |
packages/synapse-interface/slices/_transactions/reducer.ts |
Updated _TransactionDetails interface to include routerAddress and added a new status for refunded transactions. |
packages/synapse-interface/utils/hooks/use_TransactionsListener.ts |
Modified use_TransactionsListener to include routerAddress in the returned transaction object. |
🐰 In the land of bridges, we hop and we play,
With tokens and contracts, new features today!
From relaying to claiming, our paths intertwine,
Hopping through code, making everything fine.
So here’s to our changes, let’s leap with delight,
In the fields of blockchain, our future is bright! 🌟✨
[!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?
Latest commit: |
ebf102c
|
Status: | ✅ Deploy successful! |
Preview URL: | https://44a9f189.sanguine-fe.pages.dev |
Branch Preview URL: | https://master.sanguine-fe.pages.dev |
Changes will decrease total bundle size by 360.87kB (-1.0%) :arrow_down:. This is within the configured threshold :white_check_mark:
ℹ️ *Bundle size includes cached data from a previous commit
Attention: Patch coverage is 87.62887%
with 12 lines
in your changes missing coverage. Please review.
Project coverage is 41.10994%. Comparing base (
0357100
) to head (2709e85
). Report is 29 commits behind head on fe-release.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
7f458db9c8cfe7a877f6c0c9103ea70e7c053313: synapse-interface preview link
Summary by CodeRabbit
Summary by CodeRabbit
New Features
FastBridgeV2
contract for seamless token bridging across blockchain networks.Bug Fixes
contracts-rfq
module.Tests
FastBridgeV2
contract, covering various bridging scenarios and ensuring robust functionality.a5791e7d779233158819866183580f611b487073: synapse-interface preview link 42e847b9e9811dee1f371cd835736eb4b49a9839: synapse-interface preview link c1ef693b026306947960a2402768d5cdc7e7f4a7: synapse-interface preview link b662ba5dad91798071b5c9706aa7464088b82358: synapse-interface preview link 1b1301561af311120749e8e606723cf6ec5afca7: synapse-interface preview link 23e79e2bb8bd7935e33c3397e563905f275a316b: synapse-interface preview link b6103473a872e0d2244e23c77671b3c6bf99d537: synapse-interface preview link 739a35a842d9fd7f29ebb10cd00e79f80ef89d08: synapse-interface preview link 4ac58af29d45f7fe808ddec0081a720923ffa7e0: synapse-interface preview link a289e402862b1671b131db7c3e8d3e08f7d1821f: synapse-interface preview link 164aecca51e7bf7f35dcf905f7f6949468acc2f1: synapse-interface preview link d818405e22c8c7e63651ed8cba257781b18909c7: synapse-interface preview link 45250a8e7ea51b27e1782f5aa58f8e1ac5875615: synapse-interface preview link 92858b2233a27e5df1b17cc56128e53e5e474606: synapse-interface preview link bff7bab75a89c793b76a6784631706037760a1f5: synapse-interface preview link afe22e7a9bbeedb8a74fe55fb478eaebf284e598: synapse-interface preview link 21b3f9d6f74af189e612fdb173d5fb778fdaf51a: synapse-interface preview link cba3a2b7d2296ef378c9dcc54a1e5ac18fb052be: synapse-interface preview link a4c1f04b6a87e2c8a3dbf0fced7b57e348e1d987: synapse-interface preview link 7148d441404010e52bdbb79cade9a1a424c38847: synapse-interface preview link 24036a984b2e368c0742931290a8f6f9b54e4e1c: synapse-interface preview link 083b4466232f5fd198cf558bd996c8f889f7263f: synapse-interface preview link e82d507e9f4a4ad57ce77a8d44fc8246bc0f6084: synapse-interface preview link 41df495acc53a9039bd42f913b7af05450654d12: synapse-interface preview link ab65616355d07214e8492ec451d50334931e9fb0: synapse-interface preview link 52beb9aeadac6f5083abe53f88cc5aec6337eb62: synapse-interface preview link 692f9e063bb7563e346b99b6230914f1e1d86ee4: synapse-interface preview link c77713e357d67f67fa3b237b8d6698c08eac07c2: synapse-interface preview link ee185b6eb1341aa933fe2d112cd1f223bcbc57bb: synapse-interface preview link ee185b6eb1341aa933fe2d112cd1f223bcbc57bb: explorer-ui preview link 76e3db7d818ab3e8cf6db36850048d0e5812779b: explorer-ui preview link 76e3db7d818ab3e8cf6db36850048d0e5812779b: synapse-interface preview link 271bbed36d51f46341aa495fa7d21d7b4fe67b08: synapse-interface preview link 271bbed36d51f46341aa495fa7d21d7b4fe67b08: explorer-ui preview link a037434da8d4f453d91556aaa9a0e247ead2a7fa: synapse-interface preview link a037434da8d4f453d91556aaa9a0e247ead2a7fa: explorer-ui preview link b6b4c102723ff929bd45eb5fe34fc24ff5c448b9: explorer-ui preview link b6b4c102723ff929bd45eb5fe34fc24ff5c448b9: synapse-interface preview link