calculateCirculating() uses the isPositive() function to assert that the new computed total supply is non-negative. However, isPositive() has been deprecated in favor of isPositiveV2(), which does not suffer from multiple 0-representations.
o1js/mina-fungible-token/FungibleToken.ts:
TokenContract.transfer() uses the Int64.neg() function, which is deprecated in favor of negV2().
mina-fungible-token/FungibleToken.ts
:calculateCirculating()
uses theisPositive()
function to assert that the new computed total supply is non-negative. However,isPositive()
has been deprecated in favor ofisPositiveV2()
, which does not suffer from multiple 0-representations.o1js/mina-fungible-token/FungibleToken.ts
:TokenContract.transfer()
uses theInt64.neg()
function, which is deprecated in favor ofnegV2()
.