Skip to content

feat: polish wallet workflows and settings#3442

Merged
CharlVS merged 1 commit intodevfrom
polish/02-wallet-workflows-settings
Mar 12, 2026
Merged

feat: polish wallet workflows and settings#3442
CharlVS merged 1 commit intodevfrom
polish/02-wallet-workflows-settings

Conversation

@CharlVS
Copy link
Copy Markdown
Collaborator

@CharlVS CharlVS commented Mar 12, 2026

Replacement for auto-closed #3435 (closed when its base branch was deleted during sequential squash merges).

@CharlVS CharlVS merged commit cc1f258 into dev Mar 12, 2026
@CharlVS CharlVS deleted the polish/02-wallet-workflows-settings branch March 12, 2026 14:27
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 12, 2026

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

https://walletrc--dev-preview-wmjfkfhs.web.app

(expires Thu, 19 Mar 2026 14:31:52 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: f66a4ff03faa546f12f0ae5a841bd9eff2714dcc

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: e3f126e89a

ℹ️ 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".

initialDelay: const Duration(seconds: 5),
maxDelay: const Duration(seconds: 30),
),
shouldRetry: (error) => error is _RetryableZhtlcActivationException,
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 Retry activation on non-cancel failures

shouldRetry now only permits _RetryableZhtlcActivationException, so any other exception coming from _sdk.assets.activateAsset(...) (for example transient transport/RPC errors) will bypass the retry loop and fail after a single attempt despite maxAttempts and backoff being configured. This is a reliability regression in ARRR activation flows because recoverable runtime errors are no longer retried.

Useful? React with 👍 / 👎.

Comment on lines +301 to 303
final stored = await settingsRepository.loadSettings();
final settings = stored.marketMakerBotSettings.copyWith(
isMMBotEnabled: value,
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 Base MM toggle updates on live bloc state

This handler reloads settings from storage before constructing the updated MarketMakerBotSettings; if two toggles are changed close together, one callback can read stale persisted data and dispatch an event that overwrites the other change. For example, toggling bot enablement and save-orders in quick succession can revert one flag because each callback copies from an out-of-date snapshot instead of current SettingsBloc state.

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.

1 participant