-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Update EIP-4844: change op to BLOBHASH
#7001
Conversation
✅ All reviewers have approved. |
BLOBHASH
BLOBHASH
EIPS/eip-4844.md
Outdated
@@ -246,7 +246,7 @@ The `ethereum/consensus-specs` repository defines the following beacon-node chan | |||
|
|||
### Opcode to get versioned hashes | |||
|
|||
We add an opcode `DATAHASH` (with byte value `HASH_OPCODE_BYTE`) which reads `index` from the top of the stack | |||
We add an opcode `BLOBHASH` (with byte value `HASH_OPCODE_BYTE`) which reads `index` from the top of the stack |
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.
We add an opcode `BLOBHASH` (with byte value `HASH_OPCODE_BYTE`) which reads `index` from the top of the stack | |
We add an instruction `BLOBHASH` (with opcode `HASH_OPCODE_BYTE`) which reads `index` from the top of the stack |
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.
Some other name suggestions were:
TXBLOBHASH
TXDATAHASH
If we go forward with this, we should consider changing the nomenclature in the EIP generally to use "blob" instead of "data". |
Makes sense as we already call the hashes in the blob tx |
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 to me
@dankrad also already approved this but the review was dismissed due to a rebase. The change is still the exact same, so I will go ahead and merge. |
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.
All Reviewers Have Approved; Performing Automatic Merge...
Right now
DATAHASH
sort of conflicts with the EOF data section concept (which will want to have things likeDATALOAD
,DATACOPY
, etc for). So I propose we change the mnemonic for blob hashes toBLOBHASH
instead.