### ECAD Labs Test Report # Errors observed in Taquito Integration Tests with locally hosted Flextesa This report presents the errors observed during the Taquito Integration Tests with locally hosted Flextesa. The errors have been categorized and possible common causes have been suggested. ## Category: Delegate Management :ballot_box_with_check: (addressed by PR: https://github.com/ecadlabs/taquito/pull/2477) - **Test 1 (`./contract-multisig-set-and-remove-delegate.spec.ts`)**: The test failed due to a `TezosOperationError` with the message `(temporary) proto.016-PtMumbai.delegate.already_active`. - **Possible common cause**: The delegate is already active, and the test is trying to set the delegate again. - **Suggestion**: Check the logic in your test or implementation to ensure that you're not setting the delegate when it's already active. ## Category: Metadata Integrity :x: - **Test 2 (`./tzip16-originate-contracts-with-metadata-on-HTTPS-and-sha256-hash-and-fetch-metadata.spec.ts`)**: The test failed because the expected value of `metadata.integrityCheckResult` is `true`, but the received value is `false`. - **Possible common cause**: Issue with the integrity check of the metadata. - **Suggestion**: Investigate the metadata fetching and integrity check process to identify the cause of the discrepancy. ## Category: Mempool Conflicts :x: - **Test 3 (`./tzip16-non-compliant-contract.spec.ts`)** and **Test 4 (`./wallet-originate-contract-with-sapling.spec.ts`)**: Both tests failed due to an `HttpResponse` error with a 500 status code, indicating conflicting operations in the mempool. - **Possible common cause**: Conflicting operations in the mempool. - **Suggestion**: Investigate the operations being sent to the mempool and ensure that there are no conflicting operations. ## Category: Confirmation Process :x: - **Test 5 (`./contract-init-with-empty-bigmap.spec.ts`)** and **Test 7 (`./wallet-handling-missed-blocks.spec.ts`)**: Both tests failed due to a timeout error caused by the confirmation polling timing out. - **Possible common cause**: Slow network connection or problem with the confirmation process. - **Suggestion**: Increase the timeout value or investigate the issue further to ensure that the confirmation process is working correctly. ## Category: Sapling Transactions :ballot_box_with_check: - **Test 6 (`./sapling-transactions-proof-using-proving-key.spec.ts`)**: The test failed due to multiple issues, including timeouts, `TypeError: Cannot read property 'address' of undefined`, and an `HttpResponse` error with a 500 status code. - **Possible common cause**: Slow network connections, problems with the confirmation process, or issues with the sapling transaction process. - **Suggestion**: Investigate each issue separately and make any necessary adjustments to the test or implementation to resolve the errors. ## Category: Contract Origination and Metadata Fetching :x: - **Test 8 (`./contract-batch.spec.ts`)** and **Test 9 (`./tzip12-token-metadata.spec.ts`)**: Both tests failed due to multiple issues, including an `HttpResponse`. - **Possible common cause**: Issues with contract origination or metadata fetching. - **Suggestion**: Investigate the contract origination and metadata fetching process to identify the cause of the errors.