1 2 3 4 5 6 7 8
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract EvmCompatBlockhashError { function getBlockHash(uint256 n) public view returns (bytes32) { return blockhash(n); } }