mirror of
https://github.com/logos-blockchain/logos-blockchain-module.git
synced 2026-07-22 15:09:28 +00:00
Pass empty params to generate_user_config module cmd
This commit is contained in:
parent
bff887b060
commit
e5475643d1
1
.github/workflows/doctests.yml
vendored
1
.github/workflows/doctests.yml
vendored
@ -26,7 +26,6 @@ name: blockchain-module Doc-Tests
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [master, main]
|
||||
push:
|
||||
branches: [master, main]
|
||||
workflow_dispatch:
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user