Skip to content

Commit

Permalink
chore: resolve pr comment
Browse files Browse the repository at this point in the history
  • Loading branch information
royvardhan committed Dec 11, 2024
1 parent 484f62b commit ddb525b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 29 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ yarn-error.log*
# Ponder
/generated/
/.ponder/
ponder-env.d.ts
27 changes: 0 additions & 27 deletions ponder-env.d.ts

This file was deleted.

2 changes: 1 addition & 1 deletion ponder.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export const userDataTable = onchainTable("UserData", (t) => ({
id: t.text().primaryKey().notNull(),
linkedToTokenId: t.bigint().notNull(),
isMainWallet: t.boolean().notNull(),
chainId: t.bigint().notNull(),
chainId: t.integer().notNull(),
}));

export const allProtocolsTable = onchainTable("AllProtocols", (t) => ({
Expand Down
2 changes: 1 addition & 1 deletion src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export async function getOrCreateUserData(
id: `${address}-${chainId}`,
linkedToTokenId: tokenId,
isMainWallet: address === mainWallet,
chainId: BigInt(chainId),
chainId: chainId,
});
}

Expand Down

0 comments on commit ddb525b

Please sign in to comment.