You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Can system parachain allowed to burn relaychain tokens (without notifying relaychain)? Wouldn't this cause imbalances? i.e. balance mismatch between relaychain's checking account and parachain's total issuance.
The text was updated successfully, but these errors were encountered:
Talking with Gav, it's best if the fees get accrued in the chain's treasury / a holding account rather than it going to collators. He said the only real question is the degree of aggregation:
No aggregation: use AssetTransactor directly in FeeManager.
Aggregate over XCVM execution: accrue in an XCVM MultiAssets (Holding-like) register and use AssetTransactor to disperse assets at the end of the XCVM execution.
Aggregate over block: accrue in a temporary MultiAssets storage item in pallet-xcm and place assets into accounts via a permissionless transaction (a "task", in the new lexicon) and AssetTransactor.
Aggregate indefinitely: accrue in a permanent MultiAssets storage item in pallet-xcm and allow a specific XCM origin to call ClaimAsset to claim them.
Option 1 is the easiest to implement, so we will do that initially but the others should be implemented eventually.
cumulus/parachains/runtimes/assets/statemint/src/xcm_config.rs
Line 314 in 6688750
To my understanding, this will burn all XCM fees.
Two questions:
The text was updated successfully, but these errors were encountered: