mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
zkas: Enable regression_001 test
This commit is contained in:
@@ -280,10 +280,11 @@ mod tests {
|
||||
let _dec = ZkBinary::decode(&data);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn panic_regression_001() {
|
||||
// Out-of-memory panic from string deserialization.
|
||||
// Read `doc/src/zkas/bincode.md` to understand the input.
|
||||
let data = vec![11u8, 1, 177, 53, 1, 0, 0, 0, 0, 255, 0, 204, 200, 72, 72, 72, 72, 1];
|
||||
let _dec = ZkBinary::decode(&data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user