Skip to content

Commit

Permalink
Locking all contracts pragma version to 0.8.19 (#19)
Browse files Browse the repository at this point in the history
* Use solc 0.8.19 to compile the project

* Locking all contracts pragma version to  0.8.19
sponomarev authored Mar 3, 2023
1 parent 955c24d commit 4533b0f
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion contracts/ChainlinkOracle.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
pragma solidity 0.8.19;

import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol";
import "./libraries/Utils.sol";
2 changes: 1 addition & 1 deletion contracts/libraries/Utils.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
pragma solidity 0.8.19;

import "solidity-bytes-utils/contracts/BytesLib.sol";
import "./external/QueryAccount.sol";
2 changes: 1 addition & 1 deletion contracts/libraries/external/QueryAccount.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity >=0.7.0;
pragma solidity 0.8.19;

/**
* @title QueryAccount
2 changes: 1 addition & 1 deletion truffle-config.js
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ module.exports = {
// Configure your compilers
compilers: {
solc: {
version: "0.8.15", // Fetch exact version from solc-bin (default: truffle's version)
version: "0.8.19", // Fetch exact version from solc-bin (default: truffle's version)
// docker: true, // Use "0.5.1" you've installed locally with docker (default: false)
// settings: { // See the solidity docs for advice about optimization and evmVersion
// optimizer: {

0 comments on commit 4533b0f

Please sign in to comment.