Skip to content

Commit

Permalink
🔁 Upgrade Solidity Version to 0.8.25
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Marco Caversaccio <[email protected]>
  • Loading branch information
pcaversaccio committed Mar 18, 2024
1 parent d4b65f2 commit 3f66443
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gas-snapshot
Original file line number Diff line number Diff line change
@@ -1 +1 @@
GreeterTest:testCreateGreeter() (gas: 20666)
GreeterTest:testCreateGreeter() (gas: 20855)
2 changes: 1 addition & 1 deletion contracts/src/Greeter.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.24;
pragma solidity ^0.8.25;

contract Greeter {
string private greeting;
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/Greeter.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.24;
pragma solidity ^0.8.25;

import {Greeter} from "../src/Greeter.sol";
import {Test} from "forge-std/Test.sol";
Expand Down
2 changes: 1 addition & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ cache_path = 'cache' # where the cache
force = false # whether to ignore the cache (clean build)
evm_version = 'paris' # the evm version (by hardfork name)
gas_reports = ['*'] # list of contracts to report gas of
solc_version = '0.8.24' # override for the solc version (setting this ignores `auto_detect_solc`)
solc_version = '0.8.25' # override for the solc version (setting this ignores `auto_detect_solc`)
auto_detect_solc = true # enable auto-detection of the appropriate solc version to use
offline = false # offline mode, if enabled, network access (downloading solc) is disallowed
optimizer = true # enable or disable the solc optimizer
Expand Down
2 changes: 1 addition & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const config: HardhatUserConfig = {
solidity: {
// Only use Solidity default versions `>=0.8.20` for EVM networks that support the opcode `PUSH0`
// Otherwise, use the versions `<=0.8.19`
version: "0.8.24",
version: "0.8.25",
settings: {
optimizer: {
enabled: true,
Expand Down

0 comments on commit 3f66443

Please sign in to comment.