-
Notifications
You must be signed in to change notification settings - Fork 14
feature/migrate-IexecPoco-to-ethers6 #196
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
feature/migrate-IexecPoco-to-ethers6 #196
Conversation
Co-authored-by: Zied Guesmi <26070035+zguesmi@users.noreply.github.com>
Co-authored-by: Jérémy (James) Toussaint <33313130+jeremyjams@users.noreply.github.com>
test/byContract/IexecPoco/IexecPoco2-contribute-and-finalize.test.ts
Outdated
Show resolved
Hide resolved
test/byContract/IexecPoco/IexecPoco2-contribute-and-finalize.test.ts
Outdated
Show resolved
Hide resolved
iexecPoco, | ||
[requester, sponsor, appProvider, datasetProvider], | ||
[ | ||
0, // requester balance is unchanged, only frozen is changed |
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 think we can harmonize, 0 or 0n everywhere
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.
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.
…est.ts Co-authored-by: Jérémy (James) Toussaint <33313130+jeremyjams@users.noreply.github.com>
…est.ts Co-authored-by: Jérémy (James) Toussaint <33313130+jeremyjams@users.noreply.github.com>
Co-authored-by: Jérémy (James) Toussaint <33313130+jeremyjams@users.noreply.github.com>
…nto feature/migrate-IexecPoco-to-ethers6
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.
Good job thanks 💪 !
// const appOrderConsumedSlotIndex = ethers.keccak256( | ||
// ethers.concat([ |
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.
That's funny to update even the comments
Co-authored-by: gfournieriExec <100280020+gfournieriExec@users.noreply.github.com>
requester: requester.address, | ||
prices: ordersPrices, | ||
volume, | ||
trust: 3, |
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.
we don't want to migrate the trust as well in bigint ?
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.
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.
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.
Some minor comment but thanks huge work well done
…tools" This reverts commit cd14b8d.
…ss in IexecPoco2 finalize tests
No description provided.