wait to test

This commit is contained in:
owen05
2021-01-21 21:48:40 +08:00
parent 1c8d393ae1
commit 4095ebbb2f
9 changed files with 16 additions and 195 deletions

View File

@@ -40,7 +40,6 @@ export class ProxyContext {
//Functions
DODOIncentive: Contract;
mtFeeRateModel: Contract;
MtFeeRateModelLogic: Contract;
Deployer: string;
Maintainer: string;
@@ -81,8 +80,6 @@ export class ProxyContext {
var permissionManagerTemplate = await contracts.newContract(contracts.PERMISSION_MANAGER_NAME)
var mtFeeRateModelTemplate = await contracts.newContract(contracts.FEE_RATE_MODEL_NAME)
this.mtFeeRateModel = mtFeeRateModelTemplate;
// await mtFeeRateModelTemplate.methods.init(this.Deployer,decimalStr("0.01")).send(this.sendParam(this.Deployer));
await mtFeeRateModelTemplate.methods.init(this.Deployer,decimalStr("0")).send(this.sendParam(this.Deployer));
this.DVMFactory = await contracts.newContract(contracts.DVM_FACTORY_NAME,
@@ -155,10 +152,6 @@ export class ProxyContext {
[this.WETH.options.address]
)
this.MtFeeRateModelLogic = await contracts.newContract(contracts.FEE_RATE_MODEL_LOGIC_NAME)
console.log(log.blueText("[Init DVM context]"));
}