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

Error for the https://contracts-ui.substrate.io// #559

Closed blue-freedom-technologies closed 2 months ago

blue-freedom-technologies commented 2 months ago

Describe the bug

I have used the flipper example.

image

But the contracts-ui gives this error with no more explanations went we try to instantiate the contract. image

Note: using the cmd cargo contract instantiate --manifest-path=Cargo.toml --suri "***" -x --args true --url wss://rococo-contracts-rpc.polkadot.io it work as a charm.

To Reproduce Steps to reproduce the behavior:

  1. Upload the contract via the contracts-ui
  2. Instantiate the contract
  3. Error

Expected behavior Be able to instancite the conctarto via the contracts-ui like we are able to do via the cmd "cargo contract instantiate --manifest-path=Cargo.toml --suri "***" -x --args true --url wss://rococo-contracts-rpc.polkadot.io"

Screenshots image

Desktop (please complete the following information):

Environment (please complete the following information where it makes sense):

Additional context

source code

peetzweg commented 2 months ago

Thanks for reporting! Fixed by #560