hashgraph / hedera-smart-contracts

Contains Hedera Smart Contract Service supporting files
Apache License 2.0
46 stars 54 forks source link

Add tests for calling isAssociated() via HRC proxy contract #861

Closed georgi-l95 closed 1 month ago

georgi-l95 commented 3 months ago

Problem

Until recently calling isAssociated() was not possible, but now with the resolving of this issue in services, this is possible.

Solution

We'd need to extend our current examples to support and test this behaviour.

Alternatives

No response

Ivo-Yankov commented 3 months ago

Тhis issue is blocked for now. The isAssociated method is a view type. This means that whenever it is called it would go through eth_call, which in turn will execute the method in the web3 module of the Mirror node. But the EVM of the mirror node is not yet updated with the opcode for this method.

It will be unblocked when this issue is closed: https://github.com/hashgraph/hedera-mirror-node/issues/8828

Ivo-Yankov commented 2 months ago

This can be unblocked sooner by this: https://github.com/hashgraph/hedera-json-rpc-relay/issues/2810