• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ProjectOpenSea / seadrop / 42289092632
89%
main: 81%

Build:
Build:
LAST BUILD BRANCH: ryan/agent-nft-extension
DEFAULT BRANCH: main
Ran 06 Nov 2026 08:37PM UTC
Jobs 1
Files 20
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Nov 2026 08:31PM UTC coverage: 83.243%. Remained the same
42289092632

push

github

web-flow
Fix v2 Hardhat compile after the 2.29 upgrade (#190)

## Motivation

#189 moved `v2` to Hardhat 2.29, and since then Run Hardhat Tests, Run
Linters (solhint runs `hardhat compile` first) and Run Hardhat Coverage
fail with HH600:

```
ParserError: Source "lib/solady//src/tokens/ERC1155.sol" not found
ParserError: Source "lib/seaport/lib/seaport-types/src/interfaces//ConsiderationInterface.sol" not found
```

The `solady=lib/solady/` remapping turns `solady/src/...` into
`lib/solady//src/...`, and Seaport's `SeaportSol.sol` imports
`seaport-types/src/interfaces//ConsiderationInterface.sol` verbatim.
Hardhat 2.13 normalized the doubled slash; 2.29 doesn't.

## Solution

- The import preprocessor in `hardhat.config.ts` collapses repeated
slashes inside the quoted import path after applying remappings.
- `coverage:hardhat:fix-lib-link1`, which rewrites the Seaport library
sources in place for coverage, also rewrites `interfaces//` to
`interfaces/`.

`remappings.txt` is unchanged, so Forge builds are untouched. This keeps
the Hardhat suite running until it moves to Foundry.

## Verification

`hardhat preprocess` over the full source tree now emits no import path
with a doubled slash (it previously produced `lib/solady//src/...`).
Local `hardhat compile` can't run on this Mac (HH505, native solc 0.8.17
needs Rosetta), so CI on this PR is the compile check.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

456 of 550 branches covered (82.91%)

Branch coverage included in aggregate %.

920 of 1103 relevant lines covered (83.41%)

1353.27 hits per line

Jobs
ID Job ID Ran Files Coverage
1 hardhat - 42289092632.1 06 Nov 2026 08:37PM UTC 20
83.24
GitHub Action Run
Source Files on build 42289092632
  • Tree
  • List 20
  • Changed 20
  • Source Changed 20
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #42289092632
  • f3284423 on github
  • Prev Build on v2 (#40024009720)
  • Next Build on v2 (#42290081571)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc