Skip to content

Vote #204. Nest + LOL stables factories - #668

Open
phonktown wants to merge 31 commits into
masterfrom
feat/next-vote
Open

Vote #204. Nest + LOL stables factories#668
phonktown wants to merge 31 commits into
masterfrom
feat/next-vote

Conversation

@phonktown

Copy link
Copy Markdown
Contributor

No description provided.

@phonktown
phonktown requested a review from a team as a code owner August 3, 2026 08:54
@phonktown phonktown changed the title Feat/next vote Vote #204. Nest + LOL stables factories Aug 3, 2026
Comment thread interfaces/TokenRateNotifierV2.json
Comment thread scripts/upgrade_2026_08_05.py Outdated
Comment thread scripts/upgrade_2026_08_05.py Outdated
Comment thread tests/test_2026_08_05.py
Comment thread .github/workflows/stonks_integration_tests.yml Outdated

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 the Vote #204 (2026-08-05) upgrade script and an end-to-end test suite covering NEST activation plus LOL stablecoins Easy Track factories, while updating interfaces/config and CI workflows to support the new post-vote environment.

Changes:

  • Introduces scripts/upgrade_2026_08_05.py and a comprehensive scenario test tests/test_2026_08_05.py for the new vote + DG proposal.
  • Adds/updates Brownie interfaces and config constants for NEST (TokenRateNotifierV2, OracleRouter, buyback contracts, etc.).
  • Extends CI/Makefile workflows to run new integration suites and handle fork-time warp side effects (vaults report refresh, stonks split suites).

Reviewed changes

Copilot reviewed 20 out of 20 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
utils/test/event_validators/permission.py Extends role-grant event validator to accept a custom event chain.
utils/test/event_validators/allowed_recipients_registry.py Adds validator for RecipientAdded events.
utils/test/easy_track_helpers.py Extracts reusable revert assertion helper for Easy Track factory input-validation tests.
utils/config.py Switches contracts.token_rate_notifier to TokenRateNotifierV2 interface type.
tests/test_2026_08_05.py New full vote + DG execution + post-vote scenario tests for NEST + LOL stables setup.
tests/snapshot/test_first_slots.py Updates snapshot slot exclusions for the 2026-08-05 upgrade effects.
tests/regression/test_oracle_report_with_notifier.py Migrates notifier regression tests to TokenRateNotifierV2 + updated addObserver signature.
tests/regression/test_easy_track_factories.py Reuses the extracted revert assertion helper and improves operator selection logic.
scripts/upgrade_2026_08_05.py New vote script building vote items + DG proposal items for NEST + LOL stables + CSM ET factory replacement.
scripts/ci/refresh_vaults_report.py Adds CI utility to refresh the vaults report after fork time warps from vote enactment.
Makefile Adds stonks integration targets and a vaults-report refresh target for CI.
interfaces/TokenRateNotifierV2.json Adds ABI for TokenRateNotifierV2 (observer kind support, etc.).
interfaces/StakingRevenueSource.json Adds ABI for StakingRevenueSource used in NEST flows/tests.
interfaces/OracleRouter.json Adds ABI for OracleRouter used in NEST flows/tests.
interfaces/BuybackExecutor.json Adds ABI for BuybackExecutor used in NEST flows/tests.
interfaces/BuybackAllocator.json Adds ABI for BuybackAllocator used in NEST flows/tests.
configs/config_mainnet.py Updates mainnet addresses/constants for the new ET factory, locator impl, and notifier.
.github/workflows/stonks_integration_tests.yml Adds a dedicated workflow to run stonks integration tests (pre-vote/post-vote split).
.github/workflows/sm-tests.yml Simplifies staking-modules regression workflow invocation inputs.
.github/workflows/core_tests.yml Refreshes vaults report after vote enactment before running core tests.

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

Comment thread utils/test/event_validators/permission.py
Comment thread utils/test/event_validators/allowed_recipients_registry.py
Comment thread scripts/upgrade_2026_08_05.py
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.

6 participants