Pass empty params to generate_user_config module cmd

This commit is contained in:
gusto 2026-06-16 13:26:02 +03:00
parent bff887b060
commit e5475643d1
No known key found for this signature in database
3 changed files with 3 additions and 10 deletions

View File

@ -26,7 +26,6 @@ name: blockchain-module Doc-Tests
on:
pull_request:
branches: [master, main]
push:
branches: [master, main]
workflow_dispatch:

View File

@ -218,14 +218,8 @@ sections:
network required. We write the config to `./user-config.yaml`; a `0`
result means success. The JSON is passed with logoscore's `@file` syntax
after writing it to disk:
file:
path: gen-config.json
content: |
{
"output": "./user-config.yaml"
}
run: "./logos/bin/logoscore call liblogos_blockchain_module generate_user_config @gen-config.json"
code_block: "logoscore call liblogos_blockchain_module generate_user_config @gen-config.json"
run: "./logos/bin/logoscore call liblogos_blockchain_module generate_user_config '{}'"
code_block: "logoscore call liblogos_blockchain_module generate_user_config '{}'"
expect_contains:
- '"result":0'
check_file: "user-config.yaml"

View File

@ -248,7 +248,7 @@ after writing it to disk:
```
```bash
logoscore call liblogos_blockchain_module generate_user_config @gen-config.json
logoscore call liblogos_blockchain_module generate_user_config '{}'
```
### 4.9 Confirm the keystore was written alongside the config