From bc6a848ded2a3dda81d28a034d0190a9f6fdc677 Mon Sep 17 00:00:00 2001 From: Michael Sproul Date: Tue, 17 Aug 2021 02:35:23 +0000 Subject: [PATCH] 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 --- consensus/types/src/sync_committee_contribution.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/consensus/types/src/sync_committee_contribution.rs b/consensus/types/src/sync_committee_contribution.rs index c8fce78a8..ae92df672 100644 --- a/consensus/types/src/sync_committee_contribution.rs +++ b/consensus/types/src/sync_committee_contribution.rs @@ -21,6 +21,7 @@ pub enum Error { pub struct SyncCommitteeContribution { pub slot: Slot, pub beacon_block_root: Hash256, + #[serde(with = "serde_utils::quoted_u64")] pub subcommittee_index: u64, pub aggregation_bits: BitVector, pub signature: AggregateSignature,