Skip to content

Commit 9aa2ec0

Browse files
upgrade snforge version (#145)
1 parent 3f5f763 commit 9aa2ec0

File tree

5 files changed

+20
-28
lines changed

5 files changed

+20
-28
lines changed

.github/workflows/on-pull-request.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v4
1414
- uses: foundry-rs/setup-snfoundry@v3
1515
with:
16-
starknet-foundry-version: "0.49.0"
16+
starknet-foundry-version: "0.54.1"
1717
- uses: software-mansion/setup-scarb@v1
1818
with:
1919
scarb-version: "2.12.2"

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
scarb 2.12.2
2-
starknet-foundry 0.49.0
2+
starknet-foundry 0.54.1

Scarb.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,15 +121,15 @@ checksum = "sha256:bf799c794139837f397975ffdf6a7ed5032d198bbf70e87a8f44f144a9dfc
121121

122122
[[package]]
123123
name = "snforge_scarb_plugin"
124-
version = "0.49.0"
124+
version = "0.54.1"
125125
source = "registry+https://scarbs.xyz/"
126-
checksum = "sha256:903150f0e9542e4277d417029eea4c03af0db398b581f9f7ae3ebbdac9afc657"
126+
checksum = "sha256:5c754ba8c262633e60c2cd06710cb96604c8bf20595fe60965013fedd8a55df9"
127127

128128
[[package]]
129129
name = "snforge_std"
130-
version = "0.49.0"
130+
version = "0.54.1"
131131
source = "registry+https://scarbs.xyz/"
132-
checksum = "sha256:73d73653cc4356ec51b92a6bec9d8385b20318170c2f2ade7891e5185a0e7e64"
132+
checksum = "sha256:e0532e6149ffc580e282d0774404e512a6814d477cd65529b91d5a09ac6e07d6"
133133
dependencies = [
134134
"snforge_scarb_plugin",
135135
]

Scarb.toml

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,26 @@
11
[workspace]
22
members = [
3-
"packages/testing",
4-
"packages/utils",
3+
"packages/testing",
4+
"packages/utils",
55
]
66

77
[workspace.package]
8-
version = "1.0.0"
9-
edition = "2024_07"
108
description = "Starkware Starknet contracts utils"
11-
repository = "https://github.com/starkware-libs/starkware-starknet-utils"
12-
license-file = "LICENSE"
9+
edition = "2024_07"
1310
keywords = [
14-
"starkware",
15-
"starknet",
16-
"utils"
11+
"starkware",
12+
"starknet",
13+
"utils",
1714
]
18-
15+
license-file = "LICENSE"
16+
repository = "https://github.com/starkware-libs/starkware-starknet-utils"
17+
version = "1.0.0"
1918

2019
[workspace.dependencies]
21-
starknet = "2.12.2"
22-
openzeppelin = "2.0.0"
23-
snforge_std = "0.49.0"
2420
assert_macros = "2.12.2"
25-
21+
openzeppelin = "2.0.0"
22+
snforge_std = "0.54.1"
23+
starknet = "2.12.2"
2624

2725
[workspace.tool.fmt]
2826
sort-module-level-items = true
@@ -31,7 +29,7 @@ sort-module-level-items = true
3129
allow-prebuilt-plugins = ["snforge_std"]
3230

3331
[profile.dev.cairo]
34-
unstable-add-statements-functions-debug-info = true
35-
unstable-add-statements-code-locations-debug-info = true
3632
inlining-strategy = "avoid"
3733
panic-backtrace = true
34+
unstable-add-statements-code-locations-debug-info = true
35+
unstable-add-statements-functions-debug-info = true

packages/utils/src/components/roles/test.cairo

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,6 @@ use starkware_utils_testing::test_utils::{
1515
assert_panic_with_error, assert_panic_with_felt_error, cheat_caller_address_once,
1616
};
1717

18-
#[test]
19-
#[should_panic(expected: "INVALID_ZERO_ADDRESS_GOV_ADMIN")]
20-
fn test_initialize_with_zero_address() {
21-
test_utils::deploy_mock_contract_with_zero();
22-
}
23-
2418
#[test]
2519
#[feature("safe_dispatcher")]
2620
fn test_register_app_role_admin() {

0 commit comments

Comments
 (0)