Skip to content

Commit 60e9b14

Browse files
chenrui333bevanjkay
authored andcommitted
lighthouse 5.0.0
lighthouse: update sleep lighthouse: update test Co-authored-by: Rui Chen <[email protected]>
1 parent 4b9be8a commit 60e9b14

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Formula/l/lighthouse.rb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Lighthouse < Formula
22
desc "Rust Ethereum 2.0 Client"
33
homepage "https://lighthouse.sigmaprime.io/"
4-
url "https://github.com/sigp/lighthouse/archive/refs/tags/v4.6.0.tar.gz"
5-
sha256 "de3186df8f41077968aa5ce358837858e1142a3c91877ca2b32066e4002dd9c3"
4+
url "https://github.com/sigp/lighthouse/archive/refs/tags/v5.0.0.tar.gz"
5+
sha256 "3f279a5539bc56765f4e29a4be63f07f1d31dc8ec871770fde35dadfbbd8383a"
66
license "Apache-2.0"
77

88
livecheck do
@@ -46,9 +46,10 @@ def install
4646

4747
http_port = free_port
4848
fork do
49-
exec bin/"lighthouse", "beacon_node", "--http", "--http-port=#{http_port}", "--port=#{free_port}"
49+
exec bin/"lighthouse", "beacon_node",
50+
"--http", "--http-port=#{http_port}", "--port=#{free_port}", "--allow-insecure-genesis-sync"
5051
end
51-
sleep 10
52+
sleep 18
5253

5354
output = shell_output("curl -sS -XGET http://127.0.0.1:#{http_port}/eth/v1/node/syncing")
5455
assert_match "is_syncing", output

0 commit comments

Comments
 (0)