@gearbox-protocol/sdk 9.12.7 → 9.12.8
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.
|
@@ -222,6 +222,9 @@ class RedstoneUpdater extends import_base.SDKConstruct {
|
|
|
222
222
|
ignoreMissingFeed: this.#ignoreMissingFeeds,
|
|
223
223
|
enableEnhancedLogs: this.#enableLogging
|
|
224
224
|
});
|
|
225
|
+
wrapper.setMetadataTimestamp(
|
|
226
|
+
this.#historicalTimestampMs ?? Number(this.sdk.timestamp) * 1e3
|
|
227
|
+
);
|
|
225
228
|
const dataPayload = await (0, import_utils.retry)(
|
|
226
229
|
() => wrapper.prepareRedstonePayload(true),
|
|
227
230
|
{ attempts: 5, interval: this.#historicalTimestampMs ? 30500 : 250 }
|
|
@@ -200,6 +200,9 @@ class RedstoneUpdater extends SDKConstruct {
|
|
|
200
200
|
ignoreMissingFeed: this.#ignoreMissingFeeds,
|
|
201
201
|
enableEnhancedLogs: this.#enableLogging
|
|
202
202
|
});
|
|
203
|
+
wrapper.setMetadataTimestamp(
|
|
204
|
+
this.#historicalTimestampMs ?? Number(this.sdk.timestamp) * 1e3
|
|
205
|
+
);
|
|
203
206
|
const dataPayload = await retry(
|
|
204
207
|
() => wrapper.prepareRedstonePayload(true),
|
|
205
208
|
{ attempts: 5, interval: this.#historicalTimestampMs ? 30500 : 250 }
|