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

Introduce new runtime api GetParachainId #75

Open
bkchr opened this issue Nov 18, 2021 · 4 comments
Open

Introduce new runtime api GetParachainId #75

bkchr opened this issue Nov 18, 2021 · 4 comments
Labels
I5-enhancement An additional feature request.

Comments

@bkchr
Copy link
Member

bkchr commented Nov 18, 2021

This runtime api should be used to fetch the para id of a runtime and then can be used by the collator to use it. Then we can remove the para id from the chain spec.

(The runtime api should get a better name, the name in the title is only WIP :P)

@the-right-joyce the-right-joyce transferred this issue from paritytech/cumulus Aug 24, 2023
@the-right-joyce the-right-joyce added I5-enhancement An additional feature request. and removed J0-enhancement labels Aug 25, 2023
lexnv added a commit that referenced this issue Apr 3, 2024
chainHead: Standardize `camelCase` for reported events
@skunert skunert moved this to Milestone 2 in Polkadot Omni Node Jan 20, 2025
@kianenigma
Copy link
Contributor

Should the same also be done for decimals and tokenName?

@skunert skunert moved this from Milestone 2 to Milestone 1 in Polkadot Omni Node Jan 20, 2025
@bkchr
Copy link
Member Author

bkchr commented Jan 20, 2025

Should the same also be done for decimals and tokenName?

Could just be put into the metadata?

@Stephenlawrence00
Copy link

I think this can be achieved with view functions?

@xlc
Copy link
Contributor

xlc commented Feb 11, 2025

view function is pallet specific thing. runtime API is a runtime specific thing. in this case, runtime API is more sutiable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I5-enhancement An additional feature request.
Projects
Status: Milestone 1
Status: backlog
Development

No branches or pull requests

5 participants