From e513f923b4843e0a31e3f0ecd4030ad98d22ba9e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 9 Feb 2025 12:20:23 +0100 Subject: [PATCH] chore(output): weekly command output update (#1444) update command output Co-authored-by: mattsse --- src/output/cast/cast-call | 2 +- src/output/cheatcodes/forge-test-cheatcodes-expectrevert | 4 ++-- src/output/cheatcodes/forge-test-simple | 6 +++--- 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-install | 4 ++-- src/output/hello_foundry/forge-test | 6 +++--- .../test_filters/forge-test-match-contract-and-test | 6 +++--- src/output/test_filters/forge-test-match-path | 6 +++--- 12 files changed, 31 insertions(+), 31 deletions(-) diff --git a/src/output/cast/cast-call b/src/output/cast/cast-call index d0791ab5c..3b53f50ae 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 -3522677596509514749719947116 [3.522e27] +3466458732448743510785491421 [3.466e27] // 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 4bc945ff3..5b7d582c4 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: 29808) -Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 392.31µs (52.75µs CPU time) +Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 436.37µs (53.44µs CPU time) -Ran 1 test suite in 5.44ms (392.31µs CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests) +Ran 1 test suite in 5.46ms (436.37µ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 bc36a1c8e..7841ca1e6 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 677.30ms +Solc 0.8.10 finished in 669.97ms Compiler run successful! Ran 1 test for test/OwnerUpOnly.t.sol:OwnerUpOnlyTest [PASS] test_IncrementAsOwner() (gas: 29808) -Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 508.94µs (61.16µs CPU time) +Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 505.33µs (65.17µs CPU time) -Ran 1 test suite in 5.40ms (508.94µs CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests) +Ran 1 test suite in 5.49ms (505.33µ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-fail-fuzz b/src/output/fuzz_testing/forge-test-fail-fuzz index 71e9060be..1828eca51 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 613.80ms +Solc 0.8.10 finished in 627.28ms Compiler run successful! Ran 1 test for test/Safe.t.sol:SafeTest -[FAIL: EvmError: Revert; counterexample: calldata=0x29facca7000000000021c07e2a184c843934c60e1b7193dd926d92f4e1e12d634f926c9e args=[13884736649380709696296345338332420822780417755528196300064582814 [1.388e64]]] testFuzz_Withdraw(uint256) (runs: 2, μ: 19884, ~: 19884) -Suite result: FAILED. 0 passed; 1 failed; 0 skipped; finished in 880.88µs (445.41µs CPU time) +[FAIL: EvmError: Revert; counterexample: calldata=0x29facca7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc args=[115792089237316195423570985008687907853269984665640564039457584007913129639932 [1.157e77]]] testFuzz_Withdraw(uint256) (runs: 3, μ: 19884, ~: 19884) +Suite result: FAILED. 0 passed; 1 failed; 0 skipped; finished in 892.12µs (487.21µs CPU time) -Ran 1 test suite in 5.86ms (880.88µs CPU time): 0 tests passed, 1 failed, 0 skipped (1 total tests) +Ran 1 test suite in 5.96ms (892.12µ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 656abba05..a3a6badd6 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 662.74ms +Solc 0.8.10 finished in 672.19ms Compiler run successful! Ran 1 test for test/Safe.t.sol:SafeTest [PASS] test_Withdraw() (gas: 19644) -Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 468.87µs (51.14µs CPU time) +Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 507.43µs (53.51µs CPU time) -Ran 1 test suite in 5.32ms (468.87µs CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests) +Ran 1 test suite in 5.38ms (507.43µ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 ff0337865..8ccbb3562 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 622.20ms +Solc 0.8.10 finished in 630.48ms Compiler run successful! Ran 1 test for test/Safe.t.sol:SafeTest -[PASS] testFuzz_Withdraw(uint96) (runs: 257, μ: 19714, ~: 19923) -Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 5.62ms (5.26ms CPU time) +[PASS] testFuzz_Withdraw(uint96) (runs: 257, μ: 19558, ~: 19923) +Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 5.72ms (5.33ms CPU time) -Ran 1 test suite in 6.61ms (5.62ms CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests) +Ran 1 test suite in 6.70ms (5.72ms 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 f5a55b89f..1a05b7749 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 22 files with Solc 0.8.19 -Solc 0.8.19 finished in 561.77ms +Solc 0.8.19 finished in 594.35ms 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 51f051edb..3d81131e6 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.zsoajxRxB4/hello_foundry... -Installing forge-std in /tmp/tmp.zsoajxRxB4/hello_foundry/lib/forge-std (url: Some("https://github.com/foundry-rs/forge-std"), tag: None) +Initializing /tmp/tmp.IR66eHwrEn/hello_foundry... +Installing forge-std in /tmp/tmp.IR66eHwrEn/hello_foundry/lib/forge-std (url: Some("https://github.com/foundry-rs/forge-std"), tag: None) Installed forge-std v1.9.6 Initialized forge project // ANCHOR_END: output diff --git a/src/output/hello_foundry/forge-install b/src/output/hello_foundry/forge-install index 248130b05..d0a481eeb 100644 --- a/src/output/hello_foundry/forge-install +++ b/src/output/hello_foundry/forge-install @@ -3,7 +3,7 @@ $ forge install vectorized/solady // ANCHOR_END: command // ANCHOR: output -Installing solady in /tmp/tmp.zsoajxRxB4/hello_foundry/lib/solady (url: Some("https://github.com/vectorized/solady"), tag: None) - Installed solady v0.1.3 +Installing solady in /tmp/tmp.IR66eHwrEn/hello_foundry/lib/solady (url: Some("https://github.com/vectorized/solady"), tag: None) + Installed solady v0.1.7 // ANCHOR_END: output // ANCHOR_END: all diff --git a/src/output/hello_foundry/forge-test b/src/output/hello_foundry/forge-test index 602721496..4577f592b 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, μ: 31685, ~: 32385) +[PASS] testFuzz_SetNumber(uint256) (runs: 256, μ: 32229, ~: 32385) [PASS] test_Increment() (gas: 31874) -Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 7.18ms (6.83ms CPU time) +Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 9.94ms (9.54ms CPU time) -Ran 1 test suite in 8.11ms (7.18ms CPU time): 2 tests passed, 0 failed, 0 skipped (2 total tests) +Ran 1 test suite in 10.94ms (9.94ms 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-contract-and-test b/src/output/test_filters/forge-test-match-contract-and-test index 43b6a3c16..cc8eb5614 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 663.14ms +Solc 0.8.10 finished in 662.73ms Compiler run successful! Ran 2 tests for test/ComplicatedContract.t.sol:ComplicatedContractTest [PASS] test_DepositERC20() (gas: 179207) [PASS] test_DepositETH() (gas: 107628) -Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 2.24ms (2.86ms CPU time) +Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 2.20ms (2.73ms CPU time) -Ran 1 test suite in 6.12ms (2.24ms CPU time): 2 tests passed, 0 failed, 0 skipped (2 total tests) +Ran 1 test suite in 5.90ms (2.20ms 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 6c4d6b48e..7c90e7aea 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 605.82ms +Solc 0.8.10 finished in 614.61ms 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 361.93µs (46.38µs CPU time) +Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 344.46µs (38.95µs CPU time) -Ran 1 test suite in 5.44ms (361.93µs CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests) +Ran 1 test suite in 5.54ms (344.46µs CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests) // ANCHOR_END: output // ANCHOR_END: all