Skip to content

Commit

Permalink
update chain reg code reference (#2030)
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyParish69 authored Nov 12, 2024
1 parent 6efcb2d commit 2e13aae
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 7 deletions.
1 change: 0 additions & 1 deletion .github/workflows/utility/assetlist_functions.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import * as fs from 'fs';
import * as path from 'path';
import * as chain_reg from './chain_registry.mjs';
import * as json_mgmt from './json_management.mjs';


Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/utility/generateCoinGeckoUpdates.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
//-- Imports --

import * as zone from "./assetlist_functions.mjs";
import * as chain_reg from '../../../chain-registry/.github/workflows/utility/chain_registry.mjs';
import * as chain_reg from "../../../chain-registry/.github/workflows/utility/chain_registry.mjs";
chain_reg.setup();
import * as path from 'path';
import * as api_mgmt from './api_management.mjs';
import * as json_mgmt from './json_management.mjs';
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/utility/generateMintscanAssets.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
//-- Imports --

import * as zone from "./assetlist_functions.mjs";
import * as chain_reg from '../../../chain-registry/.github/workflows/utility/chain_registry.mjs';
import * as chain_reg from "../../../chain-registry/.github/workflows/utility/chain_registry.mjs";
chain_reg.setup();
import * as path from 'path';

const mintscanAssetsFileName = "assets.json";
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/utility/generate_assetlist.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
//-- Imports --

import * as chain_reg from "../../../chain-registry/.github/workflows/utility/chain_registry.mjs";
chain_reg.setup();
import * as zone from "./assetlist_functions.mjs";
import { getAssetsPricing } from "./getPools.mjs";
import { getAllRelatedAssets } from "./getRelatedAssets.mjs";
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/utility/generate_assetlist_functions.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
//-- Imports --

import * as chain_reg from "../../../chain-registry/.github/workflows/utility/chain_registry.mjs";
chain_reg.setup();
import * as zone from "./assetlist_functions.mjs";
import { getAssetsPricing } from "./getPools.mjs";
import { getAllRelatedAssets } from "./getRelatedAssets.mjs";
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/utility/generate_chainlist.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@

import * as fs from 'fs';
import * as path from 'path';
import * as chain_reg from './chain_registry.mjs';
import * as chain_reg from "../../../chain-registry/.github/workflows/utility/chain_registry.mjs";
chain_reg.setup();


const chainNameToChainIdMap = new Map([
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/utility/generate_chainlist_new.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@

//-- Imports --

import * as chain_reg from "./chain_registry.mjs";
import * as chain_reg from "../../../chain-registry/.github/workflows/utility/chain_registry.mjs";
chain_reg.setup();
import * as zone from "./assetlist_functions.mjs";

//-- Globals --
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/utility/getRelatedAssets.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@

//-- Imports --

import * as chain_reg from './chain_registry.mjs';
import * as chain_reg from "../../../chain-registry/.github/workflows/utility/chain_registry.mjs";
chain_reg.setup();



Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/utility/validate_zone_data.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
//

import * as path from 'path';
import * as chain_reg from '../../../chain-registry/.github/workflows/utility/chain_registry.mjs';
import * as chain_reg from "../../../chain-registry/.github/workflows/utility/chain_registry.mjs";
chain_reg.setup();
import { queryPool } from './getPools.mjs';

const root = "../../..";
Expand Down

0 comments on commit 2e13aae

Please sign in to comment.