ganache
ganache copied to clipboard
feat: genesis dot json
Description
Adds a genesisPath
option and j
switch to cli that takes in a path to a genesis.json
.
Relevant Files
This branch has had some force pushin' The files who matter are
blockchain.ts
chain-options.ts
To use
npm run start -- -j ./genesis.json
Callouts
Using process.cwd()
so running the above command in the top-level repo this will resolve to packages/ganache
Todo
Accounts Side Effects from ganache default options
Questions
cross-option exclusions? option requires?
Feasibility
resolving which hardfork is set retro-setting ganache-options with genesis.json values where applicable (e.g. chainId)