From 19e665397ffef8c4b0a6c1509c64097b19be319f Mon Sep 17 00:00:00 2001 From: Oleksii Trukhanov Date: Tue, 10 Sep 2024 23:41:23 +0300 Subject: [PATCH] DASH-708 Fix DEFAULT_FIO_SERVER_HISTORY_VERSION parameter. --- config/config.js | 1 + controller/api/fio.js | 1 + 2 files changed, 2 insertions(+) diff --git a/config/config.js b/config/config.js index 74190a6..ea76b8b 100644 --- a/config/config.js +++ b/config/config.js @@ -50,4 +50,5 @@ export default { MORALIS_RPC_ETH_CHAIN_NAME: process.env.MORALIS_RPC_ETH_CHAIN_NAME, MORALIS_RPC_POLYGON_CHAIN_NAME: process.env.MORALIS_RPC_POLYGON_CHAIN_NAME, FIO_TRANSACTION_MAX_RETRIES: parseInt(process.env.FIO_TRANSACTION_MAX_RETRIES), + DEFAULT_FIO_SERVER_HISTORY_VERSION: process.env.FIO_SERVER_HISTORY_VERSION, }; diff --git a/controller/api/fio.js b/controller/api/fio.js index 62a6bae..eb57310 100644 --- a/controller/api/fio.js +++ b/controller/api/fio.js @@ -58,6 +58,7 @@ const { FIO_ORACLE_PERMISSION, oracleCache, FIO_TRANSACTION_MAX_RETRIES, + DEFAULT_FIO_SERVER_HISTORY_VERSION, } = config; const web3 = new Web3(process.env.ETHINFURA);