-
Notifications
You must be signed in to change notification settings - Fork 82
feat(l2): signature-based TDX #2677
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
Conversation
``` | ||
# NOTE: initialize&update submodules on all repos | ||
(ethrex) make dev # start L1 | ||
(ethrex crates/l2/tee/contracts) make deploy-deps |
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 requires setting up a PRIVATE_KEY
environment variable for the account that's going to do the deployment, let's add that to the docs
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.
Done, also made it more specifically about quote-pusher.
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 think we need to either remove this or update.
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.
Removed
**Motivation** Verifying TDX attestations on-chain is expensive (~5M gas), so it would be better to avoid them if possible **Description** By generating a private key inside the TDX VM (where the host can't read it), attesting it's validity and then using it to sign updates it's possible to massively decrease gas usage.
**Motivation** In #2677 an example of a TDX-based prover was made. This uses the example code to add a prover. **Description** TDX is added as another prover, and made to use the same API
**Motivation** In #2677 an example of a TDX-based prover was made. This uses the example code to add a prover. **Description** TDX is added as another prover, and made to use the same API
Motivation
Verifying TDX attestations on-chain is expensive (~5M gas), so it would be better to avoid them if possible
Description
By generating a private key inside the TDX VM (where the host can't read it), attesting it's validity and then using it to sign updates it's possible to massively decrease gas usage.