Closed XuJiandong closed 3 months ago
It happens in multisig scenario. The delta is computed as 1591 - 1506, resulting in 85. Interestingly, this value aligns precisely with the combined size of a pubkey hash (20) and a signature (65). I am contemplating whether there could be an error in the witness calculation for multisig. See:
Please find the attached info.json used in deployment with the transaction.
The expected fee-rate is 1600 but actually it is lower than that.
I simulated twice multisig contract(omnilock) deployments, one new deploy and one upgraded deploy, and both were successful at the default fee-rate of 1000.
ckb-cli version: v1.8.0-rc1
Rejected with following information:
There is not enough fee after balancing:
https://github.com/nervosnetwork/ckb-cli/blob/c9d814defe063592ed9fdc7986b6fee5753cb462/src/subcommands/deploy/tx_builder.rs#L137
Increasing fee-rate to 1200 can solve this issue.