-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: run all e2e tests against sandbox (#2891)
Fixes #2642 Fixes #2917 Also: use `aztecprotocol/aztec-sandbox:canary` for canary tests # Checklist: Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge. - [ ] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag. - [ ] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code. - [ ] Every change is related to the PR description. - [ ] I have [linked](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) this pull request to relevant issues (if any exist).
- Loading branch information
Showing
16 changed files
with
92 additions
and
175 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,9 @@ | ||
version: '3' | ||
services: | ||
fork: | ||
image: ghcr.io/foundry-rs/foundry:nightly-a44aa13cfc23491ba32aaedc093e9488c1a6db43 | ||
entrypoint: > | ||
sh -c ' | ||
if [ -n "$FORK_BLOCK_NUMBER" ] && [ -n "$FORK_URL" ]; then | ||
exec anvil -p 8545 --host 0.0.0.0 --chain-id 31337 --fork-url "$FORK_URL" --fork-block-number "$FORK_BLOCK_NUMBER" | ||
else | ||
exec anvil -p 8545 --host 0.0.0.0 --chain-id 31337 | ||
fi' | ||
ports: | ||
- '8545:8545' | ||
|
||
sandbox: | ||
image: aztecprotocol/aztec-sandbox:canary | ||
environment: | ||
DEBUG: 'aztec:*' | ||
ETHEREUM_HOST: http://fork:8545 | ||
CHAIN_ID: 31337 | ||
ARCHIVER_POLLING_INTERVAL_MS: 50 | ||
P2P_BLOCK_CHECK_INTERVAL_MS: 50 | ||
SEQ_TX_POLLING_INTERVAL_MS: 50 | ||
WS_BLOCK_CHECK_INTERVAL_MS: 50 | ||
PXE_BLOCK_POLLING_INTERVAL_MS: 50 | ||
ARCHIVER_VIEM_POLLING_INTERVAL_MS: 500 | ||
ports: | ||
- '8080:8080' | ||
|
||
canary: | ||
image: aztecprotocol/canary:latest | ||
environment: | ||
ETHEREUM_HOST: http://fork:8545 | ||
ETHEREUM_HOST: http://ethereum:8545 | ||
CHAIN_ID: 31337 | ||
PXE_URL: http://sandbox:8080 | ||
PXE_URL: http://aztec:8080 | ||
command: ['./scripts/start_e2e_ci_browser.sh', './src/aztec_js_browser.test.ts'] |
36 changes: 0 additions & 36 deletions
36
yarn-project/canary/scripts/docker-compose-e2e-sandbox.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,9 @@ | ||
version: '3' | ||
services: | ||
fork: | ||
image: ghcr.io/foundry-rs/foundry:nightly-a44aa13cfc23491ba32aaedc093e9488c1a6db43 | ||
entrypoint: > | ||
sh -c ' | ||
if [ -n "$FORK_BLOCK_NUMBER" ] && [ -n "$FORK_URL" ]; then | ||
exec anvil -p 8545 --host 0.0.0.0 --chain-id 31337 --fork-url "$FORK_URL" --fork-block-number "$FORK_BLOCK_NUMBER" | ||
else | ||
exec anvil -p 8545 --host 0.0.0.0 --chain-id 31337 | ||
fi' | ||
ports: | ||
- '8545:8545' | ||
|
||
sandbox: | ||
image: aztecprotocol/aztec-sandbox:canary | ||
environment: | ||
DEBUG: 'aztec:*' | ||
ETHEREUM_HOST: http://fork:8545 | ||
CHAIN_ID: 31337 | ||
ARCHIVER_POLLING_INTERVAL_MS: 50 | ||
P2P_BLOCK_CHECK_INTERVAL_MS: 50 | ||
SEQ_TX_POLLING_INTERVAL_MS: 50 | ||
WS_BLOCK_CHECK_INTERVAL_MS: 50 | ||
PXE_BLOCK_POLLING_INTERVAL_MS: 50 | ||
ARCHIVER_VIEM_POLLING_INTERVAL_MS: 500 | ||
ports: | ||
- '8080:8080' | ||
|
||
canary: | ||
image: aztecprotocol/canary:latest | ||
environment: | ||
ETHEREUM_HOST: http://fork:8545 | ||
ETHEREUM_HOST: http://ethereum:8545 | ||
CHAIN_ID: 31337 | ||
PXE_URL: http://sandbox:8080 | ||
command: ${TEST:-./src/uniswap_trade_on_l1_from_l2.test.ts} | ||
PXE_URL: http://aztec:8080 | ||
command: ${TEST:-./src/cli.test.ts} |
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
File renamed without changes.
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
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.