@pendle/sdk-boros 0.4.21 → 0.4.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/utils/index.js +2 -2
- package/package.json +1 -1
package/dist/utils/index.js
CHANGED
|
@@ -109,8 +109,8 @@ async function parseResponse(executeResponses, publicClient, waitForTransactionR
|
|
|
109
109
|
async function getTransactionReceipt(hash, publicClient, params) {
|
|
110
110
|
let rawReceipt = null;
|
|
111
111
|
let attempts = 0;
|
|
112
|
-
const maxAttempts = params?.maxAttempts ??
|
|
113
|
-
const pollInterval = params?.pollInterval ??
|
|
112
|
+
const maxAttempts = params?.maxAttempts ?? 30;
|
|
113
|
+
const pollInterval = params?.pollInterval ?? 100;
|
|
114
114
|
while (!rawReceipt && attempts < maxAttempts) {
|
|
115
115
|
rawReceipt = await publicClient.request({
|
|
116
116
|
method: 'eth_getTransactionReceipt',
|