Closed young-mu closed 6 years ago
you need to add --skip-sign
in "push transaction" otherwise cleos will add extra signatures.
@taokayan
Oops... okay, after adding this option, it works for higher version cleos.
This is break change for this subcommand, lower version cleos push transaction
skips signing as default but higher version don't skip signing as default. So, please update the related reference doc, in case that others make the same mistake.
Documentation update in progress.
I refer to this doc upgrading-the-system-contract to upgrade system contract.
This can be done using cleos with version v1.1.1 but failed with version v1.2.4, v1.2.5 and latest develop branch (45e609fe7). So may be this is a regression if the related command usages are not changed.
Below are my operations.
(I tested in branch v1.2.4, v1.2.5, and latest develop branch (45e609fe7))
expiration
fieldIn upgrade_multisig_contract_official_trx.json and upgrade_multisig_contract_official_trx_signed.json, modify
expiration
value to a time that is in the future but less than 1 hour. (for example, the original value is2018-09-18T07:51:18
, the changed value is2018-09-18T08:41:18
)get the signaures field value of output.
add the three signatures (prefix is "SIG_") in signatures field. Like
Then error occurs
But when I change to v1.1.1 cleos binary and execute this flow, it works with the following logs.