File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -56,20 +56,19 @@ describe("Ed25519", () => {
5656 it ( "sign and verify with MPC Ed25519" , async ( ) => {
5757 const owner = readKpJson ( `${ os . homedir ( ) } /.config/solana/id.json` ) ;
5858
59+ const mxePublicKey = await getMXEPublicKeyWithRetry (
60+ provider as anchor . AnchorProvider ,
61+ program . programId
62+ ) ;
63+ console . log ( "MXE x25519 pubkey:" , mxePublicKey ) ;
64+
5965 console . log ( "Initializing computation definitions" ) ;
6066 const initSMSig = await initSignMessageCompDef ( program , owner , false , false ) ;
6167 console . log ( "Sign message computation definition initialized with signature" , initSMSig ) ;
6268
6369 const initVSSig = await initVerifySignatureCompDef ( program , owner , false , false ) ;
6470 console . log ( "Verify signature computation definition initialized with signature" , initVSSig ) ;
6571
66- const mxePublicKey = await getMXEPublicKeyWithRetry (
67- provider as anchor . AnchorProvider ,
68- program . programId
69- ) ;
70-
71- console . log ( "MXE x25519 pubkey:" , mxePublicKey ) ;
72-
7372 console . log ( "\nSigning message with MPC Ed25519" ) ;
7473 let message = new TextEncoder ( ) . encode ( 'hello' ) ;
7574
You can’t perform that action at this time.
0 commit comments