Open tzemanovic opened 3 years ago
there is an e2e test, maybe we can use the same test and submit txs twice?
there is an e2e test, maybe we can use the same test and submit txs twice?
The e2e is using the matchmaker compiled to wasm, which is harder to debug (we'll just get the same error trace as above). If we can reproduce the same issue without compiling to wasm (in e.g. a unit test), it should be easier to see where it's crashing. The matchmaker could benefit from having some unit tests anyway
Can we build a version of the matchmaker just natively? The WASM execution is nice but the matchmaker doesn't run in consensus anyways so it really doesn't matter that much, and native performance may be important for production cases.
When I repeatedly submit the 3 intents from README to the RPC, it caused the matchmaker to crash. This seems to happen somewhere in these lines of
wasm/wasm_source/src/mm_token_exch.rs
:Trace:
┆Issue is synchronized with this Asana task by Unito