-
Notifications
You must be signed in to change notification settings - Fork 789
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
Fix delivery fees issue #3085
Fix delivery fees issue #3085
Conversation
Signed-off-by: Adrian Catangiu <[email protected]>
Signed-off-by: Adrian Catangiu <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to run full CI before merging/releasing
vec![ReserveAssetDeposited(to_weigh.into()), ClearOrigin]; | ||
message_to_weigh.extend(xcm.0.clone().into_iter()); | ||
let (_, fee) = | ||
validate_send::<Config::XcmSender>(dest.clone(), Xcm(message_to_weigh))?; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we just modify send to not charge fee and have another method that charges send fee and call it here? so that we don't need to calculate the send fee multiple times
@franciscoaguirre what are we waiting for? |
On it |
Hello dears , I need your help for back my tokens ,it stucks and here's the extrinsic hash |
This fix aims to solve an issue in Kusama that resulted in failed reserve asset transfers. It will be ported later to master as well. The issue is that during multi-hop XCMs, like reserve asset transfers where the reserve is not the sender nor the destination, there are no assets available to pay for delivery fees. This fix makes sure to deduct delivery fees from the assets being transferred. - [x] code changes required for fix now complete - [x] local testing done shows issue as fixed - [x] regression test added - [x] PR reviewed - [x] CI passing - currently issue with CI not running on non-master PR - [ ] xcm-executor patch version 4.0.1 released - [ ] xcm-executor patch version 4.0.1 included in https://github.com/polkadot-fellows/runtimes/ - [ ] Kusama and Polkadot runtimes patch released --------- Signed-off-by: Adrian Catangiu <[email protected]> Co-authored-by: Adrian Catangiu <[email protected]> Co-authored-by: Keith Yeung <[email protected]>
This fix aims to solve an issue in Kusama that resulted in failed reserve asset transfers. It will be ported later to master as well. The issue is that during multi-hop XCMs, like reserve asset transfers where the reserve is not the sender nor the destination, there are no assets available to pay for delivery fees. This fix makes sure to deduct delivery fees from the assets being transferred. - [x] code changes required for fix now complete - [x] local testing done shows issue as fixed - [x] regression test added - [x] PR reviewed - [x] CI passing - currently issue with CI not running on non-master PR - [ ] xcm-executor patch version 4.0.1 released - [ ] xcm-executor patch version 4.0.1 included in https://github.com/polkadot-fellows/runtimes/ - [ ] Kusama and Polkadot runtimes patch released --------- Signed-off-by: Adrian Catangiu <[email protected]> Co-authored-by: Adrian Catangiu <[email protected]> Co-authored-by: Keith Yeung <[email protected]>
This fix aims to solve an issue in Kusama that resulted in failed reserve asset transfers.
It will be ported later to master as well.
The issue is that during multi-hop XCMs, like reserve asset transfers where the reserve is not the sender nor the destination, there are no assets available to pay for delivery fees.
This fix makes sure to deduct delivery fees from the assets being transferred.