Skip to main content

New answers tagged

1 vote

How to write test cases to validate if fees is paid?

Follow the transaction-payment mock setup. https://github.com/paritytech/polkadot-sdk/blob/868a36bd186f3ef9535ebf7deceac1b2fab19fcb/substrate/frame/transaction-payment/src/mock.rs#L1 And I think ...
AurevoirXavier's user avatar
0 votes

XCM Transactions - Polkadot to Asset Hub (Statemint)

You can listen for the MessageQueue::Processed event on the destination and match the id field with the messageId field you get from the xcmPallet.Sent event on the sender. On sender: On destination: ...
Francisco Aguirre's user avatar

Top 50 recent answers are included