diff --git a/.gitignore b/.gitignore index df403927..3ddb2f7c 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,7 @@ ### Move ### move/**/build -Move.lock + # Local sui build /sui diff --git a/README.md b/README.md index 0d7444f4..aaf9ced2 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,8 @@ npm ci npm run build ``` +Sui framework dependency points to the [framework/mainnet](https://github.com/MystenLabs/sui/tree/framework/mainnet) branch. + ## Testing Run tests for all Move packages diff --git a/move/abi/Move.lock b/move/abi/Move.lock new file mode 100644 index 00000000..5ac0c8c7 --- /dev/null +++ b/move/abi/Move.lock @@ -0,0 +1,26 @@ +# @generated by Move, please check-in and do not edit manually. + +[move] +version = 2 +manifest_digest = "AEF34C04066649ACB79C9957311A79F998FF107863008D50C10D0D05D58DD0EC" +deps_digest = "F8BBB0CCB2491CA29A3DF03D6F92277A4F3574266507ACD77214D37ECA3F3082" +dependencies = [ + { name = "Sui" }, +] + +[[move.package]] +name = "MoveStdlib" +source = { git = "https://github.com/MystenLabs/sui.git", rev = "framework/mainnet", subdir = "crates/sui-framework/packages/move-stdlib" } + +[[move.package]] +name = "Sui" +source = { git = "https://github.com/MystenLabs/sui.git", rev = "framework/mainnet", subdir = "crates/sui-framework/packages/sui-framework" } + +dependencies = [ + { name = "MoveStdlib" }, +] + +[move.toolchain-version] +compiler-version = "1.25.1" +edition = "2024.beta" +flavor = "sui" diff --git a/move/abi/Move.toml b/move/abi/Move.toml index 7eb23213..3557611f 100644 --- a/move/abi/Move.toml +++ b/move/abi/Move.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2024.beta" [dependencies] -Sui = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "mainnet-v1.25.3" } +Sui = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "framework/mainnet" } [addresses] abi = "0x103" diff --git a/move/axelar_gateway/Move.lock b/move/axelar_gateway/Move.lock new file mode 100644 index 00000000..a0ec5ba2 --- /dev/null +++ b/move/axelar_gateway/Move.lock @@ -0,0 +1,26 @@ +# @generated by Move, please check-in and do not edit manually. + +[move] +version = 2 +manifest_digest = "C084B42C8063932EC5522F82B481C58B9D581AFB07B15D385020DDC48DFC4BAC" +deps_digest = "F8BBB0CCB2491CA29A3DF03D6F92277A4F3574266507ACD77214D37ECA3F3082" +dependencies = [ + { name = "Sui" }, +] + +[[move.package]] +name = "MoveStdlib" +source = { git = "https://github.com/MystenLabs/sui.git", rev = "framework/mainnet", subdir = "crates/sui-framework/packages/move-stdlib" } + +[[move.package]] +name = "Sui" +source = { git = "https://github.com/MystenLabs/sui.git", rev = "framework/mainnet", subdir = "crates/sui-framework/packages/sui-framework" } + +dependencies = [ + { name = "MoveStdlib" }, +] + +[move.toolchain-version] +compiler-version = "1.25.1" +edition = "2024.beta" +flavor = "sui" diff --git a/move/axelar_gateway/Move.toml b/move/axelar_gateway/Move.toml index 59b0a66f..90988c83 100644 --- a/move/axelar_gateway/Move.toml +++ b/move/axelar_gateway/Move.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2024.beta" [dependencies] -Sui = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "mainnet-v1.25.3" } +Sui = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "framework/mainnet" } [addresses] axelar_gateway = "0x100" diff --git a/move/gas_service/Move.lock b/move/gas_service/Move.lock new file mode 100644 index 00000000..7bb2a47e --- /dev/null +++ b/move/gas_service/Move.lock @@ -0,0 +1,26 @@ +# @generated by Move, please check-in and do not edit manually. + +[move] +version = 2 +manifest_digest = "390C3EC39C1702A826803AD756A68A589DB8897B2A9E80CAF18FB01003483549" +deps_digest = "F8BBB0CCB2491CA29A3DF03D6F92277A4F3574266507ACD77214D37ECA3F3082" +dependencies = [ + { name = "Sui" }, +] + +[[move.package]] +name = "MoveStdlib" +source = { git = "https://github.com/MystenLabs/sui.git", rev = "framework/mainnet", subdir = "crates/sui-framework/packages/move-stdlib" } + +[[move.package]] +name = "Sui" +source = { git = "https://github.com/MystenLabs/sui.git", rev = "framework/mainnet", subdir = "crates/sui-framework/packages/sui-framework" } + +dependencies = [ + { name = "MoveStdlib" }, +] + +[move.toolchain-version] +compiler-version = "1.25.1" +edition = "2024.beta" +flavor = "sui" diff --git a/move/gas_service/Move.toml b/move/gas_service/Move.toml index 49ee70fc..691ab183 100644 --- a/move/gas_service/Move.toml +++ b/move/gas_service/Move.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2024.beta" [dependencies] -Sui = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "mainnet-v1.25.3" } +Sui = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "framework/mainnet" } [addresses] gas_service = "0x105" diff --git a/move/governance/Move.lock b/move/governance/Move.lock new file mode 100644 index 00000000..188767c7 --- /dev/null +++ b/move/governance/Move.lock @@ -0,0 +1,44 @@ +# @generated by Move, please check-in and do not edit manually. + +[move] +version = 2 +manifest_digest = "F9FCBD7D8631EB8E59E67D05F1D85D6019F1DC6D46E3DACF2A7899F912FE935A" +deps_digest = "060AD7E57DFB13104F21BE5F5C3759D03F0553FC3229247D9A7A6B45F50D03A3" +dependencies = [ + { name = "Abi" }, + { name = "AxelarGateway" }, + { name = "Sui" }, +] + +[[move.package]] +name = "Abi" +source = { local = "../abi" } + +dependencies = [ + { name = "Sui" }, +] + +[[move.package]] +name = "AxelarGateway" +source = { local = "../axelar_gateway" } + +dependencies = [ + { name = "Sui" }, +] + +[[move.package]] +name = "MoveStdlib" +source = { git = "https://github.com/MystenLabs/sui.git", rev = "framework/mainnet", subdir = "crates/sui-framework/packages/move-stdlib" } + +[[move.package]] +name = "Sui" +source = { git = "https://github.com/MystenLabs/sui.git", rev = "framework/mainnet", subdir = "crates/sui-framework/packages/sui-framework" } + +dependencies = [ + { name = "MoveStdlib" }, +] + +[move.toolchain-version] +compiler-version = "1.25.1" +edition = "2024.beta" +flavor = "sui" diff --git a/move/governance/Move.toml b/move/governance/Move.toml index f45f85da..64340e9d 100644 --- a/move/governance/Move.toml +++ b/move/governance/Move.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2024.beta" [dependencies] -Sui = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "mainnet-v1.25.3" } +Sui = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "framework/mainnet" } AxelarGateway = { local = "../axelar_gateway" } Abi = { local = "../abi" } diff --git a/move/interchain_token/Move.lock b/move/interchain_token/Move.lock new file mode 100644 index 00000000..a181957f --- /dev/null +++ b/move/interchain_token/Move.lock @@ -0,0 +1,26 @@ +# @generated by Move, please check-in and do not edit manually. + +[move] +version = 2 +manifest_digest = "231947FB68557513F36DD5110BDFF5F023F303BB2E1606145FEF2EADD0A86109" +deps_digest = "F8BBB0CCB2491CA29A3DF03D6F92277A4F3574266507ACD77214D37ECA3F3082" +dependencies = [ + { name = "Sui" }, +] + +[[move.package]] +name = "MoveStdlib" +source = { git = "https://github.com/MystenLabs/sui.git", rev = "framework/mainnet", subdir = "crates/sui-framework/packages/move-stdlib" } + +[[move.package]] +name = "Sui" +source = { git = "https://github.com/MystenLabs/sui.git", rev = "framework/mainnet", subdir = "crates/sui-framework/packages/sui-framework" } + +dependencies = [ + { name = "MoveStdlib" }, +] + +[move.toolchain-version] +compiler-version = "1.25.1" +edition = "2024.beta" +flavor = "sui" diff --git a/move/interchain_token/Move.toml b/move/interchain_token/Move.toml index 56a24005..67a06607 100644 --- a/move/interchain_token/Move.toml +++ b/move/interchain_token/Move.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2024.beta" [dependencies] -Sui = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "mainnet-v1.25.3" } +Sui = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "framework/mainnet" } [addresses] interchain_token = "0x106" diff --git a/move/its/Move.lock b/move/its/Move.lock new file mode 100644 index 00000000..7e330840 --- /dev/null +++ b/move/its/Move.lock @@ -0,0 +1,54 @@ +# @generated by Move, please check-in and do not edit manually. + +[move] +version = 2 +manifest_digest = "DE1699DA0D3666E806C6B552FBB23DC7660E7AB2E38647FD7BDB9B4DA831B48E" +deps_digest = "060AD7E57DFB13104F21BE5F5C3759D03F0553FC3229247D9A7A6B45F50D03A3" +dependencies = [ + { name = "AxelarGateway" }, + { name = "Governance" }, + { name = "Sui" }, +] + +[[move.package]] +name = "Abi" +source = { local = "../abi" } + +dependencies = [ + { name = "Sui" }, +] + +[[move.package]] +name = "AxelarGateway" +source = { local = "../axelar_gateway" } + +dependencies = [ + { name = "Sui" }, +] + +[[move.package]] +name = "Governance" +source = { local = "../governance" } + +dependencies = [ + { name = "Abi" }, + { name = "AxelarGateway" }, + { name = "Sui" }, +] + +[[move.package]] +name = "MoveStdlib" +source = { git = "https://github.com/MystenLabs/sui.git", rev = "framework/mainnet", subdir = "crates/sui-framework/packages/move-stdlib" } + +[[move.package]] +name = "Sui" +source = { git = "https://github.com/MystenLabs/sui.git", rev = "framework/mainnet", subdir = "crates/sui-framework/packages/sui-framework" } + +dependencies = [ + { name = "MoveStdlib" }, +] + +[move.toolchain-version] +compiler-version = "1.25.1" +edition = "2024.beta" +flavor = "sui" diff --git a/move/its/Move.toml b/move/its/Move.toml index cc9d85d2..e3cffccc 100644 --- a/move/its/Move.toml +++ b/move/its/Move.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2024.beta" [dependencies] -Sui = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "mainnet-v1.25.3" } +Sui = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "framework/mainnet" } AxelarGateway = { local = "../axelar_gateway" } Governance = { local = "../governance" } diff --git a/move/squid/Move.lock b/move/squid/Move.lock new file mode 100644 index 00000000..f21b5240 --- /dev/null +++ b/move/squid/Move.lock @@ -0,0 +1,74 @@ +# @generated by Move, please check-in and do not edit manually. + +[move] +version = 2 +manifest_digest = "0A80592DCD5F2B55D2DA81C9EC843B6079E5D97F5A4A683127F7D1DFF585A7C5" +deps_digest = "F9B494B64F0615AED0E98FC12A85B85ECD2BC5185C22D30E7F67786BB52E507C" +dependencies = [ + { name = "AxelarGateway" }, + { name = "DeepBook" }, + { name = "ITS" }, + { name = "Sui" }, +] + +[[move.package]] +name = "Abi" +source = { local = "../abi" } + +dependencies = [ + { name = "Sui" }, +] + +[[move.package]] +name = "AxelarGateway" +source = { local = "../axelar_gateway" } + +dependencies = [ + { name = "Sui" }, +] + +[[move.package]] +name = "DeepBook" +source = { git = "https://github.com/MystenLabs/sui.git", rev = "framework/mainnet", subdir = "crates/sui-framework/packages/deepbook" } + +dependencies = [ + { name = "MoveStdlib" }, + { name = "Sui" }, +] + +[[move.package]] +name = "Governance" +source = { local = "../governance" } + +dependencies = [ + { name = "Abi" }, + { name = "AxelarGateway" }, + { name = "Sui" }, +] + +[[move.package]] +name = "ITS" +source = { local = "../its" } + +dependencies = [ + { name = "AxelarGateway" }, + { name = "Governance" }, + { name = "Sui" }, +] + +[[move.package]] +name = "MoveStdlib" +source = { git = "https://github.com/MystenLabs/sui.git", rev = "framework/mainnet", subdir = "crates/sui-framework/packages/move-stdlib" } + +[[move.package]] +name = "Sui" +source = { git = "https://github.com/MystenLabs/sui.git", rev = "framework/mainnet", subdir = "crates/sui-framework/packages/sui-framework" } + +dependencies = [ + { name = "MoveStdlib" }, +] + +[move.toolchain-version] +compiler-version = "1.25.1" +edition = "2024.beta" +flavor = "sui" diff --git a/move/squid/Move.toml b/move/squid/Move.toml index 5501ade5..3eec6c6d 100644 --- a/move/squid/Move.toml +++ b/move/squid/Move.toml @@ -4,8 +4,8 @@ version = "0.1.0" edition = "2024.beta" [dependencies] -Sui = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "mainnet-v1.25.3" } -DeepBook = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/deepbook", rev = "mainnet-v1.25.3" } +Sui = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "framework/mainnet" } +DeepBook = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/deepbook", rev = "framework/mainnet" } AxelarGateway = { local = "../axelar_gateway" } ITS = { local = "../its" } diff --git a/move/test/Move.lock b/move/test/Move.lock new file mode 100644 index 00000000..76e5cc69 --- /dev/null +++ b/move/test/Move.lock @@ -0,0 +1,35 @@ +# @generated by Move, please check-in and do not edit manually. + +[move] +version = 2 +manifest_digest = "BFEDB1672ACA9FF8D94C31E21DA295A54AC0A01AFD3AA27EA1E96AA4F41223D4" +deps_digest = "3C4103934B1E040BB6B23F1D610B4EF9F2F1166A50A104EADCF77467C004C600" +dependencies = [ + { name = "AxelarGateway" }, + { name = "Sui" }, +] + +[[move.package]] +name = "AxelarGateway" +source = { local = "../axelar_gateway" } + +dependencies = [ + { name = "Sui" }, +] + +[[move.package]] +name = "MoveStdlib" +source = { git = "https://github.com/MystenLabs/sui.git", rev = "framework/mainnet", subdir = "crates/sui-framework/packages/move-stdlib" } + +[[move.package]] +name = "Sui" +source = { git = "https://github.com/MystenLabs/sui.git", rev = "framework/mainnet", subdir = "crates/sui-framework/packages/sui-framework" } + +dependencies = [ + { name = "MoveStdlib" }, +] + +[move.toolchain-version] +compiler-version = "1.25.1" +edition = "2024.beta" +flavor = "sui" diff --git a/move/test/Move.toml b/move/test/Move.toml index 1df5a9d5..50ba9d65 100644 --- a/move/test/Move.toml +++ b/move/test/Move.toml @@ -1,10 +1,10 @@ [package] -name = "test" +name = "Test" version = "0.1.0" edition = "2024.beta" [dependencies] -Sui = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "mainnet-v1.25.3" } +Sui = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "framework/mainnet" } AxelarGateway = { local = "../axelar_gateway" } [addresses]