This repository was archived by the owner on Mar 5, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Fix and error when trying to get past events by calling contract.getPastEvents or contract.events.allEvents() if there is no matching events.
#6647
Merged
Muhammad-Altabba
merged 7 commits into
4.x
from
6644-calling-contractgetpastevents-or-contracteventsallevents-throws-error-subscriptionerror-failed-to-get-past-events-if-there-is-no-matching-events
Dec 12, 2023
Merged
Changes from 3 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
3904eae
handle the case when getPastEvents does not have any event to return
Muhammad-Altabba b913075
add unit test for contract log subscription
Muhammad-Altabba 415f85d
update CHANGELOG.md
Muhammad-Altabba cbcd4b3
update according to review points
Muhammad-Altabba 50883ff
relocate a block back
Muhammad-Altabba 9d08b3a
Merge branch '4.x' into 6644-calling-contractgetpastevents-or-contrac…
Muhammad-Altabba 93d340a
update jest at web3-eth-ens
Muhammad-Altabba 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
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.
Uh oh!
There was an error while loading. Please reload this page.