aleeusgr / potential-robot

minimal dApp testing suite
MIT License
3 stars 1 forks source link

Helios 14 #107

Closed aleeusgr closed 1 year ago

aleeusgr commented 1 year ago
 FAIL  tests/helios-vesting-lock.test.ts > a vesting contract lockAda transaction > tests lockAda tx import            
Error: TypeError on line 7: expected 2 args for main                                                                   
 ❯ Function.new node_modules/@hyperionbt/helios/helios.js:1421:10                                                      
 ❯ Function.typeError node_modules/@hyperionbt/helios/helios.js:1463:30                                                
 ❯ Site.typeError node_modules/@hyperionbt/helios/helios.js:1338:20                                                    
 ❯ FuncStatement.typeError node_modules/@hyperionbt/helios/helios.js:1735:21                                           
 ❯ MintingProgram.evalTypesInternal node_modules/@hyperionbt/helios/helios.js:36832:15                                 
 ❯ MintingProgram.evalTypes node_modules/@hyperionbt/helios/helios.js:37134:15                                         
 ❯ Function.new node_modules/@hyperionbt/helios/helios.js:36016:28                                                     
 ❯ Module.lockAda src/lockAda.ts:46:56                                                                                 
     46|  tx.addInputs(inputUtxos);                                                                                    
     47|                                                                                                               
     48|  const mintScript =`minting nft     
aleeusgr commented 1 year ago

https://www.hyperion-bt.org/helios-book/lang/script-structure.html?highlight=script#structure-of-a-script

aleeusgr commented 1 year ago

https://github.com/aleeusgr/potential-robot/pull/76/commits/805ef82951617ac1d25d1b918103d9e514ab02dd