Deploy TestTBTCConstants in Deposit Factory test
Must deploy TestTBTCConstants before deploying new version of TestDeposit
const ECDSAKeepStub = artifacts.require('ECDSAKeepStub')
const TBTCToken = artifacts.require('TBTCToken')
const TBTCSystemStub = artifacts.require('TBTCSystemStub')
+const TestTBTCConstants = artifacts.require('TestTBTCConstants')
const DepositFunding = artifacts.require('DepositFunding')
const DepositLiquidation = artifacts.require('DepositLiquidation')
const DepositRedemption = artifacts.require('DepositRedemption')
@@ -20,6 +21,7 @@ const TEST_DEPOSIT_DEPLOY = [
{ name: 'DepositLiquidation', contract: DepositLiquidation },
{ name: 'DepositRedemption', contract: DepositRedemption },
{ name: 'DepositUtils', contract: DepositUtils },
+ { name: 'TBTCConstants', contract: TestTBTCConstants }, // note the name
{ name: 'TestDeposit', contract: TestDeposit },
]
