mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-05 13:06:20 +00:00
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:
parent
090bee8624
commit
ad3547783d
15 changed files with 123 additions and 99 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue