Is there a difference between `archive someContract` and `exercise someContract Archive`?

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?

2 Likes

That’s syntactic sugar, the two are completely identical.

4 Likes

The two are exactly the same. archive cid is just a shorthand for exercise cid Archive

3 Likes