Skip to content

Commit a888a5d

Browse files
authored
fix: audit (#110)
* fix get spot price function to use decimal with truncation * change token_id assert to check : not :: * rename test function * add test functionsg * fix dex get spot price to be more accurate * update gas meter * update gas used for the error case too * fix unittest
1 parent 432c396 commit a888a5d

File tree

27 files changed

+207
-406
lines changed

27 files changed

+207
-406
lines changed

Cargo.toml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change

api/libcompiler.dylib

-33.6 MB
Binary file not shown.

api/libmovevm.dylib

-6.59 MB
Binary file not shown.

crates/compiler/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change

crates/compiler/src/test_gas_meter.rs

Lines changed: 0 additions & 347 deletions
This file was deleted.

crates/compiler/src/test_package.rs

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change

crates/compiler/src/unit_test_factory.rs

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change

crates/e2e-move-tests/src/tests/move_unit.rs

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change

crates/natives/src/query.rs

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
-1 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)