-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add attestation quote to Espresso payload #385
Add attestation quote to Espresso payload #385
Conversation
504da89
to
a7c11d2
Compare
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.
Looks good. Just some comments.
This PR sends all the messages to espresso, which helps nodes derive L2 state from Espresso. My question is why users not to derive state from seqeuncer inbox, but from Espresso. If this scenario exists, that also means we can't activate the escape hatch, which may skip submitting messages to espresso.
Does finality node need changes according to these changes? I didn't see its modifications in this PR
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 just had a couple questions related to the nature of the cryptographic processes being used with the attestation quote. If they are moot, this looks good to me.
I think your concern is valid, escape hatch might not work well with the finality node. We can change the finality node later and think about this later as well. But yes, we should keep this in mind when we are making changes to the finality node |
e0af17e
to
4bf08d7
Compare
4bf08d7
to
16c22a2
Compare
fc094b1
to
dd3f7ef
Compare
dd3f7ef
to
139ac64
Compare
* Add attestation quote to Espresso payload * cleanup code * fix lint * add position * fix verify namespace proof bug * Increase hotshot transaction limit * build hotshot payload and add unitests for it * Verify merkle proof first * Rename * push minor fixes --------- Co-authored-by: ImJeremyHe <[email protected]> (cherry picked from commit 47e6010)
* Move tee address (#392) * move espressoTeeVerifierAddr to transaction streamer This commit moves the TEE verifier contract address to the transaction streamer, configurable via the batch posters config. * Fix tests and transaction_streamer * use a string for tee verifier address Koanf cannot parse a common.Address by default, so we should use a string when taking in this config option. * fix compilation * fix e2e test * Fix config parsing * Fix lint and run formatter * Remove outdated test (cherry picked from commit 30689d6) * Add attestation quote to Espresso payload (#385) * Add attestation quote to Espresso payload * cleanup code * fix lint * add position * fix verify namespace proof bug * Increase hotshot transaction limit * build hotshot payload and add unitests for it * Verify merkle proof first * Rename * push minor fixes --------- Co-authored-by: ImJeremyHe <[email protected]> (cherry picked from commit 47e6010) --------- Co-authored-by: Zach Showalter <[email protected]> Co-authored-by: Sneh Koul <[email protected]>
This PR:
This PR fixes this issue
Key places to review:
Please review this PR carefully as its a very important PR