Skip to content

Commit 3b83b70

Browse files
authored
Merge of #7495
2 parents 7e2df6b + 046dee3 commit 3b83b70

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

common/eth2/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,8 @@ impl BeaconNodeHttpClient {
307307

308308
#[derive(serde::Deserialize)]
309309
struct Helper {
310+
// TODO: remove this default once checkpointz follows the spec
311+
#[serde(default = "ForkName::latest_stable")]
310312
version: ForkName,
311313
#[serde(flatten)]
312314
metadata: serde_json::Value,

0 commit comments

Comments
 (0)