Skip to content

Commit f7f8681

Browse files
committed
fix: parsing error && node config usage
1 parent 927c9a1 commit f7f8681

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

tests/base/config/env.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export const STAND_CONFIGS = new Map<string, StandConfig>([
7575
: NETWORKS_CONFIG.testnet.ETHEREUM_HOODI.rpcUrl,
7676
},
7777
nodeConfig: {
78-
rpcUrlToMock: `**/api/rpc?chainId=560048`,
78+
rpcUrlToMock: `**/api/rpc?chainId=560048`, // not required
7979
rpcUrl: process.env.RPC_URL as string,
8080
host: '127.0.0.1',
8181
port: 8545,

tests/base/tests/test.fixture.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@ export const test = base.extend<
2020
],
2121
ethereumNodeService: [
2222
async ({ nodeRunOptions }, use) => {
23-
const nodeConfig = getStandConfig().nodeConfig;
23+
const { networkConfig, nodeConfig } = getStandConfig();
2424
const ethereumNodeService = new EthereumNodeService({
2525
...nodeConfig,
2626
runOptions: nodeRunOptions,
27+
rpcUrl: networkConfig.rpcUrl,
2728
});
2829
await ethereumNodeService.startNode();
2930

tests/base/utils/lsvCLI/programs/dashboard.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export const overview = async (
106106
case 'Reserve Ratio, %':
107107
reserveRatioPercent = value;
108108
break;
109-
case 'Force Rebalance Threshold':
109+
case 'Force Rebalance Threshold, %':
110110
forceRebalanceThreshold = value;
111111
break;
112112
case 'stVault Share Limit, stETH':

0 commit comments

Comments
 (0)