Skip to content

Commit

Permalink
Update the Cargo.lock (#2367)
Browse files Browse the repository at this point in the history
* build: update the "Cargo.lock"

* doc: rebuild the "CLI.md"
  • Loading branch information
duguorong009 authored Aug 10, 2024
1 parent 34c8a1f commit fde6dc4
Show file tree
Hide file tree
Showing 2 changed files with 812 additions and 857 deletions.
12 changes: 9 additions & 3 deletions CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,9 @@ Open (i.e. activate) a new multi-owner chain deriving the UID from an existing o
* `--from <CHAIN_ID>` — Chain ID (must be one of our chains)
* `--super-owner-public-keys <SUPER_OWNER_PUBLIC_KEYS>` — Public keys of the new super owners
* `--owner-public-keys <OWNER_PUBLIC_KEYS>` — Public keys of the new regular owners
* `--owner-weights <OWNER_WEIGHTS>` — Weights for the new owners
* `--owner-weights <OWNER_WEIGHTS>` — Weights for the new owners.

If they are specified there must be exactly one weight for each owner. If no weights are given, every owner will have weight 100.
* `--multi-leader-rounds <MULTI_LEADER_ROUNDS>` — The number of rounds in which every owner can propose blocks, i.e. the first round number in which only a single designated leader is allowed to propose blocks
* `--fast-round-ms <FAST_ROUND_DURATION>` — The duration of the fast round, in milliseconds
* `--base-timeout-ms <BASE_TIMEOUT>` — The duration of the first single-leader and all multi-leader rounds
Expand Down Expand Up @@ -256,7 +258,9 @@ Specify the complete set of new owners, by public key. Existing owners that are
* `--chain-id <CHAIN_ID>` — The ID of the chain whose owners will be changed
* `--super-owner-public-keys <SUPER_OWNER_PUBLIC_KEYS>` — Public keys of the new super owners
* `--owner-public-keys <OWNER_PUBLIC_KEYS>` — Public keys of the new regular owners
* `--owner-weights <OWNER_WEIGHTS>` — Weights for the new owners
* `--owner-weights <OWNER_WEIGHTS>` — Weights for the new owners.

If they are specified there must be exactly one weight for each owner. If no weights are given, every owner will have weight 100.
* `--multi-leader-rounds <MULTI_LEADER_ROUNDS>` — The number of rounds in which every owner can propose blocks, i.e. the first round number in which only a single designated leader is allowed to propose blocks
* `--fast-round-ms <FAST_ROUND_DURATION>` — The duration of the fast round, in milliseconds
* `--base-timeout-ms <BASE_TIMEOUT>` — The duration of the first single-leader and all multi-leader rounds
Expand Down Expand Up @@ -816,7 +820,9 @@ Build and publish a Linera project
###### **Arguments:**

* `<PATH>` — The path of the root of the Linera project. Defaults to current working directory if unspecified
* `<NAME>` — Specify the name of the Linera project. This is used to locate the generated bytecode. The generated bytecode should be of the form `<name>_{contract,service}.wasm`
* `<NAME>` — Specify the name of the Linera project. This is used to locate the generated bytecode. The generated bytecode should be of the form `<name>_{contract,service}.wasm`.

Defaults to the package name in Cargo.toml, with dashes replaced by underscores.
* `<PUBLISHER>` — An optional chain ID to publish the bytecode. The default chain of the wallet is used otherwise

###### **Options:**
Expand Down
Loading

0 comments on commit fde6dc4

Please sign in to comment.