Skip to content

Commit

Permalink
Merge pull request #881 from lidofinance/feat/vaults-develop-sync
Browse files Browse the repository at this point in the history
chore: sync vaults and develop
  • Loading branch information
tamtamchik authored Dec 2, 2024
2 parents d534778 + 5de258b commit e83f05f
Show file tree
Hide file tree
Showing 109 changed files with 10,657 additions and 5,072 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/analyse.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Analysis

on: [pull_request]
on:
pull_request:
push:
branches: [master]

jobs:
slither:
Expand Down Expand Up @@ -37,11 +40,7 @@ jobs:
- name: Run slither
run: >
poetry run slither . \
--no-fail-pedantic \
--compile-force-framework hardhat \
--sarif results.sarif \
--exclude pess-strange-setter,pess-arbitrary-call-calldata-tainted
poetry run slither . --no-fail-pedantic --sarif results.sarif
- name: Check results.sarif presence
id: results
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ jobs:
with:
path: ./coverage/cobertura-coverage.xml
publish: true
threshold: 95
# TODO: restore to 95% before release
threshold: 80
diff: true
diff-branch: master
diff-storage: _core_coverage_reports
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/tests-integration-scratch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ jobs:
run: yarn test:integration:fork:local
env:
LOG_LEVEL: "debug"
INTEGRATION_WITH_CSM: "off"
190 changes: 153 additions & 37 deletions contracts/0.4.24/nos/NodeOperatorsRegistry.sol

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion contracts/0.8.25/Accounting.sol
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ contract Accounting is VaultHub {
ReportValues memory _report,
PreReportState memory _pre,
CalculatedValues memory _update
) internal view {
) internal {
if (_report.timestamp >= block.timestamp) revert IncorrectReportTimestamp(_report.timestamp, block.timestamp);
if (_report.clValidators < _pre.clValidators || _report.clValidators > _pre.depositedValidators) {
revert IncorrectReportValidators(_report.clValidators, _pre.clValidators, _pre.depositedValidators);
Expand Down
2 changes: 1 addition & 1 deletion contracts/0.8.25/interfaces/IOracleReportSanityChecker.sol
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ interface IOracleReportSanityChecker {
uint256 _sharesRequestedToBurn,
uint256 _preCLValidators,
uint256 _postCLValidators
) external view;
) external;

//
function checkWithdrawalQueueOracleReport(
Expand Down
Loading

0 comments on commit e83f05f

Please sign in to comment.