Is there a difference between `archive someContract` and `exercise someContract Archive`?
App Development3 posts454 views9 likesLast activity Dec 2020
SH
ShaulOP
Dec 2020I can archive a contract either by calling archive someContract or by exercise someContract Archive
Is this syntactic sugar or is there a material difference between the two?
If there is a difference, when should I use each?
CO
cocreature
Dec 2020That’s syntactic sugar, the two are completely identical.
BE
bernhard
Dec 2020The two are exactly the same. archive cid is just a shorthand for exercise cid Archive