Skip to content

Commit 34bb788

Browse files
Merge pull request #182 from euler-xyz/fix-seed
Circumvent foundry bug
2 parents 64f6d21 + c0d201e commit 34bb788

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

foundry.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ remappings = [
1616

1717
[profile.default.fuzz]
1818
max_test_rejects = 1_000_000
19-
seed = "0xee1d0f7d9556539a9c0e26aed5e63556"
19+
seed = "0xee1d0f7d9556539a9c0e26aed5e63555"
2020
runs = 1000
2121

2222
[profile.default.invariant]

test/unit/EthereumVaultConnector/Call.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ contract CallTest is Test {
274274
vm.assume(operator != address(evc) && targetContract != operator && !evc.haveCommonOwner(alice, operator));
275275
vm.assume(
276276
uint160(targetContract) > 255 && targetContract != address(evc)
277-
&& !evc.haveCommonOwner(alice, targetContract)
277+
&& !evc.haveCommonOwner(alice, targetContract) && targetContract.code.length == 0
278278
);
279279
vm.assume(id != 0);
280280
vm.assume(data.length != 0);

0 commit comments

Comments
 (0)