Skip to content

Commit

Permalink
Several correction from the CI runs.
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuDutSik committed Feb 21, 2025
1 parent 237b077 commit a53da6e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ A Byzantine-fault tolerant sidechain with low-latency finality and high throughp
* `--max-pending-message-bundles <MAX_PENDING_MESSAGE_BUNDLES>` — The maximum number of incoming message bundles to include in a block proposal

Default value: `10`
* `--wasm-runtime <WASM_RUNTIME>` — The WebAssembly runtime to use
* `--max-loaded-chains <MAX_LOADED_CHAINS>` — The maximal number of chains loaded in memory at a given time

Default value: `40`
Expand Down Expand Up @@ -651,6 +650,7 @@ 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 All @@ -673,6 +673,7 @@ Create an application, and publish the required bytecode

###### **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 Expand Up @@ -878,6 +879,7 @@ Build and publish a Linera project

###### **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
2 changes: 1 addition & 1 deletion linera-execution/tests/contract_runtime_apis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ impl TransferTestEndpoint {
ApplicationId::from(&Self::sender_application_description())
}

/// Returns the [`ApplicationDescription`] used to represent a sender that's an application.
/// Returns the [`UserApplicationDescription`] used to represent a sender that's an application.
fn sender_application_description() -> UserApplicationDescription {
let contract_id = Self::sender_application_contract_blob().id().hash;
let service_id = Self::sender_application_service_blob().id().hash;
Expand Down
4 changes: 3 additions & 1 deletion linera-service-graphql-client/gql/service_schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ type MutationRoot {
"""
Creates a new application.
"""
createApplication(chainId: ChainId!, bytecodeId: BytecodeId!, parameters: String!, instantiationArgument: String!, requiredApplicationIds: [ApplicationId!]!): ApplicationId!
createApplication(chainId: ChainId!, bytecodeId: BytecodeId!, vmRuntime: VmRuntime!, parameters: String!, instantiationArgument: String!, requiredApplicationIds: [ApplicationId!]!): ApplicationId!
"""
Requests a `RegisterApplications` message from another chain so the application can be used
on this one.
Expand Down Expand Up @@ -1215,6 +1215,8 @@ type VersionInfo {
witHash: String!
}

scalar VmRuntime

directive @include(if: Boolean!) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT
directive @skip(if: Boolean!) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT
schema {
Expand Down

0 comments on commit a53da6e

Please sign in to comment.