gnolang / gno

Gno: An interpreted, stack-based Go virtual machine to build succinct and composable apps + Gno.land: a blockchain for timeless code and fair open-source
https://gno.land/
Other
842 stars 343 forks source link

Is there a way to update a realm/package and keep the same `pkgpath`? #772

Open schollz opened 1 year ago

schollz commented 1 year ago

In production, I'm pretty sure that the answer is no - and that makes sense as paths should be deterministic.

However, in testing on a local machine, what is the easiest way to deploy an updated realm/package? Just nuke the local DB and restart gnoland?

Feel free to add the label "stupid questions" to this issue :)

moul commented 1 year ago

I recommend reading this article for an overview of versioning: https://github.com/gnolang/gno/issues/694, and this one for tips on local development: https://github.com/gnolang/gno/issues/478.

Let's then continue the discussion.