Skip to content

Commit 249c335

Browse files
committed
Switch to a more recent Sablier version that does compile in external benchmarks
1 parent 14f0c6e commit 249c335

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

test/benchmarks/external-setup.sh

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,17 +89,15 @@ function install_old_uniswap {
8989
function install_sablier {
9090
# NOTE: To avoid hard-coding dependency versions here we'd have to install them from npm
9191
forge install --no-commit \
92-
foundry-rs/[email protected] \
93-
OpenZeppelin/[email protected] \
94-
PaulRBerg/[email protected] \
95-
PaulRBerg/[email protected] \
92+
foundry-rs/[email protected] \
93+
OpenZeppelin/[email protected] \
94+
PaulRBerg/[email protected] \
9695
evmcheb/solarray@a547630 \
97-
Vectorized/[email protected].129
96+
Vectorized/[email protected].208
9897
cat <<EOF > remappings.txt
9998
@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/
10099
forge-std/=lib/forge-std/
101100
@prb/math/=lib/prb-math/
102-
@prb/test/=lib/prb-test/
103101
solarray/=lib/solarray/
104102
solady/=lib/solady/
105103
EOF
@@ -125,4 +123,4 @@ setup_foundry_project seaport-1.6/ commit tags/1.6 https://github.com/ProjectOpe
125123

126124
setup_foundry_project eigenlayer-0.3.0/ tag v0.3.0-holesky-rewards https://github.com/Layr-Labs/eigenlayer-contracts
127125

128-
setup_foundry_project sablier-v2-1.1.2/ tag v1.1.2 https://github.com/sablier-labs/v2-core install_sablier
126+
setup_foundry_project sablier-v2-1.2.0/ tag v1.2.0 https://github.com/sablier-labs/v2-core install_sablier

test/benchmarks/external.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ benchmarks=(
8484
openzeppelin-4.8.0 # compiles via IR with solc >=0.8.10
8585
uniswap-v4-2024-06-06 # compiles via IR with solc >=0.8.24
8686
eigenlayer-0.3.0 # compiles via IR with solc >=0.8.18
87+
sablier-v2-1.2.0 # compiles via IR with solc >=0.8.28 (maybe >=0.8.26)
8788
seaport-1.6 # StackTooDeep via IR
8889
farcaster-3.1.0 # StackTooDeep via IR
89-
sablier-v2-1.1.2 # StackTooDeep via IR
9090
)
9191

9292
mkdir -p "$BENCHMARK_DIR"

0 commit comments

Comments
 (0)