-
-
Notifications
You must be signed in to change notification settings - Fork 155
feat!: support decoding multiple ABIs at the same time, including ds-note library logs #757
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
Merged
Merged
Changes from 60 commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
66ff53e
feat: add receipt events and ds-note decoding
banteg fc20c38
refactor: move ds-note decoding to ecosystem api
banteg 41347d3
fix: consistent exceptions
banteg 4b4539a
feat: optimize ds-log decoding
banteg 2695454
test: add makerdao vat contract
banteg 946536a
test: ds note
banteg cc8be00
feat: make abi optional for decode_logs, add ds-note decoding
banteg 1622abc
test: decode events without providing abi
banteg 1ec6214
refactor: simplify finding selector for ds-note
banteg 0c6666e
fix: black/flake8 clash
banteg 7952e32
feat: lazy fetching of contract types
banteg 8fdc8de
fix: catch decoding error
banteg 10c25df
fix: handle None contract types
antazoey 9e7f370
chore: Merge branch 'main' into feat/decode-events
antazoey 10d062a
chore: rm optional annotation
antazoey 4cdc91d
refactor: move stuff to ethereum and handle anon logs more
antazoey d876f3d
test: add simple tests
antazoey 1660f86
test: make fixture
antazoey c5ed093
test: tests for getting ds notes from receipt
antazoey 0185ab2
chore: del unneeded file
antazoey eafb03f
chore: merge main
antazoey e033050
fix: decode lib log optimization
antazoey 44eee65
refactor: move decode lib logs to ecosystem
antazoey 7d12143
chore: put back fixture use
antazoey 563b2cf
Merge branch 'main' into feat/decode-events
fubuloubu 903ba84
chore: merge main
antazoey 83536ff
chore: resolve merge conflicts
antazoey eddf2d3
fix: address regressions from merge
antazoey 69f9f22
refator: make list of abis
antazoey 3125cdd
chore: pr feedback
antazoey 25d9288
fix: base method param type correct
antazoey c22bb8a
fix: skip unfound contracttypes
antazoey 0b924bc
refactor: use return from pool map
antazoey fbc160c
refactor: make get_all method in contract cache
antazoey d1b8c89
fix: handle conversion and non contract types
antazoey afd7915
refactor: get contract type
banteg 659191a
feat: exit early for empty code
banteg 0901366
fix: exit early
banteg 2b6d167
refactor: get multiple
banteg 832616e
fix: decode in correct order
banteg 9a20e30
feat: add event selector to ecosystem
banteg ab67dd9
Merge branch 'main' into feat/decode-events
banteg 08323a6
refactor: make decode_logs method in ape_eth txn
antazoey 57bb7b3
fix: add abstract method
antazoey ccccb5c
Merge branch 'main' into feat/decode-events
antazoey 2861def
feat: rm get lib logs method
antazoey 25c12fb
chore: resolve conflicts
antazoey 5dc6276
fix: contract cache issue suddenly
antazoey c8d0e67
fix: cache before return
antazoey 56b272f
chore: Merge branch 'main' into feat/decode-events
antazoey 64cb17d
refactor: use * not for event abis
antazoey 55625f2
refactor: rename name to event_name
antazoey d320ded
feat: support transaction_index
antazoey cc0a676
fix: to int
banteg a6b3232
feat: handle raw responses
antazoey ae68813
test: improve test
antazoey 084f5af
fix: issue when not using web3 provideR
antazoey 8f223c4
fix: revert unneeded change
antazoey d2ee852
chore: new found mypy issues
antazoey 299b048
chore: rm unused import
antazoey e5b764b
feat: remove support for snake_case
antazoey 083ca81
Merge branch 'main' into feat/decode-events
antazoey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the variadic argument feels a bit weird here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fubuloubu wanted it and I was hesitant at first, but I kind of like how it feels by not having to wrap single ABIs in a list first.
But I can go either way still, let's reach a consensus
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a breaking change anyways, live life on the edge 🤘