diff --git a/aqua-examples/aqua-ceramic-integration/configs/ceramic_adapter_deploy_cfg.json b/aqua-examples/aqua-ceramic-integration/configs/ceramic_adapter_deploy_cfg.json index b25b2b9..92c85e8 100644 --- a/aqua-examples/aqua-ceramic-integration/configs/ceramic_adapter_deploy_cfg.json +++ b/aqua-examples/aqua-ceramic-integration/configs/ceramic_adapter_deploy_cfg.json @@ -5,7 +5,7 @@ { "name": "curl_adapter", "path": "./artifacts/curl_adapter.wasm", - "mounted_binaries": ["curl", "/usr/bin/curl"], + "mounted_binaries": [["curl", "/usr/bin/curl"]], "preopened_files": null, "mapped_dirs": null, "logger_enabled": true @@ -13,7 +13,7 @@ { "name": "ceramic_adapter_custom", "path": "./artifacts/ceramic_adapter_custom.wasm", - "mounted_binaries": ["ceramic", "/usr/bin/ceramic"], + "mounted_binaries": [["ceramic", "/usr/bin/ceramic"]], "preopened_files": null, "mapped_dirs": null, "logger_enabled": true diff --git a/aqua-examples/evm-integration/configs/deployment_cfg.json b/aqua-examples/evm-integration/configs/deployment_cfg.json index 484509d..1a90489 100644 --- a/aqua-examples/evm-integration/configs/deployment_cfg.json +++ b/aqua-examples/evm-integration/configs/deployment_cfg.json @@ -5,7 +5,7 @@ "name": "curl_adapter", "path": "./artifacts/curl_adapter.wasm", "max_heap_size": "64 MiB", - "mounted_binaries": ["curl", "/usr/bin/curl"], + "mounted_binaries": [["curl", "/usr/bin/curl"]], "logger_enabled": true }, { diff --git a/aqua-examples/near-integration/services/configs/near_deploy_cfg.json b/aqua-examples/near-integration/services/configs/near_deploy_cfg.json index b30d7e6..8a1f7aa 100644 --- a/aqua-examples/near-integration/services/configs/near_deploy_cfg.json +++ b/aqua-examples/near-integration/services/configs/near_deploy_cfg.json @@ -5,7 +5,7 @@ { "name": "curl_adapter", "path": "./artifacts/curl_adapter.wasm", - "mounted_binaries": ["curl", "/usr/bin/curl"], + "mounted_binaries": [["curl", "/usr/bin/curl"]], "logger_enabled": true }, { diff --git a/aqua-examples/price-oracle/configs/price_oracle_deploy_cfg.json b/aqua-examples/price-oracle/configs/price_oracle_deploy_cfg.json index e5723d1..f53b8be 100644 --- a/aqua-examples/price-oracle/configs/price_oracle_deploy_cfg.json +++ b/aqua-examples/price-oracle/configs/price_oracle_deploy_cfg.json @@ -4,7 +4,7 @@ { "name": "curl_adapter", "path": "./artifacts/curl_adapter.wasm", - "mounted_binaries": ["curl", "/usr/bin/curl"], + "mounted_binaries": [["curl", "/usr/bin/curl"]], "logger_enabled": true }, { diff --git a/aqua-examples/ts-oracle/aqua/builtin.aqua b/aqua-examples/ts-oracle/aqua/builtin.aqua index 2058a6b..53e594d 100644 --- a/aqua-examples/ts-oracle/aqua/builtin.aqua +++ b/aqua-examples/ts-oracle/aqua/builtin.aqua @@ -171,10 +171,10 @@ service Dist("dist"): -- logger_enabled - Defines whether Marine should provide a special host log_utf8_string function for this module -- preopened_files - Files available for this module. Module can access only files from this list -- envs - environment variables available for this module - -- mapped_dirs - Directory mapping, e.g. ["/sites", "./web/data"] so all + -- mapped_dirs - Directory mapping, e.g. [["/sites", "./web/data"]] so all -- reads & writes to /sites will actually to go ./web/data -- mounted_binaries - Mapping of host binaries available to call from module, - -- e.g. ["curl", "/usr/bin/curl"] will allow module to + -- e.g. [["curl", "/usr/bin/curl"]] will allow module to -- call /usr/bin/curl binary as function 'curl' -- logging_mask - Binary mask to enable & disable logging targets. Targets are -- configured in WasmLoggerBuilder::with_target_map diff --git a/marine-examples/url-downloader/deployment_cfg.json b/marine-examples/url-downloader/deployment_cfg.json index 313d692..3eb30fb 100644 --- a/marine-examples/url-downloader/deployment_cfg.json +++ b/marine-examples/url-downloader/deployment_cfg.json @@ -5,14 +5,14 @@ { "name": "curl_adapter", "path": "./artifacts/curl_adapter.wasm", - "mounted_binaries": ["curl", "/usr/bin/curl"], + "mounted_binaries": [["curl", "/usr/bin/curl"]], "logger_enabled": true }, { "name": "local_storage", "path": "./artifacts/local_storage.wasm", "preopened_files": ["/tmp"], - "mapped_dirs": ["sites", "/tmp"], + "mapped_dirs": [["sites", "/tmp"]], "logger_enabled": true }, { @@ -28,7 +28,7 @@ "name": "local_storage", "path": "./artifacts/local_storage.wasm", "preopened_files": ["/tmp"], - "mapped_dirs": ["sites", "/tmp"], + "mapped_dirs": [["sites", "/tmp"]], "logger_enabled": true } ] @@ -38,7 +38,7 @@ { "name": "curl_adapter", "path": "./artifacts/curl_adapter.wasm", - "mounted_binaries": ["curl", "/usr/bin/curl"], + "mounted_binaries": [["curl", "/usr/bin/curl"]], "logger_enabled": true } ]