boostxyz / boost-protocol

A permissionless, trustless, and decentralized growth engine for protocol and application developers. It enables developers to bootstrap their projects by leveraging the power of community and the network effect.
https://boost-protocol.vercel.app
GNU General Public License v3.0
7 stars 3 forks source link

[ADHOC] Fix `DecodeLogTopicsMismatch` Error #240

Closed jonathandiep closed 2 weeks ago

jonathandiep commented 2 weeks ago

Description

We try to decode the logs in a tx, but only pass in a specific set of abi. Since most txs have a ton of other events, viem throws a DecodeLogTopicsMismatch error

This PR adds a filter to those logs so that we only decode logs that we care about in the action step validation and action claimant

changeset-bot[bot] commented 2 weeks ago

🦋 Changeset detected

Latest commit: ef2ce797538c3009ba05b904764944db738c0400

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | ------------- | ----- | | @boostxyz/sdk | Patch | | @boostxyz/cli | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

sammccord commented 2 weeks ago
Warnings
:warning: By using the `[ADHOC]` title prefix, you are bypassing best practice protections.

Generated by :no_entry_sign: dangerJS against ef2ce797538c3009ba05b904764944db738c0400