Skip to content

Fix/repatriate emit event #647

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

Merged
merged 4 commits into from
Nov 7, 2021
Merged

Fix/repatriate emit event #647

merged 4 commits into from
Nov 7, 2021

Conversation

syan095
Copy link
Contributor

@syan095 syan095 commented Nov 3, 2021

orml_tokens module now emit event when funds are repatriated.
Updated orml_tokens unit tests to test that the new RepatriatedReserved is correctly emitted

Roy Yang added 2 commits November 3, 2021 17:52
Updated unit test to test the event is correctly emited
@syan095 syan095 requested a review from xlc November 3, 2021 21:35
@codecov-commenter
Copy link

codecov-commenter commented Nov 3, 2021

Codecov Report

Merging #647 (826f6bf) into master (5ba42f5) will increase coverage by 0.01%.
The diff coverage is 77.77%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #647      +/-   ##
==========================================
+ Coverage   76.02%   76.04%   +0.01%     
==========================================
  Files          78       78              
  Lines        6548     6557       +9     
==========================================
+ Hits         4978     4986       +8     
- Misses       1570     1571       +1     
Impacted Files Coverage Δ
tokens/src/lib.rs 86.03% <66.66%> (-0.21%) ⬇️
tokens/src/tests.rs 99.59% <100.00%> (+<0.01%) ⬆️
authority/src/mock.rs 75.51% <0.00%> (+2.04%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5ba42f5...826f6bf. Read the comment docs.

…-event

* origin/master:
  bump 0.9.12 commit (#646)
  fix transfer_held (#592)
@xlc xlc merged commit d69f226 into master Nov 7, 2021
@xlc xlc deleted the fix/repatriate-emit-event branch November 7, 2021 22:00
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.

3 participants