Skip to content

get_fallback_certificate, init_stable_store #2

@seb-icp

Description

@seb-icp

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions