demergent-labs / kybra

Python CDK for the Internet Computer
MIT License
80 stars 15 forks source link

Switch to ic-wasm #42

Closed lastmjs closed 6 months ago

lastmjs commented 1 year ago

We are waiting for all of the number of functions and function complexity limits to be raised to sufficient levels, which should happen in dfx 0.12.0-beta.4. We're currently on dfx 0.12.0-beta.3. Once we have those limits increased, let's switch to ic-wasm. We want to do this because ic-cdk-optimizer is deprecated, and it causes issues when being installed on Mac M1s.

lastmjs commented 1 year ago

I've attempted to use ic-wasm instead of ic-cdk-optimizer but unfortunately ic-wasm does not reduce the binary size as much as ic-cdk-optimizer, so for now we need to stick with ic-cdk-optimizer. See here for more information: https://forum.dfinity.org/t/wasm-module-contains-a-function-that-is-too-complex/15407/43?u=lastmjs

lastmjs commented 1 year ago

Hopefully once the wasm binary limit is lifted we won't have to use ic-cdk-optimizer or ic-wasm

lastmjs commented 6 months ago

No longer needed! ic-wasm has been removed