mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-16 08:53:46 +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'
|
version: '3'
|
||||||
services:
|
services:
|
||||||
bootnode:
|
geth-bootnode:
|
||||||
build:
|
build:
|
||||||
context: ..
|
context: ..
|
||||||
dockerfile: geth-poa/Dockerfile
|
dockerfile: geth-poa/Dockerfile
|
||||||
|
|
@ -118,12 +118,15 @@ services:
|
||||||
contract-deployer:
|
contract-deployer:
|
||||||
image: ghcr.io/foundry-rs/foundry
|
image: ghcr.io/foundry-rs/foundry
|
||||||
environment:
|
environment:
|
||||||
RPC_URL: "http://bootnode:8545" # Pointing to the Geth bootnode
|
RPC_URL: "http://geth-bootnode:8545" # Pointing to the Geth bootnode
|
||||||
command: >
|
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'"
|
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:
|
depends_on:
|
||||||
- bootnode
|
- geth-bootnode
|
||||||
|
|
||||||
|
|
||||||
hyperlane-deployer:
|
hyperlane-deployer:
|
||||||
build:
|
build:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue