Open greenhat opened 5 years ago
@greenhat Is it still relevant and why it is a problem? Error message, how to reproduce?
@aslesarenko It should be relevant. The problem is upcast is added only after a serializer roundtrip and an error message was about failing roundtrip.
Although I see that there is an upcast call in the SigmaTyper that's quite old. So maybe this issue needs re-assessment.
In the following code
i
(inget(i)
) did not get upcasted to Int in the typer:from https://github.com/ScorexFoundation/sigmastate-interpreter/blob/1b7e45f6b112b5d998033745086b94feb1c82fd9/src/test/scala/sigmastate/utxo/SpamSpecification.scala#L329