Filling geth_kwargs defaults by just creating a model from the dict works fine because its only member that is a dict (suffix_kwargs) defaults to None. genesis_data["config"] does have default values, so just creating a GenesisData model from the dict does not fill the sub-dict properly.
How was it fixed?
Added a fill_default_genesis_data function and test.
Todo:
[x] Clean up commit history
[x] Add or update documentation related to these changes
What was wrong?
Filling
geth_kwargs
defaults by just creating a model from the dict works fine because its only member that is a dict (suffix_kwargs
) defaults toNone
.genesis_data["config"]
does have default values, so just creating aGenesisData
model from the dict does not fill the sub-dict properly.How was it fixed?
Added a
fill_default_genesis_data
function and test.Todo:
Cute Animal Picture