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

forward errors when dispatch fail on reserve.apply_as #792

Merged
merged 2 commits into from Oct 25, 2023

Conversation

ETeissonniere
Copy link
Member

This leads to batch_all also forwarding errors if reserve.apply_as fails.

See this proposal for an example of a proposal which partially fails but still gets partially applied which is not a desired border effect.

@codecov
Copy link

codecov bot commented Oct 17, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (57ac1ad) 73.77% compared to head (2d2ac41) 73.81%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #792      +/-   ##
==========================================
+ Coverage   73.77%   73.81%   +0.04%     
==========================================
  Files          47       47              
  Lines        9003     9017      +14     
==========================================
+ Hits         6642     6656      +14     
  Misses       2361     2361              
Files Coverage Δ
pallets/reserve/src/lib.rs 45.09% <100.00%> (-1.06%) ⬇️
pallets/reserve/src/tests.rs 97.45% <100.00%> (+0.39%) ⬆️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

aliXsed
aliXsed previously approved these changes Oct 24, 2023
Copy link
Contributor

@aliXsed aliXsed left a comment

Choose a reason for hiding this comment

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

LGTM

@ETeissonniere ETeissonniere enabled auto-merge (squash) October 25, 2023 14:37
@ETeissonniere ETeissonniere merged commit 90fcc7b into master Oct 25, 2023
7 checks passed
@ETeissonniere ETeissonniere deleted the feat/reserve-forward-err branch October 25, 2023 14:57
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.

None yet

2 participants