From abca7f320ea8fc27e14d9d185020dfe13f73d9de Mon Sep 17 00:00:00 2001
From: pcw109550 <pcw109550@gmail.com>
Date: Fri, 7 Jun 2024 16:59:34 +0900
Subject: [PATCH] Fix node rpc error

---
 op-e2e/e2eutils/challenger/helper.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/op-e2e/e2eutils/challenger/helper.go b/op-e2e/e2eutils/challenger/helper.go
index 2578dea9..19f24141 100644
--- a/op-e2e/e2eutils/challenger/helper.go
+++ b/op-e2e/e2eutils/challenger/helper.go
@@ -75,7 +75,7 @@ func NewChallengerConfig(t *testing.T, sys op_e2e_challenger.EndpointProvider, l
 	// Use the NewConfig method to ensure we pick up any defaults that are set.
 	l1Endpoint := sys.NodeEndpoint("l1")
 	l1Beacon := sys.L1BeaconEndpoint()
-	cfg := config.NewConfig(common.Address{}, l1Endpoint, l1Beacon, sys.RollupEndpoint(l2NodeName), sys.RollupEndpoint(l2NodeName), t.TempDir())
+	cfg := config.NewConfig(common.Address{}, l1Endpoint, l1Beacon, sys.RollupEndpoint(l2NodeName), sys.NodeEndpoint(l2NodeName), t.TempDir())
 	// The devnet can't set the absolute prestate output root because the contracts are deployed in L1 genesis
 	// before the L2 genesis is known.
 	cfg.AllowInvalidPrestate = true