Feat/simulate foundry #13
Closed
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.
⚒️ Add Foundry Simulate: Local blockchain transaction simulation
🎯 Overview
Implemented a new Foundry Simulate feature that generates
cast callcommands for local blockchain transaction simulation, providing an alternative to Tenderly's cloud-based simulation.✨ New Features
🔧 Foundry Integration
cast callcommands with proper parameters--traceflag for detailed execution traces🎛️ Dual Simulation Options
cast callcommand📋 Comprehensive Form Fields
🌐 Multi-Network Support
🔧 Technical Implementation
Command Generation Logic
Smart Defaults
--tracefor detailed execution informationState Management
🎨 User Experience
Workflow Integration
📁 Files Added/Modified
src/components/simulate/SimulateTX.js- Main simulation component with dual tabssrc/components/simulate/SimulateFoundry.js- Foundry-specific simulation logicsrc/components/simulate/SimulateTenderly.js- Tenderly-specific simulation logicsrc/utils/networkConfig.js- Network and RPC configurationsrc/App.js- Integration with main application flowsrc/App.css- Styling for simulation tabs and components