farcasterxyz / contracts

Implementation of the Farcaster contracts
https://www.farcaster.xyz/
MIT License
340 stars 122 forks source link

chore: add L1 services to docker-compose #373

Closed horsefacts closed 1 year ago

horsefacts commented 1 year ago

Motivation

Our existing docker-compose file only deploys our L2 contracts on an OP mainnet fork. It should also create an Ethereum mainnet fork and deploy the L1 FnameResolver.

Change Summary

Add L1 anvil and deployer services to docker-compose.yml.

Merge Checklist

Choose all relevant options below by adding an x now or at any time before submitting for review


PR-Codex overview

Detailed summary

This PR focuses on updating the docker-compose.yml file. The notable changes include:

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

github-actions[bot] commented 1 year ago

Coverage after merging horsefacts/l1-deploy-docker into main will be

98.65%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   Bundler.sol100%100%100%100%
   FnameResolver.sol100%100%100%100%
   IdRegistry.sol100%100%100%100%
   KeyRegistry.sol100%100%100%100%
   StorageRegistry.sol100%100%100%100%
src/lib
   EIP712.sol50%100%50%50%19
   Signatures.sol100%100%100%100%
   TransferHelper.sol0%0%0%0%12, 17, 20, 20, 20
   TrustedCaller.sol100%100%100%100%
src/validators
   SignedKeyRequestValidator.sol100%100%100%100%
horsefacts commented 1 year ago

Should we update the .env.example file while we're here?

@sds Do you see anything specific that's missing? I added the L1_ and L2_ RPC variables in an earlier PR, so I think everything we use is defined already.

sds commented 1 year ago

Oh sorry, I was looking at this PR in isolation. Nevermind!