-
Notifications
You must be signed in to change notification settings - Fork 15
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
[PE-1346] Additional intent order testing #440
base: v2.3
Are you sure you want to change the base?
Conversation
expectGuaranteeEq(await market.guarantees(user.address, (await market.locals(user.address)).currentId), { | ||
...DEFAULT_GUARANTEE, | ||
orders: 1, | ||
notional: BigNumber.from(569414885), |
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.
Two concerns:
- Number should be expressed as
parse6decimal('569.414885')
for readability. - Comments should explain where the value came from and why it is correct.
Same with lines 2524, 2546, 2547, and 2569.
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.
done
await market.settle(userC.address) | ||
await market.settle(userD.address) | ||
|
||
expectIntentEq(intent, user.address, userC.address, market) |
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.
Probably need a comment here to explain what we're trying to prove. We have a market with 4 settled positions. How do lines 2498-2587 show that the intent order did not influence fees?
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.
[Core] Unit Test Coverage ReportCoverage after merging prateek/pe-1346 into v2.3 will be
Coverage Report
|
[Core] Combined Test Coverage ReportCoverage after merging prateek/pe-1346 into v2.3 will be
Coverage Report
|
[Periphery] Unit Test Coverage ReportCoverage after merging prateek/pe-1346 into v2.3 will be
Coverage Report
|
[Core] Integration Test Coverage ReportCoverage after merging prateek/pe-1346 into v2.3 will be
Coverage Report
|
[Periphery] Integration Test Coverage ReportCoverage after merging prateek/pe-1346 into v2.3 will be
Coverage Report
|
[Periphery] Combined Test Coverage ReportCoverage after merging prateek/pe-1346 into v2.3 will be
Coverage Report
|
No description provided.