Skip to content

Commit

Permalink
dev to use anvil instead of geth for evm chains
Browse files Browse the repository at this point in the history
  • Loading branch information
agryaznov committed Feb 11, 2025
1 parent 9fd7337 commit a5c3020
Showing 1 changed file with 9 additions and 38 deletions.
47 changes: 9 additions & 38 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,26 +76,12 @@ services:
- grpc

chain-2-evm:
image: 'ethereum/client-go:v1.14.11'
image: 'ghcr.io/foundry-rs/foundry:latest'
command:
- '--dev'
- '--dev.gaslimit=30000000'
- '--ipcdisable'
- '--dev.period=2'
- '--rpc.txfeecap=0'
- '--rpc.allow-unprotected-txs=true'
- '--http'
- '--http.addr=0.0.0.0'
- '--http.port=8545'
- '--http.vhosts=*'
- '--http.corsdomain=*'
- '--http.api=eth,debug,admin,txpool,web3,net'
- '--ws'
- '--ws.addr=0.0.0.0'
- '--ws.port=8545'
- '--ws.origins=*'
- '--ws.api=eth,debug,admin,txpool,web3,net'
- '--verbosity=4'
- 'anvil -b 2'
environment:
ANVIL_IP_ADDR: '0.0.0.0'
profiles:
profiles:
- evm

Expand All @@ -117,26 +103,11 @@ services:
- evm

chain-3-evm:
image: 'ethereum/client-go:v1.14.11'
image: 'ghcr.io/foundry-rs/foundry:latest'
command:
- '--dev'
- '--dev.gaslimit=30000000'
- '--ipcdisable'
- '--dev.period=2'
- '--rpc.txfeecap=0'
- '--rpc.allow-unprotected-txs=true'
- '--http'
- '--http.addr=0.0.0.0'
- '--http.port=8545'
- '--http.vhosts=*'
- '--http.corsdomain=*'
- '--http.api=eth,debug,admin,txpool,web3,net'
- '--ws'
- '--ws.addr=0.0.0.0'
- '--ws.port=8545'
- '--ws.origins=*'
- '--ws.api=eth,debug,admin,txpool,web3,net'
- '--verbosity=4'
- 'anvil -b 2'
environment:
ANVIL_IP_ADDR: '0.0.0.0'
profiles:
- evm

Expand Down

0 comments on commit a5c3020

Please sign in to comment.