Skip to content

Commit

Permalink
chore: change EnhanceCusomCommand from false to true to restore Param…
Browse files Browse the repository at this point in the history
…s query command
  • Loading branch information
dudong2 committed Feb 5, 2024
1 parent f996886 commit 6cade60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/evm/autocli.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions {
return &autocliv1.ModuleOptions{
Query: &autocliv1.ServiceCommandDescriptor{
Service: evmv1.Query_ServiceDesc.ServiceName,
EnhanceCustomCommand: false,
EnhanceCustomCommand: true, // We provide custom Storage and Code in client/cli/tx.go
RpcCommandOptions: []*autocliv1.RpcCommandOptions{
{
RpcMethod: "Params",
Expand Down Expand Up @@ -58,7 +58,7 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions {
},
Tx: &autocliv1.ServiceCommandDescriptor{
Service: evmv1.Msg_ServiceDesc.ServiceName,
EnhanceCustomCommand: true, // We provide costom RawTx in client/cli/tx.go
EnhanceCustomCommand: true, // We provide custom RawTx in client/cli/tx.go
RpcCommandOptions: []*autocliv1.RpcCommandOptions{
{
RpcMethod: "UpdateParams",
Expand Down

0 comments on commit 6cade60

Please sign in to comment.