Repository navigation
test(solx-dev): run OpenZeppelin on Hardhat 3 with the slang compiler - #804
Merged
vladimirradosavljevic merged 2 commits intoOct 13, 2026
Conversation
Coverage Summary
|
🧪 Integration tests — standard · PR vs
|
| Suite | New failures | Size Δ | Gas Δ | Report |
|---|---|---|---|---|
| solx-tester | ✅ 0 | solx-tester-report.xlsx ↓ | ||
| Foundry · 25 proj | ✅ 0 (25 pre-existing) | ⚪ not collected | ⚪ not collected | foundry-report.xlsx ↓ |
| Hardhat · 3 proj | ✅ 0 (10 pre-existing) | ⚪ not collected | ⚪ not collected | hardhat-report.xlsx ↓ |
solx-tester — largest size changes:
tests/solidity/simple/algorithm/arrays/standard_functions_high_order.sol::complex[EVMLA M3B3 0.8.37, deploy] 4,696 → 4,508 B (-4.0%)tests/solidity/simple/algorithm/arrays/standard_functions_high_order.sol::complex[EVMLA M3B3 0.8.37, runtime] 4,597 → 4,409 B (-4.1%)tests/solidity/simple/algorithm/arrays/standard_functions_high_order.sol::filterDivide[EVMLA M3B3 0.8.37, deploy] 4,696 → 4,508 B (-4.0%)tests/solidity/simple/algorithm/arrays/standard_functions_high_order.sol::filterDivide[EVMLA M3B3 0.8.37, runtime] 4,597 → 4,409 B (-4.1%)tests/solidity/simple/algorithm/arrays/standard_functions_high_order.sol::filterGreater[EVMLA M3B3 0.8.37, deploy] 4,696 → 4,508 B (-4.0%)- +183 more — see solx-tester-report.xlsx
solx-tester — largest gas changes:
tests/solidity/simple/algorithm/arrays/standard_functions_high_order.sol::complex[complex:1][EVMLA MzB3 0.8.37] 19,044 → 20,154 (+5.8%)tests/solidity/simple/internal_function_pointers/sort/bubble.sol::descending[main:1][EVMLA MzB3 0.8.37] 13,791 → 14,847 (+7.7%)tests/solidity/simple/internal_function_pointers/sort/bubble.sol::ascending[main:1][EVMLA MzB3 0.8.37] 11,934 → 11,094 (-7.0%)tests/solidity/simple/algorithm/arrays/standard_functions_high_order.sol::filterDivide[filterDivide:1][EVMLA MzB3 0.8.37] 6,221 → 6,996 (+12.5%)tests/solidity/simple/algorithm/arrays/standard_functions_high_order.sol::filterDivide[filterDivide:1][EVMLA M3B3 0.8.37] 6,282 → 6,903 (+9.9%)- +134 more — see solx-tester-report.xlsx
Compile time — wall-clock tripwire, positive = PR slower (authoritative Δ in ci:compile-benchmark)
| Suite | legacy (agg / median) |
|---|---|
| Hardhat · 3 proj | -42.8% / -4.6% |
Project outliers (≥15%): openzeppelin legacy -49.1%
nebasuke
force-pushed
the
slang-hardhat3-openzeppelin
branch
from
October 13, 2026 09:45
f16c0a5 to
8204c48
Compare
nebasuke
changed the base branch from
main
to
split_deploy_and_runtime_modules
October 13, 2026 09:45
nebasuke
marked this pull request as ready for review
October 13, 2026 09:46
nebasuke
force-pushed
the
slang-hardhat3-openzeppelin
branch
from
October 13, 2026 10:27
8204c48 to
682a7bb
Compare
nebasuke
force-pushed
the
slang-hardhat3-openzeppelin
branch
from
October 13, 2026 10:55
682a7bb to
a335b9c
Compare
Upstream OpenZeppelin moved to Hardhat 3, and the Hardhat 2 fork the integration job pinned cannot run under slang: hardhat-exposed reads the solc AST, and EDR refuses to start on slang's. On Hardhat 3, OZ's exposed task always takes its AST from the default profile, so keeping solc there and compiling with slang in a second profile solves the first; replacing slang's ASTs in the build info with empty solc source units solves the second until EDR reads slang's debug symbols. Hardhat 3's own `path` option rejects the slang binary's --version output, so both Hardhat 3 projects go through hardhat-slang-solx.
nebasuke
force-pushed
the
slang-hardhat3-openzeppelin
branch
from
October 13, 2026 13:28
a335b9c to
7014270
Compare
PavelKopyl
pushed a commit
that referenced
this pull request
Oct 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Claude summary
The Hardhat integration tests run upstream OpenZeppelin on Hardhat 3 with the slang compiler, and the
hardhat-v3example project compiles with slang again.