mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-04 02:53:45 +00:00
cloning contract repo as part of geth poa
This commit is contained in:
parent
8df9f35976
commit
b3e168eafa
1 changed files with 7 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
|||
version: '3'
|
||||
services:
|
||||
bootnode:
|
||||
geth-bootnode:
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: geth-poa/Dockerfile
|
||||
|
|
@ -118,12 +118,15 @@ services:
|
|||
contract-deployer:
|
||||
image: ghcr.io/foundry-rs/foundry
|
||||
environment:
|
||||
RPC_URL: "http://bootnode:8545" # Pointing to the Geth bootnode
|
||||
RPC_URL: "http://geth-bootnode:8545" # Pointing to the Geth bootnode
|
||||
command: >
|
||||
sh -c "forge compile &&
|
||||
sh -c "git clone git@github.com:primevprotocol/contracts.git &&
|
||||
cd contracts &&
|
||||
forge compile &&
|
||||
forge script scripts/DeployScripts.s.sol:DeployScript --rpc-url '$RPC_URL' --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 --broadcast --chain-id 17864 -vvvv || echo 'Script execution failed'"
|
||||
depends_on:
|
||||
- bootnode
|
||||
- geth-bootnode
|
||||
|
||||
|
||||
hyperlane-deployer:
|
||||
build:
|
||||
|
|
|
|||
Loading…
Reference in a new issue