From a562e8237020408e3ebdfd7388be3ef6b98523c5 Mon Sep 17 00:00:00 2001 From: shotaro Date: Wed, 16 Aug 2023 20:28:37 +0100 Subject: [PATCH 1/5] chore: updated rpc http url fallbacks --- .env | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.env b/.env index 24968f8..bf70968 100644 --- a/.env +++ b/.env @@ -8,7 +8,7 @@ REACT_APP_UNISWAP_V2_FACTORY_ADDRESS=0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f REACT_APP_TOKEN_BRIDGE_ADDRESS=0x88ad09518695c6c3712AC10a214bE5109a655671 REACT_APP_KLEROS_LIQUID_BLOCK_NUMBER=7303699 REACT_APP_WEB3_FALLBACK_URL=wss://mainnet.infura.io/ws/v3/54fb3d87cd07464591ad2be29a1db32f -REACT_APP_WEB3_FALLBACK_HTTPS_URL=https://mainnet.infura.io/v3/54fb3d87cd07464591ad2be29a1db32f +REACT_APP_WEB3_FALLBACK_HTTPS_URL=https://rpc.ankr.com/eth REACT_APP_APPLICATION_SERVER_KEY=BNqPp3phfZUqu4G1SCkqNuZ_FDL4YuSeAEV97U_G3UbrOuOsTeaI9jHE3QNRJ-O8EH3F2OUdnJJ4ZOhp80FthKU REACT_APP_KLEROS_XDAI_ADDRESS=0x0000000000000000000000000000000000000000 @@ -31,7 +31,7 @@ REACT_APP_POLICY_REGISTRY_GOERLI_ADDRESS='0x28c8A3A2E3c8Cd3F795DB83764316a1129a0 REACT_APP_TOKEN_BRIDGE_GOERLI_ADDRESS='0x00147c84f13764dCDAbAF1cbAe622fa6f6839085' REACT_APP_KLEROS_LIQUID_GOERLI_BLOCK_NUMBER=5893969 REACT_APP_WEB3_FALLBACK_GOERLI_URL='wss://goerli.infura.io/ws/v3/f1c9535b961648f7bd18209b00e11163' -REACT_APP_WEB3_FALLBACK_GOERLI_HTTPS_URL='https://goerli.infura.io/v3/f1c9535b961648f7bd18209b00e11163' +REACT_APP_WEB3_FALLBACK_GOERLI_HTTPS_URL='https://rpc.ankr.com/eth_goerli' REACT_APP_KLEROS_LIQUID_CHIADO_ADDRESS='0xD8798DfaE8194D6B4CD6e2Da6187ae4209d06f27' REACT_APP_KLEROS_LIQUID_EXTRA_VIEWS_CHIADO_ADDRESS='0xfDD698D6c9393d08c5DaD8488AF6d08c151e4860' @@ -48,7 +48,7 @@ REACT_APP_PINAKION_SEPOLIA_ADDRESS='0xA1eE4D32bdBcA69cdb445D66fAA3804aFFa24bFE' REACT_APP_POLICY_REGISTRY_SEPOLIA_ADDRESS='0x88Fb25D399310c07d35cB9091b8346d8b1893aa5' REACT_APP_KLEROS_LIQUID_SEPOLIA_BLOCK_NUMBER=3635742 REACT_APP_WEB3_FALLBACK_SEPOLIA_URL='wss://sepolia.infura.io/ws/v3/f1c9535b961648f7bd18209b00e11163' -REACT_APP_WEB3_FALLBACK_SEPOLIA_HTTPS_URL='https://sepolia.infura.io/v3/f1c9535b961648f7bd18209b00e11163' +REACT_APP_WEB3_FALLBACK_SEPOLIA_HTTPS_URL='https://eth-sepolia.g.alchemy.com/v2/demo' REACT_APP_WEB3_FALLBACK_POLYGON_HTTPS_URL='https://polygon-mainnet.g.alchemy.com/v2/Y2IRJuoY0G-LAkHTqyXdVetLFm4R2NZT' -REACT_APP_WEB3_FALLBACK_MUMBAI_HTTPS_URL='https://polygon-mumbai.g.alchemy.com/v2/PX_3q-P-AbxWKn8qiTvF5A6TFSMfQ4jz' \ No newline at end of file +REACT_APP_WEB3_FALLBACK_MUMBAI_HTTPS_URL='https://polygon-mumbai.g.alchemy.com/v2/demo' From 142ac8c102892478fd7f1c8a15c5777b3eaf6d37 Mon Sep 17 00:00:00 2001 From: shotaro Date: Wed, 16 Aug 2023 20:35:31 +0100 Subject: [PATCH 2/5] chore: update rpc fallbacks --- netlify.toml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/netlify.toml b/netlify.toml index 889111b..5369f27 100644 --- a/netlify.toml +++ b/netlify.toml @@ -15,7 +15,7 @@ REACT_APP_JUSTIFICATIONS_URL='https://8aoprv935h.execute-api.us-east-2.amazonaws.com/staging/justifications' REACT_APP_APPLICATION_SERVER_KEY='BNqPp3phfZUqu4G1SCkqNuZ_FDL4YuSeAEV97U_G3UbrOuOsTeaI9jHE3QNRJ-O8EH3F2OUdnJJ4ZOhp80FthKU' REACT_APP_WEB3_FALLBACK_URL='wss://mainnet.infura.io/ws/v3/54fb3d87cd07464591ad2be29a1db32f' - REACT_APP_WEB3_FALLBACK_HTTPS_URL='https://mainnet.infura.io/v3/54fb3d87cd07464591ad2be29a1db32f' + REACT_APP_WEB3_FALLBACK_HTTPS_URL='https://rpc.ankr.com/eth' REACT_APP_KLEROS_LIQUID_GOERLI_ADDRESS='0x1128eD55ab2d796fa92D2F8E1f336d745354a77A' REACT_APP_KLEROS_LIQUID_EXTRA_VIEWS_GOERLI_ADDRESS='0x36780f8011f07683aacA36d5faC42AeBeAA96Cfe' @@ -24,7 +24,7 @@ REACT_APP_TOKEN_BRIDGE_GOERLI_ADDRESS='0x00147c84f13764dCDAbAF1cbAe622fa6f6839085' REACT_APP_KLEROS_LIQUID_GOERLI_BLOCK_NUMBER='5893969' REACT_APP_WEB3_FALLBACK_GOERLI_URL='wss://goerli.infura.io/ws/v3/f1c9535b961648f7bd18209b00e11163' - REACT_APP_WEB3_FALLBACK_GOERLI_HTTPS_URL='https://goerli.infura.io/v3/f1c9535b961648f7bd18209b00e11163' + REACT_APP_WEB3_FALLBACK_GOERLI_HTTPS_URL='https://rpc.ankr.com/eth_goerli' REACT_APP_KLEROS_LIQUID_CHIADO_ADDRESS='0xD8798DfaE8194D6B4CD6e2Da6187ae4209d06f27' REACT_APP_KLEROS_LIQUID_EXTRA_VIEWS_CHIADO_ADDRESS='0xfDD698D6c9393d08c5DaD8488AF6d08c151e4860' @@ -41,7 +41,7 @@ REACT_APP_POLICY_REGISTRY_SEPOLIA_ADDRESS='0x88Fb25D399310c07d35cB9091b8346d8b1893aa5' REACT_APP_KLEROS_LIQUID_SEPOLIA_BLOCK_NUMBER='3635742' REACT_APP_WEB3_FALLBACK_SEPOLIA_URL='wss://sepolia.infura.io/ws/v3/f1c9535b961648f7bd18209b00e11163' - REACT_APP_WEB3_FALLBACK_SEPOLIA_HTTPS_URL='https://sepolia.infura.io/v3/f1c9535b961648f7bd18209b00e11163' + REACT_APP_WEB3_FALLBACK_SEPOLIA_HTTPS_URL='https://eth-sepolia.g.alchemy.com/v2/demo' REACT_APP_KLEROS_XDAI_ADDRESS='0x0000000000000000000000000000000000000000' REACT_APP_KLEROS_LIQUID_XDAI_ADDRESS='0x9C1dA9A04925bDfDedf0f6421bC7EEa8305F9002' @@ -56,8 +56,8 @@ REACT_APP_WEB3_FALLBACK_XDAI_URL='wss://rpc.gnosischain.com/wss' REACT_APP_WEB3_FALLBACK_XDAI_HTTPS_URL='https://rpc.gnosischain.com' - REACT_APP_WEB3_FALLBACK_POLYGON_HTTPS_URL='https://polygon-mainnet.g.alchemy.com/v2/Y2IRJuoY0G-LAkHTqyXdVetLFm4R2NZT' - REACT_APP_WEB3_FALLBACK_MUMBAI_HTTPS_URL='https://polygon-mumbai.g.alchemy.com/v2/PX_3q-P-AbxWKn8qiTvF5A6TFSMfQ4jz' + REACT_APP_WEB3_FALLBACK_POLYGON_HTTPS_URL='https://rpc.ankr.com/polygon' + REACT_APP_WEB3_FALLBACK_MUMBAI_HTTPS_URL='https://polygon-mumbai.g.alchemy.com/v2/demo' [context.production.environment] REACT_APP_CONTEXT='production' From 43513bd6bd1184ed195f98365a8fcb141a769a54 Mon Sep 17 00:00:00 2001 From: shotaro Date: Fri, 18 Aug 2023 11:31:08 +0100 Subject: [PATCH 3/5] chore: revert non-broken mainnet rpc change --- .env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env b/.env index bf70968..dd257f1 100644 --- a/.env +++ b/.env @@ -8,7 +8,7 @@ REACT_APP_UNISWAP_V2_FACTORY_ADDRESS=0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f REACT_APP_TOKEN_BRIDGE_ADDRESS=0x88ad09518695c6c3712AC10a214bE5109a655671 REACT_APP_KLEROS_LIQUID_BLOCK_NUMBER=7303699 REACT_APP_WEB3_FALLBACK_URL=wss://mainnet.infura.io/ws/v3/54fb3d87cd07464591ad2be29a1db32f -REACT_APP_WEB3_FALLBACK_HTTPS_URL=https://rpc.ankr.com/eth +REACT_APP_WEB3_FALLBACK_HTTPS_URL=https://mainnet.infura.io/v3/54fb3d87cd07464591ad2be29a1db32f REACT_APP_APPLICATION_SERVER_KEY=BNqPp3phfZUqu4G1SCkqNuZ_FDL4YuSeAEV97U_G3UbrOuOsTeaI9jHE3QNRJ-O8EH3F2OUdnJJ4ZOhp80FthKU REACT_APP_KLEROS_XDAI_ADDRESS=0x0000000000000000000000000000000000000000 From 66ee2afdf8f0504d98ef4589d45d7572a37f8246 Mon Sep 17 00:00:00 2001 From: shotaro Date: Fri, 18 Aug 2023 11:31:48 +0100 Subject: [PATCH 4/5] chore: revert non-broken mainnet rpc change --- netlify.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index 5369f27..99df98b 100644 --- a/netlify.toml +++ b/netlify.toml @@ -15,7 +15,7 @@ REACT_APP_JUSTIFICATIONS_URL='https://8aoprv935h.execute-api.us-east-2.amazonaws.com/staging/justifications' REACT_APP_APPLICATION_SERVER_KEY='BNqPp3phfZUqu4G1SCkqNuZ_FDL4YuSeAEV97U_G3UbrOuOsTeaI9jHE3QNRJ-O8EH3F2OUdnJJ4ZOhp80FthKU' REACT_APP_WEB3_FALLBACK_URL='wss://mainnet.infura.io/ws/v3/54fb3d87cd07464591ad2be29a1db32f' - REACT_APP_WEB3_FALLBACK_HTTPS_URL='https://rpc.ankr.com/eth' + REACT_APP_WEB3_FALLBACK_HTTPS_URL='https://mainnet.infura.io/v3/54fb3d87cd07464591ad2be29a1db32f' REACT_APP_KLEROS_LIQUID_GOERLI_ADDRESS='0x1128eD55ab2d796fa92D2F8E1f336d745354a77A' REACT_APP_KLEROS_LIQUID_EXTRA_VIEWS_GOERLI_ADDRESS='0x36780f8011f07683aacA36d5faC42AeBeAA96Cfe' From 7f150794a6d52ad8b0df39459dfc3c2d390b2ff3 Mon Sep 17 00:00:00 2001 From: Aleix <80388279+alcercu@users.noreply.github.com> Date: Mon, 25 Sep 2023 12:04:10 +0200 Subject: [PATCH 5/5] Restore polygon fallback to previous value --- netlify.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index 99df98b..e361f78 100644 --- a/netlify.toml +++ b/netlify.toml @@ -56,7 +56,7 @@ REACT_APP_WEB3_FALLBACK_XDAI_URL='wss://rpc.gnosischain.com/wss' REACT_APP_WEB3_FALLBACK_XDAI_HTTPS_URL='https://rpc.gnosischain.com' - REACT_APP_WEB3_FALLBACK_POLYGON_HTTPS_URL='https://rpc.ankr.com/polygon' + REACT_APP_WEB3_FALLBACK_POLYGON_HTTPS_URL='https://polygon-mainnet.g.alchemy.com/v2/Y2IRJuoY0G-LAkHTqyXdVetLFm4R2NZT' REACT_APP_WEB3_FALLBACK_MUMBAI_HTTPS_URL='https://polygon-mumbai.g.alchemy.com/v2/demo' [context.production.environment]