Skip to content

Map ROBINHOOD_INIT in splitEnvJson - #6234

Merged
j0ntz merged 2 commits into
developfrom
jon/hood-support-splitting
Oct 1, 2026
Merged

j0ntz merged 2 commits into
developfrom
jon/hood-support-splitting

Conversation

@j0ntz

@j0ntz j0ntz commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Description

Asana task

Splitting an EVM wallet into a Robinhood Chain wallet already works on develop: the accountbased plugin reports every EVM chain as a split target, and Robinhood Chain is not flagged isSplittingDisabled. Tested on the iOS simulator from two EVM sources (Ethereum and Polygon) into Robinhood Chain, and from Robinhood Chain into Optimism. The split wallet has the same receive address as its source.

The one defect found is in the legacy config migration. Robinhood Chain landed a day before the env.json split, and CURRENCY_INIT_MAP in scripts/splitEnvJson.ts never got a ROBINHOOD_INIT entry. The split-env-json script dropped that field without a warning and wrote a config.json with no corePlugins.robinhood. coreInit treats an absent plugin as disabled. An app built from a migrated config had no Robinhood Chain at all, split target included.

This PR adds the missing map entry. Run against the same legacy env.json, develop writes 52 corePlugins with robinhood absent, and this branch writes 53 with robinhood: true.

The first commit replaces the deprecated asMap cleaner in the same file with asObject.

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

none

Requirements

If you have made any visual changes to the GUI. Make sure you have:

  • Tested on iOS device
  • Tested on Android device
  • Tested on small-screen device (iPod Touch)
  • Tested on large-screen device (tablet)

Test evidence

f672da3
Map ROBINHOOD_INIT in splitEnvJson
2026-10-01

1. split target robinhood

2. split confirm

3. split 404 alert

4. robinhood wallet present

5. reverse split list

6. reverse split done

7. robinhood receive address

8. eth receive address

9. polygon split target robinhood

10. polygon split returned

11. robinhood wallets after second split

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

j0ntz added 2 commits October 1, 2026 15:42
Robinhood Chain landed a day before the env.json split, so
CURRENCY_INIT_MAP never got its entry. The migration dropped
ROBINHOOD_INIT without a warning and wrote a config.json with no
corePlugins.robinhood. coreInit treats an absent plugin as disabled,
so the migrated app had no Robinhood Chain: no wallet creation and no
split target from other EVM wallets.
@j0ntz
j0ntz force-pushed the jon/hood-support-splitting branch from f672da3 to a62bfb6 Compare October 1, 2026 22:43
@j0ntz
j0ntz merged commit c5313a7 into develop Oct 1, 2026
6 checks passed
@j0ntz
j0ntz deleted the jon/hood-support-splitting branch October 1, 2026 22:49
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