Skip to content

Commit

Permalink
PR comments fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Unique-Divine committed Dec 29, 2023
1 parent 512b236 commit 9c898cd
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 60 deletions.
2 changes: 1 addition & 1 deletion proto/nibiru/oracle/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ service Msg {

rpc EditOracleParams(MsgEditOracleParams)
returns (MsgEditOracleParamsResponse) {
option (google.api.http).post = "/nibiru/oracle/feeder-delegate";
option (google.api.http).post = "/nibiru/oracle/edit-oracle-params";
}
}

Expand Down
2 changes: 1 addition & 1 deletion x/oracle/keeper/sudo.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func (k sudoExtension) EditOracleParams(

paramsAfter = MergeOracleParams(newParams, params)
k.UpdateParams(ctx, paramsAfter)
return paramsAfter, nil
return paramsAfter, paramsAfter.Validate()
}

// MergeOracleParams: Takes the given oracle params and merges them into the
Expand Down
115 changes: 58 additions & 57 deletions x/oracle/types/tx.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion x/oracle/types/tx.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9c898cd

Please sign in to comment.