mirror of
https://github.com/tornadocash/tornado-relayer
synced 2024-02-02 15:04:06 +01:00
fix: update constants
This commit is contained in:
parent
803a104a93
commit
7286aeaff0
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "relay",
|
||||
"version": "4.0.15",
|
||||
"version": "5.0.0-beta.0",
|
||||
"description": "Relayer for Tornado.cash privacy solution. https://tornado.cash",
|
||||
"scripts": {
|
||||
"server": "node src/server.js",
|
||||
|
@ -24,13 +24,16 @@ const networkConfig = {
|
||||
instances: {
|
||||
bnb: {
|
||||
instanceAddress: {
|
||||
0.1: '0x0Ce22770451A8acAD1220D9d1678656b4fAe4a1d',
|
||||
0.1: '0x84443CFd09A48AF6eF360C6976C5392aC5023a1F',
|
||||
1: '0xd47438C816c9E7f2E2888E060936a499Af9582b3',
|
||||
10: '0x330bdFADE01eE9bF63C209Ee33102DD334618e0a',
|
||||
100: '0x1E34A77868E19A6647b1f2F47B51ed72dEDE95DD',
|
||||
},
|
||||
symbol: 'BNB',
|
||||
decimals: 18,
|
||||
},
|
||||
},
|
||||
proxyLight: '0x5D595DB16eb6d074E0e7E7f0bE37E7e75f23BEc7',
|
||||
proxyLight: '0x0D5550d52428E7e3175bfc9550207e4ad3859b17',
|
||||
},
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,4 @@
|
||||
const {
|
||||
getTornadoWithdrawInputError,
|
||||
} = require('./validator')
|
||||
const { getTornadoWithdrawInputError } = require('./validator')
|
||||
const { postJob } = require('./queue')
|
||||
const { jobType } = require('./constants')
|
||||
|
||||
|
@ -3,14 +3,7 @@ const Redis = require('ioredis')
|
||||
const { toBN, fromWei } = require('web3-utils')
|
||||
|
||||
const { setSafeInterval } = require('./utils')
|
||||
const {
|
||||
redisUrl,
|
||||
httpRpcUrl,
|
||||
privateKey,
|
||||
minimumBalance,
|
||||
nativeCurrency,
|
||||
instances,
|
||||
} = require('./config')
|
||||
const { redisUrl, httpRpcUrl, privateKey, minimumBalance, nativeCurrency, instances } = require('./config')
|
||||
|
||||
const web3 = new Web3(httpRpcUrl)
|
||||
const redis = new Redis(redisUrl)
|
||||
|
@ -1,8 +1,6 @@
|
||||
require('chai').should()
|
||||
|
||||
const {
|
||||
getTornadoWithdrawInputError,
|
||||
} = require('../src/validator')
|
||||
const { getTornadoWithdrawInputError } = require('../src/validator')
|
||||
|
||||
describe('Validator', () => {
|
||||
describe('#getTornadoWithdrawInputError', () => {
|
||||
@ -46,5 +44,5 @@ const withdrawData = {
|
||||
'0x000000000000000000000000000000000000000000000000058d15e176280000',
|
||||
'0x0000000000000000000000000000000000000000000000000000000000000000',
|
||||
],
|
||||
contract: '0x47CE0C6eD5B0Ce3d3A51fdb1C52DC66a7c3c2936',
|
||||
contract: '0xd47438C816c9E7f2E2888E060936a499Af9582b3',
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user