File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
actions/write-program-buffer Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,10 @@ inputs:
16
16
buffer-authority-address :
17
17
description : " The buffer authority address. Could be the local address or the squads authority"
18
18
required : true
19
+ priority-fee :
20
+ description : " Priority fee in microlamports"
21
+ required : false
22
+ default : " 100000"
19
23
20
24
outputs :
21
25
buffer :
99
103
--url ${{ inputs.rpc-url }} \
100
104
--keypair ./deploy-keypair.json \
101
105
--max-sign-attempts 100 \
102
- --with-compute-unit-price 100000 \
106
+ --with-compute-unit-price ${{ inputs.priority-fee }} \
103
107
--use-rpc \
104
108
2>&1)
105
109
Original file line number Diff line number Diff line change 32
32
required : false
33
33
type : boolean
34
34
default : false
35
+ priority-fee :
36
+ description : " Priority fee in microlamports"
37
+ required : false
38
+ type : string
39
+ default : " 100000"
35
40
secrets :
36
41
DEVNET_SOLANA_DEPLOY_URL :
37
42
MAINNET_SOLANA_DEPLOY_URL :
@@ -220,6 +225,7 @@ jobs:
220
225
rpc-url : ${{ env.DEPLOY_URL }}
221
226
keypair : ${{ env.DEPLOYER_KEYPAIR }}
222
227
buffer-authority-address : ${{ inputs.use-squads && env.MULTISIG_VAULT || env.DEPLOYER_ADDRESS }}
228
+ priority-fee : ${{ inputs.priority-fee }}
223
229
224
230
- name : Write IDL Buffer
225
231
uses : Woody4618/github-action/.github/actions/write-idl-buffer@main
You can’t perform that action at this time.
0 commit comments