nation3 / agreements-contracts

Smart contracts for the Nation3 Agreements
GNU General Public License v3.0
4 stars 5 forks source link

Fix broken CI #8

Closed aahna-ashina closed 8 months ago

aahna-ashina commented 8 months ago

https://github.com/nation3/agreements-contracts/actions/runs/8076653635/job/22065472624

Error: Compiler run failed: Error: Compiler error (/solidity/libsolidity/codegen/LValue.cpp:52):Stack too deep. Try compiling with --via-ir (cli) or the equivalent viaIR: true (standard JSON) while enabling the optimizer. Otherwise, try removing local variables. CompilerError: Stack too deep. Try compiling with --via-ir (cli) or the equivalent viaIR: true (standard JSON) while enabling the optimizer. Otherwise, try removing local variables. --> lib/permit2/src/SignatureTransfer.sol:90:45: | 90 | permit, transferDetails, owner, permit.hashWithWitness(witness, witnessTypeString), signature | ^^^^^^

aahna-ashina commented 8 months ago

Fixed: https://github.com/nation3/agreements-contracts/commit/7f940742385fdeb0b4b1b05e7a98d5b9ef6fd8a9