0

I was unable to add contract into https://phat.phala.network/contracts/add.

At the

The contract was built using: cargo-contract version : cargo-contract-contract 2.1.0-unknown-aarch64-apple-darwin

the contract.json's snippet

"source": {
"hash": "0x2bb725e2c31290294d3cb9f5eb1c52347cfe770a74c5f1a06d69aeb4f7b4bbbc",
"language": "ink! 4.0.1",
"compiler": "rustc 1.70.0-nightly",
"build_info": {
  "build_mode": "Debug",
  "cargo_contract_version": "2.1.0",
  "rust_toolchain": "nightly-aarch64-apple-darwin",
  "wasm_opt_settings": {
    "keep_debug_symbols": false,
    "optimization_passes": "Z"
  }
}

Error when uploading the contract

2
  • You may want to open an issue on there Github.
    – Bruno
    Mar 17 at 23:58
  • @Bruno thanks ,will ask this in discord before creating an issue in appropriate Phala Repo
    – Darwin
    Mar 18 at 4:34

1 Answer 1

2

We haven't enabled support for ink 4 in production or on our testnet yet. As it's a major version update, if you want to experiment with ink 4, you'll need to deploy your own testnet.

New contributor
Leechael is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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