Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

overwriteFlagDefaults does not change default backend to "test" #9

Open
TxCorpi0x opened this issue Aug 26, 2021 · 4 comments
Open

Comments

@TxCorpi0x
Copy link

Hi,
root.go#L165
should change the default backend to "test", but with [email protected] generated binary uses "os" backend by default

@fadeev
Copy link

fadeev commented Aug 27, 2021

@vjdmhd Starport now recognizes client.toml when running starport chain serve. Have you tried changing the default keyring with the following in config.yml:

init:
  client:
    keyring-backend: "test"

@TxCorpi0x
Copy link
Author

what about no starport?
while issuing first key add we need to add arg --keyring-backend=test, Is this the new implementation?
I mean the first command determines the backend keyring, Is it true?

@Pantani
Copy link
Contributor

Pantani commented Dec 1, 2021

@vjdmhd Starport already uses test as default. The keyring method tries to fetch the keyring backend for different places before using the default test keyring.

https://github.com/tendermint/starport/blob/9f5c3e7371245bb7c96c3f4cf245804da3b7a783/starport/services/chain/chain.go#L346-L390

@ilgooz
Copy link
Member

ilgooz commented Jan 5, 2022

Contents of SPM (Starport Modules) moved under tendermint/starport by tendermint/starport#1968. Please continue your contributions there.

Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants