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

Storage List & Storage Map - Get By Index #30

Open
TeknoPT opened this issue Apr 18, 2023 · 2 comments
Open

Storage List & Storage Map - Get By Index #30

TeknoPT opened this issue Apr 18, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@TeknoPT
Copy link
Member

TeknoPT commented Apr 18, 2023

The ability to get an item by index in both a storage list and storage map.

@TeknoPT TeknoPT added the enhancement New feature or request label Apr 18, 2023
@Relfos
Copy link
Contributor

Relfos commented Apr 18, 2023

Lists already support this.

Maps would benefit from getAllKeys and getAllValues, but that requires new Extcalls in the chain first.

@TeknoPT
Copy link
Member Author

TeknoPT commented Apr 19, 2023

I think adding those 2 methods to the ExtCalls would be ideal, to allow the users to manipulate their storage_maps easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants