diff --git a/CLI.md b/CLI.md index 6925e5e77179..03f828fb6fc6 100644 --- a/CLI.md +++ b/CLI.md @@ -117,7 +117,6 @@ A Byzantine-fault tolerant sidechain with low-latency finality and high throughp * `--max-pending-message-bundles ` — The maximum number of incoming message bundles to include in a block proposal Default value: `10` -* `--wasm-runtime ` — The WebAssembly runtime to use * `--max-loaded-chains ` — The maximal number of chains loaded in memory at a given time Default value: `40` @@ -651,6 +650,7 @@ Create an application ###### **Options:** +* `--vm-runtime ` — The virtual machine runtime to use * `--json-parameters ` — The shared parameters as JSON string * `--json-parameters-path ` — Path to a JSON file containing the shared parameters * `--json-argument ` — The instantiation argument as a JSON string @@ -673,6 +673,7 @@ Create an application, and publish the required bytecode ###### **Options:** +* `--vm-runtime ` — The virtual machine runtime to use * `--json-parameters ` — The shared parameters as JSON string * `--json-parameters-path ` — Path to a JSON file containing the shared parameters * `--json-argument ` — The instantiation argument as a JSON string @@ -878,6 +879,7 @@ Build and publish a Linera project ###### **Options:** +* `--vm-runtime ` — The virtual machine runtime to use * `--json-parameters ` — The shared parameters as JSON string * `--json-parameters-path ` — Path to a JSON file containing the shared parameters * `--json-argument ` — The instantiation argument as a JSON string diff --git a/linera-execution/tests/contract_runtime_apis.rs b/linera-execution/tests/contract_runtime_apis.rs index 1e65dbc0edf7..0fbe6ae0d445 100644 --- a/linera-execution/tests/contract_runtime_apis.rs +++ b/linera-execution/tests/contract_runtime_apis.rs @@ -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; diff --git a/linera-service-graphql-client/gql/service_schema.graphql b/linera-service-graphql-client/gql/service_schema.graphql index 56e1dd35cf9d..0299a3f7fb38 100644 --- a/linera-service-graphql-client/gql/service_schema.graphql +++ b/linera-service-graphql-client/gql/service_schema.graphql @@ -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. @@ -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 {