Lint
This commit is contained in:
parent
041d36fc3c
commit
52684a30fd
@ -1,7 +1,9 @@
|
|||||||
require('dotenv').config()
|
require('dotenv').config()
|
||||||
|
const promiseLimit = require('promise-limit')
|
||||||
|
const { HttpListProviderError } = require('http-list-provider')
|
||||||
const rootLogger = require('../../services/logger')
|
const rootLogger = require('../../services/logger')
|
||||||
const { web3Home } = require('../../services/web3')
|
const { web3Home } = require('../../services/web3')
|
||||||
const promiseLimit = require('promise-limit')
|
|
||||||
const bridgeValidatorsABI = require('../../../abis/BridgeValidators.abi')
|
const bridgeValidatorsABI = require('../../../abis/BridgeValidators.abi')
|
||||||
const { EXIT_CODES, MAX_CONCURRENT_EVENTS } = require('../../utils/constants')
|
const { EXIT_CODES, MAX_CONCURRENT_EVENTS } = require('../../utils/constants')
|
||||||
const estimateGas = require('./estimateGas')
|
const estimateGas = require('./estimateGas')
|
||||||
@ -10,7 +12,6 @@ const {
|
|||||||
AlreadySignedError,
|
AlreadySignedError,
|
||||||
InvalidValidatorError
|
InvalidValidatorError
|
||||||
} = require('../../utils/errors')
|
} = require('../../utils/errors')
|
||||||
const { HttpListProviderError } = require('http-list-provider')
|
|
||||||
|
|
||||||
const limit = promiseLimit(MAX_CONCURRENT_EVENTS)
|
const limit = promiseLimit(MAX_CONCURRENT_EVENTS)
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
|
const { hexToNumber } = require('web3-utils')
|
||||||
const logger = require('../services/logger').child({
|
const logger = require('../services/logger').child({
|
||||||
module: 'web3'
|
module: 'web3'
|
||||||
})
|
})
|
||||||
const { sendRawTx } = require('./sendTx')
|
const { sendRawTx } = require('./sendTx')
|
||||||
const { hexToNumber } = require('web3-utils')
|
|
||||||
|
|
||||||
async function getNonce(web3, address) {
|
async function getNonce(web3, address) {
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user