File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -78,7 +78,6 @@ describe("CLI generate command", () => {
7878 await installContract ( "customTypes" ) ;
7979 const wasmHash = contracts . customTypes . hash ;
8080 if ( ! wasmHash ) {
81- console . log ( "Skipping test: WASM hash not available" ) ;
8281 return ;
8382 }
8483
Original file line number Diff line number Diff line change @@ -110,12 +110,11 @@ const installContract = async (
110110 const internalKeypair = keypair ?? ( await generateFundedKeypair ( ) ) ;
111111
112112 let wasmHash = contracts [ name ] . hash ;
113- console . log ( "in installContract, wasmHash:" , wasmHash ) ;
113+
114114 if ( ! wasmHash ) {
115115 wasmHash = run (
116116 `${ stellar } contract upload --wasm ${ contracts [ name ] . path } ` ,
117117 ) . stdout ;
118- console . log ( "wasm hash didn't exist, so uploaded and got:" , wasmHash ) ;
119118 }
120119 return { keypair : internalKeypair , wasmHash } ;
121120} ;
@@ -145,7 +144,7 @@ const clientFor = async (
145144 const { wasmHash } = await installContract ( name , {
146145 keypair : internalKeypair ,
147146 } ) ;
148- console . log ( `wasmHash for ${ name } : ${ wasmHash } <========` ) ;
147+
149148 const deploy = await contract . Client . deploy (
150149 ( contracts [ name ] as any ) . constructorArgs ?? null ,
151150 {
You can’t perform that action at this time.
0 commit comments