Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update starknet.go, starknet-js and starknet-rs tests #2217

Merged
merged 1 commit into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci-cd-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/starknet-go-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
ref:
description: 'The branch, tag or SHA to checkout'
required: false
default: 'v0.7.2'
default: '1ede19210c10f1f1f9c3cb49a42f737cd90eda5e'
type: string
secrets:
TEST_RPC_URL:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/starknet-js-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/starknet-rs-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down