@curvefi/api 2.53.10 → 2.53.11
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/lib/utils.js +3 -0
- package/package.json +1 -1
package/lib/utils.js
CHANGED
|
@@ -706,6 +706,9 @@ export var getGasPriceFromL1 = function () { return __awaiter(void 0, void 0, vo
|
|
|
706
706
|
return __generator(this, function (_a) {
|
|
707
707
|
switch (_a.label) {
|
|
708
708
|
case 0:
|
|
709
|
+
if (curve.chainId === 42161) {
|
|
710
|
+
return [2 /*return*/, 0.1 * 1e9]; // constant 0.1 gwei
|
|
711
|
+
}
|
|
709
712
|
if (!L2Networks.includes(curve.chainId)) return [3 /*break*/, 2];
|
|
710
713
|
return [4 /*yield*/, curve.contracts[curve.constants.ALIASES.gas_oracle].contract.l1BaseFee()];
|
|
711
714
|
case 1:
|