@@ -392,13 +392,13 @@ describe('Contract', function () {
392
392
393
393
it ( 'call contract/deploy with `waitMined: false`' , async ( ) => {
394
394
const deployed = await bytecode . deploy ( [ ] , { waitMined : false } )
395
- await contract . poll ( deployed . transaction , { interval : 50 , attempts : 1200 } )
395
+ await contract . poll ( deployed . transaction )
396
396
Boolean ( deployed . result === undefined ) . should . be . equal ( true )
397
397
Boolean ( deployed . txData === undefined ) . should . be . equal ( true )
398
398
const result = await deployed . call ( 'main' , [ '42' ] , { waitMined : false , verify : false } )
399
399
Boolean ( result . result === undefined ) . should . be . equal ( true )
400
400
Boolean ( result . txData === undefined ) . should . be . equal ( true )
401
- await contract . poll ( result . hash , { interval : 50 , attempts : 1200 } )
401
+ await contract . poll ( result . hash )
402
402
} )
403
403
404
404
it ( 'calls deployed contracts static' , async ( ) => {
@@ -645,13 +645,13 @@ describe('Contract', function () {
645
645
} )
646
646
it ( 'Deploy/Call contract with { waitMined: false }' , async ( ) => {
647
647
const deployed = await contractObject . methods . init ( '123' , 1 , 'hahahaha' , { waitMined : false } )
648
- await contract . poll ( deployed . transaction , { interval : 50 , attempts : 1200 } )
648
+ await contract . poll ( deployed . transaction )
649
649
Boolean ( deployed . result === undefined ) . should . be . equal ( true )
650
650
Boolean ( deployed . txData === undefined ) . should . be . equal ( true )
651
651
const result = await contractObject . methods . intFn . send ( 2 , { waitMined : false } )
652
652
Boolean ( result . result === undefined ) . should . be . equal ( true )
653
653
Boolean ( result . txData === undefined ) . should . be . equal ( true )
654
- await contract . poll ( result . hash , { interval : 50 , attempts : 1200 } )
654
+ await contract . poll ( result . hash )
655
655
} )
656
656
it ( 'Generate ACI object with corresponding bytecode' , async ( ) => {
657
657
await contract . getContractInstance ( testContract , { contractAddress : contractObject . deployInfo . address , filesystem, opt : { ttl : 0 } } )
0 commit comments