-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Javier Alvarez
committed
Feb 2, 2021
1 parent
4c44a9e
commit 6707a73
Showing
6 changed files
with
169 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,20 @@ | ||
var LiquidityBridgeContract = artifacts.require('LiquidityBridgeContract'); | ||
var Mock = artifacts.require('Mock') | ||
//var BridgeMock = artifacts.require('BridgeMock'); | ||
var BridgeMock = artifacts.require('BridgeMock'); | ||
|
||
module.exports = function(deployer, network) { | ||
/* if (network == 'test') { //used for running truffle tests | ||
/*if (network == 'test') { //used for running truffle tests | ||
deployer.deploy(BridgeMock).then((mockInstance) => { | ||
let bridgeAddress = mockInstance.address; | ||
return deployer.deploy(LiquidityBridgeContract, bridgeAddress); | ||
deployer.deploy(LiquidityBridgeContract, bridgeAddress); | ||
}); | ||
} else { | ||
deployer.deploy(LiquidityBridgeContract, '0x0000000000000000000000000000000001000006'); | ||
}*/ | ||
deployer.deploy(LiquidityBridgeContract, '0x0000000000000000000000000000000001000006'); | ||
|
||
deployer.deploy(BridgeMock).then((mockInstance) => { | ||
let bridgeAddress = mockInstance.address; | ||
deployer.deploy(LiquidityBridgeContract, bridgeAddress); | ||
}); | ||
deployer.deploy(Mock); | ||
}; |
Oops, something went wrong.