You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cloned the repo commit 9c612e8afc55e684c57a4a53355e514729aa194e and did the following:
yarn
yarn build
cd examples/erc20
yarn
yarn test
The output was:
1) ERC20
Assigns initial balance:
RedspotPluginError: Instantiation failed
at /Users/drew/code/redspot/examples/erc20/node_modules/@redspot/patract/contractFactory.js:225:23
at ContractFactory.instantiateWithCode (node_modules/@redspot/patract/contractFactory.js:221:28)
at ContractFactory.deploy (node_modules/@redspot/patract/contractFactory.js:272:31)
2) ERC20
Transfer adds amount to destination account:
RedspotPluginError: Instantiation failed
at /Users/drew/code/redspot/examples/erc20/node_modules/@redspot/patract/contractFactory.js:225:23
at ContractFactory.instantiateWithCode (node_modules/@redspot/patract/contractFactory.js:221:28)
at ContractFactory.deploy (node_modules/@redspot/patract/contractFactory.js:272:31)
3) ERC20
Transfer emits event:
RedspotPluginError: Instantiation failed
at /Users/drew/code/redspot/examples/erc20/node_modules/@redspot/patract/contractFactory.js:225:23
at ContractFactory.instantiateWithCode (node_modules/@redspot/patract/contractFactory.js:221:28)
at ContractFactory.deploy (node_modules/@redspot/patract/contractFactory.js:272:31)
4) ERC20
Can not transfer above the amount:
RedspotPluginError: Instantiation failed
at /Users/drew/code/redspot/examples/erc20/node_modules/@redspot/patract/contractFactory.js:225:23
at ContractFactory.instantiateWithCode (node_modules/@redspot/patract/contractFactory.js:221:28)
at ContractFactory.deploy (node_modules/@redspot/patract/contractFactory.js:272:31)
5) ERC20
Can not transfer from empty account:
RedspotPluginError: Instantiation failed
at /Users/drew/code/redspot/examples/erc20/node_modules/@redspot/patract/contractFactory.js:225:23
at ContractFactory.instantiateWithCode (node_modules/@redspot/patract/contractFactory.js:221:28)
at ContractFactory.deploy (node_modules/@redspot/patract/contractFactory.js:272:31)
The text was updated successfully, but these errors were encountered:
drewstone
changed the title
All erc20 tests fail following the examples
All erc20 tests fail following the example instructions
Feb 19, 2022
There should be some issues with canvas, and it also won't deploy using polkadot/apps.
Canvas may have been abandoned for maintenance, as redspot will no longer support it. use https://github.com/paritytech/substrate-contracts-node instead.
Node version
14.17.0
Cargo contract version
cargo-contract 0.17.0-unknown-aarch64-macos
Canvas node version
I installed canvas with the following command:
Redspot Version
I cloned the repo commit
9c612e8afc55e684c57a4a53355e514729aa194e
and did the following:yarn
yarn build
cd examples/erc20
yarn
yarn test
The output was:
The text was updated successfully, but these errors were encountered: