feat(devkit/harness): error injection, congested integration test, and max_fee in all scenario JSONs#199
Merged
Tinna23 merged 1 commit intoApr 22, 2026
Conversation
fbdd5d5 to
ac13390
Compare
…all scenario JSONs - HorizonMock::with_error_rate() injects 500/503 at a configurable rate (StellarCommons#111) - tests/harness_normal.rs: asserts normal scenario p50 fee_charged == 100 (StellarCommons#112) - tests/harness_congested.rs: asserts congested p95 fee_charged > 100,000 (StellarCommons#113) - Add max_fee object to congested, normal, recovery, spike scenario JSONs (StellarCommons#114) Closes StellarCommons#111 Closes StellarCommons#112 Closes StellarCommons#113 Closes StellarCommons#114
ac13390 to
8d70f4a
Compare
demilade18-git
approved these changes
Apr 22, 2026
Tinna23
approved these changes
Apr 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Closes #111
Closes #112
Closes #113
Closes #114
Changes
HorizonMock::with_error_rate(): injects 500/503 responses at a configurable probability via--error-ratetests/harness_congested.rs: loadscongested.jsonand assertsfee_charged.p95 > 100,000max_feeobject to all four scenario JSONs (normal,congested,spike,recovery)