-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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 EIP: AUTHCREATE opcode #8493
base: master
Are you sure you want to change the base?
Conversation
File
|
e79b7dc
to
95eba77
Compare
6aba06f
to
e53e0be
Compare
The commit e53e0be (as a parent of 3f63f7b) contains errors. |
a363aeb
to
7fca221
Compare
66bf074
to
5ac0114
Compare
|
||
| Feature | [EIP-7697](./eip-7697.md) | [EIP-3074](./eip-3074.md) | [EIP-5003](./eip-5003.md) | [EIP-7377](./eip-7377.md) | | ||
|--------------------------------------------------------------|----------------------------|---------------------------|---------------------------|---------------------------| | ||
| Deploy the same address [ERC-2470](./eip-2470.md) | ✅ | ❎ | ✅ need 3 opcodes | ✅ only EOA | |
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.
can you add crosses in red?
|
||
### Set Code | ||
|
||
1. After the signature verification passes, first set the `nonce` to 0. |
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.
could you add how this would work/change things in post EOF world
There has been no activity on this pull request for 2 weeks. It will be closed after 3 months of inactivity. If you would like to move this PR forward, please respond to any outstanding feedback or add a comment indicating that you have addressed all required feedback and are ready for a review. |
This comment was marked as spam.
This comment was marked as spam.
Inspiration comes from [EIP-3074](./eip-3074.md) and [EIP-5003](./eip-5003.md): | ||
|
||
- ([EIP-3074](./eip-3074.md)) + [EIP-5003](./eip-5003.md) = (`AUTH` + `AUTHCALL`) + `AUTHUSURP` | ||
- [EIP-7697](./eip-7697.md) = `AUTHCREATE` = `AUTH` + `AUTHUSURP` |
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.
Linking to these proposals will prevent this proposal from advancing in status. Not a problem if that's what you want; just wanted to let you know.
|
||
#### Gas Cost | ||
|
||
_todo: detail_ |
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.
_todo: detail_ | |
_todo: detail_ <!-- TODO --> |
If you use HTML-style comments, the linter will make sure you come back and replace them.
There has been no activity on this pull request for 2 weeks. It will be closed after 3 months of inactivity. If you would like to move this PR forward, please respond to any outstanding feedback or add a comment indicating that you have addressed all required feedback and are ready for a review. |
EIP-7697:AUTHCREATE opcode
Abstract
The EIP introduces an EVM instruction
AUTHCREATE
. It allows a deterministic addresses to migrate to a smart contract.Inspiration comes from EIP-3074 and EIP-5003:
AUTH
+AUTHCALL
) +AUTHUSURP
AUTHCREATE
=AUTH
+AUTHUSURP
Motivation
For a long time, the EVM ecosystem has been plagued by two issues:
EIP-7697 will address these issues.
secp256r1
or more