Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

FIX: "Missing placeholders" Error for MintAndSendTokens Command #4003

Open
d3v3us opened this issue Mar 7, 2024 · 7 comments
Open

FIX: "Missing placeholders" Error for MintAndSendTokens Command #4003

d3v3us opened this issue Mar 7, 2024 · 7 comments
Assignees
Labels
component:cmd type:bug Something isn't working

Comments

@d3v3us
Copy link

d3v3us commented Mar 7, 2024

Running command "ignite s message MintAndSendTokens denom:string amount:int recipient:string --module tokenfactory" gives an error "✘ Missing placeholders:" is there something I missed?

Using command from here
https://docs.ignite.com/guide/tokenfactory/tokenfactory#chapter-4-expanding-functionality-with-new-messages

@d3v3us d3v3us changed the title Ignite CLI gives and error: Missing placeholders: Ignite CLI gives an error: Missing placeholders: Mar 7, 2024
@mondainai247 mondainai247 self-assigned this Mar 8, 2024
@mondainai247
Copy link
Contributor

Thanks @deveusss

Are you using the full command from the tutorial? I don't see the --signer flag in your command. Can you please try that and if it does not work, I will flag this to the tutorials author.

ignite scaffold message MintAndSendTokens denom:string amount:int recipient:string --module tokenfactory --signer owner

Also, what version of CLI are you using. Please include the output of

ignite version

@d3v3us
Copy link
Author

d3v3us commented Mar 8, 2024

thank you @mondainai247

The same error with signer command

Ignite CLI version: v28.2.0
Ignite CLI build date: 2024-02-06T11:21:56Z
Ignite CLI source hash: af25183
Ignite CLI config version: v1
Cosmos SDK version: v0.50.3

@mondainai247
Copy link
Contributor

mondainai247 commented Mar 8, 2024

Thank you @deveusss, for now, would you mind trying with an earlier version? It can be installed with

curl https://get.ignite.com/cli@v28.0.0! | bash

before doing that you can remove your currently installed ignite binary with

sudo rm -r $(which ignite)

I had heard some of the scaffolding placeholders were removed in version 28.2.0 though not sure if this is the reason for the error. If you can please check with a previous version, it would be most appreciated.

@d3v3us
Copy link
Author

d3v3us commented Mar 8, 2024

hey @mondainai247 , the same error, any other way I could resolve this issue?

@mondainai247
Copy link
Contributor

I will ask @toschdev as I believe he wrote the tutorial, though not sure which version of ignite it was created with.

@d3v3us
Copy link
Author

d3v3us commented Mar 11, 2024

hey @toschdev, can you help me with this issue?

@salmad3 salmad3 added type:bug Something isn't working component:cmd labels Mar 12, 2024
@JTG947
Copy link

JTG947 commented Apr 23, 2024

ignite scaffold chain tokenfactory --no-module

The above command doesn't generate client/cli folder under X.

Tried the whole tutorial of tokenfactory but that file is not generated in Ignite cli version v28.3.0

Client Updates

Navigate to the client in x/tokenfactory/client and make these changes:

Remove TestDeleteDenom() from tx_denom_test.go.
Eliminate CmdDeleteDenom() from tx_denom.go.
In tx.go, delete the line referencing the delete command.

Also the example has not been provide in the previous versions. Please advise how to delete the above if the CLI doesn't even generate the file?

@salmad3 salmad3 assigned toschdev and unassigned mondainai247 May 22, 2024
@salmad3 salmad3 changed the title Ignite CLI gives an error: Missing placeholders: FIX: "Missing placeholders" Error for MintAndSendTokens Command Jul 19, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
component:cmd type:bug Something isn't working
Projects
Status: To Discuss
Development

No branches or pull requests

5 participants