From 2df52d38b1770ae00713575b8b342d34f32bcf8f Mon Sep 17 00:00:00 2001 From: maciektr Date: Thu, 9 Nov 2023 15:55:02 +0100 Subject: [PATCH] Prepare release `2.4.0-rc1` (#891) --- Cargo.lock | 150 +++++++++++------- Cargo.toml | 28 ++-- examples/starknet_hello_world/Scarb.toml | 2 +- .../starknet_multiple_contracts/Scarb.toml | 2 +- examples/workspaces/Scarb.toml | 2 +- 5 files changed, 106 insertions(+), 78 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cbc0d13c7..ef40d170d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -562,8 +562,9 @@ dependencies = [ [[package]] name = "cairo-lang-casm" -version = "2.3.1" -source = "git+https://github.com/starkware-libs/cairo.git?rev=dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f#dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" +version = "2.4.0-rc1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb879075cfd98b8a51101570744f93090e6ea5dc876068b28a31b5e3f937bcdd" dependencies = [ "cairo-lang-utils", "indoc", @@ -578,8 +579,9 @@ dependencies = [ [[package]] name = "cairo-lang-compiler" -version = "2.3.1" -source = "git+https://github.com/starkware-libs/cairo.git?rev=dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f#dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" +version = "2.4.0-rc1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fcabdf2bdbdecc6443dd39804a499c3470b697829ba98f9f421f18aba49fbb6f" dependencies = [ "anyhow", "cairo-lang-defs", @@ -600,16 +602,18 @@ dependencies = [ [[package]] name = "cairo-lang-debug" -version = "2.3.1" -source = "git+https://github.com/starkware-libs/cairo.git?rev=dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f#dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" +version = "2.4.0-rc1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66a1f454a62f4f6cde703f516b255ce71dd0686cb817189f09eaae3782f659e8" dependencies = [ "cairo-lang-utils", ] [[package]] name = "cairo-lang-defs" -version = "2.3.1" -source = "git+https://github.com/starkware-libs/cairo.git?rev=dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f#dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" +version = "2.4.0-rc1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0068f7af8049c8ce0f81a0b8eabb97ec5a0a1f82a993deea320d3f754cd4334c" dependencies = [ "cairo-lang-debug", "cairo-lang-diagnostics", @@ -624,8 +628,9 @@ dependencies = [ [[package]] name = "cairo-lang-diagnostics" -version = "2.3.1" -source = "git+https://github.com/starkware-libs/cairo.git?rev=dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f#dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" +version = "2.4.0-rc1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c23d43a0ffb76d8ab465d790e2e3a76fe003ee2f4ea61385c60daa304a33f169" dependencies = [ "cairo-lang-debug", "cairo-lang-filesystem", @@ -635,8 +640,9 @@ dependencies = [ [[package]] name = "cairo-lang-eq-solver" -version = "2.3.1" -source = "git+https://github.com/starkware-libs/cairo.git?rev=dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f#dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" +version = "2.4.0-rc1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dace3697ce649ed7d3b268044fc9c69149374d8a4d274889666e43dc37dd961c" dependencies = [ "cairo-lang-utils", "good_lp", @@ -644,8 +650,9 @@ dependencies = [ [[package]] name = "cairo-lang-filesystem" -version = "2.3.1" -source = "git+https://github.com/starkware-libs/cairo.git?rev=dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f#dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" +version = "2.4.0-rc1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "efd5344126872690cab0ed3e5bd62eddd8910b8d3065b5e8f19b356990892cf5" dependencies = [ "cairo-lang-debug", "cairo-lang-utils", @@ -657,8 +664,9 @@ dependencies = [ [[package]] name = "cairo-lang-formatter" -version = "2.3.1" -source = "git+https://github.com/starkware-libs/cairo.git?rev=dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f#dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" +version = "2.4.0-rc1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c2bfe605a8f7116afe008b93a6cec41d819fb6bf4c64c5546b2728fcea9bc83" dependencies = [ "anyhow", "cairo-lang-diagnostics", @@ -676,8 +684,9 @@ dependencies = [ [[package]] name = "cairo-lang-language-server" -version = "2.3.1" -source = "git+https://github.com/starkware-libs/cairo.git?rev=dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f#dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" +version = "2.4.0-rc1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95965f89617d5db91b93f3cb5eccda030c4a6439668e0bf5415aaa05e770b306" dependencies = [ "anyhow", "cairo-lang-compiler", @@ -705,8 +714,9 @@ dependencies = [ [[package]] name = "cairo-lang-lowering" -version = "2.3.1" -source = "git+https://github.com/starkware-libs/cairo.git?rev=dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f#dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" +version = "2.4.0-rc1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4c3c8f8c700fcb58cf6f51c7a3912920007a58f5ae120e18df24f1a5b84ccb9" dependencies = [ "cairo-lang-debug", "cairo-lang-defs", @@ -730,8 +740,9 @@ dependencies = [ [[package]] name = "cairo-lang-parser" -version = "2.3.1" -source = "git+https://github.com/starkware-libs/cairo.git?rev=dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f#dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" +version = "2.4.0-rc1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55c5ee4b78e7677b93cfbe2875c78643932e582b2f22bdb0034a4d20d30a2756" dependencies = [ "cairo-lang-diagnostics", "cairo-lang-filesystem", @@ -749,8 +760,9 @@ dependencies = [ [[package]] name = "cairo-lang-plugins" -version = "2.3.1" -source = "git+https://github.com/starkware-libs/cairo.git?rev=dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f#dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" +version = "2.4.0-rc1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ceebadb12b7681be54c4f9b81f0603c64026a77da5e161253d6544491afc5d05" dependencies = [ "cairo-lang-defs", "cairo-lang-diagnostics", @@ -767,8 +779,9 @@ dependencies = [ [[package]] name = "cairo-lang-proc-macros" -version = "2.3.1" -source = "git+https://github.com/starkware-libs/cairo.git?rev=dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f#dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" +version = "2.4.0-rc1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63ecd62b6a797810f939fd68211763562b7c3282ed85faeaef91c547cfeb133f" dependencies = [ "cairo-lang-debug", "quote", @@ -777,8 +790,9 @@ dependencies = [ [[package]] name = "cairo-lang-project" -version = "2.3.1" -source = "git+https://github.com/starkware-libs/cairo.git?rev=dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f#dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" +version = "2.4.0-rc1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42eaf00c6e10e9acfa11d5f4239d40173ab5e840009c31d3ce5e70574174ee09" dependencies = [ "cairo-lang-filesystem", "cairo-lang-utils", @@ -790,8 +804,9 @@ dependencies = [ [[package]] name = "cairo-lang-runner" -version = "2.3.1" -source = "git+https://github.com/starkware-libs/cairo.git?rev=dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f#dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" +version = "2.4.0-rc1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5208400027d4e2d111d0db40a62f70e2ad6d56c5f456840a66e0f6e2d5569e4d" dependencies = [ "ark-ff", "ark-secp256k1", @@ -816,8 +831,9 @@ dependencies = [ [[package]] name = "cairo-lang-semantic" -version = "2.3.1" -source = "git+https://github.com/starkware-libs/cairo.git?rev=dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f#dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" +version = "2.4.0-rc1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a82d7f4e1827bb146b957ebd282c5d368685513878bb504bdc1967c22a98ace7" dependencies = [ "cairo-lang-debug", "cairo-lang-defs", @@ -840,8 +856,9 @@ dependencies = [ [[package]] name = "cairo-lang-sierra" -version = "2.3.1" -source = "git+https://github.com/starkware-libs/cairo.git?rev=dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f#dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" +version = "2.4.0-rc1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fcecd731edac0f0a63b44d6314c116e6227536fc0f63d57b56255b25101d42fe" dependencies = [ "anyhow", "cairo-lang-utils", @@ -864,8 +881,9 @@ dependencies = [ [[package]] name = "cairo-lang-sierra-ap-change" -version = "2.3.1" -source = "git+https://github.com/starkware-libs/cairo.git?rev=dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f#dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" +version = "2.4.0-rc1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69b4b57d95c6c9d9cb4bf6cb349db03294205c53076c65fe63be4dea0530f101" dependencies = [ "cairo-lang-eq-solver", "cairo-lang-sierra", @@ -877,8 +895,9 @@ dependencies = [ [[package]] name = "cairo-lang-sierra-gas" -version = "2.3.1" -source = "git+https://github.com/starkware-libs/cairo.git?rev=dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f#dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" +version = "2.4.0-rc1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df932795c412bf519bb0507dcadd8f69faf1c6ed683c06df2ba74fe956875bc6" dependencies = [ "cairo-lang-eq-solver", "cairo-lang-sierra", @@ -890,8 +909,9 @@ dependencies = [ [[package]] name = "cairo-lang-sierra-generator" -version = "2.3.1" -source = "git+https://github.com/starkware-libs/cairo.git?rev=dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f#dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" +version = "2.4.0-rc1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5031f5eeec2ebe701d25e05f057a8deda398423533ec9602c53ab5c65a6bc131" dependencies = [ "cairo-lang-debug", "cairo-lang-defs", @@ -913,8 +933,9 @@ dependencies = [ [[package]] name = "cairo-lang-sierra-to-casm" -version = "2.3.1" -source = "git+https://github.com/starkware-libs/cairo.git?rev=dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f#dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" +version = "2.4.0-rc1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99316a7d3b6b39a8b1227081e1acb0a1e5899e250eb76cc526414d0f6b3d755b" dependencies = [ "assert_matches", "cairo-felt", @@ -933,8 +954,9 @@ dependencies = [ [[package]] name = "cairo-lang-sierra-type-size" -version = "2.3.1" -source = "git+https://github.com/starkware-libs/cairo.git?rev=dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f#dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" +version = "2.4.0-rc1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4447102866a7cb86a2f87b9e14f8a3ba654db4d31da3b7475db0e95839785dde" dependencies = [ "cairo-lang-sierra", "cairo-lang-utils", @@ -942,8 +964,9 @@ dependencies = [ [[package]] name = "cairo-lang-starknet" -version = "2.3.1" -source = "git+https://github.com/starkware-libs/cairo.git?rev=dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f#dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" +version = "2.4.0-rc1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "efaaa486234922f5756c6a27c88ef7b70a58fe3c4c6c862f2ec6f7b9bf1d51d9" dependencies = [ "anyhow", "cairo-felt", @@ -977,8 +1000,9 @@ dependencies = [ [[package]] name = "cairo-lang-syntax" -version = "2.3.1" -source = "git+https://github.com/starkware-libs/cairo.git?rev=dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f#dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" +version = "2.4.0-rc1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a982de5b6c843dab98c55db1c384b7ca98ba43bbdd9cc282aa7e28969b4e050" dependencies = [ "cairo-lang-debug", "cairo-lang-filesystem", @@ -992,8 +1016,9 @@ dependencies = [ [[package]] name = "cairo-lang-syntax-codegen" -version = "2.3.1" -source = "git+https://github.com/starkware-libs/cairo.git?rev=dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f#dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" +version = "2.4.0-rc1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8de49627ce4c7c52e336ca79d21b8629f652154d5c1c7083bb54db1a959b8cd3" dependencies = [ "genco", "xshell", @@ -1001,8 +1026,9 @@ dependencies = [ [[package]] name = "cairo-lang-test-plugin" -version = "2.3.1" -source = "git+https://github.com/starkware-libs/cairo.git?rev=dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f#dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" +version = "2.4.0-rc1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08606d1c67f4e5165e24e844885072cda14ce509f1b2f117e030c38c5ea67711" dependencies = [ "anyhow", "cairo-felt", @@ -1027,8 +1053,9 @@ dependencies = [ [[package]] name = "cairo-lang-test-runner" -version = "2.3.1" -source = "git+https://github.com/starkware-libs/cairo.git?rev=dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f#dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" +version = "2.4.0-rc1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2b0906a244c596eded77ccba357d9c5049235a7ec1085274fb993f30d537d3d" dependencies = [ "anyhow", "cairo-felt", @@ -1048,8 +1075,9 @@ dependencies = [ [[package]] name = "cairo-lang-utils" -version = "2.3.1" -source = "git+https://github.com/starkware-libs/cairo.git?rev=dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f#dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" +version = "2.4.0-rc1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e76b1a96c34f8dbef196046ebf1eeb9143f9efa5ca90d373b9b38b63af7ecb65" dependencies = [ "env_logger", "indexmap 2.1.0", @@ -4374,7 +4402,7 @@ dependencies = [ [[package]] name = "scarb" -version = "2.3.1" +version = "2.4.0-rc1" dependencies = [ "anyhow", "assert_fs", @@ -4453,7 +4481,7 @@ dependencies = [ [[package]] name = "scarb-build-metadata" -version = "2.3.1" +version = "2.4.0-rc1" dependencies = [ "cargo_metadata", "semver", @@ -4461,7 +4489,7 @@ dependencies = [ [[package]] name = "scarb-cairo-language-server" -version = "2.3.1" +version = "2.4.0-rc1" dependencies = [ "cairo-lang-language-server", "cairo-lang-utils", @@ -4471,7 +4499,7 @@ dependencies = [ [[package]] name = "scarb-cairo-run" -version = "2.3.1" +version = "2.4.0-rc1" dependencies = [ "anyhow", "assert_fs", @@ -4490,7 +4518,7 @@ dependencies = [ [[package]] name = "scarb-cairo-test" -version = "2.3.1" +version = "2.4.0-rc1" dependencies = [ "anyhow", "cairo-lang-compiler", diff --git a/Cargo.toml b/Cargo.toml index 939c25b20..601512ef6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ members = [ "resolver" = "2" [workspace.package] -version = "2.3.1" +version = "2.4.0-rc1" edition = "2021" authors = ["Software Mansion "] @@ -29,19 +29,19 @@ anyhow = "1" assert_fs = "1" async-trait = "0.1" axum = { version = "0.6", features = ["http2"] } -cairo-lang-compiler = { git = "https://github.com/starkware-libs/cairo.git", rev = "dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" } -cairo-lang-defs = { git = "https://github.com/starkware-libs/cairo.git", rev = "dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" } -cairo-lang-filesystem = { git = "https://github.com/starkware-libs/cairo.git", rev = "dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" } -cairo-lang-formatter = { git = "https://github.com/starkware-libs/cairo.git", rev = "dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" } -cairo-lang-language-server = { git = "https://github.com/starkware-libs/cairo.git", rev = "dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" } -cairo-lang-runner = { git = "https://github.com/starkware-libs/cairo.git", rev = "dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" } -cairo-lang-semantic = { git = "https://github.com/starkware-libs/cairo.git", rev = "dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" } -cairo-lang-sierra = { git = "https://github.com/starkware-libs/cairo.git", rev = "dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" } -cairo-lang-sierra-to-casm = { git = "https://github.com/starkware-libs/cairo.git", rev = "dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" } -cairo-lang-starknet = { git = "https://github.com/starkware-libs/cairo.git", rev = "dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" } -cairo-lang-test-plugin = { git = "https://github.com/starkware-libs/cairo.git", rev = "dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" } -cairo-lang-test-runner = { git = "https://github.com/starkware-libs/cairo.git", rev = "dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f" } -cairo-lang-utils = { git = "https://github.com/starkware-libs/cairo.git", rev = "dd8bd1f43eff37ba747dcd92e5c821bdfa8c007f", features = ["env_logger"] } +cairo-lang-compiler = "2.4.0-rc1" +cairo-lang-defs = "2.4.0-rc1" +cairo-lang-filesystem = "2.4.0-rc1" +cairo-lang-formatter = "2.4.0-rc1" +cairo-lang-language-server = "2.4.0-rc1" +cairo-lang-runner = "2.4.0-rc1" +cairo-lang-semantic = "2.4.0-rc1" +cairo-lang-sierra = "2.4.0-rc1" +cairo-lang-sierra-to-casm = "2.4.0-rc1" +cairo-lang-starknet = "2.4.0-rc1" +cairo-lang-test-plugin = "2.4.0-rc1" +cairo-lang-test-runner = "2.4.0-rc1" +cairo-lang-utils = { version = "2.4.0-rc1", features = ["env_logger"] } camino = { version = "1", features = ["serde1"] } cargo_metadata = ">=0.18" clap = { version = "4", features = ["derive", "env", "string"] } diff --git a/examples/starknet_hello_world/Scarb.toml b/examples/starknet_hello_world/Scarb.toml index 3ffe985c2..0a189220d 100644 --- a/examples/starknet_hello_world/Scarb.toml +++ b/examples/starknet_hello_world/Scarb.toml @@ -5,6 +5,6 @@ version = "0.1.0" # See more keys and their definitions at https://docs.swmansion.com/scarb/docs/reference/manifest.html [dependencies] -starknet = "2.3.1" +starknet = "2.4.0-rc0" [[target.starknet-contract]] diff --git a/examples/starknet_multiple_contracts/Scarb.toml b/examples/starknet_multiple_contracts/Scarb.toml index 965c81ba1..a8396e885 100644 --- a/examples/starknet_multiple_contracts/Scarb.toml +++ b/examples/starknet_multiple_contracts/Scarb.toml @@ -5,6 +5,6 @@ version = "0.1.0" # See more keys and their definitions at https://docs.swmansion.com/scarb/docs/reference/manifest.html [dependencies] -starknet = "2.3.1" +starknet = "2.4.0-rc0" [[target.starknet-contract]] diff --git a/examples/workspaces/Scarb.toml b/examples/workspaces/Scarb.toml index 90d2e1e6b..d144d7193 100644 --- a/examples/workspaces/Scarb.toml +++ b/examples/workspaces/Scarb.toml @@ -10,7 +10,7 @@ test = "snforge" exit_first = true [workspace.dependencies] -starknet = "2.3.1" +starknet = "2.4.0-rc0" [workspace.package] version = "0.1.0"