Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review improvement deploy on testnet #246

Merged
merged 121 commits into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from 120 commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
77561ac
fix: use IStakingModule for keys events; fetch prefix in security ser…
Amuhar Aug 26, 2024
afef3c6
fix: impr naming and contexts
Amuhar Aug 27, 2024
8f77d7c
fix: lint
Amuhar Aug 27, 2024
ebe5eea
fix: lint
Amuhar Aug 27, 2024
e3b3eae
Merge branch 'fix/val-1200-keys-events-fetch-impr' into fix/val-1208-…
Amuhar Aug 27, 2024
2a114de
fix: lint
Amuhar Aug 27, 2024
90e76d6
fix: test
Amuhar Aug 27, 2024
437541d
fix: move transform ro wei logic in decorator
Amuhar Aug 28, 2024
8a86b32
fix: StakingModuleId -> OneAtTimeCallId
Amuhar Aug 28, 2024
1bb772f
fix: covent new methods with unit tests
Amuhar Aug 28, 2024
b109a76
fix: comment isSameContractsStates
Amuhar Aug 29, 2024
2e722e6
fix: front-run
Amuhar Aug 29, 2024
19b8b97
fix: refactoring historical front-run
Amuhar Aug 29, 2024
0aeb1a2
fix: fetch prefixes and staking modules by hash
Amuhar Aug 30, 2024
65bfff2
fix: test name
Amuhar Aug 30, 2024
3e89529
feat: deposit-registry wip
eddort Sep 1, 2024
9c33bc7
feat: deposit-tree tests
eddort Sep 1, 2024
ddc0018
feat: deposit-tree crypto refactoring
eddort Sep 1, 2024
8d93f63
feat: data cast tests
eddort Sep 1, 2024
6ea3268
feat: safe branch clone
eddort Sep 1, 2024
8a9300e
fix: duplicates algorithm
Amuhar Sep 1, 2024
a2b9a41
fix: tests
Amuhar Sep 1, 2024
097af72
fix: small refactoring block-guard service
Amuhar Sep 2, 2024
eb75294
feat: new deposit service
eddort Sep 2, 2024
8b7b4cb
refactor: deposit registry
eddort Sep 2, 2024
90ea139
refactor: rename deposit registry service
eddort Sep 2, 2024
ae4acd4
feat: add based module declaration
eddort Sep 2, 2024
053ccec
feat: add module declarations
eddort Sep 2, 2024
9abbf0f
refactor: file structure
eddort Sep 2, 2024
df13574
refactor: remove old module
eddort Sep 2, 2024
c8ebcdb
feat: use new module as deposit module replacement
eddort Sep 2, 2024
c7fd410
fix: minor changes in guardian service
Amuhar Sep 2, 2024
2961c71
fix: integrity checks
eddort Sep 2, 2024
347f38e
fix: remove unused check
eddort Sep 3, 2024
61c7940
fix: improve valdiation algorithm
Amuhar Sep 3, 2024
883017e
fix: deposits tests
eddort Sep 3, 2024
36091d2
fix: fresh events verifying
eddort Sep 3, 2024
cf62e6a
fix: e2e test
eddort Sep 3, 2024
75ae300
feat: update ethers & deposit indexing with finalized tag
eddort Sep 3, 2024
57d8f66
fix: use finalizedBlockNumber instead toBlock
eddort Sep 4, 2024
bdc538a
fix: ganache tests
eddort Sep 5, 2024
018d4b1
fix: e2e tests
eddort Sep 5, 2024
af7e974
fix: e2e tests
eddort Sep 5, 2024
6956e9c
feat: add logging to cannotDeposit
eddort Sep 6, 2024
ee0039c
fix: get unveetin keys status from keys api
Amuhar Sep 9, 2024
0ff89a2
feat: deposit tree refactor
eddort Sep 9, 2024
8d0d487
fix: ts-config bump target version to es2020
eddort Sep 9, 2024
7df5aea
fix: get rid of spread operator
Amuhar Sep 9, 2024
adde748
feat: log the last valid event for debugging purposes
eddort Sep 9, 2024
4ecb600
fix: default value for last valid event
eddort Sep 9, 2024
d8ebcec
fix: check sign validation return duplicates for unvetting too
Amuhar Sep 10, 2024
d361da1
Merge pull request #227 from lidofinance/fix/val-1208-naming
Amuhar Sep 10, 2024
115bb95
Merge pull request #228 from lidofinance/fix/val-1212-transform-decor…
Amuhar Sep 10, 2024
9561e29
Merge pull request #229 from lidofinance/fix/val-1206-one-at-time
Amuhar Sep 10, 2024
a4326ef
Merge pull request #230 from lidofinance/fix/val-1211-unit-tests-v3-dsm
Amuhar Sep 10, 2024
c3d9074
Merge pull request #231 from lidofinance/fix/val-1214-is-same-contrac…
Amuhar Sep 10, 2024
486ea53
fix: security tests
Amuhar Sep 10, 2024
05df948
fix: bump 3.0.0 -> 3.0.1
Amuhar Sep 10, 2024
c7ba7f6
Merge pull request #232 from lidofinance/fix/val-1219-historical-fron…
Amuhar Sep 10, 2024
635b978
fix: operators -> uniqueOperatorIdentifiers
Amuhar Sep 10, 2024
d358479
refactor: code review
eddort Sep 10, 2024
633b9ac
fix: depositDataRoot logging
eddort Sep 10, 2024
37d3db7
refactor: add comments to deposit-registry module
eddort Sep 10, 2024
2775d55
fix: use rangePromise for processing duplicates events
Amuhar Sep 10, 2024
d782a4b
refactor: code review
eddort Sep 10, 2024
8fb21a8
fix: add correct endBlock to getAllDepositedEvents invariant
eddort Sep 10, 2024
2d628a1
Merge pull request #234 from lidofinance/fix/val-1221-duplicates-inco…
Amuhar Sep 11, 2024
38f73c7
Merge pull request #235 from lidofinance/fix/val-1220-block-guard
Amuhar Sep 11, 2024
7b52227
refactor: comments in integrity checker
eddort Sep 11, 2024
013d0d5
Merge pull request #236 from lidofinance/fix/val-1216-gurdian-service…
Amuhar Sep 11, 2024
27c5e5e
refactor: code review
eddort Sep 11, 2024
cea7993
refactor: jsdoc comments
eddort Sep 11, 2024
641e216
Merge branch 'fix/val-1200-keys-events-fetch-impr' into fix/val-1213-…
Amuhar Sep 11, 2024
329f10e
fix: test extand
Amuhar Sep 11, 2024
d141299
Merge pull request #237 from lidofinance/fix/val-1213-signature-valid…
Amuhar Sep 11, 2024
8076b38
Merge branch 'fix/val-1200-keys-events-fetch-impr' of github.com:lido…
eddort Sep 11, 2024
97bf271
fix: e2e test
eddort Sep 11, 2024
25d8f77
Merge pull request #239 from lidofinance/feat/refactor-deposit-cache-…
eddort Sep 11, 2024
9c65e2c
Merge pull request #233 from lidofinance/feat/refactor-deposit-cache
eddort Sep 11, 2024
eacd4d2
fix: bump version
Amuhar Sep 12, 2024
fa55ae8
feat: add KEYS_API_URL configuration
eddort Sep 12, 2024
0d6b5ca
feat: config loader tests
eddort Sep 12, 2024
c94d24b
fix: dockerfile typechain error
Amuhar Sep 12, 2024
a078e15
fix: copy tsconfig before yarn install in DOckerfile
Amuhar Sep 12, 2024
9a204f3
Merge pull request #241 from lidofinance/fix-dockerfile
infloop Sep 12, 2024
57e0063
fix: correct block hash in block tag
eddort Sep 15, 2024
4c64ea7
refactor: block hash type
eddort Sep 15, 2024
e93b10e
feat: base signing keys registry structure
eddort Sep 16, 2024
3cfae41
feat: update loop signing keys registry
eddort Sep 16, 2024
90b69e0
feat: signing keys registry checks
eddort Sep 16, 2024
d3766d4
feat: remove old service
eddort Sep 16, 2024
d2c12d2
feat: connect new module
eddort Sep 16, 2024
3606de7
refactor: singing keys service tests
eddort Sep 16, 2024
b220284
feat: connect singing keys module via method
eddort Sep 16, 2024
8bb4567
fix: signing keys test
eddort Sep 16, 2024
b955dc8
fix: checkEventsBlockHash in signing keys
eddort Sep 16, 2024
d4b359b
fix: error handling
eddort Sep 16, 2024
3a47fd5
Merge branch 'fix/val-1200-keys-events-fetch-impr' into fix/val-1229-…
Amuhar Sep 16, 2024
5fc7e80
fix: lint
Amuhar Sep 16, 2024
a994b98
fix: change error handling logic in signing keys events registry
eddort Sep 17, 2024
06ea1be
feat: new deposit registry algorithm
eddort Sep 17, 2024
3646a9a
fix: increase kapi version up to 2.0.0 to support vetted status in key
Amuhar Sep 17, 2024
47a4276
feat: clearFromLastValidEvent tests
eddort Sep 17, 2024
e67083f
refactor: remove todo
eddort Sep 17, 2024
571dc75
feat: check deposit count while inserting node to deposit tree
eddort Sep 17, 2024
31addcd
fix: deposit tree tests
eddort Sep 17, 2024
15e3b4c
fix: deposit tree insertion
eddort Sep 17, 2024
351e5d7
fix: e2e
eddort Sep 17, 2024
b734f0e
refactor: naming in test
eddort Sep 17, 2024
505d905
fix: removed comments
Amuhar Sep 18, 2024
ce9f5a9
Merge pull request #240 from lidofinance/fix/kapi-url-config
Amuhar Sep 18, 2024
a4ca9cb
Merge pull request #243 from lidofinance/fix/blockhash-in-block-tag
Amuhar Sep 18, 2024
9c8dcd1
Merge pull request #244 from lidofinance/feat/signing-keys-registry
Amuhar Sep 18, 2024
48d93c1
Merge pull request #245 from lidofinance/feat/deposit-events-new-algo…
Amuhar Sep 18, 2024
dd0e4b0
Merge branch 'fix/val-1200-keys-events-fetch-impr' into fix/val-1229-…
Amuhar Sep 18, 2024
e54edd5
fix: comment
Amuhar Sep 18, 2024
91888ae
Merge pull request #238 from lidofinance/fix/val-1229-vetted-status
Amuhar Sep 18, 2024
9232ceb
Merge pull request #226 from lidofinance/fix/val-1200-keys-events-fet…
Amuhar Sep 18, 2024
359f11c
fix: update kapi version
Amuhar Sep 30, 2024
21e8810
Merge pull request #248 from lidofinance/feat/kapi-version
Amuhar Sep 30, 2024
1067630
fix: removed extra async
Amuhar Sep 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM node:14.18.1-alpine3.13 as building

# needed for git dependencies
RUN apk update && apk upgrade && \
apk add --no-cache bash=5.1.16-r0 git=2.30.6-r0 openssh=8.4_p1-r4 python3=3.8.15-r0 make=4.3-r0 g++=10.2.1_pre1-r3
apk add --no-cache bash=5.1.16-r0 git=2.30.6-r0 openssh=8.4_p1-r4 python3=3.8.15-r0 make=4.3-r0 g++=10.2.1_pre1-r3

RUN mkdir /council

Expand All @@ -13,10 +13,9 @@ RUN npm i -g [email protected]

COPY ./package*.json ./
COPY ./yarn*.lock ./
RUN yarn install --frozen-lockfile --non-interactive && yarn cache clean

COPY ./tsconfig*.json ./
COPY ./src ./src
RUN yarn install --frozen-lockfile --non-interactive && yarn cache clean

RUN yarn typechain && yarn build

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lido-council-daemon",
"version": "3.0.0",
"version": "3.0.2",
"description": "Lido Council Daemon",
"author": "Lido team",
"private": true,
Expand Down Expand Up @@ -31,7 +31,7 @@
"dependencies": {
"@chainsafe/blst": "^0.2.4",
"@chainsafe/ssz": "^0.9.2",
"@ethersproject/providers": "^5.4.5",
"@ethersproject/providers": "5.7.2",
"@lido-nestjs/fetch": "^1.3.1",
"@lido-nestjs/key-validation": "^7.4.0",
"@lido-nestjs/middleware": "^1.1.1",
Expand All @@ -48,7 +48,7 @@
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"compare-versions": "^6.1.0",
"ethers": "^5.4.7",
"ethers": "5.7.2",
"glob": "^7.1.2",
"kafkajs": "^1.15.0",
"level": "^8.0.1",
Expand Down
Loading
Loading