1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
This commit is contained in:
mihaisc 2022-05-03 13:27:05 +03:00
parent 2d744c3dd2
commit 60ffa8b271
No known key found for this signature in database
GPG Key ID: 4FB0C2329B4C6E29

View File

@ -54,7 +54,7 @@ describe('Pool unit test', () => {
contracts = await deployContracts(web3, factoryOwner) contracts = await deployContracts(web3, factoryOwner)
// initialize Pool instance // initialize Pool instance
pool = new Pool(web3, PoolTemplate.abi as AbiItem[]) pool = new Pool(web3, 8996, PoolTemplate.abi as AbiItem[])
assert(pool != null) assert(pool != null)
daiContract = new web3.eth.Contract(MockERC20.abi as AbiItem[], contracts.daiAddress) daiContract = new web3.eth.Contract(MockERC20.abi as AbiItem[], contracts.daiAddress)
@ -143,6 +143,7 @@ describe('Pool unit test', () => {
const nftFactory = new NftFactory( const nftFactory = new NftFactory(
contracts.erc721FactoryAddress, contracts.erc721FactoryAddress,
web3, web3,
8996,
ERC721Factory.abi as AbiItem[] ERC721Factory.abi as AbiItem[]
) )
@ -572,6 +573,7 @@ describe('Pool unit test', () => {
const nftFactory = new NftFactory( const nftFactory = new NftFactory(
contracts.erc721FactoryAddress, contracts.erc721FactoryAddress,
web3, web3,
8996,
ERC721Factory.abi as AbiItem[] ERC721Factory.abi as AbiItem[]
) )