From 4ec1498d3286936723d375c0e7a48869454050b7 Mon Sep 17 00:00:00 2001 From: Maria Kuklina <101095419+kmd-fl@users.noreply.github.com> Date: Sat, 24 Feb 2024 13:47:52 +0100 Subject: [PATCH] Revert "Add new method for module upload from vault (#86)" This reverts commit b439997ba77168ea7a5e773368e0a03c6167d988. --- builtin.aqua | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/builtin.aqua b/builtin.aqua index 0c454c5..940c55c 100644 --- a/builtin.aqua +++ b/builtin.aqua @@ -277,27 +277,20 @@ service Dist("dist"): -- module_name - import name of the module default_module_config(module_name: string) -> ModuleConfig + -- Used to add modules to the node specified in the service call -- Arguments: -- bytes – a base64 string containing the .wasm module to add. -- config – module info -- Returns: blake3 hash of the module - -- NOTE: the config is IGNORED and only module's `name` is taken from it add_module(wasm_b56_content: Bytes, conf: ModuleConfig) -> string -- Adds module by copying it from Particle Vault directory -- Arguments: -- path – path or a filename -- config - module config - -- NOTE: the config is IGNORED and only module's `name` is taken from it add_module_from_vault(path: Path, config: ModuleConfig) -> Hash - -- Adds module by copying it from Particle Vault directory - -- Arguments: - -- path – path or a filename - -- config - module config - add_module_bytes_from_vault(name: string, module_cid: string) -> string - -- Get a list of modules available on the node list_modules() -> []Module