@msafe/sui3-sdk 0.0.53-pre-a13aa8b.0 → 0.0.53-pre-caa8db0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +6 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/core/MSafeAccount.ts +6 -2
package/dist/index.cjs
CHANGED
|
@@ -43736,11 +43736,15 @@ var MSafeAccount = class _MSafeAccount {
|
|
|
43736
43736
|
}
|
|
43737
43737
|
}
|
|
43738
43738
|
const multiSignature = this.multiSig.combinePartialSignatures(sortedSigs);
|
|
43739
|
-
|
|
43739
|
+
console.log("\u{1F680} ~ MSafeAccount ~ executePendingTx ~ payload:", payload);
|
|
43740
43740
|
console.log(
|
|
43741
43741
|
"\u{1F680} ~ MSafeAccount ~ executePendingTx ~ result:",
|
|
43742
|
-
this.multiSig.publicKeys.map((it2) => it2.publicKey.
|
|
43742
|
+
this.multiSig.publicKeys.map((it2) => [it2.publicKey.toBase64(), it2.weight]),
|
|
43743
|
+
this.multiSig.publicKey.toBase64(),
|
|
43744
|
+
this.multiSig.publicKey.getThreshold(),
|
|
43745
|
+
this.multiSig.publicKey.toSuiAddress()
|
|
43743
43746
|
);
|
|
43747
|
+
const result = await this.multiSig.publicKey.verifyTransactionBlock(HexToUint8Array(payload), multiSignature);
|
|
43744
43748
|
console.log("\u{1F680} ~ MSafeAccount ~ executePendingTx ~ result:", result);
|
|
43745
43749
|
console.log("\u{1F680} ~ MSafeAccount ~ executePendingTx ~ multiSignature:", sortedSigs, multiSignature);
|
|
43746
43750
|
return this.suiClient.executeTransactionBlock({
|