Skip to content

fix(asset-index): use transfer instead of deposit for liquid assets#420

Merged
clearloop merged 11 commits intomainfrom
matt/enforce-deposits
Oct 6, 2021
Merged

fix(asset-index): use transfer instead of deposit for liquid assets#420
clearloop merged 11 commits intomainfrom
matt/enforce-deposits

Conversation

@mattsse
Copy link
Contributor

@mattsse mattsse commented Sep 27, 2021

Changes

  • Fixes a soundness issue mentioned in Review checklist #331, minting of liquid assets is removed and requires that these assets are deposited via XCM first regardless if it's gov approved.

Tests

Failing tests are updated to allocate some funds for add_asset
Did not check the JS test suite however.

cargo t

Issues

@mattsse mattsse marked this pull request as ready for review September 28, 2021 11:10
@mattsse mattsse requested a review from clearloop September 28, 2021 11:11
@mattsse mattsse added break-api Types or calls changed and break APIs needs review PR needs reviewing labels Sep 28, 2021
@clearloop clearloop added needs changes PR needs changes and removed needs review PR needs reviewing labels Sep 28, 2021
@clearloop
Copy link
Contributor

plz fix the benchmarks

@clearloop
Copy link
Contributor

Still broken in the benchmarks, I can join to debug this later

@mattsse
Copy link
Contributor Author

mattsse commented Sep 29, 2021

Still broken in the benchmarks, I can join to debug this later

ah I know what's up, fixing this rn

@clearloop clearloop added needs review PR needs reviewing and removed needs changes PR needs changes labels Oct 2, 2021
@mattsse mattsse added approved PR approved to merge and removed needs review PR needs reviewing labels Oct 5, 2021
@clearloop clearloop merged commit 55b2ea1 into main Oct 6, 2021
@clearloop clearloop deleted the matt/enforce-deposits branch October 6, 2021 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved PR approved to merge break-api Types or calls changed and break APIs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Require liquid assets were sent to via XCM

2 participants