kopia lustrzana https://github.com/bugout-dev/moonstream
Apply fixes.
rodzic
cb1bceea90
commit
3f48463330
|
@ -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,
|
||||
|
|
|
@ -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.",
|
||||
|
|
|
@ -20,7 +20,6 @@ from ..settings import (
|
|||
MOONSTREAM_S3_SMARTCONTRACTS_ABI_BUCKET,
|
||||
MOONSTREAM_S3_SMARTCONTRACTS_ABI_PREFIX,
|
||||
)
|
||||
import pprint
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
|
|
@ -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",
|
||||
}
|
||||
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue