Skip to content

fix: batch of six quick-win review follow-ups (#845 #864) - #868

Merged
thiras merged 8 commits into
mainfrom
fix/batch-quickwins-845-864
Jun 10, 2026
Merged

thiras merged 8 commits into
mainfrom
fix/batch-quickwins-845-864

Conversation

@thiras

@thiras thiras commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Drains the remaining still-unfixed LOW items from the umbrella review issues #845 (2026-06-09) and #864 (2026-06-10), following the cadence of #865/#867. Items already closed by those batches were verified and skipped. Six commits, grouped by risk so the reputation-semantics changes are independently revertable.

Group 1 — docs only (6305fef)

Group 2 — cli + gossip (569c6cc)

Group 3 — localized behavior

Group 4 — reputation scoring semantics (ADR 008)

Verification

  • cargo fmt --check, cargo clippy --all-targets — clean
  • cargo nextest run — 1683 passed, 0 failed (incl. new tests for env-port resolution, self-announce filter, settle-before-open parking, single-reporter pre-load, non-staked provider drop)
  • (cd contracts && forge fmt --check && FOUNDRY_PROFILE=ci forge build --sizes --deny warnings && forge test --match-contract PaymentChannel) — clean, 56 passed

Umbrella checkboxes in #845/#864 to be ticked on merge.

🤖 Generated with Claude Code

thiras and others added 6 commits June 10, 2026 15:33
…y voucher verify (#845)

Three doc-only LOW follow-ups from the 2026-06-09 review (#845):

- PaymentChannel.sol: note at VOUCHER_TYPEHASH that cross-chain/cross-contract
  voucher replay protection comes from the inherited EIP-712 domain separator
  (chainId + contract address), not the typehash.
- appendix-peer-table-eviction.md: document the implicit ~60s announce-replay
  window for not-yet-tabled peers (clock-skew rule 3 is the only guard; tabled
  peers get strict monotonicity via rule 4).
- incentive/channel.rs: note at the verify_signer call site that off-chain
  verification is EOA-only and fail-closed vs the contract's ERC-1271 path,
  deferred per ADR 024.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…oes (#845 #864)

Two LOW review follow-ups:

- cli (#864): `decdn node *` / `node top` admin/metrics URL resolution now
  consults DECDN_ADMIN_PORT / DECDN_METRICS_PORT (the same vars the daemon
  reads) between the URL flag and the config file. An env-only deployment was
  otherwise unreachable — the CLI dialed the default 9191/9090 and reported the
  node down. A malformed or 0 value errors rather than silently falling
  through. Logic lives in pure `admin_url_from_env` / `metrics_url_from_env`
  helpers (take the raw value) so it's tested without env-global mutation.

- gossip (#845): the NodeAnnounce subscriber now drops an echo of this node's
  own announce (`is_self_announce`) before `dispatch_insert`, so a node never
  inserts itself into its own peer table. Latent today (Plumtree doesn't echo
  to origin) — defense-in-depth.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…nt credit (#864)

When a live `ChannelSettled` is processed before its matching `ChannelOpened`
(the two live filter streams have no cross-ordering), `client_addr` resolved to
None and the settlement was credited provider-only and marked seen — the client
party's reporter credit was dropped permanently, since the settled log event is
consumed from the stream and never re-emitted.

Park such events in a bounded FIFO buffer (`pending_settled` / `pending_order`,
cap `MAX_PENDING_SETTLED`) keyed by channelId and re-credit them when the
matching open arrives (`handle_opened`). On buffer overflow the oldest is
evicted and the backfill re-armed from its block so it isn't lost (provider-only
if its open never arrives). The backfill path is unchanged: it processes opens
before settles deterministically, so in-window channels always resolve.

The two select arms moved into `handle_opened` / `handle_settled` helpers.
Tests cover the buffer's FIFO/sync invariants and bounded eviction-with-rearm.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
#845)

`CacheEngine::evict` persists the eviction with a blocking `fsync`
(`append_evicted_log`). It is reached not only from the operator DMCA admin RPC
but from the hash-mismatch path in pull-through (`commit_buffered_bytes` and the
streaming path), which runs on a request-serving worker — the blocking fsync
stalled the async runtime there.

Make `evict` async and run the append inside `tokio::task::spawn_blocking`. A
blocking-task panic (JoinError) and an I/O failure are both surfaced as `Err`,
preserving the durability contract (an `Ok` always means the eviction was
fsync'd). All callers are already async, so this is a mechanical `.await`
propagation. Scope is strictly the fsync offload — the hash-mismatch eviction
logic (owned by #835/#853/#860) is unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…threshold (#864)

`NetworkScores::record` folded every weighted report into `entry.score`
immediately, while `score()`/`is_scored()` stayed neutral until
`min_distinct_reporters` (default 3) distinct reporters were seen. A single
staked reporter could therefore EWMA-drive the still-hidden score to an extreme
value that two one-shot reporters then instantly revealed by crossing the
visibility threshold.

Count the reporter first, then fold only once the threshold is reached — below
it the score stays at neutral `initial_score` (decaying neutral is a no-op) and
only the monotonic timestamp advances. The threshold-crossing report begins
folding from neutral, so no single reporter can dominate. This makes the code
conform to ADR 008 §Minimum reporter threshold ("...before departing from the
default 0.5 neutral score"), which the old immediate-fold path only honored at
the visibility layer.

Updated the ±0.05-clamp test to cross the threshold; added a test that a solo
reporter cannot pre-load the revealed score.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
`NetworkScores`/`Coverage` create an aggregation entry for any 32-byte
`provider` key on first report, with no existence check. A staked but
rate-limited reporter could therefore name arbitrary fabricated provider ids
and grow the maps unboundedly (bounded per-entry, unbounded in count).

Guard the provider in `NodeReputationSink::accept` against the active-staker set
(`StakerSet::is_active`) — the authoritative, chain-backed oracle that already
gates inbound reporters via `NodeStakedReporterSet` — and drop the report the
same way a malformed key is dropped, before any `network.record` /
`coverage.record` call. Keeps the `reputation` crate caller-agnostic.

The staker set is threaded into `NodeReputationSink::new` (the runtime already
holds it). Tradeoff: a provider that is briefly absent from the local staker-set
cache (chain lag) has its reports dropped; the set is event-subscribed so this
is rare, and it matches the existing reporter-gating posture. Added a test that
a non-staked provider creates no entry and stays unscored/neutral.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Copilot AI review requested due to automatic review settings June 10, 2026 13:10
@github-actions

github-actions Bot commented Jun 10, 2026 •

Copy link
Copy Markdown

Gas snapshot

Gas changes vs base
No files changed, compilation skipped

Ran 17 tests for test/FeeRouter.t.sol:FeeRouterTest
[PASS] test_bytesInWindow_clampsOversizedWindow() (gas: 510226)
[PASS] test_bytesInWindow_sumsTrailingWindow() (gas: 497431)
[PASS] test_bytesInWindow_zeroWindowReturnsZero() (gas: 9387)
[PASS] test_pause_revertsWithoutRole() (gas: 14609)
[PASS] test_routeSettlement_distributesThreeLegs() (gas: 232441)
[PASS] test_routeSettlement_dustRoutesToOperatorWhenBuybackUnset() (gas: 141816)
[PASS] test_routeSettlement_incrementsBytesPerEpoch() (gas: 221502)
[PASS] test_routeSettlement_revertsWithoutRouterRole() (gas: 89186)
[PASS] test_setBuybackBurner_revertsWithoutRole() (gas: 14698)
[PASS] test_setSharesAndDestinations_revertsWithoutRole() (gas: 19547)
[PASS] test_setShares_rejectsNonZeroShareWithoutDestination() (gas: 16217)
[PASS] test_setShares_rejectsSumNot10000() (gas: 14523)
[PASS] test_setShares_revertsWithoutRole() (gas: 15219)
[PASS] test_setTreasury_revertsWithoutRole() (gas: 14763)
[PASS] test_setWindowEpochs_enforcesBounds() (gas: 32758)
[PASS] test_setWindowEpochs_revertsWithoutRole() (gas: 14688)
[PASS] test_unpause_revertsWithoutRole() (gas: 72144)
Suite result: ok. 17 passed; 0 failed; 0 skipped; finished in 3.50ms (2.64ms CPU time)

Ran 24 tests for test/BuybackBurner.t.sol:BuybackBurnerTest
[PASS] test_constructor_grantsAdminAndGovernanceRoles() (gas: 14873)
[PASS] test_constructor_revertsOnZeroAdmin() (gas: 67989)
[PASS] test_constructor_revertsOnZeroToken() (gas: 67964)
[PASS] test_constructor_revertsOnZeroUsdc() (gas: 67972)
[PASS] test_executeBuyback_happyPath_burnsAndEmits() (gas: 110748)
[PASS] test_executeBuyback_revertsPoolNotWiredWhenPoolUnset() (gas: 973169)
[PASS] test_executeBuyback_revertsPoolNotWiredWhenVaultUnset() (gas: 973299)
[PASS] test_executeBuyback_revertsSwapNotImplementedWhenActualDeltaIsZero() (gas: 65569)
[PASS] test_executeBuyback_revertsSwapReportMismatch() (gas: 116470)
[PASS] test_executeBuyback_revertsWhenAmountExceedsBalance() (gas: 77138)
[PASS] test_executeBuyback_revertsWhenPaused() (gas: 73161)
[PASS] test_executeBuyback_revertsWithoutKeeperRole() (gas: 64237)
[PASS] test_executeBuyback_revertsZeroAmount() (gas: 20661)
[PASS] test_executeBuyback_revertsZeroMinOut() (gas: 65728)
[PASS] test_pause_revertsWithoutPauserRole() (gas: 11929)
[PASS] test_rescueUSDC_revertsOnZeroAmount() (gas: 13609)
[PASS] test_rescueUSDC_revertsOnZeroRecipient() (gas: 13609)
[PASS] test_rescueUSDC_revertsWithoutGovernanceRole() (gas: 12259)
[PASS] test_rescueUSDC_transfersToRecipient() (gas: 56391)
[PASS] test_setPool_emitsUpdateEvent() (gas: 24938)
[PASS] test_setPool_revertsWithoutGovernanceRole() (gas: 12273)
[PASS] test_setVault_emitsUpdateEvent() (gas: 24925)
[PASS] test_setVault_revertsWithoutGovernanceRole() (gas: 12129)
[PASS] test_unpause_revertsWithoutPauserRole() (gas: 23910)
Suite result: ok. 24 passed; 0 failed; 0 skipped; finished in 11.20ms (8.08ms CPU time)

Ran 51 tests for test/GovernanceLifecycle.t.sol:GovernanceLifecycleTest
[PASS] test_canary_executorIsTimelock() (gas: 9912)
[PASS] test_canary_governanceRoleHandoff() (gas: 99584)
[PASS] test_canary_governorVoteWeightWired() (gas: 130011)
[PASS] test_lifecycle_CapacityBond_setMaxCapacityMbps_happy() (gas: 589468)
[PASS] test_lifecycle_CapacityBond_setMaxCapacityMbps_outOfBounds() (gas: 595306)
[PASS] test_lifecycle_CapacityBond_setMaxMultiaddrSize_happy() (gas: 589334)
[PASS] test_lifecycle_CapacityBond_setMaxMultiaddrSize_outOfBounds() (gas: 595243)
[PASS] test_lifecycle_CapacityBond_setMinBond_happy() (gas: 589314)
[PASS] test_lifecycle_CapacityBond_setMinBond_outOfBounds() (gas: 595196)
[PASS] test_lifecycle_CapacityBond_setMinCapacityMbps_happy() (gas: 589334)
[PASS] test_lifecycle_CapacityBond_setMinCapacityMbps_outOfBounds() (gas: 595129)
[PASS] test_lifecycle_CapacityBond_setMultiaddrUpdateCooldown_happy() (gas: 606454)
[PASS] test_lifecycle_CapacityBond_setMultiaddrUpdateCooldown_outOfBounds() (gas: 595214)
[PASS] test_lifecycle_CapacityBond_setRegionStabilityWindow_happy() (gas: 589292)
[PASS] test_lifecycle_CapacityBond_setRegionStabilityWindow_outOfBounds() (gas: 595175)
[PASS] test_lifecycle_CapacityBond_setUnbondingPeriod_happy() (gas: 596831)
[PASS] test_lifecycle_CapacityBond_setUnbondingPeriod_outOfBounds() (gas: 595157)
[PASS] test_lifecycle_ContentBlacklist_addHashGlobal_happy() (gas: 612032)
[PASS] test_lifecycle_ContentBlacklist_addHashGlobal_outOfBounds() (gas: 597356)
[PASS] test_lifecycle_ContentBlacklist_addOperator_happy() (gas: 640876)
[PASS] test_lifecycle_ContentBlacklist_addOperator_outOfBounds() (gas: 602546)
[PASS] test_lifecycle_ContentBlacklist_registerRegionalBody_happy() (gas: 611233)
[PASS] test_lifecycle_ContentBlacklist_removeHashGlobal_happy() (gas: 997458)
[PASS] test_lifecycle_ContentBlacklist_removeHashGlobal_outOfBounds() (gas: 599882)
[PASS] test_lifecycle_ContentBlacklist_removeOperator_happy() (gas: 1026015)
[PASS] test_lifecycle_ContentBlacklist_setAppealBond_happy() (gas: 591845)
[PASS] test_lifecycle_ContentBlacklist_setAppealBond_outOfBounds() (gas: 597677)
[PASS] test_lifecycle_ContentBlacklist_setOriginBlacklist_happy() (gas: 610432)
[PASS] test_lifecycle_ContentBlacklist_setOriginBlacklist_outOfBounds() (gas: 598176)
[PASS] test_lifecycle_DecdnGovernor_setAgeRampMonths_happy() (gas: 631158)
[PASS] test_lifecycle_DecdnGovernor_setAgeRampMonths_outOfBounds() (gas: 636810)
[PASS] test_lifecycle_DecdnGovernor_setVoteCapBps_happy() (gas: 631187)
[PASS] test_lifecycle_DecdnGovernor_setVoteCapBps_outOfBounds() (gas: 636851)
[PASS] test_lifecycle_FeeRouter_setBuybackBurner_happy() (gas: 589746)
[PASS] test_lifecycle_FeeRouter_setBuybackBurner_outOfBounds() (gas: 597159)
[PASS] test_lifecycle_FeeRouter_setSharesAndDestinations_happy() (gas: 622709)
[PASS] test_lifecycle_FeeRouter_setSharesAndDestinations_outOfBounds() (gas: 598342)
[PASS] test_lifecycle_FeeRouter_setShares_happy() (gas: 608796)
[PASS] test_lifecycle_FeeRouter_setShares_outOfBounds() (gas: 597139)
[PASS] test_lifecycle_FeeRouter_setTreasury_happy() (gas: 589782)
[PASS] test_lifecycle_FeeRouter_setTreasury_outOfBounds() (gas: 594991)
[PASS] test_lifecycle_FeeRouter_setWindowEpochs_happy() (gas: 611487)
[PASS] test_lifecycle_FeeRouter_setWindowEpochs_outOfBounds() (gas: 597515)
[PASS] test_lifecycle_PublisherRegistry_setMaxNamespacesPerPublisher_happy() (gas: 592072)
[PASS] test_lifecycle_PublisherRegistry_setMaxNamespacesPerPublisher_outOfBounds() (gas: 597650)
[PASS] test_lifecycle_PublisherRegistry_setNamespaceTransferTimelock_happy() (gas: 591966)
[PASS] test_lifecycle_PublisherRegistry_setNamespaceTransferTimelock_outOfBounds() (gas: 597692)
[PASS] test_lifecycle_SlashAppeal_setAppealBond_happy() (gas: 591740)
[PASS] test_lifecycle_SlashAppeal_setAppealBond_outOfBounds() (gas: 597607)
[PASS] test_lifecycle_SlashAppeal_setChallengerIncentivePool_happy() (gas: 592230)
[PASS] test_lifecycle_SlashAppeal_setChallengerIncentivePool_outOfBounds() (gas: 597503)
Suite result: ok. 51 passed; 0 failed; 0 skipped; finished in 134.30ms (113.73ms CPU time)

Ran 3 tests for test/InterfaceFreeze.t.sol:InterfaceFreezeTest
[PASS] test_originAssignment_abiFrozen() (gas: 1298)
[PASS] test_paymentChannel_abiFrozen() (gas: 1540)
[PASS] test_slashJudge_abiFrozen() (gas: 870)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 349.88µs (78.90µs CPU time)

Ran 30 tests for test/OriginAssignment.t.sol:OriginAssignmentTest
[PASS] test_activate_blacklistSkippedWhenUnset() (gas: 2047543)
[PASS] test_activate_onlyGovernance() (gas: 140585)
[PASS] test_activate_replacesPreviousSet() (gas: 352112)
[PASS] test_activate_revertsBeforeTimelock() (gas: 140524)
[PASS] test_activate_revertsNoPending() (gas: 21009)
[PASS] test_activate_revertsOperatorBlacklisted() (gas: 173841)
[PASS] test_activate_revertsOperatorBlacklistedViaOperatorMapping() (gas: 183923)
[PASS] test_activate_revertsOperatorWentInactive() (gas: 155953)
[PASS] test_activate_setsAuthorizedSet() (gas: 224900)
[PASS] test_cancel_clearsPending() (gas: 110536)
[PASS] test_defaultOpen_addAndRemove() (gas: 78409)
[PASS] test_defaultOpen_onlyGovernance() (gas: 21169)
[PASS] test_defaultOpen_revertsInactive() (gas: 27910)
[PASS] test_defaultOpen_setAllowlist() (gas: 172108)
[PASS] test_propose_overwriteReplacesPending() (gas: 128731)
[PASS] test_propose_revertsDuplicate() (gas: 34918)
[PASS] test_propose_revertsEmpty() (gas: 21925)
[PASS] test_propose_revertsInactiveOperator() (gas: 39841)
[PASS] test_propose_revertsNonOwner() (gas: 27271)
[PASS] test_propose_revertsTooMany() (gas: 39410)
[PASS] test_propose_storesPending() (gas: 133692)
[PASS] test_prune_removesBlacklistedOperator() (gas: 248023)
[PASS] test_prune_removesOperatorBlacklistedViaOperatorMapping() (gas: 248717)
[PASS] test_prune_revertsWhenBlacklistUnset() (gas: 1865198)
[PASS] test_prune_revertsWhenNotBlacklisted() (gas: 226404)
[PASS] test_revoke_byPublisherAndGovernance() (gas: 237252)
[PASS] test_revoke_revertsNonMember() (gas: 23619)
[PASS] test_setAssignmentTimelock_enforcesBounds() (gas: 24759)
[PASS] test_setContentBlacklist_rejectsZero() (gas: 13473)
[PASS] test_setMaxOrigins_enforcesBounds() (gas: 13857)
Suite result: ok. 30 passed; 0 failed; 0 skipped; finished in 9.24ms (8.51ms CPU time)

Ran 84 tests for test/CapacityBond.t.sol:CapacityBondTest
[PASS] testFuzz_bondRequired_monotonic(uint256,uint256) (runs: 1024, μ: 19239, ~: 19535)
[PASS] test_bondRequired_matchesAdrWorkedExamples() (gas: 29446)
[PASS] test_bondRequired_strictlyMonotonic() (gas: 37026)
[PASS] test_bondRequired_zeroForZeroMbps() (gas: 13051)
[PASS] test_capacityBand_defaults() (gas: 10712)
[PASS] test_capacityBand_floorAlwaysBelowCeiling() (gas: 29408)
[PASS] test_curveDefaults() (gas: 10711)
[PASS] test_declareMbps_acceptsFloorAndCeiling() (gas: 161150)
[PASS] test_declareMbps_emitsOldAndNewValue() (gas: 158233)
[PASS] test_declareMbps_revertsAboveCeiling() (gas: 18083)
[PASS] test_declareMbps_revertsBelowFloor() (gas: 17906)
[PASS] test_declareMbps_revertsWhenBondBelowCurve() (gas: 131717)
[PASS] test_declareMbps_revertsZero() (gas: 17873)
[PASS] test_declareMbps_succeedsExactlyAtCurve() (gas: 147212)
[PASS] test_declaredMbps_storesValue() (gas: 147168)
[PASS] test_escrowHooks_requireSlashAppealRole() (gas: 16929)
[PASS] test_finalizeUnappealedSlash_distributes5050() (gas: 351485)
[PASS] test_firstBondedAt_immutableAcrossReBonds() (gas: 111315)
[PASS] test_firstBondedAt_setsOnFirstBond() (gas: 102425)
[PASS] test_markAppealOpen_blocksFinalize() (gas: 322484)
[PASS] test_pause_revertsWithoutRole() (gas: 14704)
[PASS] test_reduceBondAtTier_activeOnly() (gas: 855)
[PASS] test_reduceBondAtTier_remainderClip() (gas: 1090)
[PASS] test_reduceBondAtTier_slashEqualsActive() (gas: 854)
[PASS] test_reduceBondAtTier_spillsIntoUnbonding() (gas: 1021)
[PASS] test_reduceBondAtTier_unbondingOnly() (gas: 995)
[PASS] test_reduceBondAtTier_zeroInputs() (gas: 1537)
[PASS] test_regionGateActivatedAt_setAtConstruction() (gas: 4753985)
[PASS] test_regionScopeData_returnsRegisteredNodeInputs() (gas: 425411)
[PASS] test_registerNode_revertsOnInvalidEd25519Sig() (gas: 178947)
[PASS] test_registerNode_revertsWhenAlreadyActive() (gas: 387509)
[PASS] test_registerNode_revertsWhenBondBelowCurve() (gas: 207178)
[PASS] test_registerNode_succeedsAtCurve() (gas: 415359)
[PASS] test_requestUnbond_allowedWhenNoCapacityDeclared() (gas: 161789)
[PASS] test_requestUnbond_revertsWhenItDropsBelowCurve() (gas: 160195)
[PASS] test_requestUnbond_succeedsDownToExactlyCurve() (gas: 206474)
[PASS] test_setAlpha_revertsOutOfBounds() (gas: 18496)
[PASS] test_setAlpha_revertsWhenGbpsTierOutOfRange() (gas: 29953)
[PASS] test_setAlpha_updatesCurveAndEmits() (gas: 33865)
[PASS] test_setCapacity_onlyGovernance() (gas: 19589)
[PASS] test_setCurve_onlyGovernance() (gas: 19603)
[PASS] test_setKAlpha_orderingMatters() (gas: 56177)
[PASS] test_setK_revertsWhenGbpsTierOutOfRange() (gas: 44098)
[PASS] test_setK_updatesCurveAndEmits() (gas: 35537)
[PASS] test_setMaxCapacity_acceptsInclusiveBounds() (gas: 24803)
[PASS] test_setMaxCapacity_revertsOutOfBounds() (gas: 18571)
[PASS] test_setMaxCapacity_updatesBandAndEmits() (gas: 31150)
[PASS] test_setMaxMultiaddrSize_revertsWithoutRole() (gas: 14889)
[PASS] test_setMinBond_revertsWithoutRole() (gas: 14932)
[PASS] test_setMinCapacity_acceptsInclusiveBounds() (gas: 24470)
[PASS] test_setMinCapacity_revertsOutOfBounds() (gas: 18315)
[PASS] test_setMinCapacity_updatesBandAndEmits() (gas: 166782)
[PASS] test_setMultiaddrUpdateCooldown_revertsWithoutRole() (gas: 14910)
[PASS] test_setRegionStabilityWindow_revertsWithoutRole() (gas: 14910)
[PASS] test_setSlashJudge_acceptsJudgeSatisfyingInvariant() (gas: 119563)
[PASS] test_setSlashJudge_rejectsJudgeViolatingInvariant() (gas: 95771)
[PASS] test_setSlashJudge_revertsOnZeroAddress() (gas: 13558)
[PASS] test_setSlashJudge_revertsWithoutRole() (gas: 93703)
[PASS] test_setSlashJudge_rewireEmitsPreviousJudgeAsOld() (gas: 204887)
[PASS] test_setSlashJudge_setsAndEmits() (gas: 121764)
[PASS] test_setUnbondingPeriod_boundStillEnforcedWithJudge() (gas: 126551)
[PASS] test_setUnbondingPeriod_floorWithLowEvidenceAgeSucceeds() (gas: 126302)
[PASS] test_setUnbondingPeriod_revertsWhenBelowEvidenceAge() (gas: 127571)
[PASS] test_setUnbondingPeriod_revertsWhenEqualToEvidenceAge() (gas: 127580)
[PASS] test_setUnbondingPeriod_revertsWithoutRole() (gas: 14912)
[PASS] test_setUnbondingPeriod_sameValueRejectedAfterWiring() (gas: 131695)
[PASS] test_setUnbondingPeriod_succeedsAboveEvidenceAge() (gas: 129157)
[PASS] test_setUnbondingPeriod_unwiredAppliesOnlyBound() (gas: 23600)
[PASS] test_settleAppealGranted_clearsAndRefunds() (gas: 298314)
[PASS] test_settleAppealGranted_multiSlash_recomputesThenClears() (gas: 421026)
[PASS] test_settleAppealGranted_reverseMiddleSlash_keepsNewest() (gas: 567558)
[PASS] test_settleAppealGranted_zeroBondSlash_refundsNothingClearsWatermark() (gas: 223302)
[PASS] test_settleAppealUpheld_distributes5050() (gas: 343719)
[PASS] test_slashId_persistsRecord() (gas: 309975)
[PASS] test_slash_doesNotEnforceCurve() (gas: 357612)
[PASS] test_slash_escrowsWithoutDistribution() (gas: 320954)
[PASS] test_slash_stampsSlashedAtEpoch() (gas: 309822)
[PASS] test_slash_tier3_mixedBond_exhaustsActiveTapsUnbonding() (gas: 588759)
[PASS] test_slash_tierEscalation_15then50pct() (gas: 536526)
[PASS] test_slash_zeroBondOperator_mintsZeroAmountRecordNoOpsAtFinality() (gas: 242613)
[PASS] test_slashedAtEpoch_zeroBeforeSlash() (gas: 10262)
[PASS] test_unpause_revertsWithoutRole() (gas: 94656)
[PASS] test_updateMultiaddrs_revertsWhenNodeNotActive() (gas: 15653)
[PASS] test_updateRegion_revertsWhenNodeNotActive() (gas: 15781)
Suite result: ok. 84 passed; 0 failed; 0 skipped; finished in 152.59ms (148.89ms CPU time)

Ran 8 tests for test/CapacityBondRegionE2E.t.sol:CapacityBondRegionE2ETest
[PASS] test_crossContractEject_viaContentBlacklist() (gas: 3108482)
[PASS] test_crossContract_regionalSlash_currentRegion() (gas: 5627279)
[PASS] test_crossContract_regionalSlash_prevRegionAfterWindow() (gas: 5447736)
[PASS] test_crossContract_regionalSlash_prevRegionInWindow() (gas: 5678604)
[PASS] test_registerNode_corruptEd25519Signature_reverts() (gas: 640679)
[PASS] test_registerNode_realEd25519Signature_succeeds() (gas: 851155)
[PASS] test_registerNode_replayAfterNonceBump_reverts() (gas: 1321731)
[PASS] test_updateRegion_cooldownPrevSnapshotAndEvent() (gas: 923023)
Suite result: ok. 8 passed; 0 failed; 0 skipped; finished in 108.31ms (106.86ms CPU time)

Ran 3 tests for test/CapacityBondSlashJudgeInvariant.t.sol:CapacityBondSlashJudgeInvariantTest
[PASS] test_realSlashJudge_unbondingAboveEvidenceAge_succeeds() (gas: 27779)
[PASS] test_realSlashJudge_unbondingEqualToEvidenceAge_reverts() (gas: 21439)
[PASS] test_realSlashJudge_wiredInSetUp() (gas: 15233)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 4.78ms (1.82ms CPU time)

Ran 28 tests for test/ContentBlacklist.t.sol:ContentBlacklistTest
[PASS] test_addHashGlobal_andQuery() (gas: 40498)
[PASS] test_addHashGlobal_revertsWithoutGovernanceRole() (gas: 14652)
[PASS] test_addHashRegional_globalTakesPrecedence() (gas: 44265)
[PASS] test_addHashRegional_revertsWithoutRegionalBodyRole() (gas: 14706)
[PASS] test_addHash_revertsWhileAppealActive() (gas: 251589)
[PASS] test_addOperator_callsEjectOnCapacityBond() (gas: 94055)
[PASS] test_fullAppealFlow_ratifyRemovesHash() (gas: 291541)
[PASS] test_hasActiveAppeal_clearedOnLapseOpen() (gas: 239316)
[PASS] test_hasActiveAppeal_clearedOnReject() (gas: 434573)
[PASS] test_hasActiveAppeal_clearedOnReverse() (gas: 270826)
[PASS] test_isHashBlacklistedForOperator_currentRegion() (gas: 103758)
[PASS] test_isHashBlacklistedForOperator_global() (gas: 42764)
[PASS] test_isHashBlacklistedForOperator_neverChangedFallback_ripensFromMaxBondGate() (gas: 166804)
[PASS] test_isHashBlacklistedForOperator_prevRegionWindow() (gas: 144877)
[PASS] test_isHashBlacklistedForOperator_suspendedRegional_false() (gas: 368444)
[PASS] test_openBlacklistAppeal_globalEntry_skipsRegionCheck() (gas: 283405)
[PASS] test_openBlacklistAppeal_inWindowFiling_notAutoRejected() (gas: 334916)
[PASS] test_openBlacklistAppeal_nonOperatorStanding_skipsRegionCheck() (gas: 266611)
[PASS] test_openBlacklistAppeal_operatorRegionMismatch_reverts() (gas: 70907)
[PASS] test_openBlacklistAppeal_revertsDuplicatePerHash() (gas: 353673)
[PASS] test_openBlacklistAppeal_revertsOnEntryNotBlacklisted() (gas: 18657)
[PASS] test_openBlacklistAppeal_revertsOnZeroRegion() (gas: 16287)
[PASS] test_regionalCap_countsFastTrackedNotOpen() (gas: 928028)
[PASS] test_registerRegionalBody_revertsWithoutGovernanceRole() (gas: 14721)
[PASS] test_rejectAppeal_burnsBond() (gas: 246208)
[PASS] test_removeHashRegional_blocksGlobalRegionEntries() (gas: 46792)
[PASS] test_reverseAppeal_clearsSuspendedAndBurnsBond() (gas: 277549)
[PASS] test_setAppealBond_revertsWithoutGovernanceRole() (gas: 14776)
Suite result: ok. 28 passed; 0 failed; 0 skipped; finished in 11.03ms (9.85ms CPU time)

Ran 13 tests for test/DecdnGovernor.t.sol:DecdnGovernorTest
[PASS] test_ageRampMonthsAt_preservesPriorReadAfterLaterPush() (gas: 4104760)
[PASS] test_getVotes_halfRamp() (gas: 173099)
[PASS] test_getVotes_historicalSnapshotIgnoresFutureSlash() (gas: 221405)
[PASS] test_getVotes_ramp() (gas: 173020)
[PASS] test_getVotes_recoversAfterWindowSlidesPastSlash() (gas: 196808)
[PASS] test_getVotes_uncappedWhenBelowCap() (gas: 173006)
[PASS] test_getVotes_zeroIfNeverBonded() (gas: 93593)
[PASS] test_getVotes_zeroWhenSlashedInWindow() (gas: 119032)
[PASS] test_proposalThreshold_isPointOnePercent() (gas: 71807)
[PASS] test_quorum_isFourPercentOfTotalBytesInWindow() (gas: 71639)
[PASS] test_setAgeRampMonths_revertsWithoutTimelockCaller() (gas: 11013)
[PASS] test_setVoteCapBps_revertsWithoutTimelockCaller() (gas: 11066)
[PASS] test_voteCapBpsAt_preservesPriorReadAfterLaterPush() (gas: 4104884)
Suite result: ok. 13 passed; 0 failed; 0 skipped; finished in 10.15ms (8.96ms CPU time)

Ran 23 tests for test/DeployProtocol.t.sol:DeployProtocolTest
[PASS] test_assertNoBackDoors_revertsWhenHandoffIncomplete() (gas: 24970417)
[PASS] test_assertNoBackDoors_revertsWhenTimelockMissingRole() (gas: 92251)
[PASS] test_assertPeerRolesWired_revertsWhenSlashJudgeMisbound() (gas: 25073262)
[PASS] test_crossContractWiring_capacityBondPeerRoles() (gas: 23596)
[PASS] test_crossContractWiring_newContractPeerRoles() (gas: 34695)
[PASS] test_crossContractWiring_slashAppealChallengerPool() (gas: 9920)
[PASS] test_deployTargets_revertsOnZeroChallengerIncentivePool() (gas: 2025520)
[PASS] test_deployTargets_revertsOnZeroDeployer() (gas: 580127)
[PASS] test_deployTargets_revertsOnZeroEd25519Verifier() (gas: 2025388)
[PASS] test_deployTargets_revertsOnZeroEmergencyMultisig() (gas: 2025454)
[PASS] test_deployTargets_revertsOnZeroInitialTokenHolder() (gas: 2025542)
[PASS] test_deployTargets_revertsOnZeroUsdc() (gas: 2025326)
[PASS] test_emergencyMultisig_canPauseAndBlockEntrypoint() (gas: 48638)
[PASS] test_feeRouter_launchSharesDormantBuyback() (gas: 16477)
[PASS] test_feeRouter_treasuryIsTimelock() (gas: 10051)
[PASS] test_governor_openExecutor() (gas: 8765)
[PASS] test_governor_timelockBinding() (gas: 25888)
[PASS] test_roleMatrix_deployerHoldsNoRoleAnywhere() (gas: 67166)
[PASS] test_roleMatrix_emergencyMultisigGrants() (gas: 19591)
[PASS] test_roleMatrix_pauserIsEmergencyMultisig() (gas: 45657)
[PASS] test_roleMatrix_timelockHoldsDefaultAdminOnEveryTarget() (gas: 41978)
[PASS] test_roleMatrix_timelockHoldsGovernanceOnEveryTarget() (gas: 42106)
[PASS] test_token_initialHolderHoldsFullSupply() (gas: 13714)
Suite result: ok. 23 passed; 0 failed; 0 skipped; finished in 26.21ms (16.52ms CPU time)

Ran 7 tests for test/DeployProtocolScript.t.sol:DeployProtocolScriptTest
[PASS] test_readConfig_appliesDefaultsForOptionalVars() (gas: 17094)
[PASS] test_readConfig_deployerIsTxOrigin() (gas: 15218)
[PASS] test_run_abortsBeforeBroadcastWhenManifestExists() (gas: 21690)
[PASS] test_run_revertsIfDeployerIsForgeDefaultSender() (gas: 14822)
[PASS] test_writeManifest_overwritesWhenForced() (gas: 110055)
[PASS] test_writeManifest_revertsOnExistingFile() (gas: 31390)
[PASS] test_writeManifest_writesAllAddresses() (gas: 91663)
Suite result: ok. 7 passed; 0 failed; 0 skipped; finished in 14.89ms (15.25ms CPU time)

Ran 3 tests for test/E2EProtocol.t.sol:E2EProtocolTest
[PASS] test_deployWiring_newContractsWiredAndHandedOff() (gas: 66859)
[PASS] test_e2e_blacklistEjectsOperator() (gas: 420308)
[PASS] test_e2e_registerSettleSlashEjectAppeal() (gas: 1463160)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 15.25ms (3.66ms CPU time)

Ran 12 tests for test/Ed25519Verifier.t.sol:Ed25519VerifierTest
[PASS] test_MalleatedScalarRejected() (gas: 525477)
[PASS] test_NonCanonicalYRejected() (gas: 11387)
[PASS] test_OffCurvePubKeyRejected() (gas: 14174)
[PASS] test_SmallOrderPubKeyRejected() (gas: 40661)
[PASS] test_SmallOrderRRejected() (gas: 39201)
[PASS] test_ValidVectorsAccepted() (gas: 3003445)
[PASS] test_VerifyRunsUnderStaticcall() (gas: 508245)
[PASS] test_WrongLengthSignatureRejected() (gas: 12156)
[PASS] test_WrongMessageRejected() (gas: 507932)
[PASS] test_WrongPubKeyRejected() (gas: 509119)
[PASS] test_WrongRRejected() (gas: 503763)
[PASS] test_WrongSRejected() (gas: 508960)
Suite result: ok. 12 passed; 0 failed; 0 skipped; finished in 149.13ms (145.69ms CPU time)

Ran 27 tests for test/PublisherRegistry.t.sol:PublisherRegistryTest
[PASS] testFuzz_createNamespace_idsAreSequentialAndOwned(uint8) (runs: 1024, μ: 712091, ~: 399321)
[PASS] test_claimContent_multiClaimAcrossNamespaces() (gas: 233820)
[PASS] test_claimContent_recordsClaim() (gas: 134733)
[PASS] test_claimContent_revertsForDefaultOpenNamespace() (gas: 13756)
[PASS] test_claimContent_revertsIfNotOwner() (gas: 66829)
[PASS] test_claimContent_revertsOnDuplicateSameNamespace() (gas: 135319)
[PASS] test_constructor_revertsZeroAdmin() (gas: 36674)
[PASS] test_constructor_setsDefaultsAndRoles() (gas: 19037)
[PASS] test_createNamespace_assignsIdsFromOne() (gas: 92728)
[PASS] test_createNamespace_revertsAtCap() (gas: 98581)
[PASS] test_createNamespace_zeroIsNeverAssigned() (gas: 65471)
[PASS] test_namespaceOf_emptyForUnclaimed() (gas: 8273)
[PASS] test_setMaxNamespaces_revertsOutOfBounds() (gas: 17605)
[PASS] test_setMaxNamespaces_revertsWithoutRole() (gas: 13384)
[PASS] test_setMaxNamespaces_withinBounds() (gas: 20687)
[PASS] test_setTransferTimelock_revertsOutOfBounds() (gas: 17706)
[PASS] test_setTransferTimelock_revertsWithoutRole() (gas: 14763)
[PASS] test_setTransferTimelock_withinBounds() (gas: 20560)
[PASS] test_transfer_cancelByOwner() (gas: 78668)
[PASS] test_transfer_cancelRevertsIfNotOwner() (gas: 93302)
[PASS] test_transfer_finalizeRevertsIfNotPendingOwner() (gas: 93817)
[PASS] test_transfer_finalizeRevertsNoPending() (gas: 68544)
[PASS] test_transfer_fullFlow() (gas: 98658)
[PASS] test_transfer_initiateRevertsIfNotOwner() (gas: 66923)
[PASS] test_transfer_initiateRevertsZeroNewOwner() (gas: 64330)
[PASS] test_transfer_revertsWhenRecipientAtCap() (gas: 150145)
[PASS] test_transfer_selfTransferExemptFromCap() (gas: 95404)
Suite result: ok. 27 passed; 0 failed; 0 skipped; finished in 894.95ms (893.91ms CPU time)

Ran 15 tests for test/RegionScopeLib.t.sol:RegionScopeLibTest
[PASS] test_effectiveSince_fallbackPicksMax() (gas: 8708)
[PASS] test_effectiveSince_lastChangedWins() (gas: 5963)
[PASS] test_pack_emptyIsZero() (gas: 6016)
[PASS] test_pack_fullSixteenBytesRoundTrips() (gas: 6127)
[PASS] test_pack_masksDirtyTrailingBytes() (gas: 6700)
[PASS] test_pack_matchesLiteralPacking() (gas: 9042)
[PASS] test_pack_oversizedStringTruncatesNoRevert() (gas: 7514)
[PASS] test_scopedRegions_currentGlobalZeroedOut() (gas: 7594)
[PASS] test_scopedRegions_currentOnly_afterWindow() (gas: 7854)
[PASS] test_scopedRegions_effectiveInFutureDoesNotUnderflow() (gas: 7873)
[PASS] test_scopedRegions_emptyPrevNeverApplies() (gas: 7969)
[PASS] test_scopedRegions_prevAppliesInWindow() (gas: 8237)
[PASS] test_scopedRegions_prevEqualsCurrentDeduped() (gas: 7963)
[PASS] test_scopedRegions_prevGlobalNeverApplies() (gas: 7887)
[PASS] test_scopedRegions_windowBoundaryIsExclusive() (gas: 10842)
Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in 1.11ms (690.99µs CPU time)

Ran 22 tests for test/SlashAppeal.t.sol:SlashAppealTest
[PASS] test_cleanup_fastTrackedLapse_grantsOperatorFavorable() (gas: 449843)
[PASS] test_cleanup_openLapse_upholds() (gas: 467775)
[PASS] test_fastTrack_requiresMultisig() (gas: 479726)
[PASS] test_forceResolveStuckAppeal_resolvesAfterRoleRevoked() (gas: 516290)
[PASS] test_forceResolveStuckAppeal_revertsWhenNotAppealOpen() (gas: 315222)
[PASS] test_forceResolveStuckAppeal_revertsWithoutGovernanceRole() (gas: 482781)
[PASS] test_frequencyCap_blocksSecondAppealWithinWindow() (gas: 600160)
[PASS] test_grant_newerAppeal_fallsBackToOlderStandingSlash() (gas: 595787)
[PASS] test_grant_olderAppeal_preservesNewerSlashZeroOut() (gas: 595206)
[PASS] test_grant_refundsOperatorAndBondAndClearsZeroOut() (gas: 457786)
[PASS] test_grant_requiresGovernance() (gas: 490221)
[PASS] test_grant_revertsIfNotFastTracked() (gas: 481995)
[PASS] test_open_locksEscrowAndPullsBond() (gas: 485806)
[PASS] test_open_revertsAfterFilingWindow() (gas: 476626)
[PASS] test_open_revertsForNonOperator() (gas: 490579)
[PASS] test_open_revertsOnDoubleAppeal() (gas: 481659)
[PASS] test_open_revertsUnknownSlash() (gas: 23799)
[PASS] test_pause_extendsFilingWindow() (gas: 403362)
[PASS] test_reject_burnsBondAndDistributesEscrow() (gas: 473481)
[PASS] test_slashAppealPause_extendsCapacityBondFilingWindow() (gas: 551216)
[PASS] test_uphold_distributesEscrowAndSplitsBond() (gas: 509901)
[PASS] test_uphold_poolUnset_burnsFullBond() (gas: 2244318)
Suite result: ok. 22 passed; 0 failed; 0 skipped; finished in 11.05ms (9.57ms CPU time)

Ran 32 tests for test/SlashJudge.t.sol:SlashJudgeTest
[PASS] test_blacklist_globalAfterResponse_rescuedByRegionalLeg() (gas: 256205)
[PASS] test_blacklist_globalAndRegionalBothAfterResponse_revertsBlacklistAfter() (gas: 140489)
[PASS] test_blacklist_neverChangedFallback_revertsAfterMaxBondGateWindow() (gas: 183467)
[PASS] test_blacklist_neverChangedFallback_ripensFromMaxBondGate() (gas: 301363)
[PASS] test_blacklist_revertsOnHashMismatch() (gas: 68256)
[PASS] test_blacklist_revertsPrevRegionAfterWindow() (gas: 160532)
[PASS] test_blacklist_revertsRegionalEntryAfterResponse() (gas: 118671)
[PASS] test_blacklist_revertsWhenBlacklistedAfterResponse() (gas: 89800)
[PASS] test_blacklist_revertsWhenNotBlacklisted() (gas: 65936)
[PASS] test_blacklist_revertsWhenSuspended() (gas: 89315)
[PASS] test_blacklist_slashesOnCurrentRegionEntry() (gas: 234793)
[PASS] test_blacklist_slashesOnPrevRegionInsideWindow() (gas: 278422)
[PASS] test_blacklist_slashesOnProbeResponse() (gas: 189689)
[PASS] test_blacklist_slashesOnStreamResponse() (gas: 190399)
[PASS] test_blacklist_suspendedRegionalEntryDoesNotSlash() (gas: 118570)
[PASS] test_blacklist_unrelatedRegionEntryDoesNotSlash() (gas: 120479)
[PASS] test_constructor_revertsWhenEvidenceAgeExceedsUnbonding() (gas: 723102)
[PASS] test_pause_blocksChallenges() (gas: 58371)
[PASS] test_phantom_revertsOnBadProbeSignature() (gas: 46824)
[PASS] test_phantom_revertsOnEvidenceReplay() (gas: 199238)
[PASS] test_phantom_revertsOnFutureEvidence() (gas: 47618)
[PASS] test_phantom_revertsOnNodeIdMismatch() (gas: 37784)
[PASS] test_phantom_revertsOnStaleEvidence() (gas: 49932)
[PASS] test_phantom_revertsOnUnregisteredNode() (gas: 39227)
[PASS] test_phantom_revertsOutsideTimestampWindow() (gas: 49625)
[PASS] test_phantom_revertsWhenStreamOk() (gas: 53678)
[PASS] test_phantom_slashesAndRoundTripsBond() (gas: 179618)
[PASS] test_rate_revertsWhenNotHigher() (gas: 53671)
[PASS] test_rate_slashesWhenStreamRateHigher() (gas: 172214)
[PASS] test_setChallengeBond_enforcesBounds() (gas: 24711)
[PASS] test_setMaxEvidenceAge_enforcesBoundsAndInvariant() (gas: 40177)
[PASS] test_setters_onlyGovernance() (gas: 13781)
Suite result: ok. 32 passed; 0 failed; 0 skipped; finished in 18.91ms (17.80ms CPU time)

Ran 44 tests for test/TestnetFaucet.t.sol:TestnetFaucetTest
[PASS] testFuzz_claim_atOrAboveCooldown(uint256) (runs: 1024, μ: 91482, ~: 91528)
[PASS] testFuzz_claim_belowCooldown(uint256) (runs: 1024, μ: 85186, ~: 85389)
[PASS] test_admin_canGrantAndRevokeRoles() (gas: 56401)
[PASS] test_claim_blocksReentrancy() (gas: 1550228)
[PASS] test_claim_happyPath() (gas: 82821)
[PASS] test_claim_perCallerCooldownIndependence() (gas: 133478)
[PASS] test_claim_revertsBeforeCooldown() (gas: 83092)
[PASS] test_claim_revertsOnInsufficientBalance() (gas: 50715)
[PASS] test_claim_revertsOneSecondBeforeCooldownBoundary() (gas: 82996)
[PASS] test_claim_revertsWhenPaused() (gas: 39998)
[PASS] test_claim_succeedsAfterCooldown() (gas: 90430)
[PASS] test_claim_succeedsAtExactCooldownBoundary() (gas: 87103)
[PASS] test_constructor_allowsZeroCooldown() (gas: 1810378)
[PASS] test_constructor_revertsOnCooldownExceedingMax() (gas: 1015061)
[PASS] test_constructor_revertsOnMainnetChainId() (gas: 988198)
[PASS] test_constructor_revertsOnZeroAdmin() (gas: 985898)
[PASS] test_constructor_revertsOnZeroClaimAmount() (gas: 988045)
[PASS] test_constructor_revertsOnZeroFunding() (gas: 988061)
[PASS] test_constructor_revertsOnZeroGovernance() (gas: 985864)
[PASS] test_constructor_revertsOnZeroPauser() (gas: 985954)
[PASS] test_constructor_revertsOnZeroTokenAddress() (gas: 70468)
[PASS] test_constructor_revertsOnZeroTreasury() (gas: 987830)
[PASS] test_constructor_revertsWhenTreasuryNotApproved() (gas: 1110690)
[PASS] test_constructor_setsStateAndRoles() (gas: 43070)
[PASS] test_nonAdmin_cannotGrantRoles() (gas: 17889)
[PASS] test_pause_blocksClaimUnpauseRestores() (gas: 91691)
[PASS] test_pause_revertsOnNonPauser() (gas: 14607)
[PASS] test_setClaimAmount_revertsOnNonGovernance() (gas: 14702)
[PASS] test_setClaimAmount_revertsOnZero() (gas: 13338)
[PASS] test_setClaimAmount_updatesAndEmits() (gas: 22083)
[PASS] test_setCooldown_acceptsMaxCooldown() (gas: 20228)
[PASS] test_setCooldown_allowsZero() (gas: 94920)
[PASS] test_setCooldown_revertsOnExceedingMax() (gas: 13790)
[PASS] test_setCooldown_revertsOnNonGovernance() (gas: 14705)
[PASS] test_setCooldown_updatesAndEmits() (gas: 22231)
[PASS] test_timeUntilNext_tracksCooldownWindow() (gas: 82615)
[PASS] test_timeUntilNext_zeroBeforeFirstClaim() (gas: 10099)
[PASS] test_unpause_revertsOnNonPauser() (gas: 43483)
[PASS] test_withdraw_revertsOnInsufficientBalance() (gas: 26877)
[PASS] test_withdraw_revertsOnNonGovernance() (gas: 17089)
[PASS] test_withdraw_revertsOnZeroAmount() (gas: 20838)
[PASS] test_withdraw_revertsOnZeroTo() (gas: 18662)
[PASS] test_withdraw_transfersAndEmits() (gas: 44129)
[PASS] test_withdraw_worksWhilePaused() (gas: 68286)
Suite result: ok. 44 passed; 0 failed; 0 skipped; finished in 292.07ms (290.34ms CPU time)

Ran 10 tests for test/Token.t.sol:TokenTest
[PASS] testFuzz_burn_reducesSupplyByExactAmount(uint256) (runs: 1024, μ: 27809, ~: 27700)
[PASS] test_burnFrom_consumesAllowance() (gas: 38534)
[PASS] test_burn_reducesTotalSupplyAndBalance() (gas: 26044)
[PASS] test_constructor_metadata() (gas: 17896)
[PASS] test_constructor_mintsFullSupplyToHolder() (gas: 12954)
[PASS] test_constructor_revertsOnZeroInitialHolder() (gas: 83264)
[PASS] test_constructor_totalSupplyConstantMatches() (gas: 9364)
[PASS] test_noMintFunctionExposed() (gas: 10765)
[PASS] test_noVotesSurfaceExposed() (gas: 11991)
[PASS] test_permit_setsAllowance() (gas: 67380)
Suite result: ok. 10 passed; 0 failed; 0 skipped; finished in 92.97ms (92.21ms CPU time)

Ran 56 tests for test/PaymentChannel.t.sol:PaymentChannelTest
[PASS] testFuzz_settle_refundEqualsDepositMinusClaimed(uint256,uint256) (runs: 1024, μ: 416052, ~: 416090)
[PASS] testFuzz_withdrawThenSettle_partitionsClaim(uint256,uint256,uint256,uint256) (runs: 1024, μ: 554690, ~: 555056)
[PASS] test_close_afterWithdraw_settleRoutesRemainderOnly() (gas: 547394)
[PASS] test_close_atWatermarkNonce_succeeds() (gas: 477450)
[PASS] test_close_revertsAfterExpiry() (gas: 211121)
[PASS] test_close_revertsOnAmountExceedingDeposit() (gas: 223121)
[PASS] test_close_revertsOnByteOnlyAdvance() (gas: 470362)
[PASS] test_close_then_settle_routesAndRefunds() (gas: 426064)
[PASS] test_close_thirdPartyCannotClose() (gas: 213018)
[PASS] test_constructor_revertsOnDisputeWindowOutOfBounds() (gas: 77036)
[PASS] test_constructor_revertsOnEoaFeeRouter() (gas: 77058)
[PASS] test_constructor_revertsOnZeroAdmin() (gas: 71951)
[PASS] test_dispute_higherNonceWins() (gas: 309711)
[PASS] test_dispute_revertsAfterDeadline() (gas: 297276)
[PASS] test_dispute_revertsOnAmountExceedingDeposit() (gas: 305225)
[PASS] test_dispute_revertsOnAmountRegression() (gas: 304835)
[PASS] test_dispute_revertsOnByteOnlyAdvance() (gas: 488772)
[PASS] test_dispute_revertsOnBytesRegression() (gas: 304972)
[PASS] test_dispute_revertsOnStaleNonce() (gas: 302261)
[PASS] test_forcedInclusion_doesNotExtendTwice() (gas: 2916491)
[PASS] test_forcedInclusion_extendsDeadlineOnce() (gas: 2893929)
[PASS] test_forcedInclusion_noExtendWhenAmpleTimeRemains() (gas: 2902445)
[PASS] test_getRateBounds_returnsConfigured() (gas: 9912)
[PASS] test_normalDispute_doesNotExtend() (gas: 319584)
[PASS] test_openChannel_derivesIdAndIncrementsNonce() (gas: 221523)
[PASS] test_openChannel_distinctIdsAcrossProviders() (gas: 351414)
[PASS] test_openChannel_revertsBelowMinDeposit() (gas: 23033)
[PASS] test_openChannel_revertsOnInactiveProvider() (gas: 29784)
[PASS] test_openChannel_revertsWhenPaused() (gas: 47399)
[PASS] test_paused_exitsStillCallable() (gas: 671201)
[PASS] test_reclaimExpired_refundsRemainderToClient() (gas: 452272)
[PASS] test_reclaimExpired_revertsBeforeExpiry() (gas: 206190)
[PASS] test_route_zeroesResidualAllowanceAfterUnderPull() (gas: 535018)
[PASS] test_setDisputeWindow_enforcesBounds() (gas: 24815)
[PASS] test_setFeeRouter_revertsOnEoaRouter() (gas: 18660)
[PASS] test_setFeeRouter_revertsOnZeroAndUnchanged() (gas: 24635)
[PASS] test_setFeeRouter_updatesTarget() (gas: 292460)
[PASS] test_setters_onlyGovernance() (gas: 13998)
[PASS] test_settle_amountEqualsDeposit_zeroRefund() (gas: 410874)
[PASS] test_settle_fullyWithdrawn_noRouterCall() (gas: 473130)
[PASS] test_settle_revertsBeforeDisputeDeadline() (gas: 294513)
[PASS] test_topUp_increasesDeposit() (gas: 226710)
[PASS] test_topUp_onlyClient() (gas: 206621)
[PASS] test_topUp_revertsWhenPaused() (gas: 233022)
[PASS] test_voucher_rejectedOnWrongChannelId() (gas: 339891)
[PASS] test_withdraw_acceptsErc1271Signature() (gas: 717406)
[PASS] test_withdraw_onlyProvider() (gas: 210927)
[PASS] test_withdraw_revertsOnAmountExceedingDeposit() (gas: 222881)
[PASS] test_withdraw_revertsOnBadSignature() (gas: 215715)
[PASS] test_withdraw_revertsOnBytesRegression() (gas: 469281)
[PASS] test_withdraw_revertsOnNonMonotonicNonce() (gas: 468957)
[PASS] test_withdraw_revertsWhenDeltaZero() (gas: 469732)
[PASS] test_withdraw_routesDeltaAndAdvancesWatermark() (gas: 465532)
[PASS] test_withdraw_secondWithdrawRoutesOnlyIncrement() (gas: 554879)
[PASS] test_zeroVoucherClose_disabledAfterWithdraw() (gas: 462930)
[PASS] test_zeroVoucherClose_refundsFullDeposit() (gas: 218313)
Suite result: ok. 56 passed; 0 failed; 0 skipped; finished in 1.83s (1.85s CPU time)

Ran 21 test suites in 2.01s (3.79s CPU time): 512 tests passed, 0 failed, 0 skipped (512 total tests)
━ BuybackBurnerTest::test_constructor_grantsAdminAndGovernanceRoles() (gas: 14873 → 14873 | 0 0.000%)
━ BuybackBurnerTest::test_constructor_revertsOnZeroAdmin() (gas: 67989 → 67989 | 0 0.000%)
━ BuybackBurnerTest::test_constructor_revertsOnZeroToken() (gas: 67964 → 67964 | 0 0.000%)
━ BuybackBurnerTest::test_constructor_revertsOnZeroUsdc() (gas: 67972 → 67972 | 0 0.000%)
━ BuybackBurnerTest::test_executeBuyback_happyPath_burnsAndEmits() (gas: 110748 → 110748 | 0 0.000%)
━ BuybackBurnerTest::test_executeBuyback_revertsPoolNotWiredWhenPoolUnset() (gas: 973169 → 973169 | 0 0.000%)
━ BuybackBurnerTest::test_executeBuyback_revertsPoolNotWiredWhenVaultUnset() (gas: 973299 → 973299 | 0 0.000%)
━ BuybackBurnerTest::test_executeBuyback_revertsSwapNotImplementedWhenActualDeltaIsZero() (gas: 65569 → 65569 | 0 0.000%)
━ BuybackBurnerTest::test_executeBuyback_revertsSwapReportMismatch() (gas: 116470 → 116470 | 0 0.000%)
━ BuybackBurnerTest::test_executeBuyback_revertsWhenAmountExceedsBalance() (gas: 77138 → 77138 | 0 0.000%)
━ BuybackBurnerTest::test_executeBuyback_revertsWhenPaused() (gas: 73161 → 73161 | 0 0.000%)
━ BuybackBurnerTest::test_executeBuyback_revertsWithoutKeeperRole() (gas: 64237 → 64237 | 0 0.000%)
━ BuybackBurnerTest::test_executeBuyback_revertsZeroAmount() (gas: 20661 → 20661 | 0 0.000%)
━ BuybackBurnerTest::test_executeBuyback_revertsZeroMinOut() (gas: 65728 → 65728 | 0 0.000%)
━ BuybackBurnerTest::test_pause_revertsWithoutPauserRole() (gas: 11929 → 11929 | 0 0.000%)
━ BuybackBurnerTest::test_rescueUSDC_revertsOnZeroAmount() (gas: 13609 → 13609 | 0 0.000%)
━ BuybackBurnerTest::test_rescueUSDC_revertsOnZeroRecipient() (gas: 13609 → 13609 | 0 0.000%)
━ BuybackBurnerTest::test_rescueUSDC_revertsWithoutGovernanceRole() (gas: 12259 → 12259 | 0 0.000%)
━ BuybackBurnerTest::test_rescueUSDC_transfersToRecipient() (gas: 56391 → 56391 | 0 0.000%)
━ BuybackBurnerTest::test_setPool_emitsUpdateEvent() (gas: 24938 → 24938 | 0 0.000%)
━ BuybackBurnerTest::test_setPool_revertsWithoutGovernanceRole() (gas: 12273 → 12273 | 0 0.000%)
━ BuybackBurnerTest::test_setVault_emitsUpdateEvent() (gas: 24925 → 24925 | 0 0.000%)
━ BuybackBurnerTest::test_setVault_revertsWithoutGovernanceRole() (gas: 12129 → 12129 | 0 0.000%)
━ BuybackBurnerTest::test_unpause_revertsWithoutPauserRole() (gas: 23910 → 23910 | 0 0.000%)
━ CapacityBondTest::test_bondRequired_matchesAdrWorkedExamples() (gas: 29446 → 29446 | 0 0.000%)
━ CapacityBondTest::test_bondRequired_strictlyMonotonic() (gas: 37026 → 37026 | 0 0.000%)
━ CapacityBondTest::test_bondRequired_zeroForZeroMbps() (gas: 13051 → 13051 | 0 0.000%)
━ CapacityBondTest::test_capacityBand_defaults() (gas: 10712 → 10712 | 0 0.000%)
━ CapacityBondTest::test_capacityBand_floorAlwaysBelowCeiling() (gas: 29408 → 29408 | 0 0.000%)
━ CapacityBondTest::test_curveDefaults() (gas: 10711 → 10711 | 0 0.000%)
━ CapacityBondTest::test_declareMbps_acceptsFloorAndCeiling() (gas: 161150 → 161150 | 0 0.000%)
━ CapacityBondTest::test_declareMbps_emitsOldAndNewValue() (gas: 158233 → 158233 | 0 0.000%)
━ CapacityBondTest::test_declareMbps_revertsAboveCeiling() (gas: 18083 → 18083 | 0 0.000%)
━ CapacityBondTest::test_declareMbps_revertsBelowFloor() (gas: 17906 → 17906 | 0 0.000%)
━ CapacityBondTest::test_declareMbps_revertsWhenBondBelowCurve() (gas: 131717 → 131717 | 0 0.000%)
━ CapacityBondTest::test_declareMbps_revertsZero() (gas: 17873 → 17873 | 0 0.000%)
━ CapacityBondTest::test_declareMbps_succeedsExactlyAtCurve() (gas: 147212 → 147212 | 0 0.000%)
━ CapacityBondTest::test_declaredMbps_storesValue() (gas: 147168 → 147168 | 0 0.000%)
━ CapacityBondTest::test_escrowHooks_requireSlashAppealRole() (gas: 16929 → 16929 | 0 0.000%)
━ CapacityBondTest::test_finalizeUnappealedSlash_distributes5050() (gas: 351485 → 351485 | 0 0.000%)
━ CapacityBondTest::test_firstBondedAt_immutableAcrossReBonds() (gas: 111315 → 111315 | 0 0.000%)
━ CapacityBondTest::test_firstBondedAt_setsOnFirstBond() (gas: 102425 → 102425 | 0 0.000%)
━ CapacityBondTest::test_markAppealOpen_blocksFinalize() (gas: 322484 → 322484 | 0 0.000%)
━ CapacityBondTest::test_pause_revertsWithoutRole() (gas: 14704 → 14704 | 0 0.000%)
━ CapacityBondTest::test_reduceBondAtTier_activeOnly() (gas: 855 → 855 | 0 0.000%)
━ CapacityBondTest::test_reduceBondAtTier_remainderClip() (gas: 1090 → 1090 | 0 0.000%)
━ CapacityBondTest::test_reduceBondAtTier_slashEqualsActive() (gas: 854 → 854 | 0 0.000%)
━ CapacityBondTest::test_reduceBondAtTier_spillsIntoUnbonding() (gas: 1021 → 1021 | 0 0.000%)
━ CapacityBondTest::test_reduceBondAtTier_unbondingOnly() (gas: 995 → 995 | 0 0.000%)
━ CapacityBondTest::test_reduceBondAtTier_zeroInputs() (gas: 1537 → 1537 | 0 0.000%)
━ CapacityBondTest::test_regionGateActivatedAt_setAtConstruction() (gas: 4753985 → 4753985 | 0 0.000%)
━ CapacityBondTest::test_regionScopeData_returnsRegisteredNodeInputs() (gas: 425411 → 425411 | 0 0.000%)
━ CapacityBondTest::test_registerNode_revertsOnInvalidEd25519Sig() (gas: 178947 → 178947 | 0 0.000%)
━ CapacityBondTest::test_registerNode_revertsWhenAlreadyActive() (gas: 387509 → 387509 | 0 0.000%)
━ CapacityBondTest::test_registerNode_revertsWhenBondBelowCurve() (gas: 207178 → 207178 | 0 0.000%)
━ CapacityBondTest::test_registerNode_succeedsAtCurve() (gas: 415359 → 415359 | 0 0.000%)
━ CapacityBondTest::test_requestUnbond_allowedWhenNoCapacityDeclared() (gas: 161789 → 161789 | 0 0.000%)
━ CapacityBondTest::test_requestUnbond_revertsWhenItDropsBelowCurve() (gas: 160195 → 160195 | 0 0.000%)
━ CapacityBondTest::test_requestUnbond_succeedsDownToExactlyCurve() (gas: 206474 → 206474 | 0 0.000%)
━ CapacityBondTest::test_setAlpha_revertsOutOfBounds() (gas: 18496 → 18496 | 0 0.000%)
━ CapacityBondTest::test_setAlpha_revertsWhenGbpsTierOutOfRange() (gas: 29953 → 29953 | 0 0.000%)
━ CapacityBondTest::test_setAlpha_updatesCurveAndEmits() (gas: 33865 → 33865 | 0 0.000%)
━ CapacityBondTest::test_setCapacity_onlyGovernance() (gas: 19589 → 19589 | 0 0.000%)
━ CapacityBondTest::test_setCurve_onlyGovernance() (gas: 19603 → 19603 | 0 0.000%)
━ CapacityBondTest::test_setKAlpha_orderingMatters() (gas: 56177 → 56177 | 0 0.000%)
━ CapacityBondTest::test_setK_revertsWhenGbpsTierOutOfRange() (gas: 44098 → 44098 | 0 0.000%)
━ CapacityBondTest::test_setK_updatesCurveAndEmits() (gas: 35537 → 35537 | 0 0.000%)
━ CapacityBondTest::test_setMaxCapacity_acceptsInclusiveBounds() (gas: 24803 → 24803 | 0 0.000%)
━ CapacityBondTest::test_setMaxCapacity_revertsOutOfBounds() (gas: 18571 → 18571 | 0 0.000%)
━ CapacityBondTest::test_setMaxCapacity_updatesBandAndEmits() (gas: 31150 → 31150 | 0 0.000%)
━ CapacityBondTest::test_setMaxMultiaddrSize_revertsWithoutRole() (gas: 14889 → 14889 | 0 0.000%)
━ CapacityBondTest::test_setMinBond_revertsWithoutRole() (gas: 14932 → 14932 | 0 0.000%)
━ CapacityBondTest::test_setMinCapacity_acceptsInclusiveBounds() (gas: 24470 → 24470 | 0 0.000%)
━ CapacityBondTest::test_setMinCapacity_revertsOutOfBounds() (gas: 18315 → 18315 | 0 0.000%)
━ CapacityBondTest::test_setMinCapacity_updatesBandAndEmits() (gas: 166782 → 166782 | 0 0.000%)
━ CapacityBondTest::test_setMultiaddrUpdateCooldown_revertsWithoutRole() (gas: 14910 → 14910 | 0 0.000%)
━ CapacityBondTest::test_setRegionStabilityWindow_revertsWithoutRole() (gas: 14910 → 14910 | 0 0.000%)
━ CapacityBondTest::test_setSlashJudge_acceptsJudgeSatisfyingInvariant() (gas: 119563 → 119563 | 0 0.000%)
━ CapacityBondTest::test_setSlashJudge_rejectsJudgeViolatingInvariant() (gas: 95771 → 95771 | 0 0.000%)
━ CapacityBondTest::test_setSlashJudge_revertsOnZeroAddress() (gas: 13558 → 13558 | 0 0.000%)
━ CapacityBondTest::test_setSlashJudge_revertsWithoutRole() (gas: 93703 → 93703 | 0 0.000%)
━ CapacityBondTest::test_setSlashJudge_rewireEmitsPreviousJudgeAsOld() (gas: 204887 → 204887 | 0 0.000%)
━ CapacityBondTest::test_setSlashJudge_setsAndEmits() (gas: 121764 → 121764 | 0 0.000%)
━ CapacityBondTest::test_setUnbondingPeriod_boundStillEnforcedWithJudge() (gas: 126551 → 126551 | 0 0.000%)
━ CapacityBondTest::test_setUnbondingPeriod_floorWithLowEvidenceAgeSucceeds() (gas: 126302 → 126302 | 0 0.000%)
━ CapacityBondTest::test_setUnbondingPeriod_revertsWhenBelowEvidenceAge() (gas: 127571 → 127571 | 0 0.000%)
━ CapacityBondTest::test_setUnbondingPeriod_revertsWhenEqualToEvidenceAge() (gas: 127580 → 127580 | 0 0.000%)
━ CapacityBondTest::test_setUnbondingPeriod_revertsWithoutRole() (gas: 14912 → 14912 | 0 0.000%)
━ CapacityBondTest::test_setUnbondingPeriod_sameValueRejectedAfterWiring() (gas: 131695 → 131695 | 0 0.000%)
━ CapacityBondTest::test_setUnbondingPeriod_succeedsAboveEvidenceAge() (gas: 129157 → 129157 | 0 0.000%)
━ CapacityBondTest::test_setUnbondingPeriod_unwiredAppliesOnlyBound() (gas: 23600 → 23600 | 0 0.000%)
━ CapacityBondTest::test_settleAppealGranted_clearsAndRefunds() (gas: 298314 → 298314 | 0 0.000%)
━ CapacityBondTest::test_settleAppealGranted_multiSlash_recomputesThenClears() (gas: 421026 → 421026 | 0 0.000%)
━ CapacityBondTest::test_settleAppealGranted_reverseMiddleSlash_keepsNewest() (gas: 567558 → 567558 | 0 0.000%)
━ CapacityBondTest::test_settleAppealGranted_zeroBondSlash_refundsNothingClearsWatermark() (gas: 223302 → 223302 | 0 0.000%)
━ CapacityBondTest::test_settleAppealUpheld_distributes5050() (gas: 343719 → 343719 | 0 0.000%)
━ CapacityBondTest::test_slashId_persistsRecord() (gas: 309975 → 309975 | 0 0.000%)
━ CapacityBondTest::test_slash_doesNotEnforceCurve() (gas: 357612 → 357612 | 0 0.000%)
━ CapacityBondTest::test_slash_escrowsWithoutDistribution() (gas: 320954 → 320954 | 0 0.000%)
━ CapacityBondTest::test_slash_stampsSlashedAtEpoch() (gas: 309822 → 309822 | 0 0.000%)
━ CapacityBondTest::test_slash_tier3_mixedBond_exhaustsActiveTapsUnbonding() (gas: 588759 → 588759 | 0 0.000%)
━ CapacityBondTest::test_slash_tierEscalation_15then50pct() (gas: 536526 → 536526 | 0 0.000%)
━ CapacityBondTest::test_slash_zeroBondOperator_mintsZeroAmountRecordNoOpsAtFinality() (gas: 242613 → 242613 | 0 0.000%)
━ CapacityBondTest::test_slashedAtEpoch_zeroBeforeSlash() (gas: 10262 → 10262 | 0 0.000%)
━ CapacityBondTest::test_unpause_revertsWithoutRole() (gas: 94656 → 94656 | 0 0.000%)
━ CapacityBondTest::test_updateMultiaddrs_revertsWhenNodeNotActive() (gas: 15653 → 15653 | 0 0.000%)
━ CapacityBondTest::test_updateRegion_revertsWhenNodeNotActive() (gas: 15781 → 15781 | 0 0.000%)
━ CapacityBondRegionE2ETest::test_crossContractEject_viaContentBlacklist() (gas: 3108482 → 3108482 | 0 0.000%)
━ CapacityBondRegionE2ETest::test_crossContract_regionalSlash_currentRegion() (gas: 5627279 → 5627279 | 0 0.000%)
━ CapacityBondRegionE2ETest::test_crossContract_regionalSlash_prevRegionAfterWindow() (gas: 5447736 → 5447736 | 0 0.000%)
━ CapacityBondRegionE2ETest::test_crossContract_regionalSlash_prevRegionInWindow() (gas: 5678604 → 5678604 | 0 0.000%)
━ CapacityBondRegionE2ETest::test_registerNode_corruptEd25519Signature_reverts() (gas: 640679 → 640679 | 0 0.000%)
━ CapacityBondRegionE2ETest::test_registerNode_realEd25519Signature_succeeds() (gas: 851155 → 851155 | 0 0.000%)
━ CapacityBondRegionE2ETest::test_registerNode_replayAfterNonceBump_reverts() (gas: 1321731 → 1321731 | 0 0.000%)
━ CapacityBondRegionE2ETest::test_updateRegion_cooldownPrevSnapshotAndEvent() (gas: 923023 → 923023 | 0 0.000%)
━ CapacityBondSlashJudgeInvariantTest::test_realSlashJudge_unbondingAboveEvidenceAge_succeeds() (gas: 27779 → 27779 | 0 0.000%)
━ CapacityBondSlashJudgeInvariantTest::test_realSlashJudge_unbondingEqualToEvidenceAge_reverts() (gas: 21439 → 21439 | 0 0.000%)
━ CapacityBondSlashJudgeInvariantTest::test_realSlashJudge_wiredInSetUp() (gas: 15233 → 15233 | 0 0.000%)
━ ContentBlacklistTest::test_addHashGlobal_andQuery() (gas: 40498 → 40498 | 0 0.000%)
━ ContentBlacklistTest::test_addHashGlobal_revertsWithoutGovernanceRole() (gas: 14652 → 14652 | 0 0.000%)
━ ContentBlacklistTest::test_addHashRegional_globalTakesPrecedence() (gas: 44265 → 44265 | 0 0.000%)
━ ContentBlacklistTest::test_addHashRegional_revertsWithoutRegionalBodyRole() (gas: 14706 → 14706 | 0 0.000%)
━ ContentBlacklistTest::test_addHash_revertsWhileAppealActive() (gas: 251589 → 251589 | 0 0.000%)
━ ContentBlacklistTest::test_addOperator_callsEjectOnCapacityBond() (gas: 94055 → 94055 | 0 0.000%)
━ ContentBlacklistTest::test_fullAppealFlow_ratifyRemovesHash() (gas: 291541 → 291541 | 0 0.000%)
━ ContentBlacklistTest::test_hasActiveAppeal_clearedOnLapseOpen() (gas: 239316 → 239316 | 0 0.000%)
━ ContentBlacklistTest::test_hasActiveAppeal_clearedOnReject() (gas: 434573 → 434573 | 0 0.000%)
━ ContentBlacklistTest::test_hasActiveAppeal_clearedOnReverse() (gas: 270826 → 270826 | 0 0.000%)
━ ContentBlacklistTest::test_isHashBlacklistedForOperator_currentRegion() (gas: 103758 → 103758 | 0 0.000%)
━ ContentBlacklistTest::test_isHashBlacklistedForOperator_global() (gas: 42764 → 42764 | 0 0.000%)
━ ContentBlacklistTest::test_isHashBlacklistedForOperator_neverChangedFallback_ripensFromMaxBondGate() (gas: 166804 → 166804 | 0 0.000%)
━ ContentBlacklistTest::test_isHashBlacklistedForOperator_prevRegionWindow() (gas: 144877 → 144877 | 0 0.000%)
━ ContentBlacklistTest::test_isHashBlacklistedForOperator_suspendedRegional_false() (gas: 368444 → 368444 | 0 0.000%)
━ ContentBlacklistTest::test_openBlacklistAppeal_globalEntry_skipsRegionCheck() (gas: 283405 → 283405 | 0 0.000%)
━ ContentBlacklistTest::test_openBlacklistAppeal_inWindowFiling_notAutoRejected() (gas: 334916 → 334916 | 0 0.000%)
━ ContentBlacklistTest::test_openBlacklistAppeal_nonOperatorStanding_skipsRegionCheck() (gas: 266611 → 266611 | 0 0.000%)
━ ContentBlacklistTest::test_openBlacklistAppeal_operatorRegionMismatch_reverts() (gas: 70907 → 70907 | 0 0.000%)
━ ContentBlacklistTest::test_openBlacklistAppeal_revertsDuplicatePerHash() (gas: 353673 → 353673 | 0 0.000%)
━ ContentBlacklistTest::test_openBlacklistAppeal_revertsOnEntryNotBlacklisted() (gas: 18657 → 18657 | 0 0.000%)
━ ContentBlacklistTest::test_openBlacklistAppeal_revertsOnZeroRegion() (gas: 16287 → 16287 | 0 0.000%)
━ ContentBlacklistTest::test_regionalCap_countsFastTrackedNotOpen() (gas: 928028 → 928028 | 0 0.000%)
━ ContentBlacklistTest::test_registerRegionalBody_revertsWithoutGovernanceRole() (gas: 14721 → 14721 | 0 0.000%)
━ ContentBlacklistTest::test_rejectAppeal_burnsBond() (gas: 246208 → 246208 | 0 0.000%)
━ ContentBlacklistTest::test_removeHashRegional_blocksGlobalRegionEntries() (gas: 46792 → 46792 | 0 0.000%)
━ ContentBlacklistTest::test_reverseAppeal_clearsSuspendedAndBurnsBond() (gas: 277549 → 277549 | 0 0.000%)
━ ContentBlacklistTest::test_setAppealBond_revertsWithoutGovernanceRole() (gas: 14776 → 14776 | 0 0.000%)
━ DecdnGovernorTest::test_ageRampMonthsAt_preservesPriorReadAfterLaterPush() (gas: 4104760 → 4104760 | 0 0.000%)
━ DecdnGovernorTest::test_getVotes_halfRamp() (gas: 173099 → 173099 | 0 0.000%)
━ DecdnGovernorTest::test_getVotes_historicalSnapshotIgnoresFutureSlash() (gas: 221405 → 221405 | 0 0.000%)
━ DecdnGovernorTest::test_getVotes_ramp() (gas: 173020 → 173020 | 0 0.000%)
━ DecdnGovernorTest::test_getVotes_recoversAfterWindowSlidesPastSlash() (gas: 196808 → 196808 | 0 0.000%)
━ DecdnGovernorTest::test_getVotes_uncappedWhenBelowCap() (gas: 173006 → 173006 | 0 0.000%)
━ DecdnGovernorTest::test_getVotes_zeroIfNeverBonded() (gas: 93593 → 93593 | 0 0.000%)
━ DecdnGovernorTest::test_getVotes_zeroWhenSlashedInWindow() (gas: 119032 → 119032 | 0 0.000%)
━ DecdnGovernorTest::test_proposalThreshold_isPointOnePercent() (gas: 71807 → 71807 | 0 0.000%)
━ DecdnGovernorTest::test_quorum_isFourPercentOfTotalBytesInWindow() (gas: 71639 → 71639 | 0 0.000%)
━ DecdnGovernorTest::test_setAgeRampMonths_revertsWithoutTimelockCaller() (gas: 11013 → 11013 | 0 0.000%)
━ DecdnGovernorTest::test_setVoteCapBps_revertsWithoutTimelockCaller() (gas: 11066 → 11066 | 0 0.000%)
━ DecdnGovernorTest::test_voteCapBpsAt_preservesPriorReadAfterLaterPush() (gas: 4104884 → 4104884 | 0 0.000%)
━ DeployProtocolTest::test_assertNoBackDoors_revertsWhenHandoffIncomplete() (gas: 24970417 → 24970417 | 0 0.000%)
━ DeployProtocolTest::test_assertNoBackDoors_revertsWhenTimelockMissingRole() (gas: 92251 → 92251 | 0 0.000%)
━ DeployProtocolTest::test_assertPeerRolesWired_revertsWhenSlashJudgeMisbound() (gas: 25073262 → 25073262 | 0 0.000%)
━ DeployProtocolTest::test_crossContractWiring_capacityBondPeerRoles() (gas: 23596 → 23596 | 0 0.000%)
━ DeployProtocolTest::test_crossContractWiring_newContractPeerRoles() (gas: 34695 → 34695 | 0 0.000%)
━ DeployProtocolTest::test_crossContractWiring_slashAppealChallengerPool() (gas: 9920 → 9920 | 0 0.000%)
━ DeployProtocolTest::test_deployTargets_revertsOnZeroChallengerIncentivePool() (gas: 2025520 → 2025520 | 0 0.000%)
━ DeployProtocolTest::test_deployTargets_revertsOnZeroDeployer() (gas: 580127 → 580127 | 0 0.000%)
━ DeployProtocolTest::test_deployTargets_revertsOnZeroEd25519Verifier() (gas: 2025388 → 2025388 | 0 0.000%)
━ DeployProtocolTest::test_deployTargets_revertsOnZeroEmergencyMultisig() (gas: 2025454 → 2025454 | 0 0.000%)
━ DeployProtocolTest::test_deployTargets_revertsOnZeroInitialTokenHolder() (gas: 2025542 → 2025542 | 0 0.000%)
━ DeployProtocolTest::test_deployTargets_revertsOnZeroUsdc() (gas: 2025326 → 2025326 | 0 0.000%)
━ DeployProtocolTest::test_emergencyMultisig_canPauseAndBlockEntrypoint() (gas: 48638 → 48638 | 0 0.000%)
━ DeployProtocolTest::test_feeRouter_launchSharesDormantBuyback() (gas: 16477 → 16477 | 0 0.000%)
━ DeployProtocolTest::test_feeRouter_treasuryIsTimelock() (gas: 10051 → 10051 | 0 0.000%)
━ DeployProtocolTest::test_governor_openExecutor() (gas: 8765 → 8765 | 0 0.000%)
━ DeployProtocolTest::test_governor_timelockBinding() (gas: 25888 → 25888 | 0 0.000%)
━ DeployProtocolTest::test_roleMatrix_deployerHoldsNoRoleAnywhere() (gas: 67166 → 67166 | 0 0.000%)
━ DeployProtocolTest::test_roleMatrix_emergencyMultisigGrants() (gas: 19591 → 19591 | 0 0.000%)
━ DeployProtocolTest::test_roleMatrix_pauserIsEmergencyMultisig() (gas: 45657 → 45657 | 0 0.000%)
━ DeployProtocolTest::test_roleMatrix_timelockHoldsDefaultAdminOnEveryTarget() (gas: 41978 → 41978 | 0 0.000%)
━ DeployProtocolTest::test_roleMatrix_timelockHoldsGovernanceOnEveryTarget() (gas: 42106 → 42106 | 0 0.000%)
━ DeployProtocolTest::test_token_initialHolderHoldsFullSupply() (gas: 13714 → 13714 | 0 0.000%)
━ DeployProtocolScriptTest::test_readConfig_appliesDefaultsForOptionalVars() (gas: 17094 → 17094 | 0 0.000%)
━ DeployProtocolScriptTest::test_readConfig_deployerIsTxOrigin() (gas: 15218 → 15218 | 0 0.000%)
━ DeployProtocolScriptTest::test_run_abortsBeforeBroadcastWhenManifestExists() (gas: 21690 → 21690 | 0 0.000%)
━ DeployProtocolScriptTest::test_run_revertsIfDeployerIsForgeDefaultSender() (gas: 14822 → 14822 | 0 0.000%)
━ DeployProtocolScriptTest::test_writeManifest_overwritesWhenForced() (gas: 110055 → 110055 | 0 0.000%)
━ DeployProtocolScriptTest::test_writeManifest_revertsOnExistingFile() (gas: 31390 → 31390 | 0 0.000%)
━ DeployProtocolScriptTest::test_writeManifest_writesAllAddresses() (gas: 91663 → 91663 | 0 0.000%)
━ E2EProtocolTest::test_deployWiring_newContractsWiredAndHandedOff() (gas: 66859 → 66859 | 0 0.000%)
━ E2EProtocolTest::test_e2e_blacklistEjectsOperator() (gas: 420308 → 420308 | 0 0.000%)
━ E2EProtocolTest::test_e2e_registerSettleSlashEjectAppeal() (gas: 1463160 → 1463160 | 0 0.000%)
━ Ed25519VerifierTest::test_MalleatedScalarRejected() (gas: 525477 → 525477 | 0 0.000%)
━ Ed25519VerifierTest::test_NonCanonicalYRejected() (gas: 11387 → 11387 | 0 0.000%)
━ Ed25519VerifierTest::test_OffCurvePubKeyRejected() (gas: 14174 → 14174 | 0 0.000%)
━ Ed25519VerifierTest::test_SmallOrderPubKeyRejected() (gas: 40661 → 40661 | 0 0.000%)
━ Ed25519VerifierTest::test_SmallOrderRRejected() (gas: 39201 → 39201 | 0 0.000%)
━ Ed25519VerifierTest::test_ValidVectorsAccepted() (gas: 3003445 → 3003445 | 0 0.000%)
━ Ed25519VerifierTest::test_VerifyRunsUnderStaticcall() (gas: 508245 → 508245 | 0 0.000%)
━ Ed25519VerifierTest::test_WrongLengthSignatureRejected() (gas: 12156 → 12156 | 0 0.000%)
━ Ed25519VerifierTest::test_WrongMessageRejected() (gas: 507932 → 507932 | 0 0.000%)
━ Ed25519VerifierTest::test_WrongPubKeyRejected() (gas: 509119 → 509119 | 0 0.000%)
━ Ed25519VerifierTest::test_WrongRRejected() (gas: 503763 → 503763 | 0 0.000%)
━ Ed25519VerifierTest::test_WrongSRejected() (gas: 508960 → 508960 | 0 0.000%)
━ FeeRouterTest::test_bytesInWindow_clampsOversizedWindow() (gas: 510226 → 510226 | 0 0.000%)
━ FeeRouterTest::test_bytesInWindow_sumsTrailingWindow() (gas: 497431 → 497431 | 0 0.000%)
━ FeeRouterTest::test_bytesInWindow_zeroWindowReturnsZero() (gas: 9387 → 9387 | 0 0.000%)
━ FeeRouterTest::test_pause_revertsWithoutRole() (gas: 14609 → 14609 | 0 0.000%)
━ FeeRouterTest::test_routeSettlement_distributesThreeLegs() (gas: 232441 → 232441 | 0 0.000%)
━ FeeRouterTest::test_routeSettlement_dustRoutesToOperatorWhenBuybackUnset() (gas: 141816 → 141816 | 0 0.000%)
━ FeeRouterTest::test_routeSettlement_incrementsBytesPerEpoch() (gas: 221502 → 221502 | 0 0.000%)
━ FeeRouterTest::test_routeSettlement_revertsWithoutRouterRole() (gas: 89186 → 89186 | 0 0.000%)
━ FeeRouterTest::test_setBuybackBurner_revertsWithoutRole() (gas: 14698 → 14698 | 0 0.000%)
━ FeeRouterTest::test_setSharesAndDestinations_revertsWithoutRole() (gas: 19547 → 19547 | 0 0.000%)
━ FeeRouterTest::test_setShares_rejectsNonZeroShareWithoutDestination() (gas: 16217 → 16217 | 0 0.000%)
━ FeeRouterTest::test_setShares_rejectsSumNot10000() (gas: 14523 → 14523 | 0 0.000%)
━ FeeRouterTest::test_setShares_revertsWithoutRole() (gas: 15219 → 15219 | 0 0.000%)
━ FeeRouterTest::test_setTreasury_revertsWithoutRole() (gas: 14763 → 14763 | 0 0.000%)
━ FeeRouterTest::test_setWindowEpochs_enforcesBounds() (gas: 32758 → 32758 | 0 0.000%)
━ FeeRouterTest::test_setWindowEpochs_revertsWithoutRole() (gas: 14688 → 14688 | 0 0.000%)
━ FeeRouterTest::test_unpause_revertsWithoutRole() (gas: 72144 → 72144 | 0 0.000%)
━ GovernanceLifecycleTest::test_canary_executorIsTimelock() (gas: 9912 → 9912 | 0 0.000%)
━ GovernanceLifecycleTest::test_canary_governanceRoleHandoff() (gas: 99584 → 99584 | 0 0.000%)
━ GovernanceLifecycleTest::test_canary_governorVoteWeightWired() (gas: 130011 → 130011 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_CapacityBond_setMaxCapacityMbps_happy() (gas: 589468 → 589468 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_CapacityBond_setMaxCapacityMbps_outOfBounds() (gas: 595306 → 595306 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_CapacityBond_setMaxMultiaddrSize_happy() (gas: 589334 → 589334 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_CapacityBond_setMaxMultiaddrSize_outOfBounds() (gas: 595243 → 595243 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_CapacityBond_setMinBond_happy() (gas: 589314 → 589314 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_CapacityBond_setMinBond_outOfBounds() (gas: 595196 → 595196 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_CapacityBond_setMinCapacityMbps_happy() (gas: 589334 → 589334 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_CapacityBond_setMinCapacityMbps_outOfBounds() (gas: 595129 → 595129 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_CapacityBond_setMultiaddrUpdateCooldown_happy() (gas: 606454 → 606454 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_CapacityBond_setMultiaddrUpdateCooldown_outOfBounds() (gas: 595214 → 595214 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_CapacityBond_setRegionStabilityWindow_happy() (gas: 589292 → 589292 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_CapacityBond_setRegionStabilityWindow_outOfBounds() (gas: 595175 → 595175 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_CapacityBond_setUnbondingPeriod_happy() (gas: 596831 → 596831 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_CapacityBond_setUnbondingPeriod_outOfBounds() (gas: 595157 → 595157 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_ContentBlacklist_addHashGlobal_happy() (gas: 612032 → 612032 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_ContentBlacklist_addHashGlobal_outOfBounds() (gas: 597356 → 597356 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_ContentBlacklist_addOperator_happy() (gas: 640876 → 640876 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_ContentBlacklist_addOperator_outOfBounds() (gas: 602546 → 602546 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_ContentBlacklist_registerRegionalBody_happy() (gas: 611233 → 611233 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_ContentBlacklist_removeHashGlobal_happy() (gas: 997458 → 997458 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_ContentBlacklist_removeHashGlobal_outOfBounds() (gas: 599882 → 599882 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_ContentBlacklist_removeOperator_happy() (gas: 1026015 → 1026015 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_ContentBlacklist_setAppealBond_happy() (gas: 591845 → 591845 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_ContentBlacklist_setAppealBond_outOfBounds() (gas: 597677 → 597677 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_ContentBlacklist_setOriginBlacklist_happy() (gas: 610432 → 610432 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_ContentBlacklist_setOriginBlacklist_outOfBounds() (gas: 598176 → 598176 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_DecdnGovernor_setAgeRampMonths_happy() (gas: 631158 → 631158 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_DecdnGovernor_setAgeRampMonths_outOfBounds() (gas: 636810 → 636810 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_DecdnGovernor_setVoteCapBps_happy() (gas: 631187 → 631187 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_DecdnGovernor_setVoteCapBps_outOfBounds() (gas: 636851 → 636851 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_FeeRouter_setBuybackBurner_happy() (gas: 589746 → 589746 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_FeeRouter_setBuybackBurner_outOfBounds() (gas: 597159 → 597159 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_FeeRouter_setSharesAndDestinations_happy() (gas: 622709 → 622709 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_FeeRouter_setSharesAndDestinations_outOfBounds() (gas: 598342 → 598342 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_FeeRouter_setShares_happy() (gas: 608796 → 608796 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_FeeRouter_setShares_outOfBounds() (gas: 597139 → 597139 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_FeeRouter_setTreasury_happy() (gas: 589782 → 589782 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_FeeRouter_setTreasury_outOfBounds() (gas: 594991 → 594991 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_FeeRouter_setWindowEpochs_happy() (gas: 611487 → 611487 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_FeeRouter_setWindowEpochs_outOfBounds() (gas: 597515 → 597515 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_PublisherRegistry_setMaxNamespacesPerPublisher_happy() (gas: 592072 → 592072 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_PublisherRegistry_setMaxNamespacesPerPublisher_outOfBounds() (gas: 597650 → 597650 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_PublisherRegistry_setNamespaceTransferTimelock_happy() (gas: 591966 → 591966 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_PublisherRegistry_setNamespaceTransferTimelock_outOfBounds() (gas: 597692 → 597692 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_SlashAppeal_setAppealBond_happy() (gas: 591740 → 591740 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_SlashAppeal_setAppealBond_outOfBounds() (gas: 597607 → 597607 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_SlashAppeal_setChallengerIncentivePool_happy() (gas: 592230 → 592230 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_SlashAppeal_setChallengerIncentivePool_outOfBounds() (gas: 597503 → 597503 | 0 0.000%)
━ InterfaceFreezeTest::test_originAssignment_abiFrozen() (gas: 1298 → 1298 | 0 0.000%)
━ InterfaceFreezeTest::test_paymentChannel_abiFrozen() (gas: 1540 → 1540 | 0 0.000%)
━ InterfaceFreezeTest::test_slashJudge_abiFrozen() (gas: 870 → 870 | 0 0.000%)
━ OriginAssignmentTest::test_activate_blacklistSkippedWhenUnset() (gas: 2047543 → 2047543 | 0 0.000%)
━ OriginAssignmentTest::test_activate_onlyGovernance() (gas: 140585 → 140585 | 0 0.000%)
━ OriginAssignmentTest::test_activate_replacesPreviousSet() (gas: 352112 → 352112 | 0 0.000%)
━ OriginAssignmentTest::test_activate_revertsBeforeTimelock() (gas: 140524 → 140524 | 0 0.000%)
━ OriginAssignmentTest::test_activate_revertsNoPending() (gas: 21009 → 21009 | 0 0.000%)
━ OriginAssignmentTest::test_activate_revertsOperatorBlacklisted() (gas: 173841 → 173841 | 0 0.000%)
━ OriginAssignmentTest::test_activate_revertsOperatorBlacklistedViaOperatorMapping() (gas: 183923 → 183923 | 0 0.000%)
━ OriginAssignmentTest::test_activate_revertsOperatorWentInactive() (gas: 155953 → 155953 | 0 0.000%)
━ OriginAssignmentTest::test_activate_setsAuthorizedSet() (gas: 224900 → 224900 | 0 0.000%)
━ OriginAssignmentTest::test_cancel_clearsPending() (gas: 110536 → 110536 | 0 0.000%)
━ OriginAssignmentTest::test_defaultOpen_addAndRemove() (gas: 78409 → 78409 | 0 0.000%)
━ OriginAssignmentTest::test_defaultOpen_onlyGovernance() (gas: 21169 → 21169 | 0 0.000%)
━ OriginAssignmentTest::test_defaultOpen_revertsInactive() (gas: 27910 → 27910 | 0 0.000%)
━ OriginAssignmentTest::test_defaultOpen_setAllowlist() (gas: 172108 → 172108 | 0 0.000%)
━ OriginAssignmentTest::test_propose_overwriteReplacesPending() (gas: 128731 → 128731 | 0 0.000%)
━ OriginAssignmentTest::test_propose_revertsDuplicate() (gas: 34918 → 34918 | 0 0.000%)
━ OriginAssignmentTest::test_propose_revertsEmpty() (gas: 21925 → 21925 | 0 0.000%)
━ OriginAssignmentTest::test_propose_revertsInactiveOperator() (gas: 39841 → 39841 | 0 0.000%)
━ OriginAssignmentTest::test_propose_revertsNonOwner() (gas: 27271 → 27271 | 0 0.000%)
━ OriginAssignmentTest::test_propose_revertsTooMany() (gas: 39410 → 39410 | 0 0.000%)
━ OriginAssignmentTest::test_propose_storesPending() (gas: 133692 → 133692 | 0 0.000%)
━ OriginAssignmentTest::test_prune_removesBlacklistedOperator() (gas: 248023 → 248023 | 0 0.000%)
━ OriginAssignmentTest::test_prune_removesOperatorBlacklistedViaOperatorMapping() (gas: 248717 → 248717 | 0 0.000%)
━ OriginAssignmentTest::test_prune_revertsWhenBlacklistUnset() (gas: 1865198 → 1865198 | 0 0.000%)
━ OriginAssignmentTest::test_prune_revertsWhenNotBlacklisted() (gas: 226404 → 226404 | 0 0.000%)
━ OriginAssignmentTest::test_revoke_byPublisherAndGovernance() (gas: 237252 → 237252 | 0 0.000%)
━ OriginAssignmentTest::test_revoke_revertsNonMember() (gas: 23619 → 23619 | 0 0.000%)
━ OriginAssignmentTest::test_setAssignmentTimelock_enforcesBounds() (gas: 24759 → 24759 | 0 0.000%)
━ OriginAssignmentTest::test_setContentBlacklist_rejectsZero() (gas: 13473 → 13473 | 0 0.000%)
━ OriginAssignmentTest::test_setMaxOrigins_enforcesBounds() (gas: 13857 → 13857 | 0 0.000%)
━ PaymentChannelTest::testFuzz_settle_refundEqualsDepositMinusClaimed(uint256,uint256) (gas: 416090 → 416090 | 0 0.000%)
━ PaymentChannelTest::testFuzz_withdrawThenSettle_partitionsClaim(uint256,uint256,uint256,uint256) (gas: 555056 → 555056 | 0 0.000%)
━ PaymentChannelTest::test_close_afterWithdraw_settleRoutesRemainderOnly() (gas: 547394 → 547394 | 0 0.000%)
━ PaymentChannelTest::test_close_atWatermarkNonce_succeeds() (gas: 477450 → 477450 | 0 0.000%)
━ PaymentChannelTest::test_close_revertsAfterExpiry() (gas: 211121 → 211121 | 0 0.000%)
━ PaymentChannelTest::test_close_revertsOnAmountExceedingDeposit() (gas: 223121 → 223121 | 0 0.000%)
━ PaymentChannelTest::test_close_revertsOnByteOnlyAdvance() (gas: 470362 → 470362 | 0 0.000%)
━ PaymentChannelTest::test_close_then_settle_routesAndRefunds() (gas: 426064 → 426064 | 0 0.000%)
━ PaymentChannelTest::test_close_thirdPartyCannotClose() (gas: 213018 → 213018 | 0 0.000%)
━ PaymentChannelTest::test_constructor_revertsOnDisputeWindowOutOfBounds() (gas: 77036 → 77036 | 0 0.000%)
━ PaymentChannelTest::test_constructor_revertsOnEoaFeeRouter() (gas: 77058 → 77058 | 0 0.000%)
━ PaymentChannelTest::test_constructor_revertsOnZeroAdmin() (gas: 71951 → 71951 | 0 0.000%)
━ PaymentChannelTest::test_dispute_higherNonceWins() (gas: 309711 → 309711 | 0 0.000%)
━ PaymentChannelTest::test_dispute_revertsAfterDeadline() (gas: 297276 → 297276 | 0 0.000%)
━ PaymentChannelTest::test_dispute_revertsOnAmountExceedingDeposit() (gas: 305225 → 305225 | 0 0.000%)
━ PaymentChannelTest::test_dispute_revertsOnAmountRegression() (gas: 304835 → 304835 | 0 0.000%)
━ PaymentChannelTest::test_dispute_revertsOnByteOnlyAdvance() (gas: 488772 → 488772 | 0 0.000%)
━ PaymentChannelTest::test_dispute_revertsOnBytesRegression() (gas: 304972 → 304972 | 0 0.000%)
━ PaymentChannelTest::test_dispute_revertsOnStaleNonce() (gas: 302261 → 302261 | 0 0.000%)
━ PaymentChannelTest::test_forcedInclusion_doesNotExtendTwice() (gas: 2916491 → 2916491 | 0 0.000%)
━ PaymentChannelTest::test_forcedInclusion_extendsDeadlineOnce() (gas: 2893929 → 2893929 | 0 0.000%)
━ PaymentChannelTest::test_forcedInclusion_noExtendWhenAmpleTimeRemains() (gas: 2902445 → 2902445 | 0 0.000%)
━ PaymentChannelTest::test_getRateBounds_returnsConfigured() (gas: 9912 → 9912 | 0 0.000%)
━ PaymentChannelTest::test_normalDispute_doesNotExtend() (gas: 319584 → 319584 | 0 0.000%)
━ PaymentChannelTest::test_openChannel_derivesIdAndIncrementsNonce() (gas: 221523 → 221523 | 0 0.000%)
━ PaymentChannelTest::test_openChannel_distinctIdsAcrossProviders() (gas: 351414 → 351414 | 0 0.000%)
━ PaymentChannelTest::test_openChannel_revertsBelowMinDeposit() (gas: 23033 → 23033 | 0 0.000%)
━ PaymentChannelTest::test_openChannel_revertsOnInactiveProvider() (gas: 29784 → 29784 | 0 0.000%)
━ PaymentChannelTest::test_openChannel_revertsWhenPaused() (gas: 47399 → 47399 | 0 0.000%)
━ PaymentChannelTest::test_paused_exitsStillCallable() (gas: 671201 → 671201 | 0 0.000%)
━ PaymentChannelTest::test_reclaimExpired_refundsRemainderToClient() (gas: 452272 → 452272 | 0 0.000%)
━ PaymentChannelTest::test_reclaimExpired_revertsBeforeExpiry() (gas: 206190 → 206190 | 0 0.000%)
━ PaymentChannelTest::test_route_zeroesResidualAllowanceAfterUnderPull() (gas: 535018 → 535018 | 0 0.000%)
━ PaymentChannelTest::test_setDisputeWindow_enforcesBounds() (gas: 24815 → 24815 | 0 0.000%)
━ PaymentChannelTest::test_setFeeRouter_revertsOnEoaRouter() (gas: 18660 → 18660 | 0 0.000%)
━ PaymentChannelTest::test_setFeeRouter_revertsOnZeroAndUnchanged() (gas: 24635 → 24635 | 0 0.000%)
━ PaymentChannelTest::test_setFeeRouter_updatesTarget() (gas: 292460 → 292460 | 0 0.000%)
━ PaymentChannelTest::test_setters_onlyGovernance() (gas: 13998 → 13998 | 0 0.000%)
━ PaymentChannelTest::test_settle_amountEqualsDeposit_zeroRefund() (gas: 410874 → 410874 | 0 0.000%)
━ PaymentChannelTest::test_settle_fullyWithdrawn_noRouterCall() (gas: 473130 → 473130 | 0 0.000%)
━ PaymentChannelTest::test_settle_revertsBeforeDisputeDeadline() (gas: 294513 → 294513 | 0 0.000%)
━ PaymentChannelTest::test_topUp_increasesDeposit() (gas: 226710 → 226710 | 0 0.000%)
━ PaymentChannelTest::test_topUp_onlyClient() (gas: 206621 → 206621 | 0 0.000%)
━ PaymentChannelTest::test_topUp_revertsWhenPaused() (gas: 233022 → 233022 | 0 0.000%)
━ PaymentChannelTest::test_voucher_rejectedOnWrongChannelId() (gas: 339891 → 339891 | 0 0.000%)
━ PaymentChannelTest::test_withdraw_acceptsErc1271Signature() (gas: 717406 → 717406 | 0 0.000%)
━ PaymentChannelTest::test_withdraw_onlyProvider() (gas: 210927 → 210927 | 0 0.000%)
━ PaymentChannelTest::test_withdraw_revertsOnAmountExceedingDeposit() (gas: 222881 → 222881 | 0 0.000%)
━ PaymentChannelTest::test_withdraw_revertsOnBadSignature() (gas: 215715 → 215715 | 0 0.000%)
━ PaymentChannelTest::test_withdraw_revertsOnBytesRegression() (gas: 469281 → 469281 | 0 0.000%)
━ PaymentChannelTest::test_withdraw_revertsOnNonMonotonicNonce() (gas: 468957 → 468957 | 0 0.000%)
━ PaymentChannelTest::test_withdraw_revertsWhenDeltaZero() (gas: 469732 → 469732 | 0 0.000%)
━ PaymentChannelTest::test_withdraw_routesDeltaAndAdvancesWatermark() (gas: 465532 → 465532 | 0 0.000%)
━ PaymentChannelTest::test_withdraw_secondWithdrawRoutesOnlyIncrement() (gas: 554879 → 554879 | 0 0.000%)
━ PaymentChannelTest::test_zeroVoucherClose_disabledAfterWithdraw() (gas: 462930 → 462930 | 0 0.000%)
━ PaymentChannelTest::test_zeroVoucherClose_refundsFullDeposit() (gas: 218313 → 218313 | 0 0.000%)
━ PublisherRegistryTest::test_claimContent_multiClaimAcrossNamespaces() (gas: 233820 → 233820 | 0 0.000%)
━ PublisherRegistryTest::test_claimContent_recordsClaim() (gas: 134733 → 134733 | 0 0.000%)
━ PublisherRegistryTest::test_claimContent_revertsForDefaultOpenNamespace() (gas: 13756 → 13756 | 0 0.000%)
━ PublisherRegistryTest::test_claimContent_revertsIfNotOwner() (gas: 66829 → 66829 | 0 0.000%)
━ PublisherRegistryTest::test_claimContent_revertsOnDuplicateSameNamespace() (gas: 135319 → 135319 | 0 0.000%)
━ PublisherRegistryTest::test_constructor_revertsZeroAdmin() (gas: 36674 → 36674 | 0 0.000%)
━ PublisherRegistryTest::test_constructor_setsDefaultsAndRoles() (gas: 19037 → 19037 | 0 0.000%)
━ PublisherRegistryTest::test_createNamespace_assignsIdsFromOne() (gas: 92728 → 92728 | 0 0.000%)
━ PublisherRegistryTest::test_createNamespace_revertsAtCap() (gas: 98581 → 98581 | 0 0.000%)
━ PublisherRegistryTest::test_createNamespace_zeroIsNeverAssigned() (gas: 65471 → 65471 | 0 0.000%)
━ PublisherRegistryTest::test_namespaceOf_emptyForUnclaimed() (gas: 8273 → 8273 | 0 0.000%)
━ PublisherRegistryTest::test_setMaxNamespaces_revertsOutOfBounds() (gas: 17605 → 17605 | 0 0.000%)
━ PublisherRegistryTest::test_setMaxNamespaces_revertsWithoutRole() (gas: 13384 → 13384 | 0 0.000%)
━ PublisherRegistryTest::test_setMaxNamespaces_withinBounds() (gas: 20687 → 20687 | 0 0.000%)
━ PublisherRegistryTest::test_setTransferTimelock_revertsOutOfBounds() (gas: 17706 → 17706 | 0 0.000%)
━ PublisherRegistryTest::test_setTransferTimelock_revertsWithoutRole() (gas: 14763 → 14763 | 0 0.000%)
━ PublisherRegistryTest::test_setTransferTimelock_withinBounds() (gas: 20560 → 20560 | 0 0.000%)
━ PublisherRegistryTest::test_transfer_cancelByOwner() (gas: 78668 → 78668 | 0 0.000%)
━ PublisherRegistryTest::test_transfer_cancelRevertsIfNotOwner() (gas: 93302 → 93302 | 0 0.000%)
━ PublisherRegistryTest::test_transfer_finalizeRevertsIfNotPendingOwner() (gas: 93817 → 93817 | 0 0.000%)
━ PublisherRegistryTest::test_transfer_finalizeRevertsNoPending() (gas: 68544 → 68544 | 0 0.000%)
━ PublisherRegistryTest::test_transfer_fullFlow() (gas: 98658 → 98658 | 0 0.000%)
━ PublisherRegistryTest::test_transfer_initiateRevertsIfNotOwner() (gas: 66923 → 66923 | 0 0.000%)
━ PublisherRegistryTest::test_transfer_initiateRevertsZeroNewOwner() (gas: 64330 → 64330 | 0 0.000%)
━ PublisherRegistryTest::test_transfer_revertsWhenRecipientAtCap() (gas: 150145 → 150145 | 0 0.000%)
━ PublisherRegistryTest::test_transfer_selfTransferExemptFromCap() (gas: 95404 → 95404 | 0 0.000%)
━ RegionScopeLibTest::test_effectiveSince_fallbackPicksMax() (gas: 8708 → 8708 | 0 0.000%)
━ RegionScopeLibTest::test_effectiveSince_lastChangedWins() (gas: 5963 → 5963 | 0 0.000%)
━ RegionScopeLibTest::test_pack_emptyIsZero() (gas: 6016 → 6016 | 0 0.000%)
━ RegionScopeLibTest::test_pack_fullSixteenBytesRoundTrips() (gas: 6127 → 6127 | 0 0.000%)
━ RegionScopeLibTest::test_pack_masksDirtyTrailingBytes() (gas: 6700 → 6700 | 0 0.000%)
━ RegionScopeLibTest::test_pack_matchesLiteralPacking() (gas: 9042 → 9042 | 0 0.000%)
━ RegionScopeLibTest::test_pack_oversizedStringTruncatesNoRevert() (gas: 7514 → 7514 | 0 0.000%)
━ RegionScopeLibTest::test_scopedRegions_currentGlobalZeroedOut() (gas: 7594 → 7594 | 0 0.000%)
━ RegionScopeLibTest::test_scopedRegions_currentOnly_afterWindow() (gas: 7854 → 7854 | 0 0.000%)
━ RegionScopeLibTest::test_scopedRegions_effectiveInFutureDoesNotUnderflow() (gas: 7873 → 7873 | 0 0.000%)
━ RegionScopeLibTest::test_scopedRegions_emptyPrevNeverApplies() (gas: 7969 → 7969 | 0 0.000%)
━ RegionScopeLibTest::test_scopedRegions_prevAppliesInWindow() (gas: 8237 → 8237 | 0 0.000%)
━ RegionScopeLibTest::test_scopedRegions_prevEqualsCurrentDeduped() (gas: 7963 → 7963 | 0 0.000%)
━ RegionScopeLibTest::test_scopedRegions_prevGlobalNeverApplies() (gas: 7887 → 7887 | 0 0.000%)
━ RegionScopeLibTest::test_scopedRegions_windowBoundaryIsExclusive() (gas: 10842 → 10842 | 0 0.000%)
━ SlashAppealTest::test_cleanup_fastTrackedLapse_grantsOperatorFavorable() (gas: 449843 → 449843 | 0 0.000%)
━ SlashAppealTest::test_cleanup_openLapse_upholds() (gas: 467775 → 467775 | 0 0.000%)
━ SlashAppealTest::test_fastTrack_requiresMultisig() (gas: 479726 → 479726 | 0 0.000%)
━ SlashAppealTest::test_forceResolveStuckAppeal_resolvesAfterRoleRevoked() (gas: 516290 → 516290 | 0 0.000%)
━ SlashAppealTest::test_forceResolveStuckAppeal_revertsWhenNotAppealOpen() (gas: 315222 → 315222 | 0 0.000%)
━ SlashAppealTest::test_forceResolveStuckAppeal_revertsWithoutGovernanceRole() (gas: 482781 → 482781 | 0 0.000%)
━ SlashAppealTest::test_frequencyCap_blocksSecondAppealWithinWindow() (gas: 600160 → 600160 | 0 0.000%)
━ SlashAppealTest::test_grant_newerAppeal_fallsBackToOlderStandingSlash() (gas: 595787 → 595787 | 0 0.000%)
━ SlashAppealTest::test_grant_olderAppeal_preservesNewerSlashZeroOut() (gas: 595206 → 595206 | 0 0.000%)
━ SlashAppealTest::test_grant_refundsOperatorAndBondAndClearsZeroOut() (gas: 457786 → 457786 | 0 0.000%)
━ SlashAppealTest::test_grant_requiresGovernance() (gas: 490221 → 490221 | 0 0.000%)
━ SlashAppealTest::test_grant_revertsIfNotFastTracked() (gas: 481995 → 481995 | 0 0.000%)
━ SlashAppealTest::test_open_locksEscrowAndPullsBond() (gas: 485806 → 485806 | 0 0.000%)
━ SlashAppealTest::test_open_revertsAfterFilingWindow() (gas: 476626 → 476626 | 0 0.000%)
━ SlashAppealTest::test_open_revertsForNonOperator() (gas: 490579 → 490579 | 0 0.000%)
━ SlashAppealTest::test_open_revertsOnDoubleAppeal() (gas: 481659 → 481659 | 0 0.000%)
━ SlashAppealTest::test_open_revertsUnknownSlash() (gas: 23799 → 23799 | 0 0.000%)
━ SlashAppealTest::test_pause_extendsFilingWindow() (gas: 403362 → 403362 | 0 0.000%)
━ SlashAppealTest::test_reject_burnsBondAndDistributesEscrow() (gas: 473481 → 473481 | 0 0.000%)
━ SlashAppealTest::test_slashAppealPause_extendsCapacityBondFilingWindow() (gas: 551216 → 551216 | 0 0.000%)
━ SlashAppealTest::test_uphold_distributesEscrowAndSplitsBond() (gas: 509901 → 509901 | 0 0.000%)
━ SlashAppealTest::test_uphold_poolUnset_burnsFullBond() (gas: 2244318 → 2244318 | 0 0.000%)
━ SlashJudgeTest::test_blacklist_globalAfterResponse_rescuedByRegionalLeg() (gas: 256205 → 256205 | 0 0.000%)
━ SlashJudgeTest::test_blacklist_globalAndRegionalBothAfterResponse_revertsBlacklistAfter() (gas: 140489 → 140489 | 0 0.000%)
━ SlashJudgeTest::test_blacklist_neverChangedFallback_revertsAfterMaxBondGateWindow() (gas: 183467 → 183467 | 0 0.000%)
━ SlashJudgeTest::test_blacklist_neverChangedFallback_ripensFromMaxBondGate() (gas: 301363 → 301363 | 0 0.000%)
━ SlashJudgeTest::test_blacklist_revertsOnHashMismatch() (gas: 68256 → 68256 | 0 0.000%)
━ SlashJudgeTest::test_blacklist_revertsPrevRegionAfterWindow() (gas: 160532 → 160532 | 0 0.000%)
━ SlashJudgeTest::test_blacklist_revertsRegionalEntryAfterResponse() (gas: 118671 → 118671 | 0 0.000%)
━ SlashJudgeTest::test_blacklist_revertsWhenBlacklistedAfterResponse() (gas: 89800 → 89800 | 0 0.000%)
━ SlashJudgeTest::test_blacklist_revertsWhenNotBlacklisted() (gas: 65936 → 65936 | 0 0.000%)
━ SlashJudgeTest::test_blacklist_revertsWhenSuspended() (gas: 89315 → 89315 | 0 0.000%)
━ SlashJudgeTest::test_blacklist_slashesOnCurrentRegionEntry() (gas: 234793 → 234793 | 0 0.000%)
━ SlashJudgeTest::test_blacklist_slashesOnPrevRegionInsideWindow() (gas: 278422 → 278422 | 0 0.000%)
━ SlashJudgeTest::test_blacklist_slashesOnProbeResponse() (gas: 189689 → 189689 | 0 0.000%)
━ SlashJudgeTest::test_blacklist_slashesOnStreamResponse() (gas: 190399 → 190399 | 0 0.000%)
━ SlashJudgeTest::test_blacklist_suspendedRegionalEntryDoesNotSlash() (gas: 118570 → 118570 | 0 0.000%)
━ SlashJudgeTest::test_blacklist_unrelatedRegionEntryDoesNotSlash() (gas: 120479 → 120479 | 0 0.000%)
━ SlashJudgeTest::test_constructor_revertsWhenEvidenceAgeExceedsUnbonding() (gas: 723102 → 723102 | 0 0.000%)
━ SlashJudgeTest::test_pause_blocksChallenges() (gas: 58371 → 58371 | 0 0.000%)
━ SlashJudgeTest::test_phantom_revertsOnBadProbeSignature() (gas: 46824 → 46824 | 0 0.000%)
━ SlashJudgeTest::test_phantom_revertsOnEvidenceReplay() (gas: 199238 → 199238 | 0 0.000%)
━ SlashJudgeTest::test_phantom_revertsOnFutureEvidence() (gas: 47618 → 47618 | 0 0.000%)
━ SlashJudgeTest::test_phantom_revertsOnNodeIdMismatch() (gas: 37784 → 37784 | 0 0.000%)
━ SlashJudgeTest::test_phantom_revertsOnStaleEvidence() (gas: 49932 → 49932 | 0 0.000%)
━ SlashJudgeTest::test_phantom_revertsOnUnregisteredNode() (gas: 39227 → 39227 | 0 0.000%)
━ SlashJudgeTest::test_phantom_revertsOutsideTimestampWindow() (gas: 49625 → 49625 | 0 0.000%)
━ SlashJudgeTest::test_phantom_revertsWhenStreamOk() (gas: 53678 → 53678 | 0 0.000%)
━ SlashJudgeTest::test_phantom_slashesAndRoundTripsBond() (gas: 179618 → 179618 | 0 0.000%)
━ SlashJudgeTest::test_rate_revertsWhenNotHigher() (gas: 53671 → 53671 | 0 0.000%)
━ SlashJudgeTest::test_rate_slashesWhenStreamRateHigher() (gas: 172214 → 172214 | 0 0.000%)
━ SlashJudgeTest::test_setChallengeBond_enforcesBounds() (gas: 24711 → 24711 | 0 0.000%)
━ SlashJudgeTest::test_setMaxEvidenceAge_enforcesBoundsAndInvariant() (gas: 40177 → 40177 | 0 0.000%)
━ SlashJudgeTest::test_setters_onlyGovernance() (gas: 13781 → 13781 | 0 0.000%)
━ TestnetFaucetTest::testFuzz_claim_atOrAboveCooldown(uint256) (gas: 91528 → 91528 | 0 0.000%)
━ TestnetFaucetTest::testFuzz_claim_belowCooldown(uint256) (gas: 85389 → 85389 | 0 0.000%)
━ TestnetFaucetTest::test_admin_canGrantAndRevokeRoles() (gas: 56401 → 56401 | 0 0.000%)
━ TestnetFaucetTest::test_claim_blocksReentrancy() (gas: 1550228 → 1550228 | 0 0.000%)
━ TestnetFaucetTest::test_claim_happyPath() (gas: 82821 → 82821 | 0 0.000%)
━ TestnetFaucetTest::test_claim_perCallerCooldownIndependence() (gas: 133478 → 133478 | 0 0.000%)
━ TestnetFaucetTest::test_claim_revertsBeforeCooldown() (gas: 83092 → 83092 | 0 0.000%)
━ TestnetFaucetTest::test_claim_revertsOnInsufficientBalance() (gas: 50715 → 50715 | 0 0.000%)
━ TestnetFaucetTest::test_claim_revertsOneSecondBeforeCooldownBoundary() (gas: 82996 → 82996 | 0 0.000%)
━ TestnetFaucetTest::test_claim_revertsWhenPaused() (gas: 39998 → 39998 | 0 0.000%)
━ TestnetFaucetTest::test_claim_succeedsAfterCooldown() (gas: 90430 → 90430 | 0 0.000%)
━ TestnetFaucetTest::test_claim_succeedsAtExactCooldownBoundary() (gas: 87103 → 87103 | 0 0.000%)
━ TestnetFaucetTest::test_constructor_allowsZeroCooldown() (gas: 1810378 → 1810378 | 0 0.000%)
━ TestnetFaucetTest::test_constructor_revertsOnCooldownExceedingMax() (gas: 1015061 → 1015061 | 0 0.000%)
━ TestnetFaucetTest::test_constructor_revertsOnMainnetChainId() (gas: 988198 → 988198 | 0 0.000%)
━ TestnetFaucetTest::test_constructor_revertsOnZeroAdmin() (gas: 985898 → 985898 | 0 0.000%)
━ TestnetFaucetTest::test_constructor_revertsOnZeroClaimAmount() (gas: 988045 → 988045 | 0 0.000%)
━ TestnetFaucetTest::test_constructor_revertsOnZeroFunding() (gas: 988061 → 988061 | 0 0.000%)
━ TestnetFaucetTest::test_constructor_revertsOnZeroGovernance() (gas: 985864 → 985864 | 0 0.000%)
━ TestnetFaucetTest::test_constructor_revertsOnZeroPauser() (gas: 985954 → 985954 | 0 0.000%)
━ TestnetFaucetTest::test_constructor_revertsOnZeroTokenAddress() (gas: 70468 → 70468 | 0 0.000%)
━ TestnetFaucetTest::test_constructor_revertsOnZeroTreasury() (gas: 987830 → 987830 | 0 0.000%)
━ TestnetFaucetTest::test_constructor_revertsWhenTreasuryNotApproved() (gas: 1110690 → 1110690 | 0 0.000%)
━ TestnetFaucetTest::test_constructor_setsStateAndRoles() (gas: 43070 → 43070 | 0 0.000%)
━ TestnetFaucetTest::test_nonAdmin_cannotGrantRoles() (gas: 17889 → 17889 | 0 0.000%)
━ TestnetFaucetTest::test_pause_blocksClaimUnpauseRestores() (gas: 91691 → 91691 | 0 0.000%)
━ TestnetFaucetTest::test_pause_revertsOnNonPauser() (gas: 14607 → 14607 | 0 0.000%)
━ TestnetFaucetTest::test_setClaimAmount_revertsOnNonGovernance() (gas: 14702 → 14702 | 0 0.000%)
━ TestnetFaucetTest::test_setClaimAmount_revertsOnZero() (gas: 13338 → 13338 | 0 0.000%)
━ TestnetFaucetTest::test_setClaimAmount_updatesAndEmits() (gas: 22083 → 22083 | 0 0.000%)
━ TestnetFaucetTest::test_setCooldown_acceptsMaxCooldown() (gas: 20228 → 20228 | 0 0.000%)
━ TestnetFaucetTest::test_setCooldown_allowsZero() (gas: 94920 → 94920 | 0 0.000%)
━ TestnetFaucetTest::test_setCooldown_revertsOnExceedingMax() (gas: 13790 → 13790 | 0 0.000%)
━ TestnetFaucetTest::test_setCooldown_revertsOnNonGovernance() (gas: 14705 → 14705 | 0 0.000%)
━ TestnetFaucetTest::test_setCooldown_updatesAndEmits() (gas: 22231 → 22231 | 0 0.000%)
━ TestnetFaucetTest::test_timeUntilNext_tracksCooldownWindow() (gas: 82615 → 82615 | 0 0.000%)
━ TestnetFaucetTest::test_timeUntilNext_zeroBeforeFirstClaim() (gas: 10099 → 10099 | 0 0.000%)
━ TestnetFaucetTest::test_unpause_revertsOnNonPauser() (gas: 43483 → 43483 | 0 0.000%)
━ TestnetFaucetTest::test_withdraw_revertsOnInsufficientBalance() (gas: 26877 → 26877 | 0 0.000%)
━ TestnetFaucetTest::test_withdraw_revertsOnNonGovernance() (gas: 17089 → 17089 | 0 0.000%)
━ TestnetFaucetTest::test_withdraw_revertsOnZeroAmount() (gas: 20838 → 20838 | 0 0.000%)
━ TestnetFaucetTest::test_withdraw_revertsOnZeroTo() (gas: 18662 → 18662 | 0 0.000%)
━ TestnetFaucetTest::test_withdraw_transfersAndEmits() (gas: 44129 → 44129 | 0 0.000%)
━ TestnetFaucetTest::test_withdraw_worksWhilePaused() (gas: 68286 → 68286 | 0 0.000%)
━ TokenTest::testFuzz_burn_reducesSupplyByExactAmount(uint256) (gas: 27700 → 27700 | 0 0.000%)
━ TokenTest::test_burnFrom_consumesAllowance() (gas: 38534 → 38534 | 0 0.000%)
━ TokenTest::test_burn_reducesTotalSupplyAndBalance() (gas: 26044 → 26044 | 0 0.000%)
━ TokenTest::test_constructor_metadata() (gas: 17896 → 17896 | 0 0.000%)
━ TokenTest::test_constructor_mintsFullSupplyToHolder() (gas: 12954 → 12954 | 0 0.000%)
━ TokenTest::test_constructor_revertsOnZeroInitialHolder() (gas: 83264 → 83264 | 0 0.000%)
━ TokenTest::test_constructor_totalSupplyConstantMatches() (gas: 9364 → 9364 | 0 0.000%)
━ TokenTest::test_noMintFunctionExposed() (gas: 10765 → 10765 | 0 0.000%)
━ TokenTest::test_noVotesSurfaceExposed() (gas: 11991 → 11991 | 0 0.000%)
━ TokenTest::test_permit_setsAllowance() (gas: 67380 → 67380 | 0 0.000%)
↑ CapacityBondTest::testFuzz_bondRequired_monotonic(uint256,uint256) (gas: 19282 → 19535 | 253 1.312%)
↓ PublisherRegistryTest::testFuzz_createNamespace_idsAreSequentialAndOwned(uint8) (gas: 454975 → 399321 | -55654 -12.232%)

--------------------------------------------------------------------------------
Total tests: 512, ↑ 1, ↓ 1, ━ 510
Overall gas change: -55401 (-0.025%)

Run: 27279865106

@github-actions

github-actions Bot commented Jun 10, 2026 •

Copy link
Copy Markdown

Contracts coverage

Line coverage: 89.36% (1814/2030 lines)
▲ +0.00pp vs base (89.36% → 89.36%)
Run: 27279865106

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces several robustness, security, and configuration improvements across the codebase. Key changes include making the cache eviction process asynchronous to run blocking disk I/O on a dedicated thread, adding environment variable support (DECDN_ADMIN_PORT and DECDN_METRICS_PORT) for CLI loopback resolution, and preventing self-insertion in the gossip peer table. Additionally, the reputation system has been hardened by parking out-of-order blockchain events, filtering out reports for non-staked providers, and implementing a pre-threshold magnitude guard to prevent single-reporter score manipulation. No review comments were provided, so there is no feedback to address.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR batches several low-risk follow-ups from review umbrellas #845 and #864 across docs, CLI ergonomics, gossip hygiene, cache eviction behavior, and reputation/indexing correctness. It tightens reputation semantics to match ADR 008, improves resilience to event ordering in the settlement indexer, and reduces async-runtime blocking in the cache hot path.

Changes:

  • Reputation: gate EWMA folding on distinct-reporter threshold; drop inbound reports for non-staked providers before creating network/coverage entries.
  • Node robustness: ignore self-echoed NodeAnnounce; park out-of-order ChannelSettled events until their ChannelOpened arrives (bounded FIFO + backfill re-arm).
  • Ops/UX + perf: CLI node * / node top resolve admin/metrics ports from DECDN_{ADMIN|METRICS}_PORT; cache.evict() becomes async and moves eviction-log fsync to spawn_blocking.

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
crates/reputation/src/network.rs Defers score folding until min_distinct_reporters is reached; updates/adds tests to lock in the new semantics.
crates/node/tests/client_loopback.rs Updates test call sites for async cache.evict(..).await.
crates/node/src/runtime/mod.rs Wires staker_set into the node reputation sink constructor.
crates/node/src/reputation_wiring.rs Drops reports for non-staked providers (prevents unbounded entry creation); adds targeted tests.
crates/node/src/reputation_indexer.rs Adds bounded buffering for ChannelSettled observed before ChannelOpened, with retry/backfill re-arming.
crates/node/src/admin.rs Awaits async cache eviction in admin RPC + adjusts tests.
crates/incentive/src/channel.rs Documents EOA-only off-chain signature verification vs ERC-1271 on-chain path.
crates/gossip/src/service.rs Introduces is_self_announce and drops self-announce echoes before peer-table insertion; adds unit test.
crates/cli/src/commands/node.rs Resolves admin URL using DECDN_ADMIN_PORT between flag and config; adds pure helper + tests.
crates/cli/src/commands/node_top.rs Resolves metrics URL using DECDN_METRICS_PORT between flag and config; adds pure helper + tests.
crates/cache/src/engine.rs Makes evict() async and moves eviction-log fsync into spawn_blocking; propagates .await through callers/tests.
contracts/src/PaymentChannel.sol Clarifies replay protection source (EIP-712 domain separator, not typehash).
adr/appendix-peer-table-eviction.md Documents announce replay window behavior for not-yet-tabled peers.
Comments suppressed due to low confidence (1)

crates/cache/src/engine.rs:888

  • The pre-check comment claims idempotency that prevents duplicate evicted.log lines, but the lock is released before the append, so concurrent evict() calls for the same hash can still race and append duplicates. Either strengthen synchronization (if required) or soften the comment to match the actual best-effort behavior.
        // Pre-check under one lock acquisition: short-circuit on
        // already-evicted (idempotent — don't grow `evicted.log` with a
        // duplicate line) and reject on cap (DoS bound on an unbounded
        // public-ish surface). The cap check is racy against concurrent
        // evicts but the cap itself is a soft DoS bound, not a hard

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread crates/cli/src/commands/node_top.rs Resolved
Comment thread crates/cli/src/commands/node_top.rs Resolved
thiras and others added 2 commits June 10, 2026 16:19
…mment

- node_top.rs: replace non-standard "diallable"/"undiallable" with "cannot be
  dialed" in the DECDN_METRICS_PORT=0 doc comment and error message.
- cache/engine.rs: the pre-check comment claimed the idempotent short-circuit
  prevents duplicate evicted.log lines, but the lock is released before the
  append (now a spawn_blocking await, which widens the window). Correct the
  comment: sequential repeat-evicts short-circuit; concurrent same-hash evicts
  may each append a line, harmless because replay folds the log into a HashSet.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…ing, threshold-1 test

From the multi-agent PR review (no Critical/Important blockers; these are
accuracy/observability/coverage refinements):

- reputation/network.rs: the pre-threshold guard comment overstated ("no single
  reporter can dominate" / "free to report repeatedly"). Scope the claim to
  pre-load prevention and note post-threshold influence is bounded by the
  per-report clamp + decay, not this guard; reflect the gossip rate limiter.
- reputation/network.rs: add a `min_distinct_reporters == 1` boundary test —
  the validated minimum must fold the first report (guards the insert-before-
  check ordering against an off-by-one).
- node/reputation_indexer.rs: the eviction warn claimed "re-arming backfill"
  unconditionally, but a `None` block (shouldn't occur for a confirmed event)
  isn't re-queryable. Split the log so the unrecoverable-drop case is
  distinguishable from the recovered one.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@thiras
thiras merged commit ba03624 into main Jun 10, 2026
18 checks passed
@thiras
thiras deleted the fix/batch-quickwins-845-864 branch June 10, 2026 13:32
@github-actions

Copy link
Copy Markdown

Coverage report

Total: 85.80% (was 85.89%, ▼ 0.09%) — 33874/39479 lines

File Coverage Lines Δ
crates/cache/src/engine.rs 92.96% 1691/1819 ▼ 0.18%
crates/cli/src/commands/node.rs 82.80% 1078/1302 ▲ +0.18%
crates/cli/src/commands/node_top.rs 94.86% 812/856 ▲ +0.07%
crates/gossip/src/service.rs 78.03% 611/783 ▲ +0.08%
crates/incentive/src/channel.rs 96.08% 368/383 ● 0.00%
crates/node/src/admin.rs 95.11% 1225/1288 ● 0.00%
crates/node/src/reputation_indexer.rs 45.42% 243/535 ▲ +3.08%
crates/node/src/reputation_wiring.rs 93.24% 331/355 ▲ +1.19%
crates/node/src/runtime/mod.rs 49.89% 878/1760 ▼ 0.03%
crates/reputation/src/network.rs 96.91% 408/421 ▲ +0.34%
History
Commit Total Δ vs base
f045314 (HEAD) 85.80% ▼ 0.09%

thiras added a commit that referenced this pull request Jun 10, 2026
reputation_indexer:
- Correct the MAX_SETTLED_SEEN comment: a re-delivered settlement for an
  evicted channel re-credits the provider (resolved from the never-removed
  on-chain CapacityBond binding), it is NOT a no-op as previously claimed.
  Document it as a bounded, astronomically-unlikely double-count and explain
  why eviction stays at debug! (routine once saturated). Cross-reference from
  the mark_settled_seen doc; harmonize the #867/#868 citation to #864.

node/dht:
- The cap/age break dropped the peer's further requests silently. Now log
  (debug) which bound tripped and conn.close() with APP_ERR_RATE_LIMITED,
  mirroring close_stream_with_rate_limit and the client permit-exhaustion
  close, so the peer gets a reason and the close is observable.
- Extract the accept-budget gate into accept_budget_reached() so the unit
  test exercises the real predicate instead of a re-implementation, and
  cover the previously-untested age branch. Correct the false comment that
  claimed tests/dht_loopback.rs exercises the cap end-to-end (it does not —
  it only proves multi-stream serving); state honestly what is covered.

cli/bundle:
- Add a test for an excluded directory that is itself an escaping symlink
  (tmp/** where tmp -> external dir): confirms the subtree is pruned before
  canonicalize and does not trip the escape bail!.

Verification: cargo fmt/clippy --all-targets clean; decdn-node + decdn-cli
753 tests pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
thiras added a commit that referenced this pull request Jun 10, 2026
* fix: close out remaining LOW review follow-ups (#845 #864)

Resolves the five still-open `[ ]` items across the two 2026-06
full-repository review umbrellas; all prior items shipped in #867/#868.

node:
- dht: cap per-connection served streams (MAX_DHT_REQUESTS_PER_CONN=256)
  and connection age (MAX_DHT_CONN_AGE=5m) so a peer staying under the
  per-stream rate limit can no longer pin its dispatch permit forever,
  mirroring handlers::client's hardcoded-constant precedent (#845).
- reputation_indexer: bound the settled_seen dedup set with a companion
  FIFO (MAX_SETTLED_SEEN=65536), evicting the longest-settled ids first,
  mirroring the existing pending_settled bound — it no longer grows for
  the whole process lifetime (#864).

cli:
- bundle: consult the --exclude globset via filter_entry before
  canonicalize, pruning recursively-excluded directories. An escaping
  symlink inside an excluded subtree is no longer resolved and can't trip
  the escape bail!; a one-level tmp/* still keeps deeper tmp/sub/y via a
  sentinel-child recursion probe (#845).
- config: add [gossip]/[security]/[dht.rate_limit]/[receipts] template
  blocks plus the missing network/blockchain/cache/payment/observability
  knobs to DEFAULT_CONFIG, and surface each section's kill-switch /
  rate-limit knobs in the validate summary; add a template round-trip
  parse test (#864).

contracts (docs-only):
- IFeeRouter: NatSpec now marks the 60/30/10 split as the default,
  governance-mutable within per-bucket bounds via setShares — the drift
  flagged in #845 was in fact still present (not resolved by #777).

Verification: cargo fmt/clippy --all-targets clean; cargo nextest run
1694/1694 pass; forge fmt --check + FOUNDRY_PROFILE=ci forge build clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* fix(cli): use working example values for settlement_auto_* template knobs

The DEFAULT_CONFIG template showed `settlement_auto_threshold_micro_usdc = 0`
and `settlement_auto_by_voucher_nonce_span = 0`, but the resolver rejects
`Some(0)` for both ("must be > 0 when set", mod.rs:1065-1080) — these fields
disable via omission (None / commented-out), not via 0. Uncommenting the line
verbatim would fail `config validate` / node startup. Show realistic positive
example values (50 USDC / 1000 nonces) and reword the annotation to "leave
unset/commented to disable", matching how the other commented knobs in the
template carry working values.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* fix: address multi-agent review findings (#845 #864)

reputation_indexer:
- Correct the MAX_SETTLED_SEEN comment: a re-delivered settlement for an
  evicted channel re-credits the provider (resolved from the never-removed
  on-chain CapacityBond binding), it is NOT a no-op as previously claimed.
  Document it as a bounded, astronomically-unlikely double-count and explain
  why eviction stays at debug! (routine once saturated). Cross-reference from
  the mark_settled_seen doc; harmonize the #867/#868 citation to #864.

node/dht:
- The cap/age break dropped the peer's further requests silently. Now log
  (debug) which bound tripped and conn.close() with APP_ERR_RATE_LIMITED,
  mirroring close_stream_with_rate_limit and the client permit-exhaustion
  close, so the peer gets a reason and the close is observable.
- Extract the accept-budget gate into accept_budget_reached() so the unit
  test exercises the real predicate instead of a re-implementation, and
  cover the previously-untested age branch. Correct the false comment that
  claimed tests/dht_loopback.rs exercises the cap end-to-end (it does not —
  it only proves multi-stream serving); state honestly what is covered.

cli/bundle:
- Add a test for an excluded directory that is itself an escaping symlink
  (tmp/** where tmp -> external dir): confirms the subtree is pruned before
  canonicalize and does not trip the escape bail!.

Verification: cargo fmt/clippy --all-targets clean; decdn-node + decdn-cli
753 tests pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants