Skip to content

Conversation

@devchenyan
Copy link
Contributor

@Keith-CY
Copy link
Collaborator

Please add a test for this case and prepend a comment for explanation

@silySuper
Copy link

/package

@Keith-CY
Copy link
Collaborator

Keith-CY commented Jul 29, 2025

/package
Packaging for test is done in 16591061954. @Keith-CY

@silySuper
Copy link

send from new multisig to new multisig receive address is still show wrong address (send address is .....wug,but ledger shows ....yya),send from new multisig to old multisig shows OK now

@Keith-CY
Copy link
Collaborator

send from new multisig to new multisig receive address is still show wrong address (send address is .....wug,but ledger shows ....yya),send from new multisig to old multisig shows OK now

Please export the transaction for debug

@silySuper
Copy link

@Keith-CY
Copy link
Collaborator

transaction_1753780324604.json

The first output is

"lock": {
          "args": "0xebd35235715d12e36ca60396d7d3ce630d6aaacd",
          "codeHash": "0x36c971b8d41fbd94aabca77dc75e826729ac98447b46f91e00796155dddb0d29",
          "hashType": "data1"
        },

and its address is

ckt1qqmvjudc6s0mm992hjnhm367sfnjntycg3a5d7g7qpukz4wamvxjjqht6dfr2u2azt3kefsrjmta8nnrp4424ngf4rwug

So the address ends with yya is incorrect.

Please import this transaction again and take a photo of the displayed receiver address so we can parse it into script for further debug

@Keith-CY
Copy link
Collaborator

ckt1qqmvjudc6s0mm992hjnhm367sfnjntycg3a5d7g7qpukz4wamvxjjqht6dfr2u2azt3kefsrjmta8nnrp4424ngf4rwug

I have reproduced this case with my Ledger and will upload the photo later

@Keith-CY
Copy link
Collaborator

Keith-CY commented Jul 30, 2025

I'm sending 100 CKB to ckt1qqmvjudc6s0mm992hjnhm367sfnjntycg3a5d7g7qpukz4wamvxjjqht6dfr2u2azt3kefsrjmta8nnrp4424ngf4rwug with a Ledger
image

The destination address is displayed as follows
IMG_2736
IMG_2737

I wrote it down ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsq0t6dfr2u2azt3kefsrjmta8nnrp4424ng74eyya
image

The code hash and hash type is incorrect

While the transaction has been suceesfully signed

transaction_1753850370140.json

@Keith-CY
Copy link
Collaborator

Keith-CY commented Jul 30, 2025

I'm sending 100 CKB to ckt1qqmvjudc6s0mm992hjnhm367sfnjntycg3a5d7g7qpukz4wamvxjjqht6dfr2u2azt3kefsrjmta8nnrp4424ngf4rwug with a Ledger image

The destination address is displayed as follows IMG_2736 IMG_2737

While the transaction has been suceesfully signed

transaction_1753850370140.json

I just broadcast this transaction at https://testnet.explorer.nervos.org/transaction/0x727c1379986ffe2b81508ba091f40b6d13aa5bddbaa04197b01dfb38263e1a46

image

@Keith-CY
Copy link
Collaborator

I'm sending 100 CKB to ckt1qqmvjudc6s0mm992hjnhm367sfnjntycg3a5d7g7qpukz4wamvxjjqht6dfr2u2azt3kefsrjmta8nnrp4424ngf4rwug with a Ledger image

The destination address is displayed as follows IMG_2736 IMG_2737

I wrote it down ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsq0t6dfr2u2azt3kefsrjmta8nnrp4424ng74eyya image

The code hash and hash type is incorrect

While the transaction has been suceesfully signed

transaction_1753850370140.json

My bad, I should install the test nervos app for ledger, how can I install it @silySuper

@Keith-CY
Copy link
Collaborator

Keith-CY commented Jul 30, 2025

I've sideloaded nervos app v0.6.0 and built a transaction to ckt1qqmvjudc6s0mm992hjnhm367sfnjntycg3a5d7g7qpukz4wamvxjjqht6dfr2u2azt3kefsrjmta8nnrp4424ngf4rwug. The destination is correct
image
image

But when I tweaked the hash type to data2 and the address became ckt1qqmvjudc6s0mm992hjnhm367sfnjntycg3a5d7g7qpukz4wamvxjjp8t6dfr2u2azt3kefsrjmta8nnrp4424ngnfgdg7, the destination address is still ckt1qqmvjudc6s0mm992hjnhm367sfnjntycg3a5d7g7qpukz4wamvxjjqht6dfr2u2azt3kefsrjmta8nnrp4424ngf4rwug

image

Ref:

@Keith-CY
Copy link
Collaborator

Keith-CY commented Jul 30, 2025

I've reproduced the case @silySuper had encoutered.

The target address is

ckt1qqmvjudc6s0mm992hjnhm367sfnjntycg3a5d7g7qpukz4wamvxjjqht6dfr2u2azt3kefsrjmta8nnrp4424ngf4rwug

but when I initiated a transfer from a multisig address
ckt1qqmvjudc6s0mm992hjnhm367sfnjntycg3a5d7g7qpukz4wamvxjjqsgy9aawlk2zxn7sevst0v6hvg2pmmmnsgkd3hxxckt1qqmvjudc6s0mm992hjnhm367sfnjntycg3a5d7g7qpukz4wamvxjjqsgy9aawlk2zxn7sevst0v6hvg2pmmmnsgkd3hxx.

The destination address displayed on Ledger is ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsq0t6dfr2u2azt3kefsrjmta8nnrp4424ng74eyya

image image image

lock_script before and after sign are both multisig & data_1 while the destination address on ledger's is secp256k1 & type

The change address displayed on Ledger is

ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsqggy9aawlk2zxn7sevst0v6hvg2pmmmnsgpdta7n

image image image

The secp256k1/sighash version of the original multisig address

Ref:

@silySuper
Copy link

verified

@Keith-CY Keith-CY merged commit a632986 into develop Aug 11, 2025
24 checks passed
@Keith-CY Keith-CY deleted the fix-476 branch August 11, 2025 07:33
walker27 added a commit that referenced this pull request Jan 7, 2026
* fix: Issues of release v0.201.0 regression testing (#3365)

fix: Issues of release v0.201.0 regression

* chore(deps): bump tar-fs from 2.1.2 to 2.1.3 (#3368)

Bumps [tar-fs](https://github.com/mafintosh/tar-fs) from 2.1.2 to 2.1.3.
- [Commits](https://github.com/mafintosh/tar-fs/commits)

---
updated-dependencies:
- dependency-name: tar-fs
  dependency-version: 2.1.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update ckb client versions (#3371)

feat: update ckb client versions

Co-authored-by: Keith-CY <7271329+Keith-CY@users.noreply.github.com>

* feat: Identify and prompt for multisig transaction (#3370)

* feat: Identify and prompt for multisig transaction

* fix: error message

* fix: Full node in mainnet can not change data path (#3382)

* chore(deps): bump pbkdf2 from 3.1.2 to 3.1.3 (#3379)

Bumps [pbkdf2](https://github.com/crypto-browserify/pbkdf2) from 3.1.2 to 3.1.3.
- [Changelog](https://github.com/browserify/pbkdf2/blob/master/CHANGELOG.md)
- [Commits](browserify/pbkdf2@v3.1.2...v3.1.3)

---
updated-dependencies:
- dependency-name: pbkdf2
  dependency-version: 3.1.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat: Optimize receive address handling for hardware wallets (#3394)

* fix: compatible with  "Ledger Nano S+" (#3402)

Co-authored-by: zhengzhou <zhengzhou@rivtower.com>

* Update ckb client versions (#3403)

feat: update ckb client versions

Co-authored-by: Keith-CY <7271329+Keith-CY@users.noreply.github.com>

* chore(deps-dev): bump electron from 36.6.0 to 36.8.1 in /packages/neuron-ui (#3404)

chore(deps-dev): bump electron in /packages/neuron-ui

Bumps [electron](https://github.com/electron/electron) from 36.6.0 to 36.8.1.
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md)
- [Commits](electron/electron@v36.6.0...v36.8.1)

---
updated-dependencies:
- dependency-name: electron
  dependency-version: 36.8.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump electron from 36.6.0 to 36.8.1 in /packages/neuron-wallet (#3405)

chore(deps-dev): bump electron in /packages/neuron-wallet

Bumps [electron](https://github.com/electron/electron) from 36.6.0 to 36.8.1.
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md)
- [Commits](electron/electron@v36.6.0...v36.8.1)

---
updated-dependencies:
- dependency-name: electron
  dependency-version: 36.8.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump sha.js from 2.4.11 to 2.4.12 (#3406)

Bumps [sha.js](https://github.com/crypto-browserify/sha.js) from 2.4.11 to 2.4.12.
- [Changelog](https://github.com/browserify/sha.js/blob/master/CHANGELOG.md)
- [Commits](browserify/sha.js@v2.4.11...v2.4.12)

---
updated-dependencies:
- dependency-name: sha.js
  dependency-version: 2.4.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update ckb client versions (#3408)

feat: update ckb client versions

Co-authored-by: Keith-CY <7271329+Keith-CY@users.noreply.github.com>

* chore(deps-dev): bump vite from 6.2.7 to 6.3.6 (#3409)

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.2.7 to 6.3.6.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.3.6/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.3.6/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.3.6
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update bug_report.yml

change default assignees

* Update ckb client versions (#3416)

feat: update ckb client versions

Co-authored-by: Keith-CY <7271329+Keith-CY@users.noreply.github.com>

* chore: remove font ProximaNova

* fix: spell fix

* chore: fix github actions node version

* Update ckb client versions (#3422)

feat: update ckb client versions

Co-authored-by: Keith-CY <7271329+Keith-CY@users.noreply.github.com>

* chore: fix broken url (#3413)

Signed-off-by: yajianggroup <yajianggroup@outlook.com>
Co-authored-by: zhangyaning <zhangyaning1985@gmail.com>
Co-authored-by: 郑州 <wzszhengzhou@hotmail.com>

* chore: update AppId (#3426)

* chore(deps): bump qs from 6.14.0 to 6.14.1 (#3425)

Bumps [qs](https://github.com/ljharb/qs) from 6.14.0 to 6.14.1.
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](ljharb/qs@v6.14.0...v6.14.1)

---
updated-dependencies:
- dependency-name: qs
  dependency-version: 6.14.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 郑州 <wzszhengzhou@hotmail.com>

* chore(deps): bump tar-fs from 2.1.3 to 2.1.4 (#3412)

Bumps [tar-fs](https://github.com/mafintosh/tar-fs) from 2.1.3 to 2.1.4.
- [Commits](mafintosh/tar-fs@v2.1.3...v2.1.4)

---
updated-dependencies:
- dependency-name: tar-fs
  dependency-version: 2.1.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: update neuron version

* chore: Update ckb node assume valid target (#3428)

chore: Update ckb node assume valid target for rc/v0.204.0.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update ckb client versions (#3429) (#3430)

feat: update ckb client versions

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Keith-CY <7271329+Keith-CY@users.noreply.github.com>

* chore: update CHANGELOG

* chore: update CHANGELOG

* chore: update CHANGELOG

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: yajianggroup <yajianggroup@outlook.com>
Co-authored-by: devchenyan <sgt39007@163.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Keith-CY <7271329+Keith-CY@users.noreply.github.com>
Co-authored-by: zhengzhou <zhengzhou@rivtower.com>
Co-authored-by: yajianggroup <yajianggroup@outlook.com>
Co-authored-by: zhangyaning <zhangyaning1985@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants