-
Notifications
You must be signed in to change notification settings - Fork 28
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
Added cli to fetch ft & nft params #500
Conversation
…m/add-cli-to-fetch-ft-nft-params
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.
Reviewed 4 of 4 files at r1, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @dzmitryhil, @miladz68, and @ysv)
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.
Reviewable status: all files reviewed, 3 unresolved discussions (waiting on @miladz68, @silverspase, and @ysv)
x/asset/ft/client/cli/query.go
line 288 at r1 (raw file):
cmd := &cobra.Command{ Use: "params", Short: "Query the current assetft parameters",
assetft -> use types.ModuleName instead (same for all text).
x/asset/ft/client/cli/query_test.go
line 99 at r1 (raw file):
requireT.NoError(ctx.Codec.UnmarshalJSON(buf.Bytes(), &resp)) expectedIssueFee := sdk.Coin{Denom: constant.DenomDev, Amount: sdk.NewInt(10_000_000)}
Why it's constant? You should use iether the default values from types, or don't check it at all (same for the NFT test).
x/asset/nft/client/cli/query.go
line 254 at r1 (raw file):
cmd := &cobra.Command{ Use: "params", Short: "Query the current assetnft parameters",
assetnft -> use types.ModuleName instead (same for all text).
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.
Reviewed 4 of 4 files at r1, all commit messages.
Reviewable status: all files reviewed, 3 unresolved discussions (waiting on @silverspase and @ysv)
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.
Reviewable status: all files reviewed, 3 unresolved discussions (waiting on @dzmitryhil and @ysv)
x/asset/ft/client/cli/query.go
line 288 at r1 (raw file):
Previously, dzmitryhil (Dzmitry Hil) wrote…
assetft -> use types.ModuleName instead (same for all text).
Done
x/asset/ft/client/cli/query_test.go
line 99 at r1 (raw file):
Previously, dzmitryhil (Dzmitry Hil) wrote…
Why it's constant? You should use iether the default values from types, or don't check it at all (same for the NFT test).
I cannot find the place in the code where IssueFee is set to 10_000_000, could you please point out the place in the code?
x/asset/nft/client/cli/query.go
line 254 at r1 (raw file):
Previously, dzmitryhil (Dzmitry Hil) wrote…
assetnft -> use types.ModuleName instead (same for all text).
Done
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.
Reviewable status: all files reviewed, 3 unresolved discussions (waiting on @silverspase and @ysv)
x/asset/ft/client/cli/query.go
line 288 at r1 (raw file):
Previously, silverspase (Artem) wrote…
Done
Don't see the changes.
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.
Reviewable status: all files reviewed, 3 unresolved discussions (waiting on @dzmitryhil and @ysv)
x/asset/ft/client/cli/query.go
line 288 at r1 (raw file):
Previously, dzmitryhil (Dzmitry Hil) wrote…
Don't see the changes.
Sorry, I've published it without pushing
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.
Reviewable status: 2 of 4 files reviewed, 3 unresolved discussions (waiting on @miladz68, @silverspase, @wojtek-coreum, and @ysv)
x/asset/ft/client/cli/query_test.go
line 99 at r1 (raw file):
Previously, silverspase (Artem) wrote…
I cannot find the place in the code where IssueFee is set to 10_000_000, could you please point out the place in the code?
It's in the genesis. I thought we had it in the type, resolved.
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.
Reviewable status: 2 of 4 files reviewed, all discussions resolved (waiting on @miladz68, @wojtek-coreum, and @ysv)
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.
Reviewed 2 of 2 files at r2, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @ysv)
This change is