You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried to install the library locally and I'm encountering two main errors:
1. Missing Function in AssetsUtils.mo
In AssetsUtils.mo, I'm getting the error field get_fallback_certificate does not exist in module at line 1430.
The get_fallback_certificate function is imported from the CertifiedAssets library. However, after reviewing the CertifiedAssets module, I couldn't find any reference to get_fallback_certificate.
Hey, thank you for the bug report and the kind words!
I seem to have pushed the changes for this library without updating the certified-assets library. I've fixed this now and published version 0.1.0 to mops (https://mops.one/[email protected]) which should resolve the issues you encountered.
Is init_stable_store supposed to be callable in the actor? I'm asking because:
The first parameter is supposed to be the canister_id, but we can't access it in the body of an actor.
The DFINITY team released a new Motoko version recently, that supports this feature: https://github.com/dfinity/motoko/releases/tag/0.13.2.
I'm not sure if this has made it into dfx yet, but you can install it through mops with mops toolchain use moc and then set the environment variable with export DFX_MOC_PATH=moc-wrapper.
Yes, there was a mismatch between the README and the actual implementation. This was from the initial design that has since been updated. I've updated the README to reflect the current implementation.
Hello,
I've tried to install the library locally and I'm encountering two main errors:
1. Missing Function in AssetsUtils.mo
In
AssetsUtils.mo
, I'm getting the errorfield get_fallback_certificate does not exist in module
at line 1430.The
get_fallback_certificate
function is imported from theCertifiedAssets
library. However, after reviewing the CertifiedAssets module, I couldn't find any reference toget_fallback_certificate
.I'm assuming this is the repository for Certified Assets: https://github.com/NatLabs/certified-assets
Could there be an unpublished version of CertifiedAssets?
2. Questions About init_stable_store
Is
init_stable_store
supposed to be callable in the actor? I'm asking because:I love the work that is being done here; this is going to be massively useful for the Motoko ecosystem. Thanks!
The text was updated successfully, but these errors were encountered: