Skip to content

Commit

Permalink
fix: bump wallet connect version
Browse files Browse the repository at this point in the history
  • Loading branch information
totraev committed Nov 30, 2024
1 parent 067e55e commit 341d646
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"dependencies": {
"@babylonlabs-io/babylon-proto-ts": "0.0.3-canary.3",
"@babylonlabs-io/bbn-core-ui": "^0.2.0",
"@babylonlabs-io/bbn-wallet-connect": "^0.0.21",
"@babylonlabs-io/bbn-wallet-connect": "^0.0.23",
"@babylonlabs-io/btc-staking-ts": "0.4.0-canary.3",
"@bitcoin-js/tiny-secp256k1-asmjs": "2.2.3",
"@bitcoinerlab/secp256k1": "^1.1.1",
Expand Down
8 changes: 4 additions & 4 deletions src/app/context/wallet/WalletConnectionProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Network, WalletProvider } from "@babylonlabs-io/bbn-wallet-connect";
import { type PropsWithChildren } from "react";

import { ErrorState } from "@/app/types/errors";
import { keplrRegistry } from "@/config/wallet/babylon";
import { bbnDevnet } from "@/config/wallet/babylon";

import { useError } from "../Error/ErrorContext";

Expand All @@ -23,9 +23,9 @@ const config = [
{
chain: "BBN",
config: {
chainId: keplrRegistry.chainId,
rpc: keplrRegistry.rpc,
chainData: keplrRegistry,
chainId: bbnDevnet.chainId,
rpc: bbnDevnet.rpc,
chainData: bbnDevnet,
},
},
] as const;
Expand Down
2 changes: 1 addition & 1 deletion src/config/wallet/babylon.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Temporary solution until we have a stable chain registry
// The values here shall match from https://rpc.devnet.babylonlabs.io/genesis?
export const keplrRegistry = {
export const bbnDevnet = {
chainId: "devnet-7",
chainName: "Babylon Devnet 7",
chainSymbolImageUrl:
Expand Down

0 comments on commit 341d646

Please sign in to comment.