Skip to content

Commit 8db05ee

Browse files
committed
fix: force upgrade elliptic
1 parent de11613 commit 8db05ee

File tree

4 files changed

+23
-4
lines changed

4 files changed

+23
-4
lines changed

lib/forge-std/src/StdCheats.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -645,11 +645,11 @@ abstract contract StdCheats is StdCheatsSafe {
645645

646646
// Skip forward or rewind time by the specified number of seconds
647647
function skip(uint256 time) internal virtual {
648-
vm.warp(block.timestamp + time);
648+
vm.warp(vm.getBlockTimestamp() + time);
649649
}
650650

651651
function rewind(uint256 time) internal virtual {
652-
vm.warp(block.timestamp - time);
652+
vm.warp(vm.getBlockTimestamp() - time);
653653
}
654654

655655
// Setup a prank from an address that has some ether

lib/forge-std/src/Vm.sol

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/forge-std/test/Vm.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {Vm, VmSafe} from "../src/Vm.sol";
99
// added to or removed from Vm or VmSafe.
1010
contract VmTest is Test {
1111
function test_VmInterfaceId() public pure {
12-
assertEq(type(Vm).interfaceId, bytes4(0x21af9696), "Vm");
12+
assertEq(type(Vm).interfaceId, bytes4(0xbe425eb2), "Vm");
1313
}
1414

1515
function test_VmSafeInterfaceId() public pure {

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@
4848
},
4949
"overrides": {
5050
"@graphprotocol/graph-cli": "0.91.0",
51-
"@graphprotocol/graph-ts": "0.36.0"
51+
"@graphprotocol/graph-ts": "0.36.0",
52+
"elliptic": "6.6.1"
5253
},
5354
"trustedDependencies": [
5455
"keccak",

0 commit comments

Comments
 (0)