@gearbox-protocol/deploy-tools 5.10.2 → 5.10.4

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 +7 -11
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -415364,16 +415364,12 @@ async function executeJSON({
415364
415364
  cacheTime: 0
415365
415365
  }).extend(testActions({ mode: "anvil" }));
415366
415366
  const marketConfigurator = txs[0].to;
415367
- const tx0K = typeof txs[0] === "object" ? Object.keys(txs[0]) : [];
415368
- console.log({
415369
- marketConfigurator,
415370
- marketConfiguratorT: typeof marketConfigurator,
415371
- tx0: txs[0],
415372
- tx0T: typeof txs[0],
415373
- tx0K,
415374
- t: typeof txs
415375
- });
415376
- log_default.debug("Market configurator: ", marketConfigurator);
415367
+ if (!isAddress(marketConfigurator, { strict: false })) {
415368
+ throw new Error(
415369
+ `Market configurator "${marketConfigurator}" is not an address`
415370
+ );
415371
+ }
415372
+ log_default.debug(`Market configurator: ${marketConfigurator}`);
415377
415373
  const owner = await client.readContract({
415378
415374
  address: marketConfigurator,
415379
415375
  abi: parseAbi(["function admin() view returns (address)"]),
@@ -415658,7 +415654,7 @@ function getRenderer(opts) {
415658
415654
  var package_default = {
415659
415655
  name: "@gearbox-protocol/deploy-tools",
415660
415656
  description: "Gearbox deploy tools",
415661
- version: "5.10.2",
415657
+ version: "5.10.4",
415662
415658
  homepage: "https://gearbox.fi",
415663
415659
  keywords: [
415664
415660
  "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.10.2",
4
+ "version": "5.10.4",
5
5
  "homepage": "https://gearbox.fi",
6
6
  "keywords": [
7
7
  "gearbox"