Skip to content

Commit

Permalink
fix x/reporter/autocli
Browse files Browse the repository at this point in the history
  • Loading branch information
akremstudy committed Dec 9, 2024
1 parent 143b4db commit 2d1a224
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions x/reporter/module/autocli.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions {
PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "reporter_address"}},
},
{
RpcMethod: "AvailableTips",
Use: "available-tips",
RpcMethod: "AvailableTipsByQuery",
Use: "available-tips-by-query",
Short: "Query how much how much tips a selector has",
PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "selector_address"}},
},
Expand Down Expand Up @@ -95,10 +95,12 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions {
PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "reporter_address"}},
},
{
RpcMethod: "WithdrawTip",
Use: "withdraw-tip [selector-address] [validator-address]",
Short: "Send a WithdrawTip tx",
PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "selector_address"}, {ProtoField: "validator_address"}},
RpcMethod: "WithdrawTip",
Use: "withdraw-tip [selector-address] [validator-address] [reporter-address] [id] [query-id]",
Short: "Send a WithdrawTip tx",
PositionalArgs: []*autocliv1.PositionalArgDescriptor{
{ProtoField: "selector_address"}, {ProtoField: "validator_address"},
{ProtoField: "reporter_address"}, {ProtoField: "id"}, {ProtoField: "query_id"}},
},
// this line is used by ignite scaffolding # autocli/tx
},
Expand Down

0 comments on commit 2d1a224

Please sign in to comment.