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

ProjectOpenSea / seadrop / 42331631881
81%

Build:
DEFAULT BRANCH: main
Ran 07 Nov 2026 02:57AM UTC
Jobs 1
Files 31
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

07 Nov 2026 02:56AM UTC coverage: 79.206%. Remained the same
42331631881

push

github

web-flow
Make the clone factory deploy script usable for a redeploy (#210)

## Motivation

`script/DeploySeaDropCloneFactory.s.sol` can't deploy the new factory.
It forks Goerli, which is shut down, and requires the hardcoded address
`0x00000000b8F8F18B708C8f7AA10f9EE7Ea88049a`. That isn't the factory
OpenSea uses (`0x008EbCCa…`), and no current build produces it with the
script's salt: `main` before #208 lands at `0x92D9…bfeb`. Copilot
flagged this on #208, and it's needed for the planned redeploy. Stacked
on #208.

## Solution

- **Inputs.** The script reads `SALT` (required) and `EXPECTED_ADDRESS`
(optional) from the environment, and runs against whatever network
`--rpc-url` names.
- **Logging.** It logs the factory's init code hash and the address
`SALT` produces, so a vanity salt can be mined against the exact build
being deployed.
- **Safety stop.** When `EXPECTED_ADDRESS` is set and doesn't match, it
reverts before broadcasting.
- **Docs.** `docs/SeaDropDeployment.md` gains a clone factory section:
the command, the ImmutableCreate2Factory salt rule, mining a salt with
create2crunch, and the os2-core config to update afterward. It also
links to `docs/Deployments.md` instead of the old README table.

## Verification

- **New test.** `DeploySeaDropCloneFactoryTest` runs the script on a
local EVM, where create2-helpers etches the ImmutableCreate2Factory. A
mismatched `EXPECTED_ADDRESS` reverts and deploys nothing. The right one
deploys the factory at the predicted address, and the factory's
constructor deploys its implementation. The two cases share one test
because `vm.setEnv` is process-wide and tests run in parallel.
- **Checks.** `forge test`: `Ran 32 test suites: 289 tests passed, 0
failed, 0 skipped`. `forge fmt --check`, `forge lint --deny warnings`
and `biome ci .` pass.

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

---------

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

193 of 268 branches covered (72.01%)

Branch coverage included in aggregate %.

1163 of 1444 relevant lines covered (80.54%)

2322.36 hits per line

Jobs
ID Job ID Ran Files Coverage
1 foundry - 42331631881.1 07 Nov 2026 02:57AM UTC 31
79.21
GitHub Action Run
Source Files on build 42331631881
  • Tree
  • List 31
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #42331631881
  • d098c564 on github
  • Prev Build on main (#42331488280)
  • Next Build on main (#42520708094)
  • 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