feat: typed scenario loader, fee_stats serving, axum router bootstrap#287
Open
Tyler7x wants to merge 4 commits into
Open
feat: typed scenario loader, fee_stats serving, axum router bootstrap#287Tyler7x wants to merge 4 commits into
Tyler7x wants to merge 4 commits into
Conversation
…al.json fix Closes StellarCommons#214 Closes StellarCommons#215 Closes StellarCommons#216 Closes StellarCommons#217 Co-Authored-By: Tyler7x <Tyler7x@users.noreply.github.com>
|
@Tyler7x Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
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
normal.jsonhas correct Horizon fee_stats shape (mode=100, p50=100, p90=200, p95=300, p99=500)Scenario,ScenarioFeeStats,FeeDistributiontyped structs withload_scenario()that validates required fieldsHorizonMock::fee_stats_payload_validated()using typed deserialization for safe scenario servingaxumrouter withGET /fee_statsandGET /healthroutes via asyncserve(mock, port)functionCloses #214
Closes #215
Closes #216
Closes #217