Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RedspotPluginError: Instantiation failed #183

Open
fbielejec opened this issue May 18, 2022 · 0 comments
Open

RedspotPluginError: Instantiation failed #183

fbielejec opened this issue May 18, 2022 · 0 comments

Comments

@fbielejec
Copy link

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant