Open tenthirtyone opened 1 year ago
Adds a genesisPath option and j switch to cli that takes in a path to a genesis.json.
genesisPath
j
genesis.json
This branch has had some force pushin' The files who matter are
blockchain.ts chain-options.ts
blockchain.ts
chain-options.ts
npm run start -- -j ./genesis.json
Using process.cwd() so running the above command in the top-level repo this will resolve to packages/ganache
process.cwd()
packages/ganache
Accounts Side Effects from ganache default options
cross-option exclusions? option requires?
resolving which hardfork is set retro-setting ganache-options with genesis.json values where applicable (e.g. chainId)
Description
Adds a
genesisPath
option andj
switch to cli that takes in a path to agenesis.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 topackages/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)