-
Notifications
You must be signed in to change notification settings - Fork 42
Closed
Labels
Description
Description
Allow users to define custom gas and resource cost models for the simulator to match private network configurations.
Requirements and Context
- Background: Private networks might have different economic parameters than Mainnet.
- Success Criteria (Done):
--gas-model ./model.jsonoverrides host costs.
Suggested Execution
- Fork/Branch:
feature/advanced-custom-gas - Implementation:
- Implement a JSON parser for host budget costs.
- Inject custom costs into the
soroban-env-host.
Test and Commit
- Testing:
- Override a cost and verify it is reflected in the simulation result.
- PR Inclusions:
- Gas model parser and host override logic.
Example Commit Message
feat(advanced): support custom gas and budget cost models
Guidelines
- Must-haves: Validation that the model is mathematically sound.
Reactions are currently unavailable