File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
graph-gateway/src/network Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -202,12 +202,15 @@ fn into_subgraph_version_raw_info(
202
202
let manifest = deployment
203
203
. manifest
204
204
. ok_or_else ( || anyhow ! ( "missing manifest" ) ) ?;
205
+ let manifest_network = manifest
206
+ . network
207
+ . ok_or_else ( || anyhow ! ( "manifest missing network" ) ) ?;
205
208
206
209
let version_number = version. version ;
207
210
let version_deployment = DeploymentRawInfo {
208
211
id : deployment_id,
209
212
allocations : deployment_allocations,
210
- manifest_network : manifest . network ,
213
+ manifest_network,
211
214
manifest_start_block : manifest. start_block ,
212
215
subgraphs : Default :: default ( ) ,
213
216
transferred_to_l2 : deployment_transferred_to_l2,
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ pub mod types {
41
41
#[ derive( Debug , Clone , Deserialize ) ]
42
42
#[ serde( rename_all = "camelCase" ) ]
43
43
pub struct Manifest {
44
- pub network : String ,
44
+ pub network : Option < String > ,
45
45
#[ serde_as( as = "serde_with::DisplayFromStr" ) ]
46
46
pub start_block : BlockNumber ,
47
47
}
You can’t perform that action at this time.
0 commit comments