Open dwasse opened 2 weeks ago
The recent updates enhance the rebalancing mechanics between Ethereum and Scroll chains by introducing the rebalanceManagerScroll
struct and supporting multiple rebalance methods. This update improves configuration flexibility, error handling, and the management of chain listeners, streamlining the rebalancing process across different blockchain environments.
File Path | Summary |
---|---|
services/rfq/relayer/inventory/scroll.go |
Introduced rebalanceManagerScroll struct, constants for various chain IDs, and functions for contract initialization, listeners, and rebalancing operations. |
services/rfq/relayer/inventory/rebalance.go |
Modified getRebalance function to support multiple rebalance methods; updated related functions to handle arrays of methods. |
services/rfq/relayer/inventory/manager.go |
Updated methods to utilize a broader retrieval of rebalance methods; added support for relconfig.RebalanceMethodScroll and enhanced error handling. |
In the world of chains, we glide so smooth,
With rebalancing magic, our codes do soothe.
Listeners set with care, in maps they thrive,
Across Ethereum realms, our features come alive.
A relayer's journey, precise and bright,
Through scrolls and gateways, we code the light.
🌐✨
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 25.70002%. Comparing base (
1744778
) to head (42d5fb6
). Report is 10 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Latest commit: |
42d5fb6
|
Status: | ✅ Deploy successful! |
Preview URL: | https://c7944859.sanguine-fe.pages.dev |
Branch Preview URL: | https://feat-scroll-rebalance.sanguine-fe.pages.dev |
Summary by CodeRabbit
New Features
Enhancements