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 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.
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:
- The first parameter is supposed to be the canister_id, but we can't access it in the body of an actor.
- There seems to be a discrepancy between the README (which shows no parameters when calling Assets.init_stable_store) and the actual implementation
I love the work that is being done here; this is going to be massively useful for the Motoko ecosystem. Thanks!
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 moduleat line 1430.The
get_fallback_certificatefunction is imported from theCertifiedAssetslibrary. 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_storesupposed 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!