Open gavofyork opened 2 years ago
To confirm, we can remove the XCM SafeCallFilter once this PR is addressed?
To confirm, we can remove the XCM SafeCallFilter once this PR is addressed?
Yes, as per:
@ggwpez can this be closed?
Allow suspension of any/all XCM queue processing for one block by an inherent if enough BABE slots have been missed.
Could probably be split into another issue, if still relevant.
Relay-chain should limit per-block HRMP bandwidth to something manageable by not requiring all sending channels to move forward by a whole block at once.
I guess this could still be an issue, if a parachain receives messages from all its channels at once and has a lot of them open. I will check this as part of the AHM preparations if it needs adjustments.
Although not sure what direction to go in. We dont really want to allow a linear lag between the enqueued and processed messages, since that would kill liveness. But possibly a constant factor could work while also updating the HostConfiguration of the chain dynamically to notify the other chains that the channel has lower throughput limits now.
Several improvements needed before we can lift the harsh restrictions placed on message queues at present:
pallet::without_storage_info
from all message-queue pallets (use Preimages pallet as needed).thread_local
counter to limit stack depth which an XcmTransact
can create.Once all items are complete, safeguards designed to avoid PoV-exhaustion can be removed. At this point, sane v2 -> v3 weight conversions must also be removed; instead the
Weight
should be approximately equivalent to a block's total PoV weight. This will make almost all v2 messages overweight on a v3 system. The practical fix is to upgrade to v3.Related: https://github.com/paritytech/polkadot/issues/6129