-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
A-docsUpdates or fixes to project documentationUpdates or fixes to project documentationP-lowLow-priority or non-urgent tasksLow-priority or non-urgent tasksT-documentationIssues or PRs related to documentation updatesIssues or PRs related to documentation updatescla: allowlist
Description
Describe the feature
The absence of a documented local testing strategy presents a significant hurdle. Without a documented local setup, relying on public testnets is less controllable, introduces potential costs, and slows down the feedback loop. A dedicated local testing environment would provide a faster, more controlled, and cost-effective way to iterate on monitor development and debugging.
I think it would be beneficial to add support and documentation for setting up a local EVM testing environment using Foundry, specifically:
- Anvil to run local EVM node
- Cast to send transactions to a local EVM node and trigger monitor conditions
- Forge to compile and deploy test contracts
This feature would primarily involve:
- Adding documentation describing setup and usage
- Adding network configuration for Anvil
- Adding monitor configuration adapted for a locally deployed contract
- Solidity contract(s) for testing (can start with just an ERC-20)
This setup will greatly enhance the testability and reliability of monitors and filters before they are deployed to watch mainnet or testnet environments.
Additional context
No response
shahnami
Metadata
Metadata
Assignees
Labels
A-docsUpdates or fixes to project documentationUpdates or fixes to project documentationP-lowLow-priority or non-urgent tasksLow-priority or non-urgent tasksT-documentationIssues or PRs related to documentation updatesIssues or PRs related to documentation updatescla: allowlist