Skip to content

Commit 27eebc3

Browse files
chore(output): weekly command output update (#1760)
1 parent 6909846 commit 27eebc3

30 files changed

+72
-66
lines changed

src/pages/reference/anvil/anvil.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,12 @@ Environment config:
326326
327327
[aliases: --no-priority-fee]
328328
329+
--enable-tx-gas-limit
330+
Enable the transaction gas limit check as imposed by EIP-7825 (Osaka
331+
hardfork)
332+
333+
[aliases: --tx-gas-limit]
334+
329335
--gas-limit <GAS_LIMIT>
330336
The block gas limit
331337

src/snippets/output/cast/cast-4byte-calldata

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
$ cast 4byte-decode 0x1F1F897F676d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e7
44
// [!endregion command]
55
// [!region output]
6-
^D1) "fulfillRandomness(bytes32,uint256)"
6+
1) "fulfillRandomness(bytes32,uint256)"
77
0x676d000000000000000000000000000000000000000000000000000000000000
88
999
99
// [!endregion output]

src/snippets/output/cheatcodes/forge-test-cheatcodes-expectrevert

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
$ forge test --match-test "test_IncrementAsOwner|test_RevertWhen_CallerIsNotOwner" --match-path test/OwnerUpOnly.t.sol
44
// [!endregion command]
55
// [!region output]
6-
Solc 0.8.10 finished in 476.71ms
6+
Solc 0.8.10 finished in 680.39ms
77
Compiler run successful!
88
Ran 2 tests for test/OwnerUpOnly.t.sol:OwnerUpOnlyTest
99
[PASS] test_IncrementAsOwner() (gas: 29808)
1010
[PASS] test_RevertWhen_CallerIsNotOwner() (gas: 8923)
11-
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 383.83µs (255.50µs CPU time)
12-
Ran 1 test suite in 118.76ms (383.83µs CPU time): 2 tests passed, 0 failed, 0 skipped (2 total tests)
11+
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 420.42µs (176.63µs CPU time)
12+
Ran 1 test suite in 8.04ms (420.42µs CPU time): 2 tests passed, 0 failed, 0 skipped (2 total tests)
1313
// [!endregion output]
1414
// [!endregion all]

src/snippets/output/cheatcodes/forge-test-fail-vvv

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
$ forge test --match-test test_WithdrawAsNotOwner --match-path test/FailingTest.t.sol -vvv --allow-failure
44
// [!endregion command]
55
// [!region output]
6-
Solc 0.8.10 finished in 442.79ms
6+
Solc 0.8.10 finished in 639.54ms
77
Compiler run successful!
88
Ran 1 test for test/FailingTest.t.sol:VaultTest
99
[FAIL: Unauthorized()] test_WithdrawAsNotOwner() (gas: 8418)
@@ -17,7 +17,7 @@ Traces:
1717
Backtrace:
1818
at Vault.withdraw
1919
at VaultTest.test_WithdrawAsNotOwner
20-
Suite result: FAILED. 0 passed; 1 failed; 0 skipped; finished in 232.67µs (48.96µs CPU time)
21-
Ran 1 test suite in 124.88ms (232.67µs CPU time): 0 tests passed, 1 failed, 0 skipped (1 total tests)
20+
Suite result: FAILED. 0 passed; 1 failed; 0 skipped; finished in 249.96µs (51.51µs CPU time)
21+
Ran 1 test suite in 8.72ms (249.96µs CPU time): 0 tests passed, 1 failed, 0 skipped (1 total tests)
2222
// [!endregion output]
2323
// [!endregion all]

src/snippets/output/cheatcodes/forge-test-vvv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Compiling...
77
No files changed, compilation skipped
88
Ran 1 test for test/OwnerUpOnly.t.sol:OwnerUpOnlyTest
99
[PASS] test_IncrementAsOwner() (gas: 29808)
10-
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 291.08µs (49.75µs CPU time)
11-
Ran 1 test suite in 126.39ms (291.08µs CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests)
10+
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 256.95µs (47.85µs CPU time)
11+
Ran 1 test suite in 7.96ms (256.95µs CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests)
1212
// [!endregion output]
1313
// [!endregion all]

src/snippets/output/cheatcodes/forge-test-vvvv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Traces:
1616
├─ [407] OwnerUpOnly::count() [staticcall]
1717
│ └─ ← [Return] 1
1818
└─ ← [Stop]
19-
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 284.38µs (48.25µs CPU time)
20-
Ran 1 test suite in 125.55ms (284.38µs CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests)
19+
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 288.76µs (54.88µs CPU time)
20+
Ran 1 test suite in 7.73ms (288.76µs CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests)
2121
// [!endregion output]
2222
// [!endregion all]

src/snippets/output/forge_tree/forge-tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
$ forge tree
44
// [!endregion command]
55
// [!region output]
6-
^Dsrc/Morpho.sol =0.8.19
6+
src/Morpho.sol =0.8.19
77
├── src/interfaces/IMorpho.sol >=0.5.0
88
├── src/interfaces/IMorphoCallbacks.sol >=0.5.0
99
├── src/interfaces/IIrm.sol >=0.5.0

src/snippets/output/forge_tree/forge-tree-no-dedupe

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
$ forge tree --no-dedupe
44
// [!endregion command]
55
// [!region output]
6-
^Dsrc/Morpho.sol =0.8.19
6+
src/Morpho.sol =0.8.19
77
├── src/interfaces/IMorpho.sol >=0.5.0
88
├── src/interfaces/IMorphoCallbacks.sol >=0.5.0
99
├── src/interfaces/IIrm.sol >=0.5.0

src/snippets/output/fuzz_testing/forge-test-fail-fuzz

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
$ forge test --allow-failure
44
// [!endregion command]
55
// [!region output]
6-
Solc 0.8.10 finished in 456.61ms
6+
Solc 0.8.10 finished in 637.21ms
77
Compiler run successful!
88
Ran 1 test for test/Safe.t.sol:SafeTest
9-
[FAIL: EvmError: Revert; counterexample: calldata=0x29facca700000000000000000007c610e813f7a28d2c153548ba01f2ccbb51a462cd04fb args=[744572103079197515017852514518412695234289856427132155 [7.445e53]]] testFuzz_Withdraw(uint256) (runs: 2, μ: 19884, ~: 19884)
10-
Suite result: FAILED. 0 passed; 1 failed; 0 skipped; finished in 2.42ms (2.20ms CPU time)
11-
Ran 1 test suite in 123.86ms (2.42ms CPU time): 0 tests passed, 1 failed, 0 skipped (1 total tests)
9+
[FAIL: EvmError: Revert; counterexample: calldata=0x29facca7000000000000203031d4a300df45454e43b40006ddd7de9f21ad8763402dad3c args=[51724540142643019796173840171829814679846674623047403018497340 [5.172e61]]] testFuzz_Withdraw(uint256) (runs: 2, μ: 19884, ~: 19884)
10+
Suite result: FAILED. 0 passed; 1 failed; 0 skipped; finished in 2.04ms (1.85ms CPU time)
11+
Ran 1 test suite in 8.05ms (2.04ms CPU time): 0 tests passed, 1 failed, 0 skipped (1 total tests)
1212
// [!endregion output]
1313
// [!endregion all]

src/snippets/output/fuzz_testing/forge-test-no-fuzz

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
$ forge test
44
// [!endregion command]
55
// [!region output]
6-
Solc 0.8.10 finished in 488.90ms
6+
Solc 0.8.10 finished in 700.58ms
77
Compiler run successful!
88
Ran 1 test for test/Safe.t.sol:SafeTest
99
[PASS] test_Withdraw() (gas: 19644)
10-
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 207.79µs (31.88µs CPU time)
11-
Ran 1 test suite in 117.87ms (207.79µs CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests)
10+
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 245.47µs (40.21µs CPU time)
11+
Ran 1 test suite in 7.54ms (245.47µs CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests)
1212
// [!endregion output]
1313
// [!endregion all]

0 commit comments

Comments
 (0)