solution: support new method eth_feeHistory
This commit is contained in:
@@ -179,7 +179,7 @@ Dshackle currently supports
|
||||
- `eth_getTransactionByBlockNumberAndIndex`
|
||||
- `eth_getTransactionReceipt`
|
||||
- `eth_getUncleByBlockNumberAndIndex`
|
||||
|
||||
- `eth_feeHistory`
|
||||
|
||||
.Plus following methods are answered directly by Dshackle
|
||||
- `net_version`
|
||||
|
||||
@@ -61,7 +61,8 @@ class DefaultEthereumMethods(
|
||||
"eth_getBlockByNumber",
|
||||
"eth_getTransactionByBlockNumberAndIndex",
|
||||
"eth_getTransactionReceipt",
|
||||
"eth_getUncleByBlockNumberAndIndex"
|
||||
"eth_getUncleByBlockNumberAndIndex",
|
||||
"eth_feeHistory"
|
||||
)
|
||||
|
||||
private val allowedMethods = anyResponseMethods + firstValueMethods + specialMethods + headVerifiedMethods
|
||||
|
||||
Reference in New Issue
Block a user