Skip to content

Signing multisig without add-signaure params also updates the info.json #658

@RetricSu

Description

@RetricSu

I am using ckb-cli 2.0.0 version. During the upgrades of nostr-binding scripts on mainnet, I noticed that there is confusing part of ckb-cli, where I sign multisig with ckb-cli without adding the option --add-signature but the info.json still got updated, which is very confused to me. is that a bug or expected behavior?

Signing the multisig:

ckb-cli --url https://mainnet.ckb.dev deploy sign-txs \
    --from-account ckb1qyqysn2jjy7xr59qwajnqqytvdtmj0jdp0cs6qr8r6 \
    --info-file info.json 
Password: 
cell_tx_signatures:
  0xd4ade5100cf112c9cd3e8da12ae5fc6153293087: 0xc1021d3b422d7e5a4969c7638948015c2255e44ff38482cfe5b7e729d4bb377132d91f587922bc4f9d42f4f72d8ca70d006b917a5e6942fc758c7c687b5c188501

info.json file still got modified:

 ✘  ~/Desktop/nostr-binding/deployment/mainnet/nostr-binding-type-script   main ±  git diff info.json | head -n 20
diff --git a/deployment/mainnet/nostr-binding-type-script/info.json b/deployment/mainnet/nostr-binding-type-script/info.json
index a01e487..91f2f00 100644
--- a/deployment/mainnet/nostr-binding-type-script/info.json
+++ b/deployment/mainnet/nostr-binding-type-script/info.json
@@ -54,7 +54,7 @@
     "dep_group_recipes": []
   },
   "used_input_txs": {
-    "0x0135d9b7f3232bc6fa1ce4e64101235f2d98972b42a9ff90e54cbe58d996eb2b": {
+    "0x86d21ad7d41c5b16e18f6e74a1a603ec398ca03b9d604d46e406f9acca88e7bd": {
       "version": "0x0",
       "cell_deps": [
         {
@@ -63,6 +63,13 @@
             "index": "0x0"
           },
           "dep_type": "dep_group"
+        },
+        {
+          "out_point": {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions