Skip to content

Commit

Permalink
fix: update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
roderik committed Feb 2, 2025
1 parent 4d0fa8b commit d53f72b
Show file tree
Hide file tree
Showing 10 changed files with 43 additions and 1,656 deletions.
2 changes: 1 addition & 1 deletion lib/forge-std/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "forge-std",
"version": "1.9.5",
"version": "1.9.6",
"description": "Forge Standard Library is a collection of helpful contracts and libraries for use with Forge and Foundry.",
"homepage": "https://book.getfoundry.sh/forge/forge-std",
"bugs": "https://github.com/foundry-rs/forge-std/issues",
Expand Down
17 changes: 0 additions & 17 deletions lib/forge-std/src/StdUtils.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ pragma solidity >=0.6.2 <0.9.0;
pragma experimental ABIEncoderV2;

import {IMulticall3} from "./interfaces/IMulticall3.sol";
import {MockERC20} from "./mocks/MockERC20.sol";
import {MockERC721} from "./mocks/MockERC721.sol";
import {VmSafe} from "./Vm.sol";

abstract contract StdUtils {
Expand Down Expand Up @@ -119,21 +117,6 @@ abstract contract StdUtils {
return vm.computeCreate2Address(salt, initCodeHash);
}

/// @dev returns an initialized mock ERC20 contract
function deployMockERC20(string memory name, string memory symbol, uint8 decimals)
internal
returns (MockERC20 mock)
{
mock = new MockERC20();
mock.initialize(name, symbol, decimals);
}

/// @dev returns an initialized mock ERC721 contract
function deployMockERC721(string memory name, string memory symbol) internal returns (MockERC721 mock) {
mock = new MockERC721();
mock.initialize(name, symbol);
}

/// @dev returns the hash of the init code (creation code + no args) used in CREATE2 with no constructor arguments
/// @param creationCode the creation code of a contract C, as returned by type(C).creationCode
function hashInitCode(bytes memory creationCode) internal pure returns (bytes32) {
Expand Down
24 changes: 21 additions & 3 deletions lib/forge-std/src/Vm.sol

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

234 changes: 0 additions & 234 deletions lib/forge-std/src/mocks/MockERC20.sol

This file was deleted.

Loading

0 comments on commit d53f72b

Please sign in to comment.