From 1bfd5417663e098ccaefc28095b48f904d5f5b1a Mon Sep 17 00:00:00 2001 From: seun Date: Sun, 29 Sep 2024 05:04:37 -0700 Subject: [PATCH] feat:scarb & foundry update --- contracts/Scarb.lock | 12 ++++++++++-- contracts/Scarb.toml | 4 ++-- contracts/scripts/Scarb.toml | 4 ++-- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/contracts/Scarb.lock b/contracts/Scarb.lock index 7cf1e79..3669de5 100644 --- a/contracts/Scarb.lock +++ b/contracts/Scarb.lock @@ -95,7 +95,15 @@ name = "openzeppelin_utils" version = "0.15.0" source = "git+https://github.com/OpenZeppelin/cairo-contracts.git?tag=v0.15.0#f57642960f1c8cffafefb88bfff418eca8510634" +[[package]] +name = "snforge_scarb_plugin" +version = "0.31.0" +source = "git+https://github.com/foundry-rs/starknet-foundry?tag=v0.31.0#72ea785ca354e9e506de3e5d687da9fb2c1b3c67" + [[package]] name = "snforge_std" -version = "0.27.0" -source = "git+https://github.com/foundry-rs/starknet-foundry?tag=v0.27.0#2d99b7c00678ef0363881ee0273550c44a9263de" +version = "0.31.0" +source = "git+https://github.com/foundry-rs/starknet-foundry?tag=v0.31.0#72ea785ca354e9e506de3e5d687da9fb2c1b3c67" +dependencies = [ + "snforge_scarb_plugin", +] diff --git a/contracts/Scarb.toml b/contracts/Scarb.toml index 89bcbda..7cdc4dc 100644 --- a/contracts/Scarb.toml +++ b/contracts/Scarb.toml @@ -3,8 +3,8 @@ name = "contracts" version = "0.1.0" [dependencies] -starknet = "2.7.0" -snforge_std = { git = "https://github.com/foundry-rs/starknet-foundry", tag = "v0.27.0" } +starknet = "2.8.2" +snforge_std = { git = "https://github.com/foundry-rs/starknet-foundry", tag = "v0.31.0" } openzeppelin = { git = "https://github.com/OpenZeppelin/cairo-contracts.git", tag = "v0.15.0" } [[target.starknet-contract]] diff --git a/contracts/scripts/Scarb.toml b/contracts/scripts/Scarb.toml index 655b3ee..5a81a7c 100644 --- a/contracts/scripts/Scarb.toml +++ b/contracts/scripts/Scarb.toml @@ -6,8 +6,8 @@ edition = "2023_11" # See more keys and their definitions at https://docs.swmansion.com/scarb/docs/reference/manifest.html [dependencies] -sncast_std = { git = "https://github.com/foundry-rs/starknet-foundry", tag = "v0.27.0" } -starknet = "2.7.0" +sncast_std = { git = "https://github.com/foundry-rs/starknet-foundry", tag = "v0.31.0" } +starknet = "2.8.2" contracts = { path = "../" } [lib]