Skip to content

Commit

Permalink
update command output (#1302)
Browse files Browse the repository at this point in the history
Co-authored-by: zerosnacks <[email protected]>
  • Loading branch information
github-actions[bot] and zerosnacks authored Sep 17, 2024
1 parent 455329f commit 5e17dae
Show file tree
Hide file tree
Showing 38 changed files with 205 additions and 63 deletions.
2 changes: 1 addition & 1 deletion src/output/cast/cast-call

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/output/cheatcodes/forge-test-cheatcodes

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/output/cheatcodes/forge-test-cheatcodes-expectrevert

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/output/cheatcodes/forge-test-cheatcodes-tracing

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/output/cheatcodes/forge-test-simple

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/output/deps/forge-install

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/output/deps/tree

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/output/foundry-template/forge-test

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions src/output/fuzz_testing/forge-test-fail-fuzz

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/output/fuzz_testing/forge-test-no-fuzz

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions src/output/fuzz_testing/forge-test-success-fuzz

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/output/hello_foundry/forge-build

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/output/hello_foundry/forge-init

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/output/hello_foundry/forge-test

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 13 additions & 13 deletions src/output/nft_tutorial/forge-test

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/output/test_filters/forge-test-match-contract-and-test

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/output/test_filters/forge-test-match-path

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions src/reference/cli/anvil.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,16 @@ Options:
[default: 8545]
--preserve-historical-states
Preserve historical state snapshots when dumping the state.
This will save the in-memory states of the chain at particular block
hashes.
These historical states will be loaded into the memory when
`--load-state` / `--state`, and aids in RPC calls beyond the block at
which state was dumped.
--prune-history [<PRUNE_HISTORY>]
Don't keep full chain history. If a number argument is specified, at
most this number of states is kept in memory.
Expand Down
7 changes: 7 additions & 0 deletions src/reference/cli/cast/access-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,13 @@ Transaction options:
Can be either a hex-encoded signed authorization or an address.
--access-list [<ACCESS_LIST>]
EIP-2930 access list.
Accepts either a JSON-encoded access list or an empty value to create
the access list via an RPC call to `eth_createAccessList`. To retrieve
only the access list portion, use the `cast access-list` command.
Ethereum options:
-r, --rpc-url <URL>
The RPC endpoint
Expand Down
7 changes: 7 additions & 0 deletions src/reference/cli/cast/call.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,13 @@ Transaction options:
Can be either a hex-encoded signed authorization or an address.
--access-list [<ACCESS_LIST>]
EIP-2930 access list.
Accepts either a JSON-encoded access list or an empty value to create
the access list via an RPC call to `eth_createAccessList`. To retrieve
only the access list portion, use the `cast access-list` command.
Ethereum options:
-r, --rpc-url <URL>
The RPC endpoint
Expand Down
7 changes: 7 additions & 0 deletions src/reference/cli/cast/estimate.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,13 @@ Transaction options:
Can be either a hex-encoded signed authorization or an address.
--access-list [<ACCESS_LIST>]
EIP-2930 access list.
Accepts either a JSON-encoded access list or an empty value to create
the access list via an RPC call to `eth_createAccessList`. To retrieve
only the access list portion, use the `cast access-list` command.
Ethereum options:
-r, --rpc-url <URL>
The RPC endpoint
Expand Down
7 changes: 7 additions & 0 deletions src/reference/cli/cast/mktx.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,13 @@ Transaction options:
Can be either a hex-encoded signed authorization or an address.
--access-list [<ACCESS_LIST>]
EIP-2930 access list.
Accepts either a JSON-encoded access list or an empty value to create
the access list via an RPC call to `eth_createAccessList`. To retrieve
only the access list portion, use the `cast access-list` command.
--path <BLOB_DATA_PATH>
The path of blob data to be sent
Expand Down
7 changes: 7 additions & 0 deletions src/reference/cli/cast/send.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,13 @@ Transaction options:
Can be either a hex-encoded signed authorization or an address.
--access-list [<ACCESS_LIST>]
EIP-2930 access list.
Accepts either a JSON-encoded access list or an empty value to create
the access list via an RPC call to `eth_createAccessList`. To retrieve
only the access list portion, use the `cast access-list` command.
--path <BLOB_DATA_PATH>
The path of blob data to be sent
Expand Down
8 changes: 7 additions & 1 deletion src/reference/cli/cast/storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,13 @@ Compiler options:
Activate the Solidity optimizer
--optimizer-runs <RUNS>
The number of optimizer runs
The number of runs specifies roughly how often each opcode of the
deployed code will be executed across the life-time of the contract.
This means it is a trade-off parameter between code size (deploy cost)
and code execution cost (cost after deployment). An `optimizer_runs`
parameter of `1` will produce short but expensive code. In contrast, a
larger `optimizer_runs` parameter will produce longer but more gas
efficient code
--extra-output <SELECTOR>...
Extra output to include in the contract's artifact.
Expand Down
8 changes: 7 additions & 1 deletion src/reference/cli/chisel.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,13 @@ Compiler options:
Activate the Solidity optimizer
--optimizer-runs <RUNS>
The number of optimizer runs
The number of runs specifies roughly how often each opcode of the
deployed code will be executed across the life-time of the contract.
This means it is a trade-off parameter between code size (deploy cost)
and code execution cost (cost after deployment). An `optimizer_runs`
parameter of `1` will produce short but expensive code. In contrast, a
larger `optimizer_runs` parameter will produce longer but more gas
efficient code
--extra-output <SELECTOR>...
Extra output to include in the contract's artifact.
Expand Down
8 changes: 7 additions & 1 deletion src/reference/cli/forge/bind-json.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,13 @@ Compiler options:
Activate the Solidity optimizer
--optimizer-runs <RUNS>
The number of optimizer runs
The number of runs specifies roughly how often each opcode of the
deployed code will be executed across the life-time of the contract.
This means it is a trade-off parameter between code size (deploy cost)
and code execution cost (cost after deployment). An `optimizer_runs`
parameter of `1` will produce short but expensive code. In contrast, a
larger `optimizer_runs` parameter will produce longer but more gas
efficient code
--extra-output <SELECTOR>...
Extra output to include in the contract's artifact.
Expand Down
8 changes: 7 additions & 1 deletion src/reference/cli/forge/bind.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,13 @@ Compiler options:
Activate the Solidity optimizer
--optimizer-runs <RUNS>
The number of optimizer runs
The number of runs specifies roughly how often each opcode of the
deployed code will be executed across the life-time of the contract.
This means it is a trade-off parameter between code size (deploy cost)
and code execution cost (cost after deployment). An `optimizer_runs`
parameter of `1` will produce short but expensive code. In contrast, a
larger `optimizer_runs` parameter will produce longer but more gas
efficient code
--extra-output <SELECTOR>...
Extra output to include in the contract's artifact.
Expand Down
8 changes: 7 additions & 1 deletion src/reference/cli/forge/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,13 @@ Compiler options:
Activate the Solidity optimizer
--optimizer-runs <RUNS>
The number of optimizer runs
The number of runs specifies roughly how often each opcode of the
deployed code will be executed across the life-time of the contract.
This means it is a trade-off parameter between code size (deploy cost)
and code execution cost (cost after deployment). An `optimizer_runs`
parameter of `1` will produce short but expensive code. In contrast, a
larger `optimizer_runs` parameter will produce longer but more gas
efficient code
--extra-output <SELECTOR>...
Extra output to include in the contract's artifact.
Expand Down
Loading

0 comments on commit 5e17dae

Please sign in to comment.