Skip to content

Commit

Permalink
Update skale-contracts-ethers-v6 to version 1.0.2-develop.50 and refa…
Browse files Browse the repository at this point in the history
…ctor code for improved clarity
  • Loading branch information
yavrsky committed Jan 15, 2025
1 parent c4151f9 commit eeac44f
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@safe-global/api-kit": "^2.4.1",
"@safe-global/protocol-kit": "^5.0.1",
"@safe-global/safe-core-sdk-types": "^5.0.1",
"@skalenetwork/skale-contracts-ethers-v6": "^1.0.2-develop.47",
"@skalenetwork/skale-contracts-ethers-v6": "^1.0.2-develop.50",
"axios": "^1.4.0",
"ethereumjs-util": "^7.1.4",
"semaphore-async-await": "^1.5.1"
Expand Down
2 changes: 1 addition & 1 deletion src/submitters/safe-to-ima-submitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ export class SafeToImaSubmitter extends SafeSubmitter {
this.messageProxyForMainnet =
await this.imaInstance.getContract("MessageProxyForMainnet");
}
return this.messageProxyForMainnet!;
return this.messageProxyForMainnet;
}
}
2 changes: 1 addition & 1 deletion src/upgrader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export abstract class Upgrader {
}

async getOwner() {
const proxyAddresses: string[] = await Promise.all(
const proxyAddresses = await Promise.all(
this.contractNamesToUpgrade.map(
(contract) => this.instance.getContractAddress(contract),
this
Expand Down
25 changes: 20 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,11 @@
resolved "https://registry.yarnpkg.com/@openzeppelin/contracts-upgradeable/-/contracts-upgradeable-4.9.6.tgz#38b21708a719da647de4bb0e4802ee235a0d24df"
integrity sha512-m4iHazOsOCv1DgM7eD7GupTJ+NFVujRZt1wzddDPSVGpWdKq1SKkla5htKG7+IS4d2XOCtzkUNwRZ7Vq5aEUMA==

"@renovatebot/pep440@^3.0.20":
version "3.1.0"
resolved "https://registry.yarnpkg.com/@renovatebot/pep440/-/pep440-3.1.0.tgz#05667d19b2fb865dee4ebf114dc89765f132c4b1"
integrity sha512-Tx/wEv92j3HmFwlqfNp8Pq/BMJPVk8c5so/Ae8eHccceBeeZx4QDuLf6RYfXJ6kvw8H05K1KPoZSsigLQA7Rqg==

"@safe-global/api-kit@^2.4.1":
version "2.5.1"
resolved "https://registry.yarnpkg.com/@safe-global/api-kit/-/api-kit-2.5.1.tgz#621e814a2a1a057d594931b2b0184c8061e3b2cb"
Expand Down Expand Up @@ -596,13 +601,23 @@
"@noble/hashes" "~1.5.0"
"@scure/base" "~1.1.8"

"@skalenetwork/skale-contracts-ethers-v6@^1.0.2-develop.47":
version "1.0.2-develop.48"
resolved "https://registry.yarnpkg.com/@skalenetwork/skale-contracts-ethers-v6/-/skale-contracts-ethers-v6-1.0.2-develop.48.tgz#1ae0b6bc96cb9c570a0b168622a085bc1fac9c23"
integrity sha512-UmWDse/qzYBiYmma4UhnV+VTuG714y5Xka+KFX6ZbdB46yfeAG6hlZl6wN/G3yFvQYApt84m8yyoZUIxtMSWiw==
"@skalenetwork/skale-contracts-ethers-v6@^1.0.2-develop.50":
version "1.0.2-develop.50"
resolved "https://registry.yarnpkg.com/@skalenetwork/skale-contracts-ethers-v6/-/skale-contracts-ethers-v6-1.0.2-develop.50.tgz#1a4a5ee7a30b4b51f72a58ce540a0ed5bbe354dd"
integrity sha512-L4Bl+dVZGP6HC3Oect0VOZxvy8SnoJZloHGMhkeqQoHKPixln9Pgsw+Ruh9p6Y/pGHD2z9mIQwJbDWhzE/K1Hg==
dependencies:
"@skalenetwork/skale-contracts" "1.0.2-develop.50"
ethers "^6.13.4"

"@skalenetwork/[email protected]":
version "1.0.2-develop.50"
resolved "https://registry.yarnpkg.com/@skalenetwork/skale-contracts/-/skale-contracts-1.0.2-develop.50.tgz#70cfd201150369fceb18e78825befe8d6cac9cf8"
integrity sha512-hSdctlxBz1XJFyyoCZ+KsTCt+Gr4YUI9RniiZi9fTK5R4hW0pXAJRFXd1RrntSAWnCN7LoVzeKdKkAUDq88SXw==
dependencies:
"@renovatebot/pep440" "^3.0.20"
axios "^1.4.0"
semver "^7.6.0"

"@tsconfig/node10@^1.0.7":
version "1.0.8"
resolved "https://registry.yarnpkg.com/@tsconfig/node10/-/node10-1.0.8.tgz#c1e4e80d6f964fbecb3359c43bd48b40f7cadad9"
Expand Down Expand Up @@ -2298,7 +2313,7 @@ semaphore-async-await@^1.5.1:
resolved "https://registry.yarnpkg.com/semaphore-async-await/-/semaphore-async-await-1.5.1.tgz#857bef5e3644601ca4b9570b87e9df5ca12974fa"
integrity sha512-b/ptP11hETwYWpeilHXXQiV5UJNJl7ZWWooKRE5eBIYWoom6dZ0SluCIdCtKycsMtZgKWE01/qAw6jblw1YVhg==

semver@^7.5.4, semver@^7.6.2, semver@^7.6.3:
semver@^7.5.4, semver@^7.6.0, semver@^7.6.2, semver@^7.6.3:
version "7.6.3"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.3.tgz#980f7b5550bc175fb4dc09403085627f9eb33143"
integrity sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==
Expand Down

0 comments on commit eeac44f

Please sign in to comment.