@gearbox-protocol/deploy-tools 5.28.5 → 5.28.7
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 +11 -20
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -426231,7 +426231,8 @@ var ForkTemplate = z.object({
|
|
|
426231
426231
|
/**
|
|
426232
426232
|
* Migration 3.0 -> 3.1 helper: Market configurators
|
|
426233
426233
|
*/
|
|
426234
|
-
riskCuratorNames: z.array(z.string()).nullish().transform((v) => v?.length ? v : void 0)
|
|
426234
|
+
riskCuratorNames: z.array(z.string()).nullish().transform((v) => v?.length ? v : void 0),
|
|
426235
|
+
disableRPCProtection: z.boolean().optional()
|
|
426235
426236
|
});
|
|
426236
426237
|
|
|
426237
426238
|
// ../../packages/shared/dist/governor.js
|
|
@@ -429540,6 +429541,12 @@ async function migrateFaucet(sdk, faucet) {
|
|
|
429540
429541
|
} catch (e) {
|
|
429541
429542
|
sdk.logger?.error(`faucet migration failed: ${e}`);
|
|
429542
429543
|
}
|
|
429544
|
+
return sdk.provider.publicClient.readContract({
|
|
429545
|
+
abi: iAddressProviderV310Abi,
|
|
429546
|
+
address: sdk.addressProvider.address,
|
|
429547
|
+
functionName: "getAddressOrRevert",
|
|
429548
|
+
args: [stringToHex("FAUCET", { size: 32 }), 0n]
|
|
429549
|
+
});
|
|
429543
429550
|
}
|
|
429544
429551
|
|
|
429545
429552
|
// ../../node_modules/@gearbox-protocol/sdk/dist/esm/dev/setLTZero.js
|
|
@@ -436601,23 +436608,7 @@ function openAccounts() {
|
|
|
436601
436608
|
adapters: AdaptersPlugin
|
|
436602
436609
|
}
|
|
436603
436610
|
});
|
|
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
|
-
});
|
|
436611
|
+
const faucetAddr = await migrateFaucet(sdk);
|
|
436621
436612
|
log_default.debug(`faucet address: ${faucetAddr}`);
|
|
436622
436613
|
const anvil = createAnvilClient({ transport: http(anvilUrl) });
|
|
436623
436614
|
const automine = await anvil.getAutomine();
|
|
@@ -436788,7 +436779,7 @@ function getRenderer(opts) {
|
|
|
436788
436779
|
var package_default = {
|
|
436789
436780
|
name: "@gearbox-protocol/deploy-tools",
|
|
436790
436781
|
description: "Gearbox deploy tools",
|
|
436791
|
-
version: "5.28.
|
|
436782
|
+
version: "5.28.7",
|
|
436792
436783
|
homepage: "https://gearbox.fi",
|
|
436793
436784
|
keywords: [
|
|
436794
436785
|
"gearbox"
|
|
@@ -436831,7 +436822,7 @@ var package_default = {
|
|
|
436831
436822
|
"@gearbox-protocol/deploy-tools-node": "0.0.0",
|
|
436832
436823
|
"@gearbox-protocol/deploy-tools-shared": "0.0.0",
|
|
436833
436824
|
"@gearbox-protocol/deploy-tools-types": "0.0.0",
|
|
436834
|
-
"@gearbox-protocol/sdk": "^4.1.
|
|
436825
|
+
"@gearbox-protocol/sdk": "^4.1.2",
|
|
436835
436826
|
"@gearbox-protocol/sdk-gov": "^2.37.0",
|
|
436836
436827
|
"@types/lodash-es": "^4.17.12",
|
|
436837
436828
|
"@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.7",
|
|
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",
|