Skip to content

fix(startup): don't initialize WalletConnect during startup#2485

Merged
shamardy merged 1 commit intodevfrom
2484
Jun 12, 2025
Merged

fix(startup): don't initialize WalletConnect during startup#2485
shamardy merged 1 commit intodevfrom
2484

Conversation

@onur-ozkan
Copy link
Copy Markdown

We should call WalletConnectCtx::from_ctx only when necessary not during the KDF startup.

Currently, it seems like we are already calling it in several places:

image

Each of these calls attempts to initialize the WalletConnection, meaning the startup call is unnecessary. If something breaks, it indicates that we are missing the WalletConnectCtx::from_ctx call somewhere in the WalletConnect logic.

Fixes #2484

Signed-off-by: onur-ozkan <work@onurozkan.dev>
@onur-ozkan onur-ozkan changed the title don't initialize WalletConnect on KDF startup improvement(startup): don't initialize WalletConnect during startup Jun 10, 2025
@onur-ozkan onur-ozkan changed the title improvement(startup): don't initialize WalletConnect during startup fix(startup): don't initialize WalletConnect during startup Jun 10, 2025
@shamardy shamardy merged commit 158cdf9 into dev Jun 12, 2025
24 of 28 checks passed
@shamardy shamardy deleted the 2484 branch June 12, 2025 03:35
dimxy pushed a commit to dimxy/komodo-defi-framework that referenced this pull request Jun 27, 2025
* dev: (30 commits)
  chore(core): replace hash_raw_entry with stable entry() API (GLEECBTC#2473)
  chore(core): adapt `MmError` and usages for compatibility with new rustc versions (GLEECBTC#2443)
  feat(wallet): add `delete_wallet` RPC (GLEECBTC#2497)
  chore(release): add changelog entries for v2.5.0-beta (GLEECBTC#2494)
  chore(release): bump kdf version to 2.5.0-beta (GLEECBTC#2492)
  feat(tests): zcoin unit test to validate dex fee (GLEECBTC#2460)
  fix(zcoin): correctly track unconfirmed z-coin notes (GLEECBTC#2331)
  improvement(orders): remove BTC specific volume from min_trading_vol logic (GLEECBTC#2483)
  feat(ibc-routing-part-2): supporting entire Cosmos network for swaps (GLEECBTC#2476)
  fix(startup): don't initialize WalletConnect during startup (GLEECBTC#2485)
  fix(dns): better ip resolution (GLEECBTC#2487)
  improvement(event-streaming): strong type streamer IDs (GLEECBTC#2441)
  bump timed-map to `1.4.1` (GLEECBTC#2481)
  improvement(RPC): unified interface for legacy and current RPC interfaces (GLEECBTC#2450)
  improvement(tendermint): `tendermint_tx_internal_id` helper (GLEECBTC#2438)
  feat(walletconnect): add WalletConnect v2 support for EVM and Cosmos (GLEECBTC#2223)
  feat(ibc-routing-part-1): supporting entire Cosmos network for swaps (GLEECBTC#2459)
  fix(test): fix HD Wallet message signing tests (GLEECBTC#2474)
  improvement(builds): enable static CRT linking for MSVC builds (GLEECBTC#2464)
  feat(wallet): implement HD multi-address support for message signing (GLEECBTC#2432)
  ...

# Conflicts:
#	mm2src/coins/qrc20.rs
#	mm2src/mm2_main/src/lp_swap/maker_swap.rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants