core: change block.ConsensusData to neo3 format

1. Dropped `Base.ConsensusData` block field

2. Added `Block.ConsensusData` field with `Nonce` and `PrimaryIndex`

3. Removed "Neo.Header.GetConsensusData" and
"AntShares.Header.GetConsensusData" interops
This commit is contained in:
Anna Shaleva 2020-04-22 08:57:55 +03:00
parent 0de5cb1bde
commit 55fd9f8d24
18 changed files with 196 additions and 109 deletions

View file

@ -51,7 +51,6 @@ func TestUnexpectedNonInterops(t *testing.T) {
contractGetScript,
contractGetStorageContext,
contractIsPayable,
headerGetConsensusData,
headerGetHash,
headerGetIndex,
headerGetMerkleRoot,