flow-js-testing
flow-js-testing copied to clipboard
Investigate CLI updates which lead to emulator incompatibility
Details
CLI changes in 0.31.0 brought new flag --admin-port which broke the whole workflow for users of flow-js-testing.
Later 0.31.1 should have been a simple update for Cadence dependency, but made things worse.
Progress
- [ ] Check
AccountAdded/AccountCreatedhypothesis from #87- Revert to
0.30.0and check that it works with previous codebase
- Revert to
@MaxStalker Is there any reasonable way to downgrade CLI with Homebrew for M1 Macs? Brew seems to hold only the latest version.
@adbario why do you want to downgrade ?
you can downgrade with install script:
For example:
sh -ci "$(curl -fsSL https://storage.googleapis.com/flow-cli/install.sh)" -- v0.33.3
@bluesign @MaxStalker There are quite a few issues with the latest flow-js-testing, but it's still alpha which makes it quite understandable. I'm not able to use the latest two versions at all, as both of them have different issues. Will do more testing on these today though.
So, while it's pretty unlikely, was thinking to see if downgrading the CLI makes any difference, and this topic seemed to be the best place to drop the question.
I believe the install script won't work on M1 Macs based on the docs. If I'm not wrong, on M1 Macs Homebrew is the only installation option, and they only allow you to set up 0.39.3 which is not even the latest version.
This is a great package, just needs a bit more maintenance. I will do my best to help whenever possible; got one PR pending already and also created type definitions for the main API functions.
Anyways, great work everyone 🚀
Much appreciated @adbario!