BlockstreamResearch / simfony

Rust-like high-level language that compiles down to Simplicity bytecode. Work in progress.
26 stars 9 forks source link

Fix integration tests #97

Closed uncomputable closed 3 weeks ago

uncomputable commented 3 weeks ago

Bring the integration tests up to speed with Liquid testnet. Fix a bug that the fuzzer found.

apoelstra commented 3 weeks ago

Nice! Will test and ACK.

Unfortunately I can't test the integration tests locally unless the integration test crate were part of the workspace and if the lockfiles were polluted with all the integration test deps (which is part of why the integration tests are not part of the workspace..).

It's easy for me to patch Cargo.toml before testing to add stuff to the workspace, but not so easy to patch the lockfiles :(. This is something I might be able to address when I migrate to flakes, since I need to do some significant rearchitecting of my configuration when I do that anyway.

uncomputable commented 3 weeks ago

The integration tests are pretty expensive to run. In particular, you have to build elementsd from source :/ When I flesh out the integration tests more, I will think of ways to integrate them into CI. This should also help you with your local CI.