forked from allo-protocol/allo-contracts
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add docker-compose and upgrade hardhat upgrades to make it work with …
…local anvil chains
- Loading branch information
1 parent
d78364e
commit eff30a7
Showing
22 changed files
with
963 additions
and
240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ node_modules | |
coverage | ||
coverage.json | ||
typechain | ||
typechain-types | ||
/.eslintcache | ||
.turbo | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
services: | ||
local-chain: | ||
image: ghcr.io/foundry-rs/foundry:nightly-b174c3a4f80938636f18b3c9e49d45e6643f64a9 | ||
ports: | ||
- "127.0.0.1:8545:8545" | ||
entrypoint: ["anvil", "--host", "0.0.0.0", "--chain-id", "313371"] | ||
|
||
allo-v1-setup: | ||
image: allo-v1-setup | ||
build: | ||
context: . | ||
dockerfile: ./Dockerfile | ||
depends_on: | ||
- local-chain | ||
environment: | ||
# account at index 0 of the test mnemonic | ||
- DEPLOYER_PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 | ||
- DEV_CHAIN_HOST=local-chain | ||
- DEV_CHAIN_ID=313371 | ||
restart: "no" | ||
entrypoint: [ "bash", "-c", "sleep 2 && corepack enable && exec ./docker/deploy-contracts.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.