Quote integers in sync committee contributions (#2515)

## Issue Addressed

Closes #2514

## Additional Info

I've verified that the API now behaves correctly on altair-devnet-3
This commit is contained in:
Michael Sproul 2021-08-17 02:35:23 +00:00
parent c0a2f501d9
commit bc6a848ded

View File

@ -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,