mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-05 23:55:11 +00:00
native: move OracleRequest to state package
It is used by multiple modules outside native and produces unneeded dependencies.
This commit is contained in:
parent
705d04eda6
commit
037cecf1ac
6 changed files with 209 additions and 190 deletions
|
@ -453,7 +453,7 @@ func TestVerifyTx(t *testing.T) {
|
|||
})
|
||||
t.Run("Oracle", func(t *testing.T) {
|
||||
orc := bc.contracts.Oracle
|
||||
req := &native.OracleRequest{GasForResponse: 1000_0000}
|
||||
req := &state.OracleRequest{GasForResponse: 1000_0000}
|
||||
require.NoError(t, orc.PutRequestInternal(1, req, bc.dao))
|
||||
|
||||
oracleScript, err := smartcontract.CreateMajorityMultiSigRedeemScript(oraclePubs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue