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

How to list artifact among available artifacts? #57

Open
v0ld-dev opened this issue Feb 16, 2021 · 2 comments
Open

How to list artifact among available artifacts? #57

v0ld-dev opened this issue Feb 16, 2021 · 2 comments

Comments

@v0ld-dev
Copy link

Hi there!
I am try deploy new service. But I don't understand how to add artifact, I mean that compiled binary should be "injected" in runtime.
How to archive that ?
Tnx!
PS I got error after simple declaration artifact in yaml (from example)
Reason: Execution error with code runtime:1 occurred in Rust runtime: Runtime failed to deploy artifact with id 0:myservice:0.0.2, it is not listed among available artifacts

@aleksuss
Copy link
Contributor

Hello. An artifact should be precompiled in the binary file and then you could "activate it" in runtime. There is a draft version of the manual exists.

@v0ld-dev
Copy link
Author

Hello. An artifact should be precompiled in the binary file and then you could "activate it" in runtime. There is a draft version of the manual exists.

If I want deploy new implementation of service, for example the cryptocurrency-migration 0.3.0 but blockchain have been already running.
I must:

  1. create binary
  2. start new node (or reboot recently running) with new binary (cryptocurrency-migration 0.3.0)
  3. execute exonum-launcher with deploy mode.

That's right ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants