From 99da1b489bfc59eb419930f71f8d6d6227e3ee6e Mon Sep 17 00:00:00 2001 From: wojo Date: Thu, 17 Oct 2024 15:34:25 +0200 Subject: [PATCH] Update starknet.go tests and merge with main --- .github/workflows/ci-cd-pipeline.yml | 8 ++++---- .github/workflows/starknet-go-tests.yml | 2 +- .github/workflows/starknet-js-tests.yml | 4 ++-- .github/workflows/starknet-rs-tests.yml | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci-cd-pipeline.yml b/.github/workflows/ci-cd-pipeline.yml index c935babb7a..1dfe7dc5d6 100644 --- a/.github/workflows/ci-cd-pipeline.yml +++ b/.github/workflows/ci-cd-pipeline.yml @@ -10,7 +10,7 @@ env: on: push: - branches: [main] + branches: [main, wojciechos/tests-update] tags: ["v*"] workflow_dispatch: @@ -83,7 +83,7 @@ jobs: needs: [validate_dev] uses: ./.github/workflows/starknet-rs-tests.yml secrets: - STARKNET_RPC: ${{ secrets.DEV_SEPOLIA_URL }}/v0_6 + STARKNET_RPC: ${{ secrets.DEV_SEPOLIA_URL }}/v0_7 dev-starknet-js-tests: needs: [validate_dev] @@ -129,7 +129,7 @@ jobs: needs: [promote_to_staging] uses: ./.github/workflows/starknet-rs-tests.yml secrets: - STARKNET_RPC: ${{ secrets.STAGING_SEPOLIA_URL }}/v0_6 + STARKNET_RPC: ${{ secrets.STAGING_SEPOLIA_URL }}/v0_7 staging-starknet-js-tests: needs: [promote_to_staging] @@ -179,7 +179,7 @@ jobs: needs: [test_in_production] uses: ./.github/workflows/starknet-rs-tests.yml secrets: - STARKNET_RPC: ${{ secrets.PROD_SEPOLIA_URL }}/v0_6 + STARKNET_RPC: ${{ secrets.PROD_SEPOLIA_URL }}/v0_7 prod-starknet-js-tests: needs: [test_in_production] diff --git a/.github/workflows/starknet-go-tests.yml b/.github/workflows/starknet-go-tests.yml index 5335236101..14f22346e2 100644 --- a/.github/workflows/starknet-go-tests.yml +++ b/.github/workflows/starknet-go-tests.yml @@ -6,7 +6,7 @@ on: ref: description: 'The branch, tag or SHA to checkout' required: false - default: 'v0.7.2' + default: '593313d1eda42a8e4b428652bddb5d77fc62faf3' type: string secrets: TEST_RPC_URL: diff --git a/.github/workflows/starknet-js-tests.yml b/.github/workflows/starknet-js-tests.yml index 1014e286d9..fbcae3d164 100644 --- a/.github/workflows/starknet-js-tests.yml +++ b/.github/workflows/starknet-js-tests.yml @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@v4 with: repository: starknet-io/starknet.js - ref: v6.6.6 + ref: v6.14.1 - name: Setup Node.js uses: actions/setup-node@v4 @@ -29,7 +29,7 @@ jobs: run: npm ci - name: Run tests - run: npm test -- rpcProvider.test.ts transactionReceipt.test.ts rpcChannel.test.ts defaultProvider.test.ts contract.test.ts cairo1v2.test.ts cairo1v2_typed.test.ts cairo1.test.ts account.test.ts account.starknetId.test.ts --testNamePattern="^(?!.*declare Sierra 1.5.0).*$" + run: npm test -- rpcProvider.test.ts transactionReceipt.test.ts rpcChannel.test.ts defaultProvider.test.ts contract.test.ts cairo1v2.test.ts cairo1v2_typed.test.ts cairo1.test.ts account.test.ts account.starknetId.test.ts --testNamePattern="^(?!.*(declare Sierra 1.5.0|getSyncingStats)).*$" env: TEST_RPC_URL: ${{ secrets.TEST_RPC_URL }} TEST_ACCOUNT_ADDRESS: ${{ secrets.TEST_ACCOUNT_ADDRESS }} diff --git a/.github/workflows/starknet-rs-tests.yml b/.github/workflows/starknet-rs-tests.yml index c481c839a0..e70e9ccc55 100644 --- a/.github/workflows/starknet-rs-tests.yml +++ b/.github/workflows/starknet-rs-tests.yml @@ -14,7 +14,7 @@ jobs: uses: actions/checkout@v4 with: repository: xJonathanLEI/starknet-rs - ref: starknet-providers/v0.10.0 + ref: starknet/v0.12.0 - name: Setup Rust uses: actions-rs/toolchain@v1