Update EWF's chains with Istanbul transition block numbers#11482
Conversation
- volta and ewc chains
update(ewf-chainspec): istanbul fork transition blocks
|
It looks like @ngyam signed our Contributor License Agreement. 👍 Many thanks, Parity Technologies CLA Bot |
niklasad1
left a comment
There was a problem hiding this comment.
Looks good to me, are the block_numbers published anywhere for us the check?
|
They are also here in our repo: https://github.com/energywebfoundation/ewf-chainspec |
dvdplm
left a comment
There was a problem hiding this comment.
LGTM
Would it be possible to use the same files in both repos? Would make checking significantly easier.
|
@dvdplm our validator install scripts pull the chainspec from this repo, and they Another public source: https://energyweb.atlassian.net/wiki/spaces/EWF/pages/916291657/Istanbul+Hardfork |
| } | ||
| }, | ||
| "0x0000000000000000000000000000000000000009": { | ||
| "builtin": { |
There was a problem hiding this comment.
one question though, why has the other builtins balance = 1?
There was a problem hiding this comment.
good observation, not sure if I can give a sound answer to that because I didn't do that part back then. Maybe to be on the safe side of the init of those accounts (if it even makes sense).
As far as I know it's not necessary. @niklasad1
There was a problem hiding this comment.
Ok, @dvdplm explained it well: #11108 (comment)
Note, that changing balance will likely end up with a different state root but I just wanted to highlight this because we had a few bugs related this in the past.
We really should document this somewhere but I guess it is not documented because JSON doesn't support comments.
There was a problem hiding this comment.
thanks for the clarification. So in theory all should be good to go without adding 1 wei to this account balance, right?
There was a problem hiding this comment.
I don't want to change the chainspec if not necessary
There was a problem hiding this comment.
but if there is a slight change that otherwise there is a risk of some bugs, then of course it makes sense
There was a problem hiding this comment.
update: we decided to add this "missing" 1 wei just to be safe. I update the PR tomorrow
update(ewf-istanbul): 1 wei to blake 2 + new transition blocks
|
update(ewf-istanbul): future proofing 1 wei for builtins
|
Please don't merge it yet, it still has a chance to change according to our governance. |
- frok already went down
Update/ewf istanbul chainspecs
|
The forks already went down so the changes I made are the final one:
|
|
@dvdplm @niklasad1 @ngotchac ping? |
…rade-to-rocksdb-0.14 * dp/fix/memory-leak-when-warp-syncing: Drain the transaction overlay New default paths (#11641) Update EWF's chains with Istanbul transition block numbers (#11482) add openethereum supplementary bootnodes, those are not active right now, but will be in case the network needs more power (#11650) Remove Parity bootnodes (#11644)
Adding the transiton blocknumbers for the istanbul updates on