Skip to content

Commit ef671f3

Browse files
ci: update whitelist-smart-contract to v1.0.0 and fix workflow variables
1 parent 50965f6 commit ef671f3

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

.github/workflows/dapp-deploy.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,9 @@ jobs:
137137
138138
- name: Add resource to whitelist
139139
env:
140-
CONTRACT_ADDRESS: ${{ secrets.WEB3MAIL_WHITELIST_CONTRACT_ADDRESS }}
141-
WALLET_PRIVATE_KEY: ${{ secrets.WEB3MAIL_APP_OWNER_PRIVATEKEY }}
140+
CONTRACT_ADDRESS: ${{ vars.WEB3MAIL_WHITELIST_CONTRACT_ADDRESS }}
141+
PRIVATE_KEY: ${{ secrets.WEB3MAIL_APP_OWNER_PRIVATEKEY }}
142+
RPC_URL: ${{ secrets.RPC_URL }}
142143
run: |
143144
cd node_modules/whitelist-smart-contract
144145
export ADDRESS_TO_ADD=$(cat ../../deployment-dapp/.app-address) && npm run addResourceToWhitelist

.github/workflows/dapp-release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,9 @@ jobs:
122122
123123
- name: Add resource to whitelist
124124
env:
125-
CONTRACT_ADDRESS: ${{ secrets.WEB3MAIL_WHITELIST_CONTRACT_ADDRESS }}
126-
WALLET_PRIVATE_KEY: ${{ secrets.WEB3MAIL_APP_OWNER_PRIVATEKEY }}
125+
CONTRACT_ADDRESS: ${{ vars.WEB3MAIL_WHITELIST_CONTRACT_ADDRESS }}
126+
PRIVATE_KEY: ${{ secrets.WEB3MAIL_APP_OWNER_PRIVATEKEY }}
127+
RPC_URL: ${{ secrets.RPC_URL }}
127128
run: |
128129
cd node_modules/whitelist-smart-contract
129130
export ADDRESS_TO_ADD=$(cat ../../deployment-dapp/.app-address) && npm run addResourceToWhitelist

.github/workflows/reusable-npm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: publish-npm-sdk
1+
name: reusable-npm-publish
22

33
on:
44
workflow_call:

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,6 @@
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
}

0 commit comments

Comments
 (0)