Skip to content

Commit e278868

Browse files
committed
fix: merge
1 parent 6f12652 commit e278868

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎nightfall-deployer/migrations/4_test_tokens_migration.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,17 @@ module.exports = function(deployer, _, accounts) {
1717
await deployer.deploy(ERC20Mock, 1001010000000000); // initialSupply
1818

1919
const ERC20deployed = await ERC20Mock.deployed();
20-
const ERC721deployed = await ERC721Mock.deployed();
21-
const ERC1155deployed = await ERC1155Mock.deployed();
2220
// For ping pong tests
2321
for (const address of UserEthereumAddresses) {
2422
await ERC20deployed.transfer(address, 1000000);
2523
}
2624
if (!config.ETH_ADDRESS) {// indicates we're running a wallet test that uses hardcoded addresses
2725
// For e2e tests
26+
await deployer.deploy(ERC721Mock);
27+
await deployer.deploy(ERC1155Mock);
28+
const ERC721deployed = await ERC721Mock.deployed();
29+
const ERC1155deployed = await ERC1155Mock.deployed();
30+
2831
for (let i=0; i < nERC721; i++){
2932
for (const address of UserEthereumAddresses) {
3033
await ERC721deployed.awardItem(address, `https://erc721mock/item-id-${i}.json`);

0 commit comments

Comments
 (0)