Skip to content

Commit

Permalink
Merge branch 'master' into fix-filter-out-starknet-testnet-on-mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaituVR authored Oct 10, 2024
2 parents 7485725 + b0eacfa commit 817ff55
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/schemas/space.json
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,8 @@
"anyOf": [
{ "format": "evmAddress" },
{ "format": "starknetAddress" }
]
],
"errorMessage": "Must be a valid EVM of Starknet address"
},
"delegationNetwork": {
"type": "string",
Expand All @@ -273,7 +274,8 @@
"anyOf": [
{ "snapshotNetwork": true },
{ "starknetNetwork": true }
]
],
"errorMessage": "Must be a valid network"
},
"delegationApi": {
"type": "string",
Expand Down Expand Up @@ -379,15 +381,17 @@
"anyOf": [
{ "format": "evmAddress" },
{ "format": "starknetAddress" }
]
],
"errorMessage": "Must be a valid EVM of Starknet address"
},
"network": {
"type": "string",
"title": "Network",
"anyOf": [
{ "snapshotNetwork": true },
{ "starknetNetwork": true }
]
],
"errorMessage": "Must be a valid network"
}
},
"required": ["name", "address", "network"],
Expand Down

0 comments on commit 817ff55

Please sign in to comment.