Bump minimum pragma version to 0.8.19 (#4288)
This commit is contained in:
@ -3,7 +3,7 @@ const { OPTS } = require('./Checkpoints.opts.js');
|
||||
|
||||
// TEMPLATE
|
||||
const header = `\
|
||||
pragma solidity ^0.8.0;
|
||||
pragma solidity ^0.8.19;
|
||||
|
||||
import "../math/Math.sol";
|
||||
import "../math/SafeCast.sol";
|
||||
|
||||
@ -4,7 +4,7 @@ const { OPTS } = require('./Checkpoints.opts.js');
|
||||
|
||||
// TEMPLATE
|
||||
const header = `\
|
||||
pragma solidity ^0.8.0;
|
||||
pragma solidity ^0.8.19;
|
||||
|
||||
import "forge-std/Test.sol";
|
||||
import "../../../contracts/utils/math/SafeCast.sol";
|
||||
|
||||
@ -10,7 +10,7 @@ const TYPES = [
|
||||
|
||||
/* eslint-disable max-len */
|
||||
const header = `\
|
||||
pragma solidity ^0.8.0;
|
||||
pragma solidity ^0.8.19;
|
||||
|
||||
import "./EnumerableSet.sol";
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ const TYPES = [
|
||||
|
||||
/* eslint-disable max-len */
|
||||
const header = `\
|
||||
pragma solidity ^0.8.0;
|
||||
pragma solidity ^0.8.19;
|
||||
|
||||
/**
|
||||
* @dev Library for managing
|
||||
|
||||
@ -61,7 +61,7 @@ const version = (selector, length) => {
|
||||
};
|
||||
|
||||
const header = `\
|
||||
pragma solidity ^0.8.0;
|
||||
pragma solidity ^0.8.19;
|
||||
|
||||
/**
|
||||
* @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow
|
||||
|
||||
@ -18,7 +18,7 @@ const VERSIONS = unique(TYPES.map(t => t.version)).map(
|
||||
);
|
||||
|
||||
const header = `\
|
||||
pragma solidity ^0.8.0;
|
||||
pragma solidity ^0.8.19;
|
||||
|
||||
/**
|
||||
* @dev Library for reading and writing primitive types to specific storage slots.
|
||||
|
||||
@ -87,7 +87,7 @@ index 9fc95518..53130e3c 100644
|
||||
|
||||
@@ -35,10 +38,11 @@ Once installed, you can use the contracts in the library by importing them:
|
||||
```solidity
|
||||
pragma solidity ^0.8.0;
|
||||
pragma solidity ^0.8.19;
|
||||
|
||||
-import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
|
||||
+import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol";
|
||||
@ -190,7 +190,7 @@ index 6a4e1cad..55d8eced 100644
|
||||
--- a/contracts/utils/cryptography/EIP712.sol
|
||||
+++ b/contracts/utils/cryptography/EIP712.sol
|
||||
@@ -4,7 +4,6 @@
|
||||
pragma solidity ^0.8.8;
|
||||
pragma solidity ^0.8.19;
|
||||
|
||||
import "./ECDSA.sol";
|
||||
-import "../ShortStrings.sol";
|
||||
|
||||
Reference in New Issue
Block a user