Skip to content

Conversation

@DanielSinclair
Copy link
Contributor

@DanielSinclair DanielSinclair commented Jan 15, 2026

Add delegation status indicators and transaction type labels

What changed (plus any additional context for devs)

  • Added delegation status indicators in the wallet switcher to show which wallets are delegated
  • Added transaction type labels (Type 2/Type 4) to swap toasts to help identify transaction types
  • Added delegation controls to the dev settings for testing delegation functionality
  • Added a "Kill Switch" simulation in dev settings to test the revocation flow
  • Added comments about chain configuration for the delegation client
  • Enhanced transaction entity to track batch and delegation properties

Screen recordings / screenshots

[Screenshots showing delegation status indicators in wallet switcher and transaction type labels in swap toasts]

What to test

  • Verify delegation status indicators appear correctly in wallet switcher (only in dev/TestFlight)
  • Confirm transaction type labels (Type 2/Type 4) appear on swap toasts
  • Test delegation controls in dev settings:
    • Delegate/Revoke on Mainnet and Base
    • Trigger Kill Switch simulation
  • Verify transaction entity properly tracks batch and delegation properties

@DanielSinclair
Copy link
Contributor Author

DanielSinclair commented Jan 15, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@DanielSinclair DanielSinclair changed the title feat: add delegation controls to developer settings feat: delegation developer settings Jan 15, 2026
@DanielSinclair DanielSinclair force-pushed the daniel/7702-debug-controls branch 2 times, most recently from 4d003e1 to a302520 Compare January 17, 2026 22:05
@DanielSinclair DanielSinclair force-pushed the daniel/7702-debug-controls branch from a302520 to 2f4315a Compare January 17, 2026 22:13
@DanielSinclair DanielSinclair force-pushed the daniel/7702-debug-controls branch 2 times, most recently from 1197f5b to f7eaeb9 Compare January 21, 2026 23:34
@DanielSinclair DanielSinclair force-pushed the daniel/7702-debug-controls branch from f7eaeb9 to 3e6f484 Compare January 26, 2026 03:47
- Display "Delegated" (green) or "Not Delegated" (red) labels for owned wallets
- Check delegation on both mainnet and Base chains
- Use SDK getIsDelegated for checking delegation status
- Only visible in TESTFLIGHT/DEV builds

fix: ChangeWalletSheet
Show "Type 4" (new delegation + action) or "Type 2" (already delegated)
on the toast for swap and bridge transactions when using atomic swaps.

- Add txType field to RainbowTransaction
- Check delegation status before executing to determine type
- Create transaction with txType for delegate path
- Display type label as bottom line in swap toast

fix: already delegated patch

fix: getIsDelegated
@DanielSinclair DanielSinclair force-pushed the daniel/7702-debug-controls branch from 3e6f484 to d2773e5 Compare January 26, 2026 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants