Skip to content
This repository was archived by the owner on Nov 10, 2025. It is now read-only.
This repository was archived by the owner on Nov 10, 2025. It is now read-only.

Native contracts versioning for getnativecontracts RPC call #852

@AnnaShaleva

Description

@AnnaShaleva

Summary or problem description
We have getnativecontracts RPC call, and since neo-project/neo#2941 and #851 there's no such thing as "native update history" and there's no way to define native contract version or updates scheduler via getnativecontracts from the user side. We can query native Management contract and check for update counter, but it's a separate RPC call and it gives us only a view of previous contract updates. At the same time I still consider that it might be helpful to receive at least a notion of native contract version or (which is better) a scheduler of past and future updates via getnativecontracts RPC call, especially after neo-project/neo#2942.

Do you have any solution you want to propose?
One of the alternatives I thought about is to include contract update counter to getnativecontracts response structure. However, this option is not a full replacement to UpdateHistory field removed in #851, so maybe we can think about hardfork-based update history that can be retrieved for every native contract after neo-project/neo#2942 merge.

Where in the software does this update applies to?

  • RPC (HTTP)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions