Closed
Description
I have recently updated my zkApp https://mac.sqrtxx.com/ from SnarkyJS
version 0.7.3
to o1js
version 0.14.*
and I noticed my automated tests started to fail.
The codebase is pretty big and confusing, so before asking for help I traced down the problem and made an isolated example. It turned out that the Escrow example is no longer working:
I made a whole separate repo that helps check it and reproduce, repo is
https://github.com/sqrt-xx/o1js-escrow-problem/
The way to reproduce is:
- Clone the repo
- Install the dependencies
npm install
- Run the tests
npm run test
What happens is, Escrow contract gets compiled and deployed, then one of tests accounts does the deposit to the contract. Test fails because the balance of the contract does not increase and balance of deposit account does not decrease.
Metadata
Metadata
Assignees
Labels
No labels