-
Notifications
You must be signed in to change notification settings - Fork 39
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
The API eth_getTransactionCount(..., "pending")
is not synchronous with the API eth_sendRawTransaction
.
#1544
Comments
eth_getTransactionNonce(..., "pending")
is not synchronous with the API eth_sendRawTransaction.eth_getTransactionNonce(..., "pending")
is not synchronous with the API eth_sendRawTransaction
.
eth_getTransactionNonce(..., "pending")
is not synchronous with the API eth_sendRawTransaction
.eth_getTransactionCount(..., "pending")
is not synchronous with the API eth_sendRawTransaction
.
Even we try to fix it with a tricky way as following: axon/core/api/src/jsonrpc/impl/web3.rs Lines 228 to 230 in 7610890
But it isn't fixed completely, just increased the chance for success. I do the test as the issue described again, the result is:
That's why some CI checks failed randomly. |
|
No, I just guess it is related to "v3_core_test" timeout or some other timeouts. I didn't check #1579. |
The v3-core-test (ubuntu-22.04) action has timed out. |
eth_getTransactionCount(..., "pending")
is not synchronous with the API eth_sendRawTransaction
.eth_getTransactionCount(..., "pending")
is not synchronous with the API eth_sendRawTransaction
.
Description
Write a script with your favorite language.
M
with pending transactions for a sender through the JSON-RPC.N
with pending transactions for a sender through the JSON-RPC immediately, do NOT wait for the transaction to be mined.M
is equal toN
.Start a Ethereum dev chain with Geth and parameters
--dev --dev.period 3
.Start a Axon dev chain with default configuration
[params.consensus_config] interval = 3000
.Compare the results of above tests:
Base on the previous fact, on Axon, transactions could NOT be sent one by one immediately, because the API
eth_getTransactionNonce(..., "pending")
is not synchronous with the APIeth_sendRawTransaction
.The text was updated successfully, but these errors were encountered: