fix: restore simulation_results handling in sendJsonRpcRequest - #207
Conversation
|
Caution Review failedPull request was closed or merged during review No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (2)
📝 WalkthroughWalkthroughThis PR restores support for Tenderly-style non-standard JSON-RPC responses in ChangessendJsonRpcRequest Tenderly response support
🎯 2 (Simple) | ⏱️ ~10 minutes
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
3c37dee to
01a58c8
Compare
Fixes #182
Red/green verified:
test/transport/sendJsonRpcRequest.simulation-results.test.js(real local HTTP server) reproduces the TypeError on pre-fix dev (1 failed) and passes with the fix (3 passed).Summary by CodeRabbit
Bug Fixes
simulation_resultsso these payloads are correctly returned as successful JSON-RPC responses while preserving standard result and error handling.Tests
simulation_results, standardresult, and JSON-RPCerrorresponses.Documentation