Agoric / documentation

User documentation
https://agoric.com/documentation/
Apache License 2.0
14 stars 38 forks source link

describe upgrade with `start` vs. `prepare` #1126

Open Chris-Hibbert opened 2 weeks ago

Chris-Hibbert commented 2 weeks ago

Contracts originally were required to return a start function. At some point, we changed the name to prepare to signal upgradeability. #8045 changed it back to start, but included support for prepare for backwards compatibility. The use of meta to contain details of the upgradeability didn't make it into the docs.

Change the documentation on contract upgrade to specify start, and to describe the use of meta.