Skip to content

Commit 8b336ab

Browse files
committed
fix: update dockerfile
1 parent 78c14c5 commit 8b336ab

10 files changed

+43
-1656
lines changed

lib/forge-std/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "forge-std",
3-
"version": "1.9.5",
3+
"version": "1.9.6",
44
"description": "Forge Standard Library is a collection of helpful contracts and libraries for use with Forge and Foundry.",
55
"homepage": "https://book.getfoundry.sh/forge/forge-std",
66
"bugs": "https://github.com/foundry-rs/forge-std/issues",

lib/forge-std/src/StdUtils.sol

-17
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ pragma solidity >=0.6.2 <0.9.0;
44
pragma experimental ABIEncoderV2;
55

66
import {IMulticall3} from "./interfaces/IMulticall3.sol";
7-
import {MockERC20} from "./mocks/MockERC20.sol";
8-
import {MockERC721} from "./mocks/MockERC721.sol";
97
import {VmSafe} from "./Vm.sol";
108

119
abstract contract StdUtils {
@@ -119,21 +117,6 @@ abstract contract StdUtils {
119117
return vm.computeCreate2Address(salt, initCodeHash);
120118
}
121119

122-
/// @dev returns an initialized mock ERC20 contract
123-
function deployMockERC20(string memory name, string memory symbol, uint8 decimals)
124-
internal
125-
returns (MockERC20 mock)
126-
{
127-
mock = new MockERC20();
128-
mock.initialize(name, symbol, decimals);
129-
}
130-
131-
/// @dev returns an initialized mock ERC721 contract
132-
function deployMockERC721(string memory name, string memory symbol) internal returns (MockERC721 mock) {
133-
mock = new MockERC721();
134-
mock.initialize(name, symbol);
135-
}
136-
137120
/// @dev returns the hash of the init code (creation code + no args) used in CREATE2 with no constructor arguments
138121
/// @param creationCode the creation code of a contract C, as returned by type(C).creationCode
139122
function hashInitCode(bytes memory creationCode) internal pure returns (bytes32) {

lib/forge-std/src/Vm.sol

+21-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/forge-std/src/mocks/MockERC20.sol

-234
This file was deleted.

0 commit comments

Comments
 (0)