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): contribute L1 basefee to L2 basefee calculation #17732

Closed
wants to merge 3 commits into from

Conversation

dantaik
Copy link
Contributor

@dantaik dantaik commented Jul 4, 2024

The idea is simple: L2 basefee now consist of two parts 1) x: the original L2 EIP 1559 basefee and 2) y: a moving average value of the L1 base fee. When L1 is really expensive, L2 shall also be more expensive.

Copy link

openzeppelin-code bot commented Jul 4, 2024

feat(protocol): contribute L1 basefee to L2 basefee calculation

Generated at commit: 6a87cd3bc9ba0ceeecd042041f5d4f84421c3c48

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
2
2
0
8
41
53
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 closed this Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant