mirror of
https://github.com/tornadocash/tornado-relayer.git
synced 2024-10-01 08:25:37 -04:00
fix: update gas price oracle
This commit is contained in:
parent
e538236904
commit
aa7d389766
@ -20,9 +20,9 @@
|
||||
"bull": "^3.12.1",
|
||||
"dotenv": "^8.2.0",
|
||||
"express": "^4.17.1",
|
||||
"gas-price-oracle": "^0.3.4",
|
||||
"gas-price-oracle": "^0.3.5",
|
||||
"ioredis": "^4.14.1",
|
||||
"tx-manager": "^0.3.2",
|
||||
"tx-manager": "^0.3.3",
|
||||
"uuid": "^8.3.0",
|
||||
"web3": "^1.3.0",
|
||||
"web3-utils": "^1.2.2"
|
||||
|
@ -50,7 +50,7 @@ function start() {
|
||||
}
|
||||
|
||||
async function getGasPrices() {
|
||||
const networksWithOracle = [56, 137]
|
||||
const networksWithOracle = [56, 100, 137]
|
||||
if (networksWithOracle.includes(netId)) {
|
||||
return await gasPriceOracle.gasPrices()
|
||||
}
|
||||
|
18
yarn.lock
18
yarn.lock
@ -2019,10 +2019,10 @@ functional-red-black-tree@^1.0.1:
|
||||
resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327"
|
||||
integrity sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=
|
||||
|
||||
gas-price-oracle@^0.3.4:
|
||||
version "0.3.4"
|
||||
resolved "https://registry.yarnpkg.com/gas-price-oracle/-/gas-price-oracle-0.3.4.tgz#c98f6e24cf4bea96be2fe85383d53601b2ab5761"
|
||||
integrity sha512-bba9zWd2hQ32AuPFDzL8E5QxAzXNfGKR1UZCa14fSYJWc9yo3k7wabITMkGEv0cbKpHmyK/kHhhDTBtugI6eAg==
|
||||
gas-price-oracle@^0.3.5:
|
||||
version "0.3.5"
|
||||
resolved "https://registry.yarnpkg.com/gas-price-oracle/-/gas-price-oracle-0.3.5.tgz#b7bff364e37fb7f30a2297cb65be80fceb4b8da3"
|
||||
integrity sha512-9NAKzmGgWLjGUc4XsqNJjh0JXthETucijNrkV47FrZIjP8YMzq4jhBvlNeMBt6VVGnr64qjIY2RWb+In7qNsFA==
|
||||
dependencies:
|
||||
axios "^0.19.2"
|
||||
bignumber.js "^9.0.0"
|
||||
@ -3886,14 +3886,14 @@ tweetnacl@^0.14.3, tweetnacl@~0.14.0:
|
||||
resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64"
|
||||
integrity sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=
|
||||
|
||||
tx-manager@^0.3.2:
|
||||
version "0.3.2"
|
||||
resolved "https://registry.yarnpkg.com/tx-manager/-/tx-manager-0.3.2.tgz#0dd3c69efbaa22e3a664ac491ea366104f4ea764"
|
||||
integrity sha512-XBuDE82KKb3rPb+jyn63BRZduFKY/EqVNOWRXY1qeAq3K/eyr5eTvJkPZtty2gMBOzViHKG09lm24D3h4rAbSQ==
|
||||
tx-manager@^0.3.3:
|
||||
version "0.3.3"
|
||||
resolved "https://registry.yarnpkg.com/tx-manager/-/tx-manager-0.3.3.tgz#d9bcbc8d8881bc83ac8b7368a46601ad7c6b7864"
|
||||
integrity sha512-4yWGdoHk5lWNhoxgmwdHlz3bYW7um45dIlAOXmMxwUCMYJ1V/gySajW4eOWpjV6DxiffFgfOJ2YOqobxXmMXeA==
|
||||
dependencies:
|
||||
async-mutex "^0.2.4"
|
||||
ethers "^5.0.17"
|
||||
gas-price-oracle "^0.3.4"
|
||||
gas-price-oracle "^0.3.5"
|
||||
web3-core-promievent "^1.3.0"
|
||||
|
||||
type-check@~0.3.2:
|
||||
|
Loading…
Reference in New Issue
Block a user