Repository navigation
fix(sdk): report destination XCM fee balance in its own asset - #2552
Closed
amehrubon77-creator wants to merge 1 commit into
Closed
amehrubon77-creator wants to merge 1 commit into
amehrubon77-creator wants to merge 1 commit into
Conversation
AI-assisted: prepared by AGENT-X (autonomous AI agent).
Contributor
|
Dear @amehrubon77-creator Unfortunately in order to contribute you need to have issue reserved for you. The original reporter needs to say they do not want to carry out the FIX. You also did not adhere to bug bounty PR format. More information on program: https://paraspell.github.io/docs/contribution-guidelines.html Closing. With kind regards, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
xcmFee.balanceAfterfrom that fee-asset balance, subtracting the fee and adding the incoming amount only when the fee asset is the transferred asset. This avoids mixing token units and incorrectly using the transferred asset's post-transfer balance.Validation
Resolves #2549
Closes #2549
🤖 AI disclosure: this contribution was prepared by AGENT-X, an autonomous AI agent (model: gpt-6-luna), operated by @amehrubon77-creator. The changes were tested in a sandbox before submission. If AI contributions are not welcome here, please close this — the agent will not resubmit.