-
Notifications
You must be signed in to change notification settings - Fork 1
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
执行的错误处理 #5
Comments
👋 Hey @SipengXie! 😊 Thanks for bringing up the error handling issue related to transaction nonces in The issue at hand focuses on handling Ethereum transactions with nonce dependencies, where a transaction depends on the nonce of a previous transaction from the same sender. This can lead to originError in cases where a dependent transaction is executed before its predecessor, causing an unexpected error. Code Searching within the From the web, we gathered some valuable insights on how Ethereum handles nonces and nonce errors:
Related Search ResultsFurther improvement could involve critically examining the transaction handling logic in |
实际上,根据我对代码的阅读,我发现其实那些出现错误的交易都在skipCheck里,这意味着他们本不该出错;然而,会出现nonce错误等;我看到在实现过程settle是单独一个线程在进行,这是否会导致某些skipCheck的交易并没有等到它的前序交易Settle就执行? |
在step函数中
当originError不为nil的时候会中断执行;但在以太坊交易中,如果 tx_1依赖于tx_0的nonce(tx_1与tx_0有相同的sender, 但tx_1的nonce更高)则在tx_0提交前,tx_1的执行会产生originError;我们需要区分这个情况。
The text was updated successfully, but these errors were encountered: