-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
__motoko_runtime_information
not properly displayed in dfx
#4819
Comments
I suspect this never worked when called from dfx unless it had some special support that was removed. The internal tests just cast the motoko actor to an actor type exposing the function at the correct type. If we want this to work in general, I think we would need to add this method and perhaps other well-known methods to the candid interface. Related PR #4635 |
@ByronBecker Try the dfx option:
It might just work! |
__motoko_runtime_information
not properly displayed in dfx
Trying this out with
Where the internal_stats.did file is 👇
And I'm receiving this back:
Anything you can see from first glance that might be off? |
That's sad. Did you try with
|
@ggreif Nope, didn't make a difference. Same output. Tried with both dfx 0.24.0 and 0.24.3. Maybe you can try deploying a canister to mainnet and seeing if the response is clean on your side?
Yes, or glue together the candid with dfx? @crusso This gets to another point that I'd like to bring up, which is allowing Motoko canisters to explictly specify private APIs that aren't meant to be discoverable or viewable from the dashboard. Specifically for product/team administrators. |
I filed an issue in SDK's internal Jira. The suspicion is that when the metadata retrieval was implemented the |
When calling:
users now don't see field names with recent Motoko/dfx versions:
The text was updated successfully, but these errors were encountered: