Skip to content

Commit

Permalink
chore: changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Apr 7, 2023
1 parent c374e38 commit 285b943
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .changeset/spotty-chefs-glow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

Fixed an issue where filtered logs that do not conform to the provided ABI would cause `getLogs`, `getFilterLogs` or `getFilterChanges` to throw – these logs are now skipped. See [#323](https://github.com/wagmi-dev/viem/issues/323#issuecomment-1499654052) for more info.
16 changes: 8 additions & 8 deletions src/actions/public/multicall.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ test('default', async () => {
"status": "success",
},
{
"result": 231481998553n,
"result": 231481998547n,
"status": "success",
},
{
Expand Down Expand Up @@ -81,7 +81,7 @@ test('args: allowFailure', async () => {
).toMatchInlineSnapshot(`
[
41119586940119550n,
231481998553n,
231481998547n,
10000n,
]
`)
Expand Down Expand Up @@ -115,7 +115,7 @@ test('args: multicallAddress', async () => {
"status": "success",
},
{
"result": 231481998553n,
"result": 231481998547n,
"status": "success",
},
{
Expand Down Expand Up @@ -168,7 +168,7 @@ describe('errors', async () => {
"status": "failure",
},
{
"result": 231481998553n,
"result": 231481998547n,
"status": "success",
},
{
Expand Down Expand Up @@ -222,7 +222,7 @@ describe('errors', async () => {
"status": "failure",
},
{
"result": 231481998553n,
"result": 231481998547n,
"status": "success",
},
{
Expand Down Expand Up @@ -276,7 +276,7 @@ describe('errors', async () => {
"status": "failure",
},
{
"result": 231481998553n,
"result": 231481998547n,
"status": "success",
},
{
Expand Down Expand Up @@ -321,11 +321,11 @@ describe('errors', async () => {
).toMatchInlineSnapshot(`
[
{
"result": 231481998553n,
"result": 231481998547n,
"status": "success",
},
{
"result": 231481998553n,
"result": 231481998547n,
"status": "success",
},
{
Expand Down

0 comments on commit 285b943

Please sign in to comment.