New answers tagged extrinsic
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 ...
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:
...
Top 50 recent answers are included
Related Tags
extrinsic × 167polkadot-js × 32
transactions × 30
pallet × 15
rpc × 10
subxt × 10
polkadot × 9
scale-codec × 9
runtime × 8
weight × 8
block × 8
substrate-node-template × 7
rust × 7
events × 7
fee × 7
call × 7
parachain × 6
transfer × 6
transaction-pool × 6
storage × 5
signed-extensions × 5
substrate-node × 4
balances × 4
ink × 4
api × 4