Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
d3ed99e
fix: remove duplicated event
yurii-ssv Dec 23, 2025
ed10ee6
chore: comment current tests
yurii-ssv Dec 23, 2025
0a5a67b
feat: add tests setup boilerplate
yurii-ssv Dec 23, 2025
a1a98da
register tests added
venimir-ssv Dec 24, 2025
f2b9c34
Refactor balance getters (#348)
yurii-ssv Dec 24, 2025
59c3fad
fix: updateDAOEarningsSSV
yurii-ssv Dec 30, 2025
841f20b
fix: clusters owner read
yurii-ssv Dec 30, 2025
9284143
feat: rollback to threshold
yurii-ssv Dec 30, 2025
641a0d5
hotfix: cluster override
yurii-ssv Jan 5, 2026
39ef507
feat: update threshold
yurii-ssv Jan 5, 2026
f6df344
hotfix: ssv burn rate
yurii-ssv Jan 5, 2026
c9c0617
feat: config for hardhat network
yurii-ssv Jan 5, 2026
3316957
chore: unlimited contract size for localhost
yurii-ssv Jan 5, 2026
fc2d799
feat: add compilation in just recipes
yurii-ssv Jan 5, 2026
7c51b05
feat: test and coverage just recipes
yurii-ssv Jan 5, 2026
484546a
chore: stop logging local deployments
yurii-ssv Jan 5, 2026
ae8742a
feat: staking upgrade script
yurii-ssv Jan 5, 2026
311888d
wip: consts, errors, types, events for tests
yurii-ssv Jan 5, 2026
4a2407b
wip: harness contract to test ssvclusters
yurii-ssv Jan 5, 2026
d9a3e9c
feat: add types for connection
yurii-ssv Jan 5, 2026
456ff5b
feat: update test deployment scripts
yurii-ssv Jan 5, 2026
e6769e7
feat: fixtures
yurii-ssv Jan 5, 2026
91dc9ab
fix: remove wip code
yurii-ssv Jan 5, 2026
1e6c4aa
wip: network tests
yurii-ssv Jan 5, 2026
ec3624c
fix: cluster data storage load
yurii-ssv Jan 5, 2026
966bc88
clean obsolate code and aligned with new unit
venimir-ssv Jan 5, 2026
6246f77
bulk register unit added
venimir-ssv Jan 5, 2026
f4d2598
remove validator tests added
venimir-ssv Jan 5, 2026
596f8fe
bulk remove unit tests added
venimir-ssv Jan 5, 2026
605cbee
liquidate unit tests added
venimir-ssv Jan 5, 2026
e15fc06
reactivate unit tests added
venimir-ssv Jan 5, 2026
2c0dec1
deposit unit tests added
venimir-ssv Jan 5, 2026
4a0dcec
withdraw tests added
venimir-ssv Jan 5, 2026
7f556a2
exit validator tests added
venimir-ssv Jan 5, 2026
8628736
update cluster balance and migrate tests added
venimir-ssv Jan 5, 2026
7b6ae44
test: add shared cluster event helper and expand SSVClusters coverage
venimir-ssv Jan 5, 2026
05ea38b
script moved
venimir-ssv Jan 5, 2026
099fcaa
README updated
venimir-ssv Jan 5, 2026
9c832cb
feat: separate eth-ssv values and remove oracle timing
yurii-ssv Jan 7, 2026
368aceb
feat: new dao values getters
yurii-ssv Jan 7, 2026
faf2c48
feat: update ssv-eth separation storage
yurii-ssv Jan 7, 2026
d9c51e2
featL use ssv values for liquidation check
yurii-ssv Jan 7, 2026
9eead7d
feat: fix precision error for min fee
yurii-ssv Jan 7, 2026
7de5efa
chore: cleanup and todos
yurii-ssv Jan 7, 2026
b1cc262
chore: reentrant problem
yurii-ssv Jan 7, 2026
b1d318e
feat: tests wip
yurii-ssv Jan 7, 2026
62b1693
migrate to eth success test added
venimir-ssv Jan 7, 2026
979b2a4
migrate to eth success test added
venimir-ssv Jan 7, 2026
22113d4
feat: add oracle id and address to the root event
yurii-ssv Jan 7, 2026
9682ee5
feat: add oracleIds to the initializer
yurii-ssv Jan 7, 2026
8d6be92
chore: abis
yurii-ssv Jan 7, 2026
31de704
resolve merge conflicts
venimir-ssv Jan 7, 2026
3dbed68
Operators unit tests added
venimir-ssv Jan 7, 2026
7dfb42a
dao unit tests added
venimir-ssv Jan 7, 2026
12f024e
cleanup comments
venimir-ssv Jan 7, 2026
bb3537c
Merge pull request #355 from ssvlabs/unit/tests/dao
venimir-ssv Jan 7, 2026
19c1e9a
Merge pull request #354 from ssvlabs/unit/tests/operator
venimir-ssv Jan 7, 2026
1f471cf
liquidate and withdrawal operator earnings unit tests added
venimir-ssv Jan 7, 2026
e7139a0
Merge pull request #356 from ssvlabs/fix/add-unit-tests
venimir-ssv Jan 7, 2026
3da568d
fix: initializer selector
yurii-ssv Jan 8, 2026
13b1b31
Merge branch 'feature/hotfixes-and-tests' of https://github.com/ssvla…
yurii-ssv Jan 8, 2026
6118248
feat: separate NetworkFeeUpdated event
yurii-ssv Jan 8, 2026
c9c79b0
chore: abis
yurii-ssv Jan 8, 2026
e71bb4b
Add custom reentrancy guard lib and abstract wrapper mirroring OZ sto…
venimir-ssv Jan 8, 2026
e0013fd
revert added
venimir-ssv Jan 8, 2026
50a8c96
reentrancy test added
venimir-ssv Jan 9, 2026
0dd276a
Merge pull request #357 from ssvlabs/fix/reentrancy
venimir-ssv Jan 9, 2026
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
15 changes: 14 additions & 1 deletion Justfile
Original file line number Diff line number Diff line change
@@ -1,25 +1,38 @@
build:
npx hardhat compile
npx hardhat compile --force

clean:
npx hardhat clean

test:
npx hardhat test

coverage:
npx hardhat test --coverage
genhtml coverage/lcov.info -o coverage/html

sizes:
npx hardhat compile --force
npx tsx ./scripts/contract-sizes.ts

deploy-module module network:
npx hardhat compile --force
npx tsx scripts/deploy-module.ts --network {{network}} --module {{module}}

deploy-implementation contract network:
npx hardhat compile --force
npx tsx scripts/deploy-implementation.ts --network {{network}} --contract {{contract}}

deploy-all network:
npx hardhat compile --force
npx tsx scripts/deploy-all.ts --network {{network}}

update-module module proxy network:
npx hardhat compile --force
npx tsx scripts/update-module.ts --network {{network}} --module {{module}} --proxy-address {{proxy}}

upgrade-contract contract proxy network:
npx hardhat compile --force
npx tsx scripts/upgrade-contract.ts --network {{network}} --contract {{contract}} --proxy-address {{proxy}}

upgrade-implementation contract proxy implementation network:
Expand Down
5 changes: 5 additions & 0 deletions abis/ISSVStaking.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "onCSSVTransfer",
Expand Down
15 changes: 15 additions & 0 deletions abis/SSVClusters.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
"name": "AddressIsWhitelistingContract",
"type": "error"
},
{
"inputs": [],
"name": "AlreadyVoted",
"type": "error"
},
{
"inputs": [],
"name": "ApprovalNotWithinTimeframe",
Expand Down Expand Up @@ -262,6 +267,11 @@
"name": "NotCSSV",
"type": "error"
},
{
"inputs": [],
"name": "NotOracle",
"type": "error"
},
{
"inputs": [],
"name": "NothingToClaim",
Expand All @@ -287,6 +297,11 @@
"name": "OperatorsListNotUnique",
"type": "error"
},
{
"inputs": [],
"name": "OracleAlreadyAssigned",
"type": "error"
},
{
"inputs": [],
"name": "PublicKeysSharesLengthMismatch",
Expand Down
Loading
Loading