etherspot-contracts icon indicating copy to clipboard operation
etherspot-contracts copied to clipboard

Feature/pro 305 integrate layer zero/stargate protocol

Open cryptonoyaiba opened this issue 2 years ago • 2 comments

Description

  • Amended StargateFacet contract to handle new changes in logic. Updated and added an ETH transfer function that is a new feature that Stargate has enabled.
  • Removed some logic from the old contract as it can be handled by backend (pool ids).
  • Test suite updated and amended for new iteration of contract.

Motivation and Context

  • To update the StargateFacet contract to comply with latest Stargate changes and to add new functionality.

How Has This Been Tested?

  • Test suite (see screenshots).

Screenshots (if appropriate):

Screen Shot 2023-07-10 at 16 36 14

Types of changes

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)

cryptonoyaiba avatar Jul 10 '23 15:07 cryptonoyaiba

PRO-305 Etherspot to integrate LayerZero/Stargate protocol

Integrate LayerZero/Stargate protocol to Etherspot's cross-chain aggregation solution

More information: https://layerzero.gitbook.io/docs/guides/master/how-to-send-a-message

Documentation and example code: https://stargateprotocol.gitbook.io/stargate/

linear[bot] avatar Jul 10 '23 15:07 linear[bot]

There is one test that is commented out which is not working correctly that I am currently in discussion with Stargate on how to solve. Rather than hold up the PR for this I will amend this test separately when the problem has been debugged.

SGReceiver.sol is part of this test to check the logic executes correctly on receiving chain.

cryptonoyaiba avatar Jul 12 '23 09:07 cryptonoyaiba