Skip to content

Commit 66337f2

Browse files
committed
Use strict decode to ensure params
1 parent 5cd7d62 commit 66337f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/transaction-decoder/src/decoding/abi-decode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ export const decodeEventLog = (
196196
Effect.gen(function* () {
197197
const { eventName, args = {} } = yield* Effect.try({
198198
try: () =>
199-
viemDecodeEventLog({ abi, topics: topics as [] | [`0x${string}`, ...`0x${string}`[]], data, strict: false }),
199+
viemDecodeEventLog({ abi, topics: topics as [] | [`0x${string}`, ...`0x${string}`[]], data, strict: true }),
200200
catch: (error) => new DecodeError(`Could not decode event log`, error),
201201
})
202202

0 commit comments

Comments
 (0)