-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve type checking for resolvedAddress in configAndIndexingFunctio…
…ns (#1328) * Improve type checking for resolvedAddress in configAndIndexingFunctions - Add check to ensure resolvedAddress is not an array - Remove unnecessary type assertion when spreading resolvedAddress * Fix address handling and add test for multiple addresses - Correct address2 value in test file - Add new test case for handling multiple addresses - Update buildConfigAndIndexingFunctions to support array of addresses * Fixup tests * chore: changeset --------- Co-authored-by: Kyle Scott <kyscott@umich.edu>
- Loading branch information
1 parent
48040c5
commit 6df44c9
Showing
3 changed files
with
52 additions
and
5 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"ponder": patch | ||
--- | ||
|
||
Fixed a bug introduced in v0.8.0 with using an array of addresses in `ponder.config.ts`. |
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