Update solidity to 0.8.23
This commit is contained in:
parent
862ea56e8b
commit
f3e2186ec2
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: MIT
|
||||
pragma solidity ^0.8.8;
|
||||
pragma solidity 0.8.23;
|
||||
|
||||
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: MIT
|
||||
pragma solidity ^0.8.8;
|
||||
pragma solidity 0.8.23;
|
||||
|
||||
contract Endian {
|
||||
/// reverses byte order to allow conversion between little endian and big
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: MIT
|
||||
pragma solidity ^0.8.8;
|
||||
pragma solidity 0.8.23;
|
||||
|
||||
struct G1Point {
|
||||
uint x;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: MIT
|
||||
pragma solidity ^0.8.8;
|
||||
pragma solidity 0.8.23;
|
||||
|
||||
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
||||
import "@openzeppelin/contracts/utils/math/Math.sol";
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: MIT
|
||||
pragma solidity ^0.8.8;
|
||||
pragma solidity 0.8.23;
|
||||
|
||||
contract Periods {
|
||||
type Period is uint256;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: MIT
|
||||
pragma solidity ^0.8.8;
|
||||
pragma solidity 0.8.23;
|
||||
|
||||
import "./Configuration.sol";
|
||||
import "./Requests.sol";
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: MIT
|
||||
pragma solidity ^0.8.8;
|
||||
pragma solidity 0.8.23;
|
||||
|
||||
type RequestId is bytes32;
|
||||
type SlotId is bytes32;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: MIT
|
||||
pragma solidity ^0.8.8;
|
||||
pragma solidity 0.8.23;
|
||||
|
||||
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
|
||||
import "./Requests.sol";
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: MIT
|
||||
pragma solidity ^0.8.8;
|
||||
pragma solidity 0.8.23;
|
||||
|
||||
import "./Verifier.sol";
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: MIT
|
||||
pragma solidity ^0.8.8;
|
||||
pragma solidity 0.8.23;
|
||||
|
||||
interface IVerifier {
|
||||
function verifyProof(
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
// SPDX-License-Identifier: MIT
|
||||
pragma solidity ^0.8.8;
|
||||
pragma solidity 0.8.23;
|
||||
library Pairing {
|
||||
struct G1Point {
|
||||
uint X;
|
||||
|
|
|
@ -4,7 +4,7 @@ require("hardhat-deploy-ethers")
|
|||
|
||||
module.exports = {
|
||||
solidity: {
|
||||
version: "0.8.8",
|
||||
version: "0.8.23",
|
||||
settings: {
|
||||
optimizer: {
|
||||
enabled: true,
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
// SPDX-License-Identifier: MIT
|
||||
pragma solidity ^0.8.8;
|
||||
pragma solidity 0.8.23;
|
||||
library Pairing {
|
||||
struct G1Point {
|
||||
uint X;
|
||||
|
|
Loading…
Reference in New Issue