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

Gas limit tweaks #3601

Merged
merged 3 commits into from
Nov 26, 2021
Merged

Gas limit tweaks #3601

merged 3 commits into from
Nov 26, 2021

Conversation

iulianpascalau
Copy link
Contributor

  • lowered max gas limit per miniblock, adapted high gas usage operation in gas schedule

@codecov
Copy link

codecov bot commented Nov 24, 2021

Codecov Report

Merging #3601 (b9b5251) into development (a7cb203) will decrease coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@               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     
Impacted Files Coverage Δ
p2p/libp2p/netMessenger.go 74.72% <0.00%> (-0.28%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b7c0f23...b9b5251. Read the comment docs.

@@ -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"},
Copy link
Contributor Author

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" },
    ]

Copy link
Collaborator

@gabi-vuls gabi-vuls left a comment

Choose a reason for hiding this comment

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

System test passed.
Errors are safe.
image

@gabi-vuls gabi-vuls merged commit b3e8334 into development Nov 26, 2021
@gabi-vuls gabi-vuls deleted the gas-limit-tweaks branch November 26, 2021 18:01
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

4 participants