From b2d87ce655f6bb422d5fb5dd1c3b281e2d1a1b0b Mon Sep 17 00:00:00 2001 From: Andrey Date: Mon, 6 Mar 2023 14:08:29 +0200 Subject: [PATCH] Fix sorting. --- moonworm/crawler/moonstream_ethereum_state_provider.py | 2 +- moonworm/crawler/networks.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/moonworm/crawler/moonstream_ethereum_state_provider.py b/moonworm/crawler/moonstream_ethereum_state_provider.py index 162c522..f0be690 100644 --- a/moonworm/crawler/moonstream_ethereum_state_provider.py +++ b/moonworm/crawler/moonstream_ethereum_state_provider.py @@ -16,8 +16,8 @@ from .networks import ( MumbaiTransaction, PolygonLabel, PolygonTransaction, - XDaiTransaction, WyrmTransaction, + XDaiTransaction, yield_db_session_ctx, ) from .utils import Network diff --git a/moonworm/crawler/networks.py b/moonworm/crawler/networks.py index e31acc7..a927719 100644 --- a/moonworm/crawler/networks.py +++ b/moonworm/crawler/networks.py @@ -13,12 +13,12 @@ try: PolygonBlock, PolygonLabel, PolygonTransaction, - XDaiBlock, - XDaiLabel, - XDaiTransaction, WyrmBlock, Wyrmlabel, WyrmTransaction, + XDaiBlock, + XDaiLabel, + XDaiTransaction, ) except ImportError: print("this feature requires moonstreamdb which is not installed")