• Mark Tyneway's avatar
    hardhat-node: add forking configuration · 72a325f6
    Mark Tyneway authored
    Adds forking config to the `ethereumoptimism/hardhat` docker image.
    This can be configured with the following env vars:
    
    - `FORK_URL` - http provider of the remote node to fetch data from
    - `FORK_STARTING_BLOCK` - block to start forking from, if left
      undefined it will use the tip
    
    Without `FORK_URL` set, it will not run in forking mode
    
    Also adds the ability to configure the gas price with:
    
    - `GAS_PRICE` - defaults to 0, which was the previous behavior
    72a325f6
Name
Last commit
Last update
.changeset Loading commit data...
.github Loading commit data...
.husky Loading commit data...
.vscode Loading commit data...
go Loading commit data...
integration-tests Loading commit data...
l2geth Loading commit data...
ops Loading commit data...
packages Loading commit data...
patches Loading commit data...
.dockerignore Loading commit data...
.editorconfig Loading commit data...
.eslintrc.js Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.nvmrc Loading commit data...
.prettierrc.js Loading commit data...
.prettierrc.json Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
lerna.json Loading commit data...
package.json Loading commit data...
tsconfig.build.json Loading commit data...
tsconfig.json Loading commit data...
yarn.lock Loading commit data...