From cdb045560843939ba213ef01e9609b615f031602 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 26 Jan 2025 06:15:17 +0100 Subject: [PATCH] chore(output): weekly command output update (#1397) --- src/output/cast/cast-call | 2 +- src/output/cheatcodes/forge-test-cheatcodes | 4 ++-- src/output/cheatcodes/forge-test-cheatcodes-expectrevert | 4 ++-- src/output/cheatcodes/forge-test-cheatcodes-tracing | 4 ++-- src/output/cheatcodes/forge-test-simple | 6 +++--- src/output/deps/forge-install | 2 +- src/output/foundry-template/forge-test | 4 ++-- src/output/fuzz_testing/forge-test-fail-fuzz | 8 ++++---- src/output/fuzz_testing/forge-test-no-fuzz | 6 +++--- src/output/fuzz_testing/forge-test-success-fuzz | 8 ++++---- src/output/hello_foundry/forge-build | 2 +- src/output/hello_foundry/forge-init | 4 ++-- src/output/hello_foundry/forge-test | 6 +++--- src/output/nft_tutorial/forge-test | 6 +++--- .../test_filters/forge-test-match-contract-and-test | 6 +++--- src/output/test_filters/forge-test-match-path | 6 +++--- 16 files changed, 39 insertions(+), 39 deletions(-) diff --git a/src/output/cast/cast-call b/src/output/cast/cast-call index b3725bd21..983e6c447 100644 --- a/src/output/cast/cast-call +++ b/src/output/cast/cast-call @@ -3,6 +3,6 @@ $ cast call 0x6b175474e89094c44da98b954eedeac495271d0f "totalSupply()(uint256)" --rpc-url https://eth-mainnet.alchemyapi.io/v2/Lc7oIGYeL_QvInzI0Wiu_pOZZDEKBrdf // ANCHOR_END: command // ANCHOR: output -3558143720191111418243988461 [3.558e27] +3576277459337484294850624713 [3.576e27] // ANCHOR_END: output // ANCHOR_END: all diff --git a/src/output/cheatcodes/forge-test-cheatcodes b/src/output/cheatcodes/forge-test-cheatcodes index d33063258..2243bb0bb 100644 --- a/src/output/cheatcodes/forge-test-cheatcodes +++ b/src/output/cheatcodes/forge-test-cheatcodes @@ -8,8 +8,8 @@ No files changed, compilation skipped Ran 2 tests for test/OwnerUpOnly.t.sol:OwnerUpOnlyTest [PASS] testFail_IncrementAsNotOwner() (gas: 8314) [PASS] test_IncrementAsOwner() (gas: 29161) -Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 483.96µs (163.77µs CPU time) +Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 486.85µs (193.43µs CPU time) -Ran 1 test suite in 5.86ms (483.96µs CPU time): 2 tests passed, 0 failed, 0 skipped (2 total tests) +Ran 1 test suite in 5.94ms (486.85µs CPU time): 2 tests passed, 0 failed, 0 skipped (2 total tests) // ANCHOR_END: output // ANCHOR_END: all diff --git a/src/output/cheatcodes/forge-test-cheatcodes-expectrevert b/src/output/cheatcodes/forge-test-cheatcodes-expectrevert index f45622c67..54d3551e8 100644 --- a/src/output/cheatcodes/forge-test-cheatcodes-expectrevert +++ b/src/output/cheatcodes/forge-test-cheatcodes-expectrevert @@ -7,8 +7,8 @@ No files changed, compilation skipped Ran 1 test for test/OwnerUpOnly.t.sol:OwnerUpOnlyTest [PASS] test_IncrementAsOwner() (gas: 29161) -Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 383.06µs (49.64µs CPU time) +Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 396.74µs (58.41µs CPU time) -Ran 1 test suite in 5.77ms (383.06µs CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests) +Ran 1 test suite in 5.78ms (396.74µs CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests) // ANCHOR_END: output // ANCHOR_END: all diff --git a/src/output/cheatcodes/forge-test-cheatcodes-tracing b/src/output/cheatcodes/forge-test-cheatcodes-tracing index f9f7eb1a3..434d4de1d 100644 --- a/src/output/cheatcodes/forge-test-cheatcodes-tracing +++ b/src/output/cheatcodes/forge-test-cheatcodes-tracing @@ -15,8 +15,8 @@ Traces: │ └─ ← [Revert] Unauthorized() └─ ← [Revert] Unauthorized() -Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 421.03µs (83.50µs CPU time) +Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 402.13µs (60.30µs CPU time) -Ran 1 test suite in 5.99ms (421.03µs CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests) +Ran 1 test suite in 5.86ms (402.13µs CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests) // ANCHOR_END: output // ANCHOR_END: all diff --git a/src/output/cheatcodes/forge-test-simple b/src/output/cheatcodes/forge-test-simple index 8e496cd1b..0bbae3243 100644 --- a/src/output/cheatcodes/forge-test-simple +++ b/src/output/cheatcodes/forge-test-simple @@ -4,13 +4,13 @@ $ forge test --match-test test_IncrementAsOwner // ANCHOR_END: command // ANCHOR: output Compiling 24 files with Solc 0.8.10 -Solc 0.8.10 finished in 1.10s +Solc 0.8.10 finished in 1.09s Compiler run successful! Ran 1 test for test/OwnerUpOnly.t.sol:OwnerUpOnlyTest [PASS] test_IncrementAsOwner() (gas: 29161) -Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 455.99µs (84.60µs CPU time) +Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 466.66µs (63.57µs CPU time) -Ran 1 test suite in 5.89ms (455.99µs CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests) +Ran 1 test suite in 5.67ms (466.66µs CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests) // ANCHOR_END: output // ANCHOR_END: all diff --git a/src/output/deps/forge-install b/src/output/deps/forge-install index 5407a33db..3f0814388 100644 --- a/src/output/deps/forge-install +++ b/src/output/deps/forge-install @@ -3,7 +3,7 @@ $ forge install transmissions11/solmate // ANCHOR_END: command // ANCHOR: output -Installing solmate in /tmp/tmp.8c7PAzC67H/deps/lib/solmate (url: Some("https://github.com/transmissions11/solmate"), tag: None) +Installing solmate in /tmp/tmp.GYYsbFZ0VE/deps/lib/solmate (url: Some("https://github.com/transmissions11/solmate"), tag: None) Installed solmate // ANCHOR_END: output // ANCHOR_END: all diff --git a/src/output/foundry-template/forge-test b/src/output/foundry-template/forge-test index dae877722..d459b363e 100644 --- a/src/output/foundry-template/forge-test +++ b/src/output/foundry-template/forge-test @@ -9,8 +9,8 @@ Ran 3 tests for tests/Foo.t.sol:FooTest [PASS] testFork_Example() (gas: 3755) [PASS] testFuzz_Example(uint256) (runs: 1000, μ: 9111, ~: 9111) [PASS] test_Example() (gas: 11861) -Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 20.65ms (20.38ms CPU time) +Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 19.77ms (19.53ms CPU time) -Ran 1 test suite in 21.73ms (20.65ms CPU time): 3 tests passed, 0 failed, 0 skipped (3 total tests) +Ran 1 test suite in 20.86ms (19.77ms CPU time): 3 tests passed, 0 failed, 0 skipped (3 total tests) // ANCHOR_END: output // ANCHOR_END: all diff --git a/src/output/fuzz_testing/forge-test-fail-fuzz b/src/output/fuzz_testing/forge-test-fail-fuzz index 2bca559f0..2e610cb74 100644 --- a/src/output/fuzz_testing/forge-test-fail-fuzz +++ b/src/output/fuzz_testing/forge-test-fail-fuzz @@ -4,13 +4,13 @@ $ forge test --allow-failure // ANCHOR_END: command // ANCHOR: output Compiling 1 files with Solc 0.8.10 -Solc 0.8.10 finished in 1.04s +Solc 0.8.10 finished in 1.03s Compiler run successful! Ran 1 test for test/Safe.t.sol:SafeTest -[FAIL: EvmError: Revert; counterexample: calldata=0x29facca700000000000000000008b5a210bf77df16e1e4bfb8406769ffc0307cc53a743d args=[834204769179293694580214976748980775394848113291850813 [8.342e53]]] testFuzz_Withdraw(uint256) (runs: 3, μ: 19531, ~: 19531) -Suite result: FAILED. 0 passed; 1 failed; 0 skipped; finished in 800.27µs (465.42µs CPU time) +[FAIL: EvmError: Revert; counterexample: calldata=0x29facca70000000000000000000006ea534fc3377076cbf66c70e081bb9b8ae48cc35a15 args=[2587333523074308005057571453801746981703696687258133 [2.587e51]]] testFuzz_Withdraw(uint256) (runs: 1, μ: 19531, ~: 19531) +Suite result: FAILED. 0 passed; 1 failed; 0 skipped; finished in 723.25µs (389.76µs CPU time) -Ran 1 test suite in 6.23ms (800.27µs CPU time): 0 tests passed, 1 failed, 0 skipped (1 total tests) +Ran 1 test suite in 6.04ms (723.25µs CPU time): 0 tests passed, 1 failed, 0 skipped (1 total tests) // ANCHOR_END: output // ANCHOR_END: all diff --git a/src/output/fuzz_testing/forge-test-no-fuzz b/src/output/fuzz_testing/forge-test-no-fuzz index 0bda1f162..beae39cc1 100644 --- a/src/output/fuzz_testing/forge-test-no-fuzz +++ b/src/output/fuzz_testing/forge-test-no-fuzz @@ -4,13 +4,13 @@ $ forge test // ANCHOR_END: command // ANCHOR: output Compiling 24 files with Solc 0.8.10 -Solc 0.8.10 finished in 1.09s +Solc 0.8.10 finished in 1.07s Compiler run successful! Ran 1 test for test/Safe.t.sol:SafeTest [PASS] test_Withdraw() (gas: 19463) -Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 397.00µs (52.65µs CPU time) +Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 467.04µs (63.87µs CPU time) -Ran 1 test suite in 5.72ms (397.00µs CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests) +Ran 1 test suite in 5.73ms (467.04µs CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests) // ANCHOR_END: output // ANCHOR_END: all diff --git a/src/output/fuzz_testing/forge-test-success-fuzz b/src/output/fuzz_testing/forge-test-success-fuzz index fbca1b77f..c0a70f140 100644 --- a/src/output/fuzz_testing/forge-test-success-fuzz +++ b/src/output/fuzz_testing/forge-test-success-fuzz @@ -4,13 +4,13 @@ $ forge test // ANCHOR_END: command // ANCHOR: output Compiling 1 files with Solc 0.8.10 -Solc 0.8.10 finished in 1.05s +Solc 0.8.10 finished in 1.04s Compiler run successful! Ran 1 test for test/Safe.t.sol:SafeTest -[PASS] testFuzz_Withdraw(uint96) (runs: 257, μ: 19526, ~: 19631) -Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 4.88ms (4.55ms CPU time) +[PASS] testFuzz_Withdraw(uint96) (runs: 257, μ: 19213, ~: 19631) +Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 4.94ms (4.58ms CPU time) -Ran 1 test suite in 5.86ms (4.88ms CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests) +Ran 1 test suite in 5.89ms (4.94ms CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests) // ANCHOR_END: output // ANCHOR_END: all diff --git a/src/output/hello_foundry/forge-build b/src/output/hello_foundry/forge-build index b333ec106..b515440df 100644 --- a/src/output/hello_foundry/forge-build +++ b/src/output/hello_foundry/forge-build @@ -4,7 +4,7 @@ $ forge build // ANCHOR_END: command // ANCHOR: output Compiling 27 files with Solc 0.8.19 -Solc 0.8.19 finished in 1.07s +Solc 0.8.19 finished in 1.06s Compiler run successful! // ANCHOR_END: output // ANCHOR_END: all diff --git a/src/output/hello_foundry/forge-init b/src/output/hello_foundry/forge-init index b0cc71d8b..f29c257c3 100644 --- a/src/output/hello_foundry/forge-init +++ b/src/output/hello_foundry/forge-init @@ -3,8 +3,8 @@ $ forge init hello_foundry // ANCHOR_END: command // ANCHOR: output -Initializing /tmp/tmp.nRme4kZLDG/hello_foundry... -Installing forge-std in /tmp/tmp.nRme4kZLDG/hello_foundry/lib/forge-std (url: Some("https://github.com/foundry-rs/forge-std"), tag: None) +Initializing /tmp/tmp.OUvXSbj7xY/hello_foundry... +Installing forge-std in /tmp/tmp.OUvXSbj7xY/hello_foundry/lib/forge-std (url: Some("https://github.com/foundry-rs/forge-std"), tag: None) Installed forge-std v1.9.5 Initialized forge project // ANCHOR_END: output diff --git a/src/output/hello_foundry/forge-test b/src/output/hello_foundry/forge-test index 2c4b55552..0a4df00e0 100644 --- a/src/output/hello_foundry/forge-test +++ b/src/output/hello_foundry/forge-test @@ -6,10 +6,10 @@ $ forge test No files changed, compilation skipped Ran 2 tests for test/Counter.t.sol:CounterTest -[PASS] testFuzz_SetNumber(uint256) (runs: 256, μ: 30977, ~: 31288) +[PASS] testFuzz_SetNumber(uint256) (runs: 256, μ: 31054, ~: 31288) [PASS] test_Increment() (gas: 31303) -Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 8.42ms (8.10ms CPU time) +Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 8.81ms (8.47ms CPU time) -Ran 1 test suite in 9.76ms (8.42ms CPU time): 2 tests passed, 0 failed, 0 skipped (2 total tests) +Ran 1 test suite in 9.74ms (8.81ms CPU time): 2 tests passed, 0 failed, 0 skipped (2 total tests) // ANCHOR_END: output // ANCHOR_END: all diff --git a/src/output/nft_tutorial/forge-test b/src/output/nft_tutorial/forge-test index 2ef8aeade..44e880700 100644 --- a/src/output/nft_tutorial/forge-test +++ b/src/output/nft_tutorial/forge-test @@ -14,7 +14,7 @@ Ran 8 tests for test/OpenZeppelinNft.t.sol:OpenZeppelinNftTests [PASS] testMintPricePaid() (gas: 81554) [PASS] testNewMintOwnerRegistered() (gas: 190956) [PASS] testSafeContractReceiver() (gas: 273151) -Suite result: ok. 8 passed; 0 failed; 0 skipped; finished in 1.55ms (1.23ms CPU time) +Suite result: ok. 8 passed; 0 failed; 0 skipped; finished in 1.63ms (1.24ms CPU time) Ran 8 tests for test/SolmateNft.sol:SolmateNftTests [PASS] testBalanceIncremented() (gas: 217400) @@ -25,8 +25,8 @@ Ran 8 tests for test/SolmateNft.sol:SolmateNftTests [PASS] testMintPricePaid() (gas: 81321) [PASS] testNewMintOwnerRegistered() (gas: 190741) [PASS] testSafeContractReceiver() (gas: 272655) -Suite result: ok. 8 passed; 0 failed; 0 skipped; finished in 1.55ms (1.33ms CPU time) +Suite result: ok. 8 passed; 0 failed; 0 skipped; finished in 1.63ms (1.35ms CPU time) -Ran 2 test suites in 6.14ms (3.09ms CPU time): 16 tests passed, 0 failed, 0 skipped (16 total tests) +Ran 2 test suites in 6.26ms (3.27ms CPU time): 16 tests passed, 0 failed, 0 skipped (16 total tests) // ANCHOR_END: output // ANCHOR_END: all diff --git a/src/output/test_filters/forge-test-match-contract-and-test b/src/output/test_filters/forge-test-match-contract-and-test index 7eb94766b..9a7d780ad 100644 --- a/src/output/test_filters/forge-test-match-contract-and-test +++ b/src/output/test_filters/forge-test-match-contract-and-test @@ -4,14 +4,14 @@ $ forge test --match-contract ComplicatedContractTest --match-test test_Deposit // ANCHOR_END: command // ANCHOR: output Compiling 24 files with Solc 0.8.10 -Solc 0.8.10 finished in 1.07s +Solc 0.8.10 finished in 1.05s Compiler run successful! Ran 2 tests for test/ComplicatedContract.t.sol:ComplicatedContractTest [PASS] test_DepositERC20() (gas: 102193) [PASS] test_DepositETH() (gas: 61414) -Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 1.18ms (1.50ms CPU time) +Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 1.32ms (1.50ms CPU time) -Ran 1 test suite in 6.17ms (1.18ms CPU time): 2 tests passed, 0 failed, 0 skipped (2 total tests) +Ran 1 test suite in 5.83ms (1.32ms CPU time): 2 tests passed, 0 failed, 0 skipped (2 total tests) // ANCHOR_END: output // ANCHOR_END: all diff --git a/src/output/test_filters/forge-test-match-path b/src/output/test_filters/forge-test-match-path index f7544fbdd..56330333c 100644 --- a/src/output/test_filters/forge-test-match-path +++ b/src/output/test_filters/forge-test-match-path @@ -4,13 +4,13 @@ $ forge test --match-path test/ContractB.t.sol // ANCHOR_END: command // ANCHOR: output Compiling 1 files with Solc 0.8.10 -Solc 0.8.10 finished in 1.03s +Solc 0.8.10 finished in 1.06s Compiler run successful! Ran 1 test for test/ContractB.t.sol:ContractBTest [PASS] testExample() (gas: 257) -Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 321.99µs (51.93µs CPU time) +Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 296.32µs (53.01µs CPU time) -Ran 1 test suite in 5.80ms (321.99µs CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests) +Ran 1 test suite in 6.77ms (296.32µs CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests) // ANCHOR_END: output // ANCHOR_END: all