Skip to content

Commit 672e512

Browse files
committed
v1.14.2
1 parent 13e794f commit 672e512

File tree

11 files changed

+198
-54
lines changed

11 files changed

+198
-54
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"npkill": "^0.10.0",
2727
"prettier": "^2.8.4",
2828
"sort-package-json": "^2.4.1",
29-
"turbo": "1.9.3"
29+
"turbo": "1.10.3"
3030
},
3131
"packageManager": "pnpm@8.3.1",
3232
"engines": {

pnpm-lock.yaml

Lines changed: 29 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

turbo.json

Lines changed: 125 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,125 @@
1-
{"globalEnv":["npm_package_name","npm_package_version"],"pipeline":{"@starkgate/web#lint":{"outputs":[],"cache":true,"dependsOn":[],"inputs":[],"outputMode":"full","env":["NETLIFY"],"persistent":false},"build":{"outputs":["dist/**"],"cache":true,"dependsOn":["^build","prebuild"],"inputs":[],"outputMode":"full","env":[],"persistent":false},"clean":{"outputs":[],"cache":true,"dependsOn":[],"inputs":[],"outputMode":"full","env":[],"persistent":false},"dev":{"outputs":[],"cache":false,"dependsOn":[],"inputs":[],"outputMode":"full","env":[],"persistent":true},"format":{"outputs":[],"cache":true,"dependsOn":[],"inputs":[],"outputMode":"full","env":[],"persistent":false},"lint":{"outputs":[],"cache":true,"dependsOn":["^lint"],"inputs":[],"outputMode":"full","env":[],"persistent":false},"pack":{"outputs":[],"cache":true,"dependsOn":["build","lint","test"],"inputs":[],"outputMode":"full","env":[],"persistent":false},"prebuild":{"outputs":[],"cache":true,"dependsOn":[],"inputs":[],"outputMode":"full","env":[],"persistent":false},"test":{"outputs":[],"cache":true,"dependsOn":["build"],"inputs":[],"outputMode":"full","env":[],"persistent":false}},"remoteCache":{}}
1+
{
2+
"globalEnv": [
3+
"npm_package_name",
4+
"npm_package_version"
5+
],
6+
"globalPassThroughEnv": null,
7+
"globalDotEnv": null,
8+
"pipeline": {
9+
"@starkgate/web#lint": {
10+
"outputs": [],
11+
"cache": true,
12+
"dependsOn": [],
13+
"inputs": [],
14+
"outputMode": "full",
15+
"persistent": false,
16+
"env": [
17+
"NETLIFY"
18+
],
19+
"passThroughEnv": null,
20+
"dotEnv": null
21+
},
22+
"build": {
23+
"outputs": [
24+
"dist/**"
25+
],
26+
"cache": true,
27+
"dependsOn": [
28+
"^build",
29+
"prebuild"
30+
],
31+
"inputs": [],
32+
"outputMode": "full",
33+
"persistent": false,
34+
"env": [],
35+
"passThroughEnv": null,
36+
"dotEnv": null
37+
},
38+
"clean": {
39+
"outputs": [],
40+
"cache": true,
41+
"dependsOn": [],
42+
"inputs": [],
43+
"outputMode": "full",
44+
"persistent": false,
45+
"env": [],
46+
"passThroughEnv": null,
47+
"dotEnv": null
48+
},
49+
"dev": {
50+
"outputs": [],
51+
"cache": false,
52+
"dependsOn": [],
53+
"inputs": [],
54+
"outputMode": "full",
55+
"persistent": true,
56+
"env": [],
57+
"passThroughEnv": null,
58+
"dotEnv": null
59+
},
60+
"format": {
61+
"outputs": [],
62+
"cache": true,
63+
"dependsOn": [],
64+
"inputs": [],
65+
"outputMode": "full",
66+
"persistent": false,
67+
"env": [],
68+
"passThroughEnv": null,
69+
"dotEnv": null
70+
},
71+
"lint": {
72+
"outputs": [],
73+
"cache": true,
74+
"dependsOn": [
75+
"^lint"
76+
],
77+
"inputs": [],
78+
"outputMode": "full",
79+
"persistent": false,
80+
"env": [],
81+
"passThroughEnv": null,
82+
"dotEnv": null
83+
},
84+
"pack": {
85+
"outputs": [],
86+
"cache": true,
87+
"dependsOn": [
88+
"build",
89+
"lint",
90+
"test"
91+
],
92+
"inputs": [],
93+
"outputMode": "full",
94+
"persistent": false,
95+
"env": [],
96+
"passThroughEnv": null,
97+
"dotEnv": null
98+
},
99+
"prebuild": {
100+
"outputs": [],
101+
"cache": true,
102+
"dependsOn": [],
103+
"inputs": [],
104+
"outputMode": "full",
105+
"persistent": false,
106+
"env": [],
107+
"passThroughEnv": null,
108+
"dotEnv": null
109+
},
110+
"test": {
111+
"outputs": [],
112+
"cache": true,
113+
"dependsOn": [
114+
"build"
115+
],
116+
"inputs": [],
117+
"outputMode": "full",
118+
"persistent": false,
119+
"env": [],
120+
"passThroughEnv": null,
121+
"dotEnv": null
122+
}
123+
},
124+
"remoteCache": {}
125+
}

workspace/apps/starkgate/shared/src/tokens.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ export const Tokens = {
6969
symbol: 'rETH',
7070
decimals: 18,
7171
bridgeAddress: {
72-
[ChainType.L1.MAIN]: '',
72+
[ChainType.L1.MAIN]: '0xcf58536D6Fab5E59B654228a5a4ed89b13A876C2',
7373
[ChainType.L1.GOERLI]: '0xD2ef821C56B20a7451dbbEd1ec003De6C44F8dC0'
7474
},
7575
tokenAddress: {
76-
[ChainType.L1.MAIN]: '',
76+
[ChainType.L1.MAIN]: '0xae78736Cd615f374D3085123A210448E74Fc6393',
7777
[ChainType.L1.GOERLI]: '0x178E141a0E3b34152f73Ff610437A7bf9B83267A'
7878
}
7979
},
@@ -82,11 +82,11 @@ export const Tokens = {
8282
symbol: 'wstETH',
8383
decimals: 18,
8484
bridgeAddress: {
85-
[ChainType.L1.MAIN]: '',
85+
[ChainType.L1.MAIN]: '0x82596004A4566fB1E47886EA34fB94F695ea8d6c',
8686
[ChainType.L1.GOERLI]: '0x190c98506a5396A30CA759A139F3Fb59EF519A5D'
8787
},
8888
tokenAddress: {
89-
[ChainType.L1.MAIN]: '',
89+
[ChainType.L1.MAIN]: '0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0',
9090
[ChainType.L1.GOERLI]: '0x6320cD32aA674d2898A68ec82e869385Fc5f7E2f'
9191
}
9292
},
@@ -196,11 +196,11 @@ export const Tokens = {
196196
[ChainType.L2.GOERLI]: true
197197
},
198198
bridgeAddress: {
199-
[ChainType.L2.MAIN]: '',
199+
[ChainType.L2.MAIN]: '0x0078da8023b3c08e5a41540a34f7c385fd4f4540d5668f1be3ede0d3bb1b9d4d',
200200
[ChainType.L2.GOERLI]: '0x00214e168720c6eed858066bea070afa828512e83edcfc28846f0e87221f77f6'
201201
},
202202
tokenAddress: {
203-
[ChainType.L2.MAIN]: '',
203+
[ChainType.L2.MAIN]: '0x0319111a5037cbec2b3e638cc34a3474e2d2608299f3e62866e9cc683208c610',
204204
[ChainType.L2.GOERLI]: '0x002133188109385fedaac0b1bf9de1134e271b88efcd21e2ea0dac460639fbe2'
205205
}
206206
},
@@ -209,11 +209,11 @@ export const Tokens = {
209209
symbol: 'wstETH',
210210
decimals: 18,
211211
bridgeAddress: {
212-
[ChainType.L2.MAIN]: '',
212+
[ChainType.L2.MAIN]: '0x03073e7ab30ee00e2da9cf96e4a5490c8e00bdf018df1ff5f3679c30ef1cb014',
213213
[ChainType.L2.GOERLI]: '0x0399a6011b666888d647665fd65d6dcc7c2690c72d4c4454cae987f19f6ef609'
214214
},
215215
tokenAddress: {
216-
[ChainType.L2.MAIN]: '',
216+
[ChainType.L2.MAIN]: '0x05ef98e7dc5865f49bcec200df508d27669b3ef7f9d2439decd127350359f291',
217217
[ChainType.L2.GOERLI]: '0x0335bc6e1cf6d9527da4f8044c505906ad6728aeeddfba8d7000b01b32ffe66b'
218218
}
219219
},

workspace/apps/starkgate/shared/src/types.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export type TransferLog = {
3636
l2TxStatus: TransactionStatus;
3737
l2TxTimestamp: number;
3838
fastWithdrawal?: boolean;
39+
autoWithdrawal?: boolean;
3940
customData?: object;
4041
};
4142

@@ -46,10 +47,12 @@ export const isPendingWithdrawal = ({
4647
l1TxHash,
4748
l2TxStatus,
4849
fastWithdrawal,
50+
autoWithdrawal,
4951
customData
5052
}: TransferLog) => {
5153
return (
5254
isWithdrawal(type) &&
55+
!autoWithdrawal &&
5356
!l1TxHash &&
5457
((!fastWithdrawal && isOnChain(l2TxStatus)) || (fastWithdrawal && customData))
5558
);

workspace/apps/starkgate/web/CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
1-
## 1.14.0
1+
# @starkgate/web
2+
3+
## 1.14.2
4+
5+
### Patch Changes
6+
7+
- 5f526da: Fixed an issue where users can still complete an auto withdrawal transaction on L1 by themselves and thus pay for the transaction twice.
8+
- 12a8fad: Enable rETH and wstETH on mainnet
29

310
## 1.14.1
411

512
### Patch Changes
613

714
- 392c6d4: Fixed an issue where the auto withdrawal got stuck
815

16+
## 1.14.0
17+
918
### Minor Changes
1019

1120
- 78670c0: Add an option to Auto withdraw ERC20 tokens from Starknet to Ethereum

0 commit comments

Comments
 (0)