We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6102b5d commit 766fee5Copy full SHA for 766fee5
src/server/schemas/event.ts
@@ -43,13 +43,13 @@ export function toContractEventV4Schema(
43
44
// backwards compatibility of BigInt(v5) to BigNumber(v4)
45
const data: Record<string, unknown> = {};
46
- Object.keys(eventV5.args).forEach((key) => {
+ for (const key of Object.keys(eventV5.args)) {
47
let value = eventV5.args[key];
48
if (typeof value === "bigint") {
49
value = BigNumber.from(value.toString());
50
}
51
data[key] = value;
52
- });
+ }
53
54
return {
55
eventName,
0 commit comments