-
Notifications
You must be signed in to change notification settings - Fork 14
feat: Ignore TEE framework bits in dataset tags for cross-framework compatibility #325
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
59 commits
Select commit
Hold shift + click to select a range
28e8bce
chore: Merge duplicate v6 and v8 files
zguesmi 9ca27e0
chore: Upgrade all contracts except registries to solidity v8
zguesmi 52306f8
chore: Remove unused token swap facet
zguesmi d5ed77e
chore: Create new solidity v8 IexecHubInterface
zguesmi 803617d
chore: Merge branch 'main' into chore/solidity-v8
zguesmi aa24086
chore: Copy referenced iexec-solidity contracts
zguesmi 6253cb1
chore: Bump upgradability contracts to solidity v8
zguesmi 74e680c
chore: Fix deploy script
zguesmi 4c8fff6
fix: Fix migrated function
zguesmi 0bd5fc9
chore: Migrate registries to Solidity v8
zguesmi c4555ec
chore: Remove comment
zguesmi 2290871
test: Fix tests
zguesmi ed949b6
chore: Clean IexecHub v3 interface
zguesmi fe64f64
chore: Clean copied `Address` library
zguesmi 8939418
chore: Update ABIs
zguesmi 8a84932
test: Fix tests
zguesmi 172fb20
chore: Clean
zguesmi 3a9a34d
chore: Merge branch 'main' into chore/solidity-v8
zguesmi 9843456
chore: Merge branch 'main' into chore/solidity-v8
zguesmi 4495c42
Merge branch 'main' into chore/solidity-v8
zguesmi 6e9655e
chore: Fix deployment
zguesmi ecaf5fb
Merge branch 'main' into chore/solidity-v8
zguesmi df0c137
Merge branch 'main' into chore/solidity-v8
Le-Caignec 0d38aad
chore: Merge branch 'main' into chore/solidity-v8
zguesmi 1d937ca
chore: Apply copilot suggestions
zguesmi 5f29e02
chore: Merge branch 'main' into chore/solidity-v8
zguesmi 18c4087
chore: Clean
zguesmi a96cf86
chore: Merge branch 'main' into chore/solidity-v8
zguesmi 543e3d6
chore: Update ABIs
zguesmi 7931651
Merge branch 'main' into chore/solidity-v8
zguesmi 0c76839
chore: Merge branch 'main' into chore/solidity-v8
zguesmi 4bab677
chore: Add notes to registry contracts
zguesmi c7b8067
feat: make Solidity `V8` migration non breaking (#306)
Le-Caignec 7f2865f
feat: clean OpenZeppelin dual-version setup (#308)
Le-Caignec f30ad4a
chore: Remove unused iexec NPM packages `@iexec/interface` and `@iexe…
zguesmi a8d8779
style: Run formatter (#317)
gfournierPro 4100b90
feat: Enable deposit and match orders in a single tx (#316)
gfournierPro f181251
Merge branch 'main' into chore/solidity-v8
Le-Caignec d2c510f
fix: fix doc (#322)
Le-Caignec 2ce2be0
fix: update doc
Le-Caignec 25c5720
docs: Remove outdated FacetBase and IexecERC20Base sections
Le-Caignec f2b61e1
feat: enhance order matching logic for dataset tags compatibility
gfournierPro ba6c57d
fix: update generate doc command (#324)
gfournierPro b58d068
Merge branch 'chore/solidity-v8' into feat/deal-with-tag
gfournierPro 900c30e
fix: Merge `IexecERC20Common` & `IexecERC20` (#321)
Le-Caignec f2ff3a5
fix: improve comments for dataset order compatibility logic
gfournierPro 45be1d7
Merge branch 'chore/solidity-v8' into feat/deal-with-tag
gfournierPro af281bf
feat: receive approval generic (#323)
gfournierPro f9276e3
Merge branch 'chore/solidity-v8' into feat/deal-with-tag
gfournierPro b8414cc
feat: enhance order matching tests with new TEE framework tags and co…
gfournierPro ed046c3
fix: update TEE framework tags and constants for compatibility in tests
gfournierPro e29e89a
fix: correct dataset order bit references in compatibility tests
gfournierPro 8095cdb
fix: update order tags for compatibility in IexecPoco1 tests
gfournierPro aa83d1a
fix: update comment to clarify ignored bits in dataset tag for compat…
gfournierPro 55fb8c1
fix: update comments to clarify ignored bits in dataset tag for compa…
gfournierPro 14b7718
Merge branch 'main' into feat/deal-with-tag
Le-Caignec e2e082d
fix: correct GPU bit value in tag constants documentation
gfournierPro 7d10009
fix: clarify test description for tag compatibility check
gfournierPro 8e0ed47
feat: add TODO for additional tag compatibility test cases
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 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,25 @@ | ||
| // SPDX-FileCopyrightText: 2020-2025 IEXEC BLOCKCHAIN TECH <[email protected]> | ||
| // SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| /** | ||
| * Tag constants: | ||
| * - Bit 0: TEE | ||
| * - Bit 1: Scone | ||
| * - Bit 2: Gramine | ||
| * - Bit 3: TDX | ||
| * - Bit 4: GPU (0x10) | ||
| */ | ||
| export const TAG_STANDARD = '0x0000000000000000000000000000000000000000000000000000000000000000'; | ||
| export const TAG_TEE = '0x0000000000000000000000000000000000000000000000000000000000000001'; | ||
| export const TAG_TEE_SCONE = '0x0000000000000000000000000000000000000000000000000000000000000003'; // 0b0011 = TEE + Scone | ||
| export const TAG_TEE_GRAMINE = '0x0000000000000000000000000000000000000000000000000000000000000005'; // 0b0101 = TEE + Gramine | ||
| export const TAG_TEE_TDX = '0x0000000000000000000000000000000000000000000000000000000000000009'; // 0b1001 = TEE + TDX | ||
| export const TAG_ALL_TEE_FRAMEWORKS = | ||
| '0x000000000000000000000000000000000000000000000000000000000000000F'; // 0b1111 = TEE + Scone + Gramine + TDX | ||
| export const TAG_BIT_2 = '0x0000000000000000000000000000000000000000000000000000000000000004'; // 0b0100 | ||
| export const TAG_BIT_4 = '0x0000000000000000000000000000000000000000000000000000000000000010'; // 0b10000 (bit 4 in 0-indexed) | ||
| export const TAG_BIT_4_AND_TEE = | ||
| '0x0000000000000000000000000000000000000000000000000000000000000011'; // 0b10001 | ||
|
|
||
| export const NULL = { | ||
| BYTES32: '0x0000000000000000000000000000000000000000000000000000000000000000', | ||
|
|
||
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i thing there is many other case - but it's good like that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added a todo thanks