Skip to content

Commit

Permalink
feat: check op bridge info exists (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
ALPAC-4 authored Jun 12, 2024
1 parent 5027f21 commit a85bd79
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion chain.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,16 @@
"description": "[Optional] The type of minitia and the version of it "
}
},
"additionalProperties": true
"additionalProperties": true,
"if": {
"not": {
"properties": {
"is_l1": { "const": true }
},
"required": ["is_l1"]
}
},
"then": { "required": ["op_bridge_id", "op_denoms"] }
}
},
"additionalProperties": false,
Expand Down

0 comments on commit a85bd79

Please sign in to comment.