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
62 stars 47 forks source link

Incorrect decoding of `Vec` type #386

Closed statictype closed 1 year ago

statictype commented 1 year ago

Dry-run results are not rendered correctly for contract messages that return Vec

Steps to reproduce the behavior:

  1. Upload ERC1155
  2. Select balance_of_batch message
  3. Click on the + buttons of the 2 vector inptus
  4. In the Outcome panel, the return value is []

Expected behavior The return value should not be empty and should contain the correct balance for the Accounts

Context

statictype commented 1 year ago

fixed with ink-4.0.1