-
Notifications
You must be signed in to change notification settings - Fork 10
fix/dataProtector sharing fix ci #469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
37261db
feat: add core smart contract CI and deploy workflows with environmen…
Le-Caignec 5c95528
refactor: consolidate CI workflows and update environment variables f…
Le-Caignec cfb8651
Merge branch 'main' into fix/dataProtector-sharing-fix-ci
gfournierPro 236ec0d
feat: enhance deployment workflow with environment selection and Arbi…
gfournierPro e610af2
fix: update changelog to reference Arbitrum mainnet deployment issue …
gfournierPro 81b8391
fix: update deploy script to use ignition module for DataProtectorSha…
gfournierPro 83b5fd0
fix: remove unused Arbitrum API key references from hardhat config
gfournierPro 60a3308
fix: update cache configuration for node setup in CI workflow
gfournierPro c775cbd
feat: add admin private key support for deployment and configuration
gfournierPro a477766
fix: rollback for less change
gfournierPro 34f9f39
fix: correct proxy address reference for DataProtectorSharing import
gfournierPro 90a1e83
feat: add deployment ID support for DataProtectorSharing contract dep…
gfournierPro 3f02f60
feat: add deployment ID output and verification step for contract dep…
gfournierPro 8d58661
fix: format deployment ID parsing for better readability
gfournierPro 41b4b1d
fix: remove a deployement folder
gfournierPro 73c8920
fix: add missing admin private key comment in .env.template
gfournierPro a6a128b
feat: add validation for mainnet deployment environment in workflow
gfournierPro bc8b940
fix: tmp
gfournierPro f6d79a6
feat: re-enable manual trigger
gfournierPro d988b15
fix: comment out manual trigger inputs in deployment workflow
gfournierPro 3fbf473
feat: re-enable manual trigger inputs in deployment workflow
gfournierPro 97aedc2
feat: add deployment ID support for Hardhat Ignition in environment c…
gfournierPro 6f4046d
fix: Remove useless check
zguesmi 9bc63d9
feat: enhance account management by adding support for ADMIN_PRIVATE_…
gfournierPro 26faa38
chore: comment out build-and-test job in deployment workflow to test
gfournierPro 4def8ac
feat: update Hardhat configuration to simplify account management for…
gfournierPro 339e383
feat: enhance deployment process with improved error handling and fal…
gfournierPro 15e36f9
feat: add logging for proxy admin owner selection in DataProtectorSha…
gfournierPro b98a3a3
fix: remove unnecessary deployment-id from verification command in sh…
gfournierPro dec623c
fix: remove redundant fallback to DEPLOYER_PRIVATE_KEY in Hardhat con…
gfournierPro be97000
fix: update salt value for CREATE2 strategy configuration in Hardhat …
gfournierPro fc617a9
refactor: streamline deployment process by removing fallback logic fo…
gfournierPro 839da6a
fix: remove unnecessary flag from verification command in sharing-sma…
gfournierPro 3e876c5
fix: update salt value for CREATE2 strategy in Hardhat configuration
gfournierPro 7542e10
fix: update verification command to include deployment ID in sharing-…
gfournierPro d79458a
fix: update salt value for CREATE2 strategy in sharing-smart-contract…
gfournierPro 8be96ba
fix: correct logging of proxy admin owner by removing .address reference
gfournierPro 643b01e
fix: update salt value for CREATE2 strategy in hardhat configuration
gfournierPro 5c9e03c
fix: add step to save deployment artifacts in sharing-smart-contract …
gfournierPro 9e89819
fix: update salt value for CREATE2 strategy in hardhat configuration
gfournierPro 1ad63f8
chore: save deployment artifacts for arbitrumSepolia dev (16524739368)
github-actions[bot] 426439f
fix: remove verification step for hardhat network and add TODO note
gfournierPro 8e3d91f
chore: remove deployment folder
gfournierPro 844c373
fix: update salt value for CREATE2 strategy in hardhat configuration
gfournierPro ec540f7
fix: uncomment build-and-test job in deployment workflow
gfournierPro 502842e
chore: remove unused .openzeppelin configuration file
gfournierPro File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,18 @@ | ||
| name: Sharing Smart Contract - Reusable | ||
| name: Sharing Smart Contract - Default | ||
|
|
||
| on: | ||
| pull_request: | ||
| branches: | ||
| - '*' | ||
| paths: | ||
| - 'packages/sharing-smart-contract/**' | ||
| workflow_call: | ||
| inputs: | ||
| node-version: | ||
| description: Node.js version to use | ||
| required: true | ||
| required: false | ||
| type: number | ||
| default: 18 | ||
| default: 20 | ||
|
|
||
| jobs: | ||
| build-and-test: | ||
|
|
@@ -23,6 +28,8 @@ jobs: | |
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: ${{ inputs.node-version }} | ||
| cache: 'npm' | ||
| cache-dependency-path: 'packages/sharing-smart-contract' | ||
|
|
||
| - name: Install Dependencies | ||
| working-directory: packages/sharing-smart-contract | ||
|
|
@@ -42,7 +49,7 @@ jobs: | |
| working-directory: packages/sharing-smart-contract | ||
| run: npm run check-format | ||
|
|
||
| - name: Lint | ||
| - name: Check Lint | ||
| working-directory: packages/sharing-smart-contract | ||
| run: npm run lint | ||
|
|
||
|
|
@@ -51,12 +58,13 @@ jobs: | |
| run: npm run uml | ||
|
|
||
| - name: Static Analyzer | ||
| uses: crytic/[email protected].0 | ||
| uses: crytic/[email protected].1 | ||
| id: slither | ||
| with: | ||
| sarif: result.sarif | ||
| fail-on: none | ||
| target: 'packages/sharing-smart-contract/' | ||
| slither-args: --checklist --markdown-root ${{ github.server_url }}/${{ github.repository }}/blob/${{ github.sha }}/ | ||
| fail-on: none | ||
| sarif: result.sarif | ||
|
|
||
| - name: Start Anvil | ||
| run: | | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 18 | ||
| 20 |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.