ethgo icon indicating copy to clipboard operation
ethgo copied to clipboard

Testutil server with premined addresses

Open ferranbt opened this issue 3 years ago • 0 comments

The current testutil does not premine any accounts at genesis and uses the dev unlocked accounts to send transactions and fund other accounts with the eth_sendTransaction endpoint. There are two main reasons to move away from this workflow:

  • It is not sure how long the eth_sendTransaction endpoint will be available (i.e. neither Erigon nor Polygon-Edge includes it).
  • It requires extra blocks and time to fund the accounts.

The work would require to use a custom genesis file to setup the premined accounts and use it instead of the bultin genesis file for dev.

ferranbt avatar Jul 02 '22 00:07 ferranbt