akash-network / cosmos-omnibus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[question] AKASH_MODE env. variable

andy108369 opened this issue · comments

Is AKASH_MODE somehow used or that's only to help the operator see what is the mode?

What would AKASH_MODE=full mean - that's not the pruning=nothing (i.e. archiving mode node).

Maybe we should remove AKASH_MODE or rename it (or update the readme) to reduce confusion?

cosmos-omnibus$ git grep AKASH_MODE
_examples/validator-and-private-sentries/deploy.yml:      - AKASH_MODE=validator
_examples/validator-and-private-sentries/deploy.yml:      - AKASH_MODE=full
_examples/validator-and-private-sentries/deploy.yml:      - AKASH_MODE=full
_examples/validator-and-public-sentries/sentries-deploy.yml:      - AKASH_MODE=full
_examples/validator-and-public-sentries/sentries-deploy.yml:      - AKASH_MODE=full
_examples/validator-and-public-sentries/validator-deploy.yml:      - AKASH_MODE=validator

This just sets the mode node config. AKASH_ is just the prefix for the chain, could be GAIAD_MODE=full etc

Investigating further - mode seems to be an old config (previously accepted values like full, validator etc). I can't see in current config files, so I think we can remove this entirely.