-
Notifications
You must be signed in to change notification settings - Fork 103
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
fix: Use correct REGEN_HOME env in regen sandbox #1789
fix: Use correct REGEN_HOME env in regen sandbox #1789
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @paul121!
It looks like bootstrap.sh
and setup/utils.sh
both use REGENHOME
. Can you update?
77a4d03
to
e6ec5d4
Compare
Thanks @ryanchristo - I missed that. Now it makes more sense how this was working :-) I removed the $ docker run -v $(pwd):/regen regen-sandbox:latest
Created genesis. chain-id: regen-sandbox, moniker: test_moniker
No $REGEN_MNEMONIC provided, using generated mnemonic:
...........removed
Adding key to keyring for account name: addr1
Adding key to keyring for account name: addr2
Adding key to keyring for account name: addr3
Adding key to keyring for account name: addr4
Adding key to keyring for account name: addr5
Setting up validator (from addr1)...
Genesis transaction written to "/regen/.regen/config/gentx/gentx-cb93edeb49841d6c68fabde235f00b9461ea56c3.json"
Collecting gentxs from /regen/.regen/config/gentx into genesis.json
Starting up regen node...
Node started & state inialized!
^C
$ docker run -v $(pwd):/regen regen-sandbox:latest
Regen home (/regen/.regen) already exists, skipping bootstrap...
Starting up regen node...
Node started & state inialized! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tACK. Thanks again @paul121!
@Mergifyio backport release/v5.0.x |
✅ Backports have been created
|
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com> (cherry picked from commit 489200c)
Description
I believe
REGENHOME
is a semi-incorrect env var for here. I was referenced this regen-sandbox Dockerfile and was getting inconsistent results. It's quite confusing because it seems like it works for some things but not others. UsingREGEN_HOME
is working much better, as seen in this PR: #1672Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!
to the type prefix if API or client breaking changeCHANGELOG.md
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
!
in the type prefix if API or client breaking change