mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
adding contract deployyer to poa
This commit is contained in:
parent
602b6eddd6
commit
0f98b575ff
1 changed files with 11 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ services:
|
|||
- 8545:8545
|
||||
- 8546:8546
|
||||
- 6060:6060 # metrics server @ /debug/metrics
|
||||
- 6068:6068
|
||||
volumes:
|
||||
- geth-data-bootnode:/data
|
||||
profiles:
|
||||
|
|
@ -170,6 +171,16 @@ services:
|
|||
profiles:
|
||||
- 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:
|
||||
build:
|
||||
context: ./hyperlane-deployer
|
||||
|
|
|
|||
Loading…
Reference in a new issue