Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Official asset library is hard to update in production #1147

Open
jbearer opened this issue Jun 16, 2022 · 0 comments
Open

Official asset library is hard to update in production #1147

jbearer opened this issue Jun 16, 2022 · 0 comments
Assignees

Comments

@jbearer
Copy link
Member

jbearer commented Jun 16, 2022

Jeb Bearer3:45 PM
We designed the official asset library to be easy to update after launch: simply push out an update and have users replace their existing library file with the new one, and the wallet will load the new library in on startup. However, since the official asset library is part of the wallet docker container (and saved in the espresso Docker volume) I'm not actually sure how to replace the file without deleting the volume and pulling the new container, which also wipes out all of the user's keystore files. Not that we can really fix this now, and I don't think it's that big a deal, but out of curiosity @mat Richmond would there be a way to just replace a single file in a volume with a file from the host file system?

Mat Richmond3:54 PM
Oof. Yeah you have to do that programmatically if you are gonna do it.
No easy/simple way.

Jeb Bearer3:56 PM
Ok. We can add an endpoint/CLI command to update the file so the wallet executable can replace it from within the container. Something to improve if we do another release of the wallet

@jbearer jbearer self-assigned this Jun 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant