Repository navigation
feat(truapi): quote funding deposits and read the PSM fee default - #1205
Closed
filvecchiato wants to merge 2 commits into
Closed
filvecchiato wants to merge 2 commits into
filvecchiato wants to merge 2 commits into
Conversation
This was referenced Oct 5, 2026
Contributor
Bundle size reportCompared with
WebAssembly modules
Changed files (10)
Commit: 1354207 |
Contributor
|
CI Status: 24 required jobs green, 21 passed and 3 skipped by path filter. All job results
Signing credentials: failure as of 2026-10-06, a release may fail Commit |
Collaborator
Author
|
Consolidated into #1230, which carries these commits. |
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.
quote_funding_depositgives the deposit a provider must deliver to credit the session's amount: rounded up to the claim unit, plus the CASH set aside on People, the PSM fee, transaction fees with margin and the minimum balance. The quote is frozen on the session, and assigning a deposit account refuses less than it, as getcash holds providers toquotedDeposit.Fees are estimated without a funded account: delivery is priced on the message the transfer forwards to People, which a live test shows costs the same as the real one. With funds present the conversion also prices the real forwarded message and uses the dearer. An unset PSM minting fee reads as the pallet's default rather than zero.
funding-checktakes the CASH amount and quotes the deposit.Part of #1176, #1177