Skip to content
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

Expose runtime methods from metadata V15 #5725

Open
jacogr opened this issue Aug 30, 2023 · 7 comments
Open

Expose runtime methods from metadata V15 #5725

jacogr opened this issue Aug 30, 2023 · 7 comments
Assignees

Comments

@jacogr
Copy link
Member

jacogr commented Aug 30, 2023

Last remaining issue from #5633

@xlc
Copy link
Contributor

xlc commented Jan 29, 2024

I only remember one feature from metadata v15 and it is not supported 😢

@ntn-x2
Copy link

ntn-x2 commented Mar 12, 2024

Hello @TarikGul! How is this scored in priority compared to other tasks? When can we expect work to be completed on this?

@TarikGul
Copy link
Member

Hey @ntn-x2, this is definitely a high priority task. There has just been a big backlog (bugs, reviews etc.), and learning curve with certain workflows especially with all the packages. Things will really start to gain speed soon, and I will have this on the list for next week.

Thanks again for your patience.

@ntn-x2
Copy link

ntn-x2 commented Mar 14, 2024

Great, thank you! I will check in with my co-workers if we can support this, since we have digged quite deep already into type augmentation, and having this in and released would greatly benefit us, so we could help out.

@TarikGul TarikGul self-assigned this Mar 19, 2024
@TarikGul
Copy link
Member

Okay cool, I've started this and am making some ground. PR should be wrapped up next weekish

@rflechtner
Copy link
Contributor

Okay cool, I've started this and am making some ground. PR should be wrapped up next weekish

Very cool! Will this be covering the typegen as well, so that runtime call interfaces are generated from the metadata without any additional input?

@TarikGul
Copy link
Member

Okay cool, I've started this and am making some ground. PR should be wrapped up next weekish

Very cool! Will this be covering the typegen as well, so that runtime call interfaces are generated from the metadata without any additional input?

So my thought to this is a 2 part solution, first the new runtime api's will be added via ./types/*/*/runtime.ts since the runtimes default metadata is still v14.

The following runtime apis to be added:

ValidateStatement
AssetsApi
ContractsApi
AssetConversionApi
NftsApi
MMRApi
    - leafCount

AFAIU the next step will be changing the typegen to be able to read the apis field inside of the metadata itself. This will be a bigger change though as the structure has changed from v14 to v15.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Issues (Upstream)
Development

No branches or pull requests

5 participants