From 96d79ebca811ca0eeffd4068235c0916c371da12 Mon Sep 17 00:00:00 2001 From: Morgan Mccauley Date: Thu, 21 Dec 2023 16:51:58 +1300 Subject: [PATCH] chore: Remove stubbed registry contract --- coordinator/src/main.rs | 1 + coordinator/src/registry.json | 76 ----------------------------------- 2 files changed, 1 insertion(+), 76 deletions(-) delete mode 100644 coordinator/src/registry.json diff --git a/coordinator/src/main.rs b/coordinator/src/main.rs index d9ad04603..57d72db15 100644 --- a/coordinator/src/main.rs +++ b/coordinator/src/main.rs @@ -15,6 +15,7 @@ async fn main() -> anyhow::Result<()> { .with(tracing_subscriber::EnvFilter::from_default_env()) .init(); + let registry = Registry::connect("https://rpc.testnet.near.org"); let redis_client = RedisClient::connect("redis://127.0.0.1").await?; let mut block_stream_handler = BlockStreamsHandler::connect().await?; diff --git a/coordinator/src/registry.json b/coordinator/src/registry.json deleted file mode 100644 index 1a50aff87..000000000 --- a/coordinator/src/registry.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "All": { - "thb0301.near": { - "ref_finance_liquidity": { - "code": "", - "filter": { - "id": null, - "indexer_rule_kind": "Action", - "matching_rule": { - "affected_account_id": "v2.ref-finance.near", - "rule": "ACTION_ANY", - "status": "SUCCESS" - }, - "name": null - }, - "schema": "", - "start_block_height": null, - "updated_at_block_height": null, - "created_at_block_height": 99994180 - }, - "ref_finance_swap_txs": { - "code": "", - "filter": { - "id": null, - "indexer_rule_kind": "Action", - "matching_rule": { - "affected_account_id": "v2.ref-finance.near", - "rule": "ACTION_ANY", - "status": "SUCCESS" - }, - "name": null - }, - "schema": "", - "start_block_height": 99904145, - "updated_at_block_height": 100130060, - "created_at_block_height": 100006218 - } - }, - "morgs.near": { - "devgovgigs_teest": { - "code": "", - "filter": { - "id": null, - "indexer_rule_kind": "Action", - "matching_rule": { - "affected_account_id": "devgovgigs.near", - "rule": "ACTION_ANY", - "status": "SUCCESS" - }, - "name": null - }, - "schema": "", - "start_block_height": 102162330, - "updated_at_block_height": null, - "created_at_block_height": 108202921 - }, - "v2_test": { - "code": "", - "filter": { - "id": null, - "indexer_rule_kind": "Action", - "matching_rule": { - "affected_account_id": "social.near", - "rule": "ACTION_ANY", - "status": "SUCCESS" - }, - "name": null - }, - "schema": "", - "start_block_height": null, - "updated_at_block_height": 108243082, - "created_at_block_height": 108212819 - } - } - } -}