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
Currently the hedera-mirror-web3 business logic is based on a copied code of the services mono code base. Services, however, has switched to modularized code base, which will add some new Hedera precompiles, which we can't directly copy in web3. This opens a need to add a logic for throwing exception for unsupported precompiles, so that the json-rpc-relay distinguish between contract revert scenario and a call to unsupported precompile.
Solution
Throw custom exception in HTSPrecompiledContract for the cases of calling unsupported precompile
Add interceptor in the exception handler advice component for throwing NOT_SUPPORTED error
Alternatives
No response
The text was updated successfully, but these errors were encountered:
Problem
Currently the
hedera-mirror-web3
business logic is based on a copied code of the services mono code base. Services, however, has switched to modularized code base, which will add some new Hedera precompiles, which we can't directly copy in web3. This opens a need to add a logic for throwing exception for unsupported precompiles, so that the json-rpc-relay distinguish between contract revert scenario and a call to unsupported precompile.Solution
Alternatives
No response
The text was updated successfully, but these errors were encountered: