Skip to content

Commit

Permalink
fix: adjust skip blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
1kresh committed Dec 2, 2024
1 parent 096ce7c commit db3b192
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion out/SymbioticCoreInit.sol/SymbioticCoreInit.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion out/SymbioticInit.sol/SymbioticInit.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions test/integration/SymbioticInit.sol
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ contract SymbioticInit is Test, SymbioticCounter {
function _skipBlocks_Symbiotic(
uint256 number
) internal virtual {
try vm.activeFork() {
vm.rollFork(vm.getBlockNumber() + number);
try vm.activeFork() returns (uint256 forkId) {
vm.rollFork(forkId, vm.getBlockNumber() + number);
} catch {
vm.warp(vm.getBlockTimestamp() + number * SYMBIOTIC_BLOCK_TIME);
vm.roll(vm.getBlockNumber() + number);
Expand Down

0 comments on commit db3b192

Please sign in to comment.