Update solidity to 0.8.23

This commit is contained in:
Mark Spanbroek 2024-01-23 10:24:02 +01:00 committed by markspanbroek
parent 862ea56e8b
commit f3e2186ec2
13 changed files with 13 additions and 13 deletions

View File

@ -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";

View File

@ -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

View File

@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.8;
pragma solidity 0.8.23;
struct G1Point {
uint x;

View File

@ -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";

View File

@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.8;
pragma solidity 0.8.23;
contract Periods {
type Period is uint256;

View File

@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.8;
pragma solidity 0.8.23;
import "./Configuration.sol";
import "./Requests.sol";

View File

@ -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;

View File

@ -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";

View File

@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.8;
pragma solidity 0.8.23;
import "./Verifier.sol";

View File

@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.8;
pragma solidity 0.8.23;
interface IVerifier {
function verifyProof(

View File

@ -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;

View File

@ -4,7 +4,7 @@ require("hardhat-deploy-ethers")
module.exports = {
solidity: {
version: "0.8.8",
version: "0.8.23",
settings: {
optimizer: {
enabled: true,

View File

@ -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;