Skip to content

Commit

Permalink
Some corrections from the CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuDutSik committed Feb 22, 2025
1 parent 9570014 commit a931341
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
7 changes: 5 additions & 2 deletions CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -601,14 +601,18 @@ Run a GraphQL service that exposes a faucet where users can claim tokens. This g

Publish bytecode

**Usage:** `linera publish-bytecode <CONTRACT> <SERVICE> [PUBLISHER]`
**Usage:** `linera publish-bytecode [OPTIONS] <CONTRACT> <SERVICE> [PUBLISHER]`

###### **Arguments:**

* `<CONTRACT>` — Path to the Wasm file for the application "contract" bytecode
* `<SERVICE>` — Path to the Wasm file for the application "service" bytecode
* `<PUBLISHER>` — An optional chain ID to publish the bytecode. The default chain of the wallet is used otherwise

###### **Options:**

* `--vm-runtime <VM_RUNTIME>` — The virtual machine runtime to use



## `linera publish-data-blob`
Expand Down Expand Up @@ -650,7 +654,6 @@ Create an application

###### **Options:**

* `--vm-runtime <VM_RUNTIME>` — The virtual machine runtime to use
* `--json-parameters <JSON_PARAMETERS>` — The shared parameters as JSON string
* `--json-parameters-path <JSON_PARAMETERS_PATH>` — Path to a JSON file containing the shared parameters
* `--json-argument <JSON_ARGUMENT>` — The instantiation argument as a JSON string
Expand Down
3 changes: 2 additions & 1 deletion examples/Cargo.lock

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

5 changes: 2 additions & 3 deletions linera-core/src/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ use futures::{
future::{self, try_join_all, Either, FusedFuture, Future},
stream::{self, AbortHandle, FusedStream, FuturesUnordered, StreamExt},
};
#[cfg(not(target_arch = "wasm32"))]
use linera_base::data_types::Bytecode;
#[cfg(with_metrics)]
use linera_base::prometheus_util::MeasureLatency as _;
use linera_base::{
Expand All @@ -39,8 +37,9 @@ use linera_base::{
Owner, UserApplicationId,
},
ownership::{ChainOwnership, TimeoutConfig},
vm::VmRuntime,
};
#[cfg(not(target_arch = "wasm32"))]
use linera_base::{data_types::Bytecode, vm::VmRuntime};
use linera_chain::{
data_types::{
BlockProposal, ChainAndHeight, ExecutedBlock, IncomingBundle, LiteVote, MessageAction,
Expand Down

0 comments on commit a931341

Please sign in to comment.