@gearbox-protocol/deploy-tools 4.15.6 → 4.15.7
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/index.mjs +4 -5
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -352301,7 +352301,7 @@ var ZeroLT = class extends ProviderBase {
|
|
|
352301
352301
|
} else {
|
|
352302
352302
|
throw new Error(`acl not loaded: ${aclAddr.reason}`);
|
|
352303
352303
|
}
|
|
352304
|
-
this.#configurator = await this
|
|
352304
|
+
this.#configurator = await this.acl.owner();
|
|
352305
352305
|
this.logger?.debug("configurator: ", this.#configurator);
|
|
352306
352306
|
const [cmV2s, cmV3s] = await this.#loadCMs(opts.cm);
|
|
352307
352307
|
this.logger.debug(`managers: ${cmV2s.length} v2, ${cmV3s.length} v3`);
|
|
@@ -352388,8 +352388,8 @@ var ZeroLT = class extends ProviderBase {
|
|
|
352388
352388
|
await stopImpersonate(this.provider, cm.creditConfigurator);
|
|
352389
352389
|
await stopImpersonate(this.provider, this.configurator);
|
|
352390
352390
|
logger2.trace("zero lt self-checking");
|
|
352391
|
-
const
|
|
352392
|
-
if (
|
|
352391
|
+
const cms = await this.dc300.getCreditManagerData(cm.addr);
|
|
352392
|
+
if (cms.liquidationThresholds.some((lt) => lt > 1)) {
|
|
352393
352393
|
throw new Error("LT is not 1");
|
|
352394
352394
|
}
|
|
352395
352395
|
logger2.info("zero lt OK for CM " + cm.addr);
|
|
@@ -352464,7 +352464,6 @@ function launchForks() {
|
|
|
352464
352464
|
Authorization: `Bearer ${apiKey}`
|
|
352465
352465
|
},
|
|
352466
352466
|
body: JSON.stringify(r)
|
|
352467
|
-
}).catch(() => {
|
|
352468
352467
|
});
|
|
352469
352468
|
});
|
|
352470
352469
|
process.exit(0);
|
|
@@ -353522,7 +353521,7 @@ function getRenderer(opts) {
|
|
|
353522
353521
|
}
|
|
353523
353522
|
|
|
353524
353523
|
// package.json
|
|
353525
|
-
var version3 = "4.15.
|
|
353524
|
+
var version3 = "4.15.7";
|
|
353526
353525
|
|
|
353527
353526
|
// src/version.ts
|
|
353528
353527
|
var version_default = version3;
|