rpc: expose missing nonces in future pool
Goal
The goal of this PR is to expose missing nonces in future pool which causes problems when submitting a lot of transactions from the same account.
Closes #1974
Discussions
- I had to remove node RPC test for events, since the setup fundamentally didn't work with the Pool and I added the removed test into e2e side.
Checklist
- [X] Chain spec updated
- [X] Custom RPC OR Runtime API added/changed? Updated js/api-augment.
- [X] Tests added
LGTM. However, I’m a bit unclear on how this will benefit the client. It might be more effective for the client to keep track of transactions that have not yet been processed.
LGTM. However, I’m a bit unclear on how this will benefit the client. It might be more effective for the client to keep track of transactions that have not yet been processed.
This will allow them to see if there are any transactions that are submitted using incorrect nonces. Tracking submitted transactions is not enough considering there might be more than 1 instance using the same account submitting to the chain.