You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the index registrar is part of the ark-cli crate and uses a specific resource ID type. This is suboptimal.
We need to create a registrar that is generic over the resource ID type (which could be any of the ones defined in the dev-hash crate). This generic registrar should be moved to a separate crate and be available for use by any application, with ark-cli likely being the first to adopt it.
Challenges
The current implementation of the registrar uses the lazy_static! macro, which does not support generics. We'll need to refactor the code to address this.
Tasks
Refactor the registrar to be generic over the resource ID type.
Move the generic registrar to a new, separate crate.
Update ark-cli to use the new generic registrar.
The text was updated successfully, but these errors were encountered:
Description
Currently, the index registrar is part of the
ark-cli
crate and uses a specific resource ID type. This is suboptimal.We need to create a registrar that is generic over the resource ID type (which could be any of the ones defined in the
dev-hash
crate). This generic registrar should be moved to a separate crate and be available for use by any application, withark-cli
likely being the first to adopt it.Challenges
The current implementation of the registrar uses the
lazy_static!
macro, which does not support generics. We'll need to refactor the code to address this.Tasks
ark-cli
to use the new generic registrar.The text was updated successfully, but these errors were encountered: