Holger Drewes
Holger Drewes
Just an additional note here: we should be careful to not introduce any performance penalties when the flag is not used if we decide to implement.
I will expand this issue a bit with adding "Support Geth Config (in Common)" to the title. This is very related since in the Client we already support this functionality...
> I'd have to do some exploratory coding but it should be feasible to compute the stateroot and hash if not provided in a genesis file. That's what we do...
Update: ah, `stateRoot` is used in `Block` for [initializing a genesis header](https://github.com/ethereumjs/ethereumjs-monorepo/blob/master/packages/block/src/header.ts#L299) (with: `initWithGenesisHeader`) if the `stateRoot` field is not present. I guess strictly speaking this is somewhat of a...
But all this might not be practical. So one way to circumvent this would be to always require the triple of ``` gethGenesis: { genesisJSON: file, stateRoot: string, hash: string...
Ok, I had a closer look here and discovered that we already [have](https://github.com/ethereumjs/ethereumjs-monorepo/blob/master/packages/common/src/types.ts#L44) this extended genesis format accepting `code` and `storage` in addition to just initialize with EOAs just holding...
Hi @cbrzn, great, thanks for this write-up, yes, I think you are describing the situation pretty acurately. 😄 Yes, adding the `Trie` library to `Common` is not an option. We...
> Now that we have the complex genesis state - I think the next steps to tackle support geth config can be something like... That sounds all good, thanks for...
Update: there has been a substantial rework of the genesis-related functionality - also in Common - taken place in #1916 for `v6` - the main remaining tasks would be to...
Some update on this: decided to be downgraded in favor of some `v5` included work to ease the Util signature-related function usage along typed txs - see #1904 - as...