pull/104/head
Andrey 2023-03-08 19:18:45 +02:00
rodzic 76a9e49b72
commit 150b468e82
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -2,10 +2,10 @@ from typing import Dict
try:
from moonstreamdb.db import yield_db_session_ctx
from moonstreamdb.models import (
from moonstreamdb.models import ( # state/moonstream_event_state dependency maybe removed in the future
EthereumBlock,
EthereumLabel,
) # state/moonstream_event_state dependency maybe removed in the future
)
from moonstreamdb.networks import MODELS, Network, tx_raw_types
except ImportError:

Wyświetl plik

@ -1,7 +1,7 @@
from ..networks import EthereumBlock, EthereumLabel
from sqlalchemy.orm import Query, Session
from web3 import Web3
from ..networks import EthereumBlock, EthereumLabel
from .event_scanner_state import EventScannerState
BLOCK_TIMESTAMP_CACHE = {}