mirror of
https://github.com/status-im/codex-contracts-eth.git
synced 2025-02-14 09:26:35 +00:00
update solidity to version 0.8.28
This commit is contained in:
parent
bc934ba970
commit
cf96d1a79d
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -62,7 +62,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Install Solidity
|
- name: Install Solidity
|
||||||
run: |
|
run: |
|
||||||
wget https://github.com/ethereum/solidity/releases/download/v0.8.23/solc-static-linux
|
wget https://github.com/ethereum/solidity/releases/download/v0.8.28/solc-static-linux
|
||||||
chmod +x solc-static-linux
|
chmod +x solc-static-linux
|
||||||
sudo mv solc-static-linux /usr/local/bin/solc
|
sudo mv solc-static-linux /usr/local/bin/solc
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
pragma solidity ^0.8.23;
|
pragma solidity ^0.8.28;
|
||||||
|
|
||||||
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
||||||
import {IGroth16Verifier} from "../../contracts/Groth16.sol";
|
import {IGroth16Verifier} from "../../contracts/Groth16.sol";
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
pragma solidity ^0.8.23;
|
pragma solidity ^0.8.28;
|
||||||
|
|
||||||
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
|
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity 0.8.23;
|
pragma solidity 0.8.28;
|
||||||
|
|
||||||
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity 0.8.23;
|
pragma solidity 0.8.28;
|
||||||
|
|
||||||
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
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.23;
|
pragma solidity ^0.8.28;
|
||||||
|
|
||||||
import "./TestToken.sol";
|
import "./TestToken.sol";
|
||||||
import "./Marketplace.sol";
|
import "./Marketplace.sol";
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity 0.8.23;
|
pragma solidity 0.8.28;
|
||||||
|
|
||||||
struct G1Point {
|
struct G1Point {
|
||||||
uint256 x;
|
uint256 x;
|
||||||
|
@ -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.23;
|
pragma solidity 0.8.28;
|
||||||
import "./Groth16.sol";
|
import "./Groth16.sol";
|
||||||
|
|
||||||
contract Groth16Verifier is IGroth16Verifier {
|
contract Groth16Verifier is IGroth16Verifier {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity 0.8.23;
|
pragma solidity 0.8.28;
|
||||||
|
|
||||||
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";
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity 0.8.23;
|
pragma solidity 0.8.28;
|
||||||
|
|
||||||
contract Periods {
|
contract Periods {
|
||||||
error Periods_InvalidSecondsPerPeriod();
|
error Periods_InvalidSecondsPerPeriod();
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity 0.8.23;
|
pragma solidity 0.8.28;
|
||||||
|
|
||||||
import "./Configuration.sol";
|
import "./Configuration.sol";
|
||||||
import "./Requests.sol";
|
import "./Requests.sol";
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity 0.8.23;
|
pragma solidity 0.8.28;
|
||||||
|
|
||||||
type RequestId is bytes32;
|
type RequestId is bytes32;
|
||||||
type SlotId is bytes32;
|
type SlotId is bytes32;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity 0.8.23;
|
pragma solidity 0.8.28;
|
||||||
|
|
||||||
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
|
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
|
||||||
import "./Requests.sol";
|
import "./Requests.sol";
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity 0.8.23;
|
pragma solidity 0.8.28;
|
||||||
|
|
||||||
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
|
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
|
||||||
import "./Requests.sol";
|
import "./Requests.sol";
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.23;
|
pragma solidity ^0.8.28;
|
||||||
|
|
||||||
import "./Endian.sol";
|
import "./Endian.sol";
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.23;
|
pragma solidity ^0.8.28;
|
||||||
|
|
||||||
import "./Marketplace.sol";
|
import "./Marketplace.sol";
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.23;
|
pragma solidity ^0.8.28;
|
||||||
|
|
||||||
import "./Proofs.sol";
|
import "./Proofs.sol";
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.23;
|
pragma solidity ^0.8.28;
|
||||||
|
|
||||||
import "./SlotReservations.sol";
|
import "./SlotReservations.sol";
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.23;
|
pragma solidity ^0.8.28;
|
||||||
|
|
||||||
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
|
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity 0.8.23;
|
pragma solidity 0.8.28;
|
||||||
|
|
||||||
import "./Groth16.sol";
|
import "./Groth16.sol";
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ require("hardhat-deploy-ethers")
|
|||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
solidity: {
|
solidity: {
|
||||||
version: "0.8.23",
|
version: "0.8.28",
|
||||||
settings: {
|
settings: {
|
||||||
evmVersion: "paris",
|
evmVersion: "paris",
|
||||||
optimizer: {
|
optimizer: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user