-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(sequencer): allow querying fee components (#1748)
## Summary Returns a all fee components at the latest height when sending an ABCI info request containing the path `"fees/components"`. ## Background Right now information on the sequencer state is very limited. This patch allows getting a bit more info out of it. ## Changes - Adds a handler for the path `"fees/components"` into the ABCI info service running inside sequencer. - The handler returns a JSON object containing the values for each component. Each component can return one of the 3 states shown below: ``` { "transaction": { base: 1, multiplier: 2, }, "rollup_data_submission": "not set", "ibc_relay": "<some error message", } ``` ## Testing Provided an error for sending a high level ABCI info request to the `Info` service.
- Loading branch information
1 parent
a0b2795
commit e1a4f02
Showing
5 changed files
with
427 additions
and
43 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.