I 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?
I 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?
That’s syntactic sugar, the two are completely identical.
The two are exactly the same. archive cid
is just a shorthand for exercise cid Archive