From e94cd96072c8f26800b3dc1c2baf75b585dc4b5d Mon Sep 17 00:00:00 2001 From: Yuri Tkachenko Date: Tue, 10 Dec 2024 14:12:50 +0000 Subject: [PATCH] chore: fix tests and types --- globals.d.ts | 2 ++ lib/deploy.ts | 1 + .../oracleReportSanityChecker.negative-rebase.test.ts | 1 + 3 files changed, 4 insertions(+) diff --git a/globals.d.ts b/globals.d.ts index 1b21fe0dd..5860e7122 100644 --- a/globals.d.ts +++ b/globals.d.ts @@ -39,6 +39,7 @@ declare namespace NodeJS { LOCAL_KERNEL_ADDRESS?: string; LOCAL_LEGACY_ORACLE_ADDRESS?: string; LOCAL_LIDO_ADDRESS?: string; + LOCAL_WSTETH_ADDRESS?: string; LOCAL_NOR_ADDRESS?: string; LOCAL_ORACLE_DAEMON_CONFIG_ADDRESS?: string; LOCAL_ORACLE_REPORT_SANITY_CHECKER_ADDRESS?: string; @@ -64,6 +65,7 @@ declare namespace NodeJS { MAINNET_KERNEL_ADDRESS?: string; MAINNET_LEGACY_ORACLE_ADDRESS?: string; MAINNET_LIDO_ADDRESS?: string; + MAINNET_WSTETH_ADDRESS?: string; MAINNET_NOR_ADDRESS?: string; MAINNET_ORACLE_DAEMON_CONFIG_ADDRESS?: string; MAINNET_ORACLE_REPORT_SANITY_CHECKER_ADDRESS?: string; diff --git a/lib/deploy.ts b/lib/deploy.ts index 2d4cd9730..1f0931f15 100644 --- a/lib/deploy.ts +++ b/lib/deploy.ts @@ -256,6 +256,7 @@ async function getLocatorConfig(locatorAddress: string) { "withdrawalVault", "oracleDaemonConfig", "accounting", + "wstETH", ] as (keyof LidoLocator.ConfigStruct)[]; const configPromises = addresses.map((name) => locator[name]()); diff --git a/test/0.8.9/sanityChecker/oracleReportSanityChecker.negative-rebase.test.ts b/test/0.8.9/sanityChecker/oracleReportSanityChecker.negative-rebase.test.ts index f69a55e1c..977c25343 100644 --- a/test/0.8.9/sanityChecker/oracleReportSanityChecker.negative-rebase.test.ts +++ b/test/0.8.9/sanityChecker/oracleReportSanityChecker.negative-rebase.test.ts @@ -86,6 +86,7 @@ describe("OracleReportSanityChecker.sol:negative-rebase", () => { postTokenRebaseReceiver: deployer.address, oracleDaemonConfig: deployer.address, accounting: await accounting.getAddress(), + wstETH: deployer.address, }, ]);