-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
Document:
cause: {
code: e {
isCertified: true,
requestId: [Uint8Array],
rejectCode: 5,
rejectMessage: "Error from Canister atbka-rp777-77775-aaaaq-cai: Canister's Wasm module is not valid: Wasm module has an invalid import section. Module imports function 'juno_on_upload_asset_collections' from 'env' that is not exported by the runtime..\n" +
'If you are running this canister in a test environment (e.g., dfx), make sure the test environment is up to date. Otherwise, this is likely an error with the compiler/CDK toolchain being used to build the canister. Please report the error to IC devs on the forum: https://forum.dfinity.org and include which language/CDK was used to create the canister.',
rejectErrorCode: 'IC0505',
name: 'CertifiedRejectErrorCode',
callContext: [Object]
},
kind: 'Reject'
}
In the FAQ. The reason behin the error is devs removing some hooks and assertions and not following the documentation: https://juno.build/docs/build/functions/development/rust#feature-selection
Source: https://discord.com/channels/1076791076544847982/1076791077308219414/1430548475040497856
Metadata
Metadata
Assignees
Labels
No labels