2

I am following the Substrate tutorial at https://docs.substrate.io/tutorials/smart-contracts/prepare-your-first-contract/

I was able to build/compile the Flipper smart contract but when I'm trying to deploy the contract using contracts-ui I'm getting a blank page

enter image description here

In addition to that when running substrate-contracts-node --dev I see that no block is produced.

Only log line produced is:

enter image description here

Do you think this is an expected behavior for the node? Not sure what I'm missing or if the issue might be related with the substrate node or the substrate contracts ui.

Thank you.

1 Answer 1

1

The latest substrate-contracts-node uses a new type for Weight. The UI is not yet updated to handle those changes. This is also mentioned in the release notes: https://github.com/paritytech/substrate-contracts-node/releases/tag/v0.22.1. I recommend sticking with 0.21.0 for now.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.