adding contract deployyer to poa

This commit is contained in:
kant 2023-12-11 17:46:42 -08:00 committed by Shawn
parent 602b6eddd6
commit 0f98b575ff

View file

@ -15,6 +15,7 @@ services:
- 8545:8545 - 8545:8545
- 8546:8546 - 8546:8546
- 6060:6060 # metrics server @ /debug/metrics - 6060:6060 # metrics server @ /debug/metrics
- 6068:6068
volumes: volumes:
- geth-data-bootnode:/data - geth-data-bootnode:/data
profiles: profiles:
@ -170,6 +171,16 @@ services:
profiles: profiles:
- local_l1 - local_l1
contract-deployer:
image: ghcr.io/foundry-rs/foundry
environment:
RPC_URL: "http://bootnode:8545" # Pointing to the Geth bootnode
command: >
bash -c "forge compile &&
forge script scripts/DeployScripts.s.sol:DeployScript --rpc-url '$RPC_URL' --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 --broadcast --chain-id 17864 -vvvv"
depends_on:
- bootnode
hyperlane-deployer: hyperlane-deployer:
build: build:
context: ./hyperlane-deployer context: ./hyperlane-deployer