hedera-json-rpc-relay icon indicating copy to clipboard operation
hedera-json-rpc-relay copied to clipboard

Revisit ETH_CALL_CONSENSUS_SELECTORS to make sure if it's safe to remove contained selectors

Open quiet-node opened this issue 1 year ago • 0 comments

Problem

At times, certain features are supported by the consensus node but not yet by the mirror node. To address this, the Relay implemented the force-to-consensus-by-selector logic, which whitelists specific selectors and allows them to be called against the consensus node instead of the mirror node. However, as these features become fully supported by the mirror node in later updates, the corresponding selectors should be removed from the array.

Solution

Revisit the ETH_CALL_CONSENSUS_SELECTORS environment variable and remove selectors that are now fully supported by the mirror node.

### Current selectors included
- [ ] IHRC719.isAssociated(address) - "0xd55fe582"

quiet-node avatar Sep 13 '24 22:09 quiet-node