diff --git a/src/dipdup/models/evm.py b/src/dipdup/models/evm.py index 8991f13ff..6e665d664 100644 --- a/src/dipdup/models/evm.py +++ b/src/dipdup/models/evm.py @@ -50,7 +50,7 @@ def from_subsquid_json(cls, event_json: dict[str, Any], header: dict[str, Any]) data=event_json['data'], level=header['number'], log_index=event_json['logIndex'], - timestamp=header['timestamp'], + timestamp=int(header['timestamp']), topics=tuple(event_json['topics']), removed=False, transaction_hash=event_json['transactionHash'], @@ -175,7 +175,7 @@ def from_subsquid_json( s=transaction_json['s'], # sighash=transaction_json['sighash'], status=transaction_json['status'], - timestamp=header['timestamp'], + timestamp=int(header['timestamp']), to=transaction_json['to'], transaction_index=transaction_json['transactionIndex'], type=transaction_json['type'],