Skip to content

Commit 9b1f60b

Browse files
committed
patch for reth 1.4.8
1 parent 56db5d5 commit 9b1f60b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

artifacts/artifacts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func DownloadArtifacts() (map[string]string, error) {
2424
{
2525
Name: "reth",
2626
Org: "paradigmxyz",
27-
Version: "v1.0.2",
27+
Version: "v1.4.8",
2828
Arch: func(goos, goarch string) string {
2929
if goos == "linux" {
3030
return "x86_64-unknown-linux-gnu"

main.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -427,14 +427,15 @@ func setupServices(svcManager *serviceManager, out *output) error {
427427
rethVersion := func() string {
428428
cmd := exec.Command(rethBin, "--version")
429429
out, err := cmd.Output()
430+
430431
if err != nil {
431432
return "unknown"
432433
}
433434
// find the line of the form:
434435
// reth Version: x.y.z
435436
for _, line := range strings.Split(string(out), "\n") {
436-
if strings.HasPrefix(line, "reth Version: ") {
437-
v := strings.TrimSpace(strings.TrimPrefix(line, "reth Version: "))
437+
if strings.HasPrefix(line, "reth-ethereum-cli Version:") {
438+
v := strings.TrimSpace(strings.TrimPrefix(line, "reth-ethereum-cli Version:"))
438439
if !strings.HasPrefix(v, "v") {
439440
v = "v" + v
440441
}
@@ -466,6 +467,7 @@ func setupServices(svcManager *serviceManager, out *output) error {
466467
"--http.port", "8545",
467468
"--authrpc.port", "8551",
468469
"--authrpc.jwtsecret", "{{.Dir}}/jwtsecret",
470+
"--engine.persistence-threshold", "0", "--engine.memory-block-buffer-target", "0",
469471
"-vvvv",
470472
).
471473
If(useRethForValidation, func(s *service) *service {

0 commit comments

Comments
 (0)