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

feat(EXC-1847): Support for ic0.subnet_self() #3637

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

alexandru-uta
Copy link
Contributor

@alexandru-uta alexandru-uta commented Jan 27, 2025

This PR implements a new system API that enables canisters to learn which subnet they run on. The new functionality is composed of two functions: ic0.subnet_self_size() and ic0.subnet_self_copy(), described in this Spec PR.

@ggreif
Copy link
Contributor

ggreif commented Jan 27, 2025

Hi @alexandru-uta, shouldn't the API be referred to as ic0.subnet_self() in the title?

@alexandru-uta
Copy link
Contributor Author

Hi @alexandru-uta, shouldn't the API be referred to as ic0.subnet_self() in the title?

sure, however it's just a draft for now, so don't look too much into it until it's done.

@alexandru-uta alexandru-uta changed the title Support for ic0_subnet_self() Support for ic0.subnet_self() Jan 28, 2025
@alexandru-uta alexandru-uta changed the title Support for ic0.subnet_self() feat(EXC-1847): Support for ic0.subnet_self() Jan 28, 2025
@github-actions github-actions bot added the feat label Jan 28, 2025
@alexandru-uta alexandru-uta marked this pull request as ready for review January 29, 2025 14:00
@alexandru-uta alexandru-uta requested a review from a team as a code owner January 29, 2025 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants