Vote #204. Nest + LOL stables factories - #668
Open
phonktown wants to merge 31 commits into
Open
Conversation
feat: add nest vote and tests
…prev-block fix: remove unsupported vote_prev_block input
tamtamchik
reviewed
Aug 3, 2026
fix(Stonks): split stonks test into 2 parts
There was a problem hiding this comment.
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.pyand a comprehensive scenario testtests/test_2026_08_05.pyfor 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.
feat(Tests): adjust tests
feat(Vote): update IPFS
feat(Vote): update IPFS
feat(Vote): update IPFS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.