Skip to content

Commit

Permalink
🧹
Browse files Browse the repository at this point in the history
  • Loading branch information
z0r0z authored May 9, 2024
1 parent 266136d commit b569898
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gas-snapshot
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Tester:test(string) (runs: 256, μ: 47817, ~: 24820)
TesterTest:testTest() (gas: 27868)
TesterTest:testTest() (gas: 29970)
3 changes: 2 additions & 1 deletion test/Tester.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ import {Tester} from "../src/Tester.sol";
import {Test} from "../lib/forge-std/src/Test.sol";

contract TesterTest is Test {
Tester immutable tester = new Tester();
Tester internal tester;

function setUp() public payable {
// vm.createSelectFork(vm.rpcUrl('main')); // Ethereum mainnet fork.
// vm.createSelectFork(vm.rpcUrl('base')); // Base OptimismL2 fork.
// vm.createSelectFork(vm.rpcUrl('poly')); // Polygon network fork.
// vm.createSelectFork(vm.rpcUrl('opti')); // Optimism EthL2 fork.
// vm.createSelectFork(vm.rpcUrl('arbi')); // Arbitrum EthL2 fork.
tester = new Tester();
}

function testTest() public payable {
Expand Down

0 comments on commit b569898

Please sign in to comment.