I’m trying to run dfx deploy
after upgrading to 0.9.2, but I get this error:
...
Installing canisters...
Installing code for canister service, with canister_id va76m-bqaaa-aaaaa-aaayq-cai
Error: The Replica returned an error: code 5, message: "Wasm module of canister va76m-bqaaa-aaaaa-aaayq-cai is not valid: Wasm module has an invalid import section. Module imports function 'canister_cycle_balance128' from 'ic0' that is not exported by the runtime."
Things I’ve tried:
- Upgrading an existing canister
- Reinstalling an existing canister
- Deleting and creating a new canister
- Reinstalling dfx
None of these is fixing the issue. Any idea what could be going wrong? Thanks.