core: remove UpdateHistory from NativeContract structure

Although it doesn't raise an exception on our side, we still have this
unrelevant information in the resulting RPC call response structure.
This should be a part of https://github.com/nspcc-dev/neo-go/pull/3212.

Port https://github.com/neo-project/neo-modules/pull/851.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
This commit is contained in:
Anna Shaleva 2023-11-29 08:58:39 +03:00
parent 76261f1605
commit 8e8936912d

View file

@ -32,7 +32,6 @@ type ContractBase struct {
// NativeContract holds information about the native contract. // NativeContract holds information about the native contract.
type NativeContract struct { type NativeContract struct {
ContractBase ContractBase
UpdateHistory []uint32 `json:"updatehistory"`
} }
// ToStackItem converts state.Contract to stackitem.Item. // ToStackItem converts state.Contract to stackitem.Item.