-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[OPS] Wishlist - Feature ideas #2102
Comments
About Having a I'm not fond of the idea of having to manage such configuration files manually or even from a CLI. Instead, I think we should focus more on hostnames/zones and auto-configuration, like Maybe the question is: when you launch
No opinion.
I provided more details in a previous comment. The summary is that I anticipate 3 main cases for people who run the
I can't find any evidence that your suggested unified
No opinion. |
Thanks for replying @moul
Since it's I believe in the future having This is a feature request, we can work on it later :) BONUS: we could mention the $GNOROOT for each zone, the
Right now, it is not possible to start a node with only
It's lacking the So the only solutions is to I don't understand the purpose of IMHO, as a zone architect and full node runner, i would mostly use a I don't see any world were i need to do only I'm thinking as a new user, he will get the |
Description
Hello, after couple discussions with @zivkovicmilos and @thehowl about some ideas of features, they told me i should create a ticket to discuss about it.
This is a general ticket, if some feature makes debate, let's open smaller ticket to discuss about them.
1️⃣
$HOME/.gno
In cosmos-sdk, there is a feature i find cool is the
client.toml
file.This file contains informations about the chain, like
node
(endpoint),chain-id
, all client configurations to discuss with a blockchain.Since in Gno philosophie, we want the
gnoland-data
folder to be only containing the chain data. it would be non-sense to put the client.toml file there.My suggestions would be to to create a
$HOME/gno
folder where we could put aclients.toml
(notice theS
), to be able to have "context" (like in S3 clients), were we could replace commands like:By having
So the command would be
2️⃣ Put back default genesis.json file inside of the
gnoland-data
folderI understand the feature and the benefit of having the
genesis.json
file outside of the folder but i don't believe it should be outside by default.gnoland-data/config/genesis.json
(tendermint style)gnoland-data/genesis.json
(make more sense with current folders)It's so much simpler in multiple way... the other day i had issue because i was removing
gnoland-data
folder for having a new chain, and got errors because i forgot thegenesis.json
file.3️⃣
gnoland init
There is already a LOT of PRs and public discussions about it, and i just want to find a solutions for this.
I understand @moul positions about UNIX style and avoid sugar syntax of tasks, but the default behavior is to do a simple
init
and after astart
, and i don't believe really useful all thegenesis init
+secrets init
+config init
.So here is some proposals that maybe could fit ?
Like migrating everything under
init
and having something like:gnoland init
(doing:gnoland init config
+ gnoland init genesis+
gnoland init secrets`)or by default and have the "lazy flags" for smaller cases like:
gnoland init --{config,secrets,genesis}-only
4️⃣
--data-dir
into--home
, remove--config-path
gnoland
want to be simple. the CLI have different system which aren't logical.with
gnoland start
i can set--data-dir
, but i can't set a different--config-path
, (which wouldn't make sense)So in
gnoland config init
, i propose to update--config-path
into--data-dir
that will be{{ data_dir }}/config
by default--data-dir
into--home
? (if$HOME/.gno
is approved, it could be--gnhome
:)even if i don't think gnoland will care of $HOME/.gno)
The text was updated successfully, but these errors were encountered: