File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 1+ Update `LogReceipt ` and `TxReceipt ` declarations. Remove `LogReceipt `'s `payload ` and `topic ` attributes. Refactor `LogEntry ` to `LogReceipt `.
Original file line number Diff line number Diff line change @@ -225,23 +225,18 @@ class BlockData(TypedDict, total=False):
225225 proofOfAuthorityData : HexBytes
226226
227227
228- class LogEntry (TypedDict ):
228+ class LogReceipt (TypedDict ):
229229 address : ChecksumAddress
230230 blockHash : HexBytes
231231 blockNumber : BlockNumber
232- data : HexStr
232+ data : HexBytes
233233 logIndex : int
234234 topics : Sequence [HexBytes ]
235235 transactionHash : HexBytes
236236 transactionIndex : int
237237 removed : bool
238238
239239
240- class LogReceipt (LogEntry ):
241- payload : HexBytes
242- topic : HexBytes
243-
244-
245240class SubscriptionResponse (TypedDict ):
246241 subscription : HexBytes
247242
@@ -255,7 +250,7 @@ class TransactionTypeSubscriptionResponse(SubscriptionResponse):
255250
256251
257252class LogsSubscriptionResponse (SubscriptionResponse ):
258- result : LogEntry
253+ result : LogReceipt
259254
260255
261256class SyncProgress (TypedDict ):
You can’t perform that action at this time.
0 commit comments