0

Just like cancelling and speed up transactions on Ethereum context, is there a mechanism to replace or manipulate extrinsics from the mempool?

thanks!

2 Answers 2

1

this depends on the chain's ordering of extrinsics by their priority. But for default chain with pallet_transaction_payment, you can create new extrinsic with the same nonce as the extrinsic you want to cancel and include some tip. Since block authors are programmed to maximize their profits, they will include the transaction with a higher value (fee per unit of weight).

In the case of FRAME the first property is simply making sure that the fee per weight unit is the highest (high tip values), the second is about avoiding feeding transactions that cannot be part of the next block (they are invalid, obsolete, etc).

0

There's also an RPC call to remove an extrinsic from the pool.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.