Skip to content

Commit

Permalink
feat: support cairo compiler v2.9.x
Browse files Browse the repository at this point in the history
  • Loading branch information
xJonathanLEI committed Dec 2, 2024
1 parent b819661 commit 2cff069
Show file tree
Hide file tree
Showing 4 changed files with 231 additions and 59 deletions.
228 changes: 186 additions & 42 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ auto_impl = "1.1.0"
bigdecimal = "0.4.1"
cairo-starknet-2-6-4 = { package = "cairo-lang-starknet-classes", git = "https://github.com/starkware-libs/cairo", tag = "v2.6.4" }
cairo-starknet-2-7-1 = { package = "cairo-lang-starknet-classes", git = "https://github.com/starkware-libs/cairo", tag = "v2.7.1" }
cairo-starknet-2-8-2 = { package = "cairo-lang-starknet-classes", git = "https://github.com/starkware-libs/cairo", tag = "v2.8.2" }
cairo-starknet-2-8-5 = { package = "cairo-lang-starknet-classes", git = "https://github.com/starkware-libs/cairo", tag = "v2.8.5" }
cairo-starknet-2-9-1 = { package = "cairo-lang-starknet-classes", git = "https://github.com/starkware-libs/cairo", tag = "v2.9.1" }
chrono = "0.4.26"
clap = { version = "4.3.8", features = ["derive", "env", "string"] }
clap_complete = "4.3.1"
Expand Down
2 changes: 1 addition & 1 deletion src/casm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ impl CasmArgs {
Some(network) => {
let auto_version = match network {
Network::Sepolia | Network::SepoliaIntegration | Network::Mainnet => {
CompilerVersion::V2_8_2
CompilerVersion::V2_9_1
}
};

Expand Down
Loading

0 comments on commit 2cff069

Please sign in to comment.