Skip to content

feature/migrate-IexecPoco-to-ethers6 - #196

Merged
Le-Caignec merged 36 commits into
feature/migration-to-ether-v6from
feature/migrate-IexecPoco-to-ethers6
Feb 19, 2025
Merged

feature/migrate-IexecPoco-to-ethers6#196
Le-Caignec merged 36 commits into
feature/migration-to-ether-v6from
feature/migrate-IexecPoco-to-ethers6

Conversation

@Le-Caignec

@Le-Caignec Le-Caignec commented Feb 17, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@Le-Caignec Le-Caignec self-assigned this Feb 17, 2025
@Le-Caignec Le-Caignec changed the title Update changelog, package scripts, and migrate test files for IexecPo… feature/migrate-IexecPoco-to-ethers6 Feb 17, 2025
@Le-Caignec
Le-Caignec marked this pull request as ready for review February 17, 2025 12:09
Comment thread test/byContract/IexecPoco/IexecPoco1.test.ts Outdated
Comment thread test/byContract/IexecPoco/IexecPoco2-claim.test.ts Outdated
Comment thread test/byContract/IexecPoco/IexecPoco2-claim.test.ts Outdated
Comment thread test/byContract/IexecPoco/IexecPoco2-finalize.test.ts Outdated
Comment thread test/byContract/IexecPoco/IexecPoco2-finalize.test.ts Outdated
Comment thread test/byContract/IexecPoco/IexecPoco2-finalize.test.ts Outdated
Comment thread test/byContract/IexecPoco/IexecPoco2-finalize.test.ts Outdated
Comment thread test/byContract/IexecPoco/IexecPoco2-finalize.test.ts Outdated
Comment thread utils/tools.ts Outdated
Comment thread CHANGELOG.md
Comment thread test/byContract/IexecPoco/IexecPoco1.test.ts
Comment thread utils/tools.ts
Comment thread utils/tools.ts Outdated
Le-Caignec and others added 2 commits February 18, 2025 19:13
Co-authored-by: Jérémy (James) Toussaint <[email protected]>
Comment thread test/byContract/IexecPoco/IexecPoco2-contribute-and-finalize.test.ts Outdated
Comment thread test/byContract/IexecPoco/IexecPoco2-contribute-and-finalize.test.ts Outdated
Comment thread test/byContract/IexecPoco/IexecPoco2-contribute.test.ts Outdated
iexecPoco,
[requester, sponsor, appProvider, datasetProvider],
[
0, // requester balance is unchanged, only frozen is changed

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can harmonize, 0 or 0n everywhere

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some Number castings are still present in the code. Removing them in another PR might reveal the need to add explicit castings for some cases. I have only changed the ones that are actually consumed and where BigInt is required. I have minimized the changes as much as possible.

@james-toussaint james-toussaint left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job thanks 💪 !

Comment on lines +942 to +943
// const appOrderConsumedSlotIndex = ethers.keccak256(
// ethers.concat([

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's funny to update even the comments

Comment thread CHANGELOG.md
Comment thread test/utils/IexecWrapper.ts
@@ -200,15 +197,13 @@ describe('IexecPoco2#reveal', () => {
volume,
trust: 3,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't want to migrate the trust as well in bigint ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes it think but I have only changed lines/variables that are actually consumed and where BigInt is required. I have minimized the changes as much as possible.

Comment thread test/byContract/IexecPoco/IexecPoco2-finalize.test.ts Outdated
Comment thread test/byContract/IexecPoco/IexecPoco2-finalize.test.ts

@gfournierPro gfournierPro left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor comment but thanks huge work well done

@Le-Caignec
Le-Caignec merged commit 01f2ac8 into feature/migration-to-ether-v6 Feb 19, 2025
@Le-Caignec
Le-Caignec deleted the feature/migrate-IexecPoco-to-ethers6 branch February 19, 2025 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants