TezosTaqueria / taqueria

*BETA* Taqueria provides a seamless development workflow to easily build, test and deploy your Tezos applications.
https://taqueria.io
Apache License 2.0
64 stars 20 forks source link

Use official Tzkt images and increase test coverage #1933

Closed ManasJayanth closed 8 months ago

ManasJayanth commented 8 months ago

๐ŸŒฎ Taqueria PR

๐Ÿช Description

As mentioned in https://github.com/pinnacle-labs/taqueria/issues/1932, we wish to start using official docker images for Tzkt, ie the ones hosted on Docker Hub under bakingbad. This PR addresses it.

๐Ÿช‚ Pre-Merge Checklist (Definition of Done)

๐Ÿšฆ Required to merge:

๐Ÿ›ฉ๏ธ Summary of Changes

This PR does this, and increases end-to-end test coverage by checking against the state in Tzkt indexer everytime a contract is deployed. In doing so, it fixes the block explorer TreeView in the VSCode extension. It seem appropriate to add a test for it too (cheers!).

Screenshots of the mini block explorer now.

Screenshot 2024-01-10 at 8 16 04โ€ฏAM

After a contract deployment

Screenshot 2024-01-10 at 8 48 51โ€ฏAM

Note: to help with local workflow I had to disable husky hooks. Before we merge, we can enable them again. To see if the CI is still green, I had disabled a lot of jobs to see the output of the relevant jobs. We can revert this too after a first round of review.

๐ŸŽข Test Plan

There are two tests to be run,

  1. end-to-end test for flextesa (since this PR updates Tzkt images): npm run test:e2e flextesa --testNamePattern=slow
  2. Newly added VSCode extension tests for the mini block explorer: cd taqueria-vscode-extension && npm test VSCode tests were broken earlier and weren't running. They have been fixed in https://github.com/pinnacle-labs/taqueria/commit/df6e9ceb1832568b2725e2031802f3507af87330

๐Ÿ›ธ Type of Change

github-actions[bot] commented 8 months ago

Published Binaries & Packages

Published Version
Taq Binary (MacOS) 0.46.23
Taq Binary (Windows) 0.46.23
VSIX for VSCode Extension 0.46.23
@taqueria/lib-ligo 0.46.23
@taqueria/plugin-archetype 0.46.23
@taqueria/plugin-contract-types 0.46.23
@taqueria/plugin-core 0.46.23
@taqueria/plugin-flextesa 0.46.23
@taqueria/plugin-helloworld 0.46.23
@taqueria/plugin-ipfs-pinata 0.46.23
@taqueria/plugin-jest 0.46.23
@taqueria/plugin-ligo 0.46.23
@taqueria/plugin-ligo-legacy 0.46.23
@taqueria/plugin-metadata 0.46.23
@taqueria/plugin-octez-client 0.46.23
@taqueria/plugin-smartpy 0.46.23
@taqueria/plugin-smartpy-legacy 0.46.23
@taqueria/plugin-taquito 0.46.23
@taqueria/protocol 0.46.23
@taqueria/node-sdk 0.46.23
@taqueria/toolkit 0.46.23

Note: You can install the latest development version of a package with taq install @taqueria/[packageName]@dev.