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

Quote uint64 and int64 examples #401

Merged
merged 1 commit into from
Jan 12, 2024
Merged

Conversation

dapplion
Copy link
Member

@dapplion dapplion commented Jan 8, 2024

Both uint64 and int64 are defined are quoted numbers, fix examples to align with their type.

Uint64:
type: string
example: "1"

Int64:
type: string
example: "1"

For reference Lighthouse stable quotes all integers in the rewards API

https://github.com/sigp/lighthouse/blob/441fc1691b69f9edc4bbdc6665f3efab16265c9b/common/eth2/src/lighthouse/attestation_rewards.rs#L8-L27

Copy link
Contributor

@rolfyone rolfyone left a comment

Choose a reason for hiding this comment

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

LGTM

@dapplion dapplion merged commit cfbe667 into ethereum:master Jan 12, 2024
3 checks passed
@dapplion dapplion deleted the rewards-types branch January 12, 2024 08:24
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.

2 participants