Bläddra i källkod

fix(contract_manager): cleanup entropy contracts (#2742)

* Use better default RPCs for some chains
Amin Moghaddam 5 månader sedan
förälder
incheckning
cac91ddda3

+ 1 - 1
contract_manager/src/node/utils/store.ts

@@ -269,4 +269,4 @@ export class Store {
 /**
  * DefaultStore loads all the contracts and chains from the store directory and provides a single point of access to them.
  */
-export const DefaultStore = new Store(`${__dirname}/../store`);
+export const DefaultStore = new Store(`${__dirname}/../../../store`);

+ 6 - 6
contract_manager/store/chains/EvmChains.json

@@ -315,7 +315,7 @@
   {
     "id": "optimism",
     "mainnet": true,
-    "rpcUrl": "https://rpc.ankr.com/optimism",
+    "rpcUrl": "https://mainnet.optimism.io/",
     "networkId": 10,
     "type": "EvmChain",
     "nativeToken": "ETH"
@@ -1080,14 +1080,14 @@
   {
     "id": "unichain",
     "mainnet": true,
-    "rpcUrl": "https://redacted.quiknode.pro/$ENV_UNICHAIN_API_KEY",
+    "rpcUrl": "https://mainnet.unichain.org",
     "networkId": 130,
     "type": "EvmChain"
   },
   {
     "id": "abstract",
     "mainnet": true,
-    "rpcUrl": "https://api-efe16d37.ml.eeffc03e557f4daf.com/",
+    "rpcUrl": "https://api.mainnet.abs.xyz",
     "networkId": 2741,
     "type": "EvmChain"
   },
@@ -1157,7 +1157,7 @@
   {
     "id": "monad_testnet",
     "mainnet": false,
-    "rpcUrl": "https://rpc.monad-testnet.category.xyz/rpc/nSyzM1wlIgaALWzbh3oIg5rW65AC6yjqrslOE8wb",
+    "rpcUrl": "https://monad-testnet.drpc.org",
     "networkId": 10143,
     "type": "EvmChain"
   },
@@ -1165,13 +1165,13 @@
     "id": "berachain_mainnet",
     "mainnet": true,
     "networkId": 80094,
-    "rpcUrl": "https://fluent-thrilling-scion.furtim-network.quiknode.pro/$ENV_RABECHAIN_API_KEY",
+    "rpcUrl": "https://rpc.berachain.com/",
     "type": "EvmChain"
   },
   {
     "id": "story",
     "mainnet": true,
-    "rpcUrl": "https://homer.storyrpc.io",
+    "rpcUrl": "https://mainnet.storyrpc.io",
     "networkId": 1514,
     "type": "EvmChain"
   },

+ 0 - 10
contract_manager/store/contracts/EvmEntropyContracts.json

@@ -59,11 +59,6 @@
     "address": "0x8D254a21b3C86D32F7179855531CE99164721933",
     "type": "EvmEntropyContract"
   },
-  {
-    "chain": "coredao_testnet",
-    "address": "0xf0a1b566B55e0A0CB5BeF52Eb2a57142617Bee67",
-    "type": "EvmEntropyContract"
-  },
   {
     "chain": "blast",
     "address": "0x5744Cbf430D99456a0A8771208b674F27f8EF0Fb",
@@ -89,11 +84,6 @@
     "address": "0x98046Bd286715D3B0BC227Dd7a956b83D8978603",
     "type": "EvmEntropyContract"
   },
-  {
-    "chain": "orange_testnet",
-    "address": "0x98046Bd286715D3B0BC227Dd7a956b83D8978603",
-    "type": "EvmEntropyContract"
-  },
   {
     "chain": "sei_evm_mainnet",
     "address": "0x98046Bd286715D3B0BC227Dd7a956b83D8978603",