7

I suspect that an extrinsic caused the block production to stall. It's status remains at "broadcast" and no new blocks will be produced. To be sure I'd like to remove it from the tx pool on all nodes/collators. How can I do that?

I did find the rpc author_removeExtrinsic which should remove and ban an extrinsic by hash. But how would I learn the hash of my extrinsic? if I call author_pendingExtrinsics I get the decoded extrinsic, not the hash

1 Answer 1

5

author_removeExtrinsic support remove extrinsic by value

enter image description here

You can also either write a script to calculate the hash, or just read it from polkadot apps under Network -> Node info page

enter image description here

2
  • Yes. We used to create a script to remove some problematic transactions from the collator txpool periodically
    – h4x3rotab
    Commented Mar 23, 2022 at 7:33
  • Hi @h4x3rotab, is it fine If I ask for the script? We currently encounter the same problem because we're batching nonces from an account.
    – Daniel Lam
    Commented May 18, 2022 at 9:40

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.