Skip to content

test(node): anvil e2e harness for on-chain PaymentChannel settlement (#745) - #752

Merged
thiras merged 4 commits into
mainfrom
test/745-anvil-settlement-e2e
Jun 1, 2026
Merged

thiras merged 4 commits into
mainfrom
test/745-anvil-settlement-e2e

Conversation

@thiras

@thiras thiras commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Closes #745. Stacked on top of #743 (base branch feat/327-paymentchannel-onchain-client), so this diff is only the e2e harness.

Context

PR #743 implemented and statically verified the seller-side on-chain PaymentChannel settlement path, but two runtime-only behaviors were never exercised against a chain:

  1. On-chain acceptance of the normalized voucher signature v-byte — a real client-signed voucher accepted by the contract's ECDSA.recover when the node submits withdraw/closeChannel.
  2. Live event decode — the PaymentChannelService watcher's ChannelOpened/ChannelSettled subscribe+decode path against a live RPC.

What's in this PR

A single gated #[tokio::test] (crates/node/tests/anvil_settlement_e2e.rs, behind the anvil-e2e cargo feature — off by default, so the normal test run stays fast and needs no Foundry). It:

  • spawns anvil, deploys a mintable mock USDC, then the full protocol via forge script DeployProtocol.s.sol (addresses read from the deployments/<chainId>.json manifest);
  • activates the node on-chain (stake + registerNode; the iroh ed25519 key signs the production Ed25519Verifier ownership proof, the eth key the EIP-712 binding);
  • brings up PaymentChannelService + PersistentChannelStateStore + ClientHandler in-process;
  • channel 1: client openChannel → asserts the watcher decodes ChannelOpened and persists it (closes the documented Implement on-chain CapacityBond and PaymentChannel contract integration #327 WrongChannel gap), runs a real iroh paid-delivery roundtrip, asserts the threshold withdraw lands on-chain and FeeRouter.bytesPerEpoch increments;
  • channel 2: a below-threshold claim stays un-redeemed → graceful-shutdown closeChannel → Closing; after the dispute-window time-warp, settleChannel → asserts ChannelSettled is decoded and the row is forget-ten.

Supporting changes

  • contracts: test/mocks/MintableUSDC.sol — test-only 6-decimal mintable USDC.
  • node tests: shared iroh helpers extracted into tests/support/mod.rs; client_loopback.rs now consumes it (behavior-preserving — 14 tests still pass).
  • node: anvil-e2e feature flag (no new crate deps).
  • ci: gated anvil-e2e job (Rust + Foundry toolchain) wired into ci-success needs + allowed-skips.

Verification

  • e2e: 1 passed (~7s, warm caches), full lifecycle green.
  • cargo clippy --features anvil-e2e -D warnings clean (and default); cargo fmt --check clean.
  • forge fmt --check, FOUNDRY_PROFILE=ci forge build --sizes --deny warnings, forge test (440 passed) all green.
  • Default cargo nextest run unchanged — the e2e is #![cfg(feature = "anvil-e2e")].

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings June 1, 2026 00:37

@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 a live, anvil-backed end-to-end test suite for the on-chain PaymentChannel seller settlement path, gated behind a new anvil-e2e feature flag. It includes a test-only MintableUSDC mock contract and refactors the existing loopback tests by extracting shared test helpers into a new support module. The review feedback highlights several improvement opportunities: resolving a potential port-binding race condition when spawning anvil, replacing a hardcoded sleep with a robust synchronization mechanism, using a standard u64 instead of U256 for evm_increaseTime to ensure compatibility, and avoiding .expect in deploy_mock_usdc to prevent panics.

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

Adds an opt-in Anvil-backed Rust e2e test for live on-chain PaymentChannel seller settlement, covering voucher signature acceptance and event watcher decode paths that were previously only statically verified.

Changes:

  • Adds anvil-e2e gated settlement lifecycle test and shared iroh/client-handler test helpers.
  • Refactors client_loopback.rs to consume the shared support module.
  • Adds a mintable test USDC mock and wires a gated CI job into the required CI aggregate.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
crates/node/tests/anvil_settlement_e2e.rs Adds live Anvil settlement e2e covering open, withdraw, close, settle, and watcher persistence transitions.
crates/node/tests/support/mod.rs Extracts reusable paid-delivery loopback helpers for integration tests.
crates/node/tests/client_loopback.rs Refactors existing loopback tests to use shared support helpers.
crates/node/Cargo.toml Adds the opt-in anvil-e2e feature gate.
contracts/test/mocks/MintableUSDC.sol Adds a test-only mintable 6-decimal USDC stand-in for the e2e harness.
.github/workflows/ci.yml Adds gated Anvil e2e CI coverage and includes it in the aggregate CI gate.

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

thiras added a commit that referenced this pull request Jun 1, 2026
… artifact-read error

- evm_increaseTime: pass a plain u64 (JSON number) instead of U256 (hex-quantity
  string), which not every EVM client accepts for that RPC.
- deploy_mock_usdc: it returns Result, so propagate the artifact read/parse
  failures via map_err(...)?/ok_or_else instead of panicking with .expect.

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

Copy link
Copy Markdown
Contributor

Review — anvil e2e harness (#752)

Reviewed the incremental diff against #743. The harness is solid — I verified derive_channel_id packing matches abi.encodePacked(client, provider, uint256 nonce), the Ed25519 ownership-proof layout matches _verifyEd25519OwnershipSignature, the support/mod.rs extraction is behavior-preserving vs the old inlined helpers, the CI wiring adds anvil-e2e to both ci-success needs and allowed-skips, and AnvilGuard is bound before deploy so a panic still kills anvil (no process leak). No functional defects. Three reliability notes:

1. Fixed sleep races the watcher's filter install (flaky) — crates/node/tests/anvil_settlement_e2e.rs:543

bootstrap() returns right after spawning the watcher task; the watcher then has to be scheduled and complete four sequential eth_newFilter RPC calls. The watcher uses .watch(), which only delivers logs from the block at filter-creation forward — it's not a historical query. The test waits a fixed 2s before openChannel. On a loaded CI runner, if the openChannel tx mines before the ChannelOpened filter exists, the log is never delivered, and the 60s poll_until can't recover it → "watcher did not decode ChannelOpened" timeout.

Fix: don't sleep a fixed interval — make readiness observable. Have bootstrap signal once the filters are installed (or have the watcher install from a captured "start block" and fall back to get_logs for that range), then wait on that signal before openChannel.

2. Shutdown closes ALL unredeemed channels, not just channel 2 — anvil_settlement_e2e.rs:728

Per the test's own note at ~656, the single redeem may land the 1 MiB voucher rather than the 1.5 MiB closing voucher. In that timing branch channel 1 still has unredeemed > 0 and status Open, so close_all_unredeemed force-closes channel 1 too. Assertions still pass, so it's not a failing test — but the comment framing ("only channel 2 closes at shutdown") is misleading for the next reader.

Fix: tighten the comment to reflect that channel 1 may also close depending on redeem timing, or assert channel 1's terminal state explicitly so the intent is unambiguous.

3. free_port() TOCTOU — anvil_settlement_e2e.rs:266

Binds 127.0.0.1:0, reads the port, drops the listener, then spawns anvil on that port. Between the drop and anvil's bind, a concurrent process can grab the port → anvil fails to bind → 20s get_chain_id timeout. Low frequency, but real under parallel nextest.

Fix: retry anvil spawn on bind failure, or launch anvil with --port 0 and parse the actual port from its startup output instead of pre-selecting one.

Automated multi-angle review (line-by-line + removed-behavior + cross-file/CI), recall-biased.

Base automatically changed from feat/327-paymentchannel-onchain-client to main June 1, 2026 13:48
thiras and others added 4 commits June 1, 2026 16:51
…745)

Stand up a live, gated end-to-end test (behind the `anvil-e2e` cargo feature,
off by default) that closes the two runtime-only verification gaps called out
in PR #743:
  1. on-chain acceptance of the normalized voucher signature v-byte, and
  2. live ChannelOpened/ChannelSettled event decode by PaymentChannelService.

The test spawns anvil, deploys a mintable mock USDC + the full protocol via
`forge script DeployProtocol.s.sol`, activates the node on-chain (stake +
registerNode — the iroh ed25519 key signs the Ed25519Verifier ownership proof,
the eth key signs the EIP-712 binding), brings up PaymentChannelService + a
persistent store + ClientHandler in-process, then runs a real iroh paid
delivery and asserts: the watcher persists the opened channel (closes the #327
WrongChannel gap), the threshold withdraw lands on-chain, FeeRouter.bytesPerEpoch
increments, graceful-shutdown closeChannel moves the channel to Closing, and
settleChannel after the dispute window is decoded and forgets the row.

Supporting changes:
- contracts: add test-only MintableUSDC (6-decimal, mintable) mock.
- node tests: extract the shared iroh helpers into tests/support/mod.rs
  (client_loopback.rs now consumes it; behavior-preserving).
- node: add the `anvil-e2e` feature (no new crate deps; anvil/forge run as
  subprocesses).
- ci: add a gated `anvil-e2e` job (Rust + Foundry) wired into ci-success.

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

- evm_increaseTime: pass a plain u64 (JSON number) instead of U256 (hex-quantity
  string), which not every EVM client accepts for that RPC.
- deploy_mock_usdc: it returns Result, so propagate the artifact read/parse
  failures via map_err(...)?/ok_or_else instead of panicking with .expect.

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

- The redeemer/watcher warn!s (on-chain revert reasons) are emitted from tokio
  worker threads; `with_test_writer` routes through libtest's thread-local
  capture set only on the main thread, so those cross-thread logs would be
  dropped. Write to process stderr instead (nextest captures it and shows it on
  failure) — restores the intended diagnostic on a withdraw/close timeout.
- Assert the persisted channel 1's `client` and `deposit` match (free, non-flaky
  coverage that the watcher decoded ChannelOpened's non-indexed fields, not just
  the channelId topic).

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…se/watcher comments

Rebased onto main (#743 squash-merged the #327 settlement work this branch
previously carried as duplicate commits); adapted the `bootstrap` call to
main's added `pending_store` param by deriving both trait handles from the one
`PersistentChannelStateStore`, mirroring the runtime wiring.

- free_port TOCTOU: spawn anvil through a retry helper that detects an early
  exit (port stolen between probe and bind) and retries on a fresh port, with a
  per-port 20s readiness timeout. The child is owned by AnvilGuard immediately
  so every early return reaps it.
- shutdown-close comment: corrected to state that `close_all_unredeemed`
  force-closes *every* still-Open channel with unredeemed work — channel 1 also
  closes when its single redeem lands the 1 MiB interval voucher (verified: the
  run logs `closed=2`), not just channel 2.
- watcher readiness comment: corrected to reflect the four sequential `.watch()`
  filter installs (not one) and that the ordering is bridged by the sleep plus
  the intervening mint/approve roundtrips; a fully deterministic fix needs a
  prod-side readiness signal / get_logs fallback, out of scope here.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@thiras
thiras force-pushed the test/745-anvil-settlement-e2e branch from a6b85c7 to 5b6295c Compare June 1, 2026 14:03
@thiras

thiras commented Jun 1, 2026

Copy link
Copy Markdown
Contributor Author

Addressed in 5b6295c (also rebased onto main — #743 squash-merged the #327 work this branch had carried as duplicate commits, so the diff is now just the 6 test/CI files; adapted the bootstrap call to main's new pending_store param).

3. free_port() TOCTOU — fixed. Anvil now spawns through a retry helper: on each attempt it grabs a fresh ephemeral port and probes eth_chainId; if anvil exits early (port stolen between the probe-release and its bind) it reaps and retries on a new port (5 attempts), with a per-port 20s readiness timeout for a genuinely-down anvil. The child is moved into AnvilGuard immediately so every early return reaps it.

2. Shutdown closes all unredeemed channels, not just channel 2 — fixed (comment). You're right, and the test run proves it: it logs closed unredeemed channels on shutdown closed=2. Channel 1's single redeem landed the 1 MiB interval voucher (unredeemed=10 amount=10), leaving 0.5 MiB unredeemed and status Open, so close_all_unredeemed force-closes it too. Tightened the comment to say channel 1 also closes in that redeem-timing branch and that only channel 2's transition is asserted (channel 1's terminal state is timing-dependent, not load-bearing).

1. Fixed sleep races the watcher filter install. Correct on the mechanism — it's four sequential .watch() installs, not one (my earlier reply to the bot was wrong on that). I corrected the comment to reflect that, plus the detail that the ordering is bridged by the sleep and the intervening mint+approve roundtrips (both mine before openChannel), giving the four sub-ms local installs a multi-second margin.

I kept it a time-based wait rather than a signal/get_logs fix, though: both of your suggested fixes live in the production PaymentChannelService (a readiness signal out of bootstrap, or a captured-start-block get_logs fallback in the watcher), which is a prod surface change out of scope for a test-only PR. Mining-control doesn't substitute — there's no observable filter-install completion to gate the mine on without one of those prod hooks. The failure mode if the margin were ever lost is the deterministic 60s persistence-poll timeout with a clear message, not silent corruption, so it's a retryable failure rather than a flake that passes wrongly. If you think the prod-side readiness signal is worth having on its own merits, happy to file it as a follow-up against payment_settlement.rs — it'd also close the (tiny) equivalent race in production bring-up.

@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown

Gas snapshot

Gas changes vs base
No files changed, compilation skipped

Ran 18 tests for test/BuybackBurner.t.sol:BuybackBurnerTest
[PASS] test_constructor_grantsAdminAndGovernanceRoles() (gas: 14866)
[PASS] test_constructor_revertsOnZeroAdmin() (gas: 67810)
[PASS] test_constructor_revertsOnZeroToken() (gas: 67829)
[PASS] test_constructor_revertsOnZeroUsdc() (gas: 67793)
[PASS] test_executeBuyback_happyPath_burnsAndEmits() (gas: 105272)
[PASS] test_executeBuyback_revertsPoolNotWiredWhenPoolUnset() (gas: 840272)
[PASS] test_executeBuyback_revertsPoolNotWiredWhenVaultUnset() (gas: 840424)
[PASS] test_executeBuyback_revertsSwapNotImplementedWhenActualDeltaIsZero() (gas: 60069)
[PASS] test_executeBuyback_revertsSwapReportMismatch() (gas: 110981)
[PASS] test_executeBuyback_revertsWhenPaused() (gas: 73094)
[PASS] test_executeBuyback_revertsWithoutKeeperRole() (gas: 64298)
[PASS] test_executeBuyback_revertsZeroAmount() (gas: 20705)
[PASS] test_pause_revertsWithoutPauserRole() (gas: 11912)
[PASS] test_setPool_emitsUpdateEvent() (gas: 24953)
[PASS] test_setPool_revertsWithoutGovernanceRole() (gas: 12132)
[PASS] test_setVault_emitsUpdateEvent() (gas: 24896)
[PASS] test_setVault_revertsWithoutGovernanceRole() (gas: 12054)
[PASS] test_unpause_revertsWithoutPauserRole() (gas: 23849)
Suite result: ok. 18 passed; 0 failed; 0 skipped; finished in 7.33ms (6.36ms CPU time)

Ran 69 tests for test/CapacityBond.t.sol:CapacityBondTest
[PASS] test_appealGrant_unlocksClaimBeforeGateExpiry() (gas: 427881)
[PASS] test_capacityBand_defaults() (gas: 10622)
[PASS] test_capacityBand_floorAlwaysBelowCeiling() (gas: 29363)
[PASS] test_claimVestedCredit_movesIntoActiveStake() (gas: 214354)
[PASS] test_claimVestedCredit_multiClaimFollowsLinearCurve() (gas: 218936)
[PASS] test_claimVestedCredit_multiSlash_gatedByOlderStandingSlash() (gas: 575174)
[PASS] test_claimVestedCredit_revertsWhenNoActiveStake() (gas: 144401)
[PASS] test_claimVestedCredit_revertsWhenSlashedInWindow() (gas: 435153)
[PASS] test_claimVestedCredit_succeedsAfterSlashGateExpires() (gas: 438274)
[PASS] test_creditSlash_escrowsThenDistributes5050AtFinality() (gas: 453450)
[PASS] test_declareMbps_acceptsFloorAndCeiling() (gas: 47023)
[PASS] test_declareMbps_emitsOldAndNewValue() (gas: 50626)
[PASS] test_declareMbps_revertsAboveCeiling() (gas: 18039)
[PASS] test_declareMbps_revertsBelowFloor() (gas: 17883)
[PASS] test_declareMbps_revertsZero() (gas: 17873)
[PASS] test_declaredMbps_storesValue() (gas: 42120)
[PASS] test_escrowHooks_requireSlashAppealRole() (gas: 17103)
[PASS] test_finalizeUnappealedSlash_distributes5050() (gas: 351221)
[PASS] test_firstBondedAt_immutableAcrossReBonds() (gas: 111457)
[PASS] test_firstBondedAt_setsOnFirstStake() (gas: 102645)
[PASS] test_forfeitUnvestedCredit_burnsWhenNoTreasury() (gas: 246115)
[PASS] test_forfeitUnvestedCredit_doesNotClawBackVestedUnclaimed() (gas: 281787)
[PASS] test_forfeitUnvestedCredit_onUnbond() (gas: 290510)
[PASS] test_genesisCredit_fullVestAfterDuration() (gas: 141188)
[PASS] test_genesisCredit_grantWithinWindow() (gas: 139033)
[PASS] test_genesisCredit_revertsAfterWindow() (gas: 82768)
[PASS] test_genesisCredit_vestsLinearly() (gas: 141490)
[PASS] test_markAppealOpen_blocksFinalize() (gas: 321821)
[PASS] test_pause_revertsWithoutRole() (gas: 14834)
[PASS] test_pendingCreditSlash_reducesOriginalGrant() (gas: 429310)
[PASS] test_reduceStakeAtTier_activeOnly() (gas: 877)
[PASS] test_reduceStakeAtTier_remainderClip() (gas: 1103)
[PASS] test_reduceStakeAtTier_slashEqualsActive() (gas: 900)
[PASS] test_reduceStakeAtTier_spillsIntoUnbonding() (gas: 975)
[PASS] test_reduceStakeAtTier_unbondingOnly() (gas: 994)
[PASS] test_reduceStakeAtTier_zeroInputs() (gas: 1471)
[PASS] test_registerNode_revertsOnInvalidEd25519Sig() (gas: 169192)
[PASS] test_registerNode_revertsWhenAlreadyActive() (gas: 376610)
[PASS] test_setCapacity_onlyGovernance() (gas: 19701)
[PASS] test_setClaimSlashGateEpochs_revertsWithoutRole() (gas: 14890)
[PASS] test_setMaxCapacity_acceptsInclusiveBounds() (gas: 24495)
[PASS] test_setMaxCapacity_revertsOutOfBounds() (gas: 18439)
[PASS] test_setMaxCapacity_updatesBandAndEmits() (gas: 31106)
[PASS] test_setMaxMultiaddrSize_revertsWithoutRole() (gas: 14867)
[PASS] test_setMinCapacity_acceptsInclusiveBounds() (gas: 24754)
[PASS] test_setMinCapacity_revertsOutOfBounds() (gas: 18515)
[PASS] test_setMinCapacity_updatesBandAndEmits() (gas: 61985)
[PASS] test_setMinStake_revertsWithoutRole() (gas: 14847)
[PASS] test_setMultiaddrUpdateCooldown_revertsWithoutRole() (gas: 14866)
[PASS] test_setRegionStabilityWindow_revertsWithoutRole() (gas: 14800)
[PASS] test_setTreasury_revertsWithoutRole() (gas: 14992)
[PASS] test_setUnbondingPeriod_revertsWithoutRole() (gas: 14891)
[PASS] test_settleAppealGranted_clearsAndRefunds() (gas: 297619)
[PASS] test_settleAppealGranted_multiSlash_recomputesThenClears() (gas: 420168)
[PASS] test_settleAppealGranted_reverseMiddleSlash_keepsNewest() (gas: 570195)
[PASS] test_settleAppealUpheld_distributes5050() (gas: 343388)
[PASS] test_slashHitsVestedAndUnvestedTogether() (gas: 472480)
[PASS] test_slashHitsVestedButUnclaimed() (gas: 439903)
[PASS] test_slashId_persistsRecord() (gas: 311199)
[PASS] test_slash_creditSlash_escalatesAcrossTiers() (gas: 660327)
[PASS] test_slash_escrowsWithoutDistribution() (gas: 322356)
[PASS] test_slash_stampsSlashedAtEpoch() (gas: 311012)
[PASS] test_slash_tier3_mixedStake_exhaustsActiveTapsUnbonding() (gas: 583549)
[PASS] test_slash_tierEscalation_15then50pct() (gas: 540745)
[PASS] test_slashedAtEpoch_zeroBeforeSlash() (gas: 10158)
[PASS] test_unpause_revertsWithoutRole() (gas: 94677)
[PASS] test_updateMultiaddrs_revertsWhenNodeNotActive() (gas: 15701)
[PASS] test_updateRegion_cooldownAndPrevSnapshot() (gas: 448174)
[PASS] test_updateRegion_revertsWhenNodeNotActive() (gas: 15675)
Suite result: ok. 69 passed; 0 failed; 0 skipped; finished in 23.44ms (19.29ms CPU time)

Ran 18 tests for test/ContentBlacklist.t.sol:ContentBlacklistTest
[PASS] test_addHashGlobal_andQuery() (gas: 38191)
[PASS] test_addHashGlobal_revertsWithoutGovernanceRole() (gas: 14608)
[PASS] test_addHashRegional_globalTakesPrecedence() (gas: 41980)
[PASS] test_addHashRegional_revertsWithoutRegionalBodyRole() (gas: 14684)
[PASS] test_addOperator_callsEjectOnCapacityBond() (gas: 91570)
[PASS] test_fullAppealFlow_ratifyRemovesHash() (gas: 275665)
[PASS] test_hasActiveAppeal_clearedOnLapseOpen() (gas: 242221)
[PASS] test_hasActiveAppeal_clearedOnReject() (gas: 433926)
[PASS] test_hasActiveAppeal_clearedOnReverse() (gas: 254985)
[PASS] test_openBlacklistAppeal_revertsDuplicatePerHash() (gas: 356697)
[PASS] test_openBlacklistAppeal_revertsOnEntryNotBlacklisted() (gas: 18635)
[PASS] test_openBlacklistAppeal_revertsOnZeroRegion() (gas: 16243)
[PASS] test_regionalCap_blocksMoreThanThreeActiveAppeals() (gas: 706667)
[PASS] test_registerRegionalBody_revertsWithoutGovernanceRole() (gas: 14830)
[PASS] test_rejectAppeal_burnsBond() (gas: 247882)
[PASS] test_removeHashRegional_blocksGlobalRegionEntries() (gas: 44419)
[PASS] test_reverseAppeal_clearsSuspendedAndBurnsBond() (gas: 261664)
[PASS] test_setAppealBond_revertsWithoutGovernanceRole() (gas: 14754)
Suite result: ok. 18 passed; 0 failed; 0 skipped; finished in 7.11ms (6.22ms 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 9.19ms (7.93ms CPU time)

Ran 23 tests for test/DeployProtocol.t.sol:DeployProtocolTest
[PASS] test_assertNoBackDoors_revertsWhenHandoffIncomplete() (gas: 24645580)
[PASS] test_assertNoBackDoors_revertsWhenTimelockMissingRole() (gas: 94428)
[PASS] test_crossContractWiring_capacityBondPeerRoles() (gas: 23444)
[PASS] test_crossContractWiring_genesisGrantorIsTimelock() (gas: 17033)
[PASS] test_crossContractWiring_newContractPeerRoles() (gas: 31446)
[PASS] test_crossContractWiring_slashAppealChallengerPool() (gas: 9920)
[PASS] test_deployTargets_revertsOnZeroChallengerIncentivePool() (gas: 2025645)
[PASS] test_deployTargets_revertsOnZeroDeployer() (gas: 580314)
[PASS] test_deployTargets_revertsOnZeroEd25519Verifier() (gas: 2025513)
[PASS] test_deployTargets_revertsOnZeroEmergencyMultisig() (gas: 2025557)
[PASS] test_deployTargets_revertsOnZeroInitialTokenHolder() (gas: 2025645)
[PASS] test_deployTargets_revertsOnZeroUsdc() (gas: 2025451)
[PASS] test_emergencyMultisig_canPauseAndBlockEntrypoint() (gas: 48566)
[PASS] test_feeRouter_launchSharesDormantBuyback() (gas: 16477)
[PASS] test_feeRouter_treasuryIsTimelock() (gas: 10051)
[PASS] test_governor_openExecutor() (gas: 8743)
[PASS] test_governor_timelockBinding() (gas: 25888)
[PASS] test_roleMatrix_deployerHoldsNoRoleAnywhere() (gas: 66904)
[PASS] test_roleMatrix_emergencyMultisigGrants() (gas: 19503)
[PASS] test_roleMatrix_pauserIsEmergencyMultisig() (gas: 45658)
[PASS] test_roleMatrix_timelockHoldsDefaultAdminOnEveryTarget() (gas: 41825)
[PASS] test_roleMatrix_timelockHoldsGovernanceOnEveryTarget() (gas: 41953)
[PASS] test_token_initialHolderHoldsFullSupply() (gas: 13803)
Suite result: ok. 23 passed; 0 failed; 0 skipped; finished in 25.79ms (12.43ms CPU time)

Ran 7 tests for test/DeployProtocolScript.t.sol:DeployProtocolScriptTest
[PASS] test_readConfig_appliesDefaultsForOptionalVars() (gas: 17786)
[PASS] test_readConfig_deployerIsTxOrigin() (gas: 15801)
[PASS] test_run_abortsBeforeBroadcastWhenManifestExists() (gas: 22040)
[PASS] test_run_revertsIfDeployerIsForgeDefaultSender() (gas: 15305)
[PASS] test_writeManifest_overwritesWhenForced() (gas: 110634)
[PASS] test_writeManifest_revertsOnExistingFile() (gas: 32033)
[PASS] test_writeManifest_writesAllAddresses() (gas: 92307)
Suite result: ok. 7 passed; 0 failed; 0 skipped; finished in 13.87ms (14.12ms CPU time)

Ran 3 tests for test/E2EProtocol.t.sol:E2EProtocolTest
[PASS] test_deployWiring_newContractsWiredAndHandedOff() (gas: 66883)
[PASS] test_e2e_blacklistEjectsOperator() (gas: 408321)
[PASS] test_e2e_registerSettleSlashEjectAppeal() (gas: 1450834)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 16.16ms (5.51ms CPU time)

Ran 54 tests for test/GovernanceLifecycle.t.sol:GovernanceLifecycleTest
[PASS] test_canary_executorIsTimelock() (gas: 9969)
[PASS] test_canary_governanceRoleHandoff() (gas: 99038)
[PASS] test_canary_governorVoteWeightWired() (gas: 129803)
[PASS] test_lifecycle_CapacityBond_setClaimSlashGateEpochs_happy() (gas: 589024)
[PASS] test_lifecycle_CapacityBond_setClaimSlashGateEpochs_outOfBounds() (gas: 594739)
[PASS] test_lifecycle_CapacityBond_setMaxCapacityMbps_happy() (gas: 588790)
[PASS] test_lifecycle_CapacityBond_setMaxCapacityMbps_outOfBounds() (gas: 594694)
[PASS] test_lifecycle_CapacityBond_setMaxMultiaddrSize_happy() (gas: 588656)
[PASS] test_lifecycle_CapacityBond_setMaxMultiaddrSize_outOfBounds() (gas: 594631)
[PASS] test_lifecycle_CapacityBond_setMinCapacityMbps_happy() (gas: 588875)
[PASS] test_lifecycle_CapacityBond_setMinCapacityMbps_outOfBounds() (gas: 594672)
[PASS] test_lifecycle_CapacityBond_setMinStake_happy() (gas: 588815)
[PASS] test_lifecycle_CapacityBond_setMinStake_outOfBounds() (gas: 594651)
[PASS] test_lifecycle_CapacityBond_setMultiaddrUpdateCooldown_happy() (gas: 605929)
[PASS] test_lifecycle_CapacityBond_setMultiaddrUpdateCooldown_outOfBounds() (gas: 594602)
[PASS] test_lifecycle_CapacityBond_setRegionStabilityWindow_happy() (gas: 588658)
[PASS] test_lifecycle_CapacityBond_setRegionStabilityWindow_outOfBounds() (gas: 594585)
[PASS] test_lifecycle_CapacityBond_setTreasury_happy() (gas: 606313)
[PASS] test_lifecycle_CapacityBond_setUnbondingPeriod_happy() (gas: 588783)
[PASS] test_lifecycle_CapacityBond_setUnbondingPeriod_outOfBounds() (gas: 594656)
[PASS] test_lifecycle_ContentBlacklist_addHashGlobal_happy() (gas: 609179)
[PASS] test_lifecycle_ContentBlacklist_addHashGlobal_outOfBounds() (gas: 596766)
[PASS] test_lifecycle_ContentBlacklist_addOperator_happy() (gas: 637832)
[PASS] test_lifecycle_ContentBlacklist_addOperator_outOfBounds() (gas: 596903)
[PASS] test_lifecycle_ContentBlacklist_registerRegionalBody_happy() (gas: 610686)
[PASS] test_lifecycle_ContentBlacklist_removeHashGlobal_happy() (gas: 994015)
[PASS] test_lifecycle_ContentBlacklist_removeHashGlobal_outOfBounds() (gas: 599314)
[PASS] test_lifecycle_ContentBlacklist_removeOperator_happy() (gas: 1022403)
[PASS] test_lifecycle_ContentBlacklist_setAppealBond_happy() (gas: 591255)
[PASS] test_lifecycle_ContentBlacklist_setAppealBond_outOfBounds() (gas: 597087)
[PASS] test_lifecycle_ContentBlacklist_setOriginBlacklist_happy() (gas: 609820)
[PASS] test_lifecycle_ContentBlacklist_setOriginBlacklist_outOfBounds() (gas: 597675)
[PASS] test_lifecycle_DecdnGovernor_setAgeRampMonths_happy() (gas: 630590)
[PASS] test_lifecycle_DecdnGovernor_setAgeRampMonths_outOfBounds() (gas: 636308)
[PASS] test_lifecycle_DecdnGovernor_setVoteCapBps_happy() (gas: 630597)
[PASS] test_lifecycle_DecdnGovernor_setVoteCapBps_outOfBounds() (gas: 636350)
[PASS] test_lifecycle_FeeRouter_setBuybackBurner_happy() (gas: 589149)
[PASS] test_lifecycle_FeeRouter_setBuybackBurner_outOfBounds() (gas: 596678)
[PASS] test_lifecycle_FeeRouter_setSharesAndDestinations_happy() (gas: 622083)
[PASS] test_lifecycle_FeeRouter_setSharesAndDestinations_outOfBounds() (gas: 597774)
[PASS] test_lifecycle_FeeRouter_setShares_happy() (gas: 608228)
[PASS] test_lifecycle_FeeRouter_setShares_outOfBounds() (gas: 596571)
[PASS] test_lifecycle_FeeRouter_setTreasury_happy() (gas: 589175)
[PASS] test_lifecycle_FeeRouter_setTreasury_outOfBounds() (gas: 594423)
[PASS] test_lifecycle_FeeRouter_setWindowEpochs_happy() (gas: 610919)
[PASS] test_lifecycle_FeeRouter_setWindowEpochs_outOfBounds() (gas: 596947)
[PASS] test_lifecycle_PublisherRegistry_setMaxNamespacesPerPublisher_happy() (gas: 591482)
[PASS] test_lifecycle_PublisherRegistry_setMaxNamespacesPerPublisher_outOfBounds() (gas: 597082)
[PASS] test_lifecycle_PublisherRegistry_setNamespaceTransferTimelock_happy() (gas: 591398)
[PASS] test_lifecycle_PublisherRegistry_setNamespaceTransferTimelock_outOfBounds() (gas: 597124)
[PASS] test_lifecycle_SlashAppeal_setAppealBond_happy() (gas: 591217)
[PASS] test_lifecycle_SlashAppeal_setAppealBond_outOfBounds() (gas: 597084)
[PASS] test_lifecycle_SlashAppeal_setChallengerIncentivePool_happy() (gas: 591633)
[PASS] test_lifecycle_SlashAppeal_setChallengerIncentivePool_outOfBounds() (gas: 596913)
Suite result: ok. 54 passed; 0 failed; 0 skipped; finished in 132.22ms (112.96ms 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 307.48µs (72.76µs CPU time)

Ran 28 tests for test/OriginAssignment.t.sol:OriginAssignmentTest
[PASS] test_activate_blacklistSkippedWhenUnset() (gas: 2045181)
[PASS] test_activate_onlyGovernance() (gas: 140563)
[PASS] test_activate_replacesPreviousSet() (gas: 344888)
[PASS] test_activate_revertsBeforeTimelock() (gas: 140524)
[PASS] test_activate_revertsNoPending() (gas: 20987)
[PASS] test_activate_revertsOperatorBlacklisted() (gas: 173723)
[PASS] test_activate_revertsOperatorWentInactive() (gas: 152943)
[PASS] test_activate_setsAuthorizedSet() (gas: 220067)
[PASS] test_cancel_clearsPending() (gas: 110536)
[PASS] test_defaultOpen_addAndRemove() (gas: 78409)
[PASS] test_defaultOpen_onlyGovernance() (gas: 21147)
[PASS] test_defaultOpen_revertsInactive() (gas: 27910)
[PASS] test_defaultOpen_setAllowlist() (gas: 172086)
[PASS] test_propose_overwriteReplacesPending() (gas: 128820)
[PASS] test_propose_revertsDuplicate() (gas: 34896)
[PASS] test_propose_revertsEmpty() (gas: 21925)
[PASS] test_propose_revertsInactiveOperator() (gas: 39819)
[PASS] test_propose_revertsNonOwner() (gas: 27271)
[PASS] test_propose_revertsTooMany() (gas: 39410)
[PASS] test_propose_storesPending() (gas: 133692)
[PASS] test_prune_removesBlacklistedOperator() (gas: 243079)
[PASS] test_prune_revertsWhenBlacklistUnset() (gas: 1862769)
[PASS] test_prune_revertsWhenNotBlacklisted() (gas: 220747)
[PASS] test_revoke_byPublisherAndGovernance() (gas: 232436)
[PASS] test_revoke_revertsNonMember() (gas: 23619)
[PASS] test_setAssignmentTimelock_enforcesBounds() (gas: 24737)
[PASS] test_setContentBlacklist_rejectsZero() (gas: 13451)
[PASS] test_setMaxOrigins_enforcesBounds() (gas: 13857)
Suite result: ok. 28 passed; 0 failed; 0 skipped; finished in 4.19ms (3.47ms 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 119.19ms (118.81ms CPU time)

Ran 16 tests for test/FeeRouter.t.sol:FeeRouterTest
[PASS] test_bytesInWindow_sumsTrailingWindow() (gas: 497291)
[PASS] test_bytesInWindow_zeroWindowReturnsZero() (gas: 9326)
[PASS] test_pause_revertsWithoutRole() (gas: 14609)
[PASS] test_routeSettlement_distributesThreeLegs() (gas: 232441)
[PASS] test_routeSettlement_dustRoutesToOperatorWhenBuybackUnset() (gas: 141838)
[PASS] test_routeSettlement_incrementsBytesPerEpoch() (gas: 221457)
[PASS] test_routeSettlement_revertsWithoutRouterRole() (gas: 89208)
[PASS] test_setBuybackBurner_revertsWithoutRole() (gas: 14720)
[PASS] test_setSharesAndDestinations_revertsWithoutRole() (gas: 19569)
[PASS] test_setShares_rejectsNonZeroShareWithoutDestination() (gas: 16239)
[PASS] test_setShares_rejectsSumNot10000() (gas: 14523)
[PASS] test_setShares_revertsWithoutRole() (gas: 15219)
[PASS] test_setTreasury_revertsWithoutRole() (gas: 14696)
[PASS] test_setWindowEpochs_enforcesBounds() (gas: 32780)
[PASS] test_setWindowEpochs_revertsWithoutRole() (gas: 14688)
[PASS] test_unpause_revertsWithoutRole() (gas: 72166)
Suite result: ok. 16 passed; 0 failed; 0 skipped; finished in 4.60ms (3.80ms CPU time)

Ran 27 tests for test/PublisherRegistry.t.sol:PublisherRegistryTest
[PASS] testFuzz_createNamespace_idsAreSequentialAndOwned(uint8) (runs: 1024, μ: 717816, ~: 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 986.53ms (983.56ms CPU time)

Ran 19 tests for test/SlashAppeal.t.sol:SlashAppealTest
[PASS] test_cleanup_fastTrackedLapse_grantsOperatorFavorable() (gas: 450654)
[PASS] test_cleanup_openLapse_upholds() (gas: 468768)
[PASS] test_fastTrack_requiresMultisig() (gas: 480131)
[PASS] test_frequencyCap_blocksSecondAppealWithinWindow() (gas: 601526)
[PASS] test_grant_newerAppeal_fallsBackToOlderStandingSlash() (gas: 596876)
[PASS] test_grant_olderAppeal_preservesNewerSlashZeroOut() (gas: 596208)
[PASS] test_grant_refundsOperatorAndBondAndClearsZeroOut() (gas: 457476)
[PASS] test_grant_requiresGovernance() (gas: 490803)
[PASS] test_grant_restoresCreditVestingNotLiquid() (gas: 570721)
[PASS] test_grant_revertsIfNotFastTracked() (gas: 482511)
[PASS] test_open_locksEscrowAndPullsBond() (gas: 486510)
[PASS] test_open_revertsAfterFilingWindow() (gas: 477360)
[PASS] test_open_revertsForNonOperator() (gas: 491146)
[PASS] test_open_revertsOnDoubleAppeal() (gas: 482314)
[PASS] test_open_revertsUnknownSlash() (gas: 23798)
[PASS] test_pause_extendsFilingWindow() (gas: 403337)
[PASS] test_reject_burnsBondAndDistributesEscrow() (gas: 473267)
[PASS] test_uphold_distributesEscrowAndSplitsBond() (gas: 509708)
[PASS] test_uphold_poolUnset_burnsFullBond() (gas: 2169616)
Suite result: ok. 19 passed; 0 failed; 0 skipped; finished in 14.23ms (10.67ms CPU time)

Ran 22 tests for test/SlashJudge.t.sol:SlashJudgeTest
[PASS] test_blacklist_revertsOnHashMismatch() (gas: 68210)
[PASS] test_blacklist_revertsWhenBlacklistedAfterResponse() (gas: 72559)
[PASS] test_blacklist_revertsWhenNotBlacklisted() (gas: 48632)
[PASS] test_blacklist_revertsWhenSuspended() (gas: 72096)
[PASS] test_blacklist_slashesOnProbeResponse() (gas: 189538)
[PASS] test_blacklist_slashesOnStreamResponse() (gas: 190270)
[PASS] test_constructor_revertsWhenEvidenceAgeExceedsUnbonding() (gas: 366864)
[PASS] test_pause_blocksChallenges() (gas: 58348)
[PASS] test_phantom_revertsOnBadProbeSignature() (gas: 46691)
[PASS] test_phantom_revertsOnEvidenceReplay() (gas: 199102)
[PASS] test_phantom_revertsOnFutureEvidence() (gas: 47528)
[PASS] test_phantom_revertsOnNodeIdMismatch() (gas: 37805)
[PASS] test_phantom_revertsOnStaleEvidence() (gas: 49909)
[PASS] test_phantom_revertsOnUnregisteredNode() (gas: 39027)
[PASS] test_phantom_revertsOutsideTimestampWindow() (gas: 49624)
[PASS] test_phantom_revertsWhenStreamOk() (gas: 53546)
[PASS] test_phantom_slashesAndRoundTripsBond() (gas: 179547)
[PASS] test_rate_revertsWhenNotHigher() (gas: 53581)
[PASS] test_rate_slashesWhenStreamRateHigher() (gas: 172123)
[PASS] test_setChallengeBond_enforcesBounds() (gas: 24689)
[PASS] test_setMaxEvidenceAge_enforcesBoundsAndInvariant() (gas: 40199)
[PASS] test_setters_onlyGovernance() (gas: 13759)
Suite result: ok. 22 passed; 0 failed; 0 skipped; finished in 26.75ms (23.73ms CPU time)

Ran 44 tests for test/TestnetFaucet.t.sol:TestnetFaucetTest
[PASS] testFuzz_claim_atOrAboveCooldown(uint256) (runs: 1024, μ: 91489, ~: 91528)
[PASS] testFuzz_claim_belowCooldown(uint256) (runs: 1024, μ: 85187, ~: 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 278.63ms (276.93ms CPU time)

Ran 10 tests for test/Token.t.sol:TokenTest
[PASS] testFuzz_burn_reducesSupplyByExactAmount(uint256) (runs: 1024, μ: 27804, ~: 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 127.34ms (126.74ms CPU time)

Ran 54 tests for test/PaymentChannel.t.sol:PaymentChannelTest
[PASS] testFuzz_settle_refundEqualsDepositMinusClaimed(uint256,uint256) (runs: 1024, μ: 410609, ~: 410648)
[PASS] testFuzz_withdrawThenSettle_partitionsClaim(uint256,uint256,uint256,uint256) (runs: 1024, μ: 545926, ~: 546319)
[PASS] test_close_afterWithdraw_settleRoutesRemainderOnly() (gas: 538591)
[PASS] test_close_atWatermarkNonce_succeeds() (gas: 471986)
[PASS] test_close_revertsAfterExpiry() (gas: 209040)
[PASS] test_close_revertsOnAmountExceedingDeposit() (gas: 221040)
[PASS] test_close_revertsOnByteOnlyAdvance() (gas: 464920)
[PASS] test_close_then_settle_routesAndRefunds() (gas: 420622)
[PASS] test_close_thirdPartyCannotClose() (gas: 210915)
[PASS] test_constructor_revertsOnDisputeWindowOutOfBounds() (gas: 76787)
[PASS] test_constructor_revertsOnEoaFeeRouter() (gas: 76787)
[PASS] test_constructor_revertsOnZeroAdmin() (gas: 71702)
[PASS] test_dispute_higherNonceWins() (gas: 307630)
[PASS] test_dispute_revertsAfterDeadline() (gas: 295195)
[PASS] test_dispute_revertsOnAmountExceedingDeposit() (gas: 303144)
[PASS] test_dispute_revertsOnAmountRegression() (gas: 302754)
[PASS] test_dispute_revertsOnByteOnlyAdvance() (gas: 483308)
[PASS] test_dispute_revertsOnBytesRegression() (gas: 302891)
[PASS] test_dispute_revertsOnStaleNonce() (gas: 300180)
[PASS] test_forcedInclusion_doesNotExtendTwice() (gas: 2756694)
[PASS] test_forcedInclusion_extendsDeadlineOnce() (gas: 2734132)
[PASS] test_forcedInclusion_noExtendWhenAmpleTimeRemains() (gas: 2742648)
[PASS] test_getRateBounds_returnsConfigured() (gas: 9890)
[PASS] test_normalDispute_doesNotExtend() (gas: 317503)
[PASS] test_openChannel_derivesIdAndIncrementsNonce() (gas: 219442)
[PASS] test_openChannel_distinctIdsAcrossProviders() (gas: 347252)
[PASS] test_openChannel_revertsBelowMinDeposit() (gas: 23033)
[PASS] test_openChannel_revertsOnInactiveProvider() (gas: 29784)
[PASS] test_openChannel_revertsWhenPaused() (gas: 47399)
[PASS] test_paused_exitsStillCallable() (gas: 659037)
[PASS] test_reclaimExpired_refundsRemainderToClient() (gas: 446830)
[PASS] test_reclaimExpired_revertsBeforeExpiry() (gas: 204176)
[PASS] test_setDisputeWindow_enforcesBounds() (gas: 24815)
[PASS] test_setFeeRouter_revertsOnEoaRouter() (gas: 18660)
[PASS] test_setFeeRouter_revertsOnZeroAndUnchanged() (gas: 24635)
[PASS] test_setFeeRouter_updatesTarget() (gas: 284490)
[PASS] test_setters_onlyGovernance() (gas: 13976)
[PASS] test_settle_amountEqualsDeposit_zeroRefund() (gas: 405432)
[PASS] test_settle_fullyWithdrawn_noRouterCall() (gas: 467688)
[PASS] test_settle_revertsBeforeDisputeDeadline() (gas: 292432)
[PASS] test_topUp_increasesDeposit() (gas: 222520)
[PASS] test_topUp_onlyClient() (gas: 204390)
[PASS] test_voucher_rejectedOnWrongChannelId() (gas: 335707)
[PASS] test_withdraw_acceptsErc1271Signature() (gas: 711964)
[PASS] test_withdraw_onlyProvider() (gas: 208846)
[PASS] test_withdraw_revertsOnAmountExceedingDeposit() (gas: 220800)
[PASS] test_withdraw_revertsOnBadSignature() (gas: 213634)
[PASS] test_withdraw_revertsOnBytesRegression() (gas: 463839)
[PASS] test_withdraw_revertsOnNonMonotonicNonce() (gas: 463515)
[PASS] test_withdraw_revertsWhenDeltaZero() (gas: 464290)
[PASS] test_withdraw_routesDeltaAndAdvancesWatermark() (gas: 460090)
[PASS] test_withdraw_secondWithdrawRoutesOnlyIncrement() (gas: 546054)
[PASS] test_zeroVoucherClose_disabledAfterWithdraw() (gas: 457488)
[PASS] test_zeroVoucherClose_refundsFullDeposit() (gas: 216232)
Suite result: ok. 54 passed; 0 failed; 0 skipped; finished in 1.63s (1.65s CPU time)

Ran 18 test suites in 1.79s (3.42s CPU time): 440 tests passed, 0 failed, 0 skipped (440 total tests)
━ BuybackBurnerTest::test_constructor_grantsAdminAndGovernanceRoles() (gas: 14866 → 14866 | 0 0.000%)
━ BuybackBurnerTest::test_constructor_revertsOnZeroAdmin() (gas: 67810 → 67810 | 0 0.000%)
━ BuybackBurnerTest::test_constructor_revertsOnZeroToken() (gas: 67829 → 67829 | 0 0.000%)
━ BuybackBurnerTest::test_constructor_revertsOnZeroUsdc() (gas: 67793 → 67793 | 0 0.000%)
━ BuybackBurnerTest::test_executeBuyback_happyPath_burnsAndEmits() (gas: 105272 → 105272 | 0 0.000%)
━ BuybackBurnerTest::test_executeBuyback_revertsPoolNotWiredWhenPoolUnset() (gas: 840272 → 840272 | 0 0.000%)
━ BuybackBurnerTest::test_executeBuyback_revertsPoolNotWiredWhenVaultUnset() (gas: 840424 → 840424 | 0 0.000%)
━ BuybackBurnerTest::test_executeBuyback_revertsSwapNotImplementedWhenActualDeltaIsZero() (gas: 60069 → 60069 | 0 0.000%)
━ BuybackBurnerTest::test_executeBuyback_revertsSwapReportMismatch() (gas: 110981 → 110981 | 0 0.000%)
━ BuybackBurnerTest::test_executeBuyback_revertsWhenPaused() (gas: 73094 → 73094 | 0 0.000%)
━ BuybackBurnerTest::test_executeBuyback_revertsWithoutKeeperRole() (gas: 64298 → 64298 | 0 0.000%)
━ BuybackBurnerTest::test_executeBuyback_revertsZeroAmount() (gas: 20705 → 20705 | 0 0.000%)
━ BuybackBurnerTest::test_pause_revertsWithoutPauserRole() (gas: 11912 → 11912 | 0 0.000%)
━ BuybackBurnerTest::test_setPool_emitsUpdateEvent() (gas: 24953 → 24953 | 0 0.000%)
━ BuybackBurnerTest::test_setPool_revertsWithoutGovernanceRole() (gas: 12132 → 12132 | 0 0.000%)
━ BuybackBurnerTest::test_setVault_emitsUpdateEvent() (gas: 24896 → 24896 | 0 0.000%)
━ BuybackBurnerTest::test_setVault_revertsWithoutGovernanceRole() (gas: 12054 → 12054 | 0 0.000%)
━ BuybackBurnerTest::test_unpause_revertsWithoutPauserRole() (gas: 23849 → 23849 | 0 0.000%)
━ CapacityBondTest::test_appealGrant_unlocksClaimBeforeGateExpiry() (gas: 427881 → 427881 | 0 0.000%)
━ CapacityBondTest::test_capacityBand_defaults() (gas: 10622 → 10622 | 0 0.000%)
━ CapacityBondTest::test_capacityBand_floorAlwaysBelowCeiling() (gas: 29363 → 29363 | 0 0.000%)
━ CapacityBondTest::test_claimVestedCredit_movesIntoActiveStake() (gas: 214354 → 214354 | 0 0.000%)
━ CapacityBondTest::test_claimVestedCredit_multiClaimFollowsLinearCurve() (gas: 218936 → 218936 | 0 0.000%)
━ CapacityBondTest::test_claimVestedCredit_multiSlash_gatedByOlderStandingSlash() (gas: 575174 → 575174 | 0 0.000%)
━ CapacityBondTest::test_claimVestedCredit_revertsWhenNoActiveStake() (gas: 144401 → 144401 | 0 0.000%)
━ CapacityBondTest::test_claimVestedCredit_revertsWhenSlashedInWindow() (gas: 435153 → 435153 | 0 0.000%)
━ CapacityBondTest::test_claimVestedCredit_succeedsAfterSlashGateExpires() (gas: 438274 → 438274 | 0 0.000%)
━ CapacityBondTest::test_creditSlash_escrowsThenDistributes5050AtFinality() (gas: 453450 → 453450 | 0 0.000%)
━ CapacityBondTest::test_declareMbps_acceptsFloorAndCeiling() (gas: 47023 → 47023 | 0 0.000%)
━ CapacityBondTest::test_declareMbps_emitsOldAndNewValue() (gas: 50626 → 50626 | 0 0.000%)
━ CapacityBondTest::test_declareMbps_revertsAboveCeiling() (gas: 18039 → 18039 | 0 0.000%)
━ CapacityBondTest::test_declareMbps_revertsBelowFloor() (gas: 17883 → 17883 | 0 0.000%)
━ CapacityBondTest::test_declareMbps_revertsZero() (gas: 17873 → 17873 | 0 0.000%)
━ CapacityBondTest::test_declaredMbps_storesValue() (gas: 42120 → 42120 | 0 0.000%)
━ CapacityBondTest::test_escrowHooks_requireSlashAppealRole() (gas: 17103 → 17103 | 0 0.000%)
━ CapacityBondTest::test_finalizeUnappealedSlash_distributes5050() (gas: 351221 → 351221 | 0 0.000%)
━ CapacityBondTest::test_firstBondedAt_immutableAcrossReBonds() (gas: 111457 → 111457 | 0 0.000%)
━ CapacityBondTest::test_firstBondedAt_setsOnFirstStake() (gas: 102645 → 102645 | 0 0.000%)
━ CapacityBondTest::test_forfeitUnvestedCredit_burnsWhenNoTreasury() (gas: 246115 → 246115 | 0 0.000%)
━ CapacityBondTest::test_forfeitUnvestedCredit_doesNotClawBackVestedUnclaimed() (gas: 281787 → 281787 | 0 0.000%)
━ CapacityBondTest::test_forfeitUnvestedCredit_onUnbond() (gas: 290510 → 290510 | 0 0.000%)
━ CapacityBondTest::test_genesisCredit_fullVestAfterDuration() (gas: 141188 → 141188 | 0 0.000%)
━ CapacityBondTest::test_genesisCredit_grantWithinWindow() (gas: 139033 → 139033 | 0 0.000%)
━ CapacityBondTest::test_genesisCredit_revertsAfterWindow() (gas: 82768 → 82768 | 0 0.000%)
━ CapacityBondTest::test_genesisCredit_vestsLinearly() (gas: 141490 → 141490 | 0 0.000%)
━ CapacityBondTest::test_markAppealOpen_blocksFinalize() (gas: 321821 → 321821 | 0 0.000%)
━ CapacityBondTest::test_pause_revertsWithoutRole() (gas: 14834 → 14834 | 0 0.000%)
━ CapacityBondTest::test_pendingCreditSlash_reducesOriginalGrant() (gas: 429310 → 429310 | 0 0.000%)
━ CapacityBondTest::test_reduceStakeAtTier_activeOnly() (gas: 877 → 877 | 0 0.000%)
━ CapacityBondTest::test_reduceStakeAtTier_remainderClip() (gas: 1103 → 1103 | 0 0.000%)
━ CapacityBondTest::test_reduceStakeAtTier_slashEqualsActive() (gas: 900 → 900 | 0 0.000%)
━ CapacityBondTest::test_reduceStakeAtTier_spillsIntoUnbonding() (gas: 975 → 975 | 0 0.000%)
━ CapacityBondTest::test_reduceStakeAtTier_unbondingOnly() (gas: 994 → 994 | 0 0.000%)
━ CapacityBondTest::test_reduceStakeAtTier_zeroInputs() (gas: 1471 → 1471 | 0 0.000%)
━ CapacityBondTest::test_registerNode_revertsOnInvalidEd25519Sig() (gas: 169192 → 169192 | 0 0.000%)
━ CapacityBondTest::test_registerNode_revertsWhenAlreadyActive() (gas: 376610 → 376610 | 0 0.000%)
━ CapacityBondTest::test_setCapacity_onlyGovernance() (gas: 19701 → 19701 | 0 0.000%)
━ CapacityBondTest::test_setClaimSlashGateEpochs_revertsWithoutRole() (gas: 14890 → 14890 | 0 0.000%)
━ CapacityBondTest::test_setMaxCapacity_acceptsInclusiveBounds() (gas: 24495 → 24495 | 0 0.000%)
━ CapacityBondTest::test_setMaxCapacity_revertsOutOfBounds() (gas: 18439 → 18439 | 0 0.000%)
━ CapacityBondTest::test_setMaxCapacity_updatesBandAndEmits() (gas: 31106 → 31106 | 0 0.000%)
━ CapacityBondTest::test_setMaxMultiaddrSize_revertsWithoutRole() (gas: 14867 → 14867 | 0 0.000%)
━ CapacityBondTest::test_setMinCapacity_acceptsInclusiveBounds() (gas: 24754 → 24754 | 0 0.000%)
━ CapacityBondTest::test_setMinCapacity_revertsOutOfBounds() (gas: 18515 → 18515 | 0 0.000%)
━ CapacityBondTest::test_setMinCapacity_updatesBandAndEmits() (gas: 61985 → 61985 | 0 0.000%)
━ CapacityBondTest::test_setMinStake_revertsWithoutRole() (gas: 14847 → 14847 | 0 0.000%)
━ CapacityBondTest::test_setMultiaddrUpdateCooldown_revertsWithoutRole() (gas: 14866 → 14866 | 0 0.000%)
━ CapacityBondTest::test_setRegionStabilityWindow_revertsWithoutRole() (gas: 14800 → 14800 | 0 0.000%)
━ CapacityBondTest::test_setTreasury_revertsWithoutRole() (gas: 14992 → 14992 | 0 0.000%)
━ CapacityBondTest::test_setUnbondingPeriod_revertsWithoutRole() (gas: 14891 → 14891 | 0 0.000%)
━ CapacityBondTest::test_settleAppealGranted_clearsAndRefunds() (gas: 297619 → 297619 | 0 0.000%)
━ CapacityBondTest::test_settleAppealGranted_multiSlash_recomputesThenClears() (gas: 420168 → 420168 | 0 0.000%)
━ CapacityBondTest::test_settleAppealGranted_reverseMiddleSlash_keepsNewest() (gas: 570195 → 570195 | 0 0.000%)
━ CapacityBondTest::test_settleAppealUpheld_distributes5050() (gas: 343388 → 343388 | 0 0.000%)
━ CapacityBondTest::test_slashHitsVestedAndUnvestedTogether() (gas: 472480 → 472480 | 0 0.000%)
━ CapacityBondTest::test_slashHitsVestedButUnclaimed() (gas: 439903 → 439903 | 0 0.000%)
━ CapacityBondTest::test_slashId_persistsRecord() (gas: 311199 → 311199 | 0 0.000%)
━ CapacityBondTest::test_slash_creditSlash_escalatesAcrossTiers() (gas: 660327 → 660327 | 0 0.000%)
━ CapacityBondTest::test_slash_escrowsWithoutDistribution() (gas: 322356 → 322356 | 0 0.000%)
━ CapacityBondTest::test_slash_stampsSlashedAtEpoch() (gas: 311012 → 311012 | 0 0.000%)
━ CapacityBondTest::test_slash_tier3_mixedStake_exhaustsActiveTapsUnbonding() (gas: 583549 → 583549 | 0 0.000%)
━ CapacityBondTest::test_slash_tierEscalation_15then50pct() (gas: 540745 → 540745 | 0 0.000%)
━ CapacityBondTest::test_slashedAtEpoch_zeroBeforeSlash() (gas: 10158 → 10158 | 0 0.000%)
━ CapacityBondTest::test_unpause_revertsWithoutRole() (gas: 94677 → 94677 | 0 0.000%)
━ CapacityBondTest::test_updateMultiaddrs_revertsWhenNodeNotActive() (gas: 15701 → 15701 | 0 0.000%)
━ CapacityBondTest::test_updateRegion_cooldownAndPrevSnapshot() (gas: 448174 → 448174 | 0 0.000%)
━ CapacityBondTest::test_updateRegion_revertsWhenNodeNotActive() (gas: 15675 → 15675 | 0 0.000%)
━ ContentBlacklistTest::test_addHashGlobal_andQuery() (gas: 38191 → 38191 | 0 0.000%)
━ ContentBlacklistTest::test_addHashGlobal_revertsWithoutGovernanceRole() (gas: 14608 → 14608 | 0 0.000%)
━ ContentBlacklistTest::test_addHashRegional_globalTakesPrecedence() (gas: 41980 → 41980 | 0 0.000%)
━ ContentBlacklistTest::test_addHashRegional_revertsWithoutRegionalBodyRole() (gas: 14684 → 14684 | 0 0.000%)
━ ContentBlacklistTest::test_addOperator_callsEjectOnCapacityBond() (gas: 91570 → 91570 | 0 0.000%)
━ ContentBlacklistTest::test_fullAppealFlow_ratifyRemovesHash() (gas: 275665 → 275665 | 0 0.000%)
━ ContentBlacklistTest::test_hasActiveAppeal_clearedOnLapseOpen() (gas: 242221 → 242221 | 0 0.000%)
━ ContentBlacklistTest::test_hasActiveAppeal_clearedOnReject() (gas: 433926 → 433926 | 0 0.000%)
━ ContentBlacklistTest::test_hasActiveAppeal_clearedOnReverse() (gas: 254985 → 254985 | 0 0.000%)
━ ContentBlacklistTest::test_openBlacklistAppeal_revertsDuplicatePerHash() (gas: 356697 → 356697 | 0 0.000%)
━ ContentBlacklistTest::test_openBlacklistAppeal_revertsOnEntryNotBlacklisted() (gas: 18635 → 18635 | 0 0.000%)
━ ContentBlacklistTest::test_openBlacklistAppeal_revertsOnZeroRegion() (gas: 16243 → 16243 | 0 0.000%)
━ ContentBlacklistTest::test_regionalCap_blocksMoreThanThreeActiveAppeals() (gas: 706667 → 706667 | 0 0.000%)
━ ContentBlacklistTest::test_registerRegionalBody_revertsWithoutGovernanceRole() (gas: 14830 → 14830 | 0 0.000%)
━ ContentBlacklistTest::test_rejectAppeal_burnsBond() (gas: 247882 → 247882 | 0 0.000%)
━ ContentBlacklistTest::test_removeHashRegional_blocksGlobalRegionEntries() (gas: 44419 → 44419 | 0 0.000%)
━ ContentBlacklistTest::test_reverseAppeal_clearsSuspendedAndBurnsBond() (gas: 261664 → 261664 | 0 0.000%)
━ ContentBlacklistTest::test_setAppealBond_revertsWithoutGovernanceRole() (gas: 14754 → 14754 | 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: 24645580 → 24645580 | 0 0.000%)
━ DeployProtocolTest::test_assertNoBackDoors_revertsWhenTimelockMissingRole() (gas: 94428 → 94428 | 0 0.000%)
━ DeployProtocolTest::test_crossContractWiring_capacityBondPeerRoles() (gas: 23444 → 23444 | 0 0.000%)
━ DeployProtocolTest::test_crossContractWiring_genesisGrantorIsTimelock() (gas: 17033 → 17033 | 0 0.000%)
━ DeployProtocolTest::test_crossContractWiring_newContractPeerRoles() (gas: 31446 → 31446 | 0 0.000%)
━ DeployProtocolTest::test_crossContractWiring_slashAppealChallengerPool() (gas: 9920 → 9920 | 0 0.000%)
━ DeployProtocolTest::test_deployTargets_revertsOnZeroChallengerIncentivePool() (gas: 2025645 → 2025645 | 0 0.000%)
━ DeployProtocolTest::test_deployTargets_revertsOnZeroDeployer() (gas: 580314 → 580314 | 0 0.000%)
━ DeployProtocolTest::test_deployTargets_revertsOnZeroEd25519Verifier() (gas: 2025513 → 2025513 | 0 0.000%)
━ DeployProtocolTest::test_deployTargets_revertsOnZeroEmergencyMultisig() (gas: 2025557 → 2025557 | 0 0.000%)
━ DeployProtocolTest::test_deployTargets_revertsOnZeroInitialTokenHolder() (gas: 2025645 → 2025645 | 0 0.000%)
━ DeployProtocolTest::test_deployTargets_revertsOnZeroUsdc() (gas: 2025451 → 2025451 | 0 0.000%)
━ DeployProtocolTest::test_emergencyMultisig_canPauseAndBlockEntrypoint() (gas: 48566 → 48566 | 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: 8743 → 8743 | 0 0.000%)
━ DeployProtocolTest::test_governor_timelockBinding() (gas: 25888 → 25888 | 0 0.000%)
━ DeployProtocolTest::test_roleMatrix_deployerHoldsNoRoleAnywhere() (gas: 66904 → 66904 | 0 0.000%)
━ DeployProtocolTest::test_roleMatrix_emergencyMultisigGrants() (gas: 19503 → 19503 | 0 0.000%)
━ DeployProtocolTest::test_roleMatrix_pauserIsEmergencyMultisig() (gas: 45658 → 45658 | 0 0.000%)
━ DeployProtocolTest::test_roleMatrix_timelockHoldsDefaultAdminOnEveryTarget() (gas: 41825 → 41825 | 0 0.000%)
━ DeployProtocolTest::test_roleMatrix_timelockHoldsGovernanceOnEveryTarget() (gas: 41953 → 41953 | 0 0.000%)
━ DeployProtocolTest::test_token_initialHolderHoldsFullSupply() (gas: 13803 → 13803 | 0 0.000%)
━ DeployProtocolScriptTest::test_readConfig_appliesDefaultsForOptionalVars() (gas: 17786 → 17786 | 0 0.000%)
━ DeployProtocolScriptTest::test_readConfig_deployerIsTxOrigin() (gas: 15801 → 15801 | 0 0.000%)
━ DeployProtocolScriptTest::test_run_abortsBeforeBroadcastWhenManifestExists() (gas: 22040 → 22040 | 0 0.000%)
━ DeployProtocolScriptTest::test_run_revertsIfDeployerIsForgeDefaultSender() (gas: 15305 → 15305 | 0 0.000%)
━ DeployProtocolScriptTest::test_writeManifest_overwritesWhenForced() (gas: 110634 → 110634 | 0 0.000%)
━ DeployProtocolScriptTest::test_writeManifest_revertsOnExistingFile() (gas: 32033 → 32033 | 0 0.000%)
━ DeployProtocolScriptTest::test_writeManifest_writesAllAddresses() (gas: 92307 → 92307 | 0 0.000%)
━ E2EProtocolTest::test_deployWiring_newContractsWiredAndHandedOff() (gas: 66883 → 66883 | 0 0.000%)
━ E2EProtocolTest::test_e2e_blacklistEjectsOperator() (gas: 408321 → 408321 | 0 0.000%)
━ E2EProtocolTest::test_e2e_registerSettleSlashEjectAppeal() (gas: 1450834 → 1450834 | 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_sumsTrailingWindow() (gas: 497291 → 497291 | 0 0.000%)
━ FeeRouterTest::test_bytesInWindow_zeroWindowReturnsZero() (gas: 9326 → 9326 | 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: 141838 → 141838 | 0 0.000%)
━ FeeRouterTest::test_routeSettlement_incrementsBytesPerEpoch() (gas: 221457 → 221457 | 0 0.000%)
━ FeeRouterTest::test_routeSettlement_revertsWithoutRouterRole() (gas: 89208 → 89208 | 0 0.000%)
━ FeeRouterTest::test_setBuybackBurner_revertsWithoutRole() (gas: 14720 → 14720 | 0 0.000%)
━ FeeRouterTest::test_setSharesAndDestinations_revertsWithoutRole() (gas: 19569 → 19569 | 0 0.000%)
━ FeeRouterTest::test_setShares_rejectsNonZeroShareWithoutDestination() (gas: 16239 → 16239 | 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: 14696 → 14696 | 0 0.000%)
━ FeeRouterTest::test_setWindowEpochs_enforcesBounds() (gas: 32780 → 32780 | 0 0.000%)
━ FeeRouterTest::test_setWindowEpochs_revertsWithoutRole() (gas: 14688 → 14688 | 0 0.000%)
━ FeeRouterTest::test_unpause_revertsWithoutRole() (gas: 72166 → 72166 | 0 0.000%)
━ GovernanceLifecycleTest::test_canary_executorIsTimelock() (gas: 9969 → 9969 | 0 0.000%)
━ GovernanceLifecycleTest::test_canary_governanceRoleHandoff() (gas: 99038 → 99038 | 0 0.000%)
━ GovernanceLifecycleTest::test_canary_governorVoteWeightWired() (gas: 129803 → 129803 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_CapacityBond_setClaimSlashGateEpochs_happy() (gas: 589024 → 589024 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_CapacityBond_setClaimSlashGateEpochs_outOfBounds() (gas: 594739 → 594739 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_CapacityBond_setMaxCapacityMbps_happy() (gas: 588790 → 588790 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_CapacityBond_setMaxCapacityMbps_outOfBounds() (gas: 594694 → 594694 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_CapacityBond_setMaxMultiaddrSize_happy() (gas: 588656 → 588656 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_CapacityBond_setMaxMultiaddrSize_outOfBounds() (gas: 594631 → 594631 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_CapacityBond_setMinCapacityMbps_happy() (gas: 588875 → 588875 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_CapacityBond_setMinCapacityMbps_outOfBounds() (gas: 594672 → 594672 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_CapacityBond_setMinStake_happy() (gas: 588815 → 588815 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_CapacityBond_setMinStake_outOfBounds() (gas: 594651 → 594651 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_CapacityBond_setMultiaddrUpdateCooldown_happy() (gas: 605929 → 605929 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_CapacityBond_setMultiaddrUpdateCooldown_outOfBounds() (gas: 594602 → 594602 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_CapacityBond_setRegionStabilityWindow_happy() (gas: 588658 → 588658 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_CapacityBond_setRegionStabilityWindow_outOfBounds() (gas: 594585 → 594585 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_CapacityBond_setTreasury_happy() (gas: 606313 → 606313 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_CapacityBond_setUnbondingPeriod_happy() (gas: 588783 → 588783 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_CapacityBond_setUnbondingPeriod_outOfBounds() (gas: 594656 → 594656 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_ContentBlacklist_addHashGlobal_happy() (gas: 609179 → 609179 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_ContentBlacklist_addHashGlobal_outOfBounds() (gas: 596766 → 596766 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_ContentBlacklist_addOperator_happy() (gas: 637832 → 637832 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_ContentBlacklist_addOperator_outOfBounds() (gas: 596903 → 596903 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_ContentBlacklist_registerRegionalBody_happy() (gas: 610686 → 610686 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_ContentBlacklist_removeHashGlobal_happy() (gas: 994015 → 994015 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_ContentBlacklist_removeHashGlobal_outOfBounds() (gas: 599314 → 599314 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_ContentBlacklist_removeOperator_happy() (gas: 1022403 → 1022403 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_ContentBlacklist_setAppealBond_happy() (gas: 591255 → 591255 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_ContentBlacklist_setAppealBond_outOfBounds() (gas: 597087 → 597087 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_ContentBlacklist_setOriginBlacklist_happy() (gas: 609820 → 609820 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_ContentBlacklist_setOriginBlacklist_outOfBounds() (gas: 597675 → 597675 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_DecdnGovernor_setAgeRampMonths_happy() (gas: 630590 → 630590 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_DecdnGovernor_setAgeRampMonths_outOfBounds() (gas: 636308 → 636308 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_DecdnGovernor_setVoteCapBps_happy() (gas: 630597 → 630597 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_DecdnGovernor_setVoteCapBps_outOfBounds() (gas: 636350 → 636350 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_FeeRouter_setBuybackBurner_happy() (gas: 589149 → 589149 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_FeeRouter_setBuybackBurner_outOfBounds() (gas: 596678 → 596678 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_FeeRouter_setSharesAndDestinations_happy() (gas: 622083 → 622083 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_FeeRouter_setSharesAndDestinations_outOfBounds() (gas: 597774 → 597774 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_FeeRouter_setShares_happy() (gas: 608228 → 608228 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_FeeRouter_setShares_outOfBounds() (gas: 596571 → 596571 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_FeeRouter_setTreasury_happy() (gas: 589175 → 589175 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_FeeRouter_setTreasury_outOfBounds() (gas: 594423 → 594423 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_FeeRouter_setWindowEpochs_happy() (gas: 610919 → 610919 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_FeeRouter_setWindowEpochs_outOfBounds() (gas: 596947 → 596947 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_PublisherRegistry_setMaxNamespacesPerPublisher_happy() (gas: 591482 → 591482 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_PublisherRegistry_setMaxNamespacesPerPublisher_outOfBounds() (gas: 597082 → 597082 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_PublisherRegistry_setNamespaceTransferTimelock_happy() (gas: 591398 → 591398 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_PublisherRegistry_setNamespaceTransferTimelock_outOfBounds() (gas: 597124 → 597124 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_SlashAppeal_setAppealBond_happy() (gas: 591217 → 591217 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_SlashAppeal_setAppealBond_outOfBounds() (gas: 597084 → 597084 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_SlashAppeal_setChallengerIncentivePool_happy() (gas: 591633 → 591633 | 0 0.000%)
━ GovernanceLifecycleTest::test_lifecycle_SlashAppeal_setChallengerIncentivePool_outOfBounds() (gas: 596913 → 596913 | 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: 2045181 → 2045181 | 0 0.000%)
━ OriginAssignmentTest::test_activate_onlyGovernance() (gas: 140563 → 140563 | 0 0.000%)
━ OriginAssignmentTest::test_activate_replacesPreviousSet() (gas: 344888 → 344888 | 0 0.000%)
━ OriginAssignmentTest::test_activate_revertsBeforeTimelock() (gas: 140524 → 140524 | 0 0.000%)
━ OriginAssignmentTest::test_activate_revertsNoPending() (gas: 20987 → 20987 | 0 0.000%)
━ OriginAssignmentTest::test_activate_revertsOperatorBlacklisted() (gas: 173723 → 173723 | 0 0.000%)
━ OriginAssignmentTest::test_activate_revertsOperatorWentInactive() (gas: 152943 → 152943 | 0 0.000%)
━ OriginAssignmentTest::test_activate_setsAuthorizedSet() (gas: 220067 → 220067 | 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: 21147 → 21147 | 0 0.000%)
━ OriginAssignmentTest::test_defaultOpen_revertsInactive() (gas: 27910 → 27910 | 0 0.000%)
━ OriginAssignmentTest::test_defaultOpen_setAllowlist() (gas: 172086 → 172086 | 0 0.000%)
━ OriginAssignmentTest::test_propose_overwriteReplacesPending() (gas: 128820 → 128820 | 0 0.000%)
━ OriginAssignmentTest::test_propose_revertsDuplicate() (gas: 34896 → 34896 | 0 0.000%)
━ OriginAssignmentTest::test_propose_revertsEmpty() (gas: 21925 → 21925 | 0 0.000%)
━ OriginAssignmentTest::test_propose_revertsInactiveOperator() (gas: 39819 → 39819 | 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: 243079 → 243079 | 0 0.000%)
━ OriginAssignmentTest::test_prune_revertsWhenBlacklistUnset() (gas: 1862769 → 1862769 | 0 0.000%)
━ OriginAssignmentTest::test_prune_revertsWhenNotBlacklisted() (gas: 220747 → 220747 | 0 0.000%)
━ OriginAssignmentTest::test_revoke_byPublisherAndGovernance() (gas: 232436 → 232436 | 0 0.000%)
━ OriginAssignmentTest::test_revoke_revertsNonMember() (gas: 23619 → 23619 | 0 0.000%)
━ OriginAssignmentTest::test_setAssignmentTimelock_enforcesBounds() (gas: 24737 → 24737 | 0 0.000%)
━ OriginAssignmentTest::test_setContentBlacklist_rejectsZero() (gas: 13451 → 13451 | 0 0.000%)
━ OriginAssignmentTest::test_setMaxOrigins_enforcesBounds() (gas: 13857 → 13857 | 0 0.000%)
━ PaymentChannelTest::testFuzz_settle_refundEqualsDepositMinusClaimed(uint256,uint256) (gas: 410648 → 410648 | 0 0.000%)
━ PaymentChannelTest::testFuzz_withdrawThenSettle_partitionsClaim(uint256,uint256,uint256,uint256) (gas: 546319 → 546319 | 0 0.000%)
━ PaymentChannelTest::test_close_afterWithdraw_settleRoutesRemainderOnly() (gas: 538591 → 538591 | 0 0.000%)
━ PaymentChannelTest::test_close_atWatermarkNonce_succeeds() (gas: 471986 → 471986 | 0 0.000%)
━ PaymentChannelTest::test_close_revertsAfterExpiry() (gas: 209040 → 209040 | 0 0.000%)
━ PaymentChannelTest::test_close_revertsOnAmountExceedingDeposit() (gas: 221040 → 221040 | 0 0.000%)
━ PaymentChannelTest::test_close_revertsOnByteOnlyAdvance() (gas: 464920 → 464920 | 0 0.000%)
━ PaymentChannelTest::test_close_then_settle_routesAndRefunds() (gas: 420622 → 420622 | 0 0.000%)
━ PaymentChannelTest::test_close_thirdPartyCannotClose() (gas: 210915 → 210915 | 0 0.000%)
━ PaymentChannelTest::test_constructor_revertsOnDisputeWindowOutOfBounds() (gas: 76787 → 76787 | 0 0.000%)
━ PaymentChannelTest::test_constructor_revertsOnEoaFeeRouter() (gas: 76787 → 76787 | 0 0.000%)
━ PaymentChannelTest::test_constructor_revertsOnZeroAdmin() (gas: 71702 → 71702 | 0 0.000%)
━ PaymentChannelTest::test_dispute_higherNonceWins() (gas: 307630 → 307630 | 0 0.000%)
━ PaymentChannelTest::test_dispute_revertsAfterDeadline() (gas: 295195 → 295195 | 0 0.000%)
━ PaymentChannelTest::test_dispute_revertsOnAmountExceedingDeposit() (gas: 303144 → 303144 | 0 0.000%)
━ PaymentChannelTest::test_dispute_revertsOnAmountRegression() (gas: 302754 → 302754 | 0 0.000%)
━ PaymentChannelTest::test_dispute_revertsOnByteOnlyAdvance() (gas: 483308 → 483308 | 0 0.000%)
━ PaymentChannelTest::test_dispute_revertsOnBytesRegression() (gas: 302891 → 302891 | 0 0.000%)
━ PaymentChannelTest::test_dispute_revertsOnStaleNonce() (gas: 300180 → 300180 | 0 0.000%)
━ PaymentChannelTest::test_forcedInclusion_doesNotExtendTwice() (gas: 2756694 → 2756694 | 0 0.000%)
━ PaymentChannelTest::test_forcedInclusion_extendsDeadlineOnce() (gas: 2734132 → 2734132 | 0 0.000%)
━ PaymentChannelTest::test_forcedInclusion_noExtendWhenAmpleTimeRemains() (gas: 2742648 → 2742648 | 0 0.000%)
━ PaymentChannelTest::test_getRateBounds_returnsConfigured() (gas: 9890 → 9890 | 0 0.000%)
━ PaymentChannelTest::test_normalDispute_doesNotExtend() (gas: 317503 → 317503 | 0 0.000%)
━ PaymentChannelTest::test_openChannel_derivesIdAndIncrementsNonce() (gas: 219442 → 219442 | 0 0.000%)
━ PaymentChannelTest::test_openChannel_distinctIdsAcrossProviders() (gas: 347252 → 347252 | 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: 659037 → 659037 | 0 0.000%)
━ PaymentChannelTest::test_reclaimExpired_refundsRemainderToClient() (gas: 446830 → 446830 | 0 0.000%)
━ PaymentChannelTest::test_reclaimExpired_revertsBeforeExpiry() (gas: 204176 → 204176 | 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: 284490 → 284490 | 0 0.000%)
━ PaymentChannelTest::test_setters_onlyGovernance() (gas: 13976 → 13976 | 0 0.000%)
━ PaymentChannelTest::test_settle_amountEqualsDeposit_zeroRefund() (gas: 405432 → 405432 | 0 0.000%)
━ PaymentChannelTest::test_settle_fullyWithdrawn_noRouterCall() (gas: 467688 → 467688 | 0 0.000%)
━ PaymentChannelTest::test_settle_revertsBeforeDisputeDeadline() (gas: 292432 → 292432 | 0 0.000%)
━ PaymentChannelTest::test_topUp_increasesDeposit() (gas: 222520 → 222520 | 0 0.000%)
━ PaymentChannelTest::test_topUp_onlyClient() (gas: 204390 → 204390 | 0 0.000%)
━ PaymentChannelTest::test_voucher_rejectedOnWrongChannelId() (gas: 335707 → 335707 | 0 0.000%)
━ PaymentChannelTest::test_withdraw_acceptsErc1271Signature() (gas: 711964 → 711964 | 0 0.000%)
━ PaymentChannelTest::test_withdraw_onlyProvider() (gas: 208846 → 208846 | 0 0.000%)
━ PaymentChannelTest::test_withdraw_revertsOnAmountExceedingDeposit() (gas: 220800 → 220800 | 0 0.000%)
━ PaymentChannelTest::test_withdraw_revertsOnBadSignature() (gas: 213634 → 213634 | 0 0.000%)
━ PaymentChannelTest::test_withdraw_revertsOnBytesRegression() (gas: 463839 → 463839 | 0 0.000%)
━ PaymentChannelTest::test_withdraw_revertsOnNonMonotonicNonce() (gas: 463515 → 463515 | 0 0.000%)
━ PaymentChannelTest::test_withdraw_revertsWhenDeltaZero() (gas: 464290 → 464290 | 0 0.000%)
━ PaymentChannelTest::test_withdraw_routesDeltaAndAdvancesWatermark() (gas: 460090 → 460090 | 0 0.000%)
━ PaymentChannelTest::test_withdraw_secondWithdrawRoutesOnlyIncrement() (gas: 546054 → 546054 | 0 0.000%)
━ PaymentChannelTest::test_zeroVoucherClose_disabledAfterWithdraw() (gas: 457488 → 457488 | 0 0.000%)
━ PaymentChannelTest::test_zeroVoucherClose_refundsFullDeposit() (gas: 216232 → 216232 | 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%)
━ SlashAppealTest::test_cleanup_fastTrackedLapse_grantsOperatorFavorable() (gas: 450654 → 450654 | 0 0.000%)
━ SlashAppealTest::test_cleanup_openLapse_upholds() (gas: 468768 → 468768 | 0 0.000%)
━ SlashAppealTest::test_fastTrack_requiresMultisig() (gas: 480131 → 480131 | 0 0.000%)
━ SlashAppealTest::test_frequencyCap_blocksSecondAppealWithinWindow() (gas: 601526 → 601526 | 0 0.000%)
━ SlashAppealTest::test_grant_newerAppeal_fallsBackToOlderStandingSlash() (gas: 596876 → 596876 | 0 0.000%)
━ SlashAppealTest::test_grant_olderAppeal_preservesNewerSlashZeroOut() (gas: 596208 → 596208 | 0 0.000%)
━ SlashAppealTest::test_grant_refundsOperatorAndBondAndClearsZeroOut() (gas: 457476 → 457476 | 0 0.000%)
━ SlashAppealTest::test_grant_requiresGovernance() (gas: 490803 → 490803 | 0 0.000%)
━ SlashAppealTest::test_grant_restoresCreditVestingNotLiquid() (gas: 570721 → 570721 | 0 0.000%)
━ SlashAppealTest::test_grant_revertsIfNotFastTracked() (gas: 482511 → 482511 | 0 0.000%)
━ SlashAppealTest::test_open_locksEscrowAndPullsBond() (gas: 486510 → 486510 | 0 0.000%)
━ SlashAppealTest::test_open_revertsAfterFilingWindow() (gas: 477360 → 477360 | 0 0.000%)
━ SlashAppealTest::test_open_revertsForNonOperator() (gas: 491146 → 491146 | 0 0.000%)
━ SlashAppealTest::test_open_revertsOnDoubleAppeal() (gas: 482314 → 482314 | 0 0.000%)
━ SlashAppealTest::test_open_revertsUnknownSlash() (gas: 23798 → 23798 | 0 0.000%)
━ SlashAppealTest::test_pause_extendsFilingWindow() (gas: 403337 → 403337 | 0 0.000%)
━ SlashAppealTest::test_reject_burnsBondAndDistributesEscrow() (gas: 473267 → 473267 | 0 0.000%)
━ SlashAppealTest::test_uphold_distributesEscrowAndSplitsBond() (gas: 509708 → 509708 | 0 0.000%)
━ SlashAppealTest::test_uphold_poolUnset_burnsFullBond() (gas: 2169616 → 2169616 | 0 0.000%)
━ SlashJudgeTest::test_blacklist_revertsOnHashMismatch() (gas: 68210 → 68210 | 0 0.000%)
━ SlashJudgeTest::test_blacklist_revertsWhenBlacklistedAfterResponse() (gas: 72559 → 72559 | 0 0.000%)
━ SlashJudgeTest::test_blacklist_revertsWhenNotBlacklisted() (gas: 48632 → 48632 | 0 0.000%)
━ SlashJudgeTest::test_blacklist_revertsWhenSuspended() (gas: 72096 → 72096 | 0 0.000%)
━ SlashJudgeTest::test_blacklist_slashesOnProbeResponse() (gas: 189538 → 189538 | 0 0.000%)
━ SlashJudgeTest::test_blacklist_slashesOnStreamResponse() (gas: 190270 → 190270 | 0 0.000%)
━ SlashJudgeTest::test_constructor_revertsWhenEvidenceAgeExceedsUnbonding() (gas: 366864 → 366864 | 0 0.000%)
━ SlashJudgeTest::test_pause_blocksChallenges() (gas: 58348 → 58348 | 0 0.000%)
━ SlashJudgeTest::test_phantom_revertsOnBadProbeSignature() (gas: 46691 → 46691 | 0 0.000%)
━ SlashJudgeTest::test_phantom_revertsOnEvidenceReplay() (gas: 199102 → 199102 | 0 0.000%)
━ SlashJudgeTest::test_phantom_revertsOnFutureEvidence() (gas: 47528 → 47528 | 0 0.000%)
━ SlashJudgeTest::test_phantom_revertsOnNodeIdMismatch() (gas: 37805 → 37805 | 0 0.000%)
━ SlashJudgeTest::test_phantom_revertsOnStaleEvidence() (gas: 49909 → 49909 | 0 0.000%)
━ SlashJudgeTest::test_phantom_revertsOnUnregisteredNode() (gas: 39027 → 39027 | 0 0.000%)
━ SlashJudgeTest::test_phantom_revertsOutsideTimestampWindow() (gas: 49624 → 49624 | 0 0.000%)
━ SlashJudgeTest::test_phantom_revertsWhenStreamOk() (gas: 53546 → 53546 | 0 0.000%)
━ SlashJudgeTest::test_phantom_slashesAndRoundTripsBond() (gas: 179547 → 179547 | 0 0.000%)
━ SlashJudgeTest::test_rate_revertsWhenNotHigher() (gas: 53581 → 53581 | 0 0.000%)
━ SlashJudgeTest::test_rate_slashesWhenStreamRateHigher() (gas: 172123 → 172123 | 0 0.000%)
━ SlashJudgeTest::test_setChallengeBond_enforcesBounds() (gas: 24689 → 24689 | 0 0.000%)
━ SlashJudgeTest::test_setMaxEvidenceAge_enforcesBoundsAndInvariant() (gas: 40199 → 40199 | 0 0.000%)
━ SlashJudgeTest::test_setters_onlyGovernance() (gas: 13759 → 13759 | 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%)
↓ PublisherRegistryTest::testFuzz_createNamespace_idsAreSequentialAndOwned(uint8) (gas: 441404 → 399321 | -42083 -9.534%)

--------------------------------------------------------------------------------
Total tests: 440, ↑ 0, ↓ 1, ━ 439
Overall gas change: -42083 (-0.026%)

Run: 26759839277

@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown

Contracts coverage

Line coverage: 87.49% (1693/1935 lines)
▼ -0.18pp vs base (87.67% → 87.49%)
Run: 26759839277

@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown

Coverage report

Total: 87.79% (was 87.79%, ● 0.00%) — 24331/27715 lines

No coverage data for changed Rust files.

History
Commit Total Δ vs base
5b6295c (HEAD) 87.79% ● 0.00%

@thiras
thiras merged commit 8c5a2aa into main Jun 1, 2026
21 checks passed
@thiras
thiras deleted the test/745-anvil-settlement-e2e branch June 1, 2026 14:12
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.

test(node): anvil e2e harness for on-chain PaymentChannel settlement

3 participants