@gearbox-protocol/deploy-tools 1.6.0 → 1.6.1
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.
- package/dist/index.js +13 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -372403,7 +372403,9 @@ var require_GearboxAddressTree = __commonJS({
|
|
|
372403
372403
|
__privateAdd(this, _visited, /* @__PURE__ */ new Map());
|
|
372404
372404
|
__privateAdd(this, _create2, /* @__PURE__ */ new Map());
|
|
372405
372405
|
__privateSet(this, _provider5, new ethers_1.JsonRpcProvider(options.rpcUrl, void 0, {
|
|
372406
|
-
staticNetwork: true
|
|
372406
|
+
staticNetwork: true,
|
|
372407
|
+
batchMaxCount: 1,
|
|
372408
|
+
cacheTimeout: -1
|
|
372407
372409
|
}));
|
|
372408
372410
|
__privateSet(this, _outFile, node_path_1.default.resolve(options.sandboxDir, "tree.json"));
|
|
372409
372411
|
__privateSet(this, _etherscan, new EtherscanVerifier_1.EtherscanVerifier(options));
|
|
@@ -387761,7 +387763,9 @@ var require_ZeroLT = __commonJS({
|
|
|
387761
387763
|
__privateAdd(this, _configrator, void 0);
|
|
387762
387764
|
__privateAdd(this, _provider5, void 0);
|
|
387763
387765
|
__privateSet(this, _provider5, new ethers_1.JsonRpcProvider(opts.rpcUrl, void 0, {
|
|
387764
|
-
staticNetwork: true
|
|
387766
|
+
staticNetwork: true,
|
|
387767
|
+
batchMaxCount: 1,
|
|
387768
|
+
cacheTimeout: -1
|
|
387765
387769
|
}));
|
|
387766
387770
|
}
|
|
387767
387771
|
async setLtZero() {
|
|
@@ -428697,7 +428701,7 @@ var require_package3 = __commonJS({
|
|
|
428697
428701
|
module2.exports = {
|
|
428698
428702
|
name: "@gearbox-protocol/deploy-tools",
|
|
428699
428703
|
description: "Gearbox deploy tools",
|
|
428700
|
-
version: "1.6.0
|
|
428704
|
+
version: "1.6.0",
|
|
428701
428705
|
homepage: "https://gearbox.fi",
|
|
428702
428706
|
keywords: [
|
|
428703
428707
|
"gearbox"
|
|
@@ -446511,7 +446515,9 @@ function updateEpoch() {
|
|
|
446511
446515
|
).action(async (options) => {
|
|
446512
446516
|
const { anvilUrl, addressProvider } = options;
|
|
446513
446517
|
const provider = new JsonRpcProvider(anvilUrl, void 0, {
|
|
446514
|
-
staticNetwork: true
|
|
446518
|
+
staticNetwork: true,
|
|
446519
|
+
batchMaxCount: 1,
|
|
446520
|
+
cacheTimeout: -1
|
|
446515
446521
|
});
|
|
446516
446522
|
const ap = import_typechain.IAddressProviderV3__factory.connect(addressProvider, provider);
|
|
446517
446523
|
const dc300Addr = await ap.getAddressOrRevert(
|
|
@@ -446591,7 +446597,9 @@ function warpTime() {
|
|
|
446591
446597
|
`attempting timewarp on ${anvilUrl} to ${timestamp} (${hex})`
|
|
446592
446598
|
);
|
|
446593
446599
|
const provider = new JsonRpcProvider(anvilUrl, void 0, {
|
|
446594
|
-
staticNetwork: true
|
|
446600
|
+
staticNetwork: true,
|
|
446601
|
+
batchMaxCount: 1,
|
|
446602
|
+
cacheTimeout: -1
|
|
446595
446603
|
});
|
|
446596
446604
|
const resp = await provider.send("anvil_setNextBlockTimestamp", [hex]);
|
|
446597
446605
|
console.log(resp);
|