Skip to content

Commit

Permalink
fix: force upgrade elliptic
Browse files Browse the repository at this point in the history
  • Loading branch information
roderik committed Dec 6, 2024
1 parent 2c01f9f commit 8a241fa
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:22.11.0 AS build
FROM node:22.12.0 AS build

COPY --from=oven/bun:1.1.38-debian --chmod=0777 /usr/local/bin/bun /bin/bun
ENV BUN_RUNTIME_TRANSPILER_CACHE_PATH=0
Expand Down
4 changes: 2 additions & 2 deletions lib/forge-std/src/StdCheats.sol
Original file line number Diff line number Diff line change
Expand Up @@ -645,11 +645,11 @@ abstract contract StdCheats is StdCheatsSafe {

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

function rewind(uint256 time) internal virtual {
vm.warp(block.timestamp - time);
vm.warp(vm.getBlockTimestamp() - time);
}

// Setup a prank from an address that has some ether
Expand Down
18 changes: 18 additions & 0 deletions lib/forge-std/src/Vm.sol

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/forge-std/test/Vm.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {Vm, VmSafe} from "../src/Vm.sol";
// added to or removed from Vm or VmSafe.
contract VmTest is Test {
function test_VmInterfaceId() public pure {
assertEq(type(Vm).interfaceId, bytes4(0x21af9696), "Vm");
assertEq(type(Vm).interfaceId, bytes4(0xbe425eb2), "Vm");
}

function test_VmSafeInterfaceId() public pure {
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@
},
"overrides": {
"@graphprotocol/graph-cli": "0.91.0",
"@graphprotocol/graph-ts": "0.36.0"
"@graphprotocol/graph-ts": "0.36.0",
"elliptic": "6.6.1"
},
"trustedDependencies": [
"canvas",
Expand Down

0 comments on commit 8a241fa

Please sign in to comment.