-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Relay path meta data to chain-registry (#206)
* create paths json schema * create akash network paths file * add tag description * akash paths v2 * paths schema v2 * "_v2" is the decided upon schema * change "order" to "ordering"
- Loading branch information
Showing
2 changed files
with
356 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,239 @@ | ||
{ | ||
"$schema": "../paths.schema.json", | ||
"paths": [ | ||
{ | ||
"src": { | ||
"client-id": "07-tendermint-48", | ||
"connection-id": "connection-23" | ||
}, | ||
"dst": { | ||
"chain-name": "cryptoorgchain", | ||
"client-id": "07-tendermint-65", | ||
"connection-id": "connection-38" | ||
}, | ||
"channels": [ | ||
{ | ||
"src": { | ||
"channel-id": "channel-14", | ||
"port-id": "transfer" | ||
}, | ||
"dst": { | ||
"channel-id": "channel-21", | ||
"port-id": "transfer" | ||
}, | ||
"ordering": "unordered", | ||
"version": "ics20-1", | ||
"tags": {} | ||
} | ||
] | ||
}, | ||
{ | ||
"src": { | ||
"client-id": "07-tendermint-45", | ||
"connection-id": "connection-21" | ||
}, | ||
"dst": { | ||
"chain-name": "sentinelhub", | ||
"client-id": "07-tendermint-42", | ||
"connection-id": "connection-27" | ||
}, | ||
"channels": [ | ||
{ | ||
"src": { | ||
"channel-id": "channel-12", | ||
"port-id": "transfer" | ||
}, | ||
"dst": { | ||
"channel-id": "channel-6", | ||
"port-id": "transfer" | ||
}, | ||
"ordering": "unordered", | ||
"version": "ics20-1", | ||
"tags": {} | ||
} | ||
] | ||
}, | ||
{ | ||
"src": { | ||
"client-id": "07-tendermint-53", | ||
"connection-id": "connection-29" | ||
}, | ||
"dst": { | ||
"chain-name": "cosmoshub", | ||
"client-id": "07-tendermint-385", | ||
"connection-id": "connection-339" | ||
}, | ||
"channels": [ | ||
{ | ||
"src": { | ||
"channel-id": "channel-17", | ||
"port-id": "transfer" | ||
}, | ||
"dst": { | ||
"channel-id": "channel-184", | ||
"port-id": "transfer" | ||
}, | ||
"ordering": "unordered", | ||
"version": "ics20-1", | ||
"tags": {} | ||
} | ||
] | ||
}, | ||
{ | ||
"src": { | ||
"client-id": "07-tendermint-59", | ||
"connection-id": "connection-35" | ||
}, | ||
"dst": { | ||
"chain-name": "starname", | ||
"client-id": "07-tendermint-29", | ||
"connection-id": "connection-18" | ||
}, | ||
"channels": [ | ||
{ | ||
"src": { | ||
"channel-id": "channel-23", | ||
"port-id": "transfer" | ||
}, | ||
"dst": { | ||
"channel-id": "channel-6", | ||
"port-id": "transfer" | ||
}, | ||
"ordering": "unordered", | ||
"version": "ics20-1", | ||
"tags": {} | ||
} | ||
] | ||
}, | ||
{ | ||
"src": { | ||
"client-id": "07-tendermint-44", | ||
"connection-id": "connection-19" | ||
}, | ||
"dst": { | ||
"chain-name": "irisnet", | ||
"client-id": "07-tendermint-23", | ||
"connection-id": "connection-16" | ||
}, | ||
"channels": [ | ||
{ | ||
"src": { | ||
"channel-id": "channel-11", | ||
"port-id": "transfer" | ||
}, | ||
"dst": { | ||
"channel-id": "channel-9", | ||
"port-id": "transfer" | ||
}, | ||
"ordering": "unordered", | ||
"version": "ics20-1", | ||
"tags": {} | ||
} | ||
] | ||
}, | ||
{ | ||
"src": { | ||
"client-id": "07-tendermint-18", | ||
"connection-id": "connection-11" | ||
}, | ||
"dst": { | ||
"chain-name": "osmosis", | ||
"client-id": "07-tendermint-0", | ||
"connection-id": "connection-2" | ||
}, | ||
"channels": [ | ||
{ | ||
"src": { | ||
"channel-id": "channel-9", | ||
"port-id": "transfer" | ||
}, | ||
"dst": { | ||
"channel-id": "channel-1", | ||
"port-id": "transfer" | ||
}, | ||
"ordering": "unordered", | ||
"version": "ics20-1", | ||
"tags": {} | ||
} | ||
] | ||
}, | ||
{ | ||
"src": { | ||
"client-id": "07-tendermint-47", | ||
"connection-id": "connection-22" | ||
}, | ||
"dst": { | ||
"chain-name": "regen", | ||
"client-id": "07-tendermint-20", | ||
"connection-id": "connection-9" | ||
}, | ||
"channels": [ | ||
{ | ||
"src": { | ||
"channel-id": "channel-13", | ||
"port-id": "transfer" | ||
}, | ||
"dst": { | ||
"channel-id": "channel-7", | ||
"port-id": "transfer" | ||
}, | ||
"ordering": "unordered", | ||
"version": "ics20-1", | ||
"tags": {} | ||
} | ||
] | ||
}, | ||
{ | ||
"src": { | ||
"client-id": "07-tendermint-61", | ||
"connection-id": "connection-36" | ||
}, | ||
"dst": { | ||
"chain-name": "sifchain", | ||
"client-id": "07-tendermint-11", | ||
"connection-id": "connection-2" | ||
}, | ||
"channels": [ | ||
{ | ||
"src": { | ||
"channel-id": "channel-24", | ||
"port-id": "transfer" | ||
}, | ||
"dst": { | ||
"channel-id": "channel-2", | ||
"port-id": "transfer" | ||
}, | ||
"ordering": "unordered", | ||
"version": "ics20-1", | ||
"tags": {} | ||
} | ||
] | ||
}, | ||
{ | ||
"src": { | ||
"client-id": "07-tendermint-15", | ||
"connection-id": "connection-8" | ||
}, | ||
"dst": { | ||
"chain-name": "persistence", | ||
"client-id": "07-tendermint-5", | ||
"connection-id": "connection-4" | ||
}, | ||
"channels": [ | ||
{ | ||
"src": { | ||
"channel-id": "channel-6", | ||
"port-id": "transfer" | ||
}, | ||
"dst": { | ||
"channel-id": "channel-5", | ||
"port-id": "transfer" | ||
}, | ||
"ordering": "unordered", | ||
"version": "ics20-1", | ||
"tags": {} | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Relayer Paths", | ||
"description": "Path metadata to relay packets between two different chains.", | ||
"type": "object", | ||
"required": [ | ||
"paths" | ||
], | ||
"properties": { | ||
"paths": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"required": [ | ||
"src", | ||
"dst", | ||
"channels" | ||
], | ||
"properties": { | ||
"src": { | ||
"type": "object", | ||
"required": [ | ||
"client-id", | ||
"connection-id" | ||
], | ||
"properties": { | ||
"client-id": { | ||
"type": "string", | ||
"description": "#/$defs/client-id-description" | ||
}, | ||
"connection-id": { | ||
"type": "string", | ||
"description": "#/$defs/connection-id-description" | ||
} | ||
} | ||
}, | ||
"dst": { | ||
"type": "object", | ||
"required": [ | ||
"chain-name", | ||
"client-id", | ||
"connection-id" | ||
], | ||
"properties": { | ||
"chain-name": { | ||
"type": "string" | ||
}, | ||
"client-id": { | ||
"type": "string", | ||
"description": "#/$defs/client-id-description" | ||
}, | ||
"connection-id": { | ||
"type": "string", | ||
"description": "#/$defs/connection-id-description" | ||
} | ||
} | ||
}, | ||
"channels": { | ||
"type": "array", | ||
"items": [ | ||
{ | ||
"type": "object", | ||
"required": [ | ||
"src", | ||
"dst", | ||
"ordering", | ||
"version" | ||
], | ||
"properties": { | ||
"src": { | ||
"$ref": "#/$defs/channel_info" | ||
}, | ||
"dst": { | ||
"$ref": "#/$defs/channel_info" | ||
}, | ||
"ordering": { | ||
"type": "string", | ||
"description": "Determines if packets from a sending module must be ORDERED or UNORDERED." | ||
}, | ||
"version": { | ||
"type": "string", | ||
"description": "IBC Version" | ||
}, | ||
"tags": { | ||
"type": "object", | ||
"description": "Human readable key:value pair that describes what the path is servicing. E.g. 'DEX': 'Osmosis'" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"$defs": { | ||
"channel_info": { | ||
"type": "object", | ||
"required": [ | ||
"channel-id", | ||
"port-id" | ||
], | ||
"properties": { | ||
"channel-id": { | ||
"type": "string", | ||
"description": "The channel ID on the corresponding chain's connection representing a channel on the other chain." | ||
}, | ||
"port-id": { | ||
"type": "string", | ||
"description": "The IBC port ID which a relevant module binds to on the corresponding chain." | ||
} | ||
} | ||
}, | ||
"client-id-description": "The client ID on the corresponding chain representing the other chain's light client.", | ||
"connection-id-description": "The connection ID on the corresponding chain representing a connection to the other chain." | ||
} | ||
} |