I have working substrate-contracts-node
and contracts-ui
and I want to deploy a flipper
smart contract. When I try to deploy flipper smart contract I got:
DEBUG tokio-runtime-worker runtime::contracts: Execution finished with debug buffer: panicked at 'dispatching ink! constructor failed: could not read input', /home/tomek/workspaces/flipper/lib.rs:8:5
I did not change flipper source code at all, what I do wrongly? My goal is to have fully working development environment for ink smart contracts.
cargo contract
+substrate-contracts-node
) and and a repo with the "flipper" you are trying to compile.tokio-runtime-worker runtime::contracts: Execution finished with debug buffer: panicked at 'dispatching ink! constructor failed: could not read input', /home/bosr/rust/flipper/lib.rs:8:5
Here are the first 15 lines of the lib.rs file: ```#![cfg_attr(not(feature = "std"), no_std)] use ink_lang as ink; #[ink::contract] pub mod flipper { /// Defines the storage of your contract. /// Add new fields to the below struct in order /// to add new static storage fielMultiAddress
, variant doesn't exist', runtime/src/lib.rs:410 This is a bug. Please report it at: github.com/paritytech/substrate-contracts-node/issues/new 2022-12-23 09:54:15.467 WARN tokio-runtime-worker wasm-runtime: Evicting failed runtime instance error=Runtime panicked: Bad input data provided to validate_transaction: Could not decodeMultiAddress
,