Skip to content

Commit 2f220d1

Browse files
authored
🥢 Set _skipRoundTripShares Flag in ERC4626VaultTest (#336)
### 🕓 Changelog The test library [`erc4626-tests`](https://github.com/a16z/erc4626-tests) introduced the `_skipRoundTripShares` flag in PR [a16z/erc4626-tests#15](a16z/erc4626-tests#15). When set to `true`, it skips the shares inequality assertions in round‑trip tests. The default value is `false`, but since we favour explicitness, we explicitly set `_skipRoundTripShares = false` in the `ERC4626VaultTest` test `setUp` function. Furthermore, this commit pins [`forge-std`](https://github.com/foundry-rs/forge-std) to commit [`369dd01c808c255765b074c12aa420da33947a65`](foundry-rs/forge-std@369dd01) to temporarily prevent CI test failures in the nightly [`halmos`](https://github.com/a16z/halmos)-based tests (see [foundry-rs/forge-std#705](foundry-rs/forge-std#705)). --------- Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
1 parent 75414b7 commit 2f220d1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

test/extensions/ERC4626.t.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ contract ERC4626VaultTest is ERC4626Test {
122122
_delta_ = 0;
123123
_vaultMayBeEmpty = true;
124124
_unlimitedAmount = true;
125+
_skipRoundTripShares = false;
125126
}
126127

127128
function testInitialSetup() public {

0 commit comments

Comments
 (0)