-
Notifications
You must be signed in to change notification settings - Fork 45
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 the same (or similar, or very different) version numbers for smart contracts and Python packages. #584
Comments
This comment has been minimized.
This comment has been minimized.
I'll come up with the advantage of having two different version numbers. |
advantage of keeping different contract numbers With the current set up, it's possible to deploy a new version of one smart contract and still keep using the old deployment of another smart contract. If we synchronize the package version and the contract version, every new PyPI release must contain new deployements of every contract. That's unreasonable for the user. |
This comment has been minimized.
This comment has been minimized.
@karlb has an idea:
|
I think the argument makes sense as the package version could be different than the solidity code version... i see two approaches: Then:
I guess number 2 would be the faster approach as you can direct people towards the documentation if asked about this topic again :) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This is the reason for having different versions, also please make all deployed versions easily available. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@karlb came to me and explained a scheme:
I think this works. There was a counter argument with which @hackaugusto agreed. The argument is not valid anymore, because different |
#1303 implements this change. |
Currently the Solidity files contain one version number (say, 0.7.0) and the Python package has another version number (say, v0.11.0). This confuses some people. Maybe we should use the same version or closer version numbers. This issue keeps track of
a. combine these two version numbers into one
b. bump smart contract versions to the package version
c. don't change the current scheme.
d. make the contract version numbers look very different from tha Python package versions
The text was updated successfully, but these errors were encountered: