From 0cddc8681c065dcdf6417ae2aa3fdb53f7ed9e80 Mon Sep 17 00:00:00 2001 From: Kim De Mey Date: Tue, 3 Oct 2023 17:43:06 +0200 Subject: [PATCH] clients/nimbus-el: use admin_nodeInfo instead of net_nodeInfo (#896) Most/all EL client seem to use admin_nodeInfo so we adjusted this in nimbus-eth1 --- clients/nimbus-el/enode.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/nimbus-el/enode.sh b/clients/nimbus-el/enode.sh index f5395afa99..0c4ad0c5ad 100644 --- a/clients/nimbus-el/enode.sh +++ b/clients/nimbus-el/enode.sh @@ -9,7 +9,7 @@ # Immediately abort the script on any error encountered set -e -TARGET_RESPONSE=$(curl -s -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"net_nodeInfo","params":[],"id":1}' "localhost:8545" ) +TARGET_RESPONSE=$(curl -s -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"admin_nodeInfo","params":[],"id":1}' "localhost:8545" ) TARGET_ENODE=$(echo ${TARGET_RESPONSE}| jq -r '.result.enode') echo "$TARGET_ENODE"