Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .envrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dotenv_if_exists || direnv status # https://direnv.net/man/direnv-stdlib.1.html

# foundry to use solc.nix provided solc
export FOUNDRY_OFFLINE=true
export FOUNDRY_SOLC_VERSION=`which solc-0.8.26`
export FOUNDRY_SOLC_VERSION=`which solc-0.8.30`

# use flake shell
# Note:
Expand Down
26 changes: 13 additions & 13 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
foundry = {
url = "github:shazow/foundry.nix/cefa65c";
url = "github:shazow/foundry.nix/stable";
inputs.flake-utils.follows = "flake-utils";
inputs.nixpkgs.follows = "nixpkgs";
};
Expand Down Expand Up @@ -34,7 +34,7 @@
system:
let
minDevSolcVer = "solc_0_8_11"; # minimum solidity version used for external development
solcVer = "solc_0_8_26";
solcVer = "solc_0_8_30";
ghcVer92 = "ghc928";
ghcVer94 = "ghc948";

Expand Down
2 changes: 1 addition & 1 deletion packages/automation-contracts/autowrap/foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
root = '../../../'
libs = ['lib']
src = 'packages/automation-contracts/autowrap'
solc_version = "0.8.23"
solc_version = "0.8.30"
evm_version = 'paris'
optimizer = true
optimizer_runs = 200
Expand Down
2 changes: 1 addition & 1 deletion packages/automation-contracts/scheduler/foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
root = '../../../'
libs = ['lib']
src = 'packages/automation-contracts/scheduler'
solc_version = "0.8.23"
solc_version = "0.8.30"
evm_version = 'paris'
optimizer = true
optimizer_runs = 200
Expand Down
1 change: 1 addition & 0 deletions packages/ethereum-contracts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- `GDAv1StorageLib` contains data structures and related encoders/decoders.
- `GDAv1StorageReader` contains getters reading agreement data from the token contract, allowing contracts to get this data without making a call to the GDA contract.
- `GDAv1StorageWriter` contains functions for writing agreement data to the token contract. This can only be used by the GDA contract itself.
- bump solc to "0.8.30".

### Fixed
- `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).
Expand Down
2 changes: 1 addition & 1 deletion packages/ethereum-contracts/foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
root = '../..'
src = 'packages/ethereum-contracts/contracts'
test = 'packages/ethereum-contracts/test/foundry'
solc_version = "0.8.26"
solc_version = "0.8.30"
#deny_warnings = true
ignored_error_codes = [
1699 # assembly { selfdestruct } in contracts/mocks/SuperfluidDestructorMock.sol
Expand Down
2 changes: 1 addition & 1 deletion packages/ethereum-contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function createNetworkConfig(

const config: HardhatUserConfig = {
solidity: {
version: "0.8.26",
version: "0.8.30",
settings: {
optimizer: {
enabled: true,
Expand Down
2 changes: 1 addition & 1 deletion packages/ethereum-contracts/truffle-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ const E = (module.exports = {
// Fetch exact version from solc-bin (default: truffle's version)
// If SOLC environment variable is provided, assuming it is available as "solc", use it instead.
// Ref, this maybe possible in the future: https://github.com/trufflesuite/truffle/pull/6007
version: process.env.SOLC ? "native" : "0.8.26",
version: process.env.SOLC ? "native" : "0.8.30",
settings: {
// See the solidity docs for advice about optimization and evmVersion
optimizer: {
Expand Down
2 changes: 1 addition & 1 deletion packages/hot-fuzz/foundry.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[profile.default]
root = '../..'
src = 'packages/hot-fuzz/contracts'
solc_version = "0.8.23"
solc_version = "0.8.30"
evm_version = 'shanghai'
optimizer = true
optimizer_runs = 200
Expand Down
2 changes: 1 addition & 1 deletion packages/solidity-semantic-money/foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ root = '../..'
src = 'packages/solidity-semantic-money/src'
out = 'packages/solidity-semantic-money/out/default'
cache_path = 'packages/solidity-semantic-money/out/default.cache'
solc_version = '0.8.26'
solc_version = '0.8.30'
evm_version = 'paris' # no PUSH0 for now
deny_warnings = true
optimizer = true
Expand Down
2 changes: 1 addition & 1 deletion packages/subgraph/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dotenvConfig();
*/
const config: HardhatUserConfig = {
solidity: {
version: "0.8.26",
version: "0.8.30",
settings: {
optimizer: {
enabled: true,
Expand Down
Loading