-
Notifications
You must be signed in to change notification settings - Fork 106
localnode: improve docs, add hemi-min profile, update images and configs
#479
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 20 commits
de45e5d
cd9f26e
b4fc904
89708c2
1e90514
09067e6
5b608e3
f79fc64
68fd276
eaeacc7
5f70cd7
7d77535
98e9731
e3d89a9
9c376db
dd99486
ca92c9e
0a2f073
bef98b5
f26b07f
667bc2e
7ceb52b
eac52ad
debd0e5
1a2a51b
cdd80d6
c878f15
b2d3bb5
2e570a0
0ef56fb
b5cf65e
d1650c5
d902ad6
9ea7071
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -82,7 +82,7 @@ services: | |
| build: | ||
| dockerfile: "./docker/bssd/Dockerfile" | ||
| context: "./.." | ||
| profiles: ["hemi", "full"] | ||
| profiles: ["hemi", "hemi-min", "full"] | ||
| environment: | ||
| BSS_BFG_URL: "ws://bfgd:8080/v1/ws/private" | ||
| BSS_LOG_LEVEL: "INFO" | ||
|
|
@@ -164,7 +164,7 @@ services: | |
| image: "ghcr.io/hemilabs/op-geth:8147886@sha256:95ceee4cdcf7376bf5e2063f960a74d73cce3406e5f6c72f928713fe52508a1c" | ||
| platform: linux/amd64 | ||
| # XXX does geth need to be fully synced | ||
| profiles: ["hemi", "full"] | ||
| profiles: ["hemi", "hemi-min", "full"] | ||
| depends_on: | ||
| op-geth-l2-init: | ||
| condition: "service_completed_successfully" | ||
|
|
@@ -208,7 +208,7 @@ services: | |
| op-geth-l2-init: | ||
| # yamllint disable-line rule:line-length | ||
| image: "alpine@sha256:a8560b36e8b8210634f77d9f7f9efd7ffa463e380b75e2e74aff4511df3ef88c" # 3.21.3 | ||
| profiles: ["hemi", "full"] | ||
| profiles: ["hemi", "hemi-min", "full"] | ||
| volumes: | ||
| - op-geth_data:/tmp/datadir | ||
| command: | ||
|
|
@@ -221,7 +221,7 @@ services: | |
| op-geth-l2-init-tbc: | ||
| # yamllint disable-line rule:line-length | ||
| image: "alpine@sha256:a8560b36e8b8210634f77d9f7f9efd7ffa463e380b75e2e74aff4511df3ef88c" # 3.21.3 | ||
| profiles: ["hemi", "full"] | ||
| profiles: ["hemi", "hemi-min", "full"] | ||
| volumes: | ||
| - tbc_data:/tbcdata | ||
| command: | ||
|
|
@@ -233,9 +233,9 @@ services: | |
| # Hemi op-node | ||
| op-node: | ||
| # yamllint disable-line rule:line-length | ||
| image: "ghcr.io/hemilabs/op-node:84b895e@sha256:df29c59680c33cdda616f67662c9e75bdeea60f79d91937ee0b60bf0d0f48243" | ||
| image: "ghcr.io/hemilabs/op-node:e79d444@sha256:c2757007112d81c2db1f0ad52cf12e1a3f2bf8313df434d9533abbf29b8b9d04" | ||
|
||
| platform: linux/amd64 | ||
| profiles: ["hemi", "full"] | ||
| profiles: ["hemi", "hemi-min", "full"] | ||
| depends_on: | ||
| op-geth-l2: | ||
| condition: "service_healthy" | ||
|
|
@@ -266,6 +266,10 @@ services: | |
| - "--rpc.addr=0.0.0.0" | ||
| - "--rpc.port=8547" | ||
| - "--p2p.bootnodes=enr:-J64QACnJ0giPmPXowNCHP-FDleMMbDqYg5nuLABYfJeYbP9OA6_fZtvCsTbAwvlPD8_C6ZSXEk1-XPabDBwD8UTyNCGAZMxdy4tgmlkgnY0gmlwhCINopiHb3BzdGFja4Tn0AIAiXNlY3AyNTZrMaED22EOmUryrNnFOwq6Ve1Hpw5CMFz_TnhIkVS4Sq8JhkmDdGNwgiMrg3VkcIKjLg,enr:-J64QA20VNMfLMtbSuHYmQH2I-xaqT4-9g7lqO-VHr0fFvtSB7QybJ_7W5fuEjLAa6kh82fGLjRUdZE0hW0pfVBcxP6GAZMxdwfngmlkgnY0gmlwhCJaFfaHb3BzdGFja4Tn0AIAiXNlY3AyNTZrMaEDjt3C-gv87B5rWa5M52WUFGy16mjQvFsC7OgPkqu-rn-DdGNwgiMrg3VkcIKRXQ,enr:-J64QLQyh3lXjQLzfCbfNw0DUb4A0OEcTLmVGexMbK-2jjCtHOIlRnDqLuedQ0orNHt7zmsILELYi4ozg-0bQzc34F-GAZMxdxNogmlkgnY0gmlwhCINq4uHb3BzdGFja4Tn0AIAiXNlY3AyNTZrMaED1NV9w0EmnMXBNRnDWj6kdqzE6_4HigHopeu3ewQTwouDdGNwgiMrg3VkcIK1Iw,enr:-J64QNPfOEViWkN7U_ul5Zhw_mc5_Hta92eUufrgu6oTqSMzRsqCje-P0vPrOQ9XjVIk4VP7mmFVP6qoTrtkIwvwUV2GAZMxdv4zgmlkgnY0gmlwhCJb2HmHb3BzdGFja4Tn0AIAiXNlY3AyNTZrMaEDYAidV8rzABKrKAL9jwP1aoi3wj-GtuML4FKtUDOgzCGDdGNwgiMrg3VkcILijg,enr:-J64QFalFr9Y4r9v8Svh7XFwerJeLTRnfTixfCy_NZw3OTMVZL_dSAvcZ6JIeK0JAZf6-PU3YknV9m9Jd5V5WlnqHKWGAZMxdxT4gmlkgnY0gmlwhCKNlBOHb3BzdGFja4Tn0AIAiXNlY3AyNTZrMaECI1jqAzkQ0JRkwL-UBP2TBUfUdLyTaqAXtey82CTysdCDdGNwgiMrg3VkcILOyg" | ||
| - "--p2p.static=/ip4/34.90.21.246/tcp/9003/p2p/16Uiu2HAmNGgNTgiFBAqH58aCT3iXWMnetYMtQgH21Ydjq2R7QRbt" | ||
| - "--p2p.ban.peers=false" | ||
|
Contributor
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. does this mean that we never ban peers in mainnet? is that what we want? 🤔
Contributor
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. I guess a user could always change this....
Contributor
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. op-node does some aggressive node pruning and generates a lot of false positives, this is something I'd like to remove eventually after we improve this logic. |
||
| - "--p2p.ban.duration=1s" | ||
| - "--p2p.ban.threshold=-10000000000" | ||
| - "--log.level=info" | ||
| - "--syncmode=${OPSYNCMODE:-execution-layer}" | ||
| deploy: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| #!/bin/sh | ||
|
Contributor
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. Ideally, I think it would be best if we could continue using |
||
| #!/bin/bash | ||
| # Copyright (c) 2025 Hemi Labs, Inc. | ||
| # Use of this source code is governed by the MIT License, | ||
| # which can be found in the LICENSE file. | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
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.
let's use the latest op-node,