-
Notifications
You must be signed in to change notification settings - Fork 599
chore(sandbox): expose anvil port #12599
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
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -14,24 +14,19 @@ For a quick start, follow the [guide](../../getting_started.md) to install the s | |
|
|
||
| There are various environment variables you can use when running the whole sandbox or when running on of the available modes. | ||
|
|
||
| To change them, you can open `~/.aztec/docker-compose.sandbox.yml` and edit them directly. | ||
|
|
||
| **Sandbox** | ||
|
|
||
| ```sh | ||
| LOG_LEVEL=debug # Options are 'fatal', 'error', 'warn', 'info', 'verbose', 'debug', 'trace' | ||
| HOST_WORKDIR='${PWD}' # The location to store log outputs. Will use ~/.aztec where the docker-compose.yml file is stored by default. | ||
| ETHEREUM_HOSTS=http://ethereum:8545 # List of Ethereum JSON RPC URLs. We use an anvil instance that runs in parallel to the sandbox on docker by default. | ||
| ETHEREUM_HOSTS=http://127.0.0.1:8545 # List of Ethereum JSON RPC URLs. We use an anvil instance that runs in parallel to the sandbox on docker by default. | ||
| ANVIL_PORT=8545 # The port that docker will forward to the anvil instance (default: 8545) | ||
| L1_CHAIN_ID=31337 # The Chain ID that the Ethereum host is using. | ||
| TEST_ACCOUNTS='true' # Option to deploy 3 test account when sandbox starts. (default: true) | ||
| MODE='sandbox' # Option to start the sandbox or a standalone part of the system. (default: sandbox) | ||
| PXE_PORT=8080 # The port that the PXE will be listening to (default: 8080) | ||
| AZTEC_NODE_PORT=8080 # The port that Aztec Node will be listening to (default: 8080) | ||
|
|
||
| # Ethereum Forking (Optional: not enabled by default) # | ||
| FORK_BLOCK_NUMBER=0 # The block number to fork from | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removed as this usecase is not currently supported - #12600 created to track |
||
| FORK_URL="" # The URL of the Ethereum node to fork from | ||
|
|
||
| ## Polling intervals ## | ||
| ARCHIVER_POLLING_INTERVAL_MS=50 | ||
| P2P_BLOCK_CHECK_INTERVAL_MS=50 | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed as this no longer exists