Przeglądaj źródła

chore: rebuild pnpm lockfile

Connor Prussin 8 miesięcy temu
rodzic
commit
91a7a2346d

+ 1 - 0
apps/price_pusher/package.json

@@ -71,6 +71,7 @@
     "@pythnetwork/pyth-ton-js": "workspace:*",
     "@pythnetwork/solana-utils": "workspace:*",
     "@solana/web3.js": "^1.93.0",
+    "@ton/core": "^0.59.0",
     "@ton/crypto": "^3.3.0",
     "@ton/ton": "^15.1.0",
     "@types/pino": "^7.0.5",

+ 1 - 1
governance/xc_admin/packages/xc_admin_cli/package.json

@@ -33,7 +33,7 @@
     "@solana/web3.js": "^1.73.0",
     "@sqds/mesh": "^1.0.6",
     "commander": "^9.5.0",
-    "typescript": "^4.9.4"
+    "typescript": "catalog:"
   },
   "dev-dependencies": {
     "ts-node": "^10.9.2"

+ 1 - 0
governance/xc_admin/packages/xc_admin_frontend/components/tabs/General.tsx

@@ -201,6 +201,7 @@ const General = ({ proposerServerUrl }: { proposerServerUrl: string }) => {
     uploadAnchor.setAttribute('type', 'file')
     uploadAnchor.setAttribute('accept', '.json')
     uploadAnchor.addEventListener('change', (e) => {
+      // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
       const file = (e.target as HTMLInputElement).files![0]
       const reader = new FileReader()
       reader.onload = (e) => {

+ 1 - 1
governance/xc_admin/packages/xc_admin_frontend/package.json

@@ -61,7 +61,7 @@
     "prettier": "catalog:",
     "prettier-plugin-tailwindcss": "^0.1.13",
     "tailwindcss": "^3.1.8",
-    "typescript": "^5.4.5",
+    "typescript": "catalog:",
     "vercel": "^37.12.1"
   }
 }

+ 1 - 5
package.json

@@ -23,11 +23,7 @@
   },
   "pnpm": {
     "overrides": {
-      "@injectivelabs/sdk-ts@1.10.72>@injectivelabs/token-metadata": "1.10.42",
-      "@solana/web3.js@^1.93.0": "1.92.3"
-    },
-    "patchedDependencies": {
-      "eccrypto@1.1.6": "patches/eccrypto@1.1.6.patch"
+      "@solana/web3.js@1.77.4>rpc-websockets": "7.11.0"
     }
   }
 }

+ 0 - 13
patches/eccrypto@1.1.6.patch

@@ -1,13 +0,0 @@
-diff --git a/index.js b/index.js
-index a63218b73bb5cb1d566962fac9360689341fcae0..5f05762ce04ab0934973b02f04777a3bfa75d88f 100644
---- a/index.js
-+++ b/index.js
-@@ -21,7 +21,7 @@ try {
-     throw e;
-   } else {
-     console.info('secp256k1 unavailable, reverting to browser version');
--    return (module.exports = require("./browser"));
-+    module.exports = require("./browser");
-   }
- }
- 

Plik diff jest za duży
+ 167 - 170
pnpm-lock.yaml


+ 1 - 2
target_chains/cosmwasm/tools/package.json

@@ -13,7 +13,6 @@
   "author": "",
   "license": "Apache-2.0",
   "dependencies": {
-    "@chain-registry/types": "^0.43.6",
     "@cosmjs/cosmwasm-stargate": "^0.32.3",
     "@cosmjs/encoding": "^0.32.3",
     "@cosmjs/proto-signing": "^0.32.3",
@@ -22,11 +21,11 @@
     "@injectivelabs/networks": "^1.14.6",
     "@injectivelabs/sdk-ts": "1.14.7",
     "@ltd/j-toml": "^1.38.0",
+    "@osmonauts/utils": "^1.18.0",
     "@pythnetwork/price-service-client": "workspace:*",
     "@pythnetwork/xc-admin-common": "workspace:*",
     "@terra-money/terra.js": "^3.1.10",
     "adm-zip": "^0.5.10",
-    "chain-registry": "^1.45.1",
     "dotenv": "^16.0.0",
     "ethers": "^5.4.4",
     "long": "^5.2.3",

+ 3 - 10
target_chains/cosmwasm/tools/src/ci/deployer/osmosis.ts

@@ -1,6 +1,5 @@
-import { getSigningOsmosisClient, cosmwasm, estimateOsmoFee } from "osmojs";
-import { chains } from "chain-registry";
-import { Chain } from "@chain-registry/types";
+import { getSigningOsmosisClient, cosmwasm } from "osmojs";
+import { estimateOsmoFee } from "@osmonauts/utils";
 import { readFileSync } from "fs";
 import { DeliverTxResponse, calculateFee } from "@cosmjs/stargate";
 import { wasmTypes } from "@cosmjs/cosmwasm-stargate/build/modules/wasm/messages";
@@ -16,16 +15,10 @@ export type OsmosisHost = {
 };
 
 export class OsmosisDeployer implements Deployer {
-  private chain: Chain;
   constructor(
     private endpoint: string,
     private mnemonic: string,
-  ) {
-    const c = chains.find(({ chain_name }) => chain_name === "osmosis");
-    if (c === undefined)
-      throw new Error("Could not find Osmosis in chain registry");
-    this.chain = c;
-  }
+  ) {}
 
   private async getAccountAddress(): Promise<string> {
     const signer = await DirectSecp256k1HdWallet.fromMnemonic(this.mnemonic);

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików