Skip to content

Commit

Permalink
Merge pull request #2 from wschwab/patch-1
Browse files Browse the repository at this point in the history
smol fix in reentrantAware_multiDepth test
  • Loading branch information
0xfuturistic committed Jun 22, 2024
2 parents 091140d + 4d03c80 commit 19cbd66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/TransientContext.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ contract TransientReentrancyAwareTest is TransientContextTest, TransientReentran
uint256 _value1,
uint256 _value2
) public {
vm.assume(_callDepth < type(uint256).max - 1);
vm.assume(_callDepth < type(uint256).max - 2);
assembly ("memory-safe") {
tstore(sload(callDepthSlot.slot), _callDepth)
}
Expand Down

0 comments on commit 19cbd66

Please sign in to comment.