3
votes
Accepted
How to handle blocks with more than u16 events?
What would be a good way to handle this issue ?
Opening an issue in PolkadotJs/App. Otherwise you can use the Python bindings:
from substrateinterface import SubstrateInterface
chain = ...
3
votes
Transaction pool management
You can set --pool-kbytes and --pool-limit in your node, to allow it to not drop some extrinsics.
But better than that I'd recommend you to keep track of the txpool size by calling the RPC method ...
2
votes
Accepted
Transaction pool error: Too low priority (0 > 0)
I found the problem, and it was when implementing the validate_unsigned trait, I needed to make each extrinsic unique in the tags, and I did it by encoding the whole call, like this:
ValidTransaction::...
2
votes
how to stop listening for gossiped transaction (restrict access to the TXpool)?
Yes, transactions are gossiped via libp2p networking. If you don't want to receive/send transactions via libp2p networking you need to change the following code:
let (network, system_rpc_tx, ...
2
votes
Accepted
How to create signed extrinsic in outer node?
Answering my own question:
If you look at substrate RPC interface, calls author_submitExtrinsic and author_submitAndWatchExtrinsic correspond to submit_one and submit_and_watch of TransactionPool ...
2
votes
Accepted
Should we re-do the verification in runtime call?
Yes, you need to do the same checks while applying the unsigned extrinsic as in validate_block.
As you need to implement ValidateUnsigned for your pallet, it will already do the verification while ...
2
votes
Transactions getting stuck in tx pool, with ready status
TLDR: You are having the same issue as described here
What probably happens is that one of transactions you are sending is getting rejected, because of the bug linked above. Then you continue to send ...
1
vote
Can we add any checks to restrict any particular type of transactions in transaction pool?
if the user is not eligible to do the feeless transaction, the user can still call the extrinsic and maybe crash the node.
In this case, the validation itself will fail. This should not cause the ...
1
vote
pending extrinsics jammed. How to ensure re-broadcast?
Basically your issue should be this. So, both authority nodes are seeing the transactions at some point, but then removing all of them as invalid (which is a bug).
The reason why node-1 is not sending ...
1
vote
Pool overloading in benchmark
So I can't be 100% sure of the issue, my guess is that my validate_unsigned logic was too heavy, causing the pool to spend too much time validating and preventing it from pruning executed transactions....
1
vote
Are Transaction Pool and Transaction Queue the same thing?
In order for transactions to be included in the transaction pool and finally be included in a block they need to be validated and they need to be in a place, that place is the transaction queue.
1
vote
When will I stop receiving TransactionStatus updates for a transaction submitted via author_submitAndWatchExtrinsic?
I have made an investigation, and find something interesting. The Stream trait implemented for TxProgress will end only when the event FinalityTimeout or Finalized received. But I found the RPC ...
1
vote
Accepted
Extrinsics ejected from pool with subxt::tx::TxStatus::Invalid error
The transaction status is coming from substrate directly, subxt is just forwarding the result back to users.
In substrate, it is defined as TransactionStatus. Subxt calls into the watch_extrinsic RPC ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
transaction-pool × 17extrinsic × 6
substrate-node × 2
parachain × 2
weight × 2
mempool × 2
polkadot × 1
polkadot-js × 1
substrate-node-template × 1
rpc × 1
events × 1
transactions × 1
subxt × 1
nonce × 1
security × 1
substrate-parachain-template × 1
weighttofee × 1
unsigned × 1
block-size × 1