-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Add EIP: Gas Rebase for High-precision Gas Metering #10583
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
base: master
Are you sure you want to change the base?
Conversation
File
|
Co-authored-by: Andrew B Coathup <28278242+abcoathup@users.noreply.github.com>
|
The commit 0000e04 (as a parent of 3a005f5) contains errors. |
| @@ -0,0 +1,60 @@ | |||
| --- | |||
| eip: 8059 | |||
| title: Gas Rebase for High-precision Gas Metering | |||
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.
| title: Gas Rebase for High-precision Gas Metering | |
| title: Gas Units Rebase for High-precision Metering |
| --- | ||
| eip: 8059 | ||
| title: Gas Rebase for High-precision Gas Metering | ||
| description: Gas parameters and variables are increased by a factor of 1,000 to reduce rounding errors without major changes to the EVM |
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.
| description: Gas parameters and variables are increased by a factor of 1,000 to reduce rounding errors without major changes to the EVM | |
| description: Gas parameters and variables are increased to a factor of 1,000 to reduce rounding errors without major changes to the EVM |
|
|
||
| ## Abstract | ||
|
|
||
| This proposal rebases Ethereum’s gas unit by a factor of 1,000 to enable high-precision metering without introducing fractional gas. All gas-related parameters and variables are increased by a factor of 1,000. This reduces rounding errors that arise when repricing EVM operations and future-proofs gas costs as hardware improves and state access remains costly, while avoiding major changes in the internal logic of the EVM. |
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.
| This proposal rebases Ethereum’s gas unit by a factor of 1,000 to enable high-precision metering without introducing fractional gas. All gas-related parameters and variables are increased by a factor of 1,000. This reduces rounding errors that arise when repricing EVM operations and future-proofs gas costs as hardware improves and state access remains costly, while avoiding major changes in the internal logic of the EVM. | |
| This proposal rebases Ethereum’s gas unit to a factor of 1,000 to enable high-precision metering without introducing fractional gas. All gas-related parameters and variables are increased to a factor of 1,000. This reduces rounding errors that arise when repricing EVM operations and future-proofs gas costs as hardware improves and state access remains costly, while avoiding major changes in the internal logic of the EVM. |
also use a constant name instead of just using 1000 and define this constant, call it UNIT_REBASE_FACTOR or something such which is meaningful
replace, all factor by by factor to because as I understand you don't mean growth by 1000X (so the final quantity becomes 1001X), you mean the final is 1000X
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.
ahh I see you have named the constant, so try to use it as much as possible in the text
Gas parameters and variables are increased by a factor of 1,000 to reduce rounding errors without major changes to the EVM