Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: get deploy oe to run #1

Open
wants to merge 25 commits into
base: master
Choose a base branch
from

Conversation

platocrat
Copy link

Things I did:

  1. I replaced optimism-integration with optimism to build and start a local L1 and L2 instance
    2. To do this:
    3. Clone optimism repository under scaffold-eth/docker/: git clone https://github.com/ethereum-optimism/optimism.git
    4. Install and build dependencies of optimism: yarn && yarn build
    5. Build and start docker services in optimism/ops: docker-compose build && docker-compose up
  2. Make sure to also clone optimism under local-optimism/docker/
  3. Refactored contract calls to use gasPrice: hre.ethers.BigNumber.from('0') and gasLimit: 8999999
  4. Start the scaffold-eth frontend (after installing dependencies): yarn start
  5. Run yarn generate in scaffold-eth directory.
  6. Fund the generated address with the local faucet at the bottom of the page.
  7. Run yarn deploy-oe to see that YourCollectible token is deployed and published but ERC20, L1ERC20Gateway, and L2DepositedERC20 contracts are not.

Let me know if you have any questions my diff!

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.

2 participants