-
Notifications
You must be signed in to change notification settings - Fork 16
How to use instant confirmations #396
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
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
abcc613 to
fdee7de
Compare
fdee7de to
7c0ab25
Compare
|
|
||
| Beginning with EVM node 0.48 and the version 6.0 upgrade, Etherlink supports instant confirmations. | ||
| You can send a transaction with the `eth_sendRawTransactionSync` method and receive an instant confirmation from the sequencer that it intends to put the transaction in the next block. | ||
| This confirmation includes a transaction receipt that provides information about the completed transaction, such as the status, hash, gas used, and index of the transaction in the next block. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sentence is confusing because it blends the frontiers between two responsibilities (inclusion, and execution) and suggests the sequencer provides the receipt (it does not)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed "from the sequencer" here and clarified a bit -- how it is now?
Beginning with EVM node 0.48 and the version 6.0 upgrade, Etherlink supports instant confirmations.
You can send a transaction to a node with theeth_sendRawTransactionSyncmethod and receive an instant confirmation from the node that the sequencer intends to put the transaction in the next block. This confirmation includes a transaction receipt that provides information about the transaction, such as the status, hash, gas used, and index of the transaction in the next block. The only information missing from the receipt is the hash of the next block, because it has not been created yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep right on point!
Instant confirmations are enabled in the 6.0 update but they will not be available for use until they are enabled in the EVM node.