populus icon indicating copy to clipboard operation
populus copied to clipboard

Allow for custom genesis alloc with TemporaryGethChain

Open 4gn3s opened this issue 9 years ago • 1 comments

  • Populus Version: 1.2.2
  • OS: osx/linux/win

Feature idea

I would like to be able to create a custom allocation in genesis block when using a TemporaryGethChain. DevGethProcess in py-geth allows to define genesis_data parameter, which could be used to set account list and balances. However, this parameter is not passed in populus in LoggedDevGethProcess.

Cute Animal Picture

Bird

4gn3s avatar Oct 18 '16 10:10 4gn3s

I believe this should be as simple as adding a new keyword argument genesis_data here and then modifying all of the get_geth_process_instance methods in that same file to use that argument when instantiating the LoggedDevGethProcess instances.

pipermerriam avatar Oct 19 '16 15:10 pipermerriam