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

Remove redundancy in AccountType enums #2571

Open
franciszekjob opened this issue Oct 8, 2024 · 3 comments · May be fixed by #2946
Open

Remove redundancy in AccountType enums #2571

franciszekjob opened this issue Oct 8, 2024 · 3 comments · May be fixed by #2946

Comments

@franciszekjob
Copy link
Collaborator

Which components does the task require to be changed? (think hard pls)

sncast

Description

There are currently two similar AccountType enums. We should consider refactoring to keep only one to avoid redundancy.

Refs:

pub enum AccountType {

@RichoKD
Copy link
Contributor

RichoKD commented Feb 3, 2025

Hi @cptartur, can I try this?
I plan to remove the AccountType in /crates/sncast/src/starknet_commands/account/mod.rs before tracking all references to it and replacing them after which I'll run test to confirm nothing is broken.

@cptartur
Copy link
Member

@RichoKD assigned

@RichoKD
Copy link
Contributor

RichoKD commented Feb 11, 2025

I'm on it

@kkawula kkawula moved this from Triage to In Progress in Starknet foundry Feb 13, 2025
@RichoKD RichoKD linked a pull request Feb 16, 2025 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment