@gearbox-protocol/deploy-tools 5.28.5 → 5.28.6
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.mjs +9 -19
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -429540,6 +429540,12 @@ async function migrateFaucet(sdk, faucet) {
|
|
|
429540
429540
|
} catch (e) {
|
|
429541
429541
|
sdk.logger?.error(`faucet migration failed: ${e}`);
|
|
429542
429542
|
}
|
|
429543
|
+
return sdk.provider.publicClient.readContract({
|
|
429544
|
+
abi: iAddressProviderV310Abi,
|
|
429545
|
+
address: sdk.addressProvider.address,
|
|
429546
|
+
functionName: "getAddressOrRevert",
|
|
429547
|
+
args: [stringToHex("FAUCET", { size: 32 }), 0n]
|
|
429548
|
+
});
|
|
429543
429549
|
}
|
|
429544
429550
|
|
|
429545
429551
|
// ../../node_modules/@gearbox-protocol/sdk/dist/esm/dev/setLTZero.js
|
|
@@ -436601,23 +436607,7 @@ function openAccounts() {
|
|
|
436601
436607
|
adapters: AdaptersPlugin
|
|
436602
436608
|
}
|
|
436603
436609
|
});
|
|
436604
|
-
await
|
|
436605
|
-
path9.resolve(sharedDir, "deploy-state", "stateAfter.human.json"),
|
|
436606
|
-
json_stringify(sdk.stateHuman()),
|
|
436607
|
-
"utf-8"
|
|
436608
|
-
);
|
|
436609
|
-
await writeFile5(
|
|
436610
|
-
path9.resolve(sharedDir, "deploy-state", "stateAfter.json"),
|
|
436611
|
-
json_stringify(sdk.state),
|
|
436612
|
-
"utf-8"
|
|
436613
|
-
);
|
|
436614
|
-
await migrateFaucet(sdk);
|
|
436615
|
-
const faucetAddr = await sdk.provider.publicClient.readContract({
|
|
436616
|
-
address: ADDRESS_PROVIDER[sdk.provider.networkType],
|
|
436617
|
-
abi: iAddressProviderV310Abi,
|
|
436618
|
-
functionName: "getAddressOrRevert",
|
|
436619
|
-
args: [stringToHex("FAUCET", { size: 32 }), 0n]
|
|
436620
|
-
});
|
|
436610
|
+
const faucetAddr = await migrateFaucet(sdk);
|
|
436621
436611
|
log_default.debug(`faucet address: ${faucetAddr}`);
|
|
436622
436612
|
const anvil = createAnvilClient({ transport: http(anvilUrl) });
|
|
436623
436613
|
const automine = await anvil.getAutomine();
|
|
@@ -436788,7 +436778,7 @@ function getRenderer(opts) {
|
|
|
436788
436778
|
var package_default = {
|
|
436789
436779
|
name: "@gearbox-protocol/deploy-tools",
|
|
436790
436780
|
description: "Gearbox deploy tools",
|
|
436791
|
-
version: "5.28.
|
|
436781
|
+
version: "5.28.6",
|
|
436792
436782
|
homepage: "https://gearbox.fi",
|
|
436793
436783
|
keywords: [
|
|
436794
436784
|
"gearbox"
|
|
@@ -436831,7 +436821,7 @@ var package_default = {
|
|
|
436831
436821
|
"@gearbox-protocol/deploy-tools-node": "0.0.0",
|
|
436832
436822
|
"@gearbox-protocol/deploy-tools-shared": "0.0.0",
|
|
436833
436823
|
"@gearbox-protocol/deploy-tools-types": "0.0.0",
|
|
436834
|
-
"@gearbox-protocol/sdk": "^4.1.
|
|
436824
|
+
"@gearbox-protocol/sdk": "^4.1.2",
|
|
436835
436825
|
"@gearbox-protocol/sdk-gov": "^2.37.0",
|
|
436836
436826
|
"@types/lodash-es": "^4.17.12",
|
|
436837
436827
|
"@types/node": "^22.14.1",
|
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.28.
|
|
4
|
+
"version": "5.28.6",
|
|
5
5
|
"homepage": "https://gearbox.fi",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"gearbox"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@gearbox-protocol/deploy-tools-node": "0.0.0",
|
|
45
45
|
"@gearbox-protocol/deploy-tools-shared": "0.0.0",
|
|
46
46
|
"@gearbox-protocol/deploy-tools-types": "0.0.0",
|
|
47
|
-
"@gearbox-protocol/sdk": "^4.1.
|
|
47
|
+
"@gearbox-protocol/sdk": "^4.1.2",
|
|
48
48
|
"@gearbox-protocol/sdk-gov": "^2.37.0",
|
|
49
49
|
"@types/lodash-es": "^4.17.12",
|
|
50
50
|
"@types/node": "^22.14.1",
|