Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

feat: genesis dot json #3884

Draft
wants to merge 20 commits into
base: develop
Choose a base branch
from
Draft

feat: genesis dot json #3884

wants to merge 20 commits into from

Conversation

tenthirtyone
Copy link
Contributor

@tenthirtyone tenthirtyone commented Nov 8, 2022

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)

@MicaiahReid MicaiahReid force-pushed the upgrade-ejs branch 3 times, most recently from ecc0bc3 to 6d90786 Compare November 10, 2022 15:12
Base automatically changed from upgrade-ejs to tech-debt-dudes November 10, 2022 15:51
Base automatically changed from tech-debt-dudes to the-merge November 30, 2022 16:29
@tenthirtyone tenthirtyone force-pushed the feat/genesis-dot-json branch from 686ecfa to 51d15ab Compare December 5, 2022 23:38
Base automatically changed from the-merge to develop December 14, 2022 14:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: Stalled
Development

Successfully merging this pull request may close these issues.

3 participants