Skip to content

Commit d7fef88

Browse files
authored
Merge pull request #1305 from starknet-io/develop
Main Release
2 parents b15fe2d + 9cb21ec commit d7fef88

File tree

414 files changed

+96323
-7378
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

414 files changed

+96323
-7378
lines changed

.github/workflows/_test.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
use-devnet:
66
type: boolean
77
default: false
8+
ignore-scripts:
9+
type: boolean
10+
default: false
811
secrets:
912
TEST_RPC_URL:
1013
required: false
@@ -21,7 +24,7 @@ jobs:
2124
# TODO - periodically check if conditional services are supported; https://github.com/actions/runner/issues/822
2225
services:
2326
devnet:
24-
image: ${{ (inputs.use-devnet) && 'shardlabs/starknet-devnet-rs:0.0.7-seed0' || '' }}
27+
image: ${{ (inputs.use-devnet) && 'shardlabs/starknet-devnet-rs:0.2.4' || '' }}
2528
ports:
2629
- 5050:5050
2730

@@ -38,4 +41,6 @@ jobs:
3841
node-version: lts/*
3942
cache: 'npm'
4043
- run: npm ci --ignore-scripts
44+
- run: npm run pretest && npm run posttest
45+
if: ${{ !inputs.ignore-scripts }}
4146
- run: npm run test:coverage
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: '[Manual] Documentation Deploy Pages'
2+
on: workflow_dispatch
3+
4+
# populate the following environment variables for the "github-pages" environment
5+
# - default:
6+
# ORGANIZATION_NAME
7+
# PROJECT_NAME
8+
# DEPLOYMENT_BRANCH
9+
# - custom:
10+
# DOCS_BASE_URL
11+
12+
jobs:
13+
build:
14+
name: Documentation build
15+
runs-on: ubuntu-latest
16+
environment: github-pages
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: actions/setup-node@v4
20+
with:
21+
node-version: lts/*
22+
cache: 'npm'
23+
- name: Setup
24+
run: |
25+
npm ci --ignore-scripts
26+
cd www/
27+
npm ci --ignore-scripts
28+
- name: Build
29+
run: |
30+
rm -rf www/docs/API/
31+
npm run docs:build
32+
env:
33+
DOCS_BASE_URL: ${{ vars.DOCS_BASE_URL || '/starknet.js/' }}
34+
- name: Upload
35+
uses: actions/upload-pages-artifact@v3
36+
with:
37+
path: www/build
38+
39+
deploy:
40+
name: documentation deploy
41+
runs-on: ubuntu-latest
42+
needs: [build]
43+
permissions:
44+
pages: write # to deploy to pages
45+
id-token: write # to verify the deployment originates from an appropriate source
46+
environment:
47+
name: github-pages
48+
url: ${{ steps.deployment.outputs.page_url }}
49+
steps:
50+
- name: deploy
51+
id: deployment
52+
uses: actions/deploy-pages@v4

.github/workflows/manual-tests-devnet.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
name: '[Manual] Test Devnet'
2-
on: workflow_dispatch
2+
on:
3+
workflow_dispatch:
4+
inputs:
5+
ignore-scripts:
6+
description: 'Ignore scripts'
7+
type: boolean
8+
default: false
39

410
jobs:
511
tests:
@@ -14,5 +20,6 @@ jobs:
1420
uses: ./.github/workflows/_test.yml
1521
with:
1622
use-devnet: ${{ matrix.TEST_RPC_URL != '' }}
23+
ignore-scripts: ${{ inputs.ignore-scripts }}
1724
secrets:
1825
TEST_RPC_URL: ${{ matrix.TEST_RPC_URL }}

.github/workflows/manual-tests-testnet.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
name: '[Manual] Test Testnet'
2-
on: workflow_dispatch
2+
on:
3+
workflow_dispatch:
4+
inputs:
5+
ignore-scripts:
6+
description: 'Ignore scripts'
7+
type: boolean
8+
default: false
39

410
jobs:
511
tests:
@@ -10,6 +16,8 @@ jobs:
1016
name: [rpc-sepolia]
1117

1218
uses: ./.github/workflows/_test.yml
19+
with:
20+
ignore-scripts: ${{ inputs.ignore-scripts }}
1321
secrets:
1422
TEST_RPC_URL: ${{ secrets.TEST_RPC_URL }}
1523
TEST_ACCOUNT_PRIVATE_KEY: ${{ secrets.TEST_ACCOUNT_PRIVATE_KEY }}

CHANGELOG.md

+257
Large diffs are not rendered by default.

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,4 @@ For major changes that markedly transform the existing API or significantly alte
111111

112112
If you want to contribute but have any questions, concerns or doubts, feel free to ping maintainers. Ideally create a pull request with `WIP` (Work in progress) in its title and ask questions in the pull request description.
113113

114-
You can also ask your query on our dedicated channel for [Starknet.js](https://discord.com/channels/793094838509764618/927918707613786162) on the [Starknet Discord](https://discord.com/invite/YgsdxEx3)
114+
You can also ask your query on our dedicated channel for [Starknet.js](https://discord.com/channels/793094838509764618/1270119831559078061) on the [Starknet Discord](https://discord.com/invite/Ft6Xtzdg)

README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
<a href="https://twitter.com/starknetjs">
3333
<img src="https://img.shields.io/badge/follow_us-Twitter-blue">
3434
</a>
35+
<a href="https://www.drips.network/app/projects/github/starknet-io/starknet.js" target="_blank">
36+
<img src="https://www.drips.network/api/embed/project/https%3A%2F%2Fgithub.com%2Fstarknet-io%2Fstarknet.js/support.png?background=light&style=github&text=project&stat=none" alt="Support starknet.js on drips.network" height="20">
37+
</a>
3538
</p>
3639

3740
## Installation
@@ -59,7 +62,7 @@ Play with [Code Examples](https://github.com/PhilippeR26/starknet.js-workshop-ty
5962

6063
If you consider to contribute to this project please read [CONTRIBUTING.md](https://github.com/starknet-io/starknet.js/blob/main/CONTRIBUTING.md) first.
6164

62-
You can also join our dedicated channel for [Starknet.js](https://discord.com/channels/793094838509764618/927918707613786162) on the [Starknet Discord](https://discord.com/invite/YgsdxEx3)
65+
You can also join our dedicated channel for [Starknet.js](https://discord.com/channels/793094838509764618/1270119831559078061) on the [Starknet Discord](https://discord.com/invite/starknet-community)
6366

6467
## ❤️ Special Thanks
6568

@@ -69,7 +72,7 @@ Special thanks to all the [contributors](https://github.com/starknet-io/starknet
6972

7073
- Janek ([@janek26](https://github.com/janek26)) and Dhruv ([@dhruvkelawala](https://github.com/dhruvkelawala)) from [Argent](https://github.com/argentlabs)
7174

72-
- Toni ([@tabaktoni](https://github.com/tabaktoni)) and Ivan ([@ivpavici](https://github.com/ivpavici)) from [SpaceShard](https://www.spaceshard.io/)
75+
- Toni ([@tabaktoni](https://github.com/tabaktoni)), Petar ([@penovicp](https://github.com/penovicp)) and Ivan ([@ivpavici](https://github.com/ivpavici)) from [SpaceShard](https://www.spaceshard.io/)
7376

7477
- Philippe ROSTAN ([@PhilippeR26](https://github.com/PhilippeR26))
7578

__mocks__/cairo/account/accountArgent040.casm

+1
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)