@gearbox-protocol/deploy-tools 5.11.8 → 5.11.9
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 +24 -18
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -414255,7 +414255,7 @@ function getRenderer(opts) {
|
|
|
414255
414255
|
var package_default = {
|
|
414256
414256
|
name: "@gearbox-protocol/deploy-tools",
|
|
414257
414257
|
description: "Gearbox deploy tools",
|
|
414258
|
-
version: "5.11.
|
|
414258
|
+
version: "5.11.9",
|
|
414259
414259
|
homepage: "https://gearbox.fi",
|
|
414260
414260
|
keywords: [
|
|
414261
414261
|
"gearbox"
|
|
@@ -414423,23 +414423,29 @@ function sdkExample() {
|
|
|
414423
414423
|
sharedDir = "."
|
|
414424
414424
|
} = opts;
|
|
414425
414425
|
await mkdir3(path11.resolve(sharedDir, "deploy-state"), { recursive: true });
|
|
414426
|
-
const
|
|
414427
|
-
await
|
|
414428
|
-
|
|
414429
|
-
|
|
414430
|
-
|
|
414431
|
-
|
|
414432
|
-
|
|
414433
|
-
|
|
414434
|
-
|
|
414435
|
-
|
|
414436
|
-
|
|
414437
|
-
|
|
414438
|
-
|
|
414439
|
-
|
|
414440
|
-
|
|
414441
|
-
|
|
414442
|
-
|
|
414426
|
+
const anvil = createAnvilClient({ transport: http(anvilUrl) });
|
|
414427
|
+
await anvil.setBlockTimestampInterval({ interval: 0 });
|
|
414428
|
+
try {
|
|
414429
|
+
const sdkExample2 = new SDKExample(log_default);
|
|
414430
|
+
await sdkExample2.run({
|
|
414431
|
+
addressProvider,
|
|
414432
|
+
addressProviderJson,
|
|
414433
|
+
marketConfigurators: marketConfigurators ?? [],
|
|
414434
|
+
anvilUrl,
|
|
414435
|
+
outFile: path11.resolve(
|
|
414436
|
+
sharedDir,
|
|
414437
|
+
"deploy-state",
|
|
414438
|
+
"stateAfter.human.json"
|
|
414439
|
+
)
|
|
414440
|
+
});
|
|
414441
|
+
await writeFile8(
|
|
414442
|
+
path11.resolve(sharedDir, "deploy-state", "stateAfter.json"),
|
|
414443
|
+
json_stringify(sdkExample2.sdk.state),
|
|
414444
|
+
"utf-8"
|
|
414445
|
+
);
|
|
414446
|
+
} finally {
|
|
414447
|
+
await anvil.removeBlockTimestampInterval();
|
|
414448
|
+
}
|
|
414443
414449
|
log_default.info("done");
|
|
414444
414450
|
});
|
|
414445
414451
|
}
|