Skip to content

refactor(erpc): move the account modules into account/ - #69

Merged
jamesneve merged 1 commit into
mainfrom
refactor/account-modules
Nov 22, 2026
Merged

jamesneve merged 1 commit into
mainfrom
refactor/account-modules

Conversation

@jamesneve

Copy link
Copy Markdown
Contributor

Second step of the crates/erpc module restructure, after cli/ (#49).

Moves the account and session modules into crates/erpc/src/account/:
session, commands, doctor, config, keyless, account_secret, credit_wallet.

Renames only. The seven files are byte-identical git mvs. The other changes are a new account/mod.rs and edits to main.rs. main.rs re-exports the modules under their old paths, as it does for cli/, so no imports change. The aliases go when their users import from account::.

None of the moved files use #[path], include_str! or hardcoded test names, and no docs or scripts refer to their paths.

Verification

  • cargo fmt --check and cargo clippy --workspace --all-targets -- -D warnings are clean.
  • cargo test --workspace: 2,280 passed, 0 failed.
  • erpc test list against main: 954 tests on both sides, with the same names apart from the new account:: prefix.
  • All 106 --help pages are byte-identical to main.
  • check-oss-hygiene.sh and check-endpoints.sh pass.

Moves session, commands, doctor, config, keyless, account_secret and
credit_wallet into crates/erpc/src/account/, the second step of the
module restructure after cli/ (#49).

Renames only. main.rs re-exports the modules under their old paths,
as it does for cli/, so no import changes in this commit; the aliases
go when their users import from account::.

Signed-off-by: James Neve <[email protected]>
@jamesneve
jamesneve merged commit 0652ab1 into main Nov 22, 2026
31 checks passed
@jamesneve
jamesneve deleted the refactor/account-modules branch November 22, 2026 09:04
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