You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an edge case in the frontend demo where sending two pre-confirmations rapidly in the same slot can cause the second one to fail with NonceTooLow error.
This is due to fact the nonce is obtained from the provider i.e. the execution state, which hasn't processed the pre-confirmed transaction yet, and as such the nonce of same transaction is the same of the first one.
In order to solve this, in the frontend we should increment the nonce of the account upon receiving the commitment from the sidecar
The text was updated successfully, but these errors were encountered:
thedevbirb
changed the title
Handle pre-confirmation nonce increased in the demo
Handle pre-confirmation nonce increase on same slot in the demo
Jul 3, 2024
thedevbirb
changed the title
Handle pre-confirmation nonce increase on same slot in the demo
Handle two or more pre-confirmations at the same slot in the demo
Jul 3, 2024
There is an edge case in the frontend demo where sending two pre-confirmations rapidly in the same slot can cause the second one to fail with
NonceTooLow
error.This is due to fact the nonce is obtained from the provider i.e. the execution state, which hasn't processed the pre-confirmed transaction yet, and as such the nonce of same transaction is the same of the first one.
In order to solve this, in the frontend we should increment the nonce of the account upon receiving the commitment from the sidecar
The text was updated successfully, but these errors were encountered: