Skip to content

Commit

Permalink
Temporarily disable caching
Browse files Browse the repository at this point in the history
  • Loading branch information
ezynda3 committed Mar 10, 2024
1 parent ade8be3 commit 2189cdc
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/lib/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,14 @@ export const getContractInformation = async (
const contractData = await response.json()

// Update the database
consola.info('Updating db cache')
await db.insert(contracts).values({
id: `${chainId}:${address}`,
name: contractData.name,
address,
abi: JSON.stringify(contractData.abi),
chainId,
})
// consola.info('Updating db cache')
// await db.insert(contracts).values({
// id: `${chainId}:${address}`,
// name: contractData.name,
// address,
// abi: JSON.stringify(contractData.abi),
// chainId,
// })

sqlite.close()
return {
Expand Down

0 comments on commit 2189cdc

Please sign in to comment.