[#74] tests: Do not compile proxy contract twice

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
pull/74/head
Evgenii Stratonikov 2024-01-29 13:37:38 +03:00
parent 60e8abbf49
commit 2efebf4206
1 changed files with 2 additions and 3 deletions

View File

@ -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) {