tezos-checker / checker

An in-development "robocoin" system for the Tezos blockchain
24 stars 16 forks source link

Switch the internal representation of Ligo.tez to Int64.t #190

Closed gkaracha closed 3 years ago

gkaracha commented 3 years ago

As noted by @dorranh, the Michelson specification clearly states that:

Mutez (micro-Tez) are internally represented by a 64 bit signed integers.

but our current mock implementation of tez in ligo.ml uses Z.t instead:

type tez = Z.t

We should probably change the definition of tez to the following:

type tez = Int64.t