From b2ae3d33992c705c98d58dbecb63a8da62f4f808 Mon Sep 17 00:00:00 2001 From: Theo Date: Sun, 2 Jul 2023 17:58:44 -0700 Subject: [PATCH] Change default oracle RPC from censored and change minimum required relayer balance for sidechains: 10 MATIC/AVAX or 0.1 ETH/BNB --- src/config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.js b/src/config.js index ec1fab5..9cc095f 100644 --- a/src/config.js +++ b/src/config.js @@ -13,7 +13,7 @@ module.exports = { netId, redisUrl: process.env.REDIS_URL || 'redis://127.0.0.1:6379', httpRpcUrl: process.env.HTTP_RPC_URL, - oracleRpcUrl: process.env.ORACLE_RPC_URL || 'https://mainnet.infura.io/', + oracleRpcUrl: process.env.ORACLE_RPC_URL || 'https://rpc.payload.de', minerMerkleTreeHeight: 20, privateKey: process.env.PRIVATE_KEY, instances, @@ -28,5 +28,5 @@ module.exports = { }, proxyLight, nativeCurrency, - minimumBalance: '500000000000000000', // 0.5 + minimumBalance: netId === 137 || netId === 43114 ? '10000000000000000000' : '100000000000000000', // 10 or 0.1 }