-
Notifications
You must be signed in to change notification settings - Fork 245
feat: Add EVM full node setup #2373
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
21 commits
Select commit
Hold shift + click to select a range
1b2d762
Add EVM full node
Manav-Aggarwal 82e14c6
add logs
Manav-Aggarwal 092e940
Simulate ExecuteTxs
Manav-Aggarwal 5362838
attempt to make op-reth work
Manav-Aggarwal d410fcf
Fix more issues
Manav-Aggarwal 7a12719
Modify execution
Manav-Aggarwal c618005
modify test
Manav-Aggarwal 3565c8d
all tests pass
Manav-Aggarwal 57a9caa
Update
Manav-Aggarwal b6be0a9
update docker images
Manav-Aggarwal e7be57c
update flags
Manav-Aggarwal d9f0062
use geth instead of op-geth
Manav-Aggarwal b4e5877
Fix GetTxs
Manav-Aggarwal 63f6352
Add full node instructions
Manav-Aggarwal 399e49a
update docker compose apps
Manav-Aggarwal 7f4b2df
Cleanup
Manav-Aggarwal c6e01a3
Update execution test
Manav-Aggarwal bec4297
decrease delay
Manav-Aggarwal bff8448
cleanup docker-compose
Manav-Aggarwal 6617292
update readme and docker-compose
Manav-Aggarwal 6fb55c0
update README
Manav-Aggarwal 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
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 |
|---|---|---|
| @@ -0,0 +1,89 @@ | ||
| name: "rollkit-reth-full-node" | ||
|
|
||
| services: | ||
| jwt-init-full-node: | ||
| container_name: jwt-init-full-node | ||
| image: alpine:3.19 | ||
| volumes: | ||
| - ./jwttoken:/jwt | ||
| healthcheck: | ||
| test: ["CMD", "test", "-f", "/jwt/jwt.hex"] | ||
| interval: 5s | ||
| timeout: 5s | ||
| retries: 3 | ||
| command: > | ||
| /bin/sh -c "mkdir -p /jwt && | ||
| if [ ! -f /jwt/jwt.hex ]; then | ||
| apk add --no-cache openssl && | ||
| openssl rand -hex 32 | tr -d '\n' > /jwt/jwt.hex; | ||
| fi" | ||
|
|
||
| rollkit-reth-full-node: | ||
| container_name: rollkit-reth-full-node | ||
| restart: unless-stopped | ||
| image: ghcr.io/rollkit/lumen:latest | ||
| depends_on: | ||
| jwt-init-full-node: | ||
| condition: service_completed_successfully | ||
| ports: | ||
| - "9011:9001" # metrics | ||
| - "30313:30303" # eth/66 peering | ||
| - "8555:8545" # rpc | ||
| - "8561:8551" # engine | ||
| - "8556:8546" # ws | ||
| volumes: | ||
| - ./chain:/root/chain:ro | ||
| - ./jwttoken:/root/jwt:ro | ||
| - logs-full-node:/root/logs | ||
| command: | ||
| - node | ||
| - --chain | ||
| - /root/chain/genesis.json | ||
| - --metrics | ||
| - 0.0.0.0:9001 | ||
| - --log.file.directory | ||
| - /root/logs | ||
| - --authrpc.addr | ||
| - 0.0.0.0 | ||
| - --authrpc.port | ||
| - "8551" | ||
| - --authrpc.jwtsecret | ||
| - /root/jwt/jwt.hex | ||
| - --http | ||
| - --http.addr | ||
| - 0.0.0.0 | ||
| - --http.port | ||
| - "8545" | ||
| - --http.api | ||
| - eth,net,web3,txpool | ||
| - --ws | ||
| - --ws.addr | ||
| - 0.0.0.0 | ||
| - --ws.port | ||
| - "8546" | ||
| - --ws.api | ||
| - eth,net,web3 | ||
| - --engine.persistence-threshold | ||
| - "0" | ||
| - --engine.memory-block-buffer-target | ||
| - "0" | ||
| - --disable-discovery | ||
| - --txpool.pending-max-count | ||
| - "200000" | ||
| - --txpool.pending-max-size | ||
| - "200" | ||
| - --txpool.queued-max-count | ||
| - "200000" | ||
| - --txpool.queued-max-size | ||
| - "200" | ||
| - --txpool.max-account-slots | ||
| - "2048" | ||
| - --txpool.max-new-txns | ||
| - "2048" | ||
| - --txpool.additional-validation-tasks | ||
| - "16" | ||
| - --rollkit.enable | ||
|
|
||
| volumes: | ||
| logs-full-node: | ||
| driver: local |
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
Oops, something went wrong.
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.
Raise: verify
depends_onconditions.In Compose v3.8,
condition: service_startedis not supported locally (only Swarm); use healthchecks withcondition: service_healthyor custom wait logic.🤖 Prompt for AI Agents