Skip to content

Commit

Permalink
Merge pull request #657 from helium/deploy/with-prio
Browse files Browse the repository at this point in the history
Add prio fees to program deploy
  • Loading branch information
ChewingGlass authored Jun 10, 2024
2 parents ee0d63b + 54e6858 commit 22ac7c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/buffer-deploy/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ runs:
timeout_minutes: 30
max_attempts: 10
shell: bash
command: solana program write-buffer --use-rpc --buffer ./keyp -k ./deploy-keypair.json ./target/deploy/$PROGRAM.so -u $NETWORK > ./buffer.out
command: solana program write-buffer --with-compute-unit-price 2 --use-rpc --buffer ./keyp -k ./deploy-keypair.json ./target/deploy/$PROGRAM.so -u $NETWORK > ./buffer.out
env:
NETWORK: ${{ inputs.network }}
PROGRAM: ${{ inputs.program }}
Expand Down
2 changes: 1 addition & 1 deletion migration-docker/deploy-with-retries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ CURRENT_RETRY=0
# Deploy the program with the buffer signer keypair
while [[ $CURRENT_RETRY -lt $MAX_RETRIES ]]; do
echo "Deploying program (retry $((CURRENT_RETRY+1)))..."
solana program deploy $PROGRAM_SOURCE_FILE --buffer buffer.json -u $SOLANA_URL --program-id $KEYPAIR
solana program deploy $PROGRAM_SOURCE_FILE --with-compute-unit-price 2 --buffer buffer.json -u $SOLANA_URL --program-id $KEYPAIR

# Check if the deploy command succeeded
if [[ $? -eq 0 ]]; then
Expand Down

0 comments on commit 22ac7c9

Please sign in to comment.