use-ink / contracts-ui

Web application for deploying wasm smart contracts on Substrate chains that include the FRAME contracts pallet
https://contracts-ui.substrate.io/
GNU General Public License v3.0
61 stars 44 forks source link

Incorrect decoded return value of type Vec<(i16,i16)> #508

Closed DoubleOTheven closed 8 months ago

DoubleOTheven commented 11 months ago

Describe the bug

Incorrect values when decoding return value of type Vec<(i16,i16)>. (Vec<(u16,u16)> works just fine).

Issue was posted here, but also mentions Contracts UI.

peetzweg commented 10 months ago

Fix WIP https://github.com/polkadot-js/common/pull/1867

peetzweg commented 10 months ago

The underlying bug for this issue has been resolved and fixed all the way up to @polkadotjs/api. However, a new version of the package is not yet release so we can't upgrade contracts-ui to it yet. We will do so as soon as possible.

https://github.com/polkadot-js/api/issues/5702