From 99c4915221d3eb4add4b6943d6a5d9203f41c91a Mon Sep 17 00:00:00 2001 From: Vectorized Date: Sat, 7 Dec 2024 02:41:53 +0000 Subject: [PATCH] T --- test/ext/ithaca/BLS.t.sol | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/ext/ithaca/BLS.t.sol b/test/ext/ithaca/BLS.t.sol index ee2f88f97..3aed23d7e 100644 --- a/test/ext/ithaca/BLS.t.sol +++ b/test/ext/ithaca/BLS.t.sol @@ -100,9 +100,12 @@ contract BLSTest is SoladyTest { function hashToCurveG2Optimized(bytes memory message) public view - returns (BLS.G2Point memory) + returns (BLS.G2Point memory result) { - return BLS.hashToG2(message); + _misalignFreeMemoryPointer(); + _brutalizeMemory(); + result = BLS.hashToG2(message); + _checkMemory(); } /// @notice Computes a point in G2 from a message