From b46ed6b33564adbcb1386b50b7c089827b2c88e7 Mon Sep 17 00:00:00 2001 From: chriseth Date: Thu, 14 Jul 2022 17:56:29 +0200 Subject: [PATCH] Add pragma to stdlib itself. --- solstdlib/src/precompiles.sol | 2 ++ 1 file changed, 2 insertions(+) diff --git a/solstdlib/src/precompiles.sol b/solstdlib/src/precompiles.sol index dd9b4ea4f..301cd6c00 100644 --- a/solstdlib/src/precompiles.sol +++ b/solstdlib/src/precompiles.sol @@ -1,5 +1,7 @@ // SPDX-License-Identifier: Apache-2.0 +pragma stdlib; + function sha256(bytes memory input) returns (bytes32 ret) { assembly { let success := staticcall(gas(), 2, add(input, 32), mload(input), 0, 32)