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

Staking router modules support #141

Merged
merged 143 commits into from
Sep 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
143 commits
Select commit Hold shift + click to select a range
2309dc2
feat: add interface for sr modules; add module that handle sr modules
Amuhar Jul 20, 2023
4277ddf
fix: storage modules in db
Amuhar Jul 21, 2023
eeba71e
fix: start writing el meta in a different table
Amuhar Jul 24, 2023
85a2bbd
fix: add moduleAddress to key table
Amuhar Jul 24, 2023
caee531
fix: add moduleAddress to operators table, Registry__factory
Amuhar Jul 25, 2023
5974be0
fix: add methods in staking-router-service, use them in endpoints
Amuhar Jul 26, 2023
fa58003
fix: moduleId
Amuhar Jul 26, 2023
c121d1b
fix: update keys algorithm
Amuhar Jul 26, 2023
41753ae
fix: change primary key for Key and Operator Entitym remove RegitryMe…
Amuhar Jul 27, 2023
5472cb6
fix: error updatimg operators and keys
Amuhar Jul 27, 2023
b70de6b
fix: tried to scale stream solution
Amuhar Jul 31, 2023
9b7b245
fix: streams in modules/keys/ endpoint
Amuhar Aug 1, 2023
a50c72f
fix: streams in /v1/modules/{module_id}/keys endpoint
Amuhar Aug 1, 2023
182c9a6
fix: operators endpoints with streams
Amuhar Aug 1, 2023
82fff69
fix: remove operators stream code; streams for /modules/operators/keys
Amuhar Aug 2, 2023
ec93378
fix: add types to methods , remove tests
Amuhar Aug 3, 2023
c25a9b4
fix: turn on metrics send and exit on timeout
Amuhar Aug 3, 2023
c527b5f
fix: temp commit
Amuhar Aug 3, 2023
4605485
fix: staking-module-type import; getCurrentNonce
Amuhar Aug 3, 2023
ded9c31
fix: use moduleAddress as first argument
Amuhar Aug 3, 2023
6de1573
fix: move sr contracts to sstakingrouter-modules
Amuhar Aug 3, 2023
cd29efb
fix: add todo
Amuhar Aug 3, 2023
50727f3
fix: rewrite staking-router-service
Amuhar Aug 4, 2023
d062cf3
fix: registry tests
Amuhar Aug 6, 2023
1750e5e
fix: test
Amuhar Aug 6, 2023
16911c8
fix: moved getKeys part from sr service to controller service
Amuhar Aug 6, 2023
065b319
fix: moved code from staking-router-service
Amuhar Aug 7, 2023
385f786
fix: add config for dvt type, add localtor address as env, fix update…
Amuhar Aug 7, 2023
844b38a
fix: add sr modules check during start
Amuhar Aug 8, 2023
98dd177
fix: staking module id for fetching module
Amuhar Aug 9, 2023
03cf05d
fix: small fixes
Amuhar Aug 9, 2023
e14af4c
feat: fixed names, moved length of key constants in separate file
Amuhar Aug 31, 2023
ec247fb
feat: removed migrations
Amuhar Aug 31, 2023
c2e5ab7
feat: add correct migrations
Amuhar Aug 31, 2023
125b60f
feat: changed migrations and update of sr modules
Amuhar Sep 1, 2023
dfaa57a
feat: fix fetching module
Amuhar Sep 1, 2023
573999f
fix: migration
Amuhar Sep 3, 2023
0770822
feat: add key controller tests
Amuhar Aug 23, 2023
bf1fc43
feat: add /v1/keys tests
Amuhar Aug 25, 2023
f94fe2f
feat: add test with non-existent operator
Amuhar Aug 28, 2023
0b1de99
feat: added /keys/find tests
Amuhar Aug 28, 2023
f24ad8f
feat: added /keys/pubkey tests
Amuhar Aug 29, 2023
9fc1513
feat: mocked provider
Amuhar Aug 30, 2023
f472126
fix: update tests
Amuhar Sep 1, 2023
fee0c6c
fix: fields and add comments
Amuhar Sep 4, 2023
32108d9
fix: removed unused package
Amuhar Sep 4, 2023
0ea697d
fix: removed StakingRouterModule from dependencies
Amuhar Sep 4, 2023
3d32745
fix: yarn lint
Amuhar Sep 4, 2023
380ba1a
fix: removed wrong stream solution from modules/keys endpoint
Amuhar Sep 4, 2023
fe49264
fix: enable e2e tests
Amuhar Sep 4, 2023
062e8db
fix: add sr modules tests
Amuhar Sep 4, 2023
d9d160f
fix: add secrets
Amuhar Sep 5, 2023
9fd428a
fix: removed partial entity fields
Amuhar Sep 5, 2023
d41052b
fix: registry e2e validator-registry
Amuhar Sep 5, 2023
1b2d1f6
fix: key-registry connect tests
Amuhar Sep 5, 2023
a9cd91d
Merge pull request #143 from lidofinance/feat/val-205-e2e-keys
infloop Sep 5, 2023
f1bada9
Merge pull request #147 from lidofinance/feat/val-205-e2e-tests-modules
Amuhar Sep 6, 2023
fd239ed
Merge pull request #148 from lidofinance/feat/val-205-e2e-registry-fix
Amuhar Sep 6, 2023
18a93e4
Update src/common/registry/fetch/key-batch.fetch.ts
Amuhar Sep 6, 2023
b365d98
fix: tests and workflow
Amuhar Sep 6, 2023
eab361c
feat: add chronix tests
eddort Sep 6, 2023
6f53a13
fix: operator fetch test
Amuhar Sep 6, 2023
4f1f471
Merge branch 'feat/VAL-189-sr-modules-support' of github.com:lidofina…
eddort Sep 6, 2023
d838bc2
feat: add chronix test to ci
eddort Sep 6, 2023
49a330e
fix: lint
Amuhar Sep 6, 2023
c4a6981
feat: fix chronix version
eddort Sep 7, 2023
fed3123
fix: removed extra interfaces
Amuhar Sep 7, 2023
2578341
fix: get rid of extra operator interfaces
Amuhar Sep 7, 2023
78592b8
fix: increase timeout value
Amuhar Sep 7, 2023
4a460aa
fix: refactor package json
eddort Sep 8, 2023
ee32670
feat: module id validation and operators e2e tests
Amuhar Sep 10, 2023
065e590
fix: module id in endpoints
Amuhar Sep 10, 2023
66cb8d3
fix: api in readme
Amuhar Sep 10, 2023
f83496e
feat: add new chronix
eddort Sep 12, 2023
fa095e9
fix: add chronix config to eslint ignore
eddort Sep 12, 2023
675da69
Merge remote-tracking branch 'origin/feat/val-189-module-id-validatio…
Amuhar Sep 12, 2023
a61ce7a
Update heading in api part of readme
Amuhar Sep 12, 2023
d3a1671
fix: readme
Amuhar Sep 13, 2023
e202d6b
Merge remote-tracking branch 'origin/feat/val-189-readme-fix' into fe…
Amuhar Sep 13, 2023
e42d0d5
fix: lint
Amuhar Sep 13, 2023
86b1dc2
fix: small readme fix
Amuhar Sep 13, 2023
2d16c1b
feat: add modules/{id}/operators/keys tests
Amuhar Sep 13, 2023
ba68579
fix: types for swagger
Amuhar Sep 14, 2023
6c82b4a
fix: add modules keys e2e
Amuhar Sep 14, 2023
c633493
feat: validators e2e tests
Amuhar Sep 18, 2023
dd5600d
feat: validators /generate-unsigned-exit-messages 425 test
Amuhar Sep 18, 2023
5cd9b0d
feat: add generate-unsigned-exit-messages tests
Amuhar Sep 18, 2023
a5a1185
fix: lint
Amuhar Sep 18, 2023
758a2d2
feat: small fixed in SRModulesLeysController and e2e tests
Amuhar Sep 18, 2023
75af9a4
fix: filter for /operators/keys
Amuhar Sep 18, 2023
6445af2
fix: remove comments
Amuhar Sep 18, 2023
a5d686f
Merge remote-tracking branch 'origin/feat/val-275-sr-modules-keys-e2e…
Amuhar Sep 18, 2023
8216fdf
Merge pull request #157 from lidofinance/feat/val-275-validators-endp…
Amuhar Sep 18, 2023
e1f9d2e
Merge pull request #156 from lidofinance/feat/val-275-sr-modules-oper…
Amuhar Sep 18, 2023
990e637
Merge pull request #153 from lidofinance/feat/val-189-readme-fix
Amuhar Sep 18, 2023
c4aaba6
feat: add test for contract address as module_id
Amuhar Sep 18, 2023
f945863
Merge remote-tracking branch 'origin/feat/val-189-remove-extra-keys-i…
Amuhar Sep 18, 2023
da2805d
Merge remote-tracking branch 'origin/feat/val-189-module-id-validatio…
Amuhar Sep 18, 2023
0d6d994
fix: review comments
Amuhar Sep 18, 2023
9241eb2
feat: moved batch size to config
Amuhar Sep 19, 2023
86fe634
fix: test name
Amuhar Sep 19, 2023
f582e96
fix: operator stakingLimit description
Amuhar Sep 19, 2023
c6f8dce
fix: registry tests
Amuhar Sep 19, 2023
a1f5eaa
fix: getKeyOpIndex -> getNonce
Amuhar Sep 19, 2023
f398882
fix: moved clear method from main modules to tests
Amuhar Sep 19, 2023
2cf9365
fix: todo
Amuhar Sep 19, 2023
bcb3aea
fix: unused code
Amuhar Sep 20, 2023
7144560
Merge pull request #158 from lidofinance/feat/val-189-review-fixes
Amuhar Sep 20, 2023
f30ba91
Merge pull request #155 from lidofinance/feat/val-275-sr-modules-keys…
Amuhar Sep 20, 2023
376cc88
Merge pull request #152 from lidofinance/feat/val-189-module-id-valid…
Amuhar Sep 20, 2023
7c69128
Merge pull request #151 from lidofinance/feat/val-189-remove-extra-ke…
Amuhar Sep 20, 2023
d353c44
feat: inject in RegistryModule
Amuhar Sep 20, 2023
c73e497
fix: registry tests
Amuhar Sep 20, 2023
ef87122
fix: locator
Amuhar Sep 20, 2023
0b22da6
fix remove Trace
Amuhar Sep 20, 2023
1156c43
feat: add fork tests
eddort Sep 20, 2023
e4b1057
fix: lower casefor module address, add tests, fix interfaces
Amuhar Sep 20, 2023
ac0b3af
feat: add e2e test cases
eddort Sep 21, 2023
8e552a8
fix: agnostic case test
Amuhar Sep 21, 2023
acba0ed
feat: add no test case
eddort Sep 21, 2023
3f8fbdd
Merge branch 'feat/VAL-189-sr-modules-support' of github.com:lidofina…
eddort Sep 21, 2023
0153260
fix: add keys test and fix check nonce
eddort Sep 21, 2023
15fa437
fix: rename old nonce to prev nonce
eddort Sep 21, 2023
12512c9
fix: add separated evn var provider for e2e tests
eddort Sep 22, 2023
3632d51
fix: CHRONIX_PROVIDER_MAINNET_URL validation
eddort Sep 22, 2023
c840076
debug: forkUrl
eddort Sep 22, 2023
2cd9296
fix: add dotenv
eddort Sep 22, 2023
6618ac4
fix: staking module storage e2e tests
Amuhar Sep 22, 2023
3e8ada3
debug: e2e chain
eddort Sep 22, 2023
7f6ed99
debug: PROVIDERS_URLS
eddort Sep 22, 2023
1a7be62
fix: add CHRONIX_PROVIDER_MAINNET_URL
eddort Sep 22, 2023
955d20b
fix: remove debug logs
eddort Sep 22, 2023
bcd5cf0
Merge pull request #150 from lidofinance/feat/add-chronix
Amuhar Sep 22, 2023
edef858
Merge remote-tracking branch 'origin/feat/VAL-189-sr-modules-support'…
Amuhar Sep 22, 2023
fc8ca1b
fix: add logs
Amuhar Sep 23, 2023
c2ed014
feat: convert addresses to lowercase
Amuhar Sep 23, 2023
201fded
fix: remove console.log
Amuhar Sep 23, 2023
5dca0fa
Merge pull request #159 from lidofinance/feat/val-189-review-improvem…
Amuhar Sep 25, 2023
e3c4f74
fix: update operators
Amuhar Sep 25, 2023
b374ecf
fix: operators update
Amuhar Sep 25, 2023
6bdb491
fix: test name
Amuhar Sep 25, 2023
9a22c4d
fix: add fixes, tests
Amuhar Sep 26, 2023
d3aa96e
Merge pull request #164 from lidofinance/feat/val-302-operators-updat…
Amuhar Sep 26, 2023
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
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = {
node: true,
jest: true,
},
ignorePatterns: ['.eslintrc.js'],
ignorePatterns: ['.eslintrc.js', 'chronix.config.ts'],
rules: {
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,9 @@ jobs:
run: yarn lint
- name: Run tests
run: yarn test
- name: Run tests
run: yarn test:e2e
env:
PROVIDERS_URLS: ${{ secrets.PROVIDERS_URLS }}
CHAIN_ID: ${{ secrets.CHAIN_ID }}
CHRONIX_PROVIDER_MAINNET_URL: ${{ secrets.CHRONIX_PROVIDER_MAINNET_URL }}
Loading
Loading