Update config
This commit is contained in:
parent
d7edbb2281
commit
f8d8a2d55b
@ -1,3 +1,3 @@
|
||||
{
|
||||
"contractsPath": "../contracts"
|
||||
"abiPath": "../contracts/build/contracts"
|
||||
}
|
||||
|
@ -3,10 +3,10 @@ const Web3 = require('web3')
|
||||
const assert = require('assert')
|
||||
const promiseRetry = require('promise-retry')
|
||||
const { user, ercToErcBridge, homeRPC, foreignRPC } = require('../../e2e-commons/constants.json')
|
||||
const { contractsPath } = require('../config.json')
|
||||
const { abiPath } = require('../config.json')
|
||||
const { generateNewBlock } = require('../../e2e-commons/utils')
|
||||
|
||||
const abisDir = path.join(__dirname, '..', contractsPath, 'build/contracts')
|
||||
const abisDir = path.join(__dirname, '..', abiPath)
|
||||
|
||||
const homeWeb3 = new Web3(new Web3.providers.HttpProvider(homeRPC.URL))
|
||||
const foreignWeb3 = new Web3(new Web3.providers.HttpProvider(foreignRPC.URL))
|
||||
|
@ -3,10 +3,10 @@ const Web3 = require('web3')
|
||||
const assert = require('assert')
|
||||
const promiseRetry = require('promise-retry')
|
||||
const { user, ercToNativeBridge, homeRPC, foreignRPC } = require('../../e2e-commons/constants.json')
|
||||
const { contractsPath } = require('../config.json')
|
||||
const { abiPath } = require('../config.json')
|
||||
const { generateNewBlock } = require('../../e2e-commons/utils')
|
||||
|
||||
const abisDir = path.join(__dirname, '..', contractsPath, 'build/contracts')
|
||||
const abisDir = path.join(__dirname, '..', abiPath)
|
||||
|
||||
const homeWeb3 = new Web3(new Web3.providers.HttpProvider(homeRPC.URL))
|
||||
const foreignWeb3 = new Web3(new Web3.providers.HttpProvider(foreignRPC.URL))
|
||||
|
@ -3,10 +3,10 @@ const Web3 = require('web3')
|
||||
const assert = require('assert')
|
||||
const promiseRetry = require('promise-retry')
|
||||
const { user, validator, nativeToErcBridge, secondUser, homeRPC, foreignRPC } = require('../../e2e-commons/constants.json')
|
||||
const { contractsPath } = require('../config.json')
|
||||
const { abiPath } = require('../config.json')
|
||||
const { generateNewBlock } = require('../../e2e-commons/utils')
|
||||
|
||||
const abisDir = path.join(__dirname, '..', contractsPath, '/build/contracts')
|
||||
const abisDir = path.join(__dirname, '..', abiPath)
|
||||
const homeWeb3 = new Web3(new Web3.providers.HttpProvider(homeRPC.URL))
|
||||
const foreignWeb3 = new Web3(new Web3.providers.HttpProvider(foreignRPC.URL))
|
||||
const { toBN } = foreignWeb3.utils
|
||||
|
@ -1,4 +0,0 @@
|
||||
{
|
||||
"homeNetworkID": "77",
|
||||
"foreignNetworkID": "42"
|
||||
}
|
Loading…
Reference in New Issue
Block a user