Skip to content

Commit

Permalink
fix: merge fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dhvanipa committed Mar 22, 2024
1 parent 95b255a commit 3724576
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"execa": "^5.1.1",
"p-queue": "6.6.2",
"p-retry": "4.6.2",
"prettier": "^3.2.5",
"prettier": "3.2.5",
"prettier-plugin-solidity": "1.3.1",
"viem": "2.7.12"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/store-sync/src/createStoreSync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,8 @@ export async function createStoreSync<config extends StoreConfig = StoreConfig>(
debug("fetching tx receipt for block", lastBlock.blockNumber);
const receipt = await publicClient.getTransactionReceipt({ hash: tx });
return lastBlock.blockNumber >= receipt.blockNumber;
} catch (error: unknown) {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
} catch (error: any) {
if (error instanceof TransactionReceiptNotFoundError || error.name === "TransactionReceiptNotFoundError") {
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3724576

Please sign in to comment.