Skip to content

Commit

Permalink
reproduce issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperpawlowski committed Jan 20, 2025
1 parent 87d6df7 commit b6a3c24
Show file tree
Hide file tree
Showing 9 changed files with 7,049 additions and 57 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "lib/forge-std"]
path = lib/forge-std
url = https://github.com/foundry-rs/forge-std
[submodule "lib/openzeppelin-contracts"]
path = lib/openzeppelin-contracts
url = https://github.com/OpenZeppelin/openzeppelin-contracts
3,512 changes: 3,512 additions & 0 deletions broadcast/Test.s.sol/146/run-1737416551.json

Large diffs are not rendered by default.

3,512 changes: 3,512 additions & 0 deletions broadcast/Test.s.sol/146/run-latest.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions lib/openzeppelin-contracts
Submodule openzeppelin-contracts added at acd4ff
1 change: 1 addition & 0 deletions remappings.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/
19 changes: 0 additions & 19 deletions script/Counter.s.sol

This file was deleted.

20 changes: 20 additions & 0 deletions script/Test.s.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// SPDX-License-Identifier: GPL-2.0-or-later

pragma solidity ^0.8.0;

import {Script} from "forge-std/Script.sol";
import {ERC4626, ERC20, IERC20} from "openzeppelin-contracts/token/ERC20/extensions/ERC4626.sol";

contract MyERC4626 is ERC4626 {
constructor() ERC4626(IERC20(address(0))) ERC20("MyERC4626", "MYERC4626") {}
}

contract Test is Script {
function run() public {
vm.startBroadcast();
for (uint256 i = 0; i < 100; ++i) {
new MyERC4626();
}
vm.stopBroadcast();
}
}
14 changes: 0 additions & 14 deletions src/Counter.sol

This file was deleted.

24 changes: 0 additions & 24 deletions test/Counter.t.sol

This file was deleted.

0 comments on commit b6a3c24

Please sign in to comment.