Skip to content

refactor(settings): consolidate chain signing keys behind ChainType#399

Merged
Fletch153 merged 1 commit intoplex-2751from
plex-2751-fixes
Apr 24, 2026
Merged

refactor(settings): consolidate chain signing keys behind ChainType#399
Fletch153 merged 1 commit intoplex-2751from
plex-2751-fixes

Conversation

@Fletch153
Copy link
Copy Markdown
Contributor

Replace EthPrivateKey / AptosPrivateKey fields on UserSettings with a single PrivateKeys map keyed by ChainType.Name, and introduce a ChainType struct that bundles each family's name + signing-key env var. Names are derived from corekeys.EVM / corekeys.Aptos so the canonical upstream identifiers are the single source of truth.

Adding a new chain family is now one entry in AllChainTypes instead of a new field, constant, and loader branch. Remove unused EthUrl and simplify the project.yaml experimental-chains example comment.

Replace EthPrivateKey / AptosPrivateKey fields on UserSettings with a
single PrivateKeys map keyed by ChainType.Name, and introduce a
ChainType struct that bundles each family's name + signing-key env var.
Names are derived from corekeys.EVM / corekeys.Aptos so the canonical
upstream identifiers are the single source of truth.

Adding a new chain family is now one entry in AllChainTypes instead of
a new field, constant, and loader branch. Remove unused EthUrl and
simplify the project.yaml experimental-chains example comment.
@Fletch153 Fletch153 requested a review from a team as a code owner April 24, 2026 14:55
@Fletch153 Fletch153 merged commit 8b81488 into plex-2751 Apr 24, 2026
@Fletch153 Fletch153 deleted the plex-2751-fixes branch April 24, 2026 14:55
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