From 05dcd2eba3d17a6cf5ae4c2895494380e65b24c2 Mon Sep 17 00:00:00 2001 From: Tushar Shah Date: Tue, 25 Jun 2024 02:42:37 -0600 Subject: [PATCH] fix: trust l1 rpc in op-node (#41) - get around lack of support for eth_getProof on local L1 --- src/cl/op-node/op_node_launcher.star | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cl/op-node/op_node_launcher.star b/src/cl/op-node/op_node_launcher.star index 7412bfd..f837c28 100644 --- a/src/cl/op-node/op_node_launcher.star +++ b/src/cl/op-node/op_node_launcher.star @@ -154,6 +154,7 @@ def get_beacon_config( "--l1={0}".format(l1_config_env_vars["L1_RPC_URL"]), "--l1.rpckind={0}".format(l1_config_env_vars["L1_RPC_KIND"]), "--l1.beacon={0}".format(l1_config_env_vars["CL_RPC_URL"]), + "--l1.trustrpc", "--p2p.advertise.ip=" + constants.PRIVATE_IP_ADDRESS_PLACEHOLDER, "--p2p.advertise.tcp={0}".format(BEACON_DISCOVERY_PORT_NUM), "--p2p.advertise.udp={0}".format(BEACON_DISCOVERY_PORT_NUM),