You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/configuration.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,6 @@ Unless you need to set a non-default value, it is recommended to only populate o
41
41
|`ETH_BLOCK_NUMBER_CACHE_TTL_MS`| "1000" | Time in ms to cache response from mirror node |
42
42
|`ETH_CALL_ACCEPTED_ERRORS`| "[]" | A list of acceptable error codes for eth_call requests. If an error code in this list is returned, the request will be retried. |
43
43
|`ETH_CALL_CACHE_TTL`| "200" | Maximum time in ms to cache an eth_call response. |
44
-
|`ETH_CALL_CONSENSUS_SELECTORS`| "[]" | A comma-separated list of special transaction selectors that should always be routed to the Consensus node. |
45
44
|`ETH_CALL_DEFAULT_TO_CONSENSUS_NODE`| "false" | Flag to set if eth_call logic should first query the mirror node. |
46
45
|`ETH_FEE_HISTORY_FIXED`| "true" | Flag to set if eth_feeHistory should return a fixed fee for the set of results. |
47
46
|`ETH_GET_BALANCE_CACHE_TTL_MS`| "1000" | Time in ms to cache balance returned |
|[eth_call](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_call)|**Implemented**| Mirror Node, Consensus Node (conditional) | Falls back to Consensus Node only if `ETH_CALL_DEFAULT_TO_CONSENSUS_NODE=true`or for special selectors in `ETH_CALL_CONSENSUS_SELECTORS`|
71
+
|[eth_call](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_call)|**Implemented**| Mirror Node, Consensus Node (conditional) | Falls back to Consensus Node only if `ETH_CALL_DEFAULT_TO_CONSENSUS_NODE=true`|
72
72
|[eth_chainId](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_chainid)|**Implemented**| N/A | Returns configured chain ID from environment |
73
73
|[eth_coinbase](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_coinbase)|**Implemented** - Returns `-32601` (Method not supported) | N/A | Fixed zero address as Hedera has no traditional coinbase |
// When eth_call is invoked with a selector listed in specialSelectors, it will be routed through the consensus node, regardless of ETH_CALL_DEFAULT_TO_CONSENSUS_NODE.
827
-
// note: this feature is a workaround for when a feature is supported by consensus node but not yet by mirror node.
describe('eth_call with force-to-consensus-by-selector logic',()=>{
773
-
// context: The `IHRC719.isAssociated()` function is a new feature which is, at the moment, fully supported only by the Consensus node and not yet by the Mirror node.
774
-
// Since `IHRC719.isAssociated()` is a view function, requests for this function are typically directed to the Mirror node by default.
775
-
// This acceptance test ensures that the new force-to-consensus-by-selector logic correctly routes requests for `IHRC719.isAssociated()`
776
-
// through the Consensus node rather than the Mirror node when using the `eth_call` endpoint.
0 commit comments