Skip to content

feat: fetch genesis file from cli#61

Merged
MegaRedHand merged 22 commits intomainfrom
add-network-arg-to-cli
Jun 26, 2024
Merged

feat: fetch genesis file from cli#61
MegaRedHand merged 22 commits intomainfrom
add-network-arg-to-cli

Conversation

@fmoletta
Copy link
Contributor

@fmoletta fmoletta commented Jun 25, 2024

Based on #57
Motivation

Read genesis file from kurtosis.
In order to do this, uncomment the following lines in the ethereum-package fork:

        "--network={0}".format(
            network
            if network in constants.PUBLIC_NETWORKS
            else constants.GENESIS_CONFIG_MOUNT_PATH_ON_CONTAINER + "/genesis.json"
        ),

Description

Add network arg to CLI.
Deserialize genesis file from the path provided by the network arg

Closes #62

@fmoletta fmoletta changed the base branch from main to deserialize-genesis-file June 25, 2024 20:28
@fmoletta fmoletta force-pushed the add-network-arg-to-cli branch from b76cc5d to 2da7fad Compare June 25, 2024 20:34
@fmoletta fmoletta changed the title feat: Fetch genesis file from cli feat: fetch genesis file from cli Jun 25, 2024
@fmoletta fmoletta marked this pull request as ready for review June 25, 2024 20:40
@fmoletta fmoletta requested a review from a team as a code owner June 25, 2024 20:40
Base automatically changed from deserialize-genesis-file to main June 25, 2024 21:28
@MegaRedHand MegaRedHand merged commit 98d6a9c into main Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Read genesis file from localnet

3 participants