-
Notifications
You must be signed in to change notification settings - Fork 20.6k
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
core: set gasLimit in '--dev' mode to be 9000000 #21323
Conversation
Mainnet currently is at 12M, might as well bump it all the way there. |
Btw, I also saw that in dev mode we don't have 1 wei allocations for newer precompiles. Might be worthwhile to fix those too at the same time. |
Yeah, 12M is even better.
I'll submit new PR with that, and also I can add 1 wei allocations for
newer precompiles.
Let me know if OK, and I'll get to it today.
Best regards,
Nikola
…On Wed, Jul 15, 2020 at 10:11 AM Péter Szilágyi ***@***.***> wrote:
Btw, I also saw that in dev mode we don't have 1 wei allocations for newer
precompiles. Might be worthwhile to fix those too at the same time.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#21323 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHFK4LB7FH7CYJX2PHGH6EDR3VQEVANCNFSM4OYANR7A>
.
--
~*~
*Nikola Madjarevic*
Director of Blockchain R&D
M: +(381) 62-1071624
TG: @nikolamadjarevic
2key.network
Join Us On Telegram <http://bit.ly/2keyTG>
|
sgtm |
Hey Folks. I have added also 1 wei allocation for newer precompiles, and updated gasLimit to 11.5 milion, since regarding June 21st 2020, blocks are closely 12m, so 0.5m less would assure that everything working on |
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.
LGTM, thanks!
Not sure if this was intended but this change was a breaking change: if you had an existing chain in '--dev' mode, geth v1.9.17 will refuse to start with:
|
@dahu33 Hmm, that's odd. Geth should load the genesis from disk. Otherwise the random signer funding wouldn't work across restarts either. Lemme take a closer look. |
Yup, can repro it, will try to fix it asap. |
…#21323) * Set gasLimit in --dev mode to be 9m. * core: Set gasLimit to 11.5 milion and add 1 wei allocation for BLAKE2b
In order to make testing in --dev mode more used, and support more cases, I changed the
gasLimit
in--dev
mode to 9 milion. Mainnet currenly supports almost 10m, which is much closer to it.