File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 87
87
- name : Create Dotenv File
88
88
run : |
89
89
echo "${{ secrets.ENV }}" > .env
90
- echo "PRIVATE_KEY=${{ secrets.PRIVATE_KEY }}" > .env
90
+ echo "PRIVATE_KEY=${{ secrets.PRIVATE_KEY }}" >> .env
91
91
echo "ADDRESS=${{ secrets.ADDRESS }}" >> .env
92
92
echo "NETWORK=${{ inputs.network }}" >> .env
93
93
echo "RPC_URL=${{ inputs.rpc_url }}" >> .env
Original file line number Diff line number Diff line change @@ -404,7 +404,8 @@ export const runProtocol = async (): Promise<void> => {
404
404
// Set the oracle TVL if it's changed by more than 50%
405
405
await setOracleTVL ( ) ;
406
406
// Boost the validator if necessary
407
- await boostValidator ( VALIDATOR_TO_BOOST , BigInt ( blockHeight ) / BigInt ( EPOCH_BLOCKS ) ) ;
407
+ if ( VALIDATOR_TO_BOOST != '' )
408
+ await boostValidator ( VALIDATOR_TO_BOOST , BigInt ( blockHeight ) / BigInt ( EPOCH_BLOCKS ) ) ;
408
409
}
409
410
410
411
// Can be run in any epoch period
You can’t perform that action at this time.
0 commit comments