Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add workaround for support of isAssociated #2810

Closed
Ivo-Yankov opened this issue Aug 12, 2024 · 0 comments · Fixed by #2828
Closed

Add workaround for support of isAssociated #2810

Ivo-Yankov opened this issue Aug 12, 2024 · 0 comments · Fixed by #2828
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Ivo-Yankov
Copy link
Collaborator

Problem

HIP 719 adds 3 new precompile methods, of which isAssociated() is defined as a view function. Thus it should be called via eth_call and the Relay will call the Mirror Node Web3 module to get the result. However the EVM in the Mirror node is not updated with the latest changes related to this HIP.

Solution

Add a temporary exception for this method only. When this method selector 0x4d8fdd6d is detected the relay should call Consensus instead of the Mirror node.

Alternatives

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant