-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Labels
P-Mediumd:solutionDiscussion required for the solution.Discussion required for the solution.enhancementNew feature or requestNew feature or requestgithub_actionsPull requests that update GitHub Actions codePull requests that update GitHub Actions code
Description
Description
-
Write a script with your favorite language.
- Get the nonce
Mwith pending transactions for a sender through the JSON-RPC. - Construct a transaction.
- Send the transaction.
- Get the nonce
Nwith pending transactions for a sender through the JSON-RPC immediately, do NOT wait for the transaction to be mined. - Check if
Mis equal toN.
- Get the nonce
-
Start a Ethereum dev chain with Geth and parameters
--dev --dev.period 3.- Run the script.
-
Start a Axon dev chain with default configuration
[params.consensus_config] interval = 3000.- Run the script.
-
Compare the results of above tests:
- No failed tests on Ethereum.
- More than 50% tests on Axon are failed.
-
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P-Mediumd:solutionDiscussion required for the solution.Discussion required for the solution.enhancementNew feature or requestNew feature or requestgithub_actionsPull requests that update GitHub Actions codePull requests that update GitHub Actions code