You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Motivation
First step in addressing #2890
## Proposal
* Make a function of `find_owned_chains` out of the code in
`ClientWrapper::drop()`
* Add an option `--with-faucet-chain N` to `linera net up` as well as
`--faucet-port` and `--faucet-amount`
* Add a simple test
The only caveat is that `N` cannot be a chain-id (since we wouldn't know
what to write) so we use the index amongst root chains (typically 1 for
the first non-admin initial chain).
## Test Plan
CI
Copy file name to clipboardExpand all lines: CLI.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -903,6 +903,13 @@ Start a Local Linera Network
903
903
*`--external-protocol <EXTERNAL_PROTOCOL>` — External protocol used, either grpc or grpcs
904
904
905
905
Default value: `grpc`
906
+
*`--with-faucet-chain <WITH_FAUCET_CHAIN>` — If present, a faucet is started using the given chain root number (0 for the admin chain, 1 for the first non-admin initial chain, etc)
907
+
*`--faucet-port <FAUCET_PORT>` — The port on which to run the faucet server
908
+
909
+
Default value: `8080`
910
+
*`--faucet-amount <FAUCET_AMOUNT>` — The number of tokens to send to each new chain created by the faucet
0 commit comments