Skip to content

Commit

Permalink
Quote integers in sync committee contributions (#2515)
Browse files Browse the repository at this point in the history
## Issue Addressed

Closes #2514

## Additional Info

I've verified that the API now behaves correctly on altair-devnet-3
  • Loading branch information
michaelsproul committed Aug 17, 2021
1 parent c0a2f50 commit bc6a848
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions consensus/types/src/sync_committee_contribution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ pub enum Error {
pub struct SyncCommitteeContribution<T: EthSpec> {
pub slot: Slot,
pub beacon_block_root: Hash256,
#[serde(with = "serde_utils::quoted_u64")]
pub subcommittee_index: u64,
pub aggregation_bits: BitVector<T::SyncSubcommitteeSize>,
pub signature: AggregateSignature,
Expand Down

0 comments on commit bc6a848

Please sign in to comment.