Skip to content

fix: switch between empty/forked chain without the need to recreate t…#2795

Merged
tynes merged 1 commit intoethereum-optimism:developfrom
EthereansOS:develop
Jun 23, 2022
Merged

fix: switch between empty/forked chain without the need to recreate t…#2795
tynes merged 1 commit intoethereum-optimism:developfrom
EthereansOS:develop

Conversation

@vasapower
Copy link
Copy Markdown
Contributor

…he entire image

Description
Currently l1_chain Docker image doesn't allow to fork a preexistent chain because the dotenv repo is not loaded nor initialized. Adding the latter to the package.json and using it in the hardhat.config.js file solves the issue.

Additional context
The current image works well if you need to run a fresh L1 chain. However, the l1_chain.env configuration file is not read correctly by the container, so it's not possible to use a forked mainnet.

Metadata
No issues links

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Jun 15, 2022

🦋 Changeset detected

Latest commit: 800aec5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@eth-optimism/hardhat-node Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Jun 15, 2022

This PR changes implementation code, but doesn't include a changeset. Did you forget to add one?

@tynes
Copy link
Copy Markdown
Contributor

tynes commented Jun 16, 2022

Can you add a changeset for the hardhat package?

@vasapower
Copy link
Copy Markdown
Contributor Author

Can you add a changeset for the hardhat package?

Done

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Jun 22, 2022

This PR has been added to the merge queue, and will be merged soon.

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Jun 22, 2022

Merge failed. Please see automated check logs for more details.

@mergify mergify bot removed the on-merge-train label Jun 22, 2022
@tynes tynes merged commit 587a7d0 into ethereum-optimism:develop Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ops Area: ops

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants