@@ -114,13 +114,8 @@ export class DeployContractHandler extends BaseToolHandler {
114114 const callbacks = { continueCb : ( error , continueTxExecution , cancelCb ) => {
115115 continueTxExecution ( )
116116 } , promptCb : ( ) => { } , statusCb : ( error ) => {
117- console . log ( error )
118- return this . createErrorResult ( `Deployment error: ${ error . message || error } ` ) ;
119117 } , finalCb : ( error , contractObject , address : string , txResult : TxResult ) => {
120- if ( error ) {
121- reject ( error )
122- return this . createErrorResult ( `Deployment error: ${ error . message || error } ` ) ;
123- }
118+ if ( error ) reject ( error )
124119 resolve ( { contractObject, address, txResult } )
125120 } }
126121 const confirmationCb = ( network , tx , gasEstimation , continueTxExecution , cancelCb ) => {
@@ -308,7 +303,6 @@ export class CallContractHandler extends BaseToolHandler {
308303
309304 // TODO: Execute contract call via Remix Run Tab API
310305 const receipt = ( txReturn . txResult . receipt )
311- console . log ( 'function call transaction payload:' , txReturn )
312306 const result : ContractInteractionResult = {
313307 result : isView ? txFormat . decodeResponse ( txReturn . txResult . result , funcABI ) : txReturn . returnValue ,
314308 transactionHash : isView ? txReturn . txResult . transactionHash : receipt . hash ,
0 commit comments