diff --git a/package.json b/package.json index 764e267c..94cab29f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@across-protocol/sdk", "author": "UMA Team", - "version": "3.2.12", + "version": "3.2.13", "license": "AGPL-3.0", "homepage": "https://docs.across.to/reference/sdk", "files": [ diff --git a/src/clients/BundleDataClient/BundleDataClient.ts b/src/clients/BundleDataClient/BundleDataClient.ts index f825c1c2..123d753a 100644 --- a/src/clients/BundleDataClient/BundleDataClient.ts +++ b/src/clients/BundleDataClient/BundleDataClient.ts @@ -1316,7 +1316,10 @@ export class BundleDataClient { ]; // Sanity checks: assert(endTime >= startTime, "End time should be greater than start time."); - assert(startTime > 0, "Start time should be greater than 0."); + assert( + startBlockForChain === 0 || startTime > 0, + "Start timestamp must be greater than 0 if the start block is greater than 0." + ); return [chainId, [startTime, endTime]]; }) ).filter(isDefined)