From f7be3ba52117ccacce6336711a1cb08f1cc96c46 Mon Sep 17 00:00:00 2001 From: Sturdy Date: Fri, 2 Dec 2022 13:31:51 +0100 Subject: [PATCH] fix: sort coins in ConvertWasmCoinsToSdkCoins --- x/wasm/keeper/handler_plugin_encoders.go | 1 + 1 file changed, 1 insertion(+) diff --git a/x/wasm/keeper/handler_plugin_encoders.go b/x/wasm/keeper/handler_plugin_encoders.go index 3c4712d99b..3c7184dde4 100644 --- a/x/wasm/keeper/handler_plugin_encoders.go +++ b/x/wasm/keeper/handler_plugin_encoders.go @@ -331,6 +331,7 @@ func ConvertWasmCoinsToSdkCoins(coins []wasmvmtypes.Coin) (sdk.Coins, error) { } toSend = append(toSend, c) } + toSend.Sort() return toSend, nil }