From b6678a126065c835d68cd702a54a6383bf68956d Mon Sep 17 00:00:00 2001 From: "Supernovahs.eth" <91280922+supernovahs@users.noreply.github.com> Date: Sat, 19 Aug 2023 20:07:15 +0530 Subject: [PATCH] Update YulDeployer.sol --- test/lib/YulDeployer.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";