Skip to content

FIX: Ignite scaffold params command not found #4448

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

Closed
YuniqueUnic opened this issue Dec 18, 2024 · 1 comment
Closed

FIX: Ignite scaffold params command not found #4448

YuniqueUnic opened this issue Dec 18, 2024 · 1 comment
Labels
type:error Something isn't working

Comments

@YuniqueUnic
Copy link

Describe the Bug:

Hello, I met a problem with the command ignite scaffold params unauth:uint --module roleauth which pop up an error ✘ Unknown flag: --module..
And I find there no such sub-command on the ignite v28.6.0.. Does this command was hidden by some reason?
Though I still find ignite scaffold params on the docs of ignite - ignite scaffold params.

So, how to add one more param in my custom module which also created by the command - ignite scaffold module roleauth --dep auth --params admin:uint,manager:uint,user:uint when the above command is invalid..

❯ ignite version               
Ignite CLI version:             v28.6.0
Ignite CLI build date:          2024-11-26T20:34:44Z
Ignite CLI source hash:         54f41311dbaf47de537dcaf6c529f401a12d0e60
Ignite CLI config version:      v1
Cosmos SDK version:             v0.50.9
Your OS:                        linux
Your arch:                      amd64
Your go version:                go version go1.23.4 linux/amd64
Your uname -a:                  Linux unic-desktop 5.15.167.4-microsoft-standard-WSL2 #1 SMP Tue Nov 5 00:21:55 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Your cwd:                       /root/all/bc/gotmchain/dachain
Is on Gitpod:                   false

Steps to Reproduce:

  1. ignite scaffold chain abc && cd abc
  2. ignite scaffold module roleauth --dep auth --params admin:uint,manager:uint,user:uint
  3. ignite scaffold params unauth:uint --module roleauth
    • Error: ✘ Unknown flag: --module

Expected Behavior:

Actual Behavior:

  1. Cannot be found the params subcommand in the ignite scaffold --help
  2. ignite scaffold params should work properly.

Environment Details:

❯ ignite version               
Ignite CLI version:             v28.6.0
Ignite CLI build date:          2024-11-26T20:34:44Z
Ignite CLI source hash:         54f41311dbaf47de537dcaf6c529f401a12d0e60
Ignite CLI config version:      v1
Cosmos SDK version:             v0.50.9
Your OS:                        linux
Your arch:                      amd64
Your go version:                go version go1.23.4 linux/amd64
Your uname -a:                  Linux unic-desktop 5.15.167.4-microsoft-standard-WSL2 #1 SMP Tue Nov 5 00:21:55 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Your cwd:                       /root/all/bc/gotmchain/dachain
Is on Gitpod:                   false
@julienrbrt
Copy link
Member

Hey! Correct, this command exists from ignite v29 (currently nightly builds) (https://github.com/ignite/cli/blob/main/changelog.md#features).
It looks like there's an issue with the versioning in the docs for v28 https://docs.ignite.com/CLI-Commands/cli-commands.
I'll create an issue about it.

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

No branches or pull requests

2 participants