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

Add platform.getSubnet API #2704

Merged
merged 15 commits into from
Feb 14, 2024
Merged

Add platform.getSubnet API #2704

merged 15 commits into from
Feb 14, 2024

Conversation

felipemadero
Copy link
Contributor

@felipemadero felipemadero commented Feb 5, 2024

Why this should be merged

There is no API related way to get subnet information such as transform subnet tx id, or updated owners

How this works

It adds a new API call and client method, GetSubnet

How this was tested

Tested on CLI branch developed to change subnet owners.

@felipemadero felipemadero self-assigned this Feb 6, 2024
@felipemadero felipemadero changed the title Get subnet Add an API methods to get subnet owner and subnet permissionless status and associated tx id Feb 6, 2024
@felipemadero felipemadero changed the title Add an API methods to get subnet owner and subnet permissionless status and associated tx id Add an API method to get subnet owner and subnet permissionless status and associated tx id Feb 6, 2024
@felipemadero felipemadero changed the title Add an API method to get subnet owner and subnet permissionless status and associated tx id Add an API method to get subnet owner, subnet permissionless status and associated tx id Feb 6, 2024
vms/platformvm/service.go Outdated Show resolved Hide resolved
vms/platformvm/service.go Outdated Show resolved Hide resolved
vms/platformvm/service.go Outdated Show resolved Hide resolved
vms/platformvm/service.go Outdated Show resolved Hide resolved
vms/platformvm/service.go Outdated Show resolved Hide resolved
@danlaine
Copy link
Collaborator

danlaine commented Feb 7, 2024

Can we make a corresponding PR to update the docs with this new method?

@StephenButtolph StephenButtolph added this to the v1.11.0 milestone Feb 7, 2024
@felipemadero
Copy link
Contributor Author

Can we make a corresponding PR to update the docs with this new method?

here it is:

ava-labs/avalanche-docs#1658

@felipemadero
Copy link
Contributor Author

Can we make a corresponding PR to update the docs with this new method?

here it is:

ava-labs/avalanche-docs#1658

@StephenButtolph @danlaine addressed your comments

vms/platformvm/service.go Outdated Show resolved Hide resolved
vms/platformvm/service.go Outdated Show resolved Hide resolved
vms/platformvm/service.go Outdated Show resolved Hide resolved
vms/platformvm/service.go Outdated Show resolved Hide resolved
@StephenButtolph
Copy link
Contributor

just nits then lgtm

Co-authored-by: Stephen Buttolph <stephen@avalabs.org>
Signed-off-by: felipemadero <felipe.madero@gmail.com>
@StephenButtolph StephenButtolph changed the title Add an API method to get subnet owner, subnet permissionless status and associated tx id Add platform.getSubnet API Feb 11, 2024
@StephenButtolph StephenButtolph added this pull request to the merge queue Feb 14, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 14, 2024
@StephenButtolph StephenButtolph added this pull request to the merge queue Feb 14, 2024
Merged via the queue into master with commit 2bfa6e8 Feb 14, 2024
17 checks passed
@StephenButtolph StephenButtolph deleted the get-subnet branch February 14, 2024 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

4 participants