pull/475/head
Andrey Dolgolev 2021-12-11 17:26:56 +02:00
rodzic cb1bceea90
commit 3f48463330
4 zmienionych plików z 6 dodań i 7 usunięć

Wyświetl plik

@ -49,7 +49,7 @@ class ReceivingEventsException(Exception):
event_providers: Dict[str, Any] = {
moonworm_provider.EthereumMoonwormProvider.event_type: moonworm_provider.EthereumMoonwormProvider,
moonworm_provider.PolygonMoonwormProvider.event_type: moonworm_provider.PolygonMoonwormProvider,
transactions.ErhereumTransactions.event_type: transactions.ErhereumTransactions,
transactions.EthereumTransactions.event_type: transactions.EthereumTransactions,
transactions.PolygonTransactions.event_type: transactions.PolygonTransactions,
bugout.polygon_whalewatch_provider.event_type: bugout.polygon_whalewatch_provider,
bugout.ethereum_txpool_provider.event_type: bugout.ethereum_txpool_provider,

Wyświetl plik

@ -451,7 +451,7 @@ class TransactionsProvider:
return self.ethereum_transaction_event(maybe_ethereum_transaction)
ErhereumTransactions = TransactionsProvider(
EthereumTransactions = TransactionsProvider(
event_type="ethereum_blockchain",
blockchain=AvailableBlockchainType("ethereum"),
description="Provider for resiving transactions from Ethereum tables.",

Wyświetl plik

@ -20,7 +20,6 @@ from ..settings import (
MOONSTREAM_S3_SMARTCONTRACTS_ABI_BUCKET,
MOONSTREAM_S3_SMARTCONTRACTS_ABI_PREFIX,
)
import pprint
logger = logging.getLogger(__name__)

Wyświetl plik

@ -40,13 +40,13 @@ logger.setLevel(logging.INFO)
subscription_id_by_blockchain = {
"ethereum": "ethereum_smartcontract",
"polygon": "polygon_smartcontract",
"ethereum": "ethereum_blockchain",
"polygon": "polygon_blockchain",
}
blockchain_by_subscription_id = {
"ethereum_smartcontract": "ethereum",
"polygon_smartcontract": "polygon",
"ethereum_blockchain": "ethereum",
"polygon_blockchain": "polygon",
}