Closed chadoh closed 3 months ago
Fixed by increasing the starting token balance. The issue was that when the swap was constructed, it would simulate and the simulation would fail so the auth entries never got added to the transaction. Simulation would fail when it tried to simulate a transfer of tokens but the balance was not enough.
ohhhh 🤦🏼
ok, good to know that there's no order dependency. Should have checked for a simulation error right away.
The test added here is copying the first few steps of the previous test, "alice swaps bob 10 A for 1 B". For some reason, the second time you simulate this transaction, it is calculating that no non-invoker signing is needed! Haven't figured out why yet.
Note that this is an order-dependent test. The new one only functions as expected because mocha runs the tests in the same order every time.
See the failing test here on CI: