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

Release #1170

Merged
merged 332 commits into from
Jul 2, 2024
Merged

Release #1170

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
332 commits
Select commit Hold shift + click to select a range
6e7d277
refactor(update): toTransactionVersion, getUniversalSuggestedFee
tabaktoni Dec 11, 2023
8dc9b8a
feat: default account UniversalDetails, rpc spec update, update inter…
tabaktoni Dec 11, 2023
7581906
Merge branch 'beta' into feat/sepolia
tabaktoni Dec 11, 2023
4f59a8f
feat: def rpc 0_6, sepolia nodes
tabaktoni Dec 11, 2023
da2db6f
Merge pull request #853 from starknet-io/feat/sepolia
tabaktoni Dec 11, 2023
ab50471
Merge branch 'beta' into v6/v3-transactions
tabaktoni Dec 11, 2023
621bdad
Merge pull request #890 from starknet-io/v6/v3-transactions
tabaktoni Dec 11, 2023
a074bde
chore(release): 6.0.0-beta.6 [skip ci]
semantic-release-bot Dec 11, 2023
a8a73c1
feat: add string types of cairo v2.4.0
PhilippeR26 Dec 11, 2023
302c570
Merge branch 'string-cairo240' into cairo240-string
PhilippeR26 Dec 11, 2023
a9a2dfb
test: rectify waitForTransaction spies
penovicp Dec 12, 2023
a8fdb8e
ci: bump devnet and remove sequencer
penovicp Dec 12, 2023
76b6ab4
fix: provider rpc 0.5-0.6 getTransactionReceipt response standardization
tabaktoni Dec 12, 2023
7439fff
refactor(provider): provider response type EstimateFeeResponse extend…
tabaktoni Dec 12, 2023
2d0c322
refactor(provider): removed code, fixed getBlock types
tabaktoni Dec 12, 2023
3cb9a18
Update noble and scure deps
paulmillr Dec 13, 2023
7ecb069
feat(provider): fix and clean provider response and response parser, …
tabaktoni Dec 13, 2023
6b77f54
refactor(provider): removed event as non response type from response …
tabaktoni Dec 13, 2023
013a22b
feat(provider): pending response discrimination, pending type guards
tabaktoni Dec 13, 2023
05f4095
fix: solve wrong response for account.verifyMessage
PhilippeR26 Dec 13, 2023
8ff5746
Update src/utils/responseParser/rpc.ts
tabaktoni Dec 14, 2023
9c68cbf
chore: reolved comments
tabaktoni Dec 14, 2023
7dd750f
Merge branch 'beta' into v6/v3-transactions
tabaktoni Dec 14, 2023
877ad8c
Merge pull request #893 from starknet-io/v6/v3-transactions
tabaktoni Dec 14, 2023
b988184
Merge pull request #894 from paulmillr/patch-1
tabaktoni Dec 14, 2023
405de46
feat: curves
tabaktoni Dec 14, 2023
87cc794
Merge branch 'develop' into beta
tabaktoni Dec 14, 2023
0d088a4
chore: lock
tabaktoni Dec 14, 2023
ac88085
chore(release): 6.0.0-beta.7 [skip ci]
semantic-release-bot Dec 14, 2023
2c2658e
chore: lock
tabaktoni Dec 14, 2023
f580edb
test: adjust latest block state conditional
penovicp Dec 15, 2023
8473adb
feat: ethereum signer
PhilippeR26 Dec 15, 2023
f37bfb2
feat: ethereum-signer
PhilippeR26 Dec 15, 2023
26d7044
feat: sepolia
tabaktoni Dec 18, 2023
af67bc6
Merge pull request #900 from starknet-io/v5/sepolia
tabaktoni Dec 18, 2023
e6984ad
chore(release): 5.25.0 [skip ci]
semantic-release-bot Dec 18, 2023
da717be
fix: estimateFeeBulk provided version
tabaktoni Dec 19, 2023
6fd010a
Merge pull request #902 from starknet-io/v6/fix/acc-version
tabaktoni Dec 19, 2023
99601e9
chore(release): 6.0.0-beta.8 [skip ci]
semantic-release-bot Dec 19, 2023
732cd94
fix: acc deploy_acc
tabaktoni Dec 19, 2023
03f5eb4
Merge pull request #903 from starknet-io/v6/fix/acc-version
tabaktoni Dec 19, 2023
99ec123
chore(release): 6.0.0-beta.9 [skip ci]
semantic-release-bot Dec 19, 2023
cedd1ea
feat: req id counter
tabaktoni Dec 20, 2023
db91904
chore: make id public
tabaktoni Dec 20, 2023
c38c239
Merge pull request #906 from starknet-io/feat/request-counter
tabaktoni Dec 20, 2023
a4bc173
chore(release): 6.0.0-beta.10 [skip ci]
semantic-release-bot Dec 20, 2023
bfedce9
docs: update getEvents guide (#907)
PhilippeR26 Dec 21, 2023
dba65f3
test: enable abiwan integration tests
haroune-mohammedi Dec 29, 2023
87d15d3
feat: abiwan v2 intergation
haroune-mohammedi Dec 29, 2023
c35220e
test: abiwan v2 integration
haroune-mohammedi Dec 29, 2023
dd414e1
docs: include version fragment for v5 Juno example
mettete Jan 1, 2024
d5a65a6
chore: skip abiwan integration v1 failing tests
haroune-mohammedi Jan 2, 2024
65bea53
fix: utilize provided resourceBounds value
penovicp Jan 4, 2024
0f8b266
chore(release): 6.0.0-beta.11 [skip ci]
semantic-release-bot Jan 4, 2024
4cd1aa2
chore: use abi-wan-kanabi version 2.1.0-rc.1
haroune-mohammedi Jan 8, 2024
9007816
feat: make Abi and CONTRACT_ABI types compatible with abiwan
haroune-mohammedi Jan 9, 2024
9cbb6a0
Merge branch 'develop' into feat/abiwan
haroune-mohammedi Jan 12, 2024
5f6aef7
chore: use abi-wan-kanabi version 2.1.0
haroune-mohammedi Jan 14, 2024
8468e2f
[Feat]: Abiwan V2 Integration (#912)
haroune-mohammedi Jan 15, 2024
c10150a
feat: abi-wan trigger
ivpavici Jan 15, 2024
c0b4e67
chore(release): 5.26.0 [skip ci]
semantic-release-bot Jan 15, 2024
ae49d2c
Merge branch 'beta' into fix-verifyMessage
PhilippeR26 Jan 16, 2024
1abf91f
feat: replace in verifyMessage : response by Error
PhilippeR26 Jan 17, 2024
5866d89
docs: update abiwan guides (#922)
haroune-mohammedi Jan 18, 2024
6b7ee49
fix: move abiwan from dev dependencies to regular dependencies (#925)
haroune-mohammedi Jan 18, 2024
602a131
chore(release): 5.26.1 [skip ci]
semantic-release-bot Jan 18, 2024
adf9b1b
chore: update abi-wan-kanabi-v2 vo v2.1.1 (#928)
RyanTimesTen Jan 22, 2024
b4e9cbe
docs: removed v4 docs (#931)
ivpavici Jan 22, 2024
8ce3b1d
test: update with some of the special chars
tabaktoni Jan 22, 2024
be6eec9
feat: add provider.decodeParameters
PhilippeR26 Jan 22, 2024
12fa1bc
Merge pull request #898 from PhilippeR26/EthSigner
tabaktoni Jan 23, 2024
5f20945
Merge pull request #932 from PhilippeR26/decodeParameters
tabaktoni Jan 23, 2024
42efef2
chore(release): 6.0.0-beta.12 [skip ci]
semantic-release-bot Jan 23, 2024
c91f3f3
Merge branch 'docs-add-search'
PhilippeR26 Jan 23, 2024
0bf93d4
chore: rename abi-wan-kanabi to abi-wan-kanabi-v1 (#933)
haroune-mohammedi Jan 23, 2024
ac3f2fa
Merge branch 'beta' into feat/abiwan
haroune-mohammedi Jan 23, 2024
0fefcc8
Merge branch 'docs-add-search'
PhilippeR26 Jan 23, 2024
3129c09
Merge pull request #935 from PhilippeR26/doc-search-v5
tabaktoni Jan 23, 2024
65e886b
Merge pull request #934 from PhilippeR26/doc-search
tabaktoni Jan 23, 2024
fbf983f
feat: trigger release
tabaktoni Jan 23, 2024
062f99a
chore(release): 5.27.0 [skip ci]
semantic-release-bot Jan 23, 2024
2cf202b
Merge pull request #891 from PhilippeR26/cairo240-string
tabaktoni Jan 23, 2024
3159e4a
Merge pull request #921 from haroune-mohammedi/feat/abiwan
tabaktoni Jan 23, 2024
1c0f7d2
Merge pull request #895 from PhilippeR26/fix-verifyMessage
tabaktoni Jan 23, 2024
a673265
chore(release): 6.0.0-beta.13 [skip ci]
semantic-release-bot Jan 23, 2024
2840fe0
test: typed cairo 2.4: bytes31 and ByteArray
haroune-mohammedi Jan 23, 2024
e1ead14
fix: throw on negative param cairo.uint256 and bnToUint256
tabaktoni Jan 26, 2024
f43de6e
Merge branch 'beta' into fix/negative-uint-param
tabaktoni Jan 26, 2024
a0952d4
chore: test notation
tabaktoni Jan 26, 2024
f1744b8
Merge pull request #936 from haroune-mohammedi/test/cairo240-typed
tabaktoni Jan 26, 2024
7e10e53
chore: rename abi-wan-kanabi to abi-wan-kanabi-v1 (#942)
haroune-mohammedi Jan 29, 2024
96c5701
docs: add migration to V6
PhilippeR26 Jan 30, 2024
9986362
Create FUNDING.json
tabaktoni Jan 31, 2024
418bc11
chore: aggregate typo changes (#870)
penovicp Feb 1, 2024
cb20590
feat: expand structured data hashing in line with SNIP-12 (#920)
penovicp Feb 1, 2024
43903f5
chore(release): 5.28.0 [skip ci]
semantic-release-bot Feb 1, 2024
8aa74bb
chore: bump TypeScript to 5.3
RolandoDrRobot Jan 26, 2024
39595f3
feat: add provider.decodeParameters
PhilippeR26 Jan 22, 2024
71e5377
chore(release): 5.29.0 [skip ci]
semantic-release-bot Feb 2, 2024
dd4c5b1
docs: update remaining StarkNet casing to Starknet
0xdorifto Aug 16, 2023
50bb532
ci: bump marketplace actions
penovicp Feb 2, 2024
09bd994
Merge branch 'develop' into develop-to-beta
penovicp Feb 2, 2024
a2647f3
Merge pull request #947 from starknet-io/develop-to-beta
penovicp Feb 2, 2024
a4e5e33
chore(release): 6.0.0-beta.14 [skip ci]
semantic-release-bot Feb 2, 2024
40c0b33
chore: refactor Signer for convenient overwriting (#941)
firmianavan Feb 2, 2024
b64abcc
feat: new CairoUint256 cairo datatype model
tabaktoni Feb 2, 2024
009d16d
chore: cleanup r1
tabaktoni Feb 2, 2024
8789821
chore: rebase
tabaktoni Feb 2, 2024
39105c6
Update src/utils/cairoDataTypes/uint256.ts
tabaktoni Feb 5, 2024
d051ae3
chore: cleanup
tabaktoni Feb 5, 2024
3c45968
chore: improve tests, fix constructor
tabaktoni Feb 5, 2024
7a8ee04
Merge pull request #940 from starknet-io/fix/negative-uint-param
tabaktoni Feb 5, 2024
1ff1986
Merge pull request #943 from PhilippeR26/doc-v6
tabaktoni Feb 5, 2024
260e77a
chore(release): 6.0.0-beta.15 [skip ci]
semantic-release-bot Feb 5, 2024
64a664f
Merge pull request #889 from starknet-io/beta
tabaktoni Feb 5, 2024
de6f87f
chore(release): 6.0.0 [skip ci]
semantic-release-bot Feb 5, 2024
9862bd5
build(deps): bump typescript-eslint to "6.21.0", eslint to "8.56.0"
tabaktoni Feb 8, 2024
9cdef5f
Merge pull request #955 from starknet-io/bump/ts-eslint
tabaktoni Feb 8, 2024
09fc563
docs: repair and modify migration guide
penovicp Feb 8, 2024
5a56485
feat: use fetch-cookie package for cookie based sticky sessions
piwonskp Feb 13, 2024
ca2905b
chore(release): 6.1.0 [skip ci]
semantic-release-bot Feb 13, 2024
71c4e29
Merge branch 'develop' into feat/wallet-rpc
tabaktoni Feb 15, 2024
63e0cef
chore: post develop merge package fix
tabaktoni Feb 15, 2024
682f407
chore: cick
tabaktoni Feb 19, 2024
21c1e17
docs: update docs for v6 (#949)
PhilippeR26 Feb 19, 2024
ae3e265
fix: rpc event
tabaktoni Feb 19, 2024
c327bfe
Merge pull request #969 from starknet-io/fix/rpc0.6
tabaktoni Feb 19, 2024
ecfd509
chore(release): 6.1.1 [skip ci]
semantic-release-bot Feb 19, 2024
1f53c4d
chore: bump abi-wan v2 (#970)
ivpavici Feb 19, 2024
30a4681
fix: drop abi-wan-kanabi-v1 support
PhilippeR26 Feb 20, 2024
ee92106
chore(release): 6.1.2 [skip ci]
semantic-release-bot Feb 20, 2024
fab83dc
docs: solve visual display of the tables for snjs versions
PhilippeR26 Feb 20, 2024
8bf55bf
ci: bump devnet
penovicp Feb 21, 2024
469064e
chore: bump dependencies
penovicp Feb 20, 2024
518330c
fix: update fetch-cookie dependency
Feb 22, 2024
ddb0a2e
chore(release): 6.1.3 [skip ci]
semantic-release-bot Feb 23, 2024
fd17826
chore: update package
tabaktoni Feb 24, 2024
5cce8b5
Merge branch 'develop' into fix/support-long-entrypoints
tabaktoni Feb 26, 2024
74ee7cf
Merge pull request #981 from starknet-io/fix/support-long-entrypoints
tabaktoni Feb 26, 2024
d56be0c
chore(release): 6.1.4 [skip ci]
semantic-release-bot Feb 26, 2024
ae8cf8e
fix(RpcChannel): allow client to provide `specVersion`
avimak Feb 29, 2024
7e09d18
Merge pull request #988 from starknet-io/fix/spec-version-options
avimak Mar 2, 2024
5efa196
chore(release): 6.1.5 [skip ci]
semantic-release-bot Mar 2, 2024
9635a26
ci: bump devnet
penovicp Mar 2, 2024
de32936
feat: implement RPC v0.7.0-rc2 specification
penovicp Feb 19, 2024
f529354
chore: apply RPC v0.7.0-rc1 updates
penovicp Feb 27, 2024
e66caf2
test: update tests for RPC upgrade
penovicp Mar 2, 2024
57a8709
chore: rectify intersection types
penovicp Mar 3, 2024
e644b5c
chore: apply RPC v0.7.0-rc2 updates
penovicp Mar 5, 2024
fdcc7fb
chore(release): 6.2.0 [skip ci]
semantic-release-bot Mar 7, 2024
ce2e541
fix: repair Cairo 1 nested and enum tuple handling
PhilippeR26 Mar 11, 2024
fb4bd58
chore(release): 6.2.1 [skip ci]
semantic-release-bot Mar 11, 2024
ae71c97
feat: update starknetId class and add getStarkProfile function
irisdv Mar 11, 2024
6cd35aa
chore(release): 6.3.0 [skip ci]
semantic-release-bot Mar 11, 2024
5157e04
Merge branch 'develop' into feat/wallet-rpc
tabaktoni Mar 12, 2024
318b006
chore: package lock local update
tabaktoni Mar 12, 2024
b992446
fix: expand encoding type for preset types
penovicp Mar 11, 2024
0104c59
feat: enable cairo 2.6.0 contract declaration
PhilippeR26 Mar 12, 2024
6f784ea
feat: skip signatures when skipValidate is true
dhruvkelawala Mar 12, 2024
3f5f48d
chore: resolve lint issues
penovicp Mar 12, 2024
880b906
chore(release): 6.4.0 [skip ci]
semantic-release-bot Mar 12, 2024
653acc4
fix: byteArray encoding for less than 31 chars (#1011)
PhilippeR26 Mar 14, 2024
bff0f5a
chore(release): 6.4.1 [skip ci]
semantic-release-bot Mar 14, 2024
b50a3bd
fix: update starknetid sepolia contract addresses (#1016)
irisdv Mar 14, 2024
fd206a1
chore(release): 6.4.2 [skip ci]
semantic-release-bot Mar 14, 2024
621ae2d
fix: wallet circular dependency fix
tabaktoni Mar 14, 2024
5e49fc6
Merge branch 'develop' into feat/wallet-rpc
tabaktoni Mar 14, 2024
dd34cdb
fix: adjust max amount bound calculation for RPC v0.7.0
penovicp Mar 13, 2024
cedd984
feat: make fee margins configurable
penovicp Mar 13, 2024
94ec7ce
chore(release): 6.5.0 [skip ci]
semantic-release-bot Mar 14, 2024
0315d3d
ci: default rpc spec is 0_7 (#1017)
PhilippeR26 Mar 15, 2024
6f87298
docs: Add docker approach guide for dev setup (#1010)
lukasaric Mar 18, 2024
0dfb5db
feat: walletAccount extract methods and update new ones
tabaktoni Mar 18, 2024
73603e1
feat: the WalletAccount handle changed channel
tabaktoni Mar 18, 2024
ecbe1e0
Update src/wallet/connect.ts
tabaktoni Mar 19, 2024
1f2771e
chore: cleanups
tabaktoni Mar 19, 2024
017702f
fix: update to latest get-starknet dev
tabaktoni Mar 19, 2024
ac5267a
chore: clenup
tabaktoni Mar 19, 2024
1a06b9e
Merge branch 'feat/wallet-rpc-2' into feat/wallet-rpc
tabaktoni Mar 19, 2024
747f1f7
Merge pull request #792 from starknet-io/feat/wallet-rpc
tabaktoni Mar 19, 2024
3d7dc90
Merge pull request #1023 from starknet-io/next-version
tabaktoni Mar 19, 2024
3a6c924
fix: test ci fix
tabaktoni Mar 19, 2024
c90f9b2
fix: second option bump semantic release to 0.5
tabaktoni Mar 19, 2024
c1f3f27
Merge pull request #1025 from starknet-io/fix/ci-release
tabaktoni Mar 19, 2024
70e7ba6
chore(release): 6.6.0 [skip ci]
semantic-release-bot Mar 19, 2024
6235080
chore: refactor various typeof comparisons with util methods (#1007)
ikrcatov Mar 20, 2024
07d4a26
fix: next version (#1024)
tabaktoni Mar 25, 2024
b16db6d
chore(release): 6.6.6 [skip ci]
semantic-release-bot Mar 25, 2024
e74ba31
docs: fix nodeUrl code typo (#1046)
9oelM Mar 27, 2024
c5c849d
Next version (#1043)
tabaktoni Apr 3, 2024
5341c42
feat: readme & trigger release
tabaktoni Apr 3, 2024
a85d48e
chore(release): 6.7.0 [skip ci]
semantic-release-bot Apr 3, 2024
2c27daf
ci: bump devnet
penovicp Apr 3, 2024
51b694c
docs: goerli testnet deprecated (#1059)
PhilippeR26 Apr 4, 2024
da4ddce
test: CairoFelt tests (#1035)
ikrcatov Apr 4, 2024
dd7dc10
fix: tslib (#1068)
tabaktoni Apr 5, 2024
d396275
feat: add getGasPrice rpc provider method (#1056)
princeibs Apr 8, 2024
d5f0b75
test: Test setup refactor & remove RPC sequencer (#1044)
lukasaric Apr 8, 2024
c213c29
docs: types format fix for generated docs (#1075)
ivpavici Apr 11, 2024
11dc600
feat: rpc 0.7.1 (#1071)
tabaktoni Apr 11, 2024
0a3499d
fix(utils): fix block identifier (#1076)
tabaktoni Apr 11, 2024
4d59658
feat: Export function parseCalldataField()
PhilippeR26 Apr 12, 2024
64ac7e3
docs: repair dark theme search styling (#1080)
bhavyagosai Apr 15, 2024
23c5fd6
docs: word <any> not authorized in jsdoc (#1082)
PhilippeR26 Apr 15, 2024
cb35e34
docs: adding missing jsdocs on methods (#1036)
ikrcatov Apr 19, 2024
a344f37
chore: added discord link to all relavant places (#1086)
hemantwasthere Apr 22, 2024
d35f154
refactor: getStarkName & getStarkProfile for latest version of contract
irisdv Apr 22, 2024
b038c76
fix: starkne types 0.7 (#1087)
tabaktoni Apr 23, 2024
e946a60
Merge pull request #1067 from starknet-io/next-version
tabaktoni Apr 23, 2024
b3a2946
chore(release): 6.8.0 [skip ci]
semantic-release-bot Apr 23, 2024
23ae319
Snjs enc dec doc (#1101)
PhilippeR26 Apr 25, 2024
ae5dcf9
chore: add examples to JsDoc for num.ts file (#1100)
NueloSE Apr 26, 2024
8ba8d10
Merge pull request #1093 from irisdv/ref/starknetid_address_to_domain
tabaktoni Apr 29, 2024
f77bae5
chore: Add JsDoc comments and examples for merkle.ts file (#1107)
NueloSE Apr 29, 2024
0b25aba
chore: Add JsDoc comments and examples for selector.ts file (#1106)
NueloSE Apr 29, 2024
0ab0de7
chore: add examples to JsDoc for transaction.ts file (#1105)
petersdt Apr 29, 2024
59eb01e
Revert "chore: add examples to JsDoc for transaction.ts file (#1105)"…
ivpavici Apr 29, 2024
366c960
Update CONTRIBUTING.md (#1117)
ivpavici May 2, 2024
1f3c934
chore/add JsDoc for address.ts file (#1096)
BlackStarkGoku May 2, 2024
ba35b6c
docs: add example to url.ts (#1112)
CollinsC1O May 2, 2024
0303b21
Revert "chore: Add JsDoc comments and examples for merkle.ts file (#1…
tabaktoni May 6, 2024
cc4b0af
Revert "chore: Add JsDoc comments and examples for selector.ts file (…
tabaktoni May 6, 2024
3a58b84
Revert "chore: add examples to JsDoc for num.ts file (#1100)"
tabaktoni May 6, 2024
933220a
chore: curent changelog
tabaktoni May 6, 2024
d002bae
test: Improve tests performance (#1121)
lukasaric May 6, 2024
eceda5d
feat: add type coverage (#1120)
saimeunt May 6, 2024
37526cf
Update _test.yml (#1126)
ivpavici May 15, 2024
f1c3b8e
fix: cannot infer ts2742 types from [email protected] (#1098)
0xknwn May 17, 2024
cfcf93b
Verify message fix (#1128)
tabaktoni May 17, 2024
57e4e17
Remove all code for Goerli testnet (#1122)
PhilippeR26 May 17, 2024
1489cf2
feat: provider.getL1MessageHash (#1123)
PhilippeR26 May 17, 2024
195186f
fix: remove [warning] from typedoc for external usage (#1095)
0xknwn May 17, 2024
242baff
docs: relocate documentation of eth randomness (#1130)
PhilippeR26 May 20, 2024
fe24214
Merge pull request #1110 from starknet-io/next-version
tabaktoni May 21, 2024
66a5c03
chore(release): 6.9.0 [skip ci]
semantic-release-bot May 21, 2024
d6c1ce2
Next version (#1143)
tabaktoni Jun 18, 2024
1687dd2
feat: next-version
tabaktoni Jun 18, 2024
e79da4e
chore(release): 6.10.0 [skip ci]
semantic-release-bot Jun 18, 2024
cf407b3
docs: update licence, package, readme (#1157)
tabaktoni Jun 19, 2024
57e51f9
test: add starknet rpc spec json schemas
Jun 9, 2024
270b1f2
test: import starknet schemas as dependency
penovicp Jun 14, 2024
07faca1
ci: bump devnet
penovicp Jun 21, 2024
f4d5d09
docs: fix format pb in create account guide (#1161)
PhilippeR26 Jun 24, 2024
a63d31c
Fix invalid reference in create_contract.md (#1162)
FabijanC Jun 24, 2024
bb4a93d
fix: change build cjs and mjs to unbuild (#1163)
b0rza Jun 28, 2024
995b90f
chore(release): 6.10.1 [skip ci]
semantic-release-bot Jun 28, 2024
ee3d776
chore: bump dependencies
penovicp Jun 27, 2024
dc5e124
chore: replace type coverage dependency with simpler variant
penovicp Jul 1, 2024
57b2c72
fix: revert enums partially & tsup build (#1165)
lukasaric Jul 2, 2024
3f37994
chore(release): 6.10.2 [skip ci]
semantic-release-bot Jul 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
28 changes: 23 additions & 5 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,15 @@
"node": true,
"jest": true
},
"extends": ["airbnb-base", "airbnb-typescript/base", "prettier", "plugin:prettier/recommended"],
"ignorePatterns": ["tsup.config.ts"],
"extends": [
"airbnb-base",
"airbnb-typescript/base",
"prettier",
"plugin:prettier/recommended"
],
"ignorePatterns": [
"tsup.config.ts"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
Expand All @@ -17,13 +24,24 @@
"sourceType": "module",
"project": "./tsconfig.eslint.json"
},
"plugins": ["@typescript-eslint"],
"plugins": [
"@typescript-eslint"
],
"rules": {
"class-methods-use-this": 0,
"import/prefer-default-export": 0,
"@typescript-eslint/no-redeclare": 0,
"@typescript-eslint/naming-convention": 0,
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
"@typescript-eslint/no-use-before-define": ["error", "nofunc"],
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_"
}
],
"@typescript-eslint/no-use-before-define": [
"error",
"nofunc"
],
"func-names": 0
}
}
4 changes: 2 additions & 2 deletions .github/workflows/_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
name: Run release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: lts/*
cache: 'npm'
Expand Down
19 changes: 5 additions & 14 deletions .github/workflows/_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,10 @@ name: _ Run Tests
on:
workflow_call:
inputs:
use-rpc-devnet:
type: boolean
default: false
use-seq-devnet:
use-devnet:
type: boolean
default: false
secrets:
TEST_PROVIDER_BASE_URL:
required: false
TEST_RPC_URL:
required: false
TEST_ACCOUNT_PRIVATE_KEY:
Expand All @@ -26,25 +21,21 @@ jobs:
# TODO - periodically check if conditional services are supported; https://github.com/actions/runner/issues/822
services:
devnet:
image: ${{ inputs.use-rpc-devnet && 'shardlabs/starknet-devnet-rs:c7b5fde8fb46f8e7d498f63cc44beb0bd2ddd85e-seed0' || inputs.use-seq-devnet && 'shardlabs/starknet-devnet:0.6.3-seed0' || '' }}
# image: ${{ (inputs.use-rpc-devnet || inputs.use-seq-devnet) && 'shardlabs/starknet-devnet:0.6.3-seed0' || '' }}
# image: shardlabs/starknet-devnet-rs:c7b5fde8fb46f8e7d498f63cc44beb0bd2ddd85e-seed0
image: ${{ (inputs.use-devnet) && 'shardlabs/starknet-devnet-rs:0.0.7-seed0' || '' }}
ports:
- 5050:5050

env:
TEST_PROVIDER_BASE_URL: ${{ secrets.TEST_PROVIDER_BASE_URL }}
TEST_RPC_URL: ${{ secrets.TEST_RPC_URL }}
TEST_ACCOUNT_PRIVATE_KEY: ${{ secrets.TEST_ACCOUNT_PRIVATE_KEY }}
TEST_ACCOUNT_ADDRESS: ${{ secrets.TEST_ACCOUNT_ADDRESS }}

steps:
- run: echo ${{ secrets.TEST_PROVIDER_BASE_URL }}
- run: echo ${{ secrets.TEST_RPC_URL }}
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
cache: 'npm'
- run: npm ci --ignore-scripts
- run: npm test
- run: npm run test:coverage
6 changes: 3 additions & 3 deletions .github/workflows/manual-docs-version-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
name: Documentation build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
cache: 'npm'
Expand All @@ -33,7 +33,7 @@ jobs:
git add www/versioned_docs www/versioned_sidebars www/versions.json
git checkout .
- name: Create pull request
uses: peter-evans/create-pull-request@v5
uses: peter-evans/create-pull-request@v6
with:
branch: ci/docs-version
committer: CI <[email protected]>
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/manual-tests-devnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,12 @@ jobs:
strategy:
fail-fast: false
matrix:
name: [sequencer-devnet, rpc-devnet]
include:
- name: sequencer-devnet
TEST_PROVIDER_BASE_URL: http://127.0.0.1:5050/
- name: rpc-devnet
TEST_RPC_URL: http://127.0.0.1:5050/rpc

uses: ./.github/workflows/_test.yml
with:
use-rpc-devnet: ${{ matrix.TEST_RPC_URL != '' }}
use-seq-devnet: ${{ matrix.TEST_PROVIDER_BASE_URL != '' }}
use-devnet: ${{ matrix.TEST_RPC_URL != '' }}
secrets:
TEST_PROVIDER_BASE_URL: ${{ matrix.TEST_PROVIDER_BASE_URL }}
TEST_RPC_URL: ${{ matrix.TEST_RPC_URL }}
14 changes: 3 additions & 11 deletions .github/workflows/manual-tests-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,12 @@ jobs:
tests:
name: Run test on ${{ matrix.name }}
strategy:
max-parallel: 1 # needed until we get a seperate account for the rpc provider, until then running them in parallel would result in a nonce issue
max-parallel: 1
matrix:
name: [sequencer-goerli, rpc-goerli]
include:
- name: sequencer-goerli
ENABLE_SEQUENCER: true
ENABLE_RPC: false
- name: rpc-goerli
ENABLE_SEQUENCER: false
ENABLE_RPC: true
name: [rpc-sepolia]

uses: ./.github/workflows/_test.yml
secrets:
TEST_PROVIDER_BASE_URL: ${{ matrix.ENABLE_SEQUENCER && secrets.TEST_PROVIDER_BASE_URL || ''}}
TEST_RPC_URL: ${{ matrix.ENABLE_RPC && secrets.TEST_RPC_URL || ''}}
TEST_RPC_URL: ${{ secrets.TEST_RPC_URL }}
TEST_ACCOUNT_PRIVATE_KEY: ${{ secrets.TEST_ACCOUNT_PRIVATE_KEY }}
TEST_ACCOUNT_ADDRESS: ${{ secrets.TEST_ACCOUNT_ADDRESS }}
7 changes: 1 addition & 6 deletions .github/workflows/pr-push-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,14 @@ jobs:
strategy:
fail-fast: false
matrix:
name: [sequencer-devnet, rpc-devnet]
include:
- name: sequencer-devnet
TEST_PROVIDER_BASE_URL: http://127.0.0.1:5050/
- name: rpc-devnet
TEST_RPC_URL: http://127.0.0.1:5050/rpc

uses: ./.github/workflows/_test.yml
with:
use-rpc-devnet: ${{ matrix.TEST_RPC_URL != '' }}
use-seq-devnet: ${{ matrix.TEST_PROVIDER_BASE_URL != '' }}
use-devnet: ${{ matrix.TEST_RPC_URL != '' }}
secrets:
TEST_PROVIDER_BASE_URL: ${{ matrix.TEST_PROVIDER_BASE_URL }}
TEST_RPC_URL: ${{ matrix.TEST_RPC_URL }}

release:
Expand Down
14 changes: 3 additions & 11 deletions .github/workflows/pr-push-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,13 @@ jobs:
needs: [skip_check]
if: needs.skip_check.outputs.should_skip != 'true'
strategy:
max-parallel: 1 # needed until we get a seperate account for the rpc provider, until then running them in parallel would result in a nonce issue
max-parallel: 1
matrix:
name: [sequencer-goerli, rpc-goerli]
include:
- name: sequencer-goerli
ENABLE_SEQUENCER: true
ENABLE_RPC: false
- name: rpc-goerli
ENABLE_SEQUENCER: false
ENABLE_RPC: true
name: [rpc-sepolia]

uses: ./.github/workflows/_test.yml
secrets:
TEST_PROVIDER_BASE_URL: ${{ matrix.ENABLE_SEQUENCER && secrets.TEST_PROVIDER_BASE_URL || ''}}
TEST_RPC_URL: ${{ matrix.ENABLE_RPC && secrets.TEST_RPC_URL || ''}}
TEST_RPC_URL: ${{ secrets.TEST_RPC_URL }}
TEST_ACCOUNT_PRIVATE_KEY: ${{ secrets.TEST_ACCOUNT_PRIVATE_KEY }}
TEST_ACCOUNT_ADDRESS: ${{ secrets.TEST_ACCOUNT_ADDRESS }}

Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
.env
.eslintcache
.vscode
.idea
coverage
coverage-ts
dist
node_modules
npm-debug.log
Expand Down
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit "$1"
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
Loading
Loading