Skip to content

feat(configuration-generator): support secrets file#1409

Open
oXtxNt9U wants to merge 3 commits into
developfrom
feat/configuration-generator/secrets-file
Open

feat(configuration-generator): support secrets file#1409
oXtxNt9U wants to merge 3 commits into
developfrom
feat/configuration-generator/secrets-file

Conversation

@oXtxNt9U

Copy link
Copy Markdown
Contributor

Summary

Makes it possible to pass explicit mnemonics when generating network configs

pnpm run mainsail config:generate --network devnet --token TEST --symbol TES --chainId 1000 --secretsFile ./secrets.json --validators 3 --force
# secrets.json

{
  "genesisMnemonic": "zoo zoo zoo zoo zoo zoo zoo zoo zoo zoo zoo wrong",
  "validatorMnemonics": [
    "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about",
    "legal winner thank year wave sausage worth useful legal winner thank yellow",
    "letter advice cage absurd amount doctor acoustic avoid letter advice cage above"
  ]
}

Checklist

  • Documentation (if necessary)
  • Tests (if necessary)
  • Ready to be merged

@codecov

codecov Bot commented Jul 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.12%. Comparing base (50eb6a7) to head (3fa16d4).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1409      +/-   ##
===========================================
+ Coverage    74.42%   75.12%   +0.70%     
===========================================
  Files          927      938      +11     
  Lines        15284    15773     +489     
  Branches      1701     1805     +104     
===========================================
+ Hits         11375    11850     +475     
- Misses        3904     3916      +12     
- Partials         5        7       +2     
Flag Coverage Δ
contracts 96.98% <ø> (?)
packages 74.46% <100.00%> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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