@gearbox-protocol/deploy-tools 1.5.1 → 1.5.3

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.js +14 -10
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -276989,7 +276989,7 @@ var require_package2 = __commonJS({
276989
276989
  module2.exports = {
276990
276990
  name: "@gearbox-protocol/deploy-tools",
276991
276991
  description: "Gearbox deploy tools",
276992
- version: "1.0.0",
276992
+ version: "1.5.2",
276993
276993
  homepage: "https://gearbox.fi",
276994
276994
  keywords: [
276995
276995
  "gearbox"
@@ -277723,7 +277723,7 @@ var import_bytecode_utils = __toESM(require_main());
277723
277723
  var import_ethers = __toESM(require_lib39());
277724
277724
  var import_sortedUniqBy = __toESM(require_sortedUniqBy());
277725
277725
  var import_p_retry = __toESM(require_p_retry());
277726
- var CREATE2_FACTORY_ADDR = "0x59b7B8Dd9E6e1F934C9c3Def4a1Eb69Bc17Ec9cc";
277726
+ var CREATE2_FACTORY_ADDR = "0x45d146CAA25aa565Cfc7434926633f4F1C97c873";
277727
277727
  var create2factory = new import_ethers.ethers.utils.Interface([
277728
277728
  {
277729
277729
  inputs: [
@@ -277992,13 +277992,17 @@ checkoutAudit_fn = async function(repo, audit) {
277992
277992
  const committish = audit.type === "commit" ? audit.commit : audit.branch;
277993
277993
  const dest = import_node_path2.default.resolve(__privateGet(this, _sandboxDir), repo, committish);
277994
277994
  (0, import_node_fs.mkdirSync)(dest, { recursive: true });
277995
- await cloneRepo({
277996
- repo: `@gearbox-protocol/${repo}`,
277997
- sandboxDir: __privateGet(this, _sandboxDir),
277998
- commit: committish,
277999
- destDir: import_node_path2.default.join(repo, committish)
278000
- });
278001
- __privateGet(this, _logger).debug(`Checked out ${repo}@${committish} to ${dest}`);
277995
+ try {
277996
+ await cloneRepo({
277997
+ repo: `@gearbox-protocol/${repo}`,
277998
+ sandboxDir: __privateGet(this, _sandboxDir),
277999
+ commit: committish,
278000
+ destDir: import_node_path2.default.join(repo, committish)
278001
+ });
278002
+ __privateGet(this, _logger).debug(`Checked out ${repo}@${committish} to ${dest}`);
278003
+ } catch (e) {
278004
+ __privateGet(this, _logger).warn(`checkout failed for ${repo}@${committish}: ${e}`);
278005
+ }
278002
278006
  };
278003
278007
 
278004
278008
  // src/safe-base.ts
@@ -278622,7 +278626,7 @@ impersonateSafe_fn = async function() {
278622
278626
  data: addOwnerTx.data.data
278623
278627
  });
278624
278628
  const receipt = await this.provider.getTransactionReceipt(hash);
278625
- if (!receipt.status) {
278629
+ if ((receipt == null ? void 0 : receipt.status) === 0) {
278626
278630
  throw new Error("failed to add owner to safe");
278627
278631
  }
278628
278632
  const owners = await this.safe.getOwners();
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": "1.5.1",
4
+ "version": "1.5.3",
5
5
  "homepage": "https://gearbox.fi",
6
6
  "keywords": [
7
7
  "gearbox"