eth_getProof support (#267)

This commit is contained in:
Vyacheslav
2023-08-02 10:37:23 +03:00
committed by GitHub
parent 674c69f4d3
commit 4a94058bc8
2 changed files with 3 additions and 1 deletions

View File

@@ -139,7 +139,8 @@ class DefaultEthereumMethods(
"eth_getCode", "eth_getCode",
"eth_getUncleByBlockHashAndIndex", "eth_getUncleByBlockHashAndIndex",
"eth_getLogs", "eth_getLogs",
"eth_maxPriorityFeePerGas" "eth_maxPriorityFeePerGas",
"eth_getProof"
) )
private val specialMethods = listOf( private val specialMethods = listOf(

View File

@@ -41,6 +41,7 @@ class EthereumCallSelector(
private val TAG_METHODS = setOf( private val TAG_METHODS = setOf(
"eth_getBalance", "eth_getBalance",
"eth_getCode", "eth_getCode",
"eth_getProof",
"eth_getTransactionCount", "eth_getTransactionCount",
// no "eth_getStorageAt" because it has different structure, and therefore separate logic // no "eth_getStorageAt" because it has different structure, and therefore separate logic
"eth_call", "eth_call",