@gearbox-protocol/devops
Advanced tools
Comparing version 0.0.18 to 0.0.19
@@ -48,3 +48,3 @@ "use strict"; | ||
case 0: return [4 /*yield*/, hardhat_1.ethers.getSigners()]; | ||
case 1: return [4 /*yield*/, (_a.sent()).getChainId()]; | ||
case 1: return [4 /*yield*/, (_a.sent())[0].getChainId()]; | ||
case 2: | ||
@@ -51,0 +51,0 @@ chainId = _a.sent(); |
{ | ||
"name": "@gearbox-protocol/devops", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"description": "Gearbox Devops for SC development", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -10,3 +10,3 @@ // @ts-ignore | ||
// Gets accounts | ||
const chainId = await ((await ethers.getSigners()) as Signer).getChainId(); | ||
const chainId = await ((await ethers.getSigners())[0] as Signer).getChainId(); | ||
@@ -13,0 +13,0 @@ return chainId === 1337 ? 0 : chainId === 42 ? 2 : 4; |
66440