-
Notifications
You must be signed in to change notification settings - Fork 10
fix: Fix Sharing contract constructor arguments order #433
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
27 commits
Select commit
Hold shift + click to select a range
44b147e
Use library directly from @iexec/poco npm package
zguesmi 7093b64
Use interfaces from @iexec/poco npm package.
zguesmi 6e806a4
Use address in constructor argument instead of contract reference
zguesmi 0a16b82
Merge branch 'develop' into feature/poco-contracts-as-dependency
zguesmi 91ce3e7
Fix deployment script
zguesmi 4e62381
Update abis
zguesmi f8efda3
Fix formatting
zguesmi 4f248ba
Update copyright header
zguesmi 8857e7d
Add Slither config file
zguesmi a6540f0
chore: Remove unused IexecLibOrders_v5 ABI and update ABIs (#434)
Le-Caignec c12c73f
Specify slither config file path
zguesmi 1f21c05
Disable slither temporarily
zguesmi ea86cfa
Add TODO in CI
zguesmi d053d48
Remove @iexec/poco npm package
zguesmi 6c12988
Enable slither
zguesmi dfb39c9
Update abis
zguesmi c4e15f6
Update abis
zguesmi f53b50f
Run formatter
zguesmi 7d49da1
Clean changes
zguesmi 5348ed7
Regenerate abis
zguesmi 19dc226
Regenerate abis
zguesmi 2d6c0dd
Format
zguesmi bbee490
Fix invariant tests
zguesmi a9e2cd4
Fix type
zguesmi 329e8de
Fix
zguesmi bd91318
Update changelog
zguesmi dbe3b73
Clean imports
zguesmi 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 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
File renamed without changes.
1 change: 0 additions & 1 deletion
1
packages/sdk/abis/sharing/libs/IexecLibOrders_v5.sol/IexecLibOrders_v5.json
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
6 changes: 3 additions & 3 deletions
6
packages/sdk/src/lib/dataProtectorSharing/smartContract/getPocoContract.ts
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,9 +1,9 @@ | ||
| import type { IExecModule } from 'iexec'; | ||
| import type { IExecPocoDelegate } from '../../../../generated/typechain/sharing/interfaces/IExecPocoDelegate.js'; | ||
| import type { IPoCo } from '../../../../generated/typechain/sharing/interfaces/IPoCo.js'; | ||
|
|
||
| export async function getPocoContract( | ||
| iexec: IExecModule | ||
| ): Promise<IExecPocoDelegate> { | ||
| ): Promise<IPoCo> { | ||
| const client = await iexec.config.resolveContractsClient(); | ||
| return client.getIExecContract() as unknown as IExecPocoDelegate; | ||
| return client.getIExecContract() as unknown as IPoCo; | ||
| } |
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
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
File renamed without changes.
1 change: 0 additions & 1 deletion
1
packages/sharing-smart-contract/abis/libs/IexecLibOrders_v5.sol/IexecLibOrders_v5.json
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
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
119 changes: 0 additions & 119 deletions
119
packages/sharing-smart-contract/contracts/interfaces/IExecPocoDelegate.sol
This file was deleted.
Oops, something went wrong.
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.
Check warning
Code scanning / Slither
Conformance to Solidity naming conventions Warning