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

Implement burn from sender #1622

Merged
merged 7 commits into from
May 26, 2023
Merged

Implement burn from sender #1622

merged 7 commits into from
May 26, 2023

Conversation

barrasso
Copy link
Member

This was requested by CCIP for testing purposes with their token pools.

@barrasso barrasso requested a review from dbeal-eth May 25, 2023 15:01
@codecov
Copy link

codecov bot commented May 25, 2023

Codecov Report

Merging #1622 (ec6476e) into xchain-pools (8dc4b7c) will increase coverage by 3.93%.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           xchain-pools    #1622      +/-   ##
================================================
+ Coverage         68.02%   71.95%   +3.93%     
================================================
  Files                30       61      +31     
  Lines               663      788     +125     
  Branches            121      246     +125     
================================================
+ Hits                451      567     +116     
- Misses              179      188       +9     
  Partials             33       33              
Flag Coverage Δ
core-contracts 93.26% <ø> (?)
core-modules 90.47% <ø> (?)
core-utils 68.08% <ø> (ø)
router 67.53% <ø> (ø)

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

see 31 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@dbeal-eth dbeal-eth left a comment

Choose a reason for hiding this comment

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

  • does not check access for owner or CCIP as sender
  • needs tests
  • does not pass lint checks

@barrasso barrasso requested a review from dbeal-eth May 25, 2023 23:45
@dbeal-eth dbeal-eth merged commit 538f30e into xchain-pools May 26, 2023
@dbeal-eth dbeal-eth deleted the burn-from-sender branch May 26, 2023 17:48
barrasso added a commit that referenced this pull request Jul 7, 2023
* start on cross chain pools with cl functions

* initial efforts

edge cases identified and will be irioned out tomorrow. but this is most
of the structure!

* closer pre single chain tests

* write out planned tests, rework a bit of the cross chain details

starting to look just a bit ugly, hopefully getting pretty close to the
end of the edge cases. we see!

* add missing file

* tests back to normal

* add important debt check test

* add some tests before I leave for vacation

* minor fixes

* more minor fixes

* Run yarn lint:sol:fix

* Run yarn lint:js:fix

* Use CrossChain storage lib for cross chain usd transfers

* fixes for utils module, allow xchain pools to have its own versioning

* v3.2.0-xchain.0

* fix error

* Implement burn from sender (#1622)

* add burn from sender

* call burn with target as caller

* Add access check

* add tests

* fix lint

* fix lint

* fixes

* first successful ccip send of createCrossChainPool

next step: pool sync

final step: pool config

* fixes to load contract from misc source

* Add transfer cross chain USD tests (#1634)

* add transferCrossChain tests

* refund leftover gas and test cleanup

* create CrossChainUSDModule

* fix lint

* update transferCrossChain (#1650)

* fix sol lint and revert deps change

* fixes

* run yarn

* Use EVMTokenAmount amount

* decouple from xchain-pools branch

* revert unnecessary changes

* remove more unnecessary files

* Update storage dump

* fix lint

* fix deps

* fix lint: use safe cast in utils module

* implement feedback

* update comment

* revert version changes

---------

Co-authored-by: Daniel Beal <git@danb.email>
Co-authored-by: Daniel Beal <git@dbeal.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants