fix: sort cosmwasm funds by denom (#4385)
### Description CosmWasm `ExecuteContract` message require that the attached `funds` attached are sorted by denom ([ref](pull/4391/head1d0c66c4cf/x/wasm/types/tx.go (L131)
) and [ref](19e0de5e0a/types/coin.go (L270)
)). The current hyperlane-sdk [implementation](092ce5fd39/typescript/sdk/src/token/adapters/CosmWasmTokenAdapter.ts (L405-L414)
) does not have sorting, which causes both the message simulation and submission to fail. ### Drive-by changes No ### Related issues #4384 ### Backward compatibility Yes ### Testing Manual
parent
f2783c03bb
commit
9563a8bebe
@ -0,0 +1,5 @@ |
||||
--- |
||||
'@hyperlane-xyz/sdk': minor |
||||
--- |
||||
|
||||
Sorted cwNative funds by denom in transfer tx |
Loading…
Reference in new issue