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
{{ message }}
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.
Problem:
When the contract engine was added, the use of an i64 type for tokens instead of a u64 became pointless. Each program would need to define an associative operation on the type held in its userdata so that it could coalesce from the right in forked banks. And since that operation would probably require deserialization, it's looking especially unlikely that we'd go that route.
Proposed solution:
Change i64 to u64 and delete checks for negative tokens ...and stop worrying about missing checks for negative tokens.
The text was updated successfully, but these errors were encountered:
Problem:
When the contract engine was added, the use of an
i64
type for tokens instead of au64
became pointless. Each program would need to define an associative operation on the type held in its userdata so that it could coalesce from the right in forked banks. And since that operation would probably require deserialization, it's looking especially unlikely that we'd go that route.Proposed solution:
Change i64 to u64 and delete checks for negative tokens ...and stop worrying about missing checks for negative tokens.
The text was updated successfully, but these errors were encountered: