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

Use Juno utils.Map #317

Closed
rianhughes opened this issue Sep 11, 2023 · 3 comments
Closed

Use Juno utils.Map #317

rianhughes opened this issue Sep 11, 2023 · 3 comments
Labels
good first issue Good for newcomers

Comments

@rianhughes
Copy link
Contributor

Look into using juno/pkg/slices.go utils.Map in particular for things like HexArrToFelt(...) etc

@stranger80 stranger80 moved this to 📋 Backlog in [Nubia] Starknet.go Sep 12, 2023
@rianhughes rianhughes added the good first issue Good for newcomers label Sep 14, 2023
@Sah314
Copy link

Sah314 commented Oct 5, 2023

Hello! can you please elaborate the issue a little bit. Thanks.

@rianhughes
Copy link
Contributor Author

Sure, in starknet.go's util package we have helper functions like HexArrToFelt which apply a function over each element in an array. However, we could just use something like Junos Map function https://github.com/NethermindEth/juno/blob/main/utils/slices.go#L14.

@Bitcoinnoobie
Copy link
Contributor

I would like to work on this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Status: ✅ Done
Development

No branches or pull requests

4 participants