Upgrade dependecies to self-hosted versions & bump node to 16
This commit is contained in:
parent
d04480a62f
commit
03c71f28bb
@ -1,4 +1,4 @@
|
|||||||
FROM node:14
|
FROM node:16
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY package.json yarn.lock ./
|
COPY package.json yarn.lock ./
|
||||||
|
@ -17,15 +17,15 @@
|
|||||||
"author": "tornado.cash",
|
"author": "tornado.cash",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@tornado/tornado-config": "^1.0.8",
|
||||||
"@tornado/tornado-oracles": "^3.3.0",
|
"@tornado/tornado-oracles": "^3.3.0",
|
||||||
|
"@tornado/tx-manager": "^0.4.9",
|
||||||
"ajv": "^6.12.5",
|
"ajv": "^6.12.5",
|
||||||
"bull": "^3.12.1",
|
"bull": "^3.12.1",
|
||||||
"concurrently": "^8.2.0",
|
"concurrently": "^8.2.0",
|
||||||
"dotenv": "^8.2.0",
|
"dotenv": "^8.2.0",
|
||||||
"express": "^4.17.1",
|
"express": "^4.17.1",
|
||||||
"ioredis": "^4.14.1",
|
"ioredis": "^4.14.1",
|
||||||
"torn-token": "^1.0.5",
|
|
||||||
"tx-manager": "^0.4.8",
|
|
||||||
"uuid": "^8.3.0",
|
"uuid": "^8.3.0",
|
||||||
"web3": "^1.3.0",
|
"web3": "^1.3.0",
|
||||||
"web3-utils": "^1.2.2"
|
"web3-utils": "^1.2.2"
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
require('dotenv').config()
|
require('dotenv').config()
|
||||||
|
|
||||||
const tornConfig = require('torn-token')
|
const tornConfig = require('@tornado/tornado-config')
|
||||||
|
|
||||||
const { jobType, networkConfig } = require('./constants')
|
const { jobType, networkConfig } = require('./constants')
|
||||||
|
|
||||||
const netId = Number(process.env.NET_ID) || 56
|
const netId = Number(process.env.NET_ID) || 56
|
||||||
const instances = tornConfig.instances[`netId${netId}`]
|
const instances = tornConfig.instances[netId]
|
||||||
const proxyLight = tornConfig.tornadoProxyLight.address
|
const proxyLight = tornConfig.tornadoProxyLight.address
|
||||||
const { gasPrices, nativeCurrency } = networkConfig[`netId${netId}`]
|
const { gasPrices, nativeCurrency } = networkConfig[`netId${netId}`]
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ const { queue } = require('./queue')
|
|||||||
const { getInstance, logRelayerError, clearRelayerErrors } = require('./utils')
|
const { getInstance, logRelayerError, clearRelayerErrors } = require('./utils')
|
||||||
const { jobType, status } = require('./constants')
|
const { jobType, status } = require('./constants')
|
||||||
const { netId, gasPrices, privateKey, proxyLight, httpRpcUrl, tornadoServiceFee } = require('./config')
|
const { netId, gasPrices, privateKey, proxyLight, httpRpcUrl, tornadoServiceFee } = require('./config')
|
||||||
const { TxManager } = require('tx-manager')
|
const { TxManager } = require('@tornado/tx-manager')
|
||||||
const { TornadoFeeOracleV5 } = require('@tornado/tornado-oracles')
|
const { TornadoFeeOracleV5 } = require('@tornado/tornado-oracles')
|
||||||
|
|
||||||
let web3
|
let web3
|
||||||
|
Loading…
Reference in New Issue
Block a user