From 479635953bfa8335d36f2d8e589d100193b9748e Mon Sep 17 00:00:00 2001 From: Max Revitt Date: Thu, 11 Jul 2024 17:43:56 +0100 Subject: [PATCH] tests(nightly): warn log level for l1 rec node (#770) * tests(nightly): warn log level for l1 rec node * tests(nightly): ignore, loud cache log --- .dockerignore | 3 +++ cmd/hack/rpc_cache/main.go | 1 - zk/tests/nightly-l1-recovery/.dockerignore | 13 +++++++++++++ zk/tests/nightly-l1-recovery/network5-config.yaml | 2 ++ 4 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 zk/tests/nightly-l1-recovery/.dockerignore diff --git a/.dockerignore b/.dockerignore index f21ea98c3a4..d41a52fa4c2 100644 --- a/.dockerignore +++ b/.dockerignore @@ -8,3 +8,6 @@ build tests/testdata cmd/prometheus vendor + +cache.db +.git diff --git a/cmd/hack/rpc_cache/main.go b/cmd/hack/rpc_cache/main.go index 104ef310d90..91a3746ba39 100644 --- a/cmd/hack/rpc_cache/main.go +++ b/cmd/hack/rpc_cache/main.go @@ -180,7 +180,6 @@ func handleRequest(w http.ResponseWriter, r *http.Request) { } url, _ := url2.Parse(endpoint) - fmt.Println("Fetching from upstream", url.Host) resp, err := http.Post(endpoint, "application/json", bytes.NewBuffer(body)) if err != nil { diff --git a/zk/tests/nightly-l1-recovery/.dockerignore b/zk/tests/nightly-l1-recovery/.dockerignore new file mode 100644 index 00000000000..d41a52fa4c2 --- /dev/null +++ b/zk/tests/nightly-l1-recovery/.dockerignore @@ -0,0 +1,13 @@ +**/*_test.go +**/*.a +**/*.dylib +**/*.o +**/*.dSYM + +build +tests/testdata +cmd/prometheus +vendor + +cache.db +.git diff --git a/zk/tests/nightly-l1-recovery/network5-config.yaml b/zk/tests/nightly-l1-recovery/network5-config.yaml index b21b7b58530..b9f5f4bc230 100644 --- a/zk/tests/nightly-l1-recovery/network5-config.yaml +++ b/zk/tests/nightly-l1-recovery/network5-config.yaml @@ -29,6 +29,8 @@ zkevm.sequencer-block-seal-time: "5s" zkevm.sequencer-batch-seal-time: "15m" zkevm.allow-pre-eip155-transactions: true +log.console.verbosity: warn + zkevm.l1-sync-start-block: 6032365 externalcl: true