You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Floating point is common used in practice, in a json parser for example. Currently, the pallets-contrat forbid floating point types in the contract codes in order to be deterministic.
As discussed in the Element group, we may add a parameter like bare_call(ALLOW_INDETERMINISM ) to allow non-deterministic operations like floats in immutable context.
Floating point is common used in practice, in a json parser for example. Currently, the pallets-contrat forbid floating point types in the contract codes in order to be deterministic.
As discussed in the Element group, we may add a parameter like
bare_call(ALLOW_INDETERMINISM )to allow non-deterministic operations like floats in immutable context.