-
Notifications
You must be signed in to change notification settings - Fork 234
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
refactor: Update the TxsHash + add TxEffect #3938
Closed
Milestone
Comments
benesjan
changed the title
Update the content hashing (circuits + l1contracts) + add TxEffect
Update the body hashing (circuits + l1contracts) + add TxEffect
Jan 17, 2024
benesjan
added a commit
that referenced
this issue
Feb 6, 2024
We used to serialize EthAddress as 32 bytes because we needed that for compatibility with CBINDs. Given that we no longer use the C++ code this is no longer necessary. **Note**: decided to not completely nuke `EthAddress.toBuffer32()` because that would require updating how we compute calldata/body hash and it makes sense to do that once we'll do that in #3938 (linked it in the issue).
This was referenced Feb 7, 2024
Closed
TomAFrench
pushed a commit
that referenced
this issue
Feb 7, 2024
We used to serialize EthAddress as 32 bytes because we needed that for compatibility with CBINDs. Given that we no longer use the C++ code this is no longer necessary. **Note**: decided to not completely nuke `EthAddress.toBuffer32()` because that would require updating how we compute calldata/body hash and it makes sense to do that once we'll do that in #3938 (linked it in the issue).
LHerskind
changed the title
Update the body hashing (circuits + l1contracts) + add TxEffect
refactor: Update the TxsHash + add TxEffect
Feb 12, 2024
This was referenced Feb 26, 2024
Closed
michaelelliot
pushed a commit
to Swoir/noir_rs
that referenced
this issue
Feb 28, 2024
We used to serialize EthAddress as 32 bytes because we needed that for compatibility with CBINDs. Given that we no longer use the C++ code this is no longer necessary. **Note**: decided to not completely nuke `EthAddress.toBuffer32()` because that would require updating how we compute calldata/body hash and it makes sense to do that once we'll do that in AztecProtocol#3938 (linked it in the issue).
Addressed in #4726 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Look for TODO(#3938) in the codebase.
Note: Nuke
EthAddress.toBuffer32()
while updating the hashing --> EthAddress should make only 20 bytes of preimage.The issue should have one main concern. To alter the BODY hashing, here meaning the TxEffects hashing to align, circuits/yellow-paper/typescript/l1.
I think most of it is already aligned, but making sure that this is up to date will be useful for #4492 where some of it will be altered to accommodate the changes as part of the message changes.
The text was updated successfully, but these errors were encountered: