diff --git a/moonworm/crawler/moonstream_ethereum_state_provider.py b/moonworm/crawler/moonstream_ethereum_state_provider.py index b330798..3600c03 100644 --- a/moonworm/crawler/moonstream_ethereum_state_provider.py +++ b/moonworm/crawler/moonstream_ethereum_state_provider.py @@ -81,7 +81,9 @@ class MoonstreamEthereumStateProvider(EthereumStateProvider): @staticmethod def _transform_to_w3_tx( - tx_raw: Union[EthereumTransaction, MumbaiTransaction, PolygonTransaction, XDaiTransaction], + tx_raw: Union[ + EthereumTransaction, MumbaiTransaction, PolygonTransaction, XDaiTransaction + ], ) -> Dict[str, Any]: tx = { "blockNumber": tx_raw.block_number, diff --git a/moonworm/crawler/networks.py b/moonworm/crawler/networks.py index dd271df..16a7bb8 100644 --- a/moonworm/crawler/networks.py +++ b/moonworm/crawler/networks.py @@ -33,12 +33,12 @@ MODELS: Dict[Network, Dict[str, Base]] = { "labels": EthereumLabel, "transactions": EthereumTransaction, }, - Network.polygon: { + Network.mumbai: { "blocks": MumbaiBlock, "labels": MumbaiLabel, "transactions": MumbaiTransaction, }, - Network.mumbai: { + Network.polygon: { "blocks": PolygonBlock, "labels": PolygonLabel, "transactions": PolygonTransaction,