neo-one icon indicating copy to clipboard operation
neo-one copied to clipboard

Compiler tests that are currently still failing and need to be looked at

Open spencercorwin opened this issue 3 years ago • 0 comments

As of Preview3 update. Most of these are failing due to test setup problems that haven't been looked at yet and not necessarily because the compiler isn't working:

  • [ ] ForwardValue/index.test.ts
    • Needs deploy method in manifest
  • [ ] /contract/arrayStorage.test
    • Iteration test apparently doesn't persist storage
  • [ ] ArrayLiteralExpressionCompiler.test.ts
    • Spread operators failing
    • Needs contract permissions
  • [ ] ContractInfoProcessor.test.ts
    • Come back to this when @receive decorator is resolved. Likely can delete most tests since @receive decorator is likely not needed any more
  • [ ] getSemanticDiagnostics.test.ts
  • [ ] /compile/helper/contract/
    • Need to fix deploy method
    • Probably also need to fix contract permissions
  • [ ] log.test.ts
    • Logging objects and arrays
    • Logging across contracts. Contracts need permissions
  • [ ] Address/isCaller.test.ts
    • Contracts need permissions
  • [ ] LinkedSmartContract/for.test.ts
    • Contract need permissions
  • [ ] /smartContract
    • for.test.ts
      • Contracts need permissions
    • upgrade.test.ts
      • Contracts need permissions
      • Need to fix upgrade method helper
      • Need to make sure approveUpgrade method is implemented correctly
  • [ ] /contract/block.test.ts
    • Our node apparently can't get info from blockchain?
  • [ ] /contract/blockchaint.test.ts
    • currentCallerContract test needs permissions
    • currentTransaction
      • Problem with not enough GAS to finish test?
      • Problem with Transaction.height API?
  • [ ] /statement/SwitchStatementCompiler.test.ts
    • Weird behavior with RET from ResolvedScope
  • [ ] MapStorage, SetStorage
    • Key size too large. Look in SetStructuredStorageHelper and GetStructuredStorageHelper

spencercorwin avatar Jun 17 '21 00:06 spencercorwin