Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(sui): fix PTB upgrade command (#20936)
# Description of change Fix the PTB upgrade command by converting the package_digest to a vector instead of an array, because the .pure() function otherwise doesn't add the required length prefix byte. Porting over iotaledger/iota#4960 ## Type of change - Bug fix (a non-breaking change which fixes an issue) ## How the change has been tested Upgrading a package with a PTB command: `sui client ptb --assign upgrade_cap @0x6ed2d8b8587fd559e19e1c9d17a9ce8349abe32ff423df73ddfa2056759e90fc --upgrade . upgrade_cap` https://testnet.suivision.xyz/txblock/44egvNom79HtLwQinXcpenLbYfex3QSDriGzBpfk58Yx
- Loading branch information