Skip to content

Commit

Permalink
Switch to a more recent Sablier version that does compile in external…
Browse files Browse the repository at this point in the history
… benchmarks
  • Loading branch information
cameel committed Nov 1, 2024
1 parent 14f0c6e commit 249c335
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions test/benchmarks/external-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,17 +89,15 @@ function install_old_uniswap {
function install_sablier {
# NOTE: To avoid hard-coding dependency versions here we'd have to install them from npm
forge install --no-commit \
foundry-rs/[email protected] \
OpenZeppelin/[email protected] \
PaulRBerg/[email protected] \
PaulRBerg/[email protected] \
foundry-rs/[email protected] \
OpenZeppelin/[email protected] \
PaulRBerg/[email protected] \
evmcheb/solarray@a547630 \
Vectorized/[email protected].129
Vectorized/[email protected].208
cat <<EOF > remappings.txt
@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/
forge-std/=lib/forge-std/
@prb/math/=lib/prb-math/
@prb/test/=lib/prb-test/
solarray/=lib/solarray/
solady/=lib/solady/
EOF
Expand All @@ -125,4 +123,4 @@ setup_foundry_project seaport-1.6/ commit tags/1.6 https://github.com/ProjectOpe

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

setup_foundry_project sablier-v2-1.1.2/ tag v1.1.2 https://github.com/sablier-labs/v2-core install_sablier
setup_foundry_project sablier-v2-1.2.0/ tag v1.2.0 https://github.com/sablier-labs/v2-core install_sablier
2 changes: 1 addition & 1 deletion test/benchmarks/external.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ benchmarks=(
openzeppelin-4.8.0 # compiles via IR with solc >=0.8.10
uniswap-v4-2024-06-06 # compiles via IR with solc >=0.8.24
eigenlayer-0.3.0 # compiles via IR with solc >=0.8.18
sablier-v2-1.2.0 # compiles via IR with solc >=0.8.28 (maybe >=0.8.26)
seaport-1.6 # StackTooDeep via IR
farcaster-3.1.0 # StackTooDeep via IR
sablier-v2-1.1.2 # StackTooDeep via IR
)

mkdir -p "$BENCHMARK_DIR"
Expand Down

0 comments on commit 249c335

Please sign in to comment.