Skip to content
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

feat(protocol): allow block propose to pass a bytes32 input to L2 anchor #18569

Merged
merged 27 commits into from
Dec 16, 2024

Conversation

dantaik
Copy link
Contributor

@dantaik dantaik commented Dec 8, 2024

This feature allows the block proposer to pass any bytes32 data as input to L2, which can then be consumed by transactions within the same block.

It is a general-purpose feature, leaving the definition and use of the input data entirely up to the block proposer. If larger data is required, its hash can be passed as the input. The original data can then be included as call data in L2 transactions, enabling the verification of the data’s integrity against the input (the hash).

Copy link

openzeppelin-code bot commented Dec 8, 2024

feat(protocol): allow block propose to pass a bytes32 input to L2 anchor

Generated at commit: d9461871cda4fc96291d2db6ed22f4aa53959248

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
3
3
0
9
40
55
Dependencies Critical
High
Medium
Low
Note
Total
0
0
0
0
0
0

For more details view the full report in OpenZeppelin Code Inspector

@dantaik dantaik mentioned this pull request Dec 8, 2024
@dantaik dantaik requested a review from davidtaikocha December 8, 2024 15:14
@dantaik dantaik marked this pull request as ready for review December 8, 2024 15:15
@dantaik dantaik marked this pull request as draft December 13, 2024 06:14
@dantaik dantaik changed the title allow block propose to pass an bytes32 to L2 anchor feat(protocol): allow block propose to pass an bytes32 input to L2 anchor Dec 14, 2024
@dantaik dantaik marked this pull request as ready for review December 14, 2024 08:59
@dantaik dantaik requested a review from myronrotter December 14, 2024 08:59
@dantaik dantaik changed the title feat(protocol): allow block propose to pass an bytes32 input to L2 anchor feat(protocol): allow block propose to pass a bytes32 input to L2 anchor Dec 14, 2024
@dantaik dantaik requested review from davidtaikocha and removed request for myronrotter December 16, 2024 12:21
@dantaik dantaik merged commit 1927a30 into pacaya_fork Dec 16, 2024
@dantaik dantaik deleted the pass_data_anchor branch December 16, 2024 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants