junobuild / juno

Build Web3 at Lightning Speed
https://juno.build
Other
194 stars 13 forks source link

feat: upgrade chunked wasm #834

Closed peterpeterparker closed 1 day ago

peterpeterparker commented 2 days ago

Motivation

Support for WASM > 2Mb and save chunks of WASM to Mission Control chunk store for satellites

⚠️ Actually there is a bug on the IC or agent-js so the feature does not work yet on mainnet. However, since our WASM are < 2Mb the function is not yet used - because the implementation only use it as of 2MB + it's currently disabled - so we are fine merging this as fundamentally it does not change much but already prepare the future.