Skip to content

Add new metadatav3 field custody_subnet_count to GET node/identity API #6348

Closed
@jimmygchen

Description

@jimmygchen

Description

The custody_subnet_count field has been added to MetaDataV3, but we don't return it in the HTTP api yet and should be added:

metadata: api_types::MetaData {
seq_number: *meta_data.seq_number(),
attnets: format!(
"0x{}",
hex::encode(meta_data.attnets().clone().into_bytes()),
),
syncnets: format!(
"0x{}",
hex::encode(
meta_data
.syncnets()
.cloned()
.unwrap_or_default()
.into_bytes()
)
),
},

Metadata

Metadata

Assignees

Labels

HTTP-APIdasData Availability Sampling

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions