Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding typing to process_receipts via process_receipts_typed. Version bump to v0.0.41 #133

Merged
merged 11 commits into from
Oct 7, 2024

Conversation

slundqui
Copy link
Contributor

@slundqui slundqui commented Oct 5, 2024

Major updates:

  • Adding process_receipts_typed that returns a dataclass typed event when given a transaction receipt.
  • Adding combomethod_typed that allows for combomethods that preserve types, and propagating the change throughout.
  • Renaming get_typed_logs to get_logs_typed for consistency.
  • Adding BaseEventArgs and frozen dataclass attribute for arg subclassing. This also ensures the arg field exists in all event types.

@codecov-commenter
Copy link

codecov-commenter commented Oct 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.22%. Comparing base (d696dca) to head (82bf2ec).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #133      +/-   ##
==========================================
+ Coverage   70.19%   71.22%   +1.03%     
==========================================
  Files          49       50       +1     
  Lines        2315     2318       +3     
==========================================
+ Hits         1625     1651      +26     
+ Misses        690      667      -23     
Flag Coverage Δ
unittests 71.22% <100.00%> (+1.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@slundqui slundqui changed the title Adding typing to process_receipts via process_receipts_typed Adding typing to process_receipts via process_receipts_typed. Version bump to v0.0.41 Oct 5, 2024
@slundqui slundqui merged commit 512e82e into main Oct 7, 2024
6 checks passed
@slundqui slundqui deleted the slundquist-event-parsing branch October 7, 2024 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants