-
Notifications
You must be signed in to change notification settings - Fork 188
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
Sozo new command hash finder #2850
Comments
Hi @glihm ! I can work on it 👍 Could you give some examples of command calls to have a better overview of how this command should work ? |
Hey @remybar, for sure. The idea is the following:
With this input, sozo will use the manifest to gather all the models/events/contracts (resources) and try to compute the hash giving the list of namespaces. If there is a match with the target hash -> return the plain string matching. At some point, the namespaces could also be taken from the manifest/dojo configuration. But maybe it's still interesting to have a way to provide a list of namespaces/resources names, wdyt? |
Ok, thanks for the details 🙏 Yep, we could use namespaces from the manifest/dojo config by default but use a short list of namespaces if provided through |
Let's go with that, and then we should also have a |
Is your feature request related to a problem? Please describe.
Currently when there's an error into the world contract, the world sometimes doesn't have access to the namespace and name of the resource.
Describe the solution you'd like
Having a new sozo command (or
sozo hash
subcommand`) to actually find some namespace/name from a given hash.We could also take an optional list of namespaces to re-compute all the tags based on those namespaces.
The text was updated successfully, but these errors were encountered: