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

ProjectOpenSea / seadrop / 42331488280
81%

Build:
DEFAULT BRANCH: main
Ran 07 Nov 2026 02:55AM 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:54AM UTC coverage: 79.206%. Remained the same
42331488280

push

github

web-flow
Compile with solc 0.8.38 targeting Cancun (#208)

## Motivation

`main` compiles with solc 0.8.17 (September 2022), which has 7 known
bugs fixed in later releases. The next factory deployment changes
bytecode anyway, so this is the time to move to a current compiler.
Pinning the EVM target keeps a future compiler default from emitting
opcodes some network lacks.

## Solution

- **Compiler.** solc 0.8.17 to 0.8.38 (released 2026-10-22). The 50
exact `pragma solidity 0.8.17` pins in `src`, `test` and `script` become
`0.8.38`, keeping v1's exact-pin convention.
- **EVM target.** `evm_version = 'cancun'`, set explicitly in
`foundry.toml`. Before this PR it was 0.8.17's default, London.
- **`block.prevrandao`.** The two random offset contracts use
`block.prevrandao` instead of the deprecated `block.difficulty`. It's
the same opcode, so behavior is unchanged. The tests set it with
`vm.prevrandao`, because Foundry rejects `vm.difficulty` after Paris.
- **Initcode warning.** `init-code-size` joins `ignored_error_codes`.
Under Cancun, solc checks EIP-3860's 49,152-byte initcode limit, and
only test contracts exceed it; the largest deployable initcode is the
clone factory's, at 23,210 bytes.
- **Docs and tests.** `docs/UpgradeableContracts.md` now lists the new
compiler settings. One lock-test helper becomes `view`, because
forge-std 1.17's `getRecordedLogs` is `view`.

## Verification

- **Cancun support.** I probed every network in `docs/Deployments.md`,
plus the testnets, with `eth_call` contract creations that execute
`PUSH0`, `MCOPY` and `TSTORE`. Every reachable network ran all three,
including all 24 networks OpenSea supports for drops. Elysium has no
public RPC in our list, and Blast and B3 didn't respond; os2-core has
Blast and B3 disabled.
- **Checks.** `forge test`: `Ran 31 test suites: 288 tests passed, 0
failed, 0 skipped`. `forge fmt --check`, `forge lint --deny warnings`
and `biome ci .` pass. Coverage is 80.54% of lines.
- **Sizes.** Every deplo... (continued)

193 of 268 branches covered (72.01%)

Branch coverage included in aggregate %.

1 of 1 new or added line in 1 file covered. (100.0%)

1163 of 1444 relevant lines covered (80.54%)

2322.58 hits per line

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