diff --git a/test/lib/YulDeployer.sol b/test/lib/YulDeployer.sol index 1e6e589..fe5051a 100644 --- a/test/lib/YulDeployer.sol +++ b/test/lib/YulDeployer.sol @@ -9,7 +9,7 @@ contract YulDeployer is Test { ///@param fileName - The file name of the Yul contract. For example, the file name for "Example.yul" is "Example" ///@return deployedAddress - The address that the contract was deployed to function deployContract(string memory fileName) public returns (address) { - string memory bashCommand = string.concat('cast abi-encode "f(bytes)" $(solc --yul yul/', string.concat(fileName, ".yul --bin | tail -1)")); + string memory bashCommand = string.concat('cast abi-encode "f(bytes)" $(solc --yul yul/', string.concat(fileName, ".yul --bin | tail -2)")); string[] memory inputs = new string[](3); inputs[0] = "bash";