Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/price_pusher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion governance/xc_admin/packages/xc_admin_cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@
},
"pnpm": {
"overrides": {
"@injectivelabs/[email protected]>@injectivelabs/token-metadata": "1.10.42",
"@solana/web3.js@^1.93.0": "1.92.3"
},
"patchedDependencies": {
"[email protected]": "patches/[email protected]"
"@solana/[email protected]>rpc-websockets": "7.11.0"
}
}
}
13 changes: 0 additions & 13 deletions patches/[email protected]

This file was deleted.

16,007 changes: 8,131 additions & 7,876 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions target_chains/cosmwasm/tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
13 changes: 3 additions & 10 deletions target_chains/cosmwasm/tools/src/ci/deployer/osmosis.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -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;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This whole block was warning because chain is a private variable that's never consumed, meaning none of this should be needed. Please someone who knows this package better -- please help take a look and make sure there's nothing hacky that's breaking the static analysis here and actually uses this in some unexpected way...

}
) {}

private async getAccountAddress(): Promise<string> {
const signer = await DirectSecp256k1HdWallet.fromMnemonic(this.mnemonic);
Expand Down
Loading