Skip to content

Commit fd16a00

Browse files
committed
Merge branch 'feature/add-remainingAccess-in-getGrantedAccess-function' of github.com:iExecBlockchainComputing/dataprotector-sdk into feature/add-remainingAccess-in-getGrantedAccess-function
2 parents 76a41cd + ae5dac3 commit fd16a00

File tree

40 files changed

+238981
-9123
lines changed

40 files changed

+238981
-9123
lines changed

.github/workflows/core-smart-contract-deploy.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
RPC_URL: ${{ secrets.RPC_URL }}
8080
DEPLOYER_PRIVATE_KEY: ${{ secrets.DEPLOYER_PRIVATE_KEY }}
8181
DATASET_REGISTRY_ADDRESS: ${{ vars.DATASET_REGISTRY_ADDRESS }}
82-
HARDHAT_IGNITION_CONFIRM_DEPLOYMENT: ${{ vars.HARDHAT_IGNITION_CONFIRM_DEPLOYMENT }}
82+
HARDHAT_IGNITION_CONFIRM_DEPLOYMENT: false
8383
run: |
8484
if [ "${{ inputs.network }}" = "hardhat" ]; then
8585
npm run deploy -- --network ${{ inputs.network }}
@@ -93,6 +93,16 @@ jobs:
9393
npm run deploy -- --network ${{ inputs.network }} --deployment-id "$DEPLOYMENT_ID"
9494
fi
9595
96+
- name: Save deployment artifacts
97+
if: inputs.network != 'hardhat'
98+
uses: stefanzweifel/git-auto-commit-action@v5
99+
with:
100+
commit_message: 'chore: save deployment artifacts for ${{ inputs.network }} ${{ inputs.environment }} (${{ github.run_id }})'
101+
file_pattern: 'packages/smart-contract/ignition/deployments/*'
102+
commit_user_name: 'GitHub Actions Bot'
103+
commit_user_email: 'github-actions[bot]@users.noreply.github.com'
104+
commit_author: 'GitHub Actions Bot <github-actions[bot]@users.noreply.github.com>'
105+
96106
- name: Verify contract
97107
if: inputs.network != 'hardhat'
98108
continue-on-error: true
@@ -109,13 +119,3 @@ jobs:
109119
DEPLOYMENT_ID="${{ inputs.network }}"
110120
fi
111121
npm run verify -- "$DEPLOYMENT_ID"
112-
113-
- name: Save deployment artifacts
114-
if: inputs.network != 'hardhat'
115-
uses: stefanzweifel/git-auto-commit-action@v5
116-
with:
117-
commit_message: 'chore: save deployment artifacts for ${{ inputs.network }} ${{ inputs.environment }} (${{ github.run_id }})'
118-
file_pattern: 'packages/smart-contract/ignition/deployments/*'
119-
commit_user_name: 'GitHub Actions Bot'
120-
commit_user_email: 'github-actions[bot]@users.noreply.github.com'
121-
commit_author: 'GitHub Actions Bot <github-actions[bot]@users.noreply.github.com>'

.github/workflows/sharing-smart-contract-deploy.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
# For Deployment
8585
RPC_URL: ${{ secrets.RPC_URL }}
8686
DEPLOYER_PRIVATE_KEY: ${{ secrets.DEPLOYER_PRIVATE_KEY }}
87-
ADMIN_PRIVATE_KEY: ${{ secrets.ADMIN_PRIVATE_KEY }}
87+
ADMIN_PRIVATE_KEY: ${{ secrets.DATAPROTECTOR_OWNER_PRIVATEKEY }} # Fix secret name
8888
POCO_ADDRESS: ${{ vars.POCO_ADDRESS }}
8989
DATASET_REGISTRY_ADDRESS: ${{ vars.DATASET_REGISTRY_ADDRESS }}
9090
run: |
@@ -101,6 +101,16 @@ jobs:
101101
DEPLOYMENT_ID="$DEPLOYMENT_ID" \
102102
npm run deploy -- --network ${{ inputs.network }}
103103
fi
104+
105+
- name: Save deployment artifacts
106+
if: inputs.network != 'hardhat'
107+
uses: stefanzweifel/git-auto-commit-action@v5
108+
with:
109+
commit_message: 'chore: save deployment artifacts for ${{ inputs.network }} ${{ inputs.environment }} (${{ github.run_id }})'
110+
file_pattern: 'packages/sharing-smart-contract/ignition/deployments/* packages/sharing-smart-contract/.openzeppelin/*'
111+
commit_user_name: 'GitHub Actions Bot'
112+
commit_user_email: 'github-actions[bot]@users.noreply.github.com'
113+
commit_author: 'GitHub Actions Bot <github-actions[bot]@users.noreply.github.com>'
104114

105115
- name: Verify contracts
106116
if: inputs.network != 'hardhat'
@@ -119,13 +129,3 @@ jobs:
119129
fi
120130
npm run verify -- "$DEPLOYMENT_ID"
121131
122-
- name: Save deployment artifacts
123-
if: inputs.network != 'hardhat'
124-
uses: stefanzweifel/git-auto-commit-action@v5
125-
with:
126-
commit_message: 'chore: save deployment artifacts for ${{ inputs.network }} ${{ inputs.environment }} (${{ github.run_id }})'
127-
file_pattern: 'packages/sharing-smart-contract/ignition/deployments/* packages/sharing-smart-contract/.openzeppelin/*'
128-
commit_user_name: 'GitHub Actions Bot'
129-
commit_user_email: 'github-actions[bot]@users.noreply.github.com'
130-
commit_author: 'GitHub Actions Bot <github-actions[bot]@users.noreply.github.com>'
131-

.github/workflows/subgraph-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Core Smart Contract - Default
1+
name: Subgraph - Default
22

33
on:
44
pull_request:

0 commit comments

Comments
 (0)