File tree Expand file tree Collapse file tree 1 file changed +15
-4
lines changed
blockchain/contracts/scripts Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -538,10 +538,21 @@ async function deployLitNodeContracts(deployNodeConfig) {
538538 tx = await stakingContract . addRealm ( ) ;
539539 await tx . wait ( ) ;
540540
541- // Ensure the default keyset is set
542- let realmConfig = stakingContract . realmConfig ( 1 ) ;
543- console . log ( 'Config for realm 1' , realmConfig ) ;
544- realmConfig . defaultKeySet = DEFAULT_KEY_SET_NAME ;
541+ // Ensure the default keyset is set
542+ let realmConfig = {
543+ maxConcurrentRequests : 1000 ,
544+ maxPresignCount : 25 ,
545+ minPresignCount : 10 ,
546+ peerCheckingIntervalSecs : 7 ,
547+ maxPresignConcurrency : 2 ,
548+ rpcHealthcheckEnabled : true ,
549+ minEpochForRewards : 3 ,
550+ permittedValidatorsOn : false ,
551+ defaultKeySet : DEFAULT_KEY_SET_NAME ,
552+ } ;
553+ // 1000n, 25n, 10n,
554+ // 7n, 2n, true,
555+ // 3n, false, ''
545556 tx = await stakingContract . setRealmConfig ( 1 , realmConfig ) ;
546557 await tx . wait ( ) ;
547558
You can’t perform that action at this time.
0 commit comments