rchain-community / rgov

RChain liquid democracy demo: capability sharing, mailbox, directory, chat, ...
https://rchain-community.github.io/rgov/
10 stars 14 forks source link

deploy-all regenerates basic rchain contracts #255

Open Bill-Kunj opened 3 years ago

Bill-Kunj commented 3 years ago

When doing a deploy-all, two things are deployed: 1) the basic rchain/rchain contracts, and 2) the RGOV contracts. Provided deploy-all has been previously performed, step (1) is unnecessary when deploying changes to only the RGOV contracts. A snapshot could be taken with create-snapshot that consists of only the rchain contracts, which would make a deploy-all of only the RGOV contracts much faster. I'm sure there are other alternatives: perhaps splitting deploy-all into deploy-rchain followed by deploy-rgov would be appropriate.