-
Notifications
You must be signed in to change notification settings - Fork 121
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
Rename metadata.json
to {contract_name}.json
#950
Comments
Bundled apps running on modern platforms often come with a manifest file, |
I'm sympathetic to this requirement, we don't want to introduce breaking changes unnecessarily.
In some ways we have the best of both worlds at the moment, because the |
I agree with @kvinwang analogy with |
I can't help but thinking of: Should we name the other artefacts to static names, too? I am just wondering why it seems to be okay for them but not for the json file. |
No reason other than the legacy issue of My reasoning was purely that it is a breaking change, and we should at least think about it before doing it, as we are doing here. Having thought about it, this is a major release |
Exactly. This is the most trivial breaking change you can imagine. If we can't do this in a major release we are not able to change anything. Sorry @kvinwang. I know when stuff breaks this is annoying. But I think this will be the least of your problems when migrating to the new ink! version :) |
I don't think it makes sense to name the
contract
andwasm
file after the contract but not the metadata file. It is just annoying to not be able to see from the file name which contract it belongs to.The text was updated successfully, but these errors were encountered: