diff --git a/src/SUMMARY.md b/src/SUMMARY.md index f2f6969b5..4c65ba05e 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -170,6 +170,7 @@ - [`cast from-wei`](./reference/cli/cast/from-wei.md) - [`cast gas-price`](./reference/cli/cast/gas-price.md) - [`cast generate-fig-spec`](./reference/cli/cast/generate-fig-spec.md) + - [`cast hash-message`](./reference/cli/cast/hash-message.md) - [`cast hash-zero`](./reference/cli/cast/hash-zero.md) - [`cast implementation`](./reference/cli/cast/implementation.md) - [`cast index`](./reference/cli/cast/index.md) diff --git a/src/output/cast/cast-call b/src/output/cast/cast-call index 42668e388..a7eb66e4b 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 -3099782695409715937812063309 [3.099e27] +3028011458437540585313693122 [3.028e27] // ANCHOR_END: output // ANCHOR_END: all diff --git a/src/output/cheatcodes/forge-test-cheatcodes b/src/output/cheatcodes/forge-test-cheatcodes index e9496c755..50251ad99 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 517.12µs (213.19µs CPU time) +Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 553.13µs (208.31µs CPU time) -Ran 1 test suite in 5.30ms (517.12µs CPU time): 2 tests passed, 0 failed, 0 skipped (2 total tests) +Ran 1 test suite in 5.72ms (553.13µ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 3b28e29ef..8c5a20c2e 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 424.56µs (65.33µs CPU time) +Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 420.60µs (78.85µs CPU time) -Ran 1 test suite in 5.26ms (424.56µs CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests) +Ran 1 test suite in 5.61ms (420.60µ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 b919fdb50..cd5b02e9e 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 431.31µs (76.09µs CPU time) +Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 400.06µs (92.66µs CPU time) -Ran 1 test suite in 5.30ms (431.31µs CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests) +Ran 1 test suite in 5.40ms (400.06µ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 ea3d44ce5..95a7dac58 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.11s +Solc 0.8.10 finished in 1.18s 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 450.56µs (67.93µs CPU time) +Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 496.40µs (72.99µs CPU time) -Ran 1 test suite in 5.12ms (450.56µs CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests) +Ran 1 test suite in 5.24ms (496.40µ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 80d9b5be6..d29273a95 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.AsFw0SJ9nj/deps/lib/solmate (url: Some("https://github.com/transmissions11/solmate"), tag: None) +Installing solmate in /tmp/tmp.TnX3VTbSCM/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-build b/src/output/foundry-template/forge-build index 5a6b51dd8..c3bd60dfa 100644 --- a/src/output/foundry-template/forge-build +++ b/src/output/foundry-template/forge-build @@ -4,7 +4,7 @@ $ forge build // ANCHOR_END: command // ANCHOR: output Compiling 28 files with Solc 0.8.25 -Solc 0.8.25 finished in 1.32s +Solc 0.8.25 finished in 1.39s Compiler run successful! // ANCHOR_END: output // ANCHOR_END: all diff --git a/src/output/foundry-template/forge-test b/src/output/foundry-template/forge-test index 84e60b60a..672899f6a 100644 --- a/src/output/foundry-template/forge-test +++ b/src/output/foundry-template/forge-test @@ -9,8 +9,8 @@ Ran 3 tests for test/Foo.t.sol:FooTest [PASS] testFork_Example() (gas: 3779) [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.37ms (20.17ms CPU time) +Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 19.69ms (19.49ms CPU time) -Ran 1 test suite in 21.72ms (20.37ms CPU time): 3 tests passed, 0 failed, 0 skipped (3 total tests) +Ran 1 test suite in 21.17ms (19.69ms 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 0cbfbd99b..304348b2e 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.06s +Solc 0.8.10 finished in 1.11s Compiler run successful! Ran 1 test for test/Safe.t.sol:SafeTest -[FAIL. Reason: EvmError: Revert; counterexample: calldata=0x29facca700000000000000000000002fd0fc08a1662c6d1cf78a42c2a428331085d9f057 args=[69883667574493385951707896100185482437096176742487 [6.988e49]]] testFuzz_Withdraw(uint256) (runs: 5, μ: 19531, ~: 19531) -Suite result: FAILED. 0 passed; 1 failed; 0 skipped; finished in 1.01ms (602.63µs CPU time) +[FAIL. Reason: EvmError: Revert; counterexample: calldata=0x29facca7000000000000000000000000000000041b054d9f30481311e2ff63a5c2b3ceed args=[1397046159411998990692047736459035397869 [1.397e39]]] testFuzz_Withdraw(uint256) (runs: 2, μ: 19531, ~: 19531) +Suite result: FAILED. 0 passed; 1 failed; 0 skipped; finished in 1.09ms (605.89µs CPU time) -Ran 1 test suite in 5.57ms (1.01ms CPU time): 0 tests passed, 1 failed, 0 skipped (1 total tests) +Ran 1 test suite in 5.86ms (1.09ms 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 e787a9e60..5a4aa2223 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.10s +Solc 0.8.10 finished in 1.17s 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 410.30µs (56.99µs CPU time) +Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 408.65µs (57.94µs CPU time) -Ran 1 test suite in 5.33ms (410.30µs CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests) +Ran 1 test suite in 5.65ms (408.65µ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 e50cf3959..668b19f7a 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.10s Compiler run successful! Ran 1 test for test/Safe.t.sol:SafeTest -[PASS] testFuzz_Withdraw(uint96) (runs: 257, μ: 19109, ~: 19631) -Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 5.02ms (4.65ms CPU time) +[PASS] testFuzz_Withdraw(uint96) (runs: 257, μ: 19474, ~: 19631) +Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 4.80ms (4.38ms CPU time) -Ran 1 test suite in 5.89ms (5.02ms CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests) +Ran 1 test suite in 6.06ms (4.80ms 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 8f934dec9..75bafcd78 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.08s +Solc 0.8.19 finished in 1.14s 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 3cb51f54f..f8a4d0cda 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.bysUx20bFO/hello_foundry... -Installing forge-std in /tmp/tmp.bysUx20bFO/hello_foundry/lib/forge-std (url: Some("https://github.com/foundry-rs/forge-std"), tag: None) +Initializing /tmp/tmp.5RGGhbXAjU/hello_foundry... +Installing forge-std in /tmp/tmp.5RGGhbXAjU/hello_foundry/lib/forge-std (url: Some("https://github.com/foundry-rs/forge-std"), tag: None) Installed forge-std v1.9.2 Initialized forge project // ANCHOR_END: output diff --git a/src/output/hello_foundry/forge-test b/src/output/hello_foundry/forge-test index 35ad9dcba..fcfa4c0d8 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, μ: 31054, ~: 31288) +[PASS] testFuzz_SetNumber(uint256) (runs: 256, μ: 31210, ~: 31288) [PASS] test_Increment() (gas: 31303) -Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 8.02ms (7.67ms CPU time) +Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 7.15ms (6.75ms CPU time) -Ran 1 test suite in 9.19ms (8.02ms CPU time): 2 tests passed, 0 failed, 0 skipped (2 total tests) +Ran 1 test suite in 9.12ms (7.15ms 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 8fb31de57..9630a1d35 100644 --- a/src/output/nft_tutorial/forge-test +++ b/src/output/nft_tutorial/forge-test @@ -14,7 +14,7 @@ Ran 8 tests for test/SolmateNft.sol:SolmateNftTests [PASS] testMintPricePaid() (gas: 81321) [PASS] testNewMintOwnerRegistered() (gas: 190741) [PASS] testSafeContractReceiver() (gas: 272636) -Suite result: ok. 8 passed; 0 failed; 0 skipped; finished in 1.29ms (1.33ms CPU time) +Suite result: ok. 8 passed; 0 failed; 0 skipped; finished in 1.46ms (1.26ms CPU time) Ran 8 tests for test/OpenZeppelinNft.t.sol:OpenZeppelinNftTests [PASS] testBalanceIncremented() (gas: 217829) @@ -25,8 +25,8 @@ Ran 8 tests for test/OpenZeppelinNft.t.sol:OpenZeppelinNftTests [PASS] testMintPricePaid() (gas: 81554) [PASS] testNewMintOwnerRegistered() (gas: 190956) [PASS] testSafeContractReceiver() (gas: 273132) -Suite result: ok. 8 passed; 0 failed; 0 skipped; finished in 1.33ms (1.16ms CPU time) +Suite result: ok. 8 passed; 0 failed; 0 skipped; finished in 1.47ms (1.06ms CPU time) -Ran 2 test suites in 5.71ms (2.62ms CPU time): 16 tests passed, 0 failed, 0 skipped (16 total tests) +Ran 2 test suites in 5.79ms (2.93ms 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 291ca2f5a..b399824a9 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.08s +Solc 0.8.10 finished in 1.14s 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.09ms (1.01ms CPU time) +Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 910.47µs (967.14µs CPU time) -Ran 1 test suite in 5.35ms (1.09ms CPU time): 2 tests passed, 0 failed, 0 skipped (2 total tests) +Ran 1 test suite in 5.73ms (910.47µs 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 db258aa09..6183f6d83 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.09s 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 339.14µs (46.60µs CPU time) +Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 419.78µs (92.24µs CPU time) -Ran 1 test suite in 5.06ms (339.14µs CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests) +Ran 1 test suite in 5.35ms (419.78µs CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests) // ANCHOR_END: output // ANCHOR_END: all diff --git a/src/reference/cli/SUMMARY.md b/src/reference/cli/SUMMARY.md index b42d0c32b..83faa3f85 100644 --- a/src/reference/cli/SUMMARY.md +++ b/src/reference/cli/SUMMARY.md @@ -87,6 +87,7 @@ - [`cast from-wei`](./cast/from-wei.md) - [`cast gas-price`](./cast/gas-price.md) - [`cast generate-fig-spec`](./cast/generate-fig-spec.md) + - [`cast hash-message`](./cast/hash-message.md) - [`cast hash-zero`](./cast/hash-zero.md) - [`cast implementation`](./cast/implementation.md) - [`cast index`](./cast/index.md) diff --git a/src/reference/cli/cast.md b/src/reference/cli/cast.md index e2cb5e8e2..1c2057692 100644 --- a/src/reference/cli/cast.md +++ b/src/reference/cli/cast.md @@ -53,6 +53,7 @@ Commands: from-wei Convert wei into an ETH amount [aliases: --from-wei, fw] gas-price Get the current gas price [aliases: g] generate-fig-spec Generate Fig autocompletion spec [aliases: fig] + hash-message Hash a message according to EIP-191 [aliases: --hash-message, hm] hash-zero Prints the zero hash [aliases: --hash-zero, hz] help Print this message or the help of the given subcommand(s) implementation Fetch the EIP-1967 implementation account [aliases: impl] diff --git a/src/reference/cli/cast/create2.md b/src/reference/cli/cast/create2.md index 6cb5357c8..cf419a559 100644 --- a/src/reference/cli/cast/create2.md +++ b/src/reference/cli/cast/create2.md @@ -13,6 +13,8 @@ Options: -c, --case-sensitive Case sensitive matching -d, --deployer
Address of the contract deployer [default: 0x4e59b44847b379578588920ca78fbf26c0b4956c] + --salt Salt to be used for the contract deployment. This option separate + from the default salt mining with filters -i, --init-code Init code of the contract to be deployed --init-code-hash Init code hash of the contract to be deployed -j, --jobs Number of threads to use. Defaults to and caps at the number of diff --git a/src/reference/cli/cast/hash-message.md b/src/reference/cli/cast/hash-message.md new file mode 100644 index 000000000..537f7d646 --- /dev/null +++ b/src/reference/cli/cast/hash-message.md @@ -0,0 +1,14 @@ +# cast hash-message + +Hash a message according to EIP-191 + +```bash +$ cast hash-message --help +Usage: cast hash-message [MESSAGE] + +Arguments: + [MESSAGE] The message to hash + +Options: + -h, --help Print help +``` \ No newline at end of file diff --git a/src/reference/cli/cast/send.md b/src/reference/cli/cast/send.md index 35bfcc102..0026d2cd9 100644 --- a/src/reference/cli/cast/send.md +++ b/src/reference/cli/cast/send.md @@ -36,6 +36,11 @@ Options: --unlocked Send via `eth_sendTransaction using the `--from` argument or $ETH_FROM as sender + --timeout + Timeout for sending the transaction + + [env: ETH_TIMEOUT=] + -h, --help Print help (see a summary with '-h') diff --git a/src/reference/cli/chisel.md b/src/reference/cli/chisel.md index bb496070e..950e55dd3 100644 --- a/src/reference/cli/chisel.md +++ b/src/reference/cli/chisel.md @@ -190,7 +190,7 @@ EVM options: The initial balance of deployed test contracts --sender
- The address which will be executing tests + The address which will be executing tests/scripts --ffi Enable the FFI cheatcode diff --git a/src/reference/cli/forge.md b/src/reference/cli/forge.md index 03e5db78a..e86e37b02 100644 --- a/src/reference/cli/forge.md +++ b/src/reference/cli/forge.md @@ -40,7 +40,7 @@ Commands: test Run the project's tests [aliases: t] tree Display a tree visualization of the project's dependency graph [aliases: tr] update Update one or multiple dependencies [aliases: u] - verify-bytecode Verify the deployed bytecode against its source [aliases: vb] + verify-bytecode Verify the deployed bytecode against its source on Etherscan [aliases: vb] verify-check Check verification status on Etherscan [aliases: vc] verify-contract Verify smart contracts on Etherscan [aliases: v] diff --git a/src/reference/cli/forge/config.md b/src/reference/cli/forge/config.md index 24e6b78cf..aab2f4e2e 100644 --- a/src/reference/cli/forge/config.md +++ b/src/reference/cli/forge/config.md @@ -216,7 +216,7 @@ EVM options: The initial balance of deployed test contracts --sender
- The address which will be executing tests + The address which will be executing tests/scripts --ffi Enable the FFI cheatcode diff --git a/src/reference/cli/forge/coverage.md b/src/reference/cli/forge/coverage.md index 34ce98b8d..e93a58f73 100644 --- a/src/reference/cli/forge/coverage.md +++ b/src/reference/cli/forge/coverage.md @@ -186,7 +186,7 @@ EVM options: The initial balance of deployed test contracts --sender
- The address which will be executing tests + The address which will be executing tests/scripts --ffi Enable the FFI cheatcode diff --git a/src/reference/cli/forge/create.md b/src/reference/cli/forge/create.md index c7bf76ad6..a5945762e 100644 --- a/src/reference/cli/forge/create.md +++ b/src/reference/cli/forge/create.md @@ -29,6 +29,11 @@ Options: The standard json compiler input can be used to manually submit contract verification in the browser. + --timeout + Timeout to use for broadcasting transactions + + [env: ETH_TIMEOUT=] + -h, --help Print help (see a summary with '-h') diff --git a/src/reference/cli/forge/debug.md b/src/reference/cli/forge/debug.md index 863b30dcd..b169086dc 100644 --- a/src/reference/cli/forge/debug.md +++ b/src/reference/cli/forge/debug.md @@ -190,7 +190,7 @@ EVM options: The initial balance of deployed test contracts --sender
- The address which will be executing tests + The address which will be executing tests/scripts --ffi Enable the FFI cheatcode diff --git a/src/reference/cli/forge/script.md b/src/reference/cli/forge/script.md index 5ce90643e..53e14eba2 100644 --- a/src/reference/cli/forge/script.md +++ b/src/reference/cli/forge/script.md @@ -103,6 +103,11 @@ Options: [env: ETH_GAS_PRICE=] + --timeout + Timeout to use for broadcasting transactions + + [env: ETH_TIMEOUT=] + -h, --help Print help (see a summary with '-h') @@ -336,7 +341,7 @@ EVM options: The initial balance of deployed test contracts --sender
- The address which will be executing tests + The address which will be executing tests/scripts --ffi Enable the FFI cheatcode diff --git a/src/reference/cli/forge/snapshot.md b/src/reference/cli/forge/snapshot.md index 73e025f3a..db76bd76d 100644 --- a/src/reference/cli/forge/snapshot.md +++ b/src/reference/cli/forge/snapshot.md @@ -184,7 +184,7 @@ EVM options: The initial balance of deployed test contracts --sender
- The address which will be executing tests + The address which will be executing tests/scripts --ffi Enable the FFI cheatcode diff --git a/src/reference/cli/forge/test.md b/src/reference/cli/forge/test.md index 544058347..249ea901c 100644 --- a/src/reference/cli/forge/test.md +++ b/src/reference/cli/forge/test.md @@ -164,7 +164,7 @@ EVM options: The initial balance of deployed test contracts --sender
- The address which will be executing tests + The address which will be executing tests/scripts --ffi Enable the FFI cheatcode diff --git a/src/reference/cli/forge/verify-bytecode.md b/src/reference/cli/forge/verify-bytecode.md index ab0e2f478..6efbdaefe 100644 --- a/src/reference/cli/forge/verify-bytecode.md +++ b/src/reference/cli/forge/verify-bytecode.md @@ -1,11 +1,9 @@ # forge verify-bytecode -Verify the deployed bytecode against its source +Verify the deployed bytecode against its source on Etherscan ```bash $ forge verify-bytecode --help -Verify the deployed bytecode against its source on Etherscan - Usage: forge verify-bytecode [OPTIONS]
Arguments: @@ -30,17 +28,17 @@ Options: -r, --rpc-url The rpc url to use for verification - + [env: ETH_RPC_URL=] -e, --etherscan-api-key The Etherscan (or equivalent) API key - + [env: ETHERSCAN_API_KEY=] -c, --chain The chain name or EIP-155 chain ID - + [env: CHAIN=] --json @@ -48,12 +46,12 @@ Options: --root The project's root path. - + By default root of the Git repository, if in one, or the current working directory. --ignore Ignore verification for creation or runtime bytecode - + [possible values: creation, runtime] -h, --help @@ -62,12 +60,12 @@ Options: Verifier options: --verifier The contract verification provider to use - + [default: etherscan] [possible values: etherscan, sourcify, blockscout, oklink] --verifier-url The verifier URL, if using a custom provider - + [env: VERIFIER_URL=] ``` \ No newline at end of file