generated from transmissions11/dapptools-template
-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
The test fails because the starting block.number is 1, causing this assertion to fail: https://github.com/fei-protocol/flywheel-v2/blob/main/src/test/token/ERC20MultiVotes.t.sol#L247.
hevm.roll(1);
uint256 block2 = block.number;
require(block2 == block1 + 1);
hevm.roll sets the block number to 1 and the required condition (block2 == block1 + 1) is unmet.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels