Skip to content

Commit

Permalink
Update compiler to 0.8.23 & evm version shanghai
Browse files Browse the repository at this point in the history
  • Loading branch information
apbendi committed Dec 31, 2023
1 parent 78902d1 commit b5edaf9
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions foundry.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[profile.default]
evm_version = "paris"
evm_version = "shanghai"
optimizer = true
optimizer_runs = 14_000
remappings = [
"@openzeppelin/=lib/flexible-voting/lib/openzeppelin-contracts/contracts",
"flexible-voting/=lib/flexible-voting/src",
]
solc_version = "0.8.22"
solc_version = "0.8.23"
verbosity = 3

[profile.ci]
Expand Down
2 changes: 1 addition & 1 deletion script/DeployLaunch.s.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// slither-disable-start reentrancy-benign
pragma solidity 0.8.22;
pragma solidity 0.8.23;

import {Script} from "forge-std/Script.sol";
import {TimelockController} from "@openzeppelin/governance/TimelockController.sol";
Expand Down
2 changes: 1 addition & 1 deletion script/DeployLaunchConstants.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT
// slither-disable-start reentrancy-benign
pragma solidity 0.8.22;
pragma solidity 0.8.23;

contract DeployLaunchConstants {
uint256 INITIAL_VOTING_DELAY = 25; // 5 minutes given 12 second blocks
Expand Down
2 changes: 1 addition & 1 deletion src/GuineaPigGovernor.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.22;
pragma solidity 0.8.23;

import {
Governor, GovernorCountingFractional
Expand Down
2 changes: 1 addition & 1 deletion src/GuineaPigToken.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.22;
pragma solidity 0.8.23;

import {ERC20Votes, ERC20Permit, ERC20} from "@openzeppelin/token/ERC20/extensions/ERC20Votes.sol";

Expand Down
2 changes: 1 addition & 1 deletion test/GuineaPigGovernor.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.22;
pragma solidity 0.8.23;

import {Test, console2} from "forge-std/Test.sol";
import {GuineaPigGovernor, IVotes, TimelockController} from "src/GuineaPigGovernor.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/GuineaPigToken.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.22;
pragma solidity 0.8.23;

import {Test, console2} from "forge-std/Test.sol";
import {GuineaPigToken} from "src/GuineaPigToken.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/LaunchIntegration.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.22;
pragma solidity 0.8.23;

import {Test, console2} from "forge-std/Test.sol";
import {
Expand Down

0 comments on commit b5edaf9

Please sign in to comment.