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);