Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: adapter fee airdrop #176

Merged
merged 3 commits into from
Nov 9, 2023

Conversation

redlarva
Copy link
Contributor

@redlarva redlarva commented Nov 9, 2023

Description:

Commit Message

feature: adapter's fee airdrop

see the guidelines for commit messages.

Changelog Entry

version: <log entry>

Checklist:

  • I have performed a self-review of my own code
  • I have documented my code in accordance with the documentation guidelines
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have run the unit tests
  • I only have one commit (if not, squash them into one commit).
  • I have a descriptive commit message that adheres to the commit message guidelines

Please review the CONTRIBUTING.md file for detailed contributing guidelines.

Copy link

codecov bot commented Nov 9, 2023

Codecov Report

Merging #176 (0e7b0de) into feature/solidity-adapters (e7f0102) will increase coverage by 0.21%.
The diff coverage is 86.95%.

Additional details and impacted files

Impacted file tree graph

@@                       Coverage Diff                       @@
##             feature/solidity-adapters     #176      +/-   ##
===============================================================
+ Coverage                        70.07%   70.28%   +0.21%     
  Complexity                          54       54              
===============================================================
  Files                               34       34              
  Lines                             1995     2006      +11     
  Branches                            33       33              
===============================================================
+ Hits                              1398     1410      +12     
+ Misses                             581      580       -1     
  Partials                            16       16              
Flag Coverage Δ
solidity 81.41% <86.95%> (+1.18%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
...ntracts/evm/contracts/adapters/WormholeAdapter.sol 92.85% <83.33%> (-1.74%) ⬇️
...tracts/evm/contracts/adapters/LayerZeroAdapter.sol 93.33% <88.23%> (+6.15%) ⬆️

@redlarva redlarva added the enhancement New feature or request label Nov 9, 2023
Copy link
Collaborator

@AntonAndell AntonAndell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, great work. Will be interesting to see how this works out on testnet

@redlarva redlarva merged commit c18b23e into feature/solidity-adapters Nov 9, 2023
17 of 23 checks passed
@redlarva redlarva deleted the feature/adapter-fee-aridrop branch November 9, 2023 10:57
redlarva added a commit that referenced this pull request Nov 10, 2023
* feat: incorporate response fee for layerzero

* feat: incorporate response fee for wormhole

* refactor: remove duplicate dev docs
redlarva added a commit that referenced this pull request Nov 10, 2023
* feat: incorporate response fee for layerzero

* feat: incorporate response fee for wormhole

* refactor: remove duplicate dev docs
redlarva added a commit that referenced this pull request Nov 10, 2023
* feat: implement wormhole adapter (#144)

* feat: implement wormhole adapter

* fix: removed event listener for request submitted

* tests: added rollback test for wormhole

* tests: added admin test

* fix: xcall test

* feat: add method to update gas limit

* feat: implement layerzero adapter (#149)

* feat: added interface for layerzero and install dependencies

* feat: implement layerzero adapter

* fix: test for layer-zero and wormhole

* refactor: clean up

* feat: add method to update gas limit for layer zero

* fix: use contract as refund address

---------

Co-authored-by: AntonAndell <[email protected]>

* fix: set sn to 0 if response not required

* feature: adapter fee airdrop (#176)

* feat: incorporate response fee for layerzero

* feat: incorporate response fee for wormhole

* refactor: remove duplicate dev docs

* feat: implement wormhole adapter (#144)

* feat: implement wormhole adapter

* fix: removed event listener for request submitted

* tests: added rollback test for wormhole

* tests: added admin test

* fix: xcall test

* feat: add method to update gas limit

* feat: implement layerzero adapter (#149)

* feat: added interface for layerzero and install dependencies

* feat: implement layerzero adapter

* fix: test for layer-zero and wormhole

* refactor: clean up

* feat: add method to update gas limit for layer zero

* fix: use contract as refund address

---------

Co-authored-by: AntonAndell <[email protected]>

* fix: set sn to 0 if response not required

---------

Co-authored-by: AntonAndell <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Airdrop functionality to LayerZero Add Airdrop Functionality to Wormhole
2 participants