move
move copied to clipboard
[Feature Request] Followup tasks on the generic gas meter
https://github.com/move-language/move/pull/281 implements a generic gas meter and there are some tasks we identified but chose to do later:
- Safe Gas Algebra
a. Right now gas operations are unchecked, meaning that they could suffer from arithmetic errors like overflow or div by 0.
b. We have a
GasAlgebratrait, but sadly it also uses unchecked arithmetic -
GasStatusa. We'll need to decide what to do with this: i. Move it to a different location? ii. Simplify/rewrite it? iii. Remove it? - Fix
move-cli