From 26150073a8da4133f33af0753a8d50658f1b6904 Mon Sep 17 00:00:00 2001 From: stanta Date: Tue, 09 Nov 2021 13:16:48 +0000 Subject: [PATCH] fixed deploy marketplace contract --- --- a/tests/src/eth/marketplace/marketplaceNew.test.ts +++ b/tests/src/eth/marketplace/marketplaceNew.test.ts @@ -18,7 +18,7 @@ from: matcherOwner, ...GAS_ARGS, }); - const matcher = await matcherContract.deploy({data: (matcherJSON.bytecode).toString()}).send({from: matcherOwner}); + const matcher = await matcherContract.deploy({data: (matcherJSON.bytecode).toString(), arguments:[matcherOwner]}).send({from: matcherOwner}); const alice = privateKey('//Alice'); const collectionId = await createCollectionExpectSuccess({mode: {type: 'NFT'}}); @@ -138,7 +138,8 @@ from: matcherOwner, ...GAS_ARGS, }); - const matcher = await matcherContract.deploy({data: (matcherJSON.bytecode).toString()}).send({from: matcherOwner}); + const matcher = await matcherContract.deploy({data: (matcherJSON.bytecode).toString(), arguments:[escrow]}).send({from: matcherOwner}); + const ksmToken = 11; -- gitstuff