Skip to content

Observed "deployment.spec.ts" is failing with error "TypeError: Cannot read property 'equal' of undefined" #252

@shamb0

Description

@shamb0

Hi,

Observed "deployment.spec.ts" is failing with error

TypeError: Cannot read property 'equal' of undefined

Compiled 61 contracts successfully


  Contract Deployment
    deployAllContracts
      1) should deploy contracts in a default configuration


  0 passing (2s)
  1 failing

  1) Contract Deployment
       deployAllContracts
         should deploy contracts in a default configuration:
     TypeError: Cannot read property 'equal' of undefined
      at Object.values.forEach (test/deployment/deployment.spec.ts:36:41)
      at Array.forEach (<anonymous>)
      at Context.it (test/deployment/deployment.spec.ts:34:58)
      at process._tickCallback (internal/process/next_tick.js:68:7)



error Command failed with exit code 1.

And failure was not observed, when expect is imported from setup is modified as below ...

Compiled 61 contracts successfully


  Contract Deployment
    deployAllContracts
gasConsumer::true
l1ToL2TransactionQueue::true
safetyTransactionQueue::true
canonicalTransactionChain::true
stateCommitmentChain::true
stateManager::true
stateManagerGasSanitizer::true
executionManager::true
safetyChecker::true
fraudVerifier::true
rollupMerkleUtils::true
      ✓ should deploy contracts in a default configuration (1014ms)


  1 passing (2s)

Done in 26.03s.

Any idea whats happening behing the scene ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions