@@ -189,6 +189,14 @@ def get_vote_account_withdrawer(vote_account: str) -> str:
189189 solido_instance ['rewards_withdraw_authority' ],
190190 )
191191
192+ solana (
193+ 'validator-info' ,
194+ 'publish' ,
195+ '--keypair' ,
196+ './test-ledger/validator-keypair.json' ,
197+ "solana-test-validator" ,
198+ )
199+
192200
193201# Allow only validators that are voting, have 100% commission, and have their
194202# withdrawer set to Solido's rewards withdraw authority. On a local testnet,
@@ -213,10 +221,10 @@ def get_vote_account_withdrawer(vote_account: str) -> str:
213221# Create two validators of our own, so we have a more interesting stake
214222# distribution. These validators are not running, so they will not earn
215223# rewards.
216- validators .extend (
217- add_validator (i , vote_account = None )
218- for i in range (len (validators ), len (validators ) + 2 )
219- )
224+ # validators.extend(
225+ # add_validator(i, vote_account=None)
226+ # for i in range(len(validators), len(validators) + 2)
227+ # )
220228
221229
222230print ('Adding maintainer ...' )
@@ -276,3 +284,15 @@ def get_vote_account_withdrawer(vote_account: str) -> str:
276284 ]
277285 ),
278286)
287+
288+
289+ output = {
290+ "cluster" : get_network (),
291+ "multisig_program_id" : multisig_program_id ,
292+ "multisig_address" : multisig_instance ,
293+ "solido_program_id" : solido_program_id ,
294+ "solido_address" : solido_address ,
295+ "st_sol_mint" : st_sol_mint_account ,
296+ }
297+ with open ('../solido_test.json' , 'w' ) as outfile :
298+ json .dump (output , outfile , indent = 4 )
0 commit comments