Skip to content

Commit

Permalink
fix: update keys-validation library version
Browse files Browse the repository at this point in the history
  • Loading branch information
Amuhar committed Jan 4, 2025
1 parent 7b34e23 commit 84ea226
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 441 deletions.
2 changes: 1 addition & 1 deletion docker-compose.dev.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '3.7'
version: '3.9'

services:
council_daemon_prometheus:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.metrics.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '3.7'
version: '3.9'

services:
council_daemon_prometheus:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '3.7'
version: '3.9'

services:
zookeeper:
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
version: '3.9'

services:
keys_api_service_db:
image: postgres:14-alpine
Expand Down
6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@chainsafe/ssz": "0.18.0",
"@ethersproject/providers": "5.7.2",
"@lido-nestjs/fetch": "^1.3.1",
"@lido-nestjs/key-validation": "^7.4.0",
"@lido-nestjs/key-validation": "^8.0.0",
"@lido-nestjs/middleware": "^1.1.1",
"@lido-sdk/constants": "^3.2.1",
"@nestjs/common": "^8.0.0",
Expand Down Expand Up @@ -64,10 +64,6 @@
"ws": "^8.10.0",
"zod": "^3.23.8"
},
"resolutions": {
"@chainsafe/blst": "^2.2.0",
"@chainsafe/ssz": "^0.18.0"
},
"devDependencies": {
"@nestjs/cli": "^8.2.5",
"@nestjs/schematics": "^8.0.0",
Expand Down
7 changes: 4 additions & 3 deletions test/helpers/dsm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ export async function deposit(moduleId: number) {
const lidoVotingSigner = LidoAbi__factory.connect(lidoAddress, votingSigner);

await lidoVotingSigner.setStakingLimit(
ethers.utils.parseEther('120000'), // _maxStakeLimit
ethers.utils.parseEther('120000'), // _stakeLimitIncreasePerBlock
ethers.utils.parseEther('150000'), // _maxStakeLimit
ethers.utils.parseEther('23.4375'), // _stakeLimitIncreasePerBlock
);

const unfinalizedStETHWei = await withdrawalQueue.unfinalizedStETH();
Expand All @@ -110,10 +110,11 @@ export async function deposit(moduleId: number) {
.add(ethers.utils.parseEther('100000'));
const amountForDepositsInEth = ethers.utils.formatEther(amountForDeposits);

transferEther(lidoAddress, amountForDepositsInEth);
await transferEther(lidoAddress, amountForDepositsInEth);

await new Promise((res) => setTimeout(res, 12000));

//TODO: check how many keys waiting deposit
const tx = await lido.deposit(1, moduleId, new Uint8Array());

await tx.wait();
Expand Down
Loading

0 comments on commit 84ea226

Please sign in to comment.