From 8e8936912d33755e0dc961e309f467fbb2dfa2e2 Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Wed, 29 Nov 2023 08:58:39 +0300 Subject: [PATCH] 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 --- pkg/core/state/contract.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/core/state/contract.go b/pkg/core/state/contract.go index e5db37717..cd17f23b0 100644 --- a/pkg/core/state/contract.go +++ b/pkg/core/state/contract.go @@ -32,7 +32,6 @@ type ContractBase struct { // NativeContract holds information about the native contract. type NativeContract struct { ContractBase - UpdateHistory []uint32 `json:"updatehistory"` } // ToStackItem converts state.Contract to stackitem.Item.