@gearbox-protocol/deploy-tools 5.11.12 → 5.11.13

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.
Files changed (2) hide show
  1. package/dist/index.mjs +4 -10
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -414003,8 +414003,6 @@ function openAccounts() {
414003
414003
  "SHARED_DIR"
414004
414004
  )
414005
414005
  ).addOption(new Option("--nexo", "try to open accounts in Nexo")).addOption(
414006
- new Option("--automine <interval>", "optional automine interval")
414007
- ).addOption(
414008
414006
  new Option("--anvil-url <url>", "anvil rpc url").env("ANVIL_URL")
414009
414007
  ).action(async (opts) => {
414010
414008
  log_default.info("starting sdk v3.1 example");
@@ -414014,8 +414012,7 @@ function openAccounts() {
414014
414012
  anvilUrl = "http://127.0.0.1:8545",
414015
414013
  sharedDir = ".",
414016
414014
  nexo,
414017
- castBin = "cast",
414018
- automine: automineIntervalS = "0"
414015
+ castBin = "cast"
414019
414016
  } = opts;
414020
414017
  await mkdir2(path9.resolve(sharedDir, "deploy-state"), { recursive: true });
414021
414018
  const sdkExample2 = new SDKExample(log_default);
@@ -414043,12 +414040,9 @@ function openAccounts() {
414043
414040
  });
414044
414041
  log_default.debug(`faucet address: ${faucetAddr}`);
414045
414042
  const anvil = createAnvilClient({ transport: http(anvilUrl) });
414046
- const automineInterval = parseInt(automineIntervalS, 10);
414047
414043
  const automine = await anvil.getAutomine();
414048
- await anvil.setBlockTimestampInterval({ interval: automineInterval });
414049
- log_default.debug(
414050
- `setting block timestamp interval, automine: ${automine}, interval ${automineInterval}`
414051
- );
414044
+ await anvil.setBlockTimestampInterval({ interval: 0 });
414045
+ log_default.debug(`setting block timestamp interval, automine: ${automine}`);
414052
414046
  const borrowerKey = generatePrivateKey();
414053
414047
  const borrower = privateKeyToAccount(borrowerKey);
414054
414048
  await anvil.setBalance({
@@ -414223,7 +414217,7 @@ function getRenderer(opts) {
414223
414217
  var package_default = {
414224
414218
  name: "@gearbox-protocol/deploy-tools",
414225
414219
  description: "Gearbox deploy tools",
414226
- version: "5.11.12",
414220
+ version: "5.11.13",
414227
414221
  homepage: "https://gearbox.fi",
414228
414222
  keywords: [
414229
414223
  "gearbox"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/deploy-tools",
3
3
  "description": "Gearbox deploy tools",
4
- "version": "5.11.12",
4
+ "version": "5.11.13",
5
5
  "homepage": "https://gearbox.fi",
6
6
  "keywords": [
7
7
  "gearbox"