Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
564 commits
Select commit Hold shift + click to select a range
a2dd3d4
fix: _consumeLimit
Amuhar May 30, 2025
4350459
fix: refund test
Amuhar May 30, 2025
5ae428c
Merge pull request #1130 from lidofinance/feat/refund-test
Amuhar May 30, 2025
106a06d
refactor: clean-up withdrawal vault
mkurayan May 30, 2025
c2dda55
fix: MAX_VALIDATORS_PER_BATCH -> MAX_VALIDATORS_PER_REPORT
Amuhar May 30, 2025
09f4697
fix: dont limit oracle by common veb limit
Amuhar May 30, 2025
5f2bfec
Merge pull request #1131 from lidofinance/fix/exclude-batch-from-name
Amuhar May 30, 2025
0e6ae24
Merge pull request #1132 from lidofinance/fix/oracle-doesnt-comsume-v…
Amuhar May 30, 2025
2657f92
Merge branch 'feat/triggerable-exits' into feat/triggerable-exits-atomic
F4ever May 30, 2025
1a78004
Merge pull request #1129 from lidofinance/feat/triggerable-exits-with…
F4ever May 30, 2025
d35cd02
Merge branch 'feat/triggerable-exits' into feat/triggerable-exits-atomic
F4ever May 30, 2025
c218950
Merge pull request #1126 from lidofinance/feat/triggerable-exits-atomic
F4ever May 30, 2025
4a46733
fix: veb review refactoring
Amuhar May 30, 2025
d23c10b
Merge pull request #1133 from lidofinance/feat/veb-refactoring
Amuhar May 30, 2025
48fe102
fix: require -> revert
Amuhar May 30, 2025
be88294
fix: getDeliveryTime -> getDeliveryTimestamp & require -> revert
Amuhar May 30, 2025
0794a35
fix: rename value -> maxValidatorsPerReport
Amuhar May 30, 2025
db2d479
Merge pull request #1134 from lidofinance/feat/veb-refactoring
Amuhar May 30, 2025
cd35f7e
feat: improve comments in withdrawal vault
mkurayan May 30, 2025
fe013d2
feat: fix type in error name
mkurayan May 30, 2025
d9fe8ba
feat: fix typo in error name
mkurayan May 30, 2025
0900b19
refactor: pass single property instead of entire object to inner func…
mkurayan May 30, 2025
666fb72
Merge pull request #1135 from lidofinance/feat/triggerable-exits-veri…
mkurayan May 30, 2025
e675406
feat: fix linter problems
mkurayan May 30, 2025
b77fe0c
Merge pull request #1136 from lidofinance/feat/triggerable-exits-lint…
mkurayan May 30, 2025
2b83a2a
feat: sr 2.0 update naming and comments
mkurayan Jun 2, 2025
bd1c794
feat: clean-up text comments
mkurayan Jun 2, 2025
68eafaa
feat: fix comment
mkurayan Jun 2, 2025
d30d551
feat: add test for trigger full withdrawals
mkurayan Jun 2, 2025
c6f340c
fix: check wv event
Amuhar Jun 2, 2025
9410bd5
fix: veb methods description
Amuhar Jun 2, 2025
599894f
fix: veb methods description
Amuhar Jun 2, 2025
ff3aa12
Merge pull request #1139 from lidofinance/feat/triggerable-exits-inte…
Amuhar Jun 2, 2025
289c191
Merge pull request #1140 from lidofinance/feat/desc-veb
Amuhar Jun 2, 2025
69a4f0c
feat: add event for staking module exit notification failure and refa…
eddort Jun 3, 2025
0408ea3
refactor: remove unused error handling and related test cases for TWG
eddort Jun 3, 2025
7887d5e
refactor: remove unused import from stakingRouter tests
eddort Jun 3, 2025
891459e
fix: oracle allow to update delivery time if report was not submitted…
Amuhar Jun 4, 2025
ce097e6
feat: use eip7002 contract byte code in integration tests
mkurayan Jun 4, 2025
1f207ad
fix: added event ExitDataProcessing for oracle submit
Amuhar Jun 4, 2025
4c35d8b
Merge pull request #1145 from lidofinance/feat/allow-oracle-update-re…
Amuhar Jun 4, 2025
2263577
feat: ignore fails on exit delay report
mkurayan Jun 4, 2025
754ebdb
feat: upgrade StakingRouter contract to version 3 and update related …
eddort Jun 5, 2025
28f6668
Merge pull request #1147 from lidofinance/feat/triggerable-exits-igno…
mkurayan Jun 5, 2025
d3c678e
Merge pull request #1148 from lidofinance/fix/sr-add-v3-update-method
eddort Jun 5, 2025
649e41a
Merge pull request #1146 from lidofinance/feat/triggerable-exits-inte…
mkurayan Jun 5, 2025
8beee97
Merge pull request #1138 from lidofinance/feat/sr-2.0-update-comments…
mkurayan Jun 5, 2025
27ef3c7
Merge branch 'feat/triggerable-exits' of github.com:lidofinance/core …
eddort Jun 6, 2025
e0e6bb5
refactor: move for loop from twg to sr
eddort Jun 6, 2025
2dfda2f
refactor: update exit delay reporting logic to return instead of reve…
eddort Jun 6, 2025
82340e4
Revert "feat: ignore fails on exit delay report"
eddort Jun 6, 2025
73caecf
test: update validator exit delay verification to expect no reversion…
eddort Jun 6, 2025
821f015
refactor: add comment about UnrecoverableModuleError in onValidatorEx…
eddort Jun 6, 2025
0b4a52e
Update contracts/0.8.9/StakingRouter.sol
eddort Jun 6, 2025
aaf7fd5
Revert "refactor: update exit delay reporting logic to return instead…
eddort Jun 6, 2025
009b401
Revert "test: update validator exit delay verification to expect no r…
eddort Jun 6, 2025
ab81a52
refactor: streamline validator exit reporting logic
eddort Jun 6, 2025
c03fc32
test: update validator exit delay verification to expect successful e…
eddort Jun 6, 2025
ac64917
fix: uint/intergation tests
Amuhar Jun 6, 2025
1f91ae2
Merge branch 'feat/triggerable-exits' into feat/impr-tests
Amuhar Jun 6, 2025
a6134d0
fix: test
Amuhar Jun 6, 2025
1db6c8d
fix: role
Amuhar Jun 6, 2025
9223f6e
Merge pull request #1143 from lidofinance/feat/add-try-catch-to-tw-hook
F4ever Jun 9, 2025
213bcfc
fix: replace error: prefix in revertedWithOZAccessControlError with e…
Amuhar Jun 9, 2025
4bb4b33
refactor: swap IncorrectFee args in WithdrawalVaultEIP7002
mkurayan Jun 9, 2025
fa1a8a8
Merge pull request #1150 from lidofinance/feat/triggerable-exits-mino…
F4ever Jun 9, 2025
1008ebb
Merge pull request #1149 from lidofinance/feat/impr-tests
Amuhar Jun 9, 2025
4bad6cc
fix: spaces
Amuhar Jun 9, 2025
26ebd30
Merge pull request #1151 from lidofinance/fix/spaces
F4ever Jun 9, 2025
29bbfd1
refactor: NOR, SR and AO refactoring
eddort Jun 9, 2025
a826afe
fix: update copyright year to 2025 in ValidatorsExitBusOracle.sol
eddort Jun 9, 2025
628c873
Merge pull request #1152 from lidofinance/refactor/tw-nor-sr-review
F4ever Jun 9, 2025
cea798f
feat: full unit tests coverage for NOR
eddort Jun 10, 2025
0f47ad0
feat: add mock staking module and tests for tw functionality
eddort Jun 10, 2025
91fb537
feat: upgrade tests for AccountingOracle
eddort Jun 10, 2025
2fa8edb
fix: remove unused import ZeroAddress
eddort Jun 10, 2025
81f1ddf
feat: reimplement GIndex test in ts
eddort Jun 10, 2025
c16db3b
refactor: clean up GIndex test imports and improve readability
eddort Jun 10, 2025
7856add
refactor: rename utils contract for GIndex
eddort Jun 11, 2025
bf0bb4d
Update contracts/0.8.25/lib/SSZ.sol
mkurayan Jun 11, 2025
8792f57
Merge pull request #1158 from lidofinance/feat/rewrite-gindex-test-to-hh
eddort Jun 11, 2025
27f6906
feat: move BeaconTypes, SSZ and GIndex to common folder
mkurayan Jun 11, 2025
fe7df70
Update contracts/common/lib/BeaconTypes.sol
mkurayan Jun 11, 2025
3c39926
fix: add solhint-disable
mkurayan Jun 11, 2025
5101cb8
Merge commit 'bf0bb4dd179d42ca21306a86b9c08de0dddb47e6' into fix/tw-n…
mkurayan Jun 11, 2025
8b08c5e
Merge pull request #1156 from lidofinance/fix/tw-nor-sr-coverage
F4ever Jun 11, 2025
b64b1c1
feat: add withdrawal vault integration tests
mkurayan Jun 11, 2025
fe9bf71
Merge pull request #1160 from lidofinance/feat/triggerable-exits-add-…
mkurayan Jun 11, 2025
6db5b90
feat: use via-ir for solidity 0.8.25
mkurayan Jun 13, 2025
4c1730d
try out heap tweak with IR
TheDZhon Jun 13, 2025
9a18a59
Update coverage.yml
TheDZhon Jun 13, 2025
cc23910
Merge pull request #1171 from lidofinance/te-via-ir-ci
mkurayan Jun 13, 2025
59b2ff2
Merge pull request #1166 from lidofinance/feat/triggerable-exits-via-ir
F4ever Jun 13, 2025
1053ef6
feat: deploy configuration for holesky testnet
eddort Jun 13, 2025
61a6c16
feat: refactor deployment script for triggerable withdrawals
eddort Jun 13, 2025
9374f78
fix: locator config in tw deploy script
eddort Jun 13, 2025
c0d35b1
refactor: move consensus-spec constants to chainSpec for better confi…
eddort Jun 13, 2025
3bbd295
refactor: update triggerable withdrawals parameters
eddort Jun 13, 2025
8079bc9
refactor: remove unused .env.sample and tw-verify.ts files
eddort Jun 13, 2025
b7a11ef
refactor: remove deprecated refunded validators count functionality
eddort Jun 13, 2025
fb3082d
Merge pull request #1174 from lidofinance/fix/remove-refunded-logic-f…
eddort Jun 13, 2025
0900379
fix: contracts verification
eddort Jun 15, 2025
72d4713
Merge branch 'feat/tw-deploy-holesky' of github.com:lidofinance/core …
eddort Jun 15, 2025
886a256
Merge pull request #1172 from lidofinance/feat/tw-deploy-holesky
F4ever Jun 16, 2025
8c5f90d
feat(deploy-holesky): deploy contracts on holesky
chasingrainbows Jun 16, 2025
831ec2c
feat: update addWithdrawalRequests method comment
mkurayan Jun 17, 2025
eb47249
Merge pull request #1184 from lidofinance/feat/triggerable-exits-fix-…
F4ever Jun 17, 2025
e657dca
feat: add new GateSeal types and implement deployGateSeal function
eddort Jun 18, 2025
c7372de
refactor: make imports abs and move a few interfaces to common
arwer13 Jun 19, 2025
14d785e
feat: refactor GateSeal types and update deployGateSeal function para…
eddort Jun 20, 2025
a5848c5
feat: make NETWORK variable configurable in deploy-tw script
eddort Jun 20, 2025
d0583b7
feat: add legacy support for depositContract in chain spec
eddort Jun 20, 2025
ce8cf5a
fix: correct GATE_SEAL_EXPIRY_TIMESTAMP
eddort Jun 20, 2025
8597ae3
feat: deploy new gateSeals to holesky testnet
eddort Jun 23, 2025
5c78974
fix: bump accounting oracle initial version to 3
eddort Jun 24, 2025
d262d81
Merge pull request #1204 from lidofinance/fix/tw-ao-initialize-v3
eddort Jun 24, 2025
a9bc3df
fix: audit
Amuhar Jun 24, 2025
18a890b
fix: comment impr
Amuhar Jun 24, 2025
c85737f
fix: update AccountingOracle implementation address for Holesky TW de…
eddort Jun 24, 2025
dc86473
fix: TOTAL_REQUESTS_PROCESSED_POSITION for oracle and other entities …
Amuhar Jun 25, 2025
ff246ef
fix: format
Amuhar Jun 25, 2025
5eaa9f8
Merge pull request #1196 from lidofinance/refactor/abs-contract-imports
arwer13 Jun 25, 2025
133ba19
Merge pull request #1193 from lidofinance/feat/gate-seal-tw
eddort Jun 25, 2025
2a25c7a
Merge pull request #1206 from lidofinance/fix/orc-424-audit-fixes
Amuhar Jun 27, 2025
7c883c8
fix: update deployGateSeal calls to use updated network state
eddort Jul 3, 2025
0c22026
wip: update validator exit delay verifier
eddort Jul 8, 2025
3ee467c
wip: unit tests
eddort Jul 9, 2025
daa035a
fix: update validator exit delay verifier parameters and historical r…
eddort Jul 9, 2025
38ec1a3
fix: update ValidatorExitDelayVerifier deployment parameters and test…
eddort Jul 9, 2025
6c16d36
fix: update EVM version to Prague and adjust int type formatting
eddort Jul 9, 2025
d00277d
fix: enable IR optimization for fuzzing and invariant tests
eddort Jul 9, 2025
9360a66
refactor: remove GIndex test file
eddort Jul 9, 2025
b981157
fix: remove --via-ir flag from fuzzing and invariant tests
eddort Jul 9, 2025
a2e8b14
fix: update validatorProof
eddort Jul 9, 2025
af574fd
fix: update validator exit delay parameters with active validator pro…
eddort Jul 9, 2025
5259c03
refactor: consolidate GIndex parameters into a single GIndices struct…
eddort Jul 10, 2025
d3a6861
Revert "refactor: remove GIndex test file"
eddort Jul 10, 2025
19d3786
feat: update deploy TW script
eddort Jul 10, 2025
00aabce
refactor: rename historical GIndex variables and optimize gas usage i…
eddort Jul 11, 2025
b7eac13
refactor: update GIndex variable documentation
eddort Jul 11, 2025
38b3ecb
refactor: add TODO comment to update Capella slot for e2e testing in …
eddort Jul 11, 2025
52dfddb
Remove redundant zero check
hweawer Jul 11, 2025
8b2dc8f
Change timestamp comparison method
hweawer Jul 11, 2025
59a8ecb
Try fix unit test
hweawer Jul 11, 2025
b0ac708
Add test
hweawer Jul 14, 2025
6bb3464
Fix test
hweawer Jul 14, 2025
1066590
Fix test
hweawer Jul 14, 2025
6a773b1
Merge branch 'feat/triggerable-exits' of github.com:lidofinance/core …
eddort Jul 14, 2025
8e2f2ec
Merge pull request #1227 from lidofinance/fix/remove-redundant-delive…
F4ever Jul 14, 2025
3493aaa
feat: Emit an event when the maximum number of validator exits per re…
Amuhar Jul 14, 2025
498d5da
Remove redundant version check
hweawer Jul 14, 2025
26bea4d
feat: add underflow protection and tests for setExitDeadlineThreshold…
eddort Jul 14, 2025
7ec530d
refactor: reuse variable in verifyValidatorExitDelay
eddort Jul 14, 2025
9a366e1
Merge branch 'feat/tw-verifier-improvements' of github.com:lidofinanc…
eddort Jul 14, 2025
d3ada7a
docs: update deprecation notice for updateTargetValidatorsLimits func…
eddort Jul 14, 2025
dfa2805
Merge pull request #1234 from lidofinance/fix/audit-ackee
F4ever Jul 14, 2025
5b1e442
refactor: update getFrameConfig to include fastLaneLengthSlots
eddort Jul 14, 2025
5f33c41
Merge pull request #1236 from lidofinance/fix/setexitdeadlinethreshol…
eddort Jul 14, 2025
2c3b01d
Merge pull request #1237 from lidofinance/fix/outdated-iconsensuscont…
eddort Jul 14, 2025
91545ab
Merge pull request #1225 from lidofinance/feat/tw-verifier-improvements
eddort Jul 14, 2025
2f3abe1
Merge pull request #1235 from lidofinance/fix/remove-redundant-versio…
hweawer Jul 14, 2025
5c36fa4
fix: setExitLimits
Amuhar Jul 14, 2025
9db1683
Add tests
hweawer Jul 15, 2025
58eaada
Merge pull request #1240 from lidofinance/feat/exit-limit-utils-audit…
F4ever Jul 15, 2025
058a0b6
feat: move TW to in-contract defined interfaces
arwer13 Jul 16, 2025
3ab6087
fix: update contract addresses and clean up JSON configurations
eddort Jul 16, 2025
033f46b
feat: add utility to check local interfaces and fix them
arwer13 Jul 16, 2025
36b4e93
feat: deploy-tw -> tw-deploy
eddort Jul 16, 2025
5b0c8df
fix: define SLOTS_PER_HISTORICAL_ROOT constant for clarity
eddort Jul 16, 2025
d679b01
fix: review deploy script
eddort Jul 16, 2025
4c99d26
feat: tweak exit delay tests
F4ever Jul 16, 2025
aa4caaf
Merge pull request #1246 from lidofinance/fix/deploy-hoodi
F4ever Jul 16, 2025
28c62bf
Merge pull request #1245 from lidofinance/fix/untacked-sources-change
F4ever Jul 16, 2025
cfa0c6a
feat(tw): add sleep to verifyContract to avoid API errors
chasingrainbows Jul 17, 2025
812a45d
feat(tw-hoodi): add deployed-hoodi.json
chasingrainbows Jul 23, 2025
fa84002
wip: upgrade protocol on fork
eddort Jun 12, 2025
3c87a13
wip: deploy aragon script
eddort Jun 12, 2025
8c96423
wip: aragon mock
eddort Jun 12, 2025
67bc2f0
feat: aragon voting for tw
eddort Jun 12, 2025
e5d2673
fix: TWVoteScript build
eddort Jun 13, 2025
75e3e7c
wip: deploy params and state file
eddort Jun 13, 2025
23d10e8
wip: integration test fixes
eddort Jun 13, 2025
0cf698d
feat(orc-420): unskip sdvt related tests
chasingrainbows Jun 24, 2025
d22abba
feat(orc-420): add sdvt to vote
chasingrainbows Jun 24, 2025
865fcfb
feat(orc-420): unskip tests
chasingrainbows Jun 26, 2025
d1a1d00
feat(orc-420): add voting to CI
chasingrainbows Jun 26, 2025
52ef8ef
feat(orc-420): bring back oracles
chasingrainbows Jun 27, 2025
f65995e
fix: remove usused gindex from verifier
F4ever Jul 28, 2025
a69ddf4
feat(orc-420): shut up linter
chasingrainbows Jul 2, 2025
6087ba4
feat(orc-420): fix tests for DG
chasingrainbows Jul 10, 2025
32fd517
feat(orc-420): add ir for voting script
chasingrainbows Jul 21, 2025
ce5e3e5
feat(orc-420): fix signatures
chasingrainbows Jul 24, 2025
0f2876b
feat(orc-420): improve run tests script
chasingrainbows Jul 24, 2025
3e89cd3
feat(orc-420): fix validatorExitDelayVerifierArgs
chasingrainbows Jul 24, 2025
b9f2066
feat(orc-420): fix staking limits dependent tests
chasingrainbows Jul 27, 2025
c871466
feat(orc-420): remove old code
chasingrainbows Jul 28, 2025
d30d2b2
fix: remove deployed-mainnet-upgrade.json
eddort Aug 5, 2025
870e0b8
feat: remove unused test-scratch-upgrade.sh script
eddort Aug 5, 2025
b8ec4f4
refactor: remove unused overrides from Hardhat config and console log…
eddort Aug 5, 2025
c0a51de
Merge pull request #1314 from lidofinance/fix/remove-unsued-param-fro…
F4ever Aug 6, 2025
62237e5
feat: add IOssifiableProxy interface and update getAddress function t…
eddort Aug 7, 2025
eba21f7
Merge pull request #1289 from lidofinance/feat/tw-deployed-hoodi-json
eddort Aug 7, 2025
f3ba19c
Merge pull request #1242 from lidofinance/feature/orc-420-fix-tw-depl…
eddort Aug 7, 2025
8f0c4a4
Merge branch 'feat/triggerable-exits' of github.com:lidofinance/core …
eddort Aug 7, 2025
5356868
Merge branch 'develop' of github.com:lidofinance/core into feat/trigg…
eddort Aug 7, 2025
015b99c
Merge branch 'feat/triggerable-exits' of github.com:lidofinance/core …
eddort Aug 7, 2025
8406338
fix: update import path for IStakingModule in ICSModule interface
eddort Aug 7, 2025
bcf57ed
fix: remove stuckKeys from extra data preparation in submitMainReport…
eddort Aug 7, 2025
3d5e849
fix: remove stuckKeys handling and update exitedKeys logic in account…
eddort Aug 7, 2025
f9f32ec
Merge pull request #1228 from lidofinance/fix/change-verifier-comparison
eddort Aug 7, 2025
429ef9e
fix: remove stuck items reporting and related logic in accounting ora…
eddort Aug 7, 2025
85c027d
fix: remove unused reportTx variable in accounting oracle integration…
eddort Aug 7, 2025
8635059
fix: add gas estimation and logging for transaction and deployment pr…
eddort Aug 7, 2025
e34246c
Revert "fix: add gas estimation and logging for transaction and deplo…
eddort Aug 7, 2025
b9d4222
fix: remove stuck items reporting and related logic in accounting ora…
eddort Aug 8, 2025
a6d8231
Merge pull request #1353 from lidofinance/feat/triggerable-exits-merg…
eddort Aug 8, 2025
f531dde
fix: update network configuration for hoodi and redeploy locator + tw…
eddort Aug 8, 2025
7547265
Merge pull request #1356 from lidofinance/feat/triggerable-exits-hood…
eddort Aug 8, 2025
e83f5a2
Merge pull request #1018 from lidofinance/feat/triggerable-exits
tamtamchik Aug 18, 2025
e36f72f
chore: adjust calculation of historical block root gI
madlabman Aug 22, 2025
55e32d5
test: port tests for getHistoricalBlockRootGI
madlabman Aug 22, 2025
acf3188
Merge pull request #1393 from lidofinance/historical-block-root-gi
tamtamchik Aug 27, 2025
061e27d
feat(tw-deploy): gateseal state and network state var
hweawer Aug 27, 2025
b5a5ecf
Revert test deploy
hweawer Aug 27, 2025
381a03d
Merge pull request #1402 from lidofinance/feat/fix-deploy-tw-mainnet
tamtamchik Aug 28, 2025
db598c1
fix(tw-deploy): Fix CAPELLA_SLOT for mainnet
hweawer Aug 28, 2025
5941659
Merge pull request #1405 from lidofinance/feat/fix-capella-slot-tw-de…
tamtamchik Aug 29, 2025
9133ba5
fix(tw-deploy): Fix slots for verifier
hweawer Sep 1, 2025
1c58efa
Merge pull request #1409 from lidofinance/feat/tw-fix-slots
tamtamchik Sep 1, 2025
2feb83f
Update hoodi state after TW redeploy
hweawer Sep 3, 2025
c9ef333
Merge pull request #1415 from lidofinance/update-tw-hoodi-state
tamtamchik Sep 4, 2025
100a2a4
chore: update readme
mkurayan Sep 10, 2025
3d18a60
Merge pull request #1434 from lidofinance/feat/update-readme
tamtamchik Sep 10, 2025
3c5737a
fix: update test script to run all unit tests
eddort Sep 12, 2025
33b2475
feat: add mainnet configuration to Hardhat config
eddort Sep 12, 2025
3247a42
feat: tw deploy on mainnet
F4ever Sep 12, 2025
cf48a1f
Merge pull request #1439 from lidofinance/fix/package-json-test-script
tamtamchik Sep 13, 2025
bb80f34
fix: deploy contract
F4ever Sep 23, 2025
85afa92
fix: update tw verifier deploy
F4ever Sep 23, 2025
4566418
fix: update dualgov contract
F4ever Sep 23, 2025
4101ddc
chore: update fixture for validator proof
madlabman Sep 23, 2025
9d2debf
Merge pull request #1462 from lidofinance/fixture
F4ever Sep 23, 2025
e87c073
fix: units params
F4ever Sep 23, 2025
b738605
feat: add description for values
F4ever Sep 24, 2025
4b43a17
Merge pull request #1460 from lidofinance/fix/tw-deploy
tamtamchik Sep 24, 2025
e1146b8
fix: scratch deploy after TW release
F4ever Sep 25, 2025
37e016e
chore: merge dev
F4ever Sep 30, 2025
6e44ac8
Merge pull request #1440 from lidofinance/feat/tw-deploy-mainnet
tamtamchik Sep 30, 2025
1a483a4
Merge branch 'develop' of github.com:lidofinance/core into fix/scratc…
F4ever Sep 30, 2025
39ba170
Merge pull request #1483 from lidofinance/fix/scratch-deploy-tw
tamtamchik Sep 30, 2025
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
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ LOCAL_ORACLE_DAEMON_CONFIG_ADDRESS=
LOCAL_ORACLE_REPORT_SANITY_CHECKER_ADDRESS=
LOCAL_SDVT_ADDRESS=
LOCAL_STAKING_ROUTER_ADDRESS=
LOCAL_VALIDATOR_EXIT_DELAY_VERIFIER_ADDRESS=
LOCAL_VALIDATORS_EXIT_BUS_ORACLE_ADDRESS=
LOCAL_WITHDRAWAL_QUEUE_ADDRESS=
LOCAL_WITHDRAWAL_VAULT_ADDRESS=
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
coverage:
name: Hardhat
runs-on: ubuntu-latest
env:
NODE_OPTIONS: --max_old_space_size=6400

permissions:
contents: write
Expand Down
29 changes: 27 additions & 2 deletions .github/workflows/tests-integration-mainnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,42 @@ jobs:
- 8545:8545
env:
ETH_RPC_URL: "${{ secrets.ETH_RPC_URL }}"
HARDFORK: "prague"

steps:
- uses: actions/checkout@v4

- name: Common setup
uses: ./.github/workflows/setup

- name: Set env
run: cp .env.example .env
- name: Prepare network state file
run: cp deployed-mainnet.json deployed-mainnet-upgrade.json

- name: Deploy upgrade
run: yarn upgrade:deploy
env:
RPC_URL: http://localhost:8545
# first acc of default mnemonic "test test ..."
DEPLOYER: "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"
GAS_PRIORITY_FEE: 1
GAS_MAX_FEE: 100
NETWORK_STATE_FILE: deployed-mainnet-upgrade.json
GENESIS_TIME: 1606824023

- name: Mock Aragon voting
run: yarn upgrade:mock-voting
env:
RPC_URL: http://localhost:8545
NETWORK_STATE_FILE: deployed-mainnet-upgrade.json

- name: Workaround for not updated state error when forking a fork
run: yarn hardhat --network local run --no-compile scripts/utils/mine.ts
env:
RPC_URL: http://localhost:8545

- name: Run integration tests
run: yarn test:integration:fork:mainnet
env:
LOG_LEVEL: debug
RPC_URL: http://localhost:8545
NETWORK_STATE_FILE: deployed-mainnet-upgrade.json
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.idea/
.yarn/
.vscode/
.cursor/

node_modules/
coverage/
Expand All @@ -26,6 +27,7 @@ accounts.json
deployed-local.json
deployed-hardhat.json
deployed-local-devnet.json
deployed-mainnet-upgrade.json

# MacOS
.DS_Store
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Please refer to the [Lido Contributor Code of Conduct](/CODE_OF_CONDUCT.md).

## License

2024 Lido <[email protected]>
2025 Lido <[email protected]>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
514 changes: 221 additions & 293 deletions contracts/0.4.24/nos/NodeOperatorsRegistry.sol

Large diffs are not rendered by default.

Loading
Loading