This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 791
feat(etherscan): add caching #1108
Merged
Merged
Changes from 11 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
c2ac65d
feat(etherscan): add caching
gakonst 549d913
feat: write to cache if not exists
gakonst 8d11bac
fix: flush `BufWriter`
onbjerg b1c5791
fix: fix serialization
onbjerg 05d3c28
fix: read cache without truncating the file
onbjerg bfc28bf
chore: remove comments
onbjerg 1cc734f
feat: rate limit errors
onbjerg a4179e0
test: fix tests
onbjerg b44ab84
test: fix tests
onbjerg 0577072
fix: don't fail if cache doesn't exist
onbjerg a625248
fix: catch all rate limits
onbjerg d5bf785
feat: add ttl
onbjerg 18865c0
feat: also cache when contracts are not verified
onbjerg 0a30a7e
chore: clippy
gakonst 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 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 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 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 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
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.
we have to dupe the check here cus it deserializes
message
as a string.. really annoying but no way around it reallyif etherscan would give me access i would make their api better