Adds new capabilities to TXE, and a proper TokenContract suite to showcase them:
Private -> Public calls
Public -> Public calls
Actual account contract deployment for complex interactions
Auhtwits, both public and private
Note cache storage
Speed improvements
The full test suite is comparable to the e2e one (with some caveats, some things just cannot be tested yet using TXE), but runs significantly faster. Interestingly, runs faster on an M3 macbook than on mainframe (120s vs. 240s).
e2e tests take more than 600s (without stored snapshots), but the gap increases as we reduce the amount of tests launched simultaneously. An unconstrained private transfer runs in less than 10s using TXE!
If launching many tests in parallel, it is recommended to increase the nargo timeout for foreign calls to avoid timeout errors: NARGO_FOREIGN_CALL_TIMEOUT=300000
Adds new capabilities to TXE, and a proper
TokenContract
suite to showcase them:The full test suite is comparable to the e2e one (with some caveats, some things just cannot be tested yet using TXE), but runs significantly faster. Interestingly, runs faster on an M3 macbook than on mainframe (120s vs. 240s).
e2e tests take more than 600s (without stored snapshots), but the gap increases as we reduce the amount of tests launched simultaneously. An unconstrained private transfer runs in less than 10s using TXE!
If launching many tests in parallel, it is recommended to increase the nargo timeout for foreign calls to avoid timeout errors:
NARGO_FOREIGN_CALL_TIMEOUT=300000
Closes https://github.com/AztecProtocol/aztec-packages/issues/7086