Skip to content

Process global_contract_hash and global_contract_account_id in 0.30 release #475

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

Open
akorchyn opened this issue Apr 16, 2025 · 0 comments

Comments

@akorchyn
Copy link
Collaborator

akorchyn commented Apr 16, 2025

Unfortunately, the near-primitives 0.29 release did not update the AccountView struct with the new fields. These fields have been added in version 0.30-rc1

Once the 0.30 release is out, we should update ViewAccountSummary to display the new code path.
I propose displaying it as a single field with variants, depending on the populated values in AccountView.

Additionally, we need to use these fields to parse the code and fetch the contract ABI. For now, we won't be able to provide view methods for users utilizing Global Contracts.

@akorchyn akorchyn changed the title Process global_contract_hash and global_contract_account_id Process global_contract_hash and global_contract_account_id in 0.30 release Apr 16, 2025
@github-project-automation github-project-automation bot moved this to NEW❗ in DevTools Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: NEW❗
Development

No branches or pull requests

1 participant