core: move oracle tests into oracle service

This commit is contained in:
Roman Khimov 2022-06-08 23:04:47 +03:00
parent 017cd558cb
commit 5d573895ad
2 changed files with 5 additions and 6 deletions

View file

@ -1330,7 +1330,7 @@ func TestBlockchain_VerifyTx(t *testing.T) {
cInvoker := e.ValidatorInvoker(cs.Hash)
const gasForResponse int64 = 10_000_000
putOracleRequest(t, cInvoker, "https://get.1234", new(string), "handle", []byte{}, gasForResponse)
cInvoker.Invoke(t, stackitem.Null{}, "requestURL", "https://get.1234", "", "handle", []byte{}, gasForResponse)
oracleScript, err := smartcontract.CreateMajorityMultiSigRedeemScript(oraclePubs)
require.NoError(t, err)