shentufoundation/shentu

Add a params query for Oracle

skyargos opened this issue · 0 comments

Summary

Query Oracle params through the CLI, for example using shentud q oracle params.

Problem Definition

  • When we want to get the params of Oracle, we can only obtain them through the subspace of params, for example shentud q params subspace oracle taskparams and shentud q params subspace oracle poolparams.

  • We can add 'shentu q oracle params' to obtain all the Oracle parameters.

  • We can use shentud q gov params to query the parameters of the Gov module.

Why do we need this feature?

  • If you don't view the code, it's not easy to know the names of poolparams and taskparams for Oracle, which is inconvenient for query.

What problems may be addressed by introducing this feature?

  • no

What benefits does the chain stand to gain by including this feature?

Are there any disadvantages of including this feature?

Proposal

Get all Oracle params through shentu q oracle params.

Alternatives

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged