Skip to content

RedspotPluginError: Instantiation failed #183

Description

@fbielejec

Redspot Version
0.13.6

Description

Trying to deploy an example contract (ink 3.0) on a node based on Substrate 0.9.19

Reproducing

See this repository:
https://github.com/fbielejec/erc20

Create a .env file with the seed for a well-known account Alice:

SMARTNET_MNEMONIC="bottom drive obey lake <...>//Alice"

Account is seeded with tokens so that you can immediately do:

yarn deploy

Which throws:

 WARN  Unable to find handler for subscription=state_storage::XEclAsTV4Qz8Fzvq
 WARN  Unable to find handler for subscription=author_extrinsicUpdate::SjxI5FeHLqmW08m1
 ERROR  Module
RedspotPluginError: Instantiation failed
    at  erc20/node_modules/@redspot/patract/contractFactory.js:238:23
    at ContractFactory.instantiateWithCode (erc20/node_modules/@redspot/patract/contractFactory.js:234:28)
    at ContractFactory.deploy (erc20/node_modules/@redspot/patract/contractFactory.js:285:31)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions