Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add otterscan to sandbox #2648

Merged
merged 8 commits into from
Oct 5, 2023
Merged
9 changes: 8 additions & 1 deletion yarn-project/aztec-sandbox/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
ethereum:
image: ghcr.io/foundry-rs/foundry:v1.0.0
image: ghcr.io/foundry-rs/foundry@sha256:29ba6e34379e79c342ec02d437beb7929c9e254261e8032b17e187be71a2609f
Copy link
Contributor Author

@dan-aztec dan-aztec Oct 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

had to use a later version for otterscan support - this one is tagged "latest" as of October 3rd 2023 (its ~a week older than the nightly builds, stable is ~3 months old but new tag getting pushed soon)

command: '"anvil --silent -p 8545 --host 0.0.0.0 --chain-id 31337"'
ports:
- '${SANDBOX_ANVIL_PORT:-8545}:8545'
Expand All @@ -23,3 +23,10 @@ services:
ARCHIVER_VIEM_POLLING_INTERVAL_MS: 500
volumes:
- ./log:/usr/src/yarn-project/aztec-sandbox/log:rw

otterscan:
image: otterscan/otterscan:v2.0.0
platform: linux/amd64
Copy link
Contributor Author

@dan-aztec dan-aztec Oct 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no arm64 build right now, but it's being worked on today

image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated otterscan tag to develop which has multiarch images

ports:
- "5100:80"
container_name: otterscan