geniusyield / atlas

Application backend for Plutus smart contracts on Cardano
https://atlas-app.io
Apache License 2.0
67 stars 18 forks source link

EraHistory | Can we ensure runtime, that Interpreter is still a newtype to Summary? #20

Closed 4TT1L4 closed 1 year ago

4TT1L4 commented 1 year ago

https://github.com/geniusyield/atlas/blob/0cf1d0977a4c2b1c837f4339f13c20aa7a4133b6/src/GeniusYield/CardanoApi/EraHistory.hs#L22

sourabhxyz commented 1 year ago

Closing as I don't think it's possible to ensure for this at runtime. We just need to be careful with use of unsafeCoerce.