Skip to content

Commit 74bbe1c

Browse files
fix: update dependencies versions and minor fixes
1 parent 40b4468 commit 74bbe1c

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

.github/workflows/autoupdate.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ permissions:
44

55
on:
66
push:
7-
branches: [dev]
7+
branches: [${{ github.event.repository.default_branch }}]
88

99
jobs:
1010
autoupdate:
@@ -27,7 +27,7 @@ jobs:
2727
- uses: peter-evans/rebase@v3
2828
with:
2929
token: ${{ secrets.PAT }}
30-
base: dev
30+
base: ${{ github.event.repository.default_branch }}
3131
include-labels: |
3232
autoupdate-rebase
3333
exclude-labels: |

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ concurrency:
1818

1919
jobs:
2020
cairo_tests:
21-
runs-on: starkware-ubuntu-24.04-small
21+
runs-on: ubuntu-latest
2222
steps:
2323
- name: Checkout repository
2424
uses: actions/checkout@v4
2525

2626
- name: Install Starknet Foundry
27-
- uses: foundry-rs/setup-snfoundry@v3
27+
uses: foundry-rs/setup-snfoundry@v3
2828
with:
2929
starknet-foundry-version: "0.45.0"
3030

@@ -44,15 +44,15 @@ jobs:
4444
run: scarb test -w --coverage
4545

4646
- name: Upload coverage to Codecov
47-
- uses: codecov/codecov-action@v5
47+
uses: codecov/codecov-action@v5
4848
with:
4949
token: ${{ secrets.CODECOV_TOKEN }}
5050
fail_ci_if_error: true
5151
verbose: true
5252

5353

5454
python_tests:
55-
runs-on: starkware-ubuntu-24.04-large
55+
runs-on: ubuntu-latest
5656
steps:
5757
- uses: actions/checkout@v4
5858

.tool-versions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
starknet-foundry 0.45.0
2-
scarb 2.11.4
1+
starknet-foundry 0.49.0
2+
scarb 2.12.2
33
starknet-devnet 0.3.0

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ In this repo run
3333
```bash
3434
git clone https://github.com/starkware-libs/template-cairo-repo.git
3535
cd template-cairo-repo
36-
git log --oneline
37-
git format-patch -1 <commit_hash>
36+
git fetch origin
37+
git format-patch 40b4468^..HEAD
3838
```
3939
This will create a file like 0001-Your-commit-message.patch.
4040

@@ -43,7 +43,7 @@ In the new repo run
4343
git clone https://github.com/username/new-repo.git
4444
cd new-repo
4545
git am ../template-cairo-repo/0001-Your-commit-message.patch
46-
git push origin dev
46+
git push origin <branch-name>
4747
```
4848

4949
Make sure to edit Scarb.toml to define workspace in this repo.

Scarb.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ edition = "2024_07"
1111
license-file = "LICENSE"
1212

1313
[workspace.dependencies]
14-
starknet = "2.11.4"
15-
snforge_std = "0.45.0"
16-
assert_macros = "2.11.4"
14+
starknet = "2.12.2"
15+
snforge_std = "0.49.0"
16+
assert_macros = "2.12.2"
1717
openzeppelin = "2.0.0"
1818
openzeppelin_testing = "4.2.0"
19-
starkware_utils = { git ="https://github.com/starkware-libs/starkware-starknet-utils", rev="e716f3538e5edfefe441e3a8c207710460e3d511" }
20-
starkware_utils_testing = { git="https://github.com/starkware-libs/starkware-starknet-utils", rev="e716f3538e5edfefe441e3a8c207710460e3d511" }
19+
starkware_utils = { git ="https://github.com/starkware-libs/starkware-starknet-utils", rev="e11de236fe1e36c9556690749f834b6d0e1c4d49" }
20+
starkware_utils_testing = { git="https://github.com/starkware-libs/starkware-starknet-utils", rev="e11de236fe1e36c9556690749f834b6d0e1c4d49" }
2121

2222
[workspace.tool.fmt]
2323
sort-module-level-items = true

0 commit comments

Comments
 (0)