From 9191854ddc4b2de2716cc1766528baae0850e032 Mon Sep 17 00:00:00 2001 From: Tekkac Date: Mon, 2 Dec 2024 09:32:15 +0100 Subject: [PATCH 1/2] Serialize without prepended length in cli calldata with --array argument (#257) --- hydra/garaga/starknet/cli/verify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hydra/garaga/starknet/cli/verify.py b/hydra/garaga/starknet/cli/verify.py index 55716d4a..7be7906b 100644 --- a/hydra/garaga/starknet/cli/verify.py +++ b/hydra/garaga/starknet/cli/verify.py @@ -214,4 +214,4 @@ def calldata( if format == CalldataFormat.starkli: print(" ".join([str(x) for x in calldata])) elif format == CalldataFormat.array: - print(calldata) + print(calldata[1:]) From 74ba49e29b81adabd108ff2540eafa1f4eb5a19c Mon Sep 17 00:00:00 2001 From: feltroid Prime <96737978+feltroidprime@users.noreply.github.com> Date: Mon, 2 Dec 2024 16:02:49 +0700 Subject: [PATCH 2/2] Fix maturin CI : static python version across all targets. (#260) --- .github/workflows/maturin.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/maturin.yml b/.github/workflows/maturin.yml index e619ca76..e5482014 100644 --- a/.github/workflows/maturin.yml +++ b/.github/workflows/maturin.yml @@ -34,7 +34,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: 3.x + python-version: "3.10.x" - name: Build wheels uses: PyO3/maturin-action@v1 with: @@ -65,7 +65,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: 3.x + python-version: "3.10.x" - name: Build wheels uses: PyO3/maturin-action@v1 with: @@ -92,7 +92,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: 3.x + python-version: 3.10.x architecture: ${{ matrix.platform.target }} - name: Build wheels uses: PyO3/maturin-action@v1 @@ -119,7 +119,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: ${{ matrix.platform.target == 'x86_64' && '3.10' || '3.x' }} + python-version: "3.10.x" - name: Build wheels uses: PyO3/maturin-action@v1 with: @@ -165,10 +165,10 @@ jobs: - uses: software-mansion/setup-scarb@v1 with: scarb-version: "2.8.4" - - name: Set up Python 3.10.14 + - name: Set up Python 3.10 uses: actions/setup-python@v5 with: - python-version: 3.10.14 + python-version: "3.10.x" - name: Install dependencies run: make setup - name: Verify Contract Declaration