-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audit the use of substrate connections in Zos #2504
Comments
some additional metrics for this:
|
WIP: In zos nodes:
In zos tools: In SDK-GO:
|
We need to ensure that multiple clients do not use the same Substrate account simultaneously when sending signed transactions. If two transactions are sent from the same account with the same nonce, only one will be included in the block. This happens because clients cannot account for pending transactions in the pool when querying the account's nonce. As a result, if you want to send multiple valid transactions simultaneously (or within the same block), they must be handled by the same client to avoid nonce conflicts (unless the nonce is incremented manually), otherwise, some transactions will fail or be ignored. |
I see that the client always uses one connection every time we run the client. so as long as the user doesn't create two separate plugins and use them simultaneously, then this issue wouldn't happen.
|
Work Completed
|
WIP:
|
Describe the bug
It seems that the TFChain RPC node is experiencing a higher number of connections than expected. Currently, there are 35 nodes online (as shown on the dashboard) and 179 connections to the TFChain RPC node (source: Bert). While I understand that other services are also connected, I would assume that the majority of usage comes from ZOS nodes. Having five times the number of connections compared to nodes is not expected.
We need to audit the use of substrate connections in Zos and determine:
The text was updated successfully, but these errors were encountered: