• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

SizeCredit / size-solidity / 15663103776

15 Jun 2025 12:18PM UTC coverage: 93.562%. First build
15663103776

push

github

web-flow
v1.8 bugfixes (#177)

* WIP

- Add SizeFactory.{addVault,removeVault,isVault}
- Add minimal Vault (needs to change)
- Change Size.initialize
- Change Size.reinitialize
- Change setUserConfiguration
- Change DepositTokenLibrary
- Change deposit/withdraw

* WIP

* Remove liquidityIndexAtRepayment logic

* Add TODO notes

* VaultWrapper WIP

* WIP

* WIP

* Compiling

* First version of NonTransferrableTokenVault

* Update transferFrom function

* Add missing _withdrawFromAave

* Store PPS

* Rollback ppsAtRepayment

* ReinitializeV1_8 tests

* Update coverage script

* Add comments

* Fix deposit/withdraw ERC4626 implementation

* More tests

* Fix slither

* Add more tests

* Remove borrow cap?

* Add slither disable for unused-return

* Remove CapsLibrary

* Fix tests

* Remove caps test

* Remove borrowTokenCap from riskConfig

* Remove deprecated test

* WIP UserVaults tests

* Add test_UserVaults_malicious_vault

* Add more UserVaults tests

* Vault whitelist cannot be disabled

* Finish UserVaults unit tests

* Rename UserVault to Vault

* Update invariant tests to set vault

* Fix slither

* Update prepare_crytic

* Update Properties

* Add new property

* Fix broken compilation

* Fix prepare-crytic

* Add reproducer

* Reset shares to 0 on vault changes

* Update

* svUSDC.totalSupply() reverts

* Add totalSupply O(n)

* Fix totalSupply test

* Fix tests

* Fix tests

* Create ForkVaults test

* Create v1.8 script

* Create fork tests

* transferFrom should always transfer full

* Fix slither

* Add InsufficientTotalAssets expected error

* Update README

* Refactor NonTransferrableRebasingTokenVault with strategies

* Fix CI

* Add ForkVaults_aave test

* Add vaultDust

* Update test_NonTransferrableRebasingTokenVault_admin_removes_vault_after_deposits

* Add README

* v1.8 entrypoint

* Create test for "ideal flow"

* Fix slither

* WIP

* WIP

* WIP

* WIP

* WIP

* Ad ERC721 to CollectionsManager

* Add ERC721EnumerableUpgradeable to Collec... (continued)

325 of 349 branches covered (93.12%)

Branch coverage included in aggregate %.

643 of 662 new or added lines in 29 files covered. (97.13%)

1695 of 1810 relevant lines covered (93.65%)

4357.28 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

50.0
/src/helpers/ReentrancyGuardUpgradeableWithViewModifier.sol
1
// SPDX-License-Identifier: MIT
2
pragma solidity 0.8.23;
3

4
import {ReentrancyGuardUpgradeable} from "@openzeppelin/contracts-upgradeable/utils/ReentrancyGuardUpgradeable.sol";
5

6
abstract contract ReentrancyGuardUpgradeableWithViewModifier is ReentrancyGuardUpgradeable {
7
    /// @dev See https://github.com/OpenZeppelin/openzeppelin-contracts/issues/4422
8
    modifier nonReentrantView() {
52,400✔
9
        if (_reentrancyGuardEntered()) {
52,400!
NEW
10
            revert ReentrancyGuardReentrantCall();
×
11
        }
12
        _;
13
    }
14
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc