Skip to content

Commit b1c0a4a

Browse files
committed
chore: update viem to version 2.26.5 and adjust transaction receipt retry delay
1 parent 96af5be commit b1c0a4a

File tree

3 files changed

+70
-65
lines changed

3 files changed

+70
-65
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@
109109
"tsup": "^8.4.0",
110110
"typedoc": "^0.28.2",
111111
"typescript": "^5.8.3",
112+
"viem": "^2.26.5",
112113
"vitest": "^3.1.1"
113114
},
114115
"peerDependencies": {

pnpm-lock.yaml

Lines changed: 68 additions & 64 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/utils/viem.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ export async function waitForTransactionReceiptWithRetry(
227227
client: PublicClient,
228228
hash: Address,
229229
): Promise<TransactionReceipt> {
230-
return backOff(() => client.waitForTransactionReceipt({ hash }), {
230+
return backOff(() => client.waitForTransactionReceipt({ hash, retryDelay: 100 }), {
231231
retry: (e, i) => {
232232
log("retrying waitForTransactionReceipt", { hash, i, e });
233233
return true;

0 commit comments

Comments
 (0)