From fb5cfb93f993ef1bf3b010423d328ec05ed018eb Mon Sep 17 00:00:00 2001 From: Nguyen Thanh Nhan Date: Tue, 30 May 2023 14:30:33 +0700 Subject: [PATCH] [GAMM] Fix wrong restHandler for `ReplaceMigrationRecordsProposal` (#5356) * fix wrong restHandler * changelog --- CHANGELOG.md | 3 ++- x/gamm/client/proposal_handler.go | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c5dbfd554a..8d4cd2b6b65 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -54,7 +54,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * [#4827] (https://github.com/osmosis-labs/osmosis/pull/4827) Protorev: Change highest liquidity pool updating from weekly to daily and change dev fee payout from weekly to after every trade. ### Misc Improvements - + + * [#5356](https://github.com/osmosis-labs/osmosis/pull/5356) Fix wrong restHandler for ReplaceMigrationRecordsProposal * [#5020](https://github.com/osmosis-labs/osmosis/pull/5020) Add gas config to the client.toml * [#5105](https://github.com/osmosis-labs/osmosis/pull/5105) Lint stableswap in the same manner as all of Osmosis * [#5065](https://github.com/osmosis-labs/osmosis/pull/5065) Use cosmossdk.io/errors diff --git a/x/gamm/client/proposal_handler.go b/x/gamm/client/proposal_handler.go index c54c3a54c58..5f0ec209921 100644 --- a/x/gamm/client/proposal_handler.go +++ b/x/gamm/client/proposal_handler.go @@ -8,6 +8,6 @@ import ( ) var ( - ReplaceMigrationRecordsProposalHandler = govclient.NewProposalHandler(cli.NewCmdSubmitReplaceMigrationRecordsProposal, rest.ProposalUpdateMigrationRecordsRESTHandler) + ReplaceMigrationRecordsProposalHandler = govclient.NewProposalHandler(cli.NewCmdSubmitReplaceMigrationRecordsProposal, rest.ProposalReplaceMigrationRecordsRESTHandler) UpdateMigrationRecordsProposalHandler = govclient.NewProposalHandler(cli.NewCmdSubmitUpdateMigrationRecordsProposal, rest.ProposalUpdateMigrationRecordsRESTHandler) )