From cbfb77d2e44988d8b4fc7ea996daf177beb141c7 Mon Sep 17 00:00:00 2001 From: Termina1 Date: Mon, 15 Apr 2024 13:46:04 +0200 Subject: [PATCH] add zks_getBytecodeByHash --- .../dshackle/upstream/calls/DefaultEthereumMethods.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/DefaultEthereumMethods.kt b/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/DefaultEthereumMethods.kt index aa4217e6..76314bf6 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/DefaultEthereumMethods.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/DefaultEthereumMethods.kt @@ -336,7 +336,7 @@ class DefaultEthereumMethods( return when (chain) { Chain.OPTIMISM__MAINNET -> setOf("eth_getAccounts") Chain.ZKSYNC__MAINNET, Chain.ZKSYNC__TESTNET, Chain.POLYGON_ZKEVM__TESTNET, Chain.POLYGON_ZKEVM__MAINNET -> - setOf("eth_maxPriorityFeePerGas") + setOf("eth_maxPriorityFeePerGas", "zks_getBytecodeByHash") Chain.TELOS__MAINNET, Chain.TELOS__TESTNET -> setOf( "eth_syncing", "net_peerCount",