Common validator

This commit is contained in:
rzadp 2019-06-04 12:58:36 +02:00
parent 7b5b240735
commit 23d109b84c
4 changed files with 6 additions and 8 deletions

@ -2,5 +2,9 @@
"user": {
"address": "0x7FC1442AB55Da569940Eb750AaD2BAA63DA4010E",
"privateKey": "0x460635eb4ac4287de2d2393985e19b4a9f948ac533453a1044ab8d50330b0df9"
},
"validator": {
"address": "0xaaB52d66283F7A1D5978bcFcB55721ACB467384b",
"privateKey": "0x8e829f695aed89a154550f30262f1529582cc49dc30eff74a6b491359e0230f9"
}
}

@ -3,9 +3,5 @@
"address": "0xcca2fb44C8C36E51f743269d6F484Fd027B9F9Aa",
"privateKey": "0xcf954e07e6a439faf392eb474e95ddb444c2ca444847f2ad6ecc79e1a585e2b8"
},
"validator": {
"address": "0xaaB52d66283F7A1D5978bcFcB55721ACB467384b",
"privateKey": "0x8e829f695aed89a154550f30262f1529582cc49dc30eff74a6b491359e0230f9"
},
"contractsPath": "../contracts"
}

@ -2,8 +2,8 @@ const path = require('path')
const Web3 = require('web3')
const assert = require('assert')
const promiseRetry = require('promise-retry')
const { user } = require('../../e2e-commons/constants.json')
const { validator, temp, contractsPath } = require('../constants.json')
const { user, validator } = require('../../e2e-commons/constants.json')
const { temp, contractsPath } = require('../constants.json')
const { generateNewBlock } = require('../../e2e-commons/utils')
const abisDir = path.join(__dirname, '..', contractsPath, '/build/contracts')

@ -4,7 +4,5 @@
"erc20NativeUrl" : "http://localhost:3002",
"homeNetworkID": "77",
"foreignNetworkID": "42",
"homeAccount": "./accounts/user77_7FC1.json",
"foreignAccount": "./accounts/user42_7FC1.json",
"contractsPath": "../contracts"
}