From df9c010c593d2ba988a8ff650bc11237eb6104fe Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Wed, 22 Jan 2025 14:34:46 -0800 Subject: [PATCH] fix codebase issue --- v1/packages/chain-registry/scripts/build.ts | 13 ------------- v2/packages/chain-registry/scripts/build.ts | 13 ------------- 2 files changed, 26 deletions(-) diff --git a/v1/packages/chain-registry/scripts/build.ts b/v1/packages/chain-registry/scripts/build.ts index 48ab79c27..6aab20af1 100644 --- a/v1/packages/chain-registry/scripts/build.ts +++ b/v1/packages/chain-registry/scripts/build.ts @@ -465,19 +465,6 @@ chainPaths.forEach((file) => { if (data.$schema.endsWith('chain.schema.json')) { if (!data.slip44) data.slip44 = 118; - if (data.codebase) { - const newCodebase = {}; - if ('cosmos_sdk_version' in data.codebase) { - newCodebase.cosmos_sdk_version = data.codebase.cosmos_sdk_version; - } - if ('cosmwasm_enabled' in data.codebase) { - newCodebase.cosmwasm_enabled = data.codebase.cosmwasm_enabled; - } - if ('cosmwasm_version' in data.codebase) { - newCodebase.cosmwasm_version = data.codebase.cosmwasm_version; - } - data.codebase = newCodebase; - } delete data.peers; if (!data.chain_name) { diff --git a/v2/packages/chain-registry/scripts/build.ts b/v2/packages/chain-registry/scripts/build.ts index 7cf3330e1..928529e04 100644 --- a/v2/packages/chain-registry/scripts/build.ts +++ b/v2/packages/chain-registry/scripts/build.ts @@ -447,19 +447,6 @@ chainPaths.forEach((file) => { if (data.$schema.endsWith('chain.schema.json')) { if (!data.slip44) data.slip44 = 118; - // if (data.codebase) { - // const newCodebase = {}; - // if ('cosmos_sdk_version' in data.codebase) { - // newCodebase.cosmos_sdk_version = data.codebase.cosmos_sdk_version; - // } - // if ('cosmwasm_enabled' in data.codebase) { - // newCodebase.cosmwasm_enabled = data.codebase.cosmwasm_enabled; - // } - // if ('cosmwasm_version' in data.codebase) { - // newCodebase.cosmwasm_version = data.codebase.cosmwasm_version; - // } - // data.codebase = newCodebase; - // } delete data.peers; if (!data.chain_name) {