BlockstreamResearch / simplicity

Simplicity is a blockchain programming language designed as an alternative to Bitcoin script.
MIT License
305 stars 45 forks source link

TR: Confidential(1) is malformed #238

Open uncomputable opened 4 months ago

uncomputable commented 4 months ago

The definition of Confidential(X) is Point × X, so Confidential(1) should be Point × 1. In reality, our code base treats Confidential(1) as just Point without the unit 1, which is more practical because we can always throw away units, but this goes against the definition of Confidential(X).