Skip to content
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

running a local-testnet requires internet #1853

Closed
jbibla opened this issue Jan 19, 2019 · 1 comment
Closed

running a local-testnet requires internet #1853

jbibla opened this issue Jan 19, 2019 · 1 comment
Labels
bug 🐛 issues related to unhandled errors in the code that need to be fixed

Comments

@jbibla
Copy link
Collaborator

jbibla commented Jan 19, 2019

running yarn start local-testnet should work without an internet connection but currently it does not. here is the error:

$ /Users/jordan/voyager/builds/Gaia/darwin_amd64/gaiad tendermint show-node-id --home /Users/jordan/voyager/builds/testnets/local-testnet/node_home_1
$ mkdir -p /Users/jordan/voyager/builds/testnets/local-testnet/node_home_1/config && /Users/jordan/voyager/builds/Gaia/darwin_amd64/gaiad version > /Users/jordan/voyager/builds/testnets/local-testnet/node_home_1/config/gaiaversion.txt
$ /Users/jordan/voyager/builds/Gaia/darwin_amd64/gaiacli keys add main-account --home /Users/jordan/voyager/builds/testnets/local-testnet/cli_home_1 -o json
{"name":"main-account","type":"local","address":"cosmos18mpdtgsnskzmyf6t76j22xe7exfljs49ugn2mk","pub_key":"cosmospub1addwnpepqfuuq50fwtp6cnme0eyssyhy96vrsaqf6wkq0y9nszhrrp993u5zywqrdzy","seed":"erode always country soap draw then vicious arctic truck crucial human account ugly capable endorse crime web million silly trouble raven accident execute virtual"}
Adding tokens to genesis at /Users/jordan/voyager/builds/testnets/local-testnet/node_home_1/config/genesis.json for address cosmos18mpdtgsnskzmyf6t76j22xe7exfljs49ugn2mk
$ /Users/jordan/voyager/builds/Gaia/darwin_amd64/gaiad gentx --name main-account --home /Users/jordan/voyager/builds/testnets/local-testnet/node_home_1 --home-client /Users/jordan/voyager/builds/testnets/local-testnet/cli_home_1
ERROR: are you connected to the network?
$ /Users/jordan/voyager/builds/Gaia/darwin_amd64/gaiad collect-gentxs --home /Users/jordan/voyager/builds/testnets/local-testnet/node_home_1
Starting the application failed { Error: Command failed: /Users/jordan/voyager/builds/Gaia/darwin_amd64/gaiad collect-gentxs --home /Users/jordan/voyager/builds/testnets/local-testnet/node_home_1
ERROR: open /Users/jordan/voyager/builds/testnets/local-testnet/node_home_1/config/gentx: no such file or directory

    at ChildProcess.exithandler (child_process.js:289:12)
    at ChildProcess.emit (events.js:182:13)
    at maybeClose (internal/child_process.js:962:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
  killed: false,
  code: 1,
  signal: null,
  cmd:
   '/Users/jordan/voyager/builds/Gaia/darwin_amd64/gaiad collect-gentxs --home /Users/jordan/voyager/builds/testnets/local-testnet/node_home_1',
  stdout: '',
  stderr:
   'ERROR: open /Users/jordan/voyager/builds/testnets/local-testnet/node_home_1/config/gentx: no such file or directory\n' }
✨  Done in 1.13s.
@jbibla jbibla added refactor and removed refactor labels Jan 19, 2019
@faboweb faboweb added the bug 🐛 issues related to unhandled errors in the code that need to be fixed label Jan 22, 2019
@faboweb
Copy link
Collaborator

faboweb commented Jan 29, 2019

This comes from the SDK: cosmos/cosmos-sdk#3424

@faboweb faboweb closed this as completed Jan 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 issues related to unhandled errors in the code that need to be fixed
Projects
None yet
Development

No branches or pull requests

2 participants