Skip to content

Commit

Permalink
Merge pull request #2 from p2p-org/LAM-817-new-topic-mapping
Browse files Browse the repository at this point in the history
LAM-817 Added new mapping for topics
  • Loading branch information
SimonOsipov authored Nov 15, 2024
2 parents 5e1c1cd + 1ff0433 commit 33c626d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions ethereumetl/streaming/item_exporter_creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,13 @@ def array_to_str(val):

def resolve_topic_mapping(
default_mapping={
"block": "blocks",
"transaction": "transactions",
"log": "logs",
"token_transfer": "token_transfers",
"trace": "traces",
"contract": "contracts",
"token": "tokens",
"block": "ethereum_blocks",
"transaction": "ethereum_transactions",
"log": "ethereum_logs",
"token_transfer": "ethereum_token_transfers",
"trace": "ethereum_traces",
"contract": "ethereum_contracts",
"token": "ethereum_tokens",
}
) -> Dict[str, str]:
"""Reads environment variables with topic mapping. returns defaults if no mapping found"""
Expand Down

0 comments on commit 33c626d

Please sign in to comment.