Closed 0xpanicError closed 9 months ago
Description: The following test cases are failing when running forge test --via-ir in root directory.
forge test --via-ir
[FAIL. Reason: EvmError: Revert] testAddZ() (gas: 7664) [FAIL. Reason: EvmError: Revert] testCalcR() (gas: 7671) [FAIL. Reason: EvmError: Revert] testDivZ() (gas: 7814) [FAIL. Reason: EvmError: Revert] testFromPolar() (gas: 7426) [FAIL. Reason: EvmError: Revert] testMulZ() (gas: 7685) [FAIL. Reason: EvmError: Revert] testSubZ() (gas: 7801) [FAIL. Reason: EvmError: Revert] testToPolar() (gas: 7564)
Scope: The test file exists in test/Complex.t.sol The function called in are described by a wrapper: src/ComplexHuff/WRAPPER.huff and implemented in: src/ComplexHuff/Complex.huff
test/Complex.t.sol
src/ComplexHuff/WRAPPER.huff
src/ComplexHuff/Complex.huff
Objective: Fix the issue and make the test cases pass.
@blueh4mster fixed bugs such that all tests (except testFromPolar ) is passing.
testFromPolar
🐛 [BUG]
Description: The following test cases are failing when running
forge test --via-ir
in root directory.Scope: The test file exists in
test/Complex.t.sol
The function called in are described by a wrapper:src/ComplexHuff/WRAPPER.huff
and implemented in:src/ComplexHuff/Complex.huff
Objective: Fix the issue and make the test cases pass.