core: add Neo.Crypto.CheckSig interop

This commit is contained in:
Anna Shaleva 2021-03-04 20:56:54 +03:00
parent 14ade42101
commit 4e6c1092b8
7 changed files with 87 additions and 0 deletions

View file

@ -93,6 +93,7 @@ func TestSyscallExecution(t *testing.T) {
"crypto.ECDsaSecp256k1Verify": {interopnames.NeoCryptoVerifyWithECDsaSecp256k1, []string{b, pub, sig}, false},
"crypto.ECDSASecp256r1CheckMultisig": {interopnames.NeoCryptoCheckMultisigWithECDsaSecp256r1, []string{b, pubs, sigs}, false},
"crypto.ECDSASecp256k1CheckMultisig": {interopnames.NeoCryptoCheckMultisigWithECDsaSecp256k1, []string{b, pubs, sigs}, false},
"crypto.CheckSig": {interopnames.NeoCryptoCheckSig, []string{pub, sig}, false},
}
ic := &interop.Context{}
core.SpawnVM(ic) // set Functions field