-
Notifications
You must be signed in to change notification settings - Fork 198
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
Gas limit tweaks #3601
Gas limit tweaks #3601
Conversation
iulianpascalau
commented
Nov 24, 2021
- lowered max gas limit per miniblock, adapted high gas usage operation in gas schedule
Codecov Report
@@ Coverage Diff @@
## development #3601 +/- ##
===============================================
- Coverage 74.01% 74.00% -0.01%
===============================================
Files 582 582
Lines 74888 74888
===============================================
- Hits 55426 55424 -2
- Misses 15057 15058 +1
- Partials 4405 4406 +1
Continue to review full report at Codecov.
|
@@ -40,6 +40,7 @@ | |||
GasLimitSettings = [ | |||
{EnableEpoch = 0, MaxGasLimitPerBlock = "1500000000", MaxGasLimitPerMiniBlock = "1500000000", MaxGasLimitPerMetaBlock = "15000000000", MaxGasLimitPerMetaMiniBlock = "15000000000", MinGasLimit = "50000"}, | |||
{EnableEpoch = 2, MaxGasLimitPerBlock = "1500000000", MaxGasLimitPerMiniBlock = "600000000", MaxGasLimitPerMetaBlock = "15000000000", MaxGasLimitPerMetaMiniBlock = "600000000", MinGasLimit = "50000"}, | |||
{EnableEpoch = 3, MaxGasLimitPerBlock = "1500000000", MaxGasLimitPerMiniBlock = "500000000", MaxGasLimitPerMetaBlock = "15000000000", MaxGasLimitPerMetaMiniBlock = "500000000", MinGasLimit = "50000"}, |
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.
It seems that by mistake I have matched this epoch with the gas schedule v5 activation epoch:
[GasSchedule]
GasScheduleByEpochs = [
{ StartEpoch = 0, FileName = "gasScheduleV1.toml" },
{ StartEpoch = 1, FileName = "gasScheduleV4.toml" },
{ StartEpoch = 3, FileName = "gasScheduleV5.toml" },
]
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.