diff --git a/tests/proxy_test.go b/tests/proxy_test.go index ce34bcb..f36754d 100644 --- a/tests/proxy_test.go +++ b/tests/proxy_test.go @@ -24,10 +24,9 @@ func deployProxyContract(t *testing.T, e *neotest.Executor) util.Uint160 { func newProxyInvoker(t *testing.T) *neotest.ContractInvoker { e := newExecutor(t) - ctrProxy := neotest.CompileFile(t, e.CommitteeHash, proxyPath, path.Join(proxyPath, "config.yml")) - deployProxyContract(t, e) + proxyHash := deployProxyContract(t, e) - return e.CommitteeInvoker(ctrProxy.Hash) + return e.CommitteeInvoker(proxyHash) } func TestVerify(t *testing.T) {