You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to test stake accounts in the SLP1 configuration using a genesis_accounts.rs containing only real accounts, for which we don't possess private keys. In SLP1, creating accounts is disabled, so we can't write those tests.
Proposed Solution
Create a command line tool that can create a file defining one or more staking accountss for which we have the private keys. This file(s) can be consumed by solana-genesis to be included as staking accounts in genesis in a similar manner as we consume --primordial-accounts-file for TdS participants
rob-solana
changed the title
Build command line tool for creating stake accounts for inclusion in genesis
no way to test genesis stakes without putting bogus stakes in genesis_accounts.rs
Nov 21, 2019
A problem description might be:
We want to test stake accounts in the SLP1 configuration using a genesis_accounts.rs containing only real accounts, for which we don't possess private keys. In SLP1, creating accounts is disabled, so we can't write those tests.
But that's probably not your problem, because your proposed solution wouldn't work.
A problem description might be:
We want to test stake accounts in the SLP1 configuration using a genesis_accounts.rs containing only real accounts, for which we don't possess private keys. In SLP1, creating accounts is disabled, so we can't write those tests.
But that's probably not your problem, because your proposed solution wouldn't work.
Sorry I mis-read your label earlier before jumping the gun. Thanks for the feedback.
Problem
We want to test stake accounts in the SLP1 configuration using a genesis_accounts.rs containing only real accounts, for which we don't possess private keys. In SLP1, creating accounts is disabled, so we can't write those tests.
Proposed Solution
Create a command line tool that can create a file defining one or more staking accountss for which we have the private keys. This file(s) can be consumed by
solana-genesis
to be included as staking accounts in genesis in a similar manner as we consume--primordial-accounts-file
for TdS participantsBlocks
#6194
The text was updated successfully, but these errors were encountered: