Skip to content

update sdk#3429

Closed
ca333 wants to merge 15 commits intomainfrom
dev
Closed

update sdk#3429
ca333 wants to merge 15 commits intomainfrom
dev

Conversation

@ca333
Copy link
Copy Markdown
Contributor

@ca333 ca333 commented Feb 11, 2026

No description provided.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 11, 2026

Visit the preview URL for this PR (updated for commit eaf3ce3):

https://walletrc--pull-3429-merge-kxe65ykx.web.app

(expires Wed, 25 Mar 2026 16:07:49 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: f66a4ff03faa546f12f0ae5a841bd9eff2714dcc

ca333 and others added 14 commits February 11, 2026 10:18
* chore: add generated deprecation notices for legacy rpc errors

* feat: add polish foundation for trading and withdrawals

* chore: roll sdk foundation pointer
* Port full Flutter WASM support

* chore(gitignore): ignore local AI skill bundles

* chore(sdk): roll submodule for wasm-safe interop cleanup

* fix(web): address WASM review feedback
…#3444)

* fix(app): resolve open findings and adopt sdk manager APIs

* chore(app): roll sdk submodule for pr review fixes

* chore(docs): remove local review artifacts from tracked docs

* chore(app): roll sdk submodule to merged dev commit
* fix(web): isolate cache adapters and update JS interop

* fix(app): backfill wallet metadata display

* chore: update CI Flutter version

* chore: update Flutter packages

* chore: roll Flutter constraints

* chore: update Docker Flutter version
* feat(legal): render terms of service from markdown asset

* fix(legal): prevent tos popup freeze on open

* chore: add pubspec assets

* fix(disclaimer): improve ToS markdown rendering and dialog behavior

* feat(legal): load legal docs from GitHub at runtime

* feat(legal): add kyc policy to settings
@CharlVS CharlVS closed this Mar 18, 2026
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: eaf3ce30a3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +569 to +572
void _syncWalletTypeWithSeedCompatibility() {
if (_isHdMode && !_isHdCompatibleWithCurrentSeed) {
_isHdMode = false;
_allowCustomSeed = false;
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Keep HD import selected while the mnemonic is incomplete

_syncWalletTypeWithSeedCompatibility() now flips _isHdMode to false as soon as _isHdCompatibleWithCurrentSeed returns false. Because _isHdCompatibleWithCurrentSeed only returns true once 12+ words form a fully valid BIP39 phrase, a user entering a 24-word mnemonic (or even the last word of a 12-word mnemonic) is silently switched to Iguana mode mid-entry and will import the wallet with the wrong derivation unless they notice and switch it back before submitting.

Useful? React with 👍 / 👎.

Comment on lines +30 to +33
// Fall back to the legacy global key so existing users keep their last
// selection until this wallet writes its own scoped preference.
final legacyValue = await storage.read(hdWalletModePreferenceKey);
return _parseStoredPreference(legacyValue);
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Do not reuse the legacy HD-mode flag across different wallets

Falling back to the old global hdWalletModePreferenceKey makes every wallet without a scoped preference inherit the last mode used by any other wallet. On existing installs, that means opening an HD wallet after previously selecting legacy mode elsewhere will preselect Iguana here and WalletLogin will attempt the wrong auth mode, surfacing a spurious “incorrect password” until the user manually flips the switch back.

Useful? React with 👍 / 👎.

Comment on lines +139 to +142
bool get _isTradingMenuActive {
final currentMenu = routingState.selectedMenu;
return currentMenu == MainMenuValue.dex ||
currentMenu == MainMenuValue.bridge;
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Treat the market-maker page as an active trading menu

runUpdate() now throttles foreground polling unless _isTradingMenuActive is true, but this getter only recognizes dex and bridge. The market-maker page still depends on TradingEntitiesBloc (see lib/views/market_maker_bot/market_maker_bot_page.dart), so while the user is actively on that screen their swaps/orders will now refresh on the 45-second background cadence instead of the 10-second foreground cadence.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants