txpipe / pallas

Rust-native building blocks for the Cardano blockchain ecosystem
Apache License 2.0
140 stars 58 forks source link

Add some tests for ref_exp #479

Closed AndrewWestberg closed 2 months ago

AndrewWestberg commented 2 months ago

This PR isn't ready, but I need more eyes on it. It's a bit of unsafe hell in Rust and I'm not very familiar with how to debug unsafe code. If I allow it to run more than 10 test loops, the code crashes out with a realloc() error. I've stared at the code for hours and can't figure out where I'm screwing up.