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
3 changes: 1 addition & 2 deletions signers/signer-cosmos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@
},
"dependencies": {
"@cosmjs/launchpad": "^0.27.1",
"@cosmjs/stargate": "^0.31.0",
"@cosmjs/stargate": "^0.34.0",
"cosmjs-types": "^0.5.2",
"long": "^4.0.0",
"rango-types": "^0.4.0"
},
"devDependencies": {
Expand Down
6 changes: 1 addition & 5 deletions signers/signer-cosmos/src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {
TxRaw,
} from '@keplr-wallet/proto-types/cosmos/tx/v1beta1/tx.js';
import { MsgExecuteContract } from 'cosmjs-types/cosmwasm/wasm/v1/tx.js';
import Long from 'long';
import { SignerError, SignerErrorCode } from 'rango-types';

const STARGATE_CLIENT_OPTIONS = {
Expand Down Expand Up @@ -113,10 +112,7 @@ export const executeCosmosTransaction = async (
: [];

const defaultGas = STARGATE_CLIENT_OPTIONS.gasLimits.transfer.toString();
const gasLimit =
typeof fee?.gas === 'string'
? Long.fromString(fee?.gas).toString()
: defaultGas;
const gasLimit = typeof fee?.gas === 'string' ? fee?.gas : defaultGas;
const broadcastTxRes = await sendingStargateClient.signAndBroadcast(
cosmosTx.fromWalletAddress,
msgsWithoutType,
Expand Down
7 changes: 4 additions & 3 deletions wallets/provider-keplr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,20 @@
"lint": "eslint \"**/*.{ts,tsx}\""
},
"dependencies": {
"@chain-registry/keplr": "^2.0.110",
"@chain-registry/keplr": "^2.0.198",
"@rango-dev/signer-cosmos": "^0.39.2-next.1",
"@rango-dev/wallets-core": "^0.58.2-next.2",
"@rango-dev/wallets-shared": "^0.59.2-next.2",
"rango-types": "^0.4.0"
},
"devDependencies": {
"@keplr-wallet/types": "^0.11.21"
"@keplr-wallet/types": "^0.13.26",
"starknet": "^8"
},
"resolutions": {
"@keplr-wallet/types/secretjs/protobufjs": "^6.11.4"
},
"publishConfig": {
"access": "public"
}
}
}
11 changes: 1 addition & 10 deletions wallets/provider-walletconnect-2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@
"lint": "eslint \"**/*.{ts,tsx}\""
},
"dependencies": {
"@cosmjs/launchpad": "^0.27.1",
"@keplr-wallet/cosmos": "^0.9.12",
"@keplr-wallet/simple-fetch": "^0.12.14",
"@rango-dev/logging-core": "^0.12.1",
"@rango-dev/signer-cosmos": "^0.39.2-next.1",
"@rango-dev/signer-evm": "^0.41.2-next.1",
"@rango-dev/signer-solana": "^0.47.2-next.1",
"@rango-dev/wallets-shared": "^0.59.2-next.2",
Expand All @@ -35,18 +31,13 @@
"@walletconnect/utils": "^2.11.2",
"bs58": "^5.0.0",
"caip": "^1.1.1",
"cosmos-wallet": "^1.2.0",
"rango-types": "^0.4.0"
},
"devDependencies": {
"@walletconnect/modal": "^2.6.2",
"@walletconnect/types": "^2.11.2"
},
"resolutions": {
"protobufjs": "^6.11.4",
"@keplr-wallet/cosmos/@keplr-wallet/types/secretjs/protobufjs": "^6.14.4"
},
"publishConfig": {
"access": "public"
}
}
}
9 changes: 0 additions & 9 deletions wallets/provider-walletconnect-2/src/signer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ export default async function getSigners(
async () => await import('./signers/evm.js')
)
).default;
const COSMOSSigner = (
await dynamicImportWithRefinedError(
async () => await import('./signers/cosmos.js')
)
).default;
const SOLANASigner = (
await dynamicImportWithRefinedError(
async () => await import('./signers/solana.js')
Expand All @@ -32,10 +27,6 @@ export default async function getSigners(
TxType.EVM,
new EVMSigner(instance.client, instance.session)
);
signers.registerSigner(
TxType.COSMOS,
new COSMOSSigner(instance.client, instance.session)
);
signers.registerSigner(
TxType.SOLANA,
new SOLANASigner(instance.client, instance.session)
Expand Down
248 changes: 0 additions & 248 deletions wallets/provider-walletconnect-2/src/signers/cosmos.ts

This file was deleted.

Loading
Loading