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

Blockchain init failed: unknown command "validate-genesis" for "exampled" #4078

Closed
zarkone opened this issue Apr 10, 2024 · 3 comments
Closed

Comments

@zarkone
Copy link

zarkone commented Apr 10, 2024

Describe the bug
ignite network chain publish github.com/ignite/example fails with

Source code fetched
Blockchain set up
Chain's binary built
Blockchain initialized
✘ Blockchain init failed: unknown command "validate-genesis" for "exampled"
: exit status 1 

To reproduce
Steps to reproduce the behavior:

  1. run ignite network chain publish github.com/ignite/example

What version are you using?

Ignite CLI version:		v28.3.0-dev
Ignite CLI build date:		undefined
Ignite CLI source hash:		undefined
Ignite CLI config version:	v1
Cosmos SDK version:		v0.50.5
Your OS:			linux
Your arch:			amd64
Your go version:		go version go1.22.1 linux/amd64
Your uname -a:			Linux fwlp 6.8.4 #1-NixOS SMP PREEMPT_DYNAMIC Thu Apr  4 18:25:06 UTC 2024 x86_64 GNU/Linux
Your cwd:			/home/zarkone/code/ignite-local-hello
Is on Gitpod:			false

ignite app list

Path 						Config 	Status 				
github.com/ignite/cli-plugin-network@v0.2.2 	global 	✔ Loaded 

... but same happens if I try to build fresh main @ e2572b5

I quickly looked at

commandValidateGenesis,
and it seems the command is constructed properly, for quite a while already actually... So I've decided to check mabe I'm missing something obvious?

Thanks!

@kdkcom1234
Copy link

I also experienced the same issue. It occurred with both v29nightly and v28 versions. It seems that the correct command is exampled genesis validate.

@julienrbrt
Copy link
Member

Yes correct, this is a known bug: ignite/cli-plugin-network#27. We haven't got just yet at fixing it.

@julienrbrt
Copy link
Member

Closing this as duplicate, but we'll make sure to fix that soon!

@julienrbrt julienrbrt closed this as not planned Won't fix, can't repro, duplicate, stale May 8, 2024
@github-project-automation github-project-automation bot moved this from To Discuss to Done in Ignite CLI Masterboard May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

3 participants