Skip to content

Commit 4dd03a0

Browse files
authored
Update solc to 0.8.30 & foundry stable v1.2.3 (#2094)
* update flake inputs * solc: 0.8.26 -> 0.8.30 * ethereum-contracts: update CHANGELOG.md
1 parent 7d56c30 commit 4dd03a0

File tree

12 files changed

+25
-24
lines changed

12 files changed

+25
-24
lines changed

.envrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dotenv_if_exists || direnv status # https://direnv.net/man/direnv-stdlib.1.html
44

55
# foundry to use solc.nix provided solc
66
export FOUNDRY_OFFLINE=true
7-
export FOUNDRY_SOLC_VERSION=`which solc-0.8.26`
7+
export FOUNDRY_SOLC_VERSION=`which solc-0.8.30`
88

99
# use flake shell
1010
# Note:

flake.lock

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
flake-utils.url = "github:numtide/flake-utils";
66
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
77
foundry = {
8-
url = "github:shazow/foundry.nix/cefa65c";
8+
url = "github:shazow/foundry.nix/stable";
99
inputs.flake-utils.follows = "flake-utils";
1010
inputs.nixpkgs.follows = "nixpkgs";
1111
};
@@ -34,7 +34,7 @@
3434
system:
3535
let
3636
minDevSolcVer = "solc_0_8_11"; # minimum solidity version used for external development
37-
solcVer = "solc_0_8_26";
37+
solcVer = "solc_0_8_30";
3838
ghcVer92 = "ghc928";
3939
ghcVer94 = "ghc948";
4040

packages/automation-contracts/autowrap/foundry.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
root = '../../../'
33
libs = ['lib']
44
src = 'packages/automation-contracts/autowrap'
5-
solc_version = "0.8.23"
5+
solc_version = "0.8.30"
66
evm_version = 'paris'
77
optimizer = true
88
optimizer_runs = 200

packages/automation-contracts/scheduler/foundry.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
root = '../../../'
33
libs = ['lib']
44
src = 'packages/automation-contracts/scheduler'
5-
solc_version = "0.8.23"
5+
solc_version = "0.8.30"
66
evm_version = 'paris'
77
optimizer = true
88
optimizer_runs = 200

packages/ethereum-contracts/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
1010
- `GDAv1StorageLib` contains data structures and related encoders/decoders.
1111
- `GDAv1StorageReader` contains getters reading agreement data from the token contract, allowing contracts to get this data without making a call to the GDA contract.
1212
- `GDAv1StorageWriter` contains functions for writing agreement data to the token contract. This can only be used by the GDA contract itself.
13+
- bump solc to "0.8.30".
1314

1415
### Fixed
1516
- `ISuperfluidPool`: `getClaimable` and `getClaimableNow` could previously return non-zero values for connected pools, which was inconsistent with what `claimAll` would actually do in this situation (claim nothing).

packages/ethereum-contracts/foundry.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
root = '../..'
33
src = 'packages/ethereum-contracts/contracts'
44
test = 'packages/ethereum-contracts/test/foundry'
5-
solc_version = "0.8.26"
5+
solc_version = "0.8.30"
66
#deny_warnings = true
77
ignored_error_codes = [
88
1699 # assembly { selfdestruct } in contracts/mocks/SuperfluidDestructorMock.sol

packages/ethereum-contracts/hardhat.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function createNetworkConfig(
9393

9494
const config: HardhatUserConfig = {
9595
solidity: {
96-
version: "0.8.26",
96+
version: "0.8.30",
9797
settings: {
9898
optimizer: {
9999
enabled: true,

packages/ethereum-contracts/truffle-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ const E = (module.exports = {
381381
// Fetch exact version from solc-bin (default: truffle's version)
382382
// If SOLC environment variable is provided, assuming it is available as "solc", use it instead.
383383
// Ref, this maybe possible in the future: https://github.com/trufflesuite/truffle/pull/6007
384-
version: process.env.SOLC ? "native" : "0.8.26",
384+
version: process.env.SOLC ? "native" : "0.8.30",
385385
settings: {
386386
// See the solidity docs for advice about optimization and evmVersion
387387
optimizer: {

packages/hot-fuzz/foundry.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[profile.default]
22
root = '../..'
33
src = 'packages/hot-fuzz/contracts'
4-
solc_version = "0.8.23"
4+
solc_version = "0.8.30"
55
evm_version = 'shanghai'
66
optimizer = true
77
optimizer_runs = 200

0 commit comments

Comments
 (0)