[#74] tests: Do not compile proxy contract twice
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
60e8abbf49
commit
2efebf4206
1 changed files with 2 additions and 3 deletions
|
@ -24,10 +24,9 @@ func deployProxyContract(t *testing.T, e *neotest.Executor) util.Uint160 {
|
||||||
func newProxyInvoker(t *testing.T) *neotest.ContractInvoker {
|
func newProxyInvoker(t *testing.T) *neotest.ContractInvoker {
|
||||||
e := newExecutor(t)
|
e := newExecutor(t)
|
||||||
|
|
||||||
ctrProxy := neotest.CompileFile(t, e.CommitteeHash, proxyPath, path.Join(proxyPath, "config.yml"))
|
proxyHash := deployProxyContract(t, e)
|
||||||
deployProxyContract(t, e)
|
|
||||||
|
|
||||||
return e.CommitteeInvoker(ctrProxy.Hash)
|
return e.CommitteeInvoker(proxyHash)
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestVerify(t *testing.T) {
|
func TestVerify(t *testing.T) {
|
||||||
|
|
Loading…
Reference in a new issue