-
Notifications
You must be signed in to change notification settings - Fork 829
feat(repo): introduce taiko-reth as an alternative EE
#402
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -50,15 +50,54 @@ services: | |
| - prover | ||
| - proposer | ||
|
|
||
| l2_execution_engine_taiko_reth: | ||
| image: ghcr.io/tatsujinlabs/taiko-reth:nightly | ||
|
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. Should we fix a version? 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. Will release |
||
| restart: unless-stopped | ||
| pull_policy: always | ||
| platform: linux/amd64 | ||
| stop_grace_period: 3m | ||
| volumes: | ||
| - l2_execution_engine_data:/data/taiko-reth | ||
| ports: | ||
| - "${PORT_L2_EXECUTION_ENGINE_METRICS}:6060" | ||
| - "${PORT_L2_EXECUTION_ENGINE_HTTP}:8545" | ||
| - "${PORT_L2_EXECUTION_ENGINE_WS}:8546" | ||
| - "${PORT_L2_EXECUTION_ENGINE_P2P}:${PORT_L2_EXECUTION_ENGINE_P2P}" | ||
| - "${PORT_L2_EXECUTION_ENGINE_P2P}:${PORT_L2_EXECUTION_ENGINE_P2P}/udp" | ||
| command: | | ||
| ./taiko-reth node | ||
| --http | ||
| --http.addr 0.0.0.0 | ||
| --ws | ||
| --ws.addr 0.0.0.0 | ||
| --authrpc.addr 0.0.0.0 | ||
| --chain mainnet | ||
|
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. are we really ready to use it for mainnet? I haventnfollowed the taiko-geth progress thus far. 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. It can p2p sync then produce the newly proposed batches with taikoxyz/taiko-mono#19783 now, so far all hashes matched, so it's ok to add this option to let users try imo. |
||
| --bootnodes ${BOOT_NODES} | ||
| --datadir /data/taiko-reth | ||
| --log.file.directory /data/taiko-reth/logs | ||
| --metrics 0.0.0.0:6060 | ||
| --color never | ||
| --enable-discv5-discovery | ||
| --port ${PORT_L2_EXECUTION_ENGINE_P2P} | ||
| --discovery.port ${PORT_L2_EXECUTION_ENGINE_P2P} | ||
| --max-inbound-peers ${MAXPEERS:-30} | ||
| --max-outbound-peers ${MAXPEERS:-100} | ||
| ${RETH_ADDITIONAL_ARGS:-} | ||
| <<: *logging | ||
| profiles: | ||
| - l2_execution_engine_reth | ||
|
|
||
| taiko_client_driver: | ||
| image: us-docker.pkg.dev/evmchain/images/taiko-client:taiko-alethia-client-v1.5.2 | ||
| restart: unless-stopped | ||
| pull_policy: always | ||
| depends_on: | ||
| - l2_execution_engine | ||
| env_file: | ||
| - .env | ||
| environment: | ||
| JWT_PATH: /data/taiko-reth/jwt.hex | ||
| EXECUTION_ENGINE_ENDPOINT: l2_execution_engine_taiko_reth | ||
| volumes: | ||
| - l2_execution_engine_data:/data/taiko-reth | ||
| - l2_execution_engine_data:/data/taiko-geth | ||
|
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. If we fixed the EXECUTION_ENGINE_ENDPOINT is reth, let's remove all geth related config. 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. If we don't want to add another |
||
| - ./script:/script | ||
| entrypoint: | ||
|
|
@@ -68,6 +107,7 @@ services: | |
| <<: *logging | ||
| profiles: | ||
| - l2_execution_engine | ||
| - l2_execution_engine_reth | ||
| - prover | ||
| - proposer | ||
|
|
||
|
|
||
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.
We can safely delete
depends_onhere since it's not working as expected anyway.