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

Store version in daemon_state #79

Open
adairrr opened this issue Apr 14, 2023 · 2 comments
Open

Store version in daemon_state #79

adairrr opened this issue Apr 14, 2023 · 2 comments

Comments

@adairrr
Copy link
Contributor

adairrr commented Apr 14, 2023

It would be a better experience for developers if the version of the deployment was stored along the contract name.

Right now, new versions of modules overwrite the existing entry for code_ids.

For example:

{
  "juno": {
    "uni-6": {
      "code_ids": {
        "abstract:version-control:0.14.0": 1581
      },
      "default": {
        "abstract:version-control:0.14.0": "juno1hl4h9qf6g4ysh4e7fkx8lcvsymtfc8ntxwhuvnxja7ugz357sukq74pdmn"
      }
    }
  },
@CyberHoward
Copy link
Contributor

A developer can use the customizable deploy-id for this usecase.

@CyberHoward
Copy link
Contributor

We can add a method upload_with_version that adds an additional entry to the code-id store with the provided version.

@CyberHoward CyberHoward reopened this Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants