This commit is contained in:
rzadp 2019-05-24 09:52:16 +02:00
parent 041d36fc3c
commit 52684a30fd
2 changed files with 4 additions and 3 deletions

@ -1,7 +1,9 @@
require('dotenv').config()
const promiseLimit = require('promise-limit')
const { HttpListProviderError } = require('http-list-provider')
const rootLogger = require('../../services/logger')
const { web3Home } = require('../../services/web3')
const promiseLimit = require('promise-limit')
const bridgeValidatorsABI = require('../../../abis/BridgeValidators.abi')
const { EXIT_CODES, MAX_CONCURRENT_EVENTS } = require('../../utils/constants')
const estimateGas = require('./estimateGas')
@ -10,7 +12,6 @@ const {
AlreadySignedError,
InvalidValidatorError
} = require('../../utils/errors')
const { HttpListProviderError } = require('http-list-provider')
const limit = promiseLimit(MAX_CONCURRENT_EVENTS)

@ -1,8 +1,8 @@
const { hexToNumber } = require('web3-utils')
const logger = require('../services/logger').child({
module: 'web3'
})
const { sendRawTx } = require('./sendTx')
const { hexToNumber } = require('web3-utils')
async function getNonce(web3, address) {
try {