mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-02 01:53:48 +00:00
adding contract deployyer to poa
This commit is contained in:
parent
dda05c5584
commit
aaa7e70952
1 changed files with 10 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ services:
|
|||
- 8545:8545
|
||||
- 8546:8546
|
||||
- 6060:6060 # metrics server @ /debug/metrics
|
||||
- 6068:6068
|
||||
volumes:
|
||||
- geth-data-bootnode:/data
|
||||
profiles:
|
||||
|
|
@ -114,6 +115,15 @@ services:
|
|||
}
|
||||
]
|
||||
|
||||
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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue