Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
tehkohrz committed Sep 13, 2024
2 parents d515353 + 063d2f7 commit e29bfd9
Show file tree
Hide file tree
Showing 203 changed files with 3,898 additions and 1,158 deletions.
1 change: 1 addition & 0 deletions .github/workflows/utility/chain_registry.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const domains = Array.from(domainToDirectoryNameMap.keys());
const fileToFileNameMap = new Map();
fileToFileNameMap.set("chain", "chain.json");
fileToFileNameMap.set("assetlist", "assetlist.json");
fileToFileNameMap.set("versions", "versions.json");
const files = Array.from(domainToDirectoryNameMap.keys());

export const nonChainDirectories = [
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/utility/chain_registry_local.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const domains = Array.from(domainToDirectoryNameMap.keys());
const fileToFileNameMap = new Map();
fileToFileNameMap.set("chain", "chain.json");
fileToFileNameMap.set("assetlist", "assetlist.json");
fileToFileNameMap.set("versions", "versions.json");
const files = Array.from(domainToDirectoryNameMap.keys());

export const nonChainDirectories = [
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/utility/validate_data.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,18 @@ function checkImageSyncIsValid(chain_name, asset) {
}


function checkVersionsFileAndVersionsArray(chain_name) {

const versionsFile = chain_reg.getFileProperty(chain_name, "versions", "versions");
const versionsArray = chain_reg.getFileProperty(chain_name, "chain", "codebase")?.versions;

if (versionsFile && versionsArray) {
throw new Error(`Invalid versions array detected in chain.json for ${chain_name}. versions.json already used.`);
}

}


function checkReplacementVersionProperties(chain_name) {

const codebase = chain_reg.getFileProperty(chain_name, "chain", "codebase");
Expand Down Expand Up @@ -301,6 +313,9 @@ export function validate_chain_files() {
//check if all old version properties' data are added into the new replacement version properties
checkReplacementVersionProperties(chain_name);

//check that versions[] cannot be defined in chain.json when versions.json exists
checkVersionsFileAndVersionsArray(chain_name);

//get chain's assets
const chainAssets = chain_reg.getFileProperty(chain_name, "assetlist", "assets");

Expand Down
31 changes: 31 additions & 0 deletions _IBC/andromeda-osmosis.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"$schema": "../ibc_data.schema.json",
"chain_1": {
"chain_name": "andromeda",
"client_id": "07-tendermint-19",
"connection_id": "connection-15"
},
"chain_2": {
"chain_name": "osmosis",
"client_id": "07-tendermint-3250",
"connection_id": "connection-2735"
},
"channels": [
{
"chain_1": {
"channel_id": "channel-17",
"port_id": "transfer"
},
"chain_2": {
"channel_id": "channel-81924",
"port_id": "transfer"
},
"ordering": "unordered",
"version": "ics20-1",
"tags": {
"status": "live",
"preferred": true
}
}
]
}
31 changes: 31 additions & 0 deletions _IBC/axelar-nolus.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"$schema": "../ibc_data.schema.json",
"chain_1": {
"chain_name": "axelar",
"client_id": "07-tendermint-205",
"connection_id": "connection-186"
},
"chain_2": {
"chain_name": "nolus",
"client_id": "07-tendermint-17",
"connection_id": "connection-13"
},
"channels": [
{
"chain_1": {
"channel_id": "channel-143",
"port_id": "transfer"
},
"chain_2": {
"channel_id": "channel-10177",
"port_id": "transfer"
},
"ordering": "unordered",
"version": "ics20-1",
"tags": {
"status": "live",
"preferred": true
}
}
]
}
31 changes: 31 additions & 0 deletions _IBC/beezee-noble.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"$schema": "../ibc_data.schema.json",
"chain_1": {
"chain_name": "beezee",
"client_id": "07-tendermint-9",
"connection_id": "connection-3"
},
"chain_2": {
"chain_name": "noble",
"client_id": "07-tendermint-112",
"connection_id": "connection-107"
},
"channels": [
{
"chain_1": {
"channel_id": "channel-3",
"port_id": "transfer"
},
"chain_2": {
"channel_id": "channel-95",
"port_id": "transfer"
},
"ordering": "unordered",
"version": "ics20-1",
"tags": {
"status": "live",
"preferred": true
}
}
]
}
31 changes: 31 additions & 0 deletions _IBC/bostrom-cosmoshub.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"$schema": "../ibc_data.schema.json",
"chain_1": {
"chain_name": "bostrom",
"client_id": "07-tendermint-15",
"connection_id": "connection-10"
},
"chain_2": {
"chain_name": "cosmoshub",
"client_id": "07-tendermint-764",
"connection_id": "connection-553"
},
"channels": [
{
"chain_1": {
"channel_id": "channel-8",
"port_id": "transfer"
},
"chain_2": {
"channel_id": "channel-341",
"port_id": "transfer"
},
"ordering": "unordered",
"version": "ics20-1",
"tags": {
"status": "live",
"preferred": true
}
}
]
}
31 changes: 31 additions & 0 deletions _IBC/canto-gravitybridge.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"$schema": "../ibc_data.schema.json",
"chain_1": {
"chain_name": "canto",
"client_id": "07-tendermint-0",
"connection_id": "07-tendermint-0"
},
"chain_2": {
"chain_name": "gravitybridge",
"client_id": "07-tendermint-156",
"connection_id": "connection-150"
},
"channels": [
{
"chain_1": {
"channel_id": "channel-0",
"port_id": "transfer"
},
"chain_2": {
"channel_id": "channel-88",
"port_id": "transfer"
},
"ordering": "unordered",
"version": "ics20-1",
"tags": {
"status": "live",
"preferred": true
}
}
]
}
2 changes: 1 addition & 1 deletion _non-cosmos/aptos/assetlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@
]
}
]
}
}
24 changes: 17 additions & 7 deletions _non-cosmos/arbitrum/assetlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@
"base_denom": "wei"
},
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/eth-white.svg",
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/eth-white.png"
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/eth-white.png",
"theme": {
"primary_color_hex": "#303030"
}
}
]
},
Expand Down Expand Up @@ -119,7 +122,10 @@
"base_denom": "wei"
},
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/eth-white.svg",
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/eth-white.png"
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/eth-white.png",
"theme": {
"primary_color_hex": "#303030"
}
}
]
},
Expand Down Expand Up @@ -177,8 +183,10 @@
},
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/usdc.svg",
"theme": {
"circle": true
}
"circle": true,
"primary_color_hex": "#2775CA"
},
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/usdc.png"
}
]
},
Expand Down Expand Up @@ -222,8 +230,10 @@
},
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/usdc.svg",
"theme": {
"circle": true
}
"circle": true,
"primary_color_hex": "#2775CA"
},
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/usdc.png"
}
]
},
Expand Down Expand Up @@ -273,4 +283,4 @@
]
}
]
}
}
36 changes: 36 additions & 0 deletions _non-cosmos/avail/assetlist.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"$schema": "../../assetlist.schema.json",
"chain_name": "avail",
"assets": [
{
"description": "Avail is a web3 infrastructure layer that allows modular execution layers to scale and interoperate in a trust minimized way.",
"extended_description": "Avail is a unification layer for Web3 that decouples the data availability layer, making it easier for developers to focus on execution and settlement. It's built to make applications fast, efficient, and scalable. Avail works with any execution environment designed to scale blockchains. ",
"type_asset": "unknown",
"denom_units": [
{
"denom": "avail",
"exponent": 0
},
{
"denom": "AVAIL",
"exponent": 18
}
],
"base": "avail",
"name": "Avail",
"display": "AVAIL",
"symbol": "AVAIL",
"coingecko_id": "avail",
"images": [
{
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/avail/images/avail.svg",
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/avail/images/avail.png",
"theme": {
"circle": false,
"primary_color_hex": "#2B80D7"
}
}
]
}
]
}
Binary file added _non-cosmos/avail/images/avail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit e29bfd9

Please sign in to comment.