File tree Expand file tree Collapse file tree 5 files changed +11
-7
lines changed
Expand file tree Collapse file tree 5 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -138,10 +138,12 @@ jobs:
138138 - name : Add resource to whitelist
139139 env :
140140 CONTRACT_ADDRESS : ${{ vars.WEB3MAIL_WHITELIST_CONTRACT_ADDRESS }}
141- WALLET_PRIVATE_KEY : ${{ secrets.WEB3MAIL_APP_OWNER_PRIVATEKEY }}
141+ PRIVATE_KEY : ${{ secrets.WEB3MAIL_APP_OWNER_PRIVATEKEY }}
142+ RPC_URL : ${{ secrets.RPC_URL }}
142143 run : |
143144 cd node_modules/whitelist-smart-contract
144- export ADDRESS_TO_ADD=$(cat ../../deployment-dapp/.app-address) && npm run addResourceToWhitelist
145+ export ADDRESS_TO_ADD=$(cat ../../deployment-dapp/.app-address)
146+ npm run addResourceToWhitelist -- --network ${{ vars.WHITELIST_NETWORK_NAME }}
145147
146148 - name : Configure ENS
147149 if : ${{ vars.DAPP_ENS_NAME }}
Original file line number Diff line number Diff line change @@ -123,10 +123,12 @@ jobs:
123123 - name : Add resource to whitelist
124124 env :
125125 CONTRACT_ADDRESS : ${{ vars.WEB3MAIL_WHITELIST_CONTRACT_ADDRESS }}
126- WALLET_PRIVATE_KEY : ${{ secrets.WEB3MAIL_APP_OWNER_PRIVATEKEY }}
126+ PRIVATE_KEY : ${{ secrets.WEB3MAIL_APP_OWNER_PRIVATEKEY }}
127+ RPC_URL : ${{ secrets.RPC_URL }}
127128 run : |
128129 cd node_modules/whitelist-smart-contract
129- export ADDRESS_TO_ADD=$(cat ../../deployment-dapp/.app-address) && npm run addResourceToWhitelist
130+ export ADDRESS_TO_ADD=$(cat ../../deployment-dapp/.app-address)
131+ npm run addResourceToWhitelist -- --network ${{ vars.WHITELIST_NETWORK_NAME }}
130132
131133 - name : Configure ENS
132134 if : ${{ vars.DAPP_ENS_NAME }}
Original file line number Diff line number Diff line change 1- name : publish -npm-sdk
1+ name : reusable -npm-publish
22
33on :
44 workflow_call :
Original file line number Diff line number Diff line change 7373 "jest" : " ^29.7.0" ,
7474 "prettier" : " ^2.8.4" ,
7575 "typescript" : " ^5.5.2" ,
76- "whitelist-smart-contract" : " github:iExecBlockchainComputing/whitelist-smart-contract#0.2.1 "
76+ "whitelist-smart-contract" : " github:iExecBlockchainComputing/whitelist-smart-contract#1.0.0 "
7777 }
7878}
You can’t perform that action at this time.
0 commit comments