From 2fc0fa42888db0fc223e2020dbc5c718fac4d97b Mon Sep 17 00:00:00 2001 From: tersec Date: Tue, 10 Jan 2023 15:50:34 +0000 Subject: [PATCH] don't use non-engine-API-whitelisted web3 methods (#4484) --- beacon_chain/eth1/eth1_monitor.nim | 9 --------- 1 file changed, 9 deletions(-) diff --git a/beacon_chain/eth1/eth1_monitor.nim b/beacon_chain/eth1/eth1_monitor.nim index 5de14c1a0..75baa1cc8 100644 --- a/beacon_chain/eth1/eth1_monitor.nim +++ b/beacon_chain/eth1/eth1_monitor.nim @@ -1747,9 +1747,6 @@ proc testWeb3Provider*(web3Url: Uri, res let - clientVersion = request "Client version": - web3.provider.web3_clientVersion() - chainId = request "Chain ID": web3.provider.eth_chainId() @@ -1759,12 +1756,6 @@ proc testWeb3Provider*(web3Url: Uri, syncStatus = request "Sync status": web3.provider.eth_syncing() - peers = request "Peers": - web3.provider.net_peerCount() - - miningStatus = request "Mining status": - web3.provider.eth_mining() - ns = web3.contractSender(DepositContract, depositContractAddress) depositRoot = request "Deposit root":