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

Handle error for Currency::transfer #750

Merged
merged 4 commits into from
May 30, 2023
Merged

Conversation

simonsso
Copy link
Contributor

@simonsso simonsso commented May 29, 2023

The let _ = binding stores a Result type without acting on an Error.

@codecov
Copy link

codecov bot commented May 29, 2023

Codecov Report

Merging #750 (d0aa6d8) into master (c8b7b0a) will increase coverage by 0.16%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #750      +/-   ##
==========================================
+ Coverage   59.03%   59.20%   +0.16%     
==========================================
  Files          38       38              
  Lines        4670     4689      +19     
==========================================
+ Hits         2757     2776      +19     
  Misses       1913     1913              
Impacted Files Coverage Δ
pallets/reserve/src/lib.rs 51.02% <100.00%> (-1.93%) ⬇️
pallets/reserve/src/tests.rs 91.17% <100.00%> (+2.28%) ⬆️

Tests fail on master:

test tests::spend_too_much_funds_to_target ... FAILED
test tests::tip_to_much ... FAILED

Tests pass on patch
@simonsso simonsso requested a review from a team May 30, 2023 01:35
@simonsso simonsso enabled auto-merge (squash) May 30, 2023 01:53
@Hounsette
Copy link
Contributor

Lgtm

@simonsso simonsso merged commit 8b75a60 into master May 30, 2023
@simonsso simonsso deleted the chore/20230529-reserves-pallet branch May 30, 2023 14:56
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