Skip to content

chore(deps-dev): bump mermaid from 11.15.0 to 11.16.1 in /rayls-contracts in the npm_and_yarn group across 1 directory - #104

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/rayls-contracts/npm_and_yarn-e65f35aede
Open

chore(deps-dev): bump mermaid from 11.15.0 to 11.16.1 in /rayls-contracts in the npm_and_yarn group across 1 directory#104
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/rayls-contracts/npm_and_yarn-e65f35aede

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 8, 2026

Copy link
Copy Markdown
Contributor

Bumps the npm_and_yarn group with 1 update in the /rayls-contracts directory: mermaid.

Updates mermaid from 11.15.0 to 11.16.1

Release notes

Sourced from mermaid's releases.

mermaid@11.16.1

Patch Changes

  • #8022 12d472c Thanks @​aloisklink! - fix: handle CSS sibling combinators in compileCSS

  • #8022 2cd6dcf Thanks @​aloisklink! - fix: increase protections against prototype pollution

    User-controlled input already has protections against prototype pollution.

    Fixes: GHSA-c4c3-pg64-4m4v

  • #8022 99af3fc Thanks @​aloisklink! - fix(architecture): use Maps and Sets to store groups/services

    Services are now rendered in the order they are defined and more service IDs are now supported.

  • #8022 2cd6dcf Thanks @​aloisklink! - deprecate: Deprecate the mermaidAPI.setConfig() function

    Calling this function has no observable effect, as the next time a render() or parse() is called, the currentConfig is cleared.

  • #8022 630aa7e Thanks @​aloisklink! - fix(xychart): support zero-width x-axis ranges

  • #8022 59b22fa Thanks @​aloisklink! - fix(radar): limit number of ticks to 32

    Setting a ticks value higher than this would only show 32 ticks.

mermaid@11.16.0

Minor Changes

  • #7535 ea1c48f Thanks @​ragelink! - feat(cynefin): Adds the Cynefin framework as a new diagram type (beta) to Mermaid (available as cynefin-beta). The Cynefin framework, created by Dave Snowden, is a decision-making framework that categorizes problems into five complexity domains, widely used in agile, incident management, strategy, and organizational design.

  • #7721 f45cc2c Thanks @​notionparallax! - feat(treeView): add box-drawing character input support for treeView diagrams

  • #7550 f1f4d45 Thanks @​DominicBurkart! - feat(xychart): add per-point text labels for xychart line plots

  • #7527 b4d0442 Thanks @​notionparallax! - feat(treeView): Extends the existing treeView-beta diagram with features useful for representing file/directory structures.

  • #7793 a6f097d Thanks @​SSDWGG! - feat(er): support optional ER attribute types with a ? suffix

  • #7772 37f2e36 Thanks @​devareddy05! - feat(gantt): support multiple excludes / includes lines so long exclusion lists can be split into commented groups (#6270)

  • #7708 4e63e9d Thanks @​txmxthy! - feat(architecture): add align row|column {ids…} directive to architecture-beta diagrams so authors can declare horizontal or vertical alignment of services explicitly.

  • #7760 05223be Thanks @​ngdaniels! - feat(pie): Enhance Pie Chart - Enable donut chart, Set legend position, and highlight slice

  • #7251 216e4e9 Thanks @​ydah! - feat(railroad): Add support for Railroad Diagrams (Syntax Diagrams) with four input syntaxes: IR (railroad-beta), EBNF (railroad-ebnf-beta), ABNF (railroad-abnf-beta), and PEG (railroad-peg-beta).

  • #7774 e5c75e6 Thanks @​ngdaniels! - feat(xychart): enable rotate label on X-axis

... (truncated)

Commits
  • 7ecca0c Version Packages (#8023)
  • 95b1b9c docs: change mermaidAPI.setConfig() changeset (#8024)
  • acc69f1 Merge pull request #8022 from mermaid-js/release/11.16.1
  • eba7287 docs: point changesets to correct commit hashes
  • 12d472c Merge commit from fork
  • 2cd6dcf Merge commit from fork
  • 630aa7e Merge commit from fork
  • 59b22fa Merge commit from fork
  • 99af3fc Merge commit from fork
  • 2337f7e Merge branch 'test/improve-example.html' into release/11.16.1
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps the npm_and_yarn group with 1 update in the /rayls-contracts directory: [mermaid](https://github.com/mermaid-js/mermaid).


Updates `mermaid` from 11.15.0 to 11.16.1
- [Release notes](https://github.com/mermaid-js/mermaid/releases)
- [Commits](https://github.com/mermaid-js/mermaid/compare/mermaid@11.15.0...mermaid@11.16.1)

---
updated-dependencies:
- dependency-name: mermaid
  dependency-version: 11.16.1
  dependency-type: direct:development
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 8, 2026
@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Security Scan - Code

Severity: HIGH, CRITICAL

Vulnerabilities found:

View scan results

Report Summary

┌─────────────────────────────────────────────┬────────────┬─────────────────┬───────────────────┐
│                   Target                    │    Type    │ Vulnerabilities │ Misconfigurations │
├─────────────────────────────────────────────┼────────────┼─────────────────┼───────────────────┤
│ Cargo.lock                                  │   cargo    │        0        │         -         │
├─────────────────────────────────────────────┼────────────┼─────────────────┼───────────────────┤
│ crates/testing/fuzz-targets/Cargo.lock      │   cargo    │        0        │         -         │
├─────────────────────────────────────────────┼────────────┼─────────────────┼───────────────────┤
│ crates/testing/fuzz-targets/fuzz/Cargo.lock │   cargo    │        0        │         -         │
├─────────────────────────────────────────────┼────────────┼─────────────────┼───────────────────┤
│ etc/state-sum/Cargo.lock                    │   cargo    │        0        │         -         │
├─────────────────────────────────────────────┼────────────┼─────────────────┼───────────────────┤
│ etc/tps/package-lock.json                   │    npm     │        0        │         -         │
├─────────────────────────────────────────────┼────────────┼─────────────────┼───────────────────┤
│ rayls-contracts/package-lock.json           │    npm     │        1        │         -         │
├─────────────────────────────────────────────┼────────────┼─────────────────┼───────────────────┤
│ etc/chaos-network/Dockerfile                │ dockerfile │        -        │         0         │
├─────────────────────────────────────────────┼────────────┼─────────────────┼───────────────────┤
│ etc/docker-network/Dockerfile               │ dockerfile │        -        │         0         │
├─────────────────────────────────────────────┼────────────┼─────────────────┼───────────────────┤
│ etc/docker-replay/Dockerfile                │ dockerfile │        -        │         0         │
└─────────────────────────────────────────────┴────────────┴─────────────────┴───────────────────┘
Legend:
- '-': Not scanned
- '0': Clean (no security findings detected)


For OSS Maintainers: VEX Notice
--------------------------------
If you're an OSS maintainer and Trivy has detected vulnerabilities in your project that you believe are not actually exploitable, consider issuing a VEX (Vulnerability Exploitability eXchange) statement.
VEX allows you to communicate the actual status of vulnerabilities in your project, improving security transparency and reducing false positives for your users.
Learn more and start using VEX: https://trivy.dev/docs/v0.70/guide/supply-chain/vex/repo#publishing-vex-documents

To disable this notice, set the TRIVY_DISABLE_VEX_NOTICE environment variable.


rayls-contracts/package-lock.json (npm)
=======================================
Total: 1 (HIGH: 1, CRITICAL: 0)

┌─────────┬─────────────────────┬──────────┬────────┬───────────────────┬───────────────┬──────────────────────────────────────────────────────────────┐
│ Library │    Vulnerability    │ Severity │ Status │ Installed Version │ Fixed Version │                            Title                             │
├─────────┼─────────────────────┼──────────┼────────┼───────────────────┼───────────────┼──────────────────────────────────────────────────────────────┤
│ js-yaml │ GHSA-5p4m-2wfm-xmqj │ HIGH     │ fixed  │ 4.3.0             │ 4.3.1, 3.15.1 │ JS-YAML: Quadratic CPU consumption in !!omap resolution (3.x │
│         │                     │          │        │                   │               │ and 4.x) — CVE-2026-59870...                                 │
│         │                     │          │        │                   │               │ https://github.com/advisories/GHSA-5p4m-2wfm-xmqj            │
└─────────┴─────────────────────┴──────────┴────────┴───────────────────┴───────────────┴──────────────────────────────────────────────────────────────┘

@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Contracts Tests (Foundry)

Package: rayls-contracts

Tests failed

View forge test results
Compiling 112 files with Solc 0.8.26
Solc 0.8.26 finished in 16.81s
Compiler run successful with warnings:
Warning (2072): Unused local variable.
    --> test/consensus/DelegationPoolTest.t.sol:1121:9:
     |
1121 |         uint256 poolBalanceBefore = rls.balanceOf(address(pool));
     |         ^^^^^^^^^^^^^^^^^^^^^^^^^

Warning (2072): Unused local variable.
   --> test/fees/FeeAggregatorTest.t.sol:922:9:
    |
922 |         uint256 rls2 = _swapToRls(amount2);
    |         ^^^^^^^^^^^^

Warning (2072): Unused local variable.
   --> test/fees/RewardDistributorTest.t.sol:538:9:
    |
538 |         uint256 expectedTarget = (totalStaked * 5000 * 86400) / (365 days * 10_000);
    |         ^^^^^^^^^^^^^^^^^^^^^^

Warning (2018): Function state mutability can be restricted to pure
  --> test/consensus/DelegationPoolExtendedTest.t.sol:74:5:
   |
74 |     function getValidators(uint8) external view returns (IConsensusRegistry.ValidatorInfo[] memory) {
   |     ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to pure
  --> test/consensus/DelegationPoolTest.t.sol:75:5:
   |
75 |     function getValidators(uint8) external view returns (IConsensusRegistry.ValidatorInfo[] memory) {
   |     ^ (Relevant source part starts here and spans across multiple lines).


Ran 11 tests for test/mocks/MockAlgebraDexTest.t.sol:MockAlgebraDexTest
[PASS] test_availableRls() (gas: 13831)
[PASS] test_pool_admin_only() (gas: 13183)
[PASS] test_pool_globalState_returns_configured_price() (gas: 11100)
[PASS] test_pool_setPriceFromRatio() (gas: 42740)
[PASS] test_router_admin_only() (gas: 15482)
[PASS] test_swap_basic() (gas: 126588)
[PASS] test_swap_rate_change() (gas: 129469)
[PASS] test_swap_respects_minOut() (gas: 95542)
[PASS] test_swap_reverts_on_expired_deadline() (gas: 92433)
[PASS] test_swap_reverts_when_insufficient_rls() (gas: 105213)
[PASS] test_withdraw() (gas: 50320)
Suite result: ok. 11 passed; 0 failed; 0 skipped; finished in 1.85ms (937.10µs CPU time)

Ran 30 tests for test/native/NativeTokenControllerTest.t.sol:NativeTokenControllerTest
[PASS] testFuzz_burn_anyAmount(address,uint256) (runs: 250, μ: 22503, ~: 22503)
[PASS] testFuzz_mint_anyAmount(uint256) (runs: 250, μ: 24264, ~: 24264)
[PASS] test_addMinter() (gas: 46272)
[PASS] test_addMinter_revertsOnZeroAddress() (gas: 18351)
[PASS] test_burn_revertsOnPrecompileFailure() (gas: 21846)
[PASS] test_burn_revertsOnZeroAddress() (gas: 18528)
[PASS] test_burn_revertsOnZeroAmount() (gas: 20706)
[PASS] test_burn_success() (gas: 25324)
[PASS] test_constants_precompile() (gas: 13504)
[PASS] test_constants_roles() (gas: 13487)
[PASS] test_implementation_cannotBeInitialized() (gas: 13022)
[PASS] test_initialize_cannotReinitialize() (gas: 17940)
[PASS] test_initialize_revertsOnZeroAdmin() (gas: 1027618)
[PASS] test_initialize_setsAdmin() (gas: 17892)
[PASS] test_initialize_setsUpgraderRole() (gas: 17838)
[PASS] test_isMinter() (gas: 24265)
[PASS] test_mint_revertsOnPrecompileFailure() (gas: 21912)
[PASS] test_mint_revertsOnZeroAddress() (gas: 18549)
[PASS] test_mint_revertsOnZeroAmount() (gas: 20683)
[PASS] test_mint_success() (gas: 26252)
[PASS] test_nonAdminCannotAddMinter() (gas: 19032)
[PASS] test_removeMinter() (gas: 24918)
[PASS] test_roles_adminCanGrantAndRevoke() (gas: 40289)
[PASS] test_roles_minterCanBurn() (gas: 23804)
[PASS] test_roles_minterCanMint() (gas: 23726)
[PASS] test_roles_nonAdminCannotGrant() (gas: 21343)
[PASS] test_roles_nonMinterCannotBurn() (gas: 21275)
[PASS] test_roles_nonMinterCannotMint() (gas: 21230)
[PASS] test_upgrade_nonUpgraderCannotUpgrade() (gas: 963620)
[PASS] test_upgrade_upgraderCanUpgrade() (gas: 968018)
Suite result: ok. 30 passed; 0 failed; 0 skipped; finished in 56.98ms (56.04ms CPU time)

Ran 25 tests for test/fees/RLSAccumulatorTest.t.sol:RLSAccumulatorTest
[PASS] testRevert_deposit_zeroAmount() (gas: 13357)
[PASS] testRevert_initialize_zeroAdmin() (gas: 1244821)
[PASS] testRevert_initialize_zeroDistributor() (gas: 1244758)
[PASS] testRevert_initialize_zeroRls() (gas: 1244787)
[PASS] testRevert_recoverTokens_notAdmin() (gas: 20841)
[PASS] testRevert_recoverTokens_zeroAddress() (gas: 20780)
[PASS] testRevert_revokeApproval_notAdmin() (gas: 18275)
[PASS] testRevert_setRewardDistributor_notAdmin() (gas: 18379)
[PASS] testRevert_setRewardDistributor_zeroAddress() (gas: 18373)
[PASS] testRevert_setRlsToken_notAdmin() (gas: 18333)
[PASS] testRevert_setRlsToken_zeroAddress() (gas: 18405)
[PASS] test_deposit() (gas: 65037)
[PASS] test_deposit_permissionless() (gas: 82864)
[PASS] test_initialize() (gas: 36256)
[PASS] test_initialize_approvesRewardDistributor() (gas: 15222)
[PASS] test_nonDistributorCannotPull() (gas: 46229)
[PASS] test_recoverTokens() (gas: 515262)
[PASS] test_recoverTokens_canDrainRls() (gas: 65187)
[PASS] test_refreshApproval() (gas: 37546)
[PASS] test_revokeApproval() (gas: 68621)
[PASS] test_revokeApproval_thenRefresh() (gas: 105606)
[PASS] test_rewardDistributorCanPull() (gas: 83751)
[PASS] test_setRewardDistributor() (gas: 67899)
[PASS] test_setRlsToken() (gas: 510357)
[PASS] test_setRlsToken_depositAndPullWithNewToken() (gas: 598477)
Suite result: ok. 25 passed; 0 failed; 0 skipped; finished in 2.40ms (1.79ms CPU time)

Ran 53 tests for test/token/RLSTest.t.sol:RLSTest
[PASS] testFuzz_burnFrom_bridge_no_allowance(uint256) (runs: 250, μ: 45374, ~: 45220)
[PASS] testFuzz_mint_burn_supply_invariant(uint256,uint256) (runs: 250, μ: 76406, ~: 77694)
[PASS] testRevert_permit_expiredDeadlineReverts() (gas: 30629)
[PASS] testRevert_permit_forgedSignatureReverts() (gas: 58310)
[PASS] testRevert_permit_replayedSignatureReverts() (gas: 129912)
[PASS] test_admin_grants_all_roles() (gas: 150313)
[PASS] test_admin_grants_minter_role() (gas: 93294)
[PASS] test_admin_revokes_minter_role() (gas: 34432)
[PASS] test_bothPaused_blocksEverything() (gas: 83916)
[PASS] test_bridgePause_blocksBurnFrom() (gas: 91426)
[PASS] test_bridgePause_blocksMint() (gas: 52727)
[PASS] test_bridgePause_doesNotBlockRegularTransfers() (gas: 80831)
[PASS] test_burnFrom_by_burner_bypasses_pause() (gas: 69648)
[PASS] test_burnFrom_by_burner_role_no_allowance() (gas: 41827)
[PASS] test_burnFrom_by_minter_bypasses_pause() (gas: 66946)
[PASS] test_burnFrom_by_minter_role_no_allowance() (gas: 39094)
[PASS] test_burnFrom_non_bridge_requires_allowance() (gas: 25489)
[PASS] test_burnFrom_non_bridge_with_allowance() (gas: 69789)
[PASS] test_burn_own_tokens() (gas: 38895)
[PASS] test_burn_reverts_insufficient_balance() (gas: 25363)
[PASS] test_burn_reverts_zero_amount() (gas: 15899)
[PASS] test_decimals() (gas: 13524)
[PASS] test_initial_supply_in_treasury() (gas: 21628)
[PASS] test_initialize_cannot_be_called_twice() (gas: 20386)
[PASS] test_initialize_reverts_over_max_supply() (gas: 2364683)
[PASS] test_initialize_reverts_zero_admin() (gas: 2142024)
[PASS] test_initialize_reverts_zero_treasury() (gas: 2142022)
[PASS] test_initialize_with_zero_supply() (gas: 2393585)
[PASS] test_mint_bypasses_pause() (gas: 87564)
[PASS] test_mint_emits_event() (gas: 56015)
[PASS] test_mint_reverts_exceeding_max_supply() (gas: 24476)
[PASS] test_mint_reverts_for_burner_role() (gas: 20643)
[PASS] test_mint_reverts_without_minter_role() (gas: 18718)
[PASS] test_mint_reverts_zero_address() (gas: 18665)
[PASS] test_mint_reverts_zero_amount() (gas: 20709)
[PASS] test_mint_up_to_max_supply() (gas: 57230)
[PASS] test_mint_with_minter_role() (gas: 58012)
[PASS] test_name_and_symbol() (gas: 22504)
[PASS] test_non_admin_cannot_grant_roles() (gas: 25002)
[PASS] test_pauseBridge_requiresPauserRole() (gas: 18376)
[PASS] test_pause_reverts_without_pauser_role() (gas: 18351)
[PASS] test_permit_grantsAllowanceAndEnablesTransferFrom() (gas: 137322)
[PASS] test_regularPause_doesNotBlockBridge() (gas: 85689)
[PASS] test_self_burn_blocked_when_paused() (gas: 50501)
[PASS] test_state_preserved_after_upgrade() (gas: 2146028)
[PASS] test_transferFrom_blocked_when_paused() (gas: 115907)
[PASS] test_transfer_blocked_when_paused() (gas: 88431)
[PASS] test_transfer_works_after_unpause() (gas: 98581)
[PASS] test_unpauseBridge_restoresBridgeOps() (gas: 66204)
[PASS] test_unpause_reverts_without_pauser_role() (gas: 47884)
[PASS] test_upgrade_reverts_without_upgrader_role() (gas: 2086178)
[PASS] test_upgrade_with_upgrader_role() (gas: 2114242)
[PASS] test_version() (gas: 14396)
Suite result: ok. 53 passed; 0 failed; 0 skipped; finished in 92.48ms (90.40ms CPU time)

Ran 4 tests for test/fees/FeeAggregatorStorageSlotTest.t.sol:FeeAggregatorStorageSlotTest
[PASS] test_delegationPool_storageSlot_isCorrect() (gas: 3326)
[PASS] test_feeAggregator_storageSlot_isNotStandardDerivation() (gas: 4020)
[PASS] test_rewardDistributor_storageSlot_isCorrect() (gas: 3370)
[PASS] test_rlsAccumulator_storageSlot_isCorrect() (gas: 3348)
Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 257.90µs (73.84µs CPU time)

Ran 64 tests for test/fees/FeeAggregatorTest.t.sol:FeeAggregatorTest
[PASS] testRevert_addStablecoin_alreadySupported() (gas: 22825)
[PASS] testRevert_addStablecoin_notAdmin() (gas: 566218)
[PASS] testRevert_emergencyWithdrawNative_notAdmin() (gas: 16583)
[PASS] testRevert_emergencyWithdrawNative_zeroAddress() (gas: 16700)
[PASS] testRevert_emergencyWithdraw_notAdmin() (gas: 70461)
[PASS] testRevert_initialize_twice() (gas: 29774)
[PASS] testRevert_receiveFee_unsupportedStablecoin() (gas: 643429)
[PASS] testRevert_receiveFee_zeroAmount() (gas: 23003)
[PASS] testRevert_removeStablecoin_cannotRemoveUsdrToken() (gas: 24936)
[PASS] testRevert_resetPendingDistribution_notAdmin() (gas: 18356)
[PASS] testRevert_setConfig_invalidTotal() (gas: 19143)
[PASS] testRevert_setEcosystemTreasury_zeroAddress() (gas: 18393)
[PASS] testRevert_setRecipient_zeroAddress() (gas: 18371)
[PASS] testRevert_setUsdrToken_poolNotConfigured() (gas: 621588)
[PASS] testRevert_setUsdrToken_unsupportedStablecoin() (gas: 20707)
[PASS] testRevert_setUsdrToken_zeroAddress() (gas: 18494)
[PASS] testRevert_swapToRls_aboveMaxSwap() (gas: 87143)
[PASS] testRevert_swapToRls_belowMinRlsOut_adversePrice() (gas: 178544)
[PASS] testRevert_swapToRls_belowMinSwap() (gas: 79446)
[PASS] testRevert_swapToRls_insufficientBalance() (gas: 82775)
[PASS] testRevert_swapToRls_insufficientSlippage() (gas: 161015)
[PASS] testRevert_swapToRls_notKeeper() (gas: 68283)
[PASS] testRevert_swapToRls_whenPaused() (gas: 98126)
[PASS] test_addStablecoin() (gas: 618695)
[PASS] test_burnBridge_insufficientNativeFee_retainsAndRetries() (gas: 1051447)
[PASS] test_burnBridge_quoteSendReverts_retainsSlice() (gas: 620538)
[PASS] test_burnBridge_sendReverts_retainsSlice() (gas: 612077)
[PASS] test_directRlsTransfer_notDistributed() (gas: 86783)
[PASS] test_distributeEpochFees_burnSliceBridged() (gas: 1006709)
[PASS] test_distributeEpochFees_ecosystemLegFails_retainsAndRetries() (gas: 429725)
[PASS] test_distributeEpochFees_emitsCorrectEvents() (gas: 386886)
[PASS] test_distributeEpochFees_multipleRounds() (gas: 546547)
[PASS] test_distributeEpochFees_onlyKeeper() (gas: 393644)
[PASS] test_distributeEpochFees_revertingRecipientDoesNotBlock() (gas: 429352)
[PASS] test_distributeEpochFees_success() (gas: 387382)
[PASS] test_distributeEpochFees_whenPaused_reverts() (gas: 254211)
[PASS] test_distributeEpochFees_zeroBalance_skipsWithEvent() (gas: 35176)
[PASS] test_emergencyWithdraw() (gas: 94968)
[PASS] test_emergencyWithdrawNative() (gas: 52790)
[PASS] test_emergencyWithdrawNative_emitsEvent() (gas: 53937)
[PASS] test_emergencyWithdrawRls_thenResetPending_resumesNextCycle() (gas: 625121)
[PASS] test_emergencyWithdraw_emitsEvent() (gas: 95727)
[PASS] test_failedDistribution_partialAccounting() (gas: 426714)
[PASS] test_getStats() (gas: 389152)
[PASS] test_getSupportedStablecoins() (gas: 31464)
[PASS] test_initialize() (gas: 41819)
[PASS] test_initialize_defaultConfig() (gas: 21032)
[PASS] test_initialize_defaultSwapLimits() (gas: 18188)
[PASS] test_multipleStablecoinsProcessed() (gas: 354008)
[PASS] test_pause() (gas: 43062)
[PASS] test_pendingRlsForDistribution_trackedBySwap() (gas: 394658)
[PASS] test_receiveFee() (gas: 68225)
[PASS] test_receiveFee_multiple() (gas: 76408)
[PASS] test_removeStablecoin() (gas: 40075)
[PASS] test_removeStablecoin_afterChangingUsdrToken() (gas: 764949)
[PASS] test_setBurnAddress() (gas: 26536)
[PASS] test_setEcosystemTreasury() (gas: 26506)
[PASS] test_setRewardDistributor() (gas: 26375)
[PASS] test_setSwapLimits() (gas: 30346)
[PASS] test_setUsdrToken() (gas: 767740)
[PASS] test_swapToRls() (gas: 228132)
[PASS] test_swapToRls_respectsMinRlsOut_whenSatisfiable() (gas: 230084)
[PASS] test_unpause() (gas: 33112)
[PASS] test_updateConfig_viaTimelock() (gas: 38317)
Suite result: ok. 64 passed; 0 failed; 0 skipped; finished in 12.35ms (10.76ms CPU time)

Ran 7 tests for test/EIP2537/BlsG1.t.sol:BlsG1Test
[PASS] test_invalidPubkeyLength_fuzzed(uint8) (runs: 250, μ: 20399, ~: 14924)
[PASS] test_invalidPubkeyLength_tooLong() (gas: 30892)
[PASS] test_invalidPubkeyLength_tooShort() (gas: 12241)
[PASS] test_invalidPubkeyLength_truncatedValidKey() (gas: 41572)
[PASS] test_verifyProofOfPossessionG1(address,uint256) (runs: 10, μ: 412416, ~: 412416)
[PASS] test_verifyProofOfPossessionG1_negative(address,uint256) (runs: 10, μ: 924789, ~: 924789)
[PASS] test_verifyProofOfPossessionG1_zeroPoint() (gas: 37270)
Suite result: ok. 7 passed; 0 failed; 0 skipped; finished in 217.49ms (214.80ms CPU time)

Ran 9 tests for test/fees/RewardDistributorExtendedTest.t.sol:RewardDistributorExtendedTest
[PASS] testFuzz_distributeRewards_noRemainder(uint8,uint128) (runs: 250, μ: 1245239, ~: 1202495)
[PASS] testFuzz_distributeRewards_proportionalToStake(uint256,uint256,uint256,uint256) (runs: 250, μ: 556387, ~: 556596)
[PASS] test_accumulatorTopUp_exactTargetAPYFormula() (gas: 1911196)
[PASS] test_distributeRewards_largeValidatorSet() (gas: 1719847)
[PASS] test_distributeRewards_multipleEpochs() (gas: 509872)
[PASS] test_distributeRewards_performanceWeighted_2xBlocks() (gas: 564897)
[PASS] test_distributeRewards_performanceWeighted_2xStake() (gas: 564940)
[PASS] test_distributeRewards_withDelegations_splitCorrectly() (gas: 361912)
[PASS] test_distributeRewards_zeroPendingRewards_noRevert() (gas: 198062)
Suite result: ok. 9 passed; 0 failed; 0 skipped; finished in 384.66ms (383.74ms CPU time)

Ran 43 tests for test/fees/RewardDistributorTest.t.sol:RewardDistributorTest
[PASS] testRevert_claimRewards_noPending() (gas: 40463)
[PASS] testRevert_distributeRewards_notSystemCall() (gas: 84271)
[PASS] testRevert_initialize_zeroAdmin() (gas: 2495729)
[PASS] testRevert_initialize_zeroRegistry() (gas: 2495630)
[PASS] testRevert_initialize_zeroRls() (gas: 2495648)
[PASS] testRevert_receiveRewards_notFeeDistributor() (gas: 59256)
[PASS] testRevert_receiveRewards_zeroAmount() (gas: 18094)
[PASS] testRevert_recoverTokens_pendingRewards() (gas: 92707)
[PASS] testRevert_setFeeAggregator_notOwner() (gas: 18307)
[PASS] testRevert_setFeeAggregator_zeroAddress() (gas: 18402)
[PASS] test_accumulatorTopUp_emptyAccumulator_noRevert() (gas: 1736122)
[PASS] test_accumulatorTopUp_noShortfallWhenFeesExceedTarget() (gas: 1757299)
[PASS] test_accumulatorTopUp_notConfigured_noEffect() (gas: 294534)
[PASS] test_accumulatorTopUp_partialShortfall() (gas: 1765137)
[PASS] test_accumulatorTopUp_pullsShortfall() (gas: 1758180)
[PASS] test_accumulatorTopUp_zeroApyBps_noEffect() (gas: 1738934)
[PASS] test_claimRewards() (gas: 277461)
[PASS] test_claimRewards_toCustomRecipient() (gas: 303913)
[PASS] test_distributeRewards_dustFreedFromTotalPending() (gas: 273037)
[PASS] test_distributeRewards_equalStake() (gas: 270354)
[PASS] test_distributeRewards_inProgress_silentReturn() (gas: 116235)
[PASS] test_distributeRewards_noRewards_silentReturn() (gas: 116189)
[PASS] test_distributeRewards_noValidators_reverts() (gas: 133079)
[PASS] test_distributeRewards_noValidators_silentReturn() (gas: 131303)
[PASS] test_distributeRewards_postSlash_splitUsesInitialStake() (gas: 357749)
[PASS] test_distributeRewards_unequalStake() (gas: 305309)
[PASS] test_distributeRewards_withDelegations() (gas: 393460)
[PASS] test_getRewardRecipient_defaultSelf() (gas: 18043)
[PASS] test_initialize() (gas: 48319)
[PASS] test_receiveRewards() (gas: 83031)
[PASS] test_receiveRewards_multiple() (gas: 90251)
[PASS] test_receiveRewards_reverts_inflatedAmount() (gas: 79132)
[PASS] test_recoverTokens() (gas: 70239)
[PASS] test_recoverTokens_cannotDrainUnclaimedRewards() (gas: 318087)
[PASS] test_recoverTokens_excessRLS() (gas: 129439)
[PASS] test_setAccumulator() (gas: 43553)
[PASS] test_setConsensusRegistry() (gas: 26551)
[PASS] test_setDelegationPool() (gas: 26494)
[PASS] test_setFeeAggregator() (gas: 26441)
[PASS] test_setRewardRecipient() (gas: 41958)
[PASS] test_setRewardRecipient_resetToZero() (gas: 34424)
[PASS] test_setTargetApyBps_cappedAt100Percent() (gas: 18328)
[PASS] test_setTargetApyBps_maxAllowed() (gas: 43127)
Suite result: ok. 43 passed; 0 failed; 0 skipped; finished in 9.96ms (8.80ms CPU time)

Ran 18 tests for test/fees/TokenomicsAccessControlTest.t.sol:TokenomicsAccessControlTest
[PASS] test_delegationPool_applyPoolSlash_onlyConsensusRegistry() (gas: 20391)
[PASS] test_delegationPool_distributePoolRewards_onlyRewardSources() (gas: 22607)
[PASS] test_feeAggregator_addStablecoin_onlyAdmin() (gas: 485907)
[PASS] test_feeAggregator_distributeEpochFees_onlyKeeper() (gas: 18872)
[PASS] test_feeAggregator_distributionRecipientFailure_noBlock() (gas: 355935)
[PASS] test_feeAggregator_emergencyWithdrawNative() (gas: 53619)
[PASS] test_feeAggregator_emergencyWithdraw_onlyAdmin() (gas: 21398)
[PASS] test_feeAggregator_emergencyWithdraw_stablecoins() (gas: 58105)
[PASS] test_feeAggregator_pauseUnpause_systemCallsUnaffected() (gas: 204700)
[PASS] test_feeAggregator_setAlgebraRouter_onlyAdmin() (gas: 18894)
[PASS] test_feeAggregator_swapToRls_onlyKeeper() (gas: 21330)
[PASS] test_rewardDistributor_claimRewards_onlyValidator() (gas: 222419)
[PASS] test_rewardDistributor_distributeRewards_onlySystemCall() (gas: 16328)
[PASS] test_rewardDistributor_distributeRewards_zeroPending_noRevert() (gas: 106580)
[PASS] test_rewardDistributor_receiveRewards_onlyFeeAggregator() (gas: 18108)
[PASS] test_rewardDistributor_recoverTokens_cannotStealPending() (gas: 87880)
[PASS] test_rewardDistributor_recoverTokens_nonPending() (gas: 69474)
[PASS] test_systemAddress_concludeEpoch_onlySystem() (gas: 16326)
Suite result: ok. 18 passed; 0 failed; 0 skipped; finished in 3.92ms (1.98ms CPU time)

Ran 65 tests for test/consensus/ConsensusRegistryTest.t.sol:ConsensusRegistryTest
[PASS] testRevert_allowlistValidator_notOwner() (gas: 2240)
[PASS] testRevert_allowlistValidator_zeroAddress() (gas: 2236)
[PASS] testRevert_applySlashes_notSystemCall() (gas: 2883)
[PASS] testRevert_beginExit_lastActiveCannotExit() (gas: 184485)
[PASS] testRevert_beginExit_nonValidator() (gas: 2531)
[PASS] testRevert_beginExit_notActive() (gas: 990673)
[PASS] testRevert_claimStakeRewards_insufficientRewards() (gas: 24251)
[PASS] testRevert_claimStakeRewards_nonValidator() (gas: 22910)
[PASS] testRevert_concludeEpoch_OnlySystemCall() (gas: 3857)
[PASS] testRevert_delegateStake_notAllowlisted() (gas: 881395)
[PASS] testRevert_delegateStake_ownerCannotBypassAllowlist() (gas: 875866)
[PASS] testRevert_pause_notOwner() (gas: 2208)
[PASS] testRevert_setDelegationPool_notOwner() (gas: 2372)
[PASS] testRevert_stake_insufficientAllowance() (gas: 757314)
[PASS] testRevert_stake_invalidPoint() (gas: 12114)
[PASS] testRevert_stake_notAllowlisted() (gas: 294748)
[PASS] testRevert_stake_whenPaused() (gas: 302875)
[PASS] testRevert_unpause_notOwner() (gas: 7939)
[PASS] testRevert_unstake_nonValidator() (gas: 23866)
[PASS] testRevert_unstake_notStakedOrExited() (gas: 1022681)
[PASS] testRevert_unstake_pendingExitReturnsIneligible() (gas: 62363)
[PASS] testRevert_updateAllowlistBatch_lengthMismatch() (gas: 3804)
[PASS] testRevert_updateAllowlistBatch_zeroAddress() (gas: 3841)
[PASS] testRevert_upgradeStakeVersion_notOwner() (gas: 5320)
[PASS] testRevert_upgradeStakeVersion_whenPaused() (gas: 8704)
[PASS] testRevert_upgradeStakeVersion_zeroDuration() (gas: 5950)
[PASS] testRevert_withdrawSlashedFunds_insufficientFunds() (gas: 2655)
[PASS] testRevert_withdrawSlashedFunds_notOwner() (gas: 2285)
[PASS] testRevert_withdrawSlashedFunds_zeroAmount() (gas: 2499)
[PASS] test_activate() (gas: 1228057)
[PASS] test_allowlistValidator() (gas: 26556)
[PASS] test_allowlistValidator_idempotent() (gas: 26663)
[PASS] test_applySlashes_fullSlash_burns() (gas: 111217)
[PASS] test_applySlashes_partialSlash() (gas: 15980)
[PASS] test_beginExit() (gas: 1571938)
[PASS] test_concludeEpoch_updatesEpochInfo() (gas: 219598)
[PASS] test_delegateStake() (gas: 1074023)
[PASS] test_delegateStake_ownerBypassesSignature() (gas: 1149050)
[PASS] test_delegationDigest() (gas: 32039)
[PASS] test_delistValidator() (gas: 4935)
[PASS] test_delistValidator_doesNotAffectExistingValidator() (gas: 7830)
[PASS] test_genesisValidatorsAllowlisted() (gas: 9686)
[PASS] test_getBalanceBreakdown() (gas: 6284)
[PASS] test_getCommitteeValidators() (gas: 26961)
[PASS] test_getCurrentEpoch() (gas: 4252)
[PASS] test_getCurrentEpochInfo() (gas: 8985)
[PASS] test_getCurrentStakeVersion() (gas: 6159)
[PASS] test_getEpochInfo() (gas: 9447)
[PASS] test_getRewards() (gas: 4867)
[PASS] test_getValidator() (gas: 9235)
[PASS] test_getValidators() (gas: 29904)
[PASS] test_isRetired() (gas: 4838)
[PASS] test_nonGenesisNotAllowlisted() (gas: 4415)
[PASS] test_pause() (gas: 7412)
[PASS] test_proofOfPossessionMessage() (gas: 97000)
[PASS] test_setDelegationPool() (gas: 25067)
[PASS] test_setUp() (gas: 154719)
[PASS] test_stake() (gas: 996626)
[PASS] test_stake_afterAllowlist() (gas: 974540)
[PASS] test_unpause() (gas: 8885)
[PASS] test_unstake_exited() (gas: 697534)
[PASS] test_unstake_staked() (gas: 926820)
[PASS] test_updateAllowlistBatch() (gas: 51765)
[PASS] test_upgradeStakeVersion() (gas: 92904)
[PASS] test_withdrawSlashedFunds() (gas: 101071)
Suite result: ok. 65 passed; 0 failed; 0 skipped; finished in 205.51ms (138.97ms CPU time)

Ran 119 tests for test/consensus/DelegationPoolTest.t.sol:DelegationPoolTest
[PASS] testFuzz_applyPoolSlash_reducesProportionallyAndStaysSolvent(uint256,uint256,uint256,uint256) (runs: 250, μ: 490093, ~: 490455)
[PASS] testFuzz_distributePoolRewards_splitConservesAndProportional(uint256,uint256,uint256,uint256,uint256) (runs: 250, μ: 640461, ~: 641802)
[PASS] testRevert_activatePendingCommission_noPending() (gas: 110654)
[PASS] testRevert_activatePendingCommission_tooEarly() (gas: 188549)
[PASS] testRevert_applyPoolSlash_notConsensusRegistry() (gas: 110673)
[PASS] testRevert_cancelPendingCommission_noPending() (gas: 110609)
[PASS] testRevert_claimCommission_noCommission() (gas: 130878)
[PASS] testRevert_claimCommission_notRegistered() (gas: 40752)
[PASS] testRevert_claimDelegationRewards_noPending() (gas: 243356)
[PASS] testRevert_claimDelegationRewards_notRegistered() (gas: 42908)
[PASS] testRevert_commissionIncreaseExceedsLimit() (gas: 109254)
[PASS] testRevert_completeUndelegation_nothingToUndelegate() (gas: 42655)
[PASS] testRevert_completeUndelegation_unbondingNotComplete() (gas: 282169)
[PASS] testRevert_delegate_belowMinimum() (gas: 139259)
[PASS] testRevert_delegate_exceedsMaxDelegation() (gas: 143884)
[PASS] testRevert_delegate_exceedsMaxValidatorDelegation() (gas: 4057277)
[PASS] testRevert_delegate_poolNotAccepting() (gas: 120720)
[PASS] testRevert_delegate_poolNotRegistered() (gas: 45323)
[PASS] testRevert_delegate_validatorNotAllowlisted() (gas: 138028)
[PASS] testRevert_delegate_zeroAddress() (gas: 38251)
[PASS] testRevert_delegate_zeroAmount() (gas: 132722)
[PASS] testRevert_distributePoolRewards_notAuthorized() (gas: 112932)
[PASS] testRevert_initialize_invalidConfig_maxDelegation() (gas: 3582578)
[PASS] testRevert_initialize_invalidConfig_maxDelegationExceedsValidator() (gas: 3580500)
[PASS] testRevert_initialize_invalidConfig_maxValidatorDelegation() (gas: 3582545)
[PASS] testRevert_initialize_invalidConfig_minDelegation() (gas: 3582541)
[PASS] testRevert_initialize_invalidConfig_unbondingEpochs() (gas: 3584782)
[PASS] testRevert_initialize_zeroAdmin() (gas: 3582351)
[PASS] testRevert_initialize_zeroRegistry() (gas: 3582299)
[PASS] testRevert_initialize_zeroRls() (gas: 3582237)
[PASS] testRevert_registerPool_alreadyRegistered() (gas: 108908)
[PASS] testRevert_registerPool_invalidCommission() (gas: 18582)
[PASS] testRevert_registerPool_notActiveValidator() (gas: 74267)
[PASS] testRevert_registerPool_notAllowlisted() (gas: 49269)
[PASS] testRevert_requestUndelegation_insufficientBalance() (gas: 244137)
[PASS] testRevert_requestUndelegation_pendingExists() (gas: 319816)
[PASS] testRevert_requestUndelegation_zeroAmount() (gas: 40374)
[PASS] testRevert_setAcceptingDelegations_notRegistered() (gas: 18599)
[PASS] testRevert_setCommissionRecipient_notRegistered() (gas: 18679)
[PASS] testRevert_setRewardDistributor_notOwner() (gas: 18461)
[PASS] testRevert_setRewardDistributor_zeroAddress() (gas: 18424)
[PASS] testRevert_setRewardRecipient_notRegistered() (gas: 21024)
[PASS] testRevert_updateCommission_invalidBps() (gas: 108869)
[PASS] testRevert_updateCommission_notRegistered() (gas: 18626)
[PASS] testRevert_updateCommission_pendingExists() (gas: 186602)
[PASS] testRevert_updateConfig_notOwner() (gas: 26979)
[PASS] testRevert_whitelist_disable_notAdmin() (gas: 20244)
[PASS] testRevert_whitelist_emptyProof() (gas: 191457)
[PASS] testRevert_whitelist_garbageProof() (gas: 192372)
[PASS] testRevert_whitelist_outsider() (gas: 196636)
[PASS] testRevert_whitelist_proofForDifferentAddress() (gas: 196566)
[PASS] testRevert_whitelist_setRoot_notAdmin() (gas: 22198)
[PASS] testRevert_whitelist_twoArgNotVerified() (gas: 190661)
[PASS] testRevert_whitelist_wrongBalanceInLeaf() (gas: 196706)
[PASS] test_activatePendingCommission() (gas: 156520)
[PASS] test_applyPoolSlash() (gas: 301052)
[PASS] test_applyPoolSlash_multipleSlashesAllWithdrawSucceed() (gas: 610942)
[PASS] test_applyPoolSlash_roundingDustKeepsSolvent() (gas: 296440)
[PASS] test_cancelPendingCommission() (gas: 153778)
[PASS] test_claimCommission() (gas: 333481)
[PASS] test_claimDelegationRewards() (gas: 358444)
[PASS] test_commissionDecreaseCancelsPending() (gas: 155866)
[PASS] test_commissionIncreaseFullFlow() (gas: 193631)
[PASS] test_completeUndelegation() (gas: 266528)
[PASS] test_consensusRegistry() (gas: 17808)
[PASS] test_constants() (gas: 16735)
[PASS] test_delegate() (gas: 250986)
[PASS] test_delegate_additionalStake() (gas: 264267)
[PASS] test_delegate_multipleDelegators() (gas: 308343)
[PASS] test_distributePoolRewards_multipleDelegators() (gas: 388386)
[PASS] test_distributePoolRewards_noDelegators() (gas: 198804)
[PASS] test_distributePoolRewards_singleDelegator() (gas: 329946)
[PASS] test_getCommissionRecipient() (gas: 134121)
[PASS] test_getCommissionRecipient_default() (gas: 110461)
[PASS] test_getDelegationConfig() (gas: 24416)
[PASS] test_getDelegatorPosition() (gas: 246131)
[PASS] test_getEffectivePosition() (gas: 326897)
[PASS] test_getPendingRewards() (gas: 331182)
[PASS] test_getRewardRecipient() (gas: 137230)
[PASS] test_getRewardRecipient_default() (gas: 112850)
[PASS] test_getTotalDelegatedStake() (gas: 239373)
[PASS] test_getValidatorPool() (gas: 239325)
[PASS] test_initialize() (gas: 49160)
[PASS] test_poolRegistered() (gas: 110393)
[PASS] test_registerPool() (gas: 112620)
[PASS] test_registerPool_pendingActivation() (gas: 150423)
[PASS] test_requestUndelegation() (gas: 285592)
[PASS] test_requestUndelegation_partial() (gas: 324878)
[PASS] test_rewardDebt_correctAfterAdditionalDeposit() (gas: 375306)
[PASS] test_rewardDebt_correctAfterPartialWithdrawal() (gas: 396362)
[PASS] test_rewardDebt_multipleDepositRounds() (gas: 402781)
[PASS] test_rewardDebt_newRewardsAfterAdditionalDeposit() (gas: 375494)
[PASS] test_rewardDebt_twoDelegators() (gas: 398154)
[PASS] test_rlsToken() (gas: 17887)
[PASS] test_setAcceptingDelegations() (gas: 120496)
[PASS] test_setCommissionRecipient() (gas: 355899)
[PASS] test_setRewardDistributor() (gas: 26584)
[PASS] test_setRewardRecipient() (gas: 403526)
[PASS] test_slashDuringUnbonding() (gas: 371244)
[PASS] test_updateCommission_decrease() (gas: 115805)
[PASS] test_updateCommission_increaseScheduled() (gas: 189596)
[PASS] test_updateConfig() (gas: 45425)
[PASS] test_whitelist_cachedAllowsFourArgWithEmptyProof() (gas: 346183)
[PASS] test_whitelist_cachedAllowsTwoArgOverload() (gas: 345251)
[PASS] test_whitelist_cachedEntrySurvivesGateToggle() (gas: 356237)
[PASS] test_whitelist_defaults() (gas: 25686)
[PASS] test_whitelist_disable_adminOnly() (gas: 56656)
[PASS] test_whitelist_disable_emitsEvent() (gas: 53520)
[PASS] test_whitelist_disable_whenAlreadyDisabled_noEvent() (gas: 21303)
[PASS] test_whitelist_gateDisabled_fourArg_proofIgnored() (gas: 250074)
[PASS] test_whitelist_gateDisabled_twoArg_worksForAnyone() (gas: 249516)
[PASS] test_whitelist_multipleStakesOverTime() (gas: 378254)
[PASS] test_whitelist_multipleUsersIndependent() (gas: 567182)
[PASS] test_whitelist_rootRotation_doesNotInvalidateCachedUsers() (gas: 362816)
[PASS] test_whitelist_setRoot_adminOnly_andEnables() (gas: 70596)
[PASS] test_whitelist_setRoot_emitsBothEvents() (gas: 70628)
[PASS] test_whitelist_setRoot_rotation_skipsEnableEvent() (gas: 75018)
[PASS] test_whitelist_toggleGateOff_lettingOutsiderDelegate_thenBackOn() (gas: 342246)
[PASS] test_whitelist_validProof_cachesAndDelegates() (gas: 332394)
Suite result: ok. 119 passed; 0 failed; 0 skipped; finished in 381.49ms (379.47ms CPU time)

Ran 10 tests for test/consensus/DelegationPoolExtendedTest.t.sol:DelegationPoolExtendedTest
[PASS] testFuzz_delegateUndelegate_totalDelegatedInvariant(uint256,uint256,uint256,uint256) (runs: 250, μ: 452657, ~: 452779)
[PASS] test_commissionDecrease_immediateEffect() (gas: 340383)
[PASS] test_commissionIncrease_delayedActivation() (gas: 404282)
[PASS] test_earlyExiter_noNewRewards() (gas: 460115)
[PASS] test_lateDelegator_noRetroactiveRewards() (gas: 406323)
[PASS] test_multipleDelegators_proportionalRewards() (gas: 406547)
[PASS] test_partialUndelegation_remainingEarnsRewards() (gas: 369261)
[PASS] test_rounding_minimumDelegation_smallReward() (gas: 324650)
[PASS] test_slashDuringActiveDelegation_positionSettled() (gas: 406508)
[PASS] test_unbondingDelegator_protectedFromSlash() (gas: 374674)
Suite result: ok. 10 passed; 0 failed; 0 skipped; finished in 158.55ms (160.68ms CPU time)

Ran 2 tests for test/fees/RewardPipelineInvariant.t.sol:RewardPipelineConservationInvariant
[PASS] invariant_faStablecoinMatchesPending() (runs: 256, calls: 128000, reverts: 17670)

╭-----------------+----------------------+-------+---------+----------╮
| Contract        | Selector             | Calls | Reverts | Discards |
+=====================================================================+
| PipelineHandler | advanceEpoch         | 11476 | 0       | 0        |
|-----------------+----------------------+-------+---------+----------|
| PipelineHandler | claimCommission      | 11708 | 0       | 0        |
|-----------------+----------------------+-------+---------+----------|
| PipelineHandler | claimRewards         | 11674 | 0       | 0        |
|-----------------+----------------------+-------+---------+----------|
| PipelineHandler | completeUndelegation | 11619 | 0       | 0        |
|-----------------+----------------------+-------+---------+----------|
| PipelineHandler | delegate             | 11627 | 28      | 0        |
|-----------------+----------------------+-------+---------+----------|
| PipelineHandler | distributeFees       | 11783 | 0       | 0        |
|-----------------+----------------------+-------+---------+----------|
| PipelineHandler | distributeRewards    | 11514 | 0       | 0        |
|-----------------+----------------------+-------+---------+----------|
| PipelineHandler | receiveFee           | 11747 | 11747   | 0        |
|-----------------+----------------------+-------+---------+----------|
| PipelineHandler | requestUndelegation  | 11534 | 5895    | 0        |
|-----------------+----------------------+-------+---------+----------|
| PipelineHandler | slash                | 11511 | 0       | 0        |
|-----------------+----------------------+-------+---------+----------|
| PipelineHandler | swap                 | 11807 | 0       | 0        |
╰-----------------+----------------------+-------+---------+----------╯

[PASS] invariant_pipelineConservesRls() (runs: 256, calls: 128000, reverts: 17685)

╭-----------------+----------------------+-------+---------+----------╮
| Contract        | Selector             | Calls | Reverts | Discards |
+=====================================================================+
| PipelineHandler | advanceEpoch         | 11476 | 0       | 0        |
|-----------------+----------------------+-------+---------+----------|
| PipelineHandler | claimCommission      | 11708 | 0       | 0        |
|-----------------+----------------------+-------+---------+----------|
| PipelineHandler | claimRewards         | 11674 | 0       | 0        |
|-----------------+----------------------+-------+---------+----------|
| PipelineHandler | completeUndelegation | 11619 | 0       | 0        |
|-----------------+----------------------+-------+---------+----------|
| PipelineHandler | delegate             | 11627 | 33      | 0        |
|-----------------+----------------------+-------+---------+----------|
| PipelineHandler | distributeFees       | 11783 | 0       | 0        |
|-----------------+----------------------+-------+---------+----------|
| PipelineHandler | distributeRewards    | 11514 | 0       | 0        |
|-----------------+----------------------+-------+---------+----------|
| PipelineHandler | receiveFee           | 11747 | 11747   | 0        |
|-----------------+----------------------+-------+---------+----------|
| PipelineHandler | requestUndelegation  | 11534 | 5905    | 0        |
|-----------------+----------------------+-------+---------+----------|
| PipelineHandler | slash                | 11511 | 0       | 0        |
|-----------------+----------------------+-------+---------+----------|
| PipelineHandler | swap                 | 11807 | 0       | 0        |
╰-----------------+----------------------+-------+---------+----------╯

Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 27.99s (55.13s CPU time)
{"timestamp":1786170327,"event":"failure","invariant":"invariant_poolIsSolvent","target":"test/consensus/DelegationPoolInvariant.t.sol:DelegationPoolSolvencyInvariant","reason":"DelegationPool insolvent: balance < obligations across pools: 161732311888807099351245 < 161732311888807099351246"}

Ran 1 test for test/consensus/DelegationPoolInvariant.t.sol:DelegationPoolSolvencyInvariant
[FAIL: DelegationPool insolvent: balance < obligations across pools: 161732311888807099351245 < 161732311888807099351246]
	[Sequence] (original: 21, shrunk: 5)
		sender=0x07E17e17E17e17E17e17E17E17E17e17e17E17e1 addr=[test/consensus/DelegationPoolInvariant.t.sol:DelegationPoolHandler]0xc7183455a4C133Ae270771860664b6B7ec320bB1 calldata=delegate(uint256,uint256,uint256) args=[369624230294528145207498755809072074282672608363514201 [3.696e53], 126773564407675860406069473987621652759876729190165815179790638 [1.267e62], 6275102575437533154 [6.275e18]]
		sender=0xffffFFFfFFffffffffffffffFfFFFfffFFFfFFfE addr=[test/consensus/DelegationPoolInvariant.t.sol:DelegationPoolHandler]0xc7183455a4C133Ae270771860664b6B7ec320bB1 calldata=slash(uint256,uint256) args=[5976, 10000000000000000000000 [1e22]]
		sender=0x0000000000000000000000000000000000000400 addr=[test/consensus/DelegationPoolInvariant.t.sol:DelegationPoolHandler]0xc7183455a4C133Ae270771860664b6B7ec320bB1 calldata=delegate(uint256,uint256,uint256) args=[22288 [2.228e4], 9412376669646034696347912304 [9.412e27], 59041930 [5.904e7]]
		sender=0x07E17e17E17e17E17e17E17E17E17e17e17E17e1 addr=[test/consensus/DelegationPoolInvariant.t.sol:DelegationPoolHandler]0xc7183455a4C133Ae270771860664b6B7ec320bB1 calldata=delegate(uint256,uint256,uint256) args=[16189 [1.618e4], 2949489286 [2.949e9], 15374 [1.537e4]]
		sender=0x00000000000000000000000000000000000003B3 addr=[test/consensus/DelegationPoolInvariant.t.sol:DelegationPoolHandler]0xc7183455a4C133Ae270771860664b6B7ec320bB1 calldata=slash(uint256,uint256) args=[1881862738396156 [1.881e15], 3472620588153472216158989248460742762444607434 [3.472e45]]
 invariant_poolIsSolvent() (runs: 127, calls: 63500, reverts: 2602)

╭-----------------------+----------------------+-------+---------+----------╮
| Contract              | Selector             | Calls | Reverts | Discards |
+===========================================================================+
| DelegationPoolHandler | advanceEpoch         | 7963  | 0       | 0        |
|-----------------------+----------------------+-------+---------+----------|
| DelegationPoolHandler | claimCommission      | 8095  | 0       | 0        |
|-----------------------+----------------------+-------+---------+----------|
| DelegationPoolHandler | claimRewards         | 7915  | 0       | 0        |
|-----------------------+----------------------+-------+---------+----------|
| DelegationPoolHandler | completeUndelegation | 7894  | 0       | 0        |
|-----------------------+----------------------+-------+---------+----------|
| DelegationPoolHandler | delegate             | 7873  | 0       | 0        |
|-----------------------+----------------------+-------+---------+----------|
| DelegationPoolHandler | distributeRewards    | 7949  | 0       | 0        |
|-----------------------+----------------------+-------+---------+----------|
| DelegationPoolHandler | requestUndelegation  | 8031  | 2602    | 0        |
|-----------------------+----------------------+-------+---------+----------|
| DelegationPoolHandler | slash                | 7801  | 0       | 0        |
╰-----------------------+----------------------+-------+---------+----------╯

Suite result: FAILED. 0 passed; 1 failed; 0 skipped; finished in 51.28s (51.28s CPU time)

Ran 10 tests for test/consensus/ConsensusRegistryTestFuzz.t.sol:ConsensusRegistryTestFuzz
[PASS] testFuzz_applyIncentives(uint24,uint24) (runs: 250, μ: 345853405, ~: 314313491)
[PASS] testFuzz_claimStakeRewards_reverts_noRewards(uint24,uint24) (runs: 250, μ: 343032586, ~: 314609155)
[PASS] testFuzz_concludeEpoch(uint24) (runs: 250, μ: 328074057, ~: 278794905)
[PASS] testRevert_setParticipationFloorBps_aboveMax() (gas: 2454)
[PASS] test_applyIncentives_absentValidator_earnsZero() (gas: 2252714)
[PASS] test_applyIncentives_genesisCommitteeValidators_doesNotRevert() (gas: 255158)
[PASS] test_applyIncentives_hybridBlend_tokyoScenario() (gas: 3389539)
[PASS] test_applyIncentives_participationFloor_excludesBelowThreshold() (gas: 2274133)
[PASS] test_applyIncentives_stakeTier_delegationIncreasesWeight() (gas: 2424873)
[PASS] test_storageLayout_participationFloorBps_appendOnly_migrationSafe() (gas: 2303845)
Suite result: ok. 10 passed; 0 failed; 0 skipped; finished in 687.82s (1889.31s CPU time)

╭-------------------------------------+--------+--------+---------╮
| Test Suite                          | Passed | Failed | Skipped |
+=================================================================+
| BlsG1Test                           | 7      | 0      | 0       |
|-------------------------------------+--------+--------+---------|
| ConsensusRegistryTest               | 65     | 0      | 0       |
|-------------------------------------+--------+--------+---------|
| ConsensusRegistryTestFuzz           | 10     | 0      | 0       |
|-------------------------------------+--------+--------+---------|
| DelegationPoolExtendedTest          | 10     | 0      | 0       |
|-------------------------------------+--------+--------+---------|
| DelegationPoolSolvencyInvariant     | 0      | 1      | 0       |
|-------------------------------------+--------+--------+---------|
| DelegationPoolTest                  | 119    | 0      | 0       |
|-------------------------------------+--------+--------+---------|
| FeeAggregatorStorageSlotTest        | 4      | 0      | 0       |
|-------------------------------------+--------+--------+---------|
| FeeAggregatorTest                   | 64     | 0      | 0       |
|-------------------------------------+--------+--------+---------|
| RLSAccumulatorTest                  | 25     | 0      | 0       |
|-------------------------------------+--------+--------+---------|
| RewardDistributorExtendedTest       | 9      | 0      | 0       |
|-------------------------------------+--------+--------+---------|
| RewardDistributorTest               | 43     | 0      | 0       |
|-------------------------------------+--------+--------+---------|
| RewardPipelineConservationInvariant | 2      | 0      | 0       |
|-------------------------------------+--------+--------+---------|
| TokenomicsAccessControlTest         | 18     | 0      | 0       |
|-------------------------------------+--------+--------+---------|
| MockAlgebraDexTest                  | 11     | 0      | 0       |
|-------------------------------------+--------+--------+---------|
| NativeTokenControllerTest           | 30     | 0      | 0       |
|-------------------------------------+--------+--------+---------|
| RLSTest                             | 53     | 0      | 0       |
╰-------------------------------------+--------+--------+---------╯


Failing tests:
Encountered 1 failing test in test/consensus/DelegationPoolInvariant.t.sol:DelegationPoolSolvencyInvariant
[FAIL: DelegationPool insolvent: balance < obligations across pools: 161732311888807099351245 < 161732311888807099351246]
	[Sequence] (original: 21, shrunk: 5)
		sender=0x07E17e17E17e17E17e17E17E17E17e17e17E17e1 addr=[test/consensus/DelegationPoolInvariant.t.sol:DelegationPoolHandler]0xc7183455a4C133Ae270771860664b6B7ec320bB1 calldata=delegate(uint256,uint256,uint256) args=[369624230294528145207498755809072074282672608363514201 [3.696e53], 126773564407675860406069473987621652759876729190165815179790638 [1.267e62], 6275102575437533154 [6.275e18]]
		sender=0xffffFFFfFFffffffffffffffFfFFFfffFFFfFFfE addr=[test/consensus/DelegationPoolInvariant.t.sol:DelegationPoolHandler]0xc7183455a4C133Ae270771860664b6B7ec320bB1 calldata=slash(uint256,uint256) args=[5976, 10000000000000000000000 [1e22]]
		sender=0x0000000000000000000000000000000000000400 addr=[test/consensus/DelegationPoolInvariant.t.sol:DelegationPoolHandler]0xc7183455a4C133Ae270771860664b6B7ec320bB1 calldata=delegate(uint256,uint256,uint256) args=[22288 [2.228e4], 9412376669646034696347912304 [9.412e27], 59041930 [5.904e7]]
		sender=0x07E17e17E17e17E17e17E17E17E17e17e17E17e1 addr=[test/consensus/DelegationPoolInvariant.t.sol:DelegationPoolHandler]0xc7183455a4C133Ae270771860664b6B7ec320bB1 calldata=delegate(uint256,uint256,uint256) args=[16189 [1.618e4], 2949489286 [2.949e9], 15374 [1.537e4]]
		sender=0x00000000000000000000000000000000000003B3 addr=[test/consensus/DelegationPoolInvariant.t.sol:DelegationPoolHandler]0xc7183455a4C133Ae270771860664b6B7ec320bB1 calldata=slash(uint256,uint256) args=[1881862738396156 [1.881e15], 3472620588153472216158989248460742762444607434 [3.472e45]]
 invariant_poolIsSolvent() (runs: 127, calls: 63500, reverts: 2602)

Encountered a total of 1 failing tests, 470 tests succeeded

Tip: Run `forge test --rerun` to retry only the 1 failed test

Fuzz seed: 0x44734f83ad774f2ba8503bfeb5951d43d2fb5d64656fb697eb1c5d915dbcfa4c (use `--fuzz-seed` to reproduce)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants