Skip to content

Commit

Permalink
core: remove UpdateHistory from NativeContract structure
Browse files Browse the repository at this point in the history
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 #3212.

Port neo-project/neo-modules#851.

Signed-off-by: Anna Shaleva <[email protected]>
  • Loading branch information
AnnaShaleva committed Nov 29, 2023
1 parent 76261f1 commit 8e89369
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/core/state/contract.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8e89369

Please sign in to comment.