Contribution Guide
- PRs go to the
dev branch, not main
- Application must explain your specific approach to this task; generic applications will not be assigned
- PR description must clearly describe what you built and changed
- Link your PR to the correct issue number
Simulation failures (e.g., contract traps, budget exceeded) return a specific JSON structure. We need a test to ensure simulate_transaction correctly parses these errors and returns the appropriate PrismError::RpcError.
Implementation Guidelines Key Files: crates/core/src/rpc/client.rs.
Expectations What done looks like: A unit test verifies that simulate_transaction returns an error when the RPC response contains a simulation failure, with the error message correctly extracted.
For any question, reach me on Discord: emry_ss
Contribution Guide
devbranch, notmainSimulation failures (e.g., contract traps, budget exceeded) return a specific JSON structure. We need a test to ensure simulate_transaction correctly parses these errors and returns the appropriate PrismError::RpcError.
Implementation Guidelines Key Files: crates/core/src/rpc/client.rs.
Expectations What done looks like: A unit test verifies that simulate_transaction returns an error when the RPC response contains a simulation failure, with the error message correctly extracted.
For any question, reach me on Discord: emry_ss