Skip to content

Commit 371145b

Browse files
authored
Merge pull request #2763 from nervosnetwork/rc/v0.110.2
2 parents 2995d86 + 126fa4d commit 371145b

File tree

13 files changed

+1061
-1561
lines changed

13 files changed

+1061
-1561
lines changed

.github/workflows/package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262

6363
- name: Boostrap
6464
run: |
65-
yarn bootstrap
65+
yarn
6666
env:
6767
CI: false
6868

.github/workflows/package_for_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757

5858
- name: Boostrap
5959
run: |
60-
yarn bootstrap
60+
yarn
6161
env:
6262
CI: false
6363

.github/workflows/unit_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353

5454
- name: Boostrap
5555
run: |
56-
yarn bootstrap
56+
yarn
5757
yarn build
5858
env:
5959
CI: false

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env sh
22
. "$(dirname -- "$0")/_/husky.sh"
33

4-
lerna run --no-bail --stream precommit
4+
npx lerna run --no-bail --stream precommit

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
# 0.110.2 (2023-07-07)
2+
3+
### CKB Node & Light Client
4+
5+
- [CKB@v0.110.0](https://github.com/nervosnetwork/ckb/releases/tag/v0.110.0) was released on May. 17th, 2023. This version of CKB node is now bundled and preconfigured in Neuron.
6+
- [CKB Light Client@v0.2.4](https://github.com/nervosnetwork/ckb-light-client/releases/tag/v0.2.4) was released on May. 28th, 2023. This version of CKB Light Client is now bundled and preconfigured in Neuron
7+
8+
#### Caveat
9+
10+
**CKB Light Client** is only activated on testnet, thus only `light testnet` is enabled in Neuron. **CKB Light Client on Mainnet** requires a hardfork on the mainnet in the future.
11+
**CKB@v0.110** requires data migration, which is irreversible. Be cautious to start the migration without a backup. [How to back up data of ckb node](https://github.com/nervosnetwork/neuron/issues/2557#issue-1512510978)
12+
13+
> On the other hand, we strongly recommend you to back up the old data before migrating, the **ckb node data path** can be found by clicking **preference -> Data -> CKB Node Config & Storage**. Because once the migration starts, the data will be no longer compatible with all older versions of CKB.
14+
15+
### Assumed valid target
16+
17+
Block before `0xc0c532e10c708852d9586be46a5ed8317b2aa0835c721aa691abffb9bf4a26cd`(at height `10,004,892`) will be skipped in validation.(#2689)
18+
19+
## Bug fixes
20+
21+
- #2760: Avoid generating deposit DAO when the dialog is not visible.(@yanguoyu)
22+
23+
24+
**Full Changelog**: https://github.com/nervosnetwork/neuron/compare/v0.110.1...v0.110.2
25+
26+
127
# 0.110.1 (2023-05-31)
228

329
### CKB Node & Light Client

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ $ yarn global add lerna # install lerna globally
3030
After lerna has been installed, run this to install and link dependencies:
3131

3232
```shell
33-
$ yarn bootstrap
33+
$ yarn
3434
$ lerna run rebuild:nativemodules
3535
```
3636

lerna.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
2-
"packages": [
3-
"packages/*"
4-
],
5-
"version": "0.110.1",
2+
"packages": ["packages/*"],
3+
"version": "0.110.2",
64
"npmClient": "yarn",
7-
"useWorkspaces": true
5+
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
86
}

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "neuron",
33
"productName": "Neuron",
44
"description": "CKB Neuron Wallet",
5-
"version": "0.110.0",
5+
"version": "0.110.2",
66
"private": true,
77
"author": {
88
"name": "Nervos Core Dev",
@@ -22,7 +22,6 @@
2222
"packages/*"
2323
],
2424
"scripts": {
25-
"bootstrap": "npx cross-env lerna bootstrap && lerna link",
2625
"start:ui": "cd packages/neuron-ui && yarn run start",
2726
"start:wallet": "cd packages/neuron-wallet && yarn run start:debug",
2827
"start": "concurrently \"cross-env BROWSER=none yarn run start:ui\" \"wait-on http://127.0.0.1:3000 && yarn run start:wallet\"",
@@ -32,7 +31,7 @@
3231
"build:main": "lerna run build --scope=neuron-wallet",
3332
"release": "yarn build && ./scripts/copy-ui-files.sh && ./scripts/release.sh",
3433
"package:test": "yarn build && ./scripts/copy-ui-files.sh && ./scripts/package-for-test.sh",
35-
"test": "cross-env NODE_OPTIONS=--openssl-legacy-provider lerna run --parallel test",
34+
"test": "cross-env NODE_OPTIONS=--openssl-legacy-provider lerna run --parallel --load-env-files=false test",
3635
"test:ci": "yarn build:main && yarn test",
3736
"lint": "lerna run --stream lint",
3837
"postinstall": "husky install && lerna run build --scope=@nervina-labs/ckb-indexer",
@@ -50,7 +49,7 @@
5049
"eslint": "8.38.0",
5150
"eslint-config-prettier": "8.8.0",
5251
"husky": "8.0.3",
53-
"lerna": "5.6.2",
52+
"lerna": "7.0.0",
5453
"lint-staged": "13.2.1",
5554
"ncp": "2.0.0",
5655
"prettier": "2.8.7",

packages/neuron-ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "neuron-ui",
3-
"version": "0.110.1",
3+
"version": "0.110.2",
44
"private": true,
55
"author": {
66
"name": "Nervos Core Dev",

packages/neuron-ui/src/components/NervosDAO/hooks.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ export const useGenerateDaoDepositTx = ({
137137
t,
138138
depositValue,
139139
suggestFeeRate,
140+
showDepositDialog,
140141
}: {
141142
setErrorMessage: React.Dispatch<React.SetStateAction<string>>
142143
clearGeneratedTx: () => void
@@ -149,10 +150,14 @@ export const useGenerateDaoDepositTx = ({
149150
t: TFunction
150151
depositValue: string
151152
suggestFeeRate: string | number
153+
showDepositDialog: boolean
152154
}) => {
153155
const timer = useRef<ReturnType<typeof setTimeout>>()
154156
useEffect(() => {
155157
clearTimeout(timer.current)
158+
if (!showDepositDialog) {
159+
return
160+
}
156161
timer.current = setTimeout(() => {
157162
setErrorMessage('')
158163
clearGeneratedTx()
@@ -221,6 +226,7 @@ export const useGenerateDaoDepositTx = ({
221226
isBalanceReserved,
222227
depositValue,
223228
suggestFeeRate,
229+
showDepositDialog,
224230
])
225231
}
226232

0 commit comments

Comments
 (0)