File tree Expand file tree Collapse file tree 4 files changed +19
-13
lines changed Expand file tree Collapse file tree 4 files changed +19
-13
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ module integer_mate::math_u256 {
1616 }
1717
1818 public fun checked_shlw (n: u256 ): (u256 , bool ) {
19- let mask = 0xffffffffffffffff << 192 ;
19+ let mask = 1 << 192 ;
2020 if (n > mask) {
2121 (0 , true )
2222 } else {
Original file line number Diff line number Diff line change 11# @generated by Move, please check-in and do not edit manually.
22
33[move]
4- version = 0
5-
4+ version = 3
5+ manifest_digest = "5D688585FAC7C7C06ED7EDDEC83EA50A8856F293282E30005235EC9283B46CDB"
6+ deps_digest = "F8BBB0CCB2491CA29A3DF03D6F92277A4F3574266507ACD77214D37ECA3F3082"
67dependencies = [
7- { name = "Sui" },
8+ { id = "Sui", name = "Sui" },
89]
910
1011[[move.package]]
11- name = "MoveStdlib"
12- source = { git = "https://github.com/MystenLabs/sui.git", rev = "mainnet-v1.6.3 ", subdir = "crates/sui-framework/packages/move-stdlib" }
12+ id = "MoveStdlib"
13+ source = { git = "https://github.com/MystenLabs/sui.git", rev = "mainnet-v1.48.2 ", subdir = "crates/sui-framework/packages/move-stdlib" }
1314
1415[[move.package]]
15- name = "Sui"
16- source = { git = "https://github.com/MystenLabs/sui.git", rev = "mainnet-v1.6.3 ", subdir = "crates/sui-framework/packages/sui-framework" }
16+ id = "Sui"
17+ source = { git = "https://github.com/MystenLabs/sui.git", rev = "mainnet-v1.48.2 ", subdir = "crates/sui-framework/packages/sui-framework" }
1718
1819dependencies = [
19- { name = "MoveStdlib" },
20+ { id = "MoveStdlib", name = "MoveStdlib" },
2021]
22+
23+ [move.toolchain-version]
24+ compiler-version = "1.48.2"
25+ edition = "2024"
26+ flavor = "sui"
Original file line number Diff line number Diff line change 22# -------------------------------
33[package ]
44name = " IntegerMate"
5- version = " 1.1.0 "
6- published-at = " 0x3de9f4bb29f04331986700afb5ae7f760b3f3b76c5bae9a844bc8f55794baa58 "
5+ version = " 1.1.1 "
6+ published-at = " 0xdd45037f3f99cb2e43b94599777c50db5f8c44b6657ed1d2f9b227115d29edef "
77
88[dependencies ]
9- Sui = { git = " https://github.com/MystenLabs/sui.git" , subdir = " crates/sui-framework/packages/sui-framework" , rev = " mainnet-v1.6.3 " }
9+ Sui = { git = " https://github.com/MystenLabs/sui.git" , subdir = " crates/sui-framework/packages/sui-framework" , rev = " mainnet-v1.48.2 " }
1010
1111[addresses ]
1212integer_mate = " 0x714a63a0dba6da4f017b42d5d0fb78867f18bcde904868e51d951a5a6f5b7f57"
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ module integer_mate::math_u256 {
1616 }
1717
1818 public fun checked_shlw (n: u256 ): (u256 , bool ) {
19- let mask = 0xffffffffffffffff << 192 ;
19+ let mask = 1 << 192 ;
2020 if (n > mask) {
2121 (0 , true )
2222 } else {
You can’t perform that action at this time.
0 commit comments