From 4a9034a117d93d74ad4ce12d9f40c9309e694072 Mon Sep 17 00:00:00 2001 From: Andrey Date: Thu, 14 Mar 2024 00:49:34 +0200 Subject: [PATCH] Add fixes. --- .../mooncrawl/mooncrawl/moonworm_crawler/crawler.py | 4 ++-- crawlers/mooncrawl/sample.env | 2 +- moonstreamdb/alembic/env.py | 12 ++++++------ moonstreamdb/moonstreamdb/blockchain.py | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/crawlers/mooncrawl/mooncrawl/moonworm_crawler/crawler.py b/crawlers/mooncrawl/mooncrawl/moonworm_crawler/crawler.py index a8d8ccd8..cf1a4b65 100644 --- a/crawlers/mooncrawl/mooncrawl/moonworm_crawler/crawler.py +++ b/crawlers/mooncrawl/mooncrawl/moonworm_crawler/crawler.py @@ -40,7 +40,7 @@ class SubscriptionTypes(Enum): ARBITRUM_NOVA_BLOCKCHAIN = "arbitrum_nova_smartcontract" ARBITRUM_SEPOLIA_BLOCKCHAIN = "arbitrum_sepolia_smartcontract" XAI_BLOCKCHAIN = "xai_smartcontract" - XAI_SEPOLIA_BLOCKCHAIN = "xai_testnet_smartcontract" + XAI_SEPOLIA_BLOCKCHAIN = "xai_sepolia_smartcontract" def abi_input_signature(input_abi: Dict[str, Any]) -> str: @@ -156,7 +156,7 @@ def blockchain_type_to_subscription_type( elif blockchain_type == AvailableBlockchainType.XAI: return SubscriptionTypes.XAI_BLOCKCHAIN elif blockchain_type == AvailableBlockchainType.XAI_SEPOLIA: - return SubscriptionTypes.XAI_TESTNET_BLOCKCHAIN + return SubscriptionTypes.XAI_SEPOLIA_BLOCKCHAIN else: raise ValueError(f"Unknown blockchain type: {blockchain_type}") diff --git a/crawlers/mooncrawl/sample.env b/crawlers/mooncrawl/sample.env index 0b7f7b13..99cb3074 100644 --- a/crawlers/mooncrawl/sample.env +++ b/crawlers/mooncrawl/sample.env @@ -31,7 +31,7 @@ export MOONSTREAM_ZKSYNC_ERA_WEB3_PROVIDER_URI="https://