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

chore: add documentation for the gas related constants for EIP2537 #2246

Merged
merged 2 commits into from
Mar 19, 2025

Conversation

kevaundray
Copy link
Contributor

No description provided.

Copy link

codspeed-hq bot commented Mar 18, 2025

CodSpeed Performance Report

Merging #2246 will not alter performance

Comparing kevaundray:kw/doc-2537-gas-costs (9d6bab5) with main (e99a186)

Summary

✅ 8 untouched benchmarks

@kevaundray kevaundray marked this pull request as ready for review March 18, 2025 22:33
Comment on lines +31 to +32
/// Note: If `k` is more than the size of the discount table, then
/// the last value in the discount table is chosen.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is also a coincidence imo -- Ideally we have a MAX_DISCOUNT constant like in the EIP instead of relying on the last value in the discount table to match the MAX_DISCOUNT constant

@rakita rakita merged commit 4835ea9 into bluealloy:main Mar 19, 2025
25 of 29 checks passed
This was referenced Mar 19, 2025
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.

2 participants