Return eth_call to available methods (#251)
This commit is contained in:
@@ -82,6 +82,7 @@ class DefaultEthereumMethods(
|
||||
)
|
||||
|
||||
private val firstValueMethods = listOf(
|
||||
"eth_call",
|
||||
"eth_getBlockTransactionCountByHash",
|
||||
"eth_getUncleCountByBlockHash",
|
||||
"eth_getBlockByHash",
|
||||
@@ -148,7 +149,6 @@ class DefaultEthereumMethods(
|
||||
possibleNotIndexedMethods.contains(method) -> NotNullQuorum()
|
||||
specialMethods.contains(method) -> {
|
||||
when (method) {
|
||||
"eth_call" -> AlwaysQuorum()
|
||||
"eth_getTransactionCount" -> AlwaysQuorum()
|
||||
"eth_getBalance" -> AlwaysQuorum()
|
||||
"eth_sendRawTransaction" -> BroadcastQuorum()
|
||||
|
||||
Reference in New Issue
Block a user