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 // SPDX-License-Identifier: MIT
pragma solidity ^0.8.8; pragma solidity 0.8.23;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

View File

@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
pragma solidity ^0.8.8; pragma solidity 0.8.23;
contract Endian { contract Endian {
/// reverses byte order to allow conversion between little endian and big /// reverses byte order to allow conversion between little endian and big

View File

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

View File

@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
pragma solidity ^0.8.8; pragma solidity 0.8.23;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/math/Math.sol"; import "@openzeppelin/contracts/utils/math/Math.sol";

View File

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

View File

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

View File

@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
pragma solidity ^0.8.8; pragma solidity 0.8.23;
type RequestId is bytes32; type RequestId is bytes32;
type SlotId is bytes32; type SlotId is bytes32;

View File

@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
pragma solidity ^0.8.8; pragma solidity 0.8.23;
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "./Requests.sol"; import "./Requests.sol";

View File

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

View File

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

View File

@ -17,7 +17,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE. // SOFTWARE.
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
pragma solidity ^0.8.8; pragma solidity 0.8.23;
library Pairing { library Pairing {
struct G1Point { struct G1Point {
uint X; uint X;

View File

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

View File

@ -17,7 +17,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE. // SOFTWARE.
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
pragma solidity ^0.8.8; pragma solidity 0.8.23;
library Pairing { library Pairing {
struct G1Point { struct G1Point {
uint X; uint X;