native: drop Neo.Native.Deploy, move contract init to management contract

The contract is almost a stub at the moment, though it does deploy other
contracts.
This commit is contained in:
Roman Khimov 2020-12-08 18:28:00 +03:00
parent 090bee8624
commit ad3547783d
15 changed files with 123 additions and 99 deletions

View file

@ -718,7 +718,7 @@ func TestContractCreate(t *testing.T) {
ic.Tx = transaction.New(netmode.UnitTestNet, []byte{1}, 0)
ic.Tx.Signers = append(ic.Tx.Signers, transaction.Signer{Account: sender})
cs.ID = 0
cs.ID = 1
cs.Hash = state.CreateContractHash(sender, cs.Script)
t.Run("missing NEF", func(t *testing.T) {