File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -727,9 +727,15 @@ export class Commands {
727727
728728 const escrow = new EscrowContract (
729729 getAddress ( parsedProviderInitializeComputeJob . payment . escrowAddress ) ,
730- this . signer
730+ this . signer ,
731+ Number ( chainId )
731732 )
732733 console . log ( "Verifying payment..." ) ;
734+ console . log ( 'parsedProviderInitializeComputeJob.payment.amount' , parsedProviderInitializeComputeJob . payment . amount )
735+ console . log ( 'parsedProviderInitializeComputeJob.payment.minLockSeconds' , parsedProviderInitializeComputeJob . payment . minLockSeconds )
736+ console . log ( 'computeEnv.consumerAddress' , computeEnv . consumerAddress )
737+ console . log ( 'paymentToken' , paymentToken )
738+ await new Promise ( resolve => setTimeout ( resolve , 10000 ) )
733739 const validationEscrow = await escrow . verifyFundsForEscrowPayment (
734740 paymentToken ,
735741 computeEnv . consumerAddress ,
@@ -738,6 +744,7 @@ export class Commands {
738744 parsedProviderInitializeComputeJob . payment . minLockSeconds . toString ( ) ,
739745 '10'
740746 )
747+ console . log ( 'validationEscrow' , validationEscrow )
741748 if ( validationEscrow . isValid === false ) {
742749 console . error (
743750 "Error starting compute job dataset DID " +
You can’t perform that action at this time.
0 commit comments