Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fgimenez committed Jul 9, 2024
1 parent 3236bb6 commit dc48777
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@ evm_version = "Cancun"
optimizer = true
via_ir = true
prague = true
cbor_metadata = false
bytecode_hash = "none"

# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options
2 changes: 2 additions & 0 deletions src/UniswapV3Flattened.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5157,6 +5157,8 @@ contract UniswapV3Factory is IUniswapV3Factory, UniswapV3PoolDeployer, NoDelegat
function runTest() public {
TestERC20 t1 = new TestERC20{salt: 0x0000000000000000000000000000000000000000000000000000000000000001}(1000000000);
TestERC20 t2 = new TestERC20{salt: 0x0000000000000000000000000000000000000000000000000000000000000002}(1000000000);
(t1, t2) = (address(t2) < address(t1)) ? (t1, t2) : (t2, t1);

IUniswapV3Pool pool = IUniswapV3Pool(createPool(address(t1), address(t2), 500));

TestUniswapV3Callee test = new TestUniswapV3Callee();
Expand Down

0 comments on commit dc48777

Please sign in to comment.