Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add L1 validator fees API #3647

Merged
merged 9 commits into from
Jan 16, 2025
Merged

Add L1 validator fees API #3647

merged 9 commits into from
Jan 16, 2025

Conversation

StephenButtolph
Copy link
Contributor

Why this should be merged

Currently it is difficult to learn what the current fee is for L1 validators.

How this works

Adds APIs:

  • platform.getValidatorFeeConfig
  • platform.getValidatorFeeState

It was decided against modifying the existing APIs platform.getFeeConfig and platform.getFeeState because that would have made the types more complex.

How this was tested

Added unit tests similar to platform.getFeeConfig and platform.getFeeState.

Need to be documented in RELEASES.md?

Documented the new APIs in both service.md and RELEASES.md.

Copy link
Contributor

@meaghanfitzgerald meaghanfitzgerald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion to order the endpoints alphabetically #3648

Comment on lines +11 to +12
- Removed:
- `info.GetTxFee`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was this affected by the rollback?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No - that is unrelated to this PR

StephenButtolph and others added 2 commits January 16, 2025 12:11
Co-authored-by: Meaghan FitzGerald <[email protected]>
Signed-off-by: Stephen Buttolph <[email protected]>
Co-authored-by: Meaghan FitzGerald <[email protected]>
Signed-off-by: Stephen Buttolph <[email protected]>
@StephenButtolph StephenButtolph added this pull request to the merge queue Jan 16, 2025
Merged via the queue into master with commit 54d8b06 Jan 16, 2025
22 checks passed
@StephenButtolph StephenButtolph deleted the add-validator-fee-apis branch January 16, 2025 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants