Skip to content

Conversation

@youngkidwarrior
Copy link
Collaborator

Why:
Now that approve exists on MockERC20, enable streaming tests
and local wrapper upgrade flows.

Test plan:

  • bunx hardhat test test/rewards.streaming.test.ts
  • bunx hardhat test test/wrapper.ts

Copy link
Collaborator Author

youngkidwarrior commented Sep 10, 2025

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@youngkidwarrior youngkidwarrior marked this pull request as ready for review September 10, 2025 00:56
Why:
Speed up tests by running a pinned Anvil Base fork in Docker and
prefetching contract state to avoid cold RPC delays.

Details:
- scripts/dev/anvil-base.ts: dockerize Anvil with block pin, small block time,
  Superfluid + token prefetch via foundry cast, and readiness polling
- package.json: add dev:anvil-base and check:superfluid scripts
- docs/platform.md: usage, env variables, and run instructions

Test plan:
- ANVIL_BASE_FORK_URL= bunx zx scripts/dev/anvil-base.ts
- bunx hardhat test --network anvil
@youngkidwarrior youngkidwarrior force-pushed the test_mocks_add_mockerc20_mockerc4626vault_and_mocksendearnfactory branch from a1f1115 to fb7f937 Compare September 12, 2025 11:08
@youngkidwarrior youngkidwarrior force-pushed the test_make_suite_self-contained_by_deploying_mock_erc20_creating_wrapper_and_local_vaults_no_env_ branch from 581b600 to 09c3102 Compare September 12, 2025 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants