delvtech / agent0

Analysis & simulation repo for Delv
https://agent0.readthedocs.io/en/latest/
Apache License 2.0
45 stars 18 forks source link

Handle events in ethpy #1571

Closed slundqui closed 1 week ago

slundqui commented 1 week ago

This PR is part of the consolidation effort to bring all event getters to ethpy. Overall, this allows us to handle specific interfaces (e.g., steth) in a single place.

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 98.40426% with 3 lines in your changes missing coverage. Please review.

Project coverage is 82.05%. Comparing base (dab10b2) to head (148bb46).

:exclamation: Current head 148bb46 differs from pull request most recent head 94acf50

Please upload reports for the commit 94acf50 to get more accurate results.

Files Patch % Lines
src/agent0/ethpy/hyperdrive/transactions.py 95.65% 2 Missing :warning:
src/agent0/chainsync/db/hyperdrive/convert_data.py 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1571 +/- ## ========================================== + Coverage 81.55% 82.05% +0.50% ========================================== Files 98 98 Lines 7163 7162 -1 ========================================== + Hits 5842 5877 +35 + Misses 1321 1285 -36 ``` | [Flag](https://app.codecov.io/gh/delvtech/agent0/pull/1571/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=delvtech) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/delvtech/agent0/pull/1571/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=delvtech) | `82.05% <98.40%> (+0.50%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=delvtech#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.